| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305 |
- var T3=Object.defineProperty;var M3=(e,t,n)=>t in e?T3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var V=(e,t,n)=>M3(e,typeof t!="symbol"?t+"":t,n);function R3(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const a=Object.getOwnPropertyDescriptor(r,i);a&&Object.defineProperty(e,i,a.get?a:{enumerable:!0,get:()=>r[i]})}}}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 i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const a of i)if(a.type==="childList")for(const o of a.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerPolicy&&(a.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?a.credentials="include":i.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(i){if(i.ep)return;i.ep=!0;const a=n(i);fetch(i.href,a)}})();var Rx=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function O3(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function $3(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var JE={exports:{}},ih={};/**
- * @license React
- * react-jsx-runtime.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 N3=Symbol.for("react.transitional.element"),j3=Symbol.for("react.fragment");function eA(e,t,n){var r=null;if(n!==void 0&&(r=""+n),t.key!==void 0&&(r=""+t.key),"key"in t){n={};for(var i in t)i!=="key"&&(n[i]=t[i])}else n=t;return t=n.ref,{$$typeof:N3,type:e,key:r,ref:t!==void 0?t:null,props:n}}ih.Fragment=j3;ih.jsx=eA;ih.jsxs=eA;JE.exports=ih;var C=JE.exports,tA={exports:{}},me={};/**
- * @license React
- * react.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 Zv=Symbol.for("react.transitional.element"),D3=Symbol.for("react.portal"),z3=Symbol.for("react.fragment"),B3=Symbol.for("react.strict_mode"),P3=Symbol.for("react.profiler"),L3=Symbol.for("react.consumer"),_3=Symbol.for("react.context"),V3=Symbol.for("react.forward_ref"),H3=Symbol.for("react.suspense"),F3=Symbol.for("react.memo"),nA=Symbol.for("react.lazy"),I3=Symbol.for("react.activity"),Ox=Symbol.iterator;function U3(e){return e===null||typeof e!="object"?null:(e=Ox&&e[Ox]||e["@@iterator"],typeof e=="function"?e:null)}var rA={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},iA=Object.assign,aA={};function Zs(e,t,n){this.props=e,this.context=t,this.refs=aA,this.updater=n||rA}Zs.prototype.isReactComponent={};Zs.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("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")};Zs.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function oA(){}oA.prototype=Zs.prototype;function Jv(e,t,n){this.props=e,this.context=t,this.refs=aA,this.updater=n||rA}var e0=Jv.prototype=new oA;e0.constructor=Jv;iA(e0,Zs.prototype);e0.isPureReactComponent=!0;var $x=Array.isArray;function ig(){}var tt={H:null,A:null,T:null,S:null},sA=Object.prototype.hasOwnProperty;function t0(e,t,n){var r=n.ref;return{$$typeof:Zv,type:e,key:t,ref:r!==void 0?r:null,props:n}}function q3(e,t){return t0(e.type,t,e.props)}function n0(e){return typeof e=="object"&&e!==null&&e.$$typeof===Zv}function G3(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Nx=/\/+/g;function um(e,t){return typeof e=="object"&&e!==null&&e.key!=null?G3(""+e.key):t.toString(36)}function k3(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(ig,ig):(e.status="pending",e.then(function(t){e.status==="pending"&&(e.status="fulfilled",e.value=t)},function(t){e.status==="pending"&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function Jo(e,t,n,r,i){var a=typeof e;(a==="undefined"||a==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(a){case"bigint":case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case Zv:case D3:o=!0;break;case nA:return o=e._init,Jo(o(e._payload),t,n,r,i)}}if(o)return i=i(e),o=r===""?"."+um(e,0):r,$x(i)?(n="",o!=null&&(n=o.replace(Nx,"$&/")+"/"),Jo(i,t,n,"",function(c){return c})):i!=null&&(n0(i)&&(i=q3(i,n+(i.key==null||e&&e.key===i.key?"":(""+i.key).replace(Nx,"$&/")+"/")+o)),t.push(i)),1;o=0;var s=r===""?".":r+":";if($x(e))for(var l=0;l<e.length;l++)r=e[l],a=s+um(r,l),o+=Jo(r,t,n,a,i);else if(l=U3(e),typeof l=="function")for(e=l.call(e),l=0;!(r=e.next()).done;)r=r.value,a=s+um(r,l++),o+=Jo(r,t,n,a,i);else if(a==="object"){if(typeof e.then=="function")return Jo(k3(e),t,n,r,i);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 o}function Bu(e,t,n){if(e==null)return e;var r=[],i=0;return Jo(e,r,"","",function(a){return t.call(n,a,i++)}),r}function X3(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 jx=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Y3={map:Bu,forEach:function(e,t,n){Bu(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Bu(e,function(){t++}),t},toArray:function(e){return Bu(e,function(t){return t})||[]},only:function(e){if(!n0(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};me.Activity=I3;me.Children=Y3;me.Component=Zs;me.Fragment=z3;me.Profiler=P3;me.PureComponent=Jv;me.StrictMode=B3;me.Suspense=H3;me.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=tt;me.__COMPILER_RUNTIME={__proto__:null,c:function(e){return tt.H.useMemoCache(e)}};me.cache=function(e){return function(){return e.apply(null,arguments)}};me.cacheSignal=function(){return null};me.cloneElement=function(e,t,n){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var r=iA({},e.props),i=e.key;if(t!=null)for(a in t.key!==void 0&&(i=""+t.key),t)!sA.call(t,a)||a==="key"||a==="__self"||a==="__source"||a==="ref"&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return t0(e.type,i,r)};me.createContext=function(e){return e={$$typeof:_3,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:L3,_context:e},e};me.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=""+t.key),t)sA.call(t,r)&&r!=="key"&&r!=="__self"&&r!=="__source"&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),l=0;l<o;l++)s[l]=arguments[l+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return t0(e,a,i)};me.createRef=function(){return{current:null}};me.forwardRef=function(e){return{$$typeof:V3,render:e}};me.isValidElement=n0;me.lazy=function(e){return{$$typeof:nA,_payload:{_status:-1,_result:e},_init:X3}};me.memo=function(e,t){return{$$typeof:F3,type:e,compare:t===void 0?null:t}};me.startTransition=function(e){var t=tt.T,n={};tt.T=n;try{var r=e(),i=tt.S;i!==null&&i(n,r),typeof r=="object"&&r!==null&&typeof r.then=="function"&&r.then(ig,jx)}catch(a){jx(a)}finally{t!==null&&n.types!==null&&(t.types=n.types),tt.T=t}};me.unstable_useCacheRefresh=function(){return tt.H.useCacheRefresh()};me.use=function(e){return tt.H.use(e)};me.useActionState=function(e,t,n){return tt.H.useActionState(e,t,n)};me.useCallback=function(e,t){return tt.H.useCallback(e,t)};me.useContext=function(e){return tt.H.useContext(e)};me.useDebugValue=function(){};me.useDeferredValue=function(e,t){return tt.H.useDeferredValue(e,t)};me.useEffect=function(e,t){return tt.H.useEffect(e,t)};me.useEffectEvent=function(e){return tt.H.useEffectEvent(e)};me.useId=function(){return tt.H.useId()};me.useImperativeHandle=function(e,t,n){return tt.H.useImperativeHandle(e,t,n)};me.useInsertionEffect=function(e,t){return tt.H.useInsertionEffect(e,t)};me.useLayoutEffect=function(e,t){return tt.H.useLayoutEffect(e,t)};me.useMemo=function(e,t){return tt.H.useMemo(e,t)};me.useOptimistic=function(e,t){return tt.H.useOptimistic(e,t)};me.useReducer=function(e,t,n){return tt.H.useReducer(e,t,n)};me.useRef=function(e){return tt.H.useRef(e)};me.useState=function(e){return tt.H.useState(e)};me.useSyncExternalStore=function(e,t,n){return tt.H.useSyncExternalStore(e,t,n)};me.useTransition=function(){return tt.H.useTransition()};me.version="19.2.4";tA.exports=me;var h=tA.exports;const I=O3(h),lA=R3({__proto__:null,default:I},[h]);var cA={exports:{}},ah={},uA={exports:{}},fA={};/**
- * @license React
- * scheduler.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.
- */(function(e){function t($,D){var B=$.length;$.push(D);e:for(;0<B;){var _=B-1>>>1,L=$[_];if(0<i(L,D))$[_]=D,$[B]=L,B=_;else break e}}function n($){return $.length===0?null:$[0]}function r($){if($.length===0)return null;var D=$[0],B=$.pop();if(B!==D){$[0]=B;e:for(var _=0,L=$.length,q=L>>>1;_<q;){var K=2*(_+1)-1,te=$[K],ee=K+1,W=$[ee];if(0>i(te,B))ee<L&&0>i(W,te)?($[_]=W,$[ee]=B,_=ee):($[_]=te,$[K]=B,_=K);else if(ee<L&&0>i(W,B))$[_]=W,$[ee]=B,_=ee;else break e}}return D}function i($,D){var B=$.sortIndex-D.sortIndex;return B!==0?B:$.id-D.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var l=[],c=[],u=1,f=null,d=3,m=!1,v=!1,x=!1,S=!1,y=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null;function b($){for(var D=n(c);D!==null;){if(D.callback===null)r(c);else if(D.startTime<=$)r(c),D.sortIndex=D.expirationTime,t(l,D);else break;D=n(c)}}function w($){if(x=!1,b($),!v)if(n(l)!==null)v=!0,A||(A=!0,N());else{var D=n(c);D!==null&&j(w,D.startTime-$)}}var A=!1,E=-1,R=5,T=-1;function M(){return S?!0:!(e.unstable_now()-T<R)}function O(){if(S=!1,A){var $=e.unstable_now();T=$;var D=!0;try{e:{v=!1,x&&(x=!1,g(E),E=-1),m=!0;var B=d;try{t:{for(b($),f=n(l);f!==null&&!(f.expirationTime>$&&M());){var _=f.callback;if(typeof _=="function"){f.callback=null,d=f.priorityLevel;var L=_(f.expirationTime<=$);if($=e.unstable_now(),typeof L=="function"){f.callback=L,b($),D=!0;break t}f===n(l)&&r(l),b($)}else r(l);f=n(l)}if(f!==null)D=!0;else{var q=n(c);q!==null&&j(w,q.startTime-$),D=!1}}break e}finally{f=null,d=B,m=!1}D=void 0}}finally{D?N():A=!1}}}var N;if(typeof p=="function")N=function(){p(O)};else if(typeof MessageChannel<"u"){var z=new MessageChannel,P=z.port2;z.port1.onmessage=O,N=function(){P.postMessage(null)}}else N=function(){y(O,0)};function j($,D){E=y(function(){$(e.unstable_now())},D)}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($){$.callback=null},e.unstable_forceFrameRate=function($){0>$||125<$?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):R=0<$?Math.floor(1e3/$):5},e.unstable_getCurrentPriorityLevel=function(){return d},e.unstable_next=function($){switch(d){case 1:case 2:case 3:var D=3;break;default:D=d}var B=d;d=D;try{return $()}finally{d=B}},e.unstable_requestPaint=function(){S=!0},e.unstable_runWithPriority=function($,D){switch($){case 1:case 2:case 3:case 4:case 5:break;default:$=3}var B=d;d=$;try{return D()}finally{d=B}},e.unstable_scheduleCallback=function($,D,B){var _=e.unstable_now();switch(typeof B=="object"&&B!==null?(B=B.delay,B=typeof B=="number"&&0<B?_+B:_):B=_,$){case 1:var L=-1;break;case 2:L=250;break;case 5:L=1073741823;break;case 4:L=1e4;break;default:L=5e3}return L=B+L,$={id:u++,callback:D,priorityLevel:$,startTime:B,expirationTime:L,sortIndex:-1},B>_?($.sortIndex=B,t(c,$),n(l)===null&&$===n(c)&&(x?(g(E),E=-1):x=!0,j(w,B-_))):($.sortIndex=L,t(l,$),v||m||(v=!0,A||(A=!0,N()))),$},e.unstable_shouldYield=M,e.unstable_wrapCallback=function($){var D=d;return function(){var B=d;d=D;try{return $.apply(this,arguments)}finally{d=B}}}})(fA);uA.exports=fA;var W3=uA.exports,dA={exports:{}},hn={};/**
- * @license React
- * react-dom.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 K3=h;function hA(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;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."}function Hi(){}var un={d:{f:Hi,r:function(){throw Error(hA(522))},D:Hi,C:Hi,L:Hi,m:Hi,X:Hi,S:Hi,M:Hi},p:0,findDOMNode:null},Q3=Symbol.for("react.portal");function Z3(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Q3,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}var Yl=K3.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function oh(e,t){if(e==="font")return"";if(typeof t=="string")return t==="use-credentials"?t:""}hn.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=un;hn.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(hA(299));return Z3(e,t,null,n)};hn.flushSync=function(e){var t=Yl.T,n=un.p;try{if(Yl.T=null,un.p=2,e)return e()}finally{Yl.T=t,un.p=n,un.d.f()}};hn.preconnect=function(e,t){typeof e=="string"&&(t?(t=t.crossOrigin,t=typeof t=="string"?t==="use-credentials"?t:"":void 0):t=null,un.d.C(e,t))};hn.prefetchDNS=function(e){typeof e=="string"&&un.d.D(e)};hn.preinit=function(e,t){if(typeof e=="string"&&t&&typeof t.as=="string"){var n=t.as,r=oh(n,t.crossOrigin),i=typeof t.integrity=="string"?t.integrity:void 0,a=typeof t.fetchPriority=="string"?t.fetchPriority:void 0;n==="style"?un.d.S(e,typeof t.precedence=="string"?t.precedence:void 0,{crossOrigin:r,integrity:i,fetchPriority:a}):n==="script"&&un.d.X(e,{crossOrigin:r,integrity:i,fetchPriority:a,nonce:typeof t.nonce=="string"?t.nonce:void 0})}};hn.preinitModule=function(e,t){if(typeof e=="string")if(typeof t=="object"&&t!==null){if(t.as==null||t.as==="script"){var n=oh(t.as,t.crossOrigin);un.d.M(e,{crossOrigin:n,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0})}}else t==null&&un.d.M(e)};hn.preload=function(e,t){if(typeof e=="string"&&typeof t=="object"&&t!==null&&typeof t.as=="string"){var n=t.as,r=oh(n,t.crossOrigin);un.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,type:typeof t.type=="string"?t.type:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy=="string"?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet=="string"?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes=="string"?t.imageSizes:void 0,media:typeof t.media=="string"?t.media:void 0})}};hn.preloadModule=function(e,t){if(typeof e=="string")if(t){var n=oh(t.as,t.crossOrigin);un.d.m(e,{as:typeof t.as=="string"&&t.as!=="script"?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity=="string"?t.integrity:void 0})}else un.d.m(e)};hn.requestFormReset=function(e){un.d.r(e)};hn.unstable_batchedUpdates=function(e,t){return e(t)};hn.useFormState=function(e,t,n){return Yl.H.useFormState(e,t,n)};hn.useFormStatus=function(){return Yl.H.useHostTransitionStatus()};hn.version="19.2.4";function mA(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(mA)}catch(e){console.error(e)}}mA(),dA.exports=hn;var sh=dA.exports;/**
- * @license React
- * react-dom-client.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 $t=W3,pA=h,J3=sh;function H(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;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."}function gA(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function su(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function yA(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function vA(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Dx(e){if(su(e)!==e)throw Error(H(188))}function ej(e){var t=e.alternate;if(!t){if(t=su(e),t===null)throw Error(H(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var a=i.alternate;if(a===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return Dx(i),e;if(a===r)return Dx(i),t;a=a.sibling}throw Error(H(188))}if(n.return!==r.return)n=i,r=a;else{for(var o=!1,s=i.child;s;){if(s===n){o=!0,n=i,r=a;break}if(s===r){o=!0,r=i,n=a;break}s=s.sibling}if(!o){for(s=a.child;s;){if(s===n){o=!0,n=a,r=i;break}if(s===r){o=!0,r=a,n=i;break}s=s.sibling}if(!o)throw Error(H(189))}}if(n.alternate!==r)throw Error(H(190))}if(n.tag!==3)throw Error(H(188));return n.stateNode.current===n?e:t}function bA(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=bA(e),t!==null)return t;e=e.sibling}return null}var nt=Object.assign,tj=Symbol.for("react.element"),Pu=Symbol.for("react.transitional.element"),Ll=Symbol.for("react.portal"),is=Symbol.for("react.fragment"),xA=Symbol.for("react.strict_mode"),ag=Symbol.for("react.profiler"),SA=Symbol.for("react.consumer"),vi=Symbol.for("react.context"),r0=Symbol.for("react.forward_ref"),og=Symbol.for("react.suspense"),sg=Symbol.for("react.suspense_list"),i0=Symbol.for("react.memo"),ki=Symbol.for("react.lazy"),lg=Symbol.for("react.activity"),nj=Symbol.for("react.memo_cache_sentinel"),zx=Symbol.iterator;function Al(e){return e===null||typeof e!="object"?null:(e=zx&&e[zx]||e["@@iterator"],typeof e=="function"?e:null)}var rj=Symbol.for("react.client.reference");function cg(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===rj?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case is:return"Fragment";case ag:return"Profiler";case xA:return"StrictMode";case og:return"Suspense";case sg:return"SuspenseList";case lg:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case Ll:return"Portal";case vi:return e.displayName||"Context";case SA:return(e._context.displayName||"Context")+".Consumer";case r0:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case i0:return t=e.displayName||null,t!==null?t:cg(e.type)||"Memo";case ki:t=e._payload,e=e._init;try{return cg(e(t))}catch{}}return null}var _l=Array.isArray,de=pA.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,je=J3.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ao={pending:!1,data:null,method:null,action:null},ug=[],as=-1;function ri(e){return{current:e}}function It(e){0>as||(e.current=ug[as],ug[as]=null,as--)}function Ye(e,t){as++,ug[as]=e.current,e.current=t}var Zr=ri(null),wc=ri(null),la=ri(null),ed=ri(null);function td(e,t){switch(Ye(la,t),Ye(wc,e),Ye(Zr,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?HS(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=HS(t),e=F2(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}It(Zr),Ye(Zr,e)}function Ds(){It(Zr),It(wc),It(la)}function fg(e){e.memoizedState!==null&&Ye(ed,e);var t=Zr.current,n=F2(t,e.type);t!==n&&(Ye(wc,e),Ye(Zr,n))}function nd(e){wc.current===e&&(It(Zr),It(wc)),ed.current===e&&(It(ed),zc._currentValue=ao)}var fm,Bx;function Fa(e){if(fm===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);fm=t&&t[1]||"",Bx=-1<n.stack.indexOf(`
- at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
- `+fm+e+Bx}var dm=!1;function hm(e,t){if(!e||dm)return"";dm=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var f=function(){throw Error()};if(Object.defineProperty(f.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(f,[])}catch(m){var d=m}Reflect.construct(e,[],f)}else{try{f.call()}catch(m){d=m}e.call(f.prototype)}}else{try{throw Error()}catch(m){d=m}(f=e())&&typeof f.catch=="function"&&f.catch(function(){})}}catch(m){if(m&&d&&typeof m.stack=="string")return[m.stack,d.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var a=r.DetermineComponentFrameRoot(),o=a[0],s=a[1];if(o&&s){var l=o.split(`
- `),c=s.split(`
- `);for(i=r=0;r<l.length&&!l[r].includes("DetermineComponentFrameRoot");)r++;for(;i<c.length&&!c[i].includes("DetermineComponentFrameRoot");)i++;if(r===l.length||i===c.length)for(r=l.length-1,i=c.length-1;1<=r&&0<=i&&l[r]!==c[i];)i--;for(;1<=r&&0<=i;r--,i--)if(l[r]!==c[i]){if(r!==1||i!==1)do if(r--,i--,0>i||l[r]!==c[i]){var u=`
- `+l[r].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}while(1<=r&&0<=i);break}}}finally{dm=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?Fa(n):""}function ij(e,t){switch(e.tag){case 26:case 27:case 5:return Fa(e.type);case 16:return Fa("Lazy");case 13:return e.child!==t&&t!==null?Fa("Suspense Fallback"):Fa("Suspense");case 19:return Fa("SuspenseList");case 0:case 15:return hm(e.type,!1);case 11:return hm(e.type.render,!1);case 1:return hm(e.type,!0);case 31:return Fa("Activity");default:return""}}function Px(e){try{var t="",n=null;do t+=ij(e,n),n=e,e=e.return;while(e);return t}catch(r){return`
- Error generating stack: `+r.message+`
- `+r.stack}}var dg=Object.prototype.hasOwnProperty,a0=$t.unstable_scheduleCallback,mm=$t.unstable_cancelCallback,aj=$t.unstable_shouldYield,oj=$t.unstable_requestPaint,Ln=$t.unstable_now,sj=$t.unstable_getCurrentPriorityLevel,CA=$t.unstable_ImmediatePriority,wA=$t.unstable_UserBlockingPriority,rd=$t.unstable_NormalPriority,lj=$t.unstable_LowPriority,EA=$t.unstable_IdlePriority,cj=$t.log,uj=$t.unstable_setDisableYieldValue,lu=null,_n=null;function Zi(e){if(typeof cj=="function"&&uj(e),_n&&typeof _n.setStrictMode=="function")try{_n.setStrictMode(lu,e)}catch{}}var Vn=Math.clz32?Math.clz32:hj,fj=Math.log,dj=Math.LN2;function hj(e){return e>>>=0,e===0?32:31-(fj(e)/dj|0)|0}var Lu=256,_u=262144,Vu=4194304;function Ia(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function lh(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s!==0?(r=s&~a,r!==0?i=Ia(r):(o&=s,o!==0?i=Ia(o):n||(n=s&~e,n!==0&&(i=Ia(n))))):(s=r&~a,s!==0?i=Ia(s):o!==0?i=Ia(o):n||(n=r&~e,n!==0&&(i=Ia(n)))),i===0?0:t!==0&&t!==i&&!(t&a)&&(a=i&-i,n=t&-t,a>=n||a===32&&(n&4194048)!==0)?t:i}function cu(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function mj(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function AA(){var e=Vu;return Vu<<=1,!(Vu&62914560)&&(Vu=4194304),e}function pm(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function uu(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function pj(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,l=e.expirationTimes,c=e.hiddenUpdates;for(n=o&~n;0<n;){var u=31-Vn(n),f=1<<u;s[u]=0,l[u]=-1;var d=c[u];if(d!==null)for(c[u]=null,u=0;u<d.length;u++){var m=d[u];m!==null&&(m.lane&=-536870913)}n&=~f}r!==0&&TA(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function TA(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-Vn(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|n&261930}function MA(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Vn(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function RA(e,t){var n=t&-t;return n=n&42?1:o0(n),n&(e.suspendedLanes|t)?0:n}function o0(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function s0(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function OA(){var e=je.p;return e!==0?e:(e=window.event,e===void 0?32:Z2(e.type))}function Lx(e,t){var n=je.p;try{return je.p=e,t()}finally{je.p=n}}var Ra=Math.random().toString(36).slice(2),Wt="__reactFiber$"+Ra,Tn="__reactProps$"+Ra,Js="__reactContainer$"+Ra,hg="__reactEvents$"+Ra,gj="__reactListeners$"+Ra,yj="__reactHandles$"+Ra,_x="__reactResources$"+Ra,fu="__reactMarker$"+Ra;function l0(e){delete e[Wt],delete e[Tn],delete e[hg],delete e[gj],delete e[yj]}function os(e){var t=e[Wt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Js]||n[Wt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=GS(e);e!==null;){if(n=e[Wt])return n;e=GS(e)}return t}e=n,n=e.parentNode}return null}function el(e){if(e=e[Wt]||e[Js]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Vl(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(H(33))}function ws(e){var t=e[_x];return t||(t=e[_x]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Ht(e){e[fu]=!0}var $A=new Set,NA={};function Ao(e,t){zs(e,t),zs(e+"Capture",t)}function zs(e,t){for(NA[e]=t,e=0;e<t.length;e++)$A.add(t[e])}var vj=RegExp("^[: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]*$"),Vx={},Hx={};function bj(e){return dg.call(Hx,e)?!0:dg.call(Vx,e)?!1:vj.test(e)?Hx[e]=!0:(Vx[e]=!0,!1)}function bf(e,t,n){if(bj(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var r=t.toLowerCase().slice(0,5);if(r!=="data-"&&r!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+n)}}function Hu(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+n)}}function li(e,t,n,r){if(r===null)e.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttributeNS(t,n,""+r)}}function Zn(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function jA(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function xj(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){n=""+o,a.call(this,o)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(o){n=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function mg(e){if(!e._valueTracker){var t=jA(e)?"checked":"value";e._valueTracker=xj(e,t,""+e[t])}}function DA(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=jA(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function id(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}}var Sj=/[\n"\\]/g;function tr(e){return e.replace(Sj,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function pg(e,t,n,r,i,a,o,s){e.name="",o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"?e.type=o:e.removeAttribute("type"),t!=null?o==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Zn(t)):e.value!==""+Zn(t)&&(e.value=""+Zn(t)):o!=="submit"&&o!=="reset"||e.removeAttribute("value"),t!=null?gg(e,o,Zn(t)):n!=null?gg(e,o,Zn(n)):r!=null&&e.removeAttribute("value"),i==null&&a!=null&&(e.defaultChecked=!!a),i!=null&&(e.checked=i&&typeof i!="function"&&typeof i!="symbol"),s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"?e.name=""+Zn(s):e.removeAttribute("name")}function zA(e,t,n,r,i,a,o,s){if(a!=null&&typeof a!="function"&&typeof a!="symbol"&&typeof a!="boolean"&&(e.type=a),t!=null||n!=null){if(!(a!=="submit"&&a!=="reset"||t!=null)){mg(e);return}n=n!=null?""+Zn(n):"",t=t!=null?""+Zn(t):n,s||t===e.value||(e.value=t),e.defaultValue=t}r=r??i,r=typeof r!="function"&&typeof r!="symbol"&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"&&(e.name=o),mg(e)}function gg(e,t,n){t==="number"&&id(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function Es(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Zn(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function BA(e,t,n){if(t!=null&&(t=""+Zn(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+Zn(n):""}function PA(e,t,n,r){if(t==null){if(r!=null){if(n!=null)throw Error(H(92));if(_l(r)){if(1<r.length)throw Error(H(93));r=r[0]}n=r}n==null&&(n=""),t=n}n=Zn(t),e.defaultValue=n,r=e.textContent,r===n&&r!==""&&r!==null&&(e.value=r),mg(e)}function Bs(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Cj=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Fx(e,t,n){var r=t.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?r?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":r?e.setProperty(t,n):typeof n!="number"||n===0||Cj.has(t)?t==="float"?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function LA(e,t,n){if(t!=null&&typeof t!="object")throw Error(H(62));if(e=e.style,n!=null){for(var r in n)!n.hasOwnProperty(r)||t!=null&&t.hasOwnProperty(r)||(r.indexOf("--")===0?e.setProperty(r,""):r==="float"?e.cssFloat="":e[r]="");for(var i in t)r=t[i],t.hasOwnProperty(i)&&n[i]!==r&&Fx(e,i,r)}else for(var a in t)t.hasOwnProperty(a)&&Fx(e,a,t[a])}function c0(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var wj=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Ej=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function xf(e){return Ej.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function bi(){}var yg=null;function u0(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ss=null,As=null;function Ix(e){var t=el(e);if(t&&(e=t.stateNode)){var n=e[Tn]||null;e:switch(e=t.stateNode,t.type){case"input":if(pg(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+tr(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=r[Tn]||null;if(!i)throw Error(H(90));pg(r,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name)}}for(t=0;t<n.length;t++)r=n[t],r.form===e.form&&DA(r)}break e;case"textarea":BA(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&Es(e,!!n.multiple,t,!1)}}}var gm=!1;function _A(e,t,n){if(gm)return e(t,n);gm=!0;try{var r=e(t);return r}finally{if(gm=!1,(ss!==null||As!==null)&&(xh(),ss&&(t=ss,e=As,As=ss=null,Ix(t),e)))for(t=0;t<e.length;t++)Ix(e[t])}}function Ec(e,t){var n=e.stateNode;if(n===null)return null;var r=n[Tn]||null;if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(H(231,t,typeof n));return n}var Mi=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),vg=!1;if(Mi)try{var Tl={};Object.defineProperty(Tl,"passive",{get:function(){vg=!0}}),window.addEventListener("test",Tl,Tl),window.removeEventListener("test",Tl,Tl)}catch{vg=!1}var Ji=null,f0=null,Sf=null;function VA(){if(Sf)return Sf;var e,t=f0,n=t.length,r,i="value"in Ji?Ji.value:Ji.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return Sf=i.slice(e,1<r?1-r:void 0)}function Cf(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Fu(){return!0}function Ux(){return!1}function Mn(e){function t(n,r,i,a,o){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=a,this.target=o,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(n=e[s],this[s]=n?n(a):a[s]);return this.isDefaultPrevented=(a.defaultPrevented!=null?a.defaultPrevented:a.returnValue===!1)?Fu:Ux,this.isPropagationStopped=Ux,this}return nt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Fu)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Fu)},persist:function(){},isPersistent:Fu}),t}var To={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ch=Mn(To),du=nt({},To,{view:0,detail:0}),Aj=Mn(du),ym,vm,Ml,uh=nt({},du,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:d0,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Ml&&(Ml&&e.type==="mousemove"?(ym=e.screenX-Ml.screenX,vm=e.screenY-Ml.screenY):vm=ym=0,Ml=e),ym)},movementY:function(e){return"movementY"in e?e.movementY:vm}}),qx=Mn(uh),Tj=nt({},uh,{dataTransfer:0}),Mj=Mn(Tj),Rj=nt({},du,{relatedTarget:0}),bm=Mn(Rj),Oj=nt({},To,{animationName:0,elapsedTime:0,pseudoElement:0}),$j=Mn(Oj),Nj=nt({},To,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),jj=Mn(Nj),Dj=nt({},To,{data:0}),Gx=Mn(Dj),zj={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Bj={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Pj={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Lj(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Pj[e])?!!t[e]:!1}function d0(){return Lj}var _j=nt({},du,{key:function(e){if(e.key){var t=zj[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Cf(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Bj[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:d0,charCode:function(e){return e.type==="keypress"?Cf(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Cf(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Vj=Mn(_j),Hj=nt({},uh,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),kx=Mn(Hj),Fj=nt({},du,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:d0}),Ij=Mn(Fj),Uj=nt({},To,{propertyName:0,elapsedTime:0,pseudoElement:0}),qj=Mn(Uj),Gj=nt({},uh,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),kj=Mn(Gj),Xj=nt({},To,{newState:0,oldState:0}),Yj=Mn(Xj),Wj=[9,13,27,32],h0=Mi&&"CompositionEvent"in window,Wl=null;Mi&&"documentMode"in document&&(Wl=document.documentMode);var Kj=Mi&&"TextEvent"in window&&!Wl,HA=Mi&&(!h0||Wl&&8<Wl&&11>=Wl),Xx=" ",Yx=!1;function FA(e,t){switch(e){case"keyup":return Wj.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function IA(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ls=!1;function Qj(e,t){switch(e){case"compositionend":return IA(t);case"keypress":return t.which!==32?null:(Yx=!0,Xx);case"textInput":return e=t.data,e===Xx&&Yx?null:e;default:return null}}function Zj(e,t){if(ls)return e==="compositionend"||!h0&&FA(e,t)?(e=VA(),Sf=f0=Ji=null,ls=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return HA&&t.locale!=="ko"?null:t.data;default:return null}}var Jj={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Wx(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Jj[e.type]:t==="textarea"}function UA(e,t,n,r){ss?As?As.push(r):As=[r]:ss=r,t=Cd(t,"onChange"),0<t.length&&(n=new ch("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Kl=null,Ac=null;function e4(e){_2(e,0)}function fh(e){var t=Vl(e);if(DA(t))return e}function Kx(e,t){if(e==="change")return t}var qA=!1;if(Mi){var xm;if(Mi){var Sm="oninput"in document;if(!Sm){var Qx=document.createElement("div");Qx.setAttribute("oninput","return;"),Sm=typeof Qx.oninput=="function"}xm=Sm}else xm=!1;qA=xm&&(!document.documentMode||9<document.documentMode)}function Zx(){Kl&&(Kl.detachEvent("onpropertychange",GA),Ac=Kl=null)}function GA(e){if(e.propertyName==="value"&&fh(Ac)){var t=[];UA(t,Ac,e,u0(e)),_A(e4,t)}}function t4(e,t,n){e==="focusin"?(Zx(),Kl=t,Ac=n,Kl.attachEvent("onpropertychange",GA)):e==="focusout"&&Zx()}function n4(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return fh(Ac)}function r4(e,t){if(e==="click")return fh(t)}function i4(e,t){if(e==="input"||e==="change")return fh(t)}function a4(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Un=typeof Object.is=="function"?Object.is:a4;function Tc(e,t){if(Un(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!dg.call(t,i)||!Un(e[i],t[i]))return!1}return!0}function Jx(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function eS(e,t){var n=Jx(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Jx(n)}}function kA(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?kA(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function XA(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=id(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=id(e.document)}return t}function m0(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var o4=Mi&&"documentMode"in document&&11>=document.documentMode,cs=null,bg=null,Ql=null,xg=!1;function tS(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;xg||cs==null||cs!==id(r)||(r=cs,"selectionStart"in r&&m0(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Ql&&Tc(Ql,r)||(Ql=r,r=Cd(bg,"onSelect"),0<r.length&&(t=new ch("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=cs)))}function _a(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var us={animationend:_a("Animation","AnimationEnd"),animationiteration:_a("Animation","AnimationIteration"),animationstart:_a("Animation","AnimationStart"),transitionrun:_a("Transition","TransitionRun"),transitionstart:_a("Transition","TransitionStart"),transitioncancel:_a("Transition","TransitionCancel"),transitionend:_a("Transition","TransitionEnd")},Cm={},YA={};Mi&&(YA=document.createElement("div").style,"AnimationEvent"in window||(delete us.animationend.animation,delete us.animationiteration.animation,delete us.animationstart.animation),"TransitionEvent"in window||delete us.transitionend.transition);function Mo(e){if(Cm[e])return Cm[e];if(!us[e])return e;var t=us[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in YA)return Cm[e]=t[n];return e}var WA=Mo("animationend"),KA=Mo("animationiteration"),QA=Mo("animationstart"),s4=Mo("transitionrun"),l4=Mo("transitionstart"),c4=Mo("transitioncancel"),ZA=Mo("transitionend"),JA=new Map,Sg="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Sg.push("scrollEnd");function Nr(e,t){JA.set(e,t),Ao(t,[e])}var ad=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Qn=[],fs=0,p0=0;function dh(){for(var e=fs,t=p0=fs=0;t<e;){var n=Qn[t];Qn[t++]=null;var r=Qn[t];Qn[t++]=null;var i=Qn[t];Qn[t++]=null;var a=Qn[t];if(Qn[t++]=null,r!==null&&i!==null){var o=r.pending;o===null?i.next=i:(i.next=o.next,o.next=i),r.pending=i}a!==0&&eT(n,i,a)}}function hh(e,t,n,r){Qn[fs++]=e,Qn[fs++]=t,Qn[fs++]=n,Qn[fs++]=r,p0|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function g0(e,t,n,r){return hh(e,t,n,r),od(e)}function Ro(e,t){return hh(e,null,null,t),od(e)}function eT(e,t,n){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n);for(var i=!1,a=e.return;a!==null;)a.childLanes|=n,r=a.alternate,r!==null&&(r.childLanes|=n),a.tag===22&&(e=a.stateNode,e===null||e._visibility&1||(i=!0)),e=a,a=a.return;return e.tag===3?(a=e.stateNode,i&&t!==null&&(i=31-Vn(n),e=a.hiddenUpdates,r=e[i],r===null?e[i]=[t]:r.push(t),t.lane=n|536870912),a):null}function od(e){if(50<oc)throw oc=0,Ig=null,Error(H(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var ds={};function u4(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function zn(e,t,n,r){return new u4(e,t,n,r)}function y0(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Si(e,t){var n=e.alternate;return n===null?(n=zn(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function tT(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function wf(e,t,n,r,i,a){var o=0;if(r=e,typeof e=="function")y0(e)&&(o=1);else if(typeof e=="string")o=pD(e,n,Zr.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case lg:return e=zn(31,n,t,i),e.elementType=lg,e.lanes=a,e;case is:return oo(n.children,i,a,t);case xA:o=8,i|=24;break;case ag:return e=zn(12,n,t,i|2),e.elementType=ag,e.lanes=a,e;case og:return e=zn(13,n,t,i),e.elementType=og,e.lanes=a,e;case sg:return e=zn(19,n,t,i),e.elementType=sg,e.lanes=a,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case vi:o=10;break e;case SA:o=9;break e;case r0:o=11;break e;case i0:o=14;break e;case ki:o=16,r=null;break e}o=29,n=Error(H(130,e===null?"null":typeof e,"")),r=null}return t=zn(o,n,t,i),t.elementType=e,t.type=r,t.lanes=a,t}function oo(e,t,n,r){return e=zn(7,e,r,t),e.lanes=n,e}function wm(e,t,n){return e=zn(6,e,null,t),e.lanes=n,e}function nT(e){var t=zn(18,null,null,0);return t.stateNode=e,t}function Em(e,t,n){return t=zn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var nS=new WeakMap;function nr(e,t){if(typeof e=="object"&&e!==null){var n=nS.get(e);return n!==void 0?n:(t={value:e,source:t,stack:Px(t)},nS.set(e,t),t)}return{value:e,source:t,stack:Px(t)}}var hs=[],ms=0,sd=null,Mc=0,Jn=[],er=0,xa=null,Wr=1,Kr="";function pi(e,t){hs[ms++]=Mc,hs[ms++]=sd,sd=e,Mc=t}function rT(e,t,n){Jn[er++]=Wr,Jn[er++]=Kr,Jn[er++]=xa,xa=e;var r=Wr;e=Kr;var i=32-Vn(r)-1;r&=~(1<<i),n+=1;var a=32-Vn(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,Wr=1<<32-Vn(t)+i|n<<i|r,Kr=a+e}else Wr=1<<a|n<<i|r,Kr=e}function v0(e){e.return!==null&&(pi(e,1),rT(e,1,0))}function b0(e){for(;e===sd;)sd=hs[--ms],hs[ms]=null,Mc=hs[--ms],hs[ms]=null;for(;e===xa;)xa=Jn[--er],Jn[er]=null,Kr=Jn[--er],Jn[er]=null,Wr=Jn[--er],Jn[er]=null}function iT(e,t){Jn[er++]=Wr,Jn[er++]=Kr,Jn[er++]=xa,Wr=t.id,Kr=t.overflow,xa=e}var Kt=null,Je=null,Te=!1,ca=null,rr=!1,Cg=Error(H(519));function Sa(e){var t=Error(H(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Rc(nr(t,e)),Cg}function rS(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[Wt]=e,t[Tn]=r,n){case"dialog":Ce("cancel",t),Ce("close",t);break;case"iframe":case"object":case"embed":Ce("load",t);break;case"video":case"audio":for(n=0;n<jc.length;n++)Ce(jc[n],t);break;case"source":Ce("error",t);break;case"img":case"image":case"link":Ce("error",t),Ce("load",t);break;case"details":Ce("toggle",t);break;case"input":Ce("invalid",t),zA(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":Ce("invalid",t);break;case"textarea":Ce("invalid",t),PA(t,r.value,r.defaultValue,r.children)}n=r.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||t.textContent===""+n||r.suppressHydrationWarning===!0||H2(t.textContent,n)?(r.popover!=null&&(Ce("beforetoggle",t),Ce("toggle",t)),r.onScroll!=null&&Ce("scroll",t),r.onScrollEnd!=null&&Ce("scrollend",t),r.onClick!=null&&(t.onclick=bi),t=!0):t=!1,t||Sa(e,!0)}function iS(e){for(Kt=e.return;Kt;)switch(Kt.tag){case 5:case 31:case 13:rr=!1;return;case 27:case 3:rr=!0;return;default:Kt=Kt.return}}function Fo(e){if(e!==Kt)return!1;if(!Te)return iS(e),Te=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||Xg(e.type,e.memoizedProps)),n=!n),n&&Je&&Sa(e),iS(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(H(317));Je=qS(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(H(317));Je=qS(e)}else t===27?(t=Je,Oa(e.type)?(e=Qg,Qg=null,Je=e):Je=t):Je=Kt?or(e.stateNode.nextSibling):null;return!0}function po(){Je=Kt=null,Te=!1}function Am(){var e=ca;return e!==null&&(Sn===null?Sn=e:Sn.push.apply(Sn,e),ca=null),e}function Rc(e){ca===null?ca=[e]:ca.push(e)}var wg=ri(null),Oo=null,xi=null;function Yi(e,t,n){Ye(wg,t._currentValue),t._currentValue=n}function Ci(e){e._currentValue=wg.current,It(wg)}function Eg(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ag(e,t,n,r){var i=e.child;for(i!==null&&(i.return=e);i!==null;){var a=i.dependencies;if(a!==null){var o=i.child;a=a.firstContext;e:for(;a!==null;){var s=a;a=i;for(var l=0;l<t.length;l++)if(s.context===t[l]){a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),Eg(a.return,n,e),r||(o=null);break e}a=s.next}}else if(i.tag===18){if(o=i.return,o===null)throw Error(H(341));o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),Eg(o,n,e),o=null}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===e){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}}function tl(e,t,n,r){e=null;for(var i=t,a=!1;i!==null;){if(!a){if(i.flags&524288)a=!0;else if(i.flags&262144)break}if(i.tag===10){var o=i.alternate;if(o===null)throw Error(H(387));if(o=o.memoizedProps,o!==null){var s=i.type;Un(i.pendingProps.value,o.value)||(e!==null?e.push(s):e=[s])}}else if(i===ed.current){if(o=i.alternate,o===null)throw Error(H(387));o.memoizedState.memoizedState!==i.memoizedState.memoizedState&&(e!==null?e.push(zc):e=[zc])}i=i.return}e!==null&&Ag(t,e,n,r),t.flags|=262144}function ld(e){for(e=e.firstContext;e!==null;){if(!Un(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function go(e){Oo=e,xi=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Qt(e){return aT(Oo,e)}function Iu(e,t){return Oo===null&&go(e),aT(e,t)}function aT(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},xi===null){if(e===null)throw Error(H(308));xi=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else xi=xi.next=t;return n}var f4=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,r){e.push(r)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},d4=$t.unstable_scheduleCallback,h4=$t.unstable_NormalPriority,bt={$$typeof:vi,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function x0(){return{controller:new f4,data:new Map,refCount:0}}function hu(e){e.refCount--,e.refCount===0&&d4(h4,function(){e.controller.abort()})}var Zl=null,Tg=0,Ps=0,Ts=null;function m4(e,t){if(Zl===null){var n=Zl=[];Tg=0,Ps=G0(),Ts={status:"pending",value:void 0,then:function(r){n.push(r)}}}return Tg++,t.then(aS,aS),t}function aS(){if(--Tg===0&&Zl!==null){Ts!==null&&(Ts.status="fulfilled");var e=Zl;Zl=null,Ps=0,Ts=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function p4(e,t){var n=[],r={status:"pending",value:null,reason:null,then:function(i){n.push(i)}};return e.then(function(){r.status="fulfilled",r.value=t;for(var i=0;i<n.length;i++)(0,n[i])(t)},function(i){for(r.status="rejected",r.reason=i,i=0;i<n.length;i++)(0,n[i])(void 0)}),r}var oS=de.S;de.S=function(e,t){b2=Ln(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&m4(e,t),oS!==null&&oS(e,t)};var so=ri(null);function S0(){var e=so.current;return e!==null?e:Ue.pooledCache}function Ef(e,t){t===null?Ye(so,so.current):Ye(so,t.pool)}function oT(){var e=S0();return e===null?null:{parent:bt._currentValue,pool:e}}var nl=Error(H(460)),C0=Error(H(474)),mh=Error(H(542)),cd={then:function(){}};function sS(e){return e=e.status,e==="fulfilled"||e==="rejected"}function sT(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(bi,bi),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,cS(e),e;default:if(typeof t.status=="string")t.then(bi,bi);else{if(e=Ue,e!==null&&100<e.shellSuspendCounter)throw Error(H(482));e=t,e.status="pending",e.then(function(r){if(t.status==="pending"){var i=t;i.status="fulfilled",i.value=r}},function(r){if(t.status==="pending"){var i=t;i.status="rejected",i.reason=r}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,cS(e),e}throw lo=t,nl}}function Ua(e){try{var t=e._init;return t(e._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?(lo=n,nl):n}}var lo=null;function lS(){if(lo===null)throw Error(H(459));var e=lo;return lo=null,e}function cS(e){if(e===nl||e===mh)throw Error(H(483))}var Ms=null,Oc=0;function Uu(e){var t=Oc;return Oc+=1,Ms===null&&(Ms=[]),sT(Ms,e,t)}function Rl(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function qu(e,t){throw t.$$typeof===tj?Error(H(525)):(e=Object.prototype.toString.call(t),Error(H(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function lT(e){function t(y,g){if(e){var p=y.deletions;p===null?(y.deletions=[g],y.flags|=16):p.push(g)}}function n(y,g){if(!e)return null;for(;g!==null;)t(y,g),g=g.sibling;return null}function r(y){for(var g=new Map;y!==null;)y.key!==null?g.set(y.key,y):g.set(y.index,y),y=y.sibling;return g}function i(y,g){return y=Si(y,g),y.index=0,y.sibling=null,y}function a(y,g,p){return y.index=p,e?(p=y.alternate,p!==null?(p=p.index,p<g?(y.flags|=67108866,g):p):(y.flags|=67108866,g)):(y.flags|=1048576,g)}function o(y){return e&&y.alternate===null&&(y.flags|=67108866),y}function s(y,g,p,b){return g===null||g.tag!==6?(g=wm(p,y.mode,b),g.return=y,g):(g=i(g,p),g.return=y,g)}function l(y,g,p,b){var w=p.type;return w===is?u(y,g,p.props.children,b,p.key):g!==null&&(g.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===ki&&Ua(w)===g.type)?(g=i(g,p.props),Rl(g,p),g.return=y,g):(g=wf(p.type,p.key,p.props,null,y.mode,b),Rl(g,p),g.return=y,g)}function c(y,g,p,b){return g===null||g.tag!==4||g.stateNode.containerInfo!==p.containerInfo||g.stateNode.implementation!==p.implementation?(g=Em(p,y.mode,b),g.return=y,g):(g=i(g,p.children||[]),g.return=y,g)}function u(y,g,p,b,w){return g===null||g.tag!==7?(g=oo(p,y.mode,b,w),g.return=y,g):(g=i(g,p),g.return=y,g)}function f(y,g,p){if(typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint")return g=wm(""+g,y.mode,p),g.return=y,g;if(typeof g=="object"&&g!==null){switch(g.$$typeof){case Pu:return p=wf(g.type,g.key,g.props,null,y.mode,p),Rl(p,g),p.return=y,p;case Ll:return g=Em(g,y.mode,p),g.return=y,g;case ki:return g=Ua(g),f(y,g,p)}if(_l(g)||Al(g))return g=oo(g,y.mode,p,null),g.return=y,g;if(typeof g.then=="function")return f(y,Uu(g),p);if(g.$$typeof===vi)return f(y,Iu(y,g),p);qu(y,g)}return null}function d(y,g,p,b){var w=g!==null?g.key:null;if(typeof p=="string"&&p!==""||typeof p=="number"||typeof p=="bigint")return w!==null?null:s(y,g,""+p,b);if(typeof p=="object"&&p!==null){switch(p.$$typeof){case Pu:return p.key===w?l(y,g,p,b):null;case Ll:return p.key===w?c(y,g,p,b):null;case ki:return p=Ua(p),d(y,g,p,b)}if(_l(p)||Al(p))return w!==null?null:u(y,g,p,b,null);if(typeof p.then=="function")return d(y,g,Uu(p),b);if(p.$$typeof===vi)return d(y,g,Iu(y,p),b);qu(y,p)}return null}function m(y,g,p,b,w){if(typeof b=="string"&&b!==""||typeof b=="number"||typeof b=="bigint")return y=y.get(p)||null,s(g,y,""+b,w);if(typeof b=="object"&&b!==null){switch(b.$$typeof){case Pu:return y=y.get(b.key===null?p:b.key)||null,l(g,y,b,w);case Ll:return y=y.get(b.key===null?p:b.key)||null,c(g,y,b,w);case ki:return b=Ua(b),m(y,g,p,b,w)}if(_l(b)||Al(b))return y=y.get(p)||null,u(g,y,b,w,null);if(typeof b.then=="function")return m(y,g,p,Uu(b),w);if(b.$$typeof===vi)return m(y,g,p,Iu(g,b),w);qu(g,b)}return null}function v(y,g,p,b){for(var w=null,A=null,E=g,R=g=0,T=null;E!==null&&R<p.length;R++){E.index>R?(T=E,E=null):T=E.sibling;var M=d(y,E,p[R],b);if(M===null){E===null&&(E=T);break}e&&E&&M.alternate===null&&t(y,E),g=a(M,g,R),A===null?w=M:A.sibling=M,A=M,E=T}if(R===p.length)return n(y,E),Te&&pi(y,R),w;if(E===null){for(;R<p.length;R++)E=f(y,p[R],b),E!==null&&(g=a(E,g,R),A===null?w=E:A.sibling=E,A=E);return Te&&pi(y,R),w}for(E=r(E);R<p.length;R++)T=m(E,y,R,p[R],b),T!==null&&(e&&T.alternate!==null&&E.delete(T.key===null?R:T.key),g=a(T,g,R),A===null?w=T:A.sibling=T,A=T);return e&&E.forEach(function(O){return t(y,O)}),Te&&pi(y,R),w}function x(y,g,p,b){if(p==null)throw Error(H(151));for(var w=null,A=null,E=g,R=g=0,T=null,M=p.next();E!==null&&!M.done;R++,M=p.next()){E.index>R?(T=E,E=null):T=E.sibling;var O=d(y,E,M.value,b);if(O===null){E===null&&(E=T);break}e&&E&&O.alternate===null&&t(y,E),g=a(O,g,R),A===null?w=O:A.sibling=O,A=O,E=T}if(M.done)return n(y,E),Te&&pi(y,R),w;if(E===null){for(;!M.done;R++,M=p.next())M=f(y,M.value,b),M!==null&&(g=a(M,g,R),A===null?w=M:A.sibling=M,A=M);return Te&&pi(y,R),w}for(E=r(E);!M.done;R++,M=p.next())M=m(E,y,R,M.value,b),M!==null&&(e&&M.alternate!==null&&E.delete(M.key===null?R:M.key),g=a(M,g,R),A===null?w=M:A.sibling=M,A=M);return e&&E.forEach(function(N){return t(y,N)}),Te&&pi(y,R),w}function S(y,g,p,b){if(typeof p=="object"&&p!==null&&p.type===is&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case Pu:e:{for(var w=p.key;g!==null;){if(g.key===w){if(w=p.type,w===is){if(g.tag===7){n(y,g.sibling),b=i(g,p.props.children),b.return=y,y=b;break e}}else if(g.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===ki&&Ua(w)===g.type){n(y,g.sibling),b=i(g,p.props),Rl(b,p),b.return=y,y=b;break e}n(y,g);break}else t(y,g);g=g.sibling}p.type===is?(b=oo(p.props.children,y.mode,b,p.key),b.return=y,y=b):(b=wf(p.type,p.key,p.props,null,y.mode,b),Rl(b,p),b.return=y,y=b)}return o(y);case Ll:e:{for(w=p.key;g!==null;){if(g.key===w)if(g.tag===4&&g.stateNode.containerInfo===p.containerInfo&&g.stateNode.implementation===p.implementation){n(y,g.sibling),b=i(g,p.children||[]),b.return=y,y=b;break e}else{n(y,g);break}else t(y,g);g=g.sibling}b=Em(p,y.mode,b),b.return=y,y=b}return o(y);case ki:return p=Ua(p),S(y,g,p,b)}if(_l(p))return v(y,g,p,b);if(Al(p)){if(w=Al(p),typeof w!="function")throw Error(H(150));return p=w.call(p),x(y,g,p,b)}if(typeof p.then=="function")return S(y,g,Uu(p),b);if(p.$$typeof===vi)return S(y,g,Iu(y,p),b);qu(y,p)}return typeof p=="string"&&p!==""||typeof p=="number"||typeof p=="bigint"?(p=""+p,g!==null&&g.tag===6?(n(y,g.sibling),b=i(g,p),b.return=y,y=b):(n(y,g),b=wm(p,y.mode,b),b.return=y,y=b),o(y)):n(y,g)}return function(y,g,p,b){try{Oc=0;var w=S(y,g,p,b);return Ms=null,w}catch(E){if(E===nl||E===mh)throw E;var A=zn(29,E,null,y.mode);return A.lanes=b,A.return=y,A}finally{}}}var yo=lT(!0),cT=lT(!1),Xi=!1;function w0(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Mg(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function ua(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function fa(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Ne&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=od(e),eT(e,null,n),t}return hh(e,r,t,n),od(e)}function Jl(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,MA(e,n)}}function Tm(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Rg=!1;function ec(){if(Rg){var e=Ts;if(e!==null)throw e}}function tc(e,t,n,r){Rg=!1;var i=e.updateQueue;Xi=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var l=s,c=l.next;l.next=null,o===null?a=c:o.next=c,o=l;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=c:s.next=c,u.lastBaseUpdate=l))}if(a!==null){var f=i.baseState;o=0,u=c=l=null,s=a;do{var d=s.lane&-536870913,m=d!==s.lane;if(m?(Ee&d)===d:(r&d)===d){d!==0&&d===Ps&&(Rg=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});e:{var v=e,x=s;d=t;var S=n;switch(x.tag){case 1:if(v=x.payload,typeof v=="function"){f=v.call(S,f,d);break e}f=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=x.payload,d=typeof v=="function"?v.call(S,f,d):v,d==null)break e;f=nt({},f,d);break e;case 2:Xi=!0}}d=s.callback,d!==null&&(e.flags|=64,m&&(e.flags|=8192),m=i.callbacks,m===null?i.callbacks=[d]:m.push(d))}else m={lane:d,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(c=u=m,l=f):u=u.next=m,o|=d;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;m=s,s=m.next,m.next=null,i.lastBaseUpdate=m,i.shared.pending=null}}while(!0);u===null&&(l=f),i.baseState=l,i.firstBaseUpdate=c,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),wa|=o,e.lanes=o,e.memoizedState=f}}function uT(e,t){if(typeof e!="function")throw Error(H(191,e));e.call(t)}function fT(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)uT(n[e],t)}var Ls=ri(null),ud=ri(0);function uS(e,t){e=Ni,Ye(ud,e),Ye(Ls,t),Ni=e|t.baseLanes}function Og(){Ye(ud,Ni),Ye(Ls,Ls.current)}function E0(){Ni=ud.current,It(Ls),It(ud)}var qn=ri(null),ar=null;function Wi(e){var t=e.alternate;Ye(mt,mt.current&1),Ye(qn,e),ar===null&&(t===null||Ls.current!==null||t.memoizedState!==null)&&(ar=e)}function $g(e){Ye(mt,mt.current),Ye(qn,e),ar===null&&(ar=e)}function dT(e){e.tag===22?(Ye(mt,mt.current),Ye(qn,e),ar===null&&(ar=e)):Ki()}function Ki(){Ye(mt,mt.current),Ye(qn,qn.current)}function Dn(e){It(qn),ar===e&&(ar=null),It(mt)}var mt=ri(0);function fd(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||Wg(n)||Kg(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ri=0,pe=null,Fe=null,yt=null,dd=!1,Rs=!1,vo=!1,hd=0,$c=0,Os=null,g4=0;function st(){throw Error(H(321))}function A0(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Un(e[n],t[n]))return!1;return!0}function T0(e,t,n,r,i,a){return Ri=a,pe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,de.H=e===null||e.memoizedState===null?UT:L0,vo=!1,a=n(r,i),vo=!1,Rs&&(a=mT(t,n,r,i)),hT(e),a}function hT(e){de.H=Nc;var t=Fe!==null&&Fe.next!==null;if(Ri=0,yt=Fe=pe=null,dd=!1,$c=0,Os=null,t)throw Error(H(300));e===null||St||(e=e.dependencies,e!==null&&ld(e)&&(St=!0))}function mT(e,t,n,r){pe=e;var i=0;do{if(Rs&&(Os=null),$c=0,Rs=!1,25<=i)throw Error(H(301));if(i+=1,yt=Fe=null,e.updateQueue!=null){var a=e.updateQueue;a.lastEffect=null,a.events=null,a.stores=null,a.memoCache!=null&&(a.memoCache.index=0)}de.H=qT,a=t(n,r)}while(Rs);return a}function y4(){var e=de.H,t=e.useState()[0];return t=typeof t.then=="function"?mu(t):t,e=e.useState()[0],(Fe!==null?Fe.memoizedState:null)!==e&&(pe.flags|=1024),t}function M0(){var e=hd!==0;return hd=0,e}function R0(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function O0(e){if(dd){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}dd=!1}Ri=0,yt=Fe=pe=null,Rs=!1,$c=hd=0,Os=null}function sn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return yt===null?pe.memoizedState=yt=e:yt=yt.next=e,yt}function pt(){if(Fe===null){var e=pe.alternate;e=e!==null?e.memoizedState:null}else e=Fe.next;var t=yt===null?pe.memoizedState:yt.next;if(t!==null)yt=t,Fe=e;else{if(e===null)throw pe.alternate===null?Error(H(467)):Error(H(310));Fe=e,e={memoizedState:Fe.memoizedState,baseState:Fe.baseState,baseQueue:Fe.baseQueue,queue:Fe.queue,next:null},yt===null?pe.memoizedState=yt=e:yt=yt.next=e}return yt}function ph(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function mu(e){var t=$c;return $c+=1,Os===null&&(Os=[]),e=sT(Os,e,t),t=pe,(yt===null?t.memoizedState:yt.next)===null&&(t=t.alternate,de.H=t===null||t.memoizedState===null?UT:L0),e}function gh(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return mu(e);if(e.$$typeof===vi)return Qt(e)}throw Error(H(438,String(e)))}function $0(e){var t=null,n=pe.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=pe.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(i){return i.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=ph(),pe.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=nj;return t.index++,n}function Oi(e,t){return typeof t=="function"?t(e):t}function Af(e){var t=pt();return N0(t,Fe,e)}function N0(e,t,n){var r=e.queue;if(r===null)throw Error(H(311));r.lastRenderedReducer=n;var i=e.baseQueue,a=r.pending;if(a!==null){if(i!==null){var o=i.next;i.next=a.next,a.next=o}t.baseQueue=i=a,r.pending=null}if(a=e.baseState,i===null)e.memoizedState=a;else{t=i.next;var s=o=null,l=null,c=t,u=!1;do{var f=c.lane&-536870913;if(f!==c.lane?(Ee&f)===f:(Ri&f)===f){var d=c.revertLane;if(d===0)l!==null&&(l=l.next={lane:0,revertLane:0,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),f===Ps&&(u=!0);else if((Ri&d)===d){c=c.next,d===Ps&&(u=!0);continue}else f={lane:0,revertLane:c.revertLane,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},l===null?(s=l=f,o=a):l=l.next=f,pe.lanes|=d,wa|=d;f=c.action,vo&&n(a,f),a=c.hasEagerState?c.eagerState:n(a,f)}else d={lane:f,revertLane:c.revertLane,gesture:c.gesture,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},l===null?(s=l=d,o=a):l=l.next=d,pe.lanes|=f,wa|=f;c=c.next}while(c!==null&&c!==t);if(l===null?o=a:l.next=s,!Un(a,e.memoizedState)&&(St=!0,u&&(n=Ts,n!==null)))throw n;e.memoizedState=a,e.baseState=o,e.baseQueue=l,r.lastRenderedState=a}return i===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function Mm(e){var t=pt(),n=t.queue;if(n===null)throw Error(H(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,a=t.memoizedState;if(i!==null){n.pending=null;var o=i=i.next;do a=e(a,o.action),o=o.next;while(o!==i);Un(a,t.memoizedState)||(St=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function pT(e,t,n){var r=pe,i=pt(),a=Te;if(a){if(n===void 0)throw Error(H(407));n=n()}else n=t();var o=!Un((Fe||i).memoizedState,n);if(o&&(i.memoizedState=n,St=!0),i=i.queue,j0(vT.bind(null,r,i,e),[e]),i.getSnapshot!==t||o||yt!==null&&yt.memoizedState.tag&1){if(r.flags|=2048,_s(9,{destroy:void 0},yT.bind(null,r,i,n,t),null),Ue===null)throw Error(H(349));a||Ri&127||gT(r,t,n)}return n}function gT(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=pe.updateQueue,t===null?(t=ph(),pe.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function yT(e,t,n,r){t.value=n,t.getSnapshot=r,bT(t)&&xT(e)}function vT(e,t,n){return n(function(){bT(t)&&xT(e)})}function bT(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Un(e,n)}catch{return!0}}function xT(e){var t=Ro(e,2);t!==null&&An(t,e,2)}function Ng(e){var t=sn();if(typeof e=="function"){var n=e;if(e=n(),vo){Zi(!0);try{n()}finally{Zi(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Oi,lastRenderedState:e},t}function ST(e,t,n,r){return e.baseState=n,N0(e,Fe,typeof r=="function"?r:Oi)}function v4(e,t,n,r,i){if(vh(e))throw Error(H(485));if(e=t.action,e!==null){var a={payload:i,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(o){a.listeners.push(o)}};de.T!==null?n(!0):a.isTransition=!1,r(a),n=t.pending,n===null?(a.next=t.pending=a,CT(t,a)):(a.next=n.next,t.pending=n.next=a)}}function CT(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=de.T,o={};de.T=o;try{var s=n(i,r),l=de.S;l!==null&&l(o,s),fS(e,t,s)}catch(c){jg(e,t,c)}finally{a!==null&&o.types!==null&&(a.types=o.types),de.T=a}}else try{a=n(i,r),fS(e,t,a)}catch(c){jg(e,t,c)}}function fS(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(r){dS(e,t,r)},function(r){return jg(e,t,r)}):dS(e,t,n)}function dS(e,t,n){t.status="fulfilled",t.value=n,wT(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,CT(e,n)))}function jg(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status="rejected",t.reason=n,wT(t),t=t.next;while(t!==r)}e.action=null}function wT(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function ET(e,t){return t}function hS(e,t){if(Te){var n=Ue.formState;if(n!==null){e:{var r=pe;if(Te){if(Je){t:{for(var i=Je,a=rr;i.nodeType!==8;){if(!a){i=null;break t}if(i=or(i.nextSibling),i===null){i=null;break t}}a=i.data,i=a==="F!"||a==="F"?i:null}if(i){Je=or(i.nextSibling),r=i.data==="F!";break e}}Sa(r)}r=!1}r&&(t=n[0])}}return n=sn(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ET,lastRenderedState:t},n.queue=r,n=HT.bind(null,pe,r),r.dispatch=n,r=Ng(!1),a=P0.bind(null,pe,!1,r.queue),r=sn(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=v4.bind(null,pe,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function mS(e){var t=pt();return AT(t,Fe,e)}function AT(e,t,n){if(t=N0(e,t,ET)[0],e=Af(Oi)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var r=mu(t)}catch(o){throw o===nl?mh:o}else r=t;t=pt();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(pe.flags|=2048,_s(9,{destroy:void 0},b4.bind(null,i,n),null)),[r,a,e]}function b4(e,t){e.action=t}function pS(e){var t=pt(),n=Fe;if(n!==null)return AT(t,n,e);pt(),t=t.memoizedState,n=pt();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function _s(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=pe.updateQueue,t===null&&(t=ph(),pe.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function TT(){return pt().memoizedState}function Tf(e,t,n,r){var i=sn();pe.flags|=e,i.memoizedState=_s(1|t,{destroy:void 0},n,r===void 0?null:r)}function yh(e,t,n,r){var i=pt();r=r===void 0?null:r;var a=i.memoizedState.inst;Fe!==null&&r!==null&&A0(r,Fe.memoizedState.deps)?i.memoizedState=_s(t,a,n,r):(pe.flags|=e,i.memoizedState=_s(1|t,a,n,r))}function gS(e,t){Tf(8390656,8,e,t)}function j0(e,t){yh(2048,8,e,t)}function x4(e){pe.flags|=4;var t=pe.updateQueue;if(t===null)t=ph(),pe.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function MT(e){var t=pt().memoizedState;return x4({ref:t,nextImpl:e}),function(){if(Ne&2)throw Error(H(440));return t.impl.apply(void 0,arguments)}}function RT(e,t){return yh(4,2,e,t)}function OT(e,t){return yh(4,4,e,t)}function $T(e,t){if(typeof t=="function"){e=e();var n=t(e);return function(){typeof n=="function"?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function NT(e,t,n){n=n!=null?n.concat([e]):null,yh(4,4,$T.bind(null,t,e),n)}function D0(){}function jT(e,t){var n=pt();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&A0(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function DT(e,t){var n=pt();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&A0(t,r[1]))return r[0];if(r=e(),vo){Zi(!0);try{e()}finally{Zi(!1)}}return n.memoizedState=[r,t],r}function z0(e,t,n){return n===void 0||Ri&1073741824&&!(Ee&261930)?e.memoizedState=t:(e.memoizedState=n,e=S2(),pe.lanes|=e,wa|=e,n)}function zT(e,t,n,r){return Un(n,t)?n:Ls.current!==null?(e=z0(e,n,r),Un(e,t)||(St=!0),e):!(Ri&42)||Ri&1073741824&&!(Ee&261930)?(St=!0,e.memoizedState=n):(e=S2(),pe.lanes|=e,wa|=e,t)}function BT(e,t,n,r,i){var a=je.p;je.p=a!==0&&8>a?a:8;var o=de.T,s={};de.T=s,P0(e,!1,t,n);try{var l=i(),c=de.S;if(c!==null&&c(s,l),l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=p4(l,r);nc(e,t,u,Hn(e))}else nc(e,t,r,Hn(e))}catch(f){nc(e,t,{then:function(){},status:"rejected",reason:f},Hn())}finally{je.p=a,o!==null&&s.types!==null&&(o.types=s.types),de.T=o}}function S4(){}function Dg(e,t,n,r){if(e.tag!==5)throw Error(H(476));var i=PT(e).queue;BT(e,i,t,ao,n===null?S4:function(){return LT(e),n(r)})}function PT(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ao,baseState:ao,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Oi,lastRenderedState:ao},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Oi,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function LT(e){var t=PT(e);t.next===null&&(t=e.alternate.memoizedState),nc(e,t.next.queue,{},Hn())}function B0(){return Qt(zc)}function _T(){return pt().memoizedState}function VT(){return pt().memoizedState}function C4(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=Hn();e=ua(n);var r=fa(t,e,n);r!==null&&(An(r,t,n),Jl(r,t,n)),t={cache:x0()},e.payload=t;return}t=t.return}}function w4(e,t,n){var r=Hn();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},vh(e)?FT(t,n):(n=g0(e,t,n,r),n!==null&&(An(n,e,r),IT(n,t,r)))}function HT(e,t,n){var r=Hn();nc(e,t,n,r)}function nc(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(vh(e))FT(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,Un(s,o))return hh(e,t,i,0),Ue===null&&dh(),!1}catch{}finally{}if(n=g0(e,t,i,r),n!==null)return An(n,e,r),IT(n,t,r),!0}return!1}function P0(e,t,n,r){if(r={lane:2,revertLane:G0(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},vh(e)){if(t)throw Error(H(479))}else t=g0(e,n,r,2),t!==null&&An(t,e,2)}function vh(e){var t=e.alternate;return e===pe||t!==null&&t===pe}function FT(e,t){Rs=dd=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function IT(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,MA(e,n)}}var Nc={readContext:Qt,use:gh,useCallback:st,useContext:st,useEffect:st,useImperativeHandle:st,useLayoutEffect:st,useInsertionEffect:st,useMemo:st,useReducer:st,useRef:st,useState:st,useDebugValue:st,useDeferredValue:st,useTransition:st,useSyncExternalStore:st,useId:st,useHostTransitionStatus:st,useFormState:st,useActionState:st,useOptimistic:st,useMemoCache:st,useCacheRefresh:st};Nc.useEffectEvent=st;var UT={readContext:Qt,use:gh,useCallback:function(e,t){return sn().memoizedState=[e,t===void 0?null:t],e},useContext:Qt,useEffect:gS,useImperativeHandle:function(e,t,n){n=n!=null?n.concat([e]):null,Tf(4194308,4,$T.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Tf(4194308,4,e,t)},useInsertionEffect:function(e,t){Tf(4,2,e,t)},useMemo:function(e,t){var n=sn();t=t===void 0?null:t;var r=e();if(vo){Zi(!0);try{e()}finally{Zi(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=sn();if(n!==void 0){var i=n(t);if(vo){Zi(!0);try{n(t)}finally{Zi(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=w4.bind(null,pe,e),[r.memoizedState,e]},useRef:function(e){var t=sn();return e={current:e},t.memoizedState=e},useState:function(e){e=Ng(e);var t=e.queue,n=HT.bind(null,pe,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:D0,useDeferredValue:function(e,t){var n=sn();return z0(n,e,t)},useTransition:function(){var e=Ng(!1);return e=BT.bind(null,pe,e.queue,!0,!1),sn().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=pe,i=sn();if(Te){if(n===void 0)throw Error(H(407));n=n()}else{if(n=t(),Ue===null)throw Error(H(349));Ee&127||gT(r,t,n)}i.memoizedState=n;var a={value:n,getSnapshot:t};return i.queue=a,gS(vT.bind(null,r,a,e),[e]),r.flags|=2048,_s(9,{destroy:void 0},yT.bind(null,r,a,n,t),null),n},useId:function(){var e=sn(),t=Ue.identifierPrefix;if(Te){var n=Kr,r=Wr;n=(r&~(1<<32-Vn(r)-1)).toString(32)+n,t="_"+t+"R_"+n,n=hd++,0<n&&(t+="H"+n.toString(32)),t+="_"}else n=g4++,t="_"+t+"r_"+n.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:B0,useFormState:hS,useActionState:hS,useOptimistic:function(e){var t=sn();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=P0.bind(null,pe,!0,n),n.dispatch=t,[e,t]},useMemoCache:$0,useCacheRefresh:function(){return sn().memoizedState=C4.bind(null,pe)},useEffectEvent:function(e){var t=sn(),n={impl:e};return t.memoizedState=n,function(){if(Ne&2)throw Error(H(440));return n.impl.apply(void 0,arguments)}}},L0={readContext:Qt,use:gh,useCallback:jT,useContext:Qt,useEffect:j0,useImperativeHandle:NT,useInsertionEffect:RT,useLayoutEffect:OT,useMemo:DT,useReducer:Af,useRef:TT,useState:function(){return Af(Oi)},useDebugValue:D0,useDeferredValue:function(e,t){var n=pt();return zT(n,Fe.memoizedState,e,t)},useTransition:function(){var e=Af(Oi)[0],t=pt().memoizedState;return[typeof e=="boolean"?e:mu(e),t]},useSyncExternalStore:pT,useId:_T,useHostTransitionStatus:B0,useFormState:mS,useActionState:mS,useOptimistic:function(e,t){var n=pt();return ST(n,Fe,e,t)},useMemoCache:$0,useCacheRefresh:VT};L0.useEffectEvent=MT;var qT={readContext:Qt,use:gh,useCallback:jT,useContext:Qt,useEffect:j0,useImperativeHandle:NT,useInsertionEffect:RT,useLayoutEffect:OT,useMemo:DT,useReducer:Mm,useRef:TT,useState:function(){return Mm(Oi)},useDebugValue:D0,useDeferredValue:function(e,t){var n=pt();return Fe===null?z0(n,e,t):zT(n,Fe.memoizedState,e,t)},useTransition:function(){var e=Mm(Oi)[0],t=pt().memoizedState;return[typeof e=="boolean"?e:mu(e),t]},useSyncExternalStore:pT,useId:_T,useHostTransitionStatus:B0,useFormState:pS,useActionState:pS,useOptimistic:function(e,t){var n=pt();return Fe!==null?ST(n,Fe,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:$0,useCacheRefresh:VT};qT.useEffectEvent=MT;function Rm(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:nt({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var zg={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Hn(),i=ua(r);i.payload=t,n!=null&&(i.callback=n),t=fa(e,i,r),t!==null&&(An(t,e,r),Jl(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Hn(),i=ua(r);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=fa(e,i,r),t!==null&&(An(t,e,r),Jl(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Hn(),r=ua(n);r.tag=2,t!=null&&(r.callback=t),t=fa(e,r,n),t!==null&&(An(t,e,n),Jl(t,e,n))}};function yS(e,t,n,r,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,a,o):t.prototype&&t.prototype.isPureReactComponent?!Tc(n,r)||!Tc(i,a):!0}function vS(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&zg.enqueueReplaceState(t,t.state,null)}function bo(e,t){var n=t;if("ref"in t){n={};for(var r in t)r!=="ref"&&(n[r]=t[r])}if(e=e.defaultProps){n===t&&(n=nt({},n));for(var i in e)n[i]===void 0&&(n[i]=e[i])}return n}function GT(e){ad(e)}function kT(e){console.error(e)}function XT(e){ad(e)}function md(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(r){setTimeout(function(){throw r})}}function bS(e,t,n){try{var r=e.onCaughtError;r(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(i){setTimeout(function(){throw i})}}function Bg(e,t,n){return n=ua(n),n.tag=3,n.payload={element:null},n.callback=function(){md(e,t)},n}function YT(e){return e=ua(e),e.tag=3,e}function WT(e,t,n,r){var i=n.type.getDerivedStateFromError;if(typeof i=="function"){var a=r.value;e.payload=function(){return i(a)},e.callback=function(){bS(t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch=="function"&&(e.callback=function(){bS(t,n,r),typeof i!="function"&&(da===null?da=new Set([this]):da.add(this));var s=r.stack;this.componentDidCatch(r.value,{componentStack:s!==null?s:""})})}function E4(e,t,n,r,i){if(n.flags|=32768,r!==null&&typeof r=="object"&&typeof r.then=="function"){if(t=n.alternate,t!==null&&tl(t,n,i,!0),n=qn.current,n!==null){switch(n.tag){case 31:case 13:return ar===null?bd():n.alternate===null&&dt===0&&(dt=3),n.flags&=-257,n.flags|=65536,n.lanes=i,r===cd?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([r]):t.add(r),Vm(e,r,i)),!1;case 22:return n.flags|=65536,r===cd?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([r]):n.add(r)),Vm(e,r,i)),!1}throw Error(H(435,n.tag))}return Vm(e,r,i),bd(),!1}if(Te)return t=qn.current,t!==null?(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=i,r!==Cg&&(e=Error(H(422),{cause:r}),Rc(nr(e,n)))):(r!==Cg&&(t=Error(H(423),{cause:r}),Rc(nr(t,n))),e=e.current.alternate,e.flags|=65536,i&=-i,e.lanes|=i,r=nr(r,n),i=Bg(e.stateNode,r,i),Tm(e,i),dt!==4&&(dt=2)),!1;var a=Error(H(520),{cause:r});if(a=nr(a,n),ac===null?ac=[a]:ac.push(a),dt!==4&&(dt=2),t===null)return!0;r=nr(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=i&-i,n.lanes|=e,e=Bg(n.stateNode,r,e),Tm(n,e),!1;case 1:if(t=n.type,a=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||a!==null&&typeof a.componentDidCatch=="function"&&(da===null||!da.has(a))))return n.flags|=65536,i&=-i,n.lanes|=i,i=YT(i),WT(i,e,n,r),Tm(n,i),!1}n=n.return}while(n!==null);return!1}var _0=Error(H(461)),St=!1;function Xt(e,t,n,r){t.child=e===null?cT(t,null,n,r):yo(t,e.child,n,r)}function xS(e,t,n,r,i){n=n.render;var a=t.ref;if("ref"in r){var o={};for(var s in r)s!=="ref"&&(o[s]=r[s])}else o=r;return go(t),r=T0(e,t,n,o,a,i),s=M0(),e!==null&&!St?(R0(e,t,i),$i(e,t,i)):(Te&&s&&v0(t),t.flags|=1,Xt(e,t,r,i),t.child)}function SS(e,t,n,r,i){if(e===null){var a=n.type;return typeof a=="function"&&!y0(a)&&a.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=a,KT(e,t,a,r,i)):(e=wf(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!V0(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n!==null?n:Tc,n(o,r)&&e.ref===t.ref)return $i(e,t,i)}return t.flags|=1,e=Si(a,r),e.ref=t.ref,e.return=t,t.child=e}function KT(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(Tc(a,r)&&e.ref===t.ref)if(St=!1,t.pendingProps=r=a,V0(e,i))e.flags&131072&&(St=!0);else return t.lanes=e.lanes,$i(e,t,i)}return Pg(e,t,n,r,i)}function QT(e,t,n,r){var i=r.children,a=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode==="hidden"){if(t.flags&128){if(a=a!==null?a.baseLanes|n:n,e!==null){for(r=t.child=e.child,i=0;r!==null;)i=i|r.lanes|r.childLanes,r=r.sibling;r=i&~a}else r=0,t.child=null;return CS(e,t,a,n,r)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Ef(t,a!==null?a.cachePool:null),a!==null?uS(t,a):Og(),dT(t);else return r=t.lanes=536870912,CS(e,t,a!==null?a.baseLanes|n:n,n,r)}else a!==null?(Ef(t,a.cachePool),uS(t,a),Ki(),t.memoizedState=null):(e!==null&&Ef(t,null),Og(),Ki());return Xt(e,t,i,n),t.child}function Hl(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function CS(e,t,n,r,i){var a=S0();return a=a===null?null:{parent:bt._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},e!==null&&Ef(t,null),Og(),dT(t),e!==null&&tl(e,t,r,!0),t.childLanes=i,null}function Mf(e,t){return t=pd({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function wS(e,t,n){return yo(t,e.child,null,n),e=Mf(t,t.pendingProps),e.flags|=2,Dn(t),t.memoizedState=null,e}function A4(e,t,n){var r=t.pendingProps,i=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(Te){if(r.mode==="hidden")return e=Mf(t,r),t.lanes=536870912,Hl(null,e);if($g(t),(e=Je)?(e=U2(e,rr),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:xa!==null?{id:Wr,overflow:Kr}:null,retryLane:536870912,hydrationErrors:null},n=nT(e),n.return=t,t.child=n,Kt=t,Je=null)):e=null,e===null)throw Sa(t);return t.lanes=536870912,null}return Mf(t,r)}var a=e.memoizedState;if(a!==null){var o=a.dehydrated;if($g(t),i)if(t.flags&256)t.flags&=-257,t=wS(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(H(558));else if(St||tl(e,t,n,!1),i=(n&e.childLanes)!==0,St||i){if(r=Ue,r!==null&&(o=RA(r,n),o!==0&&o!==a.retryLane))throw a.retryLane=o,Ro(e,o),An(r,e,o),_0;bd(),t=wS(e,t,n)}else e=a.treeContext,Je=or(o.nextSibling),Kt=t,Te=!0,ca=null,rr=!1,e!==null&&iT(t,e),t=Mf(t,r),t.flags|=4096;return t}return e=Si(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Rf(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error(H(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function Pg(e,t,n,r,i){return go(t),n=T0(e,t,n,r,void 0,i),r=M0(),e!==null&&!St?(R0(e,t,i),$i(e,t,i)):(Te&&r&&v0(t),t.flags|=1,Xt(e,t,n,i),t.child)}function ES(e,t,n,r,i,a){return go(t),t.updateQueue=null,n=mT(t,r,n,i),hT(e),r=M0(),e!==null&&!St?(R0(e,t,a),$i(e,t,a)):(Te&&r&&v0(t),t.flags|=1,Xt(e,t,n,a),t.child)}function AS(e,t,n,r,i){if(go(t),t.stateNode===null){var a=ds,o=n.contextType;typeof o=="object"&&o!==null&&(a=Qt(o)),a=new n(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=zg,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},w0(t),o=n.contextType,a.context=typeof o=="object"&&o!==null?Qt(o):ds,a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o=="function"&&(Rm(t,n,o,r),a.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof a.getSnapshotBeforeUpdate=="function"||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(o=a.state,typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount(),o!==a.state&&zg.enqueueReplaceState(a,a.state,null),tc(t,r,a,i),ec(),a.state=t.memoizedState),typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!0}else if(e===null){a=t.stateNode;var s=t.memoizedProps,l=bo(n,s);a.props=l;var c=a.context,u=n.contextType;o=ds,typeof u=="object"&&u!==null&&(o=Qt(u));var f=n.getDerivedStateFromProps;u=typeof f=="function"||typeof a.getSnapshotBeforeUpdate=="function",s=t.pendingProps!==s,u||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s||c!==o)&&vS(t,a,r,o),Xi=!1;var d=t.memoizedState;a.state=d,tc(t,r,a,i),ec(),c=t.memoizedState,s||d!==c||Xi?(typeof f=="function"&&(Rm(t,n,f,r),c=t.memoizedState),(l=Xi||yS(t,n,l,r,d,c,o))?(u||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),a.props=r,a.state=c,a.context=o,r=l):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Mg(e,t),o=t.memoizedProps,u=bo(n,o),a.props=u,f=t.pendingProps,d=a.context,c=n.contextType,l=ds,typeof c=="object"&&c!==null&&(l=Qt(c)),s=n.getDerivedStateFromProps,(c=typeof s=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(o!==f||d!==l)&&vS(t,a,r,l),Xi=!1,d=t.memoizedState,a.state=d,tc(t,r,a,i),ec();var m=t.memoizedState;o!==f||d!==m||Xi||e!==null&&e.dependencies!==null&&ld(e.dependencies)?(typeof s=="function"&&(Rm(t,n,s,r),m=t.memoizedState),(u=Xi||yS(t,n,u,r,d,m,l)||e!==null&&e.dependencies!==null&&ld(e.dependencies))?(c||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(r,m,l),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(r,m,l)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||o===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),a.props=r,a.state=m,a.context=l,r=u):(typeof a.componentDidUpdate!="function"||o===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,Rf(e,t),r=(t.flags&128)!==0,a||r?(a=t.stateNode,n=r&&typeof n.getDerivedStateFromError!="function"?null:a.render(),t.flags|=1,e!==null&&r?(t.child=yo(t,e.child,null,i),t.child=yo(t,null,n,i)):Xt(e,t,n,i),t.memoizedState=a.state,e=t.child):e=$i(e,t,i),e}function TS(e,t,n,r){return po(),t.flags|=256,Xt(e,t,n,r),t.child}var Om={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function $m(e){return{baseLanes:e,cachePool:oT()}}function Nm(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=Bn),e}function ZT(e,t,n){var r=t.pendingProps,i=!1,a=(t.flags&128)!==0,o;if((o=a)||(o=e!==null&&e.memoizedState===null?!1:(mt.current&2)!==0),o&&(i=!0,t.flags&=-129),o=(t.flags&32)!==0,t.flags&=-33,e===null){if(Te){if(i?Wi(t):Ki(),(e=Je)?(e=U2(e,rr),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:xa!==null?{id:Wr,overflow:Kr}:null,retryLane:536870912,hydrationErrors:null},n=nT(e),n.return=t,t.child=n,Kt=t,Je=null)):e=null,e===null)throw Sa(t);return Kg(e)?t.lanes=32:t.lanes=536870912,null}var s=r.children;return r=r.fallback,i?(Ki(),i=t.mode,s=pd({mode:"hidden",children:s},i),r=oo(r,i,n,null),s.return=t,r.return=t,s.sibling=r,t.child=s,r=t.child,r.memoizedState=$m(n),r.childLanes=Nm(e,o,n),t.memoizedState=Om,Hl(null,r)):(Wi(t),Lg(t,s))}var l=e.memoizedState;if(l!==null&&(s=l.dehydrated,s!==null)){if(a)t.flags&256?(Wi(t),t.flags&=-257,t=jm(e,t,n)):t.memoizedState!==null?(Ki(),t.child=e.child,t.flags|=128,t=null):(Ki(),s=r.fallback,i=t.mode,r=pd({mode:"visible",children:r.children},i),s=oo(s,i,n,null),s.flags|=2,r.return=t,s.return=t,r.sibling=s,t.child=r,yo(t,e.child,null,n),r=t.child,r.memoizedState=$m(n),r.childLanes=Nm(e,o,n),t.memoizedState=Om,t=Hl(null,r));else if(Wi(t),Kg(s)){if(o=s.nextSibling&&s.nextSibling.dataset,o)var c=o.dgst;o=c,r=Error(H(419)),r.stack="",r.digest=o,Rc({value:r,source:null,stack:null}),t=jm(e,t,n)}else if(St||tl(e,t,n,!1),o=(n&e.childLanes)!==0,St||o){if(o=Ue,o!==null&&(r=RA(o,n),r!==0&&r!==l.retryLane))throw l.retryLane=r,Ro(e,r),An(o,e,r),_0;Wg(s)||bd(),t=jm(e,t,n)}else Wg(s)?(t.flags|=192,t.child=e.child,t=null):(e=l.treeContext,Je=or(s.nextSibling),Kt=t,Te=!0,ca=null,rr=!1,e!==null&&iT(t,e),t=Lg(t,r.children),t.flags|=4096);return t}return i?(Ki(),s=r.fallback,i=t.mode,l=e.child,c=l.sibling,r=Si(l,{mode:"hidden",children:r.children}),r.subtreeFlags=l.subtreeFlags&65011712,c!==null?s=Si(c,s):(s=oo(s,i,n,null),s.flags|=2),s.return=t,r.return=t,r.sibling=s,t.child=r,Hl(null,r),r=t.child,s=e.child.memoizedState,s===null?s=$m(n):(i=s.cachePool,i!==null?(l=bt._currentValue,i=i.parent!==l?{parent:l,pool:l}:i):i=oT(),s={baseLanes:s.baseLanes|n,cachePool:i}),r.memoizedState=s,r.childLanes=Nm(e,o,n),t.memoizedState=Om,Hl(e.child,r)):(Wi(t),n=e.child,e=n.sibling,n=Si(n,{mode:"visible",children:r.children}),n.return=t,n.sibling=null,e!==null&&(o=t.deletions,o===null?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=n,t.memoizedState=null,n)}function Lg(e,t){return t=pd({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function pd(e,t){return e=zn(22,e,null,t),e.lanes=0,e}function jm(e,t,n){return yo(t,e.child,null,n),e=Lg(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function MS(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Eg(e.return,t,n)}function Dm(e,t,n,r,i,a){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,treeForkCount:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i,o.treeForkCount=a)}function JT(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;r=r.children;var o=mt.current,s=(o&2)!==0;if(s?(o=o&1|2,t.flags|=128):o&=1,Ye(mt,o),Xt(e,t,r,n),r=Te?Mc:0,!s&&e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&MS(e,n,t);else if(e.tag===19)MS(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&fd(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Dm(t,!1,i,n,a,r);break;case"backwards":case"unstable_legacy-backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&fd(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Dm(t,!0,n,null,a,r);break;case"together":Dm(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function $i(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),wa|=t.lanes,!(n&t.childLanes))if(e!==null){if(tl(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(H(153));if(t.child!==null){for(e=t.child,n=Si(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Si(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function V0(e,t){return e.lanes&t?!0:(e=e.dependencies,!!(e!==null&&ld(e)))}function T4(e,t,n){switch(t.tag){case 3:td(t,t.stateNode.containerInfo),Yi(t,bt,e.memoizedState.cache),po();break;case 27:case 5:fg(t);break;case 4:td(t,t.stateNode.containerInfo);break;case 10:Yi(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,$g(t),null;break;case 13:var r=t.memoizedState;if(r!==null)return r.dehydrated!==null?(Wi(t),t.flags|=128,null):n&t.child.childLanes?ZT(e,t,n):(Wi(t),e=$i(e,t,n),e!==null?e.sibling:null);Wi(t);break;case 19:var i=(e.flags&128)!==0;if(r=(n&t.childLanes)!==0,r||(tl(e,t,n,!1),r=(n&t.childLanes)!==0),i){if(r)return JT(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Ye(mt,mt.current),r)break;return null;case 22:return t.lanes=0,QT(e,t,n,t.pendingProps);case 24:Yi(t,bt,e.memoizedState.cache)}return $i(e,t,n)}function e2(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)St=!0;else{if(!V0(e,n)&&!(t.flags&128))return St=!1,T4(e,t,n);St=!!(e.flags&131072)}else St=!1,Te&&t.flags&1048576&&rT(t,Mc,t.index);switch(t.lanes=0,t.tag){case 16:e:{var r=t.pendingProps;if(e=Ua(t.elementType),t.type=e,typeof e=="function")y0(e)?(r=bo(e,r),t.tag=1,t=AS(null,t,e,r,n)):(t.tag=0,t=Pg(null,t,e,r,n));else{if(e!=null){var i=e.$$typeof;if(i===r0){t.tag=11,t=xS(null,t,e,r,n);break e}else if(i===i0){t.tag=14,t=SS(null,t,e,r,n);break e}}throw t=cg(e)||e,Error(H(306,t,""))}}return t;case 0:return Pg(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,i=bo(r,t.pendingProps),AS(e,t,r,i,n);case 3:e:{if(td(t,t.stateNode.containerInfo),e===null)throw Error(H(387));r=t.pendingProps;var a=t.memoizedState;i=a.element,Mg(e,t),tc(t,r,null,n);var o=t.memoizedState;if(r=o.cache,Yi(t,bt,r),r!==a.cache&&Ag(t,[bt],n,!0),ec(),r=o.element,a.isDehydrated)if(a={element:r,isDehydrated:!1,cache:o.cache},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){t=TS(e,t,r,n);break e}else if(r!==i){i=nr(Error(H(424)),t),Rc(i),t=TS(e,t,r,n);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Je=or(e.firstChild),Kt=t,Te=!0,ca=null,rr=!0,n=cT(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(po(),r===i){t=$i(e,t,n);break e}Xt(e,t,r,n)}t=t.child}return t;case 26:return Rf(e,t),e===null?(n=XS(t.type,null,t.pendingProps,null))?t.memoizedState=n:Te||(n=t.type,e=t.pendingProps,r=wd(la.current).createElement(n),r[Wt]=t,r[Tn]=e,Jt(r,n,e),Ht(r),t.stateNode=r):t.memoizedState=XS(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return fg(t),e===null&&Te&&(r=t.stateNode=q2(t.type,t.pendingProps,la.current),Kt=t,rr=!0,i=Je,Oa(t.type)?(Qg=i,Je=or(r.firstChild)):Je=i),Xt(e,t,t.pendingProps.children,n),Rf(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Te&&((i=r=Je)&&(r=nD(r,t.type,t.pendingProps,rr),r!==null?(t.stateNode=r,Kt=t,Je=or(r.firstChild),rr=!1,i=!0):i=!1),i||Sa(t)),fg(t),i=t.type,a=t.pendingProps,o=e!==null?e.memoizedProps:null,r=a.children,Xg(i,a)?r=null:o!==null&&Xg(i,o)&&(t.flags|=32),t.memoizedState!==null&&(i=T0(e,t,y4,null,null,n),zc._currentValue=i),Rf(e,t),Xt(e,t,r,n),t.child;case 6:return e===null&&Te&&((e=n=Je)&&(n=rD(n,t.pendingProps,rr),n!==null?(t.stateNode=n,Kt=t,Je=null,e=!0):e=!1),e||Sa(t)),null;case 13:return ZT(e,t,n);case 4:return td(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=yo(t,null,r,n):Xt(e,t,r,n),t.child;case 11:return xS(e,t,t.type,t.pendingProps,n);case 7:return Xt(e,t,t.pendingProps,n),t.child;case 8:return Xt(e,t,t.pendingProps.children,n),t.child;case 12:return Xt(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,Yi(t,t.type,r.value),Xt(e,t,r.children,n),t.child;case 9:return i=t.type._context,r=t.pendingProps.children,go(t),i=Qt(i),r=r(i),t.flags|=1,Xt(e,t,r,n),t.child;case 14:return SS(e,t,t.type,t.pendingProps,n);case 15:return KT(e,t,t.type,t.pendingProps,n);case 19:return JT(e,t,n);case 31:return A4(e,t,n);case 22:return QT(e,t,n,t.pendingProps);case 24:return go(t),r=Qt(bt),e===null?(i=S0(),i===null&&(i=Ue,a=x0(),i.pooledCache=a,a.refCount++,a!==null&&(i.pooledCacheLanes|=n),i=a),t.memoizedState={parent:r,cache:i},w0(t),Yi(t,bt,i)):(e.lanes&n&&(Mg(e,t),tc(t,null,null,n),ec()),i=e.memoizedState,a=t.memoizedState,i.parent!==r?(i={parent:r,cache:r},t.memoizedState=i,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=i),Yi(t,bt,r)):(r=a.cache,Yi(t,bt,r),r!==i.cache&&Ag(t,[bt],n,!0))),Xt(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(H(156,t.tag))}function ci(e){e.flags|=4}function zm(e,t,n,r,i){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(i&335544128)===i)if(e.stateNode.complete)e.flags|=8192;else if(E2())e.flags|=8192;else throw lo=cd,C0}else e.flags&=-16777217}function RS(e,t){if(t.type!=="stylesheet"||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!X2(t))if(E2())e.flags|=8192;else throw lo=cd,C0}function Gu(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?AA():536870912,e.lanes|=t,Vs|=t)}function Ol(e,t){if(!Te)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Qe(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&65011712,r|=i.flags&65011712,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function M4(e,t,n){var r=t.pendingProps;switch(b0(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Qe(t),null;case 1:return Qe(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),Ci(bt),Ds(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Fo(t)?ci(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Am())),Qe(t),null;case 26:var i=t.type,a=t.memoizedState;return e===null?(ci(t),a!==null?(Qe(t),RS(t,a)):(Qe(t),zm(t,i,null,r,n))):a?a!==e.memoizedState?(ci(t),Qe(t),RS(t,a)):(Qe(t),t.flags&=-16777217):(e=e.memoizedProps,e!==r&&ci(t),Qe(t),zm(t,i,e,r,n)),null;case 27:if(nd(t),n=la.current,i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&ci(t);else{if(!r){if(t.stateNode===null)throw Error(H(166));return Qe(t),null}e=Zr.current,Fo(t)?rS(t):(e=q2(i,r,n),t.stateNode=e,ci(t))}return Qe(t),null;case 5:if(nd(t),i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&ci(t);else{if(!r){if(t.stateNode===null)throw Error(H(166));return Qe(t),null}if(a=Zr.current,Fo(t))rS(t);else{var o=wd(la.current);switch(a){case 1:a=o.createElementNS("http://www.w3.org/2000/svg",i);break;case 2:a=o.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;default:switch(i){case"svg":a=o.createElementNS("http://www.w3.org/2000/svg",i);break;case"math":a=o.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;case"script":a=o.createElement("div"),a.innerHTML="<script><\/script>",a=a.removeChild(a.firstChild);break;case"select":a=typeof r.is=="string"?o.createElement("select",{is:r.is}):o.createElement("select"),r.multiple?a.multiple=!0:r.size&&(a.size=r.size);break;default:a=typeof r.is=="string"?o.createElement(i,{is:r.is}):o.createElement(i)}}a[Wt]=t,a[Tn]=r;e:for(o=t.child;o!==null;){if(o.tag===5||o.tag===6)a.appendChild(o.stateNode);else if(o.tag!==4&&o.tag!==27&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===t)break e;for(;o.sibling===null;){if(o.return===null||o.return===t)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}t.stateNode=a;e:switch(Jt(a,i,r),i){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}r&&ci(t)}}return Qe(t),zm(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&ci(t);else{if(typeof r!="string"&&t.stateNode===null)throw Error(H(166));if(e=la.current,Fo(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,i=Kt,i!==null)switch(i.tag){case 27:case 5:r=i.memoizedProps}e[Wt]=t,e=!!(e.nodeValue===n||r!==null&&r.suppressHydrationWarning===!0||H2(e.nodeValue,n)),e||Sa(t,!0)}else e=wd(e).createTextNode(r),e[Wt]=t,t.stateNode=e}return Qe(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=Fo(t),n!==null){if(e===null){if(!r)throw Error(H(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(H(557));e[Wt]=t}else po(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Qe(t),e=!1}else n=Am(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(Dn(t),t):(Dn(t),null);if(t.flags&128)throw Error(H(558))}return Qe(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(i=Fo(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(H(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(H(317));i[Wt]=t}else po(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Qe(t),i=!1}else i=Am(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),i=!0;if(!i)return t.flags&256?(Dn(t),t):(Dn(t),null)}return Dn(t),t.flags&128?(t.lanes=n,t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,i=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(i=r.alternate.memoizedState.cachePool.pool),a=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(a=r.memoizedState.cachePool.pool),a!==i&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Gu(t,t.updateQueue),Qe(t),null);case 4:return Ds(),e===null&&k0(t.stateNode.containerInfo),Qe(t),null;case 10:return Ci(t.type),Qe(t),null;case 19:if(It(mt),r=t.memoizedState,r===null)return Qe(t),null;if(i=(t.flags&128)!==0,a=r.rendering,a===null)if(i)Ol(r,!1);else{if(dt!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(a=fd(e),a!==null){for(t.flags|=128,Ol(r,!1),e=a.updateQueue,t.updateQueue=e,Gu(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)tT(n,e),n=n.sibling;return Ye(mt,mt.current&1|2),Te&&pi(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&Ln()>yd&&(t.flags|=128,i=!0,Ol(r,!1),t.lanes=4194304)}else{if(!i)if(e=fd(a),e!==null){if(t.flags|=128,i=!0,e=e.updateQueue,t.updateQueue=e,Gu(t,e),Ol(r,!0),r.tail===null&&r.tailMode==="hidden"&&!a.alternate&&!Te)return Qe(t),null}else 2*Ln()-r.renderingStartTime>yd&&n!==536870912&&(t.flags|=128,i=!0,Ol(r,!1),t.lanes=4194304);r.isBackwards?(a.sibling=t.child,t.child=a):(e=r.last,e!==null?e.sibling=a:t.child=a,r.last=a)}return r.tail!==null?(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=Ln(),e.sibling=null,n=mt.current,Ye(mt,i?n&1|2:n&1),Te&&pi(t,r.treeForkCount),e):(Qe(t),null);case 22:case 23:return Dn(t),E0(),r=t.memoizedState!==null,e!==null?e.memoizedState!==null!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(Qe(t),t.subtreeFlags&6&&(t.flags|=8192)):Qe(t),n=t.updateQueue,n!==null&&Gu(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&It(so),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Ci(bt),Qe(t),null;case 25:return null;case 30:return null}throw Error(H(156,t.tag))}function R4(e,t){switch(b0(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ci(bt),Ds(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return nd(t),null;case 31:if(t.memoizedState!==null){if(Dn(t),t.alternate===null)throw Error(H(340));po()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Dn(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(H(340));po()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return It(mt),null;case 4:return Ds(),null;case 10:return Ci(t.type),null;case 22:case 23:return Dn(t),E0(),e!==null&&It(so),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Ci(bt),null;case 25:return null;default:return null}}function t2(e,t){switch(b0(t),t.tag){case 3:Ci(bt),Ds();break;case 26:case 27:case 5:nd(t);break;case 4:Ds();break;case 31:t.memoizedState!==null&&Dn(t);break;case 13:Dn(t);break;case 19:It(mt);break;case 10:Ci(t.type);break;case 22:case 23:Dn(t),E0(),e!==null&&It(so);break;case 24:Ci(bt)}}function pu(e,t){try{var n=t.updateQueue,r=n!==null?n.lastEffect:null;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(s){ze(t,t.return,s)}}function Ca(e,t,n){try{var r=t.updateQueue,i=r!==null?r.lastEffect:null;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,i=t;var l=n,c=s;try{c()}catch(u){ze(i,l,u)}}}r=r.next}while(r!==a)}}catch(u){ze(t,t.return,u)}}function n2(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{fT(t,n)}catch(r){ze(e,e.return,r)}}}function r2(e,t,n){n.props=bo(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(r){ze(e,t,r)}}function rc(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:r=e.stateNode;break;default:r=e.stateNode}typeof n=="function"?e.refCleanup=n(r):n.current=r}}catch(i){ze(e,t,i)}}function Qr(e,t){var n=e.ref,r=e.refCleanup;if(n!==null)if(typeof r=="function")try{r()}catch(i){ze(e,t,i)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(i){ze(e,t,i)}else n.current=null}function i2(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&r.focus();break e;case"img":n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(i){ze(e,e.return,i)}}function Bm(e,t,n){try{var r=e.stateNode;K4(r,e.type,n,t),r[Tn]=t}catch(i){ze(e,e.return,i)}}function a2(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Oa(e.type)||e.tag===4}function Pm(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||a2(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Oa(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function _g(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=bi));else if(r!==4&&(r===27&&Oa(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(_g(e,t,n),e=e.sibling;e!==null;)_g(e,t,n),e=e.sibling}function gd(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(r===27&&Oa(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(gd(e,t,n),e=e.sibling;e!==null;)gd(e,t,n),e=e.sibling}function o2(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);Jt(t,r,n),t[Wt]=e,t[Tn]=n}catch(a){ze(e,e.return,a)}}var gi=!1,vt=!1,Lm=!1,OS=typeof WeakSet=="function"?WeakSet:Set,Vt=null;function O4(e,t){if(e=e.containerInfo,Gg=Md,e=XA(e),m0(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch{n=null;break e}var o=0,s=-1,l=-1,c=0,u=0,f=e,d=null;t:for(;;){for(var m;f!==n||i!==0&&f.nodeType!==3||(s=o+i),f!==a||r!==0&&f.nodeType!==3||(l=o+r),f.nodeType===3&&(o+=f.nodeValue.length),(m=f.firstChild)!==null;)d=f,f=m;for(;;){if(f===e)break t;if(d===n&&++c===i&&(s=o),d===a&&++u===r&&(l=o),(m=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=m}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(kg={focusedElem:e,selectionRange:n},Md=!1,Vt=t;Vt!==null;)if(t=Vt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Vt=e;else for(;Vt!==null;){switch(t=Vt,a=t.alternate,e=t.flags,t.tag){case 0:if(e&4&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(n=0;n<e.length;n++)i=e[n],i.ref.impl=i.nextImpl;break;case 11:case 15:break;case 1:if(e&1024&&a!==null){e=void 0,n=t,i=a.memoizedProps,a=a.memoizedState,r=n.stateNode;try{var v=bo(n.type,i);e=r.getSnapshotBeforeUpdate(v,a),r.__reactInternalSnapshotBeforeUpdate=e}catch(x){ze(n,n.return,x)}}break;case 3:if(e&1024){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)Yg(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Yg(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(e&1024)throw Error(H(163))}if(e=t.sibling,e!==null){e.return=t.return,Vt=e;break}Vt=t.return}}function s2(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:fi(e,n),r&4&&pu(5,n);break;case 1:if(fi(e,n),r&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(o){ze(n,n.return,o)}else{var i=bo(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(o){ze(n,n.return,o)}}r&64&&n2(n),r&512&&rc(n,n.return);break;case 3:if(fi(e,n),r&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{fT(e,t)}catch(o){ze(n,n.return,o)}}break;case 27:t===null&&r&4&&o2(n);case 26:case 5:fi(e,n),t===null&&r&4&&i2(n),r&512&&rc(n,n.return);break;case 12:fi(e,n);break;case 31:fi(e,n),r&4&&u2(e,n);break;case 13:fi(e,n),r&4&&f2(e,n),r&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=_4.bind(null,n),iD(e,n))));break;case 22:if(r=n.memoizedState!==null||gi,!r){t=t!==null&&t.memoizedState!==null||vt,i=gi;var a=vt;gi=r,(vt=t)&&!a?di(e,n,(n.subtreeFlags&8772)!==0):fi(e,n),gi=i,vt=a}break;case 30:break;default:fi(e,n)}}function l2(e){var t=e.alternate;t!==null&&(e.alternate=null,l2(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&l0(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var rt=null,xn=!1;function ui(e,t,n){for(n=n.child;n!==null;)c2(e,t,n),n=n.sibling}function c2(e,t,n){if(_n&&typeof _n.onCommitFiberUnmount=="function")try{_n.onCommitFiberUnmount(lu,n)}catch{}switch(n.tag){case 26:vt||Qr(n,t),ui(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:vt||Qr(n,t);var r=rt,i=xn;Oa(n.type)&&(rt=n.stateNode,xn=!1),ui(e,t,n),sc(n.stateNode),rt=r,xn=i;break;case 5:vt||Qr(n,t);case 6:if(r=rt,i=xn,rt=null,ui(e,t,n),rt=r,xn=i,rt!==null)if(xn)try{(rt.nodeType===9?rt.body:rt.nodeName==="HTML"?rt.ownerDocument.body:rt).removeChild(n.stateNode)}catch(a){ze(n,t,a)}else try{rt.removeChild(n.stateNode)}catch(a){ze(n,t,a)}break;case 18:rt!==null&&(xn?(e=rt,IS(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),Us(e)):IS(rt,n.stateNode));break;case 4:r=rt,i=xn,rt=n.stateNode.containerInfo,xn=!0,ui(e,t,n),rt=r,xn=i;break;case 0:case 11:case 14:case 15:Ca(2,n,t),vt||Ca(4,n,t),ui(e,t,n);break;case 1:vt||(Qr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"&&r2(n,t,r)),ui(e,t,n);break;case 21:ui(e,t,n);break;case 22:vt=(r=vt)||n.memoizedState!==null,ui(e,t,n),vt=r;break;default:ui(e,t,n)}}function u2(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Us(e)}catch(n){ze(t,t.return,n)}}}function f2(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Us(e)}catch(n){ze(t,t.return,n)}}function $4(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new OS),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new OS),t;default:throw Error(H(435,e.tag))}}function ku(e,t){var n=$4(e);t.forEach(function(r){if(!n.has(r)){n.add(r);var i=V4.bind(null,e,r);r.then(i,i)}})}function yn(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r],a=e,o=t,s=o;e:for(;s!==null;){switch(s.tag){case 27:if(Oa(s.type)){rt=s.stateNode,xn=!1;break e}break;case 5:rt=s.stateNode,xn=!1;break e;case 3:case 4:rt=s.stateNode.containerInfo,xn=!0;break e}s=s.return}if(rt===null)throw Error(H(160));c2(a,o,i),rt=null,xn=!1,a=i.alternate,a!==null&&(a.return=null),i.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)d2(t,e),t=t.sibling}var Er=null;function d2(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:yn(t,e),vn(e),r&4&&(Ca(3,e,e.return),pu(3,e),Ca(5,e,e.return));break;case 1:yn(t,e),vn(e),r&512&&(vt||n===null||Qr(n,n.return)),r&64&&gi&&(e=e.updateQueue,e!==null&&(r=e.callbacks,r!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?r:n.concat(r))));break;case 26:var i=Er;if(yn(t,e),vn(e),r&512&&(vt||n===null||Qr(n,n.return)),r&4){var a=n!==null?n.memoizedState:null;if(r=e.memoizedState,n===null)if(r===null)if(e.stateNode===null){e:{r=e.type,n=e.memoizedProps,i=i.ownerDocument||i;t:switch(r){case"title":a=i.getElementsByTagName("title")[0],(!a||a[fu]||a[Wt]||a.namespaceURI==="http://www.w3.org/2000/svg"||a.hasAttribute("itemprop"))&&(a=i.createElement(r),i.head.insertBefore(a,i.querySelector("head > title"))),Jt(a,r,n),a[Wt]=e,Ht(a),r=a;break e;case"link":var o=WS("link","href",i).get(r+(n.href||""));if(o){for(var s=0;s<o.length;s++)if(a=o[s],a.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&a.getAttribute("rel")===(n.rel==null?null:n.rel)&&a.getAttribute("title")===(n.title==null?null:n.title)&&a.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){o.splice(s,1);break t}}a=i.createElement(r),Jt(a,r,n),i.head.appendChild(a);break;case"meta":if(o=WS("meta","content",i).get(r+(n.content||""))){for(s=0;s<o.length;s++)if(a=o[s],a.getAttribute("content")===(n.content==null?null:""+n.content)&&a.getAttribute("name")===(n.name==null?null:n.name)&&a.getAttribute("property")===(n.property==null?null:n.property)&&a.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&a.getAttribute("charset")===(n.charSet==null?null:n.charSet)){o.splice(s,1);break t}}a=i.createElement(r),Jt(a,r,n),i.head.appendChild(a);break;default:throw Error(H(468,r))}a[Wt]=e,Ht(a),r=a}e.stateNode=r}else KS(i,e.type,e.stateNode);else e.stateNode=YS(i,r,e.memoizedProps);else a!==r?(a===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):a.count--,r===null?KS(i,e.type,e.stateNode):YS(i,r,e.memoizedProps)):r===null&&e.stateNode!==null&&Bm(e,e.memoizedProps,n.memoizedProps)}break;case 27:yn(t,e),vn(e),r&512&&(vt||n===null||Qr(n,n.return)),n!==null&&r&4&&Bm(e,e.memoizedProps,n.memoizedProps);break;case 5:if(yn(t,e),vn(e),r&512&&(vt||n===null||Qr(n,n.return)),e.flags&32){i=e.stateNode;try{Bs(i,"")}catch(v){ze(e,e.return,v)}}r&4&&e.stateNode!=null&&(i=e.memoizedProps,Bm(e,i,n!==null?n.memoizedProps:i)),r&1024&&(Lm=!0);break;case 6:if(yn(t,e),vn(e),r&4){if(e.stateNode===null)throw Error(H(162));r=e.memoizedProps,n=e.stateNode;try{n.nodeValue=r}catch(v){ze(e,e.return,v)}}break;case 3:if(Nf=null,i=Er,Er=Ed(t.containerInfo),yn(t,e),Er=i,vn(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Us(t.containerInfo)}catch(v){ze(e,e.return,v)}Lm&&(Lm=!1,h2(e));break;case 4:r=Er,Er=Ed(e.stateNode.containerInfo),yn(t,e),vn(e),Er=r;break;case 12:yn(t,e),vn(e);break;case 31:yn(t,e),vn(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,ku(e,r)));break;case 13:yn(t,e),vn(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(bh=Ln()),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,ku(e,r)));break;case 22:i=e.memoizedState!==null;var l=n!==null&&n.memoizedState!==null,c=gi,u=vt;if(gi=c||i,vt=u||l,yn(t,e),vt=u,gi=c,vn(e),r&8192)e:for(t=e.stateNode,t._visibility=i?t._visibility&-2:t._visibility|1,i&&(n===null||l||gi||vt||qa(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){l=n=t;try{if(a=l.stateNode,i)o=a.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none";else{s=l.stateNode;var f=l.memoizedProps.style,d=f!=null&&f.hasOwnProperty("display")?f.display:null;s.style.display=d==null||typeof d=="boolean"?"":(""+d).trim()}}catch(v){ze(l,l.return,v)}}}else if(t.tag===6){if(n===null){l=t;try{l.stateNode.nodeValue=i?"":l.memoizedProps}catch(v){ze(l,l.return,v)}}}else if(t.tag===18){if(n===null){l=t;try{var m=l.stateNode;i?US(m,!0):US(l.stateNode,!1)}catch(v){ze(l,l.return,v)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}r&4&&(r=e.updateQueue,r!==null&&(n=r.retryQueue,n!==null&&(r.retryQueue=null,ku(e,n))));break;case 19:yn(t,e),vn(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,ku(e,r)));break;case 30:break;case 21:break;default:yn(t,e),vn(e)}}function vn(e){var t=e.flags;if(t&2){try{for(var n,r=e.return;r!==null;){if(a2(r)){n=r;break}r=r.return}if(n==null)throw Error(H(160));switch(n.tag){case 27:var i=n.stateNode,a=Pm(e);gd(e,a,i);break;case 5:var o=n.stateNode;n.flags&32&&(Bs(o,""),n.flags&=-33);var s=Pm(e);gd(e,s,o);break;case 3:case 4:var l=n.stateNode.containerInfo,c=Pm(e);_g(e,c,l);break;default:throw Error(H(161))}}catch(u){ze(e,e.return,u)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function h2(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;h2(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function fi(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)s2(e,t.alternate,t),t=t.sibling}function qa(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Ca(4,t,t.return),qa(t);break;case 1:Qr(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount=="function"&&r2(t,t.return,n),qa(t);break;case 27:sc(t.stateNode);case 26:case 5:Qr(t,t.return),qa(t);break;case 22:t.memoizedState===null&&qa(t);break;case 30:qa(t);break;default:qa(t)}e=e.sibling}}function di(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var r=t.alternate,i=e,a=t,o=a.flags;switch(a.tag){case 0:case 11:case 15:di(i,a,n),pu(4,a);break;case 1:if(di(i,a,n),r=a,i=r.stateNode,typeof i.componentDidMount=="function")try{i.componentDidMount()}catch(c){ze(r,r.return,c)}if(r=a,i=r.updateQueue,i!==null){var s=r.stateNode;try{var l=i.shared.hiddenCallbacks;if(l!==null)for(i.shared.hiddenCallbacks=null,i=0;i<l.length;i++)uT(l[i],s)}catch(c){ze(r,r.return,c)}}n&&o&64&&n2(a),rc(a,a.return);break;case 27:o2(a);case 26:case 5:di(i,a,n),n&&r===null&&o&4&&i2(a),rc(a,a.return);break;case 12:di(i,a,n);break;case 31:di(i,a,n),n&&o&4&&u2(i,a);break;case 13:di(i,a,n),n&&o&4&&f2(i,a);break;case 22:a.memoizedState===null&&di(i,a,n),rc(a,a.return);break;case 30:break;default:di(i,a,n)}t=t.sibling}}function H0(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&hu(n))}function F0(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&hu(e))}function Sr(e,t,n,r){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)m2(e,t,n,r),t=t.sibling}function m2(e,t,n,r){var i=t.flags;switch(t.tag){case 0:case 11:case 15:Sr(e,t,n,r),i&2048&&pu(9,t);break;case 1:Sr(e,t,n,r);break;case 3:Sr(e,t,n,r),i&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&hu(e)));break;case 12:if(i&2048){Sr(e,t,n,r),e=t.stateNode;try{var a=t.memoizedProps,o=a.id,s=a.onPostCommit;typeof s=="function"&&s(o,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(l){ze(t,t.return,l)}}else Sr(e,t,n,r);break;case 31:Sr(e,t,n,r);break;case 13:Sr(e,t,n,r);break;case 23:break;case 22:a=t.stateNode,o=t.alternate,t.memoizedState!==null?a._visibility&2?Sr(e,t,n,r):ic(e,t):a._visibility&2?Sr(e,t,n,r):(a._visibility|=2,es(e,t,n,r,(t.subtreeFlags&10256)!==0||!1)),i&2048&&H0(o,t);break;case 24:Sr(e,t,n,r),i&2048&&F0(t.alternate,t);break;default:Sr(e,t,n,r)}}function es(e,t,n,r,i){for(i=i&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var a=e,o=t,s=n,l=r,c=o.flags;switch(o.tag){case 0:case 11:case 15:es(a,o,s,l,i),pu(8,o);break;case 23:break;case 22:var u=o.stateNode;o.memoizedState!==null?u._visibility&2?es(a,o,s,l,i):ic(a,o):(u._visibility|=2,es(a,o,s,l,i)),i&&c&2048&&H0(o.alternate,o);break;case 24:es(a,o,s,l,i),i&&c&2048&&F0(o.alternate,o);break;default:es(a,o,s,l,i)}t=t.sibling}}function ic(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,r=t,i=r.flags;switch(r.tag){case 22:ic(n,r),i&2048&&H0(r.alternate,r);break;case 24:ic(n,r),i&2048&&F0(r.alternate,r);break;default:ic(n,r)}t=t.sibling}}var Fl=8192;function Io(e,t,n){if(e.subtreeFlags&Fl)for(e=e.child;e!==null;)p2(e,t,n),e=e.sibling}function p2(e,t,n){switch(e.tag){case 26:Io(e,t,n),e.flags&Fl&&e.memoizedState!==null&&gD(n,Er,e.memoizedState,e.memoizedProps);break;case 5:Io(e,t,n);break;case 3:case 4:var r=Er;Er=Ed(e.stateNode.containerInfo),Io(e,t,n),Er=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=Fl,Fl=16777216,Io(e,t,n),Fl=r):Io(e,t,n));break;default:Io(e,t,n)}}function g2(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function $l(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];Vt=r,v2(r,e)}g2(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)y2(e),e=e.sibling}function y2(e){switch(e.tag){case 0:case 11:case 15:$l(e),e.flags&2048&&Ca(9,e,e.return);break;case 3:$l(e);break;case 12:$l(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Of(e)):$l(e);break;default:$l(e)}}function Of(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];Vt=r,v2(r,e)}g2(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Ca(8,t,t.return),Of(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,Of(t));break;default:Of(t)}e=e.sibling}}function v2(e,t){for(;Vt!==null;){var n=Vt;switch(n.tag){case 0:case 11:case 15:Ca(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var r=n.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:hu(n.memoizedState.cache)}if(r=n.child,r!==null)r.return=n,Vt=r;else e:for(n=e;Vt!==null;){r=Vt;var i=r.sibling,a=r.return;if(l2(r),r===n){Vt=null;break e}if(i!==null){i.return=a,Vt=i;break e}Vt=a}}}var N4={getCacheForType:function(e){var t=Qt(bt),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return Qt(bt).controller.signal}},j4=typeof WeakMap=="function"?WeakMap:Map,Ne=0,Ue=null,we=null,Ee=0,De=0,Nn=null,ea=!1,rl=!1,I0=!1,Ni=0,dt=0,wa=0,co=0,U0=0,Bn=0,Vs=0,ac=null,Sn=null,Vg=!1,bh=0,b2=0,yd=1/0,vd=null,da=null,Rt=0,ha=null,Hs=null,wi=0,Hg=0,Fg=null,x2=null,oc=0,Ig=null;function Hn(){return Ne&2&&Ee!==0?Ee&-Ee:de.T!==null?G0():OA()}function S2(){if(Bn===0)if(!(Ee&536870912)||Te){var e=_u;_u<<=1,!(_u&3932160)&&(_u=262144),Bn=e}else Bn=536870912;return e=qn.current,e!==null&&(e.flags|=32),Bn}function An(e,t,n){(e===Ue&&(De===2||De===9)||e.cancelPendingCommit!==null)&&(Fs(e,0),ta(e,Ee,Bn,!1)),uu(e,n),(!(Ne&2)||e!==Ue)&&(e===Ue&&(!(Ne&2)&&(co|=n),dt===4&&ta(e,Ee,Bn,!1)),ii(e))}function C2(e,t,n){if(Ne&6)throw Error(H(327));var r=!n&&(t&127)===0&&(t&e.expiredLanes)===0||cu(e,t),i=r?B4(e,t):_m(e,t,!0),a=r;do{if(i===0){rl&&!r&&ta(e,t,0,!1);break}else{if(n=e.current.alternate,a&&!D4(n)){i=_m(e,t,!1),a=!1;continue}if(i===2){if(a=t,e.errorRecoveryDisabledLanes&a)var o=0;else o=e.pendingLanes&-536870913,o=o!==0?o:o&536870912?536870912:0;if(o!==0){t=o;e:{var s=e;i=ac;var l=s.current.memoizedState.isDehydrated;if(l&&(Fs(s,o).flags|=256),o=_m(s,o,!1),o!==2){if(I0&&!l){s.errorRecoveryDisabledLanes|=a,co|=a,i=4;break e}a=Sn,Sn=i,a!==null&&(Sn===null?Sn=a:Sn.push.apply(Sn,a))}i=o}if(a=!1,i!==2)continue}}if(i===1){Fs(e,0),ta(e,t,0,!0);break}e:{switch(r=e,a=i,a){case 0:case 1:throw Error(H(345));case 4:if((t&4194048)!==t)break;case 6:ta(r,t,Bn,!ea);break e;case 2:Sn=null;break;case 3:case 5:break;default:throw Error(H(329))}if((t&62914560)===t&&(i=bh+300-Ln(),10<i)){if(ta(r,t,Bn,!ea),lh(r,0,!0)!==0)break e;wi=t,r.timeoutHandle=I2($S.bind(null,r,n,Sn,vd,Vg,t,Bn,co,Vs,ea,a,"Throttled",-0,0),i);break e}$S(r,n,Sn,vd,Vg,t,Bn,co,Vs,ea,a,null,-0,0)}}break}while(!0);ii(e)}function $S(e,t,n,r,i,a,o,s,l,c,u,f,d,m){if(e.timeoutHandle=-1,f=t.subtreeFlags,f&8192||(f&16785408)===16785408){f={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:bi},p2(t,a,f);var v=(a&62914560)===a?bh-Ln():(a&4194048)===a?b2-Ln():0;if(v=yD(f,v),v!==null){wi=a,e.cancelPendingCommit=v(jS.bind(null,e,t,a,n,r,i,o,s,l,u,f,null,d,m)),ta(e,a,o,!c);return}}jS(e,t,a,n,r,i,o,s,l)}function D4(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!Un(a(),i))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function ta(e,t,n,r){t&=~U0,t&=~co,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-Vn(i),o=1<<a;r[a]=-1,i&=~o}n!==0&&TA(e,n,t)}function xh(){return Ne&6?!0:(gu(0),!1)}function q0(){if(we!==null){if(De===0)var e=we.return;else e=we,xi=Oo=null,O0(e),Ms=null,Oc=0,e=we;for(;e!==null;)t2(e.alternate,e),e=e.return;we=null}}function Fs(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,J4(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),wi=0,q0(),Ue=e,we=n=Si(e.current,null),Ee=t,De=0,Nn=null,ea=!1,rl=cu(e,t),I0=!1,Vs=Bn=U0=co=wa=dt=0,Sn=ac=null,Vg=!1,t&8&&(t|=t&32);var r=e.entangledLanes;if(r!==0)for(e=e.entanglements,r&=t;0<r;){var i=31-Vn(r),a=1<<i;t|=e[i],r&=~a}return Ni=t,dh(),n}function w2(e,t){pe=null,de.H=Nc,t===nl||t===mh?(t=lS(),De=3):t===C0?(t=lS(),De=4):De=t===_0?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Nn=t,we===null&&(dt=1,md(e,nr(t,e.current)))}function E2(){var e=qn.current;return e===null?!0:(Ee&4194048)===Ee?ar===null:(Ee&62914560)===Ee||Ee&536870912?e===ar:!1}function A2(){var e=de.H;return de.H=Nc,e===null?Nc:e}function T2(){var e=de.A;return de.A=N4,e}function bd(){dt=4,ea||(Ee&4194048)!==Ee&&qn.current!==null||(rl=!0),!(wa&134217727)&&!(co&134217727)||Ue===null||ta(Ue,Ee,Bn,!1)}function _m(e,t,n){var r=Ne;Ne|=2;var i=A2(),a=T2();(Ue!==e||Ee!==t)&&(vd=null,Fs(e,t)),t=!1;var o=dt;e:do try{if(De!==0&&we!==null){var s=we,l=Nn;switch(De){case 8:q0(),o=6;break e;case 3:case 2:case 9:case 6:qn.current===null&&(t=!0);var c=De;if(De=0,Nn=null,ps(e,s,l,c),n&&rl){o=0;break e}break;default:c=De,De=0,Nn=null,ps(e,s,l,c)}}z4(),o=dt;break}catch(u){w2(e,u)}while(!0);return t&&e.shellSuspendCounter++,xi=Oo=null,Ne=r,de.H=i,de.A=a,we===null&&(Ue=null,Ee=0,dh()),o}function z4(){for(;we!==null;)M2(we)}function B4(e,t){var n=Ne;Ne|=2;var r=A2(),i=T2();Ue!==e||Ee!==t?(vd=null,yd=Ln()+500,Fs(e,t)):rl=cu(e,t);e:do try{if(De!==0&&we!==null){t=we;var a=Nn;t:switch(De){case 1:De=0,Nn=null,ps(e,t,a,1);break;case 2:case 9:if(sS(a)){De=0,Nn=null,NS(t);break}t=function(){De!==2&&De!==9||Ue!==e||(De=7),ii(e)},a.then(t,t);break e;case 3:De=7;break e;case 4:De=5;break e;case 7:sS(a)?(De=0,Nn=null,NS(t)):(De=0,Nn=null,ps(e,t,a,7));break;case 5:var o=null;switch(we.tag){case 26:o=we.memoizedState;case 5:case 27:var s=we;if(o?X2(o):s.stateNode.complete){De=0,Nn=null;var l=s.sibling;if(l!==null)we=l;else{var c=s.return;c!==null?(we=c,Sh(c)):we=null}break t}}De=0,Nn=null,ps(e,t,a,5);break;case 6:De=0,Nn=null,ps(e,t,a,6);break;case 8:q0(),dt=6;break e;default:throw Error(H(462))}}P4();break}catch(u){w2(e,u)}while(!0);return xi=Oo=null,de.H=r,de.A=i,Ne=n,we!==null?0:(Ue=null,Ee=0,dh(),dt)}function P4(){for(;we!==null&&!aj();)M2(we)}function M2(e){var t=e2(e.alternate,e,Ni);e.memoizedProps=e.pendingProps,t===null?Sh(e):we=t}function NS(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=ES(n,t,t.pendingProps,t.type,void 0,Ee);break;case 11:t=ES(n,t,t.pendingProps,t.type.render,t.ref,Ee);break;case 5:O0(t);default:t2(n,t),t=we=tT(t,Ni),t=e2(n,t,Ni)}e.memoizedProps=e.pendingProps,t===null?Sh(e):we=t}function ps(e,t,n,r){xi=Oo=null,O0(t),Ms=null,Oc=0;var i=t.return;try{if(E4(e,i,t,n,Ee)){dt=1,md(e,nr(n,e.current)),we=null;return}}catch(a){if(i!==null)throw we=i,a;dt=1,md(e,nr(n,e.current)),we=null;return}t.flags&32768?(Te||r===1?e=!0:rl||Ee&536870912?e=!1:(ea=e=!0,(r===2||r===9||r===3||r===6)&&(r=qn.current,r!==null&&r.tag===13&&(r.flags|=16384))),R2(t,e)):Sh(t)}function Sh(e){var t=e;do{if(t.flags&32768){R2(t,ea);return}e=t.return;var n=M4(t.alternate,t,Ni);if(n!==null){we=n;return}if(t=t.sibling,t!==null){we=t;return}we=t=e}while(t!==null);dt===0&&(dt=5)}function R2(e,t){do{var n=R4(e.alternate,e);if(n!==null){n.flags&=32767,we=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){we=e;return}we=e=n}while(e!==null);dt=6,we=null}function jS(e,t,n,r,i,a,o,s,l){e.cancelPendingCommit=null;do Ch();while(Rt!==0);if(Ne&6)throw Error(H(327));if(t!==null){if(t===e.current)throw Error(H(177));if(a=t.lanes|t.childLanes,a|=p0,pj(e,n,a,o,s,l),e===Ue&&(we=Ue=null,Ee=0),Hs=t,ha=e,wi=n,Hg=a,Fg=i,x2=r,t.subtreeFlags&10256||t.flags&10256?(e.callbackNode=null,e.callbackPriority=0,H4(rd,function(){return D2(),null})):(e.callbackNode=null,e.callbackPriority=0),r=(t.flags&13878)!==0,t.subtreeFlags&13878||r){r=de.T,de.T=null,i=je.p,je.p=2,o=Ne,Ne|=4;try{O4(e,t,n)}finally{Ne=o,je.p=i,de.T=r}}Rt=1,O2(),$2(),N2()}}function O2(){if(Rt===1){Rt=0;var e=ha,t=Hs,n=(t.flags&13878)!==0;if(t.subtreeFlags&13878||n){n=de.T,de.T=null;var r=je.p;je.p=2;var i=Ne;Ne|=4;try{d2(t,e);var a=kg,o=XA(e.containerInfo),s=a.focusedElem,l=a.selectionRange;if(o!==s&&s&&s.ownerDocument&&kA(s.ownerDocument.documentElement,s)){if(l!==null&&m0(s)){var c=l.start,u=l.end;if(u===void 0&&(u=c),"selectionStart"in s)s.selectionStart=c,s.selectionEnd=Math.min(u,s.value.length);else{var f=s.ownerDocument||document,d=f&&f.defaultView||window;if(d.getSelection){var m=d.getSelection(),v=s.textContent.length,x=Math.min(l.start,v),S=l.end===void 0?x:Math.min(l.end,v);!m.extend&&x>S&&(o=S,S=x,x=o);var y=eS(s,x),g=eS(s,S);if(y&&g&&(m.rangeCount!==1||m.anchorNode!==y.node||m.anchorOffset!==y.offset||m.focusNode!==g.node||m.focusOffset!==g.offset)){var p=f.createRange();p.setStart(y.node,y.offset),m.removeAllRanges(),x>S?(m.addRange(p),m.extend(g.node,g.offset)):(p.setEnd(g.node,g.offset),m.addRange(p))}}}}for(f=[],m=s;m=m.parentNode;)m.nodeType===1&&f.push({element:m,left:m.scrollLeft,top:m.scrollTop});for(typeof s.focus=="function"&&s.focus(),s=0;s<f.length;s++){var b=f[s];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}Md=!!Gg,kg=Gg=null}finally{Ne=i,je.p=r,de.T=n}}e.current=t,Rt=2}}function $2(){if(Rt===2){Rt=0;var e=ha,t=Hs,n=(t.flags&8772)!==0;if(t.subtreeFlags&8772||n){n=de.T,de.T=null;var r=je.p;je.p=2;var i=Ne;Ne|=4;try{s2(e,t.alternate,t)}finally{Ne=i,je.p=r,de.T=n}}Rt=3}}function N2(){if(Rt===4||Rt===3){Rt=0,oj();var e=ha,t=Hs,n=wi,r=x2;t.subtreeFlags&10256||t.flags&10256?Rt=5:(Rt=0,Hs=ha=null,j2(e,e.pendingLanes));var i=e.pendingLanes;if(i===0&&(da=null),s0(n),t=t.stateNode,_n&&typeof _n.onCommitFiberRoot=="function")try{_n.onCommitFiberRoot(lu,t,void 0,(t.current.flags&128)===128)}catch{}if(r!==null){t=de.T,i=je.p,je.p=2,de.T=null;try{for(var a=e.onRecoverableError,o=0;o<r.length;o++){var s=r[o];a(s.value,{componentStack:s.stack})}}finally{de.T=t,je.p=i}}wi&3&&Ch(),ii(e),i=e.pendingLanes,n&261930&&i&42?e===Ig?oc++:(oc=0,Ig=e):oc=0,gu(0)}}function j2(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,hu(t)))}function Ch(){return O2(),$2(),N2(),D2()}function D2(){if(Rt!==5)return!1;var e=ha,t=Hg;Hg=0;var n=s0(wi),r=de.T,i=je.p;try{je.p=32>n?32:n,de.T=null,n=Fg,Fg=null;var a=ha,o=wi;if(Rt=0,Hs=ha=null,wi=0,Ne&6)throw Error(H(331));var s=Ne;if(Ne|=4,y2(a.current),m2(a,a.current,o,n),Ne=s,gu(0,!1),_n&&typeof _n.onPostCommitFiberRoot=="function")try{_n.onPostCommitFiberRoot(lu,a)}catch{}return!0}finally{je.p=i,de.T=r,j2(e,t)}}function DS(e,t,n){t=nr(n,t),t=Bg(e.stateNode,t,2),e=fa(e,t,2),e!==null&&(uu(e,2),ii(e))}function ze(e,t,n){if(e.tag===3)DS(e,e,n);else for(;t!==null;){if(t.tag===3){DS(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(da===null||!da.has(r))){e=nr(n,e),n=YT(2),r=fa(t,n,2),r!==null&&(WT(n,r,t,e),uu(r,2),ii(r));break}}t=t.return}}function Vm(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new j4;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(I0=!0,i.add(n),e=L4.bind(null,e,t,n),t.then(e,e))}function L4(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Ue===e&&(Ee&n)===n&&(dt===4||dt===3&&(Ee&62914560)===Ee&&300>Ln()-bh?!(Ne&2)&&Fs(e,0):U0|=n,Vs===Ee&&(Vs=0)),ii(e)}function z2(e,t){t===0&&(t=AA()),e=Ro(e,t),e!==null&&(uu(e,t),ii(e))}function _4(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),z2(e,n)}function V4(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(H(314))}r!==null&&r.delete(t),z2(e,n)}function H4(e,t){return a0(e,t)}var xd=null,ts=null,Ug=!1,Sd=!1,Hm=!1,na=0;function ii(e){e!==ts&&e.next===null&&(ts===null?xd=ts=e:ts=ts.next=e),Sd=!0,Ug||(Ug=!0,I4())}function gu(e,t){if(!Hm&&Sd){Hm=!0;do for(var n=!1,r=xd;r!==null;){if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-Vn(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,zS(r,a))}else a=Ee,a=lh(r,r===Ue?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||cu(r,a)||(n=!0,zS(r,a));r=r.next}while(n);Hm=!1}}function F4(){B2()}function B2(){Sd=Ug=!1;var e=0;na!==0&&Z4()&&(e=na);for(var t=Ln(),n=null,r=xd;r!==null;){var i=r.next,a=P2(r,t);a===0?(r.next=null,n===null?xd=i:n.next=i,i===null&&(ts=n)):(n=r,(e!==0||a&3)&&(Sd=!0)),r=i}Rt!==0&&Rt!==5||gu(e),na!==0&&(na=0)}function P2(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var o=31-Vn(a),s=1<<o,l=i[o];l===-1?(!(s&n)||s&r)&&(i[o]=mj(s,t)):l<=t&&(e.expiredLanes|=s),a&=~s}if(t=Ue,n=Ee,n=lh(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,n===0||e===t&&(De===2||De===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&mm(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||cu(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(r!==null&&mm(r),s0(n)){case 2:case 8:n=wA;break;case 32:n=rd;break;case 268435456:n=EA;break;default:n=rd}return r=L2.bind(null,e),n=a0(n,r),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&r!==null&&mm(r),e.callbackPriority=2,e.callbackNode=null,2}function L2(e,t){if(Rt!==0&&Rt!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Ch()&&e.callbackNode!==n)return null;var r=Ee;return r=lh(e,e===Ue?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(C2(e,r,t),P2(e,Ln()),e.callbackNode!=null&&e.callbackNode===n?L2.bind(null,e):null)}function zS(e,t){if(Ch())return null;C2(e,t,!0)}function I4(){eD(function(){Ne&6?a0(CA,F4):B2()})}function G0(){if(na===0){var e=Ps;e===0&&(e=Lu,Lu<<=1,!(Lu&261888)&&(Lu=256)),na=e}return na}function BS(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:xf(""+e)}function PS(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function U4(e,t,n,r,i){if(t==="submit"&&n&&n.stateNode===i){var a=BS((i[Tn]||null).action),o=r.submitter;o&&(t=(t=o[Tn]||null)?BS(t.formAction):o.getAttribute("formAction"),t!==null&&(a=t,o=null));var s=new ch("action","action",null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(na!==0){var l=o?PS(i,o):new FormData(i);Dg(n,{pending:!0,data:l,method:i.method,action:a},null,l)}}else typeof a=="function"&&(s.preventDefault(),l=o?PS(i,o):new FormData(i),Dg(n,{pending:!0,data:l,method:i.method,action:a},a,l))},currentTarget:i}]})}}for(var Fm=0;Fm<Sg.length;Fm++){var Im=Sg[Fm],q4=Im.toLowerCase(),G4=Im[0].toUpperCase()+Im.slice(1);Nr(q4,"on"+G4)}Nr(WA,"onAnimationEnd");Nr(KA,"onAnimationIteration");Nr(QA,"onAnimationStart");Nr("dblclick","onDoubleClick");Nr("focusin","onFocus");Nr("focusout","onBlur");Nr(s4,"onTransitionRun");Nr(l4,"onTransitionStart");Nr(c4,"onTransitionCancel");Nr(ZA,"onTransitionEnd");zs("onMouseEnter",["mouseout","mouseover"]);zs("onMouseLeave",["mouseout","mouseover"]);zs("onPointerEnter",["pointerout","pointerover"]);zs("onPointerLeave",["pointerout","pointerover"]);Ao("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Ao("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Ao("onBeforeInput",["compositionend","keypress","textInput","paste"]);Ao("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Ao("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Ao("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var jc="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),k4=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(jc));function _2(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==a&&i.isPropagationStopped())break e;a=s,i.currentTarget=c;try{a(i)}catch(u){ad(u)}i.currentTarget=null,a=l}else for(o=0;o<r.length;o++){if(s=r[o],l=s.instance,c=s.currentTarget,s=s.listener,l!==a&&i.isPropagationStopped())break e;a=s,i.currentTarget=c;try{a(i)}catch(u){ad(u)}i.currentTarget=null,a=l}}}}function Ce(e,t){var n=t[hg];n===void 0&&(n=t[hg]=new Set);var r=e+"__bubble";n.has(r)||(V2(t,e,2,!1),n.add(r))}function Um(e,t,n){var r=0;t&&(r|=4),V2(n,e,r,t)}var Xu="_reactListening"+Math.random().toString(36).slice(2);function k0(e){if(!e[Xu]){e[Xu]=!0,$A.forEach(function(n){n!=="selectionchange"&&(k4.has(n)||Um(n,!1,e),Um(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Xu]||(t[Xu]=!0,Um("selectionchange",!1,t))}}function V2(e,t,n,r){switch(Z2(t)){case 2:var i=xD;break;case 8:i=SD;break;default:i=K0}n=i.bind(null,t,n,e),i=void 0,!vg||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function qm(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var s=r.stateNode.containerInfo;if(s===i)break;if(o===4)for(o=r.return;o!==null;){var l=o.tag;if((l===3||l===4)&&o.stateNode.containerInfo===i)return;o=o.return}for(;s!==null;){if(o=os(s),o===null)return;if(l=o.tag,l===5||l===6||l===26||l===27){r=a=o;continue e}s=s.parentNode}}r=r.return}_A(function(){var c=a,u=u0(n),f=[];e:{var d=JA.get(e);if(d!==void 0){var m=ch,v=e;switch(e){case"keypress":if(Cf(n)===0)break e;case"keydown":case"keyup":m=Vj;break;case"focusin":v="focus",m=bm;break;case"focusout":v="blur",m=bm;break;case"beforeblur":case"afterblur":m=bm;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":m=qx;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":m=Mj;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":m=Ij;break;case WA:case KA:case QA:m=$j;break;case ZA:m=qj;break;case"scroll":case"scrollend":m=Aj;break;case"wheel":m=kj;break;case"copy":case"cut":case"paste":m=jj;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":m=kx;break;case"toggle":case"beforetoggle":m=Yj}var x=(t&4)!==0,S=!x&&(e==="scroll"||e==="scrollend"),y=x?d!==null?d+"Capture":null:d;x=[];for(var g=c,p;g!==null;){var b=g;if(p=b.stateNode,b=b.tag,b!==5&&b!==26&&b!==27||p===null||y===null||(b=Ec(g,y),b!=null&&x.push(Dc(g,b,p))),S)break;g=g.return}0<x.length&&(d=new m(d,v,null,n,u),f.push({event:d,listeners:x}))}}if(!(t&7)){e:{if(d=e==="mouseover"||e==="pointerover",m=e==="mouseout"||e==="pointerout",d&&n!==yg&&(v=n.relatedTarget||n.fromElement)&&(os(v)||v[Js]))break e;if((m||d)&&(d=u.window===u?u:(d=u.ownerDocument)?d.defaultView||d.parentWindow:window,m?(v=n.relatedTarget||n.toElement,m=c,v=v?os(v):null,v!==null&&(S=su(v),x=v.tag,v!==S||x!==5&&x!==27&&x!==6)&&(v=null)):(m=null,v=c),m!==v)){if(x=qx,b="onMouseLeave",y="onMouseEnter",g="mouse",(e==="pointerout"||e==="pointerover")&&(x=kx,b="onPointerLeave",y="onPointerEnter",g="pointer"),S=m==null?d:Vl(m),p=v==null?d:Vl(v),d=new x(b,g+"leave",m,n,u),d.target=S,d.relatedTarget=p,b=null,os(u)===c&&(x=new x(y,g+"enter",v,n,u),x.target=p,x.relatedTarget=S,b=x),S=b,m&&v)t:{for(x=X4,y=m,g=v,p=0,b=y;b;b=x(b))p++;b=0;for(var w=g;w;w=x(w))b++;for(;0<p-b;)y=x(y),p--;for(;0<b-p;)g=x(g),b--;for(;p--;){if(y===g||g!==null&&y===g.alternate){x=y;break t}y=x(y),g=x(g)}x=null}else x=null;m!==null&&LS(f,d,m,x,!1),v!==null&&S!==null&&LS(f,S,v,x,!0)}}e:{if(d=c?Vl(c):window,m=d.nodeName&&d.nodeName.toLowerCase(),m==="select"||m==="input"&&d.type==="file")var A=Kx;else if(Wx(d))if(qA)A=i4;else{A=n4;var E=t4}else m=d.nodeName,!m||m.toLowerCase()!=="input"||d.type!=="checkbox"&&d.type!=="radio"?c&&c0(c.elementType)&&(A=Kx):A=r4;if(A&&(A=A(e,c))){UA(f,A,n,u);break e}E&&E(e,d,c),e==="focusout"&&c&&d.type==="number"&&c.memoizedProps.value!=null&&gg(d,"number",d.value)}switch(E=c?Vl(c):window,e){case"focusin":(Wx(E)||E.contentEditable==="true")&&(cs=E,bg=c,Ql=null);break;case"focusout":Ql=bg=cs=null;break;case"mousedown":xg=!0;break;case"contextmenu":case"mouseup":case"dragend":xg=!1,tS(f,n,u);break;case"selectionchange":if(o4)break;case"keydown":case"keyup":tS(f,n,u)}var R;if(h0)e:{switch(e){case"compositionstart":var T="onCompositionStart";break e;case"compositionend":T="onCompositionEnd";break e;case"compositionupdate":T="onCompositionUpdate";break e}T=void 0}else ls?FA(e,n)&&(T="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(T="onCompositionStart");T&&(HA&&n.locale!=="ko"&&(ls||T!=="onCompositionStart"?T==="onCompositionEnd"&&ls&&(R=VA()):(Ji=u,f0="value"in Ji?Ji.value:Ji.textContent,ls=!0)),E=Cd(c,T),0<E.length&&(T=new Gx(T,e,null,n,u),f.push({event:T,listeners:E}),R?T.data=R:(R=IA(n),R!==null&&(T.data=R)))),(R=Kj?Qj(e,n):Zj(e,n))&&(T=Cd(c,"onBeforeInput"),0<T.length&&(E=new Gx("onBeforeInput","beforeinput",null,n,u),f.push({event:E,listeners:T}),E.data=R)),U4(f,e,c,n,u)}_2(f,t)})}function Dc(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Cd(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,a=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||a===null||(i=Ec(e,n),i!=null&&r.unshift(Dc(e,i,a)),i=Ec(e,t),i!=null&&r.push(Dc(e,i,a))),e.tag===3)return r;e=e.return}return[]}function X4(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function LS(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(s=s.tag,l!==null&&l===r)break;s!==5&&s!==26&&s!==27||c===null||(l=c,i?(c=Ec(n,a),c!=null&&o.unshift(Dc(n,c,l))):i||(c=Ec(n,a),c!=null&&o.push(Dc(n,c,l)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var Y4=/\r\n?/g,W4=/\u0000|\uFFFD/g;function _S(e){return(typeof e=="string"?e:""+e).replace(Y4,`
- `).replace(W4,"")}function H2(e,t){return t=_S(t),_S(e)===t}function Ve(e,t,n,r,i,a){switch(n){case"children":typeof r=="string"?t==="body"||t==="textarea"&&r===""||Bs(e,r):(typeof r=="number"||typeof r=="bigint")&&t!=="body"&&Bs(e,""+r);break;case"className":Hu(e,"class",r);break;case"tabIndex":Hu(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":Hu(e,n,r);break;case"style":LA(e,r,a);break;case"data":if(t!=="object"){Hu(e,"data",r);break}case"src":case"href":if(r===""&&(t!=="a"||n!=="href")){e.removeAttribute(n);break}if(r==null||typeof r=="function"||typeof r=="symbol"||typeof r=="boolean"){e.removeAttribute(n);break}r=xf(""+r),e.setAttribute(n,r);break;case"action":case"formAction":if(typeof r=="function"){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof a=="function"&&(n==="formAction"?(t!=="input"&&Ve(e,t,"name",i.name,i,null),Ve(e,t,"formEncType",i.formEncType,i,null),Ve(e,t,"formMethod",i.formMethod,i,null),Ve(e,t,"formTarget",i.formTarget,i,null)):(Ve(e,t,"encType",i.encType,i,null),Ve(e,t,"method",i.method,i,null),Ve(e,t,"target",i.target,i,null)));if(r==null||typeof r=="symbol"||typeof r=="boolean"){e.removeAttribute(n);break}r=xf(""+r),e.setAttribute(n,r);break;case"onClick":r!=null&&(e.onclick=bi);break;case"onScroll":r!=null&&Ce("scroll",e);break;case"onScrollEnd":r!=null&&Ce("scrollend",e);break;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error(H(61));if(n=r.__html,n!=null){if(i.children!=null)throw Error(H(60));e.innerHTML=n}}break;case"multiple":e.multiple=r&&typeof r!="function"&&typeof r!="symbol";break;case"muted":e.muted=r&&typeof r!="function"&&typeof r!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(r==null||typeof r=="function"||typeof r=="boolean"||typeof r=="symbol"){e.removeAttribute("xlink:href");break}n=xf(""+r),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":r!=null&&typeof r!="function"&&typeof r!="symbol"?e.setAttribute(n,""+r):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&typeof r!="function"&&typeof r!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":r===!0?e.setAttribute(n,""):r!==!1&&r!=null&&typeof r!="function"&&typeof r!="symbol"?e.setAttribute(n,r):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":r!=null&&typeof r!="function"&&typeof r!="symbol"&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case"rowSpan":case"start":r==null||typeof r=="function"||typeof r=="symbol"||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case"popover":Ce("beforetoggle",e),Ce("toggle",e),bf(e,"popover",r);break;case"xlinkActuate":li(e,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":li(e,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":li(e,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":li(e,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":li(e,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":li(e,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":li(e,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":li(e,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":li(e,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":bf(e,"is",r);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=wj.get(n)||n,bf(e,n,r))}}function qg(e,t,n,r,i,a){switch(n){case"style":LA(e,r,a);break;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error(H(61));if(n=r.__html,n!=null){if(i.children!=null)throw Error(H(60));e.innerHTML=n}}break;case"children":typeof r=="string"?Bs(e,r):(typeof r=="number"||typeof r=="bigint")&&Bs(e,""+r);break;case"onScroll":r!=null&&Ce("scroll",e);break;case"onScrollEnd":r!=null&&Ce("scrollend",e);break;case"onClick":r!=null&&(e.onclick=bi);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!NA.hasOwnProperty(n))e:{if(n[0]==="o"&&n[1]==="n"&&(i=n.endsWith("Capture"),t=n.slice(2,i?n.length-7:void 0),a=e[Tn]||null,a=a!=null?a[n]:null,typeof a=="function"&&e.removeEventListener(t,a,i),typeof r=="function")){typeof a!="function"&&a!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,i);break e}n in e?e[n]=r:r===!0?e.setAttribute(n,""):bf(e,n,r)}}}function Jt(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ce("error",e),Ce("load",e);var r=!1,i=!1,a;for(a in n)if(n.hasOwnProperty(a)){var o=n[a];if(o!=null)switch(a){case"src":r=!0;break;case"srcSet":i=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(H(137,t));default:Ve(e,t,a,o,n,null)}}i&&Ve(e,t,"srcSet",n.srcSet,n,null),r&&Ve(e,t,"src",n.src,n,null);return;case"input":Ce("invalid",e);var s=a=o=i=null,l=null,c=null;for(r in n)if(n.hasOwnProperty(r)){var u=n[r];if(u!=null)switch(r){case"name":i=u;break;case"type":o=u;break;case"checked":l=u;break;case"defaultChecked":c=u;break;case"value":a=u;break;case"defaultValue":s=u;break;case"children":case"dangerouslySetInnerHTML":if(u!=null)throw Error(H(137,t));break;default:Ve(e,t,r,u,n,null)}}zA(e,a,s,l,c,o,i,!1);return;case"select":Ce("invalid",e),r=o=a=null;for(i in n)if(n.hasOwnProperty(i)&&(s=n[i],s!=null))switch(i){case"value":a=s;break;case"defaultValue":o=s;break;case"multiple":r=s;default:Ve(e,t,i,s,n,null)}t=a,n=o,e.multiple=!!r,t!=null?Es(e,!!r,t,!1):n!=null&&Es(e,!!r,n,!0);return;case"textarea":Ce("invalid",e),a=i=r=null;for(o in n)if(n.hasOwnProperty(o)&&(s=n[o],s!=null))switch(o){case"value":r=s;break;case"defaultValue":i=s;break;case"children":a=s;break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(H(91));break;default:Ve(e,t,o,s,n,null)}PA(e,r,i,a);return;case"option":for(l in n)if(n.hasOwnProperty(l)&&(r=n[l],r!=null))switch(l){case"selected":e.selected=r&&typeof r!="function"&&typeof r!="symbol";break;default:Ve(e,t,l,r,n,null)}return;case"dialog":Ce("beforetoggle",e),Ce("toggle",e),Ce("cancel",e),Ce("close",e);break;case"iframe":case"object":Ce("load",e);break;case"video":case"audio":for(r=0;r<jc.length;r++)Ce(jc[r],e);break;case"image":Ce("error",e),Ce("load",e);break;case"details":Ce("toggle",e);break;case"embed":case"source":case"link":Ce("error",e),Ce("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(c in n)if(n.hasOwnProperty(c)&&(r=n[c],r!=null))switch(c){case"children":case"dangerouslySetInnerHTML":throw Error(H(137,t));default:Ve(e,t,c,r,n,null)}return;default:if(c0(t)){for(u in n)n.hasOwnProperty(u)&&(r=n[u],r!==void 0&&qg(e,t,u,r,n,void 0));return}}for(s in n)n.hasOwnProperty(s)&&(r=n[s],r!=null&&Ve(e,t,s,r,n,null))}function K4(e,t,n,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var i=null,a=null,o=null,s=null,l=null,c=null,u=null;for(m in n){var f=n[m];if(n.hasOwnProperty(m)&&f!=null)switch(m){case"checked":break;case"value":break;case"defaultValue":l=f;default:r.hasOwnProperty(m)||Ve(e,t,m,null,r,f)}}for(var d in r){var m=r[d];if(f=n[d],r.hasOwnProperty(d)&&(m!=null||f!=null))switch(d){case"type":a=m;break;case"name":i=m;break;case"checked":c=m;break;case"defaultChecked":u=m;break;case"value":o=m;break;case"defaultValue":s=m;break;case"children":case"dangerouslySetInnerHTML":if(m!=null)throw Error(H(137,t));break;default:m!==f&&Ve(e,t,d,m,r,f)}}pg(e,o,s,l,c,u,a,i);return;case"select":m=o=s=d=null;for(a in n)if(l=n[a],n.hasOwnProperty(a)&&l!=null)switch(a){case"value":break;case"multiple":m=l;default:r.hasOwnProperty(a)||Ve(e,t,a,null,r,l)}for(i in r)if(a=r[i],l=n[i],r.hasOwnProperty(i)&&(a!=null||l!=null))switch(i){case"value":d=a;break;case"defaultValue":s=a;break;case"multiple":o=a;default:a!==l&&Ve(e,t,i,a,r,l)}t=s,n=o,r=m,d!=null?Es(e,!!n,d,!1):!!r!=!!n&&(t!=null?Es(e,!!n,t,!0):Es(e,!!n,n?[]:"",!1));return;case"textarea":m=d=null;for(s in n)if(i=n[s],n.hasOwnProperty(s)&&i!=null&&!r.hasOwnProperty(s))switch(s){case"value":break;case"children":break;default:Ve(e,t,s,null,r,i)}for(o in r)if(i=r[o],a=n[o],r.hasOwnProperty(o)&&(i!=null||a!=null))switch(o){case"value":d=i;break;case"defaultValue":m=i;break;case"children":break;case"dangerouslySetInnerHTML":if(i!=null)throw Error(H(91));break;default:i!==a&&Ve(e,t,o,i,r,a)}BA(e,d,m);return;case"option":for(var v in n)if(d=n[v],n.hasOwnProperty(v)&&d!=null&&!r.hasOwnProperty(v))switch(v){case"selected":e.selected=!1;break;default:Ve(e,t,v,null,r,d)}for(l in r)if(d=r[l],m=n[l],r.hasOwnProperty(l)&&d!==m&&(d!=null||m!=null))switch(l){case"selected":e.selected=d&&typeof d!="function"&&typeof d!="symbol";break;default:Ve(e,t,l,d,r,m)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var x in n)d=n[x],n.hasOwnProperty(x)&&d!=null&&!r.hasOwnProperty(x)&&Ve(e,t,x,null,r,d);for(c in r)if(d=r[c],m=n[c],r.hasOwnProperty(c)&&d!==m&&(d!=null||m!=null))switch(c){case"children":case"dangerouslySetInnerHTML":if(d!=null)throw Error(H(137,t));break;default:Ve(e,t,c,d,r,m)}return;default:if(c0(t)){for(var S in n)d=n[S],n.hasOwnProperty(S)&&d!==void 0&&!r.hasOwnProperty(S)&&qg(e,t,S,void 0,r,d);for(u in r)d=r[u],m=n[u],!r.hasOwnProperty(u)||d===m||d===void 0&&m===void 0||qg(e,t,u,d,r,m);return}}for(var y in n)d=n[y],n.hasOwnProperty(y)&&d!=null&&!r.hasOwnProperty(y)&&Ve(e,t,y,null,r,d);for(f in r)d=r[f],m=n[f],!r.hasOwnProperty(f)||d===m||d==null&&m==null||Ve(e,t,f,d,r,m)}function VS(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Q4(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,n=performance.getEntriesByType("resource"),r=0;r<n.length;r++){var i=n[r],a=i.transferSize,o=i.initiatorType,s=i.duration;if(a&&s&&VS(o)){for(o=0,s=i.responseEnd,r+=1;r<n.length;r++){var l=n[r],c=l.startTime;if(c>s)break;var u=l.transferSize,f=l.initiatorType;u&&VS(f)&&(l=l.responseEnd,o+=u*(l<s?1:(s-c)/(l-c)))}if(--r,t+=8*(a+o)/(i.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var Gg=null,kg=null;function wd(e){return e.nodeType===9?e:e.ownerDocument}function HS(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function F2(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function Xg(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Gm=null;function Z4(){var e=window.event;return e&&e.type==="popstate"?e===Gm?!1:(Gm=e,!0):(Gm=null,!1)}var I2=typeof setTimeout=="function"?setTimeout:void 0,J4=typeof clearTimeout=="function"?clearTimeout:void 0,FS=typeof Promise=="function"?Promise:void 0,eD=typeof queueMicrotask=="function"?queueMicrotask:typeof FS<"u"?function(e){return FS.resolve(null).then(e).catch(tD)}:I2;function tD(e){setTimeout(function(){throw e})}function Oa(e){return e==="head"}function IS(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"||n==="/&"){if(r===0){e.removeChild(i),Us(t);return}r--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")r++;else if(n==="html")sc(e.ownerDocument.documentElement);else if(n==="head"){n=e.ownerDocument.head,sc(n);for(var a=n.firstChild;a;){var o=a.nextSibling,s=a.nodeName;a[fu]||s==="SCRIPT"||s==="STYLE"||s==="LINK"&&a.rel.toLowerCase()==="stylesheet"||n.removeChild(a),a=o}}else n==="body"&&sc(e.ownerDocument.body);n=i}while(n);Us(t)}function US(e,t){var n=e;e=0;do{var r=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),r&&r.nodeType===8)if(n=r.data,n==="/$"){if(e===0)break;e--}else n!=="$"&&n!=="$?"&&n!=="$~"&&n!=="$!"||e++;n=r}while(n)}function Yg(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Yg(n),l0(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function nD(e,t,n,r){for(;e.nodeType===1;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(r){if(!e[fu])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(a=e.getAttribute("rel"),a==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(a!==i.rel||e.getAttribute("href")!==(i.href==null||i.href===""?null:i.href)||e.getAttribute("crossorigin")!==(i.crossOrigin==null?null:i.crossOrigin)||e.getAttribute("title")!==(i.title==null?null:i.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(a=e.getAttribute("src"),(a!==(i.src==null?null:i.src)||e.getAttribute("type")!==(i.type==null?null:i.type)||e.getAttribute("crossorigin")!==(i.crossOrigin==null?null:i.crossOrigin))&&a&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var a=i.name==null?null:""+i.name;if(i.type==="hidden"&&e.getAttribute("name")===a)return e}else return e;if(e=or(e.nextSibling),e===null)break}return null}function rD(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=or(e.nextSibling),e===null))return null;return e}function U2(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=or(e.nextSibling),e===null))return null;return e}function Wg(e){return e.data==="$?"||e.data==="$~"}function Kg(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function iD(e,t){var n=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||n.readyState!=="loading")t();else{var r=function(){t(),n.removeEventListener("DOMContentLoaded",r)};n.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}function or(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==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var Qg=null;function qS(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"||n==="/&"){if(t===0)return or(e.nextSibling);t--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||t++}e=e.nextSibling}return null}function GS(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"){if(t===0)return e;t--}else n!=="/$"&&n!=="/&"||t++}e=e.previousSibling}return null}function q2(e,t,n){switch(t=wd(n),e){case"html":if(e=t.documentElement,!e)throw Error(H(452));return e;case"head":if(e=t.head,!e)throw Error(H(453));return e;case"body":if(e=t.body,!e)throw Error(H(454));return e;default:throw Error(H(451))}}function sc(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);l0(e)}var lr=new Map,kS=new Set;function Ed(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Bi=je.d;je.d={f:aD,r:oD,D:sD,C:lD,L:cD,m:uD,X:dD,S:fD,M:hD};function aD(){var e=Bi.f(),t=xh();return e||t}function oD(e){var t=el(e);t!==null&&t.tag===5&&t.type==="form"?LT(t):Bi.r(e)}var il=typeof document>"u"?null:document;function G2(e,t,n){var r=il;if(r&&typeof t=="string"&&t){var i=tr(t);i='link[rel="'+e+'"][href="'+i+'"]',typeof n=="string"&&(i+='[crossorigin="'+n+'"]'),kS.has(i)||(kS.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement("link"),Jt(t,"link",e),Ht(t),r.head.appendChild(t)))}}function sD(e){Bi.D(e),G2("dns-prefetch",e,null)}function lD(e,t){Bi.C(e,t),G2("preconnect",e,t)}function cD(e,t,n){Bi.L(e,t,n);var r=il;if(r&&e&&t){var i='link[rel="preload"][as="'+tr(t)+'"]';t==="image"&&n&&n.imageSrcSet?(i+='[imagesrcset="'+tr(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(i+='[imagesizes="'+tr(n.imageSizes)+'"]')):i+='[href="'+tr(e)+'"]';var a=i;switch(t){case"style":a=Is(e);break;case"script":a=al(e)}lr.has(a)||(e=nt({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),lr.set(a,e),r.querySelector(i)!==null||t==="style"&&r.querySelector(yu(a))||t==="script"&&r.querySelector(vu(a))||(t=r.createElement("link"),Jt(t,"link",e),Ht(t),r.head.appendChild(t)))}}function uD(e,t){Bi.m(e,t);var n=il;if(n&&e){var r=t&&typeof t.as=="string"?t.as:"script",i='link[rel="modulepreload"][as="'+tr(r)+'"][href="'+tr(e)+'"]',a=i;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":a=al(e)}if(!lr.has(a)&&(e=nt({rel:"modulepreload",href:e},t),lr.set(a,e),n.querySelector(i)===null)){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(vu(a)))return}r=n.createElement("link"),Jt(r,"link",e),Ht(r),n.head.appendChild(r)}}}function fD(e,t,n){Bi.S(e,t,n);var r=il;if(r&&e){var i=ws(r).hoistableStyles,a=Is(e);t=t||"default";var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(yu(a)))s.loading=5;else{e=nt({rel:"stylesheet",href:e,"data-precedence":t},n),(n=lr.get(a))&&X0(e,n);var l=o=r.createElement("link");Ht(l),Jt(l,"link",e),l._p=new Promise(function(c,u){l.onload=c,l.onerror=u}),l.addEventListener("load",function(){s.loading|=1}),l.addEventListener("error",function(){s.loading|=2}),s.loading|=4,$f(o,t,r)}o={type:"stylesheet",instance:o,count:1,state:s},i.set(a,o)}}}function dD(e,t){Bi.X(e,t);var n=il;if(n&&e){var r=ws(n).hoistableScripts,i=al(e),a=r.get(i);a||(a=n.querySelector(vu(i)),a||(e=nt({src:e,async:!0},t),(t=lr.get(i))&&Y0(e,t),a=n.createElement("script"),Ht(a),Jt(a,"link",e),n.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},r.set(i,a))}}function hD(e,t){Bi.M(e,t);var n=il;if(n&&e){var r=ws(n).hoistableScripts,i=al(e),a=r.get(i);a||(a=n.querySelector(vu(i)),a||(e=nt({src:e,async:!0,type:"module"},t),(t=lr.get(i))&&Y0(e,t),a=n.createElement("script"),Ht(a),Jt(a,"link",e),n.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},r.set(i,a))}}function XS(e,t,n,r){var i=(i=la.current)?Ed(i):null;if(!i)throw Error(H(446));switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(t=Is(n.href),n=ws(i).hoistableStyles,r=n.get(t),r||(r={type:"style",instance:null,count:0,state:null},n.set(t,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=Is(n.href);var a=ws(i).hoistableStyles,o=a.get(e);if(o||(i=i.ownerDocument||i,o={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},a.set(e,o),(a=i.querySelector(yu(e)))&&!a._p&&(o.instance=a,o.state.loading=5),lr.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},lr.set(e,n),a||mD(i,e,n,o.state))),t&&r===null)throw Error(H(528,""));return o}if(t&&r!==null)throw Error(H(529,""));return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=al(n),n=ws(i).hoistableScripts,r=n.get(t),r||(r={type:"script",instance:null,count:0,state:null},n.set(t,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(H(444,e))}}function Is(e){return'href="'+tr(e)+'"'}function yu(e){return'link[rel="stylesheet"]['+e+"]"}function k2(e){return nt({},e,{"data-precedence":e.precedence,precedence:null})}function mD(e,t,n,r){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?r.loading=1:(t=e.createElement("link"),r.preload=t,t.addEventListener("load",function(){return r.loading|=1}),t.addEventListener("error",function(){return r.loading|=2}),Jt(t,"link",n),Ht(t),e.head.appendChild(t))}function al(e){return'[src="'+tr(e)+'"]'}function vu(e){return"script[async]"+e}function YS(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var r=e.querySelector('style[data-href~="'+tr(n.href)+'"]');if(r)return t.instance=r,Ht(r),r;var i=nt({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement("style"),Ht(r),Jt(r,"style",i),$f(r,n.precedence,e),t.instance=r;case"stylesheet":i=Is(n.href);var a=e.querySelector(yu(i));if(a)return t.state.loading|=4,t.instance=a,Ht(a),a;r=k2(n),(i=lr.get(i))&&X0(r,i),a=(e.ownerDocument||e).createElement("link"),Ht(a);var o=a;return o._p=new Promise(function(s,l){o.onload=s,o.onerror=l}),Jt(a,"link",r),t.state.loading|=4,$f(a,n.precedence,e),t.instance=a;case"script":return a=al(n.src),(i=e.querySelector(vu(a)))?(t.instance=i,Ht(i),i):(r=n,(i=lr.get(a))&&(r=nt({},n),Y0(r,i)),e=e.ownerDocument||e,i=e.createElement("script"),Ht(i),Jt(i,"link",r),e.head.appendChild(i),t.instance=i);case"void":return null;default:throw Error(H(443,t.type))}else t.type==="stylesheet"&&!(t.state.loading&4)&&(r=t.instance,t.state.loading|=4,$f(r,n.precedence,e));return t.instance}function $f(e,t,n){for(var r=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),i=r.length?r[r.length-1]:null,a=i,o=0;o<r.length;o++){var s=r[o];if(s.dataset.precedence===t)a=s;else if(a!==i)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function X0(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Y0(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Nf=null;function WS(e,t,n){if(Nf===null){var r=new Map,i=Nf=new Map;i.set(n,r)}else i=Nf,r=i.get(n),r||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var a=n[i];if(!(a[fu]||a[Wt]||e==="link"&&a.getAttribute("rel")==="stylesheet")&&a.namespaceURI!=="http://www.w3.org/2000/svg"){var o=a.getAttribute(t)||"";o=e+o;var s=r.get(o);s?s.push(a):r.set(o,[a])}}return r}function KS(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function pD(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function X2(e){return!(e.type==="stylesheet"&&!(e.state.loading&3))}function gD(e,t,n,r){if(n.type==="stylesheet"&&(typeof r.media!="string"||matchMedia(r.media).matches!==!1)&&!(n.state.loading&4)){if(n.instance===null){var i=Is(r.href),a=t.querySelector(yu(i));if(a){t=a._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Ad.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,Ht(a);return}a=t.ownerDocument||t,r=k2(r),(i=lr.get(i))&&X0(r,i),a=a.createElement("link"),Ht(a);var o=a;o._p=new Promise(function(s,l){o.onload=s,o.onerror=l}),Jt(a,"link",r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(n.state.loading&3)&&(e.count++,n=Ad.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}var km=0;function yD(e,t){return e.stylesheets&&e.count===0&&jf(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&jf(e,e.stylesheets),e.unsuspend){var a=e.unsuspend;e.unsuspend=null,a()}},6e4+t);0<e.imgBytes&&km===0&&(km=62500*Q4());var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&jf(e,e.stylesheets),e.unsuspend)){var a=e.unsuspend;e.unsuspend=null,a()}},(e.imgBytes>km?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function Ad(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)jf(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Td=null;function jf(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Td=new Map,t.forEach(vD,e),Td=null,Ad.call(e))}function vD(e,t){if(!(t.state.loading&4)){var n=Td.get(e);if(n)var r=n.get(null);else{n=new Map,Td.set(e,n);for(var i=e.querySelectorAll("link[data-precedence],style[data-precedence]"),a=0;a<i.length;a++){var o=i[a];(o.nodeName==="LINK"||o.getAttribute("media")!=="not all")&&(n.set(o.dataset.precedence,o),r=o)}r&&n.set(null,r)}i=t.instance,o=i.getAttribute("data-precedence"),a=n.get(o)||r,a===r&&n.set(null,i),n.set(o,i),this.count++,r=Ad.bind(this),i.addEventListener("load",r),i.addEventListener("error",r),a?a.parentNode.insertBefore(i,a.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),t.state.loading|=4}}var zc={$$typeof:vi,Provider:null,Consumer:null,_currentValue:ao,_currentValue2:ao,_threadCount:0};function bD(e,t,n,r,i,a,o,s,l){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=pm(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=pm(0),this.hiddenUpdates=pm(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=a,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=l,this.incompleteTransitions=new Map}function Y2(e,t,n,r,i,a,o,s,l,c,u,f){return e=new bD(e,t,n,o,l,c,u,f,s),t=1,a===!0&&(t|=24),a=zn(3,null,null,t),e.current=a,a.stateNode=e,t=x0(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},w0(a),e}function W2(e){return e?(e=ds,e):ds}function K2(e,t,n,r,i,a){i=W2(i),r.context===null?r.context=i:r.pendingContext=i,r=ua(t),r.payload={element:n},a=a===void 0?null:a,a!==null&&(r.callback=a),n=fa(e,r,t),n!==null&&(An(n,e,t),Jl(n,e,t))}function QS(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function W0(e,t){QS(e,t),(e=e.alternate)&&QS(e,t)}function Q2(e){if(e.tag===13||e.tag===31){var t=Ro(e,67108864);t!==null&&An(t,e,67108864),W0(e,67108864)}}function ZS(e){if(e.tag===13||e.tag===31){var t=Hn();t=o0(t);var n=Ro(e,t);n!==null&&An(n,e,t),W0(e,t)}}var Md=!0;function xD(e,t,n,r){var i=de.T;de.T=null;var a=je.p;try{je.p=2,K0(e,t,n,r)}finally{je.p=a,de.T=i}}function SD(e,t,n,r){var i=de.T;de.T=null;var a=je.p;try{je.p=8,K0(e,t,n,r)}finally{je.p=a,de.T=i}}function K0(e,t,n,r){if(Md){var i=Zg(r);if(i===null)qm(e,t,r,Rd,n),JS(e,r);else if(wD(i,e,t,n,r))r.stopPropagation();else if(JS(e,r),t&4&&-1<CD.indexOf(e)){for(;i!==null;){var a=el(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var o=Ia(a.pendingLanes);if(o!==0){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var l=1<<31-Vn(o);s.entanglements[1]|=l,o&=~l}ii(a),!(Ne&6)&&(yd=Ln()+500,gu(0))}}break;case 31:case 13:s=Ro(a,2),s!==null&&An(s,a,2),xh(),W0(a,2)}if(a=Zg(r),a===null&&qm(e,t,r,Rd,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else qm(e,t,r,null,n)}}function Zg(e){return e=u0(e),Q0(e)}var Rd=null;function Q0(e){if(Rd=null,e=os(e),e!==null){var t=su(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=yA(t),e!==null)return e;e=null}else if(n===31){if(e=vA(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Rd=e,null}function Z2(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(sj()){case CA:return 2;case wA:return 8;case rd:case lj:return 32;case EA:return 268435456;default:return 32}default:return 32}}var Jg=!1,ma=null,pa=null,ga=null,Bc=new Map,Pc=new Map,Qi=[],CD="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function JS(e,t){switch(e){case"focusin":case"focusout":ma=null;break;case"dragenter":case"dragleave":pa=null;break;case"mouseover":case"mouseout":ga=null;break;case"pointerover":case"pointerout":Bc.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Pc.delete(t.pointerId)}}function Nl(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=el(t),t!==null&&Q2(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function wD(e,t,n,r,i){switch(t){case"focusin":return ma=Nl(ma,e,t,n,r,i),!0;case"dragenter":return pa=Nl(pa,e,t,n,r,i),!0;case"mouseover":return ga=Nl(ga,e,t,n,r,i),!0;case"pointerover":var a=i.pointerId;return Bc.set(a,Nl(Bc.get(a)||null,e,t,n,r,i)),!0;case"gotpointercapture":return a=i.pointerId,Pc.set(a,Nl(Pc.get(a)||null,e,t,n,r,i)),!0}return!1}function J2(e){var t=os(e.target);if(t!==null){var n=su(t);if(n!==null){if(t=n.tag,t===13){if(t=yA(n),t!==null){e.blockedOn=t,Lx(e.priority,function(){ZS(n)});return}}else if(t===31){if(t=vA(n),t!==null){e.blockedOn=t,Lx(e.priority,function(){ZS(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Df(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Zg(e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);yg=r,n.target.dispatchEvent(r),yg=null}else return t=el(n),t!==null&&Q2(t),e.blockedOn=n,!1;t.shift()}return!0}function e1(e,t,n){Df(e)&&n.delete(t)}function ED(){Jg=!1,ma!==null&&Df(ma)&&(ma=null),pa!==null&&Df(pa)&&(pa=null),ga!==null&&Df(ga)&&(ga=null),Bc.forEach(e1),Pc.forEach(e1)}function Yu(e,t){e.blockedOn===t&&(e.blockedOn=null,Jg||(Jg=!0,$t.unstable_scheduleCallback($t.unstable_NormalPriority,ED)))}var Wu=null;function t1(e){Wu!==e&&(Wu=e,$t.unstable_scheduleCallback($t.unstable_NormalPriority,function(){Wu===e&&(Wu=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],i=e[t+2];if(typeof r!="function"){if(Q0(r||n)===null)continue;break}var a=el(n);a!==null&&(e.splice(t,3),t-=3,Dg(a,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function Us(e){function t(l){return Yu(l,e)}ma!==null&&Yu(ma,e),pa!==null&&Yu(pa,e),ga!==null&&Yu(ga,e),Bc.forEach(t),Pc.forEach(t);for(var n=0;n<Qi.length;n++){var r=Qi[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<Qi.length&&(n=Qi[0],n.blockedOn===null);)J2(n),n.blockedOn===null&&Qi.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(r=0;r<n.length;r+=3){var i=n[r],a=n[r+1],o=i[Tn]||null;if(typeof a=="function")o||t1(n);else if(o){var s=null;if(a&&a.hasAttribute("formAction")){if(i=a,o=a[Tn]||null)s=o.formAction;else if(Q0(i)!==null)continue}else s=o.action;typeof s=="function"?n[r+1]=s:(n.splice(r,3),r-=3),t1(n)}}}function eM(){function e(a){a.canIntercept&&a.info==="react-transition"&&a.intercept({handler:function(){return new Promise(function(o){return i=o})},focusReset:"manual",scroll:"manual"})}function t(){i!==null&&(i(),i=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var a=navigation.currentEntry;a&&a.url!=null&&navigation.navigate(a.url,{state:a.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var r=!1,i=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),i!==null&&(i(),i=null)}}}function Z0(e){this._internalRoot=e}wh.prototype.render=Z0.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(H(409));var n=t.current,r=Hn();K2(n,r,e,t,null,null)};wh.prototype.unmount=Z0.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;K2(e.current,2,null,e,null,null),xh(),t[Js]=null}};function wh(e){this._internalRoot=e}wh.prototype.unstable_scheduleHydration=function(e){if(e){var t=OA();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Qi.length&&t!==0&&t<Qi[n].priority;n++);Qi.splice(n,0,e),n===0&&J2(e)}};var n1=pA.version;if(n1!=="19.2.4")throw Error(H(527,n1,"19.2.4"));je.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(H(188)):(e=Object.keys(e).join(","),Error(H(268,e)));return e=ej(t),e=e!==null?bA(e):null,e=e===null?null:e.stateNode,e};var AD={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:de,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ku=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ku.isDisabled&&Ku.supportsFiber)try{lu=Ku.inject(AD),_n=Ku}catch{}}ah.createRoot=function(e,t){if(!gA(e))throw Error(H(299));var n=!1,r="",i=GT,a=kT,o=XT;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(i=t.onUncaughtError),t.onCaughtError!==void 0&&(a=t.onCaughtError),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=Y2(e,1,!1,null,null,n,r,null,i,a,o,eM),e[Js]=t.current,k0(e),new Z0(t)};ah.hydrateRoot=function(e,t,n){if(!gA(e))throw Error(H(299));var r=!1,i="",a=GT,o=kT,s=XT,l=null;return n!=null&&(n.unstable_strictMode===!0&&(r=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onUncaughtError!==void 0&&(a=n.onUncaughtError),n.onCaughtError!==void 0&&(o=n.onCaughtError),n.onRecoverableError!==void 0&&(s=n.onRecoverableError),n.formState!==void 0&&(l=n.formState)),t=Y2(e,1,!0,t,n??null,r,i,l,a,o,s,eM),t.context=W2(null),n=t.current,r=Hn(),r=o0(r),i=ua(r),i.callback=null,fa(n,i,r),n=r,t.current.lanes=n,uu(t,n),ii(t),e[Js]=t.current,k0(e),new wh(t)};ah.version="19.2.4";function tM(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(tM)}catch(e){console.error(e)}}tM(),cA.exports=ah;var nM=cA.exports;/**
- * @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 Lc(){return Lc=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},Lc.apply(this,arguments)}var ra;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(ra||(ra={}));const r1="popstate";function TD(e){e===void 0&&(e={});function t(r,i){let{pathname:a,search:o,hash:s}=r.location;return ey("",{pathname:a,search:o,hash:s},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:Od(i)}return RD(t,n,null,e)}function it(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function J0(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function MD(){return Math.random().toString(36).substr(2,8)}function i1(e,t){return{usr:e.state,key:e.key,idx:t}}function ey(e,t,n,r){return n===void 0&&(n=null),Lc({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?ol(t):t,{state:n,key:t&&t.key||r||MD()})}function Od(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 ol(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 RD(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:a=!1}=r,o=i.history,s=ra.Pop,l=null,c=u();c==null&&(c=0,o.replaceState(Lc({},o.state,{idx:c}),""));function u(){return(o.state||{idx:null}).idx}function f(){s=ra.Pop;let S=u(),y=S==null?null:S-c;c=S,l&&l({action:s,location:x.location,delta:y})}function d(S,y){s=ra.Push;let g=ey(x.location,S,y);c=u()+1;let p=i1(g,c),b=x.createHref(g);try{o.pushState(p,"",b)}catch(w){if(w instanceof DOMException&&w.name==="DataCloneError")throw w;i.location.assign(b)}a&&l&&l({action:s,location:x.location,delta:1})}function m(S,y){s=ra.Replace;let g=ey(x.location,S,y);c=u();let p=i1(g,c),b=x.createHref(g);o.replaceState(p,"",b),a&&l&&l({action:s,location:x.location,delta:0})}function v(S){let y=i.location.origin!=="null"?i.location.origin:i.location.href,g=typeof S=="string"?S:Od(S);return g=g.replace(/ $/,"%20"),it(y,"No window.location.(origin|href) available to create URL for href: "+g),new URL(g,y)}let x={get action(){return s},get location(){return e(i,o)},listen(S){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(r1,f),l=S,()=>{i.removeEventListener(r1,f),l=null}},createHref(S){return t(i,S)},createURL:v,encodeLocation(S){let y=v(S);return{pathname:y.pathname,search:y.search,hash:y.hash}},push:d,replace:m,go(S){return o.go(S)}};return x}var a1;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(a1||(a1={}));function OD(e,t,n){return n===void 0&&(n="/"),$D(e,t,n)}function $D(e,t,n,r){let i=typeof t=="string"?ol(t):t,a=qs(i.pathname||"/",n);if(a==null)return null;let o=rM(e);ND(o);let s=null;for(let l=0;s==null&&l<o.length;++l){let c=ID(a);s=HD(o[l],c)}return s}function rM(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let i=(a,o,s)=>{let l={relativePath:s===void 0?a.path||"":s,caseSensitive:a.caseSensitive===!0,childrenIndex:o,route:a};l.relativePath.startsWith("/")&&(it(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let c=ya([r,l.relativePath]),u=n.concat(l);a.children&&a.children.length>0&&(it(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),rM(a.children,t,u,c)),!(a.path==null&&!a.index)&&t.push({path:c,score:_D(c,a.index),routesMeta:u})};return e.forEach((a,o)=>{var s;if(a.path===""||!((s=a.path)!=null&&s.includes("?")))i(a,o);else for(let l of iM(a.path))i(a,o,l)}),t}function iM(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),a=n.replace(/\?$/,"");if(r.length===0)return i?[a,""]:[a];let o=iM(r.join("/")),s=[];return s.push(...o.map(l=>l===""?a:[a,l].join("/"))),i&&s.push(...o),s.map(l=>e.startsWith("/")&&l===""?"/":l)}function ND(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:VD(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const jD=/^:[\w-]+$/,DD=3,zD=2,BD=1,PD=10,LD=-2,o1=e=>e==="*";function _D(e,t){let n=e.split("/"),r=n.length;return n.some(o1)&&(r+=LD),t&&(r+=zD),n.filter(i=>!o1(i)).reduce((i,a)=>i+(jD.test(a)?DD:a===""?BD:PD),r)}function VD(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function HD(e,t,n){let{routesMeta:r}=e,i={},a="/",o=[];for(let s=0;s<r.length;++s){let l=r[s],c=s===r.length-1,u=a==="/"?t:t.slice(a.length)||"/",f=ty({path:l.relativePath,caseSensitive:l.caseSensitive,end:c},u),d=l.route;if(!f)return null;Object.assign(i,f.params),o.push({params:i,pathname:ya([a,f.pathname]),pathnameBase:XD(ya([a,f.pathnameBase])),route:d}),f.pathnameBase!=="/"&&(a=ya([a,f.pathnameBase]))}return o}function ty(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=FD(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let a=i[0],o=a.replace(/(.)\/+$/,"$1"),s=i.slice(1);return{params:r.reduce((c,u,f)=>{let{paramName:d,isOptional:m}=u;if(d==="*"){let x=s[f]||"";o=a.slice(0,a.length-x.length).replace(/(.)\/+$/,"$1")}const v=s[f];return m&&!v?c[d]=void 0:c[d]=(v||"").replace(/%2F/g,"/"),c},{}),pathname:a,pathnameBase:o,pattern:e}}function FD(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),J0(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,s,l)=>(r.push({paramName:s,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function ID(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return J0(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function qs(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}const UD=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,qD=e=>UD.test(e);function GD(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?ol(e):e,a;if(n)if(qD(n))a=n;else{if(n.includes("//")){let o=n;n=n.replace(/\/\/+/g,"/"),J0(!1,"Pathnames cannot have embedded double slashes - normalizing "+(o+" -> "+n))}n.startsWith("/")?a=s1(n.substring(1),"/"):a=s1(n,t)}else a=t;return{pathname:a,search:YD(r),hash:WD(i)}}function s1(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function Xm(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function kD(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function eb(e,t){let n=kD(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function tb(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=ol(e):(i=Lc({},e),it(!i.pathname||!i.pathname.includes("?"),Xm("?","pathname","search",i)),it(!i.pathname||!i.pathname.includes("#"),Xm("#","pathname","hash",i)),it(!i.search||!i.search.includes("#"),Xm("#","search","hash",i)));let a=e===""||i.pathname==="",o=a?"/":i.pathname,s;if(o==null)s=n;else{let f=t.length-1;if(!r&&o.startsWith("..")){let d=o.split("/");for(;d[0]==="..";)d.shift(),f-=1;i.pathname=d.join("/")}s=f>=0?t[f]:"/"}let l=GD(i,s),c=o&&o!=="/"&&o.endsWith("/"),u=(a||o===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(c||u)&&(l.pathname+="/"),l}const ya=e=>e.join("/").replace(/\/\/+/g,"/"),XD=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),YD=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,WD=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function KD(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const aM=["post","put","patch","delete"];new Set(aM);const QD=["get",...aM];new Set(QD);/**
- * 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 _c(){return _c=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},_c.apply(this,arguments)}const Eh=h.createContext(null),oM=h.createContext(null),Pi=h.createContext(null),Ah=h.createContext(null),Li=h.createContext({outlet:null,matches:[],isDataRoute:!1}),sM=h.createContext(null);function ZD(e,t){let{relative:n}=t===void 0?{}:t;sl()||it(!1);let{basename:r,navigator:i}=h.useContext(Pi),{hash:a,pathname:o,search:s}=Th(e,{relative:n}),l=o;return r!=="/"&&(l=o==="/"?r:ya([r,o])),i.createHref({pathname:l,search:s,hash:a})}function sl(){return h.useContext(Ah)!=null}function $o(){return sl()||it(!1),h.useContext(Ah).location}function lM(e){h.useContext(Pi).static||h.useLayoutEffect(e)}function bu(){let{isDataRoute:e}=h.useContext(Li);return e?h5():JD()}function JD(){sl()||it(!1);let e=h.useContext(Eh),{basename:t,future:n,navigator:r}=h.useContext(Pi),{matches:i}=h.useContext(Li),{pathname:a}=$o(),o=JSON.stringify(eb(i,n.v7_relativeSplatPath)),s=h.useRef(!1);return lM(()=>{s.current=!0}),h.useCallback(function(c,u){if(u===void 0&&(u={}),!s.current)return;if(typeof c=="number"){r.go(c);return}let f=tb(c,JSON.parse(o),a,u.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:ya([t,f.pathname])),(u.replace?r.replace:r.push)(f,u.state,u)},[t,r,o,a,e])}const e5=h.createContext(null);function t5(e){let t=h.useContext(Li).outlet;return t&&h.createElement(e5.Provider,{value:e},t)}function Th(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=h.useContext(Pi),{matches:i}=h.useContext(Li),{pathname:a}=$o(),o=JSON.stringify(eb(i,r.v7_relativeSplatPath));return h.useMemo(()=>tb(e,JSON.parse(o),a,n==="path"),[e,o,a,n])}function n5(e,t){return r5(e,t)}function r5(e,t,n,r){sl()||it(!1);let{navigator:i}=h.useContext(Pi),{matches:a}=h.useContext(Li),o=a[a.length-1],s=o?o.params:{};o&&o.pathname;let l=o?o.pathnameBase:"/";o&&o.route;let c=$o(),u;if(t){var f;let S=typeof t=="string"?ol(t):t;l==="/"||(f=S.pathname)!=null&&f.startsWith(l)||it(!1),u=S}else u=c;let d=u.pathname||"/",m=d;if(l!=="/"){let S=l.replace(/^\//,"").split("/");m="/"+d.replace(/^\//,"").split("/").slice(S.length).join("/")}let v=OD(e,{pathname:m}),x=l5(v&&v.map(S=>Object.assign({},S,{params:Object.assign({},s,S.params),pathname:ya([l,i.encodeLocation?i.encodeLocation(S.pathname).pathname:S.pathname]),pathnameBase:S.pathnameBase==="/"?l:ya([l,i.encodeLocation?i.encodeLocation(S.pathnameBase).pathname:S.pathnameBase])})),a,n,r);return t&&x?h.createElement(Ah.Provider,{value:{location:_c({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:ra.Pop}},x):x}function i5(){let e=d5(),t=KD(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return h.createElement(h.Fragment,null,h.createElement("h2",null,"Unexpected Application Error!"),h.createElement("h3",{style:{fontStyle:"italic"}},t),n?h.createElement("pre",{style:i},n):null,null)}const a5=h.createElement(i5,null);class o5 extends h.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?h.createElement(Li.Provider,{value:this.props.routeContext},h.createElement(sM.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function s5(e){let{routeContext:t,match:n,children:r}=e,i=h.useContext(Eh);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),h.createElement(Li.Provider,{value:t},r)}function l5(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var a;if(!n)return null;if(n.errors)e=n.matches;else if((a=r)!=null&&a.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,s=(i=n)==null?void 0:i.errors;if(s!=null){let u=o.findIndex(f=>f.route.id&&(s==null?void 0:s[f.route.id])!==void 0);u>=0||it(!1),o=o.slice(0,Math.min(o.length,u+1))}let l=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let u=0;u<o.length;u++){let f=o[u];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(c=u),f.route.id){let{loaderData:d,errors:m}=n,v=f.route.loader&&d[f.route.id]===void 0&&(!m||m[f.route.id]===void 0);if(f.route.lazy||v){l=!0,c>=0?o=o.slice(0,c+1):o=[o[0]];break}}}return o.reduceRight((u,f,d)=>{let m,v=!1,x=null,S=null;n&&(m=s&&f.route.id?s[f.route.id]:void 0,x=f.route.errorElement||a5,l&&(c<0&&d===0?(m5("route-fallback"),v=!0,S=null):c===d&&(v=!0,S=f.route.hydrateFallbackElement||null)));let y=t.concat(o.slice(0,d+1)),g=()=>{let p;return m?p=x:v?p=S:f.route.Component?p=h.createElement(f.route.Component,null):f.route.element?p=f.route.element:p=u,h.createElement(s5,{match:f,routeContext:{outlet:u,matches:y,isDataRoute:n!=null},children:p})};return n&&(f.route.ErrorBoundary||f.route.errorElement||d===0)?h.createElement(o5,{location:n.location,revalidation:n.revalidation,component:x,error:m,children:g(),routeContext:{outlet:null,matches:y,isDataRoute:!0}}):g()},null)}var cM=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(cM||{}),uM=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(uM||{});function c5(e){let t=h.useContext(Eh);return t||it(!1),t}function u5(e){let t=h.useContext(oM);return t||it(!1),t}function f5(e){let t=h.useContext(Li);return t||it(!1),t}function fM(e){let t=f5(),n=t.matches[t.matches.length-1];return n.route.id||it(!1),n.route.id}function d5(){var e;let t=h.useContext(sM),n=u5(),r=fM();return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function h5(){let{router:e}=c5(cM.UseNavigateStable),t=fM(uM.UseNavigateStable),n=h.useRef(!1);return lM(()=>{n.current=!0}),h.useCallback(function(i,a){a===void 0&&(a={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,_c({fromRouteId:t},a)))},[e,t])}const l1={};function m5(e,t,n){l1[e]||(l1[e]=!0)}function p5(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function g5(e){let{to:t,replace:n,state:r,relative:i}=e;sl()||it(!1);let{future:a,static:o}=h.useContext(Pi),{matches:s}=h.useContext(Li),{pathname:l}=$o(),c=bu(),u=tb(t,eb(s,a.v7_relativeSplatPath),l,i==="path"),f=JSON.stringify(u);return h.useEffect(()=>c(JSON.parse(f),{replace:n,state:r,relative:i}),[c,f,i,n,r]),null}function y5(e){return t5(e.context)}function Ga(e){it(!1)}function v5(e){let{basename:t="/",children:n=null,location:r,navigationType:i=ra.Pop,navigator:a,static:o=!1,future:s}=e;sl()&&it(!1);let l=t.replace(/^\/*/,"/"),c=h.useMemo(()=>({basename:l,navigator:a,static:o,future:_c({v7_relativeSplatPath:!1},s)}),[l,s,a,o]);typeof r=="string"&&(r=ol(r));let{pathname:u="/",search:f="",hash:d="",state:m=null,key:v="default"}=r,x=h.useMemo(()=>{let S=qs(u,l);return S==null?null:{location:{pathname:S,search:f,hash:d,state:m,key:v},navigationType:i}},[l,u,f,d,m,v,i]);return x==null?null:h.createElement(Pi.Provider,{value:c},h.createElement(Ah.Provider,{children:n,value:x}))}function b5(e){let{children:t,location:n}=e;return n5(ny(t),n)}new Promise(()=>{});function ny(e,t){t===void 0&&(t=[]);let n=[];return h.Children.forEach(e,(r,i)=>{if(!h.isValidElement(r))return;let a=[...t,i];if(r.type===h.Fragment){n.push.apply(n,ny(r.props.children,a));return}r.type!==Ga&&it(!1),!r.props.index||!r.props.children||it(!1);let o={id:r.props.id||a.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=ny(r.props.children,a)),n.push(o)}),n}/**
- * 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 $d(){return $d=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},$d.apply(this,arguments)}function dM(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function x5(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function S5(e,t){return e.button===0&&(!t||t==="_self")&&!x5(e)}const C5=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],w5=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],E5="6";try{window.__reactRouterVersion=E5}catch{}const A5=h.createContext({isTransitioning:!1}),T5="startTransition",c1=lA[T5];function M5(e){let{basename:t,children:n,future:r,window:i}=e,a=h.useRef();a.current==null&&(a.current=TD({window:i,v5Compat:!0}));let o=a.current,[s,l]=h.useState({action:o.action,location:o.location}),{v7_startTransition:c}=r||{},u=h.useCallback(f=>{c&&c1?c1(()=>l(f)):l(f)},[l,c]);return h.useLayoutEffect(()=>o.listen(u),[o,u]),h.useEffect(()=>p5(r),[r]),h.createElement(v5,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:o,future:r})}const R5=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",O5=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,$5=h.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:a,replace:o,state:s,target:l,to:c,preventScrollReset:u,viewTransition:f}=t,d=dM(t,C5),{basename:m}=h.useContext(Pi),v,x=!1;if(typeof c=="string"&&O5.test(c)&&(v=c,R5))try{let p=new URL(window.location.href),b=c.startsWith("//")?new URL(p.protocol+c):new URL(c),w=qs(b.pathname,m);b.origin===p.origin&&w!=null?c=w+b.search+b.hash:x=!0}catch{}let S=ZD(c,{relative:i}),y=j5(c,{replace:o,state:s,target:l,preventScrollReset:u,relative:i,viewTransition:f});function g(p){r&&r(p),p.defaultPrevented||y(p)}return h.createElement("a",$d({},d,{href:v||S,onClick:x||a?r:g,ref:n,target:l}))}),u1=h.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:i=!1,className:a="",end:o=!1,style:s,to:l,viewTransition:c,children:u}=t,f=dM(t,w5),d=Th(l,{relative:f.relative}),m=$o(),v=h.useContext(oM),{navigator:x,basename:S}=h.useContext(Pi),y=v!=null&&D5(d)&&c===!0,g=x.encodeLocation?x.encodeLocation(d).pathname:d.pathname,p=m.pathname,b=v&&v.navigation&&v.navigation.location?v.navigation.location.pathname:null;i||(p=p.toLowerCase(),b=b?b.toLowerCase():null,g=g.toLowerCase()),b&&S&&(b=qs(b,S)||b);const w=g!=="/"&&g.endsWith("/")?g.length-1:g.length;let A=p===g||!o&&p.startsWith(g)&&p.charAt(w)==="/",E=b!=null&&(b===g||!o&&b.startsWith(g)&&b.charAt(g.length)==="/"),R={isActive:A,isPending:E,isTransitioning:y},T=A?r:void 0,M;typeof a=="function"?M=a(R):M=[a,A?"active":null,E?"pending":null,y?"transitioning":null].filter(Boolean).join(" ");let O=typeof s=="function"?s(R):s;return h.createElement($5,$d({},f,{"aria-current":T,className:M,ref:n,style:O,to:l,viewTransition:c}),typeof u=="function"?u(R):u)});var ry;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(ry||(ry={}));var f1;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(f1||(f1={}));function N5(e){let t=h.useContext(Eh);return t||it(!1),t}function j5(e,t){let{target:n,replace:r,state:i,preventScrollReset:a,relative:o,viewTransition:s}=t===void 0?{}:t,l=bu(),c=$o(),u=Th(e,{relative:o});return h.useCallback(f=>{if(S5(f,n)){f.preventDefault();let d=r!==void 0?r:Od(c)===Od(u);l(e,{replace:d,state:i,preventScrollReset:a,relative:o,viewTransition:s})}},[c,l,u,r,i,n,e,a,o,s])}function D5(e,t){t===void 0&&(t={});let n=h.useContext(A5);n==null&&it(!1);let{basename:r}=N5(ry.useViewTransitionState),i=Th(e,{relative:t.relative});if(!n.isTransitioning)return!1;let a=qs(n.currentLocation.pathname,r)||n.currentLocation.pathname,o=qs(n.nextLocation.pathname,r)||n.nextLocation.pathname;return ty(i.pathname,o)!=null||ty(i.pathname,a)!=null}/**
- * @license lucide-react v0.546.0 - ISC
- *
- * This source code is licensed under the ISC license.
- * See the LICENSE file in the root directory of this source tree.
- */const z5=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),B5=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,r)=>r?r.toUpperCase():n.toLowerCase()),d1=e=>{const t=B5(e);return t.charAt(0).toUpperCase()+t.slice(1)},hM=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim(),P5=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};/**
- * @license lucide-react v0.546.0 - ISC
- *
- * This source code is licensed under the ISC license.
- * See the LICENSE file in the root directory of this source tree.
- */var L5={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
- * @license lucide-react v0.546.0 - ISC
- *
- * This source code is licensed under the ISC license.
- * See the LICENSE file in the root directory of this source tree.
- */const _5=h.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i="",children:a,iconNode:o,...s},l)=>h.createElement("svg",{ref:l,...L5,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:hM("lucide",i),...!a&&!P5(s)&&{"aria-hidden":"true"},...s},[...o.map(([c,u])=>h.createElement(c,u)),...Array.isArray(a)?a:[a]]));/**
- * @license lucide-react v0.546.0 - ISC
- *
- * This source code is licensed under the ISC license.
- * See the LICENSE file in the root directory of this source tree.
- */const nb=(e,t)=>{const n=h.forwardRef(({className:r,...i},a)=>h.createElement(_5,{ref:a,iconNode:t,className:hM(`lucide-${z5(d1(e))}`,`lucide-${e}`,r),...i}));return n.displayName=d1(e),n};/**
- * @license lucide-react v0.546.0 - ISC
- *
- * This source code is licensed under the ISC license.
- * See the LICENSE file in the root directory of this source tree.
- */const V5=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],H5=nb("check",V5);/**
- * @license lucide-react v0.546.0 - ISC
- *
- * This source code is licensed under the ISC license.
- * See the LICENSE file in the root directory of this source tree.
- */const F5=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],I5=nb("mail",F5);/**
- * @license lucide-react v0.546.0 - ISC
- *
- * This source code is licensed under the ISC license.
- * See the LICENSE file in the root directory of this source tree.
- */const U5=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],q5=nb("map-pin",U5),G5="/assets/logo-DKEiGABJ.png",iy=[{name:"开邻智价云",url:"https://price.kailin.com.cn"}],k5=()=>{const e=bu();return C.jsx("nav",{className:"fixed top-0 w-full z-50 bg-slate-950/70 backdrop-blur-md border-b border-slate-800",children:C.jsxs("div",{className:"flex justify-between items-center max-w-7xl mx-auto px-6 h-20",children:[C.jsx("div",{className:"flex items-center gap-3 cursor-pointer font-headline",onClick:()=>e("/"),children:C.jsx("div",{style:{width:"7.75rem",height:"2.35rem",borderRadius:"9999px",overflow:"hidden"},className:"w-11 h-11 bg-white rounded-xl flex items-center justify-center",children:C.jsx("img",{style:{width:"5.5rem",height:"3rem"},src:G5,alt:"智价云 Logo",className:"w-7 h-7 object-contain"})})}),C.jsx("div",{className:"flex min-[501px]:hidden flex-1 justify-center items-center min-w-0",children:C.jsxs("div",{className:"relative group",children:[C.jsx("span",{className:"inline-flex items-center leading-none text-slate-300 hover:text-white transition-colors font-headline text-sm font-medium cursor-default",children:"产品中心"}),C.jsx("div",{className:"absolute left-1/2 top-full mt-3 -translate-x-1/2 min-w-32 rounded-lg border border-slate-800 bg-slate-900/95 p-1.5 shadow-xl opacity-0 invisible group-hover:opacity-100 group-hover:visible group-focus-within:opacity-100 group-focus-within:visible transition-all duration-200 z-50",children:iy.map(t=>C.jsx("a",{href:t.url,target:"_blank",rel:"noreferrer",className:"block rounded-md px-3 py-2 text-sm text-slate-200 hover:bg-slate-800 hover:text-white transition-colors",children:t.name},t.name))})]})}),C.jsxs("div",{className:"hidden md:flex items-center space-x-10",children:[C.jsx(u1,{to:"/",className:({isActive:t})=>`max-[500px]:hidden relative inline-flex items-center leading-none font-headline text-sm ${t?"text-secondary font-bold":"text-slate-300 hover:text-white font-medium transition-colors"}`,children:({isActive:t})=>C.jsxs(C.Fragment,{children:["首页",t&&C.jsx("span",{className:"absolute left-0 -bottom-2 h-0.5 w-full bg-secondary rounded-full"})]})}),C.jsxs("div",{className:"relative group max-[500px]:hidden",children:[C.jsx("span",{className:"inline-flex items-center leading-none text-slate-300 hover:text-white transition-colors font-headline text-sm font-medium cursor-default",children:"产品中心"}),C.jsx("div",{className:"absolute left-1/2 top-full mt-3 -translate-x-1/2 min-w-32 rounded-lg border border-slate-800 bg-slate-900/95 p-1.5 shadow-xl opacity-0 invisible group-hover:opacity-100 group-hover:visible transition-all duration-200",children:iy.map(t=>C.jsx("a",{href:t.url,target:"_blank",rel:"noreferrer",className:"block rounded-md px-3 py-2 text-sm text-slate-200 hover:bg-slate-800 hover:text-white transition-colors",children:t.name},t.name))})]}),C.jsx(u1,{to:"https://home.kailin.com.cn",target:"_blank",rel:"noreferrer",className:"max-[500px]:hidden relative inline-flex items-center leading-none font-headline text-sm text-slate-300 hover:text-white font-medium transition-colors",children:"关于我们"})]}),C.jsx("button",{onClick:()=>e("/contact"),className:"bg-blue-600 text-white px-6 py-2.5 rounded-lg font-headline text-sm font-bold hover:bg-blue-500 transition-all active:scale-95",children:"获取方案"})]})})},X5=()=>(bu(),C.jsxs("footer",{className:"bg-slate-950 border-t border-slate-800 py-16 px-6",children:[C.jsxs("div",{className:"max-w-7xl mx-auto grid grid-cols-1 md:grid-cols-4 gap-12",children:[C.jsxs("div",{className:"space-y-6",children:[C.jsx("div",{className:"text-xl font-bold text-white font-headline",children:"开邻智数"}),C.jsx("p",{className:"text-sm text-slate-400 leading-relaxed",children:"一站式企微生态SCRM私域直播"})]}),C.jsxs("div",{children:[C.jsx("h5",{className:"font-bold text-slate-200 mb-6 uppercase tracking-widest text-xs",children:"联系我们"}),C.jsxs("ul",{className:"space-y-4 text-sm text-slate-400",children:[C.jsxs("li",{className:"flex items-center gap-2",children:[C.jsx(I5,{className:"w-4 h-4 text-secondary"}),"bd@dotouch.tech"]}),C.jsxs("li",{className:"flex items-start gap-2",children:[C.jsx(q5,{className:"w-4 h-4 text-secondary mt-0.5"}),C.jsx("span",{children:"深圳大方无隅科技有限公司"})]})]})]}),C.jsxs("div",{children:[C.jsx("h5",{className:"font-bold text-slate-200 mb-6 uppercase tracking-widest text-xs",children:"产品中心"}),C.jsx("ul",{className:"space-y-4 text-sm text-slate-400",children:iy.map(e=>C.jsx("li",{children:C.jsx("a",{href:e.url,target:"_blank",rel:"noreferrer",className:"hover:text-secondary transition-colors",children:e.name})},e.name))})]}),C.jsxs("div",{children:[C.jsx("h5",{className:"font-bold text-slate-200 mb-6 uppercase tracking-widest text-xs",children:"法律条款"}),C.jsxs("ul",{className:"space-y-4 text-sm text-slate-400",children:[C.jsx("li",{children:C.jsx("a",{href:"/privacy",target:"_blank",rel:"noreferrer",className:"hover:text-secondary transition-colors",children:"隐私政策"})}),C.jsx("li",{children:C.jsx("a",{href:"/agreement",target:"_blank",rel:"noreferrer",className:"hover:text-secondary transition-colors",children:"用户协议"})})]})]})]}),C.jsx("div",{className:"max-w-7xl mx-auto mt-16 pt-8 border-t border-slate-800 text-center",children:C.jsx("p",{className:"text-sm text-slate-500",children:"© 粤ICP备2024220172号-9"})})]}));function Y5(){const e=$o();return h.useEffect(()=>{window.scrollTo(0,0)},[e.pathname]),C.jsxs("div",{className:"min-h-screen flex flex-col bg-slate-950 text-slate-100",children:[C.jsx(k5,{}),C.jsx("main",{className:"flex-grow",children:C.jsx(y5,{})}),C.jsx(X5,{})]})}const W5=()=>C.jsxs("div",{className:"policyPage",children:[C.jsx("div",{className:"policyContainer",children:C.jsx("div",{className:"policyTitle",children:"用户协议"})}),C.jsxs("div",{className:"policyContent",children:[C.jsx("div",{className:"preamble",children:"本《用户协议》是您(下称“用户”)与深圳大方无隅科技有限公司(下称 “大方无隅科技”)之间,关于使用大方无隅科技提供的产品及服务(包括但不限于开邻智数)时所签署的协议。请用户在注册与使用大方无隅科技提供的产品及服务前请务必审慎阅读并充分理解协议中相关条款内容,当用户注册并使用了大方无隅科技的产品或服务,即表示用户已同意协议内容。"}),C.jsx("div",{className:"level1-title",children:"一、重要须知"}),C.jsx("div",{className:"level2-item",children:"1.1 在签署本协议之前,大方无隅科技正式提醒用户:您应认真阅读(未成年人应当在监护人陪同下阅读)、充分理解本《用户协议》中各条款,特别是免除或者限制大方无隅科技责任的免责条款,用户的权利限制条款,约定争议解决方式、司法管辖、法律适用的条款。"}),C.jsx("div",{className:"level2-item",children:"1.2 除非您接受本协议,否则用户无权也无必要继续接受大方无隅科技的服务,可以退出本次注册。用户点击接受并继续使用大方无隅科技的服务,视为用户已完全的接受本协议。"}),C.jsx("div",{className:"level2-item",children:"1.3 本协议在您开始使用大方无隅科技的服务,并注册成为大方无隅科技产品的用户时即产生法律效力,请您慎重考虑是否接受本协议,如不接受本协议的任一条款,请自动退出并不再接受大方无隅科技的任何服务。"}),C.jsx("div",{className:"level2-item",children:"1.4 在您签署本协议之后,此文本可能因国家政策、产品以及履行本协议的环境发生变化而进行修改,我们会将修改后的协议发布在本网站上,若您对修改后的协议有异议的,请立即停止登录、使用大方无隅科技提供的产品及服务,若您登录或继续使用大方无隅科技提供产品,视为认可修改后的协议。"}),C.jsx("div",{className:"level2-item",children:"1.5 用户在使用开邻智数之前,应当告知其员工在注册及使用开邻智数期间,开邻智数可能收集和使用员工个人信息,要求其员工认真阅读开邻隐私政策,并取得其员工对开邻隐私政策的明确同意。开邻智数的用户开始或继续使用我们提供的任一产品或服务时,我们视为用户已经履行上述对员工的告知义务并获取其员工的明确同意。如果后续任何员工向我们提出权利主张认为我们侵害了其个人信息权利,由此造成的责任由客户负责解决,给我们造成的损失由用户负责赔偿。"}),C.jsx("div",{className:"level1-title",children:"二、关于“帐号”及“付费会员”资格"}),C.jsxs("div",{className:"level2-item",children:["2.1 大方无隅科技的产品为用户提供了注册通道,用户在认可并接受本协议之后,有权选择未被其他用户使用过的微信账号作为用户的帐号。",C.jsx("ul",{className:"level3-list",children:C.jsx("li",{children:"用户可通过各种已有和未来新增的渠道注册账号及加入付费会员。"})})]}),C.jsx("div",{className:"level2-item",children:"2.2 在用户使用具体某种方式加入付费会员时,须阅读并确认相关的用户协议和使用方法。"}),C.jsx("div",{className:"level2-item",children:"2.3 用户通过网络填写并提交注册表,表中所填写的内容与个人资料必须真实有效,否则大方无隅科技有权拒绝其申请或撤销其账号或付费会员资格,并不予任何赔偿或退还会员费。用户的个人资料发生变化,应及时修改相关资料,否则由此造成的会员权力不能全面有效行使的责任由会员自己承担,大方无隅科技有权因此取消其会员资格,并不予任何赔偿或退还会员费。"}),C.jsx("div",{className:"level2-item",children:"2.4 成为付费会员后,会员有权利不接受大方无隅科技的服务,可申请取消会员服务,但不获得任何服务费用的退还。"}),C.jsx("div",{className:"level2-item",children:"2.5 用户在注册了大方无隅科技帐号并不意味获得全部大方无隅科技产品的授权,仅仅是取得了接受大方无隅科技服务的身份,用户在登录相关网页、加载应用、下载安装软件时需要另行签署单个产品的授权协议。"}),C.jsx("div",{className:"level2-item",children:"2.6 大方无隅科技账户仅限于在大方无隅科技网站上注册用户本人使用,禁止赠与、借用、租用、转让或售卖。如果大方无隅科技发现或者有理由怀疑使用者并非帐号初始注册人,则有权在未经通知的情况下,暂停或终止向用户提供服务,并有权注销该帐号,而无需向该帐号使用人承担法律责任,由此带来的包括并不限于用户通讯中断、用户资料和信息等清空等损失由用户自行承担。"}),C.jsx("div",{className:"level2-item",children:"2.7 用户有责任维护个人帐号、密码的安全性与保密性,用户就其帐号及密码项下之一切活动负全部责任,包括用户数据的修改,发表的言论以及其他所有的损失。用户应重视大方无隅科技帐号密码保护。用户如发现他人未经许可使用其帐号或发生其他任何安全漏洞问题时立即通知大方无隅科技。如果用户在使用大方无隅科技服务时违反上述规则而产生任何损失或损害,大方无隅科技不承担任何责任。"}),C.jsx("div",{className:"level2-item",children:"2.8 用户帐号在丢失后,可遵照大方无隅科技的申诉途径及时申诉请求找回帐号。用户应提供能增加帐号安全性的个人密码保护资料。用户可以凭初始注册资料及个人密码保护资料填写申诉单向大方无隅科技申请找回帐号,大方无隅科技的密码找回机制仅负责识别申诉单上所填资料与系统记录资料的正确性,而无法识别申诉人是否系真正帐号有权使用人。对用户因被他人冒名申诉而致的任何损失,大方无隅科技不承担任何责任,用户知晓帐号及密码保管责任在于用户,大方无隅科技并无义务保证帐号丢失或遗忘密码后用户一定能通过申诉找回帐号。"}),C.jsx("div",{className:"level2-item",children:"2.9 用户应保证注册大方无隅科技帐号时填写的身份信息的真实性,任何由于非法、不真实、不准确的用户信息所产生的责任由用户承担。用户应不断根据实际情况更新注册资料,符合及时、详尽、真实、准确的要求。所有原始键入的资料将引用用户的帐号注册资料。如果因用户的注册信息不真实而引起的问题,以及对问题发生所带来的后果,大方无隅科技不负任何责任。如果用户提供的信息不准确、不真实、不合法或者大方无隅科技有理由怀疑为错误、不实或不完整的资料或在个人资料中发布广告、不严肃内容及无关信息,大方无隅科技有权暂停或终止向用户提供服务,注销该帐号,并拒绝用户现在和未来使用大方无隅科技服务之全部或任何部分。因此产生的一切损失由用户自行承担。"}),C.jsx("div",{className:"level1-title",children:"三、用户在使用大方无隅科技产品时,应当遵守相关法律规定"}),C.jsx("div",{className:"level2-item",children:"3.1 用户在使用大方无隅科技产品时,应当遵守《中华人民共和国宪法》、《中华人民共和国刑法》、《中华人民共和国民法典》、《中华人民共和国著作权法》、《中华人民共和国电信条例》、《互联网信息服务管理办法》、《互联网电子公告服务管理规定》、《计算机信息网络国际互联网安全保护管理办法》等相关规定。用户不得利用大方无隅科技服务产品从事违反法律法规、政策以及侵犯他人合法权益的行为,包括但不限于下列行为:"}),C.jsx("div",{className:"level2-item",children:"3.2 利用大方无隅科技服务产品发表、传送、传播、储存反对宪法所确定的基本原则的、危害国家安全、国家统一、社会稳定的、煽动民族仇恨、民族歧视、破坏民族团结的内容,或侮辱诽谤、色情、暴力、引起他人不安及任何违反国家法律法规政策的内容或者设置含有上述内容的网名、角色名。"}),C.jsx("div",{className:"level2-item",children:"3.3 利用大方无隅科技服务发表、传送、传播、储存侵害他人知识产权、商业机密、肖像权、隐私权等合法权利或其他道德上令人反感的内容。"}),C.jsxs("div",{className:"level2-item",children:["3.4 进行任何危害计算机网络安全的行为,包括但不限于:",C.jsxs("ul",{className:"level3-list",children:[C.jsx("li",{children:"使用未经许可的数据或进入未经许可的服务器/帐户;"}),C.jsx("li",{children:"未经允许进入公众计算机网络或者他人计算机系统并删除、修改、增加存储信息;"}),C.jsx("li",{children:"未经许可,企图探查、扫描、测试本“软件”系统或网络的弱点或其它实施破坏网络安全的行为;"}),C.jsx("li",{children:"企图干涉、破坏本“软件”系统或网站的正常运行,故意传播恶意程序或病毒以及其他破坏干扰正常网络信息服务的行为;"}),C.jsx("li",{children:"伪造 TCP/IP 数据包名称或部分名称;"}),C.jsx("li",{children:"自行或利用其他软件对大方无隅科技提供产品进行反向破解等违法行为。"})]})]}),C.jsx("div",{className:"level2-item",children:"3.5 进行任何诸如发布广告、推广信息、销售商品的行为,或者进行任何非法的侵害大方无隅科技利益的行为。"}),C.jsx("div",{className:"level2-item",children:"3.6 进行其他任何违法以及侵犯其他个人、公司、社会团体、组织的合法权益的行为或者法律、行政法规、规章、条例以及任何具有法律效力之规范所限制或禁止的其他行为。在任何情况下,如果大方无隅科技有理由认为用户的任何行为,包括但不限于用户的任何言论和其它行为违反或可能违反法律法规、国家政策以及本协议的任何规定,大方无隅科技可在任何时候不经任何事先通知,即有权终止向用户提供服务。"}),C.jsx("div",{className:"level1-title",children:"四、注意事项"}),C.jsxs("div",{className:"level2-item",children:["4.1 用户理解并同意大方无隅科技将会尽其商业上的合理努力保障用户在大方无隅科技提供的产品及服务中的数据存储安全,但是,大方无隅科技并不能就此提供完全保证,包括但不限于以下情形:",C.jsxs("ul",{className:"level3-list",children:[C.jsx("li",{children:"大方无隅科技不对用户在开邻智数中相关数据的删除或储存失败负责;"}),C.jsx("li",{children:"在使用大方无隅科技的产品及服务期间,用户可根据自己的需要自行备份开邻智数及服务中的相关数据;"}),C.jsx("li",{children:"除非与用户之间另有约定,在用户停止使用开邻智数或服务被终止、取消之日起满 30 个自然日之后,大方无隅科技可以从服务器上永久地删除用户产生的数据。在上述期限届满之后,大方无隅科技没有义务向用户返还任何数据。"})]})]}),C.jsxs("div",{className:"level2-item",children:["4.2 用户在使用大方无隅科技的产品及服务时,须自行承担如下来自大方无隅科技不可掌控的风险内容,包括但不限于:",C.jsxs("ul",{className:"level3-list",children:[C.jsx("li",{children:"由于不可抗拒因素可能引起的用户信息丢失、泄漏等风险;"}),C.jsx("li",{children:"用户在使用开邻智数访问第三方网站时,因第三方网站及相关内容所可能导致的风险,由用户自行承担;"}),C.jsx("li",{children:"用户发布的内容被他人转发、分享,因此等传播可能带来的风险和责任;"}),C.jsx("li",{children:"由于网络信号不稳定、网络带宽小等网络原因,所引起的开邻智数登录失败、资料同步不完整、页面打开速度慢等风险。"})]})]}),C.jsx("div",{className:"level2-item",children:"4.3 用户须知,在使用大方无隅科技服务可能存在有来自任何他人的包括威胁性的、诽谤性的、令人反感的或非法的内容或行为或对他人权利的侵犯(包括知识产权)的匿名或冒名的信息的风险,用户须承担以上风险,大方无隅科技对服务不作担保,不论是明确的或隐含的,包括所有有关信息真实性、适当性、适于某一特定用途、所有权和非侵权性的默示担保和条件,对因此导致任何因用户不正当或非法使用服务产生的直接、间接、偶然、特殊及后续的损害,大方无隅科技不承担任何责任。"}),C.jsx("div",{className:"level2-item",children:"4.4 使用大方无隅科技服务必须遵守国家有关法律和政策等,维护国家利益,保护国家安全,并遵守本协议,对于用户违法行为或违反本协议的使用(包括但不限于言论发表、传送等)而引起的一切责任,由用户承担全部责任。"}),C.jsx("div",{className:"level2-item",children:"4.5 大方无隅科技提供的所有信息、资讯、内容和服务均来自互联网,并不代表大方无隅科技的观点,大方无隅科技对其真实性、合法性概不负责,亦不承担任何法律责任。"}),C.jsxs("div",{className:"level2-item",children:["4.6 大方无隅科技所提供的产品和服务也属于互联网范畴,也易受到各种安全问题的困扰,包括但不限于:",C.jsxs("ul",{className:"level3-list",children:[C.jsx("li",{children:"个人资料被不法分子利用,造成现实生活中的骚扰;"}),C.jsx("li",{children:"哄骗、破译密码;"}),C.jsx("li",{children:"下载安装的其它软件中含有“特洛伊木马”等病毒程序,威胁到个人计算机上信息和数据的安全,继而威胁对本服务的使用;"}),C.jsx("li",{children:"以及其他类网络安全困扰问题 对于发生上述情况的,用户应当自行承担责任。"})]})]}),C.jsx("div",{className:"level2-item",children:"4.7 用户须明白,大方无隅科技为了整体运营的需要,有权在公告通知后,在不事先通知用户的情况下修改、中断、中止或终止服务,而无须向用户或第三方负责,大方无隅科技不承担任何赔偿责任。"}),C.jsx("div",{className:"level2-item",children:"4.8 用户应理解,互联网技术存在不稳定性,可能导致政府管制、政策限制、病毒入侵、黑客攻击、服务器系统崩溃或者其他现今技术无法解决的风险发生。由以上原因可能导致大方无隅科技服务中断或帐号信息损失,对此非人为因素引起的用户损失由用户自行承担责任。"}),C.jsx("div",{className:"level1-title",children:"五、知识产权"}),C.jsx("div",{className:"level2-item",children:"5.1 大方无隅科技对其旗下运营的网页、应用、软件等产品和服务享有知识产权,受中国法律的保护。"}),C.jsx("div",{className:"level2-item",children:"5.2 用户不得对大方无隅科技服务涉及的相关网页、应用、软件等产品进行反向工程、反向汇编、反向编译等。"}),C.jsx("div",{className:"level2-item",children:"5.3 用户只能在本《用户协议》以及相应的授权许可协议授权的范围内使用大方无隅科技知识产权,未经授权超范围使用的,构成对大方无隅科技的侵权。"}),C.jsx("div",{className:"level2-item",children:"5.4 用户在使用大方无隅科技产品服务时发表上传的文字、图片、视频、软件以及表演等信息,用户的发表、上传行为是对大方无隅科技服务平台的授权,为非独占性、永久性的授权,该授权可转授权。大方无隅科技可将前述信息在大方无隅科技旗下的所有服务平台上使用,可再次编辑后使用,也可以由大方无隅科技授权给合作方使用。"}),C.jsx("div",{className:"level2-item",children:"5.5 用户应保证,在使用大方无隅科技产品服务时上传的文字、图片、视频、软件以及表演等的信息不侵犯任何第三方知识产权,包括但不限于商标权、著作权等。若用户在使用大方无隅科技产品服务时上传的文字、图片、视频、软件以及表演等的信息中侵犯第三方知识产权,大方无隅科技有权移除该侵权产品,并对此不负任何责任。用户应当负责处理前述第三方的权利主张,承担由此产生的全部费用,包括但不限于侵权赔偿、律师费及其他合理费用,并保证大方无隅科技不会因此而遭受任何损失。"}),C.jsx("div",{className:"level2-item",children:"5.6 任何单位或个人认为通过大方无隅科技提供服务的内容可能涉嫌侵犯其知识产权或信息网络传播权,应该及时向大方无隅科技提出书面权利通知投诉,并提供身份证明、权属证明及详细侵权情况证明。大方无隅科技在收到上述法律文件后,将会依法尽快断开相关链接内容。"}),C.jsx("div",{className:"level1-title",children:"六、隐私保护"}),C.jsx("div",{className:"level2-item",children:"6.1 大方无隅科技非常重视用户的隐私权,用户在享受大方无隅科技提供的产品及服务时可能涉及用户的隐私,因此请用户仔细阅读本隐私保护条款。"}),C.jsx("div",{className:"level2-item",children:"6.2 请用户注意勿在使用大方无隅科技服务中透露自己的各类财产帐户、银行卡、信用卡、第三方支付账户及对应密码等重要信息资料,否则由此带来的任何损失 由用户自行承担。"}),C.jsx("div",{className:"level2-item",children:"6.3 用户的帐号、密码属于保密信息,大方无隅科技会努力采取积极的措施保护用户帐号、密码的安全。"}),C.jsx("div",{className:"level2-item",children:"6.4 互联网的开放性以及技术更新速度快,因非大方无隅科技可控制的因素导致用户信息泄漏的,大方无隅科技不承担任何责任。"}),C.jsx("div",{className:"level2-item",children:"6.5 用户在使用大方无隅科技服务时不应将自认为隐私的信息发表、上传至大方无隅科技,也不应将该等信息通过大方无隅科技的服务传播给其他人,由于用户的行为引起的隐私泄漏,由用户自行承担责任。"}),C.jsx("div",{className:"level1-title",children:"七、免责声明"}),C.jsx("div",{className:"level2-item",children:"7.1 用户充分了解并同意:关于产品和服务,大方无隅科技不提供任何种类的明示或暗示担保或条件,包括但不限于商业适售性、特定用途适用性等。用户对账号的使用行为必须自行承担相应风险。"}),C.jsx("div",{className:"level2-item",children:"7.2 用户应对本服务所提供的内容自行加以判断,并承担因使用内容而引起的所有风险,包括因对内容的正确性、完整性或实用性的依赖而产生的风险。是否使用本网站任何文章或资料应由用户自行考虑且自负风险,因任何文章或资料使用而导致的用户微信公众平台账号之任何损失或数据流失等后果,由用户自行承担,大方无隅科技无法且不会对因前述风险而导致的任何损失或损害承担责任。"}),C.jsx("div",{className:"level2-item",children:"7.3 用户自大方无隅科技提供的产品或服务所取得的任何建议或信息,无论是书面或口头形式,除非本协议有明确规定,将不构成本协议以外之任何保证。"}),C.jsx("div",{className:"level2-item",children:"7.4 因用户使用大方无隅科技提供的产品或服务时,可能会调用第三方系统或者通过第三方支持用户的使用或访问,使用或访问的结果由该第三方提供,大方无隅科技不保证通过第三方提供服务及内容的安全性、准确性、有效性及其他不确定的风险,由此若引发的任何争议及损害,与大方无隅科技无关,大方无隅科技不承担任何责任。"}),C.jsx("div",{className:"level1-title",children:"八、其他"}),C.jsx("div",{className:"level2-item",children:"8.1 本协议所定的任何条款的部分或全部无效者,不影响其它条款的效力。本协议的解释、效力及纠纷的解决,适用于中华人民共和国法律。若用户和大方无隅科技之间发生任何纠纷或争议,首先应友好协商解决,协商不成的,用户在此完全同意将纠纷或争议提交大方无隅科技所在地的人民法院管辖。"}),C.jsx("div",{className:"level2-item",children:"8.2 本协议所有条款的标题仅为阅读方便,本身并无实际涵义,不能作为本协议涵义解释的依据。"}),C.jsx("div",{className:"level2-item",children:"8.3 用户使用大方无隅科技产品及服务即视为用户已阅读并同意受本协议的约束。大方无隅科技有权在必要时自行修改或中断软件授权而不需通知用户的权利,用户可登录官网随时了解查阅最新版服务协议。在大方无隅科技修改协议条款后,如果用户不接受修改后的条款,请立即停止使用大方无隅科技提供的产品及服务,用户继续使用大方无隅科技提供的产品及服务将被视为已接受了修改后的协议。"}),C.jsx("div",{className:"level2-item",children:"8.4 本协议版权由大方无隅科技所有,大方无隅科技保留一切解释权利。本文中提及的产品和服务名称有可能为大方无隅科技的注册商标或商标,受法律保护。"})]})]}),K5=()=>C.jsx("div",{className:"policyPage",children:C.jsxs("div",{className:"policyContainer",children:[C.jsx("div",{className:"policyTitle",children:"开邻智价云隐私协议"}),C.jsx("div",{className:"policyTitleTime",children:"【本次更新时间:2025 年 04 月 03 日】"}),C.jsx("div",{className:"policyTitle",children:"提示条款"}),C.jsxs("div",{className:"policyContent",children:[C.jsx("div",{className:"tip-clause",children:"欢迎您使用开邻智数(“我们”)产品和服务!您的信任对我们非常重要,我们深知个人信息对您的重要性,我们将严格遵守按法律法规要求,采取相应安全保护措施,尽力保护您的个人信息安全可控。 鉴此,我们制定本《隐私保护政策》(下称“本政策”)帮助您充分了解在您使用我们产品 和服务的过程中,我们会如何处理您的个人信息以及您可以如何管理您的个人信息,以便您更好地作出适当的选择。"}),C.jsx("div",{className:"tip-clause",children:"在使用开邻智数前,请您务必仔细阅读并透彻理解本政策,确保您充分理解和同意之后再开始使用。在确认充分理解并同意后使用相关产品或服务。 一旦您开始使用我们的各项服务,即表示您 已充分理解并同意本政策,如果您不同意本隐私政策的任何内容,建议您立即停止使用我们的产品或服务。 如对本政策内容有任何疑问、意见或建议,您可通过客服联系我们。"}),C.jsx("div",{className:"tip-clause",children:"同时,您在使用开邻智数之前,应当告知您的员工在注册及使用开邻智数期间,开邻智数可能收集和使用员工个人信息,要求其员工认真阅读本隐私政策,并取得其员工对本隐私政策的明确同意。您开始或继续使用我们提供的产品或服务时,我们视为您已经履行上述对员工的告知义务并获取其员工的明确同意。如果后续您的任何员工向我们提出权利主张认为我们侵害了其个人信息权利,由此造成的纠纷和损失应由您负责解决和赔偿。"}),C.jsx("div",{className:"subtitle",children:"第一部分 定义"}),C.jsx("div",{className:"level2-item",children:"1.1 开邻智数服务提供者:深圳大方无隅科技有限公司"}),C.jsx("div",{className:"level2-item",children:"1.2 “开邻智数”:是一款基于企业微信的数字化运营管理平台,为企业提供智能营销、销售、服务为一体的数字化解决方案。"}),C.jsx("div",{className:"level2-item",children:"1.3 关联公司:指由服务提供者直接或者间接控制、直接或者间接控制服务提供者、与服务提供者共同直接或者间接被控制的第三方主体。"}),C.jsx("div",{className:"level2-item",children:"1.4 您:在本政策中主要指我们的客户,即委托我们提供技术服务的企业。"}),C.jsx("div",{className:"level2-item",children:"1.5 终端用户:是指使用企业微信及微信平台的自然人或由自然人代表进行前述操作的组织体。"}),C.jsx("div",{className:"level2-item",children:"1.6 数据:是指我们为您提供服务中涉及的数据,在本政策中将根据上下文可能指您主动提供的数据、我们在为您服务过程中产生的数据、第三方向我们提供的经您及您的终端用户合法授权的数据以及公开渠道合法获取的数据,这些数据都将用于优化我们的产品向您提供更优质的服务。"}),C.jsx("div",{className:"level2-item",children:"1.7 Cookie:是指在终端用户访问网站或观看其他网络内容时,由服务器端生成,发送到用户的浏览器内的包含字符串的文本文件。终端用户可以通过浏览器设置是否保存这些文本文件。"}),C.jsx("div",{className:"level2-item",children:"1.8 个人信息:个人信息是以电子或者其他方式记录的与已识别或者可识别的自然人有关的各种信息,不包括匿名化处理后的信息。"}),C.jsx("div",{className:"level2-item",children:"1.9 敏感个人信息:敏感个人信息是一旦泄露或者非法使用,容易导致自然人的人格尊严受到侵害或者人身、财产安全受到危害的个人信息,包括生物识别、宗教信仰、特定身份、医疗健康、金融账户、行踪轨迹信息,以及不满十四周岁未成年人的个人信息。"}),C.jsx("div",{className:"level2-item",children:"1.10 匿名化:是指通过对个人信息的技术处理,使得个人信息主体无法被识别或关联,且处理后的信息不能被复原的过程。个人信息经匿名化处理后所得的信息不属于个人信息。"}),C.jsx("div",{className:"level2-item",children:"1.11 委托处理:是指个人信息处理者将处理个人信息的事务委托给其他组织和个人,双方成立委托合同关系,由受托人在委托范围和目的内为委托人处理个人信息。"}),C.jsx("div",{className:"subtitle",children:"第二部分 隐私保护政策内容"}),C.jsx("div",{className:"tip-clause",children:"本政策将帮助您了解以下内容:一、本政策适用范围 二、我们如何处理个人信息 三、我们如何对外提供个人信息 四、我们如何存储您的个人信息 五、我们如何保护您的个人信息 六、您的权利 七、如何使用 cookie 及同类技术 八、未成年人权利保护 九、数据的跨境转移 十、本隐私协议的改动"}),C.jsx("div",{className:"level1-title",children:"一、本政策适用范围"}),C.jsx("div",{className:"level2-item",children:"1.1 本政策适用于开邻智数在提供产品与服务中,客户、意向客户以及前述各方的员工、代表与代理人提供的的个人信息。"}),C.jsx("div",{className:"level2-item",children:"1.2 本政策适用于我们通过所有网络平台(如: http://saas.kirin.wiki/以及我们可接达的网站、第三方网络平台、移动应用程序、社交应用等。)"}),C.jsx("div",{className:"level1-title",children:"二、我们如何处理个人信息"}),C.jsx("div",{className:"level2-item",children:"2.1 我们会在以下场景处理个人信息:"}),C.jsxs("div",{className:"level2-item",children:["2.2 用户注册",C.jsxs("ul",{className:"level3-list",children:[C.jsx("li",{children:"当您使用开邻智数时,需要通过企业微信账号与开邻智数建立关联,可能涉及获取您的头像昵称、你本人的手机号码,以及您授权使用开邻智数的企业信息。"}),C.jsx("li",{children:"为了帮助您完成开邻智数相关的配置,您指定且已取得合法授权的个人用户在注册过程中需要填写本人的手机号,以便我们的工作人员联系您进行功能的配置。"}),C.jsx("li",{children:"您也可以为其他人订购产品或服务,您需要提供该实际订购人的前述个人信息。向我们提供该实际订购人的前述个人信息之前,您需确保您已经取得其授权,同意您及我们使用该等个人信息。 您可以决定不提供上述信息,或要求删除之前提供的信息。但是,我们将因此无法完成相关交付服务。 我们还会使用上述信息向您或实际订购人提供相关的客服服务或开展满意度调查,内部审计、数据分析和研究。"})]})]}),C.jsx("div",{className:"level2-item",children:"2.3 向您提供产品或服务"}),C.jsxs("div",{className:"level2-item",children:["2.4 您委托我们处理的个人信息",C.jsxs("ul",{className:"level3-list",children:[C.jsx("li",{children:"您在使用开邻智数服务期间,委托我们处理个人信息的,您应当保证该等数据来源合法且已获得个人信息主体同意,不存在违法获取、使用、泄露个人信息等情形。您应确保委托处理目的和方式合法合规,如因此违法或者造成我们或第三方损失的,由您自行承担相应责任。同时,若在前述数据在委托我们处理前,已发生数据泄露、损毁、丢失或篡改等数据安全事件,应由您自行承担相应的责任。为进一步保证本款的内容,如我们要求,您应及时提供相关证明、协议或资质证照等。您理解并确认:我们对您提交的证明、协议或资质证照的查阅仅为形式查阅,即使我们进行过查阅,不代表我们有义务或有能力确认您对数据的合法收集、披露或使用,您应自觉保证并遵守在本款的承诺和保证。"}),C.jsx("li",{children:"上述处理情形包括但不限于:您在配置企业时,需通过企业微信扫码授权开邻智数的第三方应用并设置员工可见 范围,应用授权范围包括:通讯录基本只读权限、企业客户权限、成员敏感信息权限,可获取可见范围内企业组织架构信息和成员基本信息(userid、姓名、性别、部门 ID、职位、关注状态)、可见范围内成员添加客户的基本信息(客户和客户群列表、昵称、备注、标签)、可见范围内成员联系客户数据。"}),C.jsx("li",{children:"因第三方应用和自建应用的接口差异,为了满足企业更多定制化需求和数据打通相关需求,您在使用过程中还需完成开邻自建应用的授权和配置,并设置应用可见范围,开邻智数通过自建应用授权可获取信息:①可见范围内成员信息:userid、成员名称、手机号码、职务信息、性别、邮箱、头像、地址、企业微信对外二维码基本信息; ②可见范围内成员添加的客户信息:userid、名称、头像、unionID、类型、性别、备注、企业、描述、标签;"}),C.jsx("li",{children:"我们的相关工作人员可以使用上述信息与相关成员联系,以便向相关成员介绍我们的产品功能以及其他产品信息。您可以以书面或邮件形式通知我们不允许我们使用上述信息,但如果您这样做,可能会影响您获得、使用、购买我们产品或服务的体验或精准度,或者影响我们产品的正常运行。"})]})]}),C.jsxs("div",{className:"level2-item",children:["2.5 我们在您使用服务过程中处理的个人信息",C.jsxs("ul",{className:"level3-list",children:[C.jsx("li",{children:"身份信息:为满足某些使用场景下的功能要求(例如个人名片功能),我们会要求您在使用相关功能前,配置您已取得合法授权的个人用户的身份信息,包括昵称、头像、手机号、邮箱、职位、地址。"}),C.jsx("li",{children:"设备信息:我们会根据您在软件安装及使用中授予的具体权限,接收并记录您已取得合法授权的个人用户所使用的设备相关信息(例如设备型号、操作系统版本、设备设置、唯一设备标识符)、设备所在位置相关信息(例如 IP 地址、GPS 位置以及能够提供相关信息的 WLAN 接入点、蓝牙和基站)。"}),C.jsx("li",{children:"日志信息:当您使用我们的网站或客户端提供的产品或服务时,我们会自动收集您已取得合法授权的个人用户对我们服务的详细使用情况,作为有关网络日志保存。例如您已取得合法授权的个人用户搜索查询内容、IP 地址、浏览器的类型、电信运营商、使用的语言、访问日期和时间及您已取得合法授权的个人用户访问的网页记录。"}),C.jsx("li",{children:"订单信息:为展示您账户的订单信息,我们会收集您已取得合法授权的个人用户在使用我们服务过程中产生的订单信息用于向按照您的要求展示及便于您对订单进行管理。"}),C.jsx("li",{children:"联系方式:与我们联系时,我们可能会保存通信/通话记录和内容或您/您指定且已取得合法授权的个人用户留下的联系方式,以便与您联系或帮助您解决问题,或记录相关问题的处理方案及结果。您或对应个人可以决定不提供上述信息,或要求删除之前提供的信息。但是,如果您这样做,可能会影响您获得、使用、购买我们产品或服务的体验或者精准度,或者会影响我们的网络平台的正常运行。"}),C.jsx("li",{children:"活动页面授权。您在使用由开邻智数提供的 H5 页面时,需进行公众号授权,点击允许后开邻智数将获取您已取得合法授权的个人的微信账号的头像、昵称、unionID,以便我们按照您的要求统计参加活动的数据。"})]})]}),C.jsxs("div",{className:"level2-item",children:["2.6 我们通过间接获得方式收集到的个人信息",C.jsxs("ul",{className:"level3-list",children:[C.jsx("li",{children:"为确认交易状态及为您提供售后与争议解决服务,我们会通过您基于交易所选择的交易对象、支付机构、物流公司、第三方平台收集与交易进度、服务或产品相关的交易、支付、物流信息,或将上述交易信息提供给上述服务提供者。"}),C.jsx("li",{children:"您可通过开邻智数账号在我们提供的链接入口使用我们关联公司提供的产品或服务,为便于我们基于关联账号共同向您提供一站式服务并便于您统一进行管理,我们在开邻智数集中展示您的信息或推荐您感兴趣的信息。"}),C.jsx("li",{children:"当您通过我们产品或服务使用上述服务时,应当保证该等数据来源合法且已获得个人信息主体同意,不存在违法获取、使用、泄露个人信息等情形。"}),C.jsx("li",{children:"您可以决定不提供上述信息,或要求删除之前提供的信息。但是,如果您这样做,可能会影响您获得、使用、购买我们产品或服务的体验或者精准度,或者会影响我们的网络平台的正常运行。"})]})]}),C.jsxs("div",{className:"level2-item",children:["2.7 为您提供安全保障",C.jsx("ul",{className:"level3-list",children:C.jsx("li",{children:"为提高您使用我们及我们关联公司、合作伙伴提供服务的安全性,保护您或其他用户或公众的人身财产安全免遭侵害,更好地预防钓鱼网站、欺诈、网络漏洞、计算机病毒、网络攻击、网络侵入等安全风险,更准确地识别违反法律法规或开邻智数相关协议规则的情况,我们可能使用或整合您的会员信息、交易信息、 设备信息、有关网络日志以及我们关联公司、合作伙伴取得您授权或依据法律共享的信息,来综合判断您账户及交易风险、进行身份验证、检测及防范安全事件,并依法采取必要的记录、审计、分析、处置措施。"})})]}),C.jsxs("div",{className:"level2-item",children:["2.8 其他用途",C.jsx("ul",{className:"level3-list",children:C.jsx("li",{children:"当我们要将信息用于本政策未载明的其他用途时,会事先征求您的同意。"})})]}),C.jsxs("div",{className:"level2-item",children:["2.9 征得授权同意的例外",C.jsxs("ul",{className:"level3-list",children:[C.jsx("li",{children:"与国家安全、国防安全有关的;"}),C.jsx("li",{children:"与公共安全、公共卫生、重大公共利益有关的;"}),C.jsx("li",{children:"与犯罪侦查、起诉、审判和判决执行等有关的;"}),C.jsx("li",{children:"出于维护您或其他个人的生命、财产等重大合法权益但又很难得到您本人同意的;"}),C.jsx("li",{children:"所收集的个人信息是您自行向社会公众公开的;"}),C.jsx("li",{children:"从合法公开披露的信息中收集个人信息的,如合法的新闻报道、政府信息公开等渠道;"}),C.jsx("li",{children:"用于维护所提供的产品或服务的安全稳定运行所必需的,例如发现、处置产品或服务故障;"}),C.jsx("li",{children:"法律法规规定的其他情形。"})]})]}),C.jsxs("div",{className:"level2-item",children:["2.10 重要提示",C.jsxs("ul",{className:"level3-list",children:[C.jsx("li",{children:"如所有的企业都可能面临的问题一样,考虑到信息技术、网络空间本身的特点,在某些特殊情况下(例如黑客攻击、电信故障等),尽管我们采取了法律法规等规定的必要的措施,但仍然存在个人信息泄露的风险。"}),C.jsx("li",{children:"除非本隐私政策有其他规定,为了保护您的人身或财产安全,我们特别提示您不要通过公共网络,向我们或任何以我们名义为您提供服务的第三方,提供您的财产状况、健康生理、账户密码或验证码、通信内容等涉及您人身或财产安全的敏感个人信息。"})]})]}),C.jsx("div",{className:"level1-title",children:"三、我们如何对外提供您的个人信息"}),C.jsxs("div",{className:"level2-item",children:["3.1 共享",C.jsxs("ul",{className:"level3-list",children:[C.jsx("li",{children:"我们不会与开邻智数服务提供者以外的公司、组织和个人共享您的个人信息,但以下情况除外:"}),C.jsx("li",{children:"在获取同意的情况下共享:获得您的同意后,我们会与其他方共享您的个人信息。"}),C.jsx("li",{children:"在法定情形下的共享:我们可能会根据法律法规规定、诉讼争议解决需要,或按行政、司法机关依法提出的要求,对外共享您的个人信息。"})]})]}),C.jsxs("div",{className:"level2-item",children:["3.2 转让",C.jsxs("ul",{className:"level3-list",children:[C.jsx("li",{children:"我们不会将您的个人信息转让给任何公司、组织和个人,但以下情况除外:"}),C.jsx("li",{children:"在获取明确同意的情况下转让:获得您的明确同意后,我们会向其他方转让您的个人信息;"}),C.jsx("li",{children:"在涉及合并、收购或破产清算情形时,如涉及到个人信息转让,我们会要求新的持有您个人信息的公司、组织继续受本政策的约束,否则我们将要求该公司、组织和个人重新向您征求授权同意。"})]})]}),C.jsxs("div",{className:"level2-item",children:["3.3 公开披露",C.jsxs("ul",{className:"level3-list",children:[C.jsx("li",{children:"我们仅会在以下情况下,公开披露您的个人信息:"}),C.jsx("li",{children:"获得您明确同意后;"}),C.jsx("li",{children:"基于法律的披露:在法律、法律程序、诉讼或政府主管部门强制性要求的情况下,我们可能会公开披露您的个人信息。"})]})]}),C.jsxs("div",{className:"level2-item",children:["3.4 委托处理",C.jsxs("ul",{className:"level3-list",children:[C.jsx("li",{children:"我们可能委托授权合作伙伴处理您的个人信息,以便授权合作伙伴代表我们为您提供某些服务或履行职能。我们仅会出于本政策声明的合法、正当、必要、特定、明确的目的委托其处理您的信息,授权合作伙伴只能接触到其履行职责所需信息,且我们将会通过协议要求其不得将此信息用于其他任何超出委托范围的目的。如果授权合作伙伴将您的信息用于我们未委托的用途,其将单独征得您的同意。"}),C.jsx("li",{children:"目前,我们委托的授权合作伙伴包括供应商、服务提供商和其他合作伙伴。我们将信息委托给支持我们业务的供应商、服务提供商和其他合作伙伴处理,这些支持包括受我们委托提供的技术基础设施服务、分析我们服务的使用方式、提供客户服务、支付便利或进行学术研究和调查。"})]})]}),C.jsx("div",{className:"level1-title",children:"四、我们如何存储您的信息"}),C.jsxs("div",{className:"level2-item",children:["4.1 存储期限",C.jsxs("ul",{className:"level3-list",children:[C.jsx("li",{children:"我们只会在达成本政策所述目的所需的期限内保留您的个人信息,除非法律有强制的留存要求。我们判断个人信息的存储期限主要依据以下标准:"}),C.jsx("li",{children:"向您提供服务的目的、维护相应服务及业务记录,以应对您可能的查询或投诉;"}),C.jsx("li",{children:"保证我们为您提供服务的安全和质量;"}),C.jsx("li",{children:"您是否同意更长的留存期间;"}),C.jsx("li",{children:"是否存在关于保留期限的其他特别约定或法律法规规定。"}),C.jsx("li",{children:"在超出保留期间后,我们会根据适用法律的要求删除或匿名化处理您的个人信息。"})]})]}),C.jsxs("div",{className:"level2-item",children:["4.2 存储位置",C.jsxs("ul",{className:"level3-list",children:[C.jsx("li",{children:"我们在中华人民共和国境内运营中收集和产生的个人信息,将存储在中国境内。如我们有向境外实体提供您的个人信息的情形,我们将履行法律规定的以下义务:"}),C.jsx("li",{children:"适用的法律有明确规定;"}),C.jsx("li",{children:"获得您的单独同意;"}),C.jsx("li",{children:"您作为一方当事人合同订立和履行所必需的。"})]})]}),C.jsx("div",{className:"level1-title",children:"五、我们如何保护您个人信息"}),C.jsx("div",{className:"level2-item",children:"5.1 为保障您的信息安全,我们努力采取各种符合业界标准的物理、电子和管理方面的安全措施来保护您的个人信息,防止您的个人信息遭到未经授权访问、公开披露、使用、修改、损坏或丢失。我们会采取一切合理可行的措施,保护您的个人信息。例如在您的浏览器与“服务”之间交换数据(如信用卡信息)时采用 SSL 加密保护技术;同时对网站本身提供 https 安全浏览方式;使用加密技术确保数据的保密性;使用受信赖的保护机制防止数据遭到恶意攻击;部署访问控制机制,确保只有授权人员才可访问个人信息;以及举办安全和隐私保护培训课程,加强员工对于保护个人信息重要性的认识。"}),C.jsx("div",{className:"level2-item",children:"5.2 互联网并非绝对安全的环境,我们强烈建议您通过安全方式,协助我们保证您的账号安全。互联网环境并非百分之百安全,我们将尽力保护您发送给我们的任何信息的安全性。如果我们的物理、技术、或管理防护设施遭到破坏,导致信息被非授权访问、公开披露、 篡改、或毁坏,导致您的合法权益受损,我们将承担相应的法律责任。"}),C.jsx("div",{className:"level2-item",children:"5.3 在不幸发生个人信息安全事件后,我们将按照法律法规的要求,及时向您告知:安全事件的基本情况和可能的影响、我们已采取或将要采取的处置措施、您可自主防范和降低风险的建议、对您的补救措施等。我们将及时将事件相关情况以邮件、信函、电话、推送通知等方式告知您,难以逐一告知个人信息主体时,我们会采取合理、有效的方式发布公告。同时,我们还将按照监管部门要求,主动上报个人信息安全事件的处置情况。"}),C.jsx("div",{className:"level1-title",children:"六、您的权利"}),C.jsx("div",{className:"level2-item",children:"6.1 按照中国相关的法律、法规、标准,以及其他国家、地区的通行做法,我们保障您对自己的个人信息行使以下权利:"}),C.jsxs("div",{className:"level2-item",children:["6.2 访问您的个人信息",C.jsxs("ul",{className:"level3-list",children:[C.jsx("li",{children:"您有权访问您的个人信息,法律法规规定的例外情况除外。如果您想行使数据访问权,可以通过以下方式自行访问:"}),C.jsx("li",{children:"账户信息——如果您希望访问或编辑您的账户中的个人资料信息和支付信息、更改您的密码、 添加安全信息或关闭您的账户,您可以通过访问开邻智数相关网页执行此类操作。"}),C.jsx("li",{children:"订单信息——您可以在开邻智数中查阅您的订单记录、交易记录。如果您无法通过上述链接访问这些个人信息,您可以随时联系我们的客服。我们将尽快回复您的访问请求。"})]})]}),C.jsxs("div",{className:"level2-item",children:["6.3 更正您的个人信息",C.jsx("ul",{className:"level3-list",children:C.jsx("li",{children:"当您发现我们处理的关于您的个人信息有错误时,您有权要求我们做出更正。您可以通过上述“6.2 访问您的个人信息”中罗列的方式提出更正申请。"})})]}),C.jsxs("div",{className:"level2-item",children:["6.4 删除您的个人信息",C.jsxs("ul",{className:"level3-list",children:[C.jsx("li",{children:"在以下情形中,您可以向我们提出删除个人信息的请求:"}),C.jsx("li",{children:"如果我们处理个人信息的行为违反法律法规;"}),C.jsx("li",{children:"如果我们收集、使用您的个人信息,却未征得您的明确同意;"}),C.jsx("li",{children:"如果我们处理个人信息的行为严重违反了与您的约定;"}),C.jsx("li",{children:"如果您不再使用我们的产品或服务,或您主动注销了账号;"}),C.jsx("li",{children:"如果我们永久不再为您提供产品或服务。"}),C.jsx("li",{children:"若我们决定响应您的删除请求,我们还将同时尽可能通知从我们处获得您的个人信息的主体,要求其及时删除,除非法律法规另有规定,或这些主体获得您的独立授权。 当您从我们的服务中删除信息后,我们可能不会立即从备份系统中删除相应的信息,但会在备份更新时删除或匿名化处理这些信息。"})]})]}),C.jsxs("div",{className:"level2-item",children:["6.5 改变您授权同意的范围",C.jsxs("ul",{className:"level3-list",children:[C.jsx("li",{children:"每个业务功能需要一些基本的个人信息才能得以完成(见本隐私政策第二条)。除此之外,对于额外个人信息的收集和使用,您可以随时给予或收回您的授权同意。"}),C.jsx("li",{children:"您可以随时通过本政策第十条公示的联系方式联系我们,为保障安全,您可能需要提供书面请求,或以其他方式证明您的身份。我们可能会先要求您验证自己的身份,然后再处理您的请求。我们将在 30 天内回复您的改变授权同意或者不想接受我们给您发送的商业广告的请求。"}),C.jsx("li",{children:"当您收回同意后,我们将不再处理相应的个人信息。但您收回同意的决定,不会影响此前基于您的授权而开展的个人信息处理。 对于您合理的请求,我们原则上不收取费用,但对多次革复、超出合理限度的请求,我们将视情收取一定成本费用。对于无端重复、需要过多技术手段(例如,需要开发新系统或从根本上改变现行惯例)、给他人合法权益带来风险或者非常不切实际(例如,涉及备份磁带上存放的信息)的请求,我们可能会予以拒绝。"})]})]}),C.jsxs("div",{className:"level2-item",children:["6.6 在以下情形中,按照法律法规要求,我们将无法响应您的请求:",C.jsxs("ul",{className:"level3-list",children:[C.jsx("li",{children:"与我们履行法律法规规定的义务相关的;"}),C.jsx("li",{children:"与国家安全、国防安全直接相关的;"}),C.jsx("li",{children:"与公共安全、公共卫生、亟大公共利益直接相关的;"}),C.jsx("li",{children:"与犯罪侦查、起诉、审判和判决执行等亘接相关的;"}),C.jsx("li",{children:"有充分证据表明您存在主观恶意或滥用权利的;"}),C.jsx("li",{children:"出于维护个您或其他个人的生命、财产等重大合法权益但又很难得到您本人同意的;"}),C.jsx("li",{children:"响应您的请求将导致您或其他个人、组织的合法权益受到严重损害的。"}),C.jsx("li",{children:"涉及商业秘密的。"})]})]}),C.jsx("div",{className:"level1-title",children:"七、如何使用 Cookie 及同类技术"}),C.jsxs("div",{className:"level2-item",children:["7.1 Cookie",C.jsx("ul",{className:"level3-list",children:C.jsx("li",{children:"Cookie 是一份网站可向您的浏览器发送的数据,之后可能以匿名标签的形式存储在您的计算机中,用以识别计算机信息。开邻智数部分页面会使用由开邻智数发送的 Cookies或其他技术,以便在您再次访问网站时提供更好的服务。您可以将浏览器设置成在收到 Cookies 之前通知您,让您有机会决定是否接受。您还可以将浏览器设置成关闭 Cookies。不过,如果您这样做,部分网站功能可能无法正常工作。"})})]}),C.jsxs("div",{className:"level2-item",children:["7.2 网站信标和像素",C.jsx("ul",{className:"level3-list",children:C.jsx("li",{children:"开邻智数网页可能包含称为“Web 信标”的电子图像(有时也称为单像素图像),便于我们统计访问了这些页面的用户数,并且提供联合品牌化服务。Web 信标是我们用来编制网站使用情况,相关合并统计数据的工具。Web 信标仅收集有限的信息集,包括 Cookie编号、页面查看时间与日期,以及 Web 信标所在的页面描述。"})})]}),C.jsx("div",{className:"level1-title",children:"八、未成年人权利保护"}),C.jsx("div",{className:"level2-item",children:"8.1 我们非常重视未成年人的个人信息保护。我们向企业级客户提供数据技术服务,我们不接受任何未成年人注册成为我们的用户,也不会主动收集未成年人的个人信息。受制于现有技术和业务模式,我们很难主动识别未成年人的信息,如果未成年人的监护人发现存在未经授权而收集未成年人个人信息,监护人可通知我们予以删除,如我们自己发现前述情形,我们也会主动予以删除。"}),C.jsxs("div",{className:"level2-item",children:["8.2 如涉及您的平台面向未成年人开放且有可能收集到未成年人个人信息,请您注意:",C.jsxs("ul",{className:"level3-list",children:[C.jsx("li",{children:"请您关注未成年人是否是在取得监护人的授权同意之后使用您的服务。"}),C.jsx("li",{children:"对于经父母或其他监护人同意使用我们的产品或服务而收集未成年人信息的情况,我们只会在法律法规允许、父母或其他监护人明确同意或者保护未成年人所必要 的情况下根据您的授权委托收集、使用、共享、转让或披露此信息。"})]})]}),C.jsx("div",{className:"level1-title",children:"九、数据的跨境转移"}),C.jsx("div",{className:"level2-item",children:"9.1 我们在中华人民共和国境内运营中收集和产生的数据将按照法律法规规定存储于中国境内,不会向境外转移。"}),C.jsx("div",{className:"level1-title",children:"十、本隐私政策的改动"}),C.jsx("div",{className:"level2-item",children:"10.1 为给您提供更好的服务,我们的业务将不时变化,本隐私政策也将随之调整。我们会通过在我们官网上发出更新版本或以其他方式提醒您相关内容的更新,也请您访问我们以便及时了解最新的隐私政策。在前述情况下,若您继续使用我们的服务,即表示同意接受修改后的本政策并受之约束。"}),C.jsx("div",{className:"level2-item",children:"10.2 未经您明确同意,我们不会削减您按照本隐私政策所应享有的权利。我们会在本页面上发布对本政策所做的任何变更。对于重大变更,我们还会提供更为显著的通知,您可以在开邻智数官网随时查看。"}),C.jsxs("div",{className:"level2-item",children:["10.3 本政策所指的重大变更包括但不限于:",C.jsxs("ul",{className:"level3-list",children:[C.jsx("li",{children:"我们的服务模式发生重大变化。如处理个人信息的目的、处理的个人信息类型、个人信息的使用方式等;"}),C.jsx("li",{children:"我们在所有权结构、组织架构等方面发生重大变化。如业务调整、破产并购等引起的所有者变更等;"}),C.jsx("li",{children:"个人信息共享、转让或公开披露的主要对象发生变化;"}),C.jsx("li",{children:"您参与个人信息处理方面的权利及其行使方式发生重大变化;"}),C.jsx("li",{children:"我们负责处理个人信息安全的责任部门、联络方式及投诉渠道发生变化时;"}),C.jsx("li",{children:"个人信息安全影响评估报告表明存在高风险时。我们还会将本政策的旧版本存档,供您查阅。"})]})]})]})]})}),rb=h.createContext({});function ib(e){const t=h.useRef(null);return t.current===null&&(t.current=e()),t.current}const Q5=typeof window<"u",mM=Q5?h.useLayoutEffect:h.useEffect,Mh=h.createContext(null);function ab(e,t){e.indexOf(t)===-1&&e.push(t)}function Nd(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const ti=(e,t,n)=>n>t?t:n<e?e:n;let ob=()=>{};const Ea={},pM=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function gM(e){return typeof e=="object"&&e!==null}const yM=e=>/^0[^.\s]+$/u.test(e);function vM(e){let t;return()=>(t===void 0&&(t=e()),t)}const sr=e=>e,Z5=(e,t)=>n=>t(e(n)),xu=(...e)=>e.reduce(Z5),Vc=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r};class sb{constructor(){this.subscriptions=[]}add(t){return ab(this.subscriptions,t),()=>Nd(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let a=0;a<i;a++){const o=this.subscriptions[a];o&&o(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Fn=e=>e*1e3,ir=e=>e/1e3;function bM(e,t){return t?e*(1e3/t):0}const xM=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,J5=1e-7,e6=12;function t6(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=xM(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>J5&&++s<e6);return o}function Su(e,t,n,r){if(e===t&&n===r)return sr;const i=a=>t6(a,0,1,e,n);return a=>a===0||a===1?a:xM(i(a),t,r)}const SM=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,CM=e=>t=>1-e(1-t),wM=Su(.33,1.53,.69,.99),lb=CM(wM),EM=SM(lb),AM=e=>e>=1?1:(e*=2)<1?.5*lb(e):.5*(2-Math.pow(2,-10*(e-1))),cb=e=>1-Math.sin(Math.acos(e)),TM=CM(cb),MM=SM(cb),n6=Su(.42,0,1,1),r6=Su(0,0,.58,1),RM=Su(.42,0,.58,1),i6=e=>Array.isArray(e)&&typeof e[0]!="number",OM=e=>Array.isArray(e)&&typeof e[0]=="number",a6={linear:sr,easeIn:n6,easeInOut:RM,easeOut:r6,circIn:cb,circInOut:MM,circOut:TM,backIn:lb,backInOut:EM,backOut:wM,anticipate:AM},o6=e=>typeof e=="string",h1=e=>{if(OM(e)){ob(e.length===4);const[t,n,r,i]=e;return Su(t,n,r,i)}else if(o6(e))return a6[e];return e},Qu=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function s6(e,t){let n=new Set,r=new Set,i=!1,a=!1;const o=new WeakSet;let s={delta:0,timestamp:0,isProcessing:!1};function l(u){o.has(u)&&(c.schedule(u),e()),u(s)}const c={schedule:(u,f=!1,d=!1)=>{const v=d&&i?n:r;return f&&o.add(u),v.add(u),u},cancel:u=>{r.delete(u),o.delete(u)},process:u=>{if(s=u,i){a=!0;return}i=!0;const f=n;n=r,r=f,n.forEach(l),n.clear(),i=!1,a&&(a=!1,c.process(u))}};return c}const l6=40;function $M(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,o=Qu.reduce((p,b)=>(p[b]=s6(a),p),{}),{setup:s,read:l,resolveKeyframes:c,preUpdate:u,update:f,preRender:d,render:m,postRender:v}=o,x=()=>{const p=Ea.useManualTiming,b=p?i.timestamp:performance.now();n=!1,p||(i.delta=r?1e3/60:Math.max(Math.min(b-i.timestamp,l6),1)),i.timestamp=b,i.isProcessing=!0,s.process(i),l.process(i),c.process(i),u.process(i),f.process(i),d.process(i),m.process(i),v.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(x))},S=()=>{n=!0,r=!0,i.isProcessing||e(x)};return{schedule:Qu.reduce((p,b)=>{const w=o[b];return p[b]=(A,E=!1,R=!1)=>(n||S(),w.schedule(A,E,R)),p},{}),cancel:p=>{for(let b=0;b<Qu.length;b++)o[Qu[b]].cancel(p)},state:i,steps:o}}const{schedule:Ie,cancel:Aa,state:kt,steps:Ym}=$M(typeof requestAnimationFrame<"u"?requestAnimationFrame:sr,!0);let zf;function c6(){zf=void 0}const fn={now:()=>(zf===void 0&&fn.set(kt.isProcessing||Ea.useManualTiming?kt.timestamp:performance.now()),zf),set:e=>{zf=e,queueMicrotask(c6)}},NM=e=>t=>typeof t=="string"&&t.startsWith(e),jM=NM("--"),u6=NM("var(--"),ub=e=>u6(e)?f6.test(e.split("/*")[0].trim()):!1,f6=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function m1(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const ll={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Hc={...ll,transform:e=>ti(0,1,e)},Zu={...ll,default:1},lc=e=>Math.round(e*1e5)/1e5,fb=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function d6(e){return e==null}const h6=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,db=(e,t)=>n=>!!(typeof n=="string"&&h6.test(n)&&n.startsWith(e)||t&&!d6(n)&&Object.prototype.hasOwnProperty.call(n,t)),DM=(e,t,n)=>r=>{if(typeof r!="string")return r;const[i,a,o,s]=r.match(fb);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s!==void 0?parseFloat(s):1}},m6=e=>ti(0,255,e),Wm={...ll,transform:e=>Math.round(m6(e))},eo={test:db("rgb","red"),parse:DM("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Wm.transform(e)+", "+Wm.transform(t)+", "+Wm.transform(n)+", "+lc(Hc.transform(r))+")"};function p6(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const ay={test:db("#"),parse:p6,transform:eo.transform},Cu=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Ii=Cu("deg"),Jr=Cu("%"),le=Cu("px"),g6=Cu("vh"),y6=Cu("vw"),p1={...Jr,parse:e=>Jr.parse(e)/100,transform:e=>Jr.transform(e*100)},gs={test:db("hsl","hue"),parse:DM("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Jr.transform(lc(t))+", "+Jr.transform(lc(n))+", "+lc(Hc.transform(r))+")"},gt={test:e=>eo.test(e)||ay.test(e)||gs.test(e),parse:e=>eo.test(e)?eo.parse(e):gs.test(e)?gs.parse(e):ay.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?eo.transform(e):gs.transform(e),getAnimatableNone:e=>{const t=gt.parse(e);return t.alpha=0,gt.transform(t)}},v6=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function b6(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(fb))==null?void 0:t.length)||0)+(((n=e.match(v6))==null?void 0:n.length)||0)>0}const zM="number",BM="color",x6="var",S6="var(",g1="${}",C6=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Gs(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let a=0;const s=t.replace(C6,l=>(gt.test(l)?(r.color.push(a),i.push(BM),n.push(gt.parse(l))):l.startsWith(S6)?(r.var.push(a),i.push(x6),n.push(l)):(r.number.push(a),i.push(zM),n.push(parseFloat(l))),++a,g1)).split(g1);return{values:n,split:s,indexes:r,types:i}}function w6(e){return Gs(e).values}function PM({split:e,types:t}){const n=e.length;return r=>{let i="";for(let a=0;a<n;a++)if(i+=e[a],r[a]!==void 0){const o=t[a];o===zM?i+=lc(r[a]):o===BM?i+=gt.transform(r[a]):i+=r[a]}return i}}function E6(e){return PM(Gs(e))}const A6=e=>typeof e=="number"?0:gt.test(e)?gt.getAnimatableNone(e):e,T6=(e,t)=>typeof e=="number"?t!=null&&t.trim().endsWith("/")?e:0:A6(e);function M6(e){const t=Gs(e);return PM(t)(t.values.map((r,i)=>T6(r,t.split[i])))}const Rr={test:b6,parse:w6,createTransformer:E6,getAnimatableNone:M6};function Km(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function R6({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,o=0;if(!t)i=a=o=n;else{const s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;i=Km(l,s,e+1/3),a=Km(l,s,e),o=Km(l,s,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}function jd(e,t){return n=>n>0?t:e}const et=(e,t,n)=>e+(t-e)*n,Qm=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},O6=[ay,eo,gs],$6=e=>O6.find(t=>t.test(e));function y1(e){const t=$6(e);if(!t)return!1;let n=t.parse(e);return t===gs&&(n=R6(n)),n}const v1=(e,t)=>{const n=y1(e),r=y1(t);if(!n||!r)return jd(e,t);const i={...n};return a=>(i.red=Qm(n.red,r.red,a),i.green=Qm(n.green,r.green,a),i.blue=Qm(n.blue,r.blue,a),i.alpha=et(n.alpha,r.alpha,a),eo.transform(i))},oy=new Set(["none","hidden"]);function N6(e,t){return oy.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function j6(e,t){return n=>et(e,t,n)}function hb(e){return typeof e=="number"?j6:typeof e=="string"?ub(e)?jd:gt.test(e)?v1:B6:Array.isArray(e)?LM:typeof e=="object"?gt.test(e)?v1:D6:jd}function LM(e,t){const n=[...e],r=n.length,i=e.map((a,o)=>hb(a)(a,t[o]));return a=>{for(let o=0;o<r;o++)n[o]=i[o](a);return n}}function D6(e,t){const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=hb(e[i])(e[i],t[i]));return i=>{for(const a in r)n[a]=r[a](i);return n}}function z6(e,t){const n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const a=t.types[i],o=e.indexes[a][r[a]],s=e.values[o]??0;n[i]=s,r[a]++}return n}const B6=(e,t)=>{const n=Rr.createTransformer(t),r=Gs(e),i=Gs(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?oy.has(e)&&!i.values.length||oy.has(t)&&!r.values.length?N6(e,t):xu(LM(z6(r,i),i.values),n):jd(e,t)};function _M(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?et(e,t,n):hb(e)(e,t)}const P6=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>Ie.update(t,n),stop:()=>Aa(t),now:()=>kt.isProcessing?kt.timestamp:fn.now()}},VM=(e,t,n=10)=>{let r="";const i=Math.max(Math.round(t/n),2);for(let a=0;a<i;a++)r+=Math.round(e(a/(i-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},Dd=2e4;function mb(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<Dd;)t+=n,r=e.next(t);return t>=Dd?1/0:t}function L6(e,t=100,n){const r=n({...e,keyframes:[0,t]}),i=Math.min(mb(r),Dd);return{type:"keyframes",ease:a=>r.next(i*a).value/t,duration:ir(i)}}const ut={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function sy(e,t){return e*Math.sqrt(1-t*t)}const _6=12;function V6(e,t,n){let r=n;for(let i=1;i<_6;i++)r=r-e(r)/t(r);return r}const Zm=.001;function H6({duration:e=ut.duration,bounce:t=ut.bounce,velocity:n=ut.velocity,mass:r=ut.mass}){let i,a,o=1-t;o=ti(ut.minDamping,ut.maxDamping,o),e=ti(ut.minDuration,ut.maxDuration,ir(e)),o<1?(i=c=>{const u=c*o,f=u*e,d=u-n,m=sy(c,o),v=Math.exp(-f);return Zm-d/m*v},a=c=>{const f=c*o*e,d=f*n+n,m=Math.pow(o,2)*Math.pow(c,2)*e,v=Math.exp(-f),x=sy(Math.pow(c,2),o);return(-i(c)+Zm>0?-1:1)*((d-m)*v)/x}):(i=c=>{const u=Math.exp(-c*e),f=(c-n)*e+1;return-Zm+u*f},a=c=>{const u=Math.exp(-c*e),f=(n-c)*(e*e);return u*f});const s=5/e,l=V6(i,a,s);if(e=Fn(e),isNaN(l))return{stiffness:ut.stiffness,damping:ut.damping,duration:e};{const c=Math.pow(l,2)*r;return{stiffness:c,damping:o*2*Math.sqrt(r*c),duration:e}}}const F6=["duration","bounce"],I6=["stiffness","damping","mass"];function b1(e,t){return t.some(n=>e[n]!==void 0)}function U6(e){let t={velocity:ut.velocity,stiffness:ut.stiffness,damping:ut.damping,mass:ut.mass,isResolvedFromDuration:!1,...e};if(!b1(e,I6)&&b1(e,F6))if(t.velocity=0,e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,a=2*ti(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:ut.mass,stiffness:i,damping:a}}else{const n=H6({...e,velocity:0});t={...t,...n,mass:ut.mass},t.isResolvedFromDuration=!0}return t}function zd(e=ut.visualDuration,t=ut.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:i}=n;const a=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],s={done:!1,value:a},{stiffness:l,damping:c,mass:u,duration:f,velocity:d,isResolvedFromDuration:m}=U6({...n,velocity:-ir(n.velocity||0)}),v=d||0,x=c/(2*Math.sqrt(l*u)),S=o-a,y=ir(Math.sqrt(l/u)),g=Math.abs(S)<5;r||(r=g?ut.restSpeed.granular:ut.restSpeed.default),i||(i=g?ut.restDelta.granular:ut.restDelta.default);let p,b,w,A,E,R;if(x<1)w=sy(y,x),A=(v+x*y*S)/w,p=M=>{const O=Math.exp(-x*y*M);return o-O*(A*Math.sin(w*M)+S*Math.cos(w*M))},E=x*y*A+S*w,R=x*y*S-A*w,b=M=>Math.exp(-x*y*M)*(E*Math.sin(w*M)+R*Math.cos(w*M));else if(x===1){p=O=>o-Math.exp(-y*O)*(S+(v+y*S)*O);const M=v+y*S;b=O=>Math.exp(-y*O)*(y*M*O-v)}else{const M=y*Math.sqrt(x*x-1);p=P=>{const j=Math.exp(-x*y*P),$=Math.min(M*P,300);return o-j*((v+x*y*S)*Math.sinh($)+M*S*Math.cosh($))/M};const O=(v+x*y*S)/M,N=x*y*O-S*M,z=x*y*S-O*M;b=P=>{const j=Math.exp(-x*y*P),$=Math.min(M*P,300);return j*(N*Math.sinh($)+z*Math.cosh($))}}const T={calculatedDuration:m&&f||null,velocity:M=>Fn(b(M)),next:M=>{if(!m&&x<1){const N=Math.exp(-x*y*M),z=Math.sin(w*M),P=Math.cos(w*M),j=o-N*(A*z+S*P),$=Fn(N*(E*z+R*P));return s.done=Math.abs($)<=r&&Math.abs(o-j)<=i,s.value=s.done?o:j,s}const O=p(M);if(m)s.done=M>=f;else{const N=Fn(b(M));s.done=Math.abs(N)<=r&&Math.abs(o-O)<=i}return s.value=s.done?o:O,s},toString:()=>{const M=Math.min(mb(T),Dd),O=VM(N=>T.next(M*N).value,M,30);return M+"ms "+O},toTransition:()=>{}};return T}zd.applyToOptions=e=>{const t=L6(e,100,zd);return e.ease=t.ease,e.duration=Fn(t.duration),e.type="keyframes",e};const q6=5;function HM(e,t,n){const r=Math.max(t-q6,0);return bM(n-e(r),t-r)}function ly({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:o,min:s,max:l,restDelta:c=.5,restSpeed:u}){const f=e[0],d={done:!1,value:f},m=R=>s!==void 0&&R<s||l!==void 0&&R>l,v=R=>s===void 0?l:l===void 0||Math.abs(s-R)<Math.abs(l-R)?s:l;let x=n*t;const S=f+x,y=o===void 0?S:o(S);y!==S&&(x=y-f);const g=R=>-x*Math.exp(-R/r),p=R=>y+g(R),b=R=>{const T=g(R),M=p(R);d.done=Math.abs(T)<=c,d.value=d.done?y:M};let w,A;const E=R=>{m(d.value)&&(w=R,A=zd({keyframes:[d.value,v(d.value)],velocity:HM(p,R,d.value),damping:i,stiffness:a,restDelta:c,restSpeed:u}))};return E(0),{calculatedDuration:null,next:R=>{let T=!1;return!A&&w===void 0&&(T=!0,b(R),E(R)),w!==void 0&&R>=w?A.next(R-w):(!T&&b(R),d)}}}function G6(e,t,n){const r=[],i=n||Ea.mix||_M,a=e.length-1;for(let o=0;o<a;o++){let s=i(e[o],e[o+1]);if(t){const l=Array.isArray(t)?t[o]||sr:t;s=xu(l,s)}r.push(s)}return r}function k6(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const a=e.length;if(ob(a===t.length),a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];const o=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=G6(t,r,i),l=s.length,c=u=>{if(o&&u<e[0])return t[0];let f=0;if(l>1)for(;f<e.length-2&&!(u<e[f+1]);f++);const d=Vc(e[f],e[f+1],u);return s[f](d)};return n?u=>c(ti(e[0],e[a-1],u)):c}function X6(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=Vc(0,t,r);e.push(et(n,1,i))}}function Y6(e){const t=[0];return X6(t,e.length-1),t}function W6(e,t){return e.map(n=>n*t)}function K6(e,t){return e.map(()=>t||RM).splice(0,e.length-1)}function cc({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=i6(r)?r.map(h1):h1(r),a={done:!1,value:t[0]},o=W6(n&&n.length===t.length?n:Y6(t),e),s=k6(o,t,{ease:Array.isArray(i)?i:K6(t,i)});return{calculatedDuration:e,next:l=>(a.value=s(l),a.done=l>=e,a)}}const Q6=e=>e!==null;function Rh(e,{repeat:t,repeatType:n="loop"},r,i=1){const a=e.filter(Q6),s=i<0||t&&n!=="loop"&&t%2===1?0:a.length-1;return!s||r===void 0?a[s]:r}const Z6={decay:ly,inertia:ly,tween:cc,keyframes:cc,spring:zd};function FM(e){typeof e.type=="string"&&(e.type=Z6[e.type])}class pb{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const J6=e=>e/100;class Bd extends pb{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{var r,i;const{motionValue:n}=this.options;n&&n.updatedAt!==fn.now()&&this.tick(fn.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(i=(r=this.options).onStop)==null||i.call(r))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;FM(t);const{type:n=cc,repeat:r=0,repeatDelay:i=0,repeatType:a,velocity:o=0}=t;let{keyframes:s}=t;const l=n||cc;l!==cc&&typeof s[0]!="number"&&(this.mixKeyframes=xu(J6,_M(s[0],s[1])),s=[0,100]);const c=l({...t,keyframes:s});a==="mirror"&&(this.mirroredGenerator=l({...t,keyframes:[...s].reverse(),velocity:-o})),c.calculatedDuration===null&&(c.calculatedDuration=mb(c));const{calculatedDuration:u}=c;this.calculatedDuration=u,this.resolvedDuration=u+i,this.totalDuration=this.resolvedDuration*(r+1)-i,this.generator=c}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:r,totalDuration:i,mixKeyframes:a,mirroredGenerator:o,resolvedDuration:s,calculatedDuration:l}=this;if(this.startTime===null)return r.next(0);const{delay:c=0,keyframes:u,repeat:f,repeatType:d,repeatDelay:m,type:v,onUpdate:x,finalKeyframe:S}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const y=this.currentTime-c*(this.playbackSpeed>=0?1:-1),g=this.playbackSpeed>=0?y<0:y>i;this.currentTime=Math.max(y,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let p=this.currentTime,b=r;if(f){const R=Math.min(this.currentTime,i)/s;let T=Math.floor(R),M=R%1;!M&&R>=1&&(M=1),M===1&&T--,T=Math.min(T,f+1),!!(T%2)&&(d==="reverse"?(M=1-M,m&&(M-=m/s)):d==="mirror"&&(b=o)),p=ti(0,1,M)*s}let w;g?(this.delayState.value=u[0],w=this.delayState):w=b.next(p),a&&!g&&(w.value=a(w.value));let{done:A}=w;!g&&l!==null&&(A=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const E=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&A);return E&&v!==ly&&(w.value=Rh(u,this.options,S,this.speed)),x&&x(w.value),E&&this.finish(),w}then(t,n){return this.finished.then(t,n)}get duration(){return ir(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+ir(t)}get time(){return ir(this.currentTime)}set time(t){t=Fn(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){const t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);const n=this.generator.next(t).value;return HM(r=>this.generator.next(r).value,t,n)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;n&&this.driver&&this.updateTime(fn.now()),this.playbackSpeed=t,n&&this.driver&&(this.time=ir(this.currentTime))}play(){var i,a;if(this.isStopped)return;const{driver:t=P6,startTime:n}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),(a=(i=this.options).onPlay)==null||a.call(i);const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(fn.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var t,n;this.notifyFinished(),this.teardown(),this.state="finished",(n=(t=this.options).onComplete)==null||n.call(t)}cancel(){var t,n;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(n=(t=this.options).onCancel)==null||n.call(t)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){var n;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(n=this.driver)==null||n.stop(),t.observe(this)}}function ez(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const to=e=>e*180/Math.PI,cy=e=>{const t=to(Math.atan2(e[1],e[0]));return uy(t)},tz={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:cy,rotateZ:cy,skewX:e=>to(Math.atan(e[1])),skewY:e=>to(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},uy=e=>(e=e%360,e<0&&(e+=360),e),x1=cy,S1=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),C1=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),nz={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:S1,scaleY:C1,scale:e=>(S1(e)+C1(e))/2,rotateX:e=>uy(to(Math.atan2(e[6],e[5]))),rotateY:e=>uy(to(Math.atan2(-e[2],e[0]))),rotateZ:x1,rotate:x1,skewX:e=>to(Math.atan(e[4])),skewY:e=>to(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function fy(e){return e.includes("scale")?1:0}function dy(e,t){if(!e||e==="none")return fy(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,i;if(n)r=nz,i=n;else{const s=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=tz,i=s}if(!i)return fy(t);const a=r[t],o=i[1].split(",").map(iz);return typeof a=="function"?a(o):o[a]}const rz=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return dy(n,t)};function iz(e){return parseFloat(e.trim())}const cl=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ul=new Set(cl),w1=e=>e===ll||e===le,az=new Set(["x","y","z"]),oz=cl.filter(e=>!az.has(e));function sz(e){const t=[];return oz.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const ia={width:({x:e},{paddingLeft:t="0",paddingRight:n="0",boxSizing:r})=>{const i=e.max-e.min;return r==="border-box"?i:i-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t="0",paddingBottom:n="0",boxSizing:r})=>{const i=e.max-e.min;return r==="border-box"?i:i-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>dy(t,"x"),y:(e,{transform:t})=>dy(t,"y")};ia.translateX=ia.x;ia.translateY=ia.y;const uo=new Set;let hy=!1,my=!1,py=!1;function IM(){if(my){const e=Array.from(uo).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=sz(r);i.length&&(n.set(r,i),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const i=n.get(r);i&&i.forEach(([a,o])=>{var s;(s=r.getValue(a))==null||s.set(o)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}my=!1,hy=!1,uo.forEach(e=>e.complete(py)),uo.clear()}function UM(){uo.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(my=!0)})}function lz(){py=!0,UM(),IM(),py=!1}class gb{constructor(t,n,r,i,a,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=i,this.element=a,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(uo.add(this),hy||(hy=!0,Ie.read(UM),Ie.resolveKeyframes(IM))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:i}=this;if(t[0]===null){const a=i==null?void 0:i.get(),o=t[t.length-1];if(a!==void 0)t[0]=a;else if(r&&n){const s=r.readValue(n,o);s!=null&&(t[0]=s)}t[0]===void 0&&(t[0]=o),i&&a===void 0&&i.set(t[0])}ez(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),uo.delete(this)}cancel(){this.state==="scheduled"&&(uo.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const cz=e=>e.startsWith("--");function qM(e,t,n){cz(t)?e.style.setProperty(t,n):e.style[t]=n}const uz={};function GM(e,t){const n=vM(e);return()=>uz[t]??n()}const fz=GM(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),kM=GM(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Il=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,E1={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Il([0,.65,.55,1]),circOut:Il([.55,0,1,.45]),backIn:Il([.31,.01,.66,-.59]),backOut:Il([.33,1.53,.69,.99])};function XM(e,t){if(e)return typeof e=="function"?kM()?VM(e,t):"ease-out":OM(e)?Il(e):Array.isArray(e)?e.map(n=>XM(n,t)||E1.easeOut):E1[e]}function dz(e,t,n,{delay:r=0,duration:i=300,repeat:a=0,repeatType:o="loop",ease:s="easeOut",times:l}={},c=void 0){const u={[t]:n};l&&(u.offset=l);const f=XM(s,i);Array.isArray(f)&&(u.easing=f);const d={delay:r,duration:i,easing:Array.isArray(f)?"linear":f,fill:"both",iterations:a+1,direction:o==="reverse"?"alternate":"normal"};return c&&(d.pseudoElement=c),e.animate(u,d)}function YM(e){return typeof e=="function"&&"applyToOptions"in e}function hz({type:e,...t}){return YM(e)&&kM()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class WM extends pb{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:n,name:r,keyframes:i,pseudoElement:a,allowFlatten:o=!1,finalKeyframe:s,onComplete:l}=t;this.isPseudoElement=!!a,this.allowFlatten=o,this.options=t,ob(typeof t.type!="string");const c=hz(t);this.animation=dz(n,r,i,c,a),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!a){const u=Rh(i,this.options,s,this.speed);this.updateMotionValue&&this.updateMotionValue(u),qM(n,r,u),this.animation.cancel()}l==null||l(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,n;(n=(t=this.animation).finish)==null||n.call(t)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var n,r,i;const t=(n=this.options)==null?void 0:n.element;!this.isPseudoElement&&(t!=null&&t.isConnected)&&((i=(r=this.animation).commitStyles)==null||i.call(r))}get duration(){var n,r;const t=((r=(n=this.animation.effect)==null?void 0:n.getComputedTiming)==null?void 0:r.call(n).duration)||0;return ir(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+ir(t)}get time(){return ir(Number(this.animation.currentTime)||0)}set time(t){const n=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Fn(t),n&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:n,rangeEnd:r,observe:i}){var a;return this.allowFlatten&&((a=this.animation.effect)==null||a.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&fz()?(this.animation.timeline=t,n&&(this.animation.rangeStart=n),r&&(this.animation.rangeEnd=r),sr):i(this)}}const KM={anticipate:AM,backInOut:EM,circInOut:MM};function mz(e){return e in KM}function pz(e){typeof e.ease=="string"&&mz(e.ease)&&(e.ease=KM[e.ease])}const Jm=10;class gz extends WM{constructor(t){pz(t),FM(t),super(t),t.startTime!==void 0&&t.autoplay!==!1&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:i,element:a,...o}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const s=new Bd({...o,autoplay:!1}),l=Math.max(Jm,fn.now()-this.startTime),c=ti(0,Jm,l-Jm),u=s.sample(l).value,{name:f}=this.options;a&&f&&qM(a,f,u),n.setWithVelocity(s.sample(Math.max(0,l-c)).value,u,c),s.stop()}}const A1=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Rr.test(e)||e==="0")&&!e.startsWith("url("));function yz(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function vz(e,t,n,r){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const a=e[e.length-1],o=A1(i,t),s=A1(a,t);return!o||!s?!1:yz(e)||(n==="spring"||YM(n))&&r}function gy(e){e.duration=0,e.type="keyframes"}const QM=new Set(["opacity","clipPath","filter","transform"]),bz=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function xz(e){for(let t=0;t<e.length;t++)if(typeof e[t]=="string"&&bz.test(e[t]))return!0;return!1}const Sz=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),Cz=vM(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function wz(e){var f;const{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:a,type:o,keyframes:s}=e;if(!(((f=t==null?void 0:t.owner)==null?void 0:f.current)instanceof HTMLElement))return!1;const{onUpdate:c,transformTemplate:u}=t.owner.getProps();return Cz()&&n&&(QM.has(n)||Sz.has(n)&&xz(s))&&(n!=="transform"||!u)&&!c&&!r&&i!=="mirror"&&a!==0&&o!=="inertia"}const Ez=40;class Az extends pb{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:i=0,repeatDelay:a=0,repeatType:o="loop",keyframes:s,name:l,motionValue:c,element:u,...f}){var v;super(),this.stop=()=>{var x,S;this._animation&&(this._animation.stop(),(x=this.stopTimeline)==null||x.call(this)),(S=this.keyframeResolver)==null||S.cancel()},this.createdAt=fn.now();const d={autoplay:t,delay:n,type:r,repeat:i,repeatDelay:a,repeatType:o,name:l,motionValue:c,element:u,...f},m=(u==null?void 0:u.KeyframeResolver)||gb;this.keyframeResolver=new m(s,(x,S,y)=>this.onKeyframesResolved(x,S,d,!y),l,c,u),(v=this.keyframeResolver)==null||v.scheduleResolve()}onKeyframesResolved(t,n,r,i){var y,g;this.keyframeResolver=void 0;const{name:a,type:o,velocity:s,delay:l,isHandoff:c,onUpdate:u}=r;this.resolvedAt=fn.now();let f=!0;vz(t,a,o,s)||(f=!1,(Ea.instantAnimations||!l)&&(u==null||u(Rh(t,r,n))),t[0]=t[t.length-1],gy(r),r.repeat=0);const m={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>Ez?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},v=f&&!c&&wz(m),x=(g=(y=m.motionValue)==null?void 0:y.owner)==null?void 0:g.current;let S;if(v)try{S=new gz({...m,element:x})}catch{S=new Bd(m)}else S=new Bd(m);S.finished.then(()=>{this.notifyFinished()}).catch(sr),this.pendingTimeline&&(this.stopTimeline=S.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=S}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){var t;return this._animation||((t=this.keyframeResolver)==null||t.resume(),lz()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var t;this._animation&&this.animation.cancel(),(t=this.keyframeResolver)==null||t.cancel()}}function ZM(e,t,n,r=0,i=1){const a=Array.from(e).sort((c,u)=>c.sortNodePosition(u)).indexOf(t),o=e.size,s=(o-1)*r;return typeof n=="function"?n(a,o):i===1?a*r:s-a*r}const Tz=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Mz(e){const t=Tz.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}function JM(e,t,n=1){const[r,i]=Mz(e);if(!r)return;const a=window.getComputedStyle(t).getPropertyValue(r);if(a){const o=a.trim();return pM(o)?parseFloat(o):o}return ub(i)?JM(i,t,n+1):i}const Rz={type:"spring",stiffness:500,damping:25,restSpeed:10},Oz=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),$z={type:"keyframes",duration:.8},Nz={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},jz=(e,{keyframes:t})=>t.length>2?$z:ul.has(e)?e.startsWith("scale")?Oz(t[1]):Rz:Nz;function eR(e,t){if(e!=null&&e.inherit&&t){const{inherit:n,...r}=e;return{...t,...r}}return e}function yb(e,t){const n=(e==null?void 0:e[t])??(e==null?void 0:e.default)??e;return n!==e?eR(n,e):n}const Dz=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function zz(e){for(const t in e)if(!Dz.has(t))return!0;return!1}const vb=(e,t,n,r={},i,a)=>o=>{const s=yb(r,e)||{},l=s.delay||r.delay||0;let{elapsed:c=0}=r;c=c-Fn(l);const u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...s,delay:-c,onUpdate:d=>{t.set(d),s.onUpdate&&s.onUpdate(d)},onComplete:()=>{o(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:a?void 0:i};zz(s)||Object.assign(u,jz(e,u)),u.duration&&(u.duration=Fn(u.duration)),u.repeatDelay&&(u.repeatDelay=Fn(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let f=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(gy(u),u.delay===0&&(f=!0)),(Ea.instantAnimations||Ea.skipAnimations||i!=null&&i.shouldSkipAnimations)&&(f=!0,gy(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,f&&!a&&t.get()!==void 0){const d=Rh(u.keyframes,s);if(d!==void 0){Ie.update(()=>{u.onUpdate(d),u.onComplete()});return}}return s.isSync?new Bd(u):new Az(u)};function T1(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function bb(e,t,n,r){if(typeof t=="function"){const[i,a]=T1(r);t=t(n!==void 0?n:e.custom,i,a)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[i,a]=T1(r);t=t(n!==void 0?n:e.custom,i,a)}return t}function fo(e,t,n){const r=e.getProps();return bb(r,t,n!==void 0?n:r.custom,e)}const tR=new Set(["width","height","top","left","right","bottom",...cl]),M1=30,Bz=e=>!isNaN(parseFloat(e));class Pz{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{var a;const i=fn.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&((a=this.events.change)==null||a.notify(this.current),this.dependents))for(const o of this.dependents)o.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=fn.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=Bz(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new sb);const r=this.events[t].add(n);return t==="change"?()=>{r(),Ie.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var t;(t=this.events.change)==null||t.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=fn.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>M1)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,M1);return bM(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var t,n;(t=this.dependents)==null||t.clear(),(n=this.events.destroy)==null||n.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ks(e,t){return new Pz(e,t)}const yy=e=>Array.isArray(e);function Lz(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,ks(n))}function _z(e){return yy(e)?e[e.length-1]||0:e}function Vz(e,t){const n=fo(e,t);let{transitionEnd:r={},transition:i={},...a}=n||{};a={...a,...r};for(const o in a){const s=_z(a[o]);Lz(e,o,s)}}const Zt=e=>!!(e&&e.getVelocity);function Hz(e){return!!(Zt(e)&&e.add)}function vy(e,t){const n=e.getValue("willChange");if(Hz(n))return n.add(t);if(!n&&Ea.WillChange){const r=new Ea.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function xb(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const Fz="framerAppearId",nR="data-"+xb(Fz);function rR(e){return e.props[nR]}function Iz({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function iR(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a,transitionEnd:o,...s}=t;const l=e.getDefaultTransition();a=a?eR(a,l):l;const c=a==null?void 0:a.reduceMotion;r&&(a=r);const u=[],f=i&&e.animationState&&e.animationState.getState()[i];for(const d in s){const m=e.getValue(d,e.latestValues[d]??null),v=s[d];if(v===void 0||f&&Iz(f,d))continue;const x={delay:n,...yb(a||{},d)},S=m.get();if(S!==void 0&&!m.isAnimating()&&!Array.isArray(v)&&v===S&&!x.velocity){Ie.update(()=>m.set(v));continue}let y=!1;if(window.MotionHandoffAnimation){const b=rR(e);if(b){const w=window.MotionHandoffAnimation(b,d,Ie);w!==null&&(x.startTime=w,y=!0)}}vy(e,d);const g=c??e.shouldReduceMotion;m.start(vb(d,m,v,g&&tR.has(d)?{type:!1}:x,e,y));const p=m.animation;p&&u.push(p)}if(o){const d=()=>Ie.update(()=>{o&&Vz(e,o)});u.length?Promise.all(u).then(d):d()}return u}function by(e,t,n={}){var l;const r=fo(e,t,n.type==="exit"?(l=e.presenceContext)==null?void 0:l.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const a=r?()=>Promise.all(iR(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(c=0)=>{const{delayChildren:u=0,staggerChildren:f,staggerDirection:d}=i;return Uz(e,t,c,u,f,d,n)}:()=>Promise.resolve(),{when:s}=i;if(s){const[c,u]=s==="beforeChildren"?[a,o]:[o,a];return c().then(()=>u())}else return Promise.all([a(),o(n.delay)])}function Uz(e,t,n=0,r=0,i=0,a=1,o){const s=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),s.push(by(l,t,{...o,delay:n+(typeof r=="function"?0:r)+ZM(e.variantChildren,l,r,i,a)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(s)}function qz(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(a=>by(e,a,n));r=Promise.all(i)}else if(typeof t=="string")r=by(e,t,n);else{const i=typeof t=="function"?fo(e,t,n.custom):t;r=Promise.all(iR(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const Gz={test:e=>e==="auto",parse:e=>e},aR=e=>t=>t.test(e),oR=[ll,le,Jr,Ii,y6,g6,Gz],R1=e=>oR.find(aR(e));function kz(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||yM(e):!0}const Xz=new Set(["brightness","contrast","saturate","opacity"]);function Yz(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(fb)||[];if(!r)return e;const i=n.replace(r,"");let a=Xz.has(t)?1:0;return r!==n&&(a*=100),t+"("+a+i+")"}const Wz=/\b([a-z-]*)\(.*?\)/gu,xy={...Rr,getAnimatableNone:e=>{const t=e.match(Wz);return t?t.map(Yz).join(" "):e}},Sy={...Rr,getAnimatableNone:e=>{const t=Rr.parse(e);return Rr.createTransformer(e)(t.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}},O1={...ll,transform:Math.round},Kz={rotate:Ii,rotateX:Ii,rotateY:Ii,rotateZ:Ii,scale:Zu,scaleX:Zu,scaleY:Zu,scaleZ:Zu,skew:Ii,skewX:Ii,skewY:Ii,distance:le,translateX:le,translateY:le,translateZ:le,x:le,y:le,z:le,perspective:le,transformPerspective:le,opacity:Hc,originX:p1,originY:p1,originZ:le},Sb={borderWidth:le,borderTopWidth:le,borderRightWidth:le,borderBottomWidth:le,borderLeftWidth:le,borderRadius:le,borderTopLeftRadius:le,borderTopRightRadius:le,borderBottomRightRadius:le,borderBottomLeftRadius:le,width:le,maxWidth:le,height:le,maxHeight:le,top:le,right:le,bottom:le,left:le,inset:le,insetBlock:le,insetBlockStart:le,insetBlockEnd:le,insetInline:le,insetInlineStart:le,insetInlineEnd:le,padding:le,paddingTop:le,paddingRight:le,paddingBottom:le,paddingLeft:le,paddingBlock:le,paddingBlockStart:le,paddingBlockEnd:le,paddingInline:le,paddingInlineStart:le,paddingInlineEnd:le,margin:le,marginTop:le,marginRight:le,marginBottom:le,marginLeft:le,marginBlock:le,marginBlockStart:le,marginBlockEnd:le,marginInline:le,marginInlineStart:le,marginInlineEnd:le,fontSize:le,backgroundPositionX:le,backgroundPositionY:le,...Kz,zIndex:O1,fillOpacity:Hc,strokeOpacity:Hc,numOctaves:O1},Qz={...Sb,color:gt,backgroundColor:gt,outlineColor:gt,fill:gt,stroke:gt,borderColor:gt,borderTopColor:gt,borderRightColor:gt,borderBottomColor:gt,borderLeftColor:gt,filter:xy,WebkitFilter:xy,mask:Sy,WebkitMask:Sy},sR=e=>Qz[e],Zz=new Set([xy,Sy]);function lR(e,t){let n=sR(e);return Zz.has(n)||(n=Rr),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Jz=new Set(["auto","none","0"]);function eB(e,t,n){let r=0,i;for(;r<e.length&&!i;){const a=e[r];typeof a=="string"&&!Jz.has(a)&&Gs(a).values.length&&(i=e[r]),r++}if(i&&n)for(const a of t)e[a]=lR(n,i)}class tB extends gb{constructor(t,n,r,i,a){super(t,n,r,i,a,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let u=0;u<t.length;u++){let f=t[u];if(typeof f=="string"&&(f=f.trim(),ub(f))){const d=JM(f,n.current);d!==void 0&&(t[u]=d),u===t.length-1&&(this.finalKeyframe=f)}}if(this.resolveNoneKeyframes(),!tR.has(r)||t.length!==2)return;const[i,a]=t,o=R1(i),s=R1(a),l=m1(i),c=m1(a);if(l!==c&&ia[r]){this.needsMeasurement=!0;return}if(o!==s)if(w1(o)&&w1(s))for(let u=0;u<t.length;u++){const f=t[u];typeof f=="string"&&(t[u]=parseFloat(f))}else ia[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let i=0;i<t.length;i++)(t[i]===null||kz(t[i]))&&r.push(i);r.length&&eB(t,r,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ia[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&t.getValue(r,i).jump(i,!1)}measureEndState(){var s;const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const i=t.getValue(n);i&&i.jump(this.measuredOrigin,!1);const a=r.length-1,o=r[a];r[a]=ia[n](t.measureViewportBox(),window.getComputedStyle(t.current)),o!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=o),(s=this.removedTransforms)!=null&&s.length&&this.removedTransforms.forEach(([l,c])=>{t.getValue(l).set(c)}),this.resolveNoneKeyframes()}}function cR(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){let r=document;const i=(n==null?void 0:n[e])??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(r=>r!=null)}const uR=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function Bf(e){return gM(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const{schedule:Cb}=$M(queueMicrotask,!1),wr={x:!1,y:!1};function fR(){return wr.x||wr.y}function nB(e){return e==="x"||e==="y"?wr[e]?null:(wr[e]=!0,()=>{wr[e]=!1}):wr.x||wr.y?null:(wr.x=wr.y=!0,()=>{wr.x=wr.y=!1})}function dR(e,t){const n=cR(e),r=new AbortController,i={passive:!0,...t,signal:r.signal};return[n,i,()=>r.abort()]}function rB(e){return!(e.pointerType==="touch"||fR())}function iB(e,t,n={}){const[r,i,a]=dR(e,n);return r.forEach(o=>{let s=!1,l=!1,c;const u=()=>{o.removeEventListener("pointerleave",v)},f=S=>{c&&(c(S),c=void 0),u()},d=S=>{s=!1,window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",d),l&&(l=!1,f(S))},m=()=>{s=!0,window.addEventListener("pointerup",d,i),window.addEventListener("pointercancel",d,i)},v=S=>{if(S.pointerType!=="touch"){if(s){l=!0;return}f(S)}},x=S=>{if(!rB(S))return;l=!1;const y=t(o,S);typeof y=="function"&&(c=y,o.addEventListener("pointerleave",v,i))};o.addEventListener("pointerenter",x,i),o.addEventListener("pointerdown",m,i)}),a}const hR=(e,t)=>t?e===t?!0:hR(e,t.parentElement):!1,wb=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,aB=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function oB(e){return aB.has(e.tagName)||e.isContentEditable===!0}const sB=new Set(["INPUT","SELECT","TEXTAREA"]);function lB(e){return sB.has(e.tagName)||e.isContentEditable===!0}const Pf=new WeakSet;function $1(e){return t=>{t.key==="Enter"&&e(t)}}function ep(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const cB=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=$1(()=>{if(Pf.has(n))return;ep(n,"down");const i=$1(()=>{ep(n,"up")}),a=()=>ep(n,"cancel");n.addEventListener("keyup",i,t),n.addEventListener("blur",a,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function N1(e){return wb(e)&&!fR()}const j1=new WeakSet;function uB(e,t,n={}){const[r,i,a]=dR(e,n),o=s=>{const l=s.currentTarget;if(!N1(s)||j1.has(s))return;Pf.add(l),n.stopPropagation&&j1.add(s);const c=t(l,s),u=(m,v)=>{window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",d),Pf.has(l)&&Pf.delete(l),N1(m)&&typeof c=="function"&&c(m,{success:v})},f=m=>{u(m,l===window||l===document||n.useGlobalTarget||hR(l,m.target))},d=m=>{u(m,!1)};window.addEventListener("pointerup",f,i),window.addEventListener("pointercancel",d,i)};return r.forEach(s=>{(n.useGlobalTarget?window:s).addEventListener("pointerdown",o,i),Bf(s)&&(s.addEventListener("focus",c=>cB(c,i)),!oB(s)&&!s.hasAttribute("tabindex")&&(s.tabIndex=0))}),a}function Eb(e){return gM(e)&&"ownerSVGElement"in e}const Lf=new WeakMap;let Ui;const mR=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+"Size"]:Eb(r)&&"getBBox"in r?r.getBBox()[t]:r[n],fB=mR("inline","width","offsetWidth"),dB=mR("block","height","offsetHeight");function hB({target:e,borderBoxSize:t}){var n;(n=Lf.get(e))==null||n.forEach(r=>{r(e,{get width(){return fB(e,t)},get height(){return dB(e,t)}})})}function mB(e){e.forEach(hB)}function pB(){typeof ResizeObserver>"u"||(Ui=new ResizeObserver(mB))}function gB(e,t){Ui||pB();const n=cR(e);return n.forEach(r=>{let i=Lf.get(r);i||(i=new Set,Lf.set(r,i)),i.add(t),Ui==null||Ui.observe(r)}),()=>{n.forEach(r=>{const i=Lf.get(r);i==null||i.delete(t),i!=null&&i.size||Ui==null||Ui.unobserve(r)})}}const _f=new Set;let ys;function yB(){ys=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};_f.forEach(t=>t(e))},window.addEventListener("resize",ys)}function vB(e){return _f.add(e),ys||yB(),()=>{_f.delete(e),!_f.size&&typeof ys=="function"&&(window.removeEventListener("resize",ys),ys=void 0)}}function D1(e,t){return typeof e=="function"?vB(e):gB(e,t)}function bB(e){return Eb(e)&&e.tagName==="svg"}const xB=[...oR,gt,Rr],SB=e=>xB.find(aR(e)),z1=()=>({translate:0,scale:1,origin:0,originPoint:0}),vs=()=>({x:z1(),y:z1()}),B1=()=>({min:0,max:0}),Tt=()=>({x:B1(),y:B1()}),CB=new WeakMap;function Oh(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Fc(e){return typeof e=="string"||Array.isArray(e)}const Ab=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Tb=["initial",...Ab];function $h(e){return Oh(e.animate)||Tb.some(t=>Fc(e[t]))}function pR(e){return!!($h(e)||e.variants)}function wB(e,t,n){for(const r in t){const i=t[r],a=n[r];if(Zt(i))e.addValue(r,i);else if(Zt(a))e.addValue(r,ks(i,{owner:e}));else if(a!==i)if(e.hasValue(r)){const o=e.getValue(r);o.liveStyle===!0?o.jump(i):o.hasAnimated||o.set(i)}else{const o=e.getStaticValue(r);e.addValue(r,ks(o!==void 0?o:i,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const Cy={current:null},gR={current:!1},EB=typeof window<"u";function AB(){if(gR.current=!0,!!EB)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Cy.current=e.matches;e.addEventListener("change",t),t()}else Cy.current=!1}const P1=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Pd={};function yR(e){Pd=e}function TB(){return Pd}class MB{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,skipAnimations:a,blockInitialAnimation:o,visualState:s},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=gb,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const m=fn.now();this.renderScheduledAt<m&&(this.renderScheduledAt=m,Ie.render(this.render,!1,!0))};const{latestValues:c,renderState:u}=s;this.latestValues=c,this.baseTarget={...c},this.initialValues=n.initial?{...c}:{},this.renderState=u,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.skipAnimationsConfig=a,this.options=l,this.blockInitialAnimation=!!o,this.isControllingVariants=$h(n),this.isVariantNode=pR(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:f,...d}=this.scrapeMotionValuesFromProps(n,{},this);for(const m in d){const v=d[m];c[m]!==void 0&&Zt(v)&&v.set(c[m])}}mount(t){var n,r;if(this.hasBeenMounted)for(const i in this.initialValues)(n=this.values.get(i))==null||n.jump(this.initialValues[i]),this.latestValues[i]=this.initialValues[i];this.current=t,CB.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((i,a)=>this.bindToMotionValue(a,i)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(gR.current||AB(),this.shouldReduceMotion=Cy.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(r=this.parent)==null||r.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var t;this.projection&&this.projection.unmount(),Aa(this.notifyUpdate),Aa(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(t=this.parent)==null||t.removeChild(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const r=this.features[n];r&&(r.unmount(),r.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),n.accelerate&&QM.has(t)&&this.current instanceof HTMLElement){const{factory:o,keyframes:s,times:l,ease:c,duration:u}=n.accelerate,f=new WM({element:this.current,name:t,keyframes:s,times:l,ease:c,duration:Fn(u)}),d=o(f);this.valueSubscriptions.set(t,()=>{d(),f.cancel()});return}const r=ul.has(t);r&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",o=>{this.latestValues[t]=o,this.props.onUpdate&&Ie.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let a;typeof window<"u"&&window.MotionCheckAppearSync&&(a=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{i(),a&&a(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Pd){const n=Pd[t];if(!n)continue;const{isEnabled:r,Feature:i}=n;if(!this.features[t]&&i&&r(this.props)&&(this.features[t]=new i(this)),this.features[t]){const a=this.features[t];a.isMounted?a.update():(a.mount(),a.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Tt()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<P1.length;r++){const i=P1[r];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const a="on"+i,o=t[a];o&&(this.propEventSubscriptions[i]=this.on(i,o))}this.prevMotionValues=wB(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=ks(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&(pM(r)||yM(r))?r=parseFloat(r):!SB(r)&&Rr.test(n)&&(r=lR(t,n)),this.setBaseTarget(t,Zt(r)?r.get():r)),Zt(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var a;const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const o=bb(this.props,n,(a=this.presenceContext)==null?void 0:a.custom);o&&(r=o[t])}if(n&&r!==void 0)return r;const i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!Zt(i)?i:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new sb),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){Cb.render(this.render)}}class vR extends MB{constructor(){super(...arguments),this.KeyframeResolver=tB}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){const r=t.style;return r?r[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Zt(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class $a{constructor(t){this.isMounted=!1,this.node=t}update(){}}function bR({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function RB({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function OB(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function tp(e){return e===void 0||e===1}function wy({scale:e,scaleX:t,scaleY:n}){return!tp(e)||!tp(t)||!tp(n)}function ka(e){return wy(e)||xR(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function xR(e){return L1(e.x)||L1(e.y)}function L1(e){return e&&e!=="0%"}function Ld(e,t,n){const r=e-n,i=t*r;return n+i}function _1(e,t,n,r,i){return i!==void 0&&(e=Ld(e,i,r)),Ld(e,n,r)+t}function Ey(e,t=0,n=1,r,i){e.min=_1(e.min,t,n,r,i),e.max=_1(e.max,t,n,r,i)}function SR(e,{x:t,y:n}){Ey(e.x,t.translate,t.scale,t.originPoint),Ey(e.y,n.translate,n.scale,n.originPoint)}const V1=.999999999999,H1=1.0000000000001;function $B(e,t,n,r=!1){var s;const i=n.length;if(!i)return;t.x=t.y=1;let a,o;for(let l=0;l<i;l++){a=n[l],o=a.projectionDelta;const{visualElement:c}=a.options;c&&c.props.style&&c.props.style.display==="contents"||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&(Gr(e.x,-a.scroll.offset.x),Gr(e.y,-a.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,SR(e,o)),r&&ka(a.latestValues)&&Vf(e,a.latestValues,(s=a.layout)==null?void 0:s.layoutBox))}t.x<H1&&t.x>V1&&(t.x=1),t.y<H1&&t.y>V1&&(t.y=1)}function Gr(e,t){e.min+=t,e.max+=t}function F1(e,t,n,r,i=.5){const a=et(e.min,e.max,i);Ey(e,t,n,a,r)}function I1(e,t){return typeof e=="string"?parseFloat(e)/100*(t.max-t.min):e}function Vf(e,t,n){const r=n??e;F1(e.x,I1(t.x,r.x),t.scaleX,t.scale,t.originX),F1(e.y,I1(t.y,r.y),t.scaleY,t.scale,t.originY)}function CR(e,t){return bR(OB(e.getBoundingClientRect(),t))}function NB(e,t,n){const r=CR(e,n),{scroll:i}=t;return i&&(Gr(r.x,i.offset.x),Gr(r.y,i.offset.y)),r}const jB={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},DB=cl.length;function zB(e,t,n){let r="",i=!0;for(let a=0;a<DB;a++){const o=cl[a],s=e[o];if(s===void 0)continue;let l=!0;if(typeof s=="number")l=s===(o.startsWith("scale")?1:0);else{const c=parseFloat(s);l=o.startsWith("scale")?c===1:c===0}if(!l||n){const c=uR(s,Sb[o]);if(!l){i=!1;const u=jB[o]||o;r+=`${u}(${c}) `}n&&(t[o]=c)}}return r=r.trim(),n?r=n(t,i?"":r):i&&(r="none"),r}function Mb(e,t,n){const{style:r,vars:i,transformOrigin:a}=e;let o=!1,s=!1;for(const l in t){const c=t[l];if(ul.has(l)){o=!0;continue}else if(jM(l)){i[l]=c;continue}else{const u=uR(c,Sb[l]);l.startsWith("origin")?(s=!0,a[l]=u):r[l]=u}}if(t.transform||(o||n?r.transform=zB(t,e.transform,n):r.transform&&(r.transform="none")),s){const{originX:l="50%",originY:c="50%",originZ:u=0}=a;r.transformOrigin=`${l} ${c} ${u}`}}function wR(e,{style:t,vars:n},r,i){const a=e.style;let o;for(o in t)a[o]=t[o];i==null||i.applyProjectionStyles(a,r);for(o in n)a.setProperty(o,n[o])}function U1(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const jl={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(le.test(e))e=parseFloat(e);else return e;const n=U1(e,t.target.x),r=U1(e,t.target.y);return`${n}% ${r}%`}},BB={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=Rr.parse(e);if(i.length>5)return r;const a=Rr.createTransformer(e),o=typeof i[0]!="number"?1:0,s=n.x.scale*t.x,l=n.y.scale*t.y;i[0+o]/=s,i[1+o]/=l;const c=et(s,l,.5);return typeof i[2+o]=="number"&&(i[2+o]/=c),typeof i[3+o]=="number"&&(i[3+o]/=c),a(i)}},Ay={borderRadius:{...jl,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:jl,borderTopRightRadius:jl,borderBottomLeftRadius:jl,borderBottomRightRadius:jl,boxShadow:BB};function ER(e,{layout:t,layoutId:n}){return ul.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Ay[e]||e==="opacity")}function Rb(e,t,n){var o;const r=e.style,i=t==null?void 0:t.style,a={};if(!r)return a;for(const s in r)(Zt(r[s])||i&&Zt(i[s])||ER(s,e)||((o=n==null?void 0:n.getValue(s))==null?void 0:o.liveStyle)!==void 0)&&(a[s]=r[s]);return a}function PB(e){return window.getComputedStyle(e)}class LB extends vR{constructor(){super(...arguments),this.type="html",this.renderInstance=wR}readValueFromInstance(t,n){var r;if(ul.has(n))return(r=this.projection)!=null&&r.isProjecting?fy(n):rz(t,n);{const i=PB(t),a=(jM(n)?i.getPropertyValue(n):i[n])||0;return typeof a=="string"?a.trim():a}}measureInstanceViewportBox(t,{transformPagePoint:n}){return CR(t,n)}build(t,n,r){Mb(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return Rb(t,n,r)}}const _B={offset:"stroke-dashoffset",array:"stroke-dasharray"},VB={offset:"strokeDashoffset",array:"strokeDasharray"};function HB(e,t,n=1,r=0,i=!0){e.pathLength=1;const a=i?_B:VB;e[a.offset]=`${-r}`,e[a.array]=`${t} ${n}`}const FB=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function AR(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:a=1,pathOffset:o=0,...s},l,c,u){if(Mb(e,s,c),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:f,style:d}=e;f.transform&&(d.transform=f.transform,delete f.transform),(d.transform||f.transformOrigin)&&(d.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),d.transform&&(d.transformBox=(u==null?void 0:u.transformBox)??"fill-box",delete f.transformBox);for(const m of FB)f[m]!==void 0&&(d[m]=f[m],delete f[m]);t!==void 0&&(f.x=t),n!==void 0&&(f.y=n),r!==void 0&&(f.scale=r),i!==void 0&&HB(f,i,a,o,!1)}const TR=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),MR=e=>typeof e=="string"&&e.toLowerCase()==="svg";function IB(e,t,n,r){wR(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(TR.has(i)?i:xb(i),t.attrs[i])}function RR(e,t,n){const r=Rb(e,t,n);for(const i in e)if(Zt(e[i])||Zt(t[i])){const a=cl.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[a]=e[i]}return r}class UB extends vR{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Tt}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(ul.has(n)){const r=sR(n);return r&&r.default||0}return n=TR.has(n)?n:xb(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return RR(t,n,r)}build(t,n,r){AR(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,i){IB(t,n,r,i)}mount(t){this.isSVGTag=MR(t.tagName),super.mount(t)}}const qB=Tb.length;function OR(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?OR(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<qB;n++){const r=Tb[n],i=e.props[r];(Fc(i)||i===!1)&&(t[r]=i)}return t}function $R(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}const GB=[...Ab].reverse(),kB=Ab.length;function XB(e){return t=>Promise.all(t.map(({animation:n,options:r})=>qz(e,n,r)))}function YB(e){let t=XB(e),n=q1(),r=!0,i=!1;const a=c=>(u,f)=>{var m;const d=fo(e,f,c==="exit"?(m=e.presenceContext)==null?void 0:m.custom:void 0);if(d){const{transition:v,transitionEnd:x,...S}=d;u={...u,...S,...x}}return u};function o(c){t=c(e)}function s(c){const{props:u}=e,f=OR(e.parent)||{},d=[],m=new Set;let v={},x=1/0;for(let y=0;y<kB;y++){const g=GB[y],p=n[g],b=u[g]!==void 0?u[g]:f[g],w=Fc(b),A=g===c?p.isActive:null;A===!1&&(x=y);let E=b===f[g]&&b!==u[g]&&w;if(E&&(r||i)&&e.manuallyAnimateOnMount&&(E=!1),p.protectedKeys={...v},!p.isActive&&A===null||!b&&!p.prevProp||Oh(b)||typeof b=="boolean")continue;if(g==="exit"&&p.isActive&&A!==!0){p.prevResolvedValues&&(v={...v,...p.prevResolvedValues});continue}const R=WB(p.prevProp,b);let T=R||g===c&&p.isActive&&!E&&w||y>x&&w,M=!1;const O=Array.isArray(b)?b:[b];let N=O.reduce(a(g),{});A===!1&&(N={});const{prevResolvedValues:z={}}=p,P={...z,...N},j=B=>{T=!0,m.has(B)&&(M=!0,m.delete(B)),p.needsAnimating[B]=!0;const _=e.getValue(B);_&&(_.liveStyle=!1)};for(const B in P){const _=N[B],L=z[B];if(v.hasOwnProperty(B))continue;let q=!1;yy(_)&&yy(L)?q=!$R(_,L):q=_!==L,q?_!=null?j(B):m.add(B):_!==void 0&&m.has(B)?j(B):p.protectedKeys[B]=!0}p.prevProp=b,p.prevResolvedValues=N,p.isActive&&(v={...v,...N}),(r||i)&&e.blockInitialAnimation&&(T=!1);const $=E&&R;T&&(!$||M)&&d.push(...O.map(B=>{const _={type:g};if(typeof B=="string"&&(r||i)&&!$&&e.manuallyAnimateOnMount&&e.parent){const{parent:L}=e,q=fo(L,B);if(L.enteringChildren&&q){const{delayChildren:K}=q.transition||{};_.delay=ZM(L.enteringChildren,e,K)}}return{animation:B,options:_}}))}if(m.size){const y={};if(typeof u.initial!="boolean"){const g=fo(e,Array.isArray(u.initial)?u.initial[0]:u.initial);g&&g.transition&&(y.transition=g.transition)}m.forEach(g=>{const p=e.getBaseTarget(g),b=e.getValue(g);b&&(b.liveStyle=!0),y[g]=p??null}),d.push({animation:y})}let S=!!d.length;return r&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(S=!1),r=!1,i=!1,S?t(d):Promise.resolve()}function l(c,u){var d;if(n[c].isActive===u)return Promise.resolve();(d=e.variantChildren)==null||d.forEach(m=>{var v;return(v=m.animationState)==null?void 0:v.setActive(c,u)}),n[c].isActive=u;const f=s(c);for(const m in n)n[m].protectedKeys={};return f}return{animateChanges:s,setActive:l,setAnimateFunction:o,getState:()=>n,reset:()=>{n=q1(),i=!0}}}function WB(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!$R(t,e):!1}function Va(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function q1(){return{animate:Va(!0),whileInView:Va(),whileHover:Va(),whileTap:Va(),whileDrag:Va(),whileFocus:Va(),exit:Va()}}function Ty(e,t){e.min=t.min,e.max=t.max}function Cr(e,t){Ty(e.x,t.x),Ty(e.y,t.y)}function G1(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const NR=1e-4,KB=1-NR,QB=1+NR,jR=.01,ZB=0-jR,JB=0+jR;function dn(e){return e.max-e.min}function eP(e,t,n){return Math.abs(e-t)<=n}function k1(e,t,n,r=.5){e.origin=r,e.originPoint=et(t.min,t.max,e.origin),e.scale=dn(n)/dn(t),e.translate=et(n.min,n.max,e.origin)-e.originPoint,(e.scale>=KB&&e.scale<=QB||isNaN(e.scale))&&(e.scale=1),(e.translate>=ZB&&e.translate<=JB||isNaN(e.translate))&&(e.translate=0)}function uc(e,t,n,r){k1(e.x,t.x,n.x,r?r.originX:void 0),k1(e.y,t.y,n.y,r?r.originY:void 0)}function X1(e,t,n,r=0){const i=r?et(n.min,n.max,r):n.min;e.min=i+t.min,e.max=e.min+dn(t)}function tP(e,t,n,r){X1(e.x,t.x,n.x,r==null?void 0:r.x),X1(e.y,t.y,n.y,r==null?void 0:r.y)}function Y1(e,t,n,r=0){const i=r?et(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+dn(t)}function _d(e,t,n,r){Y1(e.x,t.x,n.x,r==null?void 0:r.x),Y1(e.y,t.y,n.y,r==null?void 0:r.y)}function W1(e,t,n,r,i){return e-=t,e=Ld(e,1/n,r),i!==void 0&&(e=Ld(e,1/i,r)),e}function nP(e,t=0,n=1,r=.5,i,a=e,o=e){if(Jr.test(t)&&(t=parseFloat(t),t=et(o.min,o.max,t/100)-o.min),typeof t!="number")return;let s=et(a.min,a.max,r);e===a&&(s-=t),e.min=W1(e.min,t,n,s,i),e.max=W1(e.max,t,n,s,i)}function K1(e,t,[n,r,i],a,o){nP(e,t[n],t[r],t[i],t.scale,a,o)}const rP=["x","scaleX","originX"],iP=["y","scaleY","originY"];function Q1(e,t,n,r){K1(e.x,t,rP,n?n.x:void 0,r?r.x:void 0),K1(e.y,t,iP,n?n.y:void 0,r?r.y:void 0)}function Z1(e){return e.translate===0&&e.scale===1}function DR(e){return Z1(e.x)&&Z1(e.y)}function J1(e,t){return e.min===t.min&&e.max===t.max}function aP(e,t){return J1(e.x,t.x)&&J1(e.y,t.y)}function eC(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function zR(e,t){return eC(e.x,t.x)&&eC(e.y,t.y)}function tC(e){return dn(e.x)/dn(e.y)}function nC(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function Ir(e){return[e("x"),e("y")]}function oP(e,t,n){let r="";const i=e.x.translate/t.x,a=e.y.translate/t.y,o=(n==null?void 0:n.z)||0;if((i||a||o)&&(r=`translate3d(${i}px, ${a}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:c,rotate:u,rotateX:f,rotateY:d,skewX:m,skewY:v}=n;c&&(r=`perspective(${c}px) ${r}`),u&&(r+=`rotate(${u}deg) `),f&&(r+=`rotateX(${f}deg) `),d&&(r+=`rotateY(${d}deg) `),m&&(r+=`skewX(${m}deg) `),v&&(r+=`skewY(${v}deg) `)}const s=e.x.scale*t.x,l=e.y.scale*t.y;return(s!==1||l!==1)&&(r+=`scale(${s}, ${l})`),r||"none"}const BR=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],sP=BR.length,rC=e=>typeof e=="string"?parseFloat(e):e,iC=e=>typeof e=="number"||le.test(e);function lP(e,t,n,r,i,a){i?(e.opacity=et(0,n.opacity??1,cP(r)),e.opacityExit=et(t.opacity??1,0,uP(r))):a&&(e.opacity=et(t.opacity??1,n.opacity??1,r));for(let o=0;o<sP;o++){const s=BR[o];let l=aC(t,s),c=aC(n,s);if(l===void 0&&c===void 0)continue;l||(l=0),c||(c=0),l===0||c===0||iC(l)===iC(c)?(e[s]=Math.max(et(rC(l),rC(c),r),0),(Jr.test(c)||Jr.test(l))&&(e[s]+="%")):e[s]=c}(t.rotate||n.rotate)&&(e.rotate=et(t.rotate||0,n.rotate||0,r))}function aC(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const cP=PR(0,.5,TM),uP=PR(.5,.95,sr);function PR(e,t,n){return r=>r<e?0:r>t?1:n(Vc(e,t,r))}function fP(e,t,n){const r=Zt(e)?e:ks(e);return r.start(vb("",r,t,n)),r.animation}function Ic(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const dP=(e,t)=>e.depth-t.depth;class hP{constructor(){this.children=[],this.isDirty=!1}add(t){ab(this.children,t),this.isDirty=!0}remove(t){Nd(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(dP),this.isDirty=!1,this.children.forEach(t)}}function mP(e,t){const n=fn.now(),r=({timestamp:i})=>{const a=i-n;a>=t&&(Aa(r),e(a-t))};return Ie.setup(r,!0),()=>Aa(r)}function Hf(e){return Zt(e)?e.get():e}class pP{constructor(){this.members=[]}add(t){ab(this.members,t);for(let n=this.members.length-1;n>=0;n--){const r=this.members[n];if(r===t||r===this.lead||r===this.prevLead)continue;const i=r.instance;(!i||i.isConnected===!1)&&!r.snapshot&&(Nd(this.members,r),r.unmount())}t.scheduleRender()}remove(t){if(Nd(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){var n;for(let r=this.members.indexOf(t)-1;r>=0;r--){const i=this.members[r];if(i.isPresent!==!1&&((n=i.instance)==null?void 0:n.isConnected)!==!1)return this.promote(i),!0}return!1}promote(t,n){var i;const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.updateSnapshot(),t.scheduleRender();const{layoutDependency:a}=r.options,{layoutDependency:o}=t.options;(a===void 0||a!==o)&&(t.resumeFrom=r,n&&(r.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),(i=t.root)!=null&&i.isUpdating&&(t.isLayoutDirty=!0)),t.options.crossfade===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{var n,r,i,a,o;(r=(n=t.options).onExitComplete)==null||r.call(n),(o=(i=t.resumingFrom)==null?void 0:(a=i.options).onExitComplete)==null||o.call(a)})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){var t;(t=this.lead)!=null&&t.snapshot&&(this.lead.snapshot=void 0)}}const Ff={hasAnimatedSinceResize:!0,hasEverUpdated:!1},np=["","X","Y","Z"],gP=1e3;let yP=0;function rp(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function LR(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=rR(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:a}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",Ie,!(i||a))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&LR(r)}function _R({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(o={},s=t==null?void 0:t()){this.id=yP++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(xP),this.nodes.forEach(TP),this.nodes.forEach(MP),this.nodes.forEach(SP)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=s?s.root||s:this,this.path=s?[...s.path,s]:[],this.parent=s,this.depth=s?s.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new hP)}addEventListener(o,s){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new sb),this.eventHandlers.get(o).add(s)}notifyListeners(o,...s){const l=this.eventHandlers.get(o);l&&l.notify(...s)}hasListeners(o){return this.eventHandlers.has(o)}mount(o){if(this.instance)return;this.isSVG=Eb(o)&&!bB(o),this.instance=o;const{layoutId:s,layout:l,visualElement:c}=this.options;if(c&&!c.current&&c.mount(o),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||s)&&(this.isLayoutDirty=!0),e){let u,f=0;const d=()=>this.root.updateBlockedByResize=!1;Ie.read(()=>{f=window.innerWidth}),e(o,()=>{const m=window.innerWidth;m!==f&&(f=m,this.root.updateBlockedByResize=!0,u&&u(),u=mP(d,250),Ff.hasAnimatedSinceResize&&(Ff.hasAnimatedSinceResize=!1,this.nodes.forEach(lC)))})}s&&this.root.registerSharedNode(s,this),this.options.animate!==!1&&c&&(s||l)&&this.addEventListener("didUpdate",({delta:u,hasLayoutChanged:f,hasRelativeLayoutChanged:d,layout:m})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const v=this.options.transition||c.getDefaultTransition()||jP,{onLayoutAnimationStart:x,onLayoutAnimationComplete:S}=c.getProps(),y=!this.targetLayout||!zR(this.targetLayout,m),g=!f&&d;if(this.options.layoutRoot||this.resumeFrom||g||f&&(y||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const p={...yb(v,"layout"),onPlay:x,onComplete:S};(c.shouldReduceMotion||this.options.layoutRoot)&&(p.delay=0,p.type=!1),this.startAnimation(p),this.setAnimationOrigin(u,g)}else f||lC(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=m})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Aa(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(RP),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&LR(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u<this.path.length;u++){const f=this.path[u];f.shouldResetTransform=!0,(typeof f.latestValues.x=="string"||typeof f.latestValues.y=="string")&&(f.isLayoutDirty=!0),f.updateScroll("snapshot"),f.options.layoutRoot&&f.willUpdate(!1)}const{layoutId:s,layout:l}=this.options;if(s===void 0&&!l)return;const c=this.getTransformTemplate();this.prevTransformTemplateValue=c?c(this.latestValues,""):void 0,this.updateSnapshot(),o&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const l=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),l&&this.nodes.forEach(wP),this.nodes.forEach(oC);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(sC);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(EP),this.nodes.forEach(AP),this.nodes.forEach(vP),this.nodes.forEach(bP)):this.nodes.forEach(sC),this.clearAllSnapshots();const s=fn.now();kt.delta=ti(0,1e3/60,s-kt.timestamp),kt.timestamp=s,kt.isProcessing=!0,Ym.update.process(kt),Ym.preRender.process(kt),Ym.render.process(kt),kt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Cb.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(CP),this.sharedNodes.forEach(OP)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Ie.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Ie.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!dn(this.snapshot.measuredBox.x)&&!dn(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();const o=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=Tt()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:s}=this.options;s&&s.notify("LayoutMeasure",this.layout.layoutBox,o?o.layoutBox:void 0)}updateScroll(o="measure"){let s=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===o&&(s=!1),s&&this.instance){const l=r(this.instance);this.scroll={animationId:this.root.animationId,phase:o,isRoot:l,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!i)return;const o=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,s=this.projectionDelta&&!DR(this.projectionDelta),l=this.getTransformTemplate(),c=l?l(this.latestValues,""):void 0,u=c!==this.prevTransformTemplateValue;o&&this.instance&&(s||ka(this.latestValues)||u)&&(i(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}measure(o=!0){const s=this.measurePageBox();let l=this.removeElementScroll(s);return o&&(l=this.removeTransform(l)),DP(l),{animationId:this.root.animationId,measuredBox:s,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var c;const{visualElement:o}=this.options;if(!o)return Tt();const s=o.measureViewportBox();if(!(((c=this.scroll)==null?void 0:c.wasRoot)||this.path.some(zP))){const{scroll:u}=this.root;u&&(Gr(s.x,u.offset.x),Gr(s.y,u.offset.y))}return s}removeElementScroll(o){var l;const s=Tt();if(Cr(s,o),(l=this.scroll)!=null&&l.wasRoot)return s;for(let c=0;c<this.path.length;c++){const u=this.path[c],{scroll:f,options:d}=u;u!==this.root&&f&&d.layoutScroll&&(f.wasRoot&&Cr(s,o),Gr(s.x,f.offset.x),Gr(s.y,f.offset.y))}return s}applyTransform(o,s=!1,l){var u,f;const c=l||Tt();Cr(c,o);for(let d=0;d<this.path.length;d++){const m=this.path[d];!s&&m.options.layoutScroll&&m.scroll&&m!==m.root&&(Gr(c.x,-m.scroll.offset.x),Gr(c.y,-m.scroll.offset.y)),ka(m.latestValues)&&Vf(c,m.latestValues,(u=m.layout)==null?void 0:u.layoutBox)}return ka(this.latestValues)&&Vf(c,this.latestValues,(f=this.layout)==null?void 0:f.layoutBox),c}removeTransform(o){var l;const s=Tt();Cr(s,o);for(let c=0;c<this.path.length;c++){const u=this.path[c];if(!ka(u.latestValues))continue;let f;u.instance&&(wy(u.latestValues)&&u.updateSnapshot(),f=Tt(),Cr(f,u.measurePageBox())),Q1(s,u.latestValues,(l=u.snapshot)==null?void 0:l.layoutBox,f)}return ka(this.latestValues)&&Q1(s,this.latestValues),s}setTargetDelta(o){this.targetDelta=o,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(o){this.options={...this.options,...o,crossfade:o.crossfade!==void 0?o.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==kt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(o=!1){var m;const s=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=s.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=s.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=s.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==s;if(!(o||l&&this.isSharedProjectionDirty||this.isProjectionDirty||(m=this.parent)!=null&&m.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:u,layoutId:f}=this.options;if(!this.layout||!(u||f))return;this.resolvedRelativeTargetAt=kt.timestamp;const d=this.getClosestProjectingParent();d&&this.linkedParentVersion!==d.layoutVersion&&!d.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&d&&d.layout?this.createRelativeTarget(d,this.layout.layoutBox,d.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Tt(),this.targetWithTransforms=Tt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),tP(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Cr(this.target,this.layout.layoutBox),SR(this.target,this.targetDelta)):Cr(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&d&&!!d.resumingFrom==!!this.resumingFrom&&!d.options.layoutScroll&&d.target&&this.animationProgress!==1?this.createRelativeTarget(d,this.target,d.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||wy(this.parent.latestValues)||xR(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(o,s,l){this.relativeParent=o,this.linkedParentVersion=o.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Tt(),this.relativeTargetOrigin=Tt(),_d(this.relativeTargetOrigin,s,l,this.options.layoutAnchor||void 0),Cr(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var v;const o=this.getLead(),s=!!this.resumingFrom||this!==o;let l=!0;if((this.isProjectionDirty||(v=this.parent)!=null&&v.isProjectionDirty)&&(l=!1),s&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===kt.timestamp&&(l=!1),l)return;const{layout:c,layoutId:u}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(c||u))return;Cr(this.layoutCorrected,this.layout.layoutBox);const f=this.treeScale.x,d=this.treeScale.y;$B(this.layoutCorrected,this.treeScale,this.path,s),o.layout&&!o.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(o.target=o.layout.layoutBox,o.targetWithTransforms=Tt());const{target:m}=o;if(!m){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(G1(this.prevProjectionDelta.x,this.projectionDelta.x),G1(this.prevProjectionDelta.y,this.projectionDelta.y)),uc(this.projectionDelta,this.layoutCorrected,m,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==d||!nC(this.projectionDelta.x,this.prevProjectionDelta.x)||!nC(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",m))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(o=!0){var s;if((s=this.options.visualElement)==null||s.scheduleRender(),o){const l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=vs(),this.projectionDelta=vs(),this.projectionDeltaWithTransform=vs()}setAnimationOrigin(o,s=!1){const l=this.snapshot,c=l?l.latestValues:{},u={...this.latestValues},f=vs();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!s;const d=Tt(),m=l?l.source:void 0,v=this.layout?this.layout.source:void 0,x=m!==v,S=this.getStack(),y=!S||S.members.length<=1,g=!!(x&&!y&&this.options.crossfade===!0&&!this.path.some(NP));this.animationProgress=0;let p;this.mixTargetDelta=b=>{const w=b/1e3;cC(f.x,o.x,w),cC(f.y,o.y,w),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(_d(d,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),$P(this.relativeTarget,this.relativeTargetOrigin,d,w),p&&aP(this.relativeTarget,p)&&(this.isProjectionDirty=!1),p||(p=Tt()),Cr(p,this.relativeTarget)),x&&(this.animationValues=u,lP(u,c,this.latestValues,w,g,y)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=w},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){var s,l,c;this.notifyListeners("animationStart"),(s=this.currentAnimation)==null||s.stop(),(c=(l=this.resumingFrom)==null?void 0:l.currentAnimation)==null||c.stop(),this.pendingAnimation&&(Aa(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ie.update(()=>{Ff.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=ks(0)),this.motionValue.jump(0,!1),this.currentAnimation=fP(this.motionValue,[0,1e3],{...o,velocity:0,isSync:!0,onUpdate:u=>{this.mixTargetDelta(u),o.onUpdate&&o.onUpdate(u)},onStop:()=>{},onComplete:()=>{o.onComplete&&o.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(gP),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:s,target:l,layout:c,latestValues:u}=o;if(!(!s||!l||!c)){if(this!==o&&this.layout&&c&&VR(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||Tt();const f=dn(this.layout.layoutBox.x);l.x.min=o.target.x.min,l.x.max=l.x.min+f;const d=dn(this.layout.layoutBox.y);l.y.min=o.target.y.min,l.y.max=l.y.min+d}Cr(s,l),Vf(s,u),uc(this.projectionDeltaWithTransform,this.layoutCorrected,s,u)}}registerSharedNode(o,s){this.sharedNodes.has(o)||this.sharedNodes.set(o,new pP),this.sharedNodes.get(o).add(s);const c=s.options.initialPromotionConfig;s.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(s):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){var s;const{layoutId:o}=this.options;return o?((s=this.getStack())==null?void 0:s.lead)||this:this}getPrevLead(){var s;const{layoutId:o}=this.options;return o?(s=this.getStack())==null?void 0:s.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:s,preserveFollowOpacity:l}={}){const c=this.getStack();c&&c.promote(this,l),o&&(this.projectionDelta=void 0,this.needsReset=!0),s&&this.setOptions({transition:s})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let s=!1;const{latestValues:l}=o;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(s=!0),!s)return;const c={};l.z&&rp("z",o,c,this.animationValues);for(let u=0;u<np.length;u++)rp(`rotate${np[u]}`,o,c,this.animationValues),rp(`skew${np[u]}`,o,c,this.animationValues);o.render();for(const u in c)o.setStaticValue(u,c[u]),this.animationValues&&(this.animationValues[u]=c[u]);o.scheduleRender()}applyProjectionStyles(o,s){if(!this.instance||this.isSVG)return;if(!this.isVisible){o.visibility="hidden";return}const l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,o.visibility="",o.opacity="",o.pointerEvents=Hf(s==null?void 0:s.pointerEvents)||"",o.transform=l?l(this.latestValues,""):"none";return}const c=this.getLead();if(!this.projectionDelta||!this.layout||!c.target){this.options.layoutId&&(o.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,o.pointerEvents=Hf(s==null?void 0:s.pointerEvents)||""),this.hasProjected&&!ka(this.latestValues)&&(o.transform=l?l({},""):"none",this.hasProjected=!1);return}o.visibility="";const u=c.animationValues||c.latestValues;this.applyTransformsToTarget();let f=oP(this.projectionDeltaWithTransform,this.treeScale,u);l&&(f=l(u,f)),o.transform=f;const{x:d,y:m}=this.projectionDelta;o.transformOrigin=`${d.origin*100}% ${m.origin*100}% 0`,c.animationValues?o.opacity=c===this?u.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:u.opacityExit:o.opacity=c===this?u.opacity!==void 0?u.opacity:"":u.opacityExit!==void 0?u.opacityExit:0;for(const v in Ay){if(u[v]===void 0)continue;const{correct:x,applyTo:S,isCSSVariable:y}=Ay[v],g=f==="none"?u[v]:x(u[v],c);if(S){const p=S.length;for(let b=0;b<p;b++)o[S[b]]=g}else y?this.options.visualElement.renderState.vars[v]=g:o[v]=g}this.options.layoutId&&(o.pointerEvents=c===this?Hf(s==null?void 0:s.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(o=>{var s;return(s=o.currentAnimation)==null?void 0:s.stop()}),this.root.nodes.forEach(oC),this.root.sharedNodes.clear()}}}function vP(e){e.updateLayout()}function bP(e){var n;const t=((n=e.resumeFrom)==null?void 0:n.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:i}=e.layout,{animationType:a}=e.options,o=t.source!==e.layout.source;if(a==="size")Ir(f=>{const d=o?t.measuredBox[f]:t.layoutBox[f],m=dn(d);d.min=r[f].min,d.max=d.min+m});else if(a==="x"||a==="y"){const f=a==="x"?"y":"x";Ty(o?t.measuredBox[f]:t.layoutBox[f],r[f])}else VR(a,t.layoutBox,r)&&Ir(f=>{const d=o?t.measuredBox[f]:t.layoutBox[f],m=dn(r[f]);d.max=d.min+m,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+m)});const s=vs();uc(s,r,t.layoutBox);const l=vs();o?uc(l,e.applyTransform(i,!0),t.measuredBox):uc(l,r,t.layoutBox);const c=!DR(s);let u=!1;if(!e.resumeFrom){const f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){const{snapshot:d,layout:m}=f;if(d&&m){const v=e.options.layoutAnchor||void 0,x=Tt();_d(x,t.layoutBox,d.layoutBox,v);const S=Tt();_d(S,r,m.layoutBox,v),zR(x,S)||(u=!0),f.options.layoutRoot&&(e.relativeTarget=S,e.relativeTargetOrigin=x,e.relativeParent=f)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:l,layoutDelta:s,hasLayoutChanged:c,hasRelativeLayoutChanged:u})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function xP(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function SP(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function CP(e){e.clearSnapshot()}function oC(e){e.clearMeasurements()}function wP(e){e.isLayoutDirty=!0,e.updateLayout()}function sC(e){e.isLayoutDirty=!1}function EP(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function AP(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function lC(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function TP(e){e.resolveTargetDelta()}function MP(e){e.calcProjection()}function RP(e){e.resetSkewAndRotation()}function OP(e){e.removeLeadSnapshot()}function cC(e,t,n){e.translate=et(t.translate,0,n),e.scale=et(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function uC(e,t,n,r){e.min=et(t.min,n.min,r),e.max=et(t.max,n.max,r)}function $P(e,t,n,r){uC(e.x,t.x,n.x,r),uC(e.y,t.y,n.y,r)}function NP(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const jP={duration:.45,ease:[.4,0,.1,1]},fC=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),dC=fC("applewebkit/")&&!fC("chrome/")?Math.round:sr;function hC(e){e.min=dC(e.min),e.max=dC(e.max)}function DP(e){hC(e.x),hC(e.y)}function VR(e,t,n){return e==="position"||e==="preserve-aspect"&&!eP(tC(t),tC(n),.2)}function zP(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const BP=_R({attachResizeListener:(e,t)=>Ic(e,"resize",t),measureScroll:()=>{var e,t;return{x:document.documentElement.scrollLeft||((e=document.body)==null?void 0:e.scrollLeft)||0,y:document.documentElement.scrollTop||((t=document.body)==null?void 0:t.scrollTop)||0}},checkIsScrollRoot:()=>!0}),ip={current:void 0},HR=_R({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!ip.current){const e=new BP({});e.mount(window),e.setOptions({layoutScroll:!0}),ip.current=e}return ip.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Ob=h.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function mC(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function PP(...e){return t=>{let n=!1;const r=e.map(i=>{const a=mC(i,t);return!n&&typeof a=="function"&&(n=!0),a});if(n)return()=>{for(let i=0;i<r.length;i++){const a=r[i];typeof a=="function"?a():mC(e[i],null)}}}}function LP(...e){return h.useCallback(PP(...e),e)}class _P extends h.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(Bf(n)&&t.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const r=n.offsetParent,i=Bf(r)&&r.offsetWidth||0,a=Bf(r)&&r.offsetHeight||0,o=getComputedStyle(n),s=this.props.sizeRef.current;s.height=parseFloat(o.height),s.width=parseFloat(o.width),s.top=n.offsetTop,s.left=n.offsetLeft,s.right=i-s.width-s.left,s.bottom=a-s.height-s.top}return null}componentDidUpdate(){}render(){return this.props.children}}function VP({children:e,isPresent:t,anchorX:n,anchorY:r,root:i,pop:a}){var d;const o=h.useId(),s=h.useRef(null),l=h.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:c}=h.useContext(Ob),u=((d=e.props)==null?void 0:d.ref)??(e==null?void 0:e.ref),f=LP(s,u);return h.useInsertionEffect(()=>{const{width:m,height:v,top:x,left:S,right:y,bottom:g}=l.current;if(t||a===!1||!s.current||!m||!v)return;const p=n==="left"?`left: ${S}`:`right: ${y}`,b=r==="bottom"?`bottom: ${g}`:`top: ${x}`;s.current.dataset.motionPopId=o;const w=document.createElement("style");c&&(w.nonce=c);const A=i??document.head;return A.appendChild(w),w.sheet&&w.sheet.insertRule(`
- [data-motion-pop-id="${o}"] {
- position: absolute !important;
- width: ${m}px !important;
- height: ${v}px !important;
- ${p}px !important;
- ${b}px !important;
- }
- `),()=>{var E;(E=s.current)==null||E.removeAttribute("data-motion-pop-id"),A.contains(w)&&A.removeChild(w)}},[t]),C.jsx(_P,{isPresent:t,childRef:s,sizeRef:l,pop:a,children:a===!1?e:h.cloneElement(e,{ref:f})})}const HP=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:a,mode:o,anchorX:s,anchorY:l,root:c})=>{const u=ib(FP),f=h.useId();let d=!0,m=h.useMemo(()=>(d=!1,{id:f,initial:t,isPresent:n,custom:i,onExitComplete:v=>{u.set(v,!0);for(const x of u.values())if(!x)return;r&&r()},register:v=>(u.set(v,!1),()=>u.delete(v))}),[n,u,r]);return a&&d&&(m={...m}),h.useMemo(()=>{u.forEach((v,x)=>u.set(x,!1))},[n]),h.useEffect(()=>{!n&&!u.size&&r&&r()},[n]),e=C.jsx(VP,{pop:o==="popLayout",isPresent:n,anchorX:s,anchorY:l,root:c,children:e}),C.jsx(Mh.Provider,{value:m,children:e})};function FP(){return new Map}function FR(e=!0){const t=h.useContext(Mh);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=t,a=h.useId();h.useEffect(()=>{if(e)return i(a)},[e]);const o=h.useCallback(()=>e&&r&&r(a),[a,r,e]);return!n&&r?[!1,o]:[!0]}const Ju=e=>e.key||"";function pC(e){const t=[];return h.Children.forEach(e,n=>{h.isValidElement(n)&&t.push(n)}),t}const IP=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:a="sync",propagate:o=!1,anchorX:s="left",anchorY:l="top",root:c})=>{const[u,f]=FR(o),d=h.useMemo(()=>pC(e),[e]),m=o&&!u?[]:d.map(Ju),v=h.useRef(!0),x=h.useRef(d),S=ib(()=>new Map),y=h.useRef(new Set),[g,p]=h.useState(d),[b,w]=h.useState(d);mM(()=>{v.current=!1,x.current=d;for(let R=0;R<b.length;R++){const T=Ju(b[R]);m.includes(T)?(S.delete(T),y.current.delete(T)):S.get(T)!==!0&&S.set(T,!1)}},[b,m.length,m.join("-")]);const A=[];if(d!==g){let R=[...d];for(let T=0;T<b.length;T++){const M=b[T],O=Ju(M);m.includes(O)||(R.splice(T,0,M),A.push(M))}return a==="wait"&&A.length&&(R=A),w(pC(R)),p(d),null}const{forceRender:E}=h.useContext(rb);return C.jsx(C.Fragment,{children:b.map(R=>{const T=Ju(R),M=o&&!u?!1:d===b||m.includes(T),O=()=>{if(y.current.has(T))return;if(S.has(T))y.current.add(T),S.set(T,!0);else return;let N=!0;S.forEach(z=>{z||(N=!1)}),N&&(E==null||E(),w(x.current),o&&(f==null||f()),r&&r())};return C.jsx(HP,{isPresent:M,initial:!v.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:a,root:c,onExitComplete:M?void 0:O,anchorX:s,anchorY:l,children:R},T)})})},IR=h.createContext({strict:!1}),gC={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let yC=!1;function UP(){if(yC)return;const e={};for(const t in gC)e[t]={isEnabled:n=>gC[t].some(r=>!!n[r])};yR(e),yC=!0}function UR(){return UP(),TB()}function qP(e){const t=UR();for(const n in e)t[n]={...t[n],...e[n]};yR(t)}const GP=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function Vd(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||GP.has(e)}let qR=e=>!Vd(e);function kP(e){typeof e=="function"&&(qR=t=>t.startsWith("on")?!Vd(t):e(t))}try{kP(require("@emotion/is-prop-valid").default)}catch{}function XP(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||Zt(e[i])||(qR(i)||n===!0&&Vd(i)||!t&&!Vd(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}const Nh=h.createContext({});function YP(e,t){if($h(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Fc(n)?n:void 0,animate:Fc(r)?r:void 0}}return e.inherit!==!1?t:{}}function WP(e){const{initial:t,animate:n}=YP(e,h.useContext(Nh));return h.useMemo(()=>({initial:t,animate:n}),[vC(t),vC(n)])}function vC(e){return Array.isArray(e)?e.join(" "):e}const $b=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function GR(e,t,n){for(const r in t)!Zt(t[r])&&!ER(r,n)&&(e[r]=t[r])}function KP({transformTemplate:e},t){return h.useMemo(()=>{const n=$b();return Mb(n,t,e),Object.assign({},n.vars,n.style)},[t])}function QP(e,t){const n=e.style||{},r={};return GR(r,n,e),Object.assign(r,KP(e,t)),r}function ZP(e,t){const n={},r=QP(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const kR=()=>({...$b(),attrs:{}});function JP(e,t,n,r){const i=h.useMemo(()=>{const a=kR();return AR(a,t,MR(r),e.transformTemplate,e.style),{...a.attrs,style:{...a.style}}},[t]);if(e.style){const a={};GR(a,e.style,e),i.style={...a,...i.style}}return i}const eL=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Nb(e){return typeof e!="string"||e.includes("-")?!1:!!(eL.indexOf(e)>-1||/[A-Z]/u.test(e))}function tL(e,t,n,{latestValues:r},i,a=!1,o){const l=(o??Nb(e)?JP:ZP)(t,r,i,e),c=XP(t,typeof e=="string",a),u=e!==h.Fragment?{...c,...l,ref:n}:{},{children:f}=t,d=h.useMemo(()=>Zt(f)?f.get():f,[f]);return h.createElement(e,{...u,children:d})}function nL({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:rL(n,r,i,e),renderState:t()}}function rL(e,t,n,r){const i={},a=r(e,{});for(const d in a)i[d]=Hf(a[d]);let{initial:o,animate:s}=e;const l=$h(e),c=pR(e);t&&c&&!l&&e.inherit!==!1&&(o===void 0&&(o=t.initial),s===void 0&&(s=t.animate));let u=n?n.initial===!1:!1;u=u||o===!1;const f=u?s:o;if(f&&typeof f!="boolean"&&!Oh(f)){const d=Array.isArray(f)?f:[f];for(let m=0;m<d.length;m++){const v=bb(e,d[m]);if(v){const{transitionEnd:x,transition:S,...y}=v;for(const g in y){let p=y[g];if(Array.isArray(p)){const b=u?p.length-1:0;p=p[b]}p!==null&&(i[g]=p)}for(const g in x)i[g]=x[g]}}}return i}const XR=e=>(t,n)=>{const r=h.useContext(Nh),i=h.useContext(Mh),a=()=>nL(e,t,r,i);return n?a():ib(a)},iL=XR({scrapeMotionValuesFromProps:Rb,createRenderState:$b}),aL=XR({scrapeMotionValuesFromProps:RR,createRenderState:kR}),oL=Symbol.for("motionComponentSymbol");function sL(e,t,n){const r=h.useRef(n);h.useInsertionEffect(()=>{r.current=n});const i=h.useRef(null);return h.useCallback(a=>{var s;a&&((s=e.onMount)==null||s.call(e,a));const o=r.current;if(typeof o=="function")if(a){const l=o(a);typeof l=="function"&&(i.current=l)}else i.current?(i.current(),i.current=null):o(a);else o&&(o.current=a);t&&(a?t.mount(a):t.unmount())},[t])}const YR=h.createContext({});function ns(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function lL(e,t,n,r,i,a){var p,b;const{visualElement:o}=h.useContext(Nh),s=h.useContext(IR),l=h.useContext(Mh),c=h.useContext(Ob),u=c.reducedMotion,f=c.skipAnimations,d=h.useRef(null),m=h.useRef(!1);r=r||s.renderer,!d.current&&r&&(d.current=r(e,{visualState:t,parent:o,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:u,skipAnimations:f,isSVG:a}),m.current&&d.current&&(d.current.manuallyAnimateOnMount=!0));const v=d.current,x=h.useContext(YR);v&&!v.projection&&i&&(v.type==="html"||v.type==="svg")&&cL(d.current,n,i,x);const S=h.useRef(!1);h.useInsertionEffect(()=>{v&&S.current&&v.update(n,l)});const y=n[nR],g=h.useRef(!!y&&typeof window<"u"&&!((p=window.MotionHandoffIsComplete)!=null&&p.call(window,y))&&((b=window.MotionHasOptimisedAnimation)==null?void 0:b.call(window,y)));return mM(()=>{m.current=!0,v&&(S.current=!0,window.MotionIsMounted=!0,v.updateFeatures(),v.scheduleRenderMicrotask(),g.current&&v.animationState&&v.animationState.animateChanges())}),h.useEffect(()=>{v&&(!g.current&&v.animationState&&v.animationState.animateChanges(),g.current&&(queueMicrotask(()=>{var w;(w=window.MotionHandoffMarkAsComplete)==null||w.call(window,y)}),g.current=!1),v.enteringChildren=void 0)}),v}function cL(e,t,n,r){const{layoutId:i,layout:a,drag:o,dragConstraints:s,layoutScroll:l,layoutRoot:c,layoutAnchor:u,layoutCrossfade:f}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:WR(e.parent)),e.projection.setOptions({layoutId:i,layout:a,alwaysMeasureLayout:!!o||s&&ns(s),visualElement:e,animationType:typeof a=="string"?a:"both",initialPromotionConfig:r,crossfade:f,layoutScroll:l,layoutRoot:c,layoutAnchor:u})}function WR(e){if(e)return e.options.allowProjection!==!1?e.projection:WR(e.parent)}function ap(e,{forwardMotionProps:t=!1,type:n}={},r,i){r&&qP(r);const a=n?n==="svg":Nb(e),o=a?aL:iL;function s(c,u){let f;const d={...h.useContext(Ob),...c,layoutId:uL(c)},{isStatic:m}=d,v=WP(c),x=o(c,m);if(!m&&typeof window<"u"){fL();const S=dL(d);f=S.MeasureLayout,v.visualElement=lL(e,x,d,i,S.ProjectionNode,a)}return C.jsxs(Nh.Provider,{value:v,children:[f&&v.visualElement?C.jsx(f,{visualElement:v.visualElement,...d}):null,tL(e,c,sL(x,v.visualElement,u),x,m,t,a)]})}s.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const l=h.forwardRef(s);return l[oL]=e,l}function uL({layoutId:e}){const t=h.useContext(rb).id;return t&&e!==void 0?t+"-"+e:e}function fL(e,t){h.useContext(IR).strict}function dL(e){const t=UR(),{drag:n,layout:r}=t;if(!n&&!r)return{};const i={...n,...r};return{MeasureLayout:n!=null&&n.isEnabled(e)||r!=null&&r.isEnabled(e)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}function hL(e,t){if(typeof Proxy>"u")return ap;const n=new Map,r=(a,o)=>ap(a,o,e,t),i=(a,o)=>r(a,o);return new Proxy(i,{get:(a,o)=>o==="create"?r:(n.has(o)||n.set(o,ap(o,void 0,e,t)),n.get(o))})}const mL=(e,t)=>t.isSVG??Nb(e)?new UB(t):new LB(t,{allowProjection:e!==h.Fragment});class pL extends $a{constructor(t){super(t),t.animationState||(t.animationState=YB(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Oh(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)==null||t.call(this)}}let gL=0;class yL extends $a{constructor(){super(...arguments),this.id=gL++,this.isExitComplete=!1}update(){var a;if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;if(t&&r===!1){if(this.isExitComplete){const{initial:o,custom:s}=this.node.getProps();if(typeof o=="string"){const l=fo(this.node,o,s);if(l){const{transition:c,transitionEnd:u,...f}=l;for(const d in f)(a=this.node.getValue(d))==null||a.jump(f[d])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>{this.isExitComplete=!0,n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const vL={animation:{Feature:pL},exit:{Feature:yL}};function wu(e){return{point:{x:e.pageX,y:e.pageY}}}const bL=e=>t=>wb(t)&&e(t,wu(t));function fc(e,t,n,r){return Ic(e,t,bL(n),r)}const KR=({current:e})=>e?e.ownerDocument.defaultView:null,bC=(e,t)=>Math.abs(e-t);function xL(e,t){const n=bC(e.x,t.x),r=bC(e.y,t.y);return Math.sqrt(n**2+r**2)}const xC=new Set(["auto","scroll"]);class QR{constructor(t,n,{transformPagePoint:r,contextWindow:i=window,dragSnapToOrigin:a=!1,distanceThreshold:o=3,element:s}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=m=>{this.handleScroll(m.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=ef(this.lastRawMoveEventInfo,this.transformPagePoint));const m=op(this.lastMoveEventInfo,this.history),v=this.startEvent!==null,x=xL(m.offset,{x:0,y:0})>=this.distanceThreshold;if(!v&&!x)return;const{point:S}=m,{timestamp:y}=kt;this.history.push({...S,timestamp:y});const{onStart:g,onMove:p}=this.handlers;v||(g&&g(this.lastMoveEvent,m),this.startEvent=this.lastMoveEvent),p&&p(this.lastMoveEvent,m)},this.handlePointerMove=(m,v)=>{this.lastMoveEvent=m,this.lastRawMoveEventInfo=v,this.lastMoveEventInfo=ef(v,this.transformPagePoint),Ie.update(this.updatePoint,!0)},this.handlePointerUp=(m,v)=>{this.end();const{onEnd:x,onSessionEnd:S,resumeAnimation:y}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&y&&y(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const g=op(m.type==="pointercancel"?this.lastMoveEventInfo:ef(v,this.transformPagePoint),this.history);this.startEvent&&x&&x(m,g),S&&S(m,g)},!wb(t))return;this.dragSnapToOrigin=a,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=o,this.contextWindow=i||window;const l=wu(t),c=ef(l,this.transformPagePoint),{point:u}=c,{timestamp:f}=kt;this.history=[{...u,timestamp:f}];const{onSessionStart:d}=n;d&&d(t,op(c,this.history)),this.removeListeners=xu(fc(this.contextWindow,"pointermove",this.handlePointerMove),fc(this.contextWindow,"pointerup",this.handlePointerUp),fc(this.contextWindow,"pointercancel",this.handlePointerUp)),s&&this.startScrollTracking(s)}startScrollTracking(t){let n=t.parentElement;for(;n;){const r=getComputedStyle(n);(xC.has(r.overflowX)||xC.has(r.overflowY))&&this.scrollPositions.set(n,{x:n.scrollLeft,y:n.scrollTop}),n=n.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){const n=this.scrollPositions.get(t);if(!n)return;const r=t===window,i=r?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},a={x:i.x-n.x,y:i.y-n.y};a.x===0&&a.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=a.x,this.lastMoveEventInfo.point.y+=a.y):this.history.length>0&&(this.history[0].x-=a.x,this.history[0].y-=a.y),this.scrollPositions.set(t,i),Ie.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Aa(this.updatePoint)}}function ef(e,t){return t?{point:t(e.point)}:e}function SC(e,t){return{x:e.x-t.x,y:e.y-t.y}}function op({point:e},t){return{point:e,delta:SC(e,ZR(t)),offset:SC(e,SL(t)),velocity:CL(t,.1)}}function SL(e){return e[0]}function ZR(e){return e[e.length-1]}function CL(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=ZR(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Fn(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&i.timestamp-r.timestamp>Fn(t)*2&&(r=e[1]);const a=ir(i.timestamp-r.timestamp);if(a===0)return{x:0,y:0};const o={x:(i.x-r.x)/a,y:(i.y-r.y)/a};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function wL(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?et(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?et(n,e,r.max):Math.min(e,n)),e}function CC(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function EL(e,{top:t,left:n,bottom:r,right:i}){return{x:CC(e.x,n,i),y:CC(e.y,t,r)}}function wC(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function AL(e,t){return{x:wC(e.x,t.x),y:wC(e.y,t.y)}}function TL(e,t){let n=.5;const r=dn(e),i=dn(t);return i>r?n=Vc(t.min,t.max-r,e.min):r>i&&(n=Vc(e.min,e.max-i,t.min)),ti(0,1,n)}function ML(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const My=.35;function RL(e=My){return e===!1?e=0:e===!0&&(e=My),{x:EC(e,"left","right"),y:EC(e,"top","bottom")}}function EC(e,t,n){return{min:AC(e,t),max:AC(e,n)}}function AC(e,t){return typeof e=="number"?e:e[t]||0}const OL=new WeakMap;class $L{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Tt(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:r}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const a=f=>{n&&this.snapToCursor(wu(f).point),this.stopAnimation()},o=(f,d)=>{const{drag:m,dragPropagation:v,onDragStart:x}=this.getProps();if(m&&!v&&(this.openDragLock&&this.openDragLock(),this.openDragLock=nB(m),!this.openDragLock))return;this.latestPointerEvent=f,this.latestPanInfo=d,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Ir(y=>{let g=this.getAxisMotionValue(y).get()||0;if(Jr.test(g)){const{projection:p}=this.visualElement;if(p&&p.layout){const b=p.layout.layoutBox[y];b&&(g=dn(b)*(parseFloat(g)/100))}}this.originPoint[y]=g}),x&&Ie.update(()=>x(f,d),!1,!0),vy(this.visualElement,"transform");const{animationState:S}=this.visualElement;S&&S.setActive("whileDrag",!0)},s=(f,d)=>{this.latestPointerEvent=f,this.latestPanInfo=d;const{dragPropagation:m,dragDirectionLock:v,onDirectionLock:x,onDrag:S}=this.getProps();if(!m&&!this.openDragLock)return;const{offset:y}=d;if(v&&this.currentDirection===null){this.currentDirection=jL(y),this.currentDirection!==null&&x&&x(this.currentDirection);return}this.updateAxis("x",d.point,y),this.updateAxis("y",d.point,y),this.visualElement.render(),S&&Ie.update(()=>S(f,d),!1,!0)},l=(f,d)=>{this.latestPointerEvent=f,this.latestPanInfo=d,this.stop(f,d),this.latestPointerEvent=null,this.latestPanInfo=null},c=()=>{const{dragSnapToOrigin:f}=this.getProps();(f||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:u}=this.getProps();this.panSession=new QR(t,{onSessionStart:a,onStart:o,onMove:s,onSessionEnd:l,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:r,contextWindow:KR(this.visualElement),element:this.visualElement.current})}stop(t,n){const r=t||this.latestPointerEvent,i=n||this.latestPanInfo,a=this.isDragging;if(this.cancel(),!a||!i||!r)return;const{velocity:o}=i;this.startAnimation(o);const{onDragEnd:s}=this.getProps();s&&Ie.postRender(()=>s(r,i))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!tf(t,i,this.currentDirection))return;const a=this.getAxisMotionValue(t);let o=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(o=wL(o,this.constraints[t],this.elastic[t])),a.set(o)}resolveConstraints(){var a;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(a=this.visualElement.projection)==null?void 0:a.layout,i=this.constraints;t&&ns(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=EL(r.layoutBox,t):this.constraints=!1,this.elastic=RL(n),i!==this.constraints&&!ns(t)&&r&&this.constraints&&!this.hasMutatedConstraints&&Ir(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=ML(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!ns(t))return!1;const r=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const a=NB(r,i.root,this.visualElement.getTransformPagePoint());let o=AL(i.layout.layoutBox,a);if(n){const s=n(RB(o));this.hasMutatedConstraints=!!s,s&&(o=bR(s))}return o}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:a,dragSnapToOrigin:o,onDragTransitionEnd:s}=this.getProps(),l=this.constraints||{},c=Ir(u=>{if(!tf(u,n,this.currentDirection))return;let f=l&&l[u]||{};(o===!0||o===u)&&(f={min:0,max:0});const d=i?200:1e6,m=i?40:1e7,v={type:"inertia",velocity:r?t[u]:0,bounceStiffness:d,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...a,...f};return this.startAxisValueAnimation(u,v)});return Promise.all(c).then(s)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return vy(this.visualElement,t),r.start(vb(t,r,0,n,this.visualElement,!1))}stopAnimation(){Ir(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){Ir(n=>{const{drag:r}=this.getProps();if(!tf(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,a=this.getAxisMotionValue(n);if(i&&i.layout){const{min:o,max:s}=i.layout.layoutBox[n],l=a.get()||0;a.set(t[n]-et(o,s,.5)+l)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!ns(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Ir(o=>{const s=this.getAxisMotionValue(o);if(s&&this.constraints!==!1){const l=s.get();i[o]=TL({min:l,max:l},this.constraints[o])}});const{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),Ir(o=>{if(!tf(o,t,null))return;const s=this.getAxisMotionValue(o),{min:l,max:c}=this.constraints[o];s.set(et(l,c,i[o]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;OL.set(this.visualElement,this);const t=this.visualElement.current,n=fc(t,"pointerdown",c=>{const{drag:u,dragListener:f=!0}=this.getProps(),d=c.target,m=d!==t&&lB(d);u&&f&&!m&&this.start(c)});let r;const i=()=>{const{dragConstraints:c}=this.getProps();ns(c)&&c.current&&(this.constraints=this.resolveRefConstraints(),r||(r=NL(t,c.current,()=>this.scalePositionWithinConstraints())))},{projection:a}=this.visualElement,o=a.addEventListener("measure",i);a&&!a.layout&&(a.root&&a.root.updateScroll(),a.updateLayout()),Ie.read(i);const s=Ic(window,"resize",()=>this.scalePositionWithinConstraints()),l=a.addEventListener("didUpdate",({delta:c,hasLayoutChanged:u})=>{this.isDragging&&u&&(Ir(f=>{const d=this.getAxisMotionValue(f);d&&(this.originPoint[f]+=c[f].translate,d.set(d.get()+c[f].translate))}),this.visualElement.render())});return()=>{s(),n(),o(),l&&l(),r&&r()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:a=!1,dragElastic:o=My,dragMomentum:s=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:a,dragElastic:o,dragMomentum:s}}}function TC(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function NL(e,t,n){const r=D1(e,TC(n)),i=D1(t,TC(n));return()=>{r(),i()}}function tf(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function jL(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class DL extends $a{constructor(t){super(t),this.removeGroupControls=sr,this.removeListeners=sr,this.controls=new $L(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||sr}update(){const{dragControls:t}=this.node.getProps(),{dragControls:n}=this.node.prevProps||{};t!==n&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const sp=e=>(t,n)=>{e&&Ie.update(()=>e(t,n),!1,!0)};class zL extends $a{constructor(){super(...arguments),this.removePointerDownListener=sr}onPointerDown(t){this.session=new QR(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:KR(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:sp(t),onStart:sp(n),onMove:sp(r),onEnd:(a,o)=>{delete this.session,i&&Ie.postRender(()=>i(a,o))}}}mount(){this.removePointerDownListener=fc(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let lp=!1;class BL extends h.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:a}=t;a&&(n.group&&n.group.add(a),r&&r.register&&i&&r.register(a),lp&&a.root.didUpdate(),a.addEventListener("animationComplete",()=>{this.safeToRemove()}),a.setOptions({...a.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Ff.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:a}=this.props,{projection:o}=r;return o&&(o.isPresent=a,t.layoutDependency!==n&&o.setOptions({...o.options,layoutDependency:n}),lp=!0,i||t.layoutDependency!==n||n===void 0||t.isPresent!==a?o.willUpdate():this.safeToRemove(),t.isPresent!==a&&(a?o.promote():o.relegate()||Ie.postRender(()=>{const s=o.getStack();(!s||!s.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:t,layoutAnchor:n}=this.props,{projection:r}=t;r&&(r.options.layoutAnchor=n,r.root.didUpdate(),Cb.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;lp=!0,i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function JR(e){const[t,n]=FR(),r=h.useContext(rb);return C.jsx(BL,{...e,layoutGroup:r,switchLayoutGroup:h.useContext(YR),isPresent:t,safeToRemove:n})}const PL={pan:{Feature:zL},drag:{Feature:DL,ProjectionNode:HR,MeasureLayout:JR}};function MC(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,a=r[i];a&&Ie.postRender(()=>a(t,wu(t)))}class LL extends $a{mount(){const{current:t}=this.node;t&&(this.unmount=iB(t,(n,r)=>(MC(this.node,r,"Start"),i=>MC(this.node,i,"End"))))}unmount(){}}class _L extends $a{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=xu(Ic(this.node.current,"focus",()=>this.onFocus()),Ic(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function RC(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),a=r[i];a&&Ie.postRender(()=>a(t,wu(t)))}class VL extends $a{mount(){const{current:t}=this.node;if(!t)return;const{globalTapTarget:n,propagate:r}=this.node.props;this.unmount=uB(t,(i,a)=>(RC(this.node,a,"Start"),(o,{success:s})=>RC(this.node,o,s?"End":"Cancel")),{useGlobalTarget:n,stopPropagation:(r==null?void 0:r.tap)===!1})}unmount(){}}const Ry=new WeakMap,cp=new WeakMap,HL=e=>{const t=Ry.get(e.target);t&&t(e)},FL=e=>{e.forEach(HL)};function IL({root:e,...t}){const n=e||document;cp.has(n)||cp.set(n,{});const r=cp.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(FL,{root:e,...t})),r[i]}function UL(e,t,n){const r=IL(t);return Ry.set(e,n),r.observe(e),()=>{Ry.delete(e),r.unobserve(e)}}const qL={some:0,all:1};class GL extends $a{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var l;(l=this.stopObserver)==null||l.call(this);const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:a}=t,o={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:qL[i]},s=c=>{const{isIntersecting:u}=c;if(this.isInView===u||(this.isInView=u,a&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:f,onViewportLeave:d}=this.node.getProps(),m=u?f:d;m&&m(c)};this.stopObserver=UL(this.node.current,o,s)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(kL(t,n))&&this.startObserver()}unmount(){var t;(t=this.stopObserver)==null||t.call(this),this.hasEnteredView=!1,this.isInView=!1}}function kL({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const XL={inView:{Feature:GL},tap:{Feature:VL},focus:{Feature:_L},hover:{Feature:LL}},YL={layout:{ProjectionNode:HR,MeasureLayout:JR}},WL={...vL,...XL,...PL,...YL},Ar=hL(WL,mL),Xe=e=>{const t=h.useRef(e);return t.current=e,h.useCallback((...r)=>{var i;return(i=t.current)==null?void 0:i.call(t,...r)},[])};function cr(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}const OC=cr()?h.useLayoutEffect:h.useEffect,Ot=(e,t)=>{const n=h.useRef(!0);OC(()=>e(n.current),t),OC(()=>(n.current=!1,()=>{n.current=!0}),[])},eO=e=>{const t=h.useRef(!1),[n,r]=h.useState(e);h.useEffect(()=>(t.current=!1,()=>{t.current=!0}),[]);function i(a,o){o&&t.current||r(a)}return[n,i]};function No(e,t){const[n,r]=h.useState(e),i=t!==void 0?t:n;return Ot(a=>{a||r(t)},[t]),[i,r]}var tO={exports:{}},Be={};/**
- * @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 jb=Symbol.for("react.element"),Db=Symbol.for("react.portal"),jh=Symbol.for("react.fragment"),Dh=Symbol.for("react.strict_mode"),zh=Symbol.for("react.profiler"),Bh=Symbol.for("react.provider"),Ph=Symbol.for("react.context"),KL=Symbol.for("react.server_context"),Lh=Symbol.for("react.forward_ref"),_h=Symbol.for("react.suspense"),Vh=Symbol.for("react.suspense_list"),Hh=Symbol.for("react.memo"),Fh=Symbol.for("react.lazy"),QL=Symbol.for("react.offscreen"),nO;nO=Symbol.for("react.module.reference");function hr(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case jb:switch(e=e.type,e){case jh:case zh:case Dh:case _h:case Vh:return e;default:switch(e=e&&e.$$typeof,e){case KL:case Ph:case Lh:case Fh:case Hh:case Bh:return e;default:return t}}case Db:return t}}}Be.ContextConsumer=Ph;Be.ContextProvider=Bh;Be.Element=jb;Be.ForwardRef=Lh;Be.Fragment=jh;Be.Lazy=Fh;Be.Memo=Hh;Be.Portal=Db;Be.Profiler=zh;Be.StrictMode=Dh;Be.Suspense=_h;Be.SuspenseList=Vh;Be.isAsyncMode=function(){return!1};Be.isConcurrentMode=function(){return!1};Be.isContextConsumer=function(e){return hr(e)===Ph};Be.isContextProvider=function(e){return hr(e)===Bh};Be.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===jb};Be.isForwardRef=function(e){return hr(e)===Lh};Be.isFragment=function(e){return hr(e)===jh};Be.isLazy=function(e){return hr(e)===Fh};Be.isMemo=function(e){return hr(e)===Hh};Be.isPortal=function(e){return hr(e)===Db};Be.isProfiler=function(e){return hr(e)===zh};Be.isStrictMode=function(e){return hr(e)===Dh};Be.isSuspense=function(e){return hr(e)===_h};Be.isSuspenseList=function(e){return hr(e)===Vh};Be.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===jh||e===zh||e===Dh||e===_h||e===Vh||e===QL||typeof e=="object"&&e!==null&&(e.$$typeof===Fh||e.$$typeof===Hh||e.$$typeof===Bh||e.$$typeof===Ph||e.$$typeof===Lh||e.$$typeof===nO||e.getModuleId!==void 0)};Be.typeOf=hr;tO.exports=Be;var up=tO.exports;function zb(e,t,n){const r=h.useRef({});return(!("value"in r.current)||n(r.current.condition,t))&&(r.current.value=e(),r.current.condition=t),r.current.value}const ZL=Symbol.for("react.element"),JL=Symbol.for("react.transitional.element"),e8=Symbol.for("react.fragment");function rO(e){return e&&typeof e=="object"&&(e.$$typeof===ZL||e.$$typeof===JL)&&e.type===e8}const t8=Number(h.version.split(".")[0]),n8=(e,t)=>{typeof e=="function"?e(t):typeof e=="object"&&e&&"current"in e&&(e.current=t)},_i=(...e)=>{const t=e.filter(Boolean);return t.length<=1?t[0]:n=>{e.forEach(r=>{n8(r,n)})}},Eu=(...e)=>zb(()=>_i(...e),e,(t,n)=>t.length!==n.length||t.every((r,i)=>r!==n[i])),Au=e=>{var n,r;if(!e)return!1;if(Bb(e)&&t8>=19)return!0;const t=up.isMemo(e)?e.type.type:e.type;return!(typeof t=="function"&&!((n=t.prototype)!=null&&n.render)&&t.$$typeof!==up.ForwardRef||typeof e=="function"&&!((r=e.prototype)!=null&&r.render)&&e.$$typeof!==up.ForwardRef)};function Bb(e){return h.isValidElement(e)&&!rO(e)}const r8=e=>Bb(e)&&Au(e),fl=e=>{if(e&&Bb(e)){const t=e;return t.props.propertyIsEnumerable("ref")?t.props.ref:t.ref}return null};function En(e,t){let n=e;for(let r=0;r<t.length;r+=1){if(n==null)return;n=n[t[r]]}return n}function iO(e,t,n,r){if(!t.length)return n;const[i,...a]=t;let o;return!e&&typeof i=="number"?o=[]:Array.isArray(e)?o=[...e]:o={...e},r&&n===void 0&&a.length===1?delete o[i][a[0]]:o[i]=iO(o[i],a,n,r),o}function Cn(e,t,n,r=!1){return t.length&&r&&n===void 0&&!En(e,t.slice(0,-1))?e:iO(e,t,n,r)}function i8(e){return typeof e=="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function $C(e){return Array.isArray(e)?[]:{}}const a8=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function o8(e,t={}){const{prepareArray:n}=t,r=n||(()=>[]);let i=$C(e[0]);return e.forEach(a=>{function o(s,l){const c=new Set(l),u=En(a,s),f=Array.isArray(u);if(f||i8(u)){if(!c.has(u)){c.add(u);const d=En(i,s);f?i=Cn(i,s,r(d,u)):(!d||typeof d!="object")&&(i=Cn(i,s,$C(u))),a8(u).forEach(m=>{Object.getOwnPropertyDescriptor(u,m).enumerable&&o([...s,m],c)})}}else i=Cn(i,s,u)}o([])}),i}function bs(...e){return o8(e)}let Oy={};const s8=e=>{};function l8(e,t){}function c8(e,t){}function u8(){Oy={}}function aO(e,t,n){!t&&!Oy[n]&&(e(!1,n),Oy[n]=!0)}function In(e,t){aO(l8,e,t)}function f8(e,t){aO(c8,e,t)}In.preMessage=s8;In.resetWarned=u8;In.noteOnce=f8;function Ei(e,t){const n=Object.assign({},e);return Array.isArray(t)&&t.forEach(r=>{delete n[r]}),n}function Ta(e,t={}){let n=[];return I.Children.forEach(e,r=>{r==null&&!t.keepEmpty||(Array.isArray(r)?n=n.concat(Ta(r)):rO(r)&&r.props?n=n.concat(Ta(r.props.children,t)):n.push(r))}),n}const d8=h.createContext({});function Xs(e){return e instanceof HTMLElement||e instanceof SVGElement}function Ih(e){return e&&typeof e=="object"&&Xs(e.nativeElement)?e.nativeElement:Xs(e)?e:null}const $y=h.createContext(null);function h8({children:e,onBatchResize:t}){const n=h.useRef(0),r=h.useRef([]),i=h.useContext($y),a=h.useCallback((o,s,l)=>{n.current+=1;const c=n.current;r.current.push({size:o,element:s,data:l}),Promise.resolve().then(()=>{c===n.current&&(t==null||t(r.current),r.current=[])}),i==null||i(o,s,l)},[t,i]);return h.createElement($y.Provider,{value:a},e)}const aa=new Map;function m8(e){e.forEach(t=>{var r;const{target:n}=t;(r=aa.get(n))==null||r.forEach(i=>i(n))})}let fp;function oO(){return fp||(fp=new ResizeObserver(m8)),fp}function p8(e,t){aa.has(e)||(aa.set(e,new Set),oO().observe(e)),aa.get(e).add(t)}function g8(e,t){aa.has(e)&&(aa.get(e).delete(t),aa.get(e).size||(oO().unobserve(e),aa.delete(e)))}function sO(e,t,n,r){const i=h.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),a=Xe(l=>{const{width:c,height:u}=l.getBoundingClientRect(),{offsetWidth:f,offsetHeight:d}=l,m=Math.floor(c),v=Math.floor(u);if(i.current.width!==m||i.current.height!==v||i.current.offsetWidth!==f||i.current.offsetHeight!==d){const x={width:m,height:v,offsetWidth:f,offsetHeight:d};i.current=x;const S=f===Math.round(c)?c:f,y=d===Math.round(u)?u:d,g={...x,offsetWidth:S,offsetHeight:y};r==null||r(g,l),Promise.resolve().then(()=>{n==null||n(g,l)})}}),o=typeof t=="function",s=h.useRef(0);h.useEffect(()=>{const l=o?t():t;return l&&e?p8(l,a):e&&o&&(s.current+=1),()=>{l&&g8(l,a)}},[e,o?s.current:t])}function y8(e,t){const{children:n,disabled:r,onResize:i,data:a}=e,o=h.useRef(null),s=h.useContext($y),l=typeof n=="function",c=l?n(o):n,u=!l&&h.isValidElement(c)&&Au(c),f=u?fl(c):null,d=Eu(f,o),m=()=>Ih(o.current);return h.useImperativeHandle(t,()=>m()),sO(!r,m,i,(v,x)=>{s==null||s(v,x,a)}),u?h.cloneElement(c,{ref:d}):c}const v8=h.forwardRef(y8);function Ny(){return Ny=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},Ny.apply(this,arguments)}const b8="rc-observer-key";function x8(e,t){const{children:n}=e;return(typeof n=="function"?[n]:Ta(n)).map((i,a)=>{const o=(i==null?void 0:i.key)||`${b8}-${a}`;return h.createElement(v8,Ny({},e,{key:o,ref:a===0?t:void 0}),i)})}const Pb=h.forwardRef(x8);Pb.Collection=h8;function lO(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=lO(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function k(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=lO(e))&&(r&&(r+=" "),r+=t);return r}function jy(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function S8(e){if(Array.isArray(e))return jy(e)}function C8(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function cO(e,t){if(e){if(typeof e=="string")return jy(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?jy(e,t):void 0}}function w8(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function He(e){return S8(e)||C8(e)||cO(e)||w8()}let uO=e=>+setTimeout(e,16),fO=e=>clearTimeout(e);typeof window<"u"&&"requestAnimationFrame"in window&&(uO=e=>window.requestAnimationFrame(e),fO=e=>window.cancelAnimationFrame(e));let NC=0;const Lb=new Map;function dO(e){Lb.delete(e)}const nn=(e,t=1)=>{NC+=1;const n=NC;function r(i){if(i===0)dO(n),e();else{const a=uO(()=>{r(i-1)});Lb.set(n,a)}}return r(t),n};nn.cancel=e=>{const t=Lb.get(e);return dO(e),fO(t)};const Uc="ant",Uh="anticon",E8=["outlined","borderless","filled","underlined"],A8=(e,t)=>t||(e?`${Uc}-${e}`:Uc),qe=h.createContext({getPrefixCls:A8,iconPrefixCls:Uh}),{Consumer:IX}=qe,jC={};function jr(e){const t=h.useContext(qe),{getPrefixCls:n,direction:r,getPopupContainer:i,renderEmpty:a}=t,o=t[e];return{classNames:jC,styles:jC,...o,getPrefixCls:n,direction:r,getPopupContainer:i,renderEmpty:a}}function qc(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=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(i){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 T8(e,t){if(!e)return!1;if(e.contains)return e.contains(t);let n=t;for(;n;){if(n===e)return!0;n=n.parentNode}return!1}const DC="data-rc-order",zC="data-rc-priority",M8="rc-util-key",Dy=new Map;function hO({mark:e}={}){return e?e.startsWith("data-")?e:`data-${e}`:M8}function qh(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function R8(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function _b(e){return Array.from((Dy.get(e)||e).children).filter(t=>t.tagName==="STYLE")}function mO(e,t={}){if(!cr())return null;const{csp:n,prepend:r,priority:i=0}=t,a=R8(r),o=a==="prependQueue",s=document.createElement("style");s.setAttribute(DC,a),o&&i&&s.setAttribute(zC,`${i}`),n!=null&&n.nonce&&(s.nonce=n==null?void 0:n.nonce),s.innerHTML=e;const l=qh(t),{firstChild:c}=l;if(r){if(o){const u=(t.styles||_b(l)).filter(f=>{if(!["prepend","prependQueue"].includes(f.getAttribute(DC)))return!1;const d=Number(f.getAttribute(zC)||0);return i>=d});if(u.length)return l.insertBefore(s,u[u.length-1].nextSibling),s}l.insertBefore(s,c)}else l.appendChild(s);return s}function pO(e,t={}){let{styles:n}=t;return n||(n=_b(qh(t))),n.find(r=>r.getAttribute(hO(t))===e)}function Gc(e,t={}){const n=pO(e,t);n&&qh(t).removeChild(n)}function O8(e,t){const n=Dy.get(e);if(!n||!T8(document,n)){const r=mO("",t),{parentNode:i}=r;Dy.set(e,i),e.removeChild(r)}}function va(e,t,n={}){var l,c,u;const r=qh(n),i=_b(r),a={...n,styles:i};O8(r,a);const o=pO(t,a);if(o)return(l=a.csp)!=null&&l.nonce&&o.nonce!==((c=a.csp)==null?void 0:c.nonce)&&(o.nonce=(u=a.csp)==null?void 0:u.nonce),o.innerHTML!==e&&(o.innerHTML=e),o;const s=mO(e,a);return s.setAttribute(hO(a),t),s}function zy(e,t,n=!1){const r=new Set;function i(a,o,s=1){const l=r.has(a);if(In(!l,"Warning: There may be circular references"),l)return!1;if(a===o)return!0;if(n&&s>1)return!1;r.add(a);const c=s+1;if(Array.isArray(a)){if(!Array.isArray(o)||a.length!==o.length)return!1;for(let u=0;u<a.length;u++)if(!i(a[u],o[u],c))return!1;return!0}if(a&&o&&typeof a=="object"&&typeof o=="object"){const u=Object.keys(a);return u.length!==Object.keys(o).length?!1:u.every(f=>i(a[f],o[f],c))}return!1}return i(e,t)}const $8="%";function By(e){return e.join($8)}let BC=0;class N8{constructor(t){V(this,"instanceId");V(this,"cache",new Map);V(this,"updateTimes",new Map);V(this,"extracted",new Set);this.instanceId=t}get(t){return this.opGet(By(t))}opGet(t){return this.cache.get(t)||null}update(t,n){return this.opUpdate(By(t),n)}opUpdate(t,n){const r=this.cache.get(t),i=n(r);i===null?(this.cache.delete(t),this.updateTimes.delete(t)):(this.cache.set(t,i),this.updateTimes.set(t,BC),BC+=1)}}const Vb="data-token-hash",Ai="data-css-hash",yi="__cssinjs_instance__";function j8(){const e=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){const t=document.body.querySelectorAll(`style[${Ai}]`)||[],{firstChild:n}=document.head;Array.from(t).forEach(i=>{i[yi]||(i[yi]=e),i[yi]===e&&document.head.insertBefore(i,n)});const r={};Array.from(document.querySelectorAll(`style[${Ai}]`)).forEach(i=>{var o;const a=i.getAttribute(Ai);r[a]?i[yi]===e&&((o=i.parentNode)==null||o.removeChild(i)):r[a]=!0})}return new N8(e)}const Tu=h.createContext({hashPriority:"low",cache:j8(),defaultCache:!0,autoPrefix:!1});function D8(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}const Cs=class Cs{constructor(){V(this,"cache");V(this,"keys");V(this,"cacheCallTimes");this.cache=new Map,this.keys=[],this.cacheCallTimes=0}size(){return this.keys.length}internalGet(t,n=!1){let r={map:this.cache};return t.forEach(i=>{var a;r?r=(a=r==null?void 0:r.map)==null?void 0:a.get(i):r=void 0}),r!=null&&r.value&&n&&(r.value[1]=this.cacheCallTimes++),r==null?void 0:r.value}get(t){var n;return(n=this.internalGet(t,!0))==null?void 0:n[0]}has(t){return!!this.internalGet(t)}set(t,n){if(!this.has(t)){if(this.size()+1>Cs.MAX_CACHE_SIZE+Cs.MAX_CACHE_OFFSET){const[i]=this.keys.reduce((a,o)=>{const[,s]=a;return this.internalGet(o)[1]<s?[o,this.internalGet(o)[1]]:a},[this.keys[0],this.cacheCallTimes]);this.delete(i)}this.keys.push(t)}let r=this.cache;t.forEach((i,a)=>{if(a===t.length-1)r.set(i,{value:[n,this.cacheCallTimes++]});else{const o=r.get(i);o?o.map||(o.map=new Map):r.set(i,{map:new Map}),r=r.get(i).map}})}deleteByPath(t,n){var a;const r=t.get(n[0]);if(n.length===1)return r.map?t.set(n[0],{map:r.map}):t.delete(n[0]),(a=r.value)==null?void 0:a[0];const i=this.deleteByPath(r.map,n.slice(1));return(!r.map||r.map.size===0)&&!r.value&&t.delete(n[0]),i}delete(t){if(this.has(t))return this.keys=this.keys.filter(n=>!D8(n,t)),this.deleteByPath(this.cache,t)}};V(Cs,"MAX_CACHE_SIZE",20),V(Cs,"MAX_CACHE_OFFSET",5);let Py=Cs,PC=0;class gO{constructor(t){V(this,"derivatives");V(this,"id");this.derivatives=Array.isArray(t)?t:[t],this.id=PC,t.length===0&&(t.length>0,void 0),PC+=1}getDerivativeToken(t){return this.derivatives.reduce((n,r)=>r(t,n),void 0)}}const dp=new Py;function Ly(e){const t=Array.isArray(e)?e:[e];return dp.has(t)||dp.set(t,new gO(t)),dp.get(t)}const z8=new WeakMap,hp={};function B8(e,t){let n=z8;for(let r=0;r<t.length;r+=1){const i=t[r];n.has(i)||n.set(i,new WeakMap),n=n.get(i)}return n.has(hp)||n.set(hp,e()),n.get(hp)}const LC=new WeakMap;function dc(e){let t=LC.get(e)||"";return t||(Object.keys(e).forEach(n=>{const r=e[n];t+=n,r instanceof gO?t+=r.id:r&&typeof r=="object"?t+=dc(r):t+=r}),t=qc(t),LC.set(e,t)),t}function P8(e,t){return qc(`${t}_${dc(e)}`)}const _y=cr();function be(e){return typeof e=="number"?`${e}px`:e}function yO(e){const{hashCls:t,hashPriority:n="low"}=e||{};if(!t)return"";const r=`.${t}`;return n==="low"?`:where(${r})`:r}const L8=e=>e!=null;function Hb(e,t){const n=typeof t=="function"?t():t;return n?{...e,csp:{...e.csp,nonce:n}}:e}const If=(e,t="")=>`--${t?`${t}-`:""}${e}`.replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase(),_8=(e,t,n)=>{const{hashCls:r,hashPriority:i="low",scope:a}=n||{};if(!Object.keys(e).length)return"";const o=`${yO({hashCls:r,hashPriority:i})}.${t}`,s=[a].flat().filter(Boolean);return`${s.length?s.map(c=>`${o}.${c}`).join(", "):o}{${Object.entries(e).map(([c,u])=>`${c}:${u};`).join("")}}`},vO=(e,t,n)=>{const{hashCls:r,hashPriority:i="low",prefix:a,unitless:o,ignore:s,preserve:l}=n||{},c={},u={};return Object.entries(e).forEach(([f,d])=>{if(l!=null&&l[f])u[f]=d;else if((typeof d=="string"||typeof d=="number")&&!(s!=null&&s[f])){const m=If(f,a);c[m]=typeof d=="number"&&!(o!=null&&o[f])?`${d}px`:String(d),u[f]=`var(${m})`}}),[u,_8(c,t,{scope:n==null?void 0:n.scope,hashCls:r,hashPriority:i})]},nf=new Map;function Fb(e,t,n,r,i){const{cache:a}=h.useContext(Tu),o=[e,...t],s=By(o),l=f=>{a.opUpdate(s,d=>{const[m=0,v]=d||[void 0,void 0],S=v||n(),y=[m,S];return f?f(y):y})};h.useMemo(()=>{l()},[s]);const u=a.opGet(s)[1];return h.useInsertionEffect(()=>(l(([f,d])=>[f+1,d]),nf.has(s)||(i==null||i(u),nf.set(s,!0),Promise.resolve().then(()=>{nf.delete(s)})),()=>{a.opUpdate(s,f=>{const[d=0,m]=f||[];return d-1===0?(r==null||r(m,!1),nf.delete(s),null):[d-1,m]})}),[s]),u}const V8={},H8="css",Xa=new Map;function F8(e){Xa.set(e,(Xa.get(e)||0)+1)}function I8(e,t){typeof document<"u"&&document.querySelectorAll(`style[${Vb}="${e}"]`).forEach(r=>{var i;r[yi]===t&&((i=r.parentNode)==null||i.removeChild(r))})}const U8=-1;function q8(e,t){Xa.set(e,(Xa.get(e)||0)-1);const n=new Set;Xa.forEach((r,i)=>{r<=0&&n.add(i)}),Xa.size-n.size>U8&&n.forEach(r=>{I8(r,t),Xa.delete(r)})}const G8=(e,t,n,r)=>{let a={...n.getDerivativeToken(e),...t};return r&&(a=r(a)),a},k8="token";function X8(e,t,n){const{cache:{instanceId:r},container:i,hashPriority:a}=h.useContext(Tu),{salt:o="",override:s=V8,formatToken:l,getComputedToken:c,cssVar:u,nonce:f}=n,d=B8(()=>Object.assign({},...t),t),m=dc(d),v=dc(s),x=dc(u);return Fb(k8,[o,e.id,m,v,x],()=>{const y=c?c(d,s,e):G8(d,s,e,l),g={...y},p=`${o}_${u.prefix}`,b=qc(p),w=`${H8}-${b}`;g._tokenKey=P8(g,p);const[A,E]=vO(y,u.key,{prefix:u.prefix,ignore:u.ignore,unitless:u.unitless,preserve:u.preserve,hashPriority:a,hashCls:u.hashed?w:void 0});return A._hashId=b,F8(u.key),[A,w,g,E,u.key]},([,,,,y])=>{q8(y,r)},([,,,y,g])=>{if(!y)return;let p={mark:Ai,prepend:"queue",attachTo:i,priority:-999};p=Hb(p,f);const b=va(y,qc(`css-var-${g}`),p);b[yi]=r,b.setAttribute(Vb,g)})}var Y8={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Ze="-ms-",hc="-moz-",$e="-webkit-",bO="comm",Ib="rule",Ub="decl",W8="@import",K8="@namespace",xO="@keyframes",Q8="@layer",SO=Math.abs,qb=String.fromCharCode,Vy=Object.assign;function Z8(e,t){return Mt(e,0)^45?(((t<<2^Mt(e,0))<<2^Mt(e,1))<<2^Mt(e,2))<<2^Mt(e,3):0}function CO(e){return e.trim()}function hi(e,t){return(e=t.exec(e))?e[0]:e}function ve(e,t,n){return e.replace(t,n)}function Uf(e,t,n){return e.indexOf(t,n)}function Mt(e,t){return e.charCodeAt(t)|0}function xo(e,t,n){return e.slice(t,n)}function Tr(e){return e.length}function wO(e){return e.length}function Ul(e,t){return t.push(e),e}function J8(e,t){return e.map(t).join("")}function _C(e,t){return e.filter(function(n){return!hi(n,t)})}var Gh=1,Ys=1,EO=0,ur=0,xt=0,dl="";function kh(e,t,n,r,i,a,o,s){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:Gh,column:Ys,length:o,return:"",siblings:s}}function qi(e,t){return Vy(kh("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function Uo(e){for(;e.root;)e=qi(e.root,{children:[e]});Ul(e,e.siblings)}function e_(){return xt}function t_(){return xt=ur>0?Mt(dl,--ur):0,Ys--,xt===10&&(Ys=1,Gh--),xt}function Or(){return xt=ur<EO?Mt(dl,ur++):0,Ys++,xt===10&&(Ys=1,Gh++),xt}function oa(){return Mt(dl,ur)}function qf(){return ur}function Xh(e,t){return xo(dl,e,t)}function kc(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function n_(e){return Gh=Ys=1,EO=Tr(dl=e),ur=0,[]}function r_(e){return dl="",e}function mp(e){return CO(Xh(ur-1,Hy(e===91?e+2:e===40?e+1:e)))}function i_(e){for(;(xt=oa())&&xt<33;)Or();return kc(e)>2||kc(xt)>3?"":" "}function a_(e,t){for(;--t&&Or()&&!(xt<48||xt>102||xt>57&&xt<65||xt>70&&xt<97););return Xh(e,qf()+(t<6&&oa()==32&&Or()==32))}function Hy(e){for(;Or();)switch(xt){case e:return ur;case 34:case 39:e!==34&&e!==39&&Hy(xt);break;case 40:e===41&&Hy(e);break;case 92:Or();break}return ur}function o_(e,t){for(;Or()&&e+xt!==57;)if(e+xt===84&&oa()===47)break;return"/*"+Xh(t,ur-1)+"*"+qb(e===47?e:Or())}function s_(e){for(;!kc(oa());)Or();return Xh(e,ur)}function VC(e){return r_(Gf("",null,null,null,[""],e=n_(e),0,[0],e))}function Gf(e,t,n,r,i,a,o,s,l){for(var c=0,u=0,f=o,d=0,m=0,v=0,x=1,S=1,y=1,g=0,p="",b=i,w=a,A=r,E=p;S;)switch(v=g,g=Or()){case 40:if(v!=108&&Mt(E,f-1)==58){Uf(E+=ve(mp(g),"&","&\f"),"&\f",SO(c?s[c-1]:0))!=-1&&(y=-1);break}case 34:case 39:case 91:E+=mp(g);break;case 9:case 10:case 13:case 32:E+=i_(v);break;case 92:E+=a_(qf()-1,7);continue;case 47:switch(oa()){case 42:case 47:Ul(l_(o_(Or(),qf()),t,n,l),l),(kc(v||1)==5||kc(oa()||1)==5)&&Tr(E)&&xo(E,-1,void 0)!==" "&&(E+=" ");break;default:E+="/"}break;case 123*x:s[c++]=Tr(E)*y;case 125*x:case 59:case 0:switch(g){case 0:case 125:S=0;case 59+u:y==-1&&(E=ve(E,/\f/g,"")),m>0&&(Tr(E)-f||x===0&&v===47)&&Ul(m>32?FC(E+";",r,n,f-1,l):FC(ve(E," ","")+";",r,n,f-2,l),l);break;case 59:E+=";";default:if(Ul(A=HC(E,t,n,c,u,i,s,p,b=[],w=[],f,a),a),g===123)if(u===0)Gf(E,t,A,A,b,a,f,s,w);else{switch(d){case 99:if(Mt(E,3)===110)break;case 108:if(Mt(E,2)===97)break;default:u=0;case 100:case 109:case 115:}u?Gf(e,A,A,r&&Ul(HC(e,A,A,0,0,i,s,p,i,b=[],f,w),w),i,w,f,s,r?b:w):Gf(E,A,A,A,[""],w,0,s,w)}}c=u=m=0,x=y=1,p=E="",f=o;break;case 58:f=1+Tr(E),m=v;default:if(x<1){if(g==123)--x;else if(g==125&&x++==0&&t_()==125)continue}switch(E+=qb(g),g*x){case 38:y=u>0?1:(E+="\f",-1);break;case 44:s[c++]=(Tr(E)-1)*y,y=1;break;case 64:oa()===45&&(E+=mp(Or())),d=oa(),u=f=Tr(p=E+=s_(qf())),g++;break;case 45:v===45&&Tr(E)==2&&(x=0)}}return a}function HC(e,t,n,r,i,a,o,s,l,c,u,f){for(var d=i-1,m=i===0?a:[""],v=wO(m),x=0,S=0,y=0;x<r;++x)for(var g=0,p=xo(e,d+1,d=SO(S=o[x])),b=e;g<v;++g)(b=CO(S>0?m[g]+" "+p:ve(p,/&\f/g,m[g])))&&(l[y++]=b);return kh(e,t,n,i===0?Ib:s,l,c,u,f)}function l_(e,t,n,r){return kh(e,t,n,bO,qb(e_()),xo(e,2,-2),0,r)}function FC(e,t,n,r,i){return kh(e,t,n,Ub,xo(e,0,r),xo(e,r+1,-1),r,i)}function AO(e,t,n){switch(Z8(e,t)){case 5103:return $e+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:case 6391:case 5879:case 5623:case 6135:case 4599:return $e+e+e;case 4855:return $e+e.replace("add","source-over").replace("substract","source-out").replace("intersect","source-in").replace("exclude","xor")+e;case 4789:return hc+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return $e+e+hc+e+Ze+e+e;case 5936:switch(Mt(e,t+11)){case 114:return $e+e+Ze+ve(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return $e+e+Ze+ve(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return $e+e+Ze+ve(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return $e+e+Ze+e+e;case 6165:return $e+e+Ze+"flex-"+e+e;case 5187:return $e+e+ve(e,/(\w+).+(:[^]+)/,$e+"box-$1$2"+Ze+"flex-$1$2")+e;case 5443:return $e+e+Ze+"flex-item-"+ve(e,/flex-|-self/g,"")+(hi(e,/flex-|baseline/)?"":Ze+"grid-row-"+ve(e,/flex-|-self/g,""))+e;case 4675:return $e+e+Ze+"flex-line-pack"+ve(e,/align-content|flex-|-self/g,"")+e;case 5548:return $e+e+Ze+ve(e,"shrink","negative")+e;case 5292:return $e+e+Ze+ve(e,"basis","preferred-size")+e;case 6060:return $e+"box-"+ve(e,"-grow","")+$e+e+Ze+ve(e,"grow","positive")+e;case 4554:return $e+ve(e,/([^-])(transform)/g,"$1"+$e+"$2")+e;case 6187:return ve(ve(ve(e,/(zoom-|grab)/,$e+"$1"),/(image-set)/,$e+"$1"),e,"")+e;case 5495:case 3959:return ve(e,/(image-set\([^]*)/,$e+"$1$`$1");case 4968:return ve(ve(e,/(.+:)(flex-)?(.*)/,$e+"box-pack:$3"+Ze+"flex-pack:$3"),/space-between/,"justify")+$e+e+e;case 4200:if(!hi(e,/flex-|baseline/))return Ze+"grid-column-align"+xo(e,t)+e;break;case 2592:case 3360:return Ze+ve(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,i){return t=i,hi(r.props,/grid-\w+-end/)})?~Uf(e+(n=n[t].value),"span",0)?e:Ze+ve(e,"-start","")+e+Ze+"grid-row-span:"+(~Uf(n,"span",0)?hi(n,/\d+/):+hi(n,/\d+/)-+hi(e,/\d+/))+";":Ze+ve(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return hi(r.props,/grid-\w+-start/)})?e:Ze+ve(ve(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return ve(e,/(.+)-inline(.+)/,$e+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Tr(e)-1-t>6)switch(Mt(e,t+1)){case 109:if(Mt(e,t+4)!==45)break;case 102:return ve(e,/(.+:)(.+)-([^]+)/,"$1"+$e+"$2-$3$1"+hc+(Mt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Uf(e,"stretch",0)?AO(ve(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return ve(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,i,a,o,s,l,c){return Ze+i+":"+a+c+(o?Ze+i+"-span:"+(s?l:+l-+a)+c:"")+e});case 4949:if(Mt(e,t+6)===121)return ve(e,":",":"+$e)+e;break;case 6444:switch(Mt(e,Mt(e,14)===45?18:11)){case 120:return ve(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+$e+(Mt(e,14)===45?"inline-":"")+"box$3$1"+$e+"$2$3$1"+Ze+"$2box$3")+e;case 100:return ve(e,":",":"+Ze)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return ve(e,"scroll-","scroll-snap-")+e}return e}function Xc(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function IC(e,t,n,r){switch(e.type){case Q8:if(e.children.length)break;case W8:case K8:case Ub:return e.return=e.return||e.value;case bO:return"";case xO:return e.return=e.value+"{"+Xc(e.children,r)+"}";case Ib:if(!Tr(e.value=e.props.join(",")))return""}return Tr(n=Xc(e.children,r))?e.return=e.value+"{"+n+"}":""}function c_(e){var t=wO(e);return function(n,r,i,a){for(var o="",s=0;s<t;s++)o+=e[s](n,r,i,a)||"";return o}}function u_(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Ub:e.return=AO(e.value,e.length,n);return;case xO:return Xc([qi(e,{value:ve(e.value,"@","@"+$e)})],r);case Ib:if(e.length)return J8(n=e.props,function(i){switch(hi(i,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Uo(qi(e,{props:[ve(i,/:(read-\w+)/,":"+hc+"$1")]})),Uo(qi(e,{props:[i]})),Vy(e,{props:_C(n,r)});break;case"::placeholder":Uo(qi(e,{props:[ve(i,/:(plac\w+)/,":"+$e+"input-$1")]})),Uo(qi(e,{props:[ve(i,/:(plac\w+)/,":"+hc+"$1")]})),Uo(qi(e,{props:[ve(i,/:(plac\w+)/,Ze+"input-$1")]})),Uo(qi(e,{props:[i]})),Vy(e,{props:_C(n,r)});break}return""})}}const UC="data-ant-cssinjs-cache-path",TO="_FILE_STYLE__";let ho,MO=!0;function f_(){var e;if(!ho&&(ho={},cr())){const t=document.createElement("div");t.className=UC,t.style.position="fixed",t.style.visibility="hidden",t.style.top="-9999px",document.body.appendChild(t);let n=getComputedStyle(t).content||"";n=n.replace(/^"/,"").replace(/"$/,""),n.split(";").forEach(i=>{const[a,o]=i.split(":");ho[a]=o});const r=document.querySelector(`style[${UC}]`);r&&(MO=!1,(e=r.parentNode)==null||e.removeChild(r)),document.body.removeChild(t)}}function d_(e){return f_(),!!ho[e]}function h_(e){const t=ho[e];let n=null;if(t&&cr())if(MO)n=TO;else{const r=document.querySelector(`style[${Ai}="${ho[e]}"]`);r?n=r.innerHTML:delete ho[e]}return[n,t]}const m_="_skip_check_",RO="_multi_value_";function pp(e,t){return(t?Xc(VC(e),c_([u_,IC])):Xc(VC(e),IC)).replace(/\{%%%\:[^;];}/g,";")}function p_(e){return typeof e=="object"&&e&&(m_ in e||RO in e)}function qC(e,t,n="high"){if(!t)return e;const r=yO({hashCls:t,hashPriority:n});return e.split(",").map(a=>{var c;const o=a.trim().split(/\s+/);let s=o[0]||"";const l=((c=s.match(/^\w+/))==null?void 0:c[0])||"";return s=`${l}${r}${s.slice(l.length)}`,[s,...o.slice(1)].join(" ")}).join(",")}const Fy=(e,t={},{root:n,injectHash:r,parentSelectors:i}={root:!0,parentSelectors:[]})=>{const{hashId:a,layer:o,path:s,hashPriority:l,transformers:c=[],linters:u=[]}=t;let f="",d={};function m(S){const y=S.getName(a);if(!d[y]){const[g]=Fy(S.style,t,{root:!1,parentSelectors:i});d[y]=`@keyframes ${S.getName(a)}${g}`}}function v(S,y=[]){return S.forEach(g=>{Array.isArray(g)?v(g,y):g&&y.push(g)}),y}return v(Array.isArray(e)?e:[e]).forEach(S=>{const y=typeof S=="string"&&!n?{}:S;if(typeof y=="string")f+=`${y}
- `;else if(y._keyframe)m(y);else{const g=c.reduce((p,b)=>{var w;return((w=b==null?void 0:b.visit)==null?void 0:w.call(b,p))||p},y);Object.keys(g).forEach(p=>{const b=g[p];if(typeof b=="object"&&b&&(p!=="animationName"||!b._keyframe)&&!p_(b)){let w=!1,A=p.trim(),E=!1;(n||r)&&a?A.startsWith("@")?w=!0:A==="&"?A=qC("",a,l):A=qC(p,a,l):n&&!a&&(A==="&"||A==="")&&(A="",E=!0);const[R,T]=Fy(b,t,{root:E,injectHash:w,parentSelectors:[...i,A]});d={...d,...T},f+=`${A}${R}`}else{let w=function(E,R){const T=E.replace(/[A-Z]/g,O=>`-${O.toLowerCase()}`);let M=R;!Y8[E]&&typeof M=="number"&&M!==0&&(M=`${M}px`),E==="animationName"&&(R!=null&&R._keyframe)&&(m(R),M=R.getName(a)),f+=`${T}:${M};`};const A=(b==null?void 0:b.value)??b;typeof b=="object"&&(b!=null&&b[RO])&&Array.isArray(A)?A.forEach(E=>{w(p,E)}):L8(A)&&w(p,A)}})}}),n?o&&(f&&(f=`@layer ${o.name} {${f}}`),o.dependencies&&(d[`@layer ${o.name}`]=o.dependencies.map(S=>`@layer ${S}, ${o.name};`).join(`
- `))):f=`{${f}}`,[f,d]};function OO(e,t){return qc(`${e.join("%")}${t}`)}const g_="style";function Iy(e,t){const{path:n,hashId:r,layer:i,nonce:a,clientOnly:o,order:s=0}=e,{mock:l,hashPriority:c,container:u,transformers:f,linters:d,cache:m,layer:v,autoPrefix:x}=h.useContext(Tu),S=[r||""];v&&S.push("layer"),S.push(...n);let y=_y;Fb(g_,S,()=>{const g=S.join("|");if(d_(g)){const[R,T]=h_(g);if(R)return[R,T,{},o,s]}const p=t(),[b,w]=Fy(p,{hashId:r,hashPriority:c,layer:v?i:void 0,path:n.join("-"),transformers:f,linters:d}),A=pp(b,x||!1),E=OO(S,A);return[A,E,w,o,s]},(g,p)=>{const[,b]=g;p&&_y&&Gc(b,{mark:Ai,attachTo:u})},g=>{const[p,b,w,,A]=g;if(y&&p!==TO){let E={mark:Ai,prepend:v?!1:"queue",attachTo:u,priority:A};E=Hb(E,a);const R=[],T=[];Object.keys(w).forEach(O=>{O.startsWith("@layer")?R.push(O):T.push(O)}),R.forEach(O=>{va(pp(w[O],x||!1),`_layer-${O}`,{...E,prepend:!0})});const M=va(p,b,E);M[yi]=m.instanceId,T.forEach(O=>{va(pp(w[O],x||!1),`_effect-${O}`,E)})}})}const y_="cssVar",v_=(e,t)=>{const{key:n,prefix:r,unitless:i,ignore:a,token:o,hashId:s,scope:l,nonce:c}=e,{cache:{instanceId:u},container:f,hashPriority:d}=h.useContext(Tu),{_tokenKey:m}=o,v=Array.isArray(l)?l.join("@@"):l,x=[...e.path,n,v,m];return Fb(y_,x,()=>{const y=t(),[g,p]=vO(y,n,{prefix:r,unitless:i,ignore:a,scope:l,hashPriority:d,hashCls:s}),b=OO(x,p);return[g,p,b,n]},([,,y])=>{_y&&Gc(y,{mark:Ai,attachTo:f})},([,y,g])=>{if(!y)return;let p={mark:Ai,prepend:"queue",attachTo:f,priority:-999};p=Hb(p,c);const b=va(y,g,p);b[yi]=u,b.setAttribute(Vb,n)})};class rn{constructor(t,n){V(this,"name");V(this,"style");V(this,"_keyframe",!0);this.name=t,this.style=n}getName(t=""){return t?`${t}-${this.name}`:this.name}}function qo(e){return e.notSplit=!0,e}qo(["borderTop","borderBottom"]),qo(["borderTop"]),qo(["borderBottom"]),qo(["borderLeft","borderRight"]),qo(["borderLeft"]),qo(["borderRight"]);function Ct(e){"@babel/helpers - typeof";return Ct=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},Ct(e)}function b_(e){if(Array.isArray(e))return e}function x_(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(u){c=!0,i=u}finally{try{if(!l&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}function S_(){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 $O(e,t){return b_(e)||x_(e,t)||cO(e,t)||S_()}function C_(e,t){if(Ct(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Ct(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function NO(e){var t=C_(e,"string");return Ct(t)=="symbol"?t:t+""}function Ft(e,t,n){return(t=NO(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function GC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ft(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?GC(Object(n),!0).forEach(function(r){Ft(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):GC(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function hl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w_(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,NO(r.key),r)}}function ml(e,t,n){return t&&w_(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function $s(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yc(e,t){return Yc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Yc(e,t)}function jO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Yc(e,t)}function Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Wc(e)}function Gb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Gb=function(){return!!e})()}function E_(e,t){if(t&&(Ct(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return $s(e)}function DO(e){var t=Gb();return function(){var n,r=Wc(e);if(t){var i=Wc(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return E_(this,n)}}var A_=ml(function e(){hl(this,e)}),zO="CALC_UNIT",T_=new RegExp(zO,"g");function gp(e){return typeof e=="number"?"".concat(e).concat(zO):e}var M_=function(e){jO(n,e);var t=DO(n);function n(r,i){var a;hl(this,n),a=t.call(this),Ft($s(a),"result",""),Ft($s(a),"unitlessCssVar",void 0),Ft($s(a),"lowPriority",void 0);var o=Ct(r);return a.unitlessCssVar=i,r instanceof n?a.result="(".concat(r.result,")"):o==="number"?a.result=gp(r):o==="string"&&(a.result=r),a}return ml(n,[{key:"add",value:function(i){return i instanceof n?this.result="".concat(this.result," + ").concat(i.getResult()):(typeof i=="number"||typeof i=="string")&&(this.result="".concat(this.result," + ").concat(gp(i))),this.lowPriority=!0,this}},{key:"sub",value:function(i){return i instanceof n?this.result="".concat(this.result," - ").concat(i.getResult()):(typeof i=="number"||typeof i=="string")&&(this.result="".concat(this.result," - ").concat(gp(i))),this.lowPriority=!0,this}},{key:"mul",value:function(i){return this.lowPriority&&(this.result="(".concat(this.result,")")),i instanceof n?this.result="".concat(this.result," * ").concat(i.getResult(!0)):(typeof i=="number"||typeof i=="string")&&(this.result="".concat(this.result," * ").concat(i)),this.lowPriority=!1,this}},{key:"div",value:function(i){return this.lowPriority&&(this.result="(".concat(this.result,")")),i instanceof n?this.result="".concat(this.result," / ").concat(i.getResult(!0)):(typeof i=="number"||typeof i=="string")&&(this.result="".concat(this.result," / ").concat(i)),this.lowPriority=!1,this}},{key:"getResult",value:function(i){return this.lowPriority||i?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(i){var a=this,o=i||{},s=o.unit,l=!0;return typeof s=="boolean"?l=s:Array.from(this.unitlessCssVar).some(function(c){return a.result.includes(c)})&&(l=!1),this.result=this.result.replace(T_,l?"px":""),typeof this.lowPriority<"u"?"calc(".concat(this.result,")"):this.result}}]),n}(A_),R_=function(t,n){var r=M_;return function(i){return new r(i,n)}},kC=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 XC(e,t,n,r){var i=ft({},t[e]);if(r!=null&&r.deprecatedTokens){var a=r.deprecatedTokens;a.forEach(function(s){var l=$O(s,2),c=l[0],u=l[1];if(i!=null&&i[c]||i!=null&&i[u]){var f;(f=i[u])!==null&&f!==void 0||(i[u]=i==null?void 0:i[c])}})}var o=ft(ft({},n),i);return Object.keys(o).forEach(function(s){o[s]===t[s]&&delete o[s]}),o}var BO=typeof CSSINJS_STATISTIC<"u",Uy=!0;function Dt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(!BO)return Object.assign.apply(Object,[{}].concat(t));Uy=!1;var r={};return t.forEach(function(i){if(Ct(i)==="object"){var a=Object.keys(i);a.forEach(function(o){Object.defineProperty(r,o,{configurable:!0,enumerable:!0,get:function(){return i[o]}})})}}),Uy=!0,r}var YC={};function O_(){}var $_=function(t){var n,r=t,i=O_;return BO&&typeof Proxy<"u"&&(n=new Set,r=new Proxy(t,{get:function(o,s){if(Uy){var l;(l=n)===null||l===void 0||l.add(s)}return o[s]}}),i=function(o,s){var l;YC[o]={global:Array.from(n),component:ft(ft({},(l=YC[o])===null||l===void 0?void 0:l.component),s)}}),{token:r,keys:n,flush:i}};function WC(e,t,n){if(typeof n=="function"){var r;return n(Dt(t,(r=t[e])!==null&&r!==void 0?r:{}))}return n??{}}function N_(e){return{max:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return"max(".concat(r.map(function(a){return be(a)}).join(","),")")},min:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return"min(".concat(r.map(function(a){return be(a)}).join(","),")")}}}var j_=1e3*60*10,D_=function(){function e(){hl(this,e),Ft(this,"map",new Map),Ft(this,"objectIDMap",new WeakMap),Ft(this,"nextID",0),Ft(this,"lastAccessBeat",new Map),Ft(this,"accessBeat",0)}return ml(e,[{key:"set",value:function(n,r){this.clear();var i=this.getCompositeKey(n);this.map.set(i,r),this.lastAccessBeat.set(i,Date.now())}},{key:"get",value:function(n){var r=this.getCompositeKey(n),i=this.map.get(r);return this.lastAccessBeat.set(r,Date.now()),this.accessBeat+=1,i}},{key:"getCompositeKey",value:function(n){var r=this,i=n.map(function(a){return a&&Ct(a)==="object"?"obj_".concat(r.getObjectID(a)):"".concat(Ct(a),"_").concat(a)});return i.join("|")}},{key:"getObjectID",value:function(n){if(this.objectIDMap.has(n))return this.objectIDMap.get(n);var r=this.nextID;return this.objectIDMap.set(n,r),this.nextID+=1,r}},{key:"clear",value:function(){var n=this;if(this.accessBeat>1e4){var r=Date.now();this.lastAccessBeat.forEach(function(i,a){r-i>j_&&(n.map.delete(a),n.lastAccessBeat.delete(a))}),this.accessBeat=0}}}]),e}(),KC=new D_;function z_(e,t){return I.useMemo(function(){var n=KC.get(t);if(n)return n;var r=e();return KC.set(t,r),r},t)}var B_=function(){return{}};function P_(e){var t=e.useCSP,n=t===void 0?B_:t,r=e.useToken,i=e.usePrefix,a=e.getResetStyles,o=e.getCommonStyle,s=e.getCompUnitless;function l(d,m,v,x){var S=Array.isArray(d)?d[0]:d;function y(R){return"".concat(String(S)).concat(R.slice(0,1).toUpperCase()).concat(R.slice(1))}var g=(x==null?void 0:x.unitless)||{},p=typeof s=="function"?s(d):{},b=ft(ft({},p),{},Ft({},y("zIndexPopup"),!0));Object.keys(g).forEach(function(R){b[y(R)]=g[R]});var w=ft(ft({},x),{},{unitless:b,prefixToken:y}),A=u(d,m,v,w),E=c(S,v,w);return function(R){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:R,M=A(R,T),O=x==null?void 0:x.extraCssVarPrefixCls,N=typeof O=="function"?O({prefixCls:R,rootCls:T}):O,z=E(N!=null&&N.length?[T].concat(He(N)):T);return[M,z]}}function c(d,m,v){var x=v.unitless,S=v.prefixToken,y=v.ignore;return function(g){var p=r(),b=p.cssVar,w=p.realToken,A=n();return v_({path:[d],prefix:b.prefix,key:b.key,unitless:x,ignore:y,token:w,scope:g,nonce:function(){return A.nonce}},function(){var E=WC(d,w,m),R=XC(d,w,E,{deprecatedTokens:v==null?void 0:v.deprecatedTokens});return E&&Object.keys(E).forEach(function(T){R[S(T)]=R[T],delete R[T]}),R}),b==null?void 0:b.key}}function u(d,m,v){var x=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},S=Array.isArray(d)?d:[d,d],y=$O(S,1),g=y[0],p=S.join("-"),b=e.layer||{name:"antd"};return function(w){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:w,E=r(),R=E.theme,T=E.realToken,M=E.hashId,O=E.token,N=E.cssVar,z=E.zeroRuntime,P=h.useMemo(function(){return z},[]);if(P)return M;var j=i(),$=j.rootPrefixCls,D=j.iconPrefixCls,B=n(),_="css",L=z_(function(){var W=new Set;return Object.keys(x.unitless||{}).forEach(function(X){W.add(If(X,N.prefix)),W.add(If(X,kC(g,N.prefix)))}),R_(_,W)},[_,g,N==null?void 0:N.prefix]),q=N_(),K=q.max,te=q.min,ee={theme:R,token:O,hashId:M,nonce:function(){return B.nonce},clientOnly:x.clientOnly,layer:b,order:x.order||-999};return typeof a=="function"&&Iy(ft(ft({},ee),{},{clientOnly:!1,path:["Shared",$]}),function(){return a(O,{prefix:{rootPrefixCls:$,iconPrefixCls:D},csp:B})}),Iy(ft(ft({},ee),{},{path:[p,w,D]}),function(){if(x.injectStyle===!1)return[];var W=$_(O),X=W.token,Q=W.flush,G=WC(g,T,v),Z=".".concat(w),ae=XC(g,T,G,{deprecatedTokens:x.deprecatedTokens});G&&Ct(G)==="object"&&Object.keys(G).forEach(function(fe){G[fe]="var(".concat(If(fe,kC(g,N.prefix)),")")});var se=Dt(X,{componentCls:Z,prefixCls:w,iconCls:".".concat(D),antCls:".".concat($),calc:L,max:K,min:te},G),J=m(se,{hashId:M,prefixCls:w,rootPrefixCls:$,iconPrefixCls:D});Q(g,ae);var ce=typeof o=="function"?o(se,w,A,x.resetFont):null;return[x.resetStyle===!1?null:ce,J]}),M}}function f(d,m,v){var x=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},S=u(d,m,v,ft({resetStyle:!1,order:-998},x)),y=function(p){var b=p.prefixCls,w=p.rootCls,A=w===void 0?b:w;return S(b,A),null};return y}return{genStyleHooks:l,genSubStyleComponent:f,genComponentStyleHook:u}}const Ma=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"];function kf(e){return(e+8)/e}function L_(e){const t=Array.from({length:10}).map((n,r)=>{const i=r-1,a=e*Math.E**(i/5),o=r>1?Math.floor(a):Math.ceil(a);return Math.floor(o/2)*2});return t[1]=e,t.map(n=>({size:n,lineHeight:kf(n)}))}const __="6.3.5",PO={blue:"#1677FF",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#EB2F96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},Kc={...PO,colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
- 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
- 'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0},V_={aliceblue:"9ehhb",antiquewhite:"9sgk7",aqua:"1ekf",aquamarine:"4zsno",azure:"9eiv3",beige:"9lhp8",bisque:"9zg04",black:"0",blanchedalmond:"9zhe5",blue:"73",blueviolet:"5e31e",brown:"6g016",burlywood:"8ouiv",cadetblue:"3qba8",chartreuse:"4zshs",chocolate:"87k0u",coral:"9yvyo",cornflowerblue:"3xael",cornsilk:"9zjz0",crimson:"8l4xo",cyan:"1ekf",darkblue:"3v",darkcyan:"rkb",darkgoldenrod:"776yz",darkgray:"6mbhl",darkgreen:"jr4",darkgrey:"6mbhl",darkkhaki:"7ehkb",darkmagenta:"5f91n",darkolivegreen:"3bzfz",darkorange:"9yygw",darkorchid:"5z6x8",darkred:"5f8xs",darksalmon:"9441m",darkseagreen:"5lwgf",darkslateblue:"2th1n",darkslategray:"1ugcv",darkslategrey:"1ugcv",darkturquoise:"14up",darkviolet:"5rw7n",deeppink:"9yavn",deepskyblue:"11xb",dimgray:"442g9",dimgrey:"442g9",dodgerblue:"16xof",firebrick:"6y7tu",floralwhite:"9zkds",forestgreen:"1cisi",fuchsia:"9y70f",gainsboro:"8m8kc",ghostwhite:"9pq0v",goldenrod:"8j4f4",gold:"9zda8",gray:"50i2o",green:"pa8",greenyellow:"6senj",grey:"50i2o",honeydew:"9eiuo",hotpink:"9yrp0",indianred:"80gnw",indigo:"2xcoy",ivory:"9zldc",khaki:"9edu4",lavenderblush:"9ziet",lavender:"90c8q",lawngreen:"4vk74",lemonchiffon:"9zkct",lightblue:"6s73a",lightcoral:"9dtog",lightcyan:"8s1rz",lightgoldenrodyellow:"9sjiq",lightgray:"89jo3",lightgreen:"5nkwg",lightgrey:"89jo3",lightpink:"9z6wx",lightsalmon:"9z2ii",lightseagreen:"19xgq",lightskyblue:"5arju",lightslategray:"4nwk9",lightslategrey:"4nwk9",lightsteelblue:"6wau6",lightyellow:"9zlcw",lime:"1edc",limegreen:"1zcxe",linen:"9shk6",magenta:"9y70f",maroon:"4zsow",mediumaquamarine:"40eju",mediumblue:"5p",mediumorchid:"79qkz",mediumpurple:"5r3rv",mediumseagreen:"2d9ip",mediumslateblue:"4tcku",mediumspringgreen:"1di2",mediumturquoise:"2uabw",mediumvioletred:"7rn9h",midnightblue:"z980",mintcream:"9ljp6",mistyrose:"9zg0x",moccasin:"9zfzp",navajowhite:"9zest",navy:"3k",oldlace:"9wq92",olive:"50hz4",olivedrab:"472ub",orange:"9z3eo",orangered:"9ykg0",orchid:"8iu3a",palegoldenrod:"9bl4a",palegreen:"5yw0o",paleturquoise:"6v4ku",palevioletred:"8k8lv",papayawhip:"9zi6t",peachpuff:"9ze0p",peru:"80oqn",pink:"9z8wb",plum:"8nba5",powderblue:"6wgdi",purple:"4zssg",rebeccapurple:"3zk49",red:"9y6tc",rosybrown:"7cv4f",royalblue:"2jvtt",saddlebrown:"5fmkz",salmon:"9rvci",sandybrown:"9jn1c",seagreen:"1tdnb",seashell:"9zje6",sienna:"6973h",silver:"7ir40",skyblue:"5arjf",slateblue:"45e4t",slategray:"4e100",slategrey:"4e100",snow:"9zke2",springgreen:"1egv",steelblue:"2r1kk",tan:"87yx8",teal:"pds",thistle:"8ggk8",tomato:"9yqfb",turquoise:"2j4r4",violet:"9b10u",wheat:"9ld4j",white:"9zldr",whitesmoke:"9lhpx",yellow:"9zl6o",yellowgreen:"61fzm"},Lt=Math.round;function yp(e,t){const n=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],r=n.map(i=>parseFloat(i));for(let i=0;i<3;i+=1)r[i]=t(r[i]||0,n[i]||"",i);return n[3]?r[3]=n[3].includes("%")?r[3]/100:r[3]:r[3]=1,r}const QC=(e,t,n)=>n===0?e:e/100;function Dl(e,t){const n=t||255;return e>n?n:e<0?0:e}class wt{constructor(t){V(this,"isValid",!0);V(this,"r",0);V(this,"g",0);V(this,"b",0);V(this,"a",1);V(this,"_h");V(this,"_hsl_s");V(this,"_hsv_s");V(this,"_l");V(this,"_v");V(this,"_max");V(this,"_min");V(this,"_brightness");function n(i){return i[0]in t&&i[1]in t&&i[2]in t}if(t)if(typeof t=="string"){let a=function(o){return i.startsWith(o)};var r=a;const i=t.trim();if(/^#?[A-F\d]{3,8}$/i.test(i))this.fromHexString(i);else if(a("rgb"))this.fromRgbString(i);else if(a("hsl"))this.fromHslString(i);else if(a("hsv")||a("hsb"))this.fromHsvString(i);else{const o=V_[i.toLowerCase()];o&&this.fromHexString(parseInt(o,36).toString(16).padStart(6,"0"))}}else if(t instanceof wt)this.r=t.r,this.g=t.g,this.b=t.b,this.a=t.a,this._h=t._h,this._hsl_s=t._hsl_s,this._hsv_s=t._hsv_s,this._l=t._l,this._v=t._v;else if(n("rgb"))this.r=Dl(t.r),this.g=Dl(t.g),this.b=Dl(t.b),this.a=typeof t.a=="number"?Dl(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(a){const o=a/255;return o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4)}const n=t(this.r),r=t(this.g),i=t(this.b);return .2126*n+.7152*r+.0722*i}getHue(){if(typeof this._h>"u"){const t=this.getMax()-this.getMin();t===0?this._h=0:this._h=Lt(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(){return this.getHSVSaturation()}getHSVSaturation(){if(typeof this._hsv_s>"u"){const t=this.getMax()-this.getMin();t===0?this._hsv_s=0:this._hsv_s=t/this.getMax()}return this._hsv_s}getHSLSaturation(){if(typeof this._hsl_s>"u"){const t=this.getMax()-this.getMin();if(t===0)this._hsl_s=0;else{const n=this.getLightness();this._hsl_s=t/255/(1-Math.abs(2*n-1))}}return this._hsl_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 i=this.getLightness()-t/100;return i<0&&(i=0),this._c({h:n,s:r,l:i,a:this.a})}lighten(t=10){const n=this.getHue(),r=this.getSaturation();let i=this.getLightness()+t/100;return i>1&&(i=1),this._c({h:n,s:r,l:i,a:this.a})}mix(t,n=50){const r=this._c(t),i=n/100,a=s=>(r[s]-this[s])*i+this[s],o={r:Lt(a("r")),g:Lt(a("g")),b:Lt(a("b")),a:Lt(a("a")*100)/100};return this._c(o)}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),i=a=>Lt((this[a]*this.a+n[a]*n.a*(1-this.a))/r);return this._c({r:i("r"),g:i("g"),b:i("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 i=(this.b||0).toString(16);if(t+=i.length===2?i:"0"+i,typeof this.a=="number"&&this.a>=0&&this.a<1){const a=Lt(this.a*255).toString(16);t+=a.length===2?a:"0"+a}return t}toHsl(){return{h:this.getHue(),s:this.getHSLSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const t=this.getHue(),n=Lt(this.getHSLSaturation()*100),r=Lt(this.getLightness()*100);return this.a!==1?`hsla(${t},${n}%,${r}%,${this.a})`:`hsl(${t},${n}%,${r}%)`}toHsv(){return{h:this.getHue(),s:this.getHSVSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(t,n,r){const i=this.clone();return i[t]=Dl(n,r),i}_c(t){return new this.constructor(t)}getMax(){return typeof this._max>"u"&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return typeof this._min>"u"&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(t){const n=t.replace("#","");function r(i,a){return parseInt(n[i]+n[a||i],16)}n.length<6?(this.r=r(0),this.g=r(1),this.b=r(2),this.a=n[3]?r(3)/255:1):(this.r=r(0,1),this.g=r(2,3),this.b=r(4,5),this.a=n[6]?r(6,7)/255:1)}fromHsl({h:t,s:n,l:r,a:i}){const a=(t%360+360)%360;if(this._h=a,this._hsl_s=n,this._l=r,this.a=typeof i=="number"?i:1,n<=0){const m=Lt(r*255);this.r=m,this.g=m,this.b=m;return}let o=0,s=0,l=0;const c=a/60,u=(1-Math.abs(2*r-1))*n,f=u*(1-Math.abs(c%2-1));c>=0&&c<1?(o=u,s=f):c>=1&&c<2?(o=f,s=u):c>=2&&c<3?(s=u,l=f):c>=3&&c<4?(s=f,l=u):c>=4&&c<5?(o=f,l=u):c>=5&&c<6&&(o=u,l=f);const d=r-u/2;this.r=Lt((o+d)*255),this.g=Lt((s+d)*255),this.b=Lt((l+d)*255)}fromHsv({h:t,s:n,v:r,a:i}){const a=(t%360+360)%360;this._h=a,this._hsv_s=n,this._v=r,this.a=typeof i=="number"?i:1;const o=Lt(r*255);if(this.r=o,this.g=o,this.b=o,n<=0)return;const s=a/60,l=Math.floor(s),c=s-l,u=Lt(r*(1-n)*255),f=Lt(r*(1-n*c)*255),d=Lt(r*(1-n*(1-c))*255);switch(l){case 0:this.g=d,this.b=u;break;case 1:this.r=f,this.b=u;break;case 2:this.r=u,this.b=d;break;case 3:this.r=u,this.g=f;break;case 4:this.r=d,this.g=u;break;case 5:default:this.g=u,this.b=f;break}}fromHsvString(t){const n=yp(t,QC);this.fromHsv({h:n[0],s:n[1],v:n[2],a:n[3]})}fromHslString(t){const n=yp(t,QC);this.fromHsl({h:n[0],s:n[1],l:n[2],a:n[3]})}fromRgbString(t){const n=yp(t,(r,i)=>i.includes("%")?Lt(r/100*255):r);this.r=n[0],this.g=n[1],this.b=n[2],this.a=n[3]}}const rf=2,ZC=.16,H_=.05,F_=.05,I_=.15,LO=5,_O=4,U_=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function JC(e,t,n){let r;return Math.round(e.h)>=60&&Math.round(e.h)<=240?r=n?Math.round(e.h)-rf*t:Math.round(e.h)+rf*t:r=n?Math.round(e.h)+rf*t:Math.round(e.h)-rf*t,r<0?r+=360:r>=360&&(r-=360),r}function ew(e,t,n){if(e.h===0&&e.s===0)return e.s;let r;return n?r=e.s-ZC*t:t===_O?r=e.s+ZC:r=e.s+H_*t,r>1&&(r=1),n&&t===LO&&r>.1&&(r=.1),r<.06&&(r=.06),Math.round(r*100)/100}function tw(e,t,n){let r;return n?r=e.v+F_*t:r=e.v-I_*t,r=Math.max(0,Math.min(1,r)),Math.round(r*100)/100}function kb(e,t={}){const n=[],r=new wt(e),i=r.toHsv();for(let a=LO;a>0;a-=1){const o=new wt({h:JC(i,a,!0),s:ew(i,a,!0),v:tw(i,a,!0)});n.push(o)}n.push(r);for(let a=1;a<=_O;a+=1){const o=new wt({h:JC(i,a),s:ew(i,a),v:tw(i,a)});n.push(o)}return t.theme==="dark"?U_.map(({index:a,amount:o})=>new wt(t.backgroundColor||"#141414").mix(n[a],o).toHexString()):n.map(a=>a.toHexString())}const vp={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},qy=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];qy.primary=qy[5];const Gy=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];Gy.primary=Gy[5];const ky=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];ky.primary=ky[5];const Xy=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];Xy.primary=Xy[5];const Yy=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];Yy.primary=Yy[5];const Wy=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];Wy.primary=Wy[5];const Ky=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];Ky.primary=Ky[5];const Qy=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];Qy.primary=Qy[5];const Hd=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];Hd.primary=Hd[5];const Zy=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];Zy.primary=Zy[5];const Jy=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];Jy.primary=Jy[5];const ev=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];ev.primary=ev[5];const tv=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];tv.primary=tv[5];const bp={red:qy,volcano:Gy,orange:ky,gold:Xy,yellow:Yy,lime:Wy,green:Ky,cyan:Qy,blue:Hd,geekblue:Zy,purple:Jy,magenta:ev,grey:tv};function q_(e,{generateColorPalettes:t,generateNeutralColorPalettes:n}){const{colorSuccess:r,colorWarning:i,colorError:a,colorInfo:o,colorPrimary:s,colorBgBase:l,colorTextBase:c}=e,u=t(s),f=t(r),d=t(i),m=t(a),v=t(o),x=n(l,c),S=e.colorLink||e.colorInfo,y=t(S),g=new wt(m[1]).mix(new wt(m[3]),50).toHexString(),p={};return Ma.forEach(b=>{const w=e[b];if(w){const A=t(w);p[`${b}Hover`]=A[5],p[`${b}Active`]=A[7]}}),{...x,colorPrimaryBg:u[1],colorPrimaryBgHover:u[2],colorPrimaryBorder:u[3],colorPrimaryBorderHover:u[4],colorPrimaryHover:u[5],colorPrimary:u[6],colorPrimaryActive:u[7],colorPrimaryTextHover:u[8],colorPrimaryText:u[9],colorPrimaryTextActive:u[10],colorSuccessBg:f[1],colorSuccessBgHover:f[2],colorSuccessBorder:f[3],colorSuccessBorderHover:f[4],colorSuccessHover:f[4],colorSuccess:f[6],colorSuccessActive:f[7],colorSuccessTextHover:f[8],colorSuccessText:f[9],colorSuccessTextActive:f[10],colorErrorBg:m[1],colorErrorBgHover:m[2],colorErrorBgFilledHover:g,colorErrorBgActive:m[3],colorErrorBorder:m[3],colorErrorBorderHover:m[4],colorErrorHover:m[5],colorError:m[6],colorErrorActive:m[7],colorErrorTextHover:m[8],colorErrorText:m[9],colorErrorTextActive:m[10],colorWarningBg:d[1],colorWarningBgHover:d[2],colorWarningBorder:d[3],colorWarningBorderHover:d[4],colorWarningHover:d[4],colorWarning:d[6],colorWarningActive:d[7],colorWarningTextHover:d[8],colorWarningText:d[9],colorWarningTextActive:d[10],colorInfoBg:v[1],colorInfoBgHover:v[2],colorInfoBorder:v[3],colorInfoBorderHover:v[4],colorInfoHover:v[4],colorInfo:v[6],colorInfoActive:v[7],colorInfoTextHover:v[8],colorInfoText:v[9],colorInfoTextActive:v[10],colorLinkHover:y[4],colorLink:y[6],colorLinkActive:y[7],...p,colorBgMask:new wt("#000").setA(.45).toRgbString(),colorWhite:"#fff"}}const G_=e=>{let t=e,n=e,r=e,i=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?i=4:e>=8&&(i=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:i}};function k_(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:i}=e;return{motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+t*2).toFixed(1)}s`,motionDurationSlow:`${(n+t*3).toFixed(1)}s`,lineWidthBold:i+1,...G_(r)}}const X_=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}},Y_=e=>{const t=L_(e),n=t.map(u=>u.size),r=t.map(u=>u.lineHeight),i=n[1],a=n[0],o=n[2],s=r[1],l=r[0],c=r[2];return{fontSizeSM:a,fontSize:i,fontSizeLG:o,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:s,lineHeightLG:c,lineHeightSM:l,fontHeight:Math.round(s*i),fontHeightLG:Math.round(c*o),fontHeightSM:Math.round(l*a),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}};function W_(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}const Wn=(e,t)=>new wt(e).setA(t).toRgbString(),Go=(e,t)=>new wt(e).darken(t).toHexString(),K_=e=>{const t=kb(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},Q_=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:Wn(r,.88),colorTextSecondary:Wn(r,.65),colorTextTertiary:Wn(r,.45),colorTextQuaternary:Wn(r,.25),colorFill:Wn(r,.15),colorFillSecondary:Wn(r,.06),colorFillTertiary:Wn(r,.04),colorFillQuaternary:Wn(r,.02),colorBgSolid:Wn(r,1),colorBgSolidHover:Wn(r,.75),colorBgSolidActive:Wn(r,.95),colorBgLayout:Go(n,4),colorBgContainer:Go(n,0),colorBgElevated:Go(n,0),colorBgSpotlight:Wn(r,.85),colorBgBlur:"transparent",colorBorder:Go(n,15),colorBorderDisabled:Go(n,15),colorBorderSecondary:Go(n,6)}};function Z_(e){vp.pink=vp.magenta,bp.pink=bp.magenta;const t=Object.keys(PO).map(n=>{const r=e[n]===vp[n]?bp[n]:kb(e[n]);return Array.from({length:10},()=>1).reduce((i,a,o)=>(i[`${n}-${o+1}`]=r[o],i[`${n}${o+1}`]=r[o],i),{})}).reduce((n,r)=>(n={...n,...r},n),{});return{...e,...t,...q_(e,{generateColorPalettes:K_,generateNeutralColorPalettes:Q_}),...Y_(e.fontSize),...W_(e),...X_(e),...k_(e)}}const VO=Ly(Z_),nv={token:Kc,override:{override:Kc},hashed:!0},HO=I.createContext(nv);function xp(e){return e>=0&&e<=255}function ql(e,t){const{r:n,g:r,b:i,a}=new wt(e).toRgb();if(a<1)return e;const{r:o,g:s,b:l}=new wt(t).toRgb();for(let c=.01;c<=1;c+=.01){const u=Math.round((n-o*(1-c))/c),f=Math.round((r-s*(1-c))/c),d=Math.round((i-l*(1-c))/c);if(xp(u)&&xp(f)&&xp(d))return new wt({r:u,g:f,b:d,a:Math.round(c*100)/100}).toRgbString()}return new wt({r:n,g:r,b:i,a:1}).toRgbString()}function J_(e){const{override:t,...n}=e,r={...t};Object.keys(Kc).forEach(m=>{delete r[m]});const i={...n,...r},a=480,o=576,s=768,l=992,c=1200,u=1600,f=1920;if(i.motion===!1){const m="0s";i.motionDurationFast=m,i.motionDurationMid=m,i.motionDurationSlow=m}return{...i,colorFillContent:i.colorFillSecondary,colorFillContentHover:i.colorFill,colorFillAlter:i.colorFillQuaternary,colorBgContainerDisabled:i.colorFillTertiary,colorBorderBg:i.colorBgContainer,colorSplit:ql(i.colorBorderSecondary,i.colorBgContainer),colorTextPlaceholder:i.colorTextQuaternary,colorTextDisabled:i.colorTextQuaternary,colorTextHeading:i.colorText,colorTextLabel:i.colorTextSecondary,colorTextDescription:i.colorTextTertiary,colorTextLightSolid:i.colorWhite,colorHighlight:i.colorError,colorBgTextHover:i.colorFillSecondary,colorBgTextActive:i.colorFill,colorIcon:i.colorTextTertiary,colorIconHover:i.colorText,colorErrorOutline:ql(i.colorErrorBg,i.colorBgContainer),colorWarningOutline:ql(i.colorWarningBg,i.colorBgContainer),fontSizeIcon:i.fontSizeSM,lineWidthFocus:i.lineWidth*3,lineWidth:i.lineWidth,controlOutlineWidth:i.lineWidth*2,controlInteractiveSize:i.controlHeight/2,controlItemBgHover:i.colorFillTertiary,controlItemBgActive:i.colorPrimaryBg,controlItemBgActiveHover:i.colorPrimaryBgHover,controlItemBgActiveDisabled:i.colorFill,controlTmpOutline:i.colorFillQuaternary,controlOutline:ql(i.colorPrimaryBg,i.colorBgContainer),lineType:i.lineType,borderRadius:i.borderRadius,borderRadiusXS:i.borderRadiusXS,borderRadiusSM:i.borderRadiusSM,borderRadiusLG:i.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:i.sizeXXS,paddingXS:i.sizeXS,paddingSM:i.sizeSM,padding:i.size,paddingMD:i.sizeMD,paddingLG:i.sizeLG,paddingXL:i.sizeXL,paddingContentHorizontalLG:i.sizeLG,paddingContentVerticalLG:i.sizeMS,paddingContentHorizontal:i.sizeMS,paddingContentVertical:i.sizeSM,paddingContentHorizontalSM:i.size,paddingContentVerticalSM:i.sizeXS,marginXXS:i.sizeXXS,marginXS:i.sizeXS,marginSM:i.sizeSM,margin:i.size,marginMD:i.sizeMD,marginLG:i.sizeLG,marginXL:i.sizeXL,marginXXL:i.sizeXXL,boxShadow:`
- 0 6px 16px 0 rgba(0, 0, 0, 0.08),
- 0 3px 6px -4px rgba(0, 0, 0, 0.12),
- 0 9px 28px 8px rgba(0, 0, 0, 0.05)
- `,boxShadowSecondary:`
- 0 6px 16px 0 rgba(0, 0, 0, 0.08),
- 0 3px 6px -4px rgba(0, 0, 0, 0.12),
- 0 9px 28px 8px rgba(0, 0, 0, 0.05)
- `,boxShadowTertiary:`
- 0 1px 2px 0 rgba(0, 0, 0, 0.03),
- 0 1px 6px -1px rgba(0, 0, 0, 0.02),
- 0 2px 4px 0 rgba(0, 0, 0, 0.02)
- `,screenXS:a,screenXSMin:a,screenXSMax:o-1,screenSM:o,screenSMMin:o,screenSMMax:s-1,screenMD:s,screenMDMin:s,screenMDMax:l-1,screenLG:l,screenLGMin:l,screenLGMax:c-1,screenXL:c,screenXLMin:c,screenXLMax:u-1,screenXXL:u,screenXXLMin:u,screenXXLMax:f-1,screenXXXL:f,screenXXXLMin:f,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
- 0 1px 2px -2px ${new wt("rgba(0, 0, 0, 0.16)").toRgbString()},
- 0 3px 6px 0 ${new wt("rgba(0, 0, 0, 0.12)").toRgbString()},
- 0 5px 12px 4px ${new wt("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}}const FO={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},eV={motionBase:!0,motionUnit:!0},tV={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,screenXXLMax:!0,screenXXXL:!0,screenXXXLMin:!0},IO=(e,t,n)=>{const r=n.getDerivativeToken(e),{override:i,...a}=t;let o={...r,override:i};return o=J_(o),a&&Object.entries(a).forEach(([s,l])=>{const{theme:c,...u}=l;let f=u;c&&(f=IO({...o,...u},{override:u},c)),o[s]=f}),o};function Na(){const{token:e,hashed:t,theme:n,override:r,cssVar:i,zeroRuntime:a}=I.useContext(HO),{csp:o}=I.useContext(qe),s={prefix:(i==null?void 0:i.prefix)??"ant",key:(i==null?void 0:i.key)??"css-var-root"},l=`${__}-${t||""}`,c=n||VO,[u,f,d]=X8(c,[Kc,e],{salt:l,override:r,getComputedToken:IO,cssVar:{...s,unitless:FO,ignore:eV,preserve:tV},nonce:o==null?void 0:o.nonce});return[c,d,t?f:"",u,s,!!a]}const Ti=(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}),UO=()=>({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"}}),nV=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),qO=(e,t)=>({outline:`${be(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:["outline-offset","outline"].map(n=>`${n} 0s`).join(", ")}),GO=(e,t)=>({"&:focus-visible":qO(e)}),rV=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},...GO(e),"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),iV=(e,t,n,r)=>{const i=`[class^="${t}"], [class*=" ${t}"]`,a=n?`.${n}`:i,o={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}};let s={};return r!==!1&&(s={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[a]:{...s,...o,[i]:o}}},kO=e=>({[`.${e}`]:{...UO(),[`.${e} .${e}-icon`]:{display:"block"}}}),{genStyleHooks:mn,genComponentStyleHook:aV,genSubStyleComponent:XO}=P_({usePrefix:()=>{const{getPrefixCls:e,iconPrefixCls:t}=h.useContext(qe);return{rootPrefixCls:e(),iconPrefixCls:t}},useToken:()=>{const[e,t,n,r,i,a]=Na();return{theme:e,realToken:t,hashId:n,token:r,cssVar:i,zeroRuntime:a}},useCSP:()=>{const{csp:e}=h.useContext(qe);return e??{}},getResetStyles:(e,t)=>{const n=rV(e);return[n,{"&":n},kO((t==null?void 0:t.prefix.iconPrefixCls)??Uh)]},getCommonStyle:iV,getCompUnitless:()=>FO}),fr=(e,t)=>{const n=`--${e.replace(/\./g,"")}-${t}-`;return[a=>`${n}${a}`,(a,o)=>o?`var(${n}${a}, ${o})`:`var(${n}${a})`]};function oV(e,t){return Ma.reduce((n,r)=>{const i=e[`${r}1`],a=e[`${r}3`],o=e[`${r}6`],s=e[`${r}7`];return{...n,...t(r,{lightColor:i,lightBorderColor:a,darkColor:o,textColor:s})}},{})}const sV=(e,t)=>(Na(),Iy({hashId:"",path:["ant-design-icons",e],nonce:()=>t==null?void 0:t.nonce,layer:{name:"antd"}},()=>kO(e)));var lV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"};const Xb=h.createContext({});function YO(e){var t;return(t=e==null?void 0:e.getRootNode)==null?void 0:t.call(e)}function cV(e){return YO(e)instanceof ShadowRoot}function Fd(e){return cV(e)?YO(e):null}function uV(e){return e.replace(/-(.)/g,(t,n)=>n.toUpperCase())}function fV(e,t){In(e,`[@ant-design/icons] ${t}`)}function nw(e){return typeof e=="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(typeof e.icon=="object"||typeof e.icon=="function")}function rw(e={}){return Object.keys(e).reduce((t,n)=>{const r=e[n];switch(n){case"class":t.className=r,delete t.class;break;default:delete t[n],t[uV(n)]=r}return t},{})}function rv(e,t,n){return n?I.createElement(e.tag,{key:t,...rw(e.attrs),...n},(e.children||[]).map((r,i)=>rv(r,`${t}-${e.tag}-${i}`))):I.createElement(e.tag,{key:t,...rw(e.attrs)},(e.children||[]).map((r,i)=>rv(r,`${t}-${e.tag}-${i}`)))}function WO(e){return kb(e)[0]}function KO(e){return e?Array.isArray(e)?e:[e]:[]}const dV=`
- .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 {
- -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);
- }
- }
- `,hV=e=>{const{csp:t,prefixCls:n,layer:r}=h.useContext(Xb);let i=dV;n&&(i=i.replace(/anticon/g,n)),r&&(i=`@layer ${r} {
- ${i}
- }`),h.useEffect(()=>{const a=e.current,o=Fd(a);va(i,"@ant-design-icons",{prepend:!r,csp:t,attachTo:o})},[])},mc={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function mV({primaryColor:e,secondaryColor:t}){mc.primaryColor=e,mc.secondaryColor=t||WO(e),mc.calculated=!!t}function pV(){return{...mc}}const pl=e=>{const{icon:t,className:n,onClick:r,style:i,primaryColor:a,secondaryColor:o,...s}=e,l=h.useRef(null);let c=mc;if(a&&(c={primaryColor:a,secondaryColor:o||WO(a)}),hV(l),fV(nw(t),`icon should be icon definiton, but got ${t}`),!nw(t))return null;let u=t;return u&&typeof u.icon=="function"&&(u={...u,icon:u.icon(c.primaryColor,c.secondaryColor)}),rv(u.icon,`svg-${u.name}`,{className:n,onClick:r,style:i,"data-icon":u.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",...s,ref:l})};pl.displayName="IconReact";pl.getTwoToneColors=pV;pl.setTwoToneColors=mV;function QO(e){const[t,n]=KO(e);return pl.setTwoToneColors({primaryColor:t,secondaryColor:n})}function gV(){const e=pl.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}function iv(){return iv=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},iv.apply(this,arguments)}QO(Hd.primary);const Dr=h.forwardRef((e,t)=>{const{className:n,icon:r,spin:i,rotate:a,tabIndex:o,onClick:s,twoToneColor:l,...c}=e,{prefixCls:u="anticon",rootClassName:f}=h.useContext(Xb),d=k(f,u,{[`${u}-${r.name}`]:!!r.name,[`${u}-spin`]:!!i||r.name==="loading"},n);let m=o;m===void 0&&s&&(m=-1);const v=a?{msTransform:`rotate(${a}deg)`,transform:`rotate(${a}deg)`}:void 0,[x,S]=KO(l);return h.createElement("span",iv({role:"img","aria-label":r.name},c,{ref:t,tabIndex:m,onClick:s,className:d}),h.createElement(pl,{icon:r,primaryColor:x,secondaryColor:S,style:v}))});Dr.getTwoToneColor=gV;Dr.setTwoToneColor=QO;function av(){return av=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},av.apply(this,arguments)}const yV=(e,t)=>h.createElement(Dr,av({},e,{ref:t,icon:lV})),ZO=h.forwardRef(yV);var vV={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"};function ov(){return ov=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},ov.apply(this,arguments)}const bV=(e,t)=>h.createElement(Dr,ov({},e,{ref:t,icon:vV})),Yb=h.forwardRef(bV);var xV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"};function sv(){return sv=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},sv.apply(this,arguments)}const SV=(e,t)=>h.createElement(Dr,sv({},e,{ref:t,icon:xV})),JO=h.forwardRef(SV);var CV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"};function lv(){return lv=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},lv.apply(this,arguments)}const wV=(e,t)=>h.createElement(Dr,lv({},e,{ref:t,icon:CV})),EV=h.forwardRef(wV),e$=h.createContext({}),AV=e=>{const{children:t,...n}=e,r=h.useMemo(()=>({motion:n.motion}),[n.motion]);return h.createElement(e$.Provider,{value:r},t)};function TV(e){const[,t]=h.useReducer(a=>a+1,0),n=h.useRef(e),r=Xe(()=>n.current),i=Xe(a=>{n.current=typeof a=="function"?a(n.current):a,t()});return[r,i]}const Ur="none",af="appear",of="enter",sf="leave",iw="none",Mr="prepare",Ya="start",Wa="active",Wb="end",t$="prepared";function aw(e,t){const n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit${e}`]=`webkit${t}`,n[`Moz${e}`]=`moz${t}`,n[`ms${e}`]=`MS${t}`,n[`O${e}`]=`o${t.toLowerCase()}`,n}function MV(e,t){const n={animationend:aw("Animation","AnimationEnd"),transitionend:aw("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}const RV=MV(cr(),typeof window<"u"?window:{});let n$={};cr()&&({style:n$}=document.createElement("div"));const lf={};function r$(e){if(lf[e])return lf[e];const t=RV[e];if(t){const n=Object.keys(t),r=n.length;for(let i=0;i<r;i+=1){const a=n[i];if(Object.prototype.hasOwnProperty.call(t,a)&&a in n$)return lf[e]=t[a],lf[e]}}return""}const i$=r$("animationend"),a$=r$("transitionend"),OV=!!(i$&&a$),ow=i$||"animationend",sw=a$||"transitionend";function lw(e,t){if(!e)return null;if(typeof e=="object"){const n=t.replace(/-\w/g,r=>r[1].toUpperCase());return e[n]}return`${e}-${t}`}const $V=e=>{const t=h.useRef();function n(i){i&&(i.removeEventListener(sw,e),i.removeEventListener(ow,e))}function r(i){t.current&&t.current!==i&&n(t.current),i&&i!==t.current&&(i.addEventListener(sw,e),i.addEventListener(ow,e),t.current=i)}return h.useEffect(()=>()=>{n(t.current),t.current=null},[]),[r,n]},o$=cr()?h.useLayoutEffect:h.useEffect,NV=()=>{const e=h.useRef(null);function t(){nn.cancel(e.current)}function n(r,i=2){t();const a=nn(()=>{i<=1?r({isCanceled:()=>a!==e.current}):n(r,i-1)});e.current=a}return h.useEffect(()=>()=>{t()},[]),[n,t]},jV=[Mr,Ya,Wa,Wb],DV=[Mr,t$],s$=!1,zV=!0;function l$(e){return e===Wa||e===Wb}const BV=(e,t,n)=>{const[r,i]=eO(iw),[a,o]=NV();function s(){i(Mr,!0)}const l=t?DV:jV;return o$(()=>{if(r!==iw&&r!==Wb){const c=l.indexOf(r),u=l[c+1],f=n(r);f===s$?i(u,!0):u&&a(d=>{function m(){d.isCanceled()||i(u,!0)}f===!0?m():Promise.resolve(f).then(m)})}},[e,r]),h.useEffect(()=>()=>{o()},[]),[s,r]};function PV(e,t,n,{motionEnter:r=!0,motionAppear:i=!0,motionLeave:a=!0,motionDeadline:o,motionLeaveImmediately:s,onAppearPrepare:l,onEnterPrepare:c,onLeavePrepare:u,onAppearStart:f,onEnterStart:d,onLeaveStart:m,onAppearActive:v,onEnterActive:x,onLeaveActive:S,onAppearEnd:y,onEnterEnd:g,onLeaveEnd:p,onVisibleChanged:b}){const[w,A]=h.useState(),[E,R]=TV(Ur),[T,M]=h.useState([null,null]),O=E(),N=h.useRef(!1),z=h.useRef(null);function P(){return n()}const j=h.useRef(!1);function $(){R(Ur),M([null,null])}const D=Xe(G=>{const Z=E();if(Z===Ur)return;const ae=P();if(G&&!G.deadline&&G.target!==ae)return;const se=j.current;let J;Z===af&&se?J=y==null?void 0:y(ae,G):Z===of&&se?J=g==null?void 0:g(ae,G):Z===sf&&se&&(J=p==null?void 0:p(ae,G)),se&&J!==!1&&$()}),[B]=$V(D),_=G=>{switch(G){case af:return{[Mr]:l,[Ya]:f,[Wa]:v};case of:return{[Mr]:c,[Ya]:d,[Wa]:x};case sf:return{[Mr]:u,[Ya]:m,[Wa]:S};default:return{}}},L=h.useMemo(()=>_(O),[O]),[q,K]=BV(O,!e,G=>{var Z;if(G===Mr){const ae=L[Mr];return ae?ae(P()):s$}return G in L&&M([((Z=L[G])==null?void 0:Z.call(L,P(),null))||null,G]),G===Wa&&O!==Ur&&(B(P()),o>0&&(clearTimeout(z.current),z.current=setTimeout(()=>{D({deadline:!0})},o))),G===t$&&$(),zV}),te=l$(K);j.current=te;const ee=h.useRef(null);o$(()=>{if(N.current&&ee.current===t)return;A(t);const G=N.current;N.current=!0;let Z;!G&&t&&i&&(Z=af),G&&t&&r&&(Z=of),(G&&!t&&a||!G&&s&&!t&&a)&&(Z=sf);const ae=_(Z);Z&&(e||ae[Mr])?(R(Z),q()):R(Ur),ee.current=t},[t]),h.useEffect(()=>{(O===af&&!i||O===of&&!r||O===sf&&!a)&&R(Ur)},[i,r,a]),h.useEffect(()=>()=>{N.current=!1,clearTimeout(z.current)},[]);const W=h.useRef(!1);h.useEffect(()=>{w&&(W.current=!0),w!==void 0&&O===Ur&&((W.current||w)&&(b==null||b(w)),W.current=!0)},[w,O]);let X=T[0];L[Mr]&&K===Ya&&(X={transition:"none",...X});const Q=T[1];return[E,K,X,w??t,!N.current&&O===Ur&&e&&i?"NONE":K===Ya||K===Wa?Q===K:!0]}function c$(e){return(e==null?void 0:e.length)<2}function LV(e){let t=e;typeof e=="object"&&({transitionSupport:t}=e);function n(i,a){return!!(i.motionName&&t&&a!==!1)}const r=h.forwardRef((i,a)=>{const{visible:o=!0,removeOnLeave:s=!0,forceRender:l,children:c,motionName:u,leavedClassName:f,eventProps:d}=i,{motion:m}=h.useContext(e$),v=n(i,m),x=h.useRef();function S(){return Ih(x.current)}const[y,g,p,b,w]=PV(v,o,S,i),A=y(),E=h.useRef(b);b&&(E.current=!0);const R=h.useMemo(()=>{const O={};return Object.defineProperties(O,{nativeElement:{enumerable:!0,get:S},inMotion:{enumerable:!0,get:()=>()=>y()!==Ur},enableMotion:{enumerable:!0,get:()=>()=>v}}),O},[]);h.useImperativeHandle(a,()=>R,[]);const T=h.useRef(0);w&&(T.current+=1);const M=h.useMemo(()=>{if(w==="NONE")return null;let O;const N={...d,visible:o};if(!c)O=null;else if(A===Ur)b?O=c({...N},x):!s&&E.current&&f?O=c({...N,className:f},x):l||!s&&!f?O=c({...N,style:{display:"none"}},x):O=null;else{let z;g===Mr?z="prepare":l$(g)?z="active":g===Ya&&(z="start");const P=lw(u,`${A}-${z}`);O=c({...N,className:k(lw(u,A),{[P]:P&&z,[u]:typeof u=="string"}),style:p},x)}return O},[T.current]);if(c$(c)&&r8(M)){const O=fl(M);if(O!==x)return h.cloneElement(M,{ref:_i(O,x)})}return M});return r.displayName="CSSMotion",r}const ja=LV(OV),cv="add",uv="keep",fv="remove",Sp="removed";function _V(e){let t;return e&&typeof e=="object"&&"key"in e?t=e:t={key:e},{...t,key:String(t.key)}}function dv(e=[]){return e.map(_V)}function VV(e=[],t=[]){let n=[],r=0;const i=t.length,a=dv(e),o=dv(t);a.forEach(c=>{let u=!1;for(let f=r;f<i;f+=1){const d=o[f];if(d.key===c.key){r<f&&(n=n.concat(o.slice(r,f).map(m=>({...m,status:cv}))),r=f),n.push({...d,status:uv}),r+=1,u=!0;break}}u||n.push({...c,status:fv})}),r<i&&(n=n.concat(o.slice(r).map(c=>({...c,status:cv}))));const s={};return n.forEach(({key:c})=>{s[c]=(s[c]||0)+1}),Object.keys(s).filter(c=>s[c]>1).forEach(c=>{n=n.filter(({key:u,status:f})=>u!==c||f!==fv),n.forEach(u=>{u.key===c&&(u.status=uv)})}),n}function hv(){return hv=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},hv.apply(this,arguments)}const HV=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function FV(e,t=ja){class n extends h.Component{constructor(){super(...arguments);V(this,"state",{keyEntities:[]});V(this,"removeKey",a=>{this.setState(o=>({keyEntities:o.keyEntities.map(l=>l.key!==a?l:{...l,status:Sp})}),()=>{const{keyEntities:o}=this.state;o.filter(({status:l})=>l!==Sp).length===0&&this.props.onAllRemoved&&this.props.onAllRemoved()})})}static getDerivedStateFromProps({keys:a},{keyEntities:o}){const s=dv(a);return{keyEntities:VV(o,s).filter(c=>{const u=o.find(({key:f})=>c.key===f);return!(u&&u.status===Sp&&c.status===fv)})}}render(){const{keyEntities:a}=this.state,{component:o,children:s,onVisibleChanged:l,onAllRemoved:c,...u}=this.props,f=o||h.Fragment,d={};return HV.forEach(m=>{d[m]=u[m],delete u[m]}),delete u.keys,h.createElement(f,u,a.map(({status:m,...v},x)=>{const S=m===cv||m===uv;return h.createElement(t,hv({},d,{key:v.key,visible:S,eventProps:v,onVisibleChanged:y=>{l==null||l(y,{key:v.key}),y||this.removeKey(v.key)}}),c$(s)?y=>s({...y,index:x}):(y,g)=>s({...y,index:x},g))}))}}return V(n,"defaultProps",{component:"div"}),n}const u$=FV(),IV=`accept acceptCharset accessKey action allowFullScreen allowTransparency
- 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`,UV=`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`,qV=`${IV} ${UV}`.split(/[\s\n]+/),GV="aria-",kV="data-";function cw(e,t){return e.indexOf(t)===0}function Kb(e,t=!1){let n;t===!1?n={aria:!0,data:!0,attr:!0}:t===!0?n={aria:!0}:n={...t};const r={};return Object.keys(e).forEach(i=>{(n.aria&&(i==="role"||cw(i,GV))||n.data&&cw(i,kV)||n.attr&&qV.includes(i))&&(r[i]=e[i])}),r}const XV={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"};var YV={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0};function Qc(e){"@babel/helpers - typeof";return Qc=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},Qc(e)}function uw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function fw(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?uw(Object(n),!0).forEach(function(r){WV(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):uw(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function WV(e,t,n){return t=KV(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function KV(e){var t=QV(e,"string");return Qc(t)=="symbol"?t:String(t)}function QV(e,t){if(Qc(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Qc(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var ZV=fw(fw({},YV),{},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",week:"Week",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"});const f$={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},dw={lang:{placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"],...ZV},timePickerLocale:{...f$}},On="${label} is not a valid ${type}",So={locale:"en",Pagination:XV,DatePicker:dw,TimePicker:f$,Calendar:dw,global:{placeholder:"Please select",close:"Close",sortable:"sortable"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckAll:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",deselectAll:"Deselect all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand",collapse:"Collapse"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:On,method:On,array:On,object:On,number:On,date:On,boolean:On,integer:On,float:On,regexp:On,email:On,url:On,hex:On},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty",transparent:"Transparent",singleColor:"Single",gradientColor:"Gradient"}};({...So.Modal});let Xf=[];const hw=()=>Xf.reduce((e,t)=>({...e,...t}),So.Modal);function JV(e){if(e){const t={...e};return Xf.push(t),hw(),()=>{Xf=Xf.filter(n=>n!==t),hw()}}({...So.Modal})}const Qb=h.createContext(void 0),eH=(e,t)=>{const n=h.useContext(Qb),r=h.useMemo(()=>{const a=So[e],o=(n==null?void 0:n[e])??{};return{...typeof a=="function"?a():a,...o||{}}},[e,t,n]),i=h.useMemo(()=>{const a=n==null?void 0:n.locale;return n!=null&&n.exist&&!a?So.locale:a},[n]);return[r,i]},tH="internalMark",nH=e=>{const{locale:t={},children:n,_ANT_MARK__:r}=e;h.useEffect(()=>JV(t==null?void 0:t.Modal),[t]);const i=h.useMemo(()=>({...t,exist:!0}),[t]);return h.createElement(Qb.Provider,{value:i},n)},dr=e=>e!=null,rH=()=>I.useReducer(e=>e+1,0),Zb=(e,...t)=>{const n=e||{};return t.filter(Boolean).reduce((r,i)=>(Object.keys(i||{}).forEach(a=>{const o=n[a],s=i[a];if(o&&typeof o=="object")if(s&&typeof s=="object")r[a]=Zb(o,r[a],s);else{const{_default:l}=o;l&&(r[a]=r[a]||{},r[a][l]=k(r[a][l],s))}else r[a]=k(r[a],s)}),r),{})},iH=(e,...t)=>h.useMemo(()=>Zb.apply(void 0,[e].concat(t)),[e].concat(t)),d$=(...e)=>e.filter(Boolean).reduce((t,n={})=>(Object.keys(n).forEach(r=>{t[r]={...t[r],...n[r]}}),t),{}),aH=(...e)=>h.useMemo(()=>d$.apply(void 0,e),[].concat(e)),mv=(e,t)=>{const n={...e};return Object.keys(t).forEach(r=>{if(r!=="_default"){const i=t[r],a=n[r]||{};n[r]=i?mv(a,i):a}}),n},xs=(e,t)=>typeof e=="function"?e(t):e,mr=(e,t,n,r)=>{const i=e.map(l=>l?xs(l,n):void 0),a=t.map(l=>l?xs(l,n):void 0),o=iH.apply(void 0,[r].concat(He(i))),s=aH.apply(void 0,He(a));return h.useMemo(()=>r?[mv(o,r),mv(s,r)]:[o,s],[o,s,r])},mw=e=>e==="horizontal"||e==="vertical",h$=(e,t,n)=>h.useMemo(()=>{const r=mw(e);let i;return r?i=e:typeof t=="boolean"?i=t?"vertical":"horizontal":i=mw(n)?n:"horizontal",[i,i==="vertical"]},[n,e,t]),m$=I.createContext(void 0),Gi=100,oH=10,sH=Gi*oH,p$={Modal:Gi,Drawer:Gi,Popover:Gi,Popconfirm:Gi,Tooltip:Gi,Tour:Gi,FloatButton:Gi},lH={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1},cH=e=>e in p$,uH=(e,t)=>{const[,n]=Na(),r=I.useContext(m$),i=cH(e);let a;if(t!==void 0)a=[t,t];else{let o=r??0;i?o+=(r?0:n.zIndexPopupBase)+p$[e]:o+=lH[e],a=[r===void 0?t:o,o]}return a},pw=e=>typeof e=="object"&&e!=null&&e.nodeType===1,gw=(e,t)=>(!t||e!=="hidden")&&e!=="visible"&&e!=="clip",cf=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){const n=getComputedStyle(e,null);return gw(n.overflowY,t)||gw(n.overflowX,t)||(r=>{const i=(a=>{if(!a.ownerDocument||!a.ownerDocument.defaultView)return null;try{return a.ownerDocument.defaultView.frameElement}catch{return null}})(r);return!!i&&(i.clientHeight<r.scrollHeight||i.clientWidth<r.scrollWidth)})(e)}return!1},uf=(e,t,n,r,i,a,o,s)=>a<e&&o>t||a>e&&o<t?0:a<=e&&s<=n||o>=t&&s>=n?a-e-r:o>t&&s<n||a<e&&s>n?o-t+i:0,fH=e=>{const t=e.parentElement;return t??(e.getRootNode().host||null)},yw=(e,t)=>{var n,r,i,a;if(typeof document>"u")return[];const{scrollMode:o,block:s,inline:l,boundary:c,skipOverflowHiddenElements:u}=t,f=typeof c=="function"?c:$=>$!==c;if(!pw(e))throw new TypeError("Invalid target");const d=document.scrollingElement||document.documentElement,m=[];let v=e;for(;pw(v)&&f(v);){if(v=fH(v),v===d){m.push(v);break}v!=null&&v===document.body&&cf(v)&&!cf(document.documentElement)||v!=null&&cf(v,u)&&m.push(v)}const x=(r=(n=window.visualViewport)==null?void 0:n.width)!=null?r:innerWidth,S=(a=(i=window.visualViewport)==null?void 0:i.height)!=null?a:innerHeight,{scrollX:y,scrollY:g}=window,{height:p,width:b,top:w,right:A,bottom:E,left:R}=e.getBoundingClientRect(),{top:T,right:M,bottom:O,left:N}=($=>{const D=window.getComputedStyle($);return{top:parseFloat(D.scrollMarginTop)||0,right:parseFloat(D.scrollMarginRight)||0,bottom:parseFloat(D.scrollMarginBottom)||0,left:parseFloat(D.scrollMarginLeft)||0}})(e);let z=s==="start"||s==="nearest"?w-T:s==="end"?E+O:w+p/2-T+O,P=l==="center"?R+b/2-N+M:l==="end"?A+M:R-N;const j=[];for(let $=0;$<m.length;$++){const D=m[$],{height:B,width:_,top:L,right:q,bottom:K,left:te}=D.getBoundingClientRect();if(o==="if-needed"&&w>=0&&R>=0&&E<=S&&A<=x&&(D===d&&!cf(D)||w>=L&&E<=K&&R>=te&&A<=q))return j;const ee=getComputedStyle(D),W=parseInt(ee.borderLeftWidth,10),X=parseInt(ee.borderTopWidth,10),Q=parseInt(ee.borderRightWidth,10),G=parseInt(ee.borderBottomWidth,10);let Z=0,ae=0;const se="offsetWidth"in D?D.offsetWidth-D.clientWidth-W-Q:0,J="offsetHeight"in D?D.offsetHeight-D.clientHeight-X-G:0,ce="offsetWidth"in D?D.offsetWidth===0?0:_/D.offsetWidth:0,fe="offsetHeight"in D?D.offsetHeight===0?0:B/D.offsetHeight:0;if(d===D)Z=s==="start"?z:s==="end"?z-S:s==="nearest"?uf(g,g+S,S,X,G,g+z,g+z+p,p):z-S/2,ae=l==="start"?P:l==="center"?P-x/2:l==="end"?P-x:uf(y,y+x,x,W,Q,y+P,y+P+b,b),Z=Math.max(0,Z+g),ae=Math.max(0,ae+y);else{Z=s==="start"?z-L-X:s==="end"?z-K+G+J:s==="nearest"?uf(L,K,B,X,G+J,z,z+p,p):z-(L+B/2)+J/2,ae=l==="start"?P-te-W:l==="center"?P-(te+_/2)+se/2:l==="end"?P-q+Q+se:uf(te,q,_,W,Q+se,P,P+b,b);const{scrollLeft:U,scrollTop:re}=D;Z=fe===0?0:Math.max(0,Math.min(re+Z/fe,D.scrollHeight-B/fe+J)),ae=ce===0?0:Math.max(0,Math.min(U+ae/ce,D.scrollWidth-_/ce+se)),z+=re-Z,P+=U-ae}j.push({el:D,top:Z,left:ae})}return j},dH=e=>e===!1?{block:"end",inline:"nearest"}:(t=>t===Object(t)&&Object.keys(t).length!==0)(e)?e:{block:"start",inline:"nearest"};function hH(e,t){if(!e.isConnected||!(i=>{let a=i;for(;a&&a.parentNode;){if(a.parentNode===document)return!0;a=a.parentNode instanceof ShadowRoot?a.parentNode.host:a.parentNode}return!1})(e))return;const n=(i=>{const a=window.getComputedStyle(i);return{top:parseFloat(a.scrollMarginTop)||0,right:parseFloat(a.scrollMarginRight)||0,bottom:parseFloat(a.scrollMarginBottom)||0,left:parseFloat(a.scrollMarginLeft)||0}})(e);if((i=>typeof i=="object"&&typeof i.behavior=="function")(t))return t.behavior(yw(e,t));const r=typeof t=="boolean"||t==null?void 0:t.behavior;for(const{el:i,top:a,left:o}of yw(e,dH(t))){const s=a-n.top+n.bottom,l=o-n.left+n.right;i.scroll({top:s,left:l,behavior:r})}}const zr=e=>`${e}-css-var`,g$=h.createContext(void 0),y$=h.createContext(null);let mH=!1;function pH(e){return mH}const vw=[];function gH(e,t){const[n]=h.useState(()=>cr()?document.createElement("div"):null),r=h.useRef(!1),i=h.useContext(y$),[a,o]=h.useState(vw),s=i||(r.current?void 0:u=>{o(f=>[u,...f])});function l(){n.parentElement||document.body.appendChild(n),r.current=!0}function c(){var u;(u=n.parentElement)==null||u.removeChild(n),r.current=!1}return Ot(()=>(e?i?i(l):l():c(),c),[e]),Ot(()=>{a.length&&(a.forEach(u=>u()),o(vw))},[a]),[n,s]}function yH(e){const t=`rc-scrollbar-measure-${Math.random().toString(36).substring(7)}`,n=document.createElement("div");n.id=t;const r=n.style;r.position="absolute",r.left="0",r.top="0",r.width="100px",r.height="100px",r.overflow="scroll";let i,a;if(e){const l=getComputedStyle(e);r.scrollbarColor=l.scrollbarColor,r.scrollbarWidth=l.scrollbarWidth;const c=getComputedStyle(e,"::-webkit-scrollbar"),u=parseInt(c.width,10),f=parseInt(c.height,10);try{const d=u?`width: ${c.width};`:"",m=f?`height: ${c.height};`:"";va(`
- #${t}::-webkit-scrollbar {
- ${d}
- ${m}
- }`,t)}catch(d){console.error(d),i=u,a=f}}document.body.appendChild(n);const o=e&&i&&!Number.isNaN(i)?i:n.offsetWidth-n.clientWidth,s=e&&a&&!Number.isNaN(a)?a:n.offsetHeight-n.clientHeight;return document.body.removeChild(n),Gc(t),{width:o,height:s}}function vH(e){return typeof document>"u"||!e||!(e instanceof Element)?{width:0,height:0}:yH(e)}function bH(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}const xH=`rc-util-locker-${Date.now()}`;let bw=0;function SH(e){const t=!!e,[n]=h.useState(()=>(bw+=1,`${xH}_${bw}`));Ot(()=>{if(t){const r=vH(document.body).width,i=bH();va(`
- html body {
- overflow-y: hidden;
- ${i?`width: calc(100% - ${r}px);`:""}
- }`,n)}else Gc(n);return()=>{Gc(n)}},[t,n])}function CH(){return{...lA}.useId}let xw=0;const Sw=CH(),Jb=Sw?function(t){const n=Sw();return t||n}:function(t){const[n,r]=h.useState("ssr-id");return h.useEffect(()=>{const i=xw;xw+=1,r(`rc_unique_${i}`)},[]),t||n};let no=[];const wH=200;let v$=0;const b$=e=>{if(e.key==="Escape"&&!e.isComposing){if(Date.now()-v$<wH)return;const n=no.length;for(let r=n-1;r>=0;r-=1)no[r].onEsc({top:r===n-1,event:e})}},x$=()=>{v$=Date.now()};function EH(){window.addEventListener("keydown",b$),window.addEventListener("compositionend",x$)}function AH(){no.length===0&&(window.removeEventListener("keydown",b$),window.removeEventListener("compositionend",x$))}function TH(e,t){const n=Jb(),r=Xe(t),i=()=>{no.find(o=>o.id===n)||no.push({id:n,onEsc:r})},a=()=>{no=no.filter(o=>o.id!==n)};h.useMemo(()=>{e?i():e||a()},[e]),h.useEffect(()=>{if(e)return i(),EH(),()=>{a(),AH()}},[e])}const Cw=e=>e===!1?!1:!cr()||!e?null:typeof e=="string"?document.querySelector(e):typeof e=="function"?e():e,ex=h.forwardRef((e,t)=>{const{open:n,autoLock:r,getContainer:i,debug:a,autoDestroy:o=!0,children:s,onEsc:l}=e,[c,u]=h.useState(n),f=c||n;h.useEffect(()=>{(o||n)&&u(n)},[n,o]);const[d,m]=h.useState(()=>Cw(i));h.useEffect(()=>{const w=Cw(i);m(()=>w??null)});const[v,x]=gH(f&&!d),S=d??v;SH(r&&n&&cr()&&(S===v||S===document.body)),TH(n,l);let y=null;s&&Au(s)&&t&&(y=fl(s));const g=Eu(y,t);if(!f||!cr()||d===void 0)return null;const p=S===!1||pH();let b=s;return t&&(b=h.cloneElement(s,{ref:g})),h.createElement(y$.Provider,{value:x},p?b:sh.createPortal(b,S))});function MH(e){const{prefixCls:t,align:n,arrow:r,arrowPos:i}=e,{className:a,content:o,style:s}=r||{},{x:l=0,y:c=0}=i,u=h.useRef(null);if(!n||!n.points)return null;const f={position:"absolute"};if(n.autoArrow!==!1){const d=n.points[0],m=n.points[1],v=d[0],x=d[1],S=m[0],y=m[1];v===S||!["t","b"].includes(v)?f.top=c:v==="t"?f.top=0:f.bottom=0,x===y||!["l","r"].includes(x)?f.left=l:x==="l"?f.left=0:f.right=0}return h.createElement("div",{ref:u,className:k(`${t}-arrow`,a),style:{...f,...s}},o)}function pv(){return pv=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},pv.apply(this,arguments)}function RH(e){const{prefixCls:t,open:n,zIndex:r,mask:i,motion:a,mobile:o}=e;return i?h.createElement(ja,pv({},a,{motionAppear:!0,visible:n,removeOnLeave:!0}),({className:s})=>h.createElement("div",{style:{zIndex:r},className:k(`${t}-mask`,o&&`${t}-mobile-mask`,s)})):null}const OH=h.memo(({children:e})=>e,(e,t)=>t.cache);function S$(e,t,n,r,i,a,o,s){var u;const l="auto",c=e?{}:{left:"-1000vw",top:"-1000vh",right:l,bottom:l};if(!e&&(t||!n)){const{points:f}=r,d=r.dynamicInset||((u=r._experimental)==null?void 0:u.dynamicInset),m=d&&f[0][1]==="r",v=d&&f[0][0]==="b";m?(c.right=i,c.left=l):(c.left=o,c.right=l),v?(c.bottom=a,c.top=l):(c.top=s,c.bottom=l)}return c}function gv(){return gv=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},gv.apply(this,arguments)}const C$=h.forwardRef((e,t)=>{const{onEsc:n,popup:r,className:i,prefixCls:a,style:o,target:s,onVisibleChanged:l,open:c,keepDom:u,fresh:f,onClick:d,mask:m,arrow:v,arrowPos:x,align:S,motion:y,maskMotion:g,mobile:p,forceRender:b,getPopupContainer:w,autoDestroy:A,portal:E,children:R,zIndex:T,onMouseEnter:M,onMouseLeave:O,onPointerEnter:N,onPointerDownCapture:z,ready:P,offsetX:j,offsetY:$,offsetR:D,offsetB:B,onAlign:_,onPrepare:L,onResize:q,stretch:K,targetWidth:te,targetHeight:ee}=e,W=typeof r=="function"?r():r,X=c||u,Q=!!p,[G,Z,ae]=h.useMemo(()=>p?[p.mask,p.maskMotion,p.motion]:[m,g,y],[p,m,g,y]),se=(w==null?void 0:w.length)>0,[J,ce]=h.useState(!w||!se);Ot(()=>{!J&&se&&s&&ce(!0)},[J,se,s]);const fe=Xe((F,ne)=>{q==null||q(F,ne),_()}),U=S$(Q,P,c,S,D,B,j,$);if(!J)return null;const re={};return K&&(K.includes("height")&&ee?re.height=ee:K.includes("minHeight")&&ee&&(re.minHeight=ee),K.includes("width")&&te?re.width=te:K.includes("minWidth")&&te&&(re.minWidth=te)),c||(re.pointerEvents="none"),h.createElement(E,{open:b||X,getContainer:w&&(()=>w(s)),autoDestroy:A,onEsc:n},h.createElement(RH,{prefixCls:a,open:c,zIndex:T,mask:G,motion:Z,mobile:Q}),h.createElement(Pb,{onResize:fe,disabled:!c},F=>h.createElement(ja,gv({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:b,leavedClassName:`${a}-hidden`},ae,{onAppearPrepare:L,onEnterPrepare:L,visible:c,onVisibleChanged:ne=>{var Y;(Y=y==null?void 0:y.onVisibleChanged)==null||Y.call(y,ne),l(ne)}}),({className:ne,style:Y},ge)=>{const oe=k(a,ne,i,{[`${a}-mobile`]:Q});return h.createElement("div",{ref:_i(F,t,ge),className:oe,style:{"--arrow-x":`${x.x||0}px`,"--arrow-y":`${x.y||0}px`,...U,...re,...Y,boxSizing:"border-box",zIndex:T,...o},onMouseEnter:M,onMouseLeave:O,onPointerEnter:N,onClick:d,onPointerDownCapture:z},v&&h.createElement(MH,{prefixCls:a,arrow:v,arrowPos:x,align:S}),h.createElement(OH,{cache:!c&&!f},W))})),R)}),Id=h.createContext(null),w$=h.createContext(null);function ww(e){return e?Array.isArray(e)?e:[e]:[]}function $H(e,t,n){return h.useMemo(()=>{const r=ww(t??e),i=ww(n??e),a=new Set(r),o=new Set(i);return a.has("hover")&&!a.has("click")&&a.add("touch"),o.has("hover")&&!o.has("click")&&o.add("touch"),[a,o]},[e,t,n])}const tx=e=>{if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){const{width:t,height:n}=e.getBBox();if(t||n)return!0}if(e.getBoundingClientRect){const{width:t,height:n}=e.getBoundingClientRect();if(t||n)return!0}}return!1};function NH(e=[],t=[],n){const r=(i,a)=>i[a]||"";return n?r(e,0)===r(t,0):r(e,0)===r(t,0)&&r(e,1)===r(t,1)}function E$(e,t,n,r){var o;const{points:i}=n,a=Object.keys(e);for(let s=0;s<a.length;s+=1){const l=a[s];if(NH((o=e[l])==null?void 0:o.points,i,r))return`${t}-placement-${l}`}return""}function Mu(e){return e.ownerDocument.defaultView}function yv(e){const t=[];let n=e==null?void 0:e.parentElement;const r=["hidden","scroll","clip","auto"];for(;n;){const{overflowX:i,overflowY:a,overflow:o}=Mu(n).getComputedStyle(n);[i,a,o].some(s=>r.includes(s))&&t.push(n),n=n.parentElement}return t}function Zc(e,t=1){return Number.isNaN(e)?t:e}function zl(e){return Zc(parseFloat(e),0)}function Ew(e,t){const n={...e};return(t||[]).forEach(r=>{if(r instanceof HTMLBodyElement||r instanceof HTMLHtmlElement)return;const{overflow:i,overflowClipMargin:a,borderTopWidth:o,borderBottomWidth:s,borderLeftWidth:l,borderRightWidth:c}=Mu(r).getComputedStyle(r),u=r.getBoundingClientRect(),{offsetHeight:f,clientHeight:d,offsetWidth:m,clientWidth:v}=r,x=zl(o),S=zl(s),y=zl(l),g=zl(c),p=Zc(Math.round(u.width/m*1e3)/1e3),b=Zc(Math.round(u.height/f*1e3)/1e3),w=(m-v-y-g)*p,A=(f-d-x-S)*b,E=x*b,R=S*b,T=y*p,M=g*p;let O=0,N=0;if(i==="clip"){const D=zl(a);O=D*p,N=D*b}const z=u.x+T-O,P=u.y+E-N,j=z+u.width+2*O-T-M-w,$=P+u.height+2*N-E-R-A;n.left=Math.max(n.left,z),n.top=Math.max(n.top,P),n.right=Math.min(n.right,j),n.bottom=Math.min(n.bottom,$)}),n}function Aw(e,t=0){const n=`${t}`,r=n.match(/^(.*)\%$/);return r?e*(parseFloat(r[1])/100):parseFloat(n)}function Tw(e,t){const[n,r]=t||[];return[Aw(e.width,n),Aw(e.height,r)]}function Mw(e=""){return[e[0],e[1]]}function ko(e,t){const n=t[0],r=t[1];let i,a;return n==="t"?a=e.y:n==="b"?a=e.y+e.height:a=e.y+e.height/2,r==="l"?i=e.x:r==="r"?i=e.x+e.width:i=e.x+e.width/2,{x:i,y:a}}function Fi(e,t){const n={t:"b",b:"t",l:"r",r:"l"},r=[...e];return r[t]=n[e[t]]||"c",r}function Rw(e){return e.join("")}function A$(e,t,n,r,i,a,o,s){const[l,c]=h.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:i[r]||{}}),u=h.useRef(0),f=h.useMemo(()=>!t||s?[]:yv(t),[t]),d=h.useRef({});e||(()=>{d.current={}})();const v=Xe(()=>{var p,b;if(t&&n&&e&&!s){let Le=function(he,Bt,Gt=ne){const El=D.x+he,om=D.y+Bt,sm=El+Q,lm=om+X,cm=Math.max(El,Gt.left),ie=Math.max(om,Gt.top),xe=Math.min(sm,Gt.right),Pt=Math.min(lm,Gt.bottom);return Math.max(0,(xe-cm)*(Pt-ie))},Xn=function(){ai=D.y+ye,oi=ai+X,kn=D.x+Oe,xr=kn+Q};var y=Le,g=Xn;const w=t,A=w.ownerDocument,E=Mu(w),{position:R}=E.getComputedStyle(w),T=w.style.left,M=w.style.top,O=w.style.right,N=w.style.bottom,z=w.style.overflow,P={...i[r],...a},j=A.createElement("div");(p=w.parentElement)==null||p.appendChild(j),j.style.left=`${w.offsetLeft}px`,j.style.top=`${w.offsetTop}px`,j.style.position=R,j.style.height=`${w.offsetHeight}px`,j.style.width=`${w.offsetWidth}px`,w.style.left="0",w.style.top="0",w.style.right="auto",w.style.bottom="auto",w.style.overflow="hidden";let $;if(Array.isArray(n))$={x:n[0],y:n[1],width:0,height:0};else{const he=n.getBoundingClientRect();he.x=he.x??he.left,he.y=he.y??he.top,$={x:he.x,y:he.y,width:he.width,height:he.height}}const D=w.getBoundingClientRect(),{height:B,width:_}=E.getComputedStyle(w);D.x=D.x??D.left,D.y=D.y??D.top;const{clientWidth:L,clientHeight:q,scrollWidth:K,scrollHeight:te,scrollTop:ee,scrollLeft:W}=A.documentElement,X=D.height,Q=D.width,G=$.height,Z=$.width,ae={left:0,top:0,right:L,bottom:q},se={left:-W,top:-ee,right:K-W,bottom:te-ee};let{htmlRegion:J}=P;const ce="visible",fe="visibleFirst";J!=="scroll"&&J!==fe&&(J=ce);const U=J===fe,re=Ew(se,f),F=Ew(ae,f),ne=J===ce?F:re,Y=U?F:ne;w.style.left="auto",w.style.top="auto",w.style.right="0",w.style.bottom="0";const ge=w.getBoundingClientRect();w.style.left=T,w.style.top=M,w.style.right=O,w.style.bottom=N,w.style.overflow=z,(b=w.parentElement)==null||b.removeChild(j);const oe=Zc(Math.round(Q/parseFloat(_)*1e3)/1e3),ue=Zc(Math.round(X/parseFloat(B)*1e3)/1e3);if(oe===0||ue===0||Xs(n)&&!tx(n))return;const{offset:at,targetOffset:Ut}=P;let[We,ot]=Tw(D,at);const[pr,Br]=Tw($,Ut);$.x-=pr,$.y-=Br;const[Pr,Pe]=P.points||[],zt=Mw(Pe),Me=Mw(Pr),pn=ko($,zt),gr=ko(D,Me),Et={...P};let Ke=[Me,zt],Oe=pn.x-gr.x+We,ye=pn.y-gr.y+ot;const ht=Le(Oe,ye),yr=Le(Oe,ye,F),vr=ko($,["t","l"]),en=ko(D,["t","l"]),br=ko($,["b","r"]),Lr=ko(D,["b","r"]),Ge=P.overflow||{},{adjustX:_r,adjustY:xl,shiftX:zo,shiftY:Bo}=Ge,Po=he=>typeof he=="boolean"?he:he>=0;let ai,oi,kn,xr;Xn();const Vr=Po(xl),an=Me[0]===zt[0];if(Vr&&Me[0]==="t"&&(oi>Y.bottom||d.current.bt)){let he=ye;an?he-=X-G:he=vr.y-Lr.y-ot;const Bt=Le(Oe,he),Gt=Le(Oe,he,F);Bt>ht||Bt===ht&&(!U||Gt>=yr)?(d.current.bt=!0,ye=he,ot=-ot,Ke=[Fi(Ke[0],0),Fi(Ke[1],0)]):d.current.bt=!1}if(Vr&&Me[0]==="b"&&(ai<Y.top||d.current.tb)){let he=ye;an?he+=X-G:he=br.y-en.y-ot;const Bt=Le(Oe,he),Gt=Le(Oe,he,F);Bt>ht||Bt===ht&&(!U||Gt>=yr)?(d.current.tb=!0,ye=he,ot=-ot,Ke=[Fi(Ke[0],0),Fi(Ke[1],0)]):d.current.tb=!1}const tn=Po(_r),Vi=Me[1]===zt[1];if(tn&&Me[1]==="l"&&(xr>Y.right||d.current.rl)){let he=Oe;Vi?he-=Q-Z:he=vr.x-Lr.x-We;const Bt=Le(he,ye),Gt=Le(he,ye,F);Bt>ht||Bt===ht&&(!U||Gt>=yr)?(d.current.rl=!0,Oe=he,We=-We,Ke=[Fi(Ke[0],1),Fi(Ke[1],1)]):d.current.rl=!1}if(tn&&Me[1]==="r"&&(kn<Y.left||d.current.lr)){let he=Oe;Vi?he+=Q-Z:he=br.x-en.x-We;const Bt=Le(he,ye),Gt=Le(he,ye,F);Bt>ht||Bt===ht&&(!U||Gt>=yr)?(d.current.lr=!0,Oe=he,We=-We,Ke=[Fi(Ke[0],1),Fi(Ke[1],1)]):d.current.lr=!1}Et.points=[Rw(Ke[0]),Rw(Ke[1])],Xn();const Yn=zo===!0?0:zo;typeof Yn=="number"&&(kn<F.left&&(Oe-=kn-F.left-We,$.x+Z<F.left+Yn&&(Oe+=$.x-F.left+Z-Yn)),xr>F.right&&(Oe-=xr-F.right-We,$.x>F.right-Yn&&(Oe+=$.x-F.right+Yn)));const Re=Bo===!0?0:Bo;typeof Re=="number"&&(ai<F.top&&(ye-=ai-F.top-ot,$.y+G<F.top+Re&&(ye+=$.y-F.top+G-Re)),oi>F.bottom&&(ye-=oi-F.bottom-ot,$.y>F.bottom-Re&&(ye+=$.y-F.bottom+Re)));const za=D.x+Oe,Sl=za+Q,ke=D.y+ye,qt=ke+X,gn=$.x,Rn=gn+Z,Hr=$.y,Lo=Hr+G,Ba=Math.max(za,gn),_o=Math.min(Sl,Rn),Vo=(Ba+_o)/2-za,on=Math.max(ke,Hr),Cl=Math.min(qt,Lo),am=(on+Cl)/2-ke;o==null||o(t,Et);let wl=ge.right-D.x-(Oe+D.width),Pa=ge.bottom-D.y-(ye+D.height);oe===1&&(Oe=Math.floor(Oe),wl=Math.floor(wl)),ue===1&&(ye=Math.floor(ye),Pa=Math.floor(Pa));const zu={ready:!0,offsetX:Oe/oe,offsetY:ye/ue,offsetR:wl/oe,offsetB:Pa/ue,arrowX:Vo/oe,arrowY:am/ue,scaleX:oe,scaleY:ue,align:Et};c(zu)}}),x=()=>{u.current+=1;const y=u.current;Promise.resolve().then(()=>{u.current===y&&v()})},S=()=>{c(y=>({...y,ready:!1}))};return Ot(S,[r]),Ot(()=>{e||S()},[e]),[l.ready,l.offsetX,l.offsetY,l.offsetR,l.offsetB,l.arrowX,l.arrowY,l.scaleX,l.scaleY,l.align,x]}function T$(){const e=h.useRef(null),t=()=>{e.current&&(clearTimeout(e.current),e.current=null)},n=(r,i)=>{t(),i===0?r():e.current=setTimeout(()=>{r()},i*1e3)};return h.useEffect(()=>()=>{t()},[]),n}function jH(e,t,n,r,i){Ot(()=>{if(e&&t&&n){let d=function(){r(),i()};var a=d;const o=t,s=n,l=yv(o),c=yv(s),u=Mu(s),f=new Set([u,...l,...c]);return f.forEach(m=>{m.addEventListener("scroll",d,{passive:!0})}),u.addEventListener("resize",d,{passive:!0}),r(),()=>{f.forEach(m=>{m.removeEventListener("scroll",d),u.removeEventListener("resize",d)})}}},[e,t,n])}function DH(e,t,n,r,i,a,o,s){const l=h.useRef(e);l.current=e;const c=h.useRef(!1);h.useEffect(()=>{if(t&&r&&(!i||a)){const f=()=>{c.current=!1},d=x=>{var S,y;l.current&&!o(((y=(S=x.composedPath)==null?void 0:S.call(x))==null?void 0:y[0])||x.target)&&!c.current&&s(!1)},m=Mu(r);m.addEventListener("pointerdown",f,!0),m.addEventListener("mousedown",d,!0),m.addEventListener("contextmenu",d,!0);const v=Fd(n);return v&&(v.addEventListener("mousedown",d,!0),v.addEventListener("contextmenu",d,!0)),()=>{m.removeEventListener("pointerdown",f,!0),m.removeEventListener("mousedown",d,!0),m.removeEventListener("contextmenu",d,!0),v&&(v.removeEventListener("mousedown",d,!0),v.removeEventListener("contextmenu",d,!0))}}},[t,n,r,i,a]);function u(){c.current=!0}return u}function zH(){const[e,t]=I.useState(null),[n,r]=I.useState(!1),[i,a]=I.useState(!1),o=I.useRef(null),s=Xe(c=>{c===!1?(o.current=null,r(!1)):i&&n?o.current=c:(r(!0),t(c),o.current=null,n||a(!0))}),l=Xe(c=>{c?(a(!1),o.current&&(t(o.current),o.current=null)):(a(!1),o.current=null)});return[s,n,e,l]}function vv(){return vv=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},vv.apply(this,arguments)}const BH=e=>{const{prefixCls:t,isMobile:n,ready:r,open:i,align:a,offsetR:o,offsetB:s,offsetX:l,offsetY:c,arrowPos:u,popupSize:f,motion:d,uniqueContainerClassName:m,uniqueContainerStyle:v}=e,x=`${t}-unique-container`,[S,y]=I.useState(!1),g=S$(n,r,i,a,o,s,l,c),p=I.useRef(g);r&&(p.current=g);const b={};return f&&(b.width=f.width,b.height=f.height),I.createElement(ja,vv({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,leavedClassName:`${x}-hidden`},d,{visible:i,onVisibleChanged:w=>{y(w)}}),({className:w,style:A})=>{const E=k(x,w,m,{[`${x}-visible`]:S});return I.createElement("div",{className:E,style:{"--arrow-x":`${(u==null?void 0:u.x)||0}px`,"--arrow-y":`${(u==null?void 0:u.y)||0}px`,...p.current,...b,...A,...v}})})},PH=({children:e,postTriggerProps:t})=>{const[n,r,i,a]=zH(),o=h.useMemo(()=>!i||!t?i:t(i),[i,t]),[s,l]=h.useState(null),[c,u]=h.useState(null),f=h.useRef(null),d=Xe(B=>{f.current=B,Xs(B)&&s!==B&&l(B)}),m=h.useRef(null),v=T$(),x=Xe((B,_)=>{m.current=_,v(()=>{n(B)},B.delay)}),S=B=>{v(()=>{var _;(_=m.current)!=null&&_.call(m)||n(!1)},B)},y=Xe(B=>{a(B)}),[g,p,b,w,A,E,R,,,T,M]=A$(r,s,o==null?void 0:o.target,o==null?void 0:o.popupPlacement,(o==null?void 0:o.builtinPlacements)||{},o==null?void 0:o.popupAlign,void 0,!1),O=h.useMemo(()=>{var _;if(!o)return"";const B=E$(o.builtinPlacements||{},o.prefixCls||"",T,!1);return k(B,(_=o.getPopupClassNameFromAlign)==null?void 0:_.call(o,T))},[T,o==null?void 0:o.getPopupClassNameFromAlign,o==null?void 0:o.builtinPlacements,o==null?void 0:o.prefixCls]),N=h.useMemo(()=>({show:x,hide:S}),[]);h.useEffect(()=>{M()},[o==null?void 0:o.target]);const z=Xe(()=>(M(),Promise.resolve())),P=h.useRef({}),j=h.useContext(Id),$=h.useMemo(()=>({registerSubPopup:(B,_)=>{P.current[B]=_,j==null||j.registerSubPopup(B,_)}}),[j]),D=o==null?void 0:o.prefixCls;return h.createElement(w$.Provider,{value:N},e,o&&h.createElement(Id.Provider,{value:$},h.createElement(C$,{ref:d,portal:ex,onEsc:o.onEsc,prefixCls:D,popup:o.popup,className:k(o.popupClassName,O,`${D}-unique-controlled`),style:o.popupStyle,target:o.target,open:r,keepDom:!0,fresh:!0,autoDestroy:!1,onVisibleChanged:y,ready:g,offsetX:p,offsetY:b,offsetR:w,offsetB:A,onAlign:M,onPrepare:z,onResize:B=>u({width:B.offsetWidth,height:B.offsetHeight}),arrowPos:{x:E,y:R},align:T,zIndex:o.zIndex,mask:o.mask,arrow:o.arrow,motion:o.popupMotion,maskMotion:o.maskMotion,getPopupContainer:o.getPopupContainer},h.createElement(BH,{prefixCls:D,isMobile:!1,ready:g,open:r,align:T,offsetR:w,offsetB:A,offsetX:p,offsetY:b,arrowPos:{x:E,y:R},popupSize:c,motion:o.popupMotion,uniqueContainerClassName:k(o.uniqueContainerClassName,O),uniqueContainerStyle:o.uniqueContainerStyle}))))};function LH(e=ex){return h.forwardRef((n,r)=>{const{prefixCls:i="rc-trigger-popup",children:a,action:o="hover",showAction:s,hideAction:l,popupVisible:c,defaultPopupVisible:u,onOpenChange:f,afterOpenChange:d,onPopupVisibleChange:m,afterPopupVisibleChange:v,mouseEnterDelay:x,mouseLeaveDelay:S=.1,focusDelay:y,blurDelay:g,mask:p,maskClosable:b=!0,getPopupContainer:w,forceRender:A,autoDestroy:E,popup:R,popupClassName:T,uniqueContainerClassName:M,uniqueContainerStyle:O,popupStyle:N,popupPlacement:z,builtinPlacements:P={},popupAlign:j,zIndex:$,stretch:D,getPopupClassNameFromAlign:B,fresh:_,unique:L,alignPoint:q,onPopupClick:K,onPopupAlign:te,arrow:ee,popupMotion:W,maskMotion:X,mobile:Q,...G}=n,Z=E||!1,ae=c===void 0,se=!!Q,J=h.useRef({}),ce=h.useContext(Id),fe=h.useMemo(()=>({registerSubPopup:(ie,xe)=>{J.current[ie]=xe,ce==null||ce.registerSubPopup(ie,xe)}}),[ce]),U=h.useContext(w$),re=Jb(),[F,ne]=h.useState(null),Y=h.useRef(null),ge=Xe(ie=>{Y.current=ie,Xs(ie)&&F!==ie&&ne(ie),ce==null||ce.registerSubPopup(re,ie)}),[oe,ue]=h.useState(null),at=h.useRef(null),Ut=Xe(ie=>{const xe=Ih(ie);Xs(xe)&&oe!==xe&&(ue(xe),at.current=xe)}),We={},ot=Xe(ie=>{var Pt,Ho;const xe=oe;return(xe==null?void 0:xe.contains(ie))||((Pt=Fd(xe))==null?void 0:Pt.host)===ie||ie===xe||(F==null?void 0:F.contains(ie))||((Ho=Fd(F))==null?void 0:Ho.host)===ie||ie===F||Object.values(J.current).some(La=>(La==null?void 0:La.contains(ie))||ie===La)}),pr=ee?{...ee!==!0?ee:{}}:null,[Br,Pr]=No(u||!1,c),Pe=Br||!1,zt=h.useMemo(()=>{const ie=typeof a=="function"?a({open:Pe}):a;return h.Children.only(ie)},[a,Pe]),Me=(zt==null?void 0:zt.props)||{},pn=Xe(()=>Pe),gr=Xe((ie=0)=>({popup:R,target:oe,delay:ie,prefixCls:i,popupClassName:T,uniqueContainerClassName:M,uniqueContainerStyle:O,popupStyle:N,popupPlacement:z,builtinPlacements:P,popupAlign:j,zIndex:$,mask:p,maskClosable:b,popupMotion:W,maskMotion:X,arrow:pr,getPopupContainer:w,getPopupClassNameFromAlign:B,id:re,onEsc:Le}));Ot(()=>{U&&L&&oe&&!ae&&!ce&&(Pe?U.show(gr(x),pn):U.hide(S))},[Pe,oe]);const Et=h.useRef(Pe);Et.current=Pe;const Ke=Xe(ie=>{sh.flushSync(()=>{Pe!==ie&&(Pr(ie),f==null||f(ie),m==null||m(ie))})}),Oe=T$(),ye=(ie,xe=0)=>{if(c!==void 0){Oe(()=>{Ke(ie)},xe);return}if(U&&L&&ae&&!ce){ie?U.show(gr(xe),pn):U.hide(xe);return}Oe(()=>{Ke(ie)},xe)};function Le({top:ie}){ie&&ye(!1)}const[ht,yr]=h.useState(!1);Ot(ie=>{(!ie||Pe)&&yr(!0)},[Pe]);const[vr,en]=h.useState(null),[br,Lr]=h.useState(null),Ge=ie=>{Lr([ie.clientX,ie.clientY])},[_r,xl,zo,Bo,Po,ai,oi,kn,xr,Xn,Vr]=A$(Pe,F,q&&br!==null?br:oe,z,P,j,te,se),[an,tn]=$H(o,s,l),Vi=an.has("click"),Yn=tn.has("click")||tn.has("contextMenu"),Re=Xe(()=>{ht||Vr()});jH(Pe,oe,F,Re,()=>{Et.current&&q&&Yn&&ye(!1)}),Ot(()=>{Re()},[br,z]),Ot(()=>{Pe&&!(P!=null&&P[z])&&Re()},[JSON.stringify(j)]);const Sl=h.useMemo(()=>{const ie=E$(P,i,Xn,q);return k(ie,B==null?void 0:B(Xn))},[Xn,B,P,i,q]);h.useImperativeHandle(r,()=>({nativeElement:at.current,popupElement:Y.current,forceAlign:Re}));const[ke,qt]=h.useState(0),[gn,Rn]=h.useState(0),Hr=()=>{if(D&&oe){const ie=oe.getBoundingClientRect();qt(ie.width),Rn(ie.height)}},Lo=()=>{Hr(),Re()},Ba=ie=>{yr(!1),Vr(),d==null||d(ie),v==null||v(ie)},_o=()=>new Promise(ie=>{Hr(),en(()=>ie)});Ot(()=>{vr&&(Vr(),vr(),en(null))},[vr]);function si(ie,xe,Pt,Ho,La){We[ie]=(Tx,...A3)=>{var Mx;(!La||!La())&&(Ho==null||Ho(Tx),ye(xe,Pt)),(Mx=Me[ie])==null||Mx.call(Me,Tx,...A3)}}const Vo=an.has("touch"),on=tn.has("touch"),Cl=h.useRef(!1);(Vo||on)&&(We.onTouchStart=(...ie)=>{var xe;Cl.current=!0,Et.current&&on?ye(!1):!Et.current&&Vo&&ye(!0),(xe=Me.onTouchStart)==null||xe.call(Me,...ie)}),(Vi||Yn)&&(We.onClick=(ie,...xe)=>{var Pt;Et.current&&Yn?ye(!1):!Et.current&&Vi&&(Ge(ie),ye(!0)),(Pt=Me.onClick)==null||Pt.call(Me,ie,...xe),Cl.current=!1});const Ax=DH(Pe,Yn||on,oe,F,p,b,ot,ye),am=an.has("hover"),wl=tn.has("hover");let Pa,zu;const he=()=>Cl.current;if(am){const ie=xe=>{Ge(xe)};si("onMouseEnter",!0,x,ie,he),si("onPointerEnter",!0,x,ie,he),Pa=xe=>{(Pe||ht)&&(F!=null&&F.contains(xe.target))&&ye(!0,x)},q&&(We.onMouseMove=xe=>{var Pt;(Pt=Me.onMouseMove)==null||Pt.call(Me,xe)})}wl&&(si("onMouseLeave",!1,S,void 0,he),si("onPointerLeave",!1,S,void 0,he),zu=()=>{ye(!1,S)}),an.has("focus")&&si("onFocus",!0,y),tn.has("focus")&&si("onBlur",!1,g),an.has("contextMenu")&&(We.onContextMenu=(ie,...xe)=>{var Pt;Et.current&&tn.has("contextMenu")?ye(!1):(Ge(ie),ye(!0)),ie.preventDefault(),(Pt=Me.onContextMenu)==null||Pt.call(Me,ie,...xe)});const Bt=h.useRef(!1);Bt.current||(Bt.current=A||Pe||ht);const Gt={...Me,...We},El={};["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"].forEach(ie=>{G[ie]&&(El[ie]=(...xe)=>{var Pt;(Pt=Gt[ie])==null||Pt.call(Gt,...xe),G[ie](...xe)})});const sm={x:ai,y:oi};sO(Pe,oe,Lo);const lm=Eu(Ut,fl(zt)),cm=h.cloneElement(zt,{...Gt,...El,ref:lm});return h.createElement(h.Fragment,null,cm,Bt.current&&(!U||!L)&&h.createElement(Id.Provider,{value:fe},h.createElement(C$,{portal:e,ref:ge,prefixCls:i,popup:R,className:k(T,!se&&Sl),style:N,target:oe,onMouseEnter:Pa,onMouseLeave:zu,onPointerEnter:Pa,zIndex:$,open:Pe,keepDom:ht,fresh:_,onClick:K,onPointerDownCapture:Ax,mask:p,motion:W,maskMotion:X,onVisibleChanged:Ba,onPrepare:_o,forceRender:A,autoDestroy:Z,getPopupContainer:w,onEsc:Le,align:Xn,arrow:pr,arrowPos:sm,ready:_r,offsetX:xl,offsetY:zo,offsetR:Bo,offsetB:Po,onAlign:Re,stretch:D,targetWidth:ke/kn,targetHeight:gn/xr,mobile:Q})))})}const _H=LH(ex);function M$(e){return e&&I.isValidElement(e)&&e.type===I.Fragment}const VH=(e,t,n)=>I.isValidElement(e)?I.cloneElement(e,typeof n=="function"?n(e.props||{}):n):t;function ji(e,t){return VH(e,e,t)}const HH=({children:e})=>{const{getPrefixCls:t}=I.useContext(qe),n=t();return I.isValidElement(e)?I.createElement(ja,{visible:!0,motionName:`${n}-fade`,motionAppear:!0,motionEnter:!0,motionLeave:!1,removeOnLeave:!1},({style:r,className:i})=>ji(e,a=>({className:k(a.className,i),style:{...a.style,...r}}))):e},ff=[null,null];function FH(e){if(ff[0]!==e){const t={};Object.keys(e).forEach(n=>{t[n]={...e[n],dynamicInset:!1}}),ff[0]=e,ff[1]=t}return ff[1]}const R$=({children:e})=>{const t=n=>{const{id:r,builtinPlacements:i,popup:a}=n,o=typeof a=="function"?a():a,s=FH(i);return{...n,getPopupContainer:null,arrow:!1,popup:I.createElement(HH,{key:r},o),builtinPlacements:s}};return I.createElement(PH,{postTriggerProps:t},e)},Di=h.createContext(!1),O$=({children:e,disabled:t})=>{const n=h.useContext(Di);return h.createElement(Di.Provider,{value:t??n},e)},Co=h.createContext(void 0),IH=({children:e,size:t})=>{const n=h.useContext(Co);return h.createElement(Co.Provider,{value:t||n},e)};function UH(){const e=h.useContext(Di),t=h.useContext(Co);return{componentDisabled:e,componentSize:t}}function qH(e,t,n){const r=e||{},i=r.inherit===!1||!t?{...nv,hashed:(t==null?void 0:t.hashed)??nv.hashed,cssVar:t==null?void 0:t.cssVar}:t,a=h.useId();return zb(()=>{var c;if(!e)return t;const o={...i.components};Object.keys(e.components||{}).forEach(u=>{o[u]={...o[u],...e.components[u]}});const s=`css-var-${a.replace(/:/g,"")}`,l={prefix:n==null?void 0:n.prefixCls,...i.cssVar,...r.cssVar,key:((c=r.cssVar)==null?void 0:c.key)||s};return{...i,...r,token:{...i.token,...r.token},components:o,cssVar:l}},[r,i],(o,s)=>o.some((l,c)=>{const u=s[c];return!zy(l,u,!0)}))}const Ow=h.createContext(!0);function GH(e){const t=h.useContext(Ow),{children:n}=e,[,r]=Na(),{motion:i}=r,a=h.useRef(!1);return a.current||(a.current=t!==i),a.current?h.createElement(Ow.Provider,{value:i},h.createElement(AV,{motion:i},n)):n}const kH=()=>null,XH=({iconPrefixCls:e,csp:t})=>(sV(e,t),null),YH=["getTargetContainer","getPopupContainer","renderEmpty","input","pagination","form","select","button"];let Ud,$$,N$,j$;function Cp(){return Ud||Uc}function WH(){return $$||Uh}const KH=e=>{const{prefixCls:t,iconPrefixCls:n,theme:r,holderRender:i}=e;t!==void 0&&(Ud=t),n!==void 0&&($$=n),"holderRender"in e&&(j$=i),r&&(N$=r)},QH=()=>({getPrefixCls:(e,t)=>t||(e?`${Cp()}-${e}`:Cp()),getIconPrefixCls:WH,getRootPrefixCls:()=>Ud||Cp(),getTheme:()=>N$,holderRender:j$}),ZH=e=>{const{children:t,csp:n,autoInsertSpaceInButton:r,alert:i,affix:a,anchor:o,app:s,form:l,locale:c,componentSize:u,direction:f,space:d,splitter:m,virtual:v,dropdownMatchSelectWidth:x,popupMatchSelectWidth:S,popupOverflow:y,legacyLocale:g,parentContext:p,iconPrefixCls:b,theme:w,componentDisabled:A,segmented:E,statistic:R,spin:T,calendar:M,carousel:O,cascader:N,collapse:z,typography:P,checkbox:j,descriptions:$,divider:D,drawer:B,skeleton:_,steps:L,image:q,layout:K,list:te,mentions:ee,modal:W,progress:X,result:Q,slider:G,breadcrumb:Z,masonry:ae,menu:se,pagination:J,input:ce,textArea:fe,otp:U,empty:re,badge:F,radio:ne,rate:Y,ribbon:ge,switch:oe,transfer:ue,avatar:at,message:Ut,tag:We,table:ot,card:pr,cardMeta:Br,tabs:Pr,timeline:Pe,timePicker:zt,upload:Me,notification:pn,tree:gr,colorPicker:Et,datePicker:Ke,rangePicker:Oe,flex:ye,wave:Le,dropdown:ht,warning:yr,tour:vr,tooltip:en,popover:br,popconfirm:Lr,qrcode:Ge,floatButton:_r,floatButtonGroup:xl,variant:zo,inputNumber:Bo,treeSelect:Po,watermark:ai}=e,oi=h.useCallback((ke,qt)=>{const{prefixCls:gn}=e;if(qt)return qt;const Rn=gn||p.getPrefixCls("");return ke?`${Rn}-${ke}`:Rn},[p.getPrefixCls,e.prefixCls]),kn=b||p.iconPrefixCls||Uh,xr=n||p.csp,Xn=qH(w,p.theme,{prefixCls:oi("")}),Vr={csp:xr,autoInsertSpaceInButton:r,alert:i,affix:a,anchor:o,app:s,locale:c||g,direction:f,space:d,splitter:m,virtual:v,popupMatchSelectWidth:S??x,popupOverflow:y,getPrefixCls:oi,iconPrefixCls:kn,theme:Xn,segmented:E,statistic:R,spin:T,calendar:M,carousel:O,cascader:N,collapse:z,typography:P,checkbox:j,descriptions:$,divider:D,drawer:B,skeleton:_,steps:L,image:q,input:ce,textArea:fe,otp:U,layout:K,list:te,mentions:ee,modal:W,progress:X,result:Q,slider:G,breadcrumb:Z,masonry:ae,menu:se,pagination:J,empty:re,badge:F,radio:ne,rate:Y,ribbon:ge,switch:oe,transfer:ue,avatar:at,message:Ut,tag:We,table:ot,card:pr,cardMeta:Br,tabs:Pr,timeline:Pe,timePicker:zt,upload:Me,notification:pn,tree:gr,colorPicker:Et,datePicker:Ke,rangePicker:Oe,flex:ye,wave:Le,dropdown:ht,warning:yr,tour:vr,tooltip:en,popover:br,popconfirm:Lr,qrcode:Ge,floatButton:_r,floatButtonGroup:xl,variant:zo,inputNumber:Bo,treeSelect:Po,watermark:ai},an={...p};Object.keys(Vr).forEach(ke=>{Vr[ke]!==void 0&&(an[ke]=Vr[ke])}),YH.forEach(ke=>{const qt=e[ke];qt&&(an[ke]=qt)}),typeof r<"u"&&(an.button={autoInsertSpace:r,...an.button});const tn=zb(()=>an,an,(ke,qt)=>{const gn=Object.keys(ke),Rn=Object.keys(qt);return gn.length!==Rn.length||gn.some(Hr=>ke[Hr]!==qt[Hr])}),{layer:Vi}=h.useContext(Tu),Yn=h.useMemo(()=>({prefixCls:kn,csp:xr,layer:Vi?"antd":void 0}),[kn,xr,Vi]);let Re=h.createElement(h.Fragment,null,h.createElement(XH,{iconPrefixCls:kn,csp:xr}),h.createElement(kH,{dropdownMatchSelectWidth:x}),t);const za=h.useMemo(()=>{var ke,qt,gn,Rn;return bs(((ke=So.Form)==null?void 0:ke.defaultValidateMessages)||{},((gn=(qt=tn.locale)==null?void 0:qt.Form)==null?void 0:gn.defaultValidateMessages)||{},((Rn=tn.form)==null?void 0:Rn.validateMessages)||{},(l==null?void 0:l.validateMessages)||{})},[tn,l==null?void 0:l.validateMessages]);Object.keys(za).length>0&&(Re=h.createElement(g$.Provider,{value:za},Re)),c&&(Re=h.createElement(nH,{locale:c,_ANT_MARK__:tH},Re)),Re=h.createElement(Xb.Provider,{value:Yn},Re),u&&(Re=h.createElement(IH,{size:u},Re)),Re=h.createElement(GH,null,Re),en!=null&&en.unique&&(Re=h.createElement(R$,null,Re));const Sl=h.useMemo(()=>{const{algorithm:ke,token:qt,components:gn,cssVar:Rn,...Hr}=Xn||{},Lo=ke&&(!Array.isArray(ke)||ke.length>0)?Ly(ke):VO,Ba={};Object.entries(gn||{}).forEach(([si,Vo])=>{const on={...Vo};"algorithm"in on&&(on.algorithm===!0?on.theme=Lo:(Array.isArray(on.algorithm)||typeof on.algorithm=="function")&&(on.theme=Ly(on.algorithm)),delete on.algorithm),Ba[si]=on});const _o={...Kc,...qt};return{...Hr,theme:Lo,token:_o,components:Ba,override:{override:_o,...Ba},cssVar:Rn}},[Xn]);return w&&(Re=h.createElement(HO.Provider,{value:Sl},Re)),tn.warning&&(Re=h.createElement(d8.Provider,{value:tn.warning},Re)),A!==void 0&&(Re=h.createElement(O$,{disabled:A},Re)),h.createElement(qe.Provider,{value:tn},Re)},gl=e=>{const t=h.useContext(qe),n=h.useContext(Qb);return h.createElement(ZH,{parentContext:t,legacyLocale:n,...e})};gl.ConfigContext=qe;gl.SizeContext=Co;gl.config=KH;gl.useConfig=UH;Object.defineProperty(gl,"SizeContext",{get:()=>Co});const JH={ENTER:13};function qd(){return qd=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},qd.apply(this,arguments)}const D$=h.forwardRef((e,t)=>{const{prefixCls:n,style:r,className:i,duration:a=4.5,showProgress:o,pauseOnHover:s=!0,eventKey:l,content:c,closable:u,props:f,onClick:d,onNoticeClose:m,times:v,hovering:x}=e,[S,y]=h.useState(!1),[g,p]=h.useState(0),[b,w]=h.useState(0),A=x||S,E=typeof a=="number"?a:0,R=E>0&&o,T=()=>{m(l)},M=j=>{(j.key==="Enter"||j.code==="Enter"||j.keyCode===JH.ENTER)&&T()};h.useEffect(()=>{if(!A&&E>0){const j=Date.now()-b,$=setTimeout(()=>{T()},E*1e3-b);return()=>{s&&clearTimeout($),w(Date.now()-j)}}},[E,A,v]),h.useEffect(()=>{if(!A&&R&&(s||b===0)){const j=performance.now();let $;const D=()=>{cancelAnimationFrame($),$=requestAnimationFrame(B=>{const _=B+b-j,L=Math.min(_/(E*1e3),1);p(L*100),L<1&&D()})};return D(),()=>{s&&cancelAnimationFrame($)}}},[E,b,A,R,v]);const O=h.useMemo(()=>typeof u=="object"&&u!==null?u:{},[u]),N=Kb(O,!0),z=100-(!g||g<0?0:g>100?100:g),P=`${n}-notice`;return h.createElement("div",qd({},f,{ref:t,className:k(P,i,{[`${P}-closable`]:u}),style:r,onMouseEnter:j=>{var $;y(!0),($=f==null?void 0:f.onMouseEnter)==null||$.call(f,j)},onMouseLeave:j=>{var $;y(!1),($=f==null?void 0:f.onMouseLeave)==null||$.call(f,j)},onClick:d}),h.createElement("div",{className:`${P}-content`},c),u&&h.createElement("button",qd({className:`${P}-close`,onKeyDown:M,"aria-label":"Close"},N,{onClick:j=>{j.preventDefault(),j.stopPropagation(),T()}}),O.closeIcon??"x"),R&&h.createElement("progress",{className:`${P}-progress`,max:"100",value:z},z+"%"))}),z$=I.createContext({}),e9=({children:e,classNames:t})=>I.createElement(z$.Provider,{value:{classNames:t}},e),$w=8,Nw=3,jw=16,t9=e=>{const t={offset:$w,threshold:Nw,gap:jw};return e&&typeof e=="object"&&(t.offset=e.offset??$w,t.threshold=e.threshold??Nw,t.gap=e.gap??jw),[!!e,t]};function Gd(){return Gd=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},Gd.apply(this,arguments)}const n9=e=>{const{configList:t,placement:n,prefixCls:r,className:i,style:a,motion:o,onAllNoticeRemoved:s,onNoticeClose:l,stack:c}=e,{classNames:u}=h.useContext(z$),f=h.useRef({}),[d,m]=h.useState(null),[v,x]=h.useState([]),S=t.map(E=>({config:E,key:String(E.key)})),[y,{offset:g,threshold:p,gap:b}]=t9(c),w=y&&(v.length>0||S.length<=p),A=typeof o=="function"?o(n):o;return h.useEffect(()=>{y&&v.length>1&&x(E=>E.filter(R=>S.some(({key:T})=>R===T)))},[v,S,y]),h.useEffect(()=>{var E,R;y&&f.current[(E=S[S.length-1])==null?void 0:E.key]&&m(f.current[(R=S[S.length-1])==null?void 0:R.key])},[S,y]),I.createElement(u$,Gd({key:n,className:k(r,`${r}-${n}`,u==null?void 0:u.list,i,{[`${r}-stack`]:!!y,[`${r}-stack-expanded`]:w}),style:a,keys:S,motionAppear:!0},A,{onAllRemoved:()=>{s(n)}}),({config:E,className:R,style:T,index:M},O)=>{var K,te,ee,W;const{key:N,times:z}=E,P=String(N),{className:j,style:$,classNames:D,styles:B,..._}=E,L=S.findIndex(X=>X.key===P),q={};if(y){const X=S.length-1-(L>-1?L:M-1),Q=n==="top"||n==="bottom"?"-50%":"0";if(X>0){q.height=w?(K=f.current[P])==null?void 0:K.offsetHeight:d==null?void 0:d.offsetHeight;let G=0;for(let se=0;se<X;se++)G+=((te=f.current[S[S.length-1-se].key])==null?void 0:te.offsetHeight)+b;const Z=(w?G:X*g)*(n.startsWith("top")?1:-1),ae=!w&&(d!=null&&d.offsetWidth)&&((ee=f.current[P])!=null&&ee.offsetWidth)?((d==null?void 0:d.offsetWidth)-g*2*(X<3?X:3))/((W=f.current[P])==null?void 0:W.offsetWidth):1;q.transform=`translate3d(${Q}, ${Z}px, 0) scaleX(${ae})`}else q.transform=`translate3d(${Q}, 0, 0)`}return I.createElement("div",{ref:O,className:k(`${r}-notice-wrapper`,R,D==null?void 0:D.wrapper),style:{...T,...q,...B==null?void 0:B.wrapper},onMouseEnter:()=>x(X=>X.includes(P)?X:[...X,P]),onMouseLeave:()=>x(X=>X.filter(Q=>Q!==P))},I.createElement(D$,Gd({},_,{ref:X=>{L>-1?f.current[P]=X:delete f.current[P]},prefixCls:r,classNames:D,styles:B,className:k(j,u==null?void 0:u.notice),style:$,times:z,key:N,eventKey:N,onNoticeClose:l,hovering:y&&v.length>0})))})},r9=h.forwardRef((e,t)=>{const{prefixCls:n="rc-notification",container:r,motion:i,maxCount:a,className:o,style:s,onAllRemoved:l,stack:c,renderNotifications:u}=e,[f,d]=h.useState([]),m=p=>{var R;const b=f.find(T=>T.key===p),w=b==null?void 0:b.closable,A=w&&typeof w=="object"?w:{},{onClose:E}=A;E==null||E(),(R=b==null?void 0:b.onClose)==null||R.call(b),d(T=>T.filter(M=>M.key!==p))};h.useImperativeHandle(t,()=>({open:p=>{d(b=>{var R;let w=[...b];const A=w.findIndex(T=>T.key===p.key),E={...p};return A>=0?(E.times=(((R=b[A])==null?void 0:R.times)||0)+1,w[A]=E):(E.times=0,w.push(E)),a>0&&w.length>a&&(w=w.slice(-a)),w})},close:p=>{m(p)},destroy:()=>{d([])}}));const[v,x]=h.useState({});h.useEffect(()=>{const p={};f.forEach(b=>{const{placement:w="topRight"}=b;w&&(p[w]=p[w]||[],p[w].push(b))}),Object.keys(v).forEach(b=>{p[b]=p[b]||[]}),x(p)},[f]);const S=p=>{x(b=>{const w={...b};return(w[p]||[]).length||delete w[p],w})},y=h.useRef(!1);if(h.useEffect(()=>{Object.keys(v).length>0?y.current=!0:y.current&&(l==null||l(),y.current=!1)},[v]),!r)return null;const g=Object.keys(v);return sh.createPortal(h.createElement(h.Fragment,null,g.map(p=>{const b=v[p],w=h.createElement(n9,{key:p,configList:b,placement:p,prefixCls:n,className:o==null?void 0:o(p),style:s==null?void 0:s(p),motion:i,onNoticeClose:m,onAllNoticeRemoved:S,stack:c});return u?u(w,{prefixCls:n,key:p}):w})),r)}),i9=()=>document.body;let Dw=0;function a9(...e){const t={};return e.forEach(n=>{n&&Object.keys(n).forEach(r=>{const i=n[r];i!==void 0&&(t[r]=i)})}),t}function o9(e={}){const{getContainer:t=i9,motion:n,prefixCls:r,maxCount:i,className:a,style:o,onAllRemoved:s,stack:l,renderNotifications:c,...u}=e,[f,d]=h.useState(),m=h.useRef(),v=h.createElement(r9,{container:f,ref:m,prefixCls:r,motion:n,maxCount:i,className:a,style:o,onAllRemoved:s,stack:l,renderNotifications:c}),[x,S]=h.useState([]),y=Xe(p=>{const b=a9(u,p);(b.key===null||b.key===void 0)&&(b.key=`rc-notification-${Dw}`,Dw+=1),S(w=>[...w,{type:"open",config:b}])}),g=h.useMemo(()=>({open:y,close:p=>{S(b=>[...b,{type:"close",key:p}])},destroy:()=>{S(p=>[...p,{type:"destroy"}])}}),[]);return h.useEffect(()=>{d(t())}),h.useEffect(()=>{if(m.current&&x.length){x.forEach(w=>{switch(w.type){case"open":m.current.open(w.config);break;case"close":m.current.close(w.key);break;case"destroy":m.current.destroy();break}});let p,b;S(w=>((p!==w||!b)&&(p=w,b=w.filter(A=>!x.includes(A))),b))}},[x]),[g,v]}var s9={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"};function bv(){return bv=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},bv.apply(this,arguments)}const l9=(e,t)=>h.createElement(Dr,bv({},e,{ref:t,icon:s9})),nx=h.forwardRef(l9),c9=e=>{const{componentCls:t,iconCls:n,boxShadow:r,colorText:i,colorSuccess:a,colorError:o,colorWarning:s,colorInfo:l,fontSizeLG:c,motionEaseInOutCirc:u,motionDurationSlow:f,marginXS:d,paddingXS:m,borderRadiusLG:v,zIndexPopup:x,contentPadding:S,contentBg:y}=e,g=`${t}-notice`,p=new rn("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:m,transform:"translateY(0)",opacity:1}}),b=new rn("MessageMoveOut",{"0%":{maxHeight:e.height,padding:m,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),w={padding:m,textAlign:"center",[`${t}-custom-content`]:{display:"flex",alignItems:"center"},[`${t}-custom-content > ${n}`]:{marginInlineEnd:d,fontSize:c},[`${g}-content`]:{display:"inline-block",padding:S,background:y,borderRadius:v,boxShadow:r,pointerEvents:"all"},[`${t}-success > ${n}`]:{color:a},[`${t}-error > ${n}`]:{color:o},[`${t}-warning > ${n}`]:{color:s},[`${t}-info > ${n},
- ${t}-loading > ${n}`]:{color:l}};return[{[t]:{...Ti(e),color:i,position:"fixed",top:d,width:"100%",pointerEvents:"none",zIndex:x,[`${t}-move-up`]:{animationFillMode:"forwards"},[`
- ${t}-move-up-appear,
- ${t}-move-up-enter
- `]:{animationName:p,animationDuration:f,animationPlayState:"paused",animationTimingFunction:u},[`
- ${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:b,animationDuration:f,animationPlayState:"paused",animationTimingFunction:u},[`${t}-move-up-leave${t}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}}},{[t]:{[`${g}-wrapper`]:{...w}}},{[`${t}-notice-pure-panel`]:{...w,padding:0,textAlign:"start"}}]},u9=e=>({zIndexPopup:e.zIndexPopupBase+sH+10,contentBg:e.colorBgElevated,contentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`}),B$=mn("Message",e=>{const t=Dt(e,{height:150});return c9(t)},u9),f9={info:h.createElement(EV,null),success:h.createElement(ZO,null),error:h.createElement(Yb,null),warning:h.createElement(JO,null),loading:h.createElement(nx,null)},P$=e=>{const{prefixCls:t,type:n,icon:r,children:i,classNames:a,styles:o}=e,s=r||n&&f9[n],l=ji(s,c=>{const u={...c==null?void 0:c.style,...o==null?void 0:o.icon};return{className:k(c.className,a==null?void 0:a.icon),style:u}});return h.createElement("div",{className:k(`${t}-custom-content`,`${t}-${n}`)},l,h.createElement("span",{className:a==null?void 0:a.content,style:o==null?void 0:o.content},i))},d9=e=>{const{prefixCls:t,className:n,style:r,type:i,icon:a,content:o,classNames:s,styles:l,...c}=e,{getPrefixCls:u,className:f,style:d,classNames:m,styles:v}=jr("message"),x=t||u("message"),S=zr(x),[y,g]=B$(x,S),[p,b]=mr([m,s],[v,l],{props:e});return h.createElement(D$,{...c,prefixCls:x,className:k(f,p.root,n,y,`${x}-notice-pure-panel`,g,S),style:{...b.root,...d,...r},eventKey:"pure",duration:null,content:h.createElement(P$,{prefixCls:x,type:i,icon:a,classNames:p,styles:b},o)})};function h9(e,t){return{motionName:t??`${e}-move-up`}}function rx(e){let t;const n=new Promise(i=>{t=e(()=>{i(!0)})}),r=()=>{t==null||t()};return r.then=(i,a)=>n.then(i,a),r.promise=n,r}const m9=8,p9=3,g9=({children:e,prefixCls:t})=>{const n=zr(t),[r,i]=B$(t,n);return h.createElement(e9,{classNames:{list:k(r,i,n)}},e)},y9=(e,{prefixCls:t,key:n})=>h.createElement(g9,{prefixCls:t,key:n},e),v9=h.forwardRef((e,t)=>{const{top:n,prefixCls:r,getContainer:i,maxCount:a,duration:o=p9,rtl:s,transitionName:l,onAllRemoved:c,pauseOnHover:u=!0}=e,{getPrefixCls:f,direction:d,getPopupContainer:m}=jr("message"),{message:v}=h.useContext(qe),x=r||f("message"),S=()=>({left:"50%",transform:"translateX(-50%)",top:n??m9}),y=()=>k({[`${x}-rtl`]:s??d==="rtl"}),g=()=>h9(x,l),[p,b]=mr([e==null?void 0:e.classNames,v==null?void 0:v.classNames],[e==null?void 0:e.styles,v==null?void 0:v.styles],{props:e}),[w,A]=o9({prefixCls:x,style:S,className:y,motion:g,closable:!1,duration:o,getContainer:()=>(i==null?void 0:i())||(m==null?void 0:m())||document.body,maxCount:a,onAllRemoved:c,renderNotifications:y9,pauseOnHover:u});return h.useImperativeHandle(t,()=>({...w,prefixCls:x,message:v,classNames:p,styles:b})),A});let zw=0;function L$(e){const t=h.useRef(null);return[h.useMemo(()=>{const r=l=>{var c;(c=t.current)==null||c.close(l)},i=l=>{if(!t.current){const q=()=>{};return q.then=()=>{},q}const{open:c,prefixCls:u,message:f,classNames:d,styles:m}=t.current,v=(f==null?void 0:f.className)||{},x=(f==null?void 0:f.style)||{},S=(f==null?void 0:f.classNames)||{},y=(f==null?void 0:f.styles)||{},g=`${u}-notice`,{content:p,icon:b,type:w,key:A,className:E,style:R,onClose:T,classNames:M={},styles:O={},...N}=l;let z=A;dr(z)||(zw+=1,z=`antd-message-${zw}`);const P={...e,...l},j=xs(S,{props:P}),$=xs(M,{props:P}),D=xs(y,{props:P}),B=xs(O,{props:P}),_=Zb(void 0,j,$,d),L=d$(D,B,m);return rx(q=>(c({...N,key:z,content:h.createElement(P$,{prefixCls:u,type:w,icon:b,classNames:_,styles:L},p),placement:"top",className:k({[`${g}-${w}`]:w},E,v,_.root),style:{...L.root,...x,...R},onClose:()=>{T==null||T(),q()}}),()=>{r(z)}))},o={open:i,destroy:l=>{var c;l!==void 0?r(l):(c=t.current)==null||c.destroy()}};return["info","success","warning","error","loading"].forEach(l=>{const c=(u,f,d)=>{let m;u&&typeof u=="object"&&"content"in u?m=u:m={content:u};let v,x;typeof f=="function"?x=f:(v=f,x=d);const S={onClose:x,duration:v,...m,type:l};return i(S)};o[l]=c}),o},[]),h.createElement(v9,{key:"message-holder",...e,ref:t})]}function b9(e){return L$(e)}const kd="__rc_react_root__";function _$(e,t){const n=t[kd]||nM.createRoot(t);n.render(e),t[kd]=n}async function x9(e){return Promise.resolve().then(()=>{var t;(t=e[kd])==null||t.unmount(),delete e[kd]})}const wp=()=>({height:0,opacity:0}),Bw=e=>{const{scrollHeight:t}=e;return{height:t,opacity:1}},S9=e=>({height:e?e.offsetHeight:0}),Ep=(e,t)=>(t==null?void 0:t.deadline)===!0||t.propertyName==="height",Pw=(e=Uc)=>({motionName:`${e}-motion-collapse`,onAppearStart:wp,onEnterStart:wp,onAppearActive:Bw,onEnterActive:Bw,onLeaveStart:S9,onLeaveActive:wp,onAppearEnd:Ep,onEnterEnd:Ep,onLeaveEnd:Ep,motionDeadline:500}),C9=(e,t,n)=>n!==void 0?n:`${e}-${t}`,w9=e=>{const{componentCls:t,colorPrimary:n,motionDurationSlow:r,motionEaseInOut:i,motionEaseOutCirc:a,antCls:o}=e,[,s]=fr(o,"wave");return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:s("color",n),boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:["box-shadow 0.4s","opacity 2s"].map(l=>`${l} ${a}`).join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:["box-shadow","opacity"].map(l=>`${l} ${r} ${i}`).join(",")}}}}},E9=aV("Wave",w9),ix=`${Uc}-wave-target`;function Lw(e){return e&&typeof e=="string"&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"&&e!=="canvastext"}function A9(e,t=null){const n=getComputedStyle(e),{borderTopColor:r,borderColor:i,backgroundColor:a}=n;return t&&Lw(n[t])?n[t]:[r,i,a].find(Lw)??null}function Ap(e){return Number.isNaN(e)?0:e}const T9=e=>{const{className:t,target:n,component:r,colorSource:i}=e,a=h.useRef(null),{getPrefixCls:o}=h.useContext(qe),s=o(),[l]=fr(s,"wave"),[c,u]=h.useState(null),[f,d]=h.useState([]),[m,v]=h.useState(0),[x,S]=h.useState(0),[y,g]=h.useState(0),[p,b]=h.useState(0),[w,A]=h.useState(!1),E={left:m,top:x,width:y,height:p,borderRadius:f.map(M=>`${M}px`).join(" ")};c&&(E[l("color")]=c);function R(){const M=getComputedStyle(n);u(A9(n,i));const O=M.position==="static",{borderLeftWidth:N,borderTopWidth:z}=M;v(O?n.offsetLeft:Ap(-Number.parseFloat(N))),S(O?n.offsetTop:Ap(-Number.parseFloat(z))),g(n.offsetWidth),b(n.offsetHeight);const{borderTopLeftRadius:P,borderTopRightRadius:j,borderBottomLeftRadius:$,borderBottomRightRadius:D}=M;d([P,j,D,$].map(B=>Ap(Number.parseFloat(B))))}if(h.useEffect(()=>{if(n){const M=nn(()=>{R(),A(!0)});let O;return typeof ResizeObserver<"u"&&(O=new ResizeObserver(R),O.observe(n)),()=>{nn.cancel(M),O==null||O.disconnect()}}},[n]),!w)return null;const T=(r==="Checkbox"||r==="Radio")&&(n==null?void 0:n.classList.contains(ix));return h.createElement(ja,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(M,O)=>{var N;if(O.deadline||O.propertyName==="opacity"){const z=(N=a.current)==null?void 0:N.parentElement;x9(z).then(()=>{z==null||z.remove()})}return!1}},({className:M},O)=>h.createElement("div",{ref:_i(a,O),className:k(t,M,{"wave-quick":T}),style:E}))},M9=(e,t)=>{var i;const{component:n}=t;if(n==="Checkbox"&&!((i=e.querySelector("input"))!=null&&i.checked))return;const r=document.createElement("div");r.style.position="absolute",r.style.left="0px",r.style.top="0px",e==null||e.insertBefore(r,e==null?void 0:e.firstChild),_$(h.createElement(T9,{...t,target:e}),r)},R9=(e,t,n,r)=>{const{wave:i}=h.useContext(qe),[,a,o]=Na(),s=Xe(u=>{const f=e.current;if(i!=null&&i.disabled||!f)return;const d=f.querySelector(`.${ix}`)||f,{showEffect:m}=i||{};(m||M9)(d,{className:t,token:a,component:n,event:u,hashId:o,colorSource:r})}),l=h.useRef(null);return h.useEffect(()=>()=>{nn.cancel(l.current)},[]),u=>{nn.cancel(l.current),l.current=nn(()=>{s(u)})}},V$=e=>{const{children:t,disabled:n,component:r,colorSource:i}=e,{getPrefixCls:a}=h.useContext(qe),o=h.useRef(null),s=a("wave"),l=E9(s),c=R9(o,k(s,l),r,i);if(I.useEffect(()=>{const f=o.current;if(!f||f.nodeType!==window.Node.ELEMENT_NODE||n)return;const d=m=>{!tx(m.target)||!f.getAttribute||f.getAttribute("disabled")||f.disabled||f.className.includes("disabled")&&!f.className.includes("disabled:")||f.getAttribute("aria-disabled")==="true"||f.className.includes("-leave")||c(m)};return f.addEventListener("click",d,!0),()=>{f.removeEventListener("click",d,!0)}},[n]),!I.isValidElement(t))return t??null;const u=Au(t)?_i(fl(t),o):o;return ji(t,{ref:u})},jo=e=>{const t=I.useContext(Co);return I.useMemo(()=>e?typeof e=="string"?e??t:typeof e=="function"?e(t):t:t,[e,t])},O9=e=>{const{componentCls:t}=e;return{[t]:{display:"inline-flex","&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"}}}},$9=mn(["Space","Compact"],O9,()=>({}),{resetStyle:!1}),Yh=h.createContext(null),Ru=(e,t)=>{const n=h.useContext(Yh),r=h.useMemo(()=>{if(!n)return"";const{compactDirection:i,isFirstItem:a,isLastItem:o}=n,s=i==="vertical"?"-vertical-":"-";return k(`${e}-compact${s}item`,{[`${e}-compact${s}first-item`]:a,[`${e}-compact${s}last-item`]:o,[`${e}-compact${s}item-rtl`]:t==="rtl"})},[e,t,n]);return{compactSize:n==null?void 0:n.compactSize,compactDirection:n==null?void 0:n.compactDirection,compactItemClassnames:r}},N9=e=>{const{children:t}=e;return h.createElement(Yh.Provider,{value:null},t)},j9=e=>{const{children:t,...n}=e;return h.createElement(Yh.Provider,{value:h.useMemo(()=>n,[n])},t)},H$=e=>{const{getPrefixCls:t,direction:n}=h.useContext(qe),{size:r,direction:i,orientation:a,block:o,prefixCls:s,className:l,rootClassName:c,children:u,vertical:f,...d}=e,[m,v]=h$(a,f,i),x=jo(A=>r??A),S=t("space-compact",s),[y]=$9(S),g=k(S,y,{[`${S}-rtl`]:n==="rtl",[`${S}-block`]:o,[`${S}-vertical`]:v},l,c),p=h.useContext(Yh),b=Ta(u),w=h.useMemo(()=>b.map((A,E)=>{const R=(A==null?void 0:A.key)||`${S}-item-${E}`;return h.createElement(j9,{key:R,compactSize:x,compactDirection:m,isFirstItem:E===0&&(!p||(p==null?void 0:p.isFirstItem)),isLastItem:E===b.length-1&&(!p||(p==null?void 0:p.isLastItem))},A)}),[b,p,m,x,S]);return b.length===0?null:h.createElement("div",{className:g,...d},w)},F$=h.createContext(void 0),D9=e=>{const{getPrefixCls:t,direction:n}=h.useContext(qe),{prefixCls:r,size:i,className:a,...o}=e,s=t("btn-group",r),[,,l]=Na(),c=h.useMemo(()=>{switch(i){case"large":return"lg";case"small":return"sm";default:return""}},[i]),u=k(s,{[`${s}-${c}`]:c,[`${s}-rtl`]:n==="rtl"},a,l);return h.createElement(F$.Provider,{value:i},h.createElement("div",{...o,className:u}))},_w=/^[\u4E00-\u9FA5]{2}$/,xv=_w.test.bind(_w);function Vw(e){return typeof e=="string"}function Tp(e){return e==="text"||e==="link"}function z9(e,t,n,r){if(!dr(e)||e==="")return;const i=t?" ":"";return typeof e!="string"&&typeof e!="number"&&Vw(e.type)&&xv(e.props.children)?ji(e,a=>{const o=k(a.className,r)||void 0,s={...n,...a.style};return{...a,children:a.children.split("").join(i),className:o,style:s}}):Vw(e)?I.createElement("span",{className:r,style:n},xv(e)?e.split("").join(i):e):M$(e)?I.createElement("span",{className:r,style:n},e):ji(e,a=>({...a,className:k(a.className,r)||void 0,style:{...a.style,...n}}))}function B9(e,t,n,r){let i=!1;const a=[];return I.Children.forEach(e,o=>{const s=typeof o,l=s==="string"||s==="number";if(i&&l){const c=a.length-1,u=a[c];a[c]=`${u}${o}`}else a.push(o);i=l}),I.Children.map(a,o=>z9(o,t,n,r))}["default","primary","danger"].concat(He(Ma));const I$=h.forwardRef((e,t)=>{const{className:n,style:r,children:i,prefixCls:a}=e,o=k(`${a}-icon`,n);return I.createElement("span",{ref:t,className:o,style:r},i)}),Hw=h.forwardRef((e,t)=>{const{prefixCls:n,className:r,style:i,iconClassName:a}=e,o=k(`${n}-loading-icon`,r);return I.createElement(I$,{prefixCls:n,className:o,style:i,ref:t},I.createElement(nx,{className:a}))}),Mp=()=>({width:0,opacity:0,transform:"scale(0)"}),Rp=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),P9=e=>{const{prefixCls:t,loading:n,existIcon:r,className:i,style:a,mount:o}=e,s=!!n;return r?I.createElement(Hw,{prefixCls:t,className:i,style:a}):I.createElement(ja,{visible:s,motionName:`${t}-loading-icon-motion`,motionAppear:!o,motionEnter:!o,motionLeave:!o,removeOnLeave:!0,onAppearStart:Mp,onAppearActive:Rp,onEnterStart:Mp,onEnterActive:Rp,onLeaveStart:Rp,onLeaveActive:Mp},({className:l,style:c},u)=>{const f={...a,...c};return I.createElement(Hw,{prefixCls:t,className:k(i,l),style:f,ref:u})})},L9=e=>{const{componentCls:t,antCls:n,motionDurationMid:r,motionEaseInOut:i}=e;return{[t]:{[`${n}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`${["height","opacity"].map(a=>`${a} ${r} ${i}`).join(", ")} !important`}},[`${n}-motion-collapse`]:{overflow:"hidden",transition:`${["height","opacity"].map(a=>`${a} ${r} ${i}`).join(", ")} !important`}}}},Fw=e=>({animationDuration:e,animationFillMode:"both"}),U$=(e,t,n,r,i=!1)=>{const a=i?"&":"";return{[`
- ${a}${e}-enter,
- ${a}${e}-appear
- `]:{...Fw(r),animationPlayState:"paused"},[`${a}${e}-leave`]:{...Fw(r),animationPlayState:"paused"},[`
- ${a}${e}-enter${e}-enter-active,
- ${a}${e}-appear${e}-appear-active
- `]:{animationName:t,animationPlayState:"running"},[`${a}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},_9=new rn("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),V9=new rn("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),H9=(e,t=!1)=>{const{antCls:n}=e,r=`${n}-fade`,i=t?"&":"";return[U$(r,_9,V9,e.motionDurationMid,t),{[`
- ${i}${r}-enter,
- ${i}${r}-appear
- `]:{opacity:0,animationTimingFunction:"linear"},[`${i}${r}-leave`]:{animationTimingFunction:"linear"}}]},Yf=()=>({"@media (prefers-reduced-motion: reduce)":{transition:"none",animation:"none"}}),ax=new rn("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),F9=new rn("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),Iw=new rn("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),Uw=new rn("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),I9=new rn("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),U9=new rn("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),q9=new rn("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),G9=new rn("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),k9=new rn("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),X9=new rn("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),Y9=new rn("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),W9=new rn("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),K9={zoom:{inKeyframes:ax,outKeyframes:F9},"zoom-big":{inKeyframes:Iw,outKeyframes:Uw},"zoom-big-fast":{inKeyframes:Iw,outKeyframes:Uw},"zoom-left":{inKeyframes:q9,outKeyframes:G9},"zoom-right":{inKeyframes:k9,outKeyframes:X9},"zoom-up":{inKeyframes:I9,outKeyframes:U9},"zoom-down":{inKeyframes:Y9,outKeyframes:W9}},Q9=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:a}=K9[t];return[U$(r,i,a,e.motionDurationFast),{[`
- ${r}-enter,
- ${r}-appear
- `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},qw=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),Z9=e=>{const{componentCls:t,fontSize:n,lineWidth:r,groupBorderColor:i,colorErrorHover:a}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:e.calc(r).mul(-1).equal(),[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover, &:focus, &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},qw(`${t}-primary`,i),qw(`${t}-danger`,a)]}},Op=e=>Math.round(Number(e||0)),J9=e=>{if(e instanceof wt)return e;if(e&&typeof e=="object"&&"h"in e&&"b"in e){const{b:t,...n}=e;return{...n,v:t}}return typeof e=="string"&&/hsb/.test(e)?e.replace(/hsb/,"hsv"):e};class Jc extends wt{constructor(t){super(J9(t))}toHsbString(){const t=this.toHsb(),n=Op(t.s*100),r=Op(t.b*100),i=Op(t.h),a=t.a,o=`hsb(${i}, ${n}%, ${r}%)`,s=`hsba(${i}, ${n}%, ${r}%, ${a.toFixed(a===0?0:2)})`;return a===1?o:s}toHsb(){const{v:t,...n}=this.toHsv();return{...n,b:t,a:this.a}}}const eF=e=>e instanceof Jc?e:new Jc(e);eF("#1677ff");const tF=(e,t)=>(e==null?void 0:e.replace(/[^0-9a-f]/gi,"").slice(0,t?8:6))||"",nF=(e,t)=>e?tF(e,t):"";let Sv=function(){function e(t){var r;if(hl(this,e),this.cleared=!1,t instanceof e){this.metaColor=t.metaColor.clone(),this.colors=(r=t.colors)==null?void 0:r.map(i=>({color:new e(i.color),percent:i.percent})),this.cleared=t.cleared;return}const n=Array.isArray(t);n&&t.length?(this.colors=t.map(({color:i,percent:a})=>({color:new e(i),percent:a})),this.metaColor=new Jc(this.colors[0].color.metaColor)):this.metaColor=new Jc(n?"":t),(!t||n&&!this.colors)&&(this.metaColor=this.metaColor.setA(0),this.cleared=!0)}return ml(e,[{key:"toHsb",value:function(){return this.metaColor.toHsb()}},{key:"toHsbString",value:function(){return this.metaColor.toHsbString()}},{key:"toHex",value:function(){return nF(this.toHexString(),this.metaColor.a<1)}},{key:"toHexString",value:function(){return this.metaColor.toHexString()}},{key:"toRgb",value:function(){return this.metaColor.toRgb()}},{key:"toRgbString",value:function(){return this.metaColor.toRgbString()}},{key:"isGradient",value:function(){return!!this.colors&&!this.cleared}},{key:"getColors",value:function(){return this.colors||[{color:this,percent:0}]}},{key:"toCssString",value:function(){const{colors:n}=this;return n?`linear-gradient(90deg, ${n.map(i=>`${i.color.toRgbString()} ${i.percent}%`).join(", ")})`:this.metaColor.toRgbString()}},{key:"equals",value:function(n){return!n||this.isGradient()!==n.isGradient()?!1:this.isGradient()?this.colors.length===n.colors.length&&this.colors.every((r,i)=>{const a=n.colors[i];return r.percent===a.percent&&r.color.equals(a.color)}):this.toHexString()===n.toHexString()}}])}();const rF=e=>e instanceof Sv?e:new Sv(e),iF=(e,t)=>{const{r:n,g:r,b:i,a}=e.toRgb(),o=new Jc(e.toRgbString()).onBackground(t).toHsv();return a<=.5?o.v>.5:n*.299+r*.587+i*.114>192},q$=e=>{const{paddingInline:t,onlyIconSize:n,borderColorDisabled:r}=e;return Dt(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:0,buttonIconOnlyFontSize:n,colorBorderDisabled:r})},G$=e=>{const t=e.contentFontSize??e.fontSize,n=e.contentFontSizeSM??e.fontSize,r=e.contentFontSizeLG??e.fontSizeLG,i=e.contentLineHeight??kf(t),a=e.contentLineHeightSM??kf(n),o=e.contentLineHeightLG??kf(r),s=iF(new Sv(e.colorBgSolid),"#fff")?"#000":"#fff",l=Ma.reduce((f,d)=>({...f,[`${d}ShadowColor`]:`0 ${be(e.controlOutlineWidth)} 0 ${ql(e[`${d}1`],e.colorBgContainer)}`}),{}),c=e.colorBgContainerDisabled,u=e.colorBgContainerDisabled;return{...l,fontWeight:400,iconGap:e.marginXS,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorderDisabled,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:"inherit",onlyIconSizeSM:"inherit",onlyIconSizeLG:"inherit",groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textTextColor:e.colorText,textTextHoverColor:e.colorText,textTextActiveColor:e.colorText,textHoverBg:e.colorFillTertiary,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,solidTextColor:s,contentFontSize:t,contentFontSizeSM:n,contentFontSizeLG:r,contentLineHeight:i,contentLineHeightSM:a,contentLineHeightLG:o,paddingBlock:Math.max((e.controlHeight-t*i)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-n*a)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-r*o)/2-e.lineWidth,0),defaultBgDisabled:c,dashedBgDisabled:u}},aF=e=>{const{componentCls:t,antCls:n,lineWidth:r}=e,[i,a]=fr(n,"btn");return{[t]:[{[i("border-width")]:r,[i("border-color")]:"#000",[i("border-color-hover")]:a("border-color"),[i("border-color-active")]:a("border-color"),[i("border-color-disabled")]:a("border-color"),[i("border-style")]:"solid",[i("text-color")]:"#000",[i("text-color-hover")]:a("text-color"),[i("text-color-active")]:a("text-color"),[i("text-color-disabled")]:a("text-color"),[i("bg-color")]:"#ddd",[i("bg-color-hover")]:a("bg-color"),[i("bg-color-active")]:a("bg-color"),[i("bg-color-disabled")]:e.colorBgContainerDisabled,[i("bg-color-container")]:e.colorBgContainer,[i("shadow")]:"none"},{border:[a("border-width"),a("border-style"),a("border-color")].join(" "),color:a("text-color"),backgroundColor:a("bg-color"),[`&:not(:disabled):not(${t}-disabled)`]:{"&:hover":{border:[a("border-width"),a("border-style"),a("border-color-hover")].join(" "),color:a("text-color-hover"),backgroundColor:a("bg-color-hover")},"&:active":{border:[a("border-width"),a("border-style"),a("border-color-active")].join(" "),color:a("text-color-active"),backgroundColor:a("bg-color-active")}}},{[`&${t}-variant-solid`]:{[i("solid-bg-color")]:a("color-base"),[i("solid-bg-color-hover")]:a("color-hover"),[i("solid-bg-color-active")]:a("color-active"),[i("border-color")]:"transparent",[i("text-color")]:e.colorTextLightSolid,[i("bg-color")]:a("solid-bg-color"),[i("bg-color-hover")]:a("solid-bg-color-hover"),[i("bg-color-active")]:a("solid-bg-color-active"),boxShadow:a("shadow")},[`&${t}-variant-outlined, &${t}-variant-dashed`]:{[i("border-color")]:a("color-base"),[i("border-color-hover")]:a("color-hover"),[i("border-color-active")]:a("color-active"),[i("bg-color")]:a("bg-color-container"),[i("text-color")]:a("color-base"),[i("text-color-hover")]:a("color-hover"),[i("text-color-active")]:a("color-active"),boxShadow:a("shadow")},[`&${t}-variant-dashed`]:{[i("border-style")]:"dashed",[i("bg-color-disabled")]:e.dashedBgDisabled},[`&${t}-variant-filled`]:{[i("border-color")]:"transparent",[i("text-color")]:a("color-base"),[i("bg-color")]:a("color-light"),[i("bg-color-hover")]:a("color-light-hover"),[i("bg-color-active")]:a("color-light-active")},[`&${t}-variant-text, &${t}-variant-link`]:{[i("border-color")]:"transparent",[i("text-color")]:a("color-base"),[i("text-color-hover")]:a("color-hover"),[i("text-color-active")]:a("color-active"),[i("bg-color")]:"transparent",[i("bg-color-hover")]:"transparent",[i("bg-color-active")]:"transparent",[`&:disabled, &${e.componentCls}-disabled`]:{background:"transparent",borderColor:"transparent"}},[`&${t}-variant-text`]:{[i("bg-color-hover")]:a("color-light"),[i("bg-color-active")]:a("color-light-active")}},{[`&${t}-variant-link`]:{[i("color-base")]:e.colorLink,[i("color-hover")]:e.colorLinkHover,[i("color-active")]:e.colorLinkActive,[i("bg-color-hover")]:e.linkHoverBg},[`&${t}-color-primary`]:{[i("color-base")]:e.colorPrimary,[i("color-hover")]:e.colorPrimaryHover,[i("color-active")]:e.colorPrimaryActive,[i("color-light")]:e.colorPrimaryBg,[i("color-light-hover")]:e.colorPrimaryBgHover,[i("color-light-active")]:e.colorPrimaryBorder,[i("shadow")]:e.primaryShadow,[`&${t}-variant-solid`]:{[i("text-color")]:e.primaryColor,[i("text-color-hover")]:a("text-color"),[i("text-color-active")]:a("text-color")}},[`&${t}-color-dangerous`]:{[i("color-base")]:e.colorError,[i("color-hover")]:e.colorErrorHover,[i("color-active")]:e.colorErrorActive,[i("color-light")]:e.colorErrorBg,[i("color-light-hover")]:e.colorErrorBgFilledHover,[i("color-light-active")]:e.colorErrorBgActive,[i("shadow")]:e.dangerShadow,[`&${t}-variant-solid`]:{[i("text-color")]:e.dangerColor,[i("text-color-hover")]:a("text-color"),[i("text-color-active")]:a("text-color")}},[`&${t}-color-default`]:{[i("solid-bg-color")]:e.colorBgSolid,[i("solid-bg-color-hover")]:e.colorBgSolidHover,[i("solid-bg-color-active")]:e.colorBgSolidActive,[i("color-base")]:e.defaultBorderColor,[i("color-hover")]:e.defaultHoverBorderColor,[i("color-active")]:e.defaultActiveBorderColor,[i("color-light")]:e.colorFillTertiary,[i("color-light-hover")]:e.colorFillSecondary,[i("color-light-active")]:e.colorFill,[i("text-color")]:e.defaultColor,[i("text-color-hover")]:e.defaultHoverColor,[i("text-color-active")]:e.defaultActiveColor,[i("shadow")]:e.defaultShadow,[`&${t}-variant-outlined`]:{[i("bg-color-disabled")]:e.defaultBgDisabled},[`&${t}-variant-solid`]:{[i("text-color")]:e.solidTextColor,[i("text-color-hover")]:a("text-color"),[i("text-color-active")]:a("text-color")},[`&${t}-variant-filled, &${t}-variant-text`]:{[i("text-color-hover")]:a("text-color"),[i("text-color-active")]:a("text-color")},[`&${t}-variant-outlined, &${t}-variant-dashed`]:{[i("text-color")]:e.defaultColor,[i("text-color-hover")]:e.defaultHoverColor,[i("text-color-active")]:e.defaultActiveColor,[i("bg-color-container")]:e.defaultBg,[i("bg-color-hover")]:e.defaultHoverBg,[i("bg-color-active")]:e.defaultActiveBg},[`&${t}-variant-text`]:{[i("text-color")]:e.textTextColor,[i("text-color-hover")]:e.textTextHoverColor,[i("text-color-active")]:e.textTextActiveColor,[i("bg-color-hover")]:e.textHoverBg},[`&${t}-background-ghost`]:{[`&${t}-variant-outlined, &${t}-variant-dashed`]:{[i("text-color")]:e.defaultGhostColor,[i("border-color")]:e.defaultGhostBorderColor}}}},Ma.map(o=>{const s=e[`${o}6`],l=e[`${o}1`],c=e[`${o}Hover`],u=e[`${o}2`],f=e[`${o}3`],d=e[`${o}Active`],m=e[`${o}ShadowColor`];return{[`&${t}-color-${o}`]:{[i("color-base")]:s,[i("color-hover")]:c,[i("color-active")]:d,[i("color-light")]:l,[i("color-light-hover")]:u,[i("color-light-active")]:f,[i("shadow")]:m}}}),{[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",borderColor:e.colorBorderDisabled,background:a("bg-color-disabled"),color:e.colorTextDisabled,boxShadow:"none"}},{[`&${t}-background-ghost`]:{[i("bg-color")]:e.ghostBg,[i("bg-color-hover")]:e.ghostBg,[i("bg-color-active")]:e.ghostBg,[i("shadow")]:"none",[`&${t}-variant-outlined, &${t}-variant-dashed`]:{[i("bg-color-hover")]:e.ghostBg,[i("bg-color-active")]:e.ghostBg}}}]}},oF=e=>{const{componentCls:t,iconCls:n,fontWeight:r,opacityLoading:i,motionDurationSlow:a,motionEaseInOut:o,iconGap:s,calc:l}=e;return{[t]:{outline:"none",position:"relative",display:"inline-flex",gap:s,alignItems:"center",justifyContent:"center",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",...Yf(),"&:disabled > *":{pointerEvents:"none"},[`${t}-icon > svg`]:UO(),"> a":{color:"currentColor"},"&:not(:disabled)":GO(e),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${n})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&${t}-icon-only`]:{paddingInline:0,[`&${t}-compact-item`]:{flex:"none"}},[`&${t}-loading`]:{opacity:i,cursor:"default"},[`${t}-loading-icon`]:{transition:["width","opacity","margin"].map(c=>`${c} ${a} ${o}`).join(",")},[`&:not(${t}-icon-end)`]:{[`${t}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineEnd:l(s).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineEnd:0},"&-leave-start":{marginInlineEnd:0},"&-leave-active":{marginInlineEnd:l(s).mul(-1).equal()}}},"&-icon-end":{flexDirection:"row-reverse",[`${t}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineStart:l(s).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineStart:0},"&-leave-start":{marginInlineStart:0},"&-leave-active":{marginInlineStart:l(s).mul(-1).equal()}}}}}},sF=e=>({minWidth:e.controlHeight,paddingInline:0,borderRadius:"50%"}),ox=(e,t="")=>{const{componentCls:n,controlHeight:r,fontSize:i,borderRadius:a,buttonPaddingHorizontal:o,iconCls:s,buttonPaddingVertical:l,buttonIconOnlyFontSize:c}=e;return[{[t]:{fontSize:i,height:r,padding:`${be(l)} ${be(o)}`,borderRadius:a,[`&${n}-icon-only`]:{width:r,[s]:{fontSize:c}}}},{[`${n}${n}-circle${t}`]:sF(e)},{[`${n}${n}-round${t}`]:{borderRadius:e.controlHeight,[`&:not(${n}-icon-only)`]:{paddingInline:e.buttonPaddingHorizontal}}}]},lF=e=>{const t=Dt(e,{fontSize:e.contentFontSize});return ox(t,e.componentCls)},cF=e=>{const t=Dt(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:0,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM});return ox(t,`${e.componentCls}-sm`)},uF=e=>{const t=Dt(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:0,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return ox(t,`${e.componentCls}-lg`)},fF=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},dF=mn("Button",e=>{const t=q$(e);return[oF(t),lF(t),cF(t),uF(t),fF(t),aF(t),Z9(t)]},G$,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}});function hF(e,t,n,r){const{focusElCls:i,focus:a,borderElCls:o}=n,s=o?"> *":"",l=["hover",a?"focus":null,"active"].filter(Boolean).map(c=>`&:${c} ${s}`).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},[`&-item:not(${r}-status-success)`]:{zIndex:2},"&-item":{[l]:{zIndex:3},...i?{[`&${i}`]:{zIndex:3}}:{},[`&[disabled] ${s}`]:{zIndex:0}}}}function mF(e,t,n){const{borderElCls:r}=n,i=r?`> ${r}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${i}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${i}, &${e}-sm ${i}, &${e}-lg ${i}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${i}, &${e}-sm ${i}, &${e}-lg ${i}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function sx(e,t={focus:!0}){const{componentCls:n}=e,{componentCls:r}=t,i=r||n,a=`${i}-compact`;return{[a]:{...hF(e,a,t,i),...mF(i,a,t)}}}function pF(e,t,n){return{[`&-item:not(${t}-last-item)`]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},[`&-item:not(${n}-status-success)`]:{zIndex:2},"&-item":{"&:hover,&:focus,&:active":{zIndex:3},"&[disabled]":{zIndex:0}}}}function gF(e,t){return{[`&-item:not(${t}-first-item):not(${t}-last-item)`]:{borderRadius:0},[`&-item${t}-first-item:not(${t}-last-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${t}-last-item:not(${t}-first-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function yF(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:{...pF(e,t,e.componentCls),...gF(e.componentCls,t)}}}const vF=e=>{const{antCls:t,componentCls:n,lineWidth:r,calc:i,colorBgContainer:a}=e,o=`${n}-variant-solid:not([disabled])`,s=i(r).mul(-1).equal(),[l,c]=fr(t,"btn"),u=f=>({[`${n}-compact${f?"-vertical":""}-item`]:{[l("compact-connect-border-color")]:c("bg-color-hover"),[`&${o}`]:{transition:"none",[`& + ${o}:before`]:[{position:"absolute",backgroundColor:c("compact-connect-border-color"),content:'""'},f?{top:s,insetInline:s,height:r}:{insetBlock:s,insetInlineStart:s,width:r}],"&:hover:before":{display:"none"}}}});return[u(),u(!0),{[`${o}${n}-color-default`]:{[l("compact-connect-border-color")]:`color-mix(in srgb, ${c("bg-color-hover")} 75%, ${a})`}}]},bF=XO(["Button","compact"],e=>{const t=q$(e);return[sx(t),yF(t),vF(t)]},G$);function xF(e){if(typeof e=="object"&&e){let t=e==null?void 0:e.delay;return t=!Number.isNaN(t)&&typeof t=="number"?t:0,{loading:t<=0,delay:t}}return{loading:!!e,delay:0}}const SF={default:["default","outlined"],primary:["primary","solid"],dashed:["default","dashed"],link:["link","link"],text:["default","text"]},CF=I.forwardRef((e,t)=>{const{_skipSemantic:n,loading:r=!1,prefixCls:i,color:a,variant:o,type:s,danger:l=!1,shape:c,size:u,disabled:f,className:d,rootClassName:m,children:v,icon:x,iconPosition:S,iconPlacement:y,ghost:g=!1,block:p=!1,htmlType:b="button",classNames:w,styles:A,style:E,autoInsertSpace:R,autoFocus:T,...M}=e,O=Ta(v),N=s||"default",{getPrefixCls:z,direction:P,autoInsertSpace:j,className:$,style:D,classNames:B,styles:_,loadingIcon:L,shape:q,color:K,variant:te}=jr("button"),ee=c||q||"default",[W,X]=h.useMemo(()=>{if(a&&o)return[a,o];if(s||l){const Ge=SF[N]||[];return l?["danger",Ge[1]]:Ge}return K&&te?[K,te]:["default","outlined"]},[a,o,s,l,K,te,N]),[Q,G]=h.useMemo(()=>g&&X==="solid"?[W,"outlined"]:[W,X],[W,X,g]),Z=Q==="danger",ae=Z?"dangerous":Q,se=R??j??!0,J=z("btn",i),[ce,fe]=dF(J),U=h.useContext(Di),re=f??U,F=h.useContext(F$),ne=h.useMemo(()=>xF(r),[r]),[Y,ge]=h.useState(ne.loading),[oe,ue]=h.useState(!1),at=h.useRef(null),Ut=Eu(t,at),We=O.length===1&&!x&&!Tp(G),ot=h.useRef(!0);I.useEffect(()=>(ot.current=!1,()=>{ot.current=!0}),[]),Ot(()=>{let Ge=null;ne.delay>0?Ge=setTimeout(()=>{Ge=null,ge(!0)},ne.delay):ge(ne.loading);function _r(){Ge&&(clearTimeout(Ge),Ge=null)}return _r},[ne.delay,ne.loading]),h.useEffect(()=>{if(!at.current||!se)return;const Ge=at.current.textContent||"";We&&xv(Ge)?oe||ue(!0):oe&&ue(!1)}),h.useEffect(()=>{T&&at.current&&at.current.focus()},[]);const pr=I.useCallback(Ge=>{var _r;if(Y||re){Ge.preventDefault();return}(_r=e.onClick)==null||_r.call(e,("href"in e,Ge))},[e.onClick,Y,re]),{compactSize:Br,compactItemClassnames:Pr}=Ru(J,P),Pe=jo(Ge=>u??Br??F??Ge),zt=Y?"loading":x,Me=y??S??"start",pn=Ei(M,["navigate"]),gr={...e,type:N,color:Q,variant:G,danger:Z,shape:ee,size:Pe,disabled:re,loading:Y,iconPlacement:Me},[Et,Ke]=mr([n?void 0:B,w],[n?void 0:_,A],{props:gr}),Oe=k(J,ce,fe,{[`${J}-${ee}`]:ee!=="default"&&ee!=="square"&&ee,[`${J}-${N}`]:N,[`${J}-dangerous`]:l,[`${J}-color-${ae}`]:ae,[`${J}-variant-${G}`]:G,[`${J}-lg`]:Pe==="large",[`${J}-sm`]:Pe==="small",[`${J}-icon-only`]:!v&&v!==0&&!!zt,[`${J}-background-ghost`]:g&&!Tp(G),[`${J}-loading`]:Y,[`${J}-two-chinese-chars`]:oe&&se&&!Y,[`${J}-block`]:p,[`${J}-rtl`]:P==="rtl",[`${J}-icon-end`]:Me==="end"},Pr,d,m,$,Et.root),ye={...Ke.root,...D,...E},Le={className:Et.icon,style:Ke.icon},ht=Ge=>I.createElement(I$,{prefixCls:J,...Le},Ge),yr=I.createElement(P9,{existIcon:!!x,prefixCls:J,loading:Y,mount:ot.current,...Le}),vr=r&&typeof r=="object"&&r.icon||L;let en;x&&!Y?en=ht(x):r&&vr?en=ht(vr):en=yr;const br=dr(v)?B9(v,We&&se,Ke.content,Et.content):null;if(pn.href!==void 0)return I.createElement("a",{...pn,className:k(Oe,{[`${J}-disabled`]:re}),href:re?void 0:pn.href,style:ye,onClick:pr,ref:Ut,tabIndex:re?-1:0,"aria-disabled":re},en,br);let Lr=I.createElement("button",{...M,type:b,className:Oe,style:ye,onClick:pr,disabled:re,ref:Ut},en,br,Pr&&I.createElement(bF,{prefixCls:J}));return Tp(G)||(Lr=I.createElement(V$,{component:"Button",disabled:Y},Lr)),Lr}),eu=CF;eu.Group=D9;eu.__ANT_BUTTON=!0;function k$(e,t){if(!e)return;e.focus(t);const{cursor:n}=t||{};if(n&&(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement)){const r=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(r,r);break;default:e.setSelectionRange(0,r)}}}const ro="RC_FORM_INTERNAL_HOOKS",_e=()=>{In(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},wo=h.createContext({getFieldValue:_e,getFieldsValue:_e,getFieldError:_e,getFieldWarning:_e,getFieldsError:_e,isFieldsTouched:_e,isFieldTouched:_e,isFieldValidating:_e,isFieldsValidating:_e,resetFields:_e,setFields:_e,setFieldValue:_e,setFieldsValue:_e,validateFields:_e,submit:_e,getInternalHooks:()=>(_e(),{dispatch:_e,initEntityValue:_e,registerField:_e,useSubscribe:_e,setInitialValues:_e,destroyForm:_e,setCallbacks:_e,registerWatch:_e,getFields:_e,setValidateMessages:_e,setPreserve:_e,getInitialValue:_e})}),tu=h.createContext(null);function Cv(e){return e==null?[]:Array.isArray(e)?e:[e]}function wF(e){return e&&!!e._init}function wv(){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 Ev=wv();function EF(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function AF(e,t,n){if(Gb())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var i=new(e.bind.apply(e,r));return n&&Yc(i,n.prototype),i}function Av(e){var t=typeof Map=="function"?new Map:void 0;return Av=function(r){if(r===null||!EF(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,i)}function i(){return AF(r,arguments,Wc(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Yc(i,r)},Av(e)}var TF=/%[sdj%]/g,MF=function(){};function Tv(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 Pn(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=0,a=n.length;if(typeof e=="function")return e.apply(null,n);if(typeof e=="string"){var o=e.replace(TF,function(s){if(s==="%%")return"%";if(i>=a)return s;switch(s){case"%s":return String(n[i++]);case"%d":return Number(n[i++]);case"%j":try{return JSON.stringify(n[i++])}catch{return"[Circular]"}break;default:return s}});return o}return e}function RF(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"||e==="tel"}function Nt(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||RF(t)&&typeof e=="string"&&!e)}function OF(e,t,n){var r=[],i=0,a=e.length;function o(s){r.push.apply(r,He(s||[])),i++,i===a&&n(r)}e.forEach(function(s){t(s,o)})}function Gw(e,t,n){var r=0,i=e.length;function a(o){if(o&&o.length){n(o);return}var s=r;r=r+1,s<i?t(e[s],a):n([])}a([])}function $F(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,He(e[n]||[]))}),t}var kw=function(e){jO(n,e);var t=DO(n);function n(r,i){var a;return hl(this,n),a=t.call(this,"Async Validation Error"),Ft($s(a),"errors",void 0),Ft($s(a),"fields",void 0),a.errors=r,a.fields=i,a}return ml(n)}(Av(Error));function NF(e,t,n,r,i){if(t.first){var a=new Promise(function(d,m){var v=function(y){return r(y),y.length?m(new kw(y,Tv(y))):d(i)},x=$F(e);Gw(x,n,v)});return a.catch(function(d){return d}),a}var o=t.firstFields===!0?Object.keys(e):t.firstFields||[],s=Object.keys(e),l=s.length,c=0,u=[],f=new Promise(function(d,m){var v=function(S){if(u.push.apply(u,S),c++,c===l)return r(u),u.length?m(new kw(u,Tv(u))):d(i)};s.length||(r(u),d(i)),s.forEach(function(x){var S=e[x];o.indexOf(x)!==-1?Gw(S,n,v):OF(S,n,v)})});return f.catch(function(d){return d}),f}function jF(e){return!!(e&&e.message!==void 0)}function DF(e,t){for(var n=e,r=0;r<t.length;r++){if(n==null)return n;n=n[t[r]]}return n}function Xw(e,t){return function(n){var r;return e.fullFields?r=DF(t,e.fullFields):r=t[n.field||e.fullField],jF(n)?(n.field=n.field||e.fullField,n.fieldValue=r,n):{message:typeof n=="function"?n():n,fieldValue:r,field:n.field||e.fullField}}}function Yw(e,t){if(t){for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];Ct(r)==="object"&&Ct(e[n])==="object"?e[n]=ft(ft({},e[n]),r):e[n]=r}}return e}var Xo="enum",zF=function(t,n,r,i,a){t[Xo]=Array.isArray(t[Xo])?t[Xo]:[],t[Xo].indexOf(n)===-1&&i.push(Pn(a.messages[Xo],t.fullField,t[Xo].join(", ")))},BF=function(t,n,r,i,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||i.push(Pn(a.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var o=new RegExp(t.pattern);o.test(n)||i.push(Pn(a.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},PF=function(t,n,r,i,a){var o=typeof t.len=="number",s=typeof t.min=="number",l=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,u=n,f=null,d=typeof n=="number",m=typeof n=="string",v=Array.isArray(n);if(d?f="number":m?f="string":v&&(f="array"),!f)return!1;v&&(u=n.length),m&&(u=n.replace(c,"_").length),o?u!==t.len&&i.push(Pn(a.messages[f].len,t.fullField,t.len)):s&&!l&&u<t.min?i.push(Pn(a.messages[f].min,t.fullField,t.min)):l&&!s&&u>t.max?i.push(Pn(a.messages[f].max,t.fullField,t.max)):s&&l&&(u<t.min||u>t.max)&&i.push(Pn(a.messages[f].range,t.fullField,t.min,t.max))},X$=function(t,n,r,i,a,o){t.required&&(!r.hasOwnProperty(t.field)||Nt(n,o||t.type))&&i.push(Pn(a.messages.required,t.fullField))},df;const LF=function(){if(df)return df;var e="[a-fA-F\\d:]",t=function(A){return A&&A.includeBoundaries?"(?:(?<=\\s|^)(?=".concat(e,")|(?<=").concat(e,")(?=\\s|$))"):""},n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",r="[a-fA-F\\d]{1,4}",i=["(?:".concat(r,":){7}(?:").concat(r,"|:)"),"(?:".concat(r,":){6}(?:").concat(n,"|:").concat(r,"|:)"),"(?:".concat(r,":){5}(?::").concat(n,"|(?::").concat(r,"){1,2}|:)"),"(?:".concat(r,":){4}(?:(?::").concat(r,"){0,1}:").concat(n,"|(?::").concat(r,"){1,3}|:)"),"(?:".concat(r,":){3}(?:(?::").concat(r,"){0,2}:").concat(n,"|(?::").concat(r,"){1,4}|:)"),"(?:".concat(r,":){2}(?:(?::").concat(r,"){0,3}:").concat(n,"|(?::").concat(r,"){1,5}|:)"),"(?:".concat(r,":){1}(?:(?::").concat(r,"){0,4}:").concat(n,"|(?::").concat(r,"){1,6}|:)"),"(?::(?:(?::".concat(r,"){0,5}:").concat(n,"|(?::").concat(r,"){1,7}|:))")],a="(?:%[0-9a-zA-Z]{1,})?",o="(?:".concat(i.join("|"),")").concat(a),s=new RegExp("(?:^".concat(n,"$)|(?:^").concat(o,"$)")),l=new RegExp("^".concat(n,"$")),c=new RegExp("^".concat(o,"$")),u=function(A){return A&&A.exact?s:new RegExp("(?:".concat(t(A)).concat(n).concat(t(A),")|(?:").concat(t(A)).concat(o).concat(t(A),")"),"g")};u.v4=function(w){return w&&w.exact?l:new RegExp("".concat(t(w)).concat(n).concat(t(w)),"g")},u.v6=function(w){return w&&w.exact?c:new RegExp("".concat(t(w)).concat(o).concat(t(w)),"g")};var f="(?:(?:[a-z]+:)?//)",d="(?:\\S+(?::\\S*)?@)?",m=u.v4().source,v=u.v6().source,x="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",S="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",y="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",g="(?::\\d{2,5})?",p='(?:[/?#][^\\s"]*)?',b="(?:".concat(f,"|www\\.)").concat(d,"(?:localhost|").concat(m,"|").concat(v,"|").concat(x).concat(S).concat(y,")").concat(g).concat(p);return df=new RegExp("(?:^".concat(b,"$)"),"i"),df};var $p={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,tel:/^(\+[0-9]{1,3}[-\s\u2011]?)?(\([0-9]{1,4}\)[-\s\u2011]?)?([0-9]+[-\s\u2011]?)*[0-9]+$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Gl={integer:function(t){return Gl.number(t)&&parseInt(t,10)===t},float:function(t){return Gl.number(t)&&!Gl.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return Ct(t)==="object"&&!Gl.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match($p.email)},tel:function(t){return typeof t=="string"&&t.length<=32&&!!t.match($p.tel)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(LF())},hex:function(t){return typeof t=="string"&&!!t.match($p.hex)}},_F=function(t,n,r,i,a){if(t.required&&n===void 0){X$(t,n,r,i,a);return}var o=["integer","float","array","regexp","object","method","email","tel","number","date","url","hex"],s=t.type;o.indexOf(s)>-1?Gl[s](n)||i.push(Pn(a.messages.types[s],t.fullField,t.type)):s&&Ct(n)!==t.type&&i.push(Pn(a.messages.types[s],t.fullField,t.type))},VF=function(t,n,r,i,a){(/^\s+$/.test(n)||n==="")&&i.push(Pn(a.messages.whitespace,t.fullField))};const Ae={required:X$,whitespace:VF,type:_F,range:PF,enum:zF,pattern:BF};var HF=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Nt(n)&&!t.required)return r();Ae.required(t,n,i,o,a)}r(o)},FF=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(n==null&&!t.required)return r();Ae.required(t,n,i,o,a,"array"),n!=null&&(Ae.type(t,n,i,o,a),Ae.range(t,n,i,o,a))}r(o)},IF=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Nt(n)&&!t.required)return r();Ae.required(t,n,i,o,a),n!==void 0&&Ae.type(t,n,i,o,a)}r(o)},UF=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Nt(n,"date")&&!t.required)return r();if(Ae.required(t,n,i,o,a),!Nt(n,"date")){var l;n instanceof Date?l=n:l=new Date(n),Ae.type(t,l,i,o,a),l&&Ae.range(t,l.getTime(),i,o,a)}}r(o)},qF="enum",GF=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Nt(n)&&!t.required)return r();Ae.required(t,n,i,o,a),n!==void 0&&Ae[qF](t,n,i,o,a)}r(o)},kF=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Nt(n)&&!t.required)return r();Ae.required(t,n,i,o,a),n!==void 0&&(Ae.type(t,n,i,o,a),Ae.range(t,n,i,o,a))}r(o)},XF=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Nt(n)&&!t.required)return r();Ae.required(t,n,i,o,a),n!==void 0&&(Ae.type(t,n,i,o,a),Ae.range(t,n,i,o,a))}r(o)},YF=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Nt(n)&&!t.required)return r();Ae.required(t,n,i,o,a),n!==void 0&&Ae.type(t,n,i,o,a)}r(o)},WF=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(n===""&&(n=void 0),Nt(n)&&!t.required)return r();Ae.required(t,n,i,o,a),n!==void 0&&(Ae.type(t,n,i,o,a),Ae.range(t,n,i,o,a))}r(o)},KF=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Nt(n)&&!t.required)return r();Ae.required(t,n,i,o,a),n!==void 0&&Ae.type(t,n,i,o,a)}r(o)},QF=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Nt(n,"string")&&!t.required)return r();Ae.required(t,n,i,o,a),Nt(n,"string")||Ae.pattern(t,n,i,o,a)}r(o)},ZF=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Nt(n)&&!t.required)return r();Ae.required(t,n,i,o,a),Nt(n)||Ae.type(t,n,i,o,a)}r(o)},JF=function(t,n,r,i,a){var o=[],s=Array.isArray(n)?"array":Ct(n);Ae.required(t,n,i,o,a,s),r(o)},eI=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Nt(n,"string")&&!t.required)return r();Ae.required(t,n,i,o,a,"string"),Nt(n,"string")||(Ae.type(t,n,i,o,a),Ae.range(t,n,i,o,a),Ae.pattern(t,n,i,o,a),t.whitespace===!0&&Ae.whitespace(t,n,i,o,a))}r(o)},hf=function(t,n,r,i,a){var o=t.type,s=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(Nt(n,o)&&!t.required)return r();Ae.required(t,n,i,s,a,o),Nt(n,o)||Ae.type(t,n,i,s,a)}r(s)};const pc={string:eI,method:YF,number:WF,boolean:IF,regexp:ZF,integer:XF,float:kF,array:FF,object:KF,enum:GF,pattern:QF,date:UF,url:hf,hex:hf,email:hf,tel:hf,required:JF,any:HF};var Ou=function(){function e(t){hl(this,e),Ft(this,"rules",null),Ft(this,"_messages",Ev),this.define(t)}return ml(e,[{key:"define",value:function(n){var r=this;if(!n)throw new Error("Cannot configure a schema with no rules");if(Ct(n)!=="object"||Array.isArray(n))throw new Error("Rules must be an object");this.rules={},Object.keys(n).forEach(function(i){var a=n[i];r.rules[i]=Array.isArray(a)?a:[a]})}},{key:"messages",value:function(n){return n&&(this._messages=Yw(wv(),n)),this._messages}},{key:"validate",value:function(n){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},o=n,s=i,l=a;if(typeof s=="function"&&(l=s,s={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(null,o),Promise.resolve(o);function c(v){var x=[],S={};function y(p){if(Array.isArray(p)){var b;x=(b=x).concat.apply(b,He(p))}else x.push(p)}for(var g=0;g<v.length;g++)y(v[g]);x.length?(S=Tv(x),l(x,S)):l(null,o)}if(s.messages){var u=this.messages();u===Ev&&(u=wv()),Yw(u,s.messages),s.messages=u}else s.messages=this.messages();var f={},d=s.keys||Object.keys(this.rules);d.forEach(function(v){var x=r.rules[v],S=o[v];x.forEach(function(y){var g=y;typeof g.transform=="function"&&(o===n&&(o=ft({},o)),S=o[v]=g.transform(S),S!=null&&(g.type=g.type||(Array.isArray(S)?"array":Ct(S)))),typeof g=="function"?g={validator:g}:g=ft({},g),g.validator=r.getValidationMethod(g),g.validator&&(g.field=v,g.fullField=g.fullField||v,g.type=r.getType(g),f[v]=f[v]||[],f[v].push({rule:g,value:S,source:o,field:v}))})});var m={};return NF(f,s,function(v,x){var S=v.rule,y=(S.type==="object"||S.type==="array")&&(Ct(S.fields)==="object"||Ct(S.defaultField)==="object");y=y&&(S.required||!S.required&&v.value),S.field=v.field;function g(E,R){return ft(ft({},R),{},{fullField:"".concat(S.fullField,".").concat(E),fullFields:S.fullFields?[].concat(He(S.fullFields),[E]):[E]})}function p(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],R=Array.isArray(E)?E:[E];!s.suppressWarning&&R.length&&e.warning("async-validator:",R),R.length&&S.message!==void 0&&S.message!==null&&(R=[].concat(S.message));var T=R.map(Xw(S,o));if(s.first&&T.length)return m[S.field]=1,x(T);if(!y)x(T);else{if(S.required&&!v.value)return S.message!==void 0?T=[].concat(S.message).map(Xw(S,o)):s.error&&(T=[s.error(S,Pn(s.messages.required,S.field))]),x(T);var M={};S.defaultField&&Object.keys(v.value).map(function(z){M[z]=S.defaultField}),M=ft(ft({},M),v.rule.fields);var O={};Object.keys(M).forEach(function(z){var P=M[z],j=Array.isArray(P)?P:[P];O[z]=j.map(g.bind(null,z))});var N=new e(O);N.messages(s.messages),v.rule.options&&(v.rule.options.messages=s.messages,v.rule.options.error=s.error),N.validate(v.value,v.rule.options||s,function(z){var P=[];T&&T.length&&P.push.apply(P,He(T)),z&&z.length&&P.push.apply(P,He(z)),x(P.length?P:null)})}}var b;if(S.asyncValidator)b=S.asyncValidator(S,v.value,p,v.source,s);else if(S.validator){try{b=S.validator(S,v.value,p,v.source,s)}catch(E){var w,A;(w=(A=console).error)===null||w===void 0||w.call(A,E),s.suppressValidatorError||setTimeout(function(){throw E},0),p(E.message)}b===!0?p():b===!1?p(typeof S.message=="function"?S.message(S.fullField||S.field):S.message||"".concat(S.fullField||S.field," fails")):b instanceof Array?p(b):b instanceof Error&&p(b.message)}b&&b.then&&b.then(function(){return p()},function(E){return p(E)})},function(v){c(v)},o)}},{key:"getType",value:function(n){if(n.type===void 0&&n.pattern instanceof RegExp&&(n.type="pattern"),typeof n.validator!="function"&&n.type&&!pc.hasOwnProperty(n.type))throw new Error(Pn("Unknown rule type %s",n.type));return n.type||"string"}},{key:"getValidationMethod",value:function(n){if(typeof n.validator=="function")return n.validator;var r=Object.keys(n),i=r.indexOf("message");return i!==-1&&r.splice(i,1),r.length===1&&r[0]==="required"?pc.required:pc[this.getType(n)]||void 0}}]),e}();Ft(Ou,"register",function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");pc[t]=n});Ft(Ou,"warning",MF);Ft(Ou,"messages",Ev);Ft(Ou,"validators",pc);const bn="'${name}' is not a valid ${type}",Y$={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:bn,method:bn,array:bn,object:bn,number:bn,date:bn,boolean:bn,integer:bn,float:bn,regexp:bn,email:bn,tel:bn,url:bn,hex:bn},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}},Ww=Ou;function tI(e,t){return e.replace(/\\?\$\{\w+\}/g,n=>{if(n.startsWith("\\"))return n.slice(1);const r=n.slice(2,-1);return t[r]})}const Kw="CODE_LOGIC_ERROR";async function Mv(e,t,n,r,i){const a={...n};if(delete a.ruleIndex,Ww.warning=()=>{},a.validator){const d=a.validator;a.validator=(...m)=>{try{return d(...m)}catch(v){return console.error(v),Promise.reject(Kw)}}}let o=null;a&&a.type==="array"&&a.defaultField&&(o=a.defaultField,delete a.defaultField);const s=new Ww({[e]:[a]}),l=bs(Y$,r.validateMessages);s.messages(l);let c=[];try{await Promise.resolve(s.validate({[e]:t},{...r}))}catch(d){d.errors&&(c=d.errors.map(({message:m},v)=>{const x=m===Kw?l.default:m;return h.isValidElement(x)?h.cloneElement(x,{key:`error_${v}`}):x}))}if(!c.length&&o&&Array.isArray(t)&&t.length>0)return(await Promise.all(t.map((m,v)=>Mv(`${e}.${v}`,m,o,r,i)))).reduce((m,v)=>[...m,...v],[]);const u={...n,name:e,enum:(n.enum||[]).join(", "),...i};return c.map(d=>typeof d=="string"?tI(d,u):d)}function nI(e,t,n,r,i,a){const o=e.join("."),s=n.map((c,u)=>{const f=c.validator,d={...c,ruleIndex:u};return f&&(d.validator=(m,v,x)=>{let S=!1;const g=f(m,v,(...p)=>{Promise.resolve().then(()=>{In(!S,"Your validator function has already return a promise. `callback` will be ignored."),S||x(...p)})});S=g&&typeof g.then=="function"&&typeof g.catch=="function",In(S,"`callback` is deprecated. Please return a promise instead."),S&&g.then(()=>{x()}).catch(p=>{x(p||" ")})}),d}).sort(({warningOnly:c,ruleIndex:u},{warningOnly:f,ruleIndex:d})=>!!c==!!f?u-d:c?1:-1);let l;if(i===!0)l=new Promise(async(c,u)=>{for(let f=0;f<s.length;f+=1){const d=s[f],m=await Mv(o,t,d,r,a);if(m.length){u([{errors:m,rule:d}]);return}}c([])});else{const c=s.map(u=>Mv(o,t,u,r,a).then(f=>({errors:f,rule:u})));l=(i?iI(c):rI(c)).then(u=>Promise.reject(u))}return l.catch(c=>c),l}async function rI(e){return Promise.all(e).then(t=>[].concat(...t))}async function iI(e){let t=0;return new Promise(n=>{e.forEach(r=>{r.then(i=>{i.errors.length&&n([i]),t+=1,t===e.length&&n([])})})})}function ct(e){return Cv(e)}function Qw(e,t){let n={};return t.forEach(r=>{const i=En(e,r);n=Cn(n,r,i)}),n}function Ns(e,t,n=!1){return e&&e.some(r=>Xd(t,r,n))}function Xd(e,t,n=!1){return!e||!t||!n&&e.length!==t.length?!1:t.every((r,i)=>e[i]===r)}function aI(e,t){if(e===t)return!0;if(!e&&t||e&&!t||!e||!t||typeof e!="object"||typeof t!="object")return!1;const n=Object.keys(e),r=Object.keys(t);return[...new Set([...n,...r])].every(a=>{const o=e[a],s=t[a];return typeof o=="function"&&typeof s=="function"?!0:o===s})}function oI(e,...t){const n=t[0];return n&&n.target&&typeof n.target=="object"&&e in n.target?n.target[e]:n}function Zw(e,t,n){const{length:r}=e;if(t<0||t>=r||n<0||n>=r)return e;const i=e[t],a=t-n;return a>0?[...e.slice(0,n),i,...e.slice(n,t),...e.slice(t+1,r)]:a<0?[...e.slice(0,t),...e.slice(t+1,n+1),i,...e.slice(n+1,r)]:e}const W$=e=>{const t=new MessageChannel;t.port1.onmessage=e,t.port2.postMessage(null)};class sI{constructor(t){V(this,"namePathList",[]);V(this,"taskId",0);V(this,"watcherList",new Set);V(this,"form");this.form=t}register(t){return this.watcherList.add(t),()=>{this.watcherList.delete(t)}}notify(t){t.forEach(n=>{this.namePathList.every(r=>!Xd(r,n))&&this.namePathList.push(n)}),this.doBatch()}doBatch(){this.taskId+=1;const t=this.taskId;W$(()=>{if(t===this.taskId&&this.watcherList.size){const n=this.form.getForm(),r=n.getFieldsValue(),i=n.getFieldsValue(!0);this.watcherList.forEach(a=>{a(r,i,this.namePathList)}),this.namePathList=[]}})}}async function lI(){return new Promise(e=>{W$(()=>{nn(()=>{e()})})})}function Rv(){return Rv=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},Rv.apply(this,arguments)}const Ha=[],Bl=[];function Np(e,t,n,r,i,a){return typeof e=="function"?e(t,n,"source"in a?{source:a.source}:{}):r!==i}class K$ extends h.Component{constructor(n){super(n);V(this,"state",{resetCount:0});V(this,"cancelRegisterFunc",null);V(this,"mounted",!1);V(this,"touched",!1);V(this,"dirty",!1);V(this,"validatePromise");V(this,"prevValidating");V(this,"errors",Ha);V(this,"warnings",Bl);V(this,"cancelRegister",()=>{const{preserve:n,isListField:r,name:i}=this.props;this.cancelRegisterFunc&&this.cancelRegisterFunc(r,n,ct(i)),this.cancelRegisterFunc=null});V(this,"getNamePath",()=>{const{name:n,fieldContext:r}=this.props,{prefixName:i=[]}=r;return n!==void 0?[...i,...n]:[]});V(this,"getRules",()=>{const{rules:n=[],fieldContext:r}=this.props;return n.map(i=>typeof i=="function"?i(r):i)});V(this,"refresh",()=>{this.mounted&&this.setState(({resetCount:n})=>({resetCount:n+1}))});V(this,"metaCache",null);V(this,"triggerMetaEvent",n=>{const{onMetaChange:r}=this.props;if(r){const i={...this.getMeta(),destroy:n};zy(this.metaCache,i)||r(i),this.metaCache=i}else this.metaCache=null});V(this,"onStoreChange",(n,r,i)=>{const{shouldUpdate:a,dependencies:o=[],onReset:s}=this.props,{store:l}=i,c=this.getNamePath(),u=this.getValue(n),f=this.getValue(l),d=r&&Ns(r,c);switch(i.type==="valueUpdate"&&i.source==="external"&&!zy(u,f)&&(this.touched=!0,this.dirty=!0,this.validatePromise=null,this.errors=Ha,this.warnings=Bl,this.triggerMetaEvent()),i.type){case"reset":if(!r||d){this.touched=!1,this.dirty=!1,this.validatePromise=void 0,this.errors=Ha,this.warnings=Bl,this.triggerMetaEvent(),s==null||s(),this.refresh();return}break;case"remove":{if(a&&Np(a,n,l,u,f,i)){this.reRender();return}break}case"setField":{const{data:m}=i;if(d){"touched"in m&&(this.touched=m.touched),"validating"in m&&!("originRCField"in m)&&(this.validatePromise=m.validating?Promise.resolve([]):null),"errors"in m&&(this.errors=m.errors||Ha),"warnings"in m&&(this.warnings=m.warnings||Bl),this.dirty=!0,this.triggerMetaEvent(),this.reRender();return}else if("value"in m&&Ns(r,c,!0)){this.reRender();return}if(a&&!c.length&&Np(a,n,l,u,f,i)){this.reRender();return}break}case"dependenciesUpdate":{if(o.map(ct).some(v=>Ns(i.relatedFields,v))){this.reRender();return}break}default:if(d||(!o.length||c.length||a)&&Np(a,n,l,u,f,i)){this.reRender();return}break}a===!0&&this.reRender()});V(this,"validateRules",n=>{const r=this.getNamePath(),i=this.getValue(),{triggerName:a,validateOnly:o=!1,delayFrame:s}=n||{},l=Promise.resolve().then(async()=>{if(!this.mounted)return[];const{validateFirst:c=!1,messageVariables:u,validateDebounce:f}=this.props;s&&await lI();let d=this.getRules();if(a&&(d=d.filter(v=>v).filter(v=>{const{validateTrigger:x}=v;return x?Cv(x).includes(a):!0})),f&&a&&(await new Promise(v=>{setTimeout(v,f)}),this.validatePromise!==l))return[];const m=nI(r,i,d,n,c,u);return m.catch(v=>v).then((v=Ha)=>{var x;if(this.validatePromise===l){this.validatePromise=null;const S=[],y=[];(x=v.forEach)==null||x.call(v,({rule:{warningOnly:g},errors:p=Ha})=>{g?y.push(...p):S.push(...p)}),this.errors=S,this.warnings=y,this.triggerMetaEvent(),this.reRender()}}),m});return o||(this.validatePromise=l,this.dirty=!0,this.errors=Ha,this.warnings=Bl,this.triggerMetaEvent(),this.reRender()),l});V(this,"isFieldValidating",()=>!!this.validatePromise);V(this,"isFieldTouched",()=>this.touched);V(this,"isFieldDirty",()=>{if(this.dirty||this.props.initialValue!==void 0)return!0;const{fieldContext:n}=this.props,{getInitialValue:r}=n.getInternalHooks(ro);return r(this.getNamePath())!==void 0});V(this,"getErrors",()=>this.errors);V(this,"getWarnings",()=>this.warnings);V(this,"isListField",()=>this.props.isListField);V(this,"isList",()=>this.props.isList);V(this,"isPreserve",()=>this.props.preserve);V(this,"getMeta",()=>(this.prevValidating=this.isFieldValidating(),{touched:this.isFieldTouched(),validating:this.prevValidating,errors:this.errors,warnings:this.warnings,name:this.getNamePath(),validated:this.validatePromise===null}));V(this,"getOnlyChild",n=>{if(typeof n=="function"){const i=this.getMeta();return{...this.getOnlyChild(n(this.getControlled(),i,this.props.fieldContext)),isFunction:!0}}const r=Ta(n);return r.length!==1||!h.isValidElement(r[0])?{child:r,isFunction:!1}:{child:r[0],isFunction:!1}});V(this,"getValue",n=>{const{getFieldsValue:r}=this.props.fieldContext,i=this.getNamePath();return En(n||r(!0),i)});V(this,"getControlled",(n={})=>{const{name:r,trigger:i="onChange",validateTrigger:a,getValueFromEvent:o,normalize:s,valuePropName:l="value",getValueProps:c,fieldContext:u}=this.props,f=a!==void 0?a:u.validateTrigger,d=this.getNamePath(),{getInternalHooks:m,getFieldsValue:v}=u,{dispatch:x}=m(ro),S=this.getValue(),y=c||(A=>({[l]:A})),g=n[i],p=r!==void 0?y(S):{},b={...n,...p};return b[i]=(...A)=>{this.touched=!0,this.dirty=!0,this.triggerMetaEvent();let E;o?E=o(...A):E=oI(l,...A),s&&(E=s(E,S,v(!0))),E!==S&&x({type:"updateValue",namePath:d,value:E}),g&&g(...A)},Cv(f||[]).forEach(A=>{const E=b[A];b[A]=(...R)=>{E&&E(...R);const{rules:T}=this.props;T&&T.length&&x({type:"validateField",namePath:d,triggerName:A})}}),b});if(n.fieldContext){const{getInternalHooks:r}=n.fieldContext,{initEntityValue:i}=r(ro);i(this)}}componentDidMount(){const{shouldUpdate:n,fieldContext:r}=this.props;if(this.mounted=!0,r){const{getInternalHooks:i}=r,{registerField:a}=i(ro);this.cancelRegisterFunc=a(this)}n===!0&&this.reRender()}componentWillUnmount(){this.cancelRegister(),this.triggerMetaEvent(!0),this.mounted=!1}reRender(){this.mounted&&this.forceUpdate()}render(){const{resetCount:n}=this.state,{children:r}=this.props,{child:i,isFunction:a}=this.getOnlyChild(r);let o;return a?o=i:h.isValidElement(i)?o=h.cloneElement(i,this.getControlled(i.props)):(In(!i,"`children` of Field is not validate ReactElement."),o=i),h.createElement(h.Fragment,{key:n},o)}}V(K$,"contextType",wo);function lx({name:e,...t}){const n=h.useContext(wo),r=h.useContext(tu),i=e!==void 0?ct(e):void 0,a=t.isListField??!!r;let o="keep";return a||(o=`_${(i||[]).join("_")}`),h.createElement(K$,Rv({key:o,name:i,isListField:a},t,{fieldContext:n}))}function Q$({name:e,initialValue:t,children:n,rules:r,validateTrigger:i,isListField:a}){const o=h.useContext(wo),s=h.useContext(tu),c=h.useRef({keys:[],id:0}).current,u=h.useMemo(()=>[...ct(o.prefixName)||[],...ct(e)],[o.prefixName,e]),f=h.useMemo(()=>({...o,prefixName:u}),[o,u]),d=h.useMemo(()=>({getKey:v=>{const x=u.length,S=v[x];return[c.keys[S],v.slice(x+1)]}}),[c,u]);if(typeof n!="function")return In(!1,"Form.List only accepts function as children."),null;const m=(v,x,{source:S})=>S==="internal"?!1:v!==x;return h.createElement(tu.Provider,{value:d},h.createElement(wo.Provider,{value:f},h.createElement(lx,{name:[],shouldUpdate:m,rules:r,validateTrigger:i,initialValue:t,isList:!0,isListField:a??!!s},({value:v=[],onChange:x},S)=>{const{getFieldValue:y}=o,g=()=>y(u||[])||[],p={add:(w,A)=>{const E=g();A>=0&&A<=E.length?(c.keys=[...c.keys.slice(0,A),c.id,...c.keys.slice(A)],x([...E.slice(0,A),w,...E.slice(A)])):(c.keys=[...c.keys,c.id],x([...E,w])),c.id+=1},remove:w=>{const A=g(),E=new Set(Array.isArray(w)?w:[w]);E.size<=0||(c.keys=c.keys.filter((R,T)=>!E.has(T)),x(A.filter((R,T)=>!E.has(T))))},move(w,A){if(w===A)return;const E=g();w<0||w>=E.length||A<0||A>=E.length||(c.keys=Zw(c.keys,w,A),x(Zw(E,w,A)))}};let b=v||[];return Array.isArray(b)||(b=[]),n(b.map((w,A)=>{let E=c.keys[A];return E===void 0&&(c.keys[A]=c.id,E=c.keys[A],c.id+=1),{name:A,key:E,isListField:!0}}),p,S)})))}function cI(e){let t=!1,n=e.length;const r=[];return e.length?new Promise((i,a)=>{e.forEach((o,s)=>{o.catch(l=>(t=!0,l)).then(l=>{n-=1,r[s]=l,!(n>0)&&(t&&a(r),i(r))})})}):Promise.resolve([])}const Ov="__@field_split__";function mf(e){return e.map(t=>`${typeof t}:${t}`).join(Ov)}class Yo{constructor(){V(this,"kvs",new Map)}set(t,n){this.kvs.set(mf(t),n)}get(t){return this.kvs.get(mf(t))}getAsPrefix(t){const n=mf(t),r=n+Ov,i=[],a=this.kvs.get(n);return a!==void 0&&i.push(a),this.kvs.forEach((o,s)=>{s.startsWith(r)&&i.push(o)}),i}update(t,n){const r=this.get(t),i=n(r);i?this.set(t,i):this.delete(t)}delete(t){this.kvs.delete(mf(t))}map(t){return[...this.kvs.entries()].map(([n,r])=>{const i=n.split(Ov);return t({key:i.map(a=>{const[,o,s]=a.match(/^([^:]*):(.*)$/);return o==="number"?Number(s):s}),value:r})})}toJSON(){const t={};return this.map(({key:n,value:r})=>(t[n.join(".")]=r,null)),t}}class uI{constructor(t){V(this,"formHooked",!1);V(this,"forceRootUpdate");V(this,"subscribable",!0);V(this,"store",{});V(this,"fieldEntities",[]);V(this,"initialValues",{});V(this,"callbacks",{});V(this,"validateMessages",null);V(this,"preserve",null);V(this,"lastValidatePromise",null);V(this,"watcherCenter",new sI(this));V(this,"getForm",()=>({getFieldValue:this.getFieldValue,getFieldsValue:this.getFieldsValue,getFieldError:this.getFieldError,getFieldWarning:this.getFieldWarning,getFieldsError:this.getFieldsError,isFieldsTouched:this.isFieldsTouched,isFieldTouched:this.isFieldTouched,isFieldValidating:this.isFieldValidating,isFieldsValidating:this.isFieldsValidating,resetFields:this.resetFields,setFields:this.setFields,setFieldValue:this.setFieldValue,setFieldsValue:this.setFieldsValue,validateFields:this.validateFields,submit:this.submit,_init:!0,getInternalHooks:this.getInternalHooks}));V(this,"getInternalHooks",t=>t===ro?(this.formHooked=!0,{dispatch:this.dispatch,initEntityValue:this.initEntityValue,registerField:this.registerField,useSubscribe:this.useSubscribe,setInitialValues:this.setInitialValues,destroyForm:this.destroyForm,setCallbacks:this.setCallbacks,setValidateMessages:this.setValidateMessages,getFields:this.getFields,setPreserve:this.setPreserve,getInitialValue:this.getInitialValue,registerWatch:this.registerWatch}):(In(!1,"`getInternalHooks` is internal usage. Should not call directly."),null));V(this,"useSubscribe",t=>{this.subscribable=t});V(this,"prevWithoutPreserves",null);V(this,"setInitialValues",(t,n)=>{var r;if(this.initialValues=t||{},n){let i=bs(t,this.store);(r=this.prevWithoutPreserves)==null||r.map(({key:a})=>{i=Cn(i,a,En(t,a))}),this.prevWithoutPreserves=null,this.updateStore(i)}});V(this,"destroyForm",t=>{if(t)this.updateStore({});else{const n=new Yo;this.getFieldEntities(!0).forEach(r=>{this.isMergedPreserve(r.isPreserve())||n.set(r.getNamePath(),!0)}),this.prevWithoutPreserves=n}});V(this,"getInitialValue",t=>{const n=En(this.initialValues,t);return t.length?bs(n):n});V(this,"setCallbacks",t=>{this.callbacks=t});V(this,"setValidateMessages",t=>{this.validateMessages=t});V(this,"setPreserve",t=>{this.preserve=t});V(this,"registerWatch",t=>this.watcherCenter.register(t));V(this,"notifyWatch",(t=[])=>{this.watcherCenter.notify(t)});V(this,"timeoutId",null);V(this,"warningUnhooked",()=>{});V(this,"updateStore",t=>{this.store=t});V(this,"getFieldEntities",(t=!1)=>t?this.fieldEntities.filter(n=>n.getNamePath().length):this.fieldEntities);V(this,"getFieldsMap",(t=!1)=>{const n=new Yo;return this.getFieldEntities(t).forEach(r=>{const i=r.getNamePath();n.set(i,r)}),n});V(this,"getFieldEntitiesForNamePathList",(t,n=!1)=>{if(!t)return this.getFieldEntities(!0);const r=this.getFieldsMap(!0);return n?t.flatMap(i=>{const a=ct(i),o=r.getAsPrefix(a);return o.length?o:[{INVALIDATE_NAME_PATH:a}]}):t.map(i=>{const a=ct(i);return r.get(a)||{INVALIDATE_NAME_PATH:ct(i)}})});V(this,"getFieldsValue",(t,n)=>{this.warningUnhooked();let r,i;if(t===!0||Array.isArray(t)?(r=t,i=n):t&&typeof t=="object"&&(i=t.filter),r===!0&&!i)return this.store;const a=this.getFieldEntitiesForNamePathList(Array.isArray(r)?r:null,!0),o=[],s=[];a.forEach(c=>{var f;const u=c.INVALIDATE_NAME_PATH||c.getNamePath();if((f=c.isList)!=null&&f.call(c)){s.push(u);return}if(!i)o.push(u);else{const d="getMeta"in c?c.getMeta():null;i(d)&&o.push(u)}});let l=Qw(this.store,o.map(ct));return s.forEach(c=>{En(l,c)||(l=Cn(l,c,[]))}),l});V(this,"getFieldValue",t=>{this.warningUnhooked();const n=ct(t);return En(this.store,n)});V(this,"getFieldsError",t=>(this.warningUnhooked(),this.getFieldEntitiesForNamePathList(t).map((r,i)=>r&&!r.INVALIDATE_NAME_PATH?{name:r.getNamePath(),errors:r.getErrors(),warnings:r.getWarnings()}:{name:ct(t[i]),errors:[],warnings:[]})));V(this,"getFieldError",t=>{this.warningUnhooked();const n=ct(t);return this.getFieldsError([n])[0].errors});V(this,"getFieldWarning",t=>{this.warningUnhooked();const n=ct(t);return this.getFieldsError([n])[0].warnings});V(this,"isFieldsTouched",(...t)=>{this.warningUnhooked();const[n,r]=t;let i,a=!1;t.length===0?i=null:t.length===1?Array.isArray(n)?(i=n.map(ct),a=!1):(i=null,a=n):(i=n.map(ct),a=r);const o=this.getFieldEntities(!0),s=f=>f.isFieldTouched();if(!i)return a?o.every(f=>s(f)||f.isList()):o.some(s);const l=new Yo;i.forEach(f=>{l.set(f,[])}),o.forEach(f=>{const d=f.getNamePath();i.forEach(m=>{m.every((v,x)=>d[x]===v)&&l.update(m,v=>[...v,f])})});const c=f=>f.some(s),u=l.map(({value:f})=>f);return a?u.every(c):u.some(c)});V(this,"isFieldTouched",t=>(this.warningUnhooked(),this.isFieldsTouched([t])));V(this,"isFieldsValidating",t=>{this.warningUnhooked();const n=this.getFieldEntities();if(!t)return n.some(i=>i.isFieldValidating());const r=t.map(ct);return n.some(i=>{const a=i.getNamePath();return Ns(r,a)&&i.isFieldValidating()})});V(this,"isFieldValidating",t=>(this.warningUnhooked(),this.isFieldsValidating([t])));V(this,"resetWithFieldInitialValue",(t={})=>{const n=new Yo,r=this.getFieldEntities(!0);r.forEach(o=>{const{initialValue:s}=o.props,l=o.getNamePath();if(s!==void 0){const c=n.get(l)||new Set;c.add({entity:o,value:s}),n.set(l,c)}});const i=o=>{o.forEach(s=>{const{initialValue:l}=s.props;if(l!==void 0){const c=s.getNamePath();if(this.getInitialValue(c)!==void 0)In(!1,`Form already set 'initialValues' with path '${c.join(".")}'. Field can not overwrite it.`);else{const f=n.get(c);if(f&&f.size>1)In(!1,`Multiple Field with path '${c.join(".")}' set 'initialValue'. Can not decide which one to pick.`);else if(f){const d=this.getFieldValue(c);!s.isListField()&&(!t.skipExist||d===void 0)&&this.updateStore(Cn(this.store,c,[...f][0].value))}}}})};let a;t.entities?a=t.entities:t.namePathList?(a=[],t.namePathList.forEach(o=>{const s=n.get(o);s&&a.push(...[...s].map(l=>l.entity))})):a=r,i(a)});V(this,"resetFields",t=>{this.warningUnhooked();const n=this.store;if(!t){this.updateStore(bs(this.initialValues)),this.resetWithFieldInitialValue(),this.notifyObservers(n,null,{type:"reset"}),this.notifyWatch();return}const r=t.map(ct);r.forEach(i=>{const a=this.getInitialValue(i);this.updateStore(Cn(this.store,i,a))}),this.resetWithFieldInitialValue({namePathList:r}),this.notifyObservers(n,r,{type:"reset"}),this.notifyWatch(r)});V(this,"setFields",t=>{this.warningUnhooked();const n=this.store,r=[];t.forEach(i=>{const{name:a,...o}=i,s=ct(a);r.push(s),"value"in o&&this.updateStore(Cn(this.store,s,o.value)),this.notifyObservers(n,[s],{type:"setField",data:i})}),this.notifyWatch(r)});V(this,"getFields",()=>this.getFieldEntities(!0).map(r=>{const i=r.getNamePath(),o={...r.getMeta(),name:i,value:this.getFieldValue(i)};return Object.defineProperty(o,"originRCField",{value:!0}),o}));V(this,"initEntityValue",t=>{const{initialValue:n}=t.props;if(n!==void 0){const r=t.getNamePath();En(this.store,r)===void 0&&this.updateStore(Cn(this.store,r,n))}});V(this,"isMergedPreserve",t=>(t!==void 0?t:this.preserve)??!0);V(this,"registerField",t=>{this.fieldEntities.push(t);const n=t.getNamePath();if(this.notifyWatch([n]),t.props.initialValue!==void 0){const r=this.store;this.resetWithFieldInitialValue({entities:[t],skipExist:!0}),this.notifyObservers(r,[t.getNamePath()],{type:"valueUpdate",source:"internal"})}return(r,i,a=[])=>{if(this.fieldEntities=this.fieldEntities.filter(o=>o!==t),!this.isMergedPreserve(i)&&(!r||a.length>1)){const o=r?void 0:this.getInitialValue(n);if(n.length&&this.getFieldValue(n)!==o&&this.fieldEntities.every(s=>!Xd(s.getNamePath(),n))){const s=this.store;this.updateStore(Cn(s,n,o,!0)),this.notifyObservers(s,[n],{type:"remove"}),this.triggerDependenciesUpdate(s,n)}}this.notifyWatch([n])}});V(this,"dispatch",t=>{switch(t.type){case"updateValue":{const{namePath:n,value:r}=t;this.updateValue(n,r);break}case"validateField":{const{namePath:n,triggerName:r}=t;this.validateFields([n],{triggerName:r});break}}});V(this,"notifyObservers",(t,n,r)=>{if(this.subscribable){const i={...r,store:this.getFieldsValue(!0)};this.getFieldEntities().forEach(({onStoreChange:a})=>{a(t,n,i)})}else this.forceRootUpdate()});V(this,"triggerDependenciesUpdate",(t,n)=>{const r=this.getDependencyChildrenFields(n);return r.length&&this.validateFields(r,{delayFrame:!0}),this.notifyObservers(t,r,{type:"dependenciesUpdate",relatedFields:[n,...r]}),r});V(this,"updateValue",(t,n)=>{const r=ct(t),i=this.store;this.updateStore(Cn(this.store,r,n)),this.notifyObservers(i,[r],{type:"valueUpdate",source:"internal"}),this.notifyWatch([r]);const a=this.triggerDependenciesUpdate(i,r),{onValuesChange:o}=this.callbacks;if(o){const s=Qw(this.store,[r]),l=this.getFieldsValue(),c=Cn(l,r,En(s,r));o(s,c)}this.triggerOnFieldsChange([r,...a])});V(this,"setFieldsValue",t=>{this.warningUnhooked();const n=this.store;if(t){const r=bs(this.store,t);this.updateStore(r)}this.notifyObservers(n,null,{type:"valueUpdate",source:"external"}),this.notifyWatch()});V(this,"setFieldValue",(t,n)=>{this.setFields([{name:t,value:n,errors:[],warnings:[],touched:!0}])});V(this,"getDependencyChildrenFields",t=>{const n=new Set,r=[],i=new Yo;this.getFieldEntities().forEach(o=>{const{dependencies:s}=o.props;(s||[]).forEach(l=>{const c=ct(l);i.update(c,(u=new Set)=>(u.add(o),u))})});const a=o=>{(i.get(o)||new Set).forEach(l=>{if(!n.has(l)){n.add(l);const c=l.getNamePath();l.isFieldDirty()&&c.length&&(r.push(c),a(c))}})};return a(t),r});V(this,"triggerOnFieldsChange",(t,n)=>{const{onFieldsChange:r}=this.callbacks;if(r){const i=this.getFields();if(n){const o=new Yo;n.forEach(({name:s,errors:l})=>{o.set(s,l)}),i.forEach(s=>{s.errors=o.get(s.name)||s.errors})}const a=i.filter(({name:o})=>Ns(t,o));a.length&&r(a,i)}});V(this,"validateFields",(t,n)=>{this.warningUnhooked();let r,i;Array.isArray(t)||typeof t=="string"||typeof n=="string"?(r=t,i=n):i=t;const a=!!r,o=a?r.map(ct):[],s=[...o],l=[],c=String(Date.now()),u=new Set,{recursive:f,dirty:d}=i||{};this.getFieldEntities(!0).forEach(S=>{const y=S.getNamePath();if(a||((!S.isList()||!o.some(g=>Xd(g,y,!0)))&&s.push(y),o.push(y)),!(!S.props.rules||!S.props.rules.length)&&!(d&&!S.isFieldDirty())&&(u.add(y.join(c)),!a||Ns(o,y,f))){const g=S.validateRules({validateMessages:{...Y$,...this.validateMessages},...i});l.push(g.then(()=>({name:y,errors:[],warnings:[]})).catch(p=>{var A;const b=[],w=[];return(A=p.forEach)==null||A.call(p,({rule:{warningOnly:E},errors:R})=>{E?w.push(...R):b.push(...R)}),b.length?Promise.reject({name:y,errors:b,warnings:w}):{name:y,errors:b,warnings:w}}))}});const m=cI(l);this.lastValidatePromise=m,m.catch(S=>S).then(S=>{const y=S.map(({name:g})=>g);this.notifyObservers(this.store,y,{type:"validateFinish"}),this.triggerOnFieldsChange(y,S)});const v=m.then(()=>this.lastValidatePromise===m?Promise.resolve(this.getFieldsValue(s)):Promise.reject([])).catch(S=>{var p,b;const y=S.filter(w=>w&&w.errors.length),g=(b=(p=y[0])==null?void 0:p.errors)==null?void 0:b[0];return Promise.reject({message:g,values:this.getFieldsValue(o),errorFields:y,outOfDate:this.lastValidatePromise!==m})});v.catch(S=>S);const x=o.filter(S=>u.has(S.join(c)));return this.triggerOnFieldsChange(x),v});V(this,"submit",()=>{this.warningUnhooked(),this.validateFields().then(t=>{const{onFinish:n}=this.callbacks;if(n)try{n(t)}catch(r){console.error(r)}}).catch(t=>{const{onFinishFailed:n}=this.callbacks;n&&n(t)})});this.forceRootUpdate=t}}function cx(e){const t=h.useRef(null),[,n]=h.useState({});if(!t.current)if(e)t.current=e;else{const r=()=>{n({})},i=new uI(r);t.current=i.getForm()}return[t.current]}const $v=h.createContext({triggerFormChange:()=>{},triggerFormFinish:()=>{},registerForm:()=>{},unregisterForm:()=>{}}),Z$=({validateMessages:e,onFormChange:t,onFormFinish:n,children:r})=>{const i=h.useContext($v),a=h.useRef({});return h.createElement($v.Provider,{value:{...i,validateMessages:{...i.validateMessages,...e},triggerFormChange:(o,s)=>{t&&t(o,{changedFields:s,forms:a.current}),i.triggerFormChange(o,s)},triggerFormFinish:(o,s)=>{n&&n(o,{values:s,forms:a.current}),i.triggerFormFinish(o,s)},registerForm:(o,s)=>{o&&(a.current={...a.current,[o]:s}),i.registerForm(o,s)},unregisterForm:o=>{const s={...a.current};delete s[o],a.current=s,i.unregisterForm(o)}}},r)};function Nv(){return Nv=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},Nv.apply(this,arguments)}const fI=({name:e,initialValues:t,fields:n,form:r,preserve:i,children:a,component:o="form",validateMessages:s,validateTrigger:l="onChange",onValuesChange:c,onFieldsChange:u,onFinish:f,onFinishFailed:d,clearOnDestroy:m,...v},x)=>{const S=h.useRef(null),y=h.useContext($v),[g]=cx(r),{useSubscribe:p,setInitialValues:b,setCallbacks:w,setValidateMessages:A,setPreserve:E,destroyForm:R}=g.getInternalHooks(ro);h.useImperativeHandle(x,()=>({...g,nativeElement:S.current})),h.useEffect(()=>(y.registerForm(e,g),()=>{y.unregisterForm(e)}),[y,g,e]),A({...y.validateMessages,...s}),w({onValuesChange:c,onFieldsChange:(j,...$)=>{y.triggerFormChange(e,j),u&&u(j,...$)},onFinish:j=>{y.triggerFormFinish(e,j),f&&f(j)},onFinishFailed:d}),E(i);const T=h.useRef(null);b(t,!T.current),T.current||(T.current=!0),h.useEffect(()=>()=>R(m),[]);let M;const O=typeof a=="function";if(O){const j=g.getFieldsValue(!0);M=a(j,g)}else M=a;p(!O);const N=h.useRef(null);h.useEffect(()=>{aI(N.current||[],n||[])||g.setFields(n||[]),N.current=n},[n,g]);const z=h.useMemo(()=>({...g,validateTrigger:l}),[g,l]),P=h.createElement(tu.Provider,{value:null},h.createElement(wo.Provider,{value:z},M));return o===!1?P:h.createElement(o,Nv({},v,{ref:S,onSubmit:j=>{j.preventDefault(),j.stopPropagation(),g.submit()},onReset:j=>{var $;j.preventDefault(),g.resetFields(),($=v.onReset)==null||$.call(v,j)}}),P)};function jp(e){try{return JSON.stringify(e)}catch{return Math.random()}}function J$(...e){const[t,n={}]=e,r=wF(n)?{form:n}:n,i=r.form,[a,o]=h.useState(()=>typeof t=="function"?t({}):void 0),s=h.useMemo(()=>jp(a),[a]),l=h.useRef(s);l.current=s;const c=h.useContext(wo),u=i||c,f=u&&u._init,{getFieldsValue:d,getInternalHooks:m}=u,{registerWatch:v}=m(ro),x=Xe((y,g)=>{const p=r.preserve?g??d(!0):y??d(),b=typeof t=="function"?t(p):En(p,ct(t));jp(a)!==jp(b)&&o(b)}),S=typeof t=="function"?t:JSON.stringify(t);return h.useEffect(()=>{f&&x()},[f,S]),h.useEffect(()=>f?v((g,p)=>{x(g,p)}):void 0,[f]),a}const dI=h.forwardRef(fI),yl=dI;yl.FormProvider=Z$;yl.Field=lx;yl.List=Q$;yl.useForm=cx;yl.useWatch=J$;const zi=h.createContext({labelAlign:"right",layout:"horizontal",itemRef:()=>{}}),eN=h.createContext(null),tN=e=>{const t=Ei(e,["prefixCls"]);return h.createElement(Z$,{...t})},ux=h.createContext({prefixCls:""}),Gn=h.createContext({}),nN=({children:e,status:t,override:n})=>{const r=h.useContext(Gn),i=h.useMemo(()=>{const a={...r};return n&&delete a.isFormItemInput,t&&(delete a.status,delete a.hasFeedback,delete a.feedbackIcon),a},[t,n,r]);return h.createElement(Gn.Provider,{value:i},e)},rN=h.createContext(void 0),jv=e=>{const{space:t,form:n,children:r}=e;if(!dr(r))return null;let i=r;return n&&(i=I.createElement(nN,{override:!0,status:!0},i)),t&&(i=I.createElement(N9,null,i)),i},hI=e=>{const{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},mI=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},pI=(e,t)=>{const{componentCls:n,gridColumns:r,antCls:i}=e,[a,o]=fr(i,"grid"),[,s]=fr(i,"col"),l={};for(let c=r;c>=0;c--)c===0?(l[`${n}${t}-${c}`]={display:"none"},l[`${n}-push-${c}`]={insetInlineStart:"auto"},l[`${n}-pull-${c}`]={insetInlineEnd:"auto"},l[`${n}${t}-push-${c}`]={insetInlineStart:"auto"},l[`${n}${t}-pull-${c}`]={insetInlineEnd:"auto"},l[`${n}${t}-offset-${c}`]={marginInlineStart:0},l[`${n}${t}-order-${c}`]={order:0}):(l[`${n}${t}-${c}`]=[{[a("display")]:"block",display:"block"},{display:o("display"),flex:`0 0 ${c/r*100}%`,maxWidth:`${c/r*100}%`}],l[`${n}${t}-push-${c}`]={insetInlineStart:`${c/r*100}%`},l[`${n}${t}-pull-${c}`]={insetInlineEnd:`${c/r*100}%`},l[`${n}${t}-offset-${c}`]={marginInlineStart:`${c/r*100}%`},l[`${n}${t}-order-${c}`]={order:c});return l[`${n}${t}-flex`]={flex:s(`${t.replace(/-/,"")}-flex`)},l},Dv=(e,t)=>pI(e,t),gI=(e,t,n)=>({[`@media (min-width: ${be(t)})`]:{...Dv(e,n)}}),yI=()=>({}),vI=()=>({}),bI=mn("Grid",hI,yI),xI=e=>({xs:e.screenXSMin,sm:e.screenSMMin,md:e.screenMDMin,lg:e.screenLGMin,xl:e.screenXLMin,xxl:e.screenXXLMin,xxxl:e.screenXXXLMin}),SI=mn("Grid",e=>{const t=Dt(e,{gridColumns:24}),n=xI(t);return delete n.xs,[mI(t),Dv(t,""),Dv(t,"-xs"),Object.keys(n).map(r=>gI(t,n[r],`-${r}`)).reduce((r,i)=>({...r,...i}),{})]},vI),CI=I.createContext({}),Yd=(e,t,n)=>k({[`${e}-status-success`]:t==="success",[`${e}-status-warning`]:t==="warning",[`${e}-status-error`]:t==="error",[`${e}-status-validating`]:t==="validating",[`${e}-has-feedback`]:n}),fx=(e,t)=>t||e,iN=(e,t,n)=>{const{variant:r,[e]:i}=h.useContext(qe),a=h.useContext(rN),o=i==null?void 0:i.variant;let s;typeof t<"u"?s=t:n===!1?s="borderless":s=a??o??r??"outlined";const l=E8.includes(s);return[s,l]};var wI={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"};function zv(){return zv=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},zv.apply(this,arguments)}const EI=(e,t)=>h.createElement(Dr,zv({},e,{ref:t,icon:wI})),AI=h.forwardRef(EI),Ws=["xxxl","xxl","xl","lg","md","sm","xs"],aN=[].concat(Ws).reverse(),TI=e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`,xxxl:`(min-width: ${e.screenXXXL}px)`}),MI=e=>{const t=e,n=[].concat(Ws).reverse();return n.forEach((r,i)=>{const a=r.toUpperCase(),o=`screen${a}Min`,s=`screen${a}`;if(!(t[o]<=t[s]))throw new Error(`${o}<=${s} fails : !(${t[o]}<=${t[s]})`);if(i<n.length-1){const l=`screen${a}Max`;if(!(t[s]<=t[l]))throw new Error(`${s}<=${l} fails : !(${t[s]}<=${t[l]})`);const u=`screen${n[i+1].toUpperCase()}Min`;if(!(t[l]<=t[u]))throw new Error(`${l}<=${u} fails : !(${t[l]}<=${t[u]})`)}}),e},RI=()=>{const[,e]=Na(),t=TI(MI(e));return I.useMemo(()=>{const n=new Map;let r=-1,i={};return{responsiveMap:t,matchHandlers:{},dispatch(a){return i=a,n.forEach(o=>{o(i)}),n.size>=1},subscribe(a){return n.size||this.register(),r+=1,n.set(r,a),a(i),r},unsubscribe(a){n.delete(a),n.size||this.unregister()},register(){Object.entries(t).forEach(([a,o])=>{const s=({matches:c})=>{this.dispatch({...i,[a]:c})},l=window.matchMedia(o);typeof(l==null?void 0:l.addEventListener)=="function"&&l.addEventListener("change",s),this.matchHandlers[o]={mql:l,listener:s},s(l)})},unregister(){Object.values(t).forEach(a=>{var s;const o=this.matchHandlers[a];typeof((s=o==null?void 0:o.mql)==null?void 0:s.removeEventListener)=="function"&&o.mql.removeEventListener("change",o==null?void 0:o.listener)}),n.clear()}}},[t])};function OI(e=!0,t={}){const n=h.useRef(t),[,r]=rH(),i=RI();return Ot(()=>{const a=i.subscribe(o=>{n.current=o,e&&r()});return()=>i.unsubscribe(a)},[]),n.current}const oN=e=>{const{children:t,prefixCls:n,id:r,classNames:i,styles:a,className:o,style:s}=e;return h.createElement("div",{id:r,className:k(`${n}-container`,i==null?void 0:i.container,o),style:{...a==null?void 0:a.container,...s},role:"tooltip"},typeof t=="function"?t():t)},Wo={shiftX:64,adjustY:1},Ko={adjustX:1,shiftY:!0},Kn=[0,0],$I={left:{points:["cr","cl"],overflow:Ko,offset:[-4,0],targetOffset:Kn},right:{points:["cl","cr"],overflow:Ko,offset:[4,0],targetOffset:Kn},top:{points:["bc","tc"],overflow:Wo,offset:[0,-4],targetOffset:Kn},bottom:{points:["tc","bc"],overflow:Wo,offset:[0,4],targetOffset:Kn},topLeft:{points:["bl","tl"],overflow:Wo,offset:[0,-4],targetOffset:Kn},leftTop:{points:["tr","tl"],overflow:Ko,offset:[-4,0],targetOffset:Kn},topRight:{points:["br","tr"],overflow:Wo,offset:[0,-4],targetOffset:Kn},rightTop:{points:["tl","tr"],overflow:Ko,offset:[4,0],targetOffset:Kn},bottomRight:{points:["tr","br"],overflow:Wo,offset:[0,4],targetOffset:Kn},rightBottom:{points:["bl","br"],overflow:Ko,offset:[4,0],targetOffset:Kn},bottomLeft:{points:["tl","bl"],overflow:Wo,offset:[0,4],targetOffset:Kn},leftBottom:{points:["br","bl"],overflow:Ko,offset:[-4,0],targetOffset:Kn}};function Bv(){return Bv=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},Bv.apply(this,arguments)}const NI=h.forwardRef((e,t)=>{const{trigger:n=["hover"],mouseEnterDelay:r=0,mouseLeaveDelay:i=.1,prefixCls:a="rc-tooltip",children:o,onVisibleChange:s,afterVisibleChange:l,motion:c,placement:u="right",align:f={},destroyOnHidden:d=!1,defaultVisible:m,getTooltipContainer:v,arrowContent:x,overlay:S,id:y,showArrow:g=!0,classNames:p,styles:b,...w}=e,A=Jb(y),E=h.useRef(null);h.useImperativeHandle(t,()=>E.current);const R={...w};"visible"in e&&(R.popupVisible=e.visible);const T=h.useMemo(()=>{if(!g)return!1;const O=g===!0?{}:g;return{...O,className:k(O.className,p==null?void 0:p.arrow),style:{...O.style,...b==null?void 0:b.arrow},content:O.content??x}},[g,p==null?void 0:p.arrow,b==null?void 0:b.arrow,x]),M=({open:O})=>{const N=h.Children.only(o),z={"aria-describedby":S&&O?A:void 0};return h.cloneElement(N,z)};return h.createElement(_H,Bv({popupClassName:p==null?void 0:p.root,prefixCls:a,popup:h.createElement(oN,{key:"content",prefixCls:a,id:A,classNames:p,styles:b},S),action:n,builtinPlacements:$I,popupPlacement:u,ref:E,popupAlign:f,getPopupContainer:v,onOpenChange:s,afterOpenChange:l,popupMotion:c,defaultPopupVisible:m,autoDestroy:d,mouseLeaveDelay:i,popupStyle:b==null?void 0:b.root,mouseEnterDelay:r,arrow:T,uniqueContainerClassName:p==null?void 0:p.uniqueContainer,uniqueContainerStyle:b==null?void 0:b.uniqueContainer},R),M)});function jI(e){const{sizePopupArrow:t,borderRadiusXS:n,borderRadiusOuter:r}=e,i=t/2,a=0,o=i,s=r*1/Math.sqrt(2),l=i-r*(1-1/Math.sqrt(2)),c=i-n*(1/Math.sqrt(2)),u=r*(Math.sqrt(2)-1)+n*(1/Math.sqrt(2)),f=2*i-c,d=u,m=2*i-s,v=l,x=2*i-a,S=o,y=i*Math.sqrt(2)+r*(Math.sqrt(2)-2),g=r*(Math.sqrt(2)-1),p=`polygon(${g}px 100%, 50% ${g}px, ${2*i-g}px 100%, ${g}px 100%)`,b=`path('M ${a} ${o} A ${r} ${r} 0 0 0 ${s} ${l} L ${c} ${u} A ${n} ${n} 0 0 1 ${f} ${d} L ${m} ${v} A ${r} ${r} 0 0 0 ${x} ${S} Z')`;return{arrowShadowWidth:y,arrowPath:b,arrowPolygon:p}}const DI=(e,t,n)=>{const{sizePopupArrow:r,arrowPolygon:i,arrowPath:a,arrowShadowWidth:o,borderRadiusXS:s,calc:l}=e;return{pointerEvents:"none",width:r,height:r,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:r,height:l(r).div(2).equal(),background:t,clipPath:{_multi_value_:!0,value:[i,a]},content:'""'},"&::after":{content:'""',position:"absolute",width:o,height:o,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${be(s)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:n,zIndex:0,background:"transparent"}}},sN=8;function lN(e){const{contentRadius:t,limitVerticalRadius:n}=e,r=t>12?t+2:12;return{arrowOffsetHorizontal:r,arrowOffsetVertical:n?sN:r}}function pf(e,t){return e?t:{}}const zI=(e,t,n)=>{const{componentCls:r,boxShadowPopoverArrow:i,arrowOffsetVertical:a,arrowOffsetHorizontal:o,antCls:s}=e,[l]=fr(s,"tooltip"),{arrowDistance:c=0,arrowPlacement:u={left:!0,right:!0,top:!0,bottom:!0}}={};return{[r]:{[`${r}-arrow`]:[{position:"absolute",zIndex:1,display:"block",...DI(e,t,i),"&:before":{background:t}}],...pf(!!u.top,{[[`&-placement-top > ${r}-arrow`,`&-placement-topLeft > ${r}-arrow`,`&-placement-topRight > ${r}-arrow`].join(",")]:{bottom:c,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{[l("arrow-offset-x")]:o,[`> ${r}-arrow`]:{left:{_skip_check_:!0,value:o}}},"&-placement-topRight":{[l("arrow-offset-x")]:`calc(100% - ${be(o)})`,[`> ${r}-arrow`]:{right:{_skip_check_:!0,value:o}}}}),...pf(!!u.bottom,{[[`&-placement-bottom > ${r}-arrow`,`&-placement-bottomLeft > ${r}-arrow`,`&-placement-bottomRight > ${r}-arrow`].join(",")]:{top:c,transform:"translateY(-100%)"},[`&-placement-bottom > ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{[l("arrow-offset-x")]:o,[`> ${r}-arrow`]:{left:{_skip_check_:!0,value:o}}},"&-placement-bottomRight":{[l("arrow-offset-x")]:`calc(100% - ${be(o)})`,[`> ${r}-arrow`]:{right:{_skip_check_:!0,value:o}}}}),...pf(!!u.left,{[[`&-placement-left > ${r}-arrow`,`&-placement-leftTop > ${r}-arrow`,`&-placement-leftBottom > ${r}-arrow`].join(",")]:{right:{_skip_check_:!0,value:c},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${r}-arrow`]:{top:a},[`&-placement-leftBottom > ${r}-arrow`]:{bottom:a}}),...pf(!!u.right,{[[`&-placement-right > ${r}-arrow`,`&-placement-rightTop > ${r}-arrow`,`&-placement-rightBottom > ${r}-arrow`].join(",")]:{left:{_skip_check_:!0,value:c},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${r}-arrow`]:{top:a},[`&-placement-rightBottom > ${r}-arrow`]:{bottom:a}})}}};function BI(e,t,n,r){if(r===!1)return{adjustX:!1,adjustY:!1};const i=r&&typeof r=="object"?r:{},a={};switch(e){case"top":case"bottom":a.shiftX=t.arrowOffsetHorizontal*2+n,a.shiftY=!0,a.adjustY=!0;break;case"left":case"right":a.shiftY=t.arrowOffsetVertical*2+n,a.shiftX=!0,a.adjustX=!0;break}const o={...a,...i};return o.shiftX||(o.adjustX=!0),o.shiftY||(o.adjustY=!0),o}const Jw={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},PI={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},LI=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function _I(e){const{arrowWidth:t,autoAdjustOverflow:n,arrowPointAtCenter:r,offset:i,borderRadius:a}=e,o=t/2,s={},l=lN({contentRadius:a,limitVerticalRadius:!0});return Object.keys(Jw).forEach(c=>{const f={...r&&PI[c]||Jw[c],offset:[0,0],dynamicInset:!0};switch(s[c]=f,LI.has(c)&&(f.autoArrow=!1),c){case"top":case"topLeft":case"topRight":f.offset[1]=-o-i;break;case"bottom":case"bottomLeft":case"bottomRight":f.offset[1]=o+i;break;case"left":case"leftTop":case"leftBottom":f.offset[0]=-o-i;break;case"right":case"rightTop":case"rightBottom":f.offset[0]=o+i;break}if(r)switch(c){case"topLeft":case"bottomLeft":f.offset[0]=-l.arrowOffsetHorizontal-o;break;case"topRight":case"bottomRight":f.offset[0]=l.arrowOffsetHorizontal+o;break;case"leftTop":case"rightTop":f.offset[1]=-l.arrowOffsetHorizontal*2+o;break;case"leftBottom":case"rightBottom":f.offset[1]=l.arrowOffsetHorizontal*2-o;break}f.overflow=BI(c,l,t,n),f.htmlRegion="visibleFirst"}),s}const VI=I.createContext(!1),HI=(e,t)=>{const n=r=>typeof r=="boolean"?{show:r}:r||{};return I.useMemo(()=>{const r=n(e),i=n(t);return{...i,...r,show:r.show??i.show??!0}},[e,t])},eE="50%",FI=e=>{const{calc:t,componentCls:n,tooltipMaxWidth:r,tooltipColor:i,tooltipBg:a,tooltipBorderRadius:o,zIndexPopup:s,controlHeight:l,boxShadowSecondary:c,paddingSM:u,paddingXS:f,arrowOffsetHorizontal:d,sizePopupArrow:m,antCls:v}=e,[x,S]=fr(v,"tooltip"),y=t(o).add(m).add(d).equal(),p={minWidth:t(o).mul(2).add(m).equal(),minHeight:l,padding:`${be(e.calc(u).div(2).equal())} ${be(f)}`,color:S("overlay-color",i),textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:a,borderRadius:o,boxShadow:c,boxSizing:"border-box"},b={[x("valid-offset-x")]:S("arrow-offset-x","var(--arrow-x)"),transformOrigin:[S("valid-offset-x",eE),`var(--arrow-y, ${eE})`].join(" ")};return[{[n]:{...Ti(e),position:"absolute",zIndex:s,display:"block",width:"max-content",maxWidth:r,visibility:"visible",...b,"&-hidden":{display:"none"},[x("arrow-background-color")]:a,[`${n}-container`]:[p,H9(e,!0)],[`&:has(~ ${n}-unique-container)`]:{[`${n}-container`]:{border:"none",background:"transparent",boxShadow:"none"}},[["&-placement-topLeft","&-placement-topRight","&-placement-bottomLeft","&-placement-bottomRight"].join(",")]:{minWidth:y},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${n}-inner`]:{borderRadius:e.min(o,sN)}},[`${n}-content`]:{position:"relative"},...oV(e,(w,{darkColor:A})=>({[`&${n}-${w}`]:{[`${n}-container`]:{backgroundColor:A},[`${n}-arrow`]:{[x("arrow-background-color")]:A}}})),"&-rtl":{direction:"rtl"}}},zI(e,S("arrow-background-color")),{[`${n}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}},{[`${n}-unique-container`]:{...p,...b,position:"absolute",zIndex:t(s).sub(1).equal(),"&-hidden":{display:"none"},"&-visible":{transition:`all ${e.motionDurationSlow}`}}}]},II=e=>({zIndexPopup:e.zIndexPopupBase+70,maxWidth:250,...lN({contentRadius:e.borderRadius,limitVerticalRadius:!0}),...jI(Dt(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)}))}),cN=(e,t,n=!0)=>mn("Tooltip",i=>{const{borderRadius:a,colorTextLightSolid:o,colorBgSpotlight:s,maxWidth:l}=i,c=Dt(i,{tooltipMaxWidth:l,tooltipColor:o,tooltipBorderRadius:a,tooltipBg:s});return[FI(c),Q9(i,"zoom-big-fast")]},II,{resetStyle:!1,injectStyle:n})(e,t),UI=Ma.map(e=>`${e}-inverse`);function qI(e,t=!0){return t?[].concat(He(UI),He(Ma)).includes(e):Ma.includes(e)}const uN=(e,t,n)=>{const r=qI(n),[i]=fr(e,"tooltip"),a=k({[`${t}-${n}`]:n&&r}),o={},s={},l=rF(n).toRgb(),u=(.299*l.r+.587*l.g+.114*l.b)/255<.5?"#FFF":"#000";return n&&!r&&(o.background=n,o[i("overlay-color")]=u,s[i("arrow-background-color")]=n),{className:a,overlayStyle:o,arrowStyle:s}},GI=e=>{const{prefixCls:t,className:n,placement:r="top",title:i,color:a,overlayInnerStyle:o,classNames:s,styles:l}=e,{getPrefixCls:c}=h.useContext(qe),u=c("tooltip",t),f=c(),d=zr(u),[m,v]=cN(u,d),x=uN(f,u,a),S=x.arrowStyle,y=h.useMemo(()=>({container:{...o,...x.overlayStyle}}),[o,x.overlayStyle]),g={...e,placement:r},[p,b]=mr([s],[y,l],{props:g}),w=k(d,m,v,u,`${u}-pure`,`${u}-placement-${r}`,n,x.className);return h.createElement("div",{className:w,style:S},h.createElement("div",{className:`${u}-arrow`}),h.createElement(oN,{...e,className:m,prefixCls:u,classNames:p,styles:b},i))},kI=h.forwardRef((e,t)=>{const{prefixCls:n,openClassName:r,getTooltipContainer:i,color:a,children:o,afterOpenChange:s,arrow:l,destroyTooltipOnHide:c,destroyOnHidden:u,title:f,overlay:d,trigger:m,builtinPlacements:v,autoAdjustOverflow:x=!0,motion:S,getPopupContainer:y,placement:g="top",mouseEnterDelay:p=.1,mouseLeaveDelay:b=.1,rootClassName:w,styles:A,classNames:E,onOpenChange:R,overlayInnerStyle:T,overlayStyle:M,overlayClassName:O,...N}=e,[,z]=Na(),{getPopupContainer:P,getPrefixCls:j,direction:$,className:D,style:B,classNames:_,styles:L,arrow:q,trigger:K}=jr("tooltip"),te=HI(l,q),ee=te.show,W=m||K||"hover",X=y||P,Q=u??!!c,G=h.useContext(VI),Z=h.useRef(null),ae=()=>{var Le;(Le=Z.current)==null||Le.forceAlign()};h.useImperativeHandle(t,()=>{var Le,ht;return{forceAlign:ae,nativeElement:(Le=Z.current)==null?void 0:Le.nativeElement,popupElement:(ht=Z.current)==null?void 0:ht.popupElement}});const[se,J]=No(e.defaultOpen??!1,e.open),ce=!f&&!d&&f!==0,fe=Le=>{J(ce?!1:Le),!ce&&R&&R(Le)},U=h.useMemo(()=>v||_I({arrowPointAtCenter:(te==null?void 0:te.pointAtCenter)??!1,autoAdjustOverflow:x,arrowWidth:ee?z.sizePopupArrow:0,borderRadius:z.borderRadius,offset:z.marginXXS}),[te,v,z,ee,x]),re=h.useMemo(()=>f===0?f:d||f||"",[d,f]),F=h.createElement(jv,{space:!0,form:!0},typeof re=="function"?re():re),ne={...e,trigger:W,builtinPlacements:U,getPopupContainer:X,destroyOnHidden:Q},[Y,ge]=mr([_,E],[L,A],{props:ne}),oe=j("tooltip",n),ue=j(),at=e["data-popover-inject"];let Ut=se;(!("open"in e)&&ce||G)&&(Ut=!1);const We=h.isValidElement(o)&&!M$(o)?o:h.createElement("span",null,o),ot=We.props,pr=!ot.className||typeof ot.className=="string"?k(ot.className,r||`${oe}-open`):ot.className,Br=zr(oe),[Pr,Pe]=cN(oe,Br,!at),zt=uN(ue,oe,a),Me=zt.arrowStyle,pn=k(Br,Pr,Pe),gr=k(O,{[`${oe}-rtl`]:$==="rtl"},zt.className,w,pn,D,Y.root),[Et,Ke]=uH("Tooltip",N.zIndex),Oe={...ge.container,...T,...zt.overlayStyle},ye=h.createElement(NI,{unique:!0,...N,zIndex:Et,showArrow:ee,placement:g,mouseEnterDelay:p,mouseLeaveDelay:b,prefixCls:oe,classNames:{root:gr,container:Y.container,arrow:Y.arrow,uniqueContainer:k(pn,Y.container)},styles:{root:{...Me,...ge.root,...B,...M},container:Oe,uniqueContainer:Oe,arrow:ge.arrow},ref:Z,overlay:F,visible:Ut,onVisibleChange:fe,afterVisibleChange:s,arrowContent:h.createElement("span",{className:`${oe}-arrow-content`}),motion:{motionName:C9(ue,"zoom-big-fast",typeof(S==null?void 0:S.motionName)=="string"?S==null?void 0:S.motionName:void 0),motionDeadline:1e3},trigger:W,builtinPlacements:U,getTooltipContainer:X,destroyOnHidden:Q},Ut?ji(We,{className:pr}):We);return h.createElement(m$.Provider,{value:Ke},ye)}),dx=kI;dx._InternalPanelDoNotUseOrYouWillBeFired=GI;dx.UniqueProvider=R$;const XI=["parentNode"],YI="form_item";function gc(e){return e===void 0||e===!1?[]:Array.isArray(e)?e:[e]}function fN(e,t){if(!e.length)return;const n=e.join("_");return t?`${t}_${n}`:XI.includes(n)?`${YI}_${n}`:n}function dN(e,t,n,r,i,a){let o=r;return a!==void 0?o=a:n.validating?o="validating":e.length?o="error":t.length?o="warning":(n.touched||i&&n.validated)&&(o="success"),o}function tE(e){return gc(e).join("_")}function nE(e,t){const n=t.getFieldInstance(e),r=Ih(n);if(r)return r;const i=fN(gc(e),t.__INTERNAL__.name);if(i)return document.getElementById(i)}function hN(e){const[t]=cx(),n=h.useRef({}),r=h.useMemo(()=>e??{...t,__INTERNAL__:{itemRef:i=>a=>{const o=tE(i);a?n.current[o]=a:delete n.current[o]}},scrollToField:(i,a={})=>{const{focus:o,...s}=a,l=nE(i,r);l&&(hH(l,{scrollMode:"if-needed",block:"nearest",...s}),o&&r.focusField(i))},focusField:i=>{var o,s;const a=r.getFieldInstance(i);typeof(a==null?void 0:a.focus)=="function"?a.focus():(s=(o=nE(i,r))==null?void 0:o.focus)==null||s.call(o)},getFieldInstance:i=>{const a=tE(i);return n.current[a]}},[e,t]);return[r]}function Pv(){return Pv=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},Pv.apply(this,arguments)}const WI=h.forwardRef((e,t)=>{const{prefixCls:n="rc-checkbox",className:r,style:i,checked:a,disabled:o,defaultChecked:s=!1,type:l="checkbox",title:c,onChange:u,...f}=e,d=h.useRef(null),m=h.useRef(null),[v,x]=No(s,a);h.useImperativeHandle(t,()=>({focus:g=>{var p;(p=d.current)==null||p.focus(g)},blur:()=>{var g;(g=d.current)==null||g.blur()},input:d.current,nativeElement:m.current}));const S=k(n,r,{[`${n}-checked`]:v,[`${n}-disabled`]:o}),y=g=>{o||("checked"in e||x(g.target.checked),u==null||u({target:{...e,type:l,checked:g.target.checked},stopPropagation(){g.stopPropagation()},preventDefault(){g.preventDefault()},nativeEvent:g.nativeEvent}))};return h.createElement("span",{className:S,title:c,style:i,ref:m},h.createElement("input",Pv({},f,{className:`${n}-input`,ref:d,onChange:y,disabled:o,checked:!!v,type:l})))});function KI(e){const t=I.useRef(null),n=()=>{nn.cancel(t.current),t.current=null};return[()=>{n(),t.current=nn(()=>{t.current=null})},a=>{t.current&&(a.stopPropagation(),n()),e==null||e(a)}]}function Wh(e){return Dt(e,{inputAffixPadding:e.paddingXXS})}const Kh=e=>{const{controlHeight:t,fontSize:n,lineHeight:r,lineWidth:i,controlHeightSM:a,controlHeightLG:o,fontSizeLG:s,lineHeightLG:l,paddingSM:c,controlPaddingHorizontalSM:u,controlPaddingHorizontal:f,colorFillAlter:d,colorPrimaryHover:m,colorPrimary:v,controlOutlineWidth:x,controlOutline:S,colorErrorOutline:y,colorWarningOutline:g,colorBgContainer:p,inputFontSize:b,inputFontSizeLG:w,inputFontSizeSM:A}=e,E=b||n,R=A||E,T=w||s,M=Math.round((t-E*r)/2*10)/10-i,O=Math.round((a-R*r)/2*10)/10-i,N=Math.ceil((o-T*l)/2*10)/10-i;return{paddingBlock:Math.max(M,0),paddingBlockSM:Math.max(O,0),paddingBlockLG:Math.max(N,0),paddingInline:c-i,paddingInlineSM:u-i,paddingInlineLG:f-i,addonBg:d,activeBorderColor:v,hoverBorderColor:m,activeShadow:`0 0 0 ${x}px ${S}`,errorActiveShadow:`0 0 0 ${x}px ${y}`,warningActiveShadow:`0 0 0 ${x}px ${g}`,hoverBg:p,activeBg:p,inputFontSize:E,inputFontSizeLG:T,inputFontSizeSM:R}},QI=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),hx=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":{...QI(Dt(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled}))}}),mN=(e,t)=>({background:e.colorBgContainer,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:t.borderColor,"&:hover":{borderColor:t.hoverBorderColor,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:t.activeBorderColor,boxShadow:t.activeShadow,outline:0,backgroundColor:e.activeBg}}),rE=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:{...mN(e,t),[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}},[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:t.borderColor}}),ZI=(e,t)=>({"&-outlined":{...mN(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow}),[`&${e.componentCls}-disabled, &[disabled]`]:{...hx(e)},...rE(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError}),...rE(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning}),...t}}),iE=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:t.addonBorderColor,color:t.addonColor}}}),JI=e=>({"&-outlined":{[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${be(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},...iE(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText}),...iE(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText}),[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:{...hx(e)}}}}),e7=(e,t)=>{const{componentCls:n}=e;return{"&-borderless":{background:"transparent",border:"none",paddingBlock:e.calc(e.paddingBlock).add(e.lineWidth).equal(),[`&${n}-sm, &${n}-affix-wrapper-sm`]:{paddingBlock:e.calc(e.paddingBlockSM).add(e.lineWidth).equal()},[`&${n}-lg, &${n}-affix-wrapper-lg`]:{paddingBlock:e.calc(e.paddingBlockLG).add(e.lineWidth).equal()},"&:focus, &:focus-within":{outline:"none"},[`&${n}-disabled, &[disabled]`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${n}-status-error`]:{"&, & input, & textarea":{color:e.colorError}},[`&${n}-status-warning`]:{"&, & input, & textarea":{color:e.colorWarning}},...t}}},pN=(e,t)=>({background:t.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:(t==null?void 0:t.inputColor)??"unset"},"&:hover":{background:t.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:t.activeBorderColor,backgroundColor:e.activeBg}}),aE=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:{...pN(e,t),[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}}}),t7=(e,t)=>({"&-filled":{...pN(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor,inputColor:e.colorText}),[`&${e.componentCls}-disabled, &[disabled]`]:{...hx(e)},...aE(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError}),...aE(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning}),...t}}),oE=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{background:t.addonBg,color:t.addonColor}}}),n7=e=>({"&-filled":{[`${e.componentCls}-group-addon`]:{background:e.colorFillTertiary,"&:last-child":{position:"static"}},...oE(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText}),...oE(e,{status:"warning",addonBg:e.colorWarningBg,addonColor:e.colorWarningText}),[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${be(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${be(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${be(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${be(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${be(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${be(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}}}),gN=(e,t)=>({background:e.colorBgContainer,borderWidth:`${be(e.lineWidth)} 0`,borderStyle:`${e.lineType} none`,borderColor:`transparent transparent ${t.borderColor} transparent`,borderRadius:0,"&:hover":{borderColor:`transparent transparent ${t.hoverBorderColor} transparent`,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:`transparent transparent ${t.activeBorderColor} transparent`,outline:0,backgroundColor:e.activeBg}}),sE=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:{...gN(e,t),[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}},[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:`transparent transparent ${t.borderColor} transparent`}}),r7=(e,t)=>({"&-underlined":{...gN(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow}),[`&${e.componentCls}-disabled, &[disabled]`]:{color:e.colorTextDisabled,boxShadow:"none",cursor:"not-allowed","&:hover":{borderColor:`transparent transparent ${e.colorBorder} transparent`}},"input[disabled], textarea[disabled]":{cursor:"not-allowed"},...sE(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError}),...sE(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning}),...t}}),i7=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),yN=e=>{const{paddingBlockLG:t,lineHeightLG:n,borderRadiusLG:r,paddingInlineLG:i}=e;return{padding:`${be(t)} ${be(i)}`,fontSize:e.inputFontSizeLG,lineHeight:n,borderRadius:r}},vN=e=>({padding:`${be(e.paddingBlockSM)} ${be(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),bN=(e,t={})=>({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${be(e.paddingBlock)} ${be(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`,...i7(e.colorTextPlaceholder),"&-lg":{...yN(e),...t.largeStyle},"&-sm":{...vN(e),...t.smallStyle},"&-rtl, &-textarea-rtl":{direction:"rtl"}}),a7=e=>{const{componentCls:t,antCls:n}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:{...yN(e)},[`&-sm ${t}, &-sm > ${t}-group-addon`]:{...vN(e)},[`&-lg ${n}-select-single`]:{height:e.controlHeightLG},[`&-sm ${n}-select-single`]:{height:e.controlHeightSM},[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${be(e.paddingInline)}`,color:e.colorText,fontWeight:"normal",fontSize:e.inputFontSize,textAlign:"center",borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${n}-select`]:{margin:`${be(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${be(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${n}-select-single:not(${n}-select-customize-input):not(${n}-pagination-size-changer)`]:{backgroundColor:"inherit",border:`${be(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}},[`${n}-cascader-picker`]:{margin:`-9px ${be(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${n}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[t]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${n}-select`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${n}-select`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0},"&:not(:first-child)":{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:{display:"block",...nV(),[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[`
- & > ${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-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-auto-complete:first-child ${t},
- & > ${n}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child,
- & > ${n}-select:last-child,
- & > ${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`]:{}}}}},o7=e=>{const{componentCls:t,controlHeightSM:n,lineWidth:r,calc:i}=e,o=i(n).sub(i(r).mul(2)).sub(16).div(2).equal();return{[t]:{...Ti(e),...bN(e),...ZI(e),...t7(e),...e7(e),...r7(e),'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:o,paddingBottom:o}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{appearance:"none"}}}},s7=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 ${be(e.inputAffixPadding)}`}}}},l7=e=>{const{componentCls:t,inputAffixPadding:n,colorTextDescription:r,motionDurationSlow:i,colorIcon:a,colorIconHover:o,iconCls:s}=e,l=`${t}-affix-wrapper`,c=`${t}-affix-wrapper-disabled`;return{[l]:{...bN(e),display:"inline-flex","&-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}},...s7(e),[`${s}${t}-password-icon`]:{color:a,cursor:"pointer",transition:`all ${i}`,"&:hover":{color:o}}},[`${t}-underlined`]:{borderRadius:0},[c]:{[`${s}${t}-password-icon`]:{color:a,cursor:"not-allowed","&:hover":{color:a}}}}},c7=e=>{const{componentCls:t,borderRadiusLG:n,borderRadiusSM:r}=e;return{[`${t}-group`]:{...Ti(e),...a7(e),"&-rtl":{direction:"rtl"},"&-wrapper":{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}},...JI(e),...n7(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}}}}}},u7=e=>{const{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}},xN=mn(["Input","Shared"],e=>{const t=Dt(e,Wh(e));return[o7(t),l7(t)]},Kh,{resetFont:!1}),SN=mn(["Input","Component"],e=>{const t=Dt(e,Wh(e));return[c7(t),u7(t),sx(t,{focus:!0,focusElCls:`${t.componentCls}-affix-wrapper-focused`})]},Kh,{resetFont:!1}),f7=e=>{const{checkboxCls:t,checkboxSize:n,lineWidth:r}=e,i=`${t}-wrapper`;return[{[`${t}-group`]:{...Ti(e),display:"inline-flex",flexWrap:"wrap",columnGap:e.marginXS,[`> ${e.antCls}-row`]:{flex:1}},[i]:{...Ti(e),display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${i}`]:{marginInlineStart:0},[`&${i}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}},[t]:{...Ti(e),position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",alignSelf:"center",boxSizing:"border-box",display:"block",width:n,height:n,direction:"ltr",backgroundColor:e.colorBgContainer,border:`${be(r)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,borderCollapse:"separate",transition:`all ${e.motionDurationSlow}`,flex:"none",...Yf(),"&:after":{boxSizing:"border-box",position:"absolute",top:`calc(${n} / 2 - ${r})`,insetInlineStart:`calc(${n} / 4 - ${r})`,display:"table",width:e.calc(n).div(14).mul(5).equal(),height:e.calc(n).div(14).mul(8).equal(),border:`${be(e.lineWidthBold)} solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`,...Yf()},[`${t}-input`]:{position:"absolute",inset:`calc(-1 * (${r}))`,zIndex:1,cursor:"pointer",opacity:0,margin:0},[`&:has(${t}-input:focus-visible)`]:qO(e),"& + span":{paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS}}},{[`
- ${i}:not(${i}-disabled),
- ${t}:not(${t}-disabled)
- `]:{[`&:hover ${t}`]:{borderColor:e.colorPrimary}},[`${i}:not(${i}-disabled)`]:{[`&:hover ${t}-checked:not(${t}-disabled)`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"}}},{[`${t}-checked`]:{backgroundColor:e.colorPrimary,borderColor:e.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`,...Yf()},[`&:not(${t}-disabled):hover`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"}}},{[t]:{"&-indeterminate":{backgroundColor:e.colorBgContainer,borderColor:e.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:e.calc(e.fontSizeLG).div(2).equal(),height:e.calc(e.fontSizeLG).div(2).equal(),backgroundColor:e.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'},"&:hover":{backgroundColor:e.colorBgContainer,borderColor:e.colorPrimary}}}},{[`${i}-disabled`]:{cursor:"not-allowed"},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:"not-allowed",pointerEvents:"none"},background:e.colorBgContainerDisabled,borderColor:e.colorBorder,"&:after":{borderColor:e.colorTextDisabled},"& + span":{color:e.colorTextDisabled},[`&${t}-indeterminate::after`]:{background:e.colorTextDisabled}}}]};function d7(e,t){const n=Dt(t,{checkboxCls:`.${e}`,checkboxSize:t.controlInteractiveSize});return f7(n)}const CN=mn("Checkbox",(e,{prefixCls:t})=>[d7(t,e)]),wN=I.createContext(null),h7=(e,t)=>{const{prefixCls:n,children:r,indeterminate:i=!1,onMouseEnter:a,onMouseLeave:o,skipGroup:s=!1,disabled:l,rootClassName:c,className:u,style:f,classNames:d,styles:m,name:v,value:x,checked:S,defaultChecked:y,onChange:g,...p}=e,{getPrefixCls:b,direction:w,className:A,style:E,classNames:R,styles:T}=jr("checkbox"),M=h.useContext(wN),{isFormItemInput:O}=h.useContext(Gn),N=h.useContext(Di),z=((M==null?void 0:M.disabled)||l)??N,[P,j]=No(y,S);let $=P;const D=Xe(J=>{j(J.target.checked),g==null||g(J),!s&&(M!=null&&M.toggleOption)&&M.toggleOption({label:r,value:x})});M&&!s&&($=M.value.includes(x));const B=h.useRef(null),_=Eu(t,B);h.useEffect(()=>{if(!(s||!M))return M.registerValue(x),()=>{M.cancelValue(x)}},[x,s]),h.useEffect(()=>{var J;(J=B.current)!=null&&J.input&&(B.current.input.indeterminate=i)},[i]);const L=b("checkbox",n),q=zr(L),[K,te]=CN(L,q),ee={...p},W={...e,indeterminate:i,disabled:z,checked:$},[X,Q]=mr([R,d],[T,m],{props:W}),G=k(`${L}-wrapper`,{[`${L}-rtl`]:w==="rtl",[`${L}-wrapper-checked`]:$,[`${L}-wrapper-disabled`]:z,[`${L}-wrapper-in-form-item`]:O},A,u,X.root,c,te,q,K),Z=k(X.icon,{[`${L}-indeterminate`]:i},ix,K),[ae,se]=KI(ee.onClick);return h.createElement(V$,{component:"Checkbox",disabled:z},h.createElement("label",{className:G,style:{...Q.root,...E,...f},onMouseEnter:a,onMouseLeave:o,onClick:ae},h.createElement(WI,{...ee,name:!s&&M?M.name:v,checked:$,onClick:se,onChange:D,prefixCls:L,className:Z,style:Q.icon,disabled:z,ref:_,value:x}),dr(r)&&h.createElement("span",{className:k(`${L}-label`,X.label),style:Q.label},r)))},EN=h.forwardRef(h7),m7=h.forwardRef((e,t)=>{const{defaultValue:n,children:r,options:i=[],prefixCls:a,className:o,rootClassName:s,style:l,onChange:c,role:u="group",...f}=e,{getPrefixCls:d,direction:m}=h.useContext(qe),[v,x]=h.useState(f.value||n||[]),[S,y]=h.useState([]);h.useEffect(()=>{"value"in f&&x(f.value||[])},[f.value]);const g=h.useMemo(()=>i.map(j=>typeof j=="string"||typeof j=="number"?{label:j,value:j}:j),[i]),p=j=>{y($=>$.filter(D=>D!==j))},b=j=>{y($=>[].concat(He($),[j]))},w=j=>{const $=v.indexOf(j.value),D=He(v);$===-1?D.push(j.value):D.splice($,1),"value"in f||x(D),c==null||c(D.filter(B=>S.includes(B)).sort((B,_)=>{const L=g.findIndex(K=>K.value===B),q=g.findIndex(K=>K.value===_);return L-q}))},A=d("checkbox",a),E=`${A}-group`,R=zr(A),[T,M]=CN(A,R),O=Ei(f,["value","disabled"]),N=i.length?g.map(j=>h.createElement(EN,{prefixCls:A,key:j.value.toString(),disabled:"disabled"in j?j.disabled:f.disabled,value:j.value,checked:v.includes(j.value),onChange:j.onChange,className:k(`${E}-item`,j.className),style:j.style,title:j.title,id:j.id,required:j.required},j.label)):r,z=h.useMemo(()=>({toggleOption:w,value:v,disabled:f.disabled,name:f.name,registerValue:b,cancelValue:p}),[w,v,f.disabled,f.name,b,p]),P=k(E,{[`${E}-rtl`]:m==="rtl"},o,s,M,R,T);return h.createElement("div",{className:P,style:l,role:u,...O,ref:t},h.createElement(wN.Provider,{value:z},N))}),mx=EN;mx.Group=m7;mx.__ANT_CHECKBOX=!0;const AN=h.createContext({}),p7=e=>typeof e=="number"&&!Number.isNaN(e);function lE(e){return e==="auto"?"1 1 auto":p7(e)?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}const TN=h.forwardRef((e,t)=>{const{getPrefixCls:n,direction:r}=h.useContext(qe),{gutter:i,wrap:a}=h.useContext(AN),{prefixCls:o,span:s,order:l,offset:c,push:u,pull:f,className:d,children:m,flex:v,style:x,...S}=e,y=n("col",o),g=n(),[p,b]=SI(y),[w]=fr(g,"col"),A={};let E={};aN.forEach(M=>{let O={};const N=e[M];typeof N=="number"?O.span=N:typeof N=="object"&&(O=N||{}),delete S[M],E={...E,[`${y}-${M}-${O.span}`]:O.span!==void 0,[`${y}-${M}-order-${O.order}`]:O.order||O.order===0,[`${y}-${M}-offset-${O.offset}`]:O.offset||O.offset===0,[`${y}-${M}-push-${O.push}`]:O.push||O.push===0,[`${y}-${M}-pull-${O.pull}`]:O.pull||O.pull===0,[`${y}-rtl`]:r==="rtl"},O.flex&&(E[`${y}-${M}-flex`]=!0,A[w(`${M}-flex`)]=lE(O.flex))});const R=k(y,{[`${y}-${s}`]:s!==void 0,[`${y}-order-${l}`]:l,[`${y}-offset-${c}`]:c,[`${y}-push-${u}`]:u,[`${y}-pull-${f}`]:f},d,E,p,b),T={};if(i!=null&&i[0]){const M=typeof i[0]=="number"?`${i[0]/2}px`:`calc(${i[0]} / 2)`;T.paddingInline=M}return v&&(T.flex=lE(v),a===!1&&!T.minWidth&&(T.minWidth=0)),h.createElement("div",{...S,style:{...T,...x,...A},className:R,ref:t},m)});function g7(e,t){const n=[void 0,void 0],r=Array.isArray(e)?e:[e,void 0],i=t||{xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0,xxxl:!0};return r.forEach((a,o)=>{if(typeof a=="object"&&a!==null)for(let s=0;s<Ws.length;s++){const l=Ws[s];if(i[l]&&a[l]!==void 0){n[o]=a[l];break}}else n[o]=a}),n}function cE(e,t){const[n,r]=h.useState(typeof e=="string"?e:""),i=()=>{if(typeof e=="string"&&r(e),typeof e=="object")for(let a=0;a<Ws.length;a++){const o=Ws[a];if(!t||!t[o])continue;const s=e[o];if(s!==void 0){r(s);return}}};return h.useEffect(()=>{i()},[JSON.stringify(e),t]),n}const y7=h.forwardRef((e,t)=>{const{prefixCls:n,justify:r,align:i,className:a,style:o,children:s,gutter:l=0,wrap:c,...u}=e,{getPrefixCls:f,direction:d}=h.useContext(qe),m=OI(!0,null),v=cE(i,m),x=cE(r,m),S=f("row",n),[y,g]=bI(S),p=g7(l,m),b=k(S,{[`${S}-no-wrap`]:c===!1,[`${S}-${x}`]:x,[`${S}-${v}`]:v,[`${S}-rtl`]:d==="rtl"},a,y,g),w={};if(p!=null&&p[0]){const T=typeof p[0]=="number"?`${p[0]/-2}px`:`calc(${p[0]} / -2)`;w.marginInline=T}const[A,E]=p;w.rowGap=E;const R=h.useMemo(()=>({gutter:[A,E],wrap:c}),[A,E,c]);return h.createElement(AN.Provider,{value:R},h.createElement("div",{...u,className:b,style:{...w,...o},ref:t},s))}),v7=e=>{const{componentCls:t,borderRadius:n,paddingSM:r,colorBorder:i,paddingXS:a,fontSizeLG:o,fontSizeSM:s,borderRadiusLG:l,borderRadiusSM:c,colorBgContainerDisabled:u,lineWidth:f,antCls:d}=e,[m,v]=fr(d,"space");return{[t]:[{display:"inline-flex",alignItems:"center",gap:0,paddingInline:r,margin:0,borderWidth:f,borderStyle:"solid",borderRadius:n,"&:hover":{zIndex:0},[`&${t}-disabled`]:{color:e.colorTextDisabled},"&-large":{fontSize:o,borderRadius:l},"&-small":{paddingInline:a,borderRadius:c,fontSize:s},"&-compact-last-item":{borderEndStartRadius:0,borderStartStartRadius:0},"&-compact-first-item":{borderEndEndRadius:0,borderStartEndRadius:0},"&-compact-item:not(:first-child):not(:last-child)":{borderRadius:0},"&-compact-item:not(:last-child)":{borderInlineEndWidth:0},"&-compact-item:not(:first-child)":{borderInlineStartWidth:0}},{[m("addon-border-color")]:i,[m("addon-background")]:u,[m("addon-border-color-outlined")]:i,[m("addon-background-filled")]:u,borderColor:v("addon-border-color"),background:v("addon-background"),"&-variant-outlined":{[m("addon-border-color")]:v("addon-border-color-outlined")},"&-variant-filled":{[m("addon-border-color")]:"transparent",[m("addon-background")]:v("addon-background-filled"),[`&${t}-disabled`]:{[m("addon-border-color")]:i,[m("addon-background")]:u}},"&-variant-borderless":{border:"none",background:"transparent"},"&-variant-underlined":{border:"none",background:"transparent"}},{"&-status-error":{[m("addon-border-color-outlined")]:e.colorError,[m("addon-background-filled")]:e.colorErrorBg,color:e.colorError},"&-status-warning":{[m("addon-border-color-outlined")]:e.colorWarning,[m("addon-background-filled")]:e.colorWarningBg,color:e.colorWarning}}]}},b7=mn(["Space","Addon"],e=>[v7(e),sx(e,{focus:!1})]),x7=I.forwardRef((e,t)=>{const{className:n,children:r,style:i,prefixCls:a,variant:o="outlined",disabled:s,status:l,...c}=e,{getPrefixCls:u,direction:f}=I.useContext(qe),d=u("space-addon",a),[m,v]=b7(d),{compactItemClassnames:x,compactSize:S}=Ru(d,f),y=Yd(d,l),g=k(d,m,x,v,`${d}-variant-${o}`,y,{[`${d}-${S}`]:S,[`${d}-disabled`]:s},n);return I.createElement("div",{ref:t,className:g,style:i,...c},r)});function S7(e){return!!(e.addonBefore||e.addonAfter)}function C7(e){return!!(e.prefix||e.suffix||e.allowClear)}function uE(e,t,n){const r=t.cloneNode(!0),i=Object.create(e,{target:{value:r},currentTarget:{value:r}});return r.value=n,typeof t.selectionStart=="number"&&typeof t.selectionEnd=="number"&&(r.selectionStart=t.selectionStart,r.selectionEnd=t.selectionEnd),r.setSelectionRange=(...a)=>{t.setSelectionRange(...a)},i}function Wd(e,t,n,r){if(!n)return;let i=t;if(t.type==="click"){i=uE(t,e,""),n(i);return}if(e.type!=="file"&&r!==void 0){i=uE(t,e,r),n(i);return}n(i)}function Lv(){return Lv=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},Lv.apply(this,arguments)}const MN=I.forwardRef((e,t)=>{var _,L,q;const{inputElement:n,children:r,prefixCls:i,prefix:a,suffix:o,addonBefore:s,addonAfter:l,className:c,style:u,disabled:f,readOnly:d,focused:m,triggerFocus:v,allowClear:x,value:S,handleReset:y,hidden:g,classes:p,classNames:b,dataAttrs:w,styles:A,components:E,onClear:R}=e,T=r??n,M=(E==null?void 0:E.affixWrapper)||"span",O=(E==null?void 0:E.groupWrapper)||"span",N=(E==null?void 0:E.wrapper)||"span",z=(E==null?void 0:E.groupAddon)||"span",P=h.useRef(null),j=K=>{var te;(te=P.current)!=null&&te.contains(K.target)&&(v==null||v())},$=C7(e);let D=h.cloneElement(T,{value:S,className:k((_=T.props)==null?void 0:_.className,!$&&(b==null?void 0:b.variant))||null});const B=h.useRef(null);if(I.useImperativeHandle(t,()=>({nativeElement:B.current||P.current})),$){let K=null;if(x){const X=!f&&!d&&S,Q=`${i}-clear-icon`,G=typeof x=="object"&&(x!=null&&x.clearIcon)?x.clearIcon:"✖";K=I.createElement("button",{type:"button",tabIndex:-1,onClick:Z=>{y==null||y(Z),R==null||R()},onMouseDown:Z=>Z.preventDefault(),className:k(Q,{[`${Q}-hidden`]:!X,[`${Q}-has-suffix`]:!!o})},G)}const te=`${i}-affix-wrapper`,ee=k(te,{[`${i}-disabled`]:f,[`${te}-disabled`]:f,[`${te}-focused`]:m,[`${te}-readonly`]:d,[`${te}-input-with-clear-btn`]:o&&x&&S},p==null?void 0:p.affixWrapper,b==null?void 0:b.affixWrapper,b==null?void 0:b.variant),W=(o||x)&&I.createElement("span",{className:k(`${i}-suffix`,b==null?void 0:b.suffix),style:A==null?void 0:A.suffix},K,o);D=I.createElement(M,Lv({className:ee,style:A==null?void 0:A.affixWrapper,onClick:j},w==null?void 0:w.affixWrapper,{ref:P}),a&&I.createElement("span",{className:k(`${i}-prefix`,b==null?void 0:b.prefix),style:A==null?void 0:A.prefix},a),D,W)}if(S7(e)){const K=`${i}-group`,te=`${K}-addon`,ee=`${K}-wrapper`,W=k(`${i}-wrapper`,K,p==null?void 0:p.wrapper,b==null?void 0:b.wrapper),X=k(ee,{[`${ee}-disabled`]:f},p==null?void 0:p.group,b==null?void 0:b.groupWrapper);D=I.createElement(O,{className:X,ref:B},I.createElement(N,{className:W},s&&I.createElement(z,{className:te},s),D,l&&I.createElement(z,{className:te},l)))}return I.cloneElement(D,{className:k((L=D.props)==null?void 0:L.className,c)||null,style:{...(q=D.props)==null?void 0:q.style,...u},hidden:g})});function RN(e,t){return h.useMemo(()=>{let n={};t&&(n.show=typeof t=="object"&&t.formatter?t.formatter:!!t),n={...n,...e};const{show:r,...i}=n;return{...i,show:!!r,showFormatter:typeof r=="function"?r:void 0,strategy:i.strategy||(a=>a.length)}},[e,t])}function Kd(){return Kd=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},Kd.apply(this,arguments)}const w7=h.forwardRef((e,t)=>{const{autoComplete:n,onChange:r,onFocus:i,onBlur:a,onPressEnter:o,onKeyDown:s,onKeyUp:l,prefixCls:c="rc-input",disabled:u,htmlSize:f,className:d,maxLength:m,suffix:v,showCount:x,count:S,type:y="text",classes:g,classNames:p,styles:b,onCompositionStart:w,onCompositionEnd:A,...E}=e,[R,T]=h.useState(!1),M=h.useRef(!1),O=h.useRef(!1),N=h.useRef(null),z=h.useRef(null),P=U=>{N.current&&k$(N.current,U)},[j,$]=No(e.defaultValue,e.value),D=j==null?"":String(j),[B,_]=h.useState(null),L=RN(S,x),q=L.max||m,K=L.strategy(D),te=!!q&&K>q;h.useImperativeHandle(t,()=>{var U;return{focus:P,blur:()=>{var re;(re=N.current)==null||re.blur()},setSelectionRange:(re,F,ne)=>{var Y;(Y=N.current)==null||Y.setSelectionRange(re,F,ne)},select:()=>{var re;(re=N.current)==null||re.select()},input:N.current,nativeElement:((U=z.current)==null?void 0:U.nativeElement)||N.current}}),h.useEffect(()=>{O.current&&(O.current=!1),T(U=>U&&u?!1:U)},[u]);const ee=(U,re,F)=>{var Y,ge;let ne=re;if(!M.current&&L.exceedFormatter&&L.max&&L.strategy(re)>L.max)ne=L.exceedFormatter(re,{max:L.max}),re!==ne&&_([((Y=N.current)==null?void 0:Y.selectionStart)||0,((ge=N.current)==null?void 0:ge.selectionEnd)||0]);else if(F.source==="compositionEnd")return;$(ne),N.current&&Wd(N.current,U,r,ne)};h.useEffect(()=>{var U;B&&((U=N.current)==null||U.setSelectionRange(...B))},[B]);const W=U=>{ee(U,U.target.value,{source:"change"})},X=U=>{M.current=!1,ee(U,U.currentTarget.value,{source:"compositionEnd"}),A==null||A(U)},Q=U=>{o&&U.key==="Enter"&&!O.current&&!U.nativeEvent.isComposing&&(O.current=!0,o(U)),s==null||s(U)},G=U=>{U.key==="Enter"&&(O.current=!1),l==null||l(U)},Z=U=>{T(!0),i==null||i(U)},ae=U=>{O.current&&(O.current=!1),T(!1),a==null||a(U)},se=U=>{$(""),P(),N.current&&Wd(N.current,U,r)},J=te&&`${c}-out-of-range`,ce=()=>{const U=Ei(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]);return I.createElement("input",Kd({autoComplete:n},U,{onChange:W,onFocus:Z,onBlur:ae,onKeyDown:Q,onKeyUp:G,className:k(c,{[`${c}-disabled`]:u},p==null?void 0:p.input),style:b==null?void 0:b.input,ref:N,size:f,type:y,onCompositionStart:re=>{M.current=!0,w==null||w(re)},onCompositionEnd:X}))},fe=()=>{const U=Number(q)>0;if(v||L.show){const re=L.showFormatter?L.showFormatter({value:D,count:K,maxLength:q}):`${K}${U?` / ${q}`:""}`;return I.createElement(I.Fragment,null,L.show&&I.createElement("span",{className:k(`${c}-show-count-suffix`,{[`${c}-show-count-has-suffix`]:!!v},p==null?void 0:p.count),style:{...b==null?void 0:b.count}},re),v)}return null};return I.createElement(MN,Kd({},E,{prefixCls:c,className:k(d,J),handleReset:se,value:D,focused:R,triggerFocus:P,suffix:fe(),disabled:u,classes:g,classNames:p,styles:b,ref:z}),ce())}),ON=e=>{let t;return typeof e=="object"&&(e!=null&&e.clearIcon)?t=e:e&&(t={clearIcon:I.createElement(Yb,null)}),t};function $N(e,t){const n=h.useRef([]),r=()=>{n.current.push(setTimeout(()=>{var i,a,o,s;(i=e.current)!=null&&i.input&&((a=e.current)==null?void 0:a.input.getAttribute("type"))==="password"&&((o=e.current)!=null&&o.input.hasAttribute("value"))&&((s=e.current)==null||s.input.removeAttribute("value"))}))};return h.useEffect(()=>(t&&r(),()=>n.current.forEach(i=>{i&&clearTimeout(i)})),[]),r}function E7(e){return!!(e.prefix||e.suffix||e.allowClear||e.showCount)}const Qh=h.forwardRef((e,t)=>{const{prefixCls:n,bordered:r=!0,status:i,size:a,disabled:o,onBlur:s,onFocus:l,suffix:c,allowClear:u,addonAfter:f,addonBefore:d,className:m,style:v,styles:x,rootClassName:S,onChange:y,classNames:g,variant:p,...b}=e,{getPrefixCls:w,direction:A,allowClear:E,autoComplete:R,className:T,style:M,classNames:O,styles:N}=jr("input"),z=w("input",n),P=h.useRef(null),j=zr(z),[$,D]=xN(z,S);SN(z,j);const{compactSize:B,compactItemClassnames:_}=Ru(z,A),L=jo(Y=>a??B??Y),q=I.useContext(Di),K=o??q,te={...e,size:L,disabled:K},[ee,W]=mr([O,g],[N,x],{props:te}),{status:X,hasFeedback:Q,feedbackIcon:G}=h.useContext(Gn),Z=fx(X,i),ae=E7(e)||!!Q;h.useRef(ae);const se=$N(P,!0),J=Y=>{se(),s==null||s(Y)},ce=Y=>{se(),l==null||l(Y)},fe=Y=>{se(),y==null||y(Y)},U=(Q||c)&&I.createElement(I.Fragment,null,c,Q&&G),re=ON(u??E),[F,ne]=iN("input",p,r);return I.createElement(w7,{ref:_i(t,P),prefixCls:z,autoComplete:R,...b,disabled:K,onBlur:J,onFocus:ce,style:{...W.root,...M,...v},styles:W,suffix:U,allowClear:re,className:k(m,S,D,j,_,T,ee.root),onChange:fe,addonBefore:d&&I.createElement(jv,{form:!0,space:!0},d),addonAfter:f&&I.createElement(jv,{form:!0,space:!0},f),classNames:{...ee,input:k({[`${z}-sm`]:L==="small",[`${z}-lg`]:L==="large",[`${z}-rtl`]:A==="rtl"},ee.input,$),variant:k({[`${z}-${F}`]:ne},Yd(z,Z)),affixWrapper:k({[`${z}-affix-wrapper-sm`]:L==="small",[`${z}-affix-wrapper-lg`]:L==="large",[`${z}-affix-wrapper-rtl`]:A==="rtl"},$),wrapper:k({[`${z}-group-rtl`]:A==="rtl"},$),groupWrapper:k({[`${z}-group-wrapper-sm`]:L==="small",[`${z}-group-wrapper-lg`]:L==="large",[`${z}-group-wrapper-rtl`]:A==="rtl",[`${z}-group-wrapper-${F}`]:ne},Yd(`${z}-group-wrapper`,Z,Q),$)}})});function fE(e){return["small","middle","medium","large"].includes(e)}function dE(e){return e?typeof e=="number"&&!Number.isNaN(e):!1}const NN=I.createContext({latestIndex:0}),A7=NN.Provider,T7=e=>{const{className:t,prefix:n,index:r,children:i,separator:a,style:o,classNames:s,styles:l}=e,{latestIndex:c}=h.useContext(NN);return dr(i)?h.createElement(h.Fragment,null,h.createElement("div",{className:t,style:o},i),r<c&&a&&h.createElement("span",{className:k(`${n}-item-separator`,s==null?void 0:s.separator),style:l==null?void 0:l.separator},a)):null},M7=e=>{const{componentCls:t,antCls:n}=e;return{[t]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${t}-item:empty`]:{display:"none"},[`${t}-item > ${n}-badge-not-a-wrapper:only-child`]:{display:"block"}}}},R7=e=>{const{componentCls:t}=e;return{[t]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-medium, &-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-medium, &-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}},O7=mn("Space",e=>{const t=Dt(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[M7(t),R7(t)]},()=>({}),{resetStyle:!1}),$7=h.forwardRef((e,t)=>{const{getPrefixCls:n,direction:r,size:i,className:a,style:o,classNames:s,styles:l}=jr("space"),{size:c=i??"small",align:u,className:f,rootClassName:d,children:m,direction:v,orientation:x,prefixCls:S,split:y,separator:g,style:p,vertical:b,wrap:w=!1,classNames:A,styles:E,...R}=e,[T,M]=Array.isArray(c)?c:[c,c],O=fE(M),N=fE(T),z=dE(M),P=dE(T),j=Ta(m,{keepEmpty:!0}),[$,D]=h$(x,b,v),B=u===void 0&&!D?"center":u,_=g??y,L=n("space",S),[q,K]=O7(L),te={...e,size:c,orientation:$,align:B},[ee,W]=mr([s,A],[l,E],{props:te}),X=k(L,a,q,`${L}-${$}`,{[`${L}-rtl`]:r==="rtl",[`${L}-align-${B}`]:B,[`${L}-gap-row-${M}`]:O,[`${L}-gap-col-${T}`]:N},f,d,K,ee.root),Q=k(`${L}-item`,ee.item),G=j.map((se,J)=>{const ce=(se==null?void 0:se.key)||`${Q}-${J}`;return h.createElement(T7,{prefix:L,classNames:ee,styles:W,className:Q,key:ce,index:J,separator:_,style:W.item},se)}),Z=h.useMemo(()=>({latestIndex:j.reduce((J,ce,fe)=>dr(ce)?fe:J,0)}),[j]);if(j.length===0)return null;const ae={};return w&&(ae.flexWrap="wrap"),!N&&P&&(ae.columnGap=T),!O&&z&&(ae.rowGap=M),h.createElement("div",{ref:t,className:X,style:{...ae,...W.root,...o,...p},...R},h.createElement(A7,{value:Z},G))}),px=$7;px.Compact=H$;px.Addon=x7;const N7=(e,t)=>dr(e)?typeof e=="object"&&!h.isValidElement(e)?{...t,...e}:{...t,title:e}:null;function Qd(e){const[t,n]=h.useState(e);return h.useEffect(()=>{const r=setTimeout(()=>{n(e)},e.length?0:10);return()=>{clearTimeout(r)}},[e]),t}const j7=e=>{const{componentCls:t,motionDurationFast:n,motionEaseInOut:r}=e,i=`${t}-show-help`,a=`${t}-show-help-item`;return{[i]:{transition:`opacity ${n} ${r}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[a]:{overflow:"hidden",transition:`${["height","opacity","transform"].map(o=>`${o} ${n} ${r}`).join(", ")} !important`,[`&${a}-appear, &${a}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${a}-leave-active`]:{transform:"translateY(-5px)"}}}}},D7=e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${be(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${be(e.controlOutlineWidth)} ${e.controlOutline}`},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),hE=(e,t)=>{const{formItemCls:n}=e;return{[n]:{[`${n}-label > label`]:{height:t},[`${n}-control-input`]:{minHeight:t}}}},z7=e=>{const{componentCls:t}=e;return{[t]:{...Ti(e),...D7(e),[`${t}-text`]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":{...hE(e,e.controlHeightSM)},"&-large":{...hE(e,e.controlHeightLG)}}}},B7=e=>{const{formItemCls:t,iconCls:n,rootPrefixCls:r,antCls:i,labelRequiredMarkColor:a,labelColor:o,labelFontSize:s,labelHeight:l,labelColonMarginInlineStart:c,labelColonMarginInlineEnd:u,itemMarginBottom:f}=e,[d]=fr(i,"grid");return{[t]:{...Ti(e),marginBottom:f,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
- &-hidden${i}-row`]:{display:"none"},"&-has-warning":{[`${t}-split`]:{color:e.colorError}},"&-has-error":{[`${t}-split`]:{color:e.colorWarning}},[`${t}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:e.lineHeight,whiteSpace:"unset","> label":{verticalAlign:"middle",textWrap:"balance"}},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:l,color:o,fontSize:s,[`> ${n}`]:{fontSize:e.fontSize,verticalAlign:"top"},[`&${t}-required`]:{"&::before":{display:"inline-block",marginInlineEnd:e.marginXXS,color:a,fontSize:e.fontSize,fontFamily:"sans-serif",lineHeight:1,content:'"*"'},[`&${t}-required-mark-hidden, &${t}-required-mark-optional`]:{"&::before":{display:"none"}}},[`${t}-optional`]:{display:"inline-block",marginInlineStart:e.marginXXS,color:e.colorTextDescription,[`&${t}-required-mark-hidden`]:{display:"none"}},[`${t}-tooltip`]:{color:e.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:e.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:c,marginInlineEnd:u},[`&${t}-no-colon::after`]:{content:'"\\a0"'}}},[`${t}-control`]:{[d("display")]:"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${r}-col-'"]):not([class*="' ${r}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:e.controlHeight,"&-content":{flex:"auto",maxWidth:"100%",[`&:has(> ${i}-switch:only-child, > ${i}-rate:only-child)`]:{display:"flex",alignItems:"center"}}}},[t]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:e.controlHeightSM,transition:`color ${e.motionDurationMid} ${e.motionEaseOut}`},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},[`&-with-help ${t}-explain`]:{height:"auto",opacity:1},[`${t}-feedback-icon`]:{fontSize:e.fontSize,textAlign:"center",visibility:"visible",animationName:ax,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:"none","&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}}}},Ka=e=>({padding:e.verticalLabelPadding,margin:e.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),P7=e=>{const{antCls:t,formItemCls:n}=e;return{[`${n}-horizontal`]:{[`${n}-label`]:{flexGrow:0},[`${n}-control`]:{flex:"1 1 0",minWidth:0},[`${n}-label[class$='-24'], ${n}-label[class*='-24 ']`]:{[`& + ${n}-control`]:{minWidth:"unset"}},[`${t}-col-24${n}-label,
- ${t}-col-xl-24${n}-label`]:Ka(e)}}},L7=e=>{const{componentCls:t,formItemCls:n,inlineItemMarginBottom:r}=e;return{[`${t}-inline`]:{display:"flex",flexWrap:"wrap",[`${n}-inline`]:{flex:"none",marginInlineEnd:e.margin,marginBottom:r,"&-row":{flexWrap:"nowrap"},[`> ${n}-label,
- > ${n}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${n}-label`]:{flex:"none"},[`${t}-text`]:{display:"inline-block"},[`${n}-has-feedback`]:{display:"inline-block"}}}}},_7=e=>{const{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${n} ${n}-label`]:Ka(e),[`${t}:not(${t}-inline)`]:{[n]:{flexWrap:"wrap",[`${n}-label, ${n}-control`]:{[`&:not([class*=" ${r}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},V7=e=>{const{componentCls:t,formItemCls:n,antCls:r}=e;return{[`${n}-vertical`]:{[`${n}-row`]:{flexDirection:"column"},[`${n}-label > label`]:{height:"auto"},[`${n}-control`]:{width:"100%"},[`${n}-label,
- ${r}-col-24${n}-label,
- ${r}-col-xl-24${n}-label`]:Ka(e)},[`@media (max-width: ${be(e.screenXSMax)})`]:[_7(e),{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-xs-24${n}-label`]:Ka(e)}}}],[`@media (max-width: ${be(e.screenSMMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-sm-24${n}-label`]:Ka(e)}}},[`@media (max-width: ${be(e.screenMDMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-md-24${n}-label`]:Ka(e)}}},[`@media (max-width: ${be(e.screenLGMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-lg-24${n}-label`]:Ka(e)}}}}},H7=e=>({labelRequiredMarkColor:e.colorError,labelColor:e.colorTextHeading,labelFontSize:e.fontSize,labelHeight:e.controlHeight,labelColonMarginInlineStart:e.marginXXS/2,labelColonMarginInlineEnd:e.marginXS,itemMarginBottom:e.marginLG,verticalLabelPadding:`0 0 ${e.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),jN=(e,t)=>Dt(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:t}),gx=mn("Form",(e,{rootPrefixCls:t})=>{const n=jN(e,t);return[z7(n),B7(n),j7(n),P7(n),L7(n),V7(n),L9(n),ax]},H7,{order:-1e3}),mE=[];function Dp(e,t,n,r=0){return{key:typeof e=="string"?e:`${t}-${r}`,error:e,errorStatus:n}}const DN=({help:e,helpStatus:t,errors:n=mE,warnings:r=mE,className:i,fieldId:a,onVisibleChanged:o})=>{const{prefixCls:s}=h.useContext(ux),l=`${s}-item-explain`,c=zr(s),[u,f]=gx(s,c),d=h.useMemo(()=>Pw(s),[s]),m=Qd(n),v=Qd(r),x=h.useMemo(()=>dr(e)?[Dp(e,"help",t)]:[].concat(He(m.map((g,p)=>Dp(g,"error","error",p))),He(v.map((g,p)=>Dp(g,"warning","warning",p)))),[e,t,m,v]),S=h.useMemo(()=>{const g={};return x.forEach(({key:p})=>{g[p]=(g[p]||0)+1}),x.map((p,b)=>({...p,key:g[p.key]>1?`${p.key}-fallback-${b}`:p.key}))},[x]),y={};return a&&(y.id=`${a}_help`),h.createElement(ja,{motionDeadline:d.motionDeadline,motionName:`${s}-show-help`,visible:!!S.length,onVisibleChanged:o},g=>{const{className:p,style:b}=g;return h.createElement("div",{...y,className:k(l,p,f,c,i,u),style:b},h.createElement(u$,{keys:S,...Pw(s),motionName:`${s}-show-help-item`,component:!1},w=>{const{key:A,error:E,errorStatus:R,className:T,style:M}=w;return h.createElement("div",{key:A,className:k(T,{[`${l}-${R}`]:R}),style:M},E)}))})},F7=(e,t)=>{const n=h.useContext(Di),{getPrefixCls:r,direction:i,requiredMark:a,colon:o,scrollToFirstError:s,className:l,style:c,styles:u,classNames:f,tooltip:d}=jr("form"),{prefixCls:m,className:v,rootClassName:x,size:S,disabled:y=n,form:g,colon:p,labelAlign:b,labelWrap:w,labelCol:A,wrapperCol:E,layout:R="horizontal",scrollToFirstError:T,requiredMark:M,onFinishFailed:O,name:N,style:z,feedbackIcons:P,variant:j,classNames:$,styles:D,tooltip:B,..._}=e,L=jo(S),q=h.useContext(g$),K=h.useMemo(()=>M!==void 0?M:a!==void 0?a:!0,[M,a]),te=p??o,ee={...d,...B},W=r("form",m),X=zr(W),[Q,G]=gx(W,X),Z={...e,size:L,disabled:y,layout:R,colon:te,requiredMark:K},[ae,se]=mr([f,$],[u,D],{props:Z}),J=k(W,`${W}-${R}`,{[`${W}-hide-required-mark`]:K===!1,[`${W}-rtl`]:i==="rtl",[`${W}-large`]:L==="large",[`${W}-small`]:L==="small"},G,X,Q,l,v,x,ae.root),[ce]=hN(g),{__INTERNAL__:fe}=ce;fe.name=N;const U=h.useMemo(()=>({name:N,labelAlign:b,labelCol:A,labelWrap:w,wrapperCol:E,layout:R,colon:te,requiredMark:K,itemRef:fe.itemRef,form:ce,feedbackIcons:P,tooltip:ee,classNames:ae,styles:se}),[N,b,A,E,R,te,K,ce,P,ae,se,ee]),re=h.useRef(null);h.useImperativeHandle(t,()=>{var Y;return{...ce,nativeElement:(Y=re.current)==null?void 0:Y.nativeElement}});const F=(Y,ge)=>{if(Y){let oe={block:"nearest"};typeof Y=="object"&&(oe={...oe,...Y}),ce.scrollToField(ge,oe)}},ne=Y=>{if(O==null||O(Y),Y.errorFields.length){const ge=Y.errorFields[0].name;if(T!==void 0){F(T,ge);return}s!==void 0&&F(s,ge)}};return h.createElement(rN.Provider,{value:j},h.createElement(O$,{disabled:y},h.createElement(Co.Provider,{value:L},h.createElement(tN,{validateMessages:q},h.createElement(zi.Provider,{value:U},h.createElement(nN,{status:!0},h.createElement(yl,{id:N,..._,name:N,onFinishFailed:ne,form:ce,ref:re,style:{...se==null?void 0:se.root,...c,...z},className:J})))))))},I7=h.forwardRef(F7);function U7(e){if(typeof e=="function")return e;const t=Ta(e);return t.length<=1?t[0]:t}const zN=()=>{const{status:e,errors:t=[],warnings:n=[]}=h.useContext(Gn);return{status:e,errors:t,warnings:n}};zN.Context=Gn;function q7(e){const[t,n]=h.useState(e),r=h.useRef(null),i=h.useRef([]),a=h.useRef(!1);h.useEffect(()=>(a.current=!1,()=>{a.current=!0,nn.cancel(r.current),r.current=null}),[]);function o(s){a.current||(r.current===null&&(i.current=[],r.current=nn(()=>{r.current=null,n(l=>{let c=l;return i.current.forEach(u=>{c=u(c)}),c})})),i.current.push(s))}return[t,o]}function G7(){const{itemRef:e}=h.useContext(zi),t=h.useRef({});function n(r,i){const a=i&&typeof i=="object"&&fl(i),o=r.join("_");return(t.current.name!==o||t.current.originRef!==a)&&(t.current.name=o,t.current.originRef=a,t.current.ref=_i(e(r),a)),t.current.ref}return n}const k7=e=>{const{formItemCls:t}=e;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${t}-control`]:{display:"flex"}}}},X7=XO(["Form","item-item"],(e,{rootPrefixCls:t})=>{const n=jN(e,t);return k7(n)}),Y7=24,W7=e=>{const{prefixCls:t,status:n,labelCol:r,wrapperCol:i,children:a,errors:o,warnings:s,_internalItemRender:l,extra:c,help:u,fieldId:f,marginBottom:d,onErrorVisibleChanged:m,label:v}=e,x=`${t}-item`,S=h.useContext(zi),{classNames:y,styles:g}=S,p=h.useMemo(()=>{let $={...i||S.wrapperCol||{}};return v===null&&!r&&!i&&S.labelCol&&[void 0].concat(He(aN)).forEach(B=>{const _=B?[B]:[],L=En(S.labelCol,_),q=typeof L=="object"?L:{},K=En($,_),te=typeof K=="object"?K:{};"span"in q&&!("offset"in te)&&q.span<Y7&&($=Cn($,[].concat(_,["offset"]),q.span))}),$},[i,S.wrapperCol,S.labelCol,v,r]),b=k(`${x}-control`,p.className),w=h.useMemo(()=>{const{labelCol:$,wrapperCol:D,...B}=S;return B},[S]),A=h.useRef(null),[E,R]=h.useState(0);Ot(()=>{c&&A.current?R(A.current.clientHeight):R(0)},[c]);const T=h.createElement("div",{className:`${x}-control-input`},h.createElement("div",{className:k(`${x}-control-input-content`,y==null?void 0:y.content),style:g==null?void 0:g.content},a)),M=h.useMemo(()=>({prefixCls:t,status:n}),[t,n]),O=d!==null||o.length||s.length?h.createElement(ux.Provider,{value:M},h.createElement(DN,{fieldId:f,errors:o,warnings:s,help:u,helpStatus:n,className:`${x}-explain-connected`,onVisibleChanged:m})):null,N={};f&&(N.id=`${f}_extra`);const z=c?h.createElement("div",{...N,className:`${x}-extra`,ref:A},c):null,P=O||z?h.createElement("div",{className:`${x}-additional`,style:d?{minHeight:d+E}:{}},O,z):null,j=l&&l.mark==="pro_table_render"&&l.render?l.render(e,{input:T,errorList:O,extra:z}):h.createElement(h.Fragment,null,T,P);return h.createElement(zi.Provider,{value:w},h.createElement(TN,{...p,className:b},j),h.createElement(X7,{prefixCls:t}))};var K7={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"};function _v(){return _v=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},_v.apply(this,arguments)}const Q7=(e,t)=>h.createElement(Dr,_v({},e,{ref:t,icon:K7})),Z7=h.forwardRef(Q7),J7=({prefixCls:e,label:t,htmlFor:n,labelCol:r,labelAlign:i,colon:a,required:o,requiredMark:s,tooltip:l,vertical:c})=>{var j;const[u]=eH("Form"),{labelAlign:f,labelCol:d,labelWrap:m,colon:v,classNames:x,styles:S,tooltip:y}=h.useContext(zi);if(!t)return null;const g=r||d||{},p=i||f,b=`${e}-item-label`,w=k(b,p==="left"&&`${b}-left`,g.className,{[`${b}-wrap`]:!!m});let A=t;const E=a===!0||v!==!1&&a!==!1;E&&!c&&typeof t=="string"&&t.trim()&&(A=t.replace(/[:|:]\s*$/,""));const T=N7(l,y);if(T){const $=h.createElement(dx,{...T},h.createElement("span",{className:`${e}-item-tooltip`,onClick:D=>{D.preventDefault()},tabIndex:-1},T.icon||T.children||h.createElement(Z7,null)));A=h.createElement(h.Fragment,null,A,$)}const M=s==="optional",O=typeof s=="function",N=s===!1;O?A=s(A,{required:!!o}):M&&!o&&(A=h.createElement(h.Fragment,null,A,h.createElement("span",{className:`${e}-item-optional`,title:""},(u==null?void 0:u.optional)||((j=So.Form)==null?void 0:j.optional))));let z;N?z="hidden":(M||O)&&(z="optional");const P=k(x==null?void 0:x.label,{[`${e}-item-required`]:o,[`${e}-item-required-mark-${z}`]:z,[`${e}-item-no-colon`]:!E});return h.createElement(TN,{...g,className:w},h.createElement("label",{htmlFor:n,className:P,style:S==null?void 0:S.label,title:typeof t=="string"?t:""},A))},eU={success:ZO,warning:JO,error:Yb,validating:nx};function BN({children:e,errors:t,warnings:n,hasFeedback:r,validateStatus:i,prefixCls:a,meta:o,noStyle:s,name:l}){const c=`${a}-item`,{feedbackIcons:u}=h.useContext(zi),f=dN(t,n,o,null,!!r,i),{isFormItemInput:d,status:m,hasFeedback:v,feedbackIcon:x,name:S}=h.useContext(Gn),y=h.useMemo(()=>{var b;let g;if(r){const w=r!==!0&&r.icons||u,A=f&&((b=w==null?void 0:w({status:f,errors:t,warnings:n}))==null?void 0:b[f]),E=f?eU[f]:null;g=A!==!1&&E?h.createElement("span",{className:k(`${c}-feedback-icon`,`${c}-feedback-icon-${f}`)},A||h.createElement(E,null)):null}const p={status:f||"",errors:t,warnings:n,hasFeedback:!!r,feedbackIcon:g,isFormItemInput:!0,name:l};return s&&(p.status=(f??m)||"",p.isFormItemInput=d,p.hasFeedback=!!(r??v),p.feedbackIcon=r!==void 0?p.feedbackIcon:x,p.name=l??S),p},[f,r,s,d,m]);return h.createElement(Gn.Provider,{value:y},e)}function tU(e){const{prefixCls:t,className:n,rootClassName:r,style:i,help:a,errors:o,warnings:s,validateStatus:l,meta:c,hasFeedback:u,hidden:f,children:d,fieldId:m,required:v,isRequired:x,onSubItemMetaChange:S,layout:y,name:g,...p}=e,b=`${t}-item`,{requiredMark:w,layout:A}=h.useContext(zi),E=y||A,R=E==="vertical",T=h.useRef(null),M=Qd(o),O=Qd(s),N=dr(a),z=!!(N||o.length||s.length),P=!!T.current&&tx(T.current),[j,$]=h.useState(null);Ot(()=>{if(z&&T.current){const q=getComputedStyle(T.current);$(Number.parseInt(q.marginBottom,10))}},[z,P]);const D=q=>{q||$(null)},_=((q=!1)=>{const K=q?M:c.errors,te=q?O:c.warnings;return dN(K,te,c,"",!!u,l)})(),L=k(b,n,r,{[`${b}-with-help`]:N||M.length||O.length,[`${b}-has-feedback`]:_&&u,[`${b}-has-success`]:_==="success",[`${b}-has-warning`]:_==="warning",[`${b}-has-error`]:_==="error",[`${b}-is-validating`]:_==="validating",[`${b}-hidden`]:f,[`${b}-${E}`]:E});return h.createElement("div",{className:L,style:i,ref:T},h.createElement(y7,{className:`${b}-row`,...Ei(p,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])},h.createElement(J7,{htmlFor:m,...e,requiredMark:w,required:v??x,prefixCls:t,vertical:R}),h.createElement(W7,{...e,...c,errors:M,warnings:O,prefixCls:t,status:_,help:a,marginBottom:j,onErrorVisibleChanged:D},h.createElement(eN.Provider,{value:S},h.createElement(BN,{prefixCls:t,meta:c,errors:c.errors,warnings:c.warnings,hasFeedback:u,validateStatus:_,name:g},d)))),!!j&&h.createElement("div",{className:`${b}-margin-offset`,style:{marginBottom:-j}}))}const nU="__SPLIT__";function rU(e,t){const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(i=>{const a=e[i],o=t[i];return a===o||typeof a=="function"||typeof o=="function"})}const iU=h.memo(e=>e.children,(e,t)=>rU(e.control,t.control)&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every((n,r)=>n===t.childProps[r]));function pE(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function aU(e){const{name:t,noStyle:n,className:r,dependencies:i,prefixCls:a,shouldUpdate:o,rules:s,children:l,required:c,label:u,messageVariables:f,trigger:d="onChange",validateTrigger:m,hidden:v,help:x,layout:S}=e,{getPrefixCls:y}=h.useContext(qe),{name:g}=h.useContext(zi),p=U7(l),b=typeof p=="function",w=h.useContext(eN),{validateTrigger:A}=h.useContext(wo),E=dr(m)?m:A,R=dr(t),T=y("form",a),M=zr(T),[O,N]=gx(T,M),z=h.useContext(tu),P=h.useRef(null),[j,$]=q7({}),[D,B]=eO(()=>pE()),_=X=>{const Q=z==null?void 0:z.getKey(X.name);if(B(X.destroy?pE():X,!0),n&&x!==!1&&w){let G=X.name;if(X.destroy)G=P.current||G;else if(Q!==void 0){const[Z,ae]=Q;G=[Z].concat(He(ae)),P.current=G}w(X,G)}},L=(X,Q)=>{$(G=>{const Z={...G},se=[].concat(He(X.name.slice(0,-1)),He(Q)).join(nU);return X.destroy?delete Z[se]:Z[se]=X,Z})},[q,K]=h.useMemo(()=>{const X=He(D.errors),Q=He(D.warnings);return Object.values(j).forEach(G=>{X.push.apply(X,He(G.errors||[])),Q.push.apply(Q,He(G.warnings||[]))}),[X,Q]},[j,D.errors,D.warnings]),te=G7();function ee(X,Q,G){return n&&!v?h.createElement(BN,{prefixCls:T,hasFeedback:e.hasFeedback,validateStatus:e.validateStatus,meta:D,errors:q,warnings:K,noStyle:!0,name:t},X):h.createElement(tU,{key:"row",...e,className:k(r,N,M,O),prefixCls:T,fieldId:Q,isRequired:G,errors:q,warnings:K,meta:D,onSubItemMetaChange:L,layout:S,name:t},X)}if(!R&&!b&&!i)return ee(p);let W={};return typeof u=="string"?W.label=u:t&&(W.label=String(t)),f&&(W={...W,...f}),h.createElement(lx,{...e,messageVariables:W,trigger:d,validateTrigger:E,onMetaChange:_},(X,Q,G)=>{const Z=gc(t).length&&Q?Q.name:[],ae=fN(Z,g),se=c!==void 0?c:!!(s!=null&&s.some(fe=>{if(fe&&typeof fe=="object"&&fe.required&&!fe.warningOnly)return!0;if(typeof fe=="function"){const U=fe(G);return(U==null?void 0:U.required)&&!(U!=null&&U.warningOnly)}return!1})),J={...X};let ce=null;if(Array.isArray(p)&&R)ce=p;else if(!(b&&(!(o||i)||R))){if(!(i&&!b&&!R))if(h.isValidElement(p)){const fe={...p.props,...J};if(fe.id||(fe.id=ae),x||q.length>0||K.length>0||e.extra){const F=[];(x||q.length>0)&&F.push(`${ae}_help`),e.extra&&F.push(`${ae}_extra`),fe["aria-describedby"]=F.join(" ")}q.length>0&&(fe["aria-invalid"]="true"),se&&(fe["aria-required"]="true"),Au(p)&&(fe.ref=te(Z,p)),new Set([].concat(He(gc(d)),He(gc(E)))).forEach(F=>{fe[F]=(...ne)=>{var Y,ge,oe;(Y=J[F])==null||Y.call(J,...ne),(oe=(ge=p.props)[F])==null||oe.call(ge,...ne)}});const re=[fe["aria-required"],fe["aria-invalid"],fe["aria-describedby"]];ce=h.createElement(iU,{control:J,update:p,childProps:re},ji(p,fe))}else b&&(o||i)&&!R?ce=p(G):ce=p}return ee(ce,ae,se)})}const PN=aU;PN.useStatus=zN;const oU=({prefixCls:e,children:t,...n})=>{const{getPrefixCls:r}=h.useContext(qe),i=r("form",e),a=h.useMemo(()=>({prefixCls:i,status:"error"}),[i]);return h.createElement(Q$,{...n},(o,s,l)=>h.createElement(ux.Provider,{value:a},t(o.map(c=>({...c,fieldKey:c.key})),s,{errors:l.errors,warnings:l.warnings})))};function sU(){const{form:e}=h.useContext(zi);return e}const cn=I7;cn.Item=PN;cn.List=oU;cn.ErrorList=DN;cn.useForm=hN;cn.useFormInstance=sU;cn.useWatch=J$;cn.Provider=tN;const lU=e=>{const{getPrefixCls:t,direction:n}=h.useContext(qe),{prefixCls:r,className:i}=e,a=t("input-group",r),o=t("input"),[s,l]=SN(o),c=k(a,l,{[`${a}-lg`]:e.size==="large",[`${a}-sm`]:e.size==="small",[`${a}-compact`]:e.compact,[`${a}-rtl`]:n==="rtl"},s,i),u=h.useContext(Gn),f=h.useMemo(()=>({...u,isFormItemInput:!1}),[u]);return h.createElement(Gn.Provider,{value:f},h.createElement(px.Compact,{className:c,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},e.children))},cU=e=>{const{componentCls:t,paddingXS:n}=e;return{[t]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:n,[`${t}-input-wrapper`]:{position:"relative",[`${t}-mask-icon`]:{position:"absolute",zIndex:"1",top:"50%",right:"50%",transform:"translate(50%, -50%)",pointerEvents:"none"},[`${t}-mask-input`]:{color:"transparent",caretColor:e.colorText},[`${t}-mask-input[type=number]::-webkit-inner-spin-button`]:{"-webkit-appearance":"none",margin:0},[`${t}-mask-input[type=number]`]:{"-moz-appearance":"textfield"}},"&-rtl":{direction:"rtl"},[`${t}-input`]:{textAlign:"center",paddingInline:e.paddingXXS},[`&${t}-sm ${t}-input`]:{paddingInline:e.calc(e.paddingXXS).div(2).equal()},[`&${t}-lg ${t}-input`]:{paddingInline:e.paddingXS}}}},uU=mn(["Input","OTP"],e=>{const t=Dt(e,Wh(e));return cU(t)},Kh),fU=h.forwardRef((e,t)=>{const{className:n,value:r,onChange:i,onActiveChange:a,index:o,mask:s,onFocus:l,...c}=e,{getPrefixCls:u}=h.useContext(qe),f=u("otp"),d=typeof s=="string"?s:r,m=h.useRef(null);h.useImperativeHandle(t,()=>m.current);const v=g=>{i(o,g.target.value)},x=()=>{nn(()=>{var p;const g=(p=m.current)==null?void 0:p.input;document.activeElement===g&&g&&g.select()})},S=g=>{l==null||l(g),x()},y=g=>{const{key:p,ctrlKey:b,metaKey:w}=g;p==="ArrowLeft"?a(o-1):p==="ArrowRight"?a(o+1):p==="z"&&(b||w)?g.preventDefault():p==="Backspace"&&!r&&a(o-1),x()};return h.createElement("span",{className:`${f}-input-wrapper`,role:"presentation"},s&&r!==""&&r!==void 0&&h.createElement("span",{className:`${f}-mask-icon`,"aria-hidden":"true"},d),h.createElement(Qh,{"aria-label":`OTP Input ${o+1}`,type:s===!0?"password":"text",...c,ref:m,value:r,onInput:v,onFocus:S,onKeyDown:y,onMouseDown:x,onMouseUp:x,className:k(n,{[`${f}-mask-input`]:s})}))});function gf(e){return(e||"").split("")}const dU=e=>{const{index:t,prefixCls:n,separator:r,className:i,style:a}=e,o=typeof r=="function"?r(t):r;return o?h.createElement("span",{className:k(`${n}-separator`,i),style:a},o):null},hU=h.forwardRef((e,t)=>{const{prefixCls:n,length:r=6,size:i,defaultValue:a,value:o,onChange:s,formatter:l,separator:c,variant:u,disabled:f,status:d,autoFocus:m,mask:v,type:x,autoComplete:S,onInput:y,onFocus:g,inputMode:p,classNames:b,styles:w,className:A,style:E,...R}=e,{classNames:T,styles:M,getPrefixCls:O,direction:N,style:z,className:P}=jr("otp"),j=O("otp",n),$={...e,length:r},[D,B]=mr([T,b],[M,w],{props:$}),_=Kb(R,{aria:!0,data:!0,attr:!0}),[L,q]=uU(j),K=jo(F=>i??F),te=h.useContext(Gn),ee=fx(te.status,d),W=h.useMemo(()=>({...te,status:ee,hasFeedback:!1,feedbackIcon:null}),[te,ee]),X=h.useRef(null),Q=h.useRef({});h.useImperativeHandle(t,()=>({focus:()=>{var F;(F=Q.current[0])==null||F.focus()},blur:()=>{var F;for(let ne=0;ne<r;ne+=1)(F=Q.current[ne])==null||F.blur()},nativeElement:X.current}));const G=F=>l?l(F):F,[Z,ae]=h.useState(()=>gf(G(a||"")));h.useEffect(()=>{o!==void 0&&ae(gf(o))},[o]);const se=Xe(F=>{ae(F),y&&y(F),s&&F.length===r&&F.every(ne=>ne)&&F.some((ne,Y)=>Z[Y]!==ne)&&s(F.join(""))}),J=Xe((F,ne)=>{let Y=He(Z);for(let oe=0;oe<F;oe+=1)Y[oe]||(Y[oe]="");ne.length<=1?Y[F]=ne:Y=Y.slice(0,F).concat(gf(ne)),Y=Y.slice(0,r);for(let oe=Y.length-1;oe>=0&&!Y[oe];oe-=1)Y.pop();const ge=G(Y.map(oe=>oe||" ").join(""));return Y=gf(ge).map((oe,ue)=>oe===" "&&!Y[ue]?Y[ue]:oe),Y}),ce=(F,ne)=>{var oe;const Y=J(F,ne),ge=Math.min(F+ne.length,r-1);ge!==F&&Y[F]!==void 0&&((oe=Q.current[ge])==null||oe.focus()),se(Y)},fe=F=>{var ne;(ne=Q.current[F])==null||ne.focus()},U=(F,ne)=>{var Y,ge,oe;for(let ue=0;ue<ne;ue+=1)if(!((ge=(Y=Q.current[ue])==null?void 0:Y.input)!=null&&ge.value)){(oe=Q.current[ue])==null||oe.focus();break}g==null||g(F)},re={variant:u,disabled:f,status:ee,mask:v,type:x,inputMode:p,autoComplete:S};return h.createElement("div",{..._,ref:X,className:k(A,j,{[`${j}-sm`]:K==="small",[`${j}-lg`]:K==="large",[`${j}-rtl`]:N==="rtl"},q,L,P,D.root),style:{...B.root,...z,...E},role:"group"},h.createElement(Gn.Provider,{value:W},Array.from({length:r}).map((F,ne)=>{const Y=`otp-${ne}`,ge=Z[ne]||"";return h.createElement(h.Fragment,{key:Y},h.createElement(fU,{ref:oe=>{Q.current[ne]=oe},index:ne,size:K,htmlSize:1,className:k(D.input,`${j}-input`),style:B.input,onChange:ce,value:ge,onActiveChange:fe,autoFocus:ne===0&&m,onFocus:oe=>U(oe,ne),...re}),ne<r-1&&h.createElement(dU,{separator:c,index:ne,prefixCls:j,className:k(D.separator),style:B.separator}))})))});var mU={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"};function Vv(){return Vv=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},Vv.apply(this,arguments)}const pU=(e,t)=>h.createElement(Dr,Vv({},e,{ref:t,icon:mU})),gU=h.forwardRef(pU);var yU={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"};function Hv(){return Hv=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},Hv.apply(this,arguments)}const vU=(e,t)=>h.createElement(Dr,Hv({},e,{ref:t,icon:yU})),bU=h.forwardRef(vU),xU=e=>e?h.createElement(bU,null):h.createElement(gU,null),SU={click:"onClick",hover:"onMouseOver"},CU=h.forwardRef((e,t)=>{const{disabled:n,action:r="click",visibilityToggle:i=!0,iconRender:a=xU,suffix:o}=e,s=h.useContext(Di),l=n??s,c=typeof i=="object"&&i.visible!==void 0,[u,f]=h.useState(()=>c?i.visible:!1),d=h.useRef(null);h.useEffect(()=>{c&&f(i.visible)},[c,i]);const m=$N(d),v=()=>{var N;if(l)return;u&&m();const O=!u;f(O),typeof i=="object"&&((N=i.onVisibleChange)==null||N.call(i,O))},x=O=>{const N=SU[r]||"",z=a(u),P={[N]:v,className:`${O}-icon`,key:"passwordIcon",onMouseDown:j=>{j.preventDefault()},onMouseUp:j=>{j.preventDefault()}};return h.cloneElement(h.isValidElement(z)?z:h.createElement("span",null,z),P)},{className:S,prefixCls:y,inputPrefixCls:g,size:p,...b}=e,{getPrefixCls:w}=h.useContext(qe),A=w("input",g),E=w("input-password",y),R=i&&x(E),T=k(E,S,{[`${E}-${p}`]:!!p}),M={...Ei(b,["suffix","iconRender","visibilityToggle"]),type:u?"text":"password",className:T,prefixCls:A,suffix:h.createElement(h.Fragment,null,R,o)};return p&&(M.size=p),h.createElement(Qh,{ref:_i(t,d),...M})}),wU=e=>{const{componentCls:t}=e,n=`${t}-btn`;return{[t]:{width:"100%",[n]:{"&-filled":{background:e.colorFillTertiary,"&:not(:disabled)":{"&:hover":{background:e.colorFillSecondary},"&:active":{background:e.colorFill}}}}}}},EU=mn(["Input","Search"],wU),AU=h.forwardRef((e,t)=>{const{prefixCls:n,inputPrefixCls:r,className:i,size:a,style:o,enterButton:s=!1,addonAfter:l,loading:c,disabled:u,onSearch:f,onChange:d,onCompositionStart:m,onCompositionEnd:v,variant:x,onPressEnter:S,classNames:y,styles:g,hidden:p,...b}=e,{direction:w,getPrefixCls:A,classNames:E,styles:R}=jr("inputSearch"),T={...e,enterButton:s},[M,O]=mr([E,y],[R,g],{props:T},{button:{_default:"root"}}),N=h.useRef(!1),z=A("input-search",n),P=A("input",r),[j,$]=EU(z),{compactSize:D}=Ru(z,w),B=jo(U=>a??D??U),_=h.useRef(null),L=U=>{U!=null&&U.target&&U.type==="click"&&f&&f(U.target.value,U,{source:"clear"}),d==null||d(U)},q=U=>{var re;document.activeElement===((re=_.current)==null?void 0:re.input)&&U.preventDefault()},K=U=>{var re,F;f&&f((F=(re=_.current)==null?void 0:re.input)==null?void 0:F.value,U,{source:"input"})},te=U=>{N.current||c||(S==null||S(U),K(U))},ee=typeof s=="boolean"?h.createElement(AI,null):null,W=`${z}-btn`,X=k(W,{[`${W}-${x}`]:x});let Q;const G=s||{},Z=G.type&&G.type.__ANT_BUTTON===!0;Z||G.type==="button"?Q=ji(G,{onMouseDown:q,onClick:U=>{var re,F;(F=(re=G==null?void 0:G.props)==null?void 0:re.onClick)==null||F.call(re,U),K(U)},key:"enterButton",...Z?{className:X,size:B}:{}}):Q=h.createElement(eu,{classNames:M.button,styles:O.button,className:X,color:s?"primary":"default",size:B,disabled:u,key:"enterButton",onMouseDown:q,onClick:K,loading:c,icon:ee,variant:x==="borderless"||x==="filled"||x==="underlined"?"text":s?"solid":void 0},s),l&&(Q=[Q,ji(l,{key:"addonAfter"})]);const ae=k(z,$,{[`${z}-rtl`]:w==="rtl",[`${z}-${B}`]:!!B,[`${z}-with-button`]:!!s},i,j,M.root),se=U=>{N.current=!0,m==null||m(U)},J=U=>{N.current=!1,v==null||v(U)},ce=Kb(b,{data:!0}),fe=Ei({...b,classNames:Ei(M,["button","root"]),styles:Ei(O,["button","root"]),prefixCls:P,type:"search",size:B,variant:x,onPressEnter:te,onCompositionStart:se,onCompositionEnd:J,onChange:L,disabled:u},Object.keys(ce));return h.createElement(H$,{className:ae,style:{...o,...O.root},...ce,hidden:p},h.createElement(Qh,{ref:_i(_,t),...fe}),Q)}),TU=`
- 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;
- `,MU=["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"],zp={};let $n;function RU(e,t=!1){const n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&zp[n])return zp[n];const r=window.getComputedStyle(e),i=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),a=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),o=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),l={sizingStyle:MU.map(c=>`${c}:${r.getPropertyValue(c)}`).join(";"),paddingSize:a,borderSize:o,boxSizing:i};return t&&n&&(zp[n]=l),l}function OU(e,t=!1,n=null,r=null){$n||($n=document.createElement("textarea"),$n.setAttribute("tab-index","-1"),$n.setAttribute("aria-hidden","true"),$n.setAttribute("name","hiddenTextarea"),document.body.appendChild($n)),e.getAttribute("wrap")?$n.setAttribute("wrap",e.getAttribute("wrap")):$n.removeAttribute("wrap");const{paddingSize:i,borderSize:a,boxSizing:o,sizingStyle:s}=RU(e,t);$n.setAttribute("style",`${s};${TU}`),$n.value=e.value||e.placeholder||"";let l,c,u,f=$n.scrollHeight;if(o==="border-box"?f+=a:o==="content-box"&&(f-=i),n!==null||r!==null){$n.value=" ";const m=$n.scrollHeight-i;n!==null&&(l=m*n,o==="border-box"&&(l=l+i+a),f=Math.max(l,f)),r!==null&&(c=m*r,o==="border-box"&&(c=c+i+a),u=f>c?"":"hidden",f=Math.min(c,f))}const d={height:f,overflowY:u,resize:"none"};return l&&(d.minHeight=l),c&&(d.maxHeight=c),d}function Fv(){return Fv=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},Fv.apply(this,arguments)}const Bp=0,Pp=1,Lp=2,$U=h.forwardRef((e,t)=>{const{prefixCls:n,defaultValue:r,value:i,autoSize:a,onResize:o,className:s,style:l,disabled:c,onChange:u,onInternalAutoSize:f,...d}=e,[m,v]=No(r,i),x=m??"",S=j=>{v(j.target.value),u==null||u(j)},y=h.useRef();h.useImperativeHandle(t,()=>({textArea:y.current}));const[g,p]=h.useMemo(()=>a&&typeof a=="object"?[a.minRows,a.maxRows]:[],[a]),b=!!a,[w,A]=h.useState(Lp),[E,R]=h.useState(),T=()=>{A(Bp)};Ot(()=>{b&&T()},[i,g,p,b]),Ot(()=>{if(w===Bp)A(Pp);else if(w===Pp){const j=OU(y.current,!1,g,p);A(Lp),R(j)}},[w]);const M=h.useRef(),O=()=>{nn.cancel(M.current)},N=j=>{w===Lp&&(o==null||o(j),a&&(O(),M.current=nn(()=>{T()})))};h.useEffect(()=>O,[]);const P={...l,...b?E:null};return(w===Bp||w===Pp)&&(P.overflowY="hidden",P.overflowX="hidden"),h.createElement(Pb,{onResize:N,disabled:!(a||o)},h.createElement("textarea",Fv({},d,{ref:y,style:P,className:k(n,s,{[`${n}-disabled`]:c}),disabled:c,value:x,onChange:S})))});function Iv(){return Iv=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},Iv.apply(this,arguments)}const NU=I.forwardRef(({defaultValue:e,value:t,onFocus:n,onBlur:r,onChange:i,allowClear:a,maxLength:o,onCompositionStart:s,onCompositionEnd:l,suffix:c,prefixCls:u="rc-textarea",showCount:f,count:d,className:m,style:v,disabled:x,hidden:S,classNames:y,styles:g,onResize:p,onClear:b,onPressEnter:w,readOnly:A,autoSize:E,onKeyDown:R,...T},M)=>{const[O,N]=No(e,t),z=O==null?"":String(O),[P,j]=I.useState(!1),$=I.useRef(!1),[D,B]=I.useState(null),_=h.useRef(null),L=h.useRef(null),q=()=>{var ue;return(ue=L.current)==null?void 0:ue.textArea},K=()=>{q().focus()};h.useImperativeHandle(M,()=>{var ue;return{resizableTextArea:L.current,focus:K,blur:()=>{q().blur()},nativeElement:((ue=_.current)==null?void 0:ue.nativeElement)||q()}}),h.useEffect(()=>{j(ue=>!x&&ue)},[x]);const[te,ee]=I.useState(null);I.useEffect(()=>{te&&q().setSelectionRange(...te)},[te]);const W=RN(d,f),X=W.max??o,Q=Number(X)>0,G=W.strategy(z),Z=!!X&&G>X,ae=(ue,at)=>{let Ut=at;!$.current&&W.exceedFormatter&&W.max&&W.strategy(at)>W.max&&(Ut=W.exceedFormatter(at,{max:W.max}),at!==Ut&&ee([q().selectionStart||0,q().selectionEnd||0])),N(Ut),Wd(ue.currentTarget,ue,i,Ut)},se=ue=>{$.current=!0,s==null||s(ue)},J=ue=>{$.current=!1,ae(ue,ue.currentTarget.value),l==null||l(ue)},ce=ue=>{ae(ue,ue.target.value)},fe=ue=>{ue.key==="Enter"&&w&&!ue.nativeEvent.isComposing&&w(ue),R==null||R(ue)},U=ue=>{j(!0),n==null||n(ue)},re=ue=>{j(!1),r==null||r(ue)},F=ue=>{N(""),K(),Wd(q(),ue,i)};let ne=c,Y;W.show&&(W.showFormatter?Y=W.showFormatter({value:z,count:G,maxLength:X}):Y=`${G}${Q?` / ${X}`:""}`,ne=I.createElement(I.Fragment,null,ne,I.createElement("span",{className:k(`${u}-data-count`,y==null?void 0:y.count),style:g==null?void 0:g.count},Y)));const ge=ue=>{var at;p==null||p(ue),(at=q())!=null&&at.style.height&&B(!0)},oe=!E&&!f&&!a;return I.createElement(MN,{ref:_,value:z,allowClear:a,handleReset:F,suffix:ne,prefixCls:u,classNames:{...y,affixWrapper:k(y==null?void 0:y.affixWrapper,{[`${u}-show-count`]:f,[`${u}-textarea-allow-clear`]:a})},disabled:x,focused:P,className:k(m,Z&&`${u}-out-of-range`),style:{...v,...D&&!oe?{height:"auto"}:{}},dataAttrs:{affixWrapper:{"data-count":typeof Y=="string"?Y:void 0}},hidden:S,readOnly:A,onClear:b},I.createElement($U,Iv({},T,{autoSize:E,maxLength:o,onKeyDown:fe,onChange:ce,onFocus:U,onBlur:re,onCompositionStart:se,onCompositionEnd:J,className:k(y==null?void 0:y.textarea),style:{resize:v==null?void 0:v.resize,...g==null?void 0:g.textarea},disabled:x,prefixCls:u,onResize:ge,ref:L,readOnly:A})))}),jU=e=>{const{componentCls:t,paddingLG:n}=e,r=`${t}-textarea`;return{[`textarea${t}`]:{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}`,resize:"vertical",[`&${t}-mouse-active`]:{transition:`all ${e.motionDurationSlow}, height 0s, width 0s`}},[`${t}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[r]:{position:"relative","&-show-count":{[`${t}-data-count`]:{position:"absolute",bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`
- &-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}}}}}},DU=mn(["Input","TextArea"],e=>{const t=Dt(e,Wh(e));return jU(t)},Kh,{resetFont:!1}),zU=h.forwardRef((e,t)=>{var U;const{prefixCls:n,bordered:r=!0,size:i,disabled:a,status:o,allowClear:s,classNames:l,rootClassName:c,className:u,style:f,styles:d,variant:m,showCount:v,onMouseDown:x,onResize:S,...y}=e,{getPrefixCls:g,direction:p,allowClear:b,autoComplete:w,className:A,style:E,classNames:R,styles:T}=jr("textArea"),M=h.useContext(Di),O=a??M,{status:N,hasFeedback:z,feedbackIcon:P}=h.useContext(Gn),j=fx(N,o),[$,D]=mr([R,l],[T,d],{props:e}),B=h.useRef(null);h.useImperativeHandle(t,()=>{var re,F;return{resizableTextArea:(re=B.current)==null?void 0:re.resizableTextArea,focus:ne=>{var Y,ge;k$((ge=(Y=B.current)==null?void 0:Y.resizableTextArea)==null?void 0:ge.textArea,ne)},blur:()=>{var ne;return(ne=B.current)==null?void 0:ne.blur()},nativeElement:((F=B.current)==null?void 0:F.nativeElement)||null}});const _=g("input",n),L=zr(_),[q,K]=xN(_,c);DU(_,L);const{compactSize:te,compactItemClassnames:ee}=Ru(_,p),W=jo(re=>i??te??re),[X,Q]=iN("textArea",m,r),G=ON(s??b),[Z,ae]=h.useState(!1),[se,J]=h.useState(!1),ce=re=>{ae(!0),x==null||x(re);const F=()=>{ae(!1),document.removeEventListener("mouseup",F)};document.addEventListener("mouseup",F)},fe=re=>{var F,ne;if(S==null||S(re),Z&&typeof getComputedStyle=="function"){const Y=(ne=(F=B.current)==null?void 0:F.nativeElement)==null?void 0:ne.querySelector("textarea");Y&&getComputedStyle(Y).resize==="both"&&J(!0)}};return h.createElement(NU,{autoComplete:w,...y,style:{...D.root,...E,...f},styles:D,disabled:O,allowClear:G,className:k(K,L,u,c,ee,A,$.root,{[`${_}-textarea-affix-wrapper-resize-dirty`]:se}),classNames:{...$,textarea:k({[`${_}-sm`]:W==="small",[`${_}-lg`]:W==="large"},q,$.textarea,Z&&`${_}-mouse-active`),variant:k({[`${_}-${X}`]:Q},Yd(_,j)),affixWrapper:k(`${_}-textarea-affix-wrapper`,{[`${_}-affix-wrapper-rtl`]:p==="rtl",[`${_}-affix-wrapper-sm`]:W==="small",[`${_}-affix-wrapper-lg`]:W==="large",[`${_}-textarea-show-count`]:v||((U=e.count)==null?void 0:U.show)},q)},prefixCls:_,suffix:z&&h.createElement("span",{className:`${_}-textarea-suffix`},P),showCount:v,ref:B,onResize:fe,onMouseDown:ce})}),Xr=Qh;Xr.Group=lU;Xr.Search=AU;Xr.TextArea=zU;Xr.Password=CU;Xr.OTP=hU;let jn=null,io=e=>e(),nu=[],ru={};function gE(){const{getContainer:e,duration:t,rtl:n,maxCount:r,top:i}=ru,a=(e==null?void 0:e())||document.body;return{getContainer:()=>a,duration:t,rtl:n,maxCount:r,top:i}}const BU=I.forwardRef((e,t)=>{const{messageConfig:n,sync:r}=e,{getPrefixCls:i}=h.useContext(qe),a=ru.prefixCls||i("message"),o=h.useContext(CI),[s,l]=L$({...n,prefixCls:a,...o.message});return I.useImperativeHandle(t,()=>{const c={...s};return Object.keys(c).forEach(u=>{c[u]=(...f)=>(r(),s[u].apply(s,f))}),{instance:c,sync:r}}),l}),PU=I.forwardRef((e,t)=>{const[n,r]=I.useState(gE),i=()=>{r(gE)};I.useEffect(i,[]);const a=QH(),o=a.getRootPrefixCls(),s=a.getIconPrefixCls(),l=a.getTheme(),c=I.createElement(BU,{ref:t,sync:i,messageConfig:n});return I.createElement(gl,{prefixCls:o,iconPrefixCls:s,theme:l},a.holderRender?a.holderRender(c):c)}),Zh=()=>{if(!jn){const e=document.createDocumentFragment(),t={fragment:e};jn=t,io(()=>{_$(I.createElement(PU,{ref:n=>{const{instance:r,sync:i}=n||{};Promise.resolve().then(()=>{!t.instance&&r&&(t.instance=r,t.sync=i,Zh())})}}),e)});return}jn.instance&&(nu.forEach(e=>{const{type:t,skipped:n}=e;if(!n)switch(t){case"open":{io(()=>{const r=jn.instance.open({...ru,...e.config});r==null||r.then(e.resolve),e.setCloseFn(r)});break}case"destroy":io(()=>{jn==null||jn.instance.destroy(e.key)});break;default:io(()=>{var r;const i=(r=jn.instance)[t].apply(r,He(e.args));i==null||i.then(e.resolve),e.setCloseFn(i)})}}),nu=[])};function LU(e){ru={...ru,...e},io(()=>{var t;(t=jn==null?void 0:jn.sync)==null||t.call(jn)})}function _U(e){const t=rx(n=>{let r;const i={type:"open",config:e,resolve:n,setCloseFn:a=>{r=a}};return nu.push(i),()=>{r?io(()=>{r()}):i.skipped=!0}});return Zh(),t}function VU(e,t){const n=rx(r=>{let i;const a={type:e,args:t,resolve:r,setCloseFn:o=>{i=o}};return nu.push(a),()=>{i?io(()=>{i()}):a.skipped=!0}});return Zh(),n}const HU=e=>{nu.push({type:"destroy",key:e}),Zh()},FU=["success","info","warning","error","loading"],IU={open:_U,destroy:HU,config:LU,useMessage:b9,_InternalPanelDoNotUseOrYouWillBeFired:d9},LN=IU;FU.forEach(e=>{LN[e]=(...t)=>VU(e,t)});var vl=TypeError;const UU={},qU=Object.freeze(Object.defineProperty({__proto__:null,default:UU},Symbol.toStringTag,{value:"Module"})),GU=$3(qU);var yx=typeof Map=="function"&&Map.prototype,_p=Object.getOwnPropertyDescriptor&&yx?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Zd=yx&&_p&&typeof _p.get=="function"?_p.get:null,yE=yx&&Map.prototype.forEach,vx=typeof Set=="function"&&Set.prototype,Vp=Object.getOwnPropertyDescriptor&&vx?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Jd=vx&&Vp&&typeof Vp.get=="function"?Vp.get:null,vE=vx&&Set.prototype.forEach,kU=typeof WeakMap=="function"&&WeakMap.prototype,yc=kU?WeakMap.prototype.has:null,XU=typeof WeakSet=="function"&&WeakSet.prototype,vc=XU?WeakSet.prototype.has:null,YU=typeof WeakRef=="function"&&WeakRef.prototype,bE=YU?WeakRef.prototype.deref:null,WU=Boolean.prototype.valueOf,KU=Object.prototype.toString,QU=Function.prototype.toString,ZU=String.prototype.match,bx=String.prototype.slice,sa=String.prototype.replace,JU=String.prototype.toUpperCase,xE=String.prototype.toLowerCase,_N=RegExp.prototype.test,SE=Array.prototype.concat,kr=Array.prototype.join,eq=Array.prototype.slice,CE=Math.floor,Uv=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Hp=Object.getOwnPropertySymbols,qv=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Ks=typeof Symbol=="function"&&typeof Symbol.iterator=="object",bc=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Ks||!0)?Symbol.toStringTag:null,VN=Object.prototype.propertyIsEnumerable,wE=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function EE(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||_N.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var r=e<0?-CE(-e):CE(e);if(r!==e){var i=String(r),a=bx.call(t,i.length+1);return sa.call(i,n,"$&_")+"."+sa.call(sa.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return sa.call(t,n,"$&_")}var Gv=GU,AE=Gv.custom,TE=IN(AE)?AE:null,HN={__proto__:null,double:'"',single:"'"},tq={__proto__:null,double:/(["\\])/g,single:/(['\\])/g},Jh=function e(t,n,r,i){var a=n||{};if(mi(a,"quoteStyle")&&!mi(HN,a.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(mi(a,"maxStringLength")&&(typeof a.maxStringLength=="number"?a.maxStringLength<0&&a.maxStringLength!==1/0:a.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var o=mi(a,"customInspect")?a.customInspect:!0;if(typeof o!="boolean"&&o!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(mi(a,"indent")&&a.indent!==null&&a.indent!==" "&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(mi(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var s=a.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return qN(t,a);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var l=String(t);return s?EE(t,l):l}if(typeof t=="bigint"){var c=String(t)+"n";return s?EE(t,c):c}var u=typeof a.depth>"u"?5:a.depth;if(typeof r>"u"&&(r=0),r>=u&&u>0&&typeof t=="object")return kv(t)?"[Array]":"[Object]";var f=bq(a,r);if(typeof i>"u")i=[];else if(UN(i,t)>=0)return"[Circular]";function d(z,P,j){if(P&&(i=eq.call(i),i.push(P)),j){var $={depth:a.depth};return mi(a,"quoteStyle")&&($.quoteStyle=a.quoteStyle),e(z,$,r+1,i)}return e(z,a,r+1,i)}if(typeof t=="function"&&!ME(t)){var m=uq(t),v=yf(t,d);return"[Function"+(m?": "+m:" (anonymous)")+"]"+(v.length>0?" { "+kr.call(v,", ")+" }":"")}if(IN(t)){var x=Ks?sa.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):qv.call(t);return typeof t=="object"&&!Ks?Pl(x):x}if(gq(t)){for(var S="<"+xE.call(String(t.nodeName)),y=t.attributes||[],g=0;g<y.length;g++)S+=" "+y[g].name+"="+FN(nq(y[g].value),"double",a);return S+=">",t.childNodes&&t.childNodes.length&&(S+="..."),S+="</"+xE.call(String(t.nodeName))+">",S}if(kv(t)){if(t.length===0)return"[]";var p=yf(t,d);return f&&!vq(p)?"["+Xv(p,f)+"]":"[ "+kr.call(p,", ")+" ]"}if(iq(t)){var b=yf(t,d);return!("cause"in Error.prototype)&&"cause"in t&&!VN.call(t,"cause")?"{ ["+String(t)+"] "+kr.call(SE.call("[cause]: "+d(t.cause),b),", ")+" }":b.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+kr.call(b,", ")+" }"}if(typeof t=="object"&&o){if(TE&&typeof t[TE]=="function"&&Gv)return Gv(t,{depth:u-r});if(o!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(fq(t)){var w=[];return yE&&yE.call(t,function(z,P){w.push(d(P,t,!0)+" => "+d(z,t))}),RE("Map",Zd.call(t),w,f)}if(mq(t)){var A=[];return vE&&vE.call(t,function(z){A.push(d(z,t))}),RE("Set",Jd.call(t),A,f)}if(dq(t))return Fp("WeakMap");if(pq(t))return Fp("WeakSet");if(hq(t))return Fp("WeakRef");if(oq(t))return Pl(d(Number(t)));if(lq(t))return Pl(d(Uv.call(t)));if(sq(t))return Pl(WU.call(t));if(aq(t))return Pl(d(String(t)));if(typeof window<"u"&&t===window)return"{ [object Window] }";if(typeof globalThis<"u"&&t===globalThis||typeof Rx<"u"&&t===Rx)return"{ [object globalThis] }";if(!rq(t)&&!ME(t)){var E=yf(t,d),R=wE?wE(t)===Object.prototype:t instanceof Object||t.constructor===Object,T=t instanceof Object?"":"null prototype",M=!R&&bc&&Object(t)===t&&bc in t?bx.call(Da(t),8,-1):T?"Object":"",O=R||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",N=O+(M||T?"["+kr.call(SE.call([],M||[],T||[]),": ")+"] ":"");return E.length===0?N+"{}":f?N+"{"+Xv(E,f)+"}":N+"{ "+kr.call(E,", ")+" }"}return String(t)};function FN(e,t,n){var r=n.quoteStyle||t,i=HN[r];return i+e+i}function nq(e){return sa.call(String(e),/"/g,""")}function Do(e){return!bc||!(typeof e=="object"&&(bc in e||typeof e[bc]<"u"))}function kv(e){return Da(e)==="[object Array]"&&Do(e)}function rq(e){return Da(e)==="[object Date]"&&Do(e)}function ME(e){return Da(e)==="[object RegExp]"&&Do(e)}function iq(e){return Da(e)==="[object Error]"&&Do(e)}function aq(e){return Da(e)==="[object String]"&&Do(e)}function oq(e){return Da(e)==="[object Number]"&&Do(e)}function sq(e){return Da(e)==="[object Boolean]"&&Do(e)}function IN(e){if(Ks)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!qv)return!1;try{return qv.call(e),!0}catch{}return!1}function lq(e){if(!e||typeof e!="object"||!Uv)return!1;try{return Uv.call(e),!0}catch{}return!1}var cq=Object.prototype.hasOwnProperty||function(e){return e in this};function mi(e,t){return cq.call(e,t)}function Da(e){return KU.call(e)}function uq(e){if(e.name)return e.name;var t=ZU.call(QU.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function UN(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function fq(e){if(!Zd||!e||typeof e!="object")return!1;try{Zd.call(e);try{Jd.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function dq(e){if(!yc||!e||typeof e!="object")return!1;try{yc.call(e,yc);try{vc.call(e,vc)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function hq(e){if(!bE||!e||typeof e!="object")return!1;try{return bE.call(e),!0}catch{}return!1}function mq(e){if(!Jd||!e||typeof e!="object")return!1;try{Jd.call(e);try{Zd.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function pq(e){if(!vc||!e||typeof e!="object")return!1;try{vc.call(e,vc);try{yc.call(e,yc)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function gq(e){return!e||typeof e!="object"?!1:typeof HTMLElement<"u"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function qN(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return qN(bx.call(e,0,t.maxStringLength),t)+r}var i=tq[t.quoteStyle||"single"];i.lastIndex=0;var a=sa.call(sa.call(e,i,"\\$1"),/[\x00-\x1f]/g,yq);return FN(a,"single",t)}function yq(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+JU.call(t.toString(16))}function Pl(e){return"Object("+e+")"}function Fp(e){return e+" { ? }"}function RE(e,t,n,r){var i=r?Xv(n,r):kr.call(n,", ");return e+" ("+t+") {"+i+"}"}function vq(e){for(var t=0;t<e.length;t++)if(UN(e[t],`
- `)>=0)return!1;return!0}function bq(e,t){var n;if(e.indent===" ")n=" ";else if(typeof e.indent=="number"&&e.indent>0)n=kr.call(Array(e.indent+1)," ");else return null;return{base:n,prev:kr.call(Array(t+1),n)}}function Xv(e,t){if(e.length===0)return"";var n=`
- `+t.prev+t.base;return n+kr.call(e,","+n)+`
- `+t.prev}function yf(e,t){var n=kv(e),r=[];if(n){r.length=e.length;for(var i=0;i<e.length;i++)r[i]=mi(e,i)?t(e[i],e):""}var a=typeof Hp=="function"?Hp(e):[],o;if(Ks){o={};for(var s=0;s<a.length;s++)o["$"+a[s]]=a[s]}for(var l in e)mi(e,l)&&(n&&String(Number(l))===l&&l<e.length||Ks&&o["$"+l]instanceof Symbol||(_N.call(/[^\w$]/,l)?r.push(t(l,e)+": "+t(e[l],e)):r.push(l+": "+t(e[l],e))));if(typeof Hp=="function")for(var c=0;c<a.length;c++)VN.call(e,a[c])&&r.push("["+t(a[c])+"]: "+t(e[a[c]],e));return r}var xq=Jh,Sq=vl,em=function(e,t,n){for(var r=e,i;(i=r.next)!=null;r=i)if(i.key===t)return r.next=i.next,n||(i.next=e.next,e.next=i),i},Cq=function(e,t){if(e){var n=em(e,t);return n&&n.value}},wq=function(e,t,n){var r=em(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}},Eq=function(e,t){return e?!!em(e,t):!1},Aq=function(e,t){if(e)return em(e,t,!0)},Tq=function(){var t,n={assert:function(r){if(!n.has(r))throw new Sq("Side channel does not contain "+xq(r))},delete:function(r){var i=t&&t.next,a=Aq(t,r);return a&&i&&i===a&&(t=void 0),!!a},get:function(r){return Cq(t,r)},has:function(r){return Eq(t,r)},set:function(r,i){t||(t={next:void 0}),wq(t,r,i)}};return n},GN=Object,Mq=Error,Rq=EvalError,Oq=RangeError,$q=ReferenceError,Nq=SyntaxError,jq=URIError,Dq=Math.abs,zq=Math.floor,Bq=Math.max,Pq=Math.min,Lq=Math.pow,_q=Math.round,Vq=Number.isNaN||function(t){return t!==t},Hq=Vq,Fq=function(t){return Hq(t)||t===0?t:t<0?-1:1},Iq=Object.getOwnPropertyDescriptor,Wf=Iq;if(Wf)try{Wf([],"length")}catch{Wf=null}var kN=Wf,Kf=Object.defineProperty||!1;if(Kf)try{Kf({},"a",{value:1})}catch{Kf=!1}var Uq=Kf,Ip,OE;function qq(){return OE||(OE=1,Ip=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},n=Symbol("test"),r=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(r)!=="[object Symbol]")return!1;var i=42;t[n]=i;for(var a in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var o=Object.getOwnPropertySymbols(t);if(o.length!==1||o[0]!==n||!Object.prototype.propertyIsEnumerable.call(t,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(t,n);if(s.value!==i||s.enumerable!==!0)return!1}return!0}),Ip}var Up,$E;function Gq(){if($E)return Up;$E=1;var e=typeof Symbol<"u"&&Symbol,t=qq();return Up=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},Up}var qp,NE;function XN(){return NE||(NE=1,qp=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),qp}var Gp,jE;function YN(){if(jE)return Gp;jE=1;var e=GN;return Gp=e.getPrototypeOf||null,Gp}var kq="Function.prototype.bind called on incompatible ",Xq=Object.prototype.toString,Yq=Math.max,Wq="[object Function]",DE=function(t,n){for(var r=[],i=0;i<t.length;i+=1)r[i]=t[i];for(var a=0;a<n.length;a+=1)r[a+t.length]=n[a];return r},Kq=function(t,n){for(var r=[],i=n,a=0;i<t.length;i+=1,a+=1)r[a]=t[i];return r},Qq=function(e,t){for(var n="",r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n},Zq=function(t){var n=this;if(typeof n!="function"||Xq.apply(n)!==Wq)throw new TypeError(kq+n);for(var r=Kq(arguments,1),i,a=function(){if(this instanceof i){var u=n.apply(this,DE(r,arguments));return Object(u)===u?u:this}return n.apply(t,DE(r,arguments))},o=Yq(0,n.length-r.length),s=[],l=0;l<o;l++)s[l]="$"+l;if(i=Function("binder","return function ("+Qq(s,",")+"){ return binder.apply(this,arguments); }")(a),n.prototype){var c=function(){};c.prototype=n.prototype,i.prototype=new c,c.prototype=null}return i},Jq=Zq,tm=Function.prototype.bind||Jq,xx=Function.prototype.call,kp,zE;function WN(){return zE||(zE=1,kp=Function.prototype.apply),kp}var eG=typeof Reflect<"u"&&Reflect&&Reflect.apply,tG=tm,nG=WN(),rG=xx,iG=eG,aG=iG||tG.call(rG,nG),oG=tm,sG=vl,lG=xx,cG=aG,KN=function(t){if(t.length<1||typeof t[0]!="function")throw new sG("a function is required");return cG(oG,lG,t)},Xp,BE;function uG(){if(BE)return Xp;BE=1;var e=KN,t=kN,n;try{n=[].__proto__===Array.prototype}catch(o){if(!o||typeof o!="object"||!("code"in o)||o.code!=="ERR_PROTO_ACCESS")throw o}var r=!!n&&t&&t(Object.prototype,"__proto__"),i=Object,a=i.getPrototypeOf;return Xp=r&&typeof r.get=="function"?e([r.get]):typeof a=="function"?function(s){return a(s==null?s:i(s))}:!1,Xp}var Yp,PE;function fG(){if(PE)return Yp;PE=1;var e=XN(),t=YN(),n=uG();return Yp=e?function(i){return e(i)}:t?function(i){if(!i||typeof i!="object"&&typeof i!="function")throw new TypeError("getProto: not an object");return t(i)}:n?function(i){return n(i)}:null,Yp}var Wp,LE;function dG(){if(LE)return Wp;LE=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,n=tm;return Wp=n.call(e,t),Wp}var Se,hG=GN,mG=Mq,pG=Rq,gG=Oq,yG=$q,Qs=Nq,js=vl,vG=jq,bG=Dq,xG=zq,SG=Bq,CG=Pq,wG=Lq,EG=_q,AG=Fq,QN=Function,Kp=function(e){try{return QN('"use strict"; return ('+e+").constructor;")()}catch{}},iu=kN,TG=Uq,Qp=function(){throw new js},MG=iu?function(){try{return arguments.callee,Qp}catch{try{return iu(arguments,"callee").get}catch{return Qp}}}():Qp,Qo=Gq()(),_t=fG(),RG=YN(),OG=XN(),ZN=WN(),$u=xx,rs={},$G=typeof Uint8Array>"u"||!_t?Se:_t(Uint8Array),mo={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?Se:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Se:ArrayBuffer,"%ArrayIteratorPrototype%":Qo&&_t?_t([][Symbol.iterator]()):Se,"%AsyncFromSyncIteratorPrototype%":Se,"%AsyncFunction%":rs,"%AsyncGenerator%":rs,"%AsyncGeneratorFunction%":rs,"%AsyncIteratorPrototype%":rs,"%Atomics%":typeof Atomics>"u"?Se:Atomics,"%BigInt%":typeof BigInt>"u"?Se:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?Se:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?Se:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Se:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":mG,"%eval%":eval,"%EvalError%":pG,"%Float16Array%":typeof Float16Array>"u"?Se:Float16Array,"%Float32Array%":typeof Float32Array>"u"?Se:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Se:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Se:FinalizationRegistry,"%Function%":QN,"%GeneratorFunction%":rs,"%Int8Array%":typeof Int8Array>"u"?Se:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Se:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Se:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Qo&&_t?_t(_t([][Symbol.iterator]())):Se,"%JSON%":typeof JSON=="object"?JSON:Se,"%Map%":typeof Map>"u"?Se:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Qo||!_t?Se:_t(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":hG,"%Object.getOwnPropertyDescriptor%":iu,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Se:Promise,"%Proxy%":typeof Proxy>"u"?Se:Proxy,"%RangeError%":gG,"%ReferenceError%":yG,"%Reflect%":typeof Reflect>"u"?Se:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Se:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Qo||!_t?Se:_t(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Se:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Qo&&_t?_t(""[Symbol.iterator]()):Se,"%Symbol%":Qo?Symbol:Se,"%SyntaxError%":Qs,"%ThrowTypeError%":MG,"%TypedArray%":$G,"%TypeError%":js,"%Uint8Array%":typeof Uint8Array>"u"?Se:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Se:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Se:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Se:Uint32Array,"%URIError%":vG,"%WeakMap%":typeof WeakMap>"u"?Se:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Se:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Se:WeakSet,"%Function.prototype.call%":$u,"%Function.prototype.apply%":ZN,"%Object.defineProperty%":TG,"%Object.getPrototypeOf%":RG,"%Math.abs%":bG,"%Math.floor%":xG,"%Math.max%":SG,"%Math.min%":CG,"%Math.pow%":wG,"%Math.round%":EG,"%Math.sign%":AG,"%Reflect.getPrototypeOf%":OG};if(_t)try{null.error}catch(e){var NG=_t(_t(e));mo["%Error.prototype%"]=NG}var jG=function e(t){var n;if(t==="%AsyncFunction%")n=Kp("async function () {}");else if(t==="%GeneratorFunction%")n=Kp("function* () {}");else if(t==="%AsyncGeneratorFunction%")n=Kp("async function* () {}");else if(t==="%AsyncGenerator%"){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&_t&&(n=_t(i.prototype))}return mo[t]=n,n},_E={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Nu=tm,eh=dG(),DG=Nu.call($u,Array.prototype.concat),zG=Nu.call(ZN,Array.prototype.splice),VE=Nu.call($u,String.prototype.replace),th=Nu.call($u,String.prototype.slice),BG=Nu.call($u,RegExp.prototype.exec),PG=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,LG=/\\(\\)?/g,_G=function(t){var n=th(t,0,1),r=th(t,-1);if(n==="%"&&r!=="%")throw new Qs("invalid intrinsic syntax, expected closing `%`");if(r==="%"&&n!=="%")throw new Qs("invalid intrinsic syntax, expected opening `%`");var i=[];return VE(t,PG,function(a,o,s,l){i[i.length]=s?VE(l,LG,"$1"):o||a}),i},VG=function(t,n){var r=t,i;if(eh(_E,r)&&(i=_E[r],r="%"+i[0]+"%"),eh(mo,r)){var a=mo[r];if(a===rs&&(a=jG(r)),typeof a>"u"&&!n)throw new js("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:r,value:a}}throw new Qs("intrinsic "+t+" does not exist!")},Sx=function(t,n){if(typeof t!="string"||t.length===0)throw new js("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof n!="boolean")throw new js('"allowMissing" argument must be a boolean');if(BG(/^%?[^%]*%?$/,t)===null)throw new Qs("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=_G(t),i=r.length>0?r[0]:"",a=VG("%"+i+"%",n),o=a.name,s=a.value,l=!1,c=a.alias;c&&(i=c[0],zG(r,DG([0,1],c)));for(var u=1,f=!0;u<r.length;u+=1){var d=r[u],m=th(d,0,1),v=th(d,-1);if((m==='"'||m==="'"||m==="`"||v==='"'||v==="'"||v==="`")&&m!==v)throw new Qs("property names with quotes must have matching quotes");if((d==="constructor"||!f)&&(l=!0),i+="."+d,o="%"+i+"%",eh(mo,o))s=mo[o];else if(s!=null){if(!(d in s)){if(!n)throw new js("base intrinsic for "+t+" exists, but the property is not available.");return}if(iu&&u+1>=r.length){var x=iu(s,d);f=!!x,f&&"get"in x&&!("originalValue"in x.get)?s=x.get:s=s[d]}else f=eh(s,d),s=s[d];f&&!l&&(mo[o]=s)}}return s},JN=Sx,e3=KN,HG=e3([JN("%String.prototype.indexOf%")]),t3=function(t,n){var r=JN(t,!!n);return typeof r=="function"&&HG(t,".prototype.")>-1?e3([r]):r},FG=Sx,ju=t3,IG=Jh,UG=vl,HE=FG("%Map%",!0),qG=ju("Map.prototype.get",!0),GG=ju("Map.prototype.set",!0),kG=ju("Map.prototype.has",!0),XG=ju("Map.prototype.delete",!0),YG=ju("Map.prototype.size",!0),n3=!!HE&&function(){var t,n={assert:function(r){if(!n.has(r))throw new UG("Side channel does not contain "+IG(r))},delete:function(r){if(t){var i=XG(t,r);return YG(t)===0&&(t=void 0),i}return!1},get:function(r){if(t)return qG(t,r)},has:function(r){return t?kG(t,r):!1},set:function(r,i){t||(t=new HE),GG(t,r,i)}};return n},WG=Sx,nm=t3,KG=Jh,vf=n3,QG=vl,Zo=WG("%WeakMap%",!0),ZG=nm("WeakMap.prototype.get",!0),JG=nm("WeakMap.prototype.set",!0),ek=nm("WeakMap.prototype.has",!0),tk=nm("WeakMap.prototype.delete",!0),nk=Zo?function(){var t,n,r={assert:function(i){if(!r.has(i))throw new QG("Side channel does not contain "+KG(i))},delete:function(i){if(Zo&&i&&(typeof i=="object"||typeof i=="function")){if(t)return tk(t,i)}else if(vf&&n)return n.delete(i);return!1},get:function(i){return Zo&&i&&(typeof i=="object"||typeof i=="function")&&t?ZG(t,i):n&&n.get(i)},has:function(i){return Zo&&i&&(typeof i=="object"||typeof i=="function")&&t?ek(t,i):!!n&&n.has(i)},set:function(i,a){Zo&&i&&(typeof i=="object"||typeof i=="function")?(t||(t=new Zo),JG(t,i,a)):vf&&(n||(n=vf()),n.set(i,a))}};return r}:vf,rk=vl,ik=Jh,ak=Tq,ok=n3,sk=nk,lk=sk||ok||ak,r3=function(){var t,n={assert:function(r){if(!n.has(r))throw new rk("Side channel does not contain "+ik(r))},delete:function(r){return!!t&&t.delete(r)},get:function(r){return t&&t.get(r)},has:function(r){return!!t&&t.has(r)},set:function(r,i){t||(t=lk()),t.set(r,i)}};return n},ck=String.prototype.replace,uk=/%20/g,FE={RFC1738:"RFC1738",RFC3986:"RFC3986"},i3={default:FE.RFC3986,formatters:{RFC1738:function(e){return ck.call(e,uk,"+")},RFC3986:function(e){return String(e)}},RFC1738:FE.RFC1738},fk=i3,dk=r3,Zp=Object.prototype.hasOwnProperty,Qa=Array.isArray,rm=dk(),Ss=function(t,n){return rm.set(t,n),t},Za=function(t){return rm.has(t)},kl=function(t){return rm.get(t)},Yv=function(t,n){rm.set(t,n)},Fr=function(){for(var e=[],t=0;t<256;++t)e[e.length]="%"+((t<16?"0":"")+t.toString(16)).toUpperCase();return e}(),hk=function(t){for(;t.length>1;){var n=t.pop(),r=n.obj[n.prop];if(Qa(r)){for(var i=[],a=0;a<r.length;++a)typeof r[a]<"u"&&(i[i.length]=r[a]);n.obj[n.prop]=i}}},xc=function(t,n){for(var r=n&&n.plainObjects?{__proto__:null}:{},i=0;i<t.length;++i)typeof t[i]<"u"&&(r[i]=t[i]);return r},mk=function e(t,n,r){if(!n)return t;if(typeof n!="object"&&typeof n!="function"){if(Qa(t)){var i=t.length;if(r&&typeof r.arrayLimit=="number"&&i>r.arrayLimit)return Ss(xc(t.concat(n),r),i);t[i]=n}else if(t&&typeof t=="object")if(Za(t)){var a=kl(t)+1;t[a]=n,Yv(t,a)}else(r&&(r.plainObjects||r.allowPrototypes)||!Zp.call(Object.prototype,n))&&(t[n]=!0);else return[t,n];return t}if(!t||typeof t!="object"){if(Za(n)){for(var o=Object.keys(n),s=r&&r.plainObjects?{__proto__:null,0:t}:{0:t},l=0;l<o.length;l++){var c=parseInt(o[l],10);s[c+1]=n[o[l]]}return Ss(s,kl(n)+1)}var u=[t].concat(n);return r&&typeof r.arrayLimit=="number"&&u.length>r.arrayLimit?Ss(xc(u,r),u.length-1):u}var f=t;return Qa(t)&&!Qa(n)&&(f=xc(t,r)),Qa(t)&&Qa(n)?(n.forEach(function(d,m){if(Zp.call(t,m)){var v=t[m];v&&typeof v=="object"&&d&&typeof d=="object"?t[m]=e(v,d,r):t[t.length]=d}else t[m]=d}),t):Object.keys(n).reduce(function(d,m){var v=n[m];if(Zp.call(d,m)?d[m]=e(d[m],v,r):d[m]=v,Za(n)&&!Za(d)&&Ss(d,kl(n)),Za(d)){var x=parseInt(m,10);String(x)===m&&x>=0&&x>kl(d)&&Yv(d,x)}return d},f)},pk=function(t,n){return Object.keys(n).reduce(function(r,i){return r[i]=n[i],r},t)},gk=function(e,t,n){var r=e.replace(/\+/g," ");if(n==="iso-8859-1")return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch{return r}},Jp=1024,yk=function(t,n,r,i,a){if(t.length===0)return t;var o=t;if(typeof t=="symbol"?o=Symbol.prototype.toString.call(t):typeof t!="string"&&(o=String(t)),r==="iso-8859-1")return escape(o).replace(/%u[0-9a-f]{4}/gi,function(m){return"%26%23"+parseInt(m.slice(2),16)+"%3B"});for(var s="",l=0;l<o.length;l+=Jp){for(var c=o.length>=Jp?o.slice(l,l+Jp):o,u=[],f=0;f<c.length;++f){var d=c.charCodeAt(f);if(d===45||d===46||d===95||d===126||d>=48&&d<=57||d>=65&&d<=90||d>=97&&d<=122||a===fk.RFC1738&&(d===40||d===41)){u[u.length]=c.charAt(f);continue}if(d<128){u[u.length]=Fr[d];continue}if(d<2048){u[u.length]=Fr[192|d>>6]+Fr[128|d&63];continue}if(d<55296||d>=57344){u[u.length]=Fr[224|d>>12]+Fr[128|d>>6&63]+Fr[128|d&63];continue}f+=1,d=65536+((d&1023)<<10|c.charCodeAt(f)&1023),u[u.length]=Fr[240|d>>18]+Fr[128|d>>12&63]+Fr[128|d>>6&63]+Fr[128|d&63]}s+=u.join("")}return s},vk=function(t){for(var n=[{obj:{o:t},prop:"o"}],r=[],i=0;i<n.length;++i)for(var a=n[i],o=a.obj[a.prop],s=Object.keys(o),l=0;l<s.length;++l){var c=s[l],u=o[c];typeof u=="object"&&u!==null&&r.indexOf(u)===-1&&(n[n.length]={obj:o,prop:c},r[r.length]=u)}return hk(n),t},bk=function(t){return Object.prototype.toString.call(t)==="[object RegExp]"},xk=function(t){return!t||typeof t!="object"?!1:!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},Sk=function(t,n,r,i){if(Za(t)){var a=kl(t)+1;return t[a]=n,Yv(t,a),t}var o=[].concat(t,n);return o.length>r?Ss(xc(o,{plainObjects:i}),o.length-1):o},Ck=function(t,n){if(Qa(t)){for(var r=[],i=0;i<t.length;i+=1)r[r.length]=n(t[i]);return r}return n(t)},a3={arrayToObject:xc,assign:pk,combine:Sk,compact:vk,decode:gk,encode:yk,isBuffer:xk,isOverflow:Za,isRegExp:bk,markOverflow:Ss,maybeMap:Ck,merge:mk},o3=r3,Qf=a3,Sc=i3,wk=Object.prototype.hasOwnProperty,s3={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,n){return t+"["+n+"]"},repeat:function(t){return t}},qr=Array.isArray,Ek=Array.prototype.push,l3=function(e,t){Ek.apply(e,qr(t)?t:[t])},Ak=Date.prototype.toISOString,IE=Sc.default,At={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:Qf.encode,encodeValuesOnly:!1,filter:void 0,format:IE,formatter:Sc.formatters[IE],indices:!1,serializeDate:function(t){return Ak.call(t)},skipNulls:!1,strictNullHandling:!1},Tk=function(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="symbol"||typeof t=="bigint"},eg={},Mk=function e(t,n,r,i,a,o,s,l,c,u,f,d,m,v,x,S,y,g){for(var p=t,b=g,w=0,A=!1;(b=b.get(eg))!==void 0&&!A;){var E=b.get(t);if(w+=1,typeof E<"u"){if(E===w)throw new RangeError("Cyclic object value");A=!0}typeof b.get(eg)>"u"&&(w=0)}if(typeof u=="function"?p=u(n,p):p instanceof Date?p=m(p):r==="comma"&&qr(p)&&(p=Qf.maybeMap(p,function(L){return L instanceof Date?m(L):L})),p===null){if(o)return c&&!S?c(n,At.encoder,y,"key",v):n;p=""}if(Tk(p)||Qf.isBuffer(p)){if(c){var R=S?n:c(n,At.encoder,y,"key",v);return[x(R)+"="+x(c(p,At.encoder,y,"value",v))]}return[x(n)+"="+x(String(p))]}var T=[];if(typeof p>"u")return T;var M;if(r==="comma"&&qr(p))S&&c&&(p=Qf.maybeMap(p,c)),M=[{value:p.length>0?p.join(",")||null:void 0}];else if(qr(u))M=u;else{var O=Object.keys(p);M=f?O.sort(f):O}var N=l?String(n).replace(/\./g,"%2E"):String(n),z=i&&qr(p)&&p.length===1?N+"[]":N;if(a&&qr(p)&&p.length===0)return z+"[]";for(var P=0;P<M.length;++P){var j=M[P],$=typeof j=="object"&&j&&typeof j.value<"u"?j.value:p[j];if(!(s&&$===null)){var D=d&&l?String(j).replace(/\./g,"%2E"):String(j),B=qr(p)?typeof r=="function"?r(z,D):z:z+(d?"."+D:"["+D+"]");g.set(t,w);var _=o3();_.set(eg,g),l3(T,e($,B,r,i,a,o,s,l,r==="comma"&&S&&qr(p)?null:c,u,f,d,m,v,x,S,y,_))}}return T},Rk=function(t){if(!t)return At;if(typeof t.allowEmptyArrays<"u"&&typeof t.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof t.encodeDotInKeys<"u"&&typeof t.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(t.encoder!==null&&typeof t.encoder<"u"&&typeof t.encoder!="function")throw new TypeError("Encoder has to be a function.");var n=t.charset||At.charset;if(typeof t.charset<"u"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=Sc.default;if(typeof t.format<"u"){if(!wk.call(Sc.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var i=Sc.formatters[r],a=At.filter;(typeof t.filter=="function"||qr(t.filter))&&(a=t.filter);var o;if(t.arrayFormat in s3?o=t.arrayFormat:"indices"in t?o=t.indices?"indices":"repeat":o=At.arrayFormat,"commaRoundTrip"in t&&typeof t.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var s=typeof t.allowDots>"u"?t.encodeDotInKeys===!0?!0:At.allowDots:!!t.allowDots;return{addQueryPrefix:typeof t.addQueryPrefix=="boolean"?t.addQueryPrefix:At.addQueryPrefix,allowDots:s,allowEmptyArrays:typeof t.allowEmptyArrays=="boolean"?!!t.allowEmptyArrays:At.allowEmptyArrays,arrayFormat:o,charset:n,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:At.charsetSentinel,commaRoundTrip:!!t.commaRoundTrip,delimiter:typeof t.delimiter>"u"?At.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:At.encode,encodeDotInKeys:typeof t.encodeDotInKeys=="boolean"?t.encodeDotInKeys:At.encodeDotInKeys,encoder:typeof t.encoder=="function"?t.encoder:At.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:At.encodeValuesOnly,filter:a,format:r,formatter:i,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:At.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:At.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:At.strictNullHandling}},Ok=function(e,t){var n=e,r=Rk(t),i,a;typeof r.filter=="function"?(a=r.filter,n=a("",n)):qr(r.filter)&&(a=r.filter,i=a);var o=[];if(typeof n!="object"||n===null)return"";var s=s3[r.arrayFormat],l=s==="comma"&&r.commaRoundTrip;i||(i=Object.keys(n)),r.sort&&i.sort(r.sort);for(var c=o3(),u=0;u<i.length;++u){var f=i[u],d=n[f];r.skipNulls&&d===null||l3(o,Mk(d,f,s,l,r.allowEmptyArrays,r.strictNullHandling,r.skipNulls,r.encodeDotInKeys,r.encode?r.encoder:null,r.filter,r.sort,r.allowDots,r.serializeDate,r.format,r.formatter,r.encodeValuesOnly,r.charset,c))}var m=o.join(r.delimiter),v=r.addQueryPrefix===!0?"?":"";return r.charsetSentinel&&(r.charset==="iso-8859-1"?v+="utf8=%26%2310003%3B&":v+="utf8=%E2%9C%93&"),m.length>0?v+m:""},ei=a3,Zf=Object.prototype.hasOwnProperty,tg=Array.isArray,lt={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:ei.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},$k=function(e){return e.replace(/&#(\d+);/g,function(t,n){return String.fromCharCode(parseInt(n,10))})},c3=function(e,t,n){if(e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1)return e.split(",");if(t.throwOnLimitExceeded&&n>=t.arrayLimit)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(t.arrayLimit===1?"":"s")+" allowed in an array.");return e},Nk="utf8=%26%2310003%3B",jk="utf8=%E2%9C%93",Dk=function(t,n){var r={__proto__:null},i=n.ignoreQueryPrefix?t.replace(/^\?/,""):t;i=i.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var a=n.parameterLimit===1/0?void 0:n.parameterLimit,o=i.split(n.delimiter,n.throwOnLimitExceeded?a+1:a);if(n.throwOnLimitExceeded&&o.length>a)throw new RangeError("Parameter limit exceeded. Only "+a+" parameter"+(a===1?"":"s")+" allowed.");var s=-1,l,c=n.charset;if(n.charsetSentinel)for(l=0;l<o.length;++l)o[l].indexOf("utf8=")===0&&(o[l]===jk?c="utf-8":o[l]===Nk&&(c="iso-8859-1"),s=l,l=o.length);for(l=0;l<o.length;++l)if(l!==s){var u=o[l],f=u.indexOf("]="),d=f===-1?u.indexOf("="):f+1,m,v;if(d===-1?(m=n.decoder(u,lt.decoder,c,"key"),v=n.strictNullHandling?null:""):(m=n.decoder(u.slice(0,d),lt.decoder,c,"key"),m!==null&&(v=ei.maybeMap(c3(u.slice(d+1),n,tg(r[m])?r[m].length:0),function(S){return n.decoder(S,lt.decoder,c,"value")}))),v&&n.interpretNumericEntities&&c==="iso-8859-1"&&(v=$k(String(v))),u.indexOf("[]=")>-1&&(v=tg(v)?[v]:v),n.comma&&tg(v)&&v.length>n.arrayLimit){if(n.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+n.arrayLimit+" element"+(n.arrayLimit===1?"":"s")+" allowed in an array.");v=ei.combine([],v,n.arrayLimit,n.plainObjects)}if(m!==null){var x=Zf.call(r,m);x&&n.duplicates==="combine"?r[m]=ei.combine(r[m],v,n.arrayLimit,n.plainObjects):(!x||n.duplicates==="last")&&(r[m]=v)}}return r},zk=function(e,t,n,r){var i=0;if(e.length>0&&e[e.length-1]==="[]"){var a=e.slice(0,-1).join("");i=Array.isArray(t)&&t[a]?t[a].length:0}for(var o=r?t:c3(t,n,i),s=e.length-1;s>=0;--s){var l,c=e[s];if(c==="[]"&&n.parseArrays)ei.isOverflow(o)?l=o:l=n.allowEmptyArrays&&(o===""||n.strictNullHandling&&o===null)?[]:ei.combine([],o,n.arrayLimit,n.plainObjects);else{l=n.plainObjects?{__proto__:null}:{};var u=c.charAt(0)==="["&&c.charAt(c.length-1)==="]"?c.slice(1,-1):c,f=n.decodeDotInKeys?u.replace(/%2E/g,"."):u,d=parseInt(f,10),m=!isNaN(d)&&c!==f&&String(d)===f&&d>=0&&n.parseArrays;if(!n.parseArrays&&f==="")l={0:o};else if(m&&d<n.arrayLimit)l=[],l[d]=o;else{if(m&&n.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+n.arrayLimit+" element"+(n.arrayLimit===1?"":"s")+" allowed in an array.");m?(l[d]=o,ei.markOverflow(l,d)):f!=="__proto__"&&(l[f]=o)}}o=l}return o},Bk=function(t,n){var r=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t;if(n.depth<=0)return!n.plainObjects&&Zf.call(Object.prototype,r)&&!n.allowPrototypes?void 0:[r];var i=/(\[[^[\]]*])/,a=/(\[[^[\]]*])/g,o=i.exec(r),s=o?r.slice(0,o.index):r,l=[];if(s){if(!n.plainObjects&&Zf.call(Object.prototype,s)&&!n.allowPrototypes)return;l[l.length]=s}for(var c=0;(o=a.exec(r))!==null&&c<n.depth;){c+=1;var u=o[1].slice(1,-1);if(!n.plainObjects&&Zf.call(Object.prototype,u)&&!n.allowPrototypes)return;l[l.length]=o[1]}if(o){if(n.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+n.depth+" and strictDepth is true");l[l.length]="["+r.slice(o.index)+"]"}return l},Pk=function(t,n,r,i){if(t){var a=Bk(t,r);if(a)return zk(a,n,r,i)}},Lk=function(t){if(!t)return lt;if(typeof t.allowEmptyArrays<"u"&&typeof t.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof t.decodeDotInKeys<"u"&&typeof t.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(t.decoder!==null&&typeof t.decoder<"u"&&typeof t.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof t.charset<"u"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof t.throwOnLimitExceeded<"u"&&typeof t.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var n=typeof t.charset>"u"?lt.charset:t.charset,r=typeof t.duplicates>"u"?lt.duplicates:t.duplicates;if(r!=="combine"&&r!=="first"&&r!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var i=typeof t.allowDots>"u"?t.decodeDotInKeys===!0?!0:lt.allowDots:!!t.allowDots;return{allowDots:i,allowEmptyArrays:typeof t.allowEmptyArrays=="boolean"?!!t.allowEmptyArrays:lt.allowEmptyArrays,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:lt.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:lt.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:lt.arrayLimit,charset:n,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:lt.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:lt.comma,decodeDotInKeys:typeof t.decodeDotInKeys=="boolean"?t.decodeDotInKeys:lt.decodeDotInKeys,decoder:typeof t.decoder=="function"?t.decoder:lt.decoder,delimiter:typeof t.delimiter=="string"||ei.isRegExp(t.delimiter)?t.delimiter:lt.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:lt.depth,duplicates:r,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:lt.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:lt.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:lt.plainObjects,strictDepth:typeof t.strictDepth=="boolean"?!!t.strictDepth:lt.strictDepth,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:lt.strictNullHandling,throwOnLimitExceeded:typeof t.throwOnLimitExceeded=="boolean"?t.throwOnLimitExceeded:!1}},_k=function(e,t){var n=Lk(t);if(e===""||e===null||typeof e>"u")return n.plainObjects?{__proto__:null}:{};for(var r=typeof e=="string"?Dk(e,n):e,i=n.plainObjects?{__proto__:null}:{},a=Object.keys(r),o=0;o<a.length;++o){var s=a[o],l=Pk(s,r[s],n,typeof e=="string");i=ei.merge(i,l,n)}return n.allowSparse===!0?i:ei.compact(i)},Vk=Ok,Hk=_k,u3={parse:Hk,stringify:Vk},Yt=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global||{},ln={searchParams:"URLSearchParams"in Yt,iterable:"Symbol"in Yt&&"iterator"in Symbol,blob:"FileReader"in Yt&&"Blob"in Yt&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in Yt,arrayBuffer:"ArrayBuffer"in Yt};function Fk(e){return e&&DataView.prototype.isPrototypeOf(e)}if(ln.arrayBuffer)var Ik=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],Uk=ArrayBuffer.isView||function(e){return e&&Ik.indexOf(Object.prototype.toString.call(e))>-1};function bl(e){if(typeof e!="string"&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||e==="")throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function Cx(e){return typeof e!="string"&&(e=String(e)),e}function wx(e){var t={next:function(){var n=e.shift();return{done:n===void 0,value:n}}};return ln.iterable&&(t[Symbol.iterator]=function(){return t}),t}function jt(e){this.map={},e instanceof jt?e.forEach(function(t,n){this.append(n,t)},this):Array.isArray(e)?e.forEach(function(t){if(t.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+t.length);this.append(t[0],t[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}jt.prototype.append=function(e,t){e=bl(e),t=Cx(t);var n=this.map[e];this.map[e]=n?n+", "+t:t};jt.prototype.delete=function(e){delete this.map[bl(e)]};jt.prototype.get=function(e){return e=bl(e),this.has(e)?this.map[e]:null};jt.prototype.has=function(e){return this.map.hasOwnProperty(bl(e))};jt.prototype.set=function(e,t){this.map[bl(e)]=Cx(t)};jt.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)};jt.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),wx(e)};jt.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),wx(e)};jt.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),wx(e)};ln.iterable&&(jt.prototype[Symbol.iterator]=jt.prototype.entries);function ng(e){if(!e._noBody){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}}function f3(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function qk(e){var t=new FileReader,n=f3(t);return t.readAsArrayBuffer(e),n}function Gk(e){var t=new FileReader,n=f3(t),r=/charset=([A-Za-z0-9_-]+)/.exec(e.type),i=r?r[1]:"utf-8";return t.readAsText(e,i),n}function kk(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}function UE(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function d3(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?typeof e=="string"?this._bodyText=e:ln.blob&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:ln.formData&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:ln.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():ln.arrayBuffer&&ln.blob&&Fk(e)?(this._bodyArrayBuffer=UE(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):ln.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||Uk(e))?this._bodyArrayBuffer=UE(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof e=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):ln.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},ln.blob&&(this.blob=function(){var e=ng(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=ng(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(ln.blob)return this.blob().then(qk);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var e=ng(this);if(e)return e;if(this._bodyBlob)return Gk(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(kk(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},ln.formData&&(this.formData=function(){return this.text().then(Wk)}),this.json=function(){return this.text().then(JSON.parse)},this}var Xk=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function Yk(e){var t=e.toUpperCase();return Xk.indexOf(t)>-1?t:e}function Eo(e,t){if(!(this instanceof Eo))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{};var n=t.body;if(e instanceof Eo){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new jt(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,!n&&e._bodyInit!=null&&(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",(t.headers||!this.headers)&&(this.headers=new jt(t.headers)),this.method=Yk(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in Yt){var a=new AbortController;return a.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&n)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(n),(this.method==="GET"||this.method==="HEAD")&&(t.cache==="no-store"||t.cache==="no-cache")){var r=/([?&])_=[^&]*/;if(r.test(this.url))this.url=this.url.replace(r,"$1_="+new Date().getTime());else{var i=/\?/;this.url+=(i.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}Eo.prototype.clone=function(){return new Eo(this,{body:this._bodyInit})};function Wk(e){var t=new FormData;return e.trim().split("&").forEach(function(n){if(n){var r=n.split("="),i=r.shift().replace(/\+/g," "),a=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(i),decodeURIComponent(a))}}),t}function Kk(e){var t=new jt,n=e.replace(/\r?\n[\t ]+/g," ");return n.split("\r").map(function(r){return r.indexOf(`
- `)===0?r.substr(1,r.length):r}).forEach(function(r){var i=r.split(":"),a=i.shift().trim();if(a){var o=i.join(":").trim();try{t.append(a,o)}catch(s){console.warn("Response "+s.message)}}}),t}d3.call(Eo.prototype);function ni(e,t){if(!(this instanceof ni))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t||(t={}),this.type="default",this.status=t.status===void 0?200:t.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=t.statusText===void 0?"":""+t.statusText,this.headers=new jt(t.headers),this.url=t.url||"",this._initBody(e)}d3.call(ni.prototype);ni.prototype.clone=function(){return new ni(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new jt(this.headers),url:this.url})};ni.error=function(){var e=new ni(null,{status:200,statusText:""});return e.ok=!1,e.status=0,e.type="error",e};var Qk=[301,302,303,307,308];ni.redirect=function(e,t){if(Qk.indexOf(t)===-1)throw new RangeError("Invalid status code");return new ni(null,{status:t,headers:{location:e}})};var Ja=Yt.DOMException;try{new Ja}catch{Ja=function(t,n){this.message=t,this.name=n;var r=Error(t);this.stack=r.stack},Ja.prototype=Object.create(Error.prototype),Ja.prototype.constructor=Ja}function h3(e,t){return new Promise(function(n,r){var i=new Eo(e,t);if(i.signal&&i.signal.aborted)return r(new Ja("Aborted","AbortError"));var a=new XMLHttpRequest;function o(){a.abort()}a.onload=function(){var c={statusText:a.statusText,headers:Kk(a.getAllResponseHeaders()||"")};i.url.indexOf("file://")===0&&(a.status<200||a.status>599)?c.status=200:c.status=a.status,c.url="responseURL"in a?a.responseURL:c.headers.get("X-Request-URL");var u="response"in a?a.response:a.responseText;setTimeout(function(){n(new ni(u,c))},0)},a.onerror=function(){setTimeout(function(){r(new TypeError("Network request failed"))},0)},a.ontimeout=function(){setTimeout(function(){r(new TypeError("Network request timed out"))},0)},a.onabort=function(){setTimeout(function(){r(new Ja("Aborted","AbortError"))},0)};function s(c){try{return c===""&&Yt.location.href?Yt.location.href:c}catch{return c}}if(a.open(i.method,s(i.url),!0),i.credentials==="include"?a.withCredentials=!0:i.credentials==="omit"&&(a.withCredentials=!1),"responseType"in a&&(ln.blob?a.responseType="blob":ln.arrayBuffer&&(a.responseType="arraybuffer")),t&&typeof t.headers=="object"&&!(t.headers instanceof jt||Yt.Headers&&t.headers instanceof Yt.Headers)){var l=[];Object.getOwnPropertyNames(t.headers).forEach(function(c){l.push(bl(c)),a.setRequestHeader(c,Cx(t.headers[c]))}),i.headers.forEach(function(c,u){l.indexOf(u)===-1&&a.setRequestHeader(u,c)})}else i.headers.forEach(function(c,u){a.setRequestHeader(u,c)});i.signal&&(i.signal.addEventListener("abort",o),a.onreadystatechange=function(){a.readyState===4&&i.signal.removeEventListener("abort",o)}),a.send(typeof i._bodyInit>"u"?null:i._bodyInit)})}h3.polyfill=!0;Yt.fetch||(Yt.fetch=h3,Yt.Headers=jt,Yt.Request=Eo,Yt.Response=ni);self.fetch.bind(self);var m3={};function qE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function wn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?qE(Object(n),!0).forEach(function(r){Zk(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qE(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ba(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ba=function(t){return typeof t}:ba=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ba(e)}function Du(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ex(e,t,n){return t&&GE(e.prototype,t),n&&GE(e,n),e}function Zk(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ou(e,t)}function au(e){return au=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},au(e)}function ou(e,t){return ou=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},ou(e,t)}function g3(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Jf(e,t,n){return g3()?Jf=Reflect.construct:Jf=function(i,a,o){var s=[null];s.push.apply(s,a);var l=Function.bind.apply(i,s),c=new l;return o&&ou(c,o.prototype),c},Jf.apply(null,arguments)}function Jk(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function nh(e){var t=typeof Map=="function"?new Map:void 0;return nh=function(r){if(r===null||!Jk(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,i)}function i(){return Jf(r,arguments,au(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),ou(i,r)},nh(e)}function eX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tX(e,t){if(t&&(typeof t=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return eX(e)}function y3(e){var t=g3();return function(){var r=au(e),i;if(t){var a=au(this).constructor;i=Reflect.construct(r,arguments,a)}else i=r.apply(this,arguments);return tX(this,i)}}function Yr(e){return nX(e)||rX(e)||iX(e)||aX()}function nX(e){if(Array.isArray(e))return Wv(e)}function rX(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function iX(e,t){if(e){if(typeof e=="string")return Wv(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Wv(e,t)}}function Wv(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function aX(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function oX(e){if(!Array.isArray(e))throw new TypeError("Middlewares must be an array!");for(var t=e.length,n=0;n<t;n++)if(typeof e[n]!="function")throw new TypeError("Middleware must be componsed of function");return function(i,a){var o=-1;function s(l){if(l<=o)return Promise.reject(new Error("next() should not be called multiple times in one middleware!"));o=l;var c=e[l]||a;if(!c)return Promise.resolve();try{return Promise.resolve(c(i,function(){return s(l+1)}))}catch(u){return Promise.reject(u)}}return s(0)}}var $r=function(){function e(t){if(Du(this,e),!Array.isArray(t))throw new TypeError("Default middlewares must be an array!");this.defaultMiddlewares=Yr(t),this.middlewares=[]}return Ex(e,[{key:"use",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{global:!1,core:!1,defaultInstance:!1},i=!1,a=!1,o=!1;if(typeof r=="number"?(process,i=!0,a=!1):ba(r)==="object"&&r&&(a=r.global||!1,i=r.core||!1,o=r.defaultInstance||!1),a){e.globalMiddlewares.splice(e.globalMiddlewares.length-e.defaultGlobalMiddlewaresLength,0,n);return}if(i){e.coreMiddlewares.splice(e.coreMiddlewares.length-e.defaultCoreMiddlewaresLength,0,n);return}if(o){this.defaultMiddlewares.push(n);return}this.middlewares.push(n)}},{key:"execute",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=oX([].concat(Yr(this.middlewares),Yr(this.defaultMiddlewares),Yr(e.globalMiddlewares),Yr(e.coreMiddlewares)));return r(n)}}]),e}();$r.globalMiddlewares=[];$r.defaultGlobalMiddlewaresLength=0;$r.coreMiddlewares=[];$r.defaultCoreMiddlewaresLength=0;var sX=function(){function e(t){Du(this,e),this.cache=new Map,this.timer={},this.extendOptions(t)}return Ex(e,[{key:"extendOptions",value:function(n){this.maxCache=n.maxCache||0}},{key:"get",value:function(n){return this.cache.get(JSON.stringify(n))}},{key:"set",value:function(n,r){var i=this,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:6e4;if(this.maxCache>0&&this.cache.size>=this.maxCache){var o=Yr(this.cache.keys())[0];this.cache.delete(o),this.timer[o]&&clearTimeout(this.timer[o])}var s=JSON.stringify(n);this.cache.set(s,r),a>0&&(this.timer[s]=setTimeout(function(){i.cache.delete(s),delete i.timer[s]},a))}},{key:"delete",value:function(n){var r=JSON.stringify(n);return delete this.timer[r],this.cache.delete(r)}},{key:"clear",value:function(){return this.timer={},this.cache.clear()}}]),e}(),v3=function(e){p3(n,e);var t=y3(n);function n(r,i){var a,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"RequestError";return Du(this,n),a=t.call(this,r),a.name="RequestError",a.request=i,a.type=o,a}return n}(nh(Error)),Xl=function(e){p3(n,e);var t=y3(n);function n(r,i,a,o){var s,l=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"ResponseError";return Du(this,n),s=t.call(this,i||r.statusText),s.name="ResponseError",s.data=a,s.response=r,s.request=o,s.type=l,s}return n}(nh(Error));function lX(e){return new Promise(function(t,n){var r=new FileReader;r.onload=function(){t(r.result)},r.onerror=n,r.readAsText(e,"GBK")})}function kE(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;try{return JSON.parse(e)}catch{if(t)throw new Xl(n,"JSON.parse fail",e,r,"ParseError")}return e}function cX(e,t,n){return new Promise(function(r,i){setTimeout(function(){i(new v3(t||"timeout of ".concat(e,"ms exceeded"),n,"Timeout"))},e)})}function XE(e){return new Promise(function(t,n){e.cancelToken&&e.cancelToken.promise.then(function(r){n(r)})})}var uX=Object.prototype.toString;function b3(){var e;return typeof process<"u"&&uX.call(process)==="[object process]"&&(e="NODE"),typeof XMLHttpRequest<"u"&&(e="BROWSER"),e}function Kv(e){return ba(e)==="object"&&Object.prototype.toString.call(e)==="[object Array]"}function x3(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}function fX(e){return ba(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function YE(e){return e!==null&&ba(e)==="object"}function WE(e,t){if(e)if(ba(e)!=="object"&&(e=[e]),Kv(e))for(var n=0;n<e.length;n++)t.call(null,e[n],n,e);else for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.call(null,e[r],r,e)}function KE(e){return x3(e)?u3.parse(e.toString(),{strictNullHandling:!0}):typeof e=="string"?[e]:e}function Qv(e){return u3.stringify(e,{arrayFormat:"repeat",strictNullHandling:!0})}function S3(e,t){return wn(wn(wn({},e),t),{},{headers:wn(wn({},e.headers),t.headers),params:wn(wn({},KE(e.params)),KE(t.params)),method:(t.method||e.method||"get").toLowerCase()})}var dX=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.prefix,i=n.suffix;return r&&(t="".concat(r).concat(t)),i&&(t="".concat(t).concat(i)),{url:t,options:n}};function hX(e,t){var n=t.method,r=n===void 0?"get":n;return r.toLowerCase()==="get"}function mX(e,t){if(!e)return t();var n=e.req;n=n===void 0?{}:n;var r=n.options,i=r===void 0?{}:r,a=n.url,o=a===void 0?"":a,s=e.cache,l=e.responseInterceptors,c=i.timeout,u=c===void 0?0:c,f=i.timeoutMessage,d=i.__umiRequestCoreType__,m=d===void 0?"normal":d,v=i.useCache,x=v===void 0?!1:v,S=i.method,y=S===void 0?"get":S,g=i.params,p=i.ttl,b=i.validateCache,w=b===void 0?hX:b;if(m!=="normal")return process,t();var A=fetch;if(!A)throw new Error("Global fetch not exist!");var E=b3()==="BROWSER",R=w(o,i)&&x&&E;if(R){var T=s.get({url:o,params:g,method:y});if(T)return T=T.clone(),T.useCache=!0,e.res=T,t()}var M;return u>0?M=Promise.race([XE(i),A(o,i),cX(u,f,e.req)]):M=Promise.race([XE(i),A(o,i)]),l.forEach(function(O){M=M.then(function(N){var z=typeof N.clone=="function"?N.clone():N;return O(z,i)})}),M.then(function(O){if(R&&O.status===200){var N=O.clone();N.useCache=!0,s.set({url:o,params:g,method:y},N,p)}return e.res=O,t()})}function pX(e,t){var n;return t().then(function(){if(e){var r=e.res,i=r===void 0?{}:r,a=e.req,o=a===void 0?{}:a,s=o||{},l=s.options;l=l===void 0?{}:l;var c=l.responseType,u=c===void 0?"json":c,f=l.charset,d=f===void 0?"utf8":f;l.getResponse;var m=l.throwErrIfParseFail,v=m===void 0?!1:m,x=l.parseResponse,S=x===void 0?!0:x;if(S&&!(!i||!i.clone)){if(n=b3()==="BROWSER"?i.clone():i,n.useCache=i.useCache||!1,d==="gbk")try{return i.blob().then(lX).then(function(y){return kE(y,!1,n,o)})}catch(y){throw new Xl(n,y.message,null,o,"ParseError")}else if(u==="json")return i.text().then(function(y){return kE(y,v,n,o)});try{return i[u]()}catch{throw new Xl(n,"responseType not support",null,o,"ParseError")}}}}).then(function(r){if(e){e.res;var i=e.req,a=i===void 0?{}:i,o=a||{},s=o.options;s=s===void 0?{}:s;var l=s.getResponse,c=l===void 0?!1:l;if(n){if(n.status>=200&&n.status<300){if(c){e.res={data:r,response:n};return}e.res=r;return}throw new Xl(n,"http error",r,a,"HttpError")}}}).catch(function(r){if(r instanceof v3||r instanceof Xl)throw r;var i=e.req,a=e.res;throw r.request=r.request||i,r.response=r.response||a,r.type=r.type||r.name,r.data=r.data||void 0,r})}function gX(e,t){if(!e)return t();var n=e.req;n=n===void 0?{}:n;var r=n.options,i=r===void 0?{}:r,a=i.method,o=a===void 0?"get":a;if(["post","put","patch","delete"].indexOf(o.toLowerCase())===-1)return t();var s=i.requestType,l=s===void 0?"json":s,c=i.data;if(c){var u=Object.prototype.toString.call(c);u==="[object Object]"||u==="[object Array]"?l==="json"?(i.headers=wn({Accept:"application/json","Content-Type":"application/json;charset=UTF-8"},i.headers),i.body=JSON.stringify(c)):l==="form"&&(i.headers=wn({Accept:"application/json","Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},i.headers),i.body=Qv(c)):(i.headers=wn({Accept:"application/json"},i.headers),i.body=c)}return e.req.options=i,t()}function yX(e,t){var n,r;if(e)if(t)n=t(e);else if(x3(e))n=e.toString();else if(Kv(e))r=[],WE(e,function(a){a===null||typeof a>"u"?r.push(a):r.push(YE(a)?JSON.stringify(a):a)}),n=Qv(r);else{r={},WE(e,function(a,o){var s=a;a===null||typeof a>"u"?r[o]=a:fX(a)?s=a.toISOString():Kv(a)?s=a:YE(a)&&(s=JSON.stringify(a)),r[o]=s});var i=Qv(r);n=i}return n}function vX(e,t){if(!e)return t();var n=e.req;n=n===void 0?{}:n;var r=n.options,i=r===void 0?{}:r,a=i.paramsSerializer,o=i.params,s=e.req;s=s===void 0?{}:s;var l=s.url,c=l===void 0?"":l;i.method=i.method?i.method.toUpperCase():"GET",i.credentials=i.credentials||"same-origin";var u=yX(o,a);if(e.req.originUrl=c,u){var f=c.indexOf("?")!==-1?"&":"?";e.req.url="".concat(c).concat(f).concat(u)}return e.req.options=i,t()}var C3=[gX,vX,pX],w3=[mX];$r.globalMiddlewares=C3;$r.defaultGlobalMiddlewaresLength=C3.length;$r.coreMiddlewares=w3;$r.defaultCoreMiddlewaresLength=w3.length;var Cc=function(){function e(t){Du(this,e),this.onion=new $r([]),this.fetchIndex=0,this.mapCache=new sX(t),this.initOptions=t,this.instanceRequestInterceptors=[],this.instanceResponseInterceptors=[]}return Ex(e,[{key:"use",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{global:!1,core:!1};return this.onion.use(n,r),this}},{key:"extendOptions",value:function(n){this.initOptions=S3(this.initOptions,n),this.mapCache.extendOptions(n)}},{key:"dealRequestInterceptors",value:function(n){var r=function(o,s){return o.then(function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return n.req.url=l.url||n.req.url,n.req.options=l.options||n.req.options,s(n.req.url,n.req.options)})},i=[].concat(Yr(e.requestInterceptors),Yr(this.instanceRequestInterceptors));return i.reduce(r,Promise.resolve()).then(function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return n.req.url=a.url||n.req.url,n.req.options=a.options||n.req.options,Promise.resolve()})}},{key:"request",value:function(n,r){var i=this,a=this.onion,o={req:{url:n,options:wn(wn({},r),{},{url:n})},res:null,cache:this.mapCache,responseInterceptors:[].concat(Yr(e.responseInterceptors),Yr(this.instanceResponseInterceptors))};if(typeof n!="string")throw new Error("url MUST be a string");return new Promise(function(s,l){i.dealRequestInterceptors(o).then(function(){return a.execute(o)}).then(function(){s(o.res)}).catch(function(c){var u=o.req.options.errorHandler;if(u)try{var f=u(c);s(f)}catch(d){l(d)}else l(c)})})}}],[{key:"requestUse",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{global:!0};if(typeof n!="function")throw new TypeError("Interceptor must be function!");r.global?e.requestInterceptors.push(n):this.instanceRequestInterceptors.push(n)}},{key:"responseUse",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{global:!0};if(typeof n!="function")throw new TypeError("Interceptor must be function!");r.global?e.responseInterceptors.push(n):this.instanceResponseInterceptors.push(n)}}]),e}();Cc.requestInterceptors=[dX];Cc.responseInterceptors=[];function im(e){this.message=e}im.prototype.toString=function(){return this.message?"Cancel: ".concat(this.message):"Cancel"};im.prototype.__CANCEL__=!0;function rh(e){if(typeof e!="function")throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(i){t=i});var n=this;e(function(i){n.reason||(n.reason=new im(i),t(n.reason))})}rh.prototype.throwIfRequested=function(){if(this.reason)throw this.reason};rh.source=function(){var t,n=new rh(function(i){t=i});return{token:n,cancel:t}};function bX(e){return!!(e&&e.__CANCEL__)}var E3=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=new Cc(t),r=function(o){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=S3(n.initOptions,s);return n.request(o,l)};r.use=n.use.bind(n),r.fetchIndex=n.fetchIndex,r.interceptors={request:{use:Cc.requestUse.bind(n)},response:{use:Cc.responseUse.bind(n)}};var i=["get","post","delete","put","patch","head","options","rpc"];return i.forEach(function(a){r[a]=function(o,s){return r(o,wn(wn({},s),{},{method:a}))}}),r.Cancel=im,r.CancelToken=rh,r.isCancel=bX,r.extendOptions=n.extendOptions.bind(n),r.middlewares={instance:n.onion.middlewares,defaultInstance:n.onion.defaultMiddlewares,global:$r.globalMiddlewares,core:$r.coreMiddlewares},r};E3({parseResponse:!1});var xX=E3({});const SX=()=>String("https://api.kailin.com.cn").trim().replace(/\/+$/,""),CX="",wX=e=>{if(/^https?:\/\//.test(e))return e;const t=SX(),n=e.startsWith("/")?e:`/${e}`;return`${t}${CX}${n}`},QE=async(e,t={})=>{const n=wX(e);return xX(n,{method:t.method||"GET",data:t.data,params:t.params,headers:t.headers})},ZE={initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.25},transition:{duration:.7,ease:"easeOut"}},EX={initial:{opacity:0,y:40},animate:{opacity:1,y:0},transition:{duration:.7,ease:"easeOut"}};function AX(){var R;const[e]=cn.useForm(),[t,n]=LN.useMessage(),[r,i]=h.useState(!1),[a,o]=h.useState(0),[s,l]=h.useState(!1),[c,u]=h.useState(!1),[f,d]=h.useState(!1),[m,v]=h.useState(null),[x,S]=h.useState(()=>typeof window<"u"?window.matchMedia("(max-width: 1023px)").matches:!1),y=h.useRef(null),[g,p]=h.useState("");h.useEffect(()=>{if(a<=0)return;const T=window.setInterval(()=>{o(M=>M<=1?0:M-1)},1e3);return()=>window.clearInterval(T)},[a]),h.useEffect(()=>()=>{y.current&&window.clearTimeout(y.current)},[]),h.useEffect(()=>{const T=window.matchMedia("(max-width: 1023px)"),M=()=>S(T.matches);return M(),T.addEventListener("change",M),()=>T.removeEventListener("change",M)},[]);const b=T=>(T==null?void 0:T.code)===void 0||(T==null?void 0:T.code)===null||(T==null?void 0:T.code)===""?!0:["success"].includes(T.code),w=async()=>{var T;try{const{phone:M}=await e.validateFields(["phone"]);i(!0);const O=await QE("/manager/website_potential/send_code",{method:"POST",data:{phone:M}});if(!b(O)){t.error((O==null?void 0:O.msg)||"验证码发送失败,请稍后重试");return}t.success((O==null?void 0:O.msg)||"验证码发送成功"),p((T=O==null?void 0:O.data)==null?void 0:T.client_id),u(!0),y.current&&window.clearTimeout(y.current),y.current=window.setTimeout(()=>{u(!1),o(60)},900)}catch{}finally{i(!1)}},A=async T=>{try{l(!0);const{privacy:M,...O}=T,N=await QE("/manager/website_potential/add",{method:"POST",data:{...O,client_id:g}});if(!b(N)){t.error((N==null?void 0:N.msg)||"提交失败,请稍后重试");return}t.success((N==null?void 0:N.msg)||"提交成功"),v({user_name:O.user_name,company_name:O.company_name,phone:O.phone,code:O.code,position:O.position}),d(!0)}finally{l(!1)}},E=()=>{e.resetFields(["user_name","position","phone","code","company_name","privacy"]),p(""),v(null),d(!1),o(0)};return C.jsxs("div",{className:"pb-16 px-6 max-w-7xl mx-auto text-slate-100 max-lg:pt-[calc(5rem+env(safe-area-inset-top,0px)+2.75rem)] lg:pt-32 lg:pb-24",children:[n,C.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-6 lg:gap-12 items-start",children:[C.jsx(Ar.div,{className:"mt-0 lg:mt-[82px] lg:col-span-5 space-y-10",...ZE,children:C.jsxs(Ar.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"flex flex-col gap-3 lg:gap-0",children:[C.jsxs("h1",{className:"font-headline text-5xl font-extrabold tracking-tight text-white leading-tight",children:["联系我们",C.jsx("div",{className:"mt-3 text-secondary lg:mt-9",children:"开启企微私域一体化增长之旅"})]}),C.jsx("p",{className:"mt-4 text-lg text-slate-300 leading-relaxed max-w-md lg:mt-[76px]",children:"填写您的信息,专业顾问将在24小时内与您取得联系,为您提供专属的解决方案。"})]})}),C.jsx(Ar.div,{className:"lg:col-span-7",...x?EX:ZE,children:C.jsx(Ar.div,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},className:"bg-slate-900 rounded-2xl p-8 md:p-12 shadow-xl border border-slate-800",children:f&&m?C.jsxs("div",{className:"space-y-8",children:[C.jsx("h2",{className:"font-headline text-2xl md:text-3xl font-bold text-white leading-snug",children:"信息提交成功,专业顾问将在24小时内与您取得联系,为您提供专属的解决方案。"}),C.jsxs("div",{className:"rounded-xl border border-slate-800 bg-slate-950/80 p-6 space-y-4",children:[C.jsx("p",{className:"text-xs font-semibold uppercase tracking-wider text-slate-500",children:"您提交的信息"}),C.jsxs("dl",{className:"space-y-3 text-sm",children:[C.jsxs("div",{className:"flex flex-col gap-0.5 sm:flex-row sm:gap-3",children:[C.jsx("dt",{className:"shrink-0 text-slate-500 w-28",children:"姓名"}),C.jsx("dd",{className:"text-slate-100 font-medium",children:m.user_name})]}),C.jsxs("div",{className:"flex flex-col gap-0.5 sm:flex-row sm:gap-3",children:[C.jsx("dt",{className:"shrink-0 text-slate-500 w-28",children:"公司名称"}),C.jsx("dd",{className:"text-slate-100 font-medium",children:m.company_name})]}),C.jsxs("div",{className:"flex flex-col gap-0.5 sm:flex-row sm:gap-3",children:[C.jsx("dt",{className:"shrink-0 text-slate-500 w-28",children:"手机号"}),C.jsx("dd",{className:"text-slate-100 font-medium",children:m.phone})]}),C.jsxs("div",{className:"flex flex-col gap-0.5 sm:flex-row sm:gap-3",children:[C.jsx("dt",{className:"shrink-0 text-slate-500 w-28",children:"部门和职务"}),C.jsx("dd",{className:"text-slate-100 font-medium",children:(R=m.position)!=null&&R.trim()?m.position:"—"})]})]})]}),C.jsx(eu,{type:"default",size:"large",onClick:E,className:"!h-auto !w-full !py-4 !rounded-lg !font-headline !text-base !font-bold !bg-slate-800 !text-white !border-slate-600 hover:!bg-slate-700 hover:!text-white hover:!border-slate-500",children:"返回"})]}):C.jsxs(C.Fragment,{children:[C.jsx("div",{className:"mb-10",children:C.jsx("h2",{className:"font-headline text-3xl font-bold text-white mb-2",children:"留下您的信息"})}),C.jsxs(cn,{form:e,layout:"vertical",className:"space-y-6",onFinish:A,initialValues:{privacy:!0},children:[C.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[C.jsxs("div",{className:"space-y-2",children:[C.jsx("label",{className:"text-xs font-semibold uppercase tracking-wider text-slate-500 ml-1",children:"姓名(必填)"}),C.jsx(cn.Item,{name:"user_name",className:"!mb-0",rules:[{required:!0,message:"请输入称呼"}],children:C.jsx(Xr,{className:"!w-full !bg-slate-950 !border !border-slate-800 !rounded-lg !px-4 !py-3 !text-slate-100 placeholder:!text-slate-500",placeholder:"请输入您的姓名"})})]}),C.jsxs("div",{className:"space-y-2",children:[C.jsx("label",{className:"text-xs font-semibold uppercase tracking-wider text-slate-500 ml-1",children:"公司名称(必填)"}),C.jsx(cn.Item,{name:"company_name",className:"!mb-0",rules:[{required:!0,message:"请输入公司名称"}],children:C.jsx(Xr,{className:"!w-full !bg-slate-950 !border !border-slate-800 !rounded-lg !px-4 !py-3 !text-slate-100 placeholder:!text-slate-500",placeholder:"请输入您的公司全称"})})]})]}),C.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[C.jsxs("div",{className:"space-y-2",children:[C.jsx("label",{className:"text-xs font-semibold uppercase tracking-wider text-slate-500 ml-1",children:"手机号(必填)"}),C.jsx(cn.Item,{name:"phone",className:"!mb-0",rules:[{required:!0,message:"请输入手机号"},{pattern:/^1\d{10}$/,message:"请输入正确的11位手机号"}],children:C.jsx(Xr,{className:"!w-full !bg-slate-950 !border !border-slate-800 !rounded-lg !px-4 !py-3 !text-slate-100 placeholder:!text-slate-500",placeholder:"请输入手机号码"})})]}),C.jsxs("div",{className:"space-y-2",children:[C.jsx("label",{className:"text-xs font-semibold uppercase tracking-wider text-slate-500 ml-1",children:"验证码(必填)"}),C.jsxs("div",{className:"relative",children:[C.jsx(cn.Item,{name:"code",className:"!mb-0",rules:[{required:!0,message:"请输入验证码"}],children:C.jsx(Xr,{className:"!w-full !bg-slate-950 !border !border-slate-800 !rounded-lg !px-4 !py-3 !pr-24 !text-slate-100 placeholder:!text-slate-500",placeholder:"请输入验证码",maxLength:6})}),C.jsx(eu,{type:"text",loading:r,disabled:r||c||a>0,onClick:w,className:"!absolute !right-2 !top-1.5 !bottom-1.5 !px-3 !text-xs !font-bold !text-blue-300 !bg-slate-800 !rounded-md hover:!bg-secondary hover:!text-white !transition-all",children:c?"已发送":a>0?`${a}s`:"获取验证码"})]})]})]}),C.jsxs("div",{className:"space-y-2",children:[C.jsx("label",{className:"text-xs font-semibold uppercase tracking-wider text-slate-500 ml-1",children:"部门和职务(可选)"}),C.jsx(cn.Item,{name:"position",className:"!mb-0",children:C.jsx(Xr,{className:"!w-full !bg-slate-950 !border !border-slate-800 !rounded-lg !px-4 !py-3 !text-slate-100 placeholder:!text-slate-500",placeholder:"例如:销售部 总监"})})]}),C.jsx("div",{className:"flex items-center gap-3 py-2",children:C.jsx(cn.Item,{name:"privacy",valuePropName:"checked",className:"!mb-0",rules:[{validator:(T,M)=>M?Promise.resolve():Promise.reject(new Error("请先阅读并同意隐私协议与用户协议"))}],children:C.jsx(mx,{className:"[&_.ant-checkbox-inner]:!bg-slate-900 [&_.ant-checkbox-inner]:!border-slate-600",children:C.jsxs("span",{className:"text-xs text-slate-400",children:["我已阅读并同意",C.jsx("a",{className:"text-secondary hover:underline",href:"/privacy",target:"_blank",rel:"noreferrer",children:"《隐私协议》"}),C.jsx("a",{className:"text-secondary hover:underline",href:"/agreement",target:"_blank",rel:"noreferrer",children:"《用户协议》"})]})})})}),C.jsx("button",{type:"submit",disabled:s,className:"w-full bg-primary text-white py-4 rounded-lg font-bold text-lg shadow-lg hover:bg-secondary transition-all active:scale-95 disabled:opacity-60 disabled:cursor-not-allowed",children:"提交信息"})]})]})})})]})]})}const TX="/assets/m2_t1-CnfbKMJr.png",MX="/assets/m2_t2-D5FQauYX.png",RX="/assets/m2_t3-AQ8-tSAi.png",OX="/assets/m2_t4-BohkfY8z.png",$X="/assets/m2_t11-B3IJ17DL.png",NX="/assets/m2_t22-BFYH3JRS.png",jX="/assets/m2_t33-Ch70KsrH.png",DX="/assets/m2_t44-Za58ff5p.png",zX="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAALgElEQVR4AexcW3LjxhU9DaVqZvITZgWhNmBCK7BmBZF+UuTMx0grmJkVSF6B5BVQ/rBopyoleQWkVyBKU0k+xazAypcfY+H6ngbxBkEQhAQ90IUmGo2+3bfPuf2G5KB1jSLQEtAo/EBLQEtAwwg0XHzbAloCGkag4eLbFtAS0DACDRfftoCWgIYRaLj459kCGgY9XnxLQByNBsItAQ2AHi+yJSCORgPhloAGQI8X2RIQR6OB8PMiwB124I666rdTvtsA9rbIp02AOyLQh+idnqH33U+Ql+pxDcEYSX+N3kjQO71Qfwb3+3dK0L2Q8vQI8C1cQSfgINAHgNkBpIOlzrhgWvFOIFBSlBBLhrYc3I17OgTQ2nsjAn4NwQFKAb4MVCXEkvHyQlvEofraW8XjJ8D266fHEIwVzm31d3F1QVJZBltEjSXcIwE1ah1kRauXV9cQ8z6IuuO7EqHdE1sau7oaCnu8BLijQwjU6qVE314DUskstsGyaQDJ+JWfHicB7oiD5MHKta1XQFsDxnBPP6yT7eMjgFNFwbt1Kl2rrJgjsDVWzPRxEUDLh85MKlb2zsQ4QFccnO+fAPdbF+5379EbDUFr7o10vh36scbpQkjfM10cMVrZQ7L8uG4My+0x0jozfom/HwLsVFFB7Y3GEOcCIseq1x58a+bcOvA6jTQ79j3TkRxaljvag6DpPh/FznS0bmo8qy3a7p4ACx6nihZ0Bbi4Gqm3XdiFEIap+If62IX3aiVDuTsCaPXW4gmeNDFVbIYkIx90UC5taHdDABcpost3oLQieEpuhe6yfgIs+NAFErp4vo67sNb4lkFQLwHsdrhCBJ4z+LCuZCuolwC8ONTCW/AVBL1KtYL6CHBPdfpo3mvB7RUg4OHLILjoXh8BXJIvKuW5xhvRg6DiytdDgL8r2HY9GayNrvqHnUx0LKIeAh7yFkGsso0Eb18VdkP1EMBz1EZq9wgKNSjsGdYnwHY/UtjM8JydET3oXwzA+gR4prc4+/YNIIXGWZ0ALro49Swx0j9vGkyNBFjQdWvYbrK9/AlizhTcUktuTXd/1yMqqXwL4Nmn/QIBQ61fC7qCUMe1nAD3n66eUukhijla1p/VodDTy0NuiupUTIC1ek93Nk3hSF5UAGCowAnEfICInmzRaxiY4ME7c6M6H6vfg2d2rBdwv6s23RcT4I4OFbSjtayeR4/m501cDvZx1f8aV2++8b2GLwevYbAJmHM8REegqfvVm49W50/9H0B/NfhK6zPXHSWIMDt6QEPSkOfyCbDg4yBPoHQcrZ3KT/fZAvLFpoMZLvu7EHOcn6ChWE+2QaCX6j54XUp3wcEiErIE2DNcFVin7rQeWnvZPIwUTtXKZlNLOnaVn978WDqvJQutMB9LwmnmI64kAfY0i4NtKFYlMLPWE5e0A/lojN7oWv0Y/NIheM9xBtjDw3Cqe//rhCpc6fdGMd2/dcP37ohdS/kZoSVhlNiaSBJgt5TXtMa87kRug/UCC98Gv3Tgd0GsgC0zrFKzARECGulgDRJjjSDIc92dCzWioe1SCKi+LH+ZDgScxociEQHseiBL969DyUUB8aaJV7QggMoj5fZQugJGxxFzrvI6mwJBOgHs8wzlHNOprOiMBnN5TODP0BA6Ry7DsA1IZO32OfxZQfdQJgjoSdn374KHiADBeoNukOOfXrCywZPeXyohRgHU4OrXBBwQL/t/tYO1nU0NOAvZnz9vwshuQbYn+N24uBzMZ2JvdEYzmMsPXoP5AkomfDd9q7r6Qf/31QRpklCDk9twLPAJWGylK5S2IOl090ZB2tK3Whn9LXWZGx94BWnZgHgrnZwsZzAbWyBh/+6nrDqVWrSsIGrrX38LgvYe6m7Y+mxUPT9GD2pG7Nbm/zNOEDaJtQv4/XO22drppoJp5/2gxc2w2M0sYWng/X0oq3RC1DhJ0CBTmF+2MP3HNJGO/Xnet5vxWYz8tpmQ4YPVvb8L6u55+xo1U7/+5cnfmYnfAoBsxVDRORI2r0wOtjKDfbXMTQjYFyPjDF6D6YIXBK6nsxD7F45yFESHd4MuIjeDMbuY7t+EUcEMTHANMTndrIlakCDn/Twn6vTp7Umh7vOkpW4Gdubn6GjOCtCjJreteeaDGy+ACx2Rj/EokBRWNIik1QvG+jg3EBMBq5HzK9LdMx8y5Am3UuDLi0m2CtCJy9+5X0F3LK8jipzpQLs8toCoAkXpV3lHS+Kn5zwvKJK7enOsryfqeekcfPAVA5F/wUpG+onkAIjg/cRuFSDmBDrlk8jCIbPYW8A9i72bvxEc6DRzrEbkkzaPztxoQEAyP6zotLt2cOsFFVhRelly40LMmVbmWj3nzfnlRFY5yeQoTmpscvIq7OcrcpKQ9/v7JIiClPwvcetHzOlaBcHiq0j385jM6kHjdRxkBrHV81kiQYD2ILiGv+pNJpdbf5biSQrAkYInSQvNrjGYt5+f8+sPfmD+6218OQ9Ft41f/bLCmFT+YXwYYP5z3aO5e/gWktclRq+XhkzXwX26vD8nNRt/sSqkwcm2zBnSMyOAAAGc+UxjA6/G6Ewqbd0TpNOscp4tnh00mXWdXgkwa7KYUSfVzOPvcywmmAamwYmLMSySbe4hSSXqkO6imCdMx96inwLdo0RhyBg3DFcMOJDb/1eUzYoJDu00zWATeQOUOMluRhPppV2N/qavDScOxgyOSW6SMX3YfUoaSG0UJj5gT+yePmXiPiCfcUt1l/K6M78yXsc/BxuIK4rqTqbhLiinklz+24WLUctVb88H+kkQ7f4T/G5Ep2SIu+lgAn9jbwKD5NogSBdaoMkS4Lz4BjCsG+X3ketMIHeyWHdwD2kvQ6DVXTpYy3k3DvBntTSzZjckN+ACKK2MXbj0d8FDl/T5ABdYgoNQ5PbzThgOAlf9j+DJGQl1hwFYwVu9SxDXzfyF4nT3Bpf9LQTymjp7iXYhorojNf3VlKHug/0c8LuI667JK106pjmgohzEKuUQCJmOnpe+D56W3i34cqbpfOvXAMySQU5eDZks5SN5cRaXz/K4/R0Xds/m5FXRHWPNKipbHypcE8poC9CbGO0m9L7OxT9O44FL/LAlLz82XWEFjFpfPIE+p0Hiax88rbDwbDVd6fjzHtwRF26Uijw3Gm15kiovtgYoo7s77Nj8xVxo5vFy9bHCNZ8U+AT4/eVNhWzSIto0vRNdeOni6/QMX4x4FqrA2L8RHvr/tQpDFVpUgT0r+8XpkZUlIX6F/YGaQPZGY02j/pRAaFaxS8BV7LWVZdlMSxlAy7MEX/uymofIEZIuqzvzoOd/3PK/idIuUzpJsYpPjrHHnj4B7Ib4BUPFvHLEWOEdGBxCMISft86jpYzyXRjzAZQF0jJdACRDvXGR77pW1pfXdIlEXX1inPoCeX7tTfnA8xmldNfsS10nwZ6VTwBlnJc6QzF1tALm1vqFCCjGBuGgHxFgW4EXvlgo375YDwH2BpzVzXOJCGBEcneSMa2vFwFdEA4SRp4kgIUZcNEyY7D1tSIwg49tItMsAWweXHkCM7SuLgRmCn7uaj5LAIt86CRQx8fjF4LPKuQTwDcRCSd8bH0VBMy5/4HAYLZIejEBlCAJ/LTDbqphYSZoXQoBcwNP/D2w6X7h1L6YgCBbuzE12ERLRIDIgrsCLziE+XlTD4/OUcKVIyDIKCRCtv3VreF2b/D2md4VA87tgy/4eFi/xOrjQK1GQCCp26i6RatbxXa71+CztwUq8Jz8b15Xt7oNuOXNv4MgJgE+K9yrEZAu4D9vp9rkfnxW/r9v/5eGocpzPQRUKbmVsQi0BFgYmvtpCWgOe1tyS4CFobmfFQhoTsmnXHJLQMPstgS0BDSMQMPFty2gJaBhBBouvm0BLQENI9Bw8W0LaAloGIGGi29bwBIC7vr1HwAAAP//mEmzlQAAAAZJREFUAwC4LiAMwEUOeAAAAABJRU5ErkJggg==",BX="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAANoUlEQVR4AexdTWxcVxX+rp3Wdt2GCVWVBqR2TKEgBPFYqBIgRO1uYFdbRcjjCtUW3cAmyQYkJBRHrBBCcTcsQMLOAk+KoDaIVUEal1IausBju2oWLfGUlp/QtE2TEjtxPLfnu88ztmfem/d734wbX70z7737e8757s959973pgP7rqUa2AegpeoH9i4AuekMcoWsQ3LdYkVGLX5vAGAUffYY+gvTQqvoP/sudLcQVqEhJNf9BY3+2UWhOeTOHkPuV7moSkkzXfsC4NTwSfQXijBK1lOimHGhLKAzcnY5lChdDUPrKegOAaOwiqOzp00rcYndDl7tB0BV8bpHajZOipIGhaIeWSh1HBqrAuR0OwLRXgDkZqX2di9CQxSvPWp5VCwwLi1jUUCYRBu59gDA1PpZ6TbUnOgmK2TpUBkQXHZrHFcslRIm29YDQEXoriK0OhaG8ZhxB6FRlNZgEexgHLYWAKN8UQSUDJ7BGE4wVhYGhNZaS60DgN0OFQCkXwtRcwJCh5ithZbx0DoAdM+0qKFlgkvZ1UNAQBGsEFWfFM+tASBXEEtED6cop19RAkL3ab9INsLTB8Dp98XMtCFOrDzHQTM4VhbhE6cPgFYtqWmBVEPeUu6K0gUgV5Cn2rbqeupxyaLSnaY5nPJsaLq2fr1yg90rfTxYxGRipdcC2PdDt9PA66FBxWluaakewQl7pwdART2aMO/2stN4wl7mu3NODwC1F2p/VTnp8ZoeAEBqzRqxHbuhdKYo0gHAWD+xtZJuBhXVn0aB6QAAnUlDmITLSGWCMB0AUqpNiQKgpBtKNEP3zNIBwL3sdvfNpsHgPgBpaLlJGfsANFFOGkH7AKSh5SZlfBgBKKOiR5rI3FZBHzIA1GWozhGsjM1DYaKtNO3BjF0A+ADWXyhCQVbAYNlR+R1DKH2zZAoq5Wek3DggZGEmEE1u1n7sAUDlaxSF8xSmIOqUL4Waw4DA7kjCjUeonyzMjrrZWIv2fiXaAYA1R2Par/CEwstQeqBW8+szLbE7knCgjEhODcOpSJFS+yWyAwDAWp+FbcdNuGpdlJ9vrtyShC/l+6D1CWGpeVyJ4HKwO6JMLkHxvOwAoJXtuf8FsXQGsTx2AqWJy4FVsDw2JePCkMSfEQoHREVbkckOAICt2u8ofik/JJbOc4jinNYwYYCoVCYA5Qza8HGW5oYsARBk9lPNAypI7V2QPnjS1Pg4ikedIxArj89gaXRAwOhDUCCQrLMEQAAml0ZHRPhD2KgMGOVqze3jDlXUsPFX64dApS/nT0Wu8QFYAcEIEs9CHEsAKP9mPfDb+408rzxeMspdHjsjfbpDK6O/A/3D9O8mszg/OtM0tQ4gU9MM3APtAKC1PwBaarc7T+n75uao/Objlq74yxSBczsAdMB/gKx0PhyBX0tJ1nM+GZdNK/WJFCXYDgCl/IIwQ5KTx6G0n9AeCS14+63YadBshQ1nBwByqkATr4mVo4eRm2bTZ+xkKWxuCnz7Eu5Ol0AjwD0wtq89AGhZKD0gHHo88KgMKj1PSHhrD06bQNe1RsWK45i/6jof3KzxaA8AskwQOAVQ0YPGlqffTgqyWYsKOlo4iSjEtDvLc7vWaNwqX8F4zfy1bInZBQBbbmXsua1mvLDlUz0NIve0TyuoZKAwGYk2tWPqwsM5ANV3PzLgihnskSRp73QAqHKtcKp6WTvrzanmY8EdHl1YLQfvi87rS96BEqJRlN/dh9aTuz3s3qULgKt1pDLQXdOeYpZGnP7YM4JXgC6hNMG07hFyBSq63vYvm4dB9xRWfNMFgCIoTKBhDkiJRWQUAlen9FOu/s08Nabg5XKFcWg09v0p136ylz4AHJh1xaUrEoU4tZJ87SYuqmiwxiKQY1xObbhFdpTv1uJm0q79ZC99AFgq5+WhZDaUNzuItdILBNriZvoYzcaEBVl0Gd8a8NHgcrP8cIeb8stQ61ysaUhi26M1AFAq1cWuqHF+hSD0F1ZdF8TN9HG+Dwp9u2ZQOXt6o5J1TMexM8x+F/GBr//sHPgS3q4AcyPKx1DT8cJEs/PTOgBKMrgqPSJilYXqjyw0Vj0/McNuzJi2omx2NZw9Pf/46/WZGOuKLYqfvnF/PaoMBVF+vtyQNiWPBAGIwDEVSQV4L4ZwsKwCEXxNljsy+KEmKp4tyn17fBksmzxEYD2pJK0FgFJQAVyV0mqKtx5EIIrSIrRQEVQun4w5oJJ4Tb/+QtH5nBmK4Iea3BXPIhakzx9o5UIMmSC1HgByQVoePQH/QZYxB41yFSahMQ0Sr43CMQhvpQM0f7U6bsaK0oT3MwLSc+0DAGWuDrIaNDnLSMypywLUJNRaH5ZHwz9TJMZHY0btBUCVP5qcZhKvMgHWWsRxuuQoPn+qVZZOM+7bE4Aqx2wR0HVdhdRmV1DoD2k15oxtJ/dt0t1s87R91d4AbPO540rPY2mUuyUUaPuTzO4J49cnY0BpR+S2v2wvADg9zE/G7LRsoDKeWqTtT2pew7Nw8pSp72nvvDwLsRvQWgCMws8eM6al+RouVqHVHHZZNrpOafX3OxRE+x+on+GUhzqTZ9F8bZfl0Fw9WjgJxudTMlrn0geAAucKk0bpGqJwPSXi+5iPEqN2qGFJKw9ns3PO88DsabmfFpK8UJRo9QCI185DZ+RuEDRdtcTnJ5D5yWPzueOCT1pJmfCRHgCs7XxYqj2dYhDRnShKgKDtTwK4qiV+iOhUTibxpqAhwBaK/qt028XEvbIPABXPj25TOKMsUwMD8q1oAblYNgGTR4sm69eVGdOifJdLoxWwM5U9AKpdjVaLUiBrqJwCHHxSpWWzlFdb1k6feQEDmEFgp0tSo7mwrmTKYcf+UzUVOAtAxg77QNgBIPdradLdi9A4CegMwjh+sarrxnu7kpj5ovyE9Nt9IEDAApwJPGkd2CI1L0qfAndgLI0N1BZXShOXzT5Tzp4qnUN4VwVCuqZCjG7OveDkATCLHpuLUlxUZkVgjzViAsGpBO6Y5gQen5ZrNDoiSj/huYWQAz8QZ9yRrgnFpP+XIFkAKKT7ogfCOTUsJuJkuDRNYhu+cLJJjKBBUjlUoiAkB0ByQjrK0KIwtibnLvovH8KYV/Qc6lKqDDRBKGTrAiLdJgMAFZWokFuysDXFsURogemO6a3cEjwRBBRBQyNmrvEBcIRMonm7i2I2bkX4fJjhS5QU1ghw58LNN4tKT2y54wOgrQopgrO2scmHAKGmfHh2Ewd6DuATX/skfvjTISz/cQTn/vAoTnz/i/jMwBEopRDI0WLjdEagyO6R4gHArgfwFBKJObXV7wYAIYDye4/chYe+92X84MnP4tQjh3Hu4g2cfPE9vLx5G+776gP40jeOoqv39mDcx+x6owNgBFXHgnGZRKwqCLPD8MrO8MQWCc9K0X13Dz7/3S8ge6QX3/7UHVi9ehNPv3pNaj1woEOB7q57ejHwyIO8DEKDYrFFNm87gpTgEWdc/D0FlTALh8pAqzkRuNFENdaO8n3++NhQFl2HuvHpuw4Y/t58fxMHpMt57MFenH3sML4uoDAgc/hOHL7/EC/9KUYriA6AxhP+nFmKQYH7ZwUI6ZJoieRmp0BgAgy49zx0xDDVqcwJDxzsxJOf68UL/17Hwa5OfGvgI06A/N5730flN9ARuRVEA4ALJqn0/c2EV8Pgn7VxOjnER8FvP9hlMv3r2xu4sqHx8TsP4CtHunF66G7jf7C7A8pcAV09t21dBThF/JRBR4CsG6O0svY3chPKZ/PGpom/drOCmX9cw82Kxr29nch0OaqYf/l9aBMDMrVUvdryaHZSYJeMsM4pNUwqDnRA5EEHLXZXL3CG22Fi/vU1fOcvl/HMa9fwbHkNP/rzO/jl37fnAd/61/a1k6LZr8rI2BRaL+EB2MPKp/refPYCtNR6XpMuXNnAz1au4icvXcbz/1yr1f4b6xv4z+rbjBKc/F53dckpPAAaD7vks2e83j1/Cau/f7UpvwRo+bnXcH1to2m8hkClhxv8fDzCA7DHWwD18cafLmDlF4tYf2eNt7vovf9exYu/WcalN8J0P9UsdOj1hnAA5OYyUlRWaM8fb7/yFl788Qs4N3UOLz/zClbmzuP5n7+Evz29hKuX/h9RPhkHqh8hCZhDOADg+02FgMW2T7Rrl67h4spFXDz/P6xfuR6fsZsboVpBCACEtwiDjKS6tQ6FUD1EOAD0ZpSOEbeWq2zbuQEEDweA2SyLGew7Lw0syLr0Ga9AN/9wADCHpfyE2XkA7AOBmlswOuFmgZpXsIvwADBfbvEgEAp9cN5qWaD3LUYL0Oq42XdExVMnERQQDYBqQdwmwm6JDHCLOPfkaHCqWABRofpCtLUzsiyAH4qljJSVMnOLTGkilpzxANipNDLCWuC83TJkdrWRUTLMmkLmoeYliYCDMtrPCU+qJGzNGEXzK461949H+T6CrF2OOfuOKKtETOJIDgA3bsioAWX0KRmcTggoI2DNWcr3yVmZ5lv9bKUBSo+L8EKYhN4iZ6zheBONqvmYs5a8hahYlsctkCSzDZI8jQ4IXxOG12bvHyM5ZxcAPz4JED9PSZBIFNpQ/hTYkkgca+IQ86jR2BlR7hnwxW6Wx5c7SH58WgxvLQAWBdsrWe8D4IOU7eAPAAAA//+vL8m9AAAABklEQVQDAKDyLgxP+JDSAAAAAElFTkSuQmCC",PX="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAJC0lEQVR4AexdT37iNhT+RBeT7jgCucDgnKDhBG02/YV0keEEyZyA5ATJnCDMonHaTWZOAD1BSHKAcIOya2dRXt+TMRhjyTIyQ+Y30g9jW9bTn+/Te0+SbWgghJ0iEAjYKfxAICAQsGMEdlx80IBAwI4R2HHxQQMCATtGYBvFR3EL0d0Zot+jsuyDBpQh5Ho9ig8RxRdo3z6A8AKiax5kTsvEAwFlCNmuC+hvb6/QvvsbhCEIfUClvX6EcXeCkvB9ElACivFydNPkXn6IdnyzAF2pc4CaazJEg7W4gohAQAEoK1Ea9LszBn0I+vEFhCFff1cIOl9IPjRF48vn5Nj+HQgowid1ou2YQd9j80LXnOzQDjqnWHzUJ4x7pfZfkgcCBAXZonsxL+xEBXS8JE4UDDqqhxkNXIUCASlS46MpZiA+3Qx0Fpx/Jng++Wt+XLoLBGQheupeMgUX2agNjkdVZAIBebR8SVC4zGdpOw8EFKGzMQk0dhn7Z4sMBGTRyB4LCYCzM4UEgoyWUCUEAkxoRTGP9dUvpsuF8Q3l7HxT+UBAikR2L+ATbtzH/SJMPPYvX3qQlNntKxKQLfYVH0fxBTT4FetI+IQNQiAgC1oCfj8btXqsTLPbCZ5OPq6mdTsLBKQ4lYKPCRQdsHYUzRMqjf2RCYEAASOKBwyspefTGOrfAz3ElNERYZWECksPyIVAQAL+aQ6X7OkI6ktnZXFtlYRJlaWHbMZy/P0SEN00kdy9soE/wGN3FXxBTbaUBFKVx/4inm7bJ0AaKsu7aYmvYS/1oTdDLO9eYS0QLhj8HmxBSGj8s5HzTbPdLgG6oXsPbF9f0I5v+G5SKy14Z3tdJwxRBr6AC4cw7plGRg7C2OKjiXK/lNQD1yIF/R2vsT8wCasOjBN8tc8CfKR1wlogXMAVfPiH7WhAdHsOwhCg3L1S1QShz9rwgugPm+31b1k+Byfw6Z0VfGlXOxZtHnJHMpOYL9tyXi8B2t7fXoPUlaVMudQCzQYQJyjASMw2t+jPiOuU1cZcaWoKEvAtkyk9T9DtEuAPQbjJZVJ4WhZZHwECpDg2UmdlhS6vKwYG0qO25x+0KZwVaGNaCzWFanSsM9lIOhX6qcR8f4i3d1fz44139RCgexi4kSrasCbb8Q/JohrXi3KmcFFLnt0y+ONfx4uY7IFodPvuHqZOpejc15T6EyB2kaSHQVQThjAyxGeiVROEPsTG1uEfdL1gMxMMPniMbwI/ZjMpQ1WyL0nTf9cujyBmGrpy6EeAVk3FakimHgaQOufxdAcK+1zygLeyDzfc0z8s7bWprDn43UlhAm1OwZqjHDRaccdp3EO0pTAze+RmBEhh7XgIk2rqMtUUMzrE0/EHfSqP6T12e5gp6VHFDdcJ0y8VgVDdP0TxBQj9NJf1PY2RruusX4Qe3RAYfNg0GrnAnWbvPhfndFqdAN079mREYXt8Y6JXDosez3g+/swasc+jjvdcwwlvZR93/6A1EhbwMUJ+XQeZoH2ZkrZVAT/NIHk4Nz1z3FcjQDu10gpyI+crh7ZKPJ1cQ6HDSQa8lXwUqzkDa/MPUcwrmurMktGAie/ANHPVbRNfRmZzaslcXyKuY0X/5U5Aotrs1CwVlEeyTYtXuoa5r9QsJf7BRRtY1XP+QZtDGangNJf78jSpV28ZkTtaOGxL23IixlPtlGNnDXIjIAHfptqAONunEzErxroZLyRE7GM2E5AciFBL/yBzD5D4leLsCby0YKmX7vnqCrUF1QRhCOkYDnm6EUDqZ0teE6gfDhbOtiihECjmQyYutoo9/zaAs1nSBcmTC5E+KvrS4HftD0oRfioS9YxrYfbGhtkiezcCQCa7ONGAGScycQuy3CC2EWixY+Y1oj1ZkDM78EQbepzvPoARNgkiozWyBHxJt+PNjQDCAOthAOtwTtZfMMT6sm8LhKGextu0ISGi426WMA9qyiMsXlQ7Toa/89jXunMjoLH3AfrOjxpzQyZ8fM4jih5KRxRowRRkGk+iDTdNUxIdr83SnulmuE6y/FLl6zrLxK/iyI2A8dGUbfx7PB4f4LG7z8fm3iX2Xq8UGs1WtuEtzH48zUYUHuvyu5dzszQoTAOwObSs6+B1BjcCXOou5kQvXKHvknyZxomoJHlilng2vTZaYvDBY3zLuk6Sw6v7roeAxeyYzMPBOpsuZkk0kcB312gMBQa/O0E+SL1k9EV4geylk+TT7PjcnwC93q42nb6bmy9gSd7mFIDcOnw8OdDP6+TTiezqLdGW69Awn9U2z/0ISGaQQ4DsjrRqC6Tnpm8k6p5b8fZl4ofqr1fVdjik35wAvfClrhzKqJ5kps4ypLagb1/G5feRE63hNSH0qxe6G4nqBEgj2/EQ1qVoz8aoQo2yE6G15g3XC6eepX9V8WoE6Ebuib03z2S3X/3WmkYs7L2Ktl98vSW4E6DBVwK+YXJVb8UcckuJIBC+CXtf1CZ3AmY4BQpNQ1G+Ic4RAXcCHDMMyaohEAiohlftqQMBtUNaLcNAQDW8ak8dCKgd0moZBgKq4VV76kBA7ZBWyzAQUA2v2lMHAjwh9RUPBPgi6CkfCPAE0Fc8EOCLoKd8IMATQF/xQIAvgp7ygQBPAH3FAwG+CHrKBwI8AfQVDwT4IugpHwjwBNBX/NskwLfVr0g+ELBjMgIB3w4BarqdutL6U820pbKosaU2FCDjWFajQLQ4qvHmI6DGqDeMCv/qo0HyAsg6MX5ljyAviefzULjkqLrLGhSWxQXlP+4EyFsqyRsyCo/durYOxr31Xpm8iLFfYzlS306+8fp8O2X1dN4OX+4EOGQWklRHIBBQHbNaJQIBtcJZPbNyAuQtGHlLJWzJe2bOONw+uPyalp2A5e8oyCPpYQMqYKAi/R6DdGCYg50AkkfSU+Gw3wgBgvW3KOwEQK0PETeqxfcspJq21tsJUDOefNnEw7VSBEr+1NNOwPjk0/zHMkZcUNiSX29xxEExdnRk/T1SBtVOACdA8lZ6h2elYZNfA3Pejo/wzB1YMLRs5QRYhMMlfwQCAf4YeuUQCPCCz184EOCPoVcOgQAv+PyFAwElGG778v8AAAD//2vHhn8AAAAGSURBVAMAAumL/aEjh+sAAAAASUVORK5CYII=",LX="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAGe0lEQVR4AeydTXbbNhDH/6D7nt2dcwP5ApF6gto3UHaRvYh8gjonsHKCpCewsrHabuycQMoJKtvvdWv3BPWqX3nmdIayG1F2REAAhVEEPAwpiYMBZn6kDBAQnSGlqBFIAKKGH0gA1hpAa9BFc3BSq7R+fhU5xnOrj3cFtE7bIJxw67q1CuX9AjBXojHHA5Cb5hIDMrnSllihbVXxANi2MJyeSgjrBEBQqoOwbgDUQVhHAKogrCcAQQCo+DpaZwDgFB3CugNgBuji+Wm0wVoCAEmmIdsYkgDEiPpUnQnAVDBivEwAYkR9qs4EYCoYMV4qB2BuOSg386XQYZXVzJoB3MD8tYOLToW8fAYy71Yz/FA8I5abI4wP5Qqojm22+aZaSafGEq8AxwAYOPTN/3TQhaqkGEDeg0wntga7mCsys5adqYqqQ2P0AoDZhkwnEoaYK0aCn64AB+hJdSoCiq+AqVZ+xS+1Axhx7PuecsPl1WbNAPo8BthjOfSUHY6+QOSdvqwXQG7Og4XL0IdgtgIb0gvAYBehUp59H8pUaDuKAdBRsaLt+eAYPiJLHw3bCh25QPb0Apg42IVBz0uALiKmqqq1A6hq/8ofTwAiI9QNgOgdiLpeAqjtgoKTXgByj/9y/zUu9997yUXnkO8l9dhXlVkxAMgoGEFSRhdB7NRgRC+ALA/Xe6Es2sKrKmZ6AcC0eRxwzTL0lGuA2lWBiHVcMYAiJHKfX0bEPiI2CmMaN9oBaIxZ0DYlAEHD6W7s6wTgHodoJRKAaKGfVBwRgLFb8zNpZ81bijZrFg9AtvmeoxrNca77IY+Q/RNtwiYegPGLW55qlGWHhvcxZQ9jyxV4D8gC7uMBCOjEKptaXQDyrInmT3/wKPka8npFKawuAMqOAdrmuDdA5i3vVzKXAbQGjeKMag6I93UKn7Vcl1fIqDVVvPp2Q2sgT02p0yexzX65PR6nDCA3P7BT1c6wkmfmsxZDCHBPQ1bFZXEv4ZWVrp9SA7KeVRYVW9opAzAkl7RlUW81biyWB8G7uQ4GHCCUATjU8Vh1oU/WHkJsAEJtrSFoALDWELQAWFsImgCsJQRtAKYgnCyzRyb11i9F72gg06v/16URgDSugbvNZT5VUepcjsyMR7QCWE4wFNSSAESGkAAkAJEj4Fm9b/F0BfhG0LO8IwCeSC+WjKMHmiOA6iXheDqN5vpEmPgMBJ3HdgNA+RGKJeOdN7icI8qXhONx6vO89N5cnx78Ndh7XHzxT9wAbGzaLxnP8HHxZi25JMH+rB53RFcEIZIbgLtPR9aVzgw4rMvFUDTURsty5N36RWbigk1auQGQn3s2B7JcvOq/Xgw5jmHW90tgWoMeT5GW6+QKSrk5KB+Xn7ZK2ZLSl96YFmjr10d1zNpsnp7xjJf49iVDzp+7AZiYl3sZEtx5IjoTbd8tbb3lP47HbGa2Pv6olMvHDXrIt2SKFZZJzuqyDWDmvWkDFPQe1SIAsNxkFnfYINyJgHqSfgAmlyWMi3mf04+LFVxeKVcAN8hNGzntegnB/leL4/1zGOw412f+foYrLgvLJG3y9SvPD7k2px6SG4Ccurh6+YEd++gl0qcG7Adr0vW72v9cp81rt/We/WIMYGN3rs5BHwYCAbbJDcA3m0505zbCpe8911CAg0S3Aazcm8idbLkByP+1/+q4b86TO1mQZSA9DKhIhr9WpU2+jZFuL20cu5hxAyDdsocFsc3BNfebFxPCNTdSun28U5FlacxivkzHgb5lv6jt4pErALZN0i2U4PkI21GZfXziskVsnBxbAICT/aRcEYEEoCJAdR92BTCC9K8vOn4/KfqUfwcYp94C6k08vqFdviXt55eMV2DGLk11A2Dy13DrXz/dlt8OxiD0oSURnRfjGt/2yHjF3NU4DkAmf4B9mzkpbyicrYnFldxmTq0mnEB+7CB9Zj+RMYCIU/W1KRt075/U3mD/fGQXlJ3BITkAKKxKf3kI6cf7yUlhTc3GbPN9/n4Av4bsEndHeWuZXQFYmk1qthFIAGwjVZNeAlBTYG3NJgC2kapJLwGoKbC2ZssANN2j3zC/2zpRrbflNDqttuehQTSaLl0GIDNVk2k1GaXGE5kalFHldEt9Xo9f3MJgj03E8wmQbm4P8iBafE5lAPL51UGf74kcRhWZ9pO2hJRxZxTVJ1muKSf4jE+PAcwopLf1RiABqIhv3Yf/AwAA//9tZSpUAAAABklEQVQDALKZOgzfxPxSAAAAAElFTkSuQmCC",rg={initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.25},transition:{duration:.7,ease:"easeOut"}},_X={initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.35},transition:{duration:.55,ease:"easeOut"}};function VX(){const e=bu(),[t,n]=h.useState(0),r=[{title:"私域直播间",subtitle:"高效获客",desc:"通过直播内容高效获客并建立信任",image:TX},{title:"自建商城",subtitle:"私域沉淀",desc:"在电商场景快速完成私域转化",image:MX},{title:"SCRM管理-精细化运营",subtitle:"经营复购",desc:"再利用SCRM系统对客户进行精细化分层与自动化运营",image:RX},{title:"整合营销",subtitle:"承接用户价值",desc:"最终通过多元营销工具持续激发复购与转介绍",image:OX}],i=[{title:"私域直播间",desc:"品牌自有流量零损耗,直播互动多种玩法",features:[{title:"用户识别清晰准确有效率",desc:"与SCRM、自建商城用户数据和标签互通,数据可视化。"},{title:"直播间多种互动玩法",desc:"支持福袋、打赏、抽奖、发券多种营销动加作。"},{title:"专业直播间",desc:"低延迟网络服务,打造良好用户体验,告别卡帧。"},{title:"医疗行业资质齐全",desc:"可支持特定商品交易(需提的报备测试)。"},{title:"定制化AI及数字人内容建设",desc:"AIGC多模态内容生产、数字人形象IP克隆及语音包克隆。"}],image:$X},{title:"自建线上商城",desc:"提供自建电商交易平台,实现高效私域流量转化",features:[{title:"自定义页面",desc:"无代码实现基础页面的构建,实现个性化风格和运营策略配置。"},{title:"多角色管理",desc:"支持分级管理员账号体系,确保权责风控有效,降低泄密风险。"},{title:"全套营销工具",desc:"支持多种优惠券、商品组合促销、拼团、会员权益等限时、限量、限人群策略。"},{title:"社区资讯模块",desc:"构建社区生态,促进UGC模式,自动屏蔽敏感词。"}],image:NX},{title:"SCRM管理-精细化运营",desc:"基于用户生命周期价值的深度绑定,形成数据驱动、多场景化的运营策略。",features:[{title:"渠道码",desc:"生成渠道专属二维码,规避风险管控,支持跨渠道流量归因分析。"},{title:"活码工具",desc:"记录用户填写表单、活动信息等行为。"},{title:"客户管理",desc:"自定义人群包标签管理,标记用户、属性、表单、活动信息等行为或者分类信息,实现用户全生命周期跟踪管理。"},{title:"数据报表",desc:"生成「渠道效果对比」、「客户价值分层」等定制化可视化报表。"},{title:"互动雷达",desc:"完整记录用户行为数据并跟踪运营活动效果。"}],image:jX},{title:"整合营销",desc:"告别多服务商数据不通,让流量明明白白实现 [1+1>2]",features:[{title:"营销场景工具",desc:"选择场景模板,自动关联优惠策略,系统自动执行优惠策略,数据定向追踪。"},{title:"企微及企微社群管理、像给每个群配了AI管理员",desc:"定时发福利、屏蔽敏感词。"},{title:"快捷回复",desc:"好友及群发欢迎语,自动欢迎新人。"},{title:"用户行为数据互联互通",desc:"一个ID所有记录秒速关联,实时行为标签入库,可支持数据对接。"},{title:"知识库",desc:"智能工单协同系统 + 多模态知识库,新手客服也能「秒变服务专家」。"}],image:DX}];return C.jsxs("div",{className:"pt-20",children:[C.jsxs(Ar.section,{className:"relative overflow-hidden pt-40 pb-40 px-6 bg-slate-950",initial:{opacity:0,y:32,scale:.98},animate:{opacity:1,y:0,scale:1},transition:{duration:.9,ease:"easeOut"},children:[C.jsxs("div",{className:"absolute inset-0 pointer-events-none",children:[C.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(circle_at_top,rgba(37,99,235,0.18),transparent_45%)]"}),C.jsx("div",{className:"absolute inset-0 bg-[linear-gradient(to_bottom,rgba(15,23,42,0),rgba(15,23,42,0.75))]"}),C.jsx("div",{className:"absolute left-1/2 top-1/2 h-[120%] w-3 -translate-x-1/2 -translate-y-1/2 rotate-45 bg-blue-500/10 blur-sm rounded-full"}),C.jsx("div",{className:"absolute left-1/2 top-1/2 h-[120%] w-3 -translate-x-1/2 -translate-y-1/2 -rotate-45 bg-blue-500/10 blur-sm rounded-full"})]}),C.jsx("div",{className:"max-w-7xl mx-auto",children:C.jsxs(Ar.div,{initial:{opacity:0,y:24},animate:{opacity:1,y:0},transition:{delay:.15,duration:.7,ease:"easeOut"},className:"relative z-10 max-w-5xl mx-auto space-y-8 text-center",children:[C.jsx("div",{style:{fontSize:"2em",padding:"20px"},className:"inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-white/5 border border-white/10 text-blue-200 text-xs font-bold uppercase tracking-widest",children:"开邻智数"}),C.jsxs("h1",{className:"text-5xl md:text-7xl font-extrabold font-headline leading-[1.08] tracking-tight text-white",children:["一站式企微生态SCRM私域直播 ",C.jsx("br",{})]}),C.jsx("div",{className:"flex items-center justify-center gap-6 flex-wrap",children:C.jsx("button",{onClick:()=>e("/contact"),className:"bg-blue-600 text-white px-10 py-4 rounded-xl font-bold text-lg hover:shadow-[0_0_30px_rgba(37,99,235,0.45)] transition-all hover:-translate-y-1",children:"获取方案"})})]})})]}),C.jsx(Ar.section,{className:"py-32 px-6 bg-slate-950",...rg,children:C.jsxs("div",{className:"max-w-7xl mx-auto",children:[C.jsxs("div",{className:"mb-16 space-y-10",children:[C.jsxs("div",{className:"text-center max-w-5xl mx-auto",children:[C.jsx("h2",{className:"text-4xl font-extrabold font-headline text-white leading-tight",children:"私域营销一体化解决方案"}),C.jsx("p",{className:"text-blue-600 mt-4 text-lg",children:"我们构建了一个以直播为流量抓手、电商为转化场域、SCRM为运营中枢、营销工具为增长引擎的私域一体化解决方案。"})]}),C.jsx("div",{className:"klzs-stage-grid grid grid-cols-4 gap-4 md:gap-6",children:r.map((a,o)=>C.jsxs("button",{onClick:()=>n(o),className:`klzs-stage-card rounded-2xl border p-5 text-center transition-all flex flex-col items-center ${t===o?"border-blue-500/60 bg-blue-500/10":"border-slate-800 bg-slate-900/60 hover:border-slate-700"}`,children:[C.jsx("p",{className:`klzs-stage-title font-bold text-base ${t===o?"text-blue-300":"text-slate-100"}`,children:a.title}),C.jsx("p",{className:"klzs-stage-subtitle text-xs text-slate-400 mt-1",children:a.subtitle}),C.jsx("img",{src:a.image,alt:a.title,className:"klzs-stage-image w-[38%] h-auto mx-auto mt-4 object-contain"}),C.jsx("p",{className:"klzs-stage-desc text-sm text-slate-300 mt-3 leading-relaxed",children:a.desc})]},a.title))})]}),C.jsx(IP,{mode:"wait",children:C.jsx(Ar.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.3},className:"bg-slate-900 rounded-3xl p-8 md:p-12 border border-slate-800",children:C.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-16 items-center",children:[C.jsxs("div",{className:"space-y-8",children:[C.jsxs("div",{children:[C.jsx("h3",{className:"text-3xl font-extrabold text-white mb-4 font-headline",children:i[t].title}),C.jsx("p",{className:"text-slate-300 leading-relaxed text-lg",children:i[t].desc})]}),C.jsx("div",{className:"space-y-4",children:i[t].features.map((a,o)=>C.jsxs("div",{className:"flex items-start gap-4",children:[C.jsx("div",{className:"w-6 h-6 rounded-full bg-blue-500/15 flex items-center justify-center text-blue-400 mt-1",children:C.jsx(H5,{className:"w-4 h-4"})}),C.jsxs("div",{children:[C.jsx("p",{className:"font-bold text-slate-100",children:a.title}),C.jsx("p",{className:"text-sm text-slate-400",children:a.desc})]})]},o))})]}),C.jsx("div",{className:"relative",children:C.jsx("img",{src:i[t].image,alt:i[t].title,className:"shadow-xl h-[360px] w-auto max-w-full object-contain mx-auto",referrerPolicy:"no-referrer"})})]})},t)})]})}),C.jsx(Ar.section,{className:"py-24 bg-slate-900 text-white px-6 border-y border-slate-800",...rg,children:C.jsxs("div",{className:"max-w-7xl mx-auto",children:[C.jsx("div",{className:"text-center mb-20",children:C.jsx("h2",{className:"text-4xl font-extrabold font-headline mb-4",children:"做私域为什么选择开邻智数?"})}),C.jsx("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-12",children:[{image:zX,title:"性价比最高的saas系统",desc:"根据企业需求,可提供定制方案与技术支持,助力企业轻资产投入实现数字化转型目标"},{image:BX,title:"一站式解决方案",desc:"我们为每个客户配置专属服务团队,提供从系统部署到运营落地的全流程支持"},{image:PX,title:"长效增长赋能",desc:"帮助企业构建私域流量运营、精准营销策划、电商引流转化的完整能力闭环"},{image:LX,title:"教培、医药、特殊行业覆盖",desc:"包含专属行业成熟解决方案、标杆案例实践手册,助力企业低成本验证数字化运营模型"}].map((a,o)=>C.jsxs(Ar.div,{className:"text-center space-y-4",..._X,children:[C.jsx("div",{className:"inline-flex items-center justify-center w-20 h-20 rounded-2xl bg-blue-500/15 text-blue-400 mb-2",children:C.jsx("img",{src:a.image,alt:a.title,className:"w-10 h-10 object-contain"})}),C.jsx("h4",{className:"text-xl font-bold font-headline",children:a.title}),C.jsx("p",{className:"text-slate-300 text-sm",children:a.desc})]},o))})]})}),C.jsx(Ar.section,{className:"py-24 px-6 text-center bg-slate-950",...rg,children:C.jsxs("div",{className:"max-w-3xl mx-auto space-y-8",children:[C.jsx("h2",{className:"text-4xl font-extrabold font-headline text-white",children:"技术沉淀,只为提供更可靠的解决方案!"}),C.jsx("p",{className:"text-xl text-slate-300 font-medium",children:"做更具价值和效率的服务商"}),C.jsx("div",{className:"flex flex-col md:flex-row items-center justify-center gap-4",children:C.jsx("button",{onClick:()=>e("/contact"),className:"w-full md:w-auto bg-blue-600 text-white px-10 py-4 rounded-lg font-bold hover:bg-blue-500 transition-colors",children:"联系我们"})})]})})]})}nM.createRoot(document.getElementById("root")).render(C.jsx(h.StrictMode,{children:C.jsx(M5,{children:C.jsxs(b5,{children:[C.jsx(Ga,{path:"/agreement",element:C.jsx(W5,{})}),C.jsx(Ga,{path:"/privacy",element:C.jsx(K5,{})}),C.jsxs(Ga,{path:"/",element:C.jsx(Y5,{}),children:[C.jsx(Ga,{index:!0,element:C.jsx(VX,{})}),C.jsx(Ga,{path:"contact",element:C.jsx(AX,{})}),C.jsx(Ga,{path:"*",element:C.jsx(g5,{to:"/",replace:!0})})]})]})})}));
|