177 lines
388 KiB
JavaScript
177 lines
388 KiB
JavaScript
(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))o(l);new MutationObserver(l=>{for(const c of l)if(c.type==="childList")for(const u of c.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&o(u)}).observe(document,{childList:!0,subtree:!0});function i(l){const c={};return l.integrity&&(c.integrity=l.integrity),l.referrerPolicy&&(c.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?c.credentials="include":l.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function o(l){if(l.ep)return;l.ep=!0;const c=i(l);fetch(l.href,c)}})();var Jh=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function H0(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function aw(t){if(Object.prototype.hasOwnProperty.call(t,"__esModule"))return t;var r=t.default;if(typeof r=="function"){var i=function o(){return this instanceof o?Reflect.construct(r,arguments,this.constructor):r.apply(this,arguments)};i.prototype=r.prototype}else i={};return Object.defineProperty(i,"__esModule",{value:!0}),Object.keys(t).forEach(function(o){var l=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(i,o,l.get?l:{enumerable:!0,get:function(){return t[o]}})}),i}var Ru={exports:{}},ys={},_u={exports:{}},Te={};/**
|
||
* @license React
|
||
* react.production.min.js
|
||
*
|
||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var Zh;function lw(){if(Zh)return Te;Zh=1;var t=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),u=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.iterator;function x(R){return R===null||typeof R!="object"?null:(R=v&&R[v]||R["@@iterator"],typeof R=="function"?R:null)}var P={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},S=Object.assign,k={};function E(R,U,le){this.props=R,this.context=U,this.refs=k,this.updater=le||P}E.prototype.isReactComponent={},E.prototype.setState=function(R,U){if(typeof R!="object"&&typeof R!="function"&&R!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,R,U,"setState")},E.prototype.forceUpdate=function(R){this.updater.enqueueForceUpdate(this,R,"forceUpdate")};function C(){}C.prototype=E.prototype;function F(R,U,le){this.props=R,this.context=U,this.refs=k,this.updater=le||P}var _=F.prototype=new C;_.constructor=F,S(_,E.prototype),_.isPureReactComponent=!0;var b=Array.isArray,V=Object.prototype.hasOwnProperty,z={current:null},$={key:!0,ref:!0,__self:!0,__source:!0};function H(R,U,le){var fe,ge={},ve=null,Ce=null;if(U!=null)for(fe in U.ref!==void 0&&(Ce=U.ref),U.key!==void 0&&(ve=""+U.key),U)V.call(U,fe)&&!$.hasOwnProperty(fe)&&(ge[fe]=U[fe]);var Pe=arguments.length-2;if(Pe===1)ge.children=le;else if(1<Pe){for(var we=Array(Pe),me=0;me<Pe;me++)we[me]=arguments[me+2];ge.children=we}if(R&&R.defaultProps)for(fe in Pe=R.defaultProps,Pe)ge[fe]===void 0&&(ge[fe]=Pe[fe]);return{$$typeof:t,type:R,key:ve,ref:Ce,props:ge,_owner:z.current}}function ie(R,U){return{$$typeof:t,type:R.type,key:U,ref:R.ref,props:R.props,_owner:R._owner}}function Z(R){return typeof R=="object"&&R!==null&&R.$$typeof===t}function he(R){var U={"=":"=0",":":"=2"};return"$"+R.replace(/[=:]/g,function(le){return U[le]})}var te=/\/+/g;function Ee(R,U){return typeof R=="object"&&R!==null&&R.key!=null?he(""+R.key):U.toString(36)}function xe(R,U,le,fe,ge){var ve=typeof R;(ve==="undefined"||ve==="boolean")&&(R=null);var Ce=!1;if(R===null)Ce=!0;else switch(ve){case"string":case"number":Ce=!0;break;case"object":switch(R.$$typeof){case t:case r:Ce=!0}}if(Ce)return Ce=R,ge=ge(Ce),R=fe===""?"."+Ee(Ce,0):fe,b(ge)?(le="",R!=null&&(le=R.replace(te,"$&/")+"/"),xe(ge,U,le,"",function(me){return me})):ge!=null&&(Z(ge)&&(ge=ie(ge,le+(!ge.key||Ce&&Ce.key===ge.key?"":(""+ge.key).replace(te,"$&/")+"/")+R)),U.push(ge)),1;if(Ce=0,fe=fe===""?".":fe+":",b(R))for(var Pe=0;Pe<R.length;Pe++){ve=R[Pe];var we=fe+Ee(ve,Pe);Ce+=xe(ve,U,le,we,ge)}else if(we=x(R),typeof we=="function")for(R=we.call(R),Pe=0;!(ve=R.next()).done;)ve=ve.value,we=fe+Ee(ve,Pe++),Ce+=xe(ve,U,le,we,ge);else if(ve==="object")throw U=String(R),Error("Objects are not valid as a React child (found: "+(U==="[object Object]"?"object with keys {"+Object.keys(R).join(", ")+"}":U)+"). If you meant to render a collection of children, use an array instead.");return Ce}function Re(R,U,le){if(R==null)return R;var fe=[],ge=0;return xe(R,fe,"","",function(ve){return U.call(le,ve,ge++)}),fe}function ke(R){if(R._status===-1){var U=R._result;U=U(),U.then(function(le){(R._status===0||R._status===-1)&&(R._status=1,R._result=le)},function(le){(R._status===0||R._status===-1)&&(R._status=2,R._result=le)}),R._status===-1&&(R._status=0,R._result=U)}if(R._status===1)return R._result.default;throw R._result}var ae={current:null},B={transition:null},J={ReactCurrentDispatcher:ae,ReactCurrentBatchConfig:B,ReactCurrentOwner:z};function Y(){throw Error("act(...) is not supported in production builds of React.")}return Te.Children={map:Re,forEach:function(R,U,le){Re(R,function(){U.apply(this,arguments)},le)},count:function(R){var U=0;return Re(R,function(){U++}),U},toArray:function(R){return Re(R,function(U){return U})||[]},only:function(R){if(!Z(R))throw Error("React.Children.only expected to receive a single React element child.");return R}},Te.Component=E,Te.Fragment=i,Te.Profiler=l,Te.PureComponent=F,Te.StrictMode=o,Te.Suspense=h,Te.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=J,Te.act=Y,Te.cloneElement=function(R,U,le){if(R==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+R+".");var fe=S({},R.props),ge=R.key,ve=R.ref,Ce=R._owner;if(U!=null){if(U.ref!==void 0&&(ve=U.ref,Ce=z.current),U.key!==void 0&&(ge=""+U.key),R.type&&R.type.defaultProps)var Pe=R.type.defaultProps;for(we in U)V.call(U,we)&&!$.hasOwnProperty(we)&&(fe[we]=U[we]===void 0&&Pe!==void 0?Pe[we]:U[we])}var we=arguments.length-2;if(we===1)fe.children=le;else if(1<we){Pe=Array(we);for(var me=0;me<we;me++)Pe[me]=arguments[me+2];fe.children=Pe}return{$$typeof:t,type:R.type,key:ge,ref:ve,props:fe,_owner:Ce}},Te.createContext=function(R){return R={$$typeof:u,_currentValue:R,_currentValue2:R,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},R.Provider={$$typeof:c,_context:R},R.Consumer=R},Te.createElement=H,Te.createFactory=function(R){var U=H.bind(null,R);return U.type=R,U},Te.createRef=function(){return{current:null}},Te.forwardRef=function(R){return{$$typeof:d,render:R}},Te.isValidElement=Z,Te.lazy=function(R){return{$$typeof:m,_payload:{_status:-1,_result:R},_init:ke}},Te.memo=function(R,U){return{$$typeof:y,type:R,compare:U===void 0?null:U}},Te.startTransition=function(R){var U=B.transition;B.transition={};try{R()}finally{B.transition=U}},Te.unstable_act=Y,Te.useCallback=function(R,U){return ae.current.useCallback(R,U)},Te.useContext=function(R){return ae.current.useContext(R)},Te.useDebugValue=function(){},Te.useDeferredValue=function(R){return ae.current.useDeferredValue(R)},Te.useEffect=function(R,U){return ae.current.useEffect(R,U)},Te.useId=function(){return ae.current.useId()},Te.useImperativeHandle=function(R,U,le){return ae.current.useImperativeHandle(R,U,le)},Te.useInsertionEffect=function(R,U){return ae.current.useInsertionEffect(R,U)},Te.useLayoutEffect=function(R,U){return ae.current.useLayoutEffect(R,U)},Te.useMemo=function(R,U){return ae.current.useMemo(R,U)},Te.useReducer=function(R,U,le){return ae.current.useReducer(R,U,le)},Te.useRef=function(R){return ae.current.useRef(R)},Te.useState=function(R){return ae.current.useState(R)},Te.useSyncExternalStore=function(R,U,le){return ae.current.useSyncExternalStore(R,U,le)},Te.useTransition=function(){return ae.current.useTransition()},Te.version="18.3.1",Te}var em;function Mf(){return em||(em=1,_u.exports=lw()),_u.exports}/**
|
||
* @license React
|
||
* react-jsx-runtime.production.min.js
|
||
*
|
||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var tm;function uw(){if(tm)return ys;tm=1;var t=Mf(),r=Symbol.for("react.element"),i=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,l=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function u(d,h,y){var m,v={},x=null,P=null;y!==void 0&&(x=""+y),h.key!==void 0&&(x=""+h.key),h.ref!==void 0&&(P=h.ref);for(m in h)o.call(h,m)&&!c.hasOwnProperty(m)&&(v[m]=h[m]);if(d&&d.defaultProps)for(m in h=d.defaultProps,h)v[m]===void 0&&(v[m]=h[m]);return{$$typeof:r,type:d,key:x,ref:P,props:v,_owner:l.current}}return ys.Fragment=i,ys.jsx=u,ys.jsxs=u,ys}var nm;function cw(){return nm||(nm=1,Ru.exports=uw()),Ru.exports}var w=cw(),ta={},Ou={exports:{}},jt={},ju={exports:{}},Mu={};/**
|
||
* @license React
|
||
* scheduler.production.min.js
|
||
*
|
||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var rm;function fw(){return rm||(rm=1,(function(t){function r(B,J){var Y=B.length;B.push(J);e:for(;0<Y;){var R=Y-1>>>1,U=B[R];if(0<l(U,J))B[R]=J,B[Y]=U,Y=R;else break e}}function i(B){return B.length===0?null:B[0]}function o(B){if(B.length===0)return null;var J=B[0],Y=B.pop();if(Y!==J){B[0]=Y;e:for(var R=0,U=B.length,le=U>>>1;R<le;){var fe=2*(R+1)-1,ge=B[fe],ve=fe+1,Ce=B[ve];if(0>l(ge,Y))ve<U&&0>l(Ce,ge)?(B[R]=Ce,B[ve]=Y,R=ve):(B[R]=ge,B[fe]=Y,R=fe);else if(ve<U&&0>l(Ce,Y))B[R]=Ce,B[ve]=Y,R=ve;else break e}}return J}function l(B,J){var Y=B.sortIndex-J.sortIndex;return Y!==0?Y:B.id-J.id}if(typeof performance=="object"&&typeof performance.now=="function"){var c=performance;t.unstable_now=function(){return c.now()}}else{var u=Date,d=u.now();t.unstable_now=function(){return u.now()-d}}var h=[],y=[],m=1,v=null,x=3,P=!1,S=!1,k=!1,E=typeof setTimeout=="function"?setTimeout:null,C=typeof clearTimeout=="function"?clearTimeout:null,F=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function _(B){for(var J=i(y);J!==null;){if(J.callback===null)o(y);else if(J.startTime<=B)o(y),J.sortIndex=J.expirationTime,r(h,J);else break;J=i(y)}}function b(B){if(k=!1,_(B),!S)if(i(h)!==null)S=!0,ke(V);else{var J=i(y);J!==null&&ae(b,J.startTime-B)}}function V(B,J){S=!1,k&&(k=!1,C(H),H=-1),P=!0;var Y=x;try{for(_(J),v=i(h);v!==null&&(!(v.expirationTime>J)||B&&!he());){var R=v.callback;if(typeof R=="function"){v.callback=null,x=v.priorityLevel;var U=R(v.expirationTime<=J);J=t.unstable_now(),typeof U=="function"?v.callback=U:v===i(h)&&o(h),_(J)}else o(h);v=i(h)}if(v!==null)var le=!0;else{var fe=i(y);fe!==null&&ae(b,fe.startTime-J),le=!1}return le}finally{v=null,x=Y,P=!1}}var z=!1,$=null,H=-1,ie=5,Z=-1;function he(){return!(t.unstable_now()-Z<ie)}function te(){if($!==null){var B=t.unstable_now();Z=B;var J=!0;try{J=$(!0,B)}finally{J?Ee():(z=!1,$=null)}}else z=!1}var Ee;if(typeof F=="function")Ee=function(){F(te)};else if(typeof MessageChannel<"u"){var xe=new MessageChannel,Re=xe.port2;xe.port1.onmessage=te,Ee=function(){Re.postMessage(null)}}else Ee=function(){E(te,0)};function ke(B){$=B,z||(z=!0,Ee())}function ae(B,J){H=E(function(){B(t.unstable_now())},J)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(B){B.callback=null},t.unstable_continueExecution=function(){S||P||(S=!0,ke(V))},t.unstable_forceFrameRate=function(B){0>B||125<B?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ie=0<B?Math.floor(1e3/B):5},t.unstable_getCurrentPriorityLevel=function(){return x},t.unstable_getFirstCallbackNode=function(){return i(h)},t.unstable_next=function(B){switch(x){case 1:case 2:case 3:var J=3;break;default:J=x}var Y=x;x=J;try{return B()}finally{x=Y}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(B,J){switch(B){case 1:case 2:case 3:case 4:case 5:break;default:B=3}var Y=x;x=B;try{return J()}finally{x=Y}},t.unstable_scheduleCallback=function(B,J,Y){var R=t.unstable_now();switch(typeof Y=="object"&&Y!==null?(Y=Y.delay,Y=typeof Y=="number"&&0<Y?R+Y:R):Y=R,B){case 1:var U=-1;break;case 2:U=250;break;case 5:U=1073741823;break;case 4:U=1e4;break;default:U=5e3}return U=Y+U,B={id:m++,callback:J,priorityLevel:B,startTime:Y,expirationTime:U,sortIndex:-1},Y>R?(B.sortIndex=Y,r(y,B),i(h)===null&&B===i(y)&&(k?(C(H),H=-1):k=!0,ae(b,Y-R))):(B.sortIndex=U,r(h,B),S||P||(S=!0,ke(V))),B},t.unstable_shouldYield=he,t.unstable_wrapCallback=function(B){var J=x;return function(){var Y=x;x=J;try{return B.apply(this,arguments)}finally{x=Y}}}})(Mu)),Mu}var im;function dw(){return im||(im=1,ju.exports=fw()),ju.exports}/**
|
||
* @license React
|
||
* react-dom.production.min.js
|
||
*
|
||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var sm;function pw(){if(sm)return jt;sm=1;var t=Mf(),r=dw();function i(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,s=1;s<arguments.length;s++)n+="&args[]="+encodeURIComponent(arguments[s]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var o=new Set,l={};function c(e,n){u(e,n),u(e+"Capture",n)}function u(e,n){for(l[e]=n,e=0;e<n.length;e++)o.add(n[e])}var d=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),h=Object.prototype.hasOwnProperty,y=/^[: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]*$/,m={},v={};function x(e){return h.call(v,e)?!0:h.call(m,e)?!1:y.test(e)?v[e]=!0:(m[e]=!0,!1)}function P(e,n,s,a){if(s!==null&&s.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return a?!1:s!==null?!s.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function S(e,n,s,a){if(n===null||typeof n>"u"||P(e,n,s,a))return!0;if(a)return!1;if(s!==null)switch(s.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function k(e,n,s,a,f,p,g){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=a,this.attributeNamespace=f,this.mustUseProperty=s,this.propertyName=e,this.type=n,this.sanitizeURL=p,this.removeEmptyString=g}var E={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){E[e]=new k(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];E[n]=new k(n,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){E[e]=new k(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){E[e]=new k(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){E[e]=new k(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){E[e]=new k(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){E[e]=new k(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){E[e]=new k(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){E[e]=new k(e,5,!1,e.toLowerCase(),null,!1,!1)});var C=/[\-:]([a-z])/g;function F(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var n=e.replace(C,F);E[n]=new k(n,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(C,F);E[n]=new k(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(C,F);E[n]=new k(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){E[e]=new k(e,1,!1,e.toLowerCase(),null,!1,!1)}),E.xlinkHref=new k("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){E[e]=new k(e,1,!1,e.toLowerCase(),null,!0,!0)});function _(e,n,s,a){var f=E.hasOwnProperty(n)?E[n]:null;(f!==null?f.type!==0:a||!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(S(n,s,f,a)&&(s=null),a||f===null?x(n)&&(s===null?e.removeAttribute(n):e.setAttribute(n,""+s)):f.mustUseProperty?e[f.propertyName]=s===null?f.type===3?!1:"":s:(n=f.attributeName,a=f.attributeNamespace,s===null?e.removeAttribute(n):(f=f.type,s=f===3||f===4&&s===!0?"":""+s,a?e.setAttributeNS(a,n,s):e.setAttribute(n,s))))}var b=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,V=Symbol.for("react.element"),z=Symbol.for("react.portal"),$=Symbol.for("react.fragment"),H=Symbol.for("react.strict_mode"),ie=Symbol.for("react.profiler"),Z=Symbol.for("react.provider"),he=Symbol.for("react.context"),te=Symbol.for("react.forward_ref"),Ee=Symbol.for("react.suspense"),xe=Symbol.for("react.suspense_list"),Re=Symbol.for("react.memo"),ke=Symbol.for("react.lazy"),ae=Symbol.for("react.offscreen"),B=Symbol.iterator;function J(e){return e===null||typeof e!="object"?null:(e=B&&e[B]||e["@@iterator"],typeof e=="function"?e:null)}var Y=Object.assign,R;function U(e){if(R===void 0)try{throw Error()}catch(s){var n=s.stack.trim().match(/\n( *(at )?)/);R=n&&n[1]||""}return`
|
||
`+R+e}var le=!1;function fe(e,n){if(!e||le)return"";le=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(n)if(n=function(){throw Error()},Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(n,[])}catch(D){var a=D}Reflect.construct(e,[],n)}else{try{n.call()}catch(D){a=D}e.call(n.prototype)}else{try{throw Error()}catch(D){a=D}e()}}catch(D){if(D&&a&&typeof D.stack=="string"){for(var f=D.stack.split(`
|
||
`),p=a.stack.split(`
|
||
`),g=f.length-1,T=p.length-1;1<=g&&0<=T&&f[g]!==p[T];)T--;for(;1<=g&&0<=T;g--,T--)if(f[g]!==p[T]){if(g!==1||T!==1)do if(g--,T--,0>T||f[g]!==p[T]){var A=`
|
||
`+f[g].replace(" at new "," at ");return e.displayName&&A.includes("<anonymous>")&&(A=A.replace("<anonymous>",e.displayName)),A}while(1<=g&&0<=T);break}}}finally{le=!1,Error.prepareStackTrace=s}return(e=e?e.displayName||e.name:"")?U(e):""}function ge(e){switch(e.tag){case 5:return U(e.type);case 16:return U("Lazy");case 13:return U("Suspense");case 19:return U("SuspenseList");case 0:case 2:case 15:return e=fe(e.type,!1),e;case 11:return e=fe(e.type.render,!1),e;case 1:return e=fe(e.type,!0),e;default:return""}}function ve(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case $:return"Fragment";case z:return"Portal";case ie:return"Profiler";case H:return"StrictMode";case Ee:return"Suspense";case xe:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case he:return(e.displayName||"Context")+".Consumer";case Z:return(e._context.displayName||"Context")+".Provider";case te:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Re:return n=e.displayName||null,n!==null?n:ve(e.type)||"Memo";case ke:n=e._payload,e=e._init;try{return ve(e(n))}catch{}}return null}function Ce(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=n.render,e=e.displayName||e.name||"",n.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ve(n);case 8:return n===H?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function Pe(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function we(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function me(e){var n=we(e)?"checked":"value",s=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),a=""+e[n];if(!e.hasOwnProperty(n)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var f=s.get,p=s.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return f.call(this)},set:function(g){a=""+g,p.call(this,g)}}),Object.defineProperty(e,n,{enumerable:s.enumerable}),{getValue:function(){return a},setValue:function(g){a=""+g},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function be(e){e._valueTracker||(e._valueTracker=me(e))}function Oe(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var s=n.getValue(),a="";return e&&(a=we(e)?e.checked?"true":"false":e.value),e=a,e!==s?(n.setValue(e),!0):!1}function Ve(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Xe(e,n){var s=n.checked;return Y({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:s??e._wrapperState.initialChecked})}function xt(e,n){var s=n.defaultValue==null?"":n.defaultValue,a=n.checked!=null?n.checked:n.defaultChecked;s=Pe(n.value!=null?n.value:s),e._wrapperState={initialChecked:a,initialValue:s,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function et(e,n){n=n.checked,n!=null&&_(e,"checked",n,!1)}function it(e,n){et(e,n);var s=Pe(n.value),a=n.type;if(s!=null)a==="number"?(s===0&&e.value===""||e.value!=s)&&(e.value=""+s):e.value!==""+s&&(e.value=""+s);else if(a==="submit"||a==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?dn(e,n.type,s):n.hasOwnProperty("defaultValue")&&dn(e,n.type,Pe(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function wt(e,n,s){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var a=n.type;if(!(a!=="submit"&&a!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,s||n===e.value||(e.value=n),e.defaultValue=n}s=e.name,s!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,s!==""&&(e.name=s)}function dn(e,n,s){(n!=="number"||Ve(e.ownerDocument)!==e)&&(s==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+s&&(e.defaultValue=""+s))}var At=Array.isArray;function st(e,n,s,a){if(e=e.options,n){n={};for(var f=0;f<s.length;f++)n["$"+s[f]]=!0;for(s=0;s<e.length;s++)f=n.hasOwnProperty("$"+e[s].value),e[s].selected!==f&&(e[s].selected=f),f&&a&&(e[s].defaultSelected=!0)}else{for(s=""+Pe(s),n=null,f=0;f<e.length;f++){if(e[f].value===s){e[f].selected=!0,a&&(e[f].defaultSelected=!0);return}n!==null||e[f].disabled||(n=e[f])}n!==null&&(n.selected=!0)}}function pn(e,n){if(n.dangerouslySetInnerHTML!=null)throw Error(i(91));return Y({},n,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Tn(e,n){var s=n.value;if(s==null){if(s=n.children,n=n.defaultValue,s!=null){if(n!=null)throw Error(i(92));if(At(s)){if(1<s.length)throw Error(i(93));s=s[0]}n=s}n==null&&(n=""),s=n}e._wrapperState={initialValue:Pe(s)}}function kn(e,n){var s=Pe(n.value),a=Pe(n.defaultValue);s!=null&&(s=""+s,s!==e.value&&(e.value=s),n.defaultValue==null&&e.defaultValue!==s&&(e.defaultValue=s)),a!=null&&(e.defaultValue=""+a)}function Us(e){var n=e.textContent;n===e._wrapperState.initialValue&&n!==""&&n!==null&&(e.value=n)}function $s(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Lr(e,n){return e==null||e==="http://www.w3.org/1999/xhtml"?$s(n):e==="http://www.w3.org/2000/svg"&&n==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Vr,zn=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(n,s,a,f){MSApp.execUnsafeLocalFunction(function(){return e(n,s,a,f)})}:e})(function(e,n){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=n;else{for(Vr=Vr||document.createElement("div"),Vr.innerHTML="<svg>"+n.valueOf().toString()+"</svg>",n=Vr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function Cn(e,n){if(n){var s=e.firstChild;if(s&&s===e.lastChild&&s.nodeType===3){s.nodeValue=n;return}}e.textContent=n}var Un={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Qa=["Webkit","ms","Moz","O"];Object.keys(Un).forEach(function(e){Qa.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),Un[n]=Un[e]})});function Hs(e,n,s){return n==null||typeof n=="boolean"||n===""?"":s||typeof n!="number"||n===0||Un.hasOwnProperty(e)&&Un[e]?(""+n).trim():n+"px"}function Br(e,n){e=e.style;for(var s in n)if(n.hasOwnProperty(s)){var a=s.indexOf("--")===0,f=Hs(s,n[s],a);s==="float"&&(s="cssFloat"),a?e.setProperty(s,f):e[s]=f}}var zr=Y({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function M(e,n){if(n){if(zr[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(i(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(i(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(i(61))}if(n.style!=null&&typeof n.style!="object")throw Error(i(62))}}function I(e,n){if(e.indexOf("-")===-1)return typeof n.is=="string";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 Ae=null;function _e(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var je=null,ye=null,St=null;function hn(e){if(e=ts(e)){if(typeof je!="function")throw Error(i(280));var n=e.stateNode;n&&(n=yo(n),je(e.stateNode,e.type,n))}}function dt(e){ye?St?St.push(e):St=[e]:ye=e}function Yt(){if(ye){var e=ye,n=St;if(St=ye=null,hn(e),n)for(e=0;e<n.length;e++)hn(n[e])}}function Ur(e,n){return e(n)}function An(){}var Et=!1;function _i(e,n,s){if(Et)return e(n,s);Et=!0;try{return Ur(e,n,s)}finally{Et=!1,(ye!==null||St!==null)&&(An(),Yt())}}function $n(e,n){var s=e.stateNode;if(s===null)return null;var a=yo(s);if(a===null)return null;s=a[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(s&&typeof s!="function")throw Error(i(231,n,typeof s));return s}var $r=!1;if(d)try{var Jt={};Object.defineProperty(Jt,"passive",{get:function(){$r=!0}}),window.addEventListener("test",Jt,Jt),window.removeEventListener("test",Jt,Jt)}catch{$r=!1}function Oi(e,n,s,a,f,p,g,T,A){var D=Array.prototype.slice.call(arguments,3);try{n.apply(s,D)}catch(q){this.onError(q)}}var mn=!1,Hn=null,Wn=!1,Hr=null,Ws={onError:function(e){mn=!0,Hn=e}};function ji(e,n,s,a,f,p,g,T,A){mn=!1,Hn=null,Oi.apply(Ws,arguments)}function qs(e,n,s,a,f,p,g,T,A){if(ji.apply(this,arguments),mn){if(mn){var D=Hn;mn=!1,Hn=null}else throw Error(i(198));Wn||(Wn=!0,Hr=D)}}function Zt(e){var n=e,s=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do n=e,(n.flags&4098)!==0&&(s=n.return),e=n.return;while(e)}return n.tag===3?s:null}function Mi(e){if(e.tag===13){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function Ks(e){if(Zt(e)!==e)throw Error(i(188))}function bi(e){var n=e.alternate;if(!n){if(n=Zt(e),n===null)throw Error(i(188));return n!==e?null:e}for(var s=e,a=n;;){var f=s.return;if(f===null)break;var p=f.alternate;if(p===null){if(a=f.return,a!==null){s=a;continue}break}if(f.child===p.child){for(p=f.child;p;){if(p===s)return Ks(f),e;if(p===a)return Ks(f),n;p=p.sibling}throw Error(i(188))}if(s.return!==a.return)s=f,a=p;else{for(var g=!1,T=f.child;T;){if(T===s){g=!0,s=f,a=p;break}if(T===a){g=!0,a=f,s=p;break}T=T.sibling}if(!g){for(T=p.child;T;){if(T===s){g=!0,s=p,a=f;break}if(T===a){g=!0,a=p,s=f;break}T=T.sibling}if(!g)throw Error(i(189))}}if(s.alternate!==a)throw Error(i(190))}if(s.tag!==3)throw Error(i(188));return s.stateNode.current===s?e:n}function Fn(e){return e=bi(e),e!==null?yr(e):null}function yr(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var n=yr(e);if(n!==null)return n;e=e.sibling}return null}var Gs=r.unstable_scheduleCallback,Di=r.unstable_cancelCallback,v1=r.unstable_shouldYield,x1=r.unstable_requestPaint,Ke=r.unstable_now,w1=r.unstable_getCurrentPriorityLevel,Xa=r.unstable_ImmediatePriority,Ad=r.unstable_UserBlockingPriority,Qs=r.unstable_NormalPriority,S1=r.unstable_LowPriority,Fd=r.unstable_IdlePriority,Xs=null,yn=null;function E1(e){if(yn&&typeof yn.onCommitFiberRoot=="function")try{yn.onCommitFiberRoot(Xs,e,void 0,(e.current.flags&128)===128)}catch{}}var en=Math.clz32?Math.clz32:k1,P1=Math.log,T1=Math.LN2;function k1(e){return e>>>=0,e===0?32:31-(P1(e)/T1|0)|0}var Ys=64,Js=4194304;function Ii(e){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: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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Zs(e,n){var s=e.pendingLanes;if(s===0)return 0;var a=0,f=e.suspendedLanes,p=e.pingedLanes,g=s&268435455;if(g!==0){var T=g&~f;T!==0?a=Ii(T):(p&=g,p!==0&&(a=Ii(p)))}else g=s&~f,g!==0?a=Ii(g):p!==0&&(a=Ii(p));if(a===0)return 0;if(n!==0&&n!==a&&(n&f)===0&&(f=a&-a,p=n&-n,f>=p||f===16&&(p&4194240)!==0))return n;if((a&4)!==0&&(a|=s&16),n=e.entangledLanes,n!==0)for(e=e.entanglements,n&=a;0<n;)s=31-en(n),f=1<<s,a|=e[s],n&=~f;return a}function C1(e,n){switch(e){case 1:case 2:case 4:return n+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function A1(e,n){for(var s=e.suspendedLanes,a=e.pingedLanes,f=e.expirationTimes,p=e.pendingLanes;0<p;){var g=31-en(p),T=1<<g,A=f[g];A===-1?((T&s)===0||(T&a)!==0)&&(f[g]=C1(T,n)):A<=n&&(e.expiredLanes|=T),p&=~T}}function Ya(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Nd(){var e=Ys;return Ys<<=1,(Ys&4194240)===0&&(Ys=64),e}function Ja(e){for(var n=[],s=0;31>s;s++)n.push(e);return n}function Li(e,n,s){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-en(n),e[n]=s}function F1(e,n){var s=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var a=e.eventTimes;for(e=e.expirationTimes;0<s;){var f=31-en(s),p=1<<f;n[f]=0,a[f]=-1,e[f]=-1,s&=~p}}function Za(e,n){var s=e.entangledLanes|=n;for(e=e.entanglements;s;){var a=31-en(s),f=1<<a;f&n|e[a]&n&&(e[a]|=n),s&=~f}}var Me=0;function Rd(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var _d,el,Od,jd,Md,tl=!1,eo=[],qn=null,Kn=null,Gn=null,Vi=new Map,Bi=new Map,Qn=[],N1="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function bd(e,n){switch(e){case"focusin":case"focusout":qn=null;break;case"dragenter":case"dragleave":Kn=null;break;case"mouseover":case"mouseout":Gn=null;break;case"pointerover":case"pointerout":Vi.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":Bi.delete(n.pointerId)}}function zi(e,n,s,a,f,p){return e===null||e.nativeEvent!==p?(e={blockedOn:n,domEventName:s,eventSystemFlags:a,nativeEvent:p,targetContainers:[f]},n!==null&&(n=ts(n),n!==null&&el(n)),e):(e.eventSystemFlags|=a,n=e.targetContainers,f!==null&&n.indexOf(f)===-1&&n.push(f),e)}function R1(e,n,s,a,f){switch(n){case"focusin":return qn=zi(qn,e,n,s,a,f),!0;case"dragenter":return Kn=zi(Kn,e,n,s,a,f),!0;case"mouseover":return Gn=zi(Gn,e,n,s,a,f),!0;case"pointerover":var p=f.pointerId;return Vi.set(p,zi(Vi.get(p)||null,e,n,s,a,f)),!0;case"gotpointercapture":return p=f.pointerId,Bi.set(p,zi(Bi.get(p)||null,e,n,s,a,f)),!0}return!1}function Dd(e){var n=gr(e.target);if(n!==null){var s=Zt(n);if(s!==null){if(n=s.tag,n===13){if(n=Mi(s),n!==null){e.blockedOn=n,Md(e.priority,function(){Od(s)});return}}else if(n===3&&s.stateNode.current.memoizedState.isDehydrated){e.blockedOn=s.tag===3?s.stateNode.containerInfo:null;return}}}e.blockedOn=null}function to(e){if(e.blockedOn!==null)return!1;for(var n=e.targetContainers;0<n.length;){var s=rl(e.domEventName,e.eventSystemFlags,n[0],e.nativeEvent);if(s===null){s=e.nativeEvent;var a=new s.constructor(s.type,s);Ae=a,s.target.dispatchEvent(a),Ae=null}else return n=ts(s),n!==null&&el(n),e.blockedOn=s,!1;n.shift()}return!0}function Id(e,n,s){to(e)&&s.delete(n)}function _1(){tl=!1,qn!==null&&to(qn)&&(qn=null),Kn!==null&&to(Kn)&&(Kn=null),Gn!==null&&to(Gn)&&(Gn=null),Vi.forEach(Id),Bi.forEach(Id)}function Ui(e,n){e.blockedOn===n&&(e.blockedOn=null,tl||(tl=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,_1)))}function $i(e){function n(f){return Ui(f,e)}if(0<eo.length){Ui(eo[0],e);for(var s=1;s<eo.length;s++){var a=eo[s];a.blockedOn===e&&(a.blockedOn=null)}}for(qn!==null&&Ui(qn,e),Kn!==null&&Ui(Kn,e),Gn!==null&&Ui(Gn,e),Vi.forEach(n),Bi.forEach(n),s=0;s<Qn.length;s++)a=Qn[s],a.blockedOn===e&&(a.blockedOn=null);for(;0<Qn.length&&(s=Qn[0],s.blockedOn===null);)Dd(s),s.blockedOn===null&&Qn.shift()}var Wr=b.ReactCurrentBatchConfig,no=!0;function O1(e,n,s,a){var f=Me,p=Wr.transition;Wr.transition=null;try{Me=1,nl(e,n,s,a)}finally{Me=f,Wr.transition=p}}function j1(e,n,s,a){var f=Me,p=Wr.transition;Wr.transition=null;try{Me=4,nl(e,n,s,a)}finally{Me=f,Wr.transition=p}}function nl(e,n,s,a){if(no){var f=rl(e,n,s,a);if(f===null)wl(e,n,a,ro,s),bd(e,a);else if(R1(f,e,n,s,a))a.stopPropagation();else if(bd(e,a),n&4&&-1<N1.indexOf(e)){for(;f!==null;){var p=ts(f);if(p!==null&&_d(p),p=rl(e,n,s,a),p===null&&wl(e,n,a,ro,s),p===f)break;f=p}f!==null&&a.stopPropagation()}else wl(e,n,a,null,s)}}var ro=null;function rl(e,n,s,a){if(ro=null,e=_e(a),e=gr(e),e!==null)if(n=Zt(e),n===null)e=null;else if(s=n.tag,s===13){if(e=Mi(n),e!==null)return e;e=null}else if(s===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;e=null}else n!==e&&(e=null);return ro=e,null}function Ld(e){switch(e){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"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 1;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"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(w1()){case Xa:return 1;case Ad:return 4;case Qs:case S1:return 16;case Fd:return 536870912;default:return 16}default:return 16}}var Xn=null,il=null,io=null;function Vd(){if(io)return io;var e,n=il,s=n.length,a,f="value"in Xn?Xn.value:Xn.textContent,p=f.length;for(e=0;e<s&&n[e]===f[e];e++);var g=s-e;for(a=1;a<=g&&n[s-a]===f[p-a];a++);return io=f.slice(e,1<a?1-a:void 0)}function so(e){var n=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&n===13&&(e=13)):e=n,e===10&&(e=13),32<=e||e===13?e:0}function oo(){return!0}function Bd(){return!1}function It(e){function n(s,a,f,p,g){this._reactName=s,this._targetInst=f,this.type=a,this.nativeEvent=p,this.target=g,this.currentTarget=null;for(var T in e)e.hasOwnProperty(T)&&(s=e[T],this[T]=s?s(p):p[T]);return this.isDefaultPrevented=(p.defaultPrevented!=null?p.defaultPrevented:p.returnValue===!1)?oo:Bd,this.isPropagationStopped=Bd,this}return Y(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=oo)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=oo)},persist:function(){},isPersistent:oo}),n}var qr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},sl=It(qr),Hi=Y({},qr,{view:0,detail:0}),M1=It(Hi),ol,al,Wi,ao=Y({},Hi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ul,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!==Wi&&(Wi&&e.type==="mousemove"?(ol=e.screenX-Wi.screenX,al=e.screenY-Wi.screenY):al=ol=0,Wi=e),ol)},movementY:function(e){return"movementY"in e?e.movementY:al}}),zd=It(ao),b1=Y({},ao,{dataTransfer:0}),D1=It(b1),I1=Y({},Hi,{relatedTarget:0}),ll=It(I1),L1=Y({},qr,{animationName:0,elapsedTime:0,pseudoElement:0}),V1=It(L1),B1=Y({},qr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),z1=It(B1),U1=Y({},qr,{data:0}),Ud=It(U1),$1={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},H1={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"},W1={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function q1(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):(e=W1[e])?!!n[e]:!1}function ul(){return q1}var K1=Y({},Hi,{key:function(e){if(e.key){var n=$1[e.key]||e.key;if(n!=="Unidentified")return n}return e.type==="keypress"?(e=so(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?H1[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ul,charCode:function(e){return e.type==="keypress"?so(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?so(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),G1=It(K1),Q1=Y({},ao,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),$d=It(Q1),X1=Y({},Hi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ul}),Y1=It(X1),J1=Y({},qr,{propertyName:0,elapsedTime:0,pseudoElement:0}),Z1=It(J1),ex=Y({},ao,{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}),tx=It(ex),nx=[9,13,27,32],cl=d&&"CompositionEvent"in window,qi=null;d&&"documentMode"in document&&(qi=document.documentMode);var rx=d&&"TextEvent"in window&&!qi,Hd=d&&(!cl||qi&&8<qi&&11>=qi),Wd=" ",qd=!1;function Kd(e,n){switch(e){case"keyup":return nx.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Gd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Kr=!1;function ix(e,n){switch(e){case"compositionend":return Gd(n);case"keypress":return n.which!==32?null:(qd=!0,Wd);case"textInput":return e=n.data,e===Wd&&qd?null:e;default:return null}}function sx(e,n){if(Kr)return e==="compositionend"||!cl&&Kd(e,n)?(e=Vd(),io=il=Xn=null,Kr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return Hd&&n.locale!=="ko"?null:n.data;default:return null}}var ox={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 Qd(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n==="input"?!!ox[e.type]:n==="textarea"}function Xd(e,n,s,a){dt(a),n=po(n,"onChange"),0<n.length&&(s=new sl("onChange","change",null,s,a),e.push({event:s,listeners:n}))}var Ki=null,Gi=null;function ax(e){hp(e,0)}function lo(e){var n=Jr(e);if(Oe(n))return e}function lx(e,n){if(e==="change")return n}var Yd=!1;if(d){var fl;if(d){var dl="oninput"in document;if(!dl){var Jd=document.createElement("div");Jd.setAttribute("oninput","return;"),dl=typeof Jd.oninput=="function"}fl=dl}else fl=!1;Yd=fl&&(!document.documentMode||9<document.documentMode)}function Zd(){Ki&&(Ki.detachEvent("onpropertychange",ep),Gi=Ki=null)}function ep(e){if(e.propertyName==="value"&&lo(Gi)){var n=[];Xd(n,Gi,e,_e(e)),_i(ax,n)}}function ux(e,n,s){e==="focusin"?(Zd(),Ki=n,Gi=s,Ki.attachEvent("onpropertychange",ep)):e==="focusout"&&Zd()}function cx(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return lo(Gi)}function fx(e,n){if(e==="click")return lo(n)}function dx(e,n){if(e==="input"||e==="change")return lo(n)}function px(e,n){return e===n&&(e!==0||1/e===1/n)||e!==e&&n!==n}var tn=typeof Object.is=="function"?Object.is:px;function Qi(e,n){if(tn(e,n))return!0;if(typeof e!="object"||e===null||typeof n!="object"||n===null)return!1;var s=Object.keys(e),a=Object.keys(n);if(s.length!==a.length)return!1;for(a=0;a<s.length;a++){var f=s[a];if(!h.call(n,f)||!tn(e[f],n[f]))return!1}return!0}function tp(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function np(e,n){var s=tp(e);e=0;for(var a;s;){if(s.nodeType===3){if(a=e+s.textContent.length,e<=n&&a>=n)return{node:s,offset:n-e};e=a}e:{for(;s;){if(s.nextSibling){s=s.nextSibling;break e}s=s.parentNode}s=void 0}s=tp(s)}}function rp(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?rp(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function ip(){for(var e=window,n=Ve();n instanceof e.HTMLIFrameElement;){try{var s=typeof n.contentWindow.location.href=="string"}catch{s=!1}if(s)e=n.contentWindow;else break;n=Ve(e.document)}return n}function pl(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}function hx(e){var n=ip(),s=e.focusedElem,a=e.selectionRange;if(n!==s&&s&&s.ownerDocument&&rp(s.ownerDocument.documentElement,s)){if(a!==null&&pl(s)){if(n=a.start,e=a.end,e===void 0&&(e=n),"selectionStart"in s)s.selectionStart=n,s.selectionEnd=Math.min(e,s.value.length);else if(e=(n=s.ownerDocument||document)&&n.defaultView||window,e.getSelection){e=e.getSelection();var f=s.textContent.length,p=Math.min(a.start,f);a=a.end===void 0?p:Math.min(a.end,f),!e.extend&&p>a&&(f=a,a=p,p=f),f=np(s,p);var g=np(s,a);f&&g&&(e.rangeCount!==1||e.anchorNode!==f.node||e.anchorOffset!==f.offset||e.focusNode!==g.node||e.focusOffset!==g.offset)&&(n=n.createRange(),n.setStart(f.node,f.offset),e.removeAllRanges(),p>a?(e.addRange(n),e.extend(g.node,g.offset)):(n.setEnd(g.node,g.offset),e.addRange(n)))}}for(n=[],e=s;e=e.parentNode;)e.nodeType===1&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof s.focus=="function"&&s.focus(),s=0;s<n.length;s++)e=n[s],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mx=d&&"documentMode"in document&&11>=document.documentMode,Gr=null,hl=null,Xi=null,ml=!1;function sp(e,n,s){var a=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;ml||Gr==null||Gr!==Ve(a)||(a=Gr,"selectionStart"in a&&pl(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),Xi&&Qi(Xi,a)||(Xi=a,a=po(hl,"onSelect"),0<a.length&&(n=new sl("onSelect","select",null,n,s),e.push({event:n,listeners:a}),n.target=Gr)))}function uo(e,n){var s={};return s[e.toLowerCase()]=n.toLowerCase(),s["Webkit"+e]="webkit"+n,s["Moz"+e]="moz"+n,s}var Qr={animationend:uo("Animation","AnimationEnd"),animationiteration:uo("Animation","AnimationIteration"),animationstart:uo("Animation","AnimationStart"),transitionend:uo("Transition","TransitionEnd")},yl={},op={};d&&(op=document.createElement("div").style,"AnimationEvent"in window||(delete Qr.animationend.animation,delete Qr.animationiteration.animation,delete Qr.animationstart.animation),"TransitionEvent"in window||delete Qr.transitionend.transition);function co(e){if(yl[e])return yl[e];if(!Qr[e])return e;var n=Qr[e],s;for(s in n)if(n.hasOwnProperty(s)&&s in op)return yl[e]=n[s];return e}var ap=co("animationend"),lp=co("animationiteration"),up=co("animationstart"),cp=co("transitionend"),fp=new Map,dp="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Yn(e,n){fp.set(e,n),c(n,[e])}for(var gl=0;gl<dp.length;gl++){var vl=dp[gl],yx=vl.toLowerCase(),gx=vl[0].toUpperCase()+vl.slice(1);Yn(yx,"on"+gx)}Yn(ap,"onAnimationEnd"),Yn(lp,"onAnimationIteration"),Yn(up,"onAnimationStart"),Yn("dblclick","onDoubleClick"),Yn("focusin","onFocus"),Yn("focusout","onBlur"),Yn(cp,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Yi="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(" "),vx=new Set("cancel close invalid load scroll toggle".split(" ").concat(Yi));function pp(e,n,s){var a=e.type||"unknown-event";e.currentTarget=s,qs(a,n,void 0,e),e.currentTarget=null}function hp(e,n){n=(n&4)!==0;for(var s=0;s<e.length;s++){var a=e[s],f=a.event;a=a.listeners;e:{var p=void 0;if(n)for(var g=a.length-1;0<=g;g--){var T=a[g],A=T.instance,D=T.currentTarget;if(T=T.listener,A!==p&&f.isPropagationStopped())break e;pp(f,T,D),p=A}else for(g=0;g<a.length;g++){if(T=a[g],A=T.instance,D=T.currentTarget,T=T.listener,A!==p&&f.isPropagationStopped())break e;pp(f,T,D),p=A}}}if(Wn)throw e=Hr,Wn=!1,Hr=null,e}function Ie(e,n){var s=n[Cl];s===void 0&&(s=n[Cl]=new Set);var a=e+"__bubble";s.has(a)||(mp(n,e,2,!1),s.add(a))}function xl(e,n,s){var a=0;n&&(a|=4),mp(s,e,a,n)}var fo="_reactListening"+Math.random().toString(36).slice(2);function Ji(e){if(!e[fo]){e[fo]=!0,o.forEach(function(s){s!=="selectionchange"&&(vx.has(s)||xl(s,!1,e),xl(s,!0,e))});var n=e.nodeType===9?e:e.ownerDocument;n===null||n[fo]||(n[fo]=!0,xl("selectionchange",!1,n))}}function mp(e,n,s,a){switch(Ld(n)){case 1:var f=O1;break;case 4:f=j1;break;default:f=nl}s=f.bind(null,n,s,e),f=void 0,!$r||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(f=!0),a?f!==void 0?e.addEventListener(n,s,{capture:!0,passive:f}):e.addEventListener(n,s,!0):f!==void 0?e.addEventListener(n,s,{passive:f}):e.addEventListener(n,s,!1)}function wl(e,n,s,a,f){var p=a;if((n&1)===0&&(n&2)===0&&a!==null)e:for(;;){if(a===null)return;var g=a.tag;if(g===3||g===4){var T=a.stateNode.containerInfo;if(T===f||T.nodeType===8&&T.parentNode===f)break;if(g===4)for(g=a.return;g!==null;){var A=g.tag;if((A===3||A===4)&&(A=g.stateNode.containerInfo,A===f||A.nodeType===8&&A.parentNode===f))return;g=g.return}for(;T!==null;){if(g=gr(T),g===null)return;if(A=g.tag,A===5||A===6){a=p=g;continue e}T=T.parentNode}}a=a.return}_i(function(){var D=p,q=_e(s),K=[];e:{var W=fp.get(e);if(W!==void 0){var ee=sl,re=e;switch(e){case"keypress":if(so(s)===0)break e;case"keydown":case"keyup":ee=G1;break;case"focusin":re="focus",ee=ll;break;case"focusout":re="blur",ee=ll;break;case"beforeblur":case"afterblur":ee=ll;break;case"click":if(s.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ee=zd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ee=D1;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ee=Y1;break;case ap:case lp:case up:ee=V1;break;case cp:ee=Z1;break;case"scroll":ee=M1;break;case"wheel":ee=tx;break;case"copy":case"cut":case"paste":ee=z1;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ee=$d}var se=(n&4)!==0,Ge=!se&&e==="scroll",O=se?W!==null?W+"Capture":null:W;se=[];for(var N=D,j;N!==null;){j=N;var G=j.stateNode;if(j.tag===5&&G!==null&&(j=G,O!==null&&(G=$n(N,O),G!=null&&se.push(Zi(N,G,j)))),Ge)break;N=N.return}0<se.length&&(W=new ee(W,re,null,s,q),K.push({event:W,listeners:se}))}}if((n&7)===0){e:{if(W=e==="mouseover"||e==="pointerover",ee=e==="mouseout"||e==="pointerout",W&&s!==Ae&&(re=s.relatedTarget||s.fromElement)&&(gr(re)||re[Nn]))break e;if((ee||W)&&(W=q.window===q?q:(W=q.ownerDocument)?W.defaultView||W.parentWindow:window,ee?(re=s.relatedTarget||s.toElement,ee=D,re=re?gr(re):null,re!==null&&(Ge=Zt(re),re!==Ge||re.tag!==5&&re.tag!==6)&&(re=null)):(ee=null,re=D),ee!==re)){if(se=zd,G="onMouseLeave",O="onMouseEnter",N="mouse",(e==="pointerout"||e==="pointerover")&&(se=$d,G="onPointerLeave",O="onPointerEnter",N="pointer"),Ge=ee==null?W:Jr(ee),j=re==null?W:Jr(re),W=new se(G,N+"leave",ee,s,q),W.target=Ge,W.relatedTarget=j,G=null,gr(q)===D&&(se=new se(O,N+"enter",re,s,q),se.target=j,se.relatedTarget=Ge,G=se),Ge=G,ee&&re)t:{for(se=ee,O=re,N=0,j=se;j;j=Xr(j))N++;for(j=0,G=O;G;G=Xr(G))j++;for(;0<N-j;)se=Xr(se),N--;for(;0<j-N;)O=Xr(O),j--;for(;N--;){if(se===O||O!==null&&se===O.alternate)break t;se=Xr(se),O=Xr(O)}se=null}else se=null;ee!==null&&yp(K,W,ee,se,!1),re!==null&&Ge!==null&&yp(K,Ge,re,se,!0)}}e:{if(W=D?Jr(D):window,ee=W.nodeName&&W.nodeName.toLowerCase(),ee==="select"||ee==="input"&&W.type==="file")var oe=lx;else if(Qd(W))if(Yd)oe=dx;else{oe=cx;var ue=ux}else(ee=W.nodeName)&&ee.toLowerCase()==="input"&&(W.type==="checkbox"||W.type==="radio")&&(oe=fx);if(oe&&(oe=oe(e,D))){Xd(K,oe,s,q);break e}ue&&ue(e,W,D),e==="focusout"&&(ue=W._wrapperState)&&ue.controlled&&W.type==="number"&&dn(W,"number",W.value)}switch(ue=D?Jr(D):window,e){case"focusin":(Qd(ue)||ue.contentEditable==="true")&&(Gr=ue,hl=D,Xi=null);break;case"focusout":Xi=hl=Gr=null;break;case"mousedown":ml=!0;break;case"contextmenu":case"mouseup":case"dragend":ml=!1,sp(K,s,q);break;case"selectionchange":if(mx)break;case"keydown":case"keyup":sp(K,s,q)}var ce;if(cl)e:{switch(e){case"compositionstart":var pe="onCompositionStart";break e;case"compositionend":pe="onCompositionEnd";break e;case"compositionupdate":pe="onCompositionUpdate";break e}pe=void 0}else Kr?Kd(e,s)&&(pe="onCompositionEnd"):e==="keydown"&&s.keyCode===229&&(pe="onCompositionStart");pe&&(Hd&&s.locale!=="ko"&&(Kr||pe!=="onCompositionStart"?pe==="onCompositionEnd"&&Kr&&(ce=Vd()):(Xn=q,il="value"in Xn?Xn.value:Xn.textContent,Kr=!0)),ue=po(D,pe),0<ue.length&&(pe=new Ud(pe,e,null,s,q),K.push({event:pe,listeners:ue}),ce?pe.data=ce:(ce=Gd(s),ce!==null&&(pe.data=ce)))),(ce=rx?ix(e,s):sx(e,s))&&(D=po(D,"onBeforeInput"),0<D.length&&(q=new Ud("onBeforeInput","beforeinput",null,s,q),K.push({event:q,listeners:D}),q.data=ce))}hp(K,n)})}function Zi(e,n,s){return{instance:e,listener:n,currentTarget:s}}function po(e,n){for(var s=n+"Capture",a=[];e!==null;){var f=e,p=f.stateNode;f.tag===5&&p!==null&&(f=p,p=$n(e,s),p!=null&&a.unshift(Zi(e,p,f)),p=$n(e,n),p!=null&&a.push(Zi(e,p,f))),e=e.return}return a}function Xr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function yp(e,n,s,a,f){for(var p=n._reactName,g=[];s!==null&&s!==a;){var T=s,A=T.alternate,D=T.stateNode;if(A!==null&&A===a)break;T.tag===5&&D!==null&&(T=D,f?(A=$n(s,p),A!=null&&g.unshift(Zi(s,A,T))):f||(A=$n(s,p),A!=null&&g.push(Zi(s,A,T)))),s=s.return}g.length!==0&&e.push({event:n,listeners:g})}var xx=/\r\n?/g,wx=/\u0000|\uFFFD/g;function gp(e){return(typeof e=="string"?e:""+e).replace(xx,`
|
||
`).replace(wx,"")}function ho(e,n,s){if(n=gp(n),gp(e)!==n&&s)throw Error(i(425))}function mo(){}var Sl=null,El=null;function Pl(e,n){return e==="textarea"||e==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var Tl=typeof setTimeout=="function"?setTimeout:void 0,Sx=typeof clearTimeout=="function"?clearTimeout:void 0,vp=typeof Promise=="function"?Promise:void 0,Ex=typeof queueMicrotask=="function"?queueMicrotask:typeof vp<"u"?function(e){return vp.resolve(null).then(e).catch(Px)}:Tl;function Px(e){setTimeout(function(){throw e})}function kl(e,n){var s=n,a=0;do{var f=s.nextSibling;if(e.removeChild(s),f&&f.nodeType===8)if(s=f.data,s==="/$"){if(a===0){e.removeChild(f),$i(n);return}a--}else s!=="$"&&s!=="$?"&&s!=="$!"||a++;s=f}while(s);$i(n)}function Jn(e){for(;e!=null;e=e.nextSibling){var n=e.nodeType;if(n===1||n===3)break;if(n===8){if(n=e.data,n==="$"||n==="$!"||n==="$?")break;if(n==="/$")return null}}return e}function xp(e){e=e.previousSibling;for(var n=0;e;){if(e.nodeType===8){var s=e.data;if(s==="$"||s==="$!"||s==="$?"){if(n===0)return e;n--}else s==="/$"&&n++}e=e.previousSibling}return null}var Yr=Math.random().toString(36).slice(2),gn="__reactFiber$"+Yr,es="__reactProps$"+Yr,Nn="__reactContainer$"+Yr,Cl="__reactEvents$"+Yr,Tx="__reactListeners$"+Yr,kx="__reactHandles$"+Yr;function gr(e){var n=e[gn];if(n)return n;for(var s=e.parentNode;s;){if(n=s[Nn]||s[gn]){if(s=n.alternate,n.child!==null||s!==null&&s.child!==null)for(e=xp(e);e!==null;){if(s=e[gn])return s;e=xp(e)}return n}e=s,s=e.parentNode}return null}function ts(e){return e=e[gn]||e[Nn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Jr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(i(33))}function yo(e){return e[es]||null}var Al=[],Zr=-1;function Zn(e){return{current:e}}function Le(e){0>Zr||(e.current=Al[Zr],Al[Zr]=null,Zr--)}function De(e,n){Zr++,Al[Zr]=e.current,e.current=n}var er={},pt=Zn(er),Ft=Zn(!1),vr=er;function ei(e,n){var s=e.type.contextTypes;if(!s)return er;var a=e.stateNode;if(a&&a.__reactInternalMemoizedUnmaskedChildContext===n)return a.__reactInternalMemoizedMaskedChildContext;var f={},p;for(p in s)f[p]=n[p];return a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=f),f}function Nt(e){return e=e.childContextTypes,e!=null}function go(){Le(Ft),Le(pt)}function wp(e,n,s){if(pt.current!==er)throw Error(i(168));De(pt,n),De(Ft,s)}function Sp(e,n,s){var a=e.stateNode;if(n=n.childContextTypes,typeof a.getChildContext!="function")return s;a=a.getChildContext();for(var f in a)if(!(f in n))throw Error(i(108,Ce(e)||"Unknown",f));return Y({},s,a)}function vo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||er,vr=pt.current,De(pt,e),De(Ft,Ft.current),!0}function Ep(e,n,s){var a=e.stateNode;if(!a)throw Error(i(169));s?(e=Sp(e,n,vr),a.__reactInternalMemoizedMergedChildContext=e,Le(Ft),Le(pt),De(pt,e)):Le(Ft),De(Ft,s)}var Rn=null,xo=!1,Fl=!1;function Pp(e){Rn===null?Rn=[e]:Rn.push(e)}function Cx(e){xo=!0,Pp(e)}function tr(){if(!Fl&&Rn!==null){Fl=!0;var e=0,n=Me;try{var s=Rn;for(Me=1;e<s.length;e++){var a=s[e];do a=a(!0);while(a!==null)}Rn=null,xo=!1}catch(f){throw Rn!==null&&(Rn=Rn.slice(e+1)),Gs(Xa,tr),f}finally{Me=n,Fl=!1}}return null}var ti=[],ni=0,wo=null,So=0,Ut=[],$t=0,xr=null,_n=1,On="";function wr(e,n){ti[ni++]=So,ti[ni++]=wo,wo=e,So=n}function Tp(e,n,s){Ut[$t++]=_n,Ut[$t++]=On,Ut[$t++]=xr,xr=e;var a=_n;e=On;var f=32-en(a)-1;a&=~(1<<f),s+=1;var p=32-en(n)+f;if(30<p){var g=f-f%5;p=(a&(1<<g)-1).toString(32),a>>=g,f-=g,_n=1<<32-en(n)+f|s<<f|a,On=p+e}else _n=1<<p|s<<f|a,On=e}function Nl(e){e.return!==null&&(wr(e,1),Tp(e,1,0))}function Rl(e){for(;e===wo;)wo=ti[--ni],ti[ni]=null,So=ti[--ni],ti[ni]=null;for(;e===xr;)xr=Ut[--$t],Ut[$t]=null,On=Ut[--$t],Ut[$t]=null,_n=Ut[--$t],Ut[$t]=null}var Lt=null,Vt=null,Be=!1,nn=null;function kp(e,n){var s=Kt(5,null,null,0);s.elementType="DELETED",s.stateNode=n,s.return=e,n=e.deletions,n===null?(e.deletions=[s],e.flags|=16):n.push(s)}function Cp(e,n){switch(e.tag){case 5:var s=e.type;return n=n.nodeType!==1||s.toLowerCase()!==n.nodeName.toLowerCase()?null:n,n!==null?(e.stateNode=n,Lt=e,Vt=Jn(n.firstChild),!0):!1;case 6:return n=e.pendingProps===""||n.nodeType!==3?null:n,n!==null?(e.stateNode=n,Lt=e,Vt=null,!0):!1;case 13:return n=n.nodeType!==8?null:n,n!==null?(s=xr!==null?{id:_n,overflow:On}:null,e.memoizedState={dehydrated:n,treeContext:s,retryLane:1073741824},s=Kt(18,null,null,0),s.stateNode=n,s.return=e,e.child=s,Lt=e,Vt=null,!0):!1;default:return!1}}function _l(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Ol(e){if(Be){var n=Vt;if(n){var s=n;if(!Cp(e,n)){if(_l(e))throw Error(i(418));n=Jn(s.nextSibling);var a=Lt;n&&Cp(e,n)?kp(a,s):(e.flags=e.flags&-4097|2,Be=!1,Lt=e)}}else{if(_l(e))throw Error(i(418));e.flags=e.flags&-4097|2,Be=!1,Lt=e}}}function Ap(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Lt=e}function Eo(e){if(e!==Lt)return!1;if(!Be)return Ap(e),Be=!0,!1;var n;if((n=e.tag!==3)&&!(n=e.tag!==5)&&(n=e.type,n=n!=="head"&&n!=="body"&&!Pl(e.type,e.memoizedProps)),n&&(n=Vt)){if(_l(e))throw Fp(),Error(i(418));for(;n;)kp(e,n),n=Jn(n.nextSibling)}if(Ap(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(i(317));e:{for(e=e.nextSibling,n=0;e;){if(e.nodeType===8){var s=e.data;if(s==="/$"){if(n===0){Vt=Jn(e.nextSibling);break e}n--}else s!=="$"&&s!=="$!"&&s!=="$?"||n++}e=e.nextSibling}Vt=null}}else Vt=Lt?Jn(e.stateNode.nextSibling):null;return!0}function Fp(){for(var e=Vt;e;)e=Jn(e.nextSibling)}function ri(){Vt=Lt=null,Be=!1}function jl(e){nn===null?nn=[e]:nn.push(e)}var Ax=b.ReactCurrentBatchConfig;function ns(e,n,s){if(e=s.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(s._owner){if(s=s._owner,s){if(s.tag!==1)throw Error(i(309));var a=s.stateNode}if(!a)throw Error(i(147,e));var f=a,p=""+e;return n!==null&&n.ref!==null&&typeof n.ref=="function"&&n.ref._stringRef===p?n.ref:(n=function(g){var T=f.refs;g===null?delete T[p]:T[p]=g},n._stringRef=p,n)}if(typeof e!="string")throw Error(i(284));if(!s._owner)throw Error(i(290,e))}return e}function Po(e,n){throw e=Object.prototype.toString.call(n),Error(i(31,e==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":e))}function Np(e){var n=e._init;return n(e._payload)}function Rp(e){function n(O,N){if(e){var j=O.deletions;j===null?(O.deletions=[N],O.flags|=16):j.push(N)}}function s(O,N){if(!e)return null;for(;N!==null;)n(O,N),N=N.sibling;return null}function a(O,N){for(O=new Map;N!==null;)N.key!==null?O.set(N.key,N):O.set(N.index,N),N=N.sibling;return O}function f(O,N){return O=ur(O,N),O.index=0,O.sibling=null,O}function p(O,N,j){return O.index=j,e?(j=O.alternate,j!==null?(j=j.index,j<N?(O.flags|=2,N):j):(O.flags|=2,N)):(O.flags|=1048576,N)}function g(O){return e&&O.alternate===null&&(O.flags|=2),O}function T(O,N,j,G){return N===null||N.tag!==6?(N=Tu(j,O.mode,G),N.return=O,N):(N=f(N,j),N.return=O,N)}function A(O,N,j,G){var oe=j.type;return oe===$?q(O,N,j.props.children,G,j.key):N!==null&&(N.elementType===oe||typeof oe=="object"&&oe!==null&&oe.$$typeof===ke&&Np(oe)===N.type)?(G=f(N,j.props),G.ref=ns(O,N,j),G.return=O,G):(G=Ko(j.type,j.key,j.props,null,O.mode,G),G.ref=ns(O,N,j),G.return=O,G)}function D(O,N,j,G){return N===null||N.tag!==4||N.stateNode.containerInfo!==j.containerInfo||N.stateNode.implementation!==j.implementation?(N=ku(j,O.mode,G),N.return=O,N):(N=f(N,j.children||[]),N.return=O,N)}function q(O,N,j,G,oe){return N===null||N.tag!==7?(N=Fr(j,O.mode,G,oe),N.return=O,N):(N=f(N,j),N.return=O,N)}function K(O,N,j){if(typeof N=="string"&&N!==""||typeof N=="number")return N=Tu(""+N,O.mode,j),N.return=O,N;if(typeof N=="object"&&N!==null){switch(N.$$typeof){case V:return j=Ko(N.type,N.key,N.props,null,O.mode,j),j.ref=ns(O,null,N),j.return=O,j;case z:return N=ku(N,O.mode,j),N.return=O,N;case ke:var G=N._init;return K(O,G(N._payload),j)}if(At(N)||J(N))return N=Fr(N,O.mode,j,null),N.return=O,N;Po(O,N)}return null}function W(O,N,j,G){var oe=N!==null?N.key:null;if(typeof j=="string"&&j!==""||typeof j=="number")return oe!==null?null:T(O,N,""+j,G);if(typeof j=="object"&&j!==null){switch(j.$$typeof){case V:return j.key===oe?A(O,N,j,G):null;case z:return j.key===oe?D(O,N,j,G):null;case ke:return oe=j._init,W(O,N,oe(j._payload),G)}if(At(j)||J(j))return oe!==null?null:q(O,N,j,G,null);Po(O,j)}return null}function ee(O,N,j,G,oe){if(typeof G=="string"&&G!==""||typeof G=="number")return O=O.get(j)||null,T(N,O,""+G,oe);if(typeof G=="object"&&G!==null){switch(G.$$typeof){case V:return O=O.get(G.key===null?j:G.key)||null,A(N,O,G,oe);case z:return O=O.get(G.key===null?j:G.key)||null,D(N,O,G,oe);case ke:var ue=G._init;return ee(O,N,j,ue(G._payload),oe)}if(At(G)||J(G))return O=O.get(j)||null,q(N,O,G,oe,null);Po(N,G)}return null}function re(O,N,j,G){for(var oe=null,ue=null,ce=N,pe=N=0,lt=null;ce!==null&&pe<j.length;pe++){ce.index>pe?(lt=ce,ce=null):lt=ce.sibling;var Ne=W(O,ce,j[pe],G);if(Ne===null){ce===null&&(ce=lt);break}e&&ce&&Ne.alternate===null&&n(O,ce),N=p(Ne,N,pe),ue===null?oe=Ne:ue.sibling=Ne,ue=Ne,ce=lt}if(pe===j.length)return s(O,ce),Be&&wr(O,pe),oe;if(ce===null){for(;pe<j.length;pe++)ce=K(O,j[pe],G),ce!==null&&(N=p(ce,N,pe),ue===null?oe=ce:ue.sibling=ce,ue=ce);return Be&&wr(O,pe),oe}for(ce=a(O,ce);pe<j.length;pe++)lt=ee(ce,O,pe,j[pe],G),lt!==null&&(e&<.alternate!==null&&ce.delete(lt.key===null?pe:lt.key),N=p(lt,N,pe),ue===null?oe=lt:ue.sibling=lt,ue=lt);return e&&ce.forEach(function(cr){return n(O,cr)}),Be&&wr(O,pe),oe}function se(O,N,j,G){var oe=J(j);if(typeof oe!="function")throw Error(i(150));if(j=oe.call(j),j==null)throw Error(i(151));for(var ue=oe=null,ce=N,pe=N=0,lt=null,Ne=j.next();ce!==null&&!Ne.done;pe++,Ne=j.next()){ce.index>pe?(lt=ce,ce=null):lt=ce.sibling;var cr=W(O,ce,Ne.value,G);if(cr===null){ce===null&&(ce=lt);break}e&&ce&&cr.alternate===null&&n(O,ce),N=p(cr,N,pe),ue===null?oe=cr:ue.sibling=cr,ue=cr,ce=lt}if(Ne.done)return s(O,ce),Be&&wr(O,pe),oe;if(ce===null){for(;!Ne.done;pe++,Ne=j.next())Ne=K(O,Ne.value,G),Ne!==null&&(N=p(Ne,N,pe),ue===null?oe=Ne:ue.sibling=Ne,ue=Ne);return Be&&wr(O,pe),oe}for(ce=a(O,ce);!Ne.done;pe++,Ne=j.next())Ne=ee(ce,O,pe,Ne.value,G),Ne!==null&&(e&&Ne.alternate!==null&&ce.delete(Ne.key===null?pe:Ne.key),N=p(Ne,N,pe),ue===null?oe=Ne:ue.sibling=Ne,ue=Ne);return e&&ce.forEach(function(ow){return n(O,ow)}),Be&&wr(O,pe),oe}function Ge(O,N,j,G){if(typeof j=="object"&&j!==null&&j.type===$&&j.key===null&&(j=j.props.children),typeof j=="object"&&j!==null){switch(j.$$typeof){case V:e:{for(var oe=j.key,ue=N;ue!==null;){if(ue.key===oe){if(oe=j.type,oe===$){if(ue.tag===7){s(O,ue.sibling),N=f(ue,j.props.children),N.return=O,O=N;break e}}else if(ue.elementType===oe||typeof oe=="object"&&oe!==null&&oe.$$typeof===ke&&Np(oe)===ue.type){s(O,ue.sibling),N=f(ue,j.props),N.ref=ns(O,ue,j),N.return=O,O=N;break e}s(O,ue);break}else n(O,ue);ue=ue.sibling}j.type===$?(N=Fr(j.props.children,O.mode,G,j.key),N.return=O,O=N):(G=Ko(j.type,j.key,j.props,null,O.mode,G),G.ref=ns(O,N,j),G.return=O,O=G)}return g(O);case z:e:{for(ue=j.key;N!==null;){if(N.key===ue)if(N.tag===4&&N.stateNode.containerInfo===j.containerInfo&&N.stateNode.implementation===j.implementation){s(O,N.sibling),N=f(N,j.children||[]),N.return=O,O=N;break e}else{s(O,N);break}else n(O,N);N=N.sibling}N=ku(j,O.mode,G),N.return=O,O=N}return g(O);case ke:return ue=j._init,Ge(O,N,ue(j._payload),G)}if(At(j))return re(O,N,j,G);if(J(j))return se(O,N,j,G);Po(O,j)}return typeof j=="string"&&j!==""||typeof j=="number"?(j=""+j,N!==null&&N.tag===6?(s(O,N.sibling),N=f(N,j),N.return=O,O=N):(s(O,N),N=Tu(j,O.mode,G),N.return=O,O=N),g(O)):s(O,N)}return Ge}var ii=Rp(!0),_p=Rp(!1),To=Zn(null),ko=null,si=null,Ml=null;function bl(){Ml=si=ko=null}function Dl(e){var n=To.current;Le(To),e._currentValue=n}function Il(e,n,s){for(;e!==null;){var a=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,a!==null&&(a.childLanes|=n)):a!==null&&(a.childLanes&n)!==n&&(a.childLanes|=n),e===s)break;e=e.return}}function oi(e,n){ko=e,Ml=si=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&n)!==0&&(Rt=!0),e.firstContext=null)}function Ht(e){var n=e._currentValue;if(Ml!==e)if(e={context:e,memoizedValue:n,next:null},si===null){if(ko===null)throw Error(i(308));si=e,ko.dependencies={lanes:0,firstContext:e}}else si=si.next=e;return n}var Sr=null;function Ll(e){Sr===null?Sr=[e]:Sr.push(e)}function Op(e,n,s,a){var f=n.interleaved;return f===null?(s.next=s,Ll(n)):(s.next=f.next,f.next=s),n.interleaved=s,jn(e,a)}function jn(e,n){e.lanes|=n;var s=e.alternate;for(s!==null&&(s.lanes|=n),s=e,e=e.return;e!==null;)e.childLanes|=n,s=e.alternate,s!==null&&(s.childLanes|=n),s=e,e=e.return;return s.tag===3?s.stateNode:null}var nr=!1;function Vl(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function jp(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Mn(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function rr(e,n,s){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(Fe&2)!==0){var f=a.pending;return f===null?n.next=n:(n.next=f.next,f.next=n),a.pending=n,jn(e,s)}return f=a.interleaved,f===null?(n.next=n,Ll(a)):(n.next=f.next,f.next=n),a.interleaved=n,jn(e,s)}function Co(e,n,s){if(n=n.updateQueue,n!==null&&(n=n.shared,(s&4194240)!==0)){var a=n.lanes;a&=e.pendingLanes,s|=a,n.lanes=s,Za(e,s)}}function Mp(e,n){var s=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,s===a)){var f=null,p=null;if(s=s.firstBaseUpdate,s!==null){do{var g={eventTime:s.eventTime,lane:s.lane,tag:s.tag,payload:s.payload,callback:s.callback,next:null};p===null?f=p=g:p=p.next=g,s=s.next}while(s!==null);p===null?f=p=n:p=p.next=n}else f=p=n;s={baseState:a.baseState,firstBaseUpdate:f,lastBaseUpdate:p,shared:a.shared,effects:a.effects},e.updateQueue=s;return}e=s.lastBaseUpdate,e===null?s.firstBaseUpdate=n:e.next=n,s.lastBaseUpdate=n}function Ao(e,n,s,a){var f=e.updateQueue;nr=!1;var p=f.firstBaseUpdate,g=f.lastBaseUpdate,T=f.shared.pending;if(T!==null){f.shared.pending=null;var A=T,D=A.next;A.next=null,g===null?p=D:g.next=D,g=A;var q=e.alternate;q!==null&&(q=q.updateQueue,T=q.lastBaseUpdate,T!==g&&(T===null?q.firstBaseUpdate=D:T.next=D,q.lastBaseUpdate=A))}if(p!==null){var K=f.baseState;g=0,q=D=A=null,T=p;do{var W=T.lane,ee=T.eventTime;if((a&W)===W){q!==null&&(q=q.next={eventTime:ee,lane:0,tag:T.tag,payload:T.payload,callback:T.callback,next:null});e:{var re=e,se=T;switch(W=n,ee=s,se.tag){case 1:if(re=se.payload,typeof re=="function"){K=re.call(ee,K,W);break e}K=re;break e;case 3:re.flags=re.flags&-65537|128;case 0:if(re=se.payload,W=typeof re=="function"?re.call(ee,K,W):re,W==null)break e;K=Y({},K,W);break e;case 2:nr=!0}}T.callback!==null&&T.lane!==0&&(e.flags|=64,W=f.effects,W===null?f.effects=[T]:W.push(T))}else ee={eventTime:ee,lane:W,tag:T.tag,payload:T.payload,callback:T.callback,next:null},q===null?(D=q=ee,A=K):q=q.next=ee,g|=W;if(T=T.next,T===null){if(T=f.shared.pending,T===null)break;W=T,T=W.next,W.next=null,f.lastBaseUpdate=W,f.shared.pending=null}}while(!0);if(q===null&&(A=K),f.baseState=A,f.firstBaseUpdate=D,f.lastBaseUpdate=q,n=f.shared.interleaved,n!==null){f=n;do g|=f.lane,f=f.next;while(f!==n)}else p===null&&(f.shared.lanes=0);Tr|=g,e.lanes=g,e.memoizedState=K}}function bp(e,n,s){if(e=n.effects,n.effects=null,e!==null)for(n=0;n<e.length;n++){var a=e[n],f=a.callback;if(f!==null){if(a.callback=null,a=s,typeof f!="function")throw Error(i(191,f));f.call(a)}}}var rs={},vn=Zn(rs),is=Zn(rs),ss=Zn(rs);function Er(e){if(e===rs)throw Error(i(174));return e}function Bl(e,n){switch(De(ss,n),De(is,e),De(vn,rs),e=n.nodeType,e){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:Lr(null,"");break;default:e=e===8?n.parentNode:n,n=e.namespaceURI||null,e=e.tagName,n=Lr(n,e)}Le(vn),De(vn,n)}function ai(){Le(vn),Le(is),Le(ss)}function Dp(e){Er(ss.current);var n=Er(vn.current),s=Lr(n,e.type);n!==s&&(De(is,e),De(vn,s))}function zl(e){is.current===e&&(Le(vn),Le(is))}var Ue=Zn(0);function Fo(e){for(var n=e;n!==null;){if(n.tag===13){var s=n.memoizedState;if(s!==null&&(s=s.dehydrated,s===null||s.data==="$?"||s.data==="$!"))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if((n.flags&128)!==0)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var Ul=[];function $l(){for(var e=0;e<Ul.length;e++)Ul[e]._workInProgressVersionPrimary=null;Ul.length=0}var No=b.ReactCurrentDispatcher,Hl=b.ReactCurrentBatchConfig,Pr=0,$e=null,tt=null,ot=null,Ro=!1,os=!1,as=0,Fx=0;function ht(){throw Error(i(321))}function Wl(e,n){if(n===null)return!1;for(var s=0;s<n.length&&s<e.length;s++)if(!tn(e[s],n[s]))return!1;return!0}function ql(e,n,s,a,f,p){if(Pr=p,$e=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,No.current=e===null||e.memoizedState===null?Ox:jx,e=s(a,f),os){p=0;do{if(os=!1,as=0,25<=p)throw Error(i(301));p+=1,ot=tt=null,n.updateQueue=null,No.current=Mx,e=s(a,f)}while(os)}if(No.current=jo,n=tt!==null&&tt.next!==null,Pr=0,ot=tt=$e=null,Ro=!1,n)throw Error(i(300));return e}function Kl(){var e=as!==0;return as=0,e}function xn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ot===null?$e.memoizedState=ot=e:ot=ot.next=e,ot}function Wt(){if(tt===null){var e=$e.alternate;e=e!==null?e.memoizedState:null}else e=tt.next;var n=ot===null?$e.memoizedState:ot.next;if(n!==null)ot=n,tt=e;else{if(e===null)throw Error(i(310));tt=e,e={memoizedState:tt.memoizedState,baseState:tt.baseState,baseQueue:tt.baseQueue,queue:tt.queue,next:null},ot===null?$e.memoizedState=ot=e:ot=ot.next=e}return ot}function ls(e,n){return typeof n=="function"?n(e):n}function Gl(e){var n=Wt(),s=n.queue;if(s===null)throw Error(i(311));s.lastRenderedReducer=e;var a=tt,f=a.baseQueue,p=s.pending;if(p!==null){if(f!==null){var g=f.next;f.next=p.next,p.next=g}a.baseQueue=f=p,s.pending=null}if(f!==null){p=f.next,a=a.baseState;var T=g=null,A=null,D=p;do{var q=D.lane;if((Pr&q)===q)A!==null&&(A=A.next={lane:0,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null}),a=D.hasEagerState?D.eagerState:e(a,D.action);else{var K={lane:q,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null};A===null?(T=A=K,g=a):A=A.next=K,$e.lanes|=q,Tr|=q}D=D.next}while(D!==null&&D!==p);A===null?g=a:A.next=T,tn(a,n.memoizedState)||(Rt=!0),n.memoizedState=a,n.baseState=g,n.baseQueue=A,s.lastRenderedState=a}if(e=s.interleaved,e!==null){f=e;do p=f.lane,$e.lanes|=p,Tr|=p,f=f.next;while(f!==e)}else f===null&&(s.lanes=0);return[n.memoizedState,s.dispatch]}function Ql(e){var n=Wt(),s=n.queue;if(s===null)throw Error(i(311));s.lastRenderedReducer=e;var a=s.dispatch,f=s.pending,p=n.memoizedState;if(f!==null){s.pending=null;var g=f=f.next;do p=e(p,g.action),g=g.next;while(g!==f);tn(p,n.memoizedState)||(Rt=!0),n.memoizedState=p,n.baseQueue===null&&(n.baseState=p),s.lastRenderedState=p}return[p,a]}function Ip(){}function Lp(e,n){var s=$e,a=Wt(),f=n(),p=!tn(a.memoizedState,f);if(p&&(a.memoizedState=f,Rt=!0),a=a.queue,Xl(zp.bind(null,s,a,e),[e]),a.getSnapshot!==n||p||ot!==null&&ot.memoizedState.tag&1){if(s.flags|=2048,us(9,Bp.bind(null,s,a,f,n),void 0,null),at===null)throw Error(i(349));(Pr&30)!==0||Vp(s,n,f)}return f}function Vp(e,n,s){e.flags|=16384,e={getSnapshot:n,value:s},n=$e.updateQueue,n===null?(n={lastEffect:null,stores:null},$e.updateQueue=n,n.stores=[e]):(s=n.stores,s===null?n.stores=[e]:s.push(e))}function Bp(e,n,s,a){n.value=s,n.getSnapshot=a,Up(n)&&$p(e)}function zp(e,n,s){return s(function(){Up(n)&&$p(e)})}function Up(e){var n=e.getSnapshot;e=e.value;try{var s=n();return!tn(e,s)}catch{return!0}}function $p(e){var n=jn(e,1);n!==null&&an(n,e,1,-1)}function Hp(e){var n=xn();return typeof e=="function"&&(e=e()),n.memoizedState=n.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ls,lastRenderedState:e},n.queue=e,e=e.dispatch=_x.bind(null,$e,e),[n.memoizedState,e]}function us(e,n,s,a){return e={tag:e,create:n,destroy:s,deps:a,next:null},n=$e.updateQueue,n===null?(n={lastEffect:null,stores:null},$e.updateQueue=n,n.lastEffect=e.next=e):(s=n.lastEffect,s===null?n.lastEffect=e.next=e:(a=s.next,s.next=e,e.next=a,n.lastEffect=e)),e}function Wp(){return Wt().memoizedState}function _o(e,n,s,a){var f=xn();$e.flags|=e,f.memoizedState=us(1|n,s,void 0,a===void 0?null:a)}function Oo(e,n,s,a){var f=Wt();a=a===void 0?null:a;var p=void 0;if(tt!==null){var g=tt.memoizedState;if(p=g.destroy,a!==null&&Wl(a,g.deps)){f.memoizedState=us(n,s,p,a);return}}$e.flags|=e,f.memoizedState=us(1|n,s,p,a)}function qp(e,n){return _o(8390656,8,e,n)}function Xl(e,n){return Oo(2048,8,e,n)}function Kp(e,n){return Oo(4,2,e,n)}function Gp(e,n){return Oo(4,4,e,n)}function Qp(e,n){if(typeof n=="function")return e=e(),n(e),function(){n(null)};if(n!=null)return e=e(),n.current=e,function(){n.current=null}}function Xp(e,n,s){return s=s!=null?s.concat([e]):null,Oo(4,4,Qp.bind(null,n,e),s)}function Yl(){}function Yp(e,n){var s=Wt();n=n===void 0?null:n;var a=s.memoizedState;return a!==null&&n!==null&&Wl(n,a[1])?a[0]:(s.memoizedState=[e,n],e)}function Jp(e,n){var s=Wt();n=n===void 0?null:n;var a=s.memoizedState;return a!==null&&n!==null&&Wl(n,a[1])?a[0]:(e=e(),s.memoizedState=[e,n],e)}function Zp(e,n,s){return(Pr&21)===0?(e.baseState&&(e.baseState=!1,Rt=!0),e.memoizedState=s):(tn(s,n)||(s=Nd(),$e.lanes|=s,Tr|=s,e.baseState=!0),n)}function Nx(e,n){var s=Me;Me=s!==0&&4>s?s:4,e(!0);var a=Hl.transition;Hl.transition={};try{e(!1),n()}finally{Me=s,Hl.transition=a}}function eh(){return Wt().memoizedState}function Rx(e,n,s){var a=ar(e);if(s={lane:a,action:s,hasEagerState:!1,eagerState:null,next:null},th(e))nh(n,s);else if(s=Op(e,n,s,a),s!==null){var f=Tt();an(s,e,a,f),rh(s,n,a)}}function _x(e,n,s){var a=ar(e),f={lane:a,action:s,hasEagerState:!1,eagerState:null,next:null};if(th(e))nh(n,f);else{var p=e.alternate;if(e.lanes===0&&(p===null||p.lanes===0)&&(p=n.lastRenderedReducer,p!==null))try{var g=n.lastRenderedState,T=p(g,s);if(f.hasEagerState=!0,f.eagerState=T,tn(T,g)){var A=n.interleaved;A===null?(f.next=f,Ll(n)):(f.next=A.next,A.next=f),n.interleaved=f;return}}catch{}finally{}s=Op(e,n,f,a),s!==null&&(f=Tt(),an(s,e,a,f),rh(s,n,a))}}function th(e){var n=e.alternate;return e===$e||n!==null&&n===$e}function nh(e,n){os=Ro=!0;var s=e.pending;s===null?n.next=n:(n.next=s.next,s.next=n),e.pending=n}function rh(e,n,s){if((s&4194240)!==0){var a=n.lanes;a&=e.pendingLanes,s|=a,n.lanes=s,Za(e,s)}}var jo={readContext:Ht,useCallback:ht,useContext:ht,useEffect:ht,useImperativeHandle:ht,useInsertionEffect:ht,useLayoutEffect:ht,useMemo:ht,useReducer:ht,useRef:ht,useState:ht,useDebugValue:ht,useDeferredValue:ht,useTransition:ht,useMutableSource:ht,useSyncExternalStore:ht,useId:ht,unstable_isNewReconciler:!1},Ox={readContext:Ht,useCallback:function(e,n){return xn().memoizedState=[e,n===void 0?null:n],e},useContext:Ht,useEffect:qp,useImperativeHandle:function(e,n,s){return s=s!=null?s.concat([e]):null,_o(4194308,4,Qp.bind(null,n,e),s)},useLayoutEffect:function(e,n){return _o(4194308,4,e,n)},useInsertionEffect:function(e,n){return _o(4,2,e,n)},useMemo:function(e,n){var s=xn();return n=n===void 0?null:n,e=e(),s.memoizedState=[e,n],e},useReducer:function(e,n,s){var a=xn();return n=s!==void 0?s(n):n,a.memoizedState=a.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},a.queue=e,e=e.dispatch=Rx.bind(null,$e,e),[a.memoizedState,e]},useRef:function(e){var n=xn();return e={current:e},n.memoizedState=e},useState:Hp,useDebugValue:Yl,useDeferredValue:function(e){return xn().memoizedState=e},useTransition:function(){var e=Hp(!1),n=e[0];return e=Nx.bind(null,e[1]),xn().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,s){var a=$e,f=xn();if(Be){if(s===void 0)throw Error(i(407));s=s()}else{if(s=n(),at===null)throw Error(i(349));(Pr&30)!==0||Vp(a,n,s)}f.memoizedState=s;var p={value:s,getSnapshot:n};return f.queue=p,qp(zp.bind(null,a,p,e),[e]),a.flags|=2048,us(9,Bp.bind(null,a,p,s,n),void 0,null),s},useId:function(){var e=xn(),n=at.identifierPrefix;if(Be){var s=On,a=_n;s=(a&~(1<<32-en(a)-1)).toString(32)+s,n=":"+n+"R"+s,s=as++,0<s&&(n+="H"+s.toString(32)),n+=":"}else s=Fx++,n=":"+n+"r"+s.toString(32)+":";return e.memoizedState=n},unstable_isNewReconciler:!1},jx={readContext:Ht,useCallback:Yp,useContext:Ht,useEffect:Xl,useImperativeHandle:Xp,useInsertionEffect:Kp,useLayoutEffect:Gp,useMemo:Jp,useReducer:Gl,useRef:Wp,useState:function(){return Gl(ls)},useDebugValue:Yl,useDeferredValue:function(e){var n=Wt();return Zp(n,tt.memoizedState,e)},useTransition:function(){var e=Gl(ls)[0],n=Wt().memoizedState;return[e,n]},useMutableSource:Ip,useSyncExternalStore:Lp,useId:eh,unstable_isNewReconciler:!1},Mx={readContext:Ht,useCallback:Yp,useContext:Ht,useEffect:Xl,useImperativeHandle:Xp,useInsertionEffect:Kp,useLayoutEffect:Gp,useMemo:Jp,useReducer:Ql,useRef:Wp,useState:function(){return Ql(ls)},useDebugValue:Yl,useDeferredValue:function(e){var n=Wt();return tt===null?n.memoizedState=e:Zp(n,tt.memoizedState,e)},useTransition:function(){var e=Ql(ls)[0],n=Wt().memoizedState;return[e,n]},useMutableSource:Ip,useSyncExternalStore:Lp,useId:eh,unstable_isNewReconciler:!1};function rn(e,n){if(e&&e.defaultProps){n=Y({},n),e=e.defaultProps;for(var s in e)n[s]===void 0&&(n[s]=e[s]);return n}return n}function Jl(e,n,s,a){n=e.memoizedState,s=s(a,n),s=s==null?n:Y({},n,s),e.memoizedState=s,e.lanes===0&&(e.updateQueue.baseState=s)}var Mo={isMounted:function(e){return(e=e._reactInternals)?Zt(e)===e:!1},enqueueSetState:function(e,n,s){e=e._reactInternals;var a=Tt(),f=ar(e),p=Mn(a,f);p.payload=n,s!=null&&(p.callback=s),n=rr(e,p,f),n!==null&&(an(n,e,f,a),Co(n,e,f))},enqueueReplaceState:function(e,n,s){e=e._reactInternals;var a=Tt(),f=ar(e),p=Mn(a,f);p.tag=1,p.payload=n,s!=null&&(p.callback=s),n=rr(e,p,f),n!==null&&(an(n,e,f,a),Co(n,e,f))},enqueueForceUpdate:function(e,n){e=e._reactInternals;var s=Tt(),a=ar(e),f=Mn(s,a);f.tag=2,n!=null&&(f.callback=n),n=rr(e,f,a),n!==null&&(an(n,e,a,s),Co(n,e,a))}};function ih(e,n,s,a,f,p,g){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,p,g):n.prototype&&n.prototype.isPureReactComponent?!Qi(s,a)||!Qi(f,p):!0}function sh(e,n,s){var a=!1,f=er,p=n.contextType;return typeof p=="object"&&p!==null?p=Ht(p):(f=Nt(n)?vr:pt.current,a=n.contextTypes,p=(a=a!=null)?ei(e,f):er),n=new n(s,p),e.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=Mo,e.stateNode=n,n._reactInternals=e,a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=f,e.__reactInternalMemoizedMaskedChildContext=p),n}function oh(e,n,s,a){e=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(s,a),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(s,a),n.state!==e&&Mo.enqueueReplaceState(n,n.state,null)}function Zl(e,n,s,a){var f=e.stateNode;f.props=s,f.state=e.memoizedState,f.refs={},Vl(e);var p=n.contextType;typeof p=="object"&&p!==null?f.context=Ht(p):(p=Nt(n)?vr:pt.current,f.context=ei(e,p)),f.state=e.memoizedState,p=n.getDerivedStateFromProps,typeof p=="function"&&(Jl(e,n,p,s),f.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(n=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),n!==f.state&&Mo.enqueueReplaceState(f,f.state,null),Ao(e,s,f,a),f.state=e.memoizedState),typeof f.componentDidMount=="function"&&(e.flags|=4194308)}function li(e,n){try{var s="",a=n;do s+=ge(a),a=a.return;while(a);var f=s}catch(p){f=`
|
||
Error generating stack: `+p.message+`
|
||
`+p.stack}return{value:e,source:n,stack:f,digest:null}}function eu(e,n,s){return{value:e,source:null,stack:s??null,digest:n??null}}function tu(e,n){try{console.error(n.value)}catch(s){setTimeout(function(){throw s})}}var bx=typeof WeakMap=="function"?WeakMap:Map;function ah(e,n,s){s=Mn(-1,s),s.tag=3,s.payload={element:null};var a=n.value;return s.callback=function(){zo||(zo=!0,yu=a),tu(e,n)},s}function lh(e,n,s){s=Mn(-1,s),s.tag=3;var a=e.type.getDerivedStateFromError;if(typeof a=="function"){var f=n.value;s.payload=function(){return a(f)},s.callback=function(){tu(e,n)}}var p=e.stateNode;return p!==null&&typeof p.componentDidCatch=="function"&&(s.callback=function(){tu(e,n),typeof a!="function"&&(sr===null?sr=new Set([this]):sr.add(this));var g=n.stack;this.componentDidCatch(n.value,{componentStack:g!==null?g:""})}),s}function uh(e,n,s){var a=e.pingCache;if(a===null){a=e.pingCache=new bx;var f=new Set;a.set(n,f)}else f=a.get(n),f===void 0&&(f=new Set,a.set(n,f));f.has(s)||(f.add(s),e=Qx.bind(null,e,n,s),n.then(e,e))}function ch(e){do{var n;if((n=e.tag===13)&&(n=e.memoizedState,n=n!==null?n.dehydrated!==null:!0),n)return e;e=e.return}while(e!==null);return null}function fh(e,n,s,a,f){return(e.mode&1)===0?(e===n?e.flags|=65536:(e.flags|=128,s.flags|=131072,s.flags&=-52805,s.tag===1&&(s.alternate===null?s.tag=17:(n=Mn(-1,1),n.tag=2,rr(s,n,1))),s.lanes|=1),e):(e.flags|=65536,e.lanes=f,e)}var Dx=b.ReactCurrentOwner,Rt=!1;function Pt(e,n,s,a){n.child=e===null?_p(n,null,s,a):ii(n,e.child,s,a)}function dh(e,n,s,a,f){s=s.render;var p=n.ref;return oi(n,f),a=ql(e,n,s,a,p,f),s=Kl(),e!==null&&!Rt?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~f,bn(e,n,f)):(Be&&s&&Nl(n),n.flags|=1,Pt(e,n,a,f),n.child)}function ph(e,n,s,a,f){if(e===null){var p=s.type;return typeof p=="function"&&!Pu(p)&&p.defaultProps===void 0&&s.compare===null&&s.defaultProps===void 0?(n.tag=15,n.type=p,hh(e,n,p,a,f)):(e=Ko(s.type,null,a,n,n.mode,f),e.ref=n.ref,e.return=n,n.child=e)}if(p=e.child,(e.lanes&f)===0){var g=p.memoizedProps;if(s=s.compare,s=s!==null?s:Qi,s(g,a)&&e.ref===n.ref)return bn(e,n,f)}return n.flags|=1,e=ur(p,a),e.ref=n.ref,e.return=n,n.child=e}function hh(e,n,s,a,f){if(e!==null){var p=e.memoizedProps;if(Qi(p,a)&&e.ref===n.ref)if(Rt=!1,n.pendingProps=a=p,(e.lanes&f)!==0)(e.flags&131072)!==0&&(Rt=!0);else return n.lanes=e.lanes,bn(e,n,f)}return nu(e,n,s,a,f)}function mh(e,n,s){var a=n.pendingProps,f=a.children,p=e!==null?e.memoizedState:null;if(a.mode==="hidden")if((n.mode&1)===0)n.memoizedState={baseLanes:0,cachePool:null,transitions:null},De(ci,Bt),Bt|=s;else{if((s&1073741824)===0)return e=p!==null?p.baseLanes|s:s,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:e,cachePool:null,transitions:null},n.updateQueue=null,De(ci,Bt),Bt|=e,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},a=p!==null?p.baseLanes:s,De(ci,Bt),Bt|=a}else p!==null?(a=p.baseLanes|s,n.memoizedState=null):a=s,De(ci,Bt),Bt|=a;return Pt(e,n,f,s),n.child}function yh(e,n){var s=n.ref;(e===null&&s!==null||e!==null&&e.ref!==s)&&(n.flags|=512,n.flags|=2097152)}function nu(e,n,s,a,f){var p=Nt(s)?vr:pt.current;return p=ei(n,p),oi(n,f),s=ql(e,n,s,a,p,f),a=Kl(),e!==null&&!Rt?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~f,bn(e,n,f)):(Be&&a&&Nl(n),n.flags|=1,Pt(e,n,s,f),n.child)}function gh(e,n,s,a,f){if(Nt(s)){var p=!0;vo(n)}else p=!1;if(oi(n,f),n.stateNode===null)Do(e,n),sh(n,s,a),Zl(n,s,a,f),a=!0;else if(e===null){var g=n.stateNode,T=n.memoizedProps;g.props=T;var A=g.context,D=s.contextType;typeof D=="object"&&D!==null?D=Ht(D):(D=Nt(s)?vr:pt.current,D=ei(n,D));var q=s.getDerivedStateFromProps,K=typeof q=="function"||typeof g.getSnapshotBeforeUpdate=="function";K||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(T!==a||A!==D)&&oh(n,g,a,D),nr=!1;var W=n.memoizedState;g.state=W,Ao(n,a,g,f),A=n.memoizedState,T!==a||W!==A||Ft.current||nr?(typeof q=="function"&&(Jl(n,s,q,a),A=n.memoizedState),(T=nr||ih(n,s,T,a,W,A,D))?(K||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount()),typeof g.componentDidMount=="function"&&(n.flags|=4194308)):(typeof g.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=a,n.memoizedState=A),g.props=a,g.state=A,g.context=D,a=T):(typeof g.componentDidMount=="function"&&(n.flags|=4194308),a=!1)}else{g=n.stateNode,jp(e,n),T=n.memoizedProps,D=n.type===n.elementType?T:rn(n.type,T),g.props=D,K=n.pendingProps,W=g.context,A=s.contextType,typeof A=="object"&&A!==null?A=Ht(A):(A=Nt(s)?vr:pt.current,A=ei(n,A));var ee=s.getDerivedStateFromProps;(q=typeof ee=="function"||typeof g.getSnapshotBeforeUpdate=="function")||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(T!==K||W!==A)&&oh(n,g,a,A),nr=!1,W=n.memoizedState,g.state=W,Ao(n,a,g,f);var re=n.memoizedState;T!==K||W!==re||Ft.current||nr?(typeof ee=="function"&&(Jl(n,s,ee,a),re=n.memoizedState),(D=nr||ih(n,s,D,a,W,re,A)||!1)?(q||typeof g.UNSAFE_componentWillUpdate!="function"&&typeof g.componentWillUpdate!="function"||(typeof g.componentWillUpdate=="function"&&g.componentWillUpdate(a,re,A),typeof g.UNSAFE_componentWillUpdate=="function"&&g.UNSAFE_componentWillUpdate(a,re,A)),typeof g.componentDidUpdate=="function"&&(n.flags|=4),typeof g.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof g.componentDidUpdate!="function"||T===e.memoizedProps&&W===e.memoizedState||(n.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||T===e.memoizedProps&&W===e.memoizedState||(n.flags|=1024),n.memoizedProps=a,n.memoizedState=re),g.props=a,g.state=re,g.context=A,a=D):(typeof g.componentDidUpdate!="function"||T===e.memoizedProps&&W===e.memoizedState||(n.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||T===e.memoizedProps&&W===e.memoizedState||(n.flags|=1024),a=!1)}return ru(e,n,s,a,p,f)}function ru(e,n,s,a,f,p){yh(e,n);var g=(n.flags&128)!==0;if(!a&&!g)return f&&Ep(n,s,!1),bn(e,n,p);a=n.stateNode,Dx.current=n;var T=g&&typeof s.getDerivedStateFromError!="function"?null:a.render();return n.flags|=1,e!==null&&g?(n.child=ii(n,e.child,null,p),n.child=ii(n,null,T,p)):Pt(e,n,T,p),n.memoizedState=a.state,f&&Ep(n,s,!0),n.child}function vh(e){var n=e.stateNode;n.pendingContext?wp(e,n.pendingContext,n.pendingContext!==n.context):n.context&&wp(e,n.context,!1),Bl(e,n.containerInfo)}function xh(e,n,s,a,f){return ri(),jl(f),n.flags|=256,Pt(e,n,s,a),n.child}var iu={dehydrated:null,treeContext:null,retryLane:0};function su(e){return{baseLanes:e,cachePool:null,transitions:null}}function wh(e,n,s){var a=n.pendingProps,f=Ue.current,p=!1,g=(n.flags&128)!==0,T;if((T=g)||(T=e!==null&&e.memoizedState===null?!1:(f&2)!==0),T?(p=!0,n.flags&=-129):(e===null||e.memoizedState!==null)&&(f|=1),De(Ue,f&1),e===null)return Ol(n),e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((n.mode&1)===0?n.lanes=1:e.data==="$!"?n.lanes=8:n.lanes=1073741824,null):(g=a.children,e=a.fallback,p?(a=n.mode,p=n.child,g={mode:"hidden",children:g},(a&1)===0&&p!==null?(p.childLanes=0,p.pendingProps=g):p=Go(g,a,0,null),e=Fr(e,a,s,null),p.return=n,e.return=n,p.sibling=e,n.child=p,n.child.memoizedState=su(s),n.memoizedState=iu,e):ou(n,g));if(f=e.memoizedState,f!==null&&(T=f.dehydrated,T!==null))return Ix(e,n,g,a,T,f,s);if(p){p=a.fallback,g=n.mode,f=e.child,T=f.sibling;var A={mode:"hidden",children:a.children};return(g&1)===0&&n.child!==f?(a=n.child,a.childLanes=0,a.pendingProps=A,n.deletions=null):(a=ur(f,A),a.subtreeFlags=f.subtreeFlags&14680064),T!==null?p=ur(T,p):(p=Fr(p,g,s,null),p.flags|=2),p.return=n,a.return=n,a.sibling=p,n.child=a,a=p,p=n.child,g=e.child.memoizedState,g=g===null?su(s):{baseLanes:g.baseLanes|s,cachePool:null,transitions:g.transitions},p.memoizedState=g,p.childLanes=e.childLanes&~s,n.memoizedState=iu,a}return p=e.child,e=p.sibling,a=ur(p,{mode:"visible",children:a.children}),(n.mode&1)===0&&(a.lanes=s),a.return=n,a.sibling=null,e!==null&&(s=n.deletions,s===null?(n.deletions=[e],n.flags|=16):s.push(e)),n.child=a,n.memoizedState=null,a}function ou(e,n){return n=Go({mode:"visible",children:n},e.mode,0,null),n.return=e,e.child=n}function bo(e,n,s,a){return a!==null&&jl(a),ii(n,e.child,null,s),e=ou(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function Ix(e,n,s,a,f,p,g){if(s)return n.flags&256?(n.flags&=-257,a=eu(Error(i(422))),bo(e,n,g,a)):n.memoizedState!==null?(n.child=e.child,n.flags|=128,null):(p=a.fallback,f=n.mode,a=Go({mode:"visible",children:a.children},f,0,null),p=Fr(p,f,g,null),p.flags|=2,a.return=n,p.return=n,a.sibling=p,n.child=a,(n.mode&1)!==0&&ii(n,e.child,null,g),n.child.memoizedState=su(g),n.memoizedState=iu,p);if((n.mode&1)===0)return bo(e,n,g,null);if(f.data==="$!"){if(a=f.nextSibling&&f.nextSibling.dataset,a)var T=a.dgst;return a=T,p=Error(i(419)),a=eu(p,a,void 0),bo(e,n,g,a)}if(T=(g&e.childLanes)!==0,Rt||T){if(a=at,a!==null){switch(g&-g){case 4:f=2;break;case 16:f=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:f=32;break;case 536870912:f=268435456;break;default:f=0}f=(f&(a.suspendedLanes|g))!==0?0:f,f!==0&&f!==p.retryLane&&(p.retryLane=f,jn(e,f),an(a,e,f,-1))}return Eu(),a=eu(Error(i(421))),bo(e,n,g,a)}return f.data==="$?"?(n.flags|=128,n.child=e.child,n=Xx.bind(null,e),f._reactRetry=n,null):(e=p.treeContext,Vt=Jn(f.nextSibling),Lt=n,Be=!0,nn=null,e!==null&&(Ut[$t++]=_n,Ut[$t++]=On,Ut[$t++]=xr,_n=e.id,On=e.overflow,xr=n),n=ou(n,a.children),n.flags|=4096,n)}function Sh(e,n,s){e.lanes|=n;var a=e.alternate;a!==null&&(a.lanes|=n),Il(e.return,n,s)}function au(e,n,s,a,f){var p=e.memoizedState;p===null?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:a,tail:s,tailMode:f}:(p.isBackwards=n,p.rendering=null,p.renderingStartTime=0,p.last=a,p.tail=s,p.tailMode=f)}function Eh(e,n,s){var a=n.pendingProps,f=a.revealOrder,p=a.tail;if(Pt(e,n,a.children,s),a=Ue.current,(a&2)!==0)a=a&1|2,n.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=n.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Sh(e,s,n);else if(e.tag===19)Sh(e,s,n);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;e.sibling===null;){if(e.return===null||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}a&=1}if(De(Ue,a),(n.mode&1)===0)n.memoizedState=null;else switch(f){case"forwards":for(s=n.child,f=null;s!==null;)e=s.alternate,e!==null&&Fo(e)===null&&(f=s),s=s.sibling;s=f,s===null?(f=n.child,n.child=null):(f=s.sibling,s.sibling=null),au(n,!1,f,s,p);break;case"backwards":for(s=null,f=n.child,n.child=null;f!==null;){if(e=f.alternate,e!==null&&Fo(e)===null){n.child=f;break}e=f.sibling,f.sibling=s,s=f,f=e}au(n,!0,s,null,p);break;case"together":au(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function Do(e,n){(n.mode&1)===0&&e!==null&&(e.alternate=null,n.alternate=null,n.flags|=2)}function bn(e,n,s){if(e!==null&&(n.dependencies=e.dependencies),Tr|=n.lanes,(s&n.childLanes)===0)return null;if(e!==null&&n.child!==e.child)throw Error(i(153));if(n.child!==null){for(e=n.child,s=ur(e,e.pendingProps),n.child=s,s.return=n;e.sibling!==null;)e=e.sibling,s=s.sibling=ur(e,e.pendingProps),s.return=n;s.sibling=null}return n.child}function Lx(e,n,s){switch(n.tag){case 3:vh(n),ri();break;case 5:Dp(n);break;case 1:Nt(n.type)&&vo(n);break;case 4:Bl(n,n.stateNode.containerInfo);break;case 10:var a=n.type._context,f=n.memoizedProps.value;De(To,a._currentValue),a._currentValue=f;break;case 13:if(a=n.memoizedState,a!==null)return a.dehydrated!==null?(De(Ue,Ue.current&1),n.flags|=128,null):(s&n.child.childLanes)!==0?wh(e,n,s):(De(Ue,Ue.current&1),e=bn(e,n,s),e!==null?e.sibling:null);De(Ue,Ue.current&1);break;case 19:if(a=(s&n.childLanes)!==0,(e.flags&128)!==0){if(a)return Eh(e,n,s);n.flags|=128}if(f=n.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),De(Ue,Ue.current),a)break;return null;case 22:case 23:return n.lanes=0,mh(e,n,s)}return bn(e,n,s)}var Ph,lu,Th,kh;Ph=function(e,n){for(var s=n.child;s!==null;){if(s.tag===5||s.tag===6)e.appendChild(s.stateNode);else if(s.tag!==4&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===n)break;for(;s.sibling===null;){if(s.return===null||s.return===n)return;s=s.return}s.sibling.return=s.return,s=s.sibling}},lu=function(){},Th=function(e,n,s,a){var f=e.memoizedProps;if(f!==a){e=n.stateNode,Er(vn.current);var p=null;switch(s){case"input":f=Xe(e,f),a=Xe(e,a),p=[];break;case"select":f=Y({},f,{value:void 0}),a=Y({},a,{value:void 0}),p=[];break;case"textarea":f=pn(e,f),a=pn(e,a),p=[];break;default:typeof f.onClick!="function"&&typeof a.onClick=="function"&&(e.onclick=mo)}M(s,a);var g;s=null;for(D in f)if(!a.hasOwnProperty(D)&&f.hasOwnProperty(D)&&f[D]!=null)if(D==="style"){var T=f[D];for(g in T)T.hasOwnProperty(g)&&(s||(s={}),s[g]="")}else D!=="dangerouslySetInnerHTML"&&D!=="children"&&D!=="suppressContentEditableWarning"&&D!=="suppressHydrationWarning"&&D!=="autoFocus"&&(l.hasOwnProperty(D)?p||(p=[]):(p=p||[]).push(D,null));for(D in a){var A=a[D];if(T=f!=null?f[D]:void 0,a.hasOwnProperty(D)&&A!==T&&(A!=null||T!=null))if(D==="style")if(T){for(g in T)!T.hasOwnProperty(g)||A&&A.hasOwnProperty(g)||(s||(s={}),s[g]="");for(g in A)A.hasOwnProperty(g)&&T[g]!==A[g]&&(s||(s={}),s[g]=A[g])}else s||(p||(p=[]),p.push(D,s)),s=A;else D==="dangerouslySetInnerHTML"?(A=A?A.__html:void 0,T=T?T.__html:void 0,A!=null&&T!==A&&(p=p||[]).push(D,A)):D==="children"?typeof A!="string"&&typeof A!="number"||(p=p||[]).push(D,""+A):D!=="suppressContentEditableWarning"&&D!=="suppressHydrationWarning"&&(l.hasOwnProperty(D)?(A!=null&&D==="onScroll"&&Ie("scroll",e),p||T===A||(p=[])):(p=p||[]).push(D,A))}s&&(p=p||[]).push("style",s);var D=p;(n.updateQueue=D)&&(n.flags|=4)}},kh=function(e,n,s,a){s!==a&&(n.flags|=4)};function cs(e,n){if(!Be)switch(e.tailMode){case"hidden":n=e.tail;for(var s=null;n!==null;)n.alternate!==null&&(s=n),n=n.sibling;s===null?e.tail=null:s.sibling=null;break;case"collapsed":s=e.tail;for(var a=null;s!==null;)s.alternate!==null&&(a=s),s=s.sibling;a===null?n||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function mt(e){var n=e.alternate!==null&&e.alternate.child===e.child,s=0,a=0;if(n)for(var f=e.child;f!==null;)s|=f.lanes|f.childLanes,a|=f.subtreeFlags&14680064,a|=f.flags&14680064,f.return=e,f=f.sibling;else for(f=e.child;f!==null;)s|=f.lanes|f.childLanes,a|=f.subtreeFlags,a|=f.flags,f.return=e,f=f.sibling;return e.subtreeFlags|=a,e.childLanes=s,n}function Vx(e,n,s){var a=n.pendingProps;switch(Rl(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return mt(n),null;case 1:return Nt(n.type)&&go(),mt(n),null;case 3:return a=n.stateNode,ai(),Le(Ft),Le(pt),$l(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(Eo(n)?n.flags|=4:e===null||e.memoizedState.isDehydrated&&(n.flags&256)===0||(n.flags|=1024,nn!==null&&(xu(nn),nn=null))),lu(e,n),mt(n),null;case 5:zl(n);var f=Er(ss.current);if(s=n.type,e!==null&&n.stateNode!=null)Th(e,n,s,a,f),e.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else{if(!a){if(n.stateNode===null)throw Error(i(166));return mt(n),null}if(e=Er(vn.current),Eo(n)){a=n.stateNode,s=n.type;var p=n.memoizedProps;switch(a[gn]=n,a[es]=p,e=(n.mode&1)!==0,s){case"dialog":Ie("cancel",a),Ie("close",a);break;case"iframe":case"object":case"embed":Ie("load",a);break;case"video":case"audio":for(f=0;f<Yi.length;f++)Ie(Yi[f],a);break;case"source":Ie("error",a);break;case"img":case"image":case"link":Ie("error",a),Ie("load",a);break;case"details":Ie("toggle",a);break;case"input":xt(a,p),Ie("invalid",a);break;case"select":a._wrapperState={wasMultiple:!!p.multiple},Ie("invalid",a);break;case"textarea":Tn(a,p),Ie("invalid",a)}M(s,p),f=null;for(var g in p)if(p.hasOwnProperty(g)){var T=p[g];g==="children"?typeof T=="string"?a.textContent!==T&&(p.suppressHydrationWarning!==!0&&ho(a.textContent,T,e),f=["children",T]):typeof T=="number"&&a.textContent!==""+T&&(p.suppressHydrationWarning!==!0&&ho(a.textContent,T,e),f=["children",""+T]):l.hasOwnProperty(g)&&T!=null&&g==="onScroll"&&Ie("scroll",a)}switch(s){case"input":be(a),wt(a,p,!0);break;case"textarea":be(a),Us(a);break;case"select":case"option":break;default:typeof p.onClick=="function"&&(a.onclick=mo)}a=f,n.updateQueue=a,a!==null&&(n.flags|=4)}else{g=f.nodeType===9?f:f.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=$s(s)),e==="http://www.w3.org/1999/xhtml"?s==="script"?(e=g.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof a.is=="string"?e=g.createElement(s,{is:a.is}):(e=g.createElement(s),s==="select"&&(g=e,a.multiple?g.multiple=!0:a.size&&(g.size=a.size))):e=g.createElementNS(e,s),e[gn]=n,e[es]=a,Ph(e,n,!1,!1),n.stateNode=e;e:{switch(g=I(s,a),s){case"dialog":Ie("cancel",e),Ie("close",e),f=a;break;case"iframe":case"object":case"embed":Ie("load",e),f=a;break;case"video":case"audio":for(f=0;f<Yi.length;f++)Ie(Yi[f],e);f=a;break;case"source":Ie("error",e),f=a;break;case"img":case"image":case"link":Ie("error",e),Ie("load",e),f=a;break;case"details":Ie("toggle",e),f=a;break;case"input":xt(e,a),f=Xe(e,a),Ie("invalid",e);break;case"option":f=a;break;case"select":e._wrapperState={wasMultiple:!!a.multiple},f=Y({},a,{value:void 0}),Ie("invalid",e);break;case"textarea":Tn(e,a),f=pn(e,a),Ie("invalid",e);break;default:f=a}M(s,f),T=f;for(p in T)if(T.hasOwnProperty(p)){var A=T[p];p==="style"?Br(e,A):p==="dangerouslySetInnerHTML"?(A=A?A.__html:void 0,A!=null&&zn(e,A)):p==="children"?typeof A=="string"?(s!=="textarea"||A!=="")&&Cn(e,A):typeof A=="number"&&Cn(e,""+A):p!=="suppressContentEditableWarning"&&p!=="suppressHydrationWarning"&&p!=="autoFocus"&&(l.hasOwnProperty(p)?A!=null&&p==="onScroll"&&Ie("scroll",e):A!=null&&_(e,p,A,g))}switch(s){case"input":be(e),wt(e,a,!1);break;case"textarea":be(e),Us(e);break;case"option":a.value!=null&&e.setAttribute("value",""+Pe(a.value));break;case"select":e.multiple=!!a.multiple,p=a.value,p!=null?st(e,!!a.multiple,p,!1):a.defaultValue!=null&&st(e,!!a.multiple,a.defaultValue,!0);break;default:typeof f.onClick=="function"&&(e.onclick=mo)}switch(s){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}}a&&(n.flags|=4)}n.ref!==null&&(n.flags|=512,n.flags|=2097152)}return mt(n),null;case 6:if(e&&n.stateNode!=null)kh(e,n,e.memoizedProps,a);else{if(typeof a!="string"&&n.stateNode===null)throw Error(i(166));if(s=Er(ss.current),Er(vn.current),Eo(n)){if(a=n.stateNode,s=n.memoizedProps,a[gn]=n,(p=a.nodeValue!==s)&&(e=Lt,e!==null))switch(e.tag){case 3:ho(a.nodeValue,s,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&ho(a.nodeValue,s,(e.mode&1)!==0)}p&&(n.flags|=4)}else a=(s.nodeType===9?s:s.ownerDocument).createTextNode(a),a[gn]=n,n.stateNode=a}return mt(n),null;case 13:if(Le(Ue),a=n.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Be&&Vt!==null&&(n.mode&1)!==0&&(n.flags&128)===0)Fp(),ri(),n.flags|=98560,p=!1;else if(p=Eo(n),a!==null&&a.dehydrated!==null){if(e===null){if(!p)throw Error(i(318));if(p=n.memoizedState,p=p!==null?p.dehydrated:null,!p)throw Error(i(317));p[gn]=n}else ri(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;mt(n),p=!1}else nn!==null&&(xu(nn),nn=null),p=!0;if(!p)return n.flags&65536?n:null}return(n.flags&128)!==0?(n.lanes=s,n):(a=a!==null,a!==(e!==null&&e.memoizedState!==null)&&a&&(n.child.flags|=8192,(n.mode&1)!==0&&(e===null||(Ue.current&1)!==0?nt===0&&(nt=3):Eu())),n.updateQueue!==null&&(n.flags|=4),mt(n),null);case 4:return ai(),lu(e,n),e===null&&Ji(n.stateNode.containerInfo),mt(n),null;case 10:return Dl(n.type._context),mt(n),null;case 17:return Nt(n.type)&&go(),mt(n),null;case 19:if(Le(Ue),p=n.memoizedState,p===null)return mt(n),null;if(a=(n.flags&128)!==0,g=p.rendering,g===null)if(a)cs(p,!1);else{if(nt!==0||e!==null&&(e.flags&128)!==0)for(e=n.child;e!==null;){if(g=Fo(e),g!==null){for(n.flags|=128,cs(p,!1),a=g.updateQueue,a!==null&&(n.updateQueue=a,n.flags|=4),n.subtreeFlags=0,a=s,s=n.child;s!==null;)p=s,e=a,p.flags&=14680066,g=p.alternate,g===null?(p.childLanes=0,p.lanes=e,p.child=null,p.subtreeFlags=0,p.memoizedProps=null,p.memoizedState=null,p.updateQueue=null,p.dependencies=null,p.stateNode=null):(p.childLanes=g.childLanes,p.lanes=g.lanes,p.child=g.child,p.subtreeFlags=0,p.deletions=null,p.memoizedProps=g.memoizedProps,p.memoizedState=g.memoizedState,p.updateQueue=g.updateQueue,p.type=g.type,e=g.dependencies,p.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),s=s.sibling;return De(Ue,Ue.current&1|2),n.child}e=e.sibling}p.tail!==null&&Ke()>fi&&(n.flags|=128,a=!0,cs(p,!1),n.lanes=4194304)}else{if(!a)if(e=Fo(g),e!==null){if(n.flags|=128,a=!0,s=e.updateQueue,s!==null&&(n.updateQueue=s,n.flags|=4),cs(p,!0),p.tail===null&&p.tailMode==="hidden"&&!g.alternate&&!Be)return mt(n),null}else 2*Ke()-p.renderingStartTime>fi&&s!==1073741824&&(n.flags|=128,a=!0,cs(p,!1),n.lanes=4194304);p.isBackwards?(g.sibling=n.child,n.child=g):(s=p.last,s!==null?s.sibling=g:n.child=g,p.last=g)}return p.tail!==null?(n=p.tail,p.rendering=n,p.tail=n.sibling,p.renderingStartTime=Ke(),n.sibling=null,s=Ue.current,De(Ue,a?s&1|2:s&1),n):(mt(n),null);case 22:case 23:return Su(),a=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==a&&(n.flags|=8192),a&&(n.mode&1)!==0?(Bt&1073741824)!==0&&(mt(n),n.subtreeFlags&6&&(n.flags|=8192)):mt(n),null;case 24:return null;case 25:return null}throw Error(i(156,n.tag))}function Bx(e,n){switch(Rl(n),n.tag){case 1:return Nt(n.type)&&go(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return ai(),Le(Ft),Le(pt),$l(),e=n.flags,(e&65536)!==0&&(e&128)===0?(n.flags=e&-65537|128,n):null;case 5:return zl(n),null;case 13:if(Le(Ue),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(i(340));ri()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return Le(Ue),null;case 4:return ai(),null;case 10:return Dl(n.type._context),null;case 22:case 23:return Su(),null;case 24:return null;default:return null}}var Io=!1,yt=!1,zx=typeof WeakSet=="function"?WeakSet:Set,ne=null;function ui(e,n){var s=e.ref;if(s!==null)if(typeof s=="function")try{s(null)}catch(a){We(e,n,a)}else s.current=null}function uu(e,n,s){try{s()}catch(a){We(e,n,a)}}var Ch=!1;function Ux(e,n){if(Sl=no,e=ip(),pl(e)){if("selectionStart"in e)var s={start:e.selectionStart,end:e.selectionEnd};else e:{s=(s=e.ownerDocument)&&s.defaultView||window;var a=s.getSelection&&s.getSelection();if(a&&a.rangeCount!==0){s=a.anchorNode;var f=a.anchorOffset,p=a.focusNode;a=a.focusOffset;try{s.nodeType,p.nodeType}catch{s=null;break e}var g=0,T=-1,A=-1,D=0,q=0,K=e,W=null;t:for(;;){for(var ee;K!==s||f!==0&&K.nodeType!==3||(T=g+f),K!==p||a!==0&&K.nodeType!==3||(A=g+a),K.nodeType===3&&(g+=K.nodeValue.length),(ee=K.firstChild)!==null;)W=K,K=ee;for(;;){if(K===e)break t;if(W===s&&++D===f&&(T=g),W===p&&++q===a&&(A=g),(ee=K.nextSibling)!==null)break;K=W,W=K.parentNode}K=ee}s=T===-1||A===-1?null:{start:T,end:A}}else s=null}s=s||{start:0,end:0}}else s=null;for(El={focusedElem:e,selectionRange:s},no=!1,ne=n;ne!==null;)if(n=ne,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,ne=e;else for(;ne!==null;){n=ne;try{var re=n.alternate;if((n.flags&1024)!==0)switch(n.tag){case 0:case 11:case 15:break;case 1:if(re!==null){var se=re.memoizedProps,Ge=re.memoizedState,O=n.stateNode,N=O.getSnapshotBeforeUpdate(n.elementType===n.type?se:rn(n.type,se),Ge);O.__reactInternalSnapshotBeforeUpdate=N}break;case 3:var j=n.stateNode.containerInfo;j.nodeType===1?j.textContent="":j.nodeType===9&&j.documentElement&&j.removeChild(j.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(i(163))}}catch(G){We(n,n.return,G)}if(e=n.sibling,e!==null){e.return=n.return,ne=e;break}ne=n.return}return re=Ch,Ch=!1,re}function fs(e,n,s){var a=n.updateQueue;if(a=a!==null?a.lastEffect:null,a!==null){var f=a=a.next;do{if((f.tag&e)===e){var p=f.destroy;f.destroy=void 0,p!==void 0&&uu(n,s,p)}f=f.next}while(f!==a)}}function Lo(e,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var s=n=n.next;do{if((s.tag&e)===e){var a=s.create;s.destroy=a()}s=s.next}while(s!==n)}}function cu(e){var n=e.ref;if(n!==null){var s=e.stateNode;switch(e.tag){case 5:e=s;break;default:e=s}typeof n=="function"?n(e):n.current=e}}function Ah(e){var n=e.alternate;n!==null&&(e.alternate=null,Ah(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[gn],delete n[es],delete n[Cl],delete n[Tx],delete n[kx])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Fh(e){return e.tag===5||e.tag===3||e.tag===4}function Nh(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Fh(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.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 fu(e,n,s){var a=e.tag;if(a===5||a===6)e=e.stateNode,n?s.nodeType===8?s.parentNode.insertBefore(e,n):s.insertBefore(e,n):(s.nodeType===8?(n=s.parentNode,n.insertBefore(e,s)):(n=s,n.appendChild(e)),s=s._reactRootContainer,s!=null||n.onclick!==null||(n.onclick=mo));else if(a!==4&&(e=e.child,e!==null))for(fu(e,n,s),e=e.sibling;e!==null;)fu(e,n,s),e=e.sibling}function du(e,n,s){var a=e.tag;if(a===5||a===6)e=e.stateNode,n?s.insertBefore(e,n):s.appendChild(e);else if(a!==4&&(e=e.child,e!==null))for(du(e,n,s),e=e.sibling;e!==null;)du(e,n,s),e=e.sibling}var ut=null,sn=!1;function ir(e,n,s){for(s=s.child;s!==null;)Rh(e,n,s),s=s.sibling}function Rh(e,n,s){if(yn&&typeof yn.onCommitFiberUnmount=="function")try{yn.onCommitFiberUnmount(Xs,s)}catch{}switch(s.tag){case 5:yt||ui(s,n);case 6:var a=ut,f=sn;ut=null,ir(e,n,s),ut=a,sn=f,ut!==null&&(sn?(e=ut,s=s.stateNode,e.nodeType===8?e.parentNode.removeChild(s):e.removeChild(s)):ut.removeChild(s.stateNode));break;case 18:ut!==null&&(sn?(e=ut,s=s.stateNode,e.nodeType===8?kl(e.parentNode,s):e.nodeType===1&&kl(e,s),$i(e)):kl(ut,s.stateNode));break;case 4:a=ut,f=sn,ut=s.stateNode.containerInfo,sn=!0,ir(e,n,s),ut=a,sn=f;break;case 0:case 11:case 14:case 15:if(!yt&&(a=s.updateQueue,a!==null&&(a=a.lastEffect,a!==null))){f=a=a.next;do{var p=f,g=p.destroy;p=p.tag,g!==void 0&&((p&2)!==0||(p&4)!==0)&&uu(s,n,g),f=f.next}while(f!==a)}ir(e,n,s);break;case 1:if(!yt&&(ui(s,n),a=s.stateNode,typeof a.componentWillUnmount=="function"))try{a.props=s.memoizedProps,a.state=s.memoizedState,a.componentWillUnmount()}catch(T){We(s,n,T)}ir(e,n,s);break;case 21:ir(e,n,s);break;case 22:s.mode&1?(yt=(a=yt)||s.memoizedState!==null,ir(e,n,s),yt=a):ir(e,n,s);break;default:ir(e,n,s)}}function _h(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var s=e.stateNode;s===null&&(s=e.stateNode=new zx),n.forEach(function(a){var f=Yx.bind(null,e,a);s.has(a)||(s.add(a),a.then(f,f))})}}function on(e,n){var s=n.deletions;if(s!==null)for(var a=0;a<s.length;a++){var f=s[a];try{var p=e,g=n,T=g;e:for(;T!==null;){switch(T.tag){case 5:ut=T.stateNode,sn=!1;break e;case 3:ut=T.stateNode.containerInfo,sn=!0;break e;case 4:ut=T.stateNode.containerInfo,sn=!0;break e}T=T.return}if(ut===null)throw Error(i(160));Rh(p,g,f),ut=null,sn=!1;var A=f.alternate;A!==null&&(A.return=null),f.return=null}catch(D){We(f,n,D)}}if(n.subtreeFlags&12854)for(n=n.child;n!==null;)Oh(n,e),n=n.sibling}function Oh(e,n){var s=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(on(n,e),wn(e),a&4){try{fs(3,e,e.return),Lo(3,e)}catch(se){We(e,e.return,se)}try{fs(5,e,e.return)}catch(se){We(e,e.return,se)}}break;case 1:on(n,e),wn(e),a&512&&s!==null&&ui(s,s.return);break;case 5:if(on(n,e),wn(e),a&512&&s!==null&&ui(s,s.return),e.flags&32){var f=e.stateNode;try{Cn(f,"")}catch(se){We(e,e.return,se)}}if(a&4&&(f=e.stateNode,f!=null)){var p=e.memoizedProps,g=s!==null?s.memoizedProps:p,T=e.type,A=e.updateQueue;if(e.updateQueue=null,A!==null)try{T==="input"&&p.type==="radio"&&p.name!=null&&et(f,p),I(T,g);var D=I(T,p);for(g=0;g<A.length;g+=2){var q=A[g],K=A[g+1];q==="style"?Br(f,K):q==="dangerouslySetInnerHTML"?zn(f,K):q==="children"?Cn(f,K):_(f,q,K,D)}switch(T){case"input":it(f,p);break;case"textarea":kn(f,p);break;case"select":var W=f._wrapperState.wasMultiple;f._wrapperState.wasMultiple=!!p.multiple;var ee=p.value;ee!=null?st(f,!!p.multiple,ee,!1):W!==!!p.multiple&&(p.defaultValue!=null?st(f,!!p.multiple,p.defaultValue,!0):st(f,!!p.multiple,p.multiple?[]:"",!1))}f[es]=p}catch(se){We(e,e.return,se)}}break;case 6:if(on(n,e),wn(e),a&4){if(e.stateNode===null)throw Error(i(162));f=e.stateNode,p=e.memoizedProps;try{f.nodeValue=p}catch(se){We(e,e.return,se)}}break;case 3:if(on(n,e),wn(e),a&4&&s!==null&&s.memoizedState.isDehydrated)try{$i(n.containerInfo)}catch(se){We(e,e.return,se)}break;case 4:on(n,e),wn(e);break;case 13:on(n,e),wn(e),f=e.child,f.flags&8192&&(p=f.memoizedState!==null,f.stateNode.isHidden=p,!p||f.alternate!==null&&f.alternate.memoizedState!==null||(mu=Ke())),a&4&&_h(e);break;case 22:if(q=s!==null&&s.memoizedState!==null,e.mode&1?(yt=(D=yt)||q,on(n,e),yt=D):on(n,e),wn(e),a&8192){if(D=e.memoizedState!==null,(e.stateNode.isHidden=D)&&!q&&(e.mode&1)!==0)for(ne=e,q=e.child;q!==null;){for(K=ne=q;ne!==null;){switch(W=ne,ee=W.child,W.tag){case 0:case 11:case 14:case 15:fs(4,W,W.return);break;case 1:ui(W,W.return);var re=W.stateNode;if(typeof re.componentWillUnmount=="function"){a=W,s=W.return;try{n=a,re.props=n.memoizedProps,re.state=n.memoizedState,re.componentWillUnmount()}catch(se){We(a,s,se)}}break;case 5:ui(W,W.return);break;case 22:if(W.memoizedState!==null){bh(K);continue}}ee!==null?(ee.return=W,ne=ee):bh(K)}q=q.sibling}e:for(q=null,K=e;;){if(K.tag===5){if(q===null){q=K;try{f=K.stateNode,D?(p=f.style,typeof p.setProperty=="function"?p.setProperty("display","none","important"):p.display="none"):(T=K.stateNode,A=K.memoizedProps.style,g=A!=null&&A.hasOwnProperty("display")?A.display:null,T.style.display=Hs("display",g))}catch(se){We(e,e.return,se)}}}else if(K.tag===6){if(q===null)try{K.stateNode.nodeValue=D?"":K.memoizedProps}catch(se){We(e,e.return,se)}}else if((K.tag!==22&&K.tag!==23||K.memoizedState===null||K===e)&&K.child!==null){K.child.return=K,K=K.child;continue}if(K===e)break e;for(;K.sibling===null;){if(K.return===null||K.return===e)break e;q===K&&(q=null),K=K.return}q===K&&(q=null),K.sibling.return=K.return,K=K.sibling}}break;case 19:on(n,e),wn(e),a&4&&_h(e);break;case 21:break;default:on(n,e),wn(e)}}function wn(e){var n=e.flags;if(n&2){try{e:{for(var s=e.return;s!==null;){if(Fh(s)){var a=s;break e}s=s.return}throw Error(i(160))}switch(a.tag){case 5:var f=a.stateNode;a.flags&32&&(Cn(f,""),a.flags&=-33);var p=Nh(e);du(e,p,f);break;case 3:case 4:var g=a.stateNode.containerInfo,T=Nh(e);fu(e,T,g);break;default:throw Error(i(161))}}catch(A){We(e,e.return,A)}e.flags&=-3}n&4096&&(e.flags&=-4097)}function $x(e,n,s){ne=e,jh(e)}function jh(e,n,s){for(var a=(e.mode&1)!==0;ne!==null;){var f=ne,p=f.child;if(f.tag===22&&a){var g=f.memoizedState!==null||Io;if(!g){var T=f.alternate,A=T!==null&&T.memoizedState!==null||yt;T=Io;var D=yt;if(Io=g,(yt=A)&&!D)for(ne=f;ne!==null;)g=ne,A=g.child,g.tag===22&&g.memoizedState!==null?Dh(f):A!==null?(A.return=g,ne=A):Dh(f);for(;p!==null;)ne=p,jh(p),p=p.sibling;ne=f,Io=T,yt=D}Mh(e)}else(f.subtreeFlags&8772)!==0&&p!==null?(p.return=f,ne=p):Mh(e)}}function Mh(e){for(;ne!==null;){var n=ne;if((n.flags&8772)!==0){var s=n.alternate;try{if((n.flags&8772)!==0)switch(n.tag){case 0:case 11:case 15:yt||Lo(5,n);break;case 1:var a=n.stateNode;if(n.flags&4&&!yt)if(s===null)a.componentDidMount();else{var f=n.elementType===n.type?s.memoizedProps:rn(n.type,s.memoizedProps);a.componentDidUpdate(f,s.memoizedState,a.__reactInternalSnapshotBeforeUpdate)}var p=n.updateQueue;p!==null&&bp(n,p,a);break;case 3:var g=n.updateQueue;if(g!==null){if(s=null,n.child!==null)switch(n.child.tag){case 5:s=n.child.stateNode;break;case 1:s=n.child.stateNode}bp(n,g,s)}break;case 5:var T=n.stateNode;if(s===null&&n.flags&4){s=T;var A=n.memoizedProps;switch(n.type){case"button":case"input":case"select":case"textarea":A.autoFocus&&s.focus();break;case"img":A.src&&(s.src=A.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(n.memoizedState===null){var D=n.alternate;if(D!==null){var q=D.memoizedState;if(q!==null){var K=q.dehydrated;K!==null&&$i(K)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(i(163))}yt||n.flags&512&&cu(n)}catch(W){We(n,n.return,W)}}if(n===e){ne=null;break}if(s=n.sibling,s!==null){s.return=n.return,ne=s;break}ne=n.return}}function bh(e){for(;ne!==null;){var n=ne;if(n===e){ne=null;break}var s=n.sibling;if(s!==null){s.return=n.return,ne=s;break}ne=n.return}}function Dh(e){for(;ne!==null;){var n=ne;try{switch(n.tag){case 0:case 11:case 15:var s=n.return;try{Lo(4,n)}catch(A){We(n,s,A)}break;case 1:var a=n.stateNode;if(typeof a.componentDidMount=="function"){var f=n.return;try{a.componentDidMount()}catch(A){We(n,f,A)}}var p=n.return;try{cu(n)}catch(A){We(n,p,A)}break;case 5:var g=n.return;try{cu(n)}catch(A){We(n,g,A)}}}catch(A){We(n,n.return,A)}if(n===e){ne=null;break}var T=n.sibling;if(T!==null){T.return=n.return,ne=T;break}ne=n.return}}var Hx=Math.ceil,Vo=b.ReactCurrentDispatcher,pu=b.ReactCurrentOwner,qt=b.ReactCurrentBatchConfig,Fe=0,at=null,Ye=null,ct=0,Bt=0,ci=Zn(0),nt=0,ds=null,Tr=0,Bo=0,hu=0,ps=null,_t=null,mu=0,fi=1/0,Dn=null,zo=!1,yu=null,sr=null,Uo=!1,or=null,$o=0,hs=0,gu=null,Ho=-1,Wo=0;function Tt(){return(Fe&6)!==0?Ke():Ho!==-1?Ho:Ho=Ke()}function ar(e){return(e.mode&1)===0?1:(Fe&2)!==0&&ct!==0?ct&-ct:Ax.transition!==null?(Wo===0&&(Wo=Nd()),Wo):(e=Me,e!==0||(e=window.event,e=e===void 0?16:Ld(e.type)),e)}function an(e,n,s,a){if(50<hs)throw hs=0,gu=null,Error(i(185));Li(e,s,a),((Fe&2)===0||e!==at)&&(e===at&&((Fe&2)===0&&(Bo|=s),nt===4&&lr(e,ct)),Ot(e,a),s===1&&Fe===0&&(n.mode&1)===0&&(fi=Ke()+500,xo&&tr()))}function Ot(e,n){var s=e.callbackNode;A1(e,n);var a=Zs(e,e===at?ct:0);if(a===0)s!==null&&Di(s),e.callbackNode=null,e.callbackPriority=0;else if(n=a&-a,e.callbackPriority!==n){if(s!=null&&Di(s),n===1)e.tag===0?Cx(Lh.bind(null,e)):Pp(Lh.bind(null,e)),Ex(function(){(Fe&6)===0&&tr()}),s=null;else{switch(Rd(a)){case 1:s=Xa;break;case 4:s=Ad;break;case 16:s=Qs;break;case 536870912:s=Fd;break;default:s=Qs}s=qh(s,Ih.bind(null,e))}e.callbackPriority=n,e.callbackNode=s}}function Ih(e,n){if(Ho=-1,Wo=0,(Fe&6)!==0)throw Error(i(327));var s=e.callbackNode;if(di()&&e.callbackNode!==s)return null;var a=Zs(e,e===at?ct:0);if(a===0)return null;if((a&30)!==0||(a&e.expiredLanes)!==0||n)n=qo(e,a);else{n=a;var f=Fe;Fe|=2;var p=Bh();(at!==e||ct!==n)&&(Dn=null,fi=Ke()+500,Cr(e,n));do try{Kx();break}catch(T){Vh(e,T)}while(!0);bl(),Vo.current=p,Fe=f,Ye!==null?n=0:(at=null,ct=0,n=nt)}if(n!==0){if(n===2&&(f=Ya(e),f!==0&&(a=f,n=vu(e,f))),n===1)throw s=ds,Cr(e,0),lr(e,a),Ot(e,Ke()),s;if(n===6)lr(e,a);else{if(f=e.current.alternate,(a&30)===0&&!Wx(f)&&(n=qo(e,a),n===2&&(p=Ya(e),p!==0&&(a=p,n=vu(e,p))),n===1))throw s=ds,Cr(e,0),lr(e,a),Ot(e,Ke()),s;switch(e.finishedWork=f,e.finishedLanes=a,n){case 0:case 1:throw Error(i(345));case 2:Ar(e,_t,Dn);break;case 3:if(lr(e,a),(a&130023424)===a&&(n=mu+500-Ke(),10<n)){if(Zs(e,0)!==0)break;if(f=e.suspendedLanes,(f&a)!==a){Tt(),e.pingedLanes|=e.suspendedLanes&f;break}e.timeoutHandle=Tl(Ar.bind(null,e,_t,Dn),n);break}Ar(e,_t,Dn);break;case 4:if(lr(e,a),(a&4194240)===a)break;for(n=e.eventTimes,f=-1;0<a;){var g=31-en(a);p=1<<g,g=n[g],g>f&&(f=g),a&=~p}if(a=f,a=Ke()-a,a=(120>a?120:480>a?480:1080>a?1080:1920>a?1920:3e3>a?3e3:4320>a?4320:1960*Hx(a/1960))-a,10<a){e.timeoutHandle=Tl(Ar.bind(null,e,_t,Dn),a);break}Ar(e,_t,Dn);break;case 5:Ar(e,_t,Dn);break;default:throw Error(i(329))}}}return Ot(e,Ke()),e.callbackNode===s?Ih.bind(null,e):null}function vu(e,n){var s=ps;return e.current.memoizedState.isDehydrated&&(Cr(e,n).flags|=256),e=qo(e,n),e!==2&&(n=_t,_t=s,n!==null&&xu(n)),e}function xu(e){_t===null?_t=e:_t.push.apply(_t,e)}function Wx(e){for(var n=e;;){if(n.flags&16384){var s=n.updateQueue;if(s!==null&&(s=s.stores,s!==null))for(var a=0;a<s.length;a++){var f=s[a],p=f.getSnapshot;f=f.value;try{if(!tn(p(),f))return!1}catch{return!1}}}if(s=n.child,n.subtreeFlags&16384&&s!==null)s.return=n,n=s;else{if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function lr(e,n){for(n&=~hu,n&=~Bo,e.suspendedLanes|=n,e.pingedLanes&=~n,e=e.expirationTimes;0<n;){var s=31-en(n),a=1<<s;e[s]=-1,n&=~a}}function Lh(e){if((Fe&6)!==0)throw Error(i(327));di();var n=Zs(e,0);if((n&1)===0)return Ot(e,Ke()),null;var s=qo(e,n);if(e.tag!==0&&s===2){var a=Ya(e);a!==0&&(n=a,s=vu(e,a))}if(s===1)throw s=ds,Cr(e,0),lr(e,n),Ot(e,Ke()),s;if(s===6)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=n,Ar(e,_t,Dn),Ot(e,Ke()),null}function wu(e,n){var s=Fe;Fe|=1;try{return e(n)}finally{Fe=s,Fe===0&&(fi=Ke()+500,xo&&tr())}}function kr(e){or!==null&&or.tag===0&&(Fe&6)===0&&di();var n=Fe;Fe|=1;var s=qt.transition,a=Me;try{if(qt.transition=null,Me=1,e)return e()}finally{Me=a,qt.transition=s,Fe=n,(Fe&6)===0&&tr()}}function Su(){Bt=ci.current,Le(ci)}function Cr(e,n){e.finishedWork=null,e.finishedLanes=0;var s=e.timeoutHandle;if(s!==-1&&(e.timeoutHandle=-1,Sx(s)),Ye!==null)for(s=Ye.return;s!==null;){var a=s;switch(Rl(a),a.tag){case 1:a=a.type.childContextTypes,a!=null&&go();break;case 3:ai(),Le(Ft),Le(pt),$l();break;case 5:zl(a);break;case 4:ai();break;case 13:Le(Ue);break;case 19:Le(Ue);break;case 10:Dl(a.type._context);break;case 22:case 23:Su()}s=s.return}if(at=e,Ye=e=ur(e.current,null),ct=Bt=n,nt=0,ds=null,hu=Bo=Tr=0,_t=ps=null,Sr!==null){for(n=0;n<Sr.length;n++)if(s=Sr[n],a=s.interleaved,a!==null){s.interleaved=null;var f=a.next,p=s.pending;if(p!==null){var g=p.next;p.next=f,a.next=g}s.pending=a}Sr=null}return e}function Vh(e,n){do{var s=Ye;try{if(bl(),No.current=jo,Ro){for(var a=$e.memoizedState;a!==null;){var f=a.queue;f!==null&&(f.pending=null),a=a.next}Ro=!1}if(Pr=0,ot=tt=$e=null,os=!1,as=0,pu.current=null,s===null||s.return===null){nt=1,ds=n,Ye=null;break}e:{var p=e,g=s.return,T=s,A=n;if(n=ct,T.flags|=32768,A!==null&&typeof A=="object"&&typeof A.then=="function"){var D=A,q=T,K=q.tag;if((q.mode&1)===0&&(K===0||K===11||K===15)){var W=q.alternate;W?(q.updateQueue=W.updateQueue,q.memoizedState=W.memoizedState,q.lanes=W.lanes):(q.updateQueue=null,q.memoizedState=null)}var ee=ch(g);if(ee!==null){ee.flags&=-257,fh(ee,g,T,p,n),ee.mode&1&&uh(p,D,n),n=ee,A=D;var re=n.updateQueue;if(re===null){var se=new Set;se.add(A),n.updateQueue=se}else re.add(A);break e}else{if((n&1)===0){uh(p,D,n),Eu();break e}A=Error(i(426))}}else if(Be&&T.mode&1){var Ge=ch(g);if(Ge!==null){(Ge.flags&65536)===0&&(Ge.flags|=256),fh(Ge,g,T,p,n),jl(li(A,T));break e}}p=A=li(A,T),nt!==4&&(nt=2),ps===null?ps=[p]:ps.push(p),p=g;do{switch(p.tag){case 3:p.flags|=65536,n&=-n,p.lanes|=n;var O=ah(p,A,n);Mp(p,O);break e;case 1:T=A;var N=p.type,j=p.stateNode;if((p.flags&128)===0&&(typeof N.getDerivedStateFromError=="function"||j!==null&&typeof j.componentDidCatch=="function"&&(sr===null||!sr.has(j)))){p.flags|=65536,n&=-n,p.lanes|=n;var G=lh(p,T,n);Mp(p,G);break e}}p=p.return}while(p!==null)}Uh(s)}catch(oe){n=oe,Ye===s&&s!==null&&(Ye=s=s.return);continue}break}while(!0)}function Bh(){var e=Vo.current;return Vo.current=jo,e===null?jo:e}function Eu(){(nt===0||nt===3||nt===2)&&(nt=4),at===null||(Tr&268435455)===0&&(Bo&268435455)===0||lr(at,ct)}function qo(e,n){var s=Fe;Fe|=2;var a=Bh();(at!==e||ct!==n)&&(Dn=null,Cr(e,n));do try{qx();break}catch(f){Vh(e,f)}while(!0);if(bl(),Fe=s,Vo.current=a,Ye!==null)throw Error(i(261));return at=null,ct=0,nt}function qx(){for(;Ye!==null;)zh(Ye)}function Kx(){for(;Ye!==null&&!v1();)zh(Ye)}function zh(e){var n=Wh(e.alternate,e,Bt);e.memoizedProps=e.pendingProps,n===null?Uh(e):Ye=n,pu.current=null}function Uh(e){var n=e;do{var s=n.alternate;if(e=n.return,(n.flags&32768)===0){if(s=Vx(s,n,Bt),s!==null){Ye=s;return}}else{if(s=Bx(s,n),s!==null){s.flags&=32767,Ye=s;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{nt=6,Ye=null;return}}if(n=n.sibling,n!==null){Ye=n;return}Ye=n=e}while(n!==null);nt===0&&(nt=5)}function Ar(e,n,s){var a=Me,f=qt.transition;try{qt.transition=null,Me=1,Gx(e,n,s,a)}finally{qt.transition=f,Me=a}return null}function Gx(e,n,s,a){do di();while(or!==null);if((Fe&6)!==0)throw Error(i(327));s=e.finishedWork;var f=e.finishedLanes;if(s===null)return null;if(e.finishedWork=null,e.finishedLanes=0,s===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var p=s.lanes|s.childLanes;if(F1(e,p),e===at&&(Ye=at=null,ct=0),(s.subtreeFlags&2064)===0&&(s.flags&2064)===0||Uo||(Uo=!0,qh(Qs,function(){return di(),null})),p=(s.flags&15990)!==0,(s.subtreeFlags&15990)!==0||p){p=qt.transition,qt.transition=null;var g=Me;Me=1;var T=Fe;Fe|=4,pu.current=null,Ux(e,s),Oh(s,e),hx(El),no=!!Sl,El=Sl=null,e.current=s,$x(s),x1(),Fe=T,Me=g,qt.transition=p}else e.current=s;if(Uo&&(Uo=!1,or=e,$o=f),p=e.pendingLanes,p===0&&(sr=null),E1(s.stateNode),Ot(e,Ke()),n!==null)for(a=e.onRecoverableError,s=0;s<n.length;s++)f=n[s],a(f.value,{componentStack:f.stack,digest:f.digest});if(zo)throw zo=!1,e=yu,yu=null,e;return($o&1)!==0&&e.tag!==0&&di(),p=e.pendingLanes,(p&1)!==0?e===gu?hs++:(hs=0,gu=e):hs=0,tr(),null}function di(){if(or!==null){var e=Rd($o),n=qt.transition,s=Me;try{if(qt.transition=null,Me=16>e?16:e,or===null)var a=!1;else{if(e=or,or=null,$o=0,(Fe&6)!==0)throw Error(i(331));var f=Fe;for(Fe|=4,ne=e.current;ne!==null;){var p=ne,g=p.child;if((ne.flags&16)!==0){var T=p.deletions;if(T!==null){for(var A=0;A<T.length;A++){var D=T[A];for(ne=D;ne!==null;){var q=ne;switch(q.tag){case 0:case 11:case 15:fs(8,q,p)}var K=q.child;if(K!==null)K.return=q,ne=K;else for(;ne!==null;){q=ne;var W=q.sibling,ee=q.return;if(Ah(q),q===D){ne=null;break}if(W!==null){W.return=ee,ne=W;break}ne=ee}}}var re=p.alternate;if(re!==null){var se=re.child;if(se!==null){re.child=null;do{var Ge=se.sibling;se.sibling=null,se=Ge}while(se!==null)}}ne=p}}if((p.subtreeFlags&2064)!==0&&g!==null)g.return=p,ne=g;else e:for(;ne!==null;){if(p=ne,(p.flags&2048)!==0)switch(p.tag){case 0:case 11:case 15:fs(9,p,p.return)}var O=p.sibling;if(O!==null){O.return=p.return,ne=O;break e}ne=p.return}}var N=e.current;for(ne=N;ne!==null;){g=ne;var j=g.child;if((g.subtreeFlags&2064)!==0&&j!==null)j.return=g,ne=j;else e:for(g=N;ne!==null;){if(T=ne,(T.flags&2048)!==0)try{switch(T.tag){case 0:case 11:case 15:Lo(9,T)}}catch(oe){We(T,T.return,oe)}if(T===g){ne=null;break e}var G=T.sibling;if(G!==null){G.return=T.return,ne=G;break e}ne=T.return}}if(Fe=f,tr(),yn&&typeof yn.onPostCommitFiberRoot=="function")try{yn.onPostCommitFiberRoot(Xs,e)}catch{}a=!0}return a}finally{Me=s,qt.transition=n}}return!1}function $h(e,n,s){n=li(s,n),n=ah(e,n,1),e=rr(e,n,1),n=Tt(),e!==null&&(Li(e,1,n),Ot(e,n))}function We(e,n,s){if(e.tag===3)$h(e,e,s);else for(;n!==null;){if(n.tag===3){$h(n,e,s);break}else if(n.tag===1){var a=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(sr===null||!sr.has(a))){e=li(s,e),e=lh(n,e,1),n=rr(n,e,1),e=Tt(),n!==null&&(Li(n,1,e),Ot(n,e));break}}n=n.return}}function Qx(e,n,s){var a=e.pingCache;a!==null&&a.delete(n),n=Tt(),e.pingedLanes|=e.suspendedLanes&s,at===e&&(ct&s)===s&&(nt===4||nt===3&&(ct&130023424)===ct&&500>Ke()-mu?Cr(e,0):hu|=s),Ot(e,n)}function Hh(e,n){n===0&&((e.mode&1)===0?n=1:(n=Js,Js<<=1,(Js&130023424)===0&&(Js=4194304)));var s=Tt();e=jn(e,n),e!==null&&(Li(e,n,s),Ot(e,s))}function Xx(e){var n=e.memoizedState,s=0;n!==null&&(s=n.retryLane),Hh(e,s)}function Yx(e,n){var s=0;switch(e.tag){case 13:var a=e.stateNode,f=e.memoizedState;f!==null&&(s=f.retryLane);break;case 19:a=e.stateNode;break;default:throw Error(i(314))}a!==null&&a.delete(n),Hh(e,s)}var Wh;Wh=function(e,n,s){if(e!==null)if(e.memoizedProps!==n.pendingProps||Ft.current)Rt=!0;else{if((e.lanes&s)===0&&(n.flags&128)===0)return Rt=!1,Lx(e,n,s);Rt=(e.flags&131072)!==0}else Rt=!1,Be&&(n.flags&1048576)!==0&&Tp(n,So,n.index);switch(n.lanes=0,n.tag){case 2:var a=n.type;Do(e,n),e=n.pendingProps;var f=ei(n,pt.current);oi(n,s),f=ql(null,n,a,e,f,s);var p=Kl();return n.flags|=1,typeof f=="object"&&f!==null&&typeof f.render=="function"&&f.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,Nt(a)?(p=!0,vo(n)):p=!1,n.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,Vl(n),f.updater=Mo,n.stateNode=f,f._reactInternals=n,Zl(n,a,e,s),n=ru(null,n,a,!0,p,s)):(n.tag=0,Be&&p&&Nl(n),Pt(null,n,f,s),n=n.child),n;case 16:a=n.elementType;e:{switch(Do(e,n),e=n.pendingProps,f=a._init,a=f(a._payload),n.type=a,f=n.tag=Zx(a),e=rn(a,e),f){case 0:n=nu(null,n,a,e,s);break e;case 1:n=gh(null,n,a,e,s);break e;case 11:n=dh(null,n,a,e,s);break e;case 14:n=ph(null,n,a,rn(a.type,e),s);break e}throw Error(i(306,a,""))}return n;case 0:return a=n.type,f=n.pendingProps,f=n.elementType===a?f:rn(a,f),nu(e,n,a,f,s);case 1:return a=n.type,f=n.pendingProps,f=n.elementType===a?f:rn(a,f),gh(e,n,a,f,s);case 3:e:{if(vh(n),e===null)throw Error(i(387));a=n.pendingProps,p=n.memoizedState,f=p.element,jp(e,n),Ao(n,a,null,s);var g=n.memoizedState;if(a=g.element,p.isDehydrated)if(p={element:a,isDehydrated:!1,cache:g.cache,pendingSuspenseBoundaries:g.pendingSuspenseBoundaries,transitions:g.transitions},n.updateQueue.baseState=p,n.memoizedState=p,n.flags&256){f=li(Error(i(423)),n),n=xh(e,n,a,s,f);break e}else if(a!==f){f=li(Error(i(424)),n),n=xh(e,n,a,s,f);break e}else for(Vt=Jn(n.stateNode.containerInfo.firstChild),Lt=n,Be=!0,nn=null,s=_p(n,null,a,s),n.child=s;s;)s.flags=s.flags&-3|4096,s=s.sibling;else{if(ri(),a===f){n=bn(e,n,s);break e}Pt(e,n,a,s)}n=n.child}return n;case 5:return Dp(n),e===null&&Ol(n),a=n.type,f=n.pendingProps,p=e!==null?e.memoizedProps:null,g=f.children,Pl(a,f)?g=null:p!==null&&Pl(a,p)&&(n.flags|=32),yh(e,n),Pt(e,n,g,s),n.child;case 6:return e===null&&Ol(n),null;case 13:return wh(e,n,s);case 4:return Bl(n,n.stateNode.containerInfo),a=n.pendingProps,e===null?n.child=ii(n,null,a,s):Pt(e,n,a,s),n.child;case 11:return a=n.type,f=n.pendingProps,f=n.elementType===a?f:rn(a,f),dh(e,n,a,f,s);case 7:return Pt(e,n,n.pendingProps,s),n.child;case 8:return Pt(e,n,n.pendingProps.children,s),n.child;case 12:return Pt(e,n,n.pendingProps.children,s),n.child;case 10:e:{if(a=n.type._context,f=n.pendingProps,p=n.memoizedProps,g=f.value,De(To,a._currentValue),a._currentValue=g,p!==null)if(tn(p.value,g)){if(p.children===f.children&&!Ft.current){n=bn(e,n,s);break e}}else for(p=n.child,p!==null&&(p.return=n);p!==null;){var T=p.dependencies;if(T!==null){g=p.child;for(var A=T.firstContext;A!==null;){if(A.context===a){if(p.tag===1){A=Mn(-1,s&-s),A.tag=2;var D=p.updateQueue;if(D!==null){D=D.shared;var q=D.pending;q===null?A.next=A:(A.next=q.next,q.next=A),D.pending=A}}p.lanes|=s,A=p.alternate,A!==null&&(A.lanes|=s),Il(p.return,s,n),T.lanes|=s;break}A=A.next}}else if(p.tag===10)g=p.type===n.type?null:p.child;else if(p.tag===18){if(g=p.return,g===null)throw Error(i(341));g.lanes|=s,T=g.alternate,T!==null&&(T.lanes|=s),Il(g,s,n),g=p.sibling}else g=p.child;if(g!==null)g.return=p;else for(g=p;g!==null;){if(g===n){g=null;break}if(p=g.sibling,p!==null){p.return=g.return,g=p;break}g=g.return}p=g}Pt(e,n,f.children,s),n=n.child}return n;case 9:return f=n.type,a=n.pendingProps.children,oi(n,s),f=Ht(f),a=a(f),n.flags|=1,Pt(e,n,a,s),n.child;case 14:return a=n.type,f=rn(a,n.pendingProps),f=rn(a.type,f),ph(e,n,a,f,s);case 15:return hh(e,n,n.type,n.pendingProps,s);case 17:return a=n.type,f=n.pendingProps,f=n.elementType===a?f:rn(a,f),Do(e,n),n.tag=1,Nt(a)?(e=!0,vo(n)):e=!1,oi(n,s),sh(n,a,f),Zl(n,a,f,s),ru(null,n,a,!0,e,s);case 19:return Eh(e,n,s);case 22:return mh(e,n,s)}throw Error(i(156,n.tag))};function qh(e,n){return Gs(e,n)}function Jx(e,n,s,a){this.tag=e,this.key=s,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Kt(e,n,s,a){return new Jx(e,n,s,a)}function Pu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Zx(e){if(typeof e=="function")return Pu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===te)return 11;if(e===Re)return 14}return 2}function ur(e,n){var s=e.alternate;return s===null?(s=Kt(e.tag,n,e.key,e.mode),s.elementType=e.elementType,s.type=e.type,s.stateNode=e.stateNode,s.alternate=e,e.alternate=s):(s.pendingProps=n,s.type=e.type,s.flags=0,s.subtreeFlags=0,s.deletions=null),s.flags=e.flags&14680064,s.childLanes=e.childLanes,s.lanes=e.lanes,s.child=e.child,s.memoizedProps=e.memoizedProps,s.memoizedState=e.memoizedState,s.updateQueue=e.updateQueue,n=e.dependencies,s.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},s.sibling=e.sibling,s.index=e.index,s.ref=e.ref,s}function Ko(e,n,s,a,f,p){var g=2;if(a=e,typeof e=="function")Pu(e)&&(g=1);else if(typeof e=="string")g=5;else e:switch(e){case $:return Fr(s.children,f,p,n);case H:g=8,f|=8;break;case ie:return e=Kt(12,s,n,f|2),e.elementType=ie,e.lanes=p,e;case Ee:return e=Kt(13,s,n,f),e.elementType=Ee,e.lanes=p,e;case xe:return e=Kt(19,s,n,f),e.elementType=xe,e.lanes=p,e;case ae:return Go(s,f,p,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Z:g=10;break e;case he:g=9;break e;case te:g=11;break e;case Re:g=14;break e;case ke:g=16,a=null;break e}throw Error(i(130,e==null?e:typeof e,""))}return n=Kt(g,s,n,f),n.elementType=e,n.type=a,n.lanes=p,n}function Fr(e,n,s,a){return e=Kt(7,e,a,n),e.lanes=s,e}function Go(e,n,s,a){return e=Kt(22,e,a,n),e.elementType=ae,e.lanes=s,e.stateNode={isHidden:!1},e}function Tu(e,n,s){return e=Kt(6,e,null,n),e.lanes=s,e}function ku(e,n,s){return n=Kt(4,e.children!==null?e.children:[],e.key,n),n.lanes=s,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function ew(e,n,s,a,f){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ja(0),this.expirationTimes=Ja(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ja(0),this.identifierPrefix=a,this.onRecoverableError=f,this.mutableSourceEagerHydrationData=null}function Cu(e,n,s,a,f,p,g,T,A){return e=new ew(e,n,s,T,A),n===1?(n=1,p===!0&&(n|=8)):n=0,p=Kt(3,null,null,n),e.current=p,p.stateNode=e,p.memoizedState={element:a,isDehydrated:s,cache:null,transitions:null,pendingSuspenseBoundaries:null},Vl(p),e}function tw(e,n,s){var a=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:z,key:a==null?null:""+a,children:e,containerInfo:n,implementation:s}}function Kh(e){if(!e)return er;e=e._reactInternals;e:{if(Zt(e)!==e||e.tag!==1)throw Error(i(170));var n=e;do{switch(n.tag){case 3:n=n.stateNode.context;break e;case 1:if(Nt(n.type)){n=n.stateNode.__reactInternalMemoizedMergedChildContext;break e}}n=n.return}while(n!==null);throw Error(i(171))}if(e.tag===1){var s=e.type;if(Nt(s))return Sp(e,s,n)}return n}function Gh(e,n,s,a,f,p,g,T,A){return e=Cu(s,a,!0,e,f,p,g,T,A),e.context=Kh(null),s=e.current,a=Tt(),f=ar(s),p=Mn(a,f),p.callback=n??null,rr(s,p,f),e.current.lanes=f,Li(e,f,a),Ot(e,a),e}function Qo(e,n,s,a){var f=n.current,p=Tt(),g=ar(f);return s=Kh(s),n.context===null?n.context=s:n.pendingContext=s,n=Mn(p,g),n.payload={element:e},a=a===void 0?null:a,a!==null&&(n.callback=a),e=rr(f,n,g),e!==null&&(an(e,f,g,p),Co(e,f,g)),g}function Xo(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Qh(e,n){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var s=e.retryLane;e.retryLane=s!==0&&s<n?s:n}}function Au(e,n){Qh(e,n),(e=e.alternate)&&Qh(e,n)}function nw(){return null}var Xh=typeof reportError=="function"?reportError:function(e){console.error(e)};function Fu(e){this._internalRoot=e}Yo.prototype.render=Fu.prototype.render=function(e){var n=this._internalRoot;if(n===null)throw Error(i(409));Qo(e,n,null,null)},Yo.prototype.unmount=Fu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var n=e.containerInfo;kr(function(){Qo(null,e,null,null)}),n[Nn]=null}};function Yo(e){this._internalRoot=e}Yo.prototype.unstable_scheduleHydration=function(e){if(e){var n=jd();e={blockedOn:null,target:e,priority:n};for(var s=0;s<Qn.length&&n!==0&&n<Qn[s].priority;s++);Qn.splice(s,0,e),s===0&&Dd(e)}};function Nu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Jo(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Yh(){}function rw(e,n,s,a,f){if(f){if(typeof a=="function"){var p=a;a=function(){var D=Xo(g);p.call(D)}}var g=Gh(n,a,e,0,null,!1,!1,"",Yh);return e._reactRootContainer=g,e[Nn]=g.current,Ji(e.nodeType===8?e.parentNode:e),kr(),g}for(;f=e.lastChild;)e.removeChild(f);if(typeof a=="function"){var T=a;a=function(){var D=Xo(A);T.call(D)}}var A=Cu(e,0,!1,null,null,!1,!1,"",Yh);return e._reactRootContainer=A,e[Nn]=A.current,Ji(e.nodeType===8?e.parentNode:e),kr(function(){Qo(n,A,s,a)}),A}function Zo(e,n,s,a,f){var p=s._reactRootContainer;if(p){var g=p;if(typeof f=="function"){var T=f;f=function(){var A=Xo(g);T.call(A)}}Qo(n,g,e,f)}else g=rw(s,n,e,f,a);return Xo(g)}_d=function(e){switch(e.tag){case 3:var n=e.stateNode;if(n.current.memoizedState.isDehydrated){var s=Ii(n.pendingLanes);s!==0&&(Za(n,s|1),Ot(n,Ke()),(Fe&6)===0&&(fi=Ke()+500,tr()))}break;case 13:kr(function(){var a=jn(e,1);if(a!==null){var f=Tt();an(a,e,1,f)}}),Au(e,1)}},el=function(e){if(e.tag===13){var n=jn(e,134217728);if(n!==null){var s=Tt();an(n,e,134217728,s)}Au(e,134217728)}},Od=function(e){if(e.tag===13){var n=ar(e),s=jn(e,n);if(s!==null){var a=Tt();an(s,e,n,a)}Au(e,n)}},jd=function(){return Me},Md=function(e,n){var s=Me;try{return Me=e,n()}finally{Me=s}},je=function(e,n,s){switch(n){case"input":if(it(e,s),n=s.name,s.type==="radio"&&n!=null){for(s=e;s.parentNode;)s=s.parentNode;for(s=s.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),n=0;n<s.length;n++){var a=s[n];if(a!==e&&a.form===e.form){var f=yo(a);if(!f)throw Error(i(90));Oe(a),it(a,f)}}}break;case"textarea":kn(e,s);break;case"select":n=s.value,n!=null&&st(e,!!s.multiple,n,!1)}},Ur=wu,An=kr;var iw={usingClientEntryPoint:!1,Events:[ts,Jr,yo,dt,Yt,wu]},ms={findFiberByHostInstance:gr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},sw={bundleType:ms.bundleType,version:ms.version,rendererPackageName:ms.rendererPackageName,rendererConfig:ms.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:b.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Fn(e),e===null?null:e.stateNode},findFiberByHostInstance:ms.findFiberByHostInstance||nw,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ea=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ea.isDisabled&&ea.supportsFiber)try{Xs=ea.inject(sw),yn=ea}catch{}}return jt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=iw,jt.createPortal=function(e,n){var s=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Nu(n))throw Error(i(200));return tw(e,n,null,s)},jt.createRoot=function(e,n){if(!Nu(e))throw Error(i(299));var s=!1,a="",f=Xh;return n!=null&&(n.unstable_strictMode===!0&&(s=!0),n.identifierPrefix!==void 0&&(a=n.identifierPrefix),n.onRecoverableError!==void 0&&(f=n.onRecoverableError)),n=Cu(e,1,!1,null,null,s,!1,a,f),e[Nn]=n.current,Ji(e.nodeType===8?e.parentNode:e),new Fu(n)},jt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var n=e._reactInternals;if(n===void 0)throw typeof e.render=="function"?Error(i(188)):(e=Object.keys(e).join(","),Error(i(268,e)));return e=Fn(n),e=e===null?null:e.stateNode,e},jt.flushSync=function(e){return kr(e)},jt.hydrate=function(e,n,s){if(!Jo(n))throw Error(i(200));return Zo(null,e,n,!0,s)},jt.hydrateRoot=function(e,n,s){if(!Nu(e))throw Error(i(405));var a=s!=null&&s.hydratedSources||null,f=!1,p="",g=Xh;if(s!=null&&(s.unstable_strictMode===!0&&(f=!0),s.identifierPrefix!==void 0&&(p=s.identifierPrefix),s.onRecoverableError!==void 0&&(g=s.onRecoverableError)),n=Gh(n,null,e,1,s??null,f,!1,p,g),e[Nn]=n.current,Ji(e),a)for(e=0;e<a.length;e++)s=a[e],f=s._getVersion,f=f(s._source),n.mutableSourceEagerHydrationData==null?n.mutableSourceEagerHydrationData=[s,f]:n.mutableSourceEagerHydrationData.push(s,f);return new Yo(n)},jt.render=function(e,n,s){if(!Jo(n))throw Error(i(200));return Zo(null,e,n,!1,s)},jt.unmountComponentAtNode=function(e){if(!Jo(e))throw Error(i(40));return e._reactRootContainer?(kr(function(){Zo(null,null,e,!1,function(){e._reactRootContainer=null,e[Nn]=null})}),!0):!1},jt.unstable_batchedUpdates=wu,jt.unstable_renderSubtreeIntoContainer=function(e,n,s,a){if(!Jo(s))throw Error(i(200));if(e==null||e._reactInternals===void 0)throw Error(i(38));return Zo(e,n,s,!1,a)},jt.version="18.3.1-next-f1338f8080-20240426",jt}var om;function hw(){if(om)return Ou.exports;om=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(r){console.error(r)}}return t(),Ou.exports=pw(),Ou.exports}var am;function mw(){if(am)return ta;am=1;var t=hw();return ta.createRoot=t.createRoot,ta.hydrateRoot=t.hydrateRoot,ta}var yw=mw(),X=Mf();const na=H0(X),bf=X.createContext({});function Df(t){const r=X.useRef(null);return r.current===null&&(r.current=t()),r.current}const If=typeof window<"u",W0=If?X.useLayoutEffect:X.useEffect,_a=X.createContext(null);function Lf(t,r){t.indexOf(r)===-1&&t.push(r)}function Vf(t,r){const i=t.indexOf(r);i>-1&&t.splice(i,1)}const Ln=(t,r,i)=>i>r?r:i<t?t:i;let Bf=()=>{};const Vn={},q0=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);function K0(t){return typeof t=="object"&&t!==null}const G0=t=>/^0[^.\s]+$/u.test(t);function zf(t){let r;return()=>(r===void 0&&(r=t()),r)}const Xt=t=>t,gw=(t,r)=>i=>r(t(i)),Os=(...t)=>t.reduce(gw),Ts=(t,r,i)=>{const o=r-t;return o===0?1:(i-t)/o};class Uf{constructor(){this.subscriptions=[]}add(r){return Lf(this.subscriptions,r),()=>Vf(this.subscriptions,r)}notify(r,i,o){const l=this.subscriptions.length;if(l)if(l===1)this.subscriptions[0](r,i,o);else for(let c=0;c<l;c++){const u=this.subscriptions[c];u&&u(r,i,o)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const En=t=>t*1e3,Qt=t=>t/1e3;function Q0(t,r){return r?t*(1e3/r):0}const X0=(t,r,i)=>(((1-3*i+3*r)*t+(3*i-6*r))*t+3*r)*t,vw=1e-7,xw=12;function ww(t,r,i,o,l){let c,u,d=0;do u=r+(i-r)/2,c=X0(u,o,l)-t,c>0?i=u:r=u;while(Math.abs(c)>vw&&++d<xw);return u}function js(t,r,i,o){if(t===r&&i===o)return Xt;const l=c=>ww(c,0,1,t,i);return c=>c===0||c===1?c:X0(l(c),r,o)}const Y0=t=>r=>r<=.5?t(2*r)/2:(2-t(2*(1-r)))/2,J0=t=>r=>1-t(1-r),Z0=js(.33,1.53,.69,.99),$f=J0(Z0),eg=Y0($f),tg=t=>(t*=2)<1?.5*$f(t):.5*(2-Math.pow(2,-10*(t-1))),Hf=t=>1-Math.sin(Math.acos(t)),ng=J0(Hf),rg=Y0(Hf),Sw=js(.42,0,1,1),Ew=js(0,0,.58,1),ig=js(.42,0,.58,1),Pw=t=>Array.isArray(t)&&typeof t[0]!="number",sg=t=>Array.isArray(t)&&typeof t[0]=="number",Tw={linear:Xt,easeIn:Sw,easeInOut:ig,easeOut:Ew,circIn:Hf,circInOut:rg,circOut:ng,backIn:$f,backInOut:eg,backOut:Z0,anticipate:tg},kw=t=>typeof t=="string",lm=t=>{if(sg(t)){Bf(t.length===4);const[r,i,o,l]=t;return js(r,i,o,l)}else if(kw(t))return Tw[t];return t},ra=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Cw(t,r){let i=new Set,o=new Set,l=!1,c=!1;const u=new WeakSet;let d={delta:0,timestamp:0,isProcessing:!1};function h(m){u.has(m)&&(y.schedule(m),t()),m(d)}const y={schedule:(m,v=!1,x=!1)=>{const S=x&&l?i:o;return v&&u.add(m),S.has(m)||S.add(m),m},cancel:m=>{o.delete(m),u.delete(m)},process:m=>{if(d=m,l){c=!0;return}l=!0,[i,o]=[o,i],i.forEach(h),i.clear(),l=!1,c&&(c=!1,y.process(m))}};return y}const Aw=40;function og(t,r){let i=!1,o=!0;const l={delta:0,timestamp:0,isProcessing:!1},c=()=>i=!0,u=ra.reduce((_,b)=>(_[b]=Cw(c),_),{}),{setup:d,read:h,resolveKeyframes:y,preUpdate:m,update:v,preRender:x,render:P,postRender:S}=u,k=()=>{const _=Vn.useManualTiming?l.timestamp:performance.now();i=!1,Vn.useManualTiming||(l.delta=o?1e3/60:Math.max(Math.min(_-l.timestamp,Aw),1)),l.timestamp=_,l.isProcessing=!0,d.process(l),h.process(l),y.process(l),m.process(l),v.process(l),x.process(l),P.process(l),S.process(l),l.isProcessing=!1,i&&r&&(o=!1,t(k))},E=()=>{i=!0,o=!0,l.isProcessing||t(k)};return{schedule:ra.reduce((_,b)=>{const V=u[b];return _[b]=(z,$=!1,H=!1)=>(i||E(),V.schedule(z,$,H)),_},{}),cancel:_=>{for(let b=0;b<ra.length;b++)u[ra[b]].cancel(_)},state:l,steps:u}}const{schedule:ze,cancel:dr,state:ft,steps:bu}=og(typeof requestAnimationFrame<"u"?requestAnimationFrame:Xt,!0);let ua;function Fw(){ua=void 0}const Mt={now:()=>(ua===void 0&&Mt.set(ft.isProcessing||Vn.useManualTiming?ft.timestamp:performance.now()),ua),set:t=>{ua=t,queueMicrotask(Fw)}},ag=t=>r=>typeof r=="string"&&r.startsWith(t),lg=ag("--"),Nw=ag("var(--"),Wf=t=>Nw(t)?Rw.test(t.split("/*")[0].trim()):!1,Rw=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,ki={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},ks={...ki,transform:t=>Ln(0,1,t)},ia={...ki,default:1},ws=t=>Math.round(t*1e5)/1e5,qf=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function _w(t){return t==null}const Ow=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Kf=(t,r)=>i=>!!(typeof i=="string"&&Ow.test(i)&&i.startsWith(t)||r&&!_w(i)&&Object.prototype.hasOwnProperty.call(i,r)),ug=(t,r,i)=>o=>{if(typeof o!="string")return o;const[l,c,u,d]=o.match(qf);return{[t]:parseFloat(l),[r]:parseFloat(c),[i]:parseFloat(u),alpha:d!==void 0?parseFloat(d):1}},jw=t=>Ln(0,255,t),Du={...ki,transform:t=>Math.round(jw(t))},_r={test:Kf("rgb","red"),parse:ug("red","green","blue"),transform:({red:t,green:r,blue:i,alpha:o=1})=>"rgba("+Du.transform(t)+", "+Du.transform(r)+", "+Du.transform(i)+", "+ws(ks.transform(o))+")"};function Mw(t){let r="",i="",o="",l="";return t.length>5?(r=t.substring(1,3),i=t.substring(3,5),o=t.substring(5,7),l=t.substring(7,9)):(r=t.substring(1,2),i=t.substring(2,3),o=t.substring(3,4),l=t.substring(4,5),r+=r,i+=i,o+=o,l+=l),{red:parseInt(r,16),green:parseInt(i,16),blue:parseInt(o,16),alpha:l?parseInt(l,16)/255:1}}const Xc={test:Kf("#"),parse:Mw,transform:_r.transform},Ms=t=>({test:r=>typeof r=="string"&&r.endsWith(t)&&r.split(" ").length===1,parse:parseFloat,transform:r=>`${r}${t}`}),fr=Ms("deg"),Pn=Ms("%"),de=Ms("px"),bw=Ms("vh"),Dw=Ms("vw"),um={...Pn,parse:t=>Pn.parse(t)/100,transform:t=>Pn.transform(t*100)},hi={test:Kf("hsl","hue"),parse:ug("hue","saturation","lightness"),transform:({hue:t,saturation:r,lightness:i,alpha:o=1})=>"hsla("+Math.round(t)+", "+Pn.transform(ws(r))+", "+Pn.transform(ws(i))+", "+ws(ks.transform(o))+")"},Je={test:t=>_r.test(t)||Xc.test(t)||hi.test(t),parse:t=>_r.test(t)?_r.parse(t):hi.test(t)?hi.parse(t):Xc.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?_r.transform(t):hi.transform(t),getAnimatableNone:t=>{const r=Je.parse(t);return r.alpha=0,Je.transform(r)}},Iw=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Lw(t){var r,i;return isNaN(t)&&typeof t=="string"&&(((r=t.match(qf))==null?void 0:r.length)||0)+(((i=t.match(Iw))==null?void 0:i.length)||0)>0}const cg="number",fg="color",Vw="var",Bw="var(",cm="${}",zw=/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 Cs(t){const r=t.toString(),i=[],o={color:[],number:[],var:[]},l=[];let c=0;const d=r.replace(zw,h=>(Je.test(h)?(o.color.push(c),l.push(fg),i.push(Je.parse(h))):h.startsWith(Bw)?(o.var.push(c),l.push(Vw),i.push(h)):(o.number.push(c),l.push(cg),i.push(parseFloat(h))),++c,cm)).split(cm);return{values:i,split:d,indexes:o,types:l}}function dg(t){return Cs(t).values}function pg(t){const{split:r,types:i}=Cs(t),o=r.length;return l=>{let c="";for(let u=0;u<o;u++)if(c+=r[u],l[u]!==void 0){const d=i[u];d===cg?c+=ws(l[u]):d===fg?c+=Je.transform(l[u]):c+=l[u]}return c}}const Uw=t=>typeof t=="number"?0:Je.test(t)?Je.getAnimatableNone(t):t;function $w(t){const r=dg(t);return pg(t)(r.map(Uw))}const pr={test:Lw,parse:dg,createTransformer:pg,getAnimatableNone:$w};function Iu(t,r,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?t+(r-t)*6*i:i<1/2?r:i<2/3?t+(r-t)*(2/3-i)*6:t}function Hw({hue:t,saturation:r,lightness:i,alpha:o}){t/=360,r/=100,i/=100;let l=0,c=0,u=0;if(!r)l=c=u=i;else{const d=i<.5?i*(1+r):i+r-i*r,h=2*i-d;l=Iu(h,d,t+1/3),c=Iu(h,d,t),u=Iu(h,d,t-1/3)}return{red:Math.round(l*255),green:Math.round(c*255),blue:Math.round(u*255),alpha:o}}function va(t,r){return i=>i>0?r:t}const He=(t,r,i)=>t+(r-t)*i,Lu=(t,r,i)=>{const o=t*t,l=i*(r*r-o)+o;return l<0?0:Math.sqrt(l)},Ww=[Xc,_r,hi],qw=t=>Ww.find(r=>r.test(t));function fm(t){const r=qw(t);if(!r)return!1;let i=r.parse(t);return r===hi&&(i=Hw(i)),i}const dm=(t,r)=>{const i=fm(t),o=fm(r);if(!i||!o)return va(t,r);const l={...i};return c=>(l.red=Lu(i.red,o.red,c),l.green=Lu(i.green,o.green,c),l.blue=Lu(i.blue,o.blue,c),l.alpha=He(i.alpha,o.alpha,c),_r.transform(l))},Yc=new Set(["none","hidden"]);function Kw(t,r){return Yc.has(t)?i=>i<=0?t:r:i=>i>=1?r:t}function Gw(t,r){return i=>He(t,r,i)}function Gf(t){return typeof t=="number"?Gw:typeof t=="string"?Wf(t)?va:Je.test(t)?dm:Yw:Array.isArray(t)?hg:typeof t=="object"?Je.test(t)?dm:Qw:va}function hg(t,r){const i=[...t],o=i.length,l=t.map((c,u)=>Gf(c)(c,r[u]));return c=>{for(let u=0;u<o;u++)i[u]=l[u](c);return i}}function Qw(t,r){const i={...t,...r},o={};for(const l in i)t[l]!==void 0&&r[l]!==void 0&&(o[l]=Gf(t[l])(t[l],r[l]));return l=>{for(const c in o)i[c]=o[c](l);return i}}function Xw(t,r){const i=[],o={color:0,var:0,number:0};for(let l=0;l<r.values.length;l++){const c=r.types[l],u=t.indexes[c][o[c]],d=t.values[u]??0;i[l]=d,o[c]++}return i}const Yw=(t,r)=>{const i=pr.createTransformer(r),o=Cs(t),l=Cs(r);return o.indexes.var.length===l.indexes.var.length&&o.indexes.color.length===l.indexes.color.length&&o.indexes.number.length>=l.indexes.number.length?Yc.has(t)&&!l.values.length||Yc.has(r)&&!o.values.length?Kw(t,r):Os(hg(Xw(o,l),l.values),i):va(t,r)};function mg(t,r,i){return typeof t=="number"&&typeof r=="number"&&typeof i=="number"?He(t,r,i):Gf(t)(t,r)}const Jw=t=>{const r=({timestamp:i})=>t(i);return{start:(i=!0)=>ze.update(r,i),stop:()=>dr(r),now:()=>ft.isProcessing?ft.timestamp:Mt.now()}},yg=(t,r,i=10)=>{let o="";const l=Math.max(Math.round(r/i),2);for(let c=0;c<l;c++)o+=Math.round(t(c/(l-1))*1e4)/1e4+", ";return`linear(${o.substring(0,o.length-2)})`},xa=2e4;function Qf(t){let r=0;const i=50;let o=t.next(r);for(;!o.done&&r<xa;)r+=i,o=t.next(r);return r>=xa?1/0:r}function Zw(t,r=100,i){const o=i({...t,keyframes:[0,r]}),l=Math.min(Qf(o),xa);return{type:"keyframes",ease:c=>o.next(l*c).value/r,duration:Qt(l)}}const eS=5;function gg(t,r,i){const o=Math.max(r-eS,0);return Q0(i-t(o),r-o)}const qe={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},Vu=.001;function tS({duration:t=qe.duration,bounce:r=qe.bounce,velocity:i=qe.velocity,mass:o=qe.mass}){let l,c,u=1-r;u=Ln(qe.minDamping,qe.maxDamping,u),t=Ln(qe.minDuration,qe.maxDuration,Qt(t)),u<1?(l=y=>{const m=y*u,v=m*t,x=m-i,P=Jc(y,u),S=Math.exp(-v);return Vu-x/P*S},c=y=>{const v=y*u*t,x=v*i+i,P=Math.pow(u,2)*Math.pow(y,2)*t,S=Math.exp(-v),k=Jc(Math.pow(y,2),u);return(-l(y)+Vu>0?-1:1)*((x-P)*S)/k}):(l=y=>{const m=Math.exp(-y*t),v=(y-i)*t+1;return-Vu+m*v},c=y=>{const m=Math.exp(-y*t),v=(i-y)*(t*t);return m*v});const d=5/t,h=rS(l,c,d);if(t=En(t),isNaN(h))return{stiffness:qe.stiffness,damping:qe.damping,duration:t};{const y=Math.pow(h,2)*o;return{stiffness:y,damping:u*2*Math.sqrt(o*y),duration:t}}}const nS=12;function rS(t,r,i){let o=i;for(let l=1;l<nS;l++)o=o-t(o)/r(o);return o}function Jc(t,r){return t*Math.sqrt(1-r*r)}const iS=["duration","bounce"],sS=["stiffness","damping","mass"];function pm(t,r){return r.some(i=>t[i]!==void 0)}function oS(t){let r={velocity:qe.velocity,stiffness:qe.stiffness,damping:qe.damping,mass:qe.mass,isResolvedFromDuration:!1,...t};if(!pm(t,sS)&&pm(t,iS))if(t.visualDuration){const i=t.visualDuration,o=2*Math.PI/(i*1.2),l=o*o,c=2*Ln(.05,1,1-(t.bounce||0))*Math.sqrt(l);r={...r,mass:qe.mass,stiffness:l,damping:c}}else{const i=tS(t);r={...r,...i,mass:qe.mass},r.isResolvedFromDuration=!0}return r}function wa(t=qe.visualDuration,r=qe.bounce){const i=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:r}:t;let{restSpeed:o,restDelta:l}=i;const c=i.keyframes[0],u=i.keyframes[i.keyframes.length-1],d={done:!1,value:c},{stiffness:h,damping:y,mass:m,duration:v,velocity:x,isResolvedFromDuration:P}=oS({...i,velocity:-Qt(i.velocity||0)}),S=x||0,k=y/(2*Math.sqrt(h*m)),E=u-c,C=Qt(Math.sqrt(h/m)),F=Math.abs(E)<5;o||(o=F?qe.restSpeed.granular:qe.restSpeed.default),l||(l=F?qe.restDelta.granular:qe.restDelta.default);let _;if(k<1){const V=Jc(C,k);_=z=>{const $=Math.exp(-k*C*z);return u-$*((S+k*C*E)/V*Math.sin(V*z)+E*Math.cos(V*z))}}else if(k===1)_=V=>u-Math.exp(-C*V)*(E+(S+C*E)*V);else{const V=C*Math.sqrt(k*k-1);_=z=>{const $=Math.exp(-k*C*z),H=Math.min(V*z,300);return u-$*((S+k*C*E)*Math.sinh(H)+V*E*Math.cosh(H))/V}}const b={calculatedDuration:P&&v||null,next:V=>{const z=_(V);if(P)d.done=V>=v;else{let $=V===0?S:0;k<1&&($=V===0?En(S):gg(_,V,z));const H=Math.abs($)<=o,ie=Math.abs(u-z)<=l;d.done=H&&ie}return d.value=d.done?u:z,d},toString:()=>{const V=Math.min(Qf(b),xa),z=yg($=>b.next(V*$).value,V,30);return V+"ms "+z},toTransition:()=>{}};return b}wa.applyToOptions=t=>{const r=Zw(t,100,wa);return t.ease=r.ease,t.duration=En(r.duration),t.type="keyframes",t};function Zc({keyframes:t,velocity:r=0,power:i=.8,timeConstant:o=325,bounceDamping:l=10,bounceStiffness:c=500,modifyTarget:u,min:d,max:h,restDelta:y=.5,restSpeed:m}){const v=t[0],x={done:!1,value:v},P=H=>d!==void 0&&H<d||h!==void 0&&H>h,S=H=>d===void 0?h:h===void 0||Math.abs(d-H)<Math.abs(h-H)?d:h;let k=i*r;const E=v+k,C=u===void 0?E:u(E);C!==E&&(k=C-v);const F=H=>-k*Math.exp(-H/o),_=H=>C+F(H),b=H=>{const ie=F(H),Z=_(H);x.done=Math.abs(ie)<=y,x.value=x.done?C:Z};let V,z;const $=H=>{P(x.value)&&(V=H,z=wa({keyframes:[x.value,S(x.value)],velocity:gg(_,H,x.value),damping:l,stiffness:c,restDelta:y,restSpeed:m}))};return $(0),{calculatedDuration:null,next:H=>{let ie=!1;return!z&&V===void 0&&(ie=!0,b(H),$(H)),V!==void 0&&H>=V?z.next(H-V):(!ie&&b(H),x)}}}function aS(t,r,i){const o=[],l=i||Vn.mix||mg,c=t.length-1;for(let u=0;u<c;u++){let d=l(t[u],t[u+1]);if(r){const h=Array.isArray(r)?r[u]||Xt:r;d=Os(h,d)}o.push(d)}return o}function lS(t,r,{clamp:i=!0,ease:o,mixer:l}={}){const c=t.length;if(Bf(c===r.length),c===1)return()=>r[0];if(c===2&&r[0]===r[1])return()=>r[1];const u=t[0]===t[1];t[0]>t[c-1]&&(t=[...t].reverse(),r=[...r].reverse());const d=aS(r,o,l),h=d.length,y=m=>{if(u&&m<t[0])return r[0];let v=0;if(h>1)for(;v<t.length-2&&!(m<t[v+1]);v++);const x=Ts(t[v],t[v+1],m);return d[v](x)};return i?m=>y(Ln(t[0],t[c-1],m)):y}function uS(t,r){const i=t[t.length-1];for(let o=1;o<=r;o++){const l=Ts(0,r,o);t.push(He(i,1,l))}}function cS(t){const r=[0];return uS(r,t.length-1),r}function fS(t,r){return t.map(i=>i*r)}function dS(t,r){return t.map(()=>r||ig).splice(0,t.length-1)}function Ss({duration:t=300,keyframes:r,times:i,ease:o="easeInOut"}){const l=Pw(o)?o.map(lm):lm(o),c={done:!1,value:r[0]},u=fS(i&&i.length===r.length?i:cS(r),t),d=lS(u,r,{ease:Array.isArray(l)?l:dS(r,l)});return{calculatedDuration:t,next:h=>(c.value=d(h),c.done=h>=t,c)}}const pS=t=>t!==null;function Xf(t,{repeat:r,repeatType:i="loop"},o,l=1){const c=t.filter(pS),d=l<0||r&&i!=="loop"&&r%2===1?0:c.length-1;return!d||o===void 0?c[d]:o}const hS={decay:Zc,inertia:Zc,tween:Ss,keyframes:Ss,spring:wa};function vg(t){typeof t.type=="string"&&(t.type=hS[t.type])}class Yf{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(r=>{this.resolve=r})}notifyFinished(){this.resolve()}then(r,i){return this.finished.then(r,i)}}const mS=t=>t/100;class Jf extends Yf{constructor(r){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var o,l;const{motionValue:i}=this.options;i&&i.updatedAt!==Mt.now()&&this.tick(Mt.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(l=(o=this.options).onStop)==null||l.call(o))},this.options=r,this.initAnimation(),this.play(),r.autoplay===!1&&this.pause()}initAnimation(){const{options:r}=this;vg(r);const{type:i=Ss,repeat:o=0,repeatDelay:l=0,repeatType:c,velocity:u=0}=r;let{keyframes:d}=r;const h=i||Ss;h!==Ss&&typeof d[0]!="number"&&(this.mixKeyframes=Os(mS,mg(d[0],d[1])),d=[0,100]);const y=h({...r,keyframes:d});c==="mirror"&&(this.mirroredGenerator=h({...r,keyframes:[...d].reverse(),velocity:-u})),y.calculatedDuration===null&&(y.calculatedDuration=Qf(y));const{calculatedDuration:m}=y;this.calculatedDuration=m,this.resolvedDuration=m+l,this.totalDuration=this.resolvedDuration*(o+1)-l,this.generator=y}updateTime(r){const i=Math.round(r-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=i}tick(r,i=!1){const{generator:o,totalDuration:l,mixKeyframes:c,mirroredGenerator:u,resolvedDuration:d,calculatedDuration:h}=this;if(this.startTime===null)return o.next(0);const{delay:y=0,keyframes:m,repeat:v,repeatType:x,repeatDelay:P,type:S,onUpdate:k,finalKeyframe:E}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,r):this.speed<0&&(this.startTime=Math.min(r-l/this.speed,this.startTime)),i?this.currentTime=r:this.updateTime(r);const C=this.currentTime-y*(this.playbackSpeed>=0?1:-1),F=this.playbackSpeed>=0?C<0:C>l;this.currentTime=Math.max(C,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=l);let _=this.currentTime,b=o;if(v){const H=Math.min(this.currentTime,l)/d;let ie=Math.floor(H),Z=H%1;!Z&&H>=1&&(Z=1),Z===1&&ie--,ie=Math.min(ie,v+1),!!(ie%2)&&(x==="reverse"?(Z=1-Z,P&&(Z-=P/d)):x==="mirror"&&(b=u)),_=Ln(0,1,Z)*d}const V=F?{done:!1,value:m[0]}:b.next(_);c&&(V.value=c(V.value));let{done:z}=V;!F&&h!==null&&(z=this.playbackSpeed>=0?this.currentTime>=l:this.currentTime<=0);const $=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&z);return $&&S!==Zc&&(V.value=Xf(m,this.options,E,this.speed)),k&&k(V.value),$&&this.finish(),V}then(r,i){return this.finished.then(r,i)}get duration(){return Qt(this.calculatedDuration)}get iterationDuration(){const{delay:r=0}=this.options||{};return this.duration+Qt(r)}get time(){return Qt(this.currentTime)}set time(r){var i;r=En(r),this.currentTime=r,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=r:this.driver&&(this.startTime=this.driver.now()-r/this.playbackSpeed),(i=this.driver)==null||i.start(!1)}get speed(){return this.playbackSpeed}set speed(r){this.updateTime(Mt.now());const i=this.playbackSpeed!==r;this.playbackSpeed=r,i&&(this.time=Qt(this.currentTime))}play(){var l,c;if(this.isStopped)return;const{driver:r=Jw,startTime:i}=this.options;this.driver||(this.driver=r(u=>this.tick(u))),(c=(l=this.options).onPlay)==null||c.call(l);const o=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=o):this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime||(this.startTime=i??o),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(Mt.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var r,i;this.notifyFinished(),this.teardown(),this.state="finished",(i=(r=this.options).onComplete)==null||i.call(r)}cancel(){var r,i;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(i=(r=this.options).onCancel)==null||i.call(r)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(r){return this.startTime=0,this.tick(r,!0)}attachTimeline(r){var i;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(i=this.driver)==null||i.stop(),r.observe(this)}}function yS(t){for(let r=1;r<t.length;r++)t[r]??(t[r]=t[r-1])}const Or=t=>t*180/Math.PI,ef=t=>{const r=Or(Math.atan2(t[1],t[0]));return tf(r)},gS={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:ef,rotateZ:ef,skewX:t=>Or(Math.atan(t[1])),skewY:t=>Or(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},tf=t=>(t=t%360,t<0&&(t+=360),t),hm=ef,mm=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),ym=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),vS={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:mm,scaleY:ym,scale:t=>(mm(t)+ym(t))/2,rotateX:t=>tf(Or(Math.atan2(t[6],t[5]))),rotateY:t=>tf(Or(Math.atan2(-t[2],t[0]))),rotateZ:hm,rotate:hm,skewX:t=>Or(Math.atan(t[4])),skewY:t=>Or(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function nf(t){return t.includes("scale")?1:0}function rf(t,r){if(!t||t==="none")return nf(r);const i=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let o,l;if(i)o=vS,l=i;else{const d=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);o=gS,l=d}if(!l)return nf(r);const c=o[r],u=l[1].split(",").map(wS);return typeof c=="function"?c(u):u[c]}const xS=(t,r)=>{const{transform:i="none"}=getComputedStyle(t);return rf(i,r)};function wS(t){return parseFloat(t.trim())}const Ci=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Ai=new Set(Ci),gm=t=>t===ki||t===de,SS=new Set(["x","y","z"]),ES=Ci.filter(t=>!SS.has(t));function PS(t){const r=[];return ES.forEach(i=>{const o=t.getValue(i);o!==void 0&&(r.push([i,o.get()]),o.set(i.startsWith("scale")?1:0))}),r}const Mr={width:({x:t},{paddingLeft:r="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(r)-parseFloat(i),height:({y:t},{paddingTop:r="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(r)-parseFloat(i),top:(t,{top:r})=>parseFloat(r),left:(t,{left:r})=>parseFloat(r),bottom:({y:t},{top:r})=>parseFloat(r)+(t.max-t.min),right:({x:t},{left:r})=>parseFloat(r)+(t.max-t.min),x:(t,{transform:r})=>rf(r,"x"),y:(t,{transform:r})=>rf(r,"y")};Mr.translateX=Mr.x;Mr.translateY=Mr.y;const br=new Set;let sf=!1,of=!1,af=!1;function xg(){if(of){const t=Array.from(br).filter(o=>o.needsMeasurement),r=new Set(t.map(o=>o.element)),i=new Map;r.forEach(o=>{const l=PS(o);l.length&&(i.set(o,l),o.render())}),t.forEach(o=>o.measureInitialState()),r.forEach(o=>{o.render();const l=i.get(o);l&&l.forEach(([c,u])=>{var d;(d=o.getValue(c))==null||d.set(u)})}),t.forEach(o=>o.measureEndState()),t.forEach(o=>{o.suspendedScrollY!==void 0&&window.scrollTo(0,o.suspendedScrollY)})}of=!1,sf=!1,br.forEach(t=>t.complete(af)),br.clear()}function wg(){br.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(of=!0)})}function TS(){af=!0,wg(),xg(),af=!1}class Zf{constructor(r,i,o,l,c,u=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...r],this.onComplete=i,this.name=o,this.motionValue=l,this.element=c,this.isAsync=u}scheduleResolve(){this.state="scheduled",this.isAsync?(br.add(this),sf||(sf=!0,ze.read(wg),ze.resolveKeyframes(xg))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:r,name:i,element:o,motionValue:l}=this;if(r[0]===null){const c=l==null?void 0:l.get(),u=r[r.length-1];if(c!==void 0)r[0]=c;else if(o&&i){const d=o.readValue(i,u);d!=null&&(r[0]=d)}r[0]===void 0&&(r[0]=u),l&&c===void 0&&l.set(r[0])}yS(r)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(r=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,r),br.delete(this)}cancel(){this.state==="scheduled"&&(br.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const kS=t=>t.startsWith("--");function CS(t,r,i){kS(r)?t.style.setProperty(r,i):t.style[r]=i}const AS=zf(()=>window.ScrollTimeline!==void 0),FS={};function NS(t,r){const i=zf(t);return()=>FS[r]??i()}const Sg=NS(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),xs=([t,r,i,o])=>`cubic-bezier(${t}, ${r}, ${i}, ${o})`,vm={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:xs([0,.65,.55,1]),circOut:xs([.55,0,1,.45]),backIn:xs([.31,.01,.66,-.59]),backOut:xs([.33,1.53,.69,.99])};function Eg(t,r){if(t)return typeof t=="function"?Sg()?yg(t,r):"ease-out":sg(t)?xs(t):Array.isArray(t)?t.map(i=>Eg(i,r)||vm.easeOut):vm[t]}function RS(t,r,i,{delay:o=0,duration:l=300,repeat:c=0,repeatType:u="loop",ease:d="easeOut",times:h}={},y=void 0){const m={[r]:i};h&&(m.offset=h);const v=Eg(d,l);Array.isArray(v)&&(m.easing=v);const x={delay:o,duration:l,easing:Array.isArray(v)?"linear":v,fill:"both",iterations:c+1,direction:u==="reverse"?"alternate":"normal"};return y&&(x.pseudoElement=y),t.animate(m,x)}function Pg(t){return typeof t=="function"&&"applyToOptions"in t}function _S({type:t,...r}){return Pg(t)&&Sg()?t.applyToOptions(r):(r.duration??(r.duration=300),r.ease??(r.ease="easeOut"),r)}class OS extends Yf{constructor(r){if(super(),this.finishedTime=null,this.isStopped=!1,!r)return;const{element:i,name:o,keyframes:l,pseudoElement:c,allowFlatten:u=!1,finalKeyframe:d,onComplete:h}=r;this.isPseudoElement=!!c,this.allowFlatten=u,this.options=r,Bf(typeof r.type!="string");const y=_S(r);this.animation=RS(i,o,l,y,c),y.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!c){const m=Xf(l,this.options,d,this.speed);this.updateMotionValue?this.updateMotionValue(m):CS(i,o,m),this.animation.cancel()}h==null||h(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var r,i;(i=(r=this.animation).finish)==null||i.call(r)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:r}=this;r==="idle"||r==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var r,i;this.isPseudoElement||(i=(r=this.animation).commitStyles)==null||i.call(r)}get duration(){var i,o;const r=((o=(i=this.animation.effect)==null?void 0:i.getComputedTiming)==null?void 0:o.call(i).duration)||0;return Qt(Number(r))}get iterationDuration(){const{delay:r=0}=this.options||{};return this.duration+Qt(r)}get time(){return Qt(Number(this.animation.currentTime)||0)}set time(r){this.finishedTime=null,this.animation.currentTime=En(r)}get speed(){return this.animation.playbackRate}set speed(r){r<0&&(this.finishedTime=null),this.animation.playbackRate=r}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(r){this.animation.startTime=r}attachTimeline({timeline:r,observe:i}){var o;return this.allowFlatten&&((o=this.animation.effect)==null||o.updateTiming({easing:"linear"})),this.animation.onfinish=null,r&&AS()?(this.animation.timeline=r,Xt):i(this)}}const Tg={anticipate:tg,backInOut:eg,circInOut:rg};function jS(t){return t in Tg}function MS(t){typeof t.ease=="string"&&jS(t.ease)&&(t.ease=Tg[t.ease])}const xm=10;class bS extends OS{constructor(r){MS(r),vg(r),super(r),r.startTime&&(this.startTime=r.startTime),this.options=r}updateMotionValue(r){const{motionValue:i,onUpdate:o,onComplete:l,element:c,...u}=this.options;if(!i)return;if(r!==void 0){i.set(r);return}const d=new Jf({...u,autoplay:!1}),h=En(this.finishedTime??this.time);i.setWithVelocity(d.sample(h-xm).value,d.sample(h).value,xm),d.stop()}}const wm=(t,r)=>r==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(pr.test(t)||t==="0")&&!t.startsWith("url("));function DS(t){const r=t[0];if(t.length===1)return!0;for(let i=0;i<t.length;i++)if(t[i]!==r)return!0}function IS(t,r,i,o){const l=t[0];if(l===null)return!1;if(r==="display"||r==="visibility")return!0;const c=t[t.length-1],u=wm(l,r),d=wm(c,r);return!u||!d?!1:DS(t)||(i==="spring"||Pg(i))&&o}function lf(t){t.duration=0,t.type="keyframes"}const LS=new Set(["opacity","clipPath","filter","transform"]),VS=zf(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function BS(t){var m;const{motionValue:r,name:i,repeatDelay:o,repeatType:l,damping:c,type:u}=t;if(!(((m=r==null?void 0:r.owner)==null?void 0:m.current)instanceof HTMLElement))return!1;const{onUpdate:h,transformTemplate:y}=r.owner.getProps();return VS()&&i&&LS.has(i)&&(i!=="transform"||!y)&&!h&&!o&&l!=="mirror"&&c!==0&&u!=="inertia"}const zS=40;class US extends Yf{constructor({autoplay:r=!0,delay:i=0,type:o="keyframes",repeat:l=0,repeatDelay:c=0,repeatType:u="loop",keyframes:d,name:h,motionValue:y,element:m,...v}){var S;super(),this.stop=()=>{var k,E;this._animation&&(this._animation.stop(),(k=this.stopTimeline)==null||k.call(this)),(E=this.keyframeResolver)==null||E.cancel()},this.createdAt=Mt.now();const x={autoplay:r,delay:i,type:o,repeat:l,repeatDelay:c,repeatType:u,name:h,motionValue:y,element:m,...v},P=(m==null?void 0:m.KeyframeResolver)||Zf;this.keyframeResolver=new P(d,(k,E,C)=>this.onKeyframesResolved(k,E,x,!C),h,y,m),(S=this.keyframeResolver)==null||S.scheduleResolve()}onKeyframesResolved(r,i,o,l){this.keyframeResolver=void 0;const{name:c,type:u,velocity:d,delay:h,isHandoff:y,onUpdate:m}=o;this.resolvedAt=Mt.now(),IS(r,c,u,d)||((Vn.instantAnimations||!h)&&(m==null||m(Xf(r,o,i))),r[0]=r[r.length-1],lf(o),o.repeat=0);const x={startTime:l?this.resolvedAt?this.resolvedAt-this.createdAt>zS?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:i,...o,keyframes:r},P=!y&&BS(x)?new bS({...x,element:x.motionValue.owner.current}):new Jf(x);P.finished.then(()=>this.notifyFinished()).catch(Xt),this.pendingTimeline&&(this.stopTimeline=P.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=P}get finished(){return this._animation?this.animation.finished:this._finished}then(r,i){return this.finished.finally(r).then(()=>{})}get animation(){var r;return this._animation||((r=this.keyframeResolver)==null||r.resume(),TS()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(r){this.animation.time=r}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(r){this.animation.speed=r}get startTime(){return this.animation.startTime}attachTimeline(r){return this._animation?this.stopTimeline=this.animation.attachTimeline(r):this.pendingTimeline=r,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var r;this._animation&&this.animation.cancel(),(r=this.keyframeResolver)==null||r.cancel()}}const $S=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function HS(t){const r=$S.exec(t);if(!r)return[,];const[,i,o,l]=r;return[`--${i??o}`,l]}function kg(t,r,i=1){const[o,l]=HS(t);if(!o)return;const c=window.getComputedStyle(r).getPropertyValue(o);if(c){const u=c.trim();return q0(u)?parseFloat(u):u}return Wf(l)?kg(l,r,i+1):l}function ed(t,r){return(t==null?void 0:t[r])??(t==null?void 0:t.default)??t}const Cg=new Set(["width","height","top","left","right","bottom",...Ci]),WS={test:t=>t==="auto",parse:t=>t},Ag=t=>r=>r.test(t),Fg=[ki,de,Pn,fr,Dw,bw,WS],Sm=t=>Fg.find(Ag(t));function qS(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||G0(t):!0}const KS=new Set(["brightness","contrast","saturate","opacity"]);function GS(t){const[r,i]=t.slice(0,-1).split("(");if(r==="drop-shadow")return t;const[o]=i.match(qf)||[];if(!o)return t;const l=i.replace(o,"");let c=KS.has(r)?1:0;return o!==i&&(c*=100),r+"("+c+l+")"}const QS=/\b([a-z-]*)\(.*?\)/gu,uf={...pr,getAnimatableNone:t=>{const r=t.match(QS);return r?r.map(GS).join(" "):t}},Em={...ki,transform:Math.round},XS={rotate:fr,rotateX:fr,rotateY:fr,rotateZ:fr,scale:ia,scaleX:ia,scaleY:ia,scaleZ:ia,skew:fr,skewX:fr,skewY:fr,distance:de,translateX:de,translateY:de,translateZ:de,x:de,y:de,z:de,perspective:de,transformPerspective:de,opacity:ks,originX:um,originY:um,originZ:de},td={borderWidth:de,borderTopWidth:de,borderRightWidth:de,borderBottomWidth:de,borderLeftWidth:de,borderRadius:de,radius:de,borderTopLeftRadius:de,borderTopRightRadius:de,borderBottomRightRadius:de,borderBottomLeftRadius:de,width:de,maxWidth:de,height:de,maxHeight:de,top:de,right:de,bottom:de,left:de,padding:de,paddingTop:de,paddingRight:de,paddingBottom:de,paddingLeft:de,margin:de,marginTop:de,marginRight:de,marginBottom:de,marginLeft:de,backgroundPositionX:de,backgroundPositionY:de,...XS,zIndex:Em,fillOpacity:ks,strokeOpacity:ks,numOctaves:Em},YS={...td,color:Je,backgroundColor:Je,outlineColor:Je,fill:Je,stroke:Je,borderColor:Je,borderTopColor:Je,borderRightColor:Je,borderBottomColor:Je,borderLeftColor:Je,filter:uf,WebkitFilter:uf},Ng=t=>YS[t];function Rg(t,r){let i=Ng(t);return i!==uf&&(i=pr),i.getAnimatableNone?i.getAnimatableNone(r):void 0}const JS=new Set(["auto","none","0"]);function ZS(t,r,i){let o=0,l;for(;o<t.length&&!l;){const c=t[o];typeof c=="string"&&!JS.has(c)&&Cs(c).values.length&&(l=t[o]),o++}if(l&&i)for(const c of r)t[c]=Rg(i,l)}class e2 extends Zf{constructor(r,i,o,l,c){super(r,i,o,l,c,!0)}readKeyframes(){const{unresolvedKeyframes:r,element:i,name:o}=this;if(!i||!i.current)return;super.readKeyframes();for(let h=0;h<r.length;h++){let y=r[h];if(typeof y=="string"&&(y=y.trim(),Wf(y))){const m=kg(y,i.current);m!==void 0&&(r[h]=m),h===r.length-1&&(this.finalKeyframe=y)}}if(this.resolveNoneKeyframes(),!Cg.has(o)||r.length!==2)return;const[l,c]=r,u=Sm(l),d=Sm(c);if(u!==d)if(gm(u)&&gm(d))for(let h=0;h<r.length;h++){const y=r[h];typeof y=="string"&&(r[h]=parseFloat(y))}else Mr[o]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:r,name:i}=this,o=[];for(let l=0;l<r.length;l++)(r[l]===null||qS(r[l]))&&o.push(l);o.length&&ZS(r,o,i)}measureInitialState(){const{element:r,unresolvedKeyframes:i,name:o}=this;if(!r||!r.current)return;o==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Mr[o](r.measureViewportBox(),window.getComputedStyle(r.current)),i[0]=this.measuredOrigin;const l=i[i.length-1];l!==void 0&&r.getValue(o,l).jump(l,!1)}measureEndState(){var d;const{element:r,name:i,unresolvedKeyframes:o}=this;if(!r||!r.current)return;const l=r.getValue(i);l&&l.jump(this.measuredOrigin,!1);const c=o.length-1,u=o[c];o[c]=Mr[i](r.measureViewportBox(),window.getComputedStyle(r.current)),u!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=u),(d=this.removedTransforms)!=null&&d.length&&this.removedTransforms.forEach(([h,y])=>{r.getValue(h).set(y)}),this.resolveNoneKeyframes()}}function t2(t,r,i){if(t instanceof EventTarget)return[t];if(typeof t=="string"){let o=document;const l=(i==null?void 0:i[t])??o.querySelectorAll(t);return l?Array.from(l):[]}return Array.from(t)}const _g=(t,r)=>r&&typeof t=="number"?r.transform(t):t;function Og(t){return K0(t)&&"offsetHeight"in t}const Pm=30,n2=t=>!isNaN(parseFloat(t));class r2{constructor(r,i={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=o=>{var c;const l=Mt.now();if(this.updatedAt!==l&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(o),this.current!==this.prev&&((c=this.events.change)==null||c.notify(this.current),this.dependents))for(const u of this.dependents)u.dirty()},this.hasAnimated=!1,this.setCurrent(r),this.owner=i.owner}setCurrent(r){this.current=r,this.updatedAt=Mt.now(),this.canTrackVelocity===null&&r!==void 0&&(this.canTrackVelocity=n2(this.current))}setPrevFrameValue(r=this.current){this.prevFrameValue=r,this.prevUpdatedAt=this.updatedAt}onChange(r){return this.on("change",r)}on(r,i){this.events[r]||(this.events[r]=new Uf);const o=this.events[r].add(i);return r==="change"?()=>{o(),ze.read(()=>{this.events.change.getSize()||this.stop()})}:o}clearListeners(){for(const r in this.events)this.events[r].clear()}attach(r,i){this.passiveEffect=r,this.stopPassiveEffect=i}set(r){this.passiveEffect?this.passiveEffect(r,this.updateAndNotify):this.updateAndNotify(r)}setWithVelocity(r,i,o){this.set(i),this.prev=void 0,this.prevFrameValue=r,this.prevUpdatedAt=this.updatedAt-o}jump(r,i=!0){this.updateAndNotify(r),this.prev=r,this.prevUpdatedAt=this.prevFrameValue=void 0,i&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var r;(r=this.events.change)==null||r.notify(this.current)}addDependent(r){this.dependents||(this.dependents=new Set),this.dependents.add(r)}removeDependent(r){this.dependents&&this.dependents.delete(r)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const r=Mt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||r-this.updatedAt>Pm)return 0;const i=Math.min(this.updatedAt-this.prevUpdatedAt,Pm);return Q0(parseFloat(this.current)-parseFloat(this.prevFrameValue),i)}start(r){return this.stop(),new Promise(i=>{this.hasAnimated=!0,this.animation=r(i),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 r,i;(r=this.dependents)==null||r.clear(),(i=this.events.destroy)==null||i.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function wi(t,r){return new r2(t,r)}const{schedule:nd}=og(queueMicrotask,!1),un={x:!1,y:!1};function jg(){return un.x||un.y}function i2(t){return t==="x"||t==="y"?un[t]?null:(un[t]=!0,()=>{un[t]=!1}):un.x||un.y?null:(un.x=un.y=!0,()=>{un.x=un.y=!1})}function Mg(t,r){const i=t2(t),o=new AbortController,l={passive:!0,...r,signal:o.signal};return[i,l,()=>o.abort()]}function Tm(t){return!(t.pointerType==="touch"||jg())}function s2(t,r,i={}){const[o,l,c]=Mg(t,i),u=d=>{if(!Tm(d))return;const{target:h}=d,y=r(h,d);if(typeof y!="function"||!h)return;const m=v=>{Tm(v)&&(y(v),h.removeEventListener("pointerleave",m))};h.addEventListener("pointerleave",m,l)};return o.forEach(d=>{d.addEventListener("pointerenter",u,l)}),c}const bg=(t,r)=>r?t===r?!0:bg(t,r.parentElement):!1,rd=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,o2=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function a2(t){return o2.has(t.tagName)||t.tabIndex!==-1}const ca=new WeakSet;function km(t){return r=>{r.key==="Enter"&&t(r)}}function Bu(t,r){t.dispatchEvent(new PointerEvent("pointer"+r,{isPrimary:!0,bubbles:!0}))}const l2=(t,r)=>{const i=t.currentTarget;if(!i)return;const o=km(()=>{if(ca.has(i))return;Bu(i,"down");const l=km(()=>{Bu(i,"up")}),c=()=>Bu(i,"cancel");i.addEventListener("keyup",l,r),i.addEventListener("blur",c,r)});i.addEventListener("keydown",o,r),i.addEventListener("blur",()=>i.removeEventListener("keydown",o),r)};function Cm(t){return rd(t)&&!jg()}function u2(t,r,i={}){const[o,l,c]=Mg(t,i),u=d=>{const h=d.currentTarget;if(!Cm(d))return;ca.add(h);const y=r(h,d),m=(P,S)=>{window.removeEventListener("pointerup",v),window.removeEventListener("pointercancel",x),ca.has(h)&&ca.delete(h),Cm(P)&&typeof y=="function"&&y(P,{success:S})},v=P=>{m(P,h===window||h===document||i.useGlobalTarget||bg(h,P.target))},x=P=>{m(P,!1)};window.addEventListener("pointerup",v,l),window.addEventListener("pointercancel",x,l)};return o.forEach(d=>{(i.useGlobalTarget?window:d).addEventListener("pointerdown",u,l),Og(d)&&(d.addEventListener("focus",y=>l2(y,l)),!a2(d)&&!d.hasAttribute("tabindex")&&(d.tabIndex=0))}),c}function Dg(t){return K0(t)&&"ownerSVGElement"in t}function c2(t){return Dg(t)&&t.tagName==="svg"}const vt=t=>!!(t&&t.getVelocity),f2=[...Fg,Je,pr],d2=t=>f2.find(Ag(t)),id=X.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});function Am(t,r){if(typeof t=="function")return t(r);t!=null&&(t.current=r)}function p2(...t){return r=>{let i=!1;const o=t.map(l=>{const c=Am(l,r);return!i&&typeof c=="function"&&(i=!0),c});if(i)return()=>{for(let l=0;l<o.length;l++){const c=o[l];typeof c=="function"?c():Am(t[l],null)}}}}function h2(...t){return X.useCallback(p2(...t),t)}class m2 extends X.Component{getSnapshotBeforeUpdate(r){const i=this.props.childRef.current;if(i&&r.isPresent&&!this.props.isPresent){const o=i.offsetParent,l=Og(o)&&o.offsetWidth||0,c=this.props.sizeRef.current;c.height=i.offsetHeight||0,c.width=i.offsetWidth||0,c.top=i.offsetTop,c.left=i.offsetLeft,c.right=l-c.width-c.left}return null}componentDidUpdate(){}render(){return this.props.children}}function y2({children:t,isPresent:r,anchorX:i,root:o}){const l=X.useId(),c=X.useRef(null),u=X.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:d}=X.useContext(id),h=h2(c,t==null?void 0:t.ref);return X.useInsertionEffect(()=>{const{width:y,height:m,top:v,left:x,right:P}=u.current;if(r||!c.current||!y||!m)return;const S=i==="left"?`left: ${x}`:`right: ${P}`;c.current.dataset.motionPopId=l;const k=document.createElement("style");d&&(k.nonce=d);const E=o??document.head;return E.appendChild(k),k.sheet&&k.sheet.insertRule(`
|
||
[data-motion-pop-id="${l}"] {
|
||
position: absolute !important;
|
||
width: ${y}px !important;
|
||
height: ${m}px !important;
|
||
${S}px !important;
|
||
top: ${v}px !important;
|
||
}
|
||
`),()=>{E.contains(k)&&E.removeChild(k)}},[r]),w.jsx(m2,{isPresent:r,childRef:c,sizeRef:u,children:X.cloneElement(t,{ref:h})})}const g2=({children:t,initial:r,isPresent:i,onExitComplete:o,custom:l,presenceAffectsLayout:c,mode:u,anchorX:d,root:h})=>{const y=Df(v2),m=X.useId();let v=!0,x=X.useMemo(()=>(v=!1,{id:m,initial:r,isPresent:i,custom:l,onExitComplete:P=>{y.set(P,!0);for(const S of y.values())if(!S)return;o&&o()},register:P=>(y.set(P,!1),()=>y.delete(P))}),[i,y,o]);return c&&v&&(x={...x}),X.useMemo(()=>{y.forEach((P,S)=>y.set(S,!1))},[i]),X.useEffect(()=>{!i&&!y.size&&o&&o()},[i]),u==="popLayout"&&(t=w.jsx(y2,{isPresent:i,anchorX:d,root:h,children:t})),w.jsx(_a.Provider,{value:x,children:t})};function v2(){return new Map}function Ig(t=!0){const r=X.useContext(_a);if(r===null)return[!0,null];const{isPresent:i,onExitComplete:o,register:l}=r,c=X.useId();X.useEffect(()=>{if(t)return l(c)},[t]);const u=X.useCallback(()=>t&&o&&o(c),[c,o,t]);return!i&&o?[!1,u]:[!0]}const sa=t=>t.key||"";function Fm(t){const r=[];return X.Children.forEach(t,i=>{X.isValidElement(i)&&r.push(i)}),r}const x2=({children:t,custom:r,initial:i=!0,onExitComplete:o,presenceAffectsLayout:l=!0,mode:c="sync",propagate:u=!1,anchorX:d="left",root:h})=>{const[y,m]=Ig(u),v=X.useMemo(()=>Fm(t),[t]),x=u&&!y?[]:v.map(sa),P=X.useRef(!0),S=X.useRef(v),k=Df(()=>new Map),[E,C]=X.useState(v),[F,_]=X.useState(v);W0(()=>{P.current=!1,S.current=v;for(let z=0;z<F.length;z++){const $=sa(F[z]);x.includes($)?k.delete($):k.get($)!==!0&&k.set($,!1)}},[F,x.length,x.join("-")]);const b=[];if(v!==E){let z=[...v];for(let $=0;$<F.length;$++){const H=F[$],ie=sa(H);x.includes(ie)||(z.splice($,0,H),b.push(H))}return c==="wait"&&b.length&&(z=b),_(Fm(z)),C(v),null}const{forceRender:V}=X.useContext(bf);return w.jsx(w.Fragment,{children:F.map(z=>{const $=sa(z),H=u&&!y?!1:v===F||x.includes($),ie=()=>{if(k.has($))k.set($,!0);else return;let Z=!0;k.forEach(he=>{he||(Z=!1)}),Z&&(V==null||V(),_(S.current),u&&(m==null||m()),o&&o())};return w.jsx(g2,{isPresent:H,initial:!P.current||i?void 0:!1,custom:r,presenceAffectsLayout:l,mode:c,root:h,onExitComplete:H?void 0:ie,anchorX:d,children:z},$)})})},Lg=X.createContext({strict:!1}),Nm={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"]},Si={};for(const t in Nm)Si[t]={isEnabled:r=>Nm[t].some(i=>!!r[i])};function w2(t){for(const r in t)Si[r]={...Si[r],...t[r]}}const S2=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","ignoreStrict","viewport"]);function Sa(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||S2.has(t)}let Vg=t=>!Sa(t);function E2(t){typeof t=="function"&&(Vg=r=>r.startsWith("on")?!Sa(r):t(r))}try{E2(require("@emotion/is-prop-valid").default)}catch{}function P2(t,r,i){const o={};for(const l in t)l==="values"&&typeof t.values=="object"||(Vg(l)||i===!0&&Sa(l)||!r&&!Sa(l)||t.draggable&&l.startsWith("onDrag"))&&(o[l]=t[l]);return o}const Oa=X.createContext({});function ja(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function As(t){return typeof t=="string"||Array.isArray(t)}const sd=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],od=["initial",...sd];function Ma(t){return ja(t.animate)||od.some(r=>As(t[r]))}function Bg(t){return!!(Ma(t)||t.variants)}function T2(t,r){if(Ma(t)){const{initial:i,animate:o}=t;return{initial:i===!1||As(i)?i:void 0,animate:As(o)?o:void 0}}return t.inherit!==!1?r:{}}function k2(t){const{initial:r,animate:i}=T2(t,X.useContext(Oa));return X.useMemo(()=>({initial:r,animate:i}),[Rm(r),Rm(i)])}function Rm(t){return Array.isArray(t)?t.join(" "):t}function _m(t,r){return r.max===r.min?0:t/(r.max-r.min)*100}const gs={correct:(t,r)=>{if(!r.target)return t;if(typeof t=="string")if(de.test(t))t=parseFloat(t);else return t;const i=_m(t,r.target.x),o=_m(t,r.target.y);return`${i}% ${o}%`}},C2={correct:(t,{treeScale:r,projectionDelta:i})=>{const o=t,l=pr.parse(t);if(l.length>5)return o;const c=pr.createTransformer(t),u=typeof l[0]!="number"?1:0,d=i.x.scale*r.x,h=i.y.scale*r.y;l[0+u]/=d,l[1+u]/=h;const y=He(d,h,.5);return typeof l[2+u]=="number"&&(l[2+u]/=y),typeof l[3+u]=="number"&&(l[3+u]/=y),c(l)}},cf={borderRadius:{...gs,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:gs,borderTopRightRadius:gs,borderBottomLeftRadius:gs,borderBottomRightRadius:gs,boxShadow:C2};function zg(t,{layout:r,layoutId:i}){return Ai.has(t)||t.startsWith("origin")||(r||i!==void 0)&&(!!cf[t]||t==="opacity")}const A2={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},F2=Ci.length;function N2(t,r,i){let o="",l=!0;for(let c=0;c<F2;c++){const u=Ci[c],d=t[u];if(d===void 0)continue;let h=!0;if(typeof d=="number"?h=d===(u.startsWith("scale")?1:0):h=parseFloat(d)===0,!h||i){const y=_g(d,td[u]);if(!h){l=!1;const m=A2[u]||u;o+=`${m}(${y}) `}i&&(r[u]=y)}}return o=o.trim(),i?o=i(r,l?"":o):l&&(o="none"),o}function ad(t,r,i){const{style:o,vars:l,transformOrigin:c}=t;let u=!1,d=!1;for(const h in r){const y=r[h];if(Ai.has(h)){u=!0;continue}else if(lg(h)){l[h]=y;continue}else{const m=_g(y,td[h]);h.startsWith("origin")?(d=!0,c[h]=m):o[h]=m}}if(r.transform||(u||i?o.transform=N2(r,t.transform,i):o.transform&&(o.transform="none")),d){const{originX:h="50%",originY:y="50%",originZ:m=0}=c;o.transformOrigin=`${h} ${y} ${m}`}}const ld=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Ug(t,r,i){for(const o in r)!vt(r[o])&&!zg(o,i)&&(t[o]=r[o])}function R2({transformTemplate:t},r){return X.useMemo(()=>{const i=ld();return ad(i,r,t),Object.assign({},i.vars,i.style)},[r])}function _2(t,r){const i=t.style||{},o={};return Ug(o,i,t),Object.assign(o,R2(t,r)),o}function O2(t,r){const i={},o=_2(t,r);return t.drag&&t.dragListener!==!1&&(i.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(i.tabIndex=0),i.style=o,i}const j2={offset:"stroke-dashoffset",array:"stroke-dasharray"},M2={offset:"strokeDashoffset",array:"strokeDasharray"};function b2(t,r,i=1,o=0,l=!0){t.pathLength=1;const c=l?j2:M2;t[c.offset]=de.transform(-o);const u=de.transform(r),d=de.transform(i);t[c.array]=`${u} ${d}`}function $g(t,{attrX:r,attrY:i,attrScale:o,pathLength:l,pathSpacing:c=1,pathOffset:u=0,...d},h,y,m){if(ad(t,d,y),h){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:v,style:x}=t;v.transform&&(x.transform=v.transform,delete v.transform),(x.transform||v.transformOrigin)&&(x.transformOrigin=v.transformOrigin??"50% 50%",delete v.transformOrigin),x.transform&&(x.transformBox=(m==null?void 0:m.transformBox)??"fill-box",delete v.transformBox),r!==void 0&&(v.x=r),i!==void 0&&(v.y=i),o!==void 0&&(v.scale=o),l!==void 0&&b2(v,l,c,u,!1)}const Hg=()=>({...ld(),attrs:{}}),Wg=t=>typeof t=="string"&&t.toLowerCase()==="svg";function D2(t,r,i,o){const l=X.useMemo(()=>{const c=Hg();return $g(c,r,Wg(o),t.transformTemplate,t.style),{...c.attrs,style:{...c.style}}},[r]);if(t.style){const c={};Ug(c,t.style,t),l.style={...c,...l.style}}return l}const I2=["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 ud(t){return typeof t!="string"||t.includes("-")?!1:!!(I2.indexOf(t)>-1||/[A-Z]/u.test(t))}function L2(t,r,i,{latestValues:o},l,c=!1){const d=(ud(t)?D2:O2)(r,o,l,t),h=P2(r,typeof t=="string",c),y=t!==X.Fragment?{...h,...d,ref:i}:{},{children:m}=r,v=X.useMemo(()=>vt(m)?m.get():m,[m]);return X.createElement(t,{...y,children:v})}function Om(t){const r=[{},{}];return t==null||t.values.forEach((i,o)=>{r[0][o]=i.get(),r[1][o]=i.getVelocity()}),r}function cd(t,r,i,o){if(typeof r=="function"){const[l,c]=Om(o);r=r(i!==void 0?i:t.custom,l,c)}if(typeof r=="string"&&(r=t.variants&&t.variants[r]),typeof r=="function"){const[l,c]=Om(o);r=r(i!==void 0?i:t.custom,l,c)}return r}function fa(t){return vt(t)?t.get():t}function V2({scrapeMotionValuesFromProps:t,createRenderState:r},i,o,l){return{latestValues:B2(i,o,l,t),renderState:r()}}function B2(t,r,i,o){const l={},c=o(t,{});for(const x in c)l[x]=fa(c[x]);let{initial:u,animate:d}=t;const h=Ma(t),y=Bg(t);r&&y&&!h&&t.inherit!==!1&&(u===void 0&&(u=r.initial),d===void 0&&(d=r.animate));let m=i?i.initial===!1:!1;m=m||u===!1;const v=m?d:u;if(v&&typeof v!="boolean"&&!ja(v)){const x=Array.isArray(v)?v:[v];for(let P=0;P<x.length;P++){const S=cd(t,x[P]);if(S){const{transitionEnd:k,transition:E,...C}=S;for(const F in C){let _=C[F];if(Array.isArray(_)){const b=m?_.length-1:0;_=_[b]}_!==null&&(l[F]=_)}for(const F in k)l[F]=k[F]}}}return l}const qg=t=>(r,i)=>{const o=X.useContext(Oa),l=X.useContext(_a),c=()=>V2(t,r,o,l);return i?c():Df(c)};function fd(t,r,i){var c;const{style:o}=t,l={};for(const u in o)(vt(o[u])||r.style&&vt(r.style[u])||zg(u,t)||((c=i==null?void 0:i.getValue(u))==null?void 0:c.liveStyle)!==void 0)&&(l[u]=o[u]);return l}const z2=qg({scrapeMotionValuesFromProps:fd,createRenderState:ld});function Kg(t,r,i){const o=fd(t,r,i);for(const l in t)if(vt(t[l])||vt(r[l])){const c=Ci.indexOf(l)!==-1?"attr"+l.charAt(0).toUpperCase()+l.substring(1):l;o[c]=t[l]}return o}const U2=qg({scrapeMotionValuesFromProps:Kg,createRenderState:Hg}),$2=Symbol.for("motionComponentSymbol");function mi(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function H2(t,r,i){return X.useCallback(o=>{o&&t.onMount&&t.onMount(o),r&&(o?r.mount(o):r.unmount()),i&&(typeof i=="function"?i(o):mi(i)&&(i.current=o))},[r])}const dd=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),W2="framerAppearId",Gg="data-"+dd(W2),Qg=X.createContext({});function q2(t,r,i,o,l){var k,E;const{visualElement:c}=X.useContext(Oa),u=X.useContext(Lg),d=X.useContext(_a),h=X.useContext(id).reducedMotion,y=X.useRef(null);o=o||u.renderer,!y.current&&o&&(y.current=o(t,{visualState:r,parent:c,props:i,presenceContext:d,blockInitialAnimation:d?d.initial===!1:!1,reducedMotionConfig:h}));const m=y.current,v=X.useContext(Qg);m&&!m.projection&&l&&(m.type==="html"||m.type==="svg")&&K2(y.current,i,l,v);const x=X.useRef(!1);X.useInsertionEffect(()=>{m&&x.current&&m.update(i,d)});const P=i[Gg],S=X.useRef(!!P&&!((k=window.MotionHandoffIsComplete)!=null&&k.call(window,P))&&((E=window.MotionHasOptimisedAnimation)==null?void 0:E.call(window,P)));return W0(()=>{m&&(x.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),m.scheduleRenderMicrotask(),S.current&&m.animationState&&m.animationState.animateChanges())}),X.useEffect(()=>{m&&(!S.current&&m.animationState&&m.animationState.animateChanges(),S.current&&(queueMicrotask(()=>{var C;(C=window.MotionHandoffMarkAsComplete)==null||C.call(window,P)}),S.current=!1),m.enteringChildren=void 0)}),m}function K2(t,r,i,o){const{layoutId:l,layout:c,drag:u,dragConstraints:d,layoutScroll:h,layoutRoot:y,layoutCrossfade:m}=r;t.projection=new i(t.latestValues,r["data-framer-portal-id"]?void 0:Xg(t.parent)),t.projection.setOptions({layoutId:l,layout:c,alwaysMeasureLayout:!!u||d&&mi(d),visualElement:t,animationType:typeof c=="string"?c:"both",initialPromotionConfig:o,crossfade:m,layoutScroll:h,layoutRoot:y})}function Xg(t){if(t)return t.options.allowProjection!==!1?t.projection:Xg(t.parent)}function zu(t,{forwardMotionProps:r=!1}={},i,o){i&&w2(i);const l=ud(t)?U2:z2;function c(d,h){let y;const m={...X.useContext(id),...d,layoutId:G2(d)},{isStatic:v}=m,x=k2(d),P=l(d,v);if(!v&&If){Q2();const S=X2(m);y=S.MeasureLayout,x.visualElement=q2(t,P,m,o,S.ProjectionNode)}return w.jsxs(Oa.Provider,{value:x,children:[y&&x.visualElement?w.jsx(y,{visualElement:x.visualElement,...m}):null,L2(t,d,H2(P,x.visualElement,h),P,v,r)]})}c.displayName=`motion.${typeof t=="string"?t:`create(${t.displayName??t.name??""})`}`;const u=X.forwardRef(c);return u[$2]=t,u}function G2({layoutId:t}){const r=X.useContext(bf).id;return r&&t!==void 0?r+"-"+t:t}function Q2(t,r){X.useContext(Lg).strict}function X2(t){const{drag:r,layout:i}=Si;if(!r&&!i)return{};const o={...r,...i};return{MeasureLayout:r!=null&&r.isEnabled(t)||i!=null&&i.isEnabled(t)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}function Y2(t,r){if(typeof Proxy>"u")return zu;const i=new Map,o=(c,u)=>zu(c,u,t,r),l=(c,u)=>o(c,u);return new Proxy(l,{get:(c,u)=>u==="create"?o:(i.has(u)||i.set(u,zu(u,void 0,t,r)),i.get(u))})}function Yg({top:t,left:r,right:i,bottom:o}){return{x:{min:r,max:i},y:{min:t,max:o}}}function J2({x:t,y:r}){return{top:r.min,right:t.max,bottom:r.max,left:t.min}}function Z2(t,r){if(!r)return t;const i=r({x:t.left,y:t.top}),o=r({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:o.y,right:o.x}}function Uu(t){return t===void 0||t===1}function ff({scale:t,scaleX:r,scaleY:i}){return!Uu(t)||!Uu(r)||!Uu(i)}function Rr(t){return ff(t)||Jg(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function Jg(t){return jm(t.x)||jm(t.y)}function jm(t){return t&&t!=="0%"}function Ea(t,r,i){const o=t-i,l=r*o;return i+l}function Mm(t,r,i,o,l){return l!==void 0&&(t=Ea(t,l,o)),Ea(t,i,o)+r}function df(t,r=0,i=1,o,l){t.min=Mm(t.min,r,i,o,l),t.max=Mm(t.max,r,i,o,l)}function Zg(t,{x:r,y:i}){df(t.x,r.translate,r.scale,r.originPoint),df(t.y,i.translate,i.scale,i.originPoint)}const bm=.999999999999,Dm=1.0000000000001;function eE(t,r,i,o=!1){const l=i.length;if(!l)return;r.x=r.y=1;let c,u;for(let d=0;d<l;d++){c=i[d],u=c.projectionDelta;const{visualElement:h}=c.options;h&&h.props.style&&h.props.style.display==="contents"||(o&&c.options.layoutScroll&&c.scroll&&c!==c.root&&gi(t,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),u&&(r.x*=u.x.scale,r.y*=u.y.scale,Zg(t,u)),o&&Rr(c.latestValues)&&gi(t,c.latestValues))}r.x<Dm&&r.x>bm&&(r.x=1),r.y<Dm&&r.y>bm&&(r.y=1)}function yi(t,r){t.min=t.min+r,t.max=t.max+r}function Im(t,r,i,o,l=.5){const c=He(t.min,t.max,l);df(t,r,i,c,o)}function gi(t,r){Im(t.x,r.x,r.scaleX,r.scale,r.originX),Im(t.y,r.y,r.scaleY,r.scale,r.originY)}function ev(t,r){return Yg(Z2(t.getBoundingClientRect(),r))}function tE(t,r,i){const o=ev(t,i),{scroll:l}=r;return l&&(yi(o.x,l.offset.x),yi(o.y,l.offset.y)),o}const Lm=()=>({translate:0,scale:1,origin:0,originPoint:0}),vi=()=>({x:Lm(),y:Lm()}),Vm=()=>({min:0,max:0}),rt=()=>({x:Vm(),y:Vm()}),pf={current:null},tv={current:!1};function nE(){if(tv.current=!0,!!If)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),r=()=>pf.current=t.matches;t.addEventListener("change",r),r()}else pf.current=!1}const rE=new WeakMap;function iE(t,r,i){for(const o in r){const l=r[o],c=i[o];if(vt(l))t.addValue(o,l);else if(vt(c))t.addValue(o,wi(l,{owner:t}));else if(c!==l)if(t.hasValue(o)){const u=t.getValue(o);u.liveStyle===!0?u.jump(l):u.hasAnimated||u.set(l)}else{const u=t.getStaticValue(o);t.addValue(o,wi(u!==void 0?u:l,{owner:t}))}}for(const o in i)r[o]===void 0&&t.removeValue(o);return r}const Bm=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class sE{scrapeMotionValuesFromProps(r,i,o){return{}}constructor({parent:r,props:i,presenceContext:o,reducedMotionConfig:l,blockInitialAnimation:c,visualState:u},d={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Zf,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},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 x=Mt.now();this.renderScheduledAt<x&&(this.renderScheduledAt=x,ze.render(this.render,!1,!0))};const{latestValues:h,renderState:y}=u;this.latestValues=h,this.baseTarget={...h},this.initialValues=i.initial?{...h}:{},this.renderState=y,this.parent=r,this.props=i,this.presenceContext=o,this.depth=r?r.depth+1:0,this.reducedMotionConfig=l,this.options=d,this.blockInitialAnimation=!!c,this.isControllingVariants=Ma(i),this.isVariantNode=Bg(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(r&&r.current);const{willChange:m,...v}=this.scrapeMotionValuesFromProps(i,{},this);for(const x in v){const P=v[x];h[x]!==void 0&&vt(P)&&P.set(h[x])}}mount(r){var i;this.current=r,rE.set(r,this),this.projection&&!this.projection.instance&&this.projection.mount(r),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((o,l)=>this.bindToMotionValue(l,o)),tv.current||nE(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:pf.current,(i=this.parent)==null||i.addChild(this),this.update(this.props,this.presenceContext)}unmount(){var r;this.projection&&this.projection.unmount(),dr(this.notifyUpdate),dr(this.render),this.valueSubscriptions.forEach(i=>i()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(r=this.parent)==null||r.removeChild(this);for(const i in this.events)this.events[i].clear();for(const i in this.features){const o=this.features[i];o&&(o.unmount(),o.isMounted=!1)}this.current=null}addChild(r){this.children.add(r),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(r)}removeChild(r){this.children.delete(r),this.enteringChildren&&this.enteringChildren.delete(r)}bindToMotionValue(r,i){this.valueSubscriptions.has(r)&&this.valueSubscriptions.get(r)();const o=Ai.has(r);o&&this.onBindTransform&&this.onBindTransform();const l=i.on("change",u=>{this.latestValues[r]=u,this.props.onUpdate&&ze.preRender(this.notifyUpdate),o&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let c;window.MotionCheckAppearSync&&(c=window.MotionCheckAppearSync(this,r,i)),this.valueSubscriptions.set(r,()=>{l(),c&&c(),i.owner&&i.stop()})}sortNodePosition(r){return!this.current||!this.sortInstanceNodePosition||this.type!==r.type?0:this.sortInstanceNodePosition(this.current,r.current)}updateFeatures(){let r="animation";for(r in Si){const i=Si[r];if(!i)continue;const{isEnabled:o,Feature:l}=i;if(!this.features[r]&&l&&o(this.props)&&(this.features[r]=new l(this)),this.features[r]){const c=this.features[r];c.isMounted?c.update():(c.mount(),c.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):rt()}getStaticValue(r){return this.latestValues[r]}setStaticValue(r,i){this.latestValues[r]=i}update(r,i){(r.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=r,this.prevPresenceContext=this.presenceContext,this.presenceContext=i;for(let o=0;o<Bm.length;o++){const l=Bm[o];this.propEventSubscriptions[l]&&(this.propEventSubscriptions[l](),delete this.propEventSubscriptions[l]);const c="on"+l,u=r[c];u&&(this.propEventSubscriptions[l]=this.on(l,u))}this.prevMotionValues=iE(this,this.scrapeMotionValuesFromProps(r,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(r){return this.props.variants?this.props.variants[r]: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(r){const i=this.getClosestVariantNode();if(i)return i.variantChildren&&i.variantChildren.add(r),()=>i.variantChildren.delete(r)}addValue(r,i){const o=this.values.get(r);i!==o&&(o&&this.removeValue(r),this.bindToMotionValue(r,i),this.values.set(r,i),this.latestValues[r]=i.get())}removeValue(r){this.values.delete(r);const i=this.valueSubscriptions.get(r);i&&(i(),this.valueSubscriptions.delete(r)),delete this.latestValues[r],this.removeValueFromRenderState(r,this.renderState)}hasValue(r){return this.values.has(r)}getValue(r,i){if(this.props.values&&this.props.values[r])return this.props.values[r];let o=this.values.get(r);return o===void 0&&i!==void 0&&(o=wi(i===null?void 0:i,{owner:this}),this.addValue(r,o)),o}readValue(r,i){let o=this.latestValues[r]!==void 0||!this.current?this.latestValues[r]:this.getBaseTargetFromProps(this.props,r)??this.readValueFromInstance(this.current,r,this.options);return o!=null&&(typeof o=="string"&&(q0(o)||G0(o))?o=parseFloat(o):!d2(o)&&pr.test(i)&&(o=Rg(r,i)),this.setBaseTarget(r,vt(o)?o.get():o)),vt(o)?o.get():o}setBaseTarget(r,i){this.baseTarget[r]=i}getBaseTarget(r){var c;const{initial:i}=this.props;let o;if(typeof i=="string"||typeof i=="object"){const u=cd(this.props,i,(c=this.presenceContext)==null?void 0:c.custom);u&&(o=u[r])}if(i&&o!==void 0)return o;const l=this.getBaseTargetFromProps(this.props,r);return l!==void 0&&!vt(l)?l:this.initialValues[r]!==void 0&&o===void 0?void 0:this.baseTarget[r]}on(r,i){return this.events[r]||(this.events[r]=new Uf),this.events[r].add(i)}notify(r,...i){this.events[r]&&this.events[r].notify(...i)}scheduleRenderMicrotask(){nd.render(this.render)}}class nv extends sE{constructor(){super(...arguments),this.KeyframeResolver=e2}sortInstanceNodePosition(r,i){return r.compareDocumentPosition(i)&2?1:-1}getBaseTargetFromProps(r,i){return r.style?r.style[i]:void 0}removeValueFromRenderState(r,{vars:i,style:o}){delete i[r],delete o[r]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:r}=this.props;vt(r)&&(this.childSubscription=r.on("change",i=>{this.current&&(this.current.textContent=`${i}`)}))}}function rv(t,{style:r,vars:i},o,l){const c=t.style;let u;for(u in r)c[u]=r[u];l==null||l.applyProjectionStyles(c,o);for(u in i)c.setProperty(u,i[u])}function oE(t){return window.getComputedStyle(t)}class aE extends nv{constructor(){super(...arguments),this.type="html",this.renderInstance=rv}readValueFromInstance(r,i){var o;if(Ai.has(i))return(o=this.projection)!=null&&o.isProjecting?nf(i):xS(r,i);{const l=oE(r),c=(lg(i)?l.getPropertyValue(i):l[i])||0;return typeof c=="string"?c.trim():c}}measureInstanceViewportBox(r,{transformPagePoint:i}){return ev(r,i)}build(r,i,o){ad(r,i,o.transformTemplate)}scrapeMotionValuesFromProps(r,i,o){return fd(r,i,o)}}const iv=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"]);function lE(t,r,i,o){rv(t,r,void 0,o);for(const l in r.attrs)t.setAttribute(iv.has(l)?l:dd(l),r.attrs[l])}class uE extends nv{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=rt}getBaseTargetFromProps(r,i){return r[i]}readValueFromInstance(r,i){if(Ai.has(i)){const o=Ng(i);return o&&o.default||0}return i=iv.has(i)?i:dd(i),r.getAttribute(i)}scrapeMotionValuesFromProps(r,i,o){return Kg(r,i,o)}build(r,i,o){$g(r,i,this.isSVGTag,o.transformTemplate,o.style)}renderInstance(r,i,o,l){lE(r,i,o,l)}mount(r){this.isSVGTag=Wg(r.tagName),super.mount(r)}}const cE=(t,r)=>ud(t)?new uE(r):new aE(r,{allowProjection:t!==X.Fragment});function xi(t,r,i){const o=t.getProps();return cd(o,r,i!==void 0?i:o.custom,t)}const hf=t=>Array.isArray(t);function fE(t,r,i){t.hasValue(r)?t.getValue(r).set(i):t.addValue(r,wi(i))}function dE(t){return hf(t)?t[t.length-1]||0:t}function pE(t,r){const i=xi(t,r);let{transitionEnd:o={},transition:l={},...c}=i||{};c={...c,...o};for(const u in c){const d=dE(c[u]);fE(t,u,d)}}function hE(t){return!!(vt(t)&&t.add)}function mf(t,r){const i=t.getValue("willChange");if(hE(i))return i.add(r);if(!i&&Vn.WillChange){const o=new Vn.WillChange("auto");t.addValue("willChange",o),o.add(r)}}function sv(t){return t.props[Gg]}const mE=t=>t!==null;function yE(t,{repeat:r,repeatType:i="loop"},o){const l=t.filter(mE),c=r&&i!=="loop"&&r%2===1?0:l.length-1;return l[c]}const gE={type:"spring",stiffness:500,damping:25,restSpeed:10},vE=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),xE={type:"keyframes",duration:.8},wE={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},SE=(t,{keyframes:r})=>r.length>2?xE:Ai.has(t)?t.startsWith("scale")?vE(r[1]):gE:wE;function EE({when:t,delay:r,delayChildren:i,staggerChildren:o,staggerDirection:l,repeat:c,repeatType:u,repeatDelay:d,from:h,elapsed:y,...m}){return!!Object.keys(m).length}const pd=(t,r,i,o={},l,c)=>u=>{const d=ed(o,t)||{},h=d.delay||o.delay||0;let{elapsed:y=0}=o;y=y-En(h);const m={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:r.getVelocity(),...d,delay:-y,onUpdate:x=>{r.set(x),d.onUpdate&&d.onUpdate(x)},onComplete:()=>{u(),d.onComplete&&d.onComplete()},name:t,motionValue:r,element:c?void 0:l};EE(d)||Object.assign(m,SE(t,m)),m.duration&&(m.duration=En(m.duration)),m.repeatDelay&&(m.repeatDelay=En(m.repeatDelay)),m.from!==void 0&&(m.keyframes[0]=m.from);let v=!1;if((m.type===!1||m.duration===0&&!m.repeatDelay)&&(lf(m),m.delay===0&&(v=!0)),(Vn.instantAnimations||Vn.skipAnimations)&&(v=!0,lf(m),m.delay=0),m.allowFlatten=!d.type&&!d.ease,v&&!c&&r.get()!==void 0){const x=yE(m.keyframes,d);if(x!==void 0){ze.update(()=>{m.onUpdate(x),m.onComplete()});return}}return d.isSync?new Jf(m):new US(m)};function PE({protectedKeys:t,needsAnimating:r},i){const o=t.hasOwnProperty(i)&&r[i]!==!0;return r[i]=!1,o}function ov(t,r,{delay:i=0,transitionOverride:o,type:l}={}){let{transition:c=t.getDefaultTransition(),transitionEnd:u,...d}=r;o&&(c=o);const h=[],y=l&&t.animationState&&t.animationState.getState()[l];for(const m in d){const v=t.getValue(m,t.latestValues[m]??null),x=d[m];if(x===void 0||y&&PE(y,m))continue;const P={delay:i,...ed(c||{},m)},S=v.get();if(S!==void 0&&!v.isAnimating&&!Array.isArray(x)&&x===S&&!P.velocity)continue;let k=!1;if(window.MotionHandoffAnimation){const C=sv(t);if(C){const F=window.MotionHandoffAnimation(C,m,ze);F!==null&&(P.startTime=F,k=!0)}}mf(t,m),v.start(pd(m,v,x,t.shouldReduceMotion&&Cg.has(m)?{type:!1}:P,t,k));const E=v.animation;E&&h.push(E)}return u&&Promise.all(h).then(()=>{ze.update(()=>{u&&pE(t,u)})}),h}function av(t,r,i,o=0,l=1){const c=Array.from(t).sort((y,m)=>y.sortNodePosition(m)).indexOf(r),u=t.size,d=(u-1)*o;return typeof i=="function"?i(c,u):l===1?c*o:d-c*o}function yf(t,r,i={}){var h;const o=xi(t,r,i.type==="exit"?(h=t.presenceContext)==null?void 0:h.custom:void 0);let{transition:l=t.getDefaultTransition()||{}}=o||{};i.transitionOverride&&(l=i.transitionOverride);const c=o?()=>Promise.all(ov(t,o,i)):()=>Promise.resolve(),u=t.variantChildren&&t.variantChildren.size?(y=0)=>{const{delayChildren:m=0,staggerChildren:v,staggerDirection:x}=l;return TE(t,r,y,m,v,x,i)}:()=>Promise.resolve(),{when:d}=l;if(d){const[y,m]=d==="beforeChildren"?[c,u]:[u,c];return y().then(()=>m())}else return Promise.all([c(),u(i.delay)])}function TE(t,r,i=0,o=0,l=0,c=1,u){const d=[];for(const h of t.variantChildren)h.notify("AnimationStart",r),d.push(yf(h,r,{...u,delay:i+(typeof o=="function"?0:o)+av(t.variantChildren,h,o,l,c)}).then(()=>h.notify("AnimationComplete",r)));return Promise.all(d)}function kE(t,r,i={}){t.notify("AnimationStart",r);let o;if(Array.isArray(r)){const l=r.map(c=>yf(t,c,i));o=Promise.all(l)}else if(typeof r=="string")o=yf(t,r,i);else{const l=typeof r=="function"?xi(t,r,i.custom):r;o=Promise.all(ov(t,l,i))}return o.then(()=>{t.notify("AnimationComplete",r)})}function lv(t,r){if(!Array.isArray(r))return!1;const i=r.length;if(i!==t.length)return!1;for(let o=0;o<i;o++)if(r[o]!==t[o])return!1;return!0}const CE=od.length;function uv(t){if(!t)return;if(!t.isControllingVariants){const i=t.parent?uv(t.parent)||{}:{};return t.props.initial!==void 0&&(i.initial=t.props.initial),i}const r={};for(let i=0;i<CE;i++){const o=od[i],l=t.props[o];(As(l)||l===!1)&&(r[o]=l)}return r}const AE=[...sd].reverse(),FE=sd.length;function NE(t){return r=>Promise.all(r.map(({animation:i,options:o})=>kE(t,i,o)))}function RE(t){let r=NE(t),i=zm(),o=!0;const l=h=>(y,m)=>{var x;const v=xi(t,m,h==="exit"?(x=t.presenceContext)==null?void 0:x.custom:void 0);if(v){const{transition:P,transitionEnd:S,...k}=v;y={...y,...k,...S}}return y};function c(h){r=h(t)}function u(h){const{props:y}=t,m=uv(t.parent)||{},v=[],x=new Set;let P={},S=1/0;for(let E=0;E<FE;E++){const C=AE[E],F=i[C],_=y[C]!==void 0?y[C]:m[C],b=As(_),V=C===h?F.isActive:null;V===!1&&(S=E);let z=_===m[C]&&_!==y[C]&&b;if(z&&o&&t.manuallyAnimateOnMount&&(z=!1),F.protectedKeys={...P},!F.isActive&&V===null||!_&&!F.prevProp||ja(_)||typeof _=="boolean")continue;const $=_E(F.prevProp,_);let H=$||C===h&&F.isActive&&!z&&b||E>S&&b,ie=!1;const Z=Array.isArray(_)?_:[_];let he=Z.reduce(l(C),{});V===!1&&(he={});const{prevResolvedValues:te={}}=F,Ee={...te,...he},xe=ae=>{H=!0,x.has(ae)&&(ie=!0,x.delete(ae)),F.needsAnimating[ae]=!0;const B=t.getValue(ae);B&&(B.liveStyle=!1)};for(const ae in Ee){const B=he[ae],J=te[ae];if(P.hasOwnProperty(ae))continue;let Y=!1;hf(B)&&hf(J)?Y=!lv(B,J):Y=B!==J,Y?B!=null?xe(ae):x.add(ae):B!==void 0&&x.has(ae)?xe(ae):F.protectedKeys[ae]=!0}F.prevProp=_,F.prevResolvedValues=he,F.isActive&&(P={...P,...he}),o&&t.blockInitialAnimation&&(H=!1);const Re=z&&$;H&&(!Re||ie)&&v.push(...Z.map(ae=>{const B={type:C};if(typeof ae=="string"&&o&&!Re&&t.manuallyAnimateOnMount&&t.parent){const{parent:J}=t,Y=xi(J,ae);if(J.enteringChildren&&Y){const{delayChildren:R}=Y.transition||{};B.delay=av(J.enteringChildren,t,R)}}return{animation:ae,options:B}}))}if(x.size){const E={};if(typeof y.initial!="boolean"){const C=xi(t,Array.isArray(y.initial)?y.initial[0]:y.initial);C&&C.transition&&(E.transition=C.transition)}x.forEach(C=>{const F=t.getBaseTarget(C),_=t.getValue(C);_&&(_.liveStyle=!0),E[C]=F??null}),v.push({animation:E})}let k=!!v.length;return o&&(y.initial===!1||y.initial===y.animate)&&!t.manuallyAnimateOnMount&&(k=!1),o=!1,k?r(v):Promise.resolve()}function d(h,y){var v;if(i[h].isActive===y)return Promise.resolve();(v=t.variantChildren)==null||v.forEach(x=>{var P;return(P=x.animationState)==null?void 0:P.setActive(h,y)}),i[h].isActive=y;const m=u(h);for(const x in i)i[x].protectedKeys={};return m}return{animateChanges:u,setActive:d,setAnimateFunction:c,getState:()=>i,reset:()=>{i=zm()}}}function _E(t,r){return typeof r=="string"?r!==t:Array.isArray(r)?!lv(r,t):!1}function Nr(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function zm(){return{animate:Nr(!0),whileInView:Nr(),whileHover:Nr(),whileTap:Nr(),whileDrag:Nr(),whileFocus:Nr(),exit:Nr()}}class mr{constructor(r){this.isMounted=!1,this.node=r}update(){}}class OE extends mr{constructor(r){super(r),r.animationState||(r.animationState=RE(r))}updateAnimationControlsSubscription(){const{animate:r}=this.node.getProps();ja(r)&&(this.unmountControls=r.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:r}=this.node.getProps(),{animate:i}=this.node.prevProps||{};r!==i&&this.updateAnimationControlsSubscription()}unmount(){var r;this.node.animationState.reset(),(r=this.unmountControls)==null||r.call(this)}}let jE=0;class ME extends mr{constructor(){super(...arguments),this.id=jE++}update(){if(!this.node.presenceContext)return;const{isPresent:r,onExitComplete:i}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||r===o)return;const l=this.node.animationState.setActive("exit",!r);i&&!r&&l.then(()=>{i(this.id)})}mount(){const{register:r,onExitComplete:i}=this.node.presenceContext||{};i&&i(this.id),r&&(this.unmount=r(this.id))}unmount(){}}const bE={animation:{Feature:OE},exit:{Feature:ME}};function Fs(t,r,i,o={passive:!0}){return t.addEventListener(r,i,o),()=>t.removeEventListener(r,i)}function bs(t){return{point:{x:t.pageX,y:t.pageY}}}const DE=t=>r=>rd(r)&&t(r,bs(r));function Es(t,r,i,o){return Fs(t,r,DE(i),o)}const cv=1e-4,IE=1-cv,LE=1+cv,fv=.01,VE=0-fv,BE=0+fv;function kt(t){return t.max-t.min}function zE(t,r,i){return Math.abs(t-r)<=i}function Um(t,r,i,o=.5){t.origin=o,t.originPoint=He(r.min,r.max,t.origin),t.scale=kt(i)/kt(r),t.translate=He(i.min,i.max,t.origin)-t.originPoint,(t.scale>=IE&&t.scale<=LE||isNaN(t.scale))&&(t.scale=1),(t.translate>=VE&&t.translate<=BE||isNaN(t.translate))&&(t.translate=0)}function Ps(t,r,i,o){Um(t.x,r.x,i.x,o?o.originX:void 0),Um(t.y,r.y,i.y,o?o.originY:void 0)}function $m(t,r,i){t.min=i.min+r.min,t.max=t.min+kt(r)}function UE(t,r,i){$m(t.x,r.x,i.x),$m(t.y,r.y,i.y)}function Hm(t,r,i){t.min=r.min-i.min,t.max=t.min+kt(r)}function Pa(t,r,i){Hm(t.x,r.x,i.x),Hm(t.y,r.y,i.y)}function Gt(t){return[t("x"),t("y")]}const dv=({current:t})=>t?t.ownerDocument.defaultView:null,Wm=(t,r)=>Math.abs(t-r);function $E(t,r){const i=Wm(t.x,r.x),o=Wm(t.y,r.y);return Math.sqrt(i**2+o**2)}class pv{constructor(r,i,{transformPagePoint:o,contextWindow:l=window,dragSnapToOrigin:c=!1,distanceThreshold:u=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const x=Hu(this.lastMoveEventInfo,this.history),P=this.startEvent!==null,S=$E(x.offset,{x:0,y:0})>=this.distanceThreshold;if(!P&&!S)return;const{point:k}=x,{timestamp:E}=ft;this.history.push({...k,timestamp:E});const{onStart:C,onMove:F}=this.handlers;P||(C&&C(this.lastMoveEvent,x),this.startEvent=this.lastMoveEvent),F&&F(this.lastMoveEvent,x)},this.handlePointerMove=(x,P)=>{this.lastMoveEvent=x,this.lastMoveEventInfo=$u(P,this.transformPagePoint),ze.update(this.updatePoint,!0)},this.handlePointerUp=(x,P)=>{this.end();const{onEnd:S,onSessionEnd:k,resumeAnimation:E}=this.handlers;if(this.dragSnapToOrigin&&E&&E(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const C=Hu(x.type==="pointercancel"?this.lastMoveEventInfo:$u(P,this.transformPagePoint),this.history);this.startEvent&&S&&S(x,C),k&&k(x,C)},!rd(r))return;this.dragSnapToOrigin=c,this.handlers=i,this.transformPagePoint=o,this.distanceThreshold=u,this.contextWindow=l||window;const d=bs(r),h=$u(d,this.transformPagePoint),{point:y}=h,{timestamp:m}=ft;this.history=[{...y,timestamp:m}];const{onSessionStart:v}=i;v&&v(r,Hu(h,this.history)),this.removeListeners=Os(Es(this.contextWindow,"pointermove",this.handlePointerMove),Es(this.contextWindow,"pointerup",this.handlePointerUp),Es(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(r){this.handlers=r}end(){this.removeListeners&&this.removeListeners(),dr(this.updatePoint)}}function $u(t,r){return r?{point:r(t.point)}:t}function qm(t,r){return{x:t.x-r.x,y:t.y-r.y}}function Hu({point:t},r){return{point:t,delta:qm(t,hv(r)),offset:qm(t,HE(r)),velocity:WE(r,.1)}}function HE(t){return t[0]}function hv(t){return t[t.length-1]}function WE(t,r){if(t.length<2)return{x:0,y:0};let i=t.length-1,o=null;const l=hv(t);for(;i>=0&&(o=t[i],!(l.timestamp-o.timestamp>En(r)));)i--;if(!o)return{x:0,y:0};const c=Qt(l.timestamp-o.timestamp);if(c===0)return{x:0,y:0};const u={x:(l.x-o.x)/c,y:(l.y-o.y)/c};return u.x===1/0&&(u.x=0),u.y===1/0&&(u.y=0),u}function qE(t,{min:r,max:i},o){return r!==void 0&&t<r?t=o?He(r,t,o.min):Math.max(t,r):i!==void 0&&t>i&&(t=o?He(i,t,o.max):Math.min(t,i)),t}function Km(t,r,i){return{min:r!==void 0?t.min+r:void 0,max:i!==void 0?t.max+i-(t.max-t.min):void 0}}function KE(t,{top:r,left:i,bottom:o,right:l}){return{x:Km(t.x,i,l),y:Km(t.y,r,o)}}function Gm(t,r){let i=r.min-t.min,o=r.max-t.max;return r.max-r.min<t.max-t.min&&([i,o]=[o,i]),{min:i,max:o}}function GE(t,r){return{x:Gm(t.x,r.x),y:Gm(t.y,r.y)}}function QE(t,r){let i=.5;const o=kt(t),l=kt(r);return l>o?i=Ts(r.min,r.max-o,t.min):o>l&&(i=Ts(t.min,t.max-l,r.min)),Ln(0,1,i)}function XE(t,r){const i={};return r.min!==void 0&&(i.min=r.min-t.min),r.max!==void 0&&(i.max=r.max-t.min),i}const gf=.35;function YE(t=gf){return t===!1?t=0:t===!0&&(t=gf),{x:Qm(t,"left","right"),y:Qm(t,"top","bottom")}}function Qm(t,r,i){return{min:Xm(t,r),max:Xm(t,i)}}function Xm(t,r){return typeof t=="number"?t:t[r]||0}const JE=new WeakMap;class ZE{constructor(r){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=rt(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=r}start(r,{snapToCursor:i=!1,distanceThreshold:o}={}){const{presenceContext:l}=this.visualElement;if(l&&l.isPresent===!1)return;const c=v=>{const{dragSnapToOrigin:x}=this.getProps();x?this.pauseAnimation():this.stopAnimation(),i&&this.snapToCursor(bs(v).point)},u=(v,x)=>{const{drag:P,dragPropagation:S,onDragStart:k}=this.getProps();if(P&&!S&&(this.openDragLock&&this.openDragLock(),this.openDragLock=i2(P),!this.openDragLock))return;this.latestPointerEvent=v,this.latestPanInfo=x,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Gt(C=>{let F=this.getAxisMotionValue(C).get()||0;if(Pn.test(F)){const{projection:_}=this.visualElement;if(_&&_.layout){const b=_.layout.layoutBox[C];b&&(F=kt(b)*(parseFloat(F)/100))}}this.originPoint[C]=F}),k&&ze.postRender(()=>k(v,x)),mf(this.visualElement,"transform");const{animationState:E}=this.visualElement;E&&E.setActive("whileDrag",!0)},d=(v,x)=>{this.latestPointerEvent=v,this.latestPanInfo=x;const{dragPropagation:P,dragDirectionLock:S,onDirectionLock:k,onDrag:E}=this.getProps();if(!P&&!this.openDragLock)return;const{offset:C}=x;if(S&&this.currentDirection===null){this.currentDirection=eP(C),this.currentDirection!==null&&k&&k(this.currentDirection);return}this.updateAxis("x",x.point,C),this.updateAxis("y",x.point,C),this.visualElement.render(),E&&E(v,x)},h=(v,x)=>{this.latestPointerEvent=v,this.latestPanInfo=x,this.stop(v,x),this.latestPointerEvent=null,this.latestPanInfo=null},y=()=>Gt(v=>{var x;return this.getAnimationState(v)==="paused"&&((x=this.getAxisMotionValue(v).animation)==null?void 0:x.play())}),{dragSnapToOrigin:m}=this.getProps();this.panSession=new pv(r,{onSessionStart:c,onStart:u,onMove:d,onSessionEnd:h,resumeAnimation:y},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:m,distanceThreshold:o,contextWindow:dv(this.visualElement)})}stop(r,i){const o=r||this.latestPointerEvent,l=i||this.latestPanInfo,c=this.isDragging;if(this.cancel(),!c||!l||!o)return;const{velocity:u}=l;this.startAnimation(u);const{onDragEnd:d}=this.getProps();d&&ze.postRender(()=>d(o,l))}cancel(){this.isDragging=!1;const{projection:r,animationState:i}=this.visualElement;r&&(r.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:o}=this.getProps();!o&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),i&&i.setActive("whileDrag",!1)}updateAxis(r,i,o){const{drag:l}=this.getProps();if(!o||!oa(r,l,this.currentDirection))return;const c=this.getAxisMotionValue(r);let u=this.originPoint[r]+o[r];this.constraints&&this.constraints[r]&&(u=qE(u,this.constraints[r],this.elastic[r])),c.set(u)}resolveConstraints(){var c;const{dragConstraints:r,dragElastic:i}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(c=this.visualElement.projection)==null?void 0:c.layout,l=this.constraints;r&&mi(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&&o?this.constraints=KE(o.layoutBox,r):this.constraints=!1,this.elastic=YE(i),l!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Gt(u=>{this.constraints!==!1&&this.getAxisMotionValue(u)&&(this.constraints[u]=XE(o.layoutBox[u],this.constraints[u]))})}resolveRefConstraints(){const{dragConstraints:r,onMeasureDragConstraints:i}=this.getProps();if(!r||!mi(r))return!1;const o=r.current,{projection:l}=this.visualElement;if(!l||!l.layout)return!1;const c=tE(o,l.root,this.visualElement.getTransformPagePoint());let u=GE(l.layout.layoutBox,c);if(i){const d=i(J2(u));this.hasMutatedConstraints=!!d,d&&(u=Yg(d))}return u}startAnimation(r){const{drag:i,dragMomentum:o,dragElastic:l,dragTransition:c,dragSnapToOrigin:u,onDragTransitionEnd:d}=this.getProps(),h=this.constraints||{},y=Gt(m=>{if(!oa(m,i,this.currentDirection))return;let v=h&&h[m]||{};u&&(v={min:0,max:0});const x=l?200:1e6,P=l?40:1e7,S={type:"inertia",velocity:o?r[m]:0,bounceStiffness:x,bounceDamping:P,timeConstant:750,restDelta:1,restSpeed:10,...c,...v};return this.startAxisValueAnimation(m,S)});return Promise.all(y).then(d)}startAxisValueAnimation(r,i){const o=this.getAxisMotionValue(r);return mf(this.visualElement,r),o.start(pd(r,o,0,i,this.visualElement,!1))}stopAnimation(){Gt(r=>this.getAxisMotionValue(r).stop())}pauseAnimation(){Gt(r=>{var i;return(i=this.getAxisMotionValue(r).animation)==null?void 0:i.pause()})}getAnimationState(r){var i;return(i=this.getAxisMotionValue(r).animation)==null?void 0:i.state}getAxisMotionValue(r){const i=`_drag${r.toUpperCase()}`,o=this.visualElement.getProps(),l=o[i];return l||this.visualElement.getValue(r,(o.initial?o.initial[r]:void 0)||0)}snapToCursor(r){Gt(i=>{const{drag:o}=this.getProps();if(!oa(i,o,this.currentDirection))return;const{projection:l}=this.visualElement,c=this.getAxisMotionValue(i);if(l&&l.layout){const{min:u,max:d}=l.layout.layoutBox[i];c.set(r[i]-He(u,d,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:r,dragConstraints:i}=this.getProps(),{projection:o}=this.visualElement;if(!mi(i)||!o||!this.constraints)return;this.stopAnimation();const l={x:0,y:0};Gt(u=>{const d=this.getAxisMotionValue(u);if(d&&this.constraints!==!1){const h=d.get();l[u]=QE({min:h,max:h},this.constraints[u])}});const{transformTemplate:c}=this.visualElement.getProps();this.visualElement.current.style.transform=c?c({},""):"none",o.root&&o.root.updateScroll(),o.updateLayout(),this.resolveConstraints(),Gt(u=>{if(!oa(u,r,null))return;const d=this.getAxisMotionValue(u),{min:h,max:y}=this.constraints[u];d.set(He(h,y,l[u]))})}addListeners(){if(!this.visualElement.current)return;JE.set(this.visualElement,this);const r=this.visualElement.current,i=Es(r,"pointerdown",h=>{const{drag:y,dragListener:m=!0}=this.getProps();y&&m&&this.start(h)}),o=()=>{const{dragConstraints:h}=this.getProps();mi(h)&&h.current&&(this.constraints=this.resolveRefConstraints())},{projection:l}=this.visualElement,c=l.addEventListener("measure",o);l&&!l.layout&&(l.root&&l.root.updateScroll(),l.updateLayout()),ze.read(o);const u=Fs(window,"resize",()=>this.scalePositionWithinConstraints()),d=l.addEventListener("didUpdate",(({delta:h,hasLayoutChanged:y})=>{this.isDragging&&y&&(Gt(m=>{const v=this.getAxisMotionValue(m);v&&(this.originPoint[m]+=h[m].translate,v.set(v.get()+h[m].translate))}),this.visualElement.render())}));return()=>{u(),i(),c(),d&&d()}}getProps(){const r=this.visualElement.getProps(),{drag:i=!1,dragDirectionLock:o=!1,dragPropagation:l=!1,dragConstraints:c=!1,dragElastic:u=gf,dragMomentum:d=!0}=r;return{...r,drag:i,dragDirectionLock:o,dragPropagation:l,dragConstraints:c,dragElastic:u,dragMomentum:d}}}function oa(t,r,i){return(r===!0||r===t)&&(i===null||i===t)}function eP(t,r=10){let i=null;return Math.abs(t.y)>r?i="y":Math.abs(t.x)>r&&(i="x"),i}class tP extends mr{constructor(r){super(r),this.removeGroupControls=Xt,this.removeListeners=Xt,this.controls=new ZE(r)}mount(){const{dragControls:r}=this.node.getProps();r&&(this.removeGroupControls=r.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Xt}unmount(){this.removeGroupControls(),this.removeListeners()}}const Ym=t=>(r,i)=>{t&&ze.postRender(()=>t(r,i))};class nP extends mr{constructor(){super(...arguments),this.removePointerDownListener=Xt}onPointerDown(r){this.session=new pv(r,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:dv(this.node)})}createPanHandlers(){const{onPanSessionStart:r,onPanStart:i,onPan:o,onPanEnd:l}=this.node.getProps();return{onSessionStart:Ym(r),onStart:Ym(i),onMove:o,onEnd:(c,u)=>{delete this.session,l&&ze.postRender(()=>l(c,u))}}}mount(){this.removePointerDownListener=Es(this.node.current,"pointerdown",r=>this.onPointerDown(r))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const da={hasAnimatedSinceResize:!0,hasEverUpdated:!1};let Wu=!1;class rP extends X.Component{componentDidMount(){const{visualElement:r,layoutGroup:i,switchLayoutGroup:o,layoutId:l}=this.props,{projection:c}=r;c&&(i.group&&i.group.add(c),o&&o.register&&l&&o.register(c),Wu&&c.root.didUpdate(),c.addEventListener("animationComplete",()=>{this.safeToRemove()}),c.setOptions({...c.options,onExitComplete:()=>this.safeToRemove()})),da.hasEverUpdated=!0}getSnapshotBeforeUpdate(r){const{layoutDependency:i,visualElement:o,drag:l,isPresent:c}=this.props,{projection:u}=o;return u&&(u.isPresent=c,Wu=!0,l||r.layoutDependency!==i||i===void 0||r.isPresent!==c?u.willUpdate():this.safeToRemove(),r.isPresent!==c&&(c?u.promote():u.relegate()||ze.postRender(()=>{const d=u.getStack();(!d||!d.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:r}=this.props.visualElement;r&&(r.root.didUpdate(),nd.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:r,layoutGroup:i,switchLayoutGroup:o}=this.props,{projection:l}=r;Wu=!0,l&&(l.scheduleCheckAfterUnmount(),i&&i.group&&i.group.remove(l),o&&o.deregister&&o.deregister(l))}safeToRemove(){const{safeToRemove:r}=this.props;r&&r()}render(){return null}}function mv(t){const[r,i]=Ig(),o=X.useContext(bf);return w.jsx(rP,{...t,layoutGroup:o,switchLayoutGroup:X.useContext(Qg),isPresent:r,safeToRemove:i})}function iP(t,r,i){const o=vt(t)?t:wi(t);return o.start(pd("",o,r,i)),o.animation}const sP=(t,r)=>t.depth-r.depth;class oP{constructor(){this.children=[],this.isDirty=!1}add(r){Lf(this.children,r),this.isDirty=!0}remove(r){Vf(this.children,r),this.isDirty=!0}forEach(r){this.isDirty&&this.children.sort(sP),this.isDirty=!1,this.children.forEach(r)}}function aP(t,r){const i=Mt.now(),o=({timestamp:l})=>{const c=l-i;c>=r&&(dr(o),t(c-r))};return ze.setup(o,!0),()=>dr(o)}const yv=["TopLeft","TopRight","BottomLeft","BottomRight"],lP=yv.length,Jm=t=>typeof t=="string"?parseFloat(t):t,Zm=t=>typeof t=="number"||de.test(t);function uP(t,r,i,o,l,c){l?(t.opacity=He(0,i.opacity??1,cP(o)),t.opacityExit=He(r.opacity??1,0,fP(o))):c&&(t.opacity=He(r.opacity??1,i.opacity??1,o));for(let u=0;u<lP;u++){const d=`border${yv[u]}Radius`;let h=ey(r,d),y=ey(i,d);if(h===void 0&&y===void 0)continue;h||(h=0),y||(y=0),h===0||y===0||Zm(h)===Zm(y)?(t[d]=Math.max(He(Jm(h),Jm(y),o),0),(Pn.test(y)||Pn.test(h))&&(t[d]+="%")):t[d]=y}(r.rotate||i.rotate)&&(t.rotate=He(r.rotate||0,i.rotate||0,o))}function ey(t,r){return t[r]!==void 0?t[r]:t.borderRadius}const cP=gv(0,.5,ng),fP=gv(.5,.95,Xt);function gv(t,r,i){return o=>o<t?0:o>r?1:i(Ts(t,r,o))}function ty(t,r){t.min=r.min,t.max=r.max}function ln(t,r){ty(t.x,r.x),ty(t.y,r.y)}function ny(t,r){t.translate=r.translate,t.scale=r.scale,t.originPoint=r.originPoint,t.origin=r.origin}function ry(t,r,i,o,l){return t-=r,t=Ea(t,1/i,o),l!==void 0&&(t=Ea(t,1/l,o)),t}function dP(t,r=0,i=1,o=.5,l,c=t,u=t){if(Pn.test(r)&&(r=parseFloat(r),r=He(u.min,u.max,r/100)-u.min),typeof r!="number")return;let d=He(c.min,c.max,o);t===c&&(d-=r),t.min=ry(t.min,r,i,d,l),t.max=ry(t.max,r,i,d,l)}function iy(t,r,[i,o,l],c,u){dP(t,r[i],r[o],r[l],r.scale,c,u)}const pP=["x","scaleX","originX"],hP=["y","scaleY","originY"];function sy(t,r,i,o){iy(t.x,r,pP,i?i.x:void 0,o?o.x:void 0),iy(t.y,r,hP,i?i.y:void 0,o?o.y:void 0)}function oy(t){return t.translate===0&&t.scale===1}function vv(t){return oy(t.x)&&oy(t.y)}function ay(t,r){return t.min===r.min&&t.max===r.max}function mP(t,r){return ay(t.x,r.x)&&ay(t.y,r.y)}function ly(t,r){return Math.round(t.min)===Math.round(r.min)&&Math.round(t.max)===Math.round(r.max)}function xv(t,r){return ly(t.x,r.x)&&ly(t.y,r.y)}function uy(t){return kt(t.x)/kt(t.y)}function cy(t,r){return t.translate===r.translate&&t.scale===r.scale&&t.originPoint===r.originPoint}class yP{constructor(){this.members=[]}add(r){Lf(this.members,r),r.scheduleRender()}remove(r){if(Vf(this.members,r),r===this.prevLead&&(this.prevLead=void 0),r===this.lead){const i=this.members[this.members.length-1];i&&this.promote(i)}}relegate(r){const i=this.members.findIndex(l=>r===l);if(i===0)return!1;let o;for(let l=i;l>=0;l--){const c=this.members[l];if(c.isPresent!==!1){o=c;break}}return o?(this.promote(o),!0):!1}promote(r,i){const o=this.lead;if(r!==o&&(this.prevLead=o,this.lead=r,r.show(),o)){o.instance&&o.scheduleRender(),r.scheduleRender(),r.resumeFrom=o,i&&(r.resumeFrom.preserveOpacity=!0),o.snapshot&&(r.snapshot=o.snapshot,r.snapshot.latestValues=o.animationValues||o.latestValues),r.root&&r.root.isUpdating&&(r.isLayoutDirty=!0);const{crossfade:l}=r.options;l===!1&&o.hide()}}exitAnimationComplete(){this.members.forEach(r=>{const{options:i,resumingFrom:o}=r;i.onExitComplete&&i.onExitComplete(),o&&o.options.onExitComplete&&o.options.onExitComplete()})}scheduleRender(){this.members.forEach(r=>{r.instance&&r.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function gP(t,r,i){let o="";const l=t.x.translate/r.x,c=t.y.translate/r.y,u=(i==null?void 0:i.z)||0;if((l||c||u)&&(o=`translate3d(${l}px, ${c}px, ${u}px) `),(r.x!==1||r.y!==1)&&(o+=`scale(${1/r.x}, ${1/r.y}) `),i){const{transformPerspective:y,rotate:m,rotateX:v,rotateY:x,skewX:P,skewY:S}=i;y&&(o=`perspective(${y}px) ${o}`),m&&(o+=`rotate(${m}deg) `),v&&(o+=`rotateX(${v}deg) `),x&&(o+=`rotateY(${x}deg) `),P&&(o+=`skewX(${P}deg) `),S&&(o+=`skewY(${S}deg) `)}const d=t.x.scale*r.x,h=t.y.scale*r.y;return(d!==1||h!==1)&&(o+=`scale(${d}, ${h})`),o||"none"}const qu=["","X","Y","Z"],vP=1e3;let xP=0;function Ku(t,r,i,o){const{latestValues:l}=r;l[t]&&(i[t]=l[t],r.setStaticValue(t,0),o&&(o[t]=0))}function wv(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:r}=t.options;if(!r)return;const i=sv(r);if(window.MotionHasOptimisedAnimation(i,"transform")){const{layout:l,layoutId:c}=t.options;window.MotionCancelOptimisedAnimation(i,"transform",ze,!(l||c))}const{parent:o}=t;o&&!o.hasCheckedOptimisedAppear&&wv(o)}function Sv({attachResizeListener:t,defaultParent:r,measureScroll:i,checkIsScrollRoot:o,resetTransform:l}){return class{constructor(u={},d=r==null?void 0:r()){this.id=xP++,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(EP),this.nodes.forEach(CP),this.nodes.forEach(AP),this.nodes.forEach(PP)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=u,this.root=d?d.root||d:this,this.path=d?[...d.path,d]:[],this.parent=d,this.depth=d?d.depth+1:0;for(let h=0;h<this.path.length;h++)this.path[h].shouldResetTransform=!0;this.root===this&&(this.nodes=new oP)}addEventListener(u,d){return this.eventHandlers.has(u)||this.eventHandlers.set(u,new Uf),this.eventHandlers.get(u).add(d)}notifyListeners(u,...d){const h=this.eventHandlers.get(u);h&&h.notify(...d)}hasListeners(u){return this.eventHandlers.has(u)}mount(u){if(this.instance)return;this.isSVG=Dg(u)&&!c2(u),this.instance=u;const{layoutId:d,layout:h,visualElement:y}=this.options;if(y&&!y.current&&y.mount(u),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(h||d)&&(this.isLayoutDirty=!0),t){let m,v=0;const x=()=>this.root.updateBlockedByResize=!1;ze.read(()=>{v=window.innerWidth}),t(u,()=>{const P=window.innerWidth;P!==v&&(v=P,this.root.updateBlockedByResize=!0,m&&m(),m=aP(x,250),da.hasAnimatedSinceResize&&(da.hasAnimatedSinceResize=!1,this.nodes.forEach(py)))})}d&&this.root.registerSharedNode(d,this),this.options.animate!==!1&&y&&(d||h)&&this.addEventListener("didUpdate",({delta:m,hasLayoutChanged:v,hasRelativeLayoutChanged:x,layout:P})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const S=this.options.transition||y.getDefaultTransition()||OP,{onLayoutAnimationStart:k,onLayoutAnimationComplete:E}=y.getProps(),C=!this.targetLayout||!xv(this.targetLayout,P),F=!v&&x;if(this.options.layoutRoot||this.resumeFrom||F||v&&(C||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const _={...ed(S,"layout"),onPlay:k,onComplete:E};(y.shouldReduceMotion||this.options.layoutRoot)&&(_.delay=0,_.type=!1),this.startAnimation(_),this.setAnimationOrigin(m,F)}else v||py(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=P})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const u=this.getStack();u&&u.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),dr(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(FP),this.animationId++)}getTransformTemplate(){const{visualElement:u}=this.options;return u&&u.getProps().transformTemplate}willUpdate(u=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&wv(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let m=0;m<this.path.length;m++){const v=this.path[m];v.shouldResetTransform=!0,v.updateScroll("snapshot"),v.options.layoutRoot&&v.willUpdate(!1)}const{layoutId:d,layout:h}=this.options;if(d===void 0&&!h)return;const y=this.getTransformTemplate();this.prevTransformTemplateValue=y?y(this.latestValues,""):void 0,this.updateSnapshot(),u&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(fy);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(dy);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(kP),this.nodes.forEach(wP),this.nodes.forEach(SP)):this.nodes.forEach(dy),this.clearAllSnapshots();const d=Mt.now();ft.delta=Ln(0,1e3/60,d-ft.timestamp),ft.timestamp=d,ft.isProcessing=!0,bu.update.process(ft),bu.preRender.process(ft),bu.render.process(ft),ft.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,nd.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(TP),this.sharedNodes.forEach(NP)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ze.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ze.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!kt(this.snapshot.measuredBox.x)&&!kt(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 h=0;h<this.path.length;h++)this.path[h].updateScroll();const u=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=rt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:d}=this.options;d&&d.notify("LayoutMeasure",this.layout.layoutBox,u?u.layoutBox:void 0)}updateScroll(u="measure"){let d=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===u&&(d=!1),d&&this.instance){const h=o(this.instance);this.scroll={animationId:this.root.animationId,phase:u,isRoot:h,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:h}}}resetTransform(){if(!l)return;const u=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,d=this.projectionDelta&&!vv(this.projectionDelta),h=this.getTransformTemplate(),y=h?h(this.latestValues,""):void 0,m=y!==this.prevTransformTemplateValue;u&&this.instance&&(d||Rr(this.latestValues)||m)&&(l(this.instance,y),this.shouldResetTransform=!1,this.scheduleRender())}measure(u=!0){const d=this.measurePageBox();let h=this.removeElementScroll(d);return u&&(h=this.removeTransform(h)),jP(h),{animationId:this.root.animationId,measuredBox:d,layoutBox:h,latestValues:{},source:this.id}}measurePageBox(){var y;const{visualElement:u}=this.options;if(!u)return rt();const d=u.measureViewportBox();if(!(((y=this.scroll)==null?void 0:y.wasRoot)||this.path.some(MP))){const{scroll:m}=this.root;m&&(yi(d.x,m.offset.x),yi(d.y,m.offset.y))}return d}removeElementScroll(u){var h;const d=rt();if(ln(d,u),(h=this.scroll)!=null&&h.wasRoot)return d;for(let y=0;y<this.path.length;y++){const m=this.path[y],{scroll:v,options:x}=m;m!==this.root&&v&&x.layoutScroll&&(v.wasRoot&&ln(d,u),yi(d.x,v.offset.x),yi(d.y,v.offset.y))}return d}applyTransform(u,d=!1){const h=rt();ln(h,u);for(let y=0;y<this.path.length;y++){const m=this.path[y];!d&&m.options.layoutScroll&&m.scroll&&m!==m.root&&gi(h,{x:-m.scroll.offset.x,y:-m.scroll.offset.y}),Rr(m.latestValues)&&gi(h,m.latestValues)}return Rr(this.latestValues)&&gi(h,this.latestValues),h}removeTransform(u){const d=rt();ln(d,u);for(let h=0;h<this.path.length;h++){const y=this.path[h];if(!y.instance||!Rr(y.latestValues))continue;ff(y.latestValues)&&y.updateSnapshot();const m=rt(),v=y.measurePageBox();ln(m,v),sy(d,y.latestValues,y.snapshot?y.snapshot.layoutBox:void 0,m)}return Rr(this.latestValues)&&sy(d,this.latestValues),d}setTargetDelta(u){this.targetDelta=u,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(u){this.options={...this.options,...u,crossfade:u.crossfade!==void 0?u.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!==ft.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(u=!1){var P;const d=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=d.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=d.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=d.isSharedProjectionDirty);const h=!!this.resumingFrom||this!==d;if(!(u||h&&this.isSharedProjectionDirty||this.isProjectionDirty||(P=this.parent)!=null&&P.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:m,layoutId:v}=this.options;if(!this.layout||!(m||v))return;this.resolvedRelativeTargetAt=ft.timestamp;const x=this.getClosestProjectingParent();x&&this.linkedParentVersion!==x.layoutVersion&&!x.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(x&&x.layout?this.createRelativeTarget(x,this.layout.layoutBox,x.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=rt(),this.targetWithTransforms=rt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),UE(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):ln(this.target,this.layout.layoutBox),Zg(this.target,this.targetDelta)):ln(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,x&&!!x.resumingFrom==!!this.resumingFrom&&!x.options.layoutScroll&&x.target&&this.animationProgress!==1?this.createRelativeTarget(x,this.target,x.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||ff(this.parent.latestValues)||Jg(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(u,d,h){this.relativeParent=u,this.linkedParentVersion=u.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=rt(),this.relativeTargetOrigin=rt(),Pa(this.relativeTargetOrigin,d,h),ln(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var S;const u=this.getLead(),d=!!this.resumingFrom||this!==u;let h=!0;if((this.isProjectionDirty||(S=this.parent)!=null&&S.isProjectionDirty)&&(h=!1),d&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(h=!1),this.resolvedRelativeTargetAt===ft.timestamp&&(h=!1),h)return;const{layout:y,layoutId:m}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(y||m))return;ln(this.layoutCorrected,this.layout.layoutBox);const v=this.treeScale.x,x=this.treeScale.y;eE(this.layoutCorrected,this.treeScale,this.path,d),u.layout&&!u.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(u.target=u.layout.layoutBox,u.targetWithTransforms=rt());const{target:P}=u;if(!P){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(ny(this.prevProjectionDelta.x,this.projectionDelta.x),ny(this.prevProjectionDelta.y,this.projectionDelta.y)),Ps(this.projectionDelta,this.layoutCorrected,P,this.latestValues),(this.treeScale.x!==v||this.treeScale.y!==x||!cy(this.projectionDelta.x,this.prevProjectionDelta.x)||!cy(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",P))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(u=!0){var d;if((d=this.options.visualElement)==null||d.scheduleRender(),u){const h=this.getStack();h&&h.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=vi(),this.projectionDelta=vi(),this.projectionDeltaWithTransform=vi()}setAnimationOrigin(u,d=!1){const h=this.snapshot,y=h?h.latestValues:{},m={...this.latestValues},v=vi();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!d;const x=rt(),P=h?h.source:void 0,S=this.layout?this.layout.source:void 0,k=P!==S,E=this.getStack(),C=!E||E.members.length<=1,F=!!(k&&!C&&this.options.crossfade===!0&&!this.path.some(_P));this.animationProgress=0;let _;this.mixTargetDelta=b=>{const V=b/1e3;hy(v.x,u.x,V),hy(v.y,u.y,V),this.setTargetDelta(v),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Pa(x,this.layout.layoutBox,this.relativeParent.layout.layoutBox),RP(this.relativeTarget,this.relativeTargetOrigin,x,V),_&&mP(this.relativeTarget,_)&&(this.isProjectionDirty=!1),_||(_=rt()),ln(_,this.relativeTarget)),k&&(this.animationValues=m,uP(m,y,this.latestValues,V,F,C)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=V},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(u){var d,h,y;this.notifyListeners("animationStart"),(d=this.currentAnimation)==null||d.stop(),(y=(h=this.resumingFrom)==null?void 0:h.currentAnimation)==null||y.stop(),this.pendingAnimation&&(dr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ze.update(()=>{da.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=wi(0)),this.currentAnimation=iP(this.motionValue,[0,1e3],{...u,velocity:0,isSync:!0,onUpdate:m=>{this.mixTargetDelta(m),u.onUpdate&&u.onUpdate(m)},onStop:()=>{},onComplete:()=>{u.onComplete&&u.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 u=this.getStack();u&&u.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(vP),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const u=this.getLead();let{targetWithTransforms:d,target:h,layout:y,latestValues:m}=u;if(!(!d||!h||!y)){if(this!==u&&this.layout&&y&&Ev(this.options.animationType,this.layout.layoutBox,y.layoutBox)){h=this.target||rt();const v=kt(this.layout.layoutBox.x);h.x.min=u.target.x.min,h.x.max=h.x.min+v;const x=kt(this.layout.layoutBox.y);h.y.min=u.target.y.min,h.y.max=h.y.min+x}ln(d,h),gi(d,m),Ps(this.projectionDeltaWithTransform,this.layoutCorrected,d,m)}}registerSharedNode(u,d){this.sharedNodes.has(u)||this.sharedNodes.set(u,new yP),this.sharedNodes.get(u).add(d);const y=d.options.initialPromotionConfig;d.promote({transition:y?y.transition:void 0,preserveFollowOpacity:y&&y.shouldPreserveFollowOpacity?y.shouldPreserveFollowOpacity(d):void 0})}isLead(){const u=this.getStack();return u?u.lead===this:!0}getLead(){var d;const{layoutId:u}=this.options;return u?((d=this.getStack())==null?void 0:d.lead)||this:this}getPrevLead(){var d;const{layoutId:u}=this.options;return u?(d=this.getStack())==null?void 0:d.prevLead:void 0}getStack(){const{layoutId:u}=this.options;if(u)return this.root.sharedNodes.get(u)}promote({needsReset:u,transition:d,preserveFollowOpacity:h}={}){const y=this.getStack();y&&y.promote(this,h),u&&(this.projectionDelta=void 0,this.needsReset=!0),d&&this.setOptions({transition:d})}relegate(){const u=this.getStack();return u?u.relegate(this):!1}resetSkewAndRotation(){const{visualElement:u}=this.options;if(!u)return;let d=!1;const{latestValues:h}=u;if((h.z||h.rotate||h.rotateX||h.rotateY||h.rotateZ||h.skewX||h.skewY)&&(d=!0),!d)return;const y={};h.z&&Ku("z",u,y,this.animationValues);for(let m=0;m<qu.length;m++)Ku(`rotate${qu[m]}`,u,y,this.animationValues),Ku(`skew${qu[m]}`,u,y,this.animationValues);u.render();for(const m in y)u.setStaticValue(m,y[m]),this.animationValues&&(this.animationValues[m]=y[m]);u.scheduleRender()}applyProjectionStyles(u,d){if(!this.instance||this.isSVG)return;if(!this.isVisible){u.visibility="hidden";return}const h=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,u.visibility="",u.opacity="",u.pointerEvents=fa(d==null?void 0:d.pointerEvents)||"",u.transform=h?h(this.latestValues,""):"none";return}const y=this.getLead();if(!this.projectionDelta||!this.layout||!y.target){this.options.layoutId&&(u.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,u.pointerEvents=fa(d==null?void 0:d.pointerEvents)||""),this.hasProjected&&!Rr(this.latestValues)&&(u.transform=h?h({},""):"none",this.hasProjected=!1);return}u.visibility="";const m=y.animationValues||y.latestValues;this.applyTransformsToTarget();let v=gP(this.projectionDeltaWithTransform,this.treeScale,m);h&&(v=h(m,v)),u.transform=v;const{x,y:P}=this.projectionDelta;u.transformOrigin=`${x.origin*100}% ${P.origin*100}% 0`,y.animationValues?u.opacity=y===this?m.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:m.opacityExit:u.opacity=y===this?m.opacity!==void 0?m.opacity:"":m.opacityExit!==void 0?m.opacityExit:0;for(const S in cf){if(m[S]===void 0)continue;const{correct:k,applyTo:E,isCSSVariable:C}=cf[S],F=v==="none"?m[S]:k(m[S],y);if(E){const _=E.length;for(let b=0;b<_;b++)u[E[b]]=F}else C?this.options.visualElement.renderState.vars[S]=F:u[S]=F}this.options.layoutId&&(u.pointerEvents=y===this?fa(d==null?void 0:d.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(u=>{var d;return(d=u.currentAnimation)==null?void 0:d.stop()}),this.root.nodes.forEach(fy),this.root.sharedNodes.clear()}}}function wP(t){t.updateLayout()}function SP(t){var i;const r=((i=t.resumeFrom)==null?void 0:i.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&r&&t.hasListeners("didUpdate")){const{layoutBox:o,measuredBox:l}=t.layout,{animationType:c}=t.options,u=r.source!==t.layout.source;c==="size"?Gt(v=>{const x=u?r.measuredBox[v]:r.layoutBox[v],P=kt(x);x.min=o[v].min,x.max=x.min+P}):Ev(c,r.layoutBox,o)&&Gt(v=>{const x=u?r.measuredBox[v]:r.layoutBox[v],P=kt(o[v]);x.max=x.min+P,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[v].max=t.relativeTarget[v].min+P)});const d=vi();Ps(d,o,r.layoutBox);const h=vi();u?Ps(h,t.applyTransform(l,!0),r.measuredBox):Ps(h,o,r.layoutBox);const y=!vv(d);let m=!1;if(!t.resumeFrom){const v=t.getClosestProjectingParent();if(v&&!v.resumeFrom){const{snapshot:x,layout:P}=v;if(x&&P){const S=rt();Pa(S,r.layoutBox,x.layoutBox);const k=rt();Pa(k,o,P.layoutBox),xv(S,k)||(m=!0),v.options.layoutRoot&&(t.relativeTarget=k,t.relativeTargetOrigin=S,t.relativeParent=v)}}}t.notifyListeners("didUpdate",{layout:o,snapshot:r,delta:h,layoutDelta:d,hasLayoutChanged:y,hasRelativeLayoutChanged:m})}else if(t.isLead()){const{onExitComplete:o}=t.options;o&&o()}t.options.transition=void 0}function EP(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function PP(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function TP(t){t.clearSnapshot()}function fy(t){t.clearMeasurements()}function dy(t){t.isLayoutDirty=!1}function kP(t){const{visualElement:r}=t.options;r&&r.getProps().onBeforeLayoutMeasure&&r.notify("BeforeLayoutMeasure"),t.resetTransform()}function py(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function CP(t){t.resolveTargetDelta()}function AP(t){t.calcProjection()}function FP(t){t.resetSkewAndRotation()}function NP(t){t.removeLeadSnapshot()}function hy(t,r,i){t.translate=He(r.translate,0,i),t.scale=He(r.scale,1,i),t.origin=r.origin,t.originPoint=r.originPoint}function my(t,r,i,o){t.min=He(r.min,i.min,o),t.max=He(r.max,i.max,o)}function RP(t,r,i,o){my(t.x,r.x,i.x,o),my(t.y,r.y,i.y,o)}function _P(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const OP={duration:.45,ease:[.4,0,.1,1]},yy=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),gy=yy("applewebkit/")&&!yy("chrome/")?Math.round:Xt;function vy(t){t.min=gy(t.min),t.max=gy(t.max)}function jP(t){vy(t.x),vy(t.y)}function Ev(t,r,i){return t==="position"||t==="preserve-aspect"&&!zE(uy(r),uy(i),.2)}function MP(t){var r;return t!==t.root&&((r=t.scroll)==null?void 0:r.wasRoot)}const bP=Sv({attachResizeListener:(t,r)=>Fs(t,"resize",r),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Gu={current:void 0},Pv=Sv({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Gu.current){const t=new bP({});t.mount(window),t.setOptions({layoutScroll:!0}),Gu.current=t}return Gu.current},resetTransform:(t,r)=>{t.style.transform=r!==void 0?r:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),DP={pan:{Feature:nP},drag:{Feature:tP,ProjectionNode:Pv,MeasureLayout:mv}};function xy(t,r,i){const{props:o}=t;t.animationState&&o.whileHover&&t.animationState.setActive("whileHover",i==="Start");const l="onHover"+i,c=o[l];c&&ze.postRender(()=>c(r,bs(r)))}class IP extends mr{mount(){const{current:r}=this.node;r&&(this.unmount=s2(r,(i,o)=>(xy(this.node,o,"Start"),l=>xy(this.node,l,"End"))))}unmount(){}}class LP extends mr{constructor(){super(...arguments),this.isActive=!1}onFocus(){let r=!1;try{r=this.node.current.matches(":focus-visible")}catch{r=!0}!r||!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=Os(Fs(this.node.current,"focus",()=>this.onFocus()),Fs(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function wy(t,r,i){const{props:o}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&o.whileTap&&t.animationState.setActive("whileTap",i==="Start");const l="onTap"+(i==="End"?"":i),c=o[l];c&&ze.postRender(()=>c(r,bs(r)))}class VP extends mr{mount(){const{current:r}=this.node;r&&(this.unmount=u2(r,(i,o)=>(wy(this.node,o,"Start"),(l,{success:c})=>wy(this.node,l,c?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const vf=new WeakMap,Qu=new WeakMap,BP=t=>{const r=vf.get(t.target);r&&r(t)},zP=t=>{t.forEach(BP)};function UP({root:t,...r}){const i=t||document;Qu.has(i)||Qu.set(i,{});const o=Qu.get(i),l=JSON.stringify(r);return o[l]||(o[l]=new IntersectionObserver(zP,{root:t,...r})),o[l]}function $P(t,r,i){const o=UP(r);return vf.set(t,i),o.observe(t),()=>{vf.delete(t),o.unobserve(t)}}const HP={some:0,all:1};class WP extends mr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:r={}}=this.node.getProps(),{root:i,margin:o,amount:l="some",once:c}=r,u={root:i?i.current:void 0,rootMargin:o,threshold:typeof l=="number"?l:HP[l]},d=h=>{const{isIntersecting:y}=h;if(this.isInView===y||(this.isInView=y,c&&!y&&this.hasEnteredView))return;y&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",y);const{onViewportEnter:m,onViewportLeave:v}=this.node.getProps(),x=y?m:v;x&&x(h)};return $P(this.node.current,u,d)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:r,prevProps:i}=this.node;["amount","margin","root"].some(qP(r,i))&&this.startObserver()}unmount(){}}function qP({viewport:t={}},{viewport:r={}}={}){return i=>t[i]!==r[i]}const KP={inView:{Feature:WP},tap:{Feature:VP},focus:{Feature:LP},hover:{Feature:IP}},GP={layout:{ProjectionNode:Pv,MeasureLayout:mv}},QP={...bE,...KP,...DP,...GP},Q=Y2(QP,cE);/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const XP=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),YP=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,i,o)=>o?o.toUpperCase():i.toLowerCase()),Sy=t=>{const r=YP(t);return r.charAt(0).toUpperCase()+r.slice(1)},Tv=(...t)=>t.filter((r,i,o)=>!!r&&r.trim()!==""&&o.indexOf(r)===i).join(" ").trim();/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/var JP={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.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const ZP=X.forwardRef(({color:t="currentColor",size:r=24,strokeWidth:i=2,absoluteStrokeWidth:o,className:l="",children:c,iconNode:u,...d},h)=>X.createElement("svg",{ref:h,...JP,width:r,height:r,stroke:t,strokeWidth:o?Number(i)*24/Number(r):i,className:Tv("lucide",l),...d},[...u.map(([y,m])=>X.createElement(y,m)),...Array.isArray(c)?c:[c]]));/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Ze=(t,r)=>{const i=X.forwardRef(({className:o,...l},c)=>X.createElement(ZP,{ref:c,iconNode:r,className:Tv(`lucide-${XP(Sy(t))}`,`lucide-${t}`,o),...l}));return i.displayName=Sy(t),i};/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const eT=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],tT=Ze("arrow-right",eT);/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const nT=[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z",key:"ep3f8r"}],["path",{d:"M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4",key:"1p4c4q"}],["path",{d:"M17.599 6.5a3 3 0 0 0 .399-1.375",key:"tmeiqw"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M19.938 10.5a4 4 0 0 1 .585.396",key:"1qfode"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M19.967 17.484A4 4 0 0 1 18 18",key:"159ez6"}]],kv=Ze("brain",nT);/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const rT=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Ey=Ze("check",rT);/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const iT=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],Py=Ze("circle-alert",iT);/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const sT=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],Ty=Ze("circle-check-big",sT);/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const oT=[["rect",{width:"16",height:"16",x:"4",y:"4",rx:"2",key:"14l7u7"}],["rect",{width:"6",height:"6",x:"9",y:"9",rx:"1",key:"5aljv4"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]],Cv=Ze("cpu",oT);/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const aT=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],lT=Ze("database",aT);/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const uT=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["circle",{cx:"10",cy:"12",r:"2",key:"737tya"}],["path",{d:"m20 17-1.296-1.296a2.41 2.41 0 0 0-3.408 0L9 22",key:"wt3hpn"}]],ky=Ze("file-image",uT);/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const cT=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],fT=Ze("file-text",cT);/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const dT=[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]],pT=Ze("gift",dT);/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const hT=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],Cy=Ze("lock",hT);/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const mT=[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]],Xu=Ze("message-square",mT);/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const yT=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],gT=Ze("shield",yT);/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const vT=[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]],hd=Ze("sparkles",vT);/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const xT=[["polyline",{points:"22 17 13.5 8.5 8.5 13.5 2 7",key:"1r2t7k"}],["polyline",{points:"16 17 22 17 22 11",key:"11uiuu"}]],Av=Ze("trending-down",xT);/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const wT=[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]],ST=Ze("trending-up",wT);/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const ET=[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]],PT=Ze("upload",ET);/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const TT=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]],Fv=Ze("users",TT);/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const kT=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],CT=Ze("x",kT);/**
|
||
* @license lucide-react v0.487.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const AT=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],Ta=Ze("zap",AT);function FT({onNext:t}){const[r,i]=X.useState(1e3),[o,l]=X.useState(""),c="你的企业,正在为「低效」支付多少冤枉钱?";return X.useEffect(()=>{let u=0;const d=setInterval(()=>{u<=c.length?(l(c.slice(0,u)),u++):clearInterval(d)},80);return()=>clearInterval(d)},[]),X.useEffect(()=>{const u=setInterval(()=>{i(d=>d+Math.floor(Math.random()*3))},2e3);return()=>clearInterval(u)},[]),w.jsxs("div",{className:"min-h-screen flex flex-col items-center justify-center px-6 py-12 relative overflow-hidden",children:[w.jsx(Q.div,{className:"absolute top-1/4 left-1/4 w-64 h-64 bg-[#7B61FF]/20 rounded-full blur-3xl",animate:{scale:[1,1.2,1],opacity:[.3,.5,.3]},transition:{duration:4,repeat:1/0,ease:"easeInOut"}}),w.jsx(Q.div,{className:"absolute bottom-1/4 right-1/4 w-64 h-64 bg-[#00F0FF]/20 rounded-full blur-3xl",animate:{scale:[1.2,1,1.2],opacity:[.3,.5,.3]},transition:{duration:4,repeat:1/0,ease:"easeInOut"}}),w.jsxs(Q.div,{className:"mb-12 relative",initial:{opacity:0,scale:.5},animate:{opacity:1,scale:1},transition:{duration:1,type:"spring"},children:[w.jsxs(Q.div,{className:"relative w-32 h-32 flex items-center justify-center",animate:{scale:[1,1.1,1]},transition:{duration:3,repeat:1/0,ease:"easeInOut"},children:[w.jsx(Q.div,{className:"absolute inset-0 bg-gradient-to-br from-[#7B61FF] to-[#00F0FF] rounded-full blur-2xl",animate:{opacity:[.3,.8,.3],scale:[.8,1.2,.8]},transition:{duration:3,repeat:1/0,ease:"easeInOut"}}),w.jsx("div",{className:"relative z-10 w-24 h-24 bg-gradient-to-br from-[#7B61FF] to-[#00F0FF] rounded-full flex items-center justify-center",children:w.jsx(kv,{className:"w-14 h-14 text-white"})}),[{Icon:hd,delay:0,color:"#00F0FF"},{Icon:Cv,delay:1,color:"#7B61FF"},{Icon:lT,delay:2,color:"#00F0FF"},{Icon:Ta,delay:3,color:"#7B61FF"}].map((u,d)=>w.jsx(Q.div,{className:"absolute top-1/2 left-1/2 w-10 h-10 -ml-5 -mt-5",animate:{rotate:[0,360]},transition:{duration:8,repeat:1/0,ease:"linear",delay:u.delay*2},children:w.jsx(Q.div,{className:"absolute",style:{transform:`translateX(70px) rotate(-${d*90}deg)`},animate:{rotate:[0,-360]},transition:{duration:8,repeat:1/0,ease:"linear",delay:u.delay*2},children:w.jsx(Q.div,{className:"w-10 h-10 bg-[#0A0F24] border-2 rounded-full flex items-center justify-center",style:{borderColor:u.color},animate:{boxShadow:[`0 0 10px ${u.color}40`,`0 0 20px ${u.color}80`,`0 0 10px ${u.color}40`]},transition:{duration:2,repeat:1/0,ease:"easeInOut"},children:w.jsx(u.Icon,{className:"w-5 h-5",style:{color:u.color}})})})},d))]}),Array.from({length:8}).map((u,d)=>w.jsx(Q.div,{className:"absolute w-1 h-1 bg-[#00F0FF] rounded-full",style:{left:"50%",top:"50%"},animate:{x:[0,Math.cos(d*45*Math.PI/180)*100],y:[0,Math.sin(d*45*Math.PI/180)*100],opacity:[0,1,0],scale:[0,1,0]},transition:{duration:2,repeat:1/0,delay:d*.2,ease:"easeOut"}},d))]}),w.jsxs(Q.h1,{className:"text-3xl md:text-4xl text-center mb-6 min-h-[6rem] px-4",initial:{opacity:0},animate:{opacity:1},transition:{delay:1.5},children:[o,w.jsx(Q.span,{className:"inline-block w-1 h-8 bg-[#00F0FF] ml-1 align-middle",animate:{opacity:[1,0,1]},transition:{duration:.8,repeat:1/0}})]}),w.jsxs(Q.p,{className:"text-center text-gray-300 mb-8 px-4 max-w-xl",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:2.5},children:["AI时代,1个懂AI的员工 > 5个传统员工",w.jsx("br",{}),"上传组织架构图,AI一键测算你的",w.jsx("span",{className:"text-[#00F0FF]",children:"隐形降本空间"})]}),w.jsxs(Q.div,{className:"flex items-center gap-2 mb-12 bg-white/5 backdrop-blur-sm border border-[#00F0FF]/30 rounded-full px-6 py-3",initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},transition:{delay:3},children:[w.jsx(Ta,{className:"w-5 h-5 text-[#00F0FF]"}),w.jsx("span",{className:"text-gray-300",children:"今日已有"}),w.jsx(Q.span,{className:"text-[#00F0FF] text-xl",initial:{y:-10,opacity:0},animate:{y:0,opacity:1},children:r.toLocaleString()},r),w.jsx("span",{className:"text-gray-300",children:"位老板获取了降本方案"})]}),w.jsxs(Q.button,{className:"relative px-12 py-4 bg-gradient-to-r from-[#7B61FF] to-[#00F0FF] rounded-full overflow-hidden group",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:3.5},onClick:t,children:[w.jsx(Q.div,{className:"absolute inset-0 bg-gradient-to-r from-transparent via-white/30 to-transparent",animate:{x:["-100%","200%"]},transition:{duration:2,repeat:1/0,repeatDelay:1}}),w.jsxs("span",{className:"relative z-10 flex items-center gap-2",children:["立即测算能省多少钱",w.jsx(Av,{className:"w-5 h-5"})]})]}),w.jsxs(Q.div,{className:"mt-12 flex gap-6 text-xs text-gray-400",initial:{opacity:0},animate:{opacity:1},transition:{delay:4},children:[w.jsxs("div",{className:"flex items-center gap-1",children:[w.jsx("div",{className:"w-2 h-2 bg-green-400 rounded-full"}),w.jsx("span",{children:"银行级加密"})]}),w.jsxs("div",{className:"flex items-center gap-1",children:[w.jsx("div",{className:"w-2 h-2 bg-green-400 rounded-full"}),w.jsx("span",{children:"3秒出结果"})]}),w.jsxs("div",{className:"flex items-center gap-1",children:[w.jsx("div",{className:"w-2 h-2 bg-green-400 rounded-full"}),w.jsx("span",{children:"数据即时销毁"})]})]})]})}const Yu=[{id:"ecommerce",name:"电商型",icon:"🛒"},{id:"traditional",name:"传统型",icon:"🏢"},{id:"tech",name:"科技型",icon:"💻"}];function NT({onUpload:t}){var x,P;const[r,i]=X.useState(!1),[o,l]=X.useState(!1),[c,u]=X.useState(null),[d,h]=X.useState(0),y=S=>{var E;const k=(E=S.target.files)==null?void 0:E[0];if(k){const C=new FileReader;C.onload=()=>{v()},C.readAsDataURL(k)}},m=S=>{o||(u(S),setTimeout(()=>{v()},400))},v=()=>{l(!0),h(0);const S=setInterval(()=>{h(k=>k>=100?(clearInterval(S),100):k+5)},100);setTimeout(()=>{clearInterval(S),t("template")},2e3)};return w.jsxs("div",{className:"min-h-screen flex flex-col items-center justify-center px-6 py-12 relative",children:[w.jsx("div",{className:"absolute inset-0 opacity-10",children:Array.from({length:20}).map((S,k)=>w.jsx(Q.div,{className:"absolute h-px bg-[#00F0FF]",style:{top:`${k*5}%`,left:0,right:0},animate:{opacity:[.1,.3,.1]},transition:{duration:2,repeat:1/0,delay:k*.1}},k))}),w.jsx(Q.h2,{className:"text-2xl md:text-3xl text-center mb-4",initial:{opacity:0,y:-20},animate:{opacity:1,y:0},children:"上传您的组织架构图"}),w.jsx(Q.p,{className:"text-gray-400 text-center mb-12",initial:{opacity:0},animate:{opacity:1},transition:{delay:.2},children:"AI将智能分析各岗位的优化潜力"}),w.jsxs(Q.div,{className:`relative w-full max-w-md h-72 border-2 border-dashed rounded-2xl transition-all duration-300 ${r?"border-[#00F0FF] bg-[#00F0FF]/10":"border-[#7B61FF]/50 bg-white/5"} ${o?"border-[#00F0FF] bg-[#00F0FF]/5 shadow-[0_0_30px_rgba(0,240,255,0.3)]":""}`,initial:{opacity:0,scale:.9},animate:{opacity:1,scale:o?1.02:1},transition:{delay:.3},onDragOver:S=>{S.preventDefault(),i(!0)},onDragLeave:()=>i(!1),onDrop:S=>{S.preventDefault(),i(!1);const k=S.dataTransfer.files[0];k&&k.type.startsWith("image/")&&v()},children:[o?w.jsxs("div",{className:"absolute inset-0 flex flex-col items-center justify-center gap-3",children:[w.jsx(Q.div,{className:"absolute inset-0 bg-[#00F0FF]/10 rounded-2xl",animate:{opacity:[.1,.3,.1]},transition:{duration:1,repeat:1/0}}),w.jsx(Q.div,{className:"absolute inset-x-0 h-1 bg-gradient-to-r from-transparent via-[#00F0FF] to-transparent shadow-[0_0_10px_rgba(0,240,255,0.8)]",animate:{top:["0%","100%"]},transition:{duration:1.5,repeat:1/0,ease:"linear"}}),w.jsxs(Q.div,{initial:{scale:.8,opacity:0},animate:{scale:1,opacity:1},transition:{duration:.3},className:"relative z-10 flex flex-col items-center",children:[w.jsx(ky,{className:"w-16 h-16 text-[#00F0FF] mb-4"}),w.jsx("p",{className:"text-[#00F0FF] text-lg",children:"正在扫描架构图..."}),w.jsxs(Q.p,{className:"text-[#00F0FF] text-xl mt-2",animate:{scale:[1,1.1,1]},transition:{duration:.5,repeat:1/0},children:[d,"%"]}),c&&w.jsxs(Q.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},className:"mt-4 flex items-center gap-2 bg-white/10 px-4 py-2 rounded-lg",children:[w.jsx("span",{className:"text-2xl",children:(x=Yu.find(S=>S.id===c))==null?void 0:x.icon}),w.jsx("span",{className:"text-sm text-white",children:(P=Yu.find(S=>S.id===c))==null?void 0:P.name})]})]})]}):w.jsxs("div",{className:"absolute inset-0 flex flex-col items-center justify-center p-6",children:[w.jsx(PT,{className:"w-12 h-12 text-[#7B61FF] mb-4"}),w.jsx("p",{className:"text-gray-300 text-center mb-2",children:"拖拽图片到此处"}),w.jsx("p",{className:"text-gray-500 text-sm text-center mb-6",children:"或"}),w.jsx("div",{className:"flex ",children:w.jsxs("label",{className:"cursor-pointer",children:[w.jsx("input",{type:"file",accept:"image/*",className:"hidden",onChange:y}),w.jsxs("div",{className:"flex items-center gap-2 px-4 py-2 bg-[#7B61FF]/20 border border-[#7B61FF] rounded-lg hover:bg-[#7B61FF]/30 transition-colors",children:[w.jsx(ky,{className:"w-4 h-4"}),w.jsx("span",{className:"text-sm",children:"选择文件"})]})]})})]}),w.jsx("div",{className:"absolute top-0 left-0 w-8 h-8 border-t-2 border-l-2 border-[#00F0FF]/50 rounded-tl-2xl"}),w.jsx("div",{className:"absolute top-0 right-0 w-8 h-8 border-t-2 border-r-2 border-[#00F0FF]/50 rounded-tr-2xl"}),w.jsx("div",{className:"absolute bottom-0 left-0 w-8 h-8 border-b-2 border-l-2 border-[#00F0FF]/50 rounded-bl-2xl"}),w.jsx("div",{className:"absolute bottom-0 right-0 w-8 h-8 border-b-2 border-r-2 border-[#00F0FF]/50 rounded-br-2xl"})]}),w.jsxs(Q.div,{className:"flex items-center gap-4 my-8 w-full max-w-md",initial:{opacity:0},animate:{opacity:1},transition:{delay:.5},children:[w.jsx("div",{className:"flex-1 h-px bg-gradient-to-r from-transparent to-gray-600"}),w.jsx("span",{className:"text-gray-500 text-sm",children:"或选择典型模板"}),w.jsx("div",{className:"flex-1 h-px bg-gradient-to-l from-transparent to-gray-600"})]}),w.jsx(Q.div,{className:"flex gap-4 mb-12",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.6},children:Yu.map((S,k)=>w.jsxs(Q.button,{className:`flex flex-col items-center gap-2 px-6 py-4 rounded-xl border transition-all ${c===S.id?"border-[#00F0FF] bg-[#00F0FF]/10":"border-gray-600 bg-white/5 hover:border-[#7B61FF]"}`,initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.7+k*.1},onClick:()=>m(S.id),whileHover:{scale:1.05},whileTap:{scale:.95},children:[w.jsx("span",{className:"text-3xl",children:S.icon}),w.jsx("span",{className:"text-sm",children:S.name})]},S.id))}),w.jsxs(Q.div,{className:"flex items-center gap-2 text-xs text-gray-500 bg-white/5 backdrop-blur-sm px-4 py-2 rounded-full",initial:{opacity:0},animate:{opacity:1},transition:{delay:.9},children:[w.jsx(gT,{className:"w-4 h-4 text-green-400"}),w.jsx("span",{children:"银行级数据加密,仅用于测算,分析后立即销毁"})]})]})}const Ju=[{dept:"设计部",message:"发现重复劳动节点...",icon:"🎨"},{dept:"文案岗",message:"AI替代率 85%...",icon:"✍️"},{dept:"客服部",message:"智能接入可节省 70%...",icon:"💬"},{dept:"市场部",message:"数据分析优化空间 60%...",icon:"📊"},{dept:"运营部",message:"自动化流程提升 75%...",icon:"⚙️"}];function RT({onComplete:t}){const[r,i]=X.useState(0),[o,l]=X.useState([]);return X.useEffect(()=>{const c=Array.from({length:15},(u,d)=>({x:Math.random()*100,y:Math.random()*100,id:d}));l(c)},[]),X.useEffect(()=>{const c=setInterval(()=>{i(u=>u<Ju.length-1?u+1:(clearInterval(c),setTimeout(()=>{t()},1e3),u))},800);return()=>clearInterval(c)},[t]),w.jsxs("div",{className:"min-h-screen flex flex-col items-center justify-center px-6 py-12 relative overflow-hidden",children:[w.jsxs("div",{className:"absolute inset-0 flex items-center justify-center",children:[w.jsx(Q.div,{className:"absolute w-96 h-96 border-2 border-[#00F0FF]/30 rounded-full",animate:{scale:[1,1.5,1],opacity:[.5,0,.5]},transition:{duration:2,repeat:1/0,ease:"easeOut"}}),w.jsx(Q.div,{className:"absolute w-96 h-96 border-2 border-[#7B61FF]/30 rounded-full",animate:{scale:[1,1.5,1],opacity:[.5,0,.5]},transition:{duration:2,repeat:1/0,ease:"easeOut",delay:.5}}),w.jsx(Q.div,{className:"absolute w-96 h-1 bg-gradient-to-r from-[#00F0FF]/0 via-[#00F0FF]/80 to-[#00F0FF]/0 origin-left",style:{left:"50%",top:"50%"},animate:{rotate:[0,360]},transition:{duration:3,repeat:1/0,ease:"linear"}})]}),w.jsx("div",{className:"absolute inset-0 pointer-events-none",children:o.map(c=>w.jsx(Q.div,{className:"absolute w-3 h-3 bg-[#00F0FF] rounded-full",style:{left:`${c.x}%`,top:`${c.y}%`},initial:{scale:0,opacity:0},animate:{scale:[0,1,.8],opacity:[0,1,.6]},transition:{duration:1,delay:c.id*.1},children:w.jsx(Q.div,{className:"absolute inset-0 bg-[#00F0FF] rounded-full",animate:{scale:[1,2,1],opacity:[.8,0,.8]},transition:{duration:2,repeat:1/0,delay:c.id*.1}})},c.id))}),w.jsx(Q.div,{className:"relative z-10 mb-12",initial:{scale:0,rotate:-180},animate:{scale:1,rotate:0},transition:{duration:1,type:"spring"},children:w.jsxs("div",{className:"relative",children:[w.jsx(Q.div,{className:"w-24 h-24 bg-gradient-to-br from-[#7B61FF] to-[#00F0FF] rounded-full flex items-center justify-center",animate:{boxShadow:["0 0 20px rgba(123, 97, 255, 0.5)","0 0 40px rgba(0, 240, 255, 0.8)","0 0 20px rgba(123, 97, 255, 0.5)"]},transition:{duration:2,repeat:1/0},children:w.jsx(kv,{className:"w-12 h-12 text-white"})}),[Cv,Ta,ST].map((c,u)=>w.jsx(Q.div,{className:"absolute top-1/2 left-1/2 w-8 h-8 -ml-4 -mt-4",animate:{rotate:[0,360]},transition:{duration:5,repeat:1/0,ease:"linear",delay:u*.6},children:w.jsx(Q.div,{className:"absolute",style:{transform:`translateX(60px) rotate(-${u*120}deg)`},animate:{rotate:[0,-360]},transition:{duration:5,repeat:1/0,ease:"linear",delay:u*.6},children:w.jsx("div",{className:"w-8 h-8 bg-[#0A0F24] border-2 border-[#00F0FF] rounded-full flex items-center justify-center",children:w.jsx(c,{className:"w-4 h-4 text-[#00F0FF]"})})})},u))]})}),w.jsx("div",{className:"relative z-10 w-full max-w-md space-y-4",children:Ju.map((c,u)=>w.jsxs(Q.div,{className:`flex items-center gap-4 p-4 rounded-xl backdrop-blur-sm transition-all ${u===r?"bg-[#00F0FF]/20 border-2 border-[#00F0FF]":u<r?"bg-white/5 border border-gray-600":"bg-white/5 border border-gray-800 opacity-30"}`,initial:{opacity:0,x:-50},animate:{opacity:u<=r?1:.3,x:0},transition:{delay:u*.1},children:[w.jsx("span",{className:"text-2xl",children:c.icon}),w.jsxs("div",{className:"flex-1",children:[w.jsxs("div",{className:"text-sm text-gray-300",children:["正在分析",c.dept]}),w.jsx("div",{className:"text-xs text-[#00F0FF] mt-1",children:c.message})]}),u===r&&w.jsx(Q.div,{className:"w-6 h-6 border-2 border-[#00F0FF] border-t-transparent rounded-full",animate:{rotate:360},transition:{duration:1,repeat:1/0,ease:"linear"}}),u<r&&w.jsx("div",{className:"w-6 h-6 bg-[#00F0FF] rounded-full flex items-center justify-center",children:w.jsx("svg",{className:"w-4 h-4 text-[#0A0F24]",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:w.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:3,d:"M5 13l4 4L19 7"})})})]},u))}),w.jsx(Q.div,{className:"mt-12 text-center",initial:{opacity:0},animate:{opacity:[0,1,0]},transition:{duration:2,repeat:1/0},children:w.jsx("p",{className:"text-[#00F0FF] text-sm",children:"AI深度分析中,请稍候..."})}),w.jsx(Q.div,{className:"mt-6 w-64 h-1 bg-gray-800 rounded-full overflow-hidden",children:w.jsx(Q.div,{className:"h-full bg-gradient-to-r from-[#7B61FF] to-[#00F0FF]",initial:{width:"0%"},animate:{width:`${(r+1)/Ju.length*100}%`},transition:{duration:.5}})})]})}const Ay=["某杭州电商公司使用后,设计部成本降低60%","某深圳外贸公司使用后,客服响应速度提升5倍","某上海科技公司使用后,年度成本节省120万"];function _T({onPayment:t}){const[r,i]=X.useState(599),[o,l]=X.useState(0);X.useEffect(()=>{const d=setInterval(()=>{i(h=>h>0?h-1:0)},1e3);return()=>clearInterval(d)},[]),X.useEffect(()=>{const d=setInterval(()=>{l(h=>(h+1)%Ay.length)},3e3);return()=>clearInterval(d)},[]);const c=Math.floor(r/60),u=r%60;return w.jsxs("div",{className:"min-h-screen flex flex-col items-center justify-center px-6 py-12 relative",children:[w.jsx("div",{className:"absolute inset-0 opacity-30 blur-xl pointer-events-none",children:w.jsx("div",{className:"absolute top-1/4 left-1/2 -translate-x-1/2 w-80 h-96 bg-gradient-to-br from-red-500 to-gray-800 rounded-2xl p-6",children:w.jsxs("div",{className:"space-y-4",children:[w.jsx("div",{className:"h-8 bg-white/20 rounded"}),w.jsx("div",{className:"h-32 bg-white/20 rounded"}),w.jsx("div",{className:"h-8 bg-white/20 rounded w-2/3"})]})})}),w.jsxs(Q.div,{className:"relative z-10 w-full max-w-md",initial:{opacity:0,y:30},animate:{opacity:1,y:0},children:[w.jsxs(Q.div,{className:"flex items-center justify-center gap-2 mb-6",initial:{scale:0},animate:{scale:1},transition:{type:"spring",delay:.2},children:[w.jsx(Py,{className:"w-8 h-8 text-[#00F0FF]"}),w.jsx("span",{className:"text-xl",children:"分析完成!"})]}),w.jsxs(Q.div,{className:"bg-white/5 backdrop-blur-md border border-[#7B61FF]/30 rounded-2xl p-6 mb-6 relative overflow-hidden",initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{delay:.3},children:[w.jsxs("div",{className:"absolute inset-0 backdrop-blur-sm bg-white/5 z-10 flex flex-col items-center justify-center gap-4",children:[w.jsx(Cy,{className:"w-16 h-16 text-[#00F0FF]/50"}),w.jsxs("div",{className:"text-center px-4",children:[w.jsxs(Q.div,{className:"mb-2",animate:{opacity:[.7,1,.7]},transition:{duration:2,repeat:1/0},children:[w.jsx("p",{className:"text-sm text-gray-400 mb-1",children:"预计年度节省"}),w.jsx("div",{className:"text-3xl bg-gradient-to-r from-[#00F0FF] to-[#7B61FF] bg-clip-text text-transparent",children:"¥520,000+"})]}),w.jsxs(Q.div,{animate:{opacity:[.7,1,.7]},transition:{duration:2,repeat:1/0,delay:.5},children:[w.jsx("p",{className:"text-sm text-gray-400 mb-1",children:"效率提升"}),w.jsx("div",{className:"text-2xl text-[#00F0FF]",children:"65%"})]})]})]}),w.jsxs("div",{className:"space-y-4 blur-sm select-none",children:[w.jsxs("div",{className:"text-center",children:[w.jsx("p",{className:"text-gray-400 text-sm mb-2",children:"经测算,您的企业每年由于员工不使用AI"}),w.jsx("p",{className:"text-2xl text-red-400 mb-1",children:"额外支出成本约为"}),w.jsxs("div",{className:"text-5xl bg-gradient-to-r from-red-400 to-orange-400 bg-clip-text text-transparent",children:["¥???",",","???"]})]}),w.jsx("div",{className:"h-px bg-gradient-to-r from-transparent via-gray-600 to-transparent"}),w.jsxs("div",{className:"text-center",children:[w.jsx("p",{className:"text-gray-400 text-sm mb-2",children:"优化后,预计每年可节省"}),w.jsxs("div",{className:"text-4xl bg-gradient-to-r from-[#00F0FF] to-[#7B61FF] bg-clip-text text-transparent",children:["¥???",",","???"]})]})]})]}),w.jsxs(Q.div,{className:"bg-gradient-to-br from-[#7B61FF]/20 to-[#00F0FF]/20 backdrop-blur-md border-2 border-[#00F0FF] rounded-2xl p-6 mb-6",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.5},children:[w.jsxs("div",{className:"flex items-center justify-center gap-2 mb-4",children:[w.jsx(hd,{className:"w-6 h-6 text-[#00F0FF]"}),w.jsx("h3",{className:"text-xl",children:"解锁完整报告"})]}),w.jsx("div",{className:"space-y-3 mb-6",children:["各部门AI替代率精准评估","具体的降本金额明细","推荐的AI工具组合清单"].map((d,h)=>w.jsxs(Q.div,{className:"flex items-center gap-3 text-sm text-gray-300",initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:.6+h*.1},children:[w.jsx("div",{className:"w-5 h-5 bg-[#00F0FF]/20 rounded-full flex items-center justify-center flex-shrink-0",children:w.jsx(Ey,{className:"w-3 h-3 text-[#00F0FF]"})}),w.jsx("span",{children:d})]},h))}),w.jsxs("div",{className:"text-center mb-6",children:[w.jsxs("div",{className:"flex items-center justify-center gap-3 mb-2",children:[w.jsx("span",{className:"text-gray-500 line-through text-lg",children:"¥999"}),w.jsx("span",{className:"bg-red-500 text-white text-xs px-2 py-1 rounded",children:"限时特惠"})]}),w.jsxs("div",{className:"flex items-baseline justify-center gap-1",children:[w.jsx("span",{className:"text-4xl",children:"¥"}),w.jsx("span",{className:"text-6xl bg-gradient-to-r from-[#00F0FF] to-[#7B61FF] bg-clip-text text-transparent",children:"9.9"})]})]}),w.jsxs(Q.button,{className:"w-full py-4 bg-gradient-to-r from-[#7B61FF] to-[#00F0FF] rounded-xl relative overflow-hidden group",whileHover:{scale:1.02},whileTap:{scale:.98},onClick:t,children:[w.jsx(Q.div,{className:"absolute inset-0 bg-gradient-to-r from-transparent via-white/30 to-transparent",animate:{x:["-100%","200%"]},transition:{duration:2,repeat:1/0,repeatDelay:1}}),w.jsxs("span",{className:"relative z-10 flex items-center justify-center gap-2",children:[w.jsx("svg",{className:"w-6 h-6",viewBox:"0 0 24 24",fill:"currentColor",children:w.jsx("path",{d:"M8.5 2C6.57 2 5 3.57 5 5.5V6H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-1v-.5C19 3.57 17.43 2 15.5 2h-7zM7 6V5.5C7 4.67 7.67 4 8.5 4h7c.83 0 1.5.67 1.5 1.5V6H7zm5.99 6c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"})}),"微信支付 ¥9.9 解锁报告"]})]}),w.jsxs(Q.div,{className:"mt-4 text-center text-sm text-orange-400 flex items-center justify-center gap-2",animate:{opacity:[1,.5,1]},transition:{duration:1,repeat:1/0},children:[w.jsx(Py,{className:"w-4 h-4"}),w.jsxs("span",{children:["优惠将在"," ",w.jsxs("span",{className:"text-lg",children:[String(c).padStart(2,"0"),":",String(u).padStart(2,"0")]})," ","后失效"]})]})]}),w.jsx(Q.div,{className:"bg-white/5 backdrop-blur-sm rounded-xl p-4 overflow-hidden",initial:{opacity:0},animate:{opacity:1},transition:{delay:.8},children:w.jsxs(Q.div,{className:"text-center text-sm text-gray-400 flex items-center justify-center gap-2",initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},children:[w.jsx(Ey,{className:"w-4 h-4 text-green-400 flex-shrink-0"}),w.jsx("span",{children:Ay[o]})]},o)}),w.jsxs(Q.div,{className:"mt-6 flex justify-center gap-6 text-xs text-gray-500",initial:{opacity:0},animate:{opacity:1},transition:{delay:1},children:[w.jsxs("div",{className:"flex items-center gap-1",children:[w.jsx(Cy,{className:"w-3 h-3"}),w.jsx("span",{children:"安全支付"})]}),w.jsxs("div",{className:"flex items-center gap-1",children:[w.jsx(Fv,{className:"w-3 h-3"}),w.jsx("span",{children:"1000+企业选择"})]}),w.jsxs("div",{className:"flex items-center gap-1",children:[w.jsx(Av,{className:"w-3 h-3"}),w.jsx("span",{children:"平均节省40%"})]})]})]})]})}function OT(){const[t,r]=X.useState({name:"",phone:"",company:""}),[i,o]=X.useState(!1),[l,c]=X.useState(!1),u=[{name:"文案岗",before:5,after:1,saving:80,status:"critical"},{name:"设计部",before:8,after:3,saving:62,status:"high"},{name:"客服部",before:10,after:3,saving:70,status:"high"},{name:"市场部",before:6,after:3,saving:50,status:"medium"},{name:"运营部",before:4,after:2,saving:50,status:"medium"}],d=h=>{h.preventDefault(),o(!0)};return i?w.jsxs("div",{className:"min-h-screen px-6 py-12 pb-32",children:[w.jsxs(Q.div,{className:"max-w-2xl mx-auto",initial:{opacity:0},animate:{opacity:1},children:[w.jsxs(Q.div,{className:"text-center mb-12",initial:{opacity:0,y:-20},animate:{opacity:1,y:0},children:[w.jsx("h1",{className:"text-3xl mb-2",children:"AI降本增效诊断报告"}),w.jsxs("p",{className:"text-gray-400",children:["为 ",t.company||t.name," 定制"]})]}),w.jsxs("div",{className:"grid grid-cols-2 gap-4 mb-8",children:[w.jsxs(Q.div,{className:"bg-gradient-to-br from-red-500/20 to-red-500/5 border border-red-500/30 rounded-xl p-6",initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:.2},children:[w.jsx("div",{className:"text-red-400 text-sm mb-2",children:"年度额外支出"}),w.jsxs("div",{className:"text-3xl",children:["¥852",",","000"]})]}),w.jsxs(Q.div,{className:"bg-gradient-to-br from-[#00F0FF]/20 to-[#00F0FF]/5 border border-[#00F0FF]/30 rounded-xl p-6",initial:{opacity:0,x:20},animate:{opacity:1,x:0},transition:{delay:.3},children:[w.jsx("div",{className:"text-[#00F0FF] text-sm mb-2",children:"预计年节省"}),w.jsxs("div",{className:"text-3xl",children:["¥520",",","000"]})]})]}),w.jsxs(Q.div,{className:"bg-white/5 backdrop-blur-sm border border-gray-600 rounded-2xl p-6 mb-8",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.4},children:[w.jsxs("h3",{className:"text-xl mb-6 flex items-center gap-2",children:[w.jsx(Fv,{className:"w-6 h-6 text-[#00F0FF]"}),"各部门优化分析"]}),w.jsx("div",{className:"space-y-4",children:u.map((h,y)=>w.jsxs(Q.div,{className:`p-4 rounded-xl border ${h.status==="critical"?"bg-red-500/10 border-red-500/30":h.status==="high"?"bg-orange-500/10 border-orange-500/30":"bg-yellow-500/10 border-yellow-500/30"}`,initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:.5+y*.1},children:[w.jsxs("div",{className:"flex items-center justify-between mb-3",children:[w.jsxs("div",{children:[w.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[w.jsx("span",{className:"font-medium",children:h.name}),h.status==="critical"&&w.jsx("span",{className:"text-xs bg-red-500 text-white px-2 py-0.5 rounded",children:"急需优化"})]}),w.jsxs("div",{className:"text-sm text-gray-400",children:[h.before,"人 → ",h.after,"人 + AI"]})]}),w.jsxs("div",{className:"text-right",children:[w.jsxs("div",{className:`text-2xl ${h.status==="critical"?"text-red-400":h.status==="high"?"text-orange-400":"text-yellow-400"}`,children:["-",h.saving,"%"]}),w.jsx("div",{className:"text-xs text-gray-500",children:"成本降低"})]})]}),w.jsx("div",{className:"h-2 bg-gray-800 rounded-full overflow-hidden",children:w.jsx(Q.div,{className:`h-full ${h.status==="critical"?"bg-red-400":h.status==="high"?"bg-orange-400":"bg-yellow-400"}`,initial:{width:0},animate:{width:`${h.saving}%`},transition:{delay:.7+y*.1,duration:1}})})]},h.name))})]}),w.jsxs(Q.div,{className:"bg-gradient-to-br from-[#7B61FF]/20 to-[#00F0FF]/20 backdrop-blur-sm border border-[#00F0FF]/30 rounded-2xl p-6 mb-8",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.9},children:[w.jsxs("h3",{className:"text-xl mb-4 flex items-center gap-2",children:[w.jsx(Ta,{className:"w-6 h-6 text-[#00F0FF]"}),"推荐AI工具组合"]}),w.jsx("div",{className:"grid grid-cols-2 gap-3",children:["文案生成AI","设计辅助AI","智能客服系统","数据分析AI","自动化运营工具","会议记录AI"].map((h,y)=>w.jsx(Q.div,{className:"bg-white/5 border border-gray-600 rounded-lg px-4 py-3 text-sm text-center",initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},transition:{delay:1+y*.05},children:h},h))})]}),w.jsxs(Q.div,{className:"relative bg-gradient-to-br from-[#7B61FF] to-[#00F0FF] rounded-3xl p-8 text-center overflow-hidden",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:1.2},children:[w.jsx(Q.div,{className:"absolute inset-0 opacity-20",animate:{backgroundPosition:["0% 0%","100% 100%"]},transition:{duration:20,repeat:1/0,repeatType:"reverse"},style:{backgroundImage:"radial-gradient(circle, white 1px, transparent 1px)",backgroundSize:"30px 30px"}}),w.jsxs("div",{className:"relative z-10",children:[w.jsxs(Q.div,{className:"flex items-center justify-center gap-2 mb-4",animate:{scale:[1,1.05,1]},transition:{duration:2,repeat:1/0},children:[w.jsx(hd,{className:"w-8 h-8 text-white"}),w.jsx("h3",{className:"text-2xl text-white",children:"知道问题了,不知道怎么落地?"})]}),w.jsxs("p",{className:"text-white/90 mb-6 text-lg",children:["专属AI顾问为您提供",w.jsx("br",{}),w.jsx("span",{className:"text-white",children:"行业定制版AI工具包 + 员工培训方案"})]}),w.jsxs(Q.button,{className:"w-full max-w-sm mx-auto py-5 bg-white text-[#7B61FF] rounded-2xl flex items-center justify-center gap-3 shadow-2xl",whileHover:{scale:1.05,boxShadow:"0 20px 40px rgba(0,0,0,0.3)"},whileTap:{scale:.95},onClick:()=>c(!0),children:[w.jsx(Xu,{className:"w-6 h-6"}),w.jsx("span",{className:"text-lg",children:"立即咨询专属AI顾问"}),w.jsx(tT,{className:"w-6 h-6"})]}),w.jsxs(Q.div,{className:"mt-4 flex items-center justify-center gap-2 text-white/90",animate:{opacity:[.7,1,.7]},transition:{duration:2,repeat:1/0},children:[w.jsx(pT,{className:"w-5 h-5"}),w.jsx("span",{children:"限时赠送《2025企业AI工具白皮书》"})]})]})]})]}),w.jsxs(Q.button,{className:"fixed bottom-6 left-1/2 -translate-x-1/2 px-8 py-4 bg-gradient-to-r from-[#7B61FF] to-[#00F0FF] rounded-full shadow-2xl flex items-center justify-center gap-3 z-50 max-w-[90vw]",initial:{y:100,opacity:0},animate:{y:0,opacity:1},transition:{delay:1.5,type:"spring"},whileHover:{scale:1.05,y:-5},whileTap:{scale:.95},onClick:()=>c(!0),children:[w.jsx(Xu,{className:"w-6 h-6 text-white"}),w.jsx("span",{className:"text-white whitespace-nowrap",children:"点击获取 1对1定制化AI落地方案"}),w.jsx(Q.div,{className:"absolute inset-0 rounded-full border-2 border-white",animate:{scale:[1,1.2,1],opacity:[.6,0,.6]},transition:{duration:2,repeat:1/0}}),w.jsx(Q.div,{className:"absolute inset-0 rounded-full bg-gradient-to-r from-[#7B61FF] to-[#00F0FF] blur-xl opacity-50",animate:{opacity:[.3,.6,.3]},transition:{duration:2,repeat:1/0}})]}),w.jsx(x2,{children:l&&w.jsxs(Q.div,{className:"fixed inset-0 z-50 flex items-center justify-center px-6",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},children:[w.jsx(Q.div,{className:"absolute inset-0 bg-black/80 backdrop-blur-sm",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},onClick:()=>c(!1)}),w.jsxs(Q.div,{className:"relative bg-gradient-to-br from-[#0A0F24] to-[#1a1f3a] border-2 border-[#00F0FF] rounded-3xl p-8 max-w-md w-full",initial:{scale:.8,y:50},animate:{scale:1,y:0},exit:{scale:.8,y:50},transition:{type:"spring"},children:[w.jsx("button",{className:"absolute top-4 right-4 text-gray-400 hover:text-white transition-colors",onClick:()=>c(!1),children:w.jsx(CT,{className:"w-6 h-6"})}),w.jsx(Q.div,{className:"flex justify-center mb-6",initial:{scale:0},animate:{scale:1},transition:{type:"spring",delay:.2},children:w.jsx(Q.div,{className:"w-20 h-20 bg-gradient-to-br from-[#7B61FF] to-[#00F0FF] rounded-full flex items-center justify-center",animate:{boxShadow:["0 0 20px rgba(0, 240, 255, 0.5)","0 0 40px rgba(123, 97, 255, 0.8)","0 0 20px rgba(0, 240, 255, 0.5)"]},transition:{duration:2,repeat:1/0},children:w.jsx(Xu,{className:"w-10 h-10 text-white"})})}),w.jsxs(Q.div,{className:"text-center mb-8",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.3},children:[w.jsx("h3",{className:"text-2xl mb-4",children:"添加专属AI顾问"}),w.jsx("p",{className:"text-gray-300 mb-6",children:"扫描下方二维码,即可获得:"}),w.jsx("div",{className:"space-y-3 mb-6 text-left",children:["1对1定制化AI落地方案","行业专属AI工具包推荐","全员AI技能培训指导","《2025企业AI工具白皮书》PDF"].map((h,y)=>w.jsxs(Q.div,{className:"flex items-center gap-3 text-sm text-gray-300",initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:.4+y*.1},children:[w.jsx("div",{className:"w-6 h-6 bg-[#00F0FF]/20 rounded-full flex items-center justify-center flex-shrink-0",children:w.jsx(Ty,{className:"w-4 h-4 text-[#00F0FF]"})}),w.jsx("span",{children:h})]},y))}),w.jsx(Q.div,{className:"bg-white rounded-2xl p-4 inline-block mb-4",initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},transition:{delay:.6},children:w.jsxs("div",{className:"w-48 h-48 bg-gray-300 rounded-xl flex items-center justify-center text-gray-600 text-xs text-center px-4",children:["顾问微信二维码",w.jsx("br",{}),"长按识别添加"]})}),w.jsxs(Q.p,{className:"text-sm text-gray-400",initial:{opacity:0},animate:{opacity:1},transition:{delay:.8},children:["添加后回复「",t.company||t.name,"」",w.jsx("br",{}),"立即获取专属方案"]})]})]})]})})]}):w.jsx("div",{className:"min-h-screen flex flex-col items-center justify-center px-6 py-12",children:w.jsxs(Q.div,{className:"w-full max-w-md",initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},children:[w.jsx(Q.div,{className:"flex justify-center mb-8",initial:{scale:0},animate:{scale:1},transition:{type:"spring",delay:.2},children:w.jsx("div",{className:"w-20 h-20 bg-gradient-to-br from-[#7B61FF] to-[#00F0FF] rounded-full flex items-center justify-center",children:w.jsx(Ty,{className:"w-12 h-12 text-white"})})}),w.jsx(Q.h2,{className:"text-2xl text-center mb-2",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.3},children:"报告已生成!"}),w.jsx(Q.p,{className:"text-gray-400 text-center mb-8",initial:{opacity:0},animate:{opacity:1},transition:{delay:.4},children:"请输入接收人信息以存档"}),w.jsxs(Q.form,{className:"space-y-4",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.5},onSubmit:d,children:[w.jsxs("div",{children:[w.jsx("label",{className:"block text-sm text-gray-400 mb-2",children:"姓名 *"}),w.jsx("input",{type:"text",required:!0,className:"w-full px-4 py-3 bg-white/5 border border-gray-600 rounded-xl focus:border-[#00F0FF] focus:outline-none transition-colors",placeholder:"请输入您的姓名",value:t.name,onChange:h=>r({...t,name:h.target.value})})]}),w.jsxs("div",{children:[w.jsx("label",{className:"block text-sm text-gray-400 mb-2",children:"手机号 *"}),w.jsx("input",{type:"tel",required:!0,pattern:"[0-9]{11}",className:"w-full px-4 py-3 bg-white/5 border border-gray-600 rounded-xl focus:border-[#00F0FF] focus:outline-none transition-colors",placeholder:"请输入手机号",value:t.phone,onChange:h=>r({...t,phone:h.target.value})})]}),w.jsxs("div",{children:[w.jsx("label",{className:"block text-sm text-gray-400 mb-2",children:"企业名称(选填)"}),w.jsx("input",{type:"text",className:"w-full px-4 py-3 bg-white/5 border border-gray-600 rounded-xl focus:border-[#00F0FF] focus:outline-none transition-colors",placeholder:"请输入企业名称",value:t.company,onChange:h=>r({...t,company:h.target.value})})]}),w.jsxs(Q.button,{type:"submit",className:"w-full py-4 bg-gradient-to-r from-[#7B61FF] to-[#00F0FF] rounded-xl flex items-center justify-center gap-2",whileHover:{scale:1.02},whileTap:{scale:.98},children:[w.jsx(fT,{className:"w-5 h-5"}),"查看报告"]})]})]})})}var Zu,Fy;function Fi(){return Fy||(Fy=1,Zu=TypeError),Zu}const jT={},MT=Object.freeze(Object.defineProperty({__proto__:null,default:jT},Symbol.toStringTag,{value:"Module"})),bT=aw(MT);var ec,Ny;function ba(){if(Ny)return ec;Ny=1;var t=typeof Map=="function"&&Map.prototype,r=Object.getOwnPropertyDescriptor&&t?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=t&&r&&typeof r.get=="function"?r.get:null,o=t&&Map.prototype.forEach,l=typeof Set=="function"&&Set.prototype,c=Object.getOwnPropertyDescriptor&&l?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=l&&c&&typeof c.get=="function"?c.get:null,d=l&&Set.prototype.forEach,h=typeof WeakMap=="function"&&WeakMap.prototype,y=h?WeakMap.prototype.has:null,m=typeof WeakSet=="function"&&WeakSet.prototype,v=m?WeakSet.prototype.has:null,x=typeof WeakRef=="function"&&WeakRef.prototype,P=x?WeakRef.prototype.deref:null,S=Boolean.prototype.valueOf,k=Object.prototype.toString,E=Function.prototype.toString,C=String.prototype.match,F=String.prototype.slice,_=String.prototype.replace,b=String.prototype.toUpperCase,V=String.prototype.toLowerCase,z=RegExp.prototype.test,$=Array.prototype.concat,H=Array.prototype.join,ie=Array.prototype.slice,Z=Math.floor,he=typeof BigInt=="function"?BigInt.prototype.valueOf:null,te=Object.getOwnPropertySymbols,Ee=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,xe=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Re=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===xe||!0)?Symbol.toStringTag:null,ke=Object.prototype.propertyIsEnumerable,ae=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(M){return M.__proto__}:null);function B(M,I){if(M===1/0||M===-1/0||M!==M||M&&M>-1e3&&M<1e3||z.call(/e/,I))return I;var Ae=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof M=="number"){var _e=M<0?-Z(-M):Z(M);if(_e!==M){var je=String(_e),ye=F.call(I,je.length+1);return _.call(je,Ae,"$&_")+"."+_.call(_.call(ye,/([0-9]{3})/g,"$&_"),/_$/,"")}}return _.call(I,Ae,"$&_")}var J=bT,Y=J.custom,R=Xe(Y)?Y:null,U={__proto__:null,double:'"',single:"'"},le={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};ec=function M(I,Ae,_e,je){var ye=Ae||{};if(it(ye,"quoteStyle")&&!it(U,ye.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(it(ye,"maxStringLength")&&(typeof ye.maxStringLength=="number"?ye.maxStringLength<0&&ye.maxStringLength!==1/0:ye.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var St=it(ye,"customInspect")?ye.customInspect:!0;if(typeof St!="boolean"&&St!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(it(ye,"indent")&&ye.indent!==null&&ye.indent!==" "&&!(parseInt(ye.indent,10)===ye.indent&&ye.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(it(ye,"numericSeparator")&&typeof ye.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var hn=ye.numericSeparator;if(typeof I>"u")return"undefined";if(I===null)return"null";if(typeof I=="boolean")return I?"true":"false";if(typeof I=="string")return Lr(I,ye);if(typeof I=="number"){if(I===0)return 1/0/I>0?"0":"-0";var dt=String(I);return hn?B(I,dt):dt}if(typeof I=="bigint"){var Yt=String(I)+"n";return hn?B(I,Yt):Yt}var Ur=typeof ye.depth>"u"?5:ye.depth;if(typeof _e>"u"&&(_e=0),_e>=Ur&&Ur>0&&typeof I=="object")return Ce(I)?"[Array]":"[Object]";var An=Hs(ye,_e);if(typeof je>"u")je=[];else if(At(je,I)>=0)return"[Circular]";function Et(Fn,yr,Gs){if(yr&&(je=ie.call(je),je.push(yr)),Gs){var Di={depth:ye.depth};return it(ye,"quoteStyle")&&(Di.quoteStyle=ye.quoteStyle),M(Fn,Di,_e+1,je)}return M(Fn,ye,_e+1,je)}if(typeof I=="function"&&!we(I)){var _i=dn(I),$n=zr(I,Et);return"[Function"+(_i?": "+_i:" (anonymous)")+"]"+($n.length>0?" { "+H.call($n,", ")+" }":"")}if(Xe(I)){var $r=xe?_.call(String(I),/^(Symbol\(.*\))_[^)]*$/,"$1"):Ee.call(I);return typeof I=="object"&&!xe?zn($r):$r}if($s(I)){for(var Jt="<"+V.call(String(I.nodeName)),Oi=I.attributes||[],mn=0;mn<Oi.length;mn++)Jt+=" "+Oi[mn].name+"="+fe(ge(Oi[mn].value),"double",ye);return Jt+=">",I.childNodes&&I.childNodes.length&&(Jt+="..."),Jt+="</"+V.call(String(I.nodeName))+">",Jt}if(Ce(I)){if(I.length===0)return"[]";var Hn=zr(I,Et);return An&&!Qa(Hn)?"["+Br(Hn,An)+"]":"[ "+H.call(Hn,", ")+" ]"}if(me(I)){var Wn=zr(I,Et);return!("cause"in Error.prototype)&&"cause"in I&&!ke.call(I,"cause")?"{ ["+String(I)+"] "+H.call($.call("[cause]: "+Et(I.cause),Wn),", ")+" }":Wn.length===0?"["+String(I)+"]":"{ ["+String(I)+"] "+H.call(Wn,", ")+" }"}if(typeof I=="object"&&St){if(R&&typeof I[R]=="function"&&J)return J(I,{depth:Ur-_e});if(St!=="symbol"&&typeof I.inspect=="function")return I.inspect()}if(st(I)){var Hr=[];return o&&o.call(I,function(Fn,yr){Hr.push(Et(yr,I,!0)+" => "+Et(Fn,I))}),Un("Map",i.call(I),Hr,An)}if(kn(I)){var Ws=[];return d&&d.call(I,function(Fn){Ws.push(Et(Fn,I))}),Un("Set",u.call(I),Ws,An)}if(pn(I))return Cn("WeakMap");if(Us(I))return Cn("WeakSet");if(Tn(I))return Cn("WeakRef");if(Oe(I))return zn(Et(Number(I)));if(xt(I))return zn(Et(he.call(I)));if(Ve(I))return zn(S.call(I));if(be(I))return zn(Et(String(I)));if(typeof window<"u"&&I===window)return"{ [object Window] }";if(typeof globalThis<"u"&&I===globalThis||typeof Jh<"u"&&I===Jh)return"{ [object globalThis] }";if(!Pe(I)&&!we(I)){var ji=zr(I,Et),qs=ae?ae(I)===Object.prototype:I instanceof Object||I.constructor===Object,Zt=I instanceof Object?"":"null prototype",Mi=!qs&&Re&&Object(I)===I&&Re in I?F.call(wt(I),8,-1):Zt?"Object":"",Ks=qs||typeof I.constructor!="function"?"":I.constructor.name?I.constructor.name+" ":"",bi=Ks+(Mi||Zt?"["+H.call($.call([],Mi||[],Zt||[]),": ")+"] ":"");return ji.length===0?bi+"{}":An?bi+"{"+Br(ji,An)+"}":bi+"{ "+H.call(ji,", ")+" }"}return String(I)};function fe(M,I,Ae){var _e=Ae.quoteStyle||I,je=U[_e];return je+M+je}function ge(M){return _.call(String(M),/"/g,""")}function ve(M){return!Re||!(typeof M=="object"&&(Re in M||typeof M[Re]<"u"))}function Ce(M){return wt(M)==="[object Array]"&&ve(M)}function Pe(M){return wt(M)==="[object Date]"&&ve(M)}function we(M){return wt(M)==="[object RegExp]"&&ve(M)}function me(M){return wt(M)==="[object Error]"&&ve(M)}function be(M){return wt(M)==="[object String]"&&ve(M)}function Oe(M){return wt(M)==="[object Number]"&&ve(M)}function Ve(M){return wt(M)==="[object Boolean]"&&ve(M)}function Xe(M){if(xe)return M&&typeof M=="object"&&M instanceof Symbol;if(typeof M=="symbol")return!0;if(!M||typeof M!="object"||!Ee)return!1;try{return Ee.call(M),!0}catch{}return!1}function xt(M){if(!M||typeof M!="object"||!he)return!1;try{return he.call(M),!0}catch{}return!1}var et=Object.prototype.hasOwnProperty||function(M){return M in this};function it(M,I){return et.call(M,I)}function wt(M){return k.call(M)}function dn(M){if(M.name)return M.name;var I=C.call(E.call(M),/^function\s*([\w$]+)/);return I?I[1]:null}function At(M,I){if(M.indexOf)return M.indexOf(I);for(var Ae=0,_e=M.length;Ae<_e;Ae++)if(M[Ae]===I)return Ae;return-1}function st(M){if(!i||!M||typeof M!="object")return!1;try{i.call(M);try{u.call(M)}catch{return!0}return M instanceof Map}catch{}return!1}function pn(M){if(!y||!M||typeof M!="object")return!1;try{y.call(M,y);try{v.call(M,v)}catch{return!0}return M instanceof WeakMap}catch{}return!1}function Tn(M){if(!P||!M||typeof M!="object")return!1;try{return P.call(M),!0}catch{}return!1}function kn(M){if(!u||!M||typeof M!="object")return!1;try{u.call(M);try{i.call(M)}catch{return!0}return M instanceof Set}catch{}return!1}function Us(M){if(!v||!M||typeof M!="object")return!1;try{v.call(M,v);try{y.call(M,y)}catch{return!0}return M instanceof WeakSet}catch{}return!1}function $s(M){return!M||typeof M!="object"?!1:typeof HTMLElement<"u"&&M instanceof HTMLElement?!0:typeof M.nodeName=="string"&&typeof M.getAttribute=="function"}function Lr(M,I){if(M.length>I.maxStringLength){var Ae=M.length-I.maxStringLength,_e="... "+Ae+" more character"+(Ae>1?"s":"");return Lr(F.call(M,0,I.maxStringLength),I)+_e}var je=le[I.quoteStyle||"single"];je.lastIndex=0;var ye=_.call(_.call(M,je,"\\$1"),/[\x00-\x1f]/g,Vr);return fe(ye,"single",I)}function Vr(M){var I=M.charCodeAt(0),Ae={8:"b",9:"t",10:"n",12:"f",13:"r"}[I];return Ae?"\\"+Ae:"\\x"+(I<16?"0":"")+b.call(I.toString(16))}function zn(M){return"Object("+M+")"}function Cn(M){return M+" { ? }"}function Un(M,I,Ae,_e){var je=_e?Br(Ae,_e):H.call(Ae,", ");return M+" ("+I+") {"+je+"}"}function Qa(M){for(var I=0;I<M.length;I++)if(At(M[I],`
|
||
`)>=0)return!1;return!0}function Hs(M,I){var Ae;if(M.indent===" ")Ae=" ";else if(typeof M.indent=="number"&&M.indent>0)Ae=H.call(Array(M.indent+1)," ");else return null;return{base:Ae,prev:H.call(Array(I+1),Ae)}}function Br(M,I){if(M.length===0)return"";var Ae=`
|
||
`+I.prev+I.base;return Ae+H.call(M,","+Ae)+`
|
||
`+I.prev}function zr(M,I){var Ae=Ce(M),_e=[];if(Ae){_e.length=M.length;for(var je=0;je<M.length;je++)_e[je]=it(M,je)?I(M[je],M):""}var ye=typeof te=="function"?te(M):[],St;if(xe){St={};for(var hn=0;hn<ye.length;hn++)St["$"+ye[hn]]=ye[hn]}for(var dt in M)it(M,dt)&&(Ae&&String(Number(dt))===dt&&dt<M.length||xe&&St["$"+dt]instanceof Symbol||(z.call(/[^\w$]/,dt)?_e.push(I(dt,M)+": "+I(M[dt],M)):_e.push(dt+": "+I(M[dt],M))));if(typeof te=="function")for(var Yt=0;Yt<ye.length;Yt++)ke.call(M,ye[Yt])&&_e.push("["+I(ye[Yt])+"]: "+I(M[ye[Yt]],M));return _e}return ec}var tc,Ry;function DT(){if(Ry)return tc;Ry=1;var t=ba(),r=Fi(),i=function(d,h,y){for(var m=d,v;(v=m.next)!=null;m=v)if(v.key===h)return m.next=v.next,y||(v.next=d.next,d.next=v),v},o=function(d,h){if(d){var y=i(d,h);return y&&y.value}},l=function(d,h,y){var m=i(d,h);m?m.value=y:d.next={key:h,next:d.next,value:y}},c=function(d,h){return d?!!i(d,h):!1},u=function(d,h){if(d)return i(d,h,!0)};return tc=function(){var h,y={assert:function(m){if(!y.has(m))throw new r("Side channel does not contain "+t(m))},delete:function(m){var v=h&&h.next,x=u(h,m);return x&&v&&v===x&&(h=void 0),!!x},get:function(m){return o(h,m)},has:function(m){return c(h,m)},set:function(m,v){h||(h={next:void 0}),l(h,m,v)}};return y},tc}var nc,_y;function Nv(){return _y||(_y=1,nc=Object),nc}var rc,Oy;function IT(){return Oy||(Oy=1,rc=Error),rc}var ic,jy;function LT(){return jy||(jy=1,ic=EvalError),ic}var sc,My;function VT(){return My||(My=1,sc=RangeError),sc}var oc,by;function BT(){return by||(by=1,oc=ReferenceError),oc}var ac,Dy;function zT(){return Dy||(Dy=1,ac=SyntaxError),ac}var lc,Iy;function UT(){return Iy||(Iy=1,lc=URIError),lc}var uc,Ly;function $T(){return Ly||(Ly=1,uc=Math.abs),uc}var cc,Vy;function HT(){return Vy||(Vy=1,cc=Math.floor),cc}var fc,By;function WT(){return By||(By=1,fc=Math.max),fc}var dc,zy;function qT(){return zy||(zy=1,dc=Math.min),dc}var pc,Uy;function KT(){return Uy||(Uy=1,pc=Math.pow),pc}var hc,$y;function GT(){return $y||($y=1,hc=Math.round),hc}var mc,Hy;function QT(){return Hy||(Hy=1,mc=Number.isNaN||function(r){return r!==r}),mc}var yc,Wy;function XT(){if(Wy)return yc;Wy=1;var t=QT();return yc=function(i){return t(i)||i===0?i:i<0?-1:1},yc}var gc,qy;function YT(){return qy||(qy=1,gc=Object.getOwnPropertyDescriptor),gc}var vc,Ky;function Rv(){if(Ky)return vc;Ky=1;var t=YT();if(t)try{t([],"length")}catch{t=null}return vc=t,vc}var xc,Gy;function JT(){if(Gy)return xc;Gy=1;var t=Object.defineProperty||!1;if(t)try{t({},"a",{value:1})}catch{t=!1}return xc=t,xc}var wc,Qy;function ZT(){return Qy||(Qy=1,wc=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},i=Symbol("test"),o=Object(i);if(typeof i=="string"||Object.prototype.toString.call(i)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var l=42;r[i]=l;for(var c in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var u=Object.getOwnPropertySymbols(r);if(u.length!==1||u[0]!==i||!Object.prototype.propertyIsEnumerable.call(r,i))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var d=Object.getOwnPropertyDescriptor(r,i);if(d.value!==l||d.enumerable!==!0)return!1}return!0}),wc}var Sc,Xy;function ek(){if(Xy)return Sc;Xy=1;var t=typeof Symbol<"u"&&Symbol,r=ZT();return Sc=function(){return typeof t!="function"||typeof Symbol!="function"||typeof t("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:r()},Sc}var Ec,Yy;function _v(){return Yy||(Yy=1,Ec=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),Ec}var Pc,Jy;function Ov(){if(Jy)return Pc;Jy=1;var t=Nv();return Pc=t.getPrototypeOf||null,Pc}var Tc,Zy;function tk(){if(Zy)return Tc;Zy=1;var t="Function.prototype.bind called on incompatible ",r=Object.prototype.toString,i=Math.max,o="[object Function]",l=function(h,y){for(var m=[],v=0;v<h.length;v+=1)m[v]=h[v];for(var x=0;x<y.length;x+=1)m[x+h.length]=y[x];return m},c=function(h,y){for(var m=[],v=y,x=0;v<h.length;v+=1,x+=1)m[x]=h[v];return m},u=function(d,h){for(var y="",m=0;m<d.length;m+=1)y+=d[m],m+1<d.length&&(y+=h);return y};return Tc=function(h){var y=this;if(typeof y!="function"||r.apply(y)!==o)throw new TypeError(t+y);for(var m=c(arguments,1),v,x=function(){if(this instanceof v){var C=y.apply(this,l(m,arguments));return Object(C)===C?C:this}return y.apply(h,l(m,arguments))},P=i(0,y.length-m.length),S=[],k=0;k<P;k++)S[k]="$"+k;if(v=Function("binder","return function ("+u(S,",")+"){ return binder.apply(this,arguments); }")(x),y.prototype){var E=function(){};E.prototype=y.prototype,v.prototype=new E,E.prototype=null}return v},Tc}var kc,e0;function Da(){if(e0)return kc;e0=1;var t=tk();return kc=Function.prototype.bind||t,kc}var Cc,t0;function md(){return t0||(t0=1,Cc=Function.prototype.call),Cc}var Ac,n0;function jv(){return n0||(n0=1,Ac=Function.prototype.apply),Ac}var Fc,r0;function nk(){return r0||(r0=1,Fc=typeof Reflect<"u"&&Reflect&&Reflect.apply),Fc}var Nc,i0;function rk(){if(i0)return Nc;i0=1;var t=Da(),r=jv(),i=md(),o=nk();return Nc=o||t.call(i,r),Nc}var Rc,s0;function Mv(){if(s0)return Rc;s0=1;var t=Da(),r=Fi(),i=md(),o=rk();return Rc=function(c){if(c.length<1||typeof c[0]!="function")throw new r("a function is required");return o(t,i,c)},Rc}var _c,o0;function ik(){if(o0)return _c;o0=1;var t=Mv(),r=Rv(),i;try{i=[].__proto__===Array.prototype}catch(u){if(!u||typeof u!="object"||!("code"in u)||u.code!=="ERR_PROTO_ACCESS")throw u}var o=!!i&&r&&r(Object.prototype,"__proto__"),l=Object,c=l.getPrototypeOf;return _c=o&&typeof o.get=="function"?t([o.get]):typeof c=="function"?function(d){return c(d==null?d:l(d))}:!1,_c}var Oc,a0;function sk(){if(a0)return Oc;a0=1;var t=_v(),r=Ov(),i=ik();return Oc=t?function(l){return t(l)}:r?function(l){if(!l||typeof l!="object"&&typeof l!="function")throw new TypeError("getProto: not an object");return r(l)}:i?function(l){return i(l)}:null,Oc}var jc,l0;function ok(){if(l0)return jc;l0=1;var t=Function.prototype.call,r=Object.prototype.hasOwnProperty,i=Da();return jc=i.call(t,r),jc}var Mc,u0;function yd(){if(u0)return Mc;u0=1;var t,r=Nv(),i=IT(),o=LT(),l=VT(),c=BT(),u=zT(),d=Fi(),h=UT(),y=$T(),m=HT(),v=WT(),x=qT(),P=KT(),S=GT(),k=XT(),E=Function,C=function(we){try{return E('"use strict"; return ('+we+").constructor;")()}catch{}},F=Rv(),_=JT(),b=function(){throw new d},V=F?(function(){try{return arguments.callee,b}catch{try{return F(arguments,"callee").get}catch{return b}}})():b,z=ek()(),$=sk(),H=Ov(),ie=_v(),Z=jv(),he=md(),te={},Ee=typeof Uint8Array>"u"||!$?t:$(Uint8Array),xe={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?t:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?t:ArrayBuffer,"%ArrayIteratorPrototype%":z&&$?$([][Symbol.iterator]()):t,"%AsyncFromSyncIteratorPrototype%":t,"%AsyncFunction%":te,"%AsyncGenerator%":te,"%AsyncGeneratorFunction%":te,"%AsyncIteratorPrototype%":te,"%Atomics%":typeof Atomics>"u"?t:Atomics,"%BigInt%":typeof BigInt>"u"?t:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?t:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?t:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?t:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":o,"%Float16Array%":typeof Float16Array>"u"?t:Float16Array,"%Float32Array%":typeof Float32Array>"u"?t:Float32Array,"%Float64Array%":typeof Float64Array>"u"?t:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?t:FinalizationRegistry,"%Function%":E,"%GeneratorFunction%":te,"%Int8Array%":typeof Int8Array>"u"?t:Int8Array,"%Int16Array%":typeof Int16Array>"u"?t:Int16Array,"%Int32Array%":typeof Int32Array>"u"?t:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":z&&$?$($([][Symbol.iterator]())):t,"%JSON%":typeof JSON=="object"?JSON:t,"%Map%":typeof Map>"u"?t:Map,"%MapIteratorPrototype%":typeof Map>"u"||!z||!$?t:$(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":r,"%Object.getOwnPropertyDescriptor%":F,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?t:Promise,"%Proxy%":typeof Proxy>"u"?t:Proxy,"%RangeError%":l,"%ReferenceError%":c,"%Reflect%":typeof Reflect>"u"?t:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?t:Set,"%SetIteratorPrototype%":typeof Set>"u"||!z||!$?t:$(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?t:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":z&&$?$(""[Symbol.iterator]()):t,"%Symbol%":z?Symbol:t,"%SyntaxError%":u,"%ThrowTypeError%":V,"%TypedArray%":Ee,"%TypeError%":d,"%Uint8Array%":typeof Uint8Array>"u"?t:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?t:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?t:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?t:Uint32Array,"%URIError%":h,"%WeakMap%":typeof WeakMap>"u"?t:WeakMap,"%WeakRef%":typeof WeakRef>"u"?t:WeakRef,"%WeakSet%":typeof WeakSet>"u"?t:WeakSet,"%Function.prototype.call%":he,"%Function.prototype.apply%":Z,"%Object.defineProperty%":_,"%Object.getPrototypeOf%":H,"%Math.abs%":y,"%Math.floor%":m,"%Math.max%":v,"%Math.min%":x,"%Math.pow%":P,"%Math.round%":S,"%Math.sign%":k,"%Reflect.getPrototypeOf%":ie};if($)try{null.error}catch(we){var Re=$($(we));xe["%Error.prototype%"]=Re}var ke=function we(me){var be;if(me==="%AsyncFunction%")be=C("async function () {}");else if(me==="%GeneratorFunction%")be=C("function* () {}");else if(me==="%AsyncGeneratorFunction%")be=C("async function* () {}");else if(me==="%AsyncGenerator%"){var Oe=we("%AsyncGeneratorFunction%");Oe&&(be=Oe.prototype)}else if(me==="%AsyncIteratorPrototype%"){var Ve=we("%AsyncGenerator%");Ve&&$&&(be=$(Ve.prototype))}return xe[me]=be,be},ae={__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"]},B=Da(),J=ok(),Y=B.call(he,Array.prototype.concat),R=B.call(Z,Array.prototype.splice),U=B.call(he,String.prototype.replace),le=B.call(he,String.prototype.slice),fe=B.call(he,RegExp.prototype.exec),ge=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ve=/\\(\\)?/g,Ce=function(me){var be=le(me,0,1),Oe=le(me,-1);if(be==="%"&&Oe!=="%")throw new u("invalid intrinsic syntax, expected closing `%`");if(Oe==="%"&&be!=="%")throw new u("invalid intrinsic syntax, expected opening `%`");var Ve=[];return U(me,ge,function(Xe,xt,et,it){Ve[Ve.length]=et?U(it,ve,"$1"):xt||Xe}),Ve},Pe=function(me,be){var Oe=me,Ve;if(J(ae,Oe)&&(Ve=ae[Oe],Oe="%"+Ve[0]+"%"),J(xe,Oe)){var Xe=xe[Oe];if(Xe===te&&(Xe=ke(Oe)),typeof Xe>"u"&&!be)throw new d("intrinsic "+me+" exists, but is not available. Please file an issue!");return{alias:Ve,name:Oe,value:Xe}}throw new u("intrinsic "+me+" does not exist!")};return Mc=function(me,be){if(typeof me!="string"||me.length===0)throw new d("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof be!="boolean")throw new d('"allowMissing" argument must be a boolean');if(fe(/^%?[^%]*%?$/,me)===null)throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Oe=Ce(me),Ve=Oe.length>0?Oe[0]:"",Xe=Pe("%"+Ve+"%",be),xt=Xe.name,et=Xe.value,it=!1,wt=Xe.alias;wt&&(Ve=wt[0],R(Oe,Y([0,1],wt)));for(var dn=1,At=!0;dn<Oe.length;dn+=1){var st=Oe[dn],pn=le(st,0,1),Tn=le(st,-1);if((pn==='"'||pn==="'"||pn==="`"||Tn==='"'||Tn==="'"||Tn==="`")&&pn!==Tn)throw new u("property names with quotes must have matching quotes");if((st==="constructor"||!At)&&(it=!0),Ve+="."+st,xt="%"+Ve+"%",J(xe,xt))et=xe[xt];else if(et!=null){if(!(st in et)){if(!be)throw new d("base intrinsic for "+me+" exists, but the property is not available.");return}if(F&&dn+1>=Oe.length){var kn=F(et,st);At=!!kn,At&&"get"in kn&&!("originalValue"in kn.get)?et=kn.get:et=et[st]}else At=J(et,st),et=et[st];At&&!it&&(xe[xt]=et)}}return et},Mc}var bc,c0;function bv(){if(c0)return bc;c0=1;var t=yd(),r=Mv(),i=r([t("%String.prototype.indexOf%")]);return bc=function(l,c){var u=t(l,!!c);return typeof u=="function"&&i(l,".prototype.")>-1?r([u]):u},bc}var Dc,f0;function Dv(){if(f0)return Dc;f0=1;var t=yd(),r=bv(),i=ba(),o=Fi(),l=t("%Map%",!0),c=r("Map.prototype.get",!0),u=r("Map.prototype.set",!0),d=r("Map.prototype.has",!0),h=r("Map.prototype.delete",!0),y=r("Map.prototype.size",!0);return Dc=!!l&&function(){var v,x={assert:function(P){if(!x.has(P))throw new o("Side channel does not contain "+i(P))},delete:function(P){if(v){var S=h(v,P);return y(v)===0&&(v=void 0),S}return!1},get:function(P){if(v)return c(v,P)},has:function(P){return v?d(v,P):!1},set:function(P,S){v||(v=new l),u(v,P,S)}};return x},Dc}var Ic,d0;function ak(){if(d0)return Ic;d0=1;var t=yd(),r=bv(),i=ba(),o=Dv(),l=Fi(),c=t("%WeakMap%",!0),u=r("WeakMap.prototype.get",!0),d=r("WeakMap.prototype.set",!0),h=r("WeakMap.prototype.has",!0),y=r("WeakMap.prototype.delete",!0);return Ic=c?function(){var v,x,P={assert:function(S){if(!P.has(S))throw new l("Side channel does not contain "+i(S))},delete:function(S){if(c&&S&&(typeof S=="object"||typeof S=="function")){if(v)return y(v,S)}else if(o&&x)return x.delete(S);return!1},get:function(S){return c&&S&&(typeof S=="object"||typeof S=="function")&&v?u(v,S):x&&x.get(S)},has:function(S){return c&&S&&(typeof S=="object"||typeof S=="function")&&v?h(v,S):!!x&&x.has(S)},set:function(S,k){c&&S&&(typeof S=="object"||typeof S=="function")?(v||(v=new c),d(v,S,k)):o&&(x||(x=o()),x.set(S,k))}};return P}:o,Ic}var Lc,p0;function lk(){if(p0)return Lc;p0=1;var t=Fi(),r=ba(),i=DT(),o=Dv(),l=ak(),c=l||o||i;return Lc=function(){var d,h={assert:function(y){if(!h.has(y))throw new t("Side channel does not contain "+r(y))},delete:function(y){return!!d&&d.delete(y)},get:function(y){return d&&d.get(y)},has:function(y){return!!d&&d.has(y)},set:function(y,m){d||(d=c()),d.set(y,m)}};return h},Lc}var Vc,h0;function gd(){if(h0)return Vc;h0=1;var t=String.prototype.replace,r=/%20/g,i={RFC1738:"RFC1738",RFC3986:"RFC3986"};return Vc={default:i.RFC3986,formatters:{RFC1738:function(o){return t.call(o,r,"+")},RFC3986:function(o){return String(o)}},RFC1738:i.RFC1738,RFC3986:i.RFC3986},Vc}var Bc,m0;function Iv(){if(m0)return Bc;m0=1;var t=gd(),r=Object.prototype.hasOwnProperty,i=Array.isArray,o=(function(){for(var E=[],C=0;C<256;++C)E.push("%"+((C<16?"0":"")+C.toString(16)).toUpperCase());return E})(),l=function(C){for(;C.length>1;){var F=C.pop(),_=F.obj[F.prop];if(i(_)){for(var b=[],V=0;V<_.length;++V)typeof _[V]<"u"&&b.push(_[V]);F.obj[F.prop]=b}}},c=function(C,F){for(var _=F&&F.plainObjects?{__proto__:null}:{},b=0;b<C.length;++b)typeof C[b]<"u"&&(_[b]=C[b]);return _},u=function E(C,F,_){if(!F)return C;if(typeof F!="object"&&typeof F!="function"){if(i(C))C.push(F);else if(C&&typeof C=="object")(_&&(_.plainObjects||_.allowPrototypes)||!r.call(Object.prototype,F))&&(C[F]=!0);else return[C,F];return C}if(!C||typeof C!="object")return[C].concat(F);var b=C;return i(C)&&!i(F)&&(b=c(C,_)),i(C)&&i(F)?(F.forEach(function(V,z){if(r.call(C,z)){var $=C[z];$&&typeof $=="object"&&V&&typeof V=="object"?C[z]=E($,V,_):C.push(V)}else C[z]=V}),C):Object.keys(F).reduce(function(V,z){var $=F[z];return r.call(V,z)?V[z]=E(V[z],$,_):V[z]=$,V},b)},d=function(C,F){return Object.keys(F).reduce(function(_,b){return _[b]=F[b],_},C)},h=function(E,C,F){var _=E.replace(/\+/g," ");if(F==="iso-8859-1")return _.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(_)}catch{return _}},y=1024,m=function(C,F,_,b,V){if(C.length===0)return C;var z=C;if(typeof C=="symbol"?z=Symbol.prototype.toString.call(C):typeof C!="string"&&(z=String(C)),_==="iso-8859-1")return escape(z).replace(/%u[0-9a-f]{4}/gi,function(Ee){return"%26%23"+parseInt(Ee.slice(2),16)+"%3B"});for(var $="",H=0;H<z.length;H+=y){for(var ie=z.length>=y?z.slice(H,H+y):z,Z=[],he=0;he<ie.length;++he){var te=ie.charCodeAt(he);if(te===45||te===46||te===95||te===126||te>=48&&te<=57||te>=65&&te<=90||te>=97&&te<=122||V===t.RFC1738&&(te===40||te===41)){Z[Z.length]=ie.charAt(he);continue}if(te<128){Z[Z.length]=o[te];continue}if(te<2048){Z[Z.length]=o[192|te>>6]+o[128|te&63];continue}if(te<55296||te>=57344){Z[Z.length]=o[224|te>>12]+o[128|te>>6&63]+o[128|te&63];continue}he+=1,te=65536+((te&1023)<<10|ie.charCodeAt(he)&1023),Z[Z.length]=o[240|te>>18]+o[128|te>>12&63]+o[128|te>>6&63]+o[128|te&63]}$+=Z.join("")}return $},v=function(C){for(var F=[{obj:{o:C},prop:"o"}],_=[],b=0;b<F.length;++b)for(var V=F[b],z=V.obj[V.prop],$=Object.keys(z),H=0;H<$.length;++H){var ie=$[H],Z=z[ie];typeof Z=="object"&&Z!==null&&_.indexOf(Z)===-1&&(F.push({obj:z,prop:ie}),_.push(Z))}return l(F),C},x=function(C){return Object.prototype.toString.call(C)==="[object RegExp]"},P=function(C){return!C||typeof C!="object"?!1:!!(C.constructor&&C.constructor.isBuffer&&C.constructor.isBuffer(C))},S=function(C,F){return[].concat(C,F)},k=function(C,F){if(i(C)){for(var _=[],b=0;b<C.length;b+=1)_.push(F(C[b]));return _}return F(C)};return Bc={arrayToObject:c,assign:d,combine:S,compact:v,decode:h,encode:m,isBuffer:P,isRegExp:x,maybeMap:k,merge:u},Bc}var zc,y0;function uk(){if(y0)return zc;y0=1;var t=lk(),r=Iv(),i=gd(),o=Object.prototype.hasOwnProperty,l={brackets:function(E){return E+"[]"},comma:"comma",indices:function(E,C){return E+"["+C+"]"},repeat:function(E){return E}},c=Array.isArray,u=Array.prototype.push,d=function(k,E){u.apply(k,c(E)?E:[E])},h=Date.prototype.toISOString,y=i.default,m={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:r.encode,encodeValuesOnly:!1,filter:void 0,format:y,formatter:i.formatters[y],indices:!1,serializeDate:function(E){return h.call(E)},skipNulls:!1,strictNullHandling:!1},v=function(E){return typeof E=="string"||typeof E=="number"||typeof E=="boolean"||typeof E=="symbol"||typeof E=="bigint"},x={},P=function k(E,C,F,_,b,V,z,$,H,ie,Z,he,te,Ee,xe,Re,ke,ae){for(var B=E,J=ae,Y=0,R=!1;(J=J.get(x))!==void 0&&!R;){var U=J.get(E);if(Y+=1,typeof U<"u"){if(U===Y)throw new RangeError("Cyclic object value");R=!0}typeof J.get(x)>"u"&&(Y=0)}if(typeof ie=="function"?B=ie(C,B):B instanceof Date?B=te(B):F==="comma"&&c(B)&&(B=r.maybeMap(B,function(xt){return xt instanceof Date?te(xt):xt})),B===null){if(V)return H&&!Re?H(C,m.encoder,ke,"key",Ee):C;B=""}if(v(B)||r.isBuffer(B)){if(H){var le=Re?C:H(C,m.encoder,ke,"key",Ee);return[xe(le)+"="+xe(H(B,m.encoder,ke,"value",Ee))]}return[xe(C)+"="+xe(String(B))]}var fe=[];if(typeof B>"u")return fe;var ge;if(F==="comma"&&c(B))Re&&H&&(B=r.maybeMap(B,H)),ge=[{value:B.length>0?B.join(",")||null:void 0}];else if(c(ie))ge=ie;else{var ve=Object.keys(B);ge=Z?ve.sort(Z):ve}var Ce=$?String(C).replace(/\./g,"%2E"):String(C),Pe=_&&c(B)&&B.length===1?Ce+"[]":Ce;if(b&&c(B)&&B.length===0)return Pe+"[]";for(var we=0;we<ge.length;++we){var me=ge[we],be=typeof me=="object"&&me&&typeof me.value<"u"?me.value:B[me];if(!(z&&be===null)){var Oe=he&&$?String(me).replace(/\./g,"%2E"):String(me),Ve=c(B)?typeof F=="function"?F(Pe,Oe):Pe:Pe+(he?"."+Oe:"["+Oe+"]");ae.set(E,Y);var Xe=t();Xe.set(x,ae),d(fe,k(be,Ve,F,_,b,V,z,$,F==="comma"&&Re&&c(B)?null:H,ie,Z,he,te,Ee,xe,Re,ke,Xe))}}return fe},S=function(E){if(!E)return m;if(typeof E.allowEmptyArrays<"u"&&typeof E.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof E.encodeDotInKeys<"u"&&typeof E.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(E.encoder!==null&&typeof E.encoder<"u"&&typeof E.encoder!="function")throw new TypeError("Encoder has to be a function.");var C=E.charset||m.charset;if(typeof E.charset<"u"&&E.charset!=="utf-8"&&E.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var F=i.default;if(typeof E.format<"u"){if(!o.call(i.formatters,E.format))throw new TypeError("Unknown format option provided.");F=E.format}var _=i.formatters[F],b=m.filter;(typeof E.filter=="function"||c(E.filter))&&(b=E.filter);var V;if(E.arrayFormat in l?V=E.arrayFormat:"indices"in E?V=E.indices?"indices":"repeat":V=m.arrayFormat,"commaRoundTrip"in E&&typeof E.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var z=typeof E.allowDots>"u"?E.encodeDotInKeys===!0?!0:m.allowDots:!!E.allowDots;return{addQueryPrefix:typeof E.addQueryPrefix=="boolean"?E.addQueryPrefix:m.addQueryPrefix,allowDots:z,allowEmptyArrays:typeof E.allowEmptyArrays=="boolean"?!!E.allowEmptyArrays:m.allowEmptyArrays,arrayFormat:V,charset:C,charsetSentinel:typeof E.charsetSentinel=="boolean"?E.charsetSentinel:m.charsetSentinel,commaRoundTrip:!!E.commaRoundTrip,delimiter:typeof E.delimiter>"u"?m.delimiter:E.delimiter,encode:typeof E.encode=="boolean"?E.encode:m.encode,encodeDotInKeys:typeof E.encodeDotInKeys=="boolean"?E.encodeDotInKeys:m.encodeDotInKeys,encoder:typeof E.encoder=="function"?E.encoder:m.encoder,encodeValuesOnly:typeof E.encodeValuesOnly=="boolean"?E.encodeValuesOnly:m.encodeValuesOnly,filter:b,format:F,formatter:_,serializeDate:typeof E.serializeDate=="function"?E.serializeDate:m.serializeDate,skipNulls:typeof E.skipNulls=="boolean"?E.skipNulls:m.skipNulls,sort:typeof E.sort=="function"?E.sort:null,strictNullHandling:typeof E.strictNullHandling=="boolean"?E.strictNullHandling:m.strictNullHandling}};return zc=function(k,E){var C=k,F=S(E),_,b;typeof F.filter=="function"?(b=F.filter,C=b("",C)):c(F.filter)&&(b=F.filter,_=b);var V=[];if(typeof C!="object"||C===null)return"";var z=l[F.arrayFormat],$=z==="comma"&&F.commaRoundTrip;_||(_=Object.keys(C)),F.sort&&_.sort(F.sort);for(var H=t(),ie=0;ie<_.length;++ie){var Z=_[ie],he=C[Z];F.skipNulls&&he===null||d(V,P(he,Z,z,$,F.allowEmptyArrays,F.strictNullHandling,F.skipNulls,F.encodeDotInKeys,F.encode?F.encoder:null,F.filter,F.sort,F.allowDots,F.serializeDate,F.format,F.formatter,F.encodeValuesOnly,F.charset,H))}var te=V.join(F.delimiter),Ee=F.addQueryPrefix===!0?"?":"";return F.charsetSentinel&&(F.charset==="iso-8859-1"?Ee+="utf8=%26%2310003%3B&":Ee+="utf8=%E2%9C%93&"),te.length>0?Ee+te:""},zc}var Uc,g0;function ck(){if(g0)return Uc;g0=1;var t=Iv(),r=Object.prototype.hasOwnProperty,i=Array.isArray,o={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:t.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},l=function(x){return x.replace(/&#(\d+);/g,function(P,S){return String.fromCharCode(parseInt(S,10))})},c=function(x,P,S){if(x&&typeof x=="string"&&P.comma&&x.indexOf(",")>-1)return x.split(",");if(P.throwOnLimitExceeded&&S>=P.arrayLimit)throw new RangeError("Array limit exceeded. Only "+P.arrayLimit+" element"+(P.arrayLimit===1?"":"s")+" allowed in an array.");return x},u="utf8=%26%2310003%3B",d="utf8=%E2%9C%93",h=function(P,S){var k={__proto__:null},E=S.ignoreQueryPrefix?P.replace(/^\?/,""):P;E=E.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var C=S.parameterLimit===1/0?void 0:S.parameterLimit,F=E.split(S.delimiter,S.throwOnLimitExceeded?C+1:C);if(S.throwOnLimitExceeded&&F.length>C)throw new RangeError("Parameter limit exceeded. Only "+C+" parameter"+(C===1?"":"s")+" allowed.");var _=-1,b,V=S.charset;if(S.charsetSentinel)for(b=0;b<F.length;++b)F[b].indexOf("utf8=")===0&&(F[b]===d?V="utf-8":F[b]===u&&(V="iso-8859-1"),_=b,b=F.length);for(b=0;b<F.length;++b)if(b!==_){var z=F[b],$=z.indexOf("]="),H=$===-1?z.indexOf("="):$+1,ie,Z;H===-1?(ie=S.decoder(z,o.decoder,V,"key"),Z=S.strictNullHandling?null:""):(ie=S.decoder(z.slice(0,H),o.decoder,V,"key"),Z=t.maybeMap(c(z.slice(H+1),S,i(k[ie])?k[ie].length:0),function(te){return S.decoder(te,o.decoder,V,"value")})),Z&&S.interpretNumericEntities&&V==="iso-8859-1"&&(Z=l(String(Z))),z.indexOf("[]=")>-1&&(Z=i(Z)?[Z]:Z);var he=r.call(k,ie);he&&S.duplicates==="combine"?k[ie]=t.combine(k[ie],Z):(!he||S.duplicates==="last")&&(k[ie]=Z)}return k},y=function(x,P,S,k){var E=0;if(x.length>0&&x[x.length-1]==="[]"){var C=x.slice(0,-1).join("");E=Array.isArray(P)&&P[C]?P[C].length:0}for(var F=k?P:c(P,S,E),_=x.length-1;_>=0;--_){var b,V=x[_];if(V==="[]"&&S.parseArrays)b=S.allowEmptyArrays&&(F===""||S.strictNullHandling&&F===null)?[]:t.combine([],F);else{b=S.plainObjects?{__proto__:null}:{};var z=V.charAt(0)==="["&&V.charAt(V.length-1)==="]"?V.slice(1,-1):V,$=S.decodeDotInKeys?z.replace(/%2E/g,"."):z,H=parseInt($,10);!S.parseArrays&&$===""?b={0:F}:!isNaN(H)&&V!==$&&String(H)===$&&H>=0&&S.parseArrays&&H<=S.arrayLimit?(b=[],b[H]=F):$!=="__proto__"&&(b[$]=F)}F=b}return F},m=function(P,S,k,E){if(P){var C=k.allowDots?P.replace(/\.([^.[]+)/g,"[$1]"):P,F=/(\[[^[\]]*])/,_=/(\[[^[\]]*])/g,b=k.depth>0&&F.exec(C),V=b?C.slice(0,b.index):C,z=[];if(V){if(!k.plainObjects&&r.call(Object.prototype,V)&&!k.allowPrototypes)return;z.push(V)}for(var $=0;k.depth>0&&(b=_.exec(C))!==null&&$<k.depth;){if($+=1,!k.plainObjects&&r.call(Object.prototype,b[1].slice(1,-1))&&!k.allowPrototypes)return;z.push(b[1])}if(b){if(k.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+k.depth+" and strictDepth is true");z.push("["+C.slice(b.index)+"]")}return y(z,S,k,E)}},v=function(P){if(!P)return o;if(typeof P.allowEmptyArrays<"u"&&typeof P.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof P.decodeDotInKeys<"u"&&typeof P.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(P.decoder!==null&&typeof P.decoder<"u"&&typeof P.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof P.charset<"u"&&P.charset!=="utf-8"&&P.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof P.throwOnLimitExceeded<"u"&&typeof P.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var S=typeof P.charset>"u"?o.charset:P.charset,k=typeof P.duplicates>"u"?o.duplicates:P.duplicates;if(k!=="combine"&&k!=="first"&&k!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var E=typeof P.allowDots>"u"?P.decodeDotInKeys===!0?!0:o.allowDots:!!P.allowDots;return{allowDots:E,allowEmptyArrays:typeof P.allowEmptyArrays=="boolean"?!!P.allowEmptyArrays:o.allowEmptyArrays,allowPrototypes:typeof P.allowPrototypes=="boolean"?P.allowPrototypes:o.allowPrototypes,allowSparse:typeof P.allowSparse=="boolean"?P.allowSparse:o.allowSparse,arrayLimit:typeof P.arrayLimit=="number"?P.arrayLimit:o.arrayLimit,charset:S,charsetSentinel:typeof P.charsetSentinel=="boolean"?P.charsetSentinel:o.charsetSentinel,comma:typeof P.comma=="boolean"?P.comma:o.comma,decodeDotInKeys:typeof P.decodeDotInKeys=="boolean"?P.decodeDotInKeys:o.decodeDotInKeys,decoder:typeof P.decoder=="function"?P.decoder:o.decoder,delimiter:typeof P.delimiter=="string"||t.isRegExp(P.delimiter)?P.delimiter:o.delimiter,depth:typeof P.depth=="number"||P.depth===!1?+P.depth:o.depth,duplicates:k,ignoreQueryPrefix:P.ignoreQueryPrefix===!0,interpretNumericEntities:typeof P.interpretNumericEntities=="boolean"?P.interpretNumericEntities:o.interpretNumericEntities,parameterLimit:typeof P.parameterLimit=="number"?P.parameterLimit:o.parameterLimit,parseArrays:P.parseArrays!==!1,plainObjects:typeof P.plainObjects=="boolean"?P.plainObjects:o.plainObjects,strictDepth:typeof P.strictDepth=="boolean"?!!P.strictDepth:o.strictDepth,strictNullHandling:typeof P.strictNullHandling=="boolean"?P.strictNullHandling:o.strictNullHandling,throwOnLimitExceeded:typeof P.throwOnLimitExceeded=="boolean"?P.throwOnLimitExceeded:!1}};return Uc=function(x,P){var S=v(P);if(x===""||x===null||typeof x>"u")return S.plainObjects?{__proto__:null}:{};for(var k=typeof x=="string"?h(x,S):x,E=S.plainObjects?{__proto__:null}:{},C=Object.keys(k),F=0;F<C.length;++F){var _=C[F],b=m(_,k[_],S,typeof x=="string");E=t.merge(E,b,S)}return S.allowSparse===!0?E:t.compact(E)},Uc}var $c,v0;function fk(){if(v0)return $c;v0=1;var t=uk(),r=ck(),i=gd();return $c={formats:i,parse:r,stringify:t},$c}var dk=fk();const ka=H0(dk),x0=t=>{let r;const i=new Set,o=(y,m)=>{const v=typeof y=="function"?y(r):y;if(!Object.is(v,r)){const x=r;r=m??(typeof v!="object"||v===null)?v:Object.assign({},r,v),i.forEach(P=>P(r,x))}},l=()=>r,d={setState:o,getState:l,getInitialState:()=>h,subscribe:y=>(i.add(y),()=>i.delete(y))},h=r=t(o,l,d);return d},pk=(t=>t?x0(t):x0),hk=t=>t;function mk(t,r=hk){const i=na.useSyncExternalStore(t.subscribe,na.useCallback(()=>r(t.getState()),[t,r]),na.useCallback(()=>r(t.getInitialState()),[t,r]));return na.useDebugValue(i),i}const yk=t=>{const r=pk(t),i=o=>mk(r,o);return Object.assign(i,r),i},gk=(t=>yk);function Lv(t,r){let i;try{i=t()}catch{return}return{getItem:l=>{var c;const u=h=>h===null?null:JSON.parse(h,void 0),d=(c=i.getItem(l))!=null?c:null;return d instanceof Promise?d.then(u):u(d)},setItem:(l,c)=>i.setItem(l,JSON.stringify(c,void 0)),removeItem:l=>i.removeItem(l)}}const xf=t=>r=>{try{const i=t(r);return i instanceof Promise?i:{then(o){return xf(o)(i)},catch(o){return this}}}catch(i){return{then(o){return this},catch(o){return xf(o)(i)}}}},vk=(t,r)=>(i,o,l)=>{let c={storage:Lv(()=>localStorage),partialize:k=>k,version:0,merge:(k,E)=>({...E,...k}),...r},u=!1;const d=new Set,h=new Set;let y=c.storage;if(!y)return t((...k)=>{console.warn(`[zustand persist middleware] Unable to update item '${c.name}', the given storage is currently unavailable.`),i(...k)},o,l);const m=()=>{const k=c.partialize({...o()});return y.setItem(c.name,{state:k,version:c.version})},v=l.setState;l.setState=(k,E)=>(v(k,E),m());const x=t((...k)=>(i(...k),m()),o,l);l.getInitialState=()=>x;let P;const S=()=>{var k,E;if(!y)return;u=!1,d.forEach(F=>{var _;return F((_=o())!=null?_:x)});const C=((E=c.onRehydrateStorage)==null?void 0:E.call(c,(k=o())!=null?k:x))||void 0;return xf(y.getItem.bind(y))(c.name).then(F=>{if(F)if(typeof F.version=="number"&&F.version!==c.version){if(c.migrate){const _=c.migrate(F.state,F.version);return _ instanceof Promise?_.then(b=>[!0,b]):[!0,_]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return[!1,F.state];return[!1,void 0]}).then(F=>{var _;const[b,V]=F;if(P=c.merge(V,(_=o())!=null?_:x),i(P,!0),b)return m()}).then(()=>{C==null||C(P,void 0),P=o(),u=!0,h.forEach(F=>F(P))}).catch(F=>{C==null||C(void 0,F)})};return l.persist={setOptions:k=>{c={...c,...k},k.storage&&(y=k.storage)},clearStorage:()=>{y==null||y.removeItem(c.name)},getOptions:()=>c,rehydrate:()=>S(),hasHydrated:()=>u,onHydrate:k=>(d.add(k),()=>{d.delete(k)}),onFinishHydration:k=>(h.add(k),()=>{h.delete(k)})},c.skipHydration||S(),P||x},xk=vk;var Vv=Symbol.for("immer-nothing"),w0=Symbol.for("immer-draftable"),Ct=Symbol.for("immer-state");function cn(t,...r){throw new Error(`[Immer] minified error nr: ${t}. Full error at: https://bit.ly/3cXEKWf`)}var zt=Object,Ei=zt.getPrototypeOf,Ca="constructor",Ia="prototype",wf="configurable",Aa="enumerable",pa="writable",Ns="value",hr=t=>!!t&&!!t[Ct];function Bn(t){var r;return t?Bv(t)||La(t)||!!t[w0]||!!((r=t[Ca])!=null&&r[w0])||Va(t)||Ba(t):!1}var wk=zt[Ia][Ca].toString(),S0=new WeakMap;function Bv(t){if(!t||!vd(t))return!1;const r=Ei(t);if(r===null||r===zt[Ia])return!0;const i=zt.hasOwnProperty.call(r,Ca)&&r[Ca];if(i===Object)return!0;if(!pi(i))return!1;let o=S0.get(i);return o===void 0&&(o=Function.toString.call(i),S0.set(i,o)),o===wk}function Ds(t,r,i=!0){Is(t)===0?(i?Reflect.ownKeys(t):zt.keys(t)).forEach(l=>{r(l,t[l],t)}):t.forEach((o,l)=>r(l,o,t))}function Is(t){const r=t[Ct];return r?r.type_:La(t)?1:Va(t)?2:Ba(t)?3:0}var E0=(t,r,i=Is(t))=>i===2?t.has(r):zt[Ia].hasOwnProperty.call(t,r),Sf=(t,r,i=Is(t))=>i===2?t.get(r):t[r],Fa=(t,r,i,o=Is(t))=>{o===2?t.set(r,i):o===3?t.add(i):t[r]=i};function Sk(t,r){return t===r?t!==0||1/t===1/r:t!==t&&r!==r}var La=Array.isArray,Va=t=>t instanceof Map,Ba=t=>t instanceof Set,vd=t=>typeof t=="object",pi=t=>typeof t=="function",Hc=t=>typeof t=="boolean",In=t=>t.copy_||t.base_,xd=t=>t.modified_?t.copy_:t.base_;function Ef(t,r){if(Va(t))return new Map(t);if(Ba(t))return new Set(t);if(La(t))return Array[Ia].slice.call(t);const i=Bv(t);if(r===!0||r==="class_only"&&!i){const o=zt.getOwnPropertyDescriptors(t);delete o[Ct];let l=Reflect.ownKeys(o);for(let c=0;c<l.length;c++){const u=l[c],d=o[u];d[pa]===!1&&(d[pa]=!0,d[wf]=!0),(d.get||d.set)&&(o[u]={[wf]:!0,[pa]:!0,[Aa]:d[Aa],[Ns]:t[u]})}return zt.create(Ei(t),o)}else{const o=Ei(t);if(o!==null&&i)return{...t};const l=zt.create(o);return zt.assign(l,t)}}function wd(t,r=!1){return za(t)||hr(t)||!Bn(t)||(Is(t)>1&&zt.defineProperties(t,{set:aa,add:aa,clear:aa,delete:aa}),zt.freeze(t),r&&Ds(t,(i,o)=>{wd(o,!0)},!1)),t}function Ek(){cn(2)}var aa={[Ns]:Ek};function za(t){return t===null||!vd(t)?!0:zt.isFrozen(t)}var Na="MapSet",Pf="Patches",zv={};function Pi(t){const r=zv[t];return r||cn(0,t),r}var Pk=t=>!!zv[t],Rs,Uv=()=>Rs,Tk=(t,r)=>({drafts_:[],parent_:t,immer_:r,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:Pk(Na)?Pi(Na):void 0});function P0(t,r){r&&(t.patchPlugin_=Pi(Pf),t.patches_=[],t.inversePatches_=[],t.patchListener_=r)}function Tf(t){kf(t),t.drafts_.forEach(kk),t.drafts_=null}function kf(t){t===Rs&&(Rs=t.parent_)}var T0=t=>Rs=Tk(Rs,t);function kk(t){const r=t[Ct];r.type_===0||r.type_===1?r.revoke_():r.revoked_=!0}function k0(t,r){r.unfinalizedDrafts_=r.drafts_.length;const i=r.drafts_[0];if(t!==void 0&&t!==i){i[Ct].modified_&&(Tf(r),cn(4)),Bn(t)&&(t=C0(r,t));const{patchPlugin_:l}=r;l&&l.generateReplacementPatches_(i[Ct].base_,t,r)}else t=C0(r,i);return Ck(r,t,!0),Tf(r),r.patches_&&r.patchListener_(r.patches_,r.inversePatches_),t!==Vv?t:void 0}function C0(t,r){if(za(r))return r;const i=r[Ct];if(!i)return Sd(r,t.handledSet_,t);if(!Ua(i,t))return r;if(!i.modified_)return i.base_;if(!i.finalized_){const{callbacks_:o}=i;if(o)for(;o.length>0;)o.pop()(t);Wv(i,t)}return i.copy_}function Ck(t,r,i=!1){!t.parent_&&t.immer_.autoFreeze_&&t.canAutoFreeze_&&wd(r,i)}function $v(t){t.finalized_=!0,t.scope_.unfinalizedDrafts_--}var Ua=(t,r)=>t.scope_===r,Ak=[];function Hv(t,r,i,o){const l=In(t),c=t.type_;if(o!==void 0&&Sf(l,o,c)===r){Fa(l,o,i,c);return}if(!t.draftLocations_){const d=t.draftLocations_=new Map;Ds(l,(h,y)=>{if(hr(y)){const m=d.get(y)||[];m.push(h),d.set(y,m)}})}const u=t.draftLocations_.get(r)??Ak;for(const d of u)Fa(l,d,i,c)}function Fk(t,r,i){t.callbacks_.push(function(l){var d;const c=r;if(!c||!Ua(c,l))return;(d=l.mapSetPlugin_)==null||d.fixSetContents(c);const u=xd(c);Hv(t,c.draft_??c,u,i),Wv(c,l)})}function Wv(t,r){var o;if(t.modified_&&!t.finalized_&&(t.type_===3||(((o=t.assigned_)==null?void 0:o.size)??0)>0)){const{patchPlugin_:l}=r;if(l){const c=l.getPath(t);c&&l.generatePatches_(t,c,r)}$v(t)}}function Nk(t,r,i){const{scope_:o}=t;if(hr(i)){const l=i[Ct];Ua(l,o)&&l.callbacks_.push(function(){ha(t);const u=xd(l);Hv(t,i,u,r)})}else Bn(i)&&t.callbacks_.push(function(){const c=In(t);Sf(c,r,t.type_)===i&&o.drafts_.length>1&&(t.assigned_.get(r)??!1)===!0&&t.copy_&&Sd(Sf(t.copy_,r,t.type_),o.handledSet_,o)})}function Sd(t,r,i){return!i.immer_.autoFreeze_&&i.unfinalizedDrafts_<1||hr(t)||r.has(t)||!Bn(t)||za(t)||(r.add(t),Ds(t,(o,l)=>{if(hr(l)){const c=l[Ct];if(Ua(c,i)){const u=xd(c);Fa(t,o,u,t.type_),$v(c)}}else Bn(l)&&Sd(l,r,i)})),t}function Rk(t,r){const i=La(t),o={type_:i?1:0,scope_:r?r.scope_:Uv(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:r,base_:t,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0};let l=o,c=Ed;i&&(l=[o],c=_s);const{revoke:u,proxy:d}=Proxy.revocable(l,c);return o.draft_=d,o.revoke_=u,[d,o]}var Ed={get(t,r){if(r===Ct)return t;const i=In(t);if(!E0(i,r,t.type_))return _k(t,i,r);const o=i[r];if(t.finalized_||!Bn(o))return o;if(o===Wc(t.base_,r)){ha(t);const l=t.type_===1?+r:r,c=Af(t.scope_,o,t,l);return t.copy_[l]=c}return o},has(t,r){return r in In(t)},ownKeys(t){return Reflect.ownKeys(In(t))},set(t,r,i){const o=qv(In(t),r);if(o!=null&&o.set)return o.set.call(t.draft_,i),!0;if(!t.modified_){const l=Wc(In(t),r),c=l==null?void 0:l[Ct];if(c&&c.base_===i)return t.copy_[r]=i,t.assigned_.set(r,!1),!0;if(Sk(i,l)&&(i!==void 0||E0(t.base_,r,t.type_)))return!0;ha(t),Cf(t)}return t.copy_[r]===i&&(i!==void 0||r in t.copy_)||Number.isNaN(i)&&Number.isNaN(t.copy_[r])||(t.copy_[r]=i,t.assigned_.set(r,!0),Nk(t,r,i)),!0},deleteProperty(t,r){return ha(t),Wc(t.base_,r)!==void 0||r in t.base_?(t.assigned_.set(r,!1),Cf(t)):t.assigned_.delete(r),t.copy_&&delete t.copy_[r],!0},getOwnPropertyDescriptor(t,r){const i=In(t),o=Reflect.getOwnPropertyDescriptor(i,r);return o&&{[pa]:!0,[wf]:t.type_!==1||r!=="length",[Aa]:o[Aa],[Ns]:i[r]}},defineProperty(){cn(11)},getPrototypeOf(t){return Ei(t.base_)},setPrototypeOf(){cn(12)}},_s={};Ds(Ed,(t,r)=>{_s[t]=function(){const i=arguments;return i[0]=i[0][0],r.apply(this,i)}});_s.deleteProperty=function(t,r){return _s.set.call(this,t,r,void 0)};_s.set=function(t,r,i){return Ed.set.call(this,t[0],r,i,t[0])};function Wc(t,r){const i=t[Ct];return(i?In(i):t)[r]}function _k(t,r,i){var l;const o=qv(r,i);return o?Ns in o?o[Ns]:(l=o.get)==null?void 0:l.call(t.draft_):void 0}function qv(t,r){if(!(r in t))return;let i=Ei(t);for(;i;){const o=Object.getOwnPropertyDescriptor(i,r);if(o)return o;i=Ei(i)}}function Cf(t){t.modified_||(t.modified_=!0,t.parent_&&Cf(t.parent_))}function ha(t){t.copy_||(t.assigned_=new Map,t.copy_=Ef(t.base_,t.scope_.immer_.useStrictShallowCopy_))}var Ok=class{constructor(t){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(r,i,o)=>{if(pi(r)&&!pi(i)){const c=i;i=r;const u=this;return function(h=c,...y){return u.produce(h,m=>i.call(this,m,...y))}}pi(i)||cn(6),o!==void 0&&!pi(o)&&cn(7);let l;if(Bn(r)){const c=T0(this),u=Af(c,r,void 0);let d=!0;try{l=i(u),d=!1}finally{d?Tf(c):kf(c)}return P0(c,o),k0(l,c)}else if(!r||!vd(r)){if(l=i(r),l===void 0&&(l=r),l===Vv&&(l=void 0),this.autoFreeze_&&wd(l,!0),o){const c=[],u=[];Pi(Pf).generateReplacementPatches_(r,l,{patches_:c,inversePatches_:u}),o(c,u)}return l}else cn(1,r)},this.produceWithPatches=(r,i)=>{if(pi(r))return(u,...d)=>this.produceWithPatches(u,h=>r(h,...d));let o,l;return[this.produce(r,i,(u,d)=>{o=u,l=d}),o,l]},Hc(t==null?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze),Hc(t==null?void 0:t.useStrictShallowCopy)&&this.setUseStrictShallowCopy(t.useStrictShallowCopy),Hc(t==null?void 0:t.useStrictIteration)&&this.setUseStrictIteration(t.useStrictIteration)}createDraft(t){Bn(t)||cn(8),hr(t)&&(t=jk(t));const r=T0(this),i=Af(r,t,void 0);return i[Ct].isManual_=!0,kf(r),i}finishDraft(t,r){const i=t&&t[Ct];(!i||!i.isManual_)&&cn(9);const{scope_:o}=i;return P0(o,r),k0(void 0,o)}setAutoFreeze(t){this.autoFreeze_=t}setUseStrictShallowCopy(t){this.useStrictShallowCopy_=t}setUseStrictIteration(t){this.useStrictIteration_=t}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(t,r){let i;for(i=r.length-1;i>=0;i--){const l=r[i];if(l.path.length===0&&l.op==="replace"){t=l.value;break}}i>-1&&(r=r.slice(i+1));const o=Pi(Pf).applyPatches_;return hr(t)?o(t,r):this.produce(t,l=>o(l,r))}};function Af(t,r,i,o){const[l,c]=Va(r)?Pi(Na).proxyMap_(r,i):Ba(r)?Pi(Na).proxySet_(r,i):Rk(r,i);return((i==null?void 0:i.scope_)??Uv()).drafts_.push(l),c.callbacks_=(i==null?void 0:i.callbacks_)??[],c.key_=o,i&&o!==void 0?Fk(i,c,o):c.callbacks_.push(function(h){var m;(m=h.mapSetPlugin_)==null||m.fixSetContents(c);const{patchPlugin_:y}=h;c.modified_&&y&&y.generatePatches_(c,[],h)}),l}function jk(t){return hr(t)||cn(10,t),Kv(t)}function Kv(t){if(!Bn(t)||za(t))return t;const r=t[Ct];let i,o=!0;if(r){if(!r.modified_)return r.base_;r.finalized_=!0,i=Ef(t,r.scope_.immer_.useStrictShallowCopy_),o=r.scope_.immer_.shouldUseStrictIteration()}else i=Ef(t,!0);return Ds(i,(l,c)=>{Fa(i,l,Kv(c))},o),r&&(r.finalized_=!1),i}var Mk=new Ok,bk=Mk.produce;const Dk=t=>(r,i,o)=>(o.setState=(l,c,...u)=>{const d=typeof l=="function"?bk(l):l;return r(d,c,...u)},t(o.setState,i,o)),Ik=Dk,Ff=gk()(xk(Ik(t=>({token:"",setToken(r){t(i=>{i.token=r})}})),{name:"zustand_storage",storage:Lv(()=>localStorage)}));function Gv(t,r){return function(){return t.apply(r,arguments)}}const{toString:Lk}=Object.prototype,{getPrototypeOf:Pd}=Object,{iterator:$a,toStringTag:Qv}=Symbol,Ha=(t=>r=>{const i=Lk.call(r);return t[i]||(t[i]=i.slice(8,-1).toLowerCase())})(Object.create(null)),fn=t=>(t=t.toLowerCase(),r=>Ha(r)===t),Wa=t=>r=>typeof r===t,{isArray:Ni}=Array,Ti=Wa("undefined");function Ls(t){return t!==null&&!Ti(t)&&t.constructor!==null&&!Ti(t.constructor)&&bt(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Xv=fn("ArrayBuffer");function Vk(t){let r;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?r=ArrayBuffer.isView(t):r=t&&t.buffer&&Xv(t.buffer),r}const Bk=Wa("string"),bt=Wa("function"),Yv=Wa("number"),Vs=t=>t!==null&&typeof t=="object",zk=t=>t===!0||t===!1,ma=t=>{if(Ha(t)!=="object")return!1;const r=Pd(t);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Qv in t)&&!($a in t)},Uk=t=>{if(!Vs(t)||Ls(t))return!1;try{return Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}catch{return!1}},$k=fn("Date"),Hk=fn("File"),Wk=fn("Blob"),qk=fn("FileList"),Kk=t=>Vs(t)&&bt(t.pipe),Gk=t=>{let r;return t&&(typeof FormData=="function"&&t instanceof FormData||bt(t.append)&&((r=Ha(t))==="formdata"||r==="object"&&bt(t.toString)&&t.toString()==="[object FormData]"))},Qk=fn("URLSearchParams"),[Xk,Yk,Jk,Zk]=["ReadableStream","Request","Response","Headers"].map(fn),eC=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Bs(t,r,{allOwnKeys:i=!1}={}){if(t===null||typeof t>"u")return;let o,l;if(typeof t!="object"&&(t=[t]),Ni(t))for(o=0,l=t.length;o<l;o++)r.call(null,t[o],o,t);else{if(Ls(t))return;const c=i?Object.getOwnPropertyNames(t):Object.keys(t),u=c.length;let d;for(o=0;o<u;o++)d=c[o],r.call(null,t[d],d,t)}}function Jv(t,r){if(Ls(t))return null;r=r.toLowerCase();const i=Object.keys(t);let o=i.length,l;for(;o-- >0;)if(l=i[o],r===l.toLowerCase())return l;return null}const jr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Zv=t=>!Ti(t)&&t!==jr;function Nf(){const{caseless:t,skipUndefined:r}=Zv(this)&&this||{},i={},o=(l,c)=>{const u=t&&Jv(i,c)||c;ma(i[u])&&ma(l)?i[u]=Nf(i[u],l):ma(l)?i[u]=Nf({},l):Ni(l)?i[u]=l.slice():(!r||!Ti(l))&&(i[u]=l)};for(let l=0,c=arguments.length;l<c;l++)arguments[l]&&Bs(arguments[l],o);return i}const tC=(t,r,i,{allOwnKeys:o}={})=>(Bs(r,(l,c)=>{i&&bt(l)?t[c]=Gv(l,i):t[c]=l},{allOwnKeys:o}),t),nC=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),rC=(t,r,i,o)=>{t.prototype=Object.create(r.prototype,o),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:r.prototype}),i&&Object.assign(t.prototype,i)},iC=(t,r,i,o)=>{let l,c,u;const d={};if(r=r||{},t==null)return r;do{for(l=Object.getOwnPropertyNames(t),c=l.length;c-- >0;)u=l[c],(!o||o(u,t,r))&&!d[u]&&(r[u]=t[u],d[u]=!0);t=i!==!1&&Pd(t)}while(t&&(!i||i(t,r))&&t!==Object.prototype);return r},sC=(t,r,i)=>{t=String(t),(i===void 0||i>t.length)&&(i=t.length),i-=r.length;const o=t.indexOf(r,i);return o!==-1&&o===i},oC=t=>{if(!t)return null;if(Ni(t))return t;let r=t.length;if(!Yv(r))return null;const i=new Array(r);for(;r-- >0;)i[r]=t[r];return i},aC=(t=>r=>t&&r instanceof t)(typeof Uint8Array<"u"&&Pd(Uint8Array)),lC=(t,r)=>{const o=(t&&t[$a]).call(t);let l;for(;(l=o.next())&&!l.done;){const c=l.value;r.call(t,c[0],c[1])}},uC=(t,r)=>{let i;const o=[];for(;(i=t.exec(r))!==null;)o.push(i);return o},cC=fn("HTMLFormElement"),fC=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(i,o,l){return o.toUpperCase()+l}),A0=(({hasOwnProperty:t})=>(r,i)=>t.call(r,i))(Object.prototype),dC=fn("RegExp"),e1=(t,r)=>{const i=Object.getOwnPropertyDescriptors(t),o={};Bs(i,(l,c)=>{let u;(u=r(l,c,t))!==!1&&(o[c]=u||l)}),Object.defineProperties(t,o)},pC=t=>{e1(t,(r,i)=>{if(bt(t)&&["arguments","caller","callee"].indexOf(i)!==-1)return!1;const o=t[i];if(bt(o)){if(r.enumerable=!1,"writable"in r){r.writable=!1;return}r.set||(r.set=()=>{throw Error("Can not rewrite read-only method '"+i+"'")})}})},hC=(t,r)=>{const i={},o=l=>{l.forEach(c=>{i[c]=!0})};return Ni(t)?o(t):o(String(t).split(r)),i},mC=()=>{},yC=(t,r)=>t!=null&&Number.isFinite(t=+t)?t:r;function gC(t){return!!(t&&bt(t.append)&&t[Qv]==="FormData"&&t[$a])}const vC=t=>{const r=new Array(10),i=(o,l)=>{if(Vs(o)){if(r.indexOf(o)>=0)return;if(Ls(o))return o;if(!("toJSON"in o)){r[l]=o;const c=Ni(o)?[]:{};return Bs(o,(u,d)=>{const h=i(u,l+1);!Ti(h)&&(c[d]=h)}),r[l]=void 0,c}}return o};return i(t,0)},xC=fn("AsyncFunction"),wC=t=>t&&(Vs(t)||bt(t))&&bt(t.then)&&bt(t.catch),t1=((t,r)=>t?setImmediate:r?((i,o)=>(jr.addEventListener("message",({source:l,data:c})=>{l===jr&&c===i&&o.length&&o.shift()()},!1),l=>{o.push(l),jr.postMessage(i,"*")}))(`axios@${Math.random()}`,[]):i=>setTimeout(i))(typeof setImmediate=="function",bt(jr.postMessage)),SC=typeof queueMicrotask<"u"?queueMicrotask.bind(jr):typeof process<"u"&&process.nextTick||t1,EC=t=>t!=null&&bt(t[$a]),L={isArray:Ni,isArrayBuffer:Xv,isBuffer:Ls,isFormData:Gk,isArrayBufferView:Vk,isString:Bk,isNumber:Yv,isBoolean:zk,isObject:Vs,isPlainObject:ma,isEmptyObject:Uk,isReadableStream:Xk,isRequest:Yk,isResponse:Jk,isHeaders:Zk,isUndefined:Ti,isDate:$k,isFile:Hk,isBlob:Wk,isRegExp:dC,isFunction:bt,isStream:Kk,isURLSearchParams:Qk,isTypedArray:aC,isFileList:qk,forEach:Bs,merge:Nf,extend:tC,trim:eC,stripBOM:nC,inherits:rC,toFlatObject:iC,kindOf:Ha,kindOfTest:fn,endsWith:sC,toArray:oC,forEachEntry:lC,matchAll:uC,isHTMLForm:cC,hasOwnProperty:A0,hasOwnProp:A0,reduceDescriptors:e1,freezeMethods:pC,toObjectSet:hC,toCamelCase:fC,noop:mC,toFiniteNumber:yC,findKey:Jv,global:jr,isContextDefined:Zv,isSpecCompliantForm:gC,toJSONObject:vC,isAsyncFn:xC,isThenable:wC,setImmediate:t1,asap:SC,isIterable:EC};function Se(t,r,i,o,l){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",r&&(this.code=r),i&&(this.config=i),o&&(this.request=o),l&&(this.response=l,this.status=l.status?l.status:null)}L.inherits(Se,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:L.toJSONObject(this.config),code:this.code,status:this.status}}});const n1=Se.prototype,r1={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{r1[t]={value:t}});Object.defineProperties(Se,r1);Object.defineProperty(n1,"isAxiosError",{value:!0});Se.from=(t,r,i,o,l,c)=>{const u=Object.create(n1);L.toFlatObject(t,u,function(m){return m!==Error.prototype},y=>y!=="isAxiosError");const d=t&&t.message?t.message:"Error",h=r==null&&t?t.code:r;return Se.call(u,d,h,i,o,l),t&&u.cause==null&&Object.defineProperty(u,"cause",{value:t,configurable:!0}),u.name=t&&t.name||"Error",c&&Object.assign(u,c),u};const PC=null;function Rf(t){return L.isPlainObject(t)||L.isArray(t)}function i1(t){return L.endsWith(t,"[]")?t.slice(0,-2):t}function F0(t,r,i){return t?t.concat(r).map(function(l,c){return l=i1(l),!i&&c?"["+l+"]":l}).join(i?".":""):r}function TC(t){return L.isArray(t)&&!t.some(Rf)}const kC=L.toFlatObject(L,{},null,function(r){return/^is[A-Z]/.test(r)});function qa(t,r,i){if(!L.isObject(t))throw new TypeError("target must be an object");r=r||new FormData,i=L.toFlatObject(i,{metaTokens:!0,dots:!1,indexes:!1},!1,function(k,E){return!L.isUndefined(E[k])});const o=i.metaTokens,l=i.visitor||m,c=i.dots,u=i.indexes,h=(i.Blob||typeof Blob<"u"&&Blob)&&L.isSpecCompliantForm(r);if(!L.isFunction(l))throw new TypeError("visitor must be a function");function y(S){if(S===null)return"";if(L.isDate(S))return S.toISOString();if(L.isBoolean(S))return S.toString();if(!h&&L.isBlob(S))throw new Se("Blob is not supported. Use a Buffer instead.");return L.isArrayBuffer(S)||L.isTypedArray(S)?h&&typeof Blob=="function"?new Blob([S]):Buffer.from(S):S}function m(S,k,E){let C=S;if(S&&!E&&typeof S=="object"){if(L.endsWith(k,"{}"))k=o?k:k.slice(0,-2),S=JSON.stringify(S);else if(L.isArray(S)&&TC(S)||(L.isFileList(S)||L.endsWith(k,"[]"))&&(C=L.toArray(S)))return k=i1(k),C.forEach(function(_,b){!(L.isUndefined(_)||_===null)&&r.append(u===!0?F0([k],b,c):u===null?k:k+"[]",y(_))}),!1}return Rf(S)?!0:(r.append(F0(E,k,c),y(S)),!1)}const v=[],x=Object.assign(kC,{defaultVisitor:m,convertValue:y,isVisitable:Rf});function P(S,k){if(!L.isUndefined(S)){if(v.indexOf(S)!==-1)throw Error("Circular reference detected in "+k.join("."));v.push(S),L.forEach(S,function(C,F){(!(L.isUndefined(C)||C===null)&&l.call(r,C,L.isString(F)?F.trim():F,k,x))===!0&&P(C,k?k.concat(F):[F])}),v.pop()}}if(!L.isObject(t))throw new TypeError("data must be an object");return P(t),r}function N0(t){const r={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(o){return r[o]})}function Td(t,r){this._pairs=[],t&&qa(t,this,r)}const s1=Td.prototype;s1.append=function(r,i){this._pairs.push([r,i])};s1.toString=function(r){const i=r?function(o){return r.call(this,o,N0)}:N0;return this._pairs.map(function(l){return i(l[0])+"="+i(l[1])},"").join("&")};function CC(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function o1(t,r,i){if(!r)return t;const o=i&&i.encode||CC;L.isFunction(i)&&(i={serialize:i});const l=i&&i.serialize;let c;if(l?c=l(r,i):c=L.isURLSearchParams(r)?r.toString():new Td(r,i).toString(o),c){const u=t.indexOf("#");u!==-1&&(t=t.slice(0,u)),t+=(t.indexOf("?")===-1?"?":"&")+c}return t}class R0{constructor(){this.handlers=[]}use(r,i,o){return this.handlers.push({fulfilled:r,rejected:i,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(r){this.handlers[r]&&(this.handlers[r]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(r){L.forEach(this.handlers,function(o){o!==null&&r(o)})}}const a1={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},AC=typeof URLSearchParams<"u"?URLSearchParams:Td,FC=typeof FormData<"u"?FormData:null,NC=typeof Blob<"u"?Blob:null,RC={isBrowser:!0,classes:{URLSearchParams:AC,FormData:FC,Blob:NC},protocols:["http","https","file","blob","url","data"]},kd=typeof window<"u"&&typeof document<"u",_f=typeof navigator=="object"&&navigator||void 0,_C=kd&&(!_f||["ReactNative","NativeScript","NS"].indexOf(_f.product)<0),OC=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",jC=kd&&window.location.href||"http://localhost",MC=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:kd,hasStandardBrowserEnv:_C,hasStandardBrowserWebWorkerEnv:OC,navigator:_f,origin:jC},Symbol.toStringTag,{value:"Module"})),gt={...MC,...RC};function bC(t,r){return qa(t,new gt.classes.URLSearchParams,{visitor:function(i,o,l,c){return gt.isNode&&L.isBuffer(i)?(this.append(o,i.toString("base64")),!1):c.defaultVisitor.apply(this,arguments)},...r})}function DC(t){return L.matchAll(/\w+|\[(\w*)]/g,t).map(r=>r[0]==="[]"?"":r[1]||r[0])}function IC(t){const r={},i=Object.keys(t);let o;const l=i.length;let c;for(o=0;o<l;o++)c=i[o],r[c]=t[c];return r}function l1(t){function r(i,o,l,c){let u=i[c++];if(u==="__proto__")return!0;const d=Number.isFinite(+u),h=c>=i.length;return u=!u&&L.isArray(l)?l.length:u,h?(L.hasOwnProp(l,u)?l[u]=[l[u],o]:l[u]=o,!d):((!l[u]||!L.isObject(l[u]))&&(l[u]=[]),r(i,o,l[u],c)&&L.isArray(l[u])&&(l[u]=IC(l[u])),!d)}if(L.isFormData(t)&&L.isFunction(t.entries)){const i={};return L.forEachEntry(t,(o,l)=>{r(DC(o),l,i,0)}),i}return null}function LC(t,r,i){if(L.isString(t))try{return(r||JSON.parse)(t),L.trim(t)}catch(o){if(o.name!=="SyntaxError")throw o}return(i||JSON.stringify)(t)}const zs={transitional:a1,adapter:["xhr","http","fetch"],transformRequest:[function(r,i){const o=i.getContentType()||"",l=o.indexOf("application/json")>-1,c=L.isObject(r);if(c&&L.isHTMLForm(r)&&(r=new FormData(r)),L.isFormData(r))return l?JSON.stringify(l1(r)):r;if(L.isArrayBuffer(r)||L.isBuffer(r)||L.isStream(r)||L.isFile(r)||L.isBlob(r)||L.isReadableStream(r))return r;if(L.isArrayBufferView(r))return r.buffer;if(L.isURLSearchParams(r))return i.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),r.toString();let d;if(c){if(o.indexOf("application/x-www-form-urlencoded")>-1)return bC(r,this.formSerializer).toString();if((d=L.isFileList(r))||o.indexOf("multipart/form-data")>-1){const h=this.env&&this.env.FormData;return qa(d?{"files[]":r}:r,h&&new h,this.formSerializer)}}return c||l?(i.setContentType("application/json",!1),LC(r)):r}],transformResponse:[function(r){const i=this.transitional||zs.transitional,o=i&&i.forcedJSONParsing,l=this.responseType==="json";if(L.isResponse(r)||L.isReadableStream(r))return r;if(r&&L.isString(r)&&(o&&!this.responseType||l)){const u=!(i&&i.silentJSONParsing)&&l;try{return JSON.parse(r,this.parseReviver)}catch(d){if(u)throw d.name==="SyntaxError"?Se.from(d,Se.ERR_BAD_RESPONSE,this,null,this.response):d}}return r}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:gt.classes.FormData,Blob:gt.classes.Blob},validateStatus:function(r){return r>=200&&r<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};L.forEach(["delete","get","head","post","put","patch"],t=>{zs.headers[t]={}});const VC=L.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),BC=t=>{const r={};let i,o,l;return t&&t.split(`
|
||
`).forEach(function(u){l=u.indexOf(":"),i=u.substring(0,l).trim().toLowerCase(),o=u.substring(l+1).trim(),!(!i||r[i]&&VC[i])&&(i==="set-cookie"?r[i]?r[i].push(o):r[i]=[o]:r[i]=r[i]?r[i]+", "+o:o)}),r},_0=Symbol("internals");function vs(t){return t&&String(t).trim().toLowerCase()}function ya(t){return t===!1||t==null?t:L.isArray(t)?t.map(ya):String(t)}function zC(t){const r=Object.create(null),i=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=i.exec(t);)r[o[1]]=o[2];return r}const UC=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function qc(t,r,i,o,l){if(L.isFunction(o))return o.call(this,r,i);if(l&&(r=i),!!L.isString(r)){if(L.isString(o))return r.indexOf(o)!==-1;if(L.isRegExp(o))return o.test(r)}}function $C(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(r,i,o)=>i.toUpperCase()+o)}function HC(t,r){const i=L.toCamelCase(" "+r);["get","set","has"].forEach(o=>{Object.defineProperty(t,o+i,{value:function(l,c,u){return this[o].call(this,r,l,c,u)},configurable:!0})})}let Dt=class{constructor(r){r&&this.set(r)}set(r,i,o){const l=this;function c(d,h,y){const m=vs(h);if(!m)throw new Error("header name must be a non-empty string");const v=L.findKey(l,m);(!v||l[v]===void 0||y===!0||y===void 0&&l[v]!==!1)&&(l[v||h]=ya(d))}const u=(d,h)=>L.forEach(d,(y,m)=>c(y,m,h));if(L.isPlainObject(r)||r instanceof this.constructor)u(r,i);else if(L.isString(r)&&(r=r.trim())&&!UC(r))u(BC(r),i);else if(L.isObject(r)&&L.isIterable(r)){let d={},h,y;for(const m of r){if(!L.isArray(m))throw TypeError("Object iterator must return a key-value pair");d[y=m[0]]=(h=d[y])?L.isArray(h)?[...h,m[1]]:[h,m[1]]:m[1]}u(d,i)}else r!=null&&c(i,r,o);return this}get(r,i){if(r=vs(r),r){const o=L.findKey(this,r);if(o){const l=this[o];if(!i)return l;if(i===!0)return zC(l);if(L.isFunction(i))return i.call(this,l,o);if(L.isRegExp(i))return i.exec(l);throw new TypeError("parser must be boolean|regexp|function")}}}has(r,i){if(r=vs(r),r){const o=L.findKey(this,r);return!!(o&&this[o]!==void 0&&(!i||qc(this,this[o],o,i)))}return!1}delete(r,i){const o=this;let l=!1;function c(u){if(u=vs(u),u){const d=L.findKey(o,u);d&&(!i||qc(o,o[d],d,i))&&(delete o[d],l=!0)}}return L.isArray(r)?r.forEach(c):c(r),l}clear(r){const i=Object.keys(this);let o=i.length,l=!1;for(;o--;){const c=i[o];(!r||qc(this,this[c],c,r,!0))&&(delete this[c],l=!0)}return l}normalize(r){const i=this,o={};return L.forEach(this,(l,c)=>{const u=L.findKey(o,c);if(u){i[u]=ya(l),delete i[c];return}const d=r?$C(c):String(c).trim();d!==c&&delete i[c],i[d]=ya(l),o[d]=!0}),this}concat(...r){return this.constructor.concat(this,...r)}toJSON(r){const i=Object.create(null);return L.forEach(this,(o,l)=>{o!=null&&o!==!1&&(i[l]=r&&L.isArray(o)?o.join(", "):o)}),i}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([r,i])=>r+": "+i).join(`
|
||
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(r){return r instanceof this?r:new this(r)}static concat(r,...i){const o=new this(r);return i.forEach(l=>o.set(l)),o}static accessor(r){const o=(this[_0]=this[_0]={accessors:{}}).accessors,l=this.prototype;function c(u){const d=vs(u);o[d]||(HC(l,u),o[d]=!0)}return L.isArray(r)?r.forEach(c):c(r),this}};Dt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);L.reduceDescriptors(Dt.prototype,({value:t},r)=>{let i=r[0].toUpperCase()+r.slice(1);return{get:()=>t,set(o){this[i]=o}}});L.freezeMethods(Dt);function Kc(t,r){const i=this||zs,o=r||i,l=Dt.from(o.headers);let c=o.data;return L.forEach(t,function(d){c=d.call(i,c,l.normalize(),r?r.status:void 0)}),l.normalize(),c}function u1(t){return!!(t&&t.__CANCEL__)}function Ri(t,r,i){Se.call(this,t??"canceled",Se.ERR_CANCELED,r,i),this.name="CanceledError"}L.inherits(Ri,Se,{__CANCEL__:!0});function c1(t,r,i){const o=i.config.validateStatus;!i.status||!o||o(i.status)?t(i):r(new Se("Request failed with status code "+i.status,[Se.ERR_BAD_REQUEST,Se.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))}function WC(t){const r=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return r&&r[1]||""}function qC(t,r){t=t||10;const i=new Array(t),o=new Array(t);let l=0,c=0,u;return r=r!==void 0?r:1e3,function(h){const y=Date.now(),m=o[c];u||(u=y),i[l]=h,o[l]=y;let v=c,x=0;for(;v!==l;)x+=i[v++],v=v%t;if(l=(l+1)%t,l===c&&(c=(c+1)%t),y-u<r)return;const P=m&&y-m;return P?Math.round(x*1e3/P):void 0}}function KC(t,r){let i=0,o=1e3/r,l,c;const u=(y,m=Date.now())=>{i=m,l=null,c&&(clearTimeout(c),c=null),t(...y)};return[(...y)=>{const m=Date.now(),v=m-i;v>=o?u(y,m):(l=y,c||(c=setTimeout(()=>{c=null,u(l)},o-v)))},()=>l&&u(l)]}const Ra=(t,r,i=3)=>{let o=0;const l=qC(50,250);return KC(c=>{const u=c.loaded,d=c.lengthComputable?c.total:void 0,h=u-o,y=l(h),m=u<=d;o=u;const v={loaded:u,total:d,progress:d?u/d:void 0,bytes:h,rate:y||void 0,estimated:y&&d&&m?(d-u)/y:void 0,event:c,lengthComputable:d!=null,[r?"download":"upload"]:!0};t(v)},i)},O0=(t,r)=>{const i=t!=null;return[o=>r[0]({lengthComputable:i,total:t,loaded:o}),r[1]]},j0=t=>(...r)=>L.asap(()=>t(...r)),GC=gt.hasStandardBrowserEnv?((t,r)=>i=>(i=new URL(i,gt.origin),t.protocol===i.protocol&&t.host===i.host&&(r||t.port===i.port)))(new URL(gt.origin),gt.navigator&&/(msie|trident)/i.test(gt.navigator.userAgent)):()=>!0,QC=gt.hasStandardBrowserEnv?{write(t,r,i,o,l,c,u){if(typeof document>"u")return;const d=[`${t}=${encodeURIComponent(r)}`];L.isNumber(i)&&d.push(`expires=${new Date(i).toUTCString()}`),L.isString(o)&&d.push(`path=${o}`),L.isString(l)&&d.push(`domain=${l}`),c===!0&&d.push("secure"),L.isString(u)&&d.push(`SameSite=${u}`),document.cookie=d.join("; ")},read(t){if(typeof document>"u")return null;const r=document.cookie.match(new RegExp("(?:^|; )"+t+"=([^;]*)"));return r?decodeURIComponent(r[1]):null},remove(t){this.write(t,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function XC(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function YC(t,r){return r?t.replace(/\/?\/$/,"")+"/"+r.replace(/^\/+/,""):t}function f1(t,r,i){let o=!XC(r);return t&&(o||i==!1)?YC(t,r):r}const M0=t=>t instanceof Dt?{...t}:t;function Ir(t,r){r=r||{};const i={};function o(y,m,v,x){return L.isPlainObject(y)&&L.isPlainObject(m)?L.merge.call({caseless:x},y,m):L.isPlainObject(m)?L.merge({},m):L.isArray(m)?m.slice():m}function l(y,m,v,x){if(L.isUndefined(m)){if(!L.isUndefined(y))return o(void 0,y,v,x)}else return o(y,m,v,x)}function c(y,m){if(!L.isUndefined(m))return o(void 0,m)}function u(y,m){if(L.isUndefined(m)){if(!L.isUndefined(y))return o(void 0,y)}else return o(void 0,m)}function d(y,m,v){if(v in r)return o(y,m);if(v in t)return o(void 0,y)}const h={url:c,method:c,data:c,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,withXSRFToken:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,beforeRedirect:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,responseEncoding:u,validateStatus:d,headers:(y,m,v)=>l(M0(y),M0(m),v,!0)};return L.forEach(Object.keys({...t,...r}),function(m){const v=h[m]||l,x=v(t[m],r[m],m);L.isUndefined(x)&&v!==d||(i[m]=x)}),i}const d1=t=>{const r=Ir({},t);let{data:i,withXSRFToken:o,xsrfHeaderName:l,xsrfCookieName:c,headers:u,auth:d}=r;if(r.headers=u=Dt.from(u),r.url=o1(f1(r.baseURL,r.url,r.allowAbsoluteUrls),t.params,t.paramsSerializer),d&&u.set("Authorization","Basic "+btoa((d.username||"")+":"+(d.password?unescape(encodeURIComponent(d.password)):""))),L.isFormData(i)){if(gt.hasStandardBrowserEnv||gt.hasStandardBrowserWebWorkerEnv)u.setContentType(void 0);else if(L.isFunction(i.getHeaders)){const h=i.getHeaders(),y=["content-type","content-length"];Object.entries(h).forEach(([m,v])=>{y.includes(m.toLowerCase())&&u.set(m,v)})}}if(gt.hasStandardBrowserEnv&&(o&&L.isFunction(o)&&(o=o(r)),o||o!==!1&&GC(r.url))){const h=l&&c&&QC.read(c);h&&u.set(l,h)}return r},JC=typeof XMLHttpRequest<"u",ZC=JC&&function(t){return new Promise(function(i,o){const l=d1(t);let c=l.data;const u=Dt.from(l.headers).normalize();let{responseType:d,onUploadProgress:h,onDownloadProgress:y}=l,m,v,x,P,S;function k(){P&&P(),S&&S(),l.cancelToken&&l.cancelToken.unsubscribe(m),l.signal&&l.signal.removeEventListener("abort",m)}let E=new XMLHttpRequest;E.open(l.method.toUpperCase(),l.url,!0),E.timeout=l.timeout;function C(){if(!E)return;const _=Dt.from("getAllResponseHeaders"in E&&E.getAllResponseHeaders()),V={data:!d||d==="text"||d==="json"?E.responseText:E.response,status:E.status,statusText:E.statusText,headers:_,config:t,request:E};c1(function($){i($),k()},function($){o($),k()},V),E=null}"onloadend"in E?E.onloadend=C:E.onreadystatechange=function(){!E||E.readyState!==4||E.status===0&&!(E.responseURL&&E.responseURL.indexOf("file:")===0)||setTimeout(C)},E.onabort=function(){E&&(o(new Se("Request aborted",Se.ECONNABORTED,t,E)),E=null)},E.onerror=function(b){const V=b&&b.message?b.message:"Network Error",z=new Se(V,Se.ERR_NETWORK,t,E);z.event=b||null,o(z),E=null},E.ontimeout=function(){let b=l.timeout?"timeout of "+l.timeout+"ms exceeded":"timeout exceeded";const V=l.transitional||a1;l.timeoutErrorMessage&&(b=l.timeoutErrorMessage),o(new Se(b,V.clarifyTimeoutError?Se.ETIMEDOUT:Se.ECONNABORTED,t,E)),E=null},c===void 0&&u.setContentType(null),"setRequestHeader"in E&&L.forEach(u.toJSON(),function(b,V){E.setRequestHeader(V,b)}),L.isUndefined(l.withCredentials)||(E.withCredentials=!!l.withCredentials),d&&d!=="json"&&(E.responseType=l.responseType),y&&([x,S]=Ra(y,!0),E.addEventListener("progress",x)),h&&E.upload&&([v,P]=Ra(h),E.upload.addEventListener("progress",v),E.upload.addEventListener("loadend",P)),(l.cancelToken||l.signal)&&(m=_=>{E&&(o(!_||_.type?new Ri(null,t,E):_),E.abort(),E=null)},l.cancelToken&&l.cancelToken.subscribe(m),l.signal&&(l.signal.aborted?m():l.signal.addEventListener("abort",m)));const F=WC(l.url);if(F&>.protocols.indexOf(F)===-1){o(new Se("Unsupported protocol "+F+":",Se.ERR_BAD_REQUEST,t));return}E.send(c||null)})},eA=(t,r)=>{const{length:i}=t=t?t.filter(Boolean):[];if(r||i){let o=new AbortController,l;const c=function(y){if(!l){l=!0,d();const m=y instanceof Error?y:this.reason;o.abort(m instanceof Se?m:new Ri(m instanceof Error?m.message:m))}};let u=r&&setTimeout(()=>{u=null,c(new Se(`timeout ${r} of ms exceeded`,Se.ETIMEDOUT))},r);const d=()=>{t&&(u&&clearTimeout(u),u=null,t.forEach(y=>{y.unsubscribe?y.unsubscribe(c):y.removeEventListener("abort",c)}),t=null)};t.forEach(y=>y.addEventListener("abort",c));const{signal:h}=o;return h.unsubscribe=()=>L.asap(d),h}},tA=function*(t,r){let i=t.byteLength;if(i<r){yield t;return}let o=0,l;for(;o<i;)l=o+r,yield t.slice(o,l),o=l},nA=async function*(t,r){for await(const i of rA(t))yield*tA(i,r)},rA=async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}const r=t.getReader();try{for(;;){const{done:i,value:o}=await r.read();if(i)break;yield o}}finally{await r.cancel()}},b0=(t,r,i,o)=>{const l=nA(t,r);let c=0,u,d=h=>{u||(u=!0,o&&o(h))};return new ReadableStream({async pull(h){try{const{done:y,value:m}=await l.next();if(y){d(),h.close();return}let v=m.byteLength;if(i){let x=c+=v;i(x)}h.enqueue(new Uint8Array(m))}catch(y){throw d(y),y}},cancel(h){return d(h),l.return()}},{highWaterMark:2})},D0=64*1024,{isFunction:la}=L,iA=(({Request:t,Response:r})=>({Request:t,Response:r}))(L.global),{ReadableStream:I0,TextEncoder:L0}=L.global,V0=(t,...r)=>{try{return!!t(...r)}catch{return!1}},sA=t=>{t=L.merge.call({skipUndefined:!0},iA,t);const{fetch:r,Request:i,Response:o}=t,l=r?la(r):typeof fetch=="function",c=la(i),u=la(o);if(!l)return!1;const d=l&&la(I0),h=l&&(typeof L0=="function"?(S=>k=>S.encode(k))(new L0):async S=>new Uint8Array(await new i(S).arrayBuffer())),y=c&&d&&V0(()=>{let S=!1;const k=new i(gt.origin,{body:new I0,method:"POST",get duplex(){return S=!0,"half"}}).headers.has("Content-Type");return S&&!k}),m=u&&d&&V0(()=>L.isReadableStream(new o("").body)),v={stream:m&&(S=>S.body)};l&&["text","arrayBuffer","blob","formData","stream"].forEach(S=>{!v[S]&&(v[S]=(k,E)=>{let C=k&&k[S];if(C)return C.call(k);throw new Se(`Response type '${S}' is not supported`,Se.ERR_NOT_SUPPORT,E)})});const x=async S=>{if(S==null)return 0;if(L.isBlob(S))return S.size;if(L.isSpecCompliantForm(S))return(await new i(gt.origin,{method:"POST",body:S}).arrayBuffer()).byteLength;if(L.isArrayBufferView(S)||L.isArrayBuffer(S))return S.byteLength;if(L.isURLSearchParams(S)&&(S=S+""),L.isString(S))return(await h(S)).byteLength},P=async(S,k)=>{const E=L.toFiniteNumber(S.getContentLength());return E??x(k)};return async S=>{let{url:k,method:E,data:C,signal:F,cancelToken:_,timeout:b,onDownloadProgress:V,onUploadProgress:z,responseType:$,headers:H,withCredentials:ie="same-origin",fetchOptions:Z}=d1(S),he=r||fetch;$=$?($+"").toLowerCase():"text";let te=eA([F,_&&_.toAbortSignal()],b),Ee=null;const xe=te&&te.unsubscribe&&(()=>{te.unsubscribe()});let Re;try{if(z&&y&&E!=="get"&&E!=="head"&&(Re=await P(H,C))!==0){let R=new i(k,{method:"POST",body:C,duplex:"half"}),U;if(L.isFormData(C)&&(U=R.headers.get("content-type"))&&H.setContentType(U),R.body){const[le,fe]=O0(Re,Ra(j0(z)));C=b0(R.body,D0,le,fe)}}L.isString(ie)||(ie=ie?"include":"omit");const ke=c&&"credentials"in i.prototype,ae={...Z,signal:te,method:E.toUpperCase(),headers:H.normalize().toJSON(),body:C,duplex:"half",credentials:ke?ie:void 0};Ee=c&&new i(k,ae);let B=await(c?he(Ee,Z):he(k,ae));const J=m&&($==="stream"||$==="response");if(m&&(V||J&&xe)){const R={};["status","statusText","headers"].forEach(ge=>{R[ge]=B[ge]});const U=L.toFiniteNumber(B.headers.get("content-length")),[le,fe]=V&&O0(U,Ra(j0(V),!0))||[];B=new o(b0(B.body,D0,le,()=>{fe&&fe(),xe&&xe()}),R)}$=$||"text";let Y=await v[L.findKey(v,$)||"text"](B,S);return!J&&xe&&xe(),await new Promise((R,U)=>{c1(R,U,{data:Y,headers:Dt.from(B.headers),status:B.status,statusText:B.statusText,config:S,request:Ee})})}catch(ke){throw xe&&xe(),ke&&ke.name==="TypeError"&&/Load failed|fetch/i.test(ke.message)?Object.assign(new Se("Network Error",Se.ERR_NETWORK,S,Ee),{cause:ke.cause||ke}):Se.from(ke,ke&&ke.code,S,Ee)}}},oA=new Map,p1=t=>{let r=t&&t.env||{};const{fetch:i,Request:o,Response:l}=r,c=[o,l,i];let u=c.length,d=u,h,y,m=oA;for(;d--;)h=c[d],y=m.get(h),y===void 0&&m.set(h,y=d?new Map:sA(r)),m=y;return y};p1();const Cd={http:PC,xhr:ZC,fetch:{get:p1}};L.forEach(Cd,(t,r)=>{if(t){try{Object.defineProperty(t,"name",{value:r})}catch{}Object.defineProperty(t,"adapterName",{value:r})}});const B0=t=>`- ${t}`,aA=t=>L.isFunction(t)||t===null||t===!1;function lA(t,r){t=L.isArray(t)?t:[t];const{length:i}=t;let o,l;const c={};for(let u=0;u<i;u++){o=t[u];let d;if(l=o,!aA(o)&&(l=Cd[(d=String(o)).toLowerCase()],l===void 0))throw new Se(`Unknown adapter '${d}'`);if(l&&(L.isFunction(l)||(l=l.get(r))))break;c[d||"#"+u]=l}if(!l){const u=Object.entries(c).map(([h,y])=>`adapter ${h} `+(y===!1?"is not supported by the environment":"is not available in the build"));let d=i?u.length>1?`since :
|
||
`+u.map(B0).join(`
|
||
`):" "+B0(u[0]):"as no adapter specified";throw new Se("There is no suitable adapter to dispatch the request "+d,"ERR_NOT_SUPPORT")}return l}const h1={getAdapter:lA,adapters:Cd};function Gc(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Ri(null,t)}function z0(t){return Gc(t),t.headers=Dt.from(t.headers),t.data=Kc.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),h1.getAdapter(t.adapter||zs.adapter,t)(t).then(function(o){return Gc(t),o.data=Kc.call(t,t.transformResponse,o),o.headers=Dt.from(o.headers),o},function(o){return u1(o)||(Gc(t),o&&o.response&&(o.response.data=Kc.call(t,t.transformResponse,o.response),o.response.headers=Dt.from(o.response.headers))),Promise.reject(o)})}const m1="1.13.2",Ka={};["object","boolean","number","function","string","symbol"].forEach((t,r)=>{Ka[t]=function(o){return typeof o===t||"a"+(r<1?"n ":" ")+t}});const U0={};Ka.transitional=function(r,i,o){function l(c,u){return"[Axios v"+m1+"] Transitional option '"+c+"'"+u+(o?". "+o:"")}return(c,u,d)=>{if(r===!1)throw new Se(l(u," has been removed"+(i?" in "+i:"")),Se.ERR_DEPRECATED);return i&&!U0[u]&&(U0[u]=!0,console.warn(l(u," has been deprecated since v"+i+" and will be removed in the near future"))),r?r(c,u,d):!0}};Ka.spelling=function(r){return(i,o)=>(console.warn(`${o} is likely a misspelling of ${r}`),!0)};function uA(t,r,i){if(typeof t!="object")throw new Se("options must be an object",Se.ERR_BAD_OPTION_VALUE);const o=Object.keys(t);let l=o.length;for(;l-- >0;){const c=o[l],u=r[c];if(u){const d=t[c],h=d===void 0||u(d,c,t);if(h!==!0)throw new Se("option "+c+" must be "+h,Se.ERR_BAD_OPTION_VALUE);continue}if(i!==!0)throw new Se("Unknown option "+c,Se.ERR_BAD_OPTION)}}const ga={assertOptions:uA,validators:Ka},Sn=ga.validators;let Dr=class{constructor(r){this.defaults=r||{},this.interceptors={request:new R0,response:new R0}}async request(r,i){try{return await this._request(r,i)}catch(o){if(o instanceof Error){let l={};Error.captureStackTrace?Error.captureStackTrace(l):l=new Error;const c=l.stack?l.stack.replace(/^.+\n/,""):"";try{o.stack?c&&!String(o.stack).endsWith(c.replace(/^.+\n.+\n/,""))&&(o.stack+=`
|
||
`+c):o.stack=c}catch{}}throw o}}_request(r,i){typeof r=="string"?(i=i||{},i.url=r):i=r||{},i=Ir(this.defaults,i);const{transitional:o,paramsSerializer:l,headers:c}=i;o!==void 0&&ga.assertOptions(o,{silentJSONParsing:Sn.transitional(Sn.boolean),forcedJSONParsing:Sn.transitional(Sn.boolean),clarifyTimeoutError:Sn.transitional(Sn.boolean)},!1),l!=null&&(L.isFunction(l)?i.paramsSerializer={serialize:l}:ga.assertOptions(l,{encode:Sn.function,serialize:Sn.function},!0)),i.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?i.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:i.allowAbsoluteUrls=!0),ga.assertOptions(i,{baseUrl:Sn.spelling("baseURL"),withXsrfToken:Sn.spelling("withXSRFToken")},!0),i.method=(i.method||this.defaults.method||"get").toLowerCase();let u=c&&L.merge(c.common,c[i.method]);c&&L.forEach(["delete","get","head","post","put","patch","common"],S=>{delete c[S]}),i.headers=Dt.concat(u,c);const d=[];let h=!0;this.interceptors.request.forEach(function(k){typeof k.runWhen=="function"&&k.runWhen(i)===!1||(h=h&&k.synchronous,d.unshift(k.fulfilled,k.rejected))});const y=[];this.interceptors.response.forEach(function(k){y.push(k.fulfilled,k.rejected)});let m,v=0,x;if(!h){const S=[z0.bind(this),void 0];for(S.unshift(...d),S.push(...y),x=S.length,m=Promise.resolve(i);v<x;)m=m.then(S[v++],S[v++]);return m}x=d.length;let P=i;for(;v<x;){const S=d[v++],k=d[v++];try{P=S(P)}catch(E){k.call(this,E);break}}try{m=z0.call(this,P)}catch(S){return Promise.reject(S)}for(v=0,x=y.length;v<x;)m=m.then(y[v++],y[v++]);return m}getUri(r){r=Ir(this.defaults,r);const i=f1(r.baseURL,r.url,r.allowAbsoluteUrls);return o1(i,r.params,r.paramsSerializer)}};L.forEach(["delete","get","head","options"],function(r){Dr.prototype[r]=function(i,o){return this.request(Ir(o||{},{method:r,url:i,data:(o||{}).data}))}});L.forEach(["post","put","patch"],function(r){function i(o){return function(c,u,d){return this.request(Ir(d||{},{method:r,headers:o?{"Content-Type":"multipart/form-data"}:{},url:c,data:u}))}}Dr.prototype[r]=i(),Dr.prototype[r+"Form"]=i(!0)});let cA=class y1{constructor(r){if(typeof r!="function")throw new TypeError("executor must be a function.");let i;this.promise=new Promise(function(c){i=c});const o=this;this.promise.then(l=>{if(!o._listeners)return;let c=o._listeners.length;for(;c-- >0;)o._listeners[c](l);o._listeners=null}),this.promise.then=l=>{let c;const u=new Promise(d=>{o.subscribe(d),c=d}).then(l);return u.cancel=function(){o.unsubscribe(c)},u},r(function(c,u,d){o.reason||(o.reason=new Ri(c,u,d),i(o.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(r){if(this.reason){r(this.reason);return}this._listeners?this._listeners.push(r):this._listeners=[r]}unsubscribe(r){if(!this._listeners)return;const i=this._listeners.indexOf(r);i!==-1&&this._listeners.splice(i,1)}toAbortSignal(){const r=new AbortController,i=o=>{r.abort(o)};return this.subscribe(i),r.signal.unsubscribe=()=>this.unsubscribe(i),r.signal}static source(){let r;return{token:new y1(function(l){r=l}),cancel:r}}};function fA(t){return function(i){return t.apply(null,i)}}function dA(t){return L.isObject(t)&&t.isAxiosError===!0}const Of={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Of).forEach(([t,r])=>{Of[r]=t});function g1(t){const r=new Dr(t),i=Gv(Dr.prototype.request,r);return L.extend(i,Dr.prototype,r,{allOwnKeys:!0}),L.extend(i,r,null,{allOwnKeys:!0}),i.create=function(l){return g1(Ir(t,l))},i}const Qe=g1(zs);Qe.Axios=Dr;Qe.CanceledError=Ri;Qe.CancelToken=cA;Qe.isCancel=u1;Qe.VERSION=m1;Qe.toFormData=qa;Qe.AxiosError=Se;Qe.Cancel=Qe.CanceledError;Qe.all=function(r){return Promise.all(r)};Qe.spread=fA;Qe.isAxiosError=dA;Qe.mergeConfig=Ir;Qe.AxiosHeaders=Dt;Qe.formToJSON=t=>l1(L.isHTMLForm(t)?new FormData(t):t);Qe.getAdapter=h1.getAdapter;Qe.HttpStatusCode=Of;Qe.default=Qe;const{Axios:kA,AxiosError:CA,CanceledError:AA,isCancel:FA,CancelToken:NA,VERSION:RA,all:_A,Cancel:OA,isAxiosError:jA,spread:MA,toFormData:bA,AxiosHeaders:DA,HttpStatusCode:IA,formToJSON:LA,getAdapter:VA,mergeConfig:BA}=Qe;function pA(){window.localStorage.removeItem("app-access");let t=window.location,r=ka.parse(t.href.split("?")[1]);delete r.code;let i=ka.stringify(r);window.location.href=t.origin+t.pathname+"?"+i}const Ga=Qe.create({baseURL:"https://ting.lifebanktech.com/api/api",timeout:6e4});Ga.interceptors.request.use(t=>{let r=Ff.getState().token;return r&&(t.headers.Authorization=`Bearer ${r}`),t});Ga.interceptors.response.use(t=>{const{code:r,data:i,message:o}=t.data;if(r===1)return i;if(r===0)return Promise.reject(new Error(o));(r===401||r===403)&&pA()},t=>{});function hA(t,r={}){return Ga.post(t,r)}function mA(t,r={}){return Ga.get(t,{params:r})}const yA={get:mA,post:hA};function gA(t){return yA.post("/login",t)}const vA=["snsapi_base","snsapi_userinfo"],xA="wxbc438492e3efab70";let jf=window.location.href,Qc=jf.split("?")[0];function wA(){return new Promise(t=>{if(Ff.getState().token){t(!0);return}let i=ka.parse(jf.split("?")[1]);i.code?gA({wx_code:i.code,...i}).then(o=>{if(!o.accessToken){delete i.code,delete i.state,Qc=Qc+ka.stringify(i),$0(Qc);return}Ff.getState().setToken(o.accessToken),t(!0)}):$0(jf)})}function $0(t){t=encodeURIComponent(t),window.location.href=`https://open.weixin.qq.com/connect/oauth2/authorize?appid=${xA}&redirect_uri=${t}&response_type=code&scope=${vA[1]}#wechat_redirect`}function SA(){const[t,r]=X.useState(!1),[i,o]=X.useState(1),l=()=>{o(d=>Math.min(d+1,5))},c=d=>{console.log(d)},u=()=>{l()};return X.useEffect(()=>{wA().then(()=>{r(!0)})},[]),t?w.jsxs("div",{className:"min-h-screen bg-[#0A0F24] text-white overflow-x-hidden relative",children:[w.jsx("div",{className:"fixed inset-0 pointer-events-none",children:w.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-[#7B61FF]/10 via-transparent to-[#00F0FF]/10"})}),w.jsxs("div",{className:"relative z-10",children:[i===1&&w.jsx(FT,{onNext:l}),i===2&&w.jsx(NT,{onUpload:c}),i===3&&w.jsx(RT,{onComplete:l}),i===4&&w.jsx(_T,{onPayment:u}),i===5&&w.jsx(OT,{})]})]}):w.jsx(w.Fragment,{})}yw.createRoot(document.getElementById("root")).render(w.jsx(SA,{}));
|