vendor: 6,251 bytes, lines 1-9
1var t0=e=>{throw TypeError(e)};var Ad=(e,t,r)=>t.has(e)||t0("Cannot "+r);var P=(e,t,r)=>(Ad(e,t,"read from private field"),r?r.call(e):t.get(e)),fe=(e,t,r)=>t.has(e)?t0("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),Y=(e,t,r,i)=>(Ad(e,t,"write to private field"),i?i.call(e,r):t.set(e,r),r),Pe=(e,t,r)=>(Ad(e,t,"access private method"),r);var Ol=(e,t,r,i)=>({set _(o){Y(e,t,o,r)},get _(){return P(e,t,i)}});function kS(e,t){for(var r=0;r<t.length;r++){const i=t[r];if(typeof i!="string"&&!Array.isArray(i)){for(const o in i)if(o!=="default"&&!(o in e)){const c=Object.getOwnPropertyDescriptor(i,o);c&&Object.defineProperty(e,o,c.get?c:{enumerable:!0,get:()=>i[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))i(o);new MutationObserver(o=>{for(const c of o)if(c.type==="childList")for(const u of c.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&i(u)}).observe(document,{childList:!0,subtree:!0});function r(o){const c={};return o.integrity&&(c.integrity=o.integrity),o.referrerPolicy&&(c.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?c.credentials="include":o.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function i(o){if(o.ep)return;o.ep=!0;const c=r(o);fetch(o.href,c)}})();function Yx(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var _d={exports:{}},Eo={},Md={exports:{}},Ce={};/** 2 * @license React 3 * react.production.min.js 4 * 5 * Copyright (c) Facebook, Inc. and its affiliates. 6 * 7 * This source code is licensed under the MIT license found in the 8 * LICENSE file in the root directory of this source tree. 9 */var n0;function TS(){if(n0)return Ce;n0=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),u=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),x=Symbol.iterator;function w(A){return A===null||typeof A!="object"?null:(A=x&&A[x]||A["@@iterator"],typeof A=="function"?A:null)}var j={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},N=Object.assign,S={};function b(A,z,le){this.props=A,this.context=z,this.refs=S,this.updater=le||j}b.prototype.isReactComponent={},b.prototype.setState=function(A,z){if(typeof A!="object"&&typeof A!="function"&&A!=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,A,z,"setState")},b.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")};function E(){}E.prototype=b.prototype;function F(A,z,le){this.props=A,this.context=z,this.refs=S,this.updater=le||j}var _=F.prototype=new E;_.constructor=F,N(_,b.prototype),_.isPureReactComponent=!0;var M=Array.isArray,U=Object.prototype.hasOwnProperty,K={current:null},G={key:!0,ref:!0,__self:!0,__source:!0};function V(A,z,le){var ce,Ne={},Ee=null,ye=null;if(z!=null)for(ce in z.ref!==void 0&&(ye=z.ref),z.key!==void 0&&(Ee=""+z.key),z)U.call(z,ce)&&!G.hasOwnProperty(ce)&&(Ne[ce]=z[ce]);var Le=arguments.length-2;if(Le===1)Ne.children=le;else if(1<Le){for(var Be=Array(Le),pt=0;pt<Le;pt++)Be[pt]=arguments[pt+2];Ne.children=Be}if(A&&A.defaultProps)for(ce in Le=A.defaultProps,Le)Ne[ce]===void 0&&(Ne[ce]=Le[ce]);return{$$typeof:e,type:A,key:Ee,ref:ye,props:Ne,_owner:K.current}}function he(A,z){return{$$typeof:e,type:A.type,key:z,ref:A.ref,props:A.props,_owner:A._owner}}function J(A){return typeof A=="object"&&A!==null&&A.$$typeof===e}function Se(A){var z={"=":"=0",":":"=2"};return"$"+A.replace(/[=:]/g,function(le){return z[le]})}var Oe=/\/+/g;function Ie(A,z){return typeof A=="object"&&A!==null&&A.key!=null?Se(""+A.key):z.toString(36)}function Ue(A,z,le,ce,Ne){var Ee=typeof A;(Ee==="undefined"||Ee==="boolean")&&(A=null);var ye=!1;if(A===null)ye=!0;else switch(Ee){case"string":case"number":ye=!0;break;case"object":switch(A.$$typeof){case e:case t:ye=!0}}if(ye)return ye=A,Ne=Ne(ye),A=ce===""?"."+Ie(ye,0):ce,M(Ne)?(le="",A!=null&&(le=A.replace(Oe,"$&/")+"/"),Ue(Ne,z,le,"",function(pt){return pt})):Ne!=null&&(J(Ne)&&(Ne=he(Ne,le+(!Ne.key||ye&&ye.key===Ne.key?"":(""+Ne.key).replace(Oe,"$&/")+"/")+A)),z.push(Ne)),1;if(ye=0,ce=ce===""?".":ce+":",M(A))for(var Le=0;Le<A.length;Le++){Ee=A[Le];var Be=ce+Ie(Ee,Le);ye+=Ue(Ee,z,le,Be,Ne)}else if(Be=w(A),typeof Be=="function")for(A=Be.call(A),Le=0;!(Ee=A.next()).done;)Ee=Ee.value,Be=ce+Ie(Ee,Le++),ye+=Ue(Ee,z,le,Be,Ne);else if(Ee==="object")throw z=String(A),Error("Objects are not valid as a React child (found: "+(z==="[object Object]"?"object with keys {"+Object.keys(A).join(", ")+"}":z)+"). If you meant to render a collection of children, use an array instead.");return ye}function Xe(A,z,le){if(A==null)return A;var ce=[],Ne=0;return Ue(A,ce,"","",function(Ee){return z.call(le,Ee,Ne++)}),ce}function xe(A){if(A._status===-1){var z=A._result;z=z(),z.then(function(le){(A._status===0||A._status===-1)&&(A._status=1,A._result=le)},function(le){(A._status===0||A._status===-1)&&(A._status=2,A._result=le)}),A._status===-1&&(A._status=0,A._result=z)}if(A._status===1)return A._result.default;throw A._result}var me={current:null},B={transition:null},ae={ReactCurrentDispatcher:me,ReactCurrentBatchConfig:B,ReactCurrentOwner:K};function Q(){throw Error("act(...) is not supported in production builds of React.")}return Ce.Children={map:Xe,forEach:function(A,z,le){Xe(A,function(){z.apply(this,arguments)},le)},count:function(A){var z=0;return Xe(A,function(){z++}),z},toArray:function(A){return Xe(A,function(z){return z})||[]},only:function(A){if(!J(A))throw Error("React.Children.only expected to receive a single React element child.");return A}},Ce.Component=b,Ce.Fragment=r,Ce.Profiler=o,Ce.PureComponent=F,Ce.StrictMode=i,Ce.Suspense=p,Ce.__SECRET_INT
vendor: 6,287 bytes, lines 9-25
9ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ae,Ce.act=Q,Ce.cloneElement=function(A,z,le){if(A==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+A+".");var ce=N({},A.props),Ne=A.key,Ee=A.ref,ye=A._owner;if(z!=null){if(z.ref!==void 0&&(Ee=z.ref,ye=K.current),z.key!==void 0&&(Ne=""+z.key),A.type&&A.type.defaultProps)var Le=A.type.defaultProps;for(Be in z)U.call(z,Be)&&!G.hasOwnProperty(Be)&&(ce[Be]=z[Be]===void 0&&Le!==void 0?Le[Be]:z[Be])}var Be=arguments.length-2;if(Be===1)ce.children=le;else if(1<Be){Le=Array(Be);for(var pt=0;pt<Be;pt++)Le[pt]=arguments[pt+2];ce.children=Le}return{$$typeof:e,type:A.type,key:Ne,ref:Ee,props:ce,_owner:ye}},Ce.createContext=function(A){return A={$$typeof:u,_currentValue:A,_currentValue2:A,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},A.Provider={$$typeof:c,_context:A},A.Consumer=A},Ce.createElement=V,Ce.createFactory=function(A){var z=V.bind(null,A);return z.type=A,z},Ce.createRef=function(){return{current:null}},Ce.forwardRef=function(A){return{$$typeof:h,render:A}},Ce.isValidElement=J,Ce.lazy=function(A){return{$$typeof:y,_payload:{_status:-1,_result:A},_init:xe}},Ce.memo=function(A,z){return{$$typeof:m,type:A,compare:z===void 0?null:z}},Ce.startTransition=function(A){var z=B.transition;B.transition={};try{A()}finally{B.transition=z}},Ce.unstable_act=Q,Ce.useCallback=function(A,z){return me.current.useCallback(A,z)},Ce.useContext=function(A){return me.current.useContext(A)},Ce.useDebugValue=function(){},Ce.useDeferredValue=function(A){return me.current.useDeferredValue(A)},Ce.useEffect=function(A,z){return me.current.useEffect(A,z)},Ce.useId=function(){return me.current.useId()},Ce.useImperativeHandle=function(A,z,le){return me.current.useImperativeHandle(A,z,le)},Ce.useInsertionEffect=function(A,z){return me.current.useInsertionEffect(A,z)},Ce.useLayoutEffect=function(A,z){return me.current.useLayoutEffect(A,z)},Ce.useMemo=function(A,z){return me.current.useMemo(A,z)},Ce.useReducer=function(A,z,le){return me.current.useReducer(A,z,le)},Ce.useRef=function(A){return me.current.useRef(A)},Ce.useState=function(A){return me.current.useState(A)},Ce.useSyncExternalStore=function(A,z,le){return me.current.useSyncExternalStore(A,z,le)},Ce.useTransition=function(){return me.current.useTransition()},Ce.version="18.3.1",Ce}var r0;function cf(){return r0||(r0=1,Md.exports=TS()),Md.exports}/** 10 * @license React 11 * react-jsx-runtime.production.min.js 12 * 13 * Copyright (c) Facebook, Inc. and its affiliates. 14 * 15 * This source code is licensed under the MIT license found in the 16 * LICENSE file in the root directory of this source tree. 17 */var s0;function ES(){if(s0)return Eo;s0=1;var e=cf(),t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function u(h,p,m){var y,x={},w=null,j=null;m!==void 0&&(w=""+m),p.key!==void 0&&(w=""+p.key),p.ref!==void 0&&(j=p.ref);for(y in p)i.call(p,y)&&!c.hasOwnProperty(y)&&(x[y]=p[y]);if(h&&h.defaultProps)for(y in p=h.defaultProps,p)x[y]===void 0&&(x[y]=p[y]);return{$$typeof:t,type:h,key:w,ref:j,props:x,_owner:o.current}}return Eo.Fragment=r,Eo.jsx=u,Eo.jsxs=u,Eo}var i0;function PS(){return i0||(i0=1,_d.exports=ES()),_d.exports}var l=PS(),k=cf();const Tr=Yx(k),uf=kS({__proto__:null,default:Tr},[k]);var Ll={},Od={exports:{}},Ht={},Ld={exports:{}},Dd={};/** 18 * @license React 19 * scheduler.production.min.js 20 * 21 * Copyright (c) Facebook, Inc. and its affiliates. 22 * 23 * This source code is licensed under the MIT license found in the 24 * LICENSE file in the root directory of this source tree. 25 */var o0;function RS(){return o0||(o0=1,(function(e){function t(B,ae){var Q=B.length;B.push(ae);e:for(;0<Q;){var A=Q-1>>>1,z=B[A];if(0<o(z,ae))B[A]=ae,B[Q]=z,Q=A;else break e}}function r(B){return B.length===0?null:B[0]}function i(B){if(B.length===0)return null;var ae=B[0],Q=B.pop();if(Q!==ae){B[0]=Q;e:for(var A=0,z=B.length,le=z>>>1;A<le;){var ce=2*(A+1)-1,Ne=B[ce],Ee=ce+1,ye=B[Ee];if(0>o(Ne,Q))Ee<z&&0>o(ye,Ne)?(B[A]=ye,B[Ee]=Q,A=Ee):(B[A]=Ne,B[ce]=Q,A=ce);else if(Ee<z&&0>o(ye,Q))B[A]=ye,B[Ee]=Q,A=Ee;else break e}}return ae}function o(B,ae){var Q=B.sortIndex-ae.sortIndex;return Q!==0?Q:B.id-ae.id}if(typeof performance=="object"&&typeof performance.now=="function"){var c=performance;e.unstable_now=function(){return c.now()}}else{var u=Date,h=u.now();e.unstable_now=function(){return u.now()-h}}var p=[],m=[],y=1,x=null,w=3,j=!1,N=!1,S=!1,b=typeof setTimeout=="function"?setTimeout:null,E=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 ae=r(m);ae!==null;){if(ae.callback===null)i(m);else if(ae.startTime<=B)i(m),ae.sortIndex=ae.expirationTime,t(p,ae);else break;ae=r(m)}}function M(B){if(S=!1,_(B),!N)if(r(p)!==null)N=!0,xe(U);else{var ae=r(m);ae!==null&&me(M,ae.startTime-B)}}function U(B,ae){N=!1,S&&(S=!1,E(V),V=-1),j=!0;var Q=w;try{for(_(ae),x=r(p);x!==null&&(!(x.expirationTime>ae)||B&&!Se());){var A=x.callback;if(typeof A=="function"){x.callback=null,w=x.priorityLevel;var z=A(x.expirationTime<=ae);ae=e.unstable_now(),typeof z=="function"?x.callback=z:x===r(p)&&i(p),_(ae)}else i(p);x=r(p)}if(x!==null)var le=!0;else{var ce=r(m);ce!==null&&me(M,ce.startTime-ae),le=!1}return le}finally{x=null,w=Q,j=!1}}var K=!1,G=null,V=-1,he=5,J=-1;function Se(){return!(e.unstable_now()-J<he)}function Oe(){if(G!==null){var B=e.unstable_now();J=B;var ae=!0;try{ae=G(!0,B)}finally{ae?Ie():(K=!1,G=null)}}else K=!1}var Ie;if(typeof F=="function")Ie=function(){F(Oe)};else if(typeof MessageChannel<"u"){var Ue=new MessageChannel,Xe=Ue.port2;Ue.port1.onmessage=Oe,Ie=function(){Xe.postMessage(null)}}else Ie=function(){b(Oe,0)};function xe(B){G=B,K||(K=!0,Ie())}function me(B,ae){V=b(function(){B(e.unstable_now())},ae)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(B){B.
vendor: 4,217 bytes, lines 25-33
25callback=null},e.unstable_continueExecution=function(){N||j||(N=!0,xe(U))},e.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"):he=0<B?Math.floor(1e3/B):5},e.unstable_getCurrentPriorityLevel=function(){return w},e.unstable_getFirstCallbackNode=function(){return r(p)},e.unstable_next=function(B){switch(w){case 1:case 2:case 3:var ae=3;break;default:ae=w}var Q=w;w=ae;try{return B()}finally{w=Q}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(B,ae){switch(B){case 1:case 2:case 3:case 4:case 5:break;default:B=3}var Q=w;w=B;try{return ae()}finally{w=Q}},e.unstable_scheduleCallback=function(B,ae,Q){var A=e.unstable_now();switch(typeof Q=="object"&&Q!==null?(Q=Q.delay,Q=typeof Q=="number"&&0<Q?A+Q:A):Q=A,B){case 1:var z=-1;break;case 2:z=250;break;case 5:z=1073741823;break;case 4:z=1e4;break;default:z=5e3}return z=Q+z,B={id:y++,callback:ae,priorityLevel:B,startTime:Q,expirationTime:z,sortIndex:-1},Q>A?(B.sortIndex=Q,t(m,B),r(p)===null&&B===r(m)&&(S?(E(V),V=-1):S=!0,me(M,Q-A))):(B.sortIndex=z,t(p,B),N||j||(N=!0,xe(U))),B},e.unstable_shouldYield=Se,e.unstable_wrapCallback=function(B){var ae=w;return function(){var Q=w;w=ae;try{return B.apply(this,arguments)}finally{w=Q}}}})(Dd)),Dd}var a0;function AS(){return a0||(a0=1,Ld.exports=RS()),Ld.exports}/** 26 * @license React 27 * react-dom.production.min.js 28 * 29 * Copyright (c) Facebook, Inc. and its affiliates. 30 * 31 * This source code is licensed under the MIT license found in the 32 * LICENSE file in the root directory of this source tree. 33 */var l0;function _S(){if(l0)return Ht;l0=1;var e=cf(),t=AS();function r(n){for(var s="https://reactjs.org/docs/error-decoder.html?invariant="+n,a=1;a<arguments.length;a++)s+="&args[]="+encodeURIComponent(arguments[a]);return"Minified React error #"+n+"; visit "+s+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,o={};function c(n,s){u(n,s),u(n+"Capture",s)}function u(n,s){for(o[n]=s,n=0;n<s.length;n++)i.add(s[n])}var h=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),p=Object.prototype.hasOwnProperty,m=/^[: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]*$/,y={},x={};function w(n){return p.call(x,n)?!0:p.call(y,n)?!1:m.test(n)?x[n]=!0:(y[n]=!0,!1)}function j(n,s,a,d){if(a!==null&&a.type===0)return!1;switch(typeof s){case"function":case"symbol":return!0;case"boolean":return d?!1:a!==null?!a.acceptsBooleans:(n=n.toLowerCase().slice(0,5),n!=="data-"&&n!=="aria-");default:return!1}}function N(n,s,a,d){if(s===null||typeof s>"u"||j(n,s,a,d))return!0;if(d)return!1;if(a!==null)switch(a.type){case 3:return!s;case 4:return s===!1;case 5:return isNaN(s);case 6:return isNaN(s)||1>s}return!1}function S(n,s,a,d,f,g,v){this.acceptsBooleans=s===2||s===3||s===4,this.attributeName=d,this.attributeNamespace=f,this.mustUseProperty=a,this.propertyName=n,this.type=s,this.sanitizeURL=g,this.removeEmptyString=v}var b={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n){b[n]=new S(n,0,!1,n,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var s=n[0];b[s]=new S(s,1,!1,n[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(n){b[n]=new S(n,2,!1,n.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){b[n]=new S(n,2,!1,n,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInl
33ine readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(n){b[n]=new S(n,3,!1,n.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(n){b[n]=new S(n,3,!0,n,null,!1,!1)}),["capture","download"].forEach(function(n){b[n]=new S(n,4,!1,n,null,!1,!1)}),["cols","rows","size","span"].forEach(function(n){b[n]=new S(n,6,!1,n,null,!1,!1)}),["rowSpan","start"].forEach(function(n){b[n]=new S(n,5,!1,n.toLowerCase(),null,!1,!1)});var E=/[\-:]([a-z])/g;function F(n){return n[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(n){var s=n.replace(E,F);b[s]=new S(s,1,!1,n,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(n){var s=n.replace(E,F);b[s]=new S(s,1,!1,n,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(n){var s=n.replace(E,F);b[s]=new S(s,1,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(n){b[n]=new S(n,1,!1,n.toLowerCase(),null,!1,!1)}),b.xlinkHref=new S("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(n){b[n]=new S(n,1,!1,n.toLowerCase(),null,!0,!0)});function _(n,s,a,d){var f=b.hasOwnProperty(s)?b[s]:null;(f!==null?f.type!==0:d||!(2<s.length)||s[0]!=="o"&&s[0]!=="O"||s[1]!=="n"&&s[1]!=="N")&&(N(s,a,f,d)&&(a=null),d||f===null?w(s)&&(a===null?n.removeAttribute(s):n.setAttribute(s,""+a)):f.mustUseProperty?n[f.propertyName]=a===null?f.type===3?!1:"":a:(s=f.attributeName,d=f.attributeNamespace,a===null?n.removeAttribute(s):(f=f.type,a=f===3||f===4&&a===!0?"":""+a,d?n.setAttributeNS(d,s,a):n.setAttribute(s,a))))}var M=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,U=Symbol.for("react.element"),K=Symbol.for("react.portal"),G=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),he=Symbol.for("react.profiler"),J=Symbol.for("react.provider"),Se=Symbol.for("react.context"),Oe=Symbol.for("react.forward_ref"),Ie=Symbol.for("react.suspense"),Ue=Symbol.for("react.suspense_list"),Xe=Symbol.for("react.memo"),xe=Symbol.for("react.lazy"),me=Symbol.for("react.offscreen"),B=Symbol.iterator;function ae(n){return n===null||typeof n!="object"?null:(n=B&&n[B]||n["@@iterator"],typeof n=="function"?n:null)}var Q=Object.assign,A;function z(n){if(A===void 0)try{throw Error()}catch(a){var s=a.stack.trim().match(/\n( *(at )?)/);A=s&&s[1]||""}return` 34`+A+n}var le=!1;function ce(n,s){if(!n||le)return"";le=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(s)if(s=function(){throw Error()},Object.defineProperty(s.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(s,[])}catch(D){var d=D}Reflect.construct(n,[],s)}else{try{s.call()}catch(D){d=D}n.call(s.prototype)}else{try{throw Error()}catch(D){d=D}n()}}catch(D){if(D&&d&&typeof D.stack=="string"){for(var f=D.stack.split(` 35`),g=d.stack.split(` 36`),v=f.length-1,C=g.length-1;1<=v&&0<=C&&f[v]!==g[C];)C--;for(;1<=v&&0<=C;v--,C--)if(f[v]!==g[C]){if(v!==1||C!==1)do if(v--,C--,0>C||f[v]!==g[C]){var T=` 37`+f[v].replace(" at new "," at ");return n.displayName&&T.includes("<anonymous>")&&(T=T.replace("<anonymous>",n.displayName)),T}while(1<=v&&0<=C);break}}}finally{le=!1,Error.prepareStackTrace=a}return(n=n?n.displayName||n.name:"")?z(n):""}function Ne(n){switch(n.tag){case 5:return z(n.type);case 16:return z("Lazy");case 13:return z("Suspense");case 19:return z("SuspenseList");case 0:case 2:case 15:return n=ce(n.type,!1),n;case 11:return n=ce(n.type.render,!1),n;case 1:return n=ce(n.type,!0),n;default:return""}}function Ee(n){if(n==null)return null;if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case G:return"Fragment";case K:return"Portal";case he:return"Profiler";case V:return"StrictMode";case Ie:return"Suspense";case Ue:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case Se:return(n.displayName||"Context")+".Consumer";case J:return(n._context.displayName||"Context")+".Provider";case Oe:var s=n.render;return n=n.displayName,n||(n=s.displayName||s.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case Xe:return s=n.displayName||null,s!==null?s:Ee(n.type)||"Memo";case xe:s=n._payload,n=n._init;try{return Ee(n(s))}catch{}}return null}function ye(n){var s=n.type;switch(n.tag){case 24:return"Cache";case 9:return(s.displayName||"Context")+".Consumer";case 10:return(s._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return n=s.render,n=n.displayName||n.name||"",s.displayName||(n!==""?"ForwardRef("+n+")":"ForwardRef");case 7:return"Fragment";case 5:return s;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ee(s);case 8:return s===V?"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 s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s}return null}function Le(n){switch(typeof n){case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function Be(n){var s=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(s==="checkbox"||s==="radio")}function pt(n){var s=Be(n)?"checked":"value",a=Object.getOwnPropertyDescriptor(n.constructor.prototype,s),d=""+n[s];if(!n.hasOwnProperty(s)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var f=a.get,g=a.set;return Object.defineProperty(n,s,{configurable:!0,get:function(){return f.call(this)},set:function(v){d=""+v,g.call(this,v)}}),Object.defineProperty(n,s,{enumerable:a.enumerable}),{getValue:function(){return d},setValue:function(v){d=""+v},stopTracking:function(){n._valueTracker=null,delete n[s]}}}}function or(n){n._valueTracker||(n._valueTracker=pt(n))}function Wr(n){if(!n)return!1;var s=n._valueTracker;if(!s)return!0;var a=s.getValue(),d="";return n&&(d=Be(n)?n.checked?"true":"false":n.value),n=d,n!==a?(s.setValue(n),!0):!1}function Ca(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}function Fc(n,s){var a=s.checked;return Q({},s,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:a??n._wrapperState.initialChecked})}function lp(n,s){var a=s.defaultValue==null?"":s.defaultValue,d=s.checked!=null?s.checked:s.defaultChecked;a=Le(s.value!=null?s.value:a),n._wrapperState={initialChecked:d,initialValue:a,controlled:s.type==="checkbox"||s.type==="radio"?s.checked!=null:s.value!=null}}function cp(n,s){s=s.checked,s!=null&&_(n,"checked",s,!1)}function Bc(n,s){cp(n,s);var a=Le(s.value),d=s.type;if(a!=null)d==="number"?(a===0&&n.value===""||n.value!=a)&&(n.value=""+a):n.value!==""+a&&(n.value=""+a);else if(d==="submit"||d==="reset"){n.removeAttribute("value");return}s.hasOwnProperty("value")?Vc(n,s.type,a):s.hasOwnProperty("defaultValue")&&Vc(n,s.type,Le(s.defaultValue)),s.checked==null&&s.defaultChecked!=null&&(n.defaultChecked=!!s.defaultChecked)}function up(n,s,a){if(s.hasOwnProperty("value")||s.hasOwnProperty("defaultValue")){var d=s.type;if(!(d!=="submit"&&d!=="reset"||s.value!==void 0&&s.value!==null))return;s=""+n._wrapperState.initialValue,a||s===n.value||(n.value=s),n.defaultValue=s}a=n.name,a!==""&&(n.name=""),n.defaultChecked=!!n._wrapperState.initialChecked,a!==""&&(n.name=a)}function Vc(n,s,a){(s!=="number"||Ca(n.ownerDocument)!==n)&&(a==null?n.defaultValue=""+n._wrapperState.initialValue:n.defaultValue!==""+a&&(n.defaultValue=""+a))}var zi=Array.isArray;function _s(n,s,a,d){if(n=n.options,s){s={};for(var f=0;f<a.length;f++)s["$"+a[f]]=!0;for(a=0;a<n.length;a++)f=s.hasOwnProperty("$"+n[a].value),n[a].selected!==f&&(n[a].selected=f),f&&d&&(n[a].defaultSelected=!0)}else{for(a=""+Le(a),s=null,f=0;f<n.length;f++){if(n[f].value===a){n[f].selected=!0,d&&(n[f].defaultSelected=!0);return}s!==null||n[f].disabled||(s=n[f])}s!==null&&(s.selected=!0)}}function Uc(n,s){if(s.dangerouslySetInnerHTML!=null)throw Error(r(91));return Q({},s,{value:void 0,defaultValue:void 0,children:""+n._wrapperState.initialValue})}function dp(n,s){var a=s.value;if(a==null){if(a=s.children,s=s.defaultValue,a!=null){if(s!=null)throw Error(r(92));if(zi(a)){if(1<a.length)throw Error(r(93));a=a[0]}s=a}s==null&&(s=""),a=s}n._wrapperState={initialValue:Le(a)}}function hp(n,s){var a=Le(s.value),d=Le(s.defaultValue);a!=null&&(a=""+a,a!==n.value&&(n.value=a),s.defaultValue==null&&n.defaultValue!==a&&(n.defaultValue=a)),d!=null&&(n.defaultValue=""+d)}function fp(n){var s=n.textContent;s===n._wrapperState.initialValue&&s!==""&&s!==null&&(n.value=s)}function pp(n){switch(n){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 zc(n,s){return n==null||n==="http://www.w3.org/1999/xhtml"?pp(s):n==="http://www.w3.org/2000/svg"&&s==="foreignObject"?"http://www.w3.org/1999/xhtml":n}var ka,mp=(function(n){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(s,a,d,f){MSApp.execUnsafeLocalFunction(function(){return n(s,a,d,f)})}:n})(function(n,s){if(n.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in n)n.innerHTML=s;else{for(ka=ka||document.createElement("div"),ka.innerHTML="<svg>"+s.valueOf().toString()+"</svg>",s=ka.firstChild;n.firstChild;)n.removeChild(n.firstChild);for(;s.firstChild;)n.appendChild(s.firstChild)}});function Hi(n,s){if(s){var a=n.firstChild;if(a&&a===n.lastChild&&a.nodeType===3){a.nodeValue=s;return}}n.textContent=s}var $i={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},R1=["Webkit","ms","Moz","O"];
vendor: 32,537 bytes, lines 37-38
37Object.keys($i).forEach(function(n){R1.forEach(function(s){s=s+n.charAt(0).toUpperCase()+n.substring(1),$i[s]=$i[n]})});function gp(n,s,a){return s==null||typeof s=="boolean"||s===""?"":a||typeof s!="number"||s===0||$i.hasOwnProperty(n)&&$i[n]?(""+s).trim():s+"px"}function yp(n,s){n=n.style;for(var a in s)if(s.hasOwnProperty(a)){var d=a.indexOf("--")===0,f=gp(a,s[a],d);a==="float"&&(a="cssFloat"),d?n.setProperty(a,f):n[a]=f}}var A1=Q({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 Hc(n,s){if(s){if(A1[n]&&(s.children!=null||s.dangerouslySetInnerHTML!=null))throw Error(r(137,n));if(s.dangerouslySetInnerHTML!=null){if(s.children!=null)throw Error(r(60));if(typeof s.dangerouslySetInnerHTML!="object"||!("__html"in s.dangerouslySetInnerHTML))throw Error(r(61))}if(s.style!=null&&typeof s.style!="object")throw Error(r(62))}}function $c(n,s){if(n.indexOf("-")===-1)return typeof s.is=="string";switch(n){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 Wc=null;function qc(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var Kc=null,Ms=null,Os=null;function xp(n){if(n=fo(n)){if(typeof Kc!="function")throw Error(r(280));var s=n.stateNode;s&&(s=Qa(s),Kc(n.stateNode,n.type,s))}}function vp(n){Ms?Os?Os.push(n):Os=[n]:Ms=n}function wp(){if(Ms){var n=Ms,s=Os;if(Os=Ms=null,xp(n),s)for(n=0;n<s.length;n++)xp(s[n])}}function bp(n,s){return n(s)}function Np(){}var Gc=!1;function Sp(n,s,a){if(Gc)return n(s,a);Gc=!0;try{return bp(n,s,a)}finally{Gc=!1,(Ms!==null||Os!==null)&&(Np(),wp())}}function Wi(n,s){var a=n.stateNode;if(a===null)return null;var d=Qa(a);if(d===null)return null;a=d[s];e:switch(s){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(d=!d.disabled)||(n=n.type,d=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!d;break e;default:n=!1}if(n)return null;if(a&&typeof a!="function")throw Error(r(231,s,typeof a));return a}var Qc=!1;if(h)try{var qi={};Object.defineProperty(qi,"passive",{get:function(){Qc=!0}}),window.addEventListener("test",qi,qi),window.removeEventListener("test",qi,qi)}catch{Qc=!1}function _1(n,s,a,d,f,g,v,C,T){var D=Array.prototype.slice.call(arguments,3);try{s.apply(a,D)}catch($){this.onError($)}}var Ki=!1,Ta=null,Ea=!1,Xc=null,M1={onError:function(n){Ki=!0,Ta=n}};function O1(n,s,a,d,f,g,v,C,T){Ki=!1,Ta=null,_1.apply(M1,arguments)}function L1(n,s,a,d,f,g,v,C,T){if(O1.apply(this,arguments),Ki){if(Ki){var D=Ta;Ki=!1,Ta=null}else throw Error(r(198));Ea||(Ea=!0,Xc=D)}}function qr(n){var s=n,a=n;if(n.alternate)for(;s.return;)s=s.return;else{n=s;do s=n,(s.flags&4098)!==0&&(a=s.return),n=s.return;while(n)}return s.tag===3?a:null}function jp(n){if(n.tag===13){var s=n.memoizedState;if(s===null&&(n=n.alternate,n!==null&&(s=n.memoizedState)),s!==null)return s.dehydrated}return null}function Cp(n){if(qr(n)!==n)throw Error(r(188))}function D1(n){var s=n.alternate;if(!s){if(s=qr(n),s===null)throw Error(r(188));return s!==n?null:n}for(var a=n,d=s;;){var f=a.return;if(f===null)break;var g=f.alternate;if(g===null){if(d=f.return,d!==null){a=d;continue}break}if(f.child===g.child){for(g=f.child;g;){if(g===a)return Cp(f),n;if(g===d)return Cp(f),s;g=g.sibling}throw Error(r(188))}if(a.return!==d.return)a=f,d=g;else{for(var v=!1,C=f.child;C;){if(C===a){v=!0,a=f,d=g;break}if(C===d){v=!0,d=f,a=g;break}C=C.sibling}if(!v){for(C=g.child;C;){if(C===a){v=!0,a=g,d=f;break}if(C===d){v=!0,d=g,a=f;break}C=C.sibling}if(!v)throw Error(r(189))}}if(a.alternate!==d)throw Error(r(190))}if(a.tag!==3)throw Error(r(188));return a.stateNode.current===a?n:s}function kp(n){return n=D1(n),n!==null?Tp(n):null}function Tp(n){if(n.tag===5||n.tag===6)return n;for(n=n.child;n!==null;){var s=Tp(n);if(s!==null)return s;n=n.sibling}return null}var Ep=t.unstable_scheduleCallback,Pp=t.unstable_cancelCallback,I1=t.unstable_shouldYield,F1=t.unstable_requestPaint,st=t.unstable_now,B1=t.unstable_getCurrentPriorityLevel,Yc=t.unstable_ImmediatePriority,Rp=t.unstable_UserBlockingPriority,Pa=t.unstable_NormalPriority,V1=t.unstable_LowPriority,Ap=t.unstable_IdlePriority,Ra=null,Pn=null;function U1(n){if(Pn&&typeof Pn.onCommitFiberRoot=="function")try{Pn.onCommitFiberRoot(Ra,n,void 0,(n.current.flags&128)===128)}catch{}}var yn=Math.clz32?Math.clz32:$1,z1=Math.log,H1=Math.LN2;function $1(n){return n>>>=0,n===0?32:31-(z1(n)/H1|0)|0}var Aa=64,_a=4194304;function Gi(n){switch(n&-n){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 n&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return n&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return n}}function Ma(n,s){var a=n.pendingLanes;if(a===0)return 0;var d=0,f=n.suspendedLanes,g=n.pingedLanes,v=a&268435455;if(v!==0){var C=v&~f;C!==0?d=Gi(C):(g&=v,g!==0&&(d=Gi(g)))}else v=a&~f,v!==0?d=Gi(v):g!==0&&(d=Gi(g));if(d===0)return 0;if(s!==0&&s!==d&&(s&f)===0&&(f=d&-d,g=s&-s,f>=g||f===16&&(g&4194240)!==0))return s;if((d&4)!==0&&(d|=a&16),s=n.entangledLanes,s!==0)for(n=n.entanglements,s&=d;0<s;)a=31-yn(s),f=1<<a,d|=n[a],s&=~f;return d}function W1(n,s){switch(n){case 1:case 2:case 4:return s+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 s+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 q1(n,s){for(var a=n.suspendedLanes,d=n.pingedLanes,f=n.expirationTimes,g=n.pendingLanes;0<g;){var v=31-yn(g),C=1<<v,T=f[v];T===-1?((C&a)===0||(C&d)!==0)&&(f[v]=W1(C,s)):T<=s&&(n.expiredLanes|=C),g&=~C}}function Jc(n){return n=n.pendingLanes&-1073741825,n!==0?n:n&1073741824?1073741824:0}function _p(){var n=Aa;return Aa<<=1,(Aa&4194240)===0&&(Aa=64),n}function Zc(n){for(var s=[],a=0;31>a;a++)s.push(n);return s}function Qi(n,s,a){n.pendingLanes|=s,s!==536870912&&(n.suspendedLanes=0,n.pingedLanes=0),n=n.eventTimes,s=31-yn(s),n[s]=a}function K1(n,s){var a=n.pendingLanes&~s;n.pendingLanes=s,n.suspendedLanes=0,n.pingedLanes=0,n.expiredLanes&=s,n.mutableReadLanes&=s,n.entangledLanes&=s,s=n.entanglements;var d=n.eventTimes;for(n=n.expirationTimes;0<a;){var f=31-yn(a),g=1<<f;s[f]=0,d[f]=-1,n[f]=-1,a&=~g}}function eu(n,s){var a=n.entangledLanes|=s;for(n=n.entanglements;a;){var d=31-yn(a),f=1<<d;f&s|n[d]&s&&(n[d]|=s),a&=~f}}var Ve=0;function Mp(n){return n&=-n,1<n?4<n?(n&268435455)!==0?16:536870912:4:1}var Op,tu,Lp,Dp,Ip,nu=!1,Oa=[],ar=null,lr=null,cr=null,Xi=new Map,Yi=new Map,ur=[],G1="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 Fp(n,s){switch(n){case"focusin":case"focusout":ar=null;break;case"dragenter":case"dragleave":lr=null;break;case"mouseover":case"mouseout":cr=null;break;case"pointerover":case"pointerout":Xi.delete(s.pointerId);break;case"gotpointercapture":case"lostpointercapture":Yi.delete(s.pointerId)}}function Ji(n,s,a,d,f,g){return n===null||n.nativeEvent!==g?(n={blockedOn:s,domEventName:a,eventSystemFlags:d,nativeEvent:g,targetContainers:[f]},s!==null&&(s=fo(s),s!==null&&tu(s)),n):(n.eventSystemFlags|=d,s=n.targetContainers,f!==null&&s.indexOf(f)===-1&&s.push(f),n)}function Q1(n,s,a,d,f){switch(s){case"focusin":return ar=Ji(ar,n,s,a,d,f),!0;case"dragenter":return lr=Ji(lr,n,s,a,d,f),!0;case"mouseover":return cr=Ji(cr,n,s,a,d,f),!0;case"pointerover":var g=f.pointerId;return Xi.set(g,Ji(Xi.get(g)||null,n,s,a,d,f)),!0;case"gotpointercapture":return g=f.pointerId,Yi.set(g,Ji(Yi.get(g)||null,n,s,a,d,f)),!0}return!1}function Bp(n){var s=Kr(n.target);if(s!==null){var a=qr(s);if(a!==null){if(s=a.tag,s===13){if(s=jp(a),s!==null){n.blockedOn=s,Ip(n.priority,function(){Lp(a)});return}}else if(s===3&&a.stateNode.current.memoizedState.isDehydrated){n.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}n.blockedOn=null}function La(n){if(n.blockedOn!==null)return!1;for(var s=n.targetContainers;0<s.length;){var a=su(n.domEventName,n.eventSystemFlags,s[0],n.nativeEvent);if(a===null){a=n.nativeEvent;var d=new a.constructor(a.type,a);Wc=d,a.target.dispatchEvent(d),Wc=null}else return s=fo(a),s!==null&&tu(s),n.blockedOn=a,!1;s.shift()}return!0}function Vp(n,s,a){La(n)&&a.delete(s)}function X1(){nu=!1,ar!==null&&La(ar)&&(ar=null),lr!==null&&La(lr)&&(lr=null),cr!==null&&La(cr)&&(cr=null),Xi.forEach(Vp),Yi.forEach(Vp)}function Zi(n,s){n.blockedOn===s&&(n.blockedOn=null,nu||(nu=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,X1)))}function eo(n){function s(f){return Zi(f,n)}if(0<Oa.length){Zi(Oa[0],n);for(var a=1;a<Oa.length;a++){var d=Oa[a];d.blockedOn===n&&(d.blockedOn=null)}}for(ar!==null&&Zi(ar,n),lr!==null&&Zi(lr,n),cr!==null&&Zi(cr,n),Xi.forEach(s),Yi.forEach(s),a=0;a<ur.length;a++)d=ur[a],d.blockedOn===n&&(d.blockedOn=null);for(;0<ur.length&&(a=ur[0],a.blockedOn===null);)Bp(a),a.blockedOn===null&&ur.shift()}var Ls=M.ReactCurrentBatchConfig,Da=!0;function Y1(n,s,a,d){var f=Ve,g=Ls.transition;Ls.transition=null;try{Ve=1,ru(n,s,a,d)}finally{Ve=f,Ls.transition=g}}function J1(n,s,a,d){var f=Ve,g=Ls.transition;Ls.transition=null;try{Ve=4,ru(n,s,a,d)}finally{Ve=f,Ls.transition=g}}function ru(n,s,a,d){if(Da){var f=su(n,s,a,d);if(f===null)bu(n,s,d,Ia,a),Fp(n,d);else if(Q1(f,n,s,a,d))d.stopPropagation();else if(Fp(n,d),s&4&&-1<G1.indexOf(n)){for(;f!==null;){var g=fo(f);if(g!==null&&Op(g),g=su(n,s,a,d),g===null&&bu(n,s,d,Ia,a),g===f)break;f=g}f!==null&&d.stopPropagation()}else bu(n,s,d,null,a)}}var Ia=null;function su(n,s,a,d){if(Ia=null,n=qc(d),n=Kr(n),n!==null)if(s=qr(n),s===null)n=null;else if(a=s.tag,a===13){if(n=jp(s),n!==null)return n;n=null}else if(a===3){if(s.stateNode.current.memoizedState.isDehydrated)return s.tag===3?s.stateNode.containerInfo:null;n=null}else s!==n&&(n=null);return Ia=n,null}function Up(n){switch(n){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(B1()){case Yc:return 1;case Rp:return 4;case Pa:case V1:return 16;case Ap:return 536870912;default:return 16}default:return 16}}var dr=null,iu=null,Fa=null;function zp(){if(Fa)return Fa;var n,s=iu,a=s.length,d,f="value"in dr?dr.value:dr.textContent,g=f.length;for(n=0;n<a&&s[n]===f[n];n++);var v=a-n;for(d=1;d<=v&&s[a-d]===f[g-d];d++);return Fa=f.slice(n,1<d?1-d:void 0)}function Ba(n){var s=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&s===13&&(n=13)):n=s,n===10&&(n=13),32<=n||n===13?n:0}function Va(){return!0}function Hp(){return!1}function Xt(n){function s(a,d,f,g,v){this._reactName=a,this._targetInst=f,this.type=d,this.nativeEvent=g,this.target=v,this.currentTarget=null;for(var C in n)n.hasOwnProperty(C)&&(a=n[C],this[C]=a?a(g):g[C]);return this.isDefaultPrevented=(g.defaultPrevented!=null?g.defaultPrevented:g.returnValue===!1)?Va:Hp,this.isPropagationStopped=Hp,this}return Q(s.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=Va)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Va)},persist:function(){},isPersistent:Va}),s}var Ds={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ou=Xt(Ds),to=Q({},Ds,{view:0,detail:0}),Z1=Xt(to),au,lu,no,Ua=Q({},to,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:uu,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==no&&(no&&n.type==="mousemove"?(au=n.screenX-no.screenX,lu=n.screenY-no.screenY):lu=au=0,no=n),au)},movementY:function(n){return"movementY"in n?n.movementY:lu}}),$p=Xt(Ua),eN=Q({},Ua,{dataTransfer:0}),tN=Xt(eN),nN=Q({},to,{relatedTarget:0}),cu=Xt(nN),rN=Q({},Ds,{animationName:0,elapsedTime:0,pseudoElement:0}),sN=Xt(rN),iN=Q({},Ds,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),oN=Xt(iN),aN=Q({},Ds,{data:0}),Wp=Xt(aN),lN={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},cN={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"},uN={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function dN(n){var s=this.nativeEvent;return s.getModifierState?s.getModifierState(n):(n=uN[n])?!!s[n]:!1}function uu(){return dN}var hN=Q({},to,{key:function(n){if(n.key){var s=lN[n.key]||n.key;if(s!=="Unidentified")return s}return n.type==="keypress"?(n=Ba(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?cN[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:uu,charCode:function(n){return n.type==="keypress"?Ba(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?Ba(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),fN=Xt(hN),pN=Q({},Ua,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),qp=Xt(pN),mN=Q({},to,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:uu}),gN=Xt(mN),yN=Q({},Ds,{propertyName:0,elapsedTime:0,pseudoElement:0}),xN=Xt(yN),vN=Q({},Ua,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),wN=Xt(vN),bN=[9,13,27,32],du=h&&"CompositionEvent"in window,ro=null;h&&"documentMode"in document&&(ro=document.documentMode);var NN=h&&"TextEvent"in window&&!ro,Kp=h&&(!du||ro&&8<ro&&11>=ro),Gp=" ",Qp=!1;function Xp(n,s){switch(n){case"keyup":return bN.indexOf(s.keyCode)!==-1;case"keydown":return s.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Yp(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var Is=!1;function SN(n,s){switch(n){case"compositionend":return Yp(s);case"keypress":return s.which!==32?null:(Qp=!0,Gp);case"textInput":return n=s.data,n===Gp&&Qp?null:n;default:return null}}function jN(n,s){if(Is)return n==="compositionend"||!du&&Xp(n,s)?(n=zp(),Fa=iu=dr=null,Is=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(s.ctrlKey||s.altKey||s.metaKey)||s.ctrlKey&&s.altKey){if(s.char&&1<s.char.length)return s.char;if(s.which)return String.fromCharCode(s.which)}return null;case"compositionend":return Kp&&s.locale!=="ko"?null:s.data;default:return null}}var CN={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 Jp(n){var s=n&&n.nodeName&&n.nodeName.toLowerCase();return s==="input"?!!CN[n.type]:s==="textarea"}function Zp(n,s,a,d){vp(d),s=qa(s,"onChange"),0<s.length&&(a=new ou("onChange","change",null,a,d),n.push({event:a,listeners:s}))}var so=null,io=null;function kN(n){ym(n,0)}function za(n){var s=zs(n);if(Wr(s))return n}function TN(n,s){if(n==="change")return s}var em=!1;if(h){var hu;if(h){var fu="oninput"in document;if(!fu){var tm=document.createElement("div");tm.setAttribute("oninput","return;"),fu=typeof tm.oninput=="function"}hu=fu}else hu=!1;em=hu&&(!document.documentMode||9<document.documentMode)}function nm(){so&&(so.detachEvent("onpropertychange",rm),io=so=null)}function rm(n){if(n.propertyName==="value"&&za(io)){var s=[];Zp(s,io,n,qc(n)),Sp(kN,s)}}function EN(n,s,a){n==="focusin"?(nm(),so=s,io=a,so.attachEvent("onpropertychange",rm)):n==="focusout"&&nm()}function PN(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return za(io)}function RN(n,s){if(n==="click")return za(s)}function AN(n,s){if(n==="input"||n==="change")return za(s)}function _N(n,s){return n===s&&(n!==0||1/n===1/s)||n!==n&&s!==s}var xn=typeof Object.is=="function"?Object.is:_N;function oo(n,s){if(xn(n,s))return!0;if(typeof n!="object"||n===null||typeof s!="object"||s===null)return!1;var a=Object.keys(n),d=Object.keys(s);if(a.length!==d.length)return!1;for(d=0;d<a.length;d++){var f=a[d];if(!p.call(s,f)||!xn(n[f],s[f]))return!1}return!0}function sm(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function im(n,s){var a=sm(n);n=0;for(var d;a;){if(a.nodeType===3){if(d=n+a.textContent.length,n<=s&&d>=s)return{node:a,offset:s-n};n=d}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=sm(a)}}function om(n,s){return n&&s?n===s?!0:n&&n.nodeType===3?!1:s&&s.nodeType===3?om(n,s.parentNode):"contains"in n?n.contains(s):n.compareDocumentPosition?!!(n.compareDocumentPosition(s)&16):!1:!1}function am(){for(var n=window,s=Ca();s instanceof n.HTMLIFrameElement;){try{var a=typeof s.contentWindow.location.href=="string"}catch{a=!1}if(a)n=s.contentWindow;else break;s=Ca(n.document)}return s}function pu(n){var s=n&&n.nodeName&&n.nodeName.toLowerCase();return s&&(s==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||s==="textarea"||n.contentEditable==="true")}function MN(n){var s=am(),a=n.focusedElem,d=n.selectionRange;if(s!==a&&a&&a.ownerDocument&&om(a.ownerDocument.documentElement,a)){if(d!==null&&pu(a)){if(s=d.start,n=d.end,n===void 0&&(n=s),"selectionStart"in a)a.selectionStart=s,a.selectionEnd=Math.min(n,a.value.length);else if(n=(s=a.ownerDocument||document)&&s.defaultView||window,n.getSelection){n=n.getSelection();var f=a.textContent.length,g=Math.min(d.start,f);d=d.end===void 0?g:Math.min(d.end,f),!n.extend&&g>d&&(f=d,d=g,g=f),f=im(a,g);var v=im(a,d);f&&v&&(n.rangeCount!==1||n.anchorNode!==f.node||n.anchorOffset!==f.offset||n.focusNode!==v.node||n.focusOffset!==v.offset)&&(s=s.createRange(),s.setStart(f.node,f.offset),n.removeAllRanges(),g>d?(n.addRange(s),n.extend(v.node,v.offset)):(s.setEnd(v.node,v.offset),n.addRange(s)))}}for(s=[],n=a;n=n.parentNode;)n.nodeType===1&&s.push({element:n,left:n.scrollLeft,top:n.scrollTop});for(typeof a.focus=="function"&&a.focus(),a=0;a<s.length;a++)n=s[a],n.element.scrollLeft=n.left,n.element.scrollTop=n.top}}var ON=h&&"documentMode"in document&&11>=document.documentMode,Fs=null,mu=null,ao=null,gu=!1;function lm(n,s,a){var d=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;gu||Fs==null||Fs!==Ca(d)||(d=Fs,"selectionStart"in d&&pu(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),ao&&oo(ao,d)||(ao=d,d=qa(mu,"onSelect"),0<d.length&&(s=new ou("onSelect","select",null,s,a),n.push({event:s,listeners:d}),s.target=Fs)))}function Ha(n,s){var a={};return a[n.toLowerCase()]=s.toLowerCase(),a["Webkit"+n]="webkit"+s,a["Moz"+n]="moz"+s,a}var Bs={animationend:Ha("Animation","AnimationEnd"),animationiteration:Ha("Animation","AnimationIteration"),animationstart:Ha("Animation","AnimationStart"),transitionend:Ha("Transition","TransitionEnd")},yu={},cm={};h&&(cm=document.createElement("div").style,"AnimationEvent"in window||(delete Bs.animationend.animation,delete Bs.animationiteration.animation,delete Bs.animationstart.animation),"TransitionEvent"in window||delete Bs.transitionend.transition);function $a(n){if(yu[n])return yu[n];if(!Bs[n])return n;var s=Bs[n],a;for(a in s)if(s.hasOwnProperty(a)&&a in cm)return yu[n]=s[a];return n}var um=$a("animationend"),dm=$a("animationiteration"),hm=$a("animationstart"),fm=$a("transitionend"),pm=new Map,mm="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 hr(n,s){pm.set(n,s),c(s,[n])}for(var xu=0;xu<mm.length;xu++){var vu=mm[xu],LN=vu.toLowerCase(),DN=vu[0].toUpperCase()+vu.slice(1);hr(LN,"on"+DN)}hr(um,"onAnimationEnd"),hr(dm,"onAnimationIteration"),hr(hm,"onAnimationStart"),hr("dblclick","onDoubleClick"),hr("focusin","onFocus"),hr("focusout","onBlur"),hr(fm,"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 lo="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(" "),IN=new Set("cancel close invalid load scroll toggle".split(" ").concat(lo));function gm(n,s,a){var d=n.type||"unknown-event";n.currentTarget=a,L1(d,s,void 0,n),n.currentTarget=null}function ym(n,s){s=(s&4)!==0;for(var a=0;a<n.length;a++){var d=n[a],f=d.event;d=d.listeners;e:{var g=void 0;if(s)for(var v=d.length-1;0<=v;v--){var C=d[v],T=C.instance,D=C.currentTarget;if(C=C.listener,T!==g&&f.isPropagationStopped())break e;gm(f,C,D),g=T}else for(v=0;v<d.length;v++){if(C=d[v],T=C.instance,D=C.currentTarget,C=C.listener,T!==g&&f.isPropagationStopped())break e;gm(f,C,D),g=T}}}if(Ea)throw n=Xc,Ea=!1,Xc=null,n}function $e(n,s){var a=s[Tu];a===void 0&&(a=s[Tu]=new Set);var d=n+"__bubble";a.has(d)||(xm(s,n,2,!1),a.add(d))}function wu(n,s,a){var d=0;s&&(d|=4),xm(a,n,d,s)}var Wa="_reactListening"+Math.random().toString(36).slice(2);function co(n){if(!n[Wa]){n[Wa]=!0,i.forEach(function(a){a!=="selectionchange"&&(IN.has(a)||wu(a,!1,n),wu(a,!0,n))});var s=n.nodeType===9?n:n.ownerDocument;s===null||s[Wa]||(s[Wa]=!0,wu("selectionchange",!1,s))}}function xm(n,s,a,d){switch(Up(s)){case 1:var f=Y1;break;case 4:f=J1;break;default:f=ru}a=f.bind(null,s,a,n),f=void 0,!Qc||s!=="touchstart"&&s!=="touchmove"&&s!=="wheel"||(f=!0),d?f!==void 0?n.addEventListener(s,a,{capture:!0,passive:f}):n.addEventListener(s,a,!0):f!==void 0?n.addEventListener(s,a,{passive:f}):n.addEventListener(s,a,!1)}function bu(n,s,a,d,f){var g=d;if((s&1)===0&&(s&2)===0&&d!==null)e:for(;;){if(d===null)return;var v=d.tag;if(v===3||v===4){var C=d.stateNode.containerInfo;if(C===f||C.nodeType===8&&C.parentNode===f)break;if(v===4)for(v=d.return;v!==null;){var T=v.tag;if((T===3||T===4)&&(T=v.stateNode.containerInfo,T===f||T.nodeType===8&&T.parentNode===f))return;v=v.return}for(;C!==null;){if(v=Kr(C),v===null)return;if(T=v.tag,T===5||T===6){d=g=v;continue e}C=C.parentNode}}d=d.return}Sp(function(){var D=g,$=qc(a),W=[];e:{var H=pm.get(n);if(H!==void 0){var X=ou,ee=n;switch(n){case"keypress":if(Ba(a)===0)break e;case"keydown":case"keyup":X=fN;break;case"focusin":ee="focus",X=cu;break;case"focusout":ee="blur",X=cu;break;case"beforeblur":case"afterblur":X=cu;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":X=$p;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":X=tN;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":X=gN;break;case um:case dm:case hm:X=sN;break;case fm:X=xN;break;case"scroll":X=Z1;break;case"wheel":X=wN;break;case"copy":case"cut":case"paste":X=oN;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":X=qp}var ie=(s&4)!==0,it=!ie&&n==="scroll",O=ie?H!==null?H+"Capture":null:H;ie=[];for(var R=D,L;R!==null;){L=R;var q=L.stateNode;if(L.tag===5&&q!==null&&(L=q,O!==null&&(q=Wi(R,O),q!=null&&ie.push(uo(R,q,L)))),it)break;R=R.return}0<ie.length&&(H=new X(H,ee,null,a,$),W.push({event:H,listeners:ie}))}}if((s&7)===0){e:{if(H=n==="mouseover"||n==="pointerover",X=n==="mouseout"||n==="pointerout",H&&a!==Wc&&(ee=a.relatedTarget||a.fromElement)&&(Kr(ee)||ee[zn]))break e;if((X||H)&&(H=$.window===$?$:(H=$.ownerDocument)?H.defaultView||H.parentWindow:window,X?(ee=a.relatedTarget||a.toElement,X=D,ee=ee?Kr(ee):null,ee!==null&&(it=qr(ee),ee!==it||ee.tag!==5&&ee.tag!==6)&&(ee=null)):(X=null,ee=D),X!==ee)){if(ie=$p,q="onMouseLeave",O="onMouseEnter",R="mouse",(n==="pointerout"||n==="pointerover")&&(ie=qp,q="onPointerLeave",O="onPointerEnter",R="pointer"),it=X==null?H:zs(X),L=ee==null?H:zs(ee),H=new ie(q,R+"leave",X,a,$),H.target=it,H.relatedTarget=L,q=null,Kr($)===D&&(ie=new ie(O,R+"enter",ee,a,$),ie.target=L,ie.relatedTarget=it,q=ie),it=q,X&&ee)t:{for(ie=X,O=ee,R=0,L=ie;L;L=Vs(L))R++;for(L=0,q=O;q;q=Vs(q))L++;for(;0<R-L;)ie=Vs(ie),R--;for(;0<L-R;)O=Vs(O),L--;for(;R--;){if(ie===O||O!==null&&ie===O.alternate)break t;ie=Vs(ie),O=Vs(O)}ie=null}else ie=null;X!==null&&vm(W,H,X,ie,!1),ee!==null&&it!==null&&vm(W,it,ee,ie,!0)}}e:{if(H=D?zs(D):window,X=H.nodeName&&H.nodeName.toLowerCase(),X==="select"||X==="input"&&H.type==="file")var oe=TN;else if(Jp(H))if(em)oe=AN;else{oe=PN;var ue=EN}else(X=H.nodeName)&&X.toLowerCase()==="input"&&(H.type==="checkbox"||H.type==="radio")&&(oe=RN);if(oe&&(oe=oe(n,D))){Zp(W,oe,a,$);break e}ue&&ue(n,H,D),n==="focusout"&&(ue=H._wrapperState)&&ue.controlled&&H.type==="number"&&Vc(H,"number",H.value)}switch(ue=D?zs(D):window,n){case"focusin":(Jp(ue)||ue.contentEditable==="true")&&(Fs=ue,mu=D,ao=null);break;case"focusout":ao=mu=Fs=null;break;case"mousedown":gu=!0;break;case"contextmenu":case"mouseup":case"dragend":gu=!1,lm(W,a,$);break;case"selectionchange":if(ON)break;case"keydown":case"keyup":lm(W,a,$)}var de;if(du)e:{switch(n){case"compositionstart":var ge="onCompositionStart";break e;case"compositionend":ge="onCompositionEnd";break e;case"compositionupdate":ge="onCompositionUpdate";break e}ge=void 0}else Is?Xp(n,a)&&(ge="onCompositionEnd"):n==="keydown"&&a.keyCode===229&&(ge="onCompositionStart");ge&&(Kp&&a.locale!=="ko"&&(Is||ge!=="onCompositionStart"?ge==="onCompositionEnd"&&Is&&(de=zp()):(dr=$,iu="value"in dr?dr.value:dr.textContent,Is=!0)),ue=qa(D,ge),0<ue.length&&(ge=new Wp(ge,n,null,a,$),W.push({event:ge,listeners:ue}),de?ge.data=de:(de=Yp(a),de!==null&&(ge.data=de)))),(de=NN?SN(n,a):jN(n,a))&&(D=qa(D,"onBeforeInput"),0<D.length&&($=new Wp("onBeforeInput","beforeinput",null,a,$),W.push({event:$,listeners:D}),$.data=de))}ym(W,s)})}function uo(n,s,a){return{instance:n,listener:s,currentTarget:a}}function qa(n,s){for(var a=s+"Capture",d=[];n!==null;){var f=n,g=f.stateNode;f.tag===5&&g!==null&&(f=g,g=Wi(n,a),g!=null&&d.unshift(uo(n,g,f)),g=Wi(n,s),g!=null&&d.push(uo(n,g,f))),n=n.return}return d}function Vs(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5);return n||null}function vm(n,s,a,d,f){for(var g=s._reactName,v=[];a!==null&&a!==d;){var C=a,T=C.alternate,D=C.stateNode;if(T!==null&&T===d)break;C.tag===5&&D!==null&&(C=D,f?(T=Wi(a,g),T!=null&&v.unshift(uo(a,T,C))):f||(T=Wi(a,g),T!=null&&v.push(uo(a,T,C)))),a=a.return}v.length!==0&&n.push({event:s,listeners:v})}var FN=/\r\n?/g,BN=/\u0000|\uFFFD/g;function wm(n){return(typeof n=="string"?n:""+n).replace(FN,` 38`).replace(BN,"")}function Ka(n,s,a){if(s=wm(s),wm(n)!==s&&a)throw Error(r(425))}function Ga(){}var Nu=null,Su=null;function ju(n,s){return n==="textarea"||n==="noscript"||typeof s.children=="string"||typeof s.children=="number"||typeof s.dangerouslySetInnerHTML=="object"&&s.dangerouslySetInnerHTML!==null&&s.dangerouslySetInnerHTML.__html!=null}var Cu=typeof setTimeout=="function"?setTimeout:void 0,VN=typeof clearTimeout=="function"?clearTimeout:void 0,bm=typeof Promise=="function"?Promise:void 0,UN=typeof queueMicrotask=="function"?queueMicrotask:typeof bm<"u"?function(n){return bm.resolve(null).then(n).catch(zN)}:Cu;function zN(n){setTimeout(function(){throw n})}function ku(n,s){var a=s,d=0;do{var f=a.nextSibling;if(n.removeChild(a),f&&f.nodeType===8)if(a=f.data,a==="/$"){if(d===0){n.removeChild(f),eo(s);return}d--}else a!=="$"&&a!=="$?"&&a!=="$!"||d++;a=f}while(a);eo(s)}function fr(n){for(;n!=null;n=n.nextSibling){var s=n.nodeType;if(s===1||s===3)break;if(s===8){if(s=n.data,s==="$"||s==="$!"||s==="$?")break;if(s==="/$")return null}}return n}function Nm(n){n=n.previousSibling;for(var s=0;n;){if(n.nodeType===8){var a=n.data;if(a==="$"||a==="$!"||a==="$?"){if(s===0)return n;s--}else a==="/$"&&s++}n=n.previousSibling}return null}var Us=Math.random().toString(36).slice(2),Rn="__reactFiber$"+Us,ho="__reactProps$"+Us,zn="__reactContainer$"+Us,Tu="__reactEvents$"+Us,HN="__reactListeners$"+Us,$N="__reactHandles$"+Us;function Kr(n){var s=n[Rn];if(s)return s;for(var a=n.parentNode;a;){if(s=a[zn]||a[Rn]){if(a=s.alternate,s.child!==null||a!==null&&a.child!==null)for(n=Nm(n);n!==null;){if(a=n[Rn])return a;n=Nm(n)}return s}n=a,a=n.parentNode}return null}function fo(n){return n=n[Rn]||n[zn],!n||n.tag!==5&&n.tag!==6&&n.tag!==13&&n.tag!==3?null:n}function zs(n){if(n.tag===5||n.tag===6)return n.stateNode;throw Error(r(33))}function Qa(n){return n[ho]||null}var Eu=[],Hs=-1;function pr(n){return{current:n}}function We(n){0>Hs||(n.current=Eu[Hs],Eu[Hs]=null,Hs--)}function He(n,s){Hs++,Eu[Hs]=n.current,n.current=s}var mr={},jt=pr(mr),Ft=pr(!1),Gr=mr;function $s(n,s){var a=n.type.contextTypes;if(!a)return mr;var d=n.stateNode;
vendor: 9,701 bytes, line 38
38if(d&&d.__reactInternalMemoizedUnmaskedChildContext===s)return d.__reactInternalMemoizedMaskedChildContext;var f={},g;for(g in a)f[g]=s[g];return d&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=s,n.__reactInternalMemoizedMaskedChildContext=f),f}function Bt(n){return n=n.childContextTypes,n!=null}function Xa(){We(Ft),We(jt)}function Sm(n,s,a){if(jt.current!==mr)throw Error(r(168));He(jt,s),He(Ft,a)}function jm(n,s,a){var d=n.stateNode;if(s=s.childContextTypes,typeof d.getChildContext!="function")return a;d=d.getChildContext();for(var f in d)if(!(f in s))throw Error(r(108,ye(n)||"Unknown",f));return Q({},a,d)}function Ya(n){return n=(n=n.stateNode)&&n.__reactInternalMemoizedMergedChildContext||mr,Gr=jt.current,He(jt,n),He(Ft,Ft.current),!0}function Cm(n,s,a){var d=n.stateNode;if(!d)throw Error(r(169));a?(n=jm(n,s,Gr),d.__reactInternalMemoizedMergedChildContext=n,We(Ft),We(jt),He(jt,n)):We(Ft),He(Ft,a)}var Hn=null,Ja=!1,Pu=!1;function km(n){Hn===null?Hn=[n]:Hn.push(n)}function WN(n){Ja=!0,km(n)}function gr(){if(!Pu&&Hn!==null){Pu=!0;var n=0,s=Ve;try{var a=Hn;for(Ve=1;n<a.length;n++){var d=a[n];do d=d(!0);while(d!==null)}Hn=null,Ja=!1}catch(f){throw Hn!==null&&(Hn=Hn.slice(n+1)),Ep(Yc,gr),f}finally{Ve=s,Pu=!1}}return null}var Ws=[],qs=0,Za=null,el=0,rn=[],sn=0,Qr=null,$n=1,Wn="";function Xr(n,s){Ws[qs++]=el,Ws[qs++]=Za,Za=n,el=s}function Tm(n,s,a){rn[sn++]=$n,rn[sn++]=Wn,rn[sn++]=Qr,Qr=n;var d=$n;n=Wn;var f=32-yn(d)-1;d&=~(1<<f),a+=1;var g=32-yn(s)+f;if(30<g){var v=f-f%5;g=(d&(1<<v)-1).toString(32),d>>=v,f-=v,$n=1<<32-yn(s)+f|a<<f|d,Wn=g+n}else $n=1<<g|a<<f|d,Wn=n}function Ru(n){n.return!==null&&(Xr(n,1),Tm(n,1,0))}function Au(n){for(;n===Za;)Za=Ws[--qs],Ws[qs]=null,el=Ws[--qs],Ws[qs]=null;for(;n===Qr;)Qr=rn[--sn],rn[sn]=null,Wn=rn[--sn],rn[sn]=null,$n=rn[--sn],rn[sn]=null}var Yt=null,Jt=null,Ge=!1,vn=null;function Em(n,s){var a=cn(5,null,null,0);a.elementType="DELETED",a.stateNode=s,a.return=n,s=n.deletions,s===null?(n.deletions=[a],n.flags|=16):s.push(a)}function Pm(n,s){switch(n.tag){case 5:var a=n.type;return s=s.nodeType!==1||a.toLowerCase()!==s.nodeName.toLowerCase()?null:s,s!==null?(n.stateNode=s,Yt=n,Jt=fr(s.firstChild),!0):!1;case 6:return s=n.pendingProps===""||s.nodeType!==3?null:s,s!==null?(n.stateNode=s,Yt=n,Jt=null,!0):!1;case 13:return s=s.nodeType!==8?null:s,s!==null?(a=Qr!==null?{id:$n,overflow:Wn}:null,n.memoizedState={dehydrated:s,treeContext:a,retryLane:1073741824},a=cn(18,null,null,0),a.stateNode=s,a.return=n,n.child=a,Yt=n,Jt=null,!0):!1;default:return!1}}function _u(n){return(n.mode&1)!==0&&(n.flags&128)===0}function Mu(n){if(Ge){var s=Jt;if(s){var a=s;if(!Pm(n,s)){if(_u(n))throw Error(r(418));s=fr(a.nextSibling);var d=Yt;s&&Pm(n,s)?Em(d,a):(n.flags=n.flags&-4097|2,Ge=!1,Yt=n)}}else{if(_u(n))throw Error(r(418));n.flags=n.flags&-4097|2,Ge=!1,Yt=n}}}function Rm(n){for(n=n.return;n!==null&&n.tag!==5&&n.tag!==3&&n.tag!==13;)n=n.return;Yt=n}function tl(n){if(n!==Yt)return!1;if(!Ge)return Rm(n),Ge=!0,!1;var s;if((s=n.tag!==3)&&!(s=n.tag!==5)&&(s=n.type,s=s!=="head"&&s!=="body"&&!ju(n.type,n.memoizedProps)),s&&(s=Jt)){if(_u(n))throw Am(),Error(r(418));for(;s;)Em(n,s),s=fr(s.nextSibling)}if(Rm(n),n.tag===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(r(317));e:{for(n=n.nextSibling,s=0;n;){if(n.nodeType===8){var a=n.data;if(a==="/$"){if(s===0){Jt=fr(n.nextSibling);break e}s--}else a!=="$"&&a!=="$!"&&a!=="$?"||s++}n=n.nextSibling}Jt=null}}else Jt=Yt?fr(n.stateNode.nextSibling):null;return!0}function Am(){for(var n=Jt;n;)n=fr(n.nextSibling)}function Ks(){Jt=Yt=null,Ge=!1}function Ou(n){vn===null?vn=[n]:vn.push(n)}var qN=M.ReactCurrentBatchConfig;function po(n,s,a){if(n=a.ref,n!==null&&typeof n!="function"&&typeof n!="object"){if(a._owner){if(a=a._owner,a){if(a.tag!==1)throw Error(r(309));var d=a.stateNode}if(!d)throw Error(r(147,n));var f=d,g=""+n;return s!==null&&s.ref!==null&&typeof s.ref=="function"&&s.ref._stringRef===g?s.ref:(s=function(v){var C=f.refs;v===null?delete C[g]:C[g]=v},s._stringRef=g,s)}if(typeof n!="string")throw Error(r(284));if(!a._owner)throw Error(r(290,n))}return n}function nl(n,s){throw n=Object.prototype.toString.call(s),Error(r(31,n==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":n))}function _m(n){var s=n._init;return s(n._payload)}function Mm(n){function s(O,R){if(n){var L=O.deletions;L===null?(O.deletions=[R],O.flags|=16):L.push(R)}}function a(O,R){if(!n)return null;for(;R!==null;)s(O,R),R=R.sibling;return null}function d(O,R){for(O=new Map;R!==null;)R.key!==null?O.set(R.key,R):O.set(R.index,R),R=R.sibling;return O}function f(O,R){return O=jr(O,R),O.index=0,O.sibling=null,O}function g(O,R,L){return O.index=L,n?(L=O.alternate,L!==null?(L=L.index,L<R?(O.flags|=2,R):L):(O.flags|=2,R)):(O.flags|=1048576,R)}function v(O){return n&&O.alternate===null&&(O.flags|=2),O}function C(O,R,L,q){return R===null||R.tag!==6?(R=Cd(L,O.mode,q),R.return=O,R):(R=f(R,L),R.return=O,R)}function T(O,R,L,q){var oe=L.type;return oe===G?$(O,R,L.props.children,q,L.key):R!==null&&(R.elementType===oe||typeof oe=="object"&&oe!==null&&oe.$$typeof===xe&&_m(oe)===R.type)?(q=f(R,L.props),q.ref=po(O,R,L),q.return=O,q):(q=kl(L.type,L.key,L.props,null,O.mode,q),q.ref=po(O,R,L),q.return=O,q)}function D(O,R,L,q){return R===null||R.tag!==4||R.stateNode.containerInfo!==L.containerInfo||R.stateNode.implementation!==L.implementation?(R=kd(L,O.mode,q),R.return=O,R):(R=f(R,L.children||[]),R.return=O,R)}function $(O,R,L,q,oe){return R===null||R.tag!==7?(R=ss(L,O.mode,q,oe),R.return=O,R):(R=f(R,L),R.return=O,R)}function W(O,R,L){if(typeof R=="string"&&R!==""||typeof R=="number")return R=Cd(""+R,O.mode,L),R.return=O,R;if(typeof R=="object"&&R!==null){switch(R.$$typeof){case U:return L=kl(R.type,R.key,R.props,null,O.mode,L),L.ref=po(O,null,R),L.return=O,L;case K:return R=kd(R,O.mode,L),R.return=O,R;case xe:var q=R._init;return W(O,q(R._payload),L)}if(zi(R)||ae(R))return R=ss(R,O.mode,L,null),R.return=O,R;nl(O,R)}return null}function H(O,R,L,q){var oe=R!==null?R.key:null;if(typeof L=="string"&&L!==""||typeof L=="number")return oe!==null?null:C(O,R,""+L,q);if(typeof L=="object"&&L!==null){switch(L.$$typeof){case U:return L.key===oe?T(O,R,L,q):null;case K:return L.key===oe?D(O,R,L,q):null;case xe:return oe=L._init,H(O,R,oe(L._payload),q)}if(zi(L)||ae(L))return oe!==null?null:$(O,R,L,q,null);nl(O,L)}return null}function X(O,R,L,q,oe){if(typeof q=="string"&&q!==""||typeof q=="number")return O=O.get(L)||null,C(R,O,""+q,oe);if(typeof q=="object"&&q!==null){switch(q.$$typeof){case U:return O=O.get(q.key===null?L:q.key)||null,T(R,O,q,oe);case K:return O=O.get(q.key===null?L:q.key)||null,D(R,O,q,oe);case xe:var ue=q._init;return X(O,R,L,ue(q._payload),oe)}if(zi(q)||ae(q))return O=O.get(L)||null,$(R,O,q,oe,null);nl(R,q)}return null}function ee(O,R,L,q){for(var oe=null,ue=null,de=R,ge=R=0,yt=null;de!==null&&ge<L.length;ge++){de.index>ge?(yt=de,de=null):yt=de.sibling;var De=H(O,de,L[ge],q);if(De===null){de===null&&(de=yt);break}n&&de&&De.alternate===null&&s(O,de),R=g(De,R,ge),ue===null?oe=De:ue.sibling=De,ue=De,de=yt}if(ge===L.length)return a(O,de),Ge&&Xr(O,ge),oe;if(de===null){for(;ge<L.length;ge++)de=W(O,L[ge],q),de!==null&&(R=g(de,R,ge),ue===null?oe=de:ue.sibling=de,ue=de);return Ge&&Xr(O,ge),oe}for(de=d(O,de);ge<L.length;ge++)yt=X(de,O,ge,L[ge],q),yt!==null&&(n&&yt.alternate!==null&&de.delete(yt.key===null?ge:yt.key),R=g(yt,R,ge),ue===null?oe=yt:ue.sibling=yt,ue=yt);return n&&de.forEach(function(Cr){return s(O,Cr)}),Ge&&Xr(O,ge),oe}function ie(O,R,L,q){var oe=ae(L);if(typeof oe!="function")throw Error(r(150));if(L=oe.call(L),L==null)throw Error(r(151));for(var ue=oe=null,de=R,ge=R=0,yt=null,De=L.next();de!==null&&!De.done;ge++,De=L.next()){de.index>ge?(yt=de,de=null):yt=de.sibling;var Cr=H(O,de,De.value,q);if(Cr===null){de===null&&(de=yt);break}n&&de&&Cr.alternate===null&&s(O,de),R=g(Cr,R,ge),ue===null?oe=Cr:ue.sibling=Cr,ue=Cr,de=yt}if(De.done)return a(O,de),Ge&&Xr(O,ge),oe;if(de===null){for(;!De.done;ge++,De=L.next())De=W(O,De.value,q),De!==null&&(R=g(De,R,ge),ue===null?oe=De:ue.sibling=De,ue=De);return Ge&&Xr(O,ge),oe}for(de=d(O,de);!De.done;ge++,De=L.next())De=X(de,O,ge,De.value,q),De!==null&&(n&&De.alternate!==null&&de.delete(De.key===null?ge:De.key),R=g(De,R,ge),ue===null?oe=De:ue.sibling=De,ue=De);return n&&de.forEach(function(CS){return s(O,CS)}),Ge&&Xr(O,ge),oe}function it(O,R,L,q){if(typeof L=="object"&&L!==null&&L.type===G&&L.key===null&&(L=L.props.children),typeof L=="object"&&L!==null){switch(L.$$typeof){case U:e:{for(var oe=L.key,ue=R;ue!==null;){if(ue.key===oe){if(oe=L.type,oe===G){if(ue.tag===7){a(O,ue.sibling),R=f(ue,L.props.children),R.return=O,O=R;break e}}else if(ue.elementType===oe||typeof oe=="object"&&oe!==null&&oe.$$typeof===xe&&_m(oe)===ue.type){a(O,ue.sibling),R=f(ue,L.props),R.ref=po(O,ue,L),R.return=O,O=R;break e}a(O,ue);break}else s(O,ue);ue=ue.sibling}L.type===G?(R=ss(L.props.children,O.mode,q,L.key),R.return=O,O=R):(q=kl(L.type,L.key,L.props,null,O.mode,q),q.ref=po(O,R,L),q.return=O,O=q)}return v(O);case K:e:{for(ue=L.key;R!==null;){if(R.key===ue)if(R.tag===4&&R.stateNode.containerInfo===L.containerInfo&&R.stateNode.implementation===L.implementation){a(O,R.sibling),R=f(R,L.children||[]),R.return=O,O=R;break e}else{a(O,R);break}else s(O,R);R=R.sibling}R=kd(L,O.mode,q),R.return=O,O=R}return v(O);case xe:return ue=L._init,it(O,R,ue(L._payload),q)}if(zi(L))return ee(O,R,L,q);if(ae(L))return ie(O,R,L,q);nl(O,L)}return typeof L=="string"&&L!==""||typeof L=="number"?(L=""+L,R!==null&&R.tag===6?(a(O,R.sibling),R=f(R,L),R.return=O,O=R):(a(O,R),R=Cd(L,O.mode,q),R.return=O,O=R),v(O)):a(O,R)}return it}var Gs=Mm(!0),Om=Mm(!1),rl=pr(null),sl=null,Qs=null,Lu=null;
vendor: 5,152 bytes, line 38
38function Du(){Lu=Qs=sl=null}function Iu(n){var s=rl.current;We(rl),n._currentValue=s}function Fu(n,s,a){for(;n!==null;){var d=n.alternate;if((n.childLanes&s)!==s?(n.childLanes|=s,d!==null&&(d.childLanes|=s)):d!==null&&(d.childLanes&s)!==s&&(d.childLanes|=s),n===a)break;n=n.return}}function Xs(n,s){sl=n,Lu=Qs=null,n=n.dependencies,n!==null&&n.firstContext!==null&&((n.lanes&s)!==0&&(Vt=!0),n.firstContext=null)}function on(n){var s=n._currentValue;if(Lu!==n)if(n={context:n,memoizedValue:s,next:null},Qs===null){if(sl===null)throw Error(r(308));Qs=n,sl.dependencies={lanes:0,firstContext:n}}else Qs=Qs.next=n;return s}var Yr=null;function Bu(n){Yr===null?Yr=[n]:Yr.push(n)}function Lm(n,s,a,d){var f=s.interleaved;return f===null?(a.next=a,Bu(s)):(a.next=f.next,f.next=a),s.interleaved=a,qn(n,d)}function qn(n,s){n.lanes|=s;var a=n.alternate;for(a!==null&&(a.lanes|=s),a=n,n=n.return;n!==null;)n.childLanes|=s,a=n.alternate,a!==null&&(a.childLanes|=s),a=n,n=n.return;return a.tag===3?a.stateNode:null}var yr=!1;function Vu(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Dm(n,s){n=n.updateQueue,s.updateQueue===n&&(s.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,effects:n.effects})}function Kn(n,s){return{eventTime:n,lane:s,tag:0,payload:null,callback:null,next:null}}function xr(n,s,a){var d=n.updateQueue;if(d===null)return null;if(d=d.shared,(Me&2)!==0){var f=d.pending;return f===null?s.next=s:(s.next=f.next,f.next=s),d.pending=s,qn(n,a)}return f=d.interleaved,f===null?(s.next=s,Bu(d)):(s.next=f.next,f.next=s),d.interleaved=s,qn(n,a)}function il(n,s,a){if(s=s.updateQueue,s!==null&&(s=s.shared,(a&4194240)!==0)){var d=s.lanes;d&=n.pendingLanes,a|=d,s.lanes=a,eu(n,a)}}function Im(n,s){var a=n.updateQueue,d=n.alternate;if(d!==null&&(d=d.updateQueue,a===d)){var f=null,g=null;if(a=a.firstBaseUpdate,a!==null){do{var v={eventTime:a.eventTime,lane:a.lane,tag:a.tag,payload:a.payload,callback:a.callback,next:null};g===null?f=g=v:g=g.next=v,a=a.next}while(a!==null);g===null?f=g=s:g=g.next=s}else f=g=s;a={baseState:d.baseState,firstBaseUpdate:f,lastBaseUpdate:g,shared:d.shared,effects:d.effects},n.updateQueue=a;return}n=a.lastBaseUpdate,n===null?a.firstBaseUpdate=s:n.next=s,a.lastBaseUpdate=s}function ol(n,s,a,d){var f=n.updateQueue;yr=!1;var g=f.firstBaseUpdate,v=f.lastBaseUpdate,C=f.shared.pending;if(C!==null){f.shared.pending=null;var T=C,D=T.next;T.next=null,v===null?g=D:v.next=D,v=T;var $=n.alternate;$!==null&&($=$.updateQueue,C=$.lastBaseUpdate,C!==v&&(C===null?$.firstBaseUpdate=D:C.next=D,$.lastBaseUpdate=T))}if(g!==null){var W=f.baseState;v=0,$=D=T=null,C=g;do{var H=C.lane,X=C.eventTime;if((d&H)===H){$!==null&&($=$.next={eventTime:X,lane:0,tag:C.tag,payload:C.payload,callback:C.callback,next:null});e:{var ee=n,ie=C;switch(H=s,X=a,ie.tag){case 1:if(ee=ie.payload,typeof ee=="function"){W=ee.call(X,W,H);break e}W=ee;break e;case 3:ee.flags=ee.flags&-65537|128;case 0:if(ee=ie.payload,H=typeof ee=="function"?ee.call(X,W,H):ee,H==null)break e;W=Q({},W,H);break e;case 2:yr=!0}}C.callback!==null&&C.lane!==0&&(n.flags|=64,H=f.effects,H===null?f.effects=[C]:H.push(C))}else X={eventTime:X,lane:H,tag:C.tag,payload:C.payload,callback:C.callback,next:null},$===null?(D=$=X,T=W):$=$.next=X,v|=H;if(C=C.next,C===null){if(C=f.shared.pending,C===null)break;H=C,C=H.next,H.next=null,f.lastBaseUpdate=H,f.shared.pending=null}}while(!0);if($===null&&(T=W),f.baseState=T,f.firstBaseUpdate=D,f.lastBaseUpdate=$,s=f.shared.interleaved,s!==null){f=s;do v|=f.lane,f=f.next;while(f!==s)}else g===null&&(f.shared.lanes=0);es|=v,n.lanes=v,n.memoizedState=W}}function Fm(n,s,a){if(n=s.effects,s.effects=null,n!==null)for(s=0;s<n.length;s++){var d=n[s],f=d.callback;if(f!==null){if(d.callback=null,d=a,typeof f!="function")throw Error(r(191,f));f.call(d)}}}var mo={},An=pr(mo),go=pr(mo),yo=pr(mo);function Jr(n){if(n===mo)throw Error(r(174));return n}function Uu(n,s){switch(He(yo,s),He(go,n),He(An,mo),n=s.nodeType,n){case 9:case 11:s=(s=s.documentElement)?s.namespaceURI:zc(null,"");break;default:n=n===8?s.parentNode:s,s=n.namespaceURI||null,n=n.tagName,s=zc(s,n)}We(An),He(An,s)}function Ys(){We(An),We(go),We(yo)}function Bm(n){Jr(yo.current);var s=Jr(An.current),a=zc(s,n.type);s!==a&&(He(go,n),He(An,a))}function zu(n){go.current===n&&(We(An),We(go))}var Ye=pr(0);function al(n){for(var s=n;s!==null;){if(s.tag===13){var a=s.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||a.data==="$?"||a.data==="$!"))return s}else if(s.tag===19&&s.memoizedProps.revealOrder!==void 0){if((s.flags&128)!==0)return s}else if(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 null;s=s.return}s.sibling.return=s.return,s=s.sibling}return null}var Hu=[];function $u(){for(var n=0;n<Hu.length;n++)Hu[n]._workInProgressVersionPrimary=null;Hu.length=0}var ll=M.ReactCurrentDispatcher,Wu=M.ReactCurrentBatchConfig,Zr=0,Je=null,dt=null,mt=null,cl=!1,xo=!1,vo=0,KN=0;function Ct(){throw Error(r(321))}
vendor: 4,141 bytes, line 38
38function qu(n,s){if(s===null)return!1;for(var a=0;a<s.length&&a<n.length;a++)if(!xn(n[a],s[a]))return!1;return!0}function Ku(n,s,a,d,f,g){if(Zr=g,Je=s,s.memoizedState=null,s.updateQueue=null,s.lanes=0,ll.current=n===null||n.memoizedState===null?YN:JN,n=a(d,f),xo){g=0;do{if(xo=!1,vo=0,25<=g)throw Error(r(301));g+=1,mt=dt=null,s.updateQueue=null,ll.current=ZN,n=a(d,f)}while(xo)}if(ll.current=hl,s=dt!==null&&dt.next!==null,Zr=0,mt=dt=Je=null,cl=!1,s)throw Error(r(300));return n}function Gu(){var n=vo!==0;return vo=0,n}function _n(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return mt===null?Je.memoizedState=mt=n:mt=mt.next=n,mt}function an(){if(dt===null){var n=Je.alternate;n=n!==null?n.memoizedState:null}else n=dt.next;var s=mt===null?Je.memoizedState:mt.next;if(s!==null)mt=s,dt=n;else{if(n===null)throw Error(r(310));dt=n,n={memoizedState:dt.memoizedState,baseState:dt.baseState,baseQueue:dt.baseQueue,queue:dt.queue,next:null},mt===null?Je.memoizedState=mt=n:mt=mt.next=n}return mt}function wo(n,s){return typeof s=="function"?s(n):s}function Qu(n){var s=an(),a=s.queue;if(a===null)throw Error(r(311));a.lastRenderedReducer=n;var d=dt,f=d.baseQueue,g=a.pending;if(g!==null){if(f!==null){var v=f.next;f.next=g.next,g.next=v}d.baseQueue=f=g,a.pending=null}if(f!==null){g=f.next,d=d.baseState;var C=v=null,T=null,D=g;do{var $=D.lane;if((Zr&$)===$)T!==null&&(T=T.next={lane:0,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null}),d=D.hasEagerState?D.eagerState:n(d,D.action);else{var W={lane:$,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null};T===null?(C=T=W,v=d):T=T.next=W,Je.lanes|=$,es|=$}D=D.next}while(D!==null&&D!==g);T===null?v=d:T.next=C,xn(d,s.memoizedState)||(Vt=!0),s.memoizedState=d,s.baseState=v,s.baseQueue=T,a.lastRenderedState=d}if(n=a.interleaved,n!==null){f=n;do g=f.lane,Je.lanes|=g,es|=g,f=f.next;while(f!==n)}else f===null&&(a.lanes=0);return[s.memoizedState,a.dispatch]}function Xu(n){var s=an(),a=s.queue;if(a===null)throw Error(r(311));a.lastRenderedReducer=n;var d=a.dispatch,f=a.pending,g=s.memoizedState;if(f!==null){a.pending=null;var v=f=f.next;do g=n(g,v.action),v=v.next;while(v!==f);xn(g,s.memoizedState)||(Vt=!0),s.memoizedState=g,s.baseQueue===null&&(s.baseState=g),a.lastRenderedState=g}return[g,d]}function Vm(){}function Um(n,s){var a=Je,d=an(),f=s(),g=!xn(d.memoizedState,f);if(g&&(d.memoizedState=f,Vt=!0),d=d.queue,Yu($m.bind(null,a,d,n),[n]),d.getSnapshot!==s||g||mt!==null&&mt.memoizedState.tag&1){if(a.flags|=2048,bo(9,Hm.bind(null,a,d,f,s),void 0,null),gt===null)throw Error(r(349));(Zr&30)!==0||zm(a,s,f)}return f}function zm(n,s,a){n.flags|=16384,n={getSnapshot:s,value:a},s=Je.updateQueue,s===null?(s={lastEffect:null,stores:null},Je.updateQueue=s,s.stores=[n]):(a=s.stores,a===null?s.stores=[n]:a.push(n))}function Hm(n,s,a,d){s.value=a,s.getSnapshot=d,Wm(s)&&qm(n)}function $m(n,s,a){return a(function(){Wm(s)&&qm(n)})}function Wm(n){var s=n.getSnapshot;n=n.value;try{var a=s();return!xn(n,a)}catch{return!0}}function qm(n){var s=qn(n,1);s!==null&&Sn(s,n,1,-1)}function Km(n){var s=_n();return typeof n=="function"&&(n=n()),s.memoizedState=s.baseState=n,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:wo,lastRenderedState:n},s.queue=n,n=n.dispatch=XN.bind(null,Je,n),[s.memoizedState,n]}function bo(n,s,a,d){return n={tag:n,create:s,destroy:a,deps:d,next:null},s=Je.updateQueue,s===null?(s={lastEffect:null,stores:null},Je.updateQueue=s,s.lastEffect=n.next=n):(a=s.lastEffect,a===null?s.lastEffect=n.next=n:(d=a.next,a.next=n,n.next=d,s.lastEffect=n)),n}function Gm(){return an().memoizedState}function ul(n,s,a,d){var f=_n();Je.flags|=n,f.memoizedState=bo(1|s,a,void 0,d===void 0?null:d)}function dl(n,s,a,d){var f=an();d=d===void 0?null:d;var g=void 0;if(dt!==null){var v=dt.memoizedState;if(g=v.destroy,d!==null&&qu(d,v.deps)){f.memoizedState=bo(s,a,g,d);return}}Je.flags|=n,f.memoizedState=bo(1|s,a,g,d)}function Qm(n,s){return ul(8390656,8,n,s)}function Yu(n,s){return dl(2048,8,n,s)}function Xm(n,s){return dl(4,2,n,s)}function Ym(n,s){return dl(4,4,n,s)}
vendor: 4,844 bytes, line 38
38function Jm(n,s){if(typeof s=="function")return n=n(),s(n),function(){s(null)};if(s!=null)return n=n(),s.current=n,function(){s.current=null}}function Zm(n,s,a){return a=a!=null?a.concat([n]):null,dl(4,4,Jm.bind(null,s,n),a)}function Ju(){}function eg(n,s){var a=an();s=s===void 0?null:s;var d=a.memoizedState;return d!==null&&s!==null&&qu(s,d[1])?d[0]:(a.memoizedState=[n,s],n)}function tg(n,s){var a=an();s=s===void 0?null:s;var d=a.memoizedState;return d!==null&&s!==null&&qu(s,d[1])?d[0]:(n=n(),a.memoizedState=[n,s],n)}function ng(n,s,a){return(Zr&21)===0?(n.baseState&&(n.baseState=!1,Vt=!0),n.memoizedState=a):(xn(a,s)||(a=_p(),Je.lanes|=a,es|=a,n.baseState=!0),s)}function GN(n,s){var a=Ve;Ve=a!==0&&4>a?a:4,n(!0);var d=Wu.transition;Wu.transition={};try{n(!1),s()}finally{Ve=a,Wu.transition=d}}function rg(){return an().memoizedState}function QN(n,s,a){var d=Nr(n);if(a={lane:d,action:a,hasEagerState:!1,eagerState:null,next:null},sg(n))ig(s,a);else if(a=Lm(n,s,a,d),a!==null){var f=Ot();Sn(a,n,d,f),og(a,s,d)}}function XN(n,s,a){var d=Nr(n),f={lane:d,action:a,hasEagerState:!1,eagerState:null,next:null};if(sg(n))ig(s,f);else{var g=n.alternate;if(n.lanes===0&&(g===null||g.lanes===0)&&(g=s.lastRenderedReducer,g!==null))try{var v=s.lastRenderedState,C=g(v,a);if(f.hasEagerState=!0,f.eagerState=C,xn(C,v)){var T=s.interleaved;T===null?(f.next=f,Bu(s)):(f.next=T.next,T.next=f),s.interleaved=f;return}}catch{}finally{}a=Lm(n,s,f,d),a!==null&&(f=Ot(),Sn(a,n,d,f),og(a,s,d))}}function sg(n){var s=n.alternate;return n===Je||s!==null&&s===Je}function ig(n,s){xo=cl=!0;var a=n.pending;a===null?s.next=s:(s.next=a.next,a.next=s),n.pending=s}function og(n,s,a){if((a&4194240)!==0){var d=s.lanes;d&=n.pendingLanes,a|=d,s.lanes=a,eu(n,a)}}var hl={readContext:on,useCallback:Ct,useContext:Ct,useEffect:Ct,useImperativeHandle:Ct,useInsertionEffect:Ct,useLayoutEffect:Ct,useMemo:Ct,useReducer:Ct,useRef:Ct,useState:Ct,useDebugValue:Ct,useDeferredValue:Ct,useTransition:Ct,useMutableSource:Ct,useSyncExternalStore:Ct,useId:Ct,unstable_isNewReconciler:!1},YN={readContext:on,useCallback:function(n,s){return _n().memoizedState=[n,s===void 0?null:s],n},useContext:on,useEffect:Qm,useImperativeHandle:function(n,s,a){return a=a!=null?a.concat([n]):null,ul(4194308,4,Jm.bind(null,s,n),a)},useLayoutEffect:function(n,s){return ul(4194308,4,n,s)},useInsertionEffect:function(n,s){return ul(4,2,n,s)},useMemo:function(n,s){var a=_n();return s=s===void 0?null:s,n=n(),a.memoizedState=[n,s],n},useReducer:function(n,s,a){var d=_n();return s=a!==void 0?a(s):s,d.memoizedState=d.baseState=s,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:s},d.queue=n,n=n.dispatch=QN.bind(null,Je,n),[d.memoizedState,n]},useRef:function(n){var s=_n();return n={current:n},s.memoizedState=n},useState:Km,useDebugValue:Ju,useDeferredValue:function(n){return _n().memoizedState=n},useTransition:function(){var n=Km(!1),s=n[0];return n=GN.bind(null,n[1]),_n().memoizedState=n,[s,n]},useMutableSource:function(){},useSyncExternalStore:function(n,s,a){var d=Je,f=_n();if(Ge){if(a===void 0)throw Error(r(407));a=a()}else{if(a=s(),gt===null)throw Error(r(349));(Zr&30)!==0||zm(d,s,a)}f.memoizedState=a;var g={value:a,getSnapshot:s};return f.queue=g,Qm($m.bind(null,d,g,n),[n]),d.flags|=2048,bo(9,Hm.bind(null,d,g,a,s),void 0,null),a},useId:function(){var n=_n(),s=gt.identifierPrefix;if(Ge){var a=Wn,d=$n;a=(d&~(1<<32-yn(d)-1)).toString(32)+a,s=":"+s+"R"+a,a=vo++,0<a&&(s+="H"+a.toString(32)),s+=":"}else a=KN++,s=":"+s+"r"+a.toString(32)+":";return n.memoizedState=s},unstable_isNewReconciler:!1},JN={readContext:on,useCallback:eg,useContext:on,useEffect:Yu,useImperativeHandle:Zm,useInsertionEffect:Xm,useLayoutEffect:Ym,useMemo:tg,useReducer:Qu,useRef:Gm,useState:function(){return Qu(wo)},useDebugValue:Ju,useDeferredValue:function(n){var s=an();return ng(s,dt.memoizedState,n)},useTransition:function(){var n=Qu(wo)[0],s=an().memoizedState;return[n,s]},useMutableSource:Vm,useSyncExternalStore:Um,useId:rg,unstable_isNewReconciler:!1},ZN={readContext:on,useCallback:eg,useContext:on,useEffect:Yu,useImperativeHandle:Zm,useInsertionEffect:Xm,useLayoutEffect:Ym,useMemo:tg,useReducer:Xu,useRef:Gm,useState:function(){return Xu(wo)},useDebugValue:Ju,useDeferredValue:function(n){var s=an();return dt===null?s.memoizedState=n:ng(s,dt.memoizedState,n)},useTransition:function(){var n=Xu(wo)[0],s=an().memoizedState;return[n,s]},useMutableSource:Vm,useSyncExternalStore:Um,useId:rg,unstable_isNewReconciler:!1};function wn(n,s){if(n&&n.defaultProps){s=Q({},s),n=n.defaultProps;for(var a in n)s[a]===void 0&&(s[a]=n[a]);return s}return s}function Zu(n,s,a,d){s=n.memoizedState,a=a(d,s),a=a==null?s:Q({},s,a),n.memoizedState=a,n.lanes===0&&(n.updateQueue.baseState=a)}var fl={isMounted:function(n){return(n=n._reactInternals)?qr(n)===n:!1}
vendor: 5,346 bytes, lines 38-40
38,enqueueSetState:function(n,s,a){n=n._reactInternals;var d=Ot(),f=Nr(n),g=Kn(d,f);g.payload=s,a!=null&&(g.callback=a),s=xr(n,g,f),s!==null&&(Sn(s,n,f,d),il(s,n,f))},enqueueReplaceState:function(n,s,a){n=n._reactInternals;var d=Ot(),f=Nr(n),g=Kn(d,f);g.tag=1,g.payload=s,a!=null&&(g.callback=a),s=xr(n,g,f),s!==null&&(Sn(s,n,f,d),il(s,n,f))},enqueueForceUpdate:function(n,s){n=n._reactInternals;var a=Ot(),d=Nr(n),f=Kn(a,d);f.tag=2,s!=null&&(f.callback=s),s=xr(n,f,d),s!==null&&(Sn(s,n,d,a),il(s,n,d))}};function ag(n,s,a,d,f,g,v){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(d,g,v):s.prototype&&s.prototype.isPureReactComponent?!oo(a,d)||!oo(f,g):!0}function lg(n,s,a){var d=!1,f=mr,g=s.contextType;return typeof g=="object"&&g!==null?g=on(g):(f=Bt(s)?Gr:jt.current,d=s.contextTypes,g=(d=d!=null)?$s(n,f):mr),s=new s(a,g),n.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,s.updater=fl,n.stateNode=s,s._reactInternals=n,d&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=f,n.__reactInternalMemoizedMaskedChildContext=g),s}function cg(n,s,a,d){n=s.state,typeof s.componentWillReceiveProps=="function"&&s.componentWillReceiveProps(a,d),typeof s.UNSAFE_componentWillReceiveProps=="function"&&s.UNSAFE_componentWillReceiveProps(a,d),s.state!==n&&fl.enqueueReplaceState(s,s.state,null)}function ed(n,s,a,d){var f=n.stateNode;f.props=a,f.state=n.memoizedState,f.refs={},Vu(n);var g=s.contextType;typeof g=="object"&&g!==null?f.context=on(g):(g=Bt(s)?Gr:jt.current,f.context=$s(n,g)),f.state=n.memoizedState,g=s.getDerivedStateFromProps,typeof g=="function"&&(Zu(n,s,g,a),f.state=n.memoizedState),typeof s.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(s=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),s!==f.state&&fl.enqueueReplaceState(f,f.state,null),ol(n,a,f,d),f.state=n.memoizedState),typeof f.componentDidMount=="function"&&(n.flags|=4194308)}function Js(n,s){try{var a="",d=s;do a+=Ne(d),d=d.return;while(d);var f=a}catch(g){f=` 39Error generating stack: `+g.message+` 40`+g.stack}return{value:n,source:s,stack:f,digest:null}}function td(n,s,a){return{value:n,source:null,stack:a??null,digest:s??null}}function nd(n,s){try{console.error(s.value)}catch(a){setTimeout(function(){throw a})}}var eS=typeof WeakMap=="function"?WeakMap:Map;function ug(n,s,a){a=Kn(-1,a),a.tag=3,a.payload={element:null};var d=s.value;return a.callback=function(){wl||(wl=!0,yd=d),nd(n,s)},a}function dg(n,s,a){a=Kn(-1,a),a.tag=3;var d=n.type.getDerivedStateFromError;if(typeof d=="function"){var f=s.value;a.payload=function(){return d(f)},a.callback=function(){nd(n,s)}}var g=n.stateNode;return g!==null&&typeof g.componentDidCatch=="function"&&(a.callback=function(){nd(n,s),typeof d!="function"&&(wr===null?wr=new Set([this]):wr.add(this));var v=s.stack;this.componentDidCatch(s.value,{componentStack:v!==null?v:""})}),a}function hg(n,s,a){var d=n.pingCache;if(d===null){d=n.pingCache=new eS;var f=new Set;d.set(s,f)}else f=d.get(s),f===void 0&&(f=new Set,d.set(s,f));f.has(a)||(f.add(a),n=pS.bind(null,n,s,a),s.then(n,n))}function fg(n){do{var s;if((s=n.tag===13)&&(s=n.memoizedState,s=s!==null?s.dehydrated!==null:!0),s)return n;n=n.return}while(n!==null);return null}function pg(n,s,a,d,f){return(n.mode&1)===0?(n===s?n.flags|=65536:(n.flags|=128,a.flags|=131072,a.flags&=-52805,a.tag===1&&(a.alternate===null?a.tag=17:(s=Kn(-1,1),s.tag=2,xr(a,s,1))),a.lanes|=1),n):(n.flags|=65536,n.lanes=f,n)}var tS=M.ReactCurrentOwner,Vt=!1;function Mt(n,s,a,d){s.child=n===null?Om(s,null,a,d):Gs(s,n.child,a,d)}function mg(n,s,a,d,f){a=a.render;var g=s.ref;return Xs(s,f),d=Ku(n,s,a,d,g,f),a=Gu(),n!==null&&!Vt?(s.updateQueue=n.updateQueue,s.flags&=-2053,n.lanes&=~f,Gn(n,s,f)):(Ge&&a&&Ru(s),s.flags|=1,Mt(n,s,d,f),s.child)}function gg(n,s,a,d,f){if(n===null){var g=a.type;return typeof g=="function"&&!jd(g)&&g.defaultProps===void 0&&a.compare===null&&a.defaultProps===void 0?(s.tag=15,s.type=g,yg(n,s,g,d,f)):(n=kl(a.type,null,d,s,s.mode,f),n.ref=s.ref,n.return=s,s.child=n)}if(g=n.child,(n.lanes&f)===0){var v=g.memoizedProps;if(a=a.compare,a=a!==null?a:oo,a(v,d)&&n.ref===s.ref)return Gn(n,s,f)}return s.flags|=1,n=jr(g,d),n.ref=s.ref,n.return=s,s.child=n}function yg(n,s,a,d,f){if(n!==null){var g=n.memoizedProps;if(oo(g,d)&&n.ref===s.ref)if(Vt=!1,s.pendingProps=d=g,(n.lanes&f)!==0)(n.flags&131072)!==0&&(Vt=!0);else return s.lanes=n.lanes,Gn(n,s,f)}return rd(n,s,a,d,f)}function xg(n,s,a){var d=s.pendingProps,f=d.children,g=n!==null?n.memoizedState:null;if(d.mode==="hidden")if((s.mode&1)===0)s.memoizedState={baseLanes:0,cachePool:null,transitions:null},He(ei,Zt),Zt|=a;else{if((a&1073741824)===0)return n=g!==null?g.baseLanes|a:a,s.lanes=s.childLanes=1073741824,s.memoizedState={baseLanes:n,cachePool:null,transitions:null},s.updateQueue=null,He(ei,Zt),Zt|=n,null;s.memoizedState={baseLanes:0,cachePool:null,transitions:null},d=g!==null?g.baseLanes:a,He(ei,Zt),Zt|=d}else g!==null?(d=g.baseLanes|a,s.memoizedState=null):d=a,He(ei,Zt),Zt|=d;return Mt(n,s,f,a),s.child}function vg(n,s){var a=s.ref;(n===null&&a!==null||n!==null&&n.ref!==a)&&(s.flags|=512,s.flags|=2097152)}
vendor: 37,713 bytes, line 40
40function rd(n,s,a,d,f){var g=Bt(a)?Gr:jt.current;return g=$s(s,g),Xs(s,f),a=Ku(n,s,a,d,g,f),d=Gu(),n!==null&&!Vt?(s.updateQueue=n.updateQueue,s.flags&=-2053,n.lanes&=~f,Gn(n,s,f)):(Ge&&d&&Ru(s),s.flags|=1,Mt(n,s,a,f),s.child)}function wg(n,s,a,d,f){if(Bt(a)){var g=!0;Ya(s)}else g=!1;if(Xs(s,f),s.stateNode===null)ml(n,s),lg(s,a,d),ed(s,a,d,f),d=!0;else if(n===null){var v=s.stateNode,C=s.memoizedProps;v.props=C;var T=v.context,D=a.contextType;typeof D=="object"&&D!==null?D=on(D):(D=Bt(a)?Gr:jt.current,D=$s(s,D));var $=a.getDerivedStateFromProps,W=typeof $=="function"||typeof v.getSnapshotBeforeUpdate=="function";W||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(C!==d||T!==D)&&cg(s,v,d,D),yr=!1;var H=s.memoizedState;v.state=H,ol(s,d,v,f),T=s.memoizedState,C!==d||H!==T||Ft.current||yr?(typeof $=="function"&&(Zu(s,a,$,d),T=s.memoizedState),(C=yr||ag(s,a,C,d,H,T,D))?(W||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount()),typeof v.componentDidMount=="function"&&(s.flags|=4194308)):(typeof v.componentDidMount=="function"&&(s.flags|=4194308),s.memoizedProps=d,s.memoizedState=T),v.props=d,v.state=T,v.context=D,d=C):(typeof v.componentDidMount=="function"&&(s.flags|=4194308),d=!1)}else{v=s.stateNode,Dm(n,s),C=s.memoizedProps,D=s.type===s.elementType?C:wn(s.type,C),v.props=D,W=s.pendingProps,H=v.context,T=a.contextType,typeof T=="object"&&T!==null?T=on(T):(T=Bt(a)?Gr:jt.current,T=$s(s,T));var X=a.getDerivedStateFromProps;($=typeof X=="function"||typeof v.getSnapshotBeforeUpdate=="function")||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(C!==W||H!==T)&&cg(s,v,d,T),yr=!1,H=s.memoizedState,v.state=H,ol(s,d,v,f);var ee=s.memoizedState;C!==W||H!==ee||Ft.current||yr?(typeof X=="function"&&(Zu(s,a,X,d),ee=s.memoizedState),(D=yr||ag(s,a,D,d,H,ee,T)||!1)?($||typeof v.UNSAFE_componentWillUpdate!="function"&&typeof v.componentWillUpdate!="function"||(typeof v.componentWillUpdate=="function"&&v.componentWillUpdate(d,ee,T),typeof v.UNSAFE_componentWillUpdate=="function"&&v.UNSAFE_componentWillUpdate(d,ee,T)),typeof v.componentDidUpdate=="function"&&(s.flags|=4),typeof v.getSnapshotBeforeUpdate=="function"&&(s.flags|=1024)):(typeof v.componentDidUpdate!="function"||C===n.memoizedProps&&H===n.memoizedState||(s.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||C===n.memoizedProps&&H===n.memoizedState||(s.flags|=1024),s.memoizedProps=d,s.memoizedState=ee),v.props=d,v.state=ee,v.context=T,d=D):(typeof v.componentDidUpdate!="function"||C===n.memoizedProps&&H===n.memoizedState||(s.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||C===n.memoizedProps&&H===n.memoizedState||(s.flags|=1024),d=!1)}return sd(n,s,a,d,g,f)}function sd(n,s,a,d,f,g){vg(n,s);var v=(s.flags&128)!==0;if(!d&&!v)return f&&Cm(s,a,!1),Gn(n,s,g);d=s.stateNode,tS.current=s;var C=v&&typeof a.getDerivedStateFromError!="function"?null:d.render();return s.flags|=1,n!==null&&v?(s.child=Gs(s,n.child,null,g),s.child=Gs(s,null,C,g)):Mt(n,s,C,g),s.memoizedState=d.state,f&&Cm(s,a,!0),s.child}function bg(n){var s=n.stateNode;s.pendingContext?Sm(n,s.pendingContext,s.pendingContext!==s.context):s.context&&Sm(n,s.context,!1),Uu(n,s.containerInfo)}function Ng(n,s,a,d,f){return Ks(),Ou(f),s.flags|=256,Mt(n,s,a,d),s.child}var id={dehydrated:null,treeContext:null,retryLane:0};function od(n){return{baseLanes:n,cachePool:null,transitions:null}}function Sg(n,s,a){var d=s.pendingProps,f=Ye.current,g=!1,v=(s.flags&128)!==0,C;if((C=v)||(C=n!==null&&n.memoizedState===null?!1:(f&2)!==0),C?(g=!0,s.flags&=-129):(n===null||n.memoizedState!==null)&&(f|=1),He(Ye,f&1),n===null)return Mu(s),n=s.memoizedState,n!==null&&(n=n.dehydrated,n!==null)?((s.mode&1)===0?s.lanes=1:n.data==="$!"?s.lanes=8:s.lanes=1073741824,null):(v=d.children,n=d.fallback,g?(d=s.mode,g=s.child,v={mode:"hidden",children:v},(d&1)===0&&g!==null?(g.childLanes=0,g.pendingProps=v):g=Tl(v,d,0,null),n=ss(n,d,a,null),g.return=s,n.return=s,g.sibling=n,s.child=g,s.child.memoizedState=od(a),s.memoizedState=id,n):ad(s,v));if(f=n.memoizedState,f!==null&&(C=f.dehydrated,C!==null))return nS(n,s,v,d,C,f,a);if(g){g=d.fallback,v=s.mode,f=n.child,C=f.sibling;var T={mode:"hidden",children:d.children};return(v&1)===0&&s.child!==f?(d=s.child,d.childLanes=0,d.pendingProps=T,s.deletions=null):(d=jr(f,T),d.subtreeFlags=f.subtreeFlags&14680064),C!==null?g=jr(C,g):(g=ss(g,v,a,null),g.flags|=2),g.return=s,d.return=s,d.sibling=g,s.child=d,d=g,g=s.child,v=n.child.memoizedState,v=v===null?od(a):{baseLanes:v.baseLanes|a,cachePool:null,transitions:v.transitions},g.memoizedState=v,g.childLanes=n.childLanes&~a,s.memoizedState=id,d}return g=n.child,n=g.sibling,d=jr(g,{mode:"visible",children:d.children}),(s.mode&1)===0&&(d.lanes=a),d.return=s,d.sibling=null,n!==null&&(a=s.deletions,a===null?(s.deletions=[n],s.flags|=16):a.push(n)),s.child=d,s.memoizedState=null,d}function ad(n,s){return s=Tl({mode:"visible",children:s},n.mode,0,null),s.return=n,n.child=s}function pl(n,s,a,d){return d!==null&&Ou(d),Gs(s,n.child,null,a),n=ad(s,s.pendingProps.children),n.flags|=2,s.memoizedState=null,n}function nS(n,s,a,d,f,g,v){if(a)return s.flags&256?(s.flags&=-257,d=td(Error(r(422))),pl(n,s,v,d)):s.memoizedState!==null?(s.child=n.child,s.flags|=128,null):(g=d.fallback,f=s.mode,d=Tl({mode:"visible",children:d.children},f,0,null),g=ss(g,f,v,null),g.flags|=2,d.return=s,g.return=s,d.sibling=g,s.child=d,(s.mode&1)!==0&&Gs(s,n.child,null,v),s.child.memoizedState=od(v),s.memoizedState=id,g);if((s.mode&1)===0)return pl(n,s,v,null);if(f.data==="$!"){if(d=f.nextSibling&&f.nextSibling.dataset,d)var C=d.dgst;return d=C,g=Error(r(419)),d=td(g,d,void 0),pl(n,s,v,d)}if(C=(v&n.childLanes)!==0,Vt||C){if(d=gt,d!==null){switch(v&-v){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&(d.suspendedLanes|v))!==0?0:f,f!==0&&f!==g.retryLane&&(g.retryLane=f,qn(n,f),Sn(d,n,f,-1))}return Sd(),d=td(Error(r(421))),pl(n,s,v,d)}return f.data==="$?"?(s.flags|=128,s.child=n.child,s=mS.bind(null,n),f._reactRetry=s,null):(n=g.treeContext,Jt=fr(f.nextSibling),Yt=s,Ge=!0,vn=null,n!==null&&(rn[sn++]=$n,rn[sn++]=Wn,rn[sn++]=Qr,$n=n.id,Wn=n.overflow,Qr=s),s=ad(s,d.children),s.flags|=4096,s)}function jg(n,s,a){n.lanes|=s;var d=n.alternate;d!==null&&(d.lanes|=s),Fu(n.return,s,a)}function ld(n,s,a,d,f){var g=n.memoizedState;g===null?n.memoizedState={isBackwards:s,rendering:null,renderingStartTime:0,last:d,tail:a,tailMode:f}:(g.isBackwards=s,g.rendering=null,g.renderingStartTime=0,g.last=d,g.tail=a,g.tailMode=f)}function Cg(n,s,a){var d=s.pendingProps,f=d.revealOrder,g=d.tail;if(Mt(n,s,d.children,a),d=Ye.current,(d&2)!==0)d=d&1|2,s.flags|=128;else{if(n!==null&&(n.flags&128)!==0)e:for(n=s.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&jg(n,a,s);else if(n.tag===19)jg(n,a,s);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===s)break e;for(;n.sibling===null;){if(n.return===null||n.return===s)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}d&=1}if(He(Ye,d),(s.mode&1)===0)s.memoizedState=null;else switch(f){case"forwards":for(a=s.child,f=null;a!==null;)n=a.alternate,n!==null&&al(n)===null&&(f=a),a=a.sibling;a=f,a===null?(f=s.child,s.child=null):(f=a.sibling,a.sibling=null),ld(s,!1,f,a,g);break;case"backwards":for(a=null,f=s.child,s.child=null;f!==null;){if(n=f.alternate,n!==null&&al(n)===null){s.child=f;break}n=f.sibling,f.sibling=a,a=f,f=n}ld(s,!0,a,null,g);break;case"together":ld(s,!1,null,null,void 0);break;default:s.memoizedState=null}return s.child}function ml(n,s){(s.mode&1)===0&&n!==null&&(n.alternate=null,s.alternate=null,s.flags|=2)}function Gn(n,s,a){if(n!==null&&(s.dependencies=n.dependencies),es|=s.lanes,(a&s.childLanes)===0)return null;if(n!==null&&s.child!==n.child)throw Error(r(153));if(s.child!==null){for(n=s.child,a=jr(n,n.pendingProps),s.child=a,a.return=s;n.sibling!==null;)n=n.sibling,a=a.sibling=jr(n,n.pendingProps),a.return=s;a.sibling=null}return s.child}function rS(n,s,a){switch(s.tag){case 3:bg(s),Ks();break;case 5:Bm(s);break;case 1:Bt(s.type)&&Ya(s);break;case 4:Uu(s,s.stateNode.containerInfo);break;case 10:var d=s.type._context,f=s.memoizedProps.value;He(rl,d._currentValue),d._currentValue=f;break;case 13:if(d=s.memoizedState,d!==null)return d.dehydrated!==null?(He(Ye,Ye.current&1),s.flags|=128,null):(a&s.child.childLanes)!==0?Sg(n,s,a):(He(Ye,Ye.current&1),n=Gn(n,s,a),n!==null?n.sibling:null);He(Ye,Ye.current&1);break;case 19:if(d=(a&s.childLanes)!==0,(n.flags&128)!==0){if(d)return Cg(n,s,a);s.flags|=128}if(f=s.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),He(Ye,Ye.current),d)break;return null;case 22:case 23:return s.lanes=0,xg(n,s,a)}return Gn(n,s,a)}var kg,cd,Tg,Eg;kg=function(n,s){for(var a=s.child;a!==null;){if(a.tag===5||a.tag===6)n.appendChild(a.stateNode);else if(a.tag!==4&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===s)break;for(;a.sibling===null;){if(a.return===null||a.return===s)return;a=a.return}a.sibling.return=a.return,a=a.sibling}},cd=function(){},Tg=function(n,s,a,d){var f=n.memoizedProps;if(f!==d){n=s.stateNode,Jr(An.current);var g=null;switch(a){case"input":f=Fc(n,f),d=Fc(n,d),g=[];break;case"select":f=Q({},f,{value:void 0}),d=Q({},d,{value:void 0}),g=[];break;case"textarea":f=Uc(n,f),d=Uc(n,d),g=[];break;default:typeof f.onClick!="function"&&typeof d.onClick=="function"&&(n.onclick=Ga)}Hc(a,d);var v;a=null;for(D in f)if(!d.hasOwnProperty(D)&&f.hasOwnProperty(D)&&f[D]!=null)if(D==="style"){var C=f[D];for(v in C)C.hasOwnProperty(v)&&(a||(a={}),a[v]="")}else D!=="dangerouslySetInnerHTML"&&D!=="children"&&D!=="suppressContentEditableWarning"&&D!=="suppressHydrationWarning"&&D!=="autoFocus"&&(o.hasOwnProperty(D)?g||(g=[]):(g=g||[]).push(D,null));for(D in d){var T=d[D];if(C=f!=null?f[D]:void 0,d.hasOwnProperty(D)&&T!==C&&(T!=null||C!=null))if(D==="style")if(C){for(v in C)!C.hasOwnProperty(v)||T&&T.hasOwnProperty(v)||(a||(a={}),a[v]="");for(v in T)T.hasOwnProperty(v)&&C[v]!==T[v]&&(a||(a={}),a[v]=T[v])}else a||(g||(g=[]),g.push(D,a)),a=T;else D==="dangerouslySetInnerHTML"?(T=T?T.__html:void 0,C=C?C.__html:void 0,T!=null&&C!==T&&(g=g||[]).push(D,T)):D==="children"?typeof T!="string"&&typeof T!="number"||(g=g||[]).push(D,""+T):D!=="suppressContentEditableWarning"&&D!=="suppressHydrationWarning"&&(o.hasOwnProperty(D)?(T!=null&&D==="onScroll"&&$e("scroll",n),g||C===T||(g=[])):(g=g||[]).push(D,T))}a&&(g=g||[]).push("style",a);var D=g;(s.updateQueue=D)&&(s.flags|=4)}},Eg=function(n,s,a,d){a!==d&&(s.flags|=4)};function No(n,s){if(!Ge)switch(n.tailMode){case"hidden":s=n.tail;for(var a=null;s!==null;)s.alternate!==null&&(a=s),s=s.sibling;a===null?n.tail=null:a.sibling=null;break;case"collapsed":a=n.tail;for(var d=null;a!==null;)a.alternate!==null&&(d=a),a=a.sibling;d===null?s||n.tail===null?n.tail=null:n.tail.sibling=null:d.sibling=null}}function kt(n){var s=n.alternate!==null&&n.alternate.child===n.child,a=0,d=0;if(s)for(var f=n.child;f!==null;)a|=f.lanes|f.childLanes,d|=f.subtreeFlags&14680064,d|=f.flags&14680064,f.return=n,f=f.sibling;else for(f=n.child;f!==null;)a|=f.lanes|f.childLanes,d|=f.subtreeFlags,d|=f.flags,f.return=n,f=f.sibling;return n.subtreeFlags|=d,n.childLanes=a,s}function sS(n,s,a){var d=s.pendingProps;switch(Au(s),s.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return kt(s),null;case 1:return Bt(s.type)&&Xa(),kt(s),null;case 3:return d=s.stateNode,Ys(),We(Ft),We(jt),$u(),d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null),(n===null||n.child===null)&&(tl(s)?s.flags|=4:n===null||n.memoizedState.isDehydrated&&(s.flags&256)===0||(s.flags|=1024,vn!==null&&(wd(vn),vn=null))),cd(n,s),kt(s),null;case 5:zu(s);var f=Jr(yo.current);if(a=s.type,n!==null&&s.stateNode!=null)Tg(n,s,a,d,f),n.ref!==s.ref&&(s.flags|=512,s.flags|=2097152);else{if(!d){if(s.stateNode===null)throw Error(r(166));return kt(s),null}if(n=Jr(An.current),tl(s)){d=s.stateNode,a=s.type;var g=s.memoizedProps;switch(d[Rn]=s,d[ho]=g,n=(s.mode&1)!==0,a){case"dialog":$e("cancel",d),$e("close",d);break;case"iframe":case"object":case"embed":$e("load",d);break;case"video":case"audio":for(f=0;f<lo.length;f++)$e(lo[f],d);break;case"source":$e("error",d);break;case"img":case"image":case"link":$e("error",d),$e("load",d);break;case"details":$e("toggle",d);break;case"input":lp(d,g),$e("invalid",d);break;case"select":d._wrapperState={wasMultiple:!!g.multiple},$e("invalid",d);break;case"textarea":dp(d,g),$e("invalid",d)}Hc(a,g),f=null;for(var v in g)if(g.hasOwnProperty(v)){var C=g[v];v==="children"?typeof C=="string"?d.textContent!==C&&(g.suppressHydrationWarning!==!0&&Ka(d.textContent,C,n),f=["children",C]):typeof C=="number"&&d.textContent!==""+C&&(g.suppressHydrationWarning!==!0&&Ka(d.textContent,C,n),f=["children",""+C]):o.hasOwnProperty(v)&&C!=null&&v==="onScroll"&&$e("scroll",d)}switch(a){case"input":or(d),up(d,g,!0);break;case"textarea":or(d),fp(d);break;case"select":case"option":break;default:typeof g.onClick=="function"&&(d.onclick=Ga)}d=f,s.updateQueue=d,d!==null&&(s.flags|=4)}else{v=f.nodeType===9?f:f.ownerDocument,n==="http://www.w3.org/1999/xhtml"&&(n=pp(a)),n==="http://www.w3.org/1999/xhtml"?a==="script"?(n=v.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild)):typeof d.is=="string"?n=v.createElement(a,{is:d.is}):(n=v.createElement(a),a==="select"&&(v=n,d.multiple?v.multiple=!0:d.size&&(v.size=d.size))):n=v.createElementNS(n,a),n[Rn]=s,n[ho]=d,kg(n,s,!1,!1),s.stateNode=n;e:{switch(v=$c(a,d),a){case"dialog":$e("cancel",n),$e("close",n),f=d;break;case"iframe":case"object":case"embed":$e("load",n),f=d;break;case"video":case"audio":for(f=0;f<lo.length;f++)$e(lo[f],n);f=d;break;case"source":$e("error",n),f=d;break;case"img":case"image":case"link":$e("error",n),$e("load",n),f=d;break;case"details":$e("toggle",n),f=d;break;case"input":lp(n,d),f=Fc(n,d),$e("invalid",n);break;case"option":f=d;break;case"select":n._wrapperState={wasMultiple:!!d.multiple},f=Q({},d,{value:void 0}),$e("invalid",n);break;case"textarea":dp(n,d),f=Uc(n,d),$e("invalid",n);break;default:f=d}Hc(a,f),C=f;for(g in C)if(C.hasOwnProperty(g)){var T=C[g];g==="style"?yp(n,T):g==="dangerouslySetInnerHTML"?(T=T?T.__html:void 0,T!=null&&mp(n,T)):g==="children"?typeof T=="string"?(a!=="textarea"||T!=="")&&Hi(n,T):typeof T=="number"&&Hi(n,""+T):g!=="suppressContentEditableWarning"&&g!=="suppressHydrationWarning"&&g!=="autoFocus"&&(o.hasOwnProperty(g)?T!=null&&g==="onScroll"&&$e("scroll",n):T!=null&&_(n,g,T,v))}switch(a){case"input":or(n),up(n,d,!1);break;case"textarea":or(n),fp(n);break;case"option":d.value!=null&&n.setAttribute("value",""+Le(d.value));break;case"select":n.multiple=!!d.multiple,g=d.value,g!=null?_s(n,!!d.multiple,g,!1):d.defaultValue!=null&&_s(n,!!d.multiple,d.defaultValue,!0);break;default:typeof f.onClick=="function"&&(n.onclick=Ga)}switch(a){case"button":case"input":case"select":case"textarea":d=!!d.autoFocus;break e;case"img":d=!0;break e;default:d=!1}}d&&(s.flags|=4)}s.ref!==null&&(s.flags|=512,s.flags|=2097152)}return kt(s),null;case 6:if(n&&s.stateNode!=null)Eg(n,s,n.memoizedProps,d);else{if(typeof d!="string"&&s.stateNode===null)throw Error(r(166));if(a=Jr(yo.current),Jr(An.current),tl(s)){if(d=s.stateNode,a=s.memoizedProps,d[Rn]=s,(g=d.nodeValue!==a)&&(n=Yt,n!==null))switch(n.tag){case 3:Ka(d.nodeValue,a,(n.mode&1)!==0);break;case 5:n.memoizedProps.suppressHydrationWarning!==!0&&Ka(d.nodeValue,a,(n.mode&1)!==0)}g&&(s.flags|=4)}else d=(a.nodeType===9?a:a.ownerDocument).createTextNode(d),d[Rn]=s,s.stateNode=d}return kt(s),null;case 13:if(We(Ye),d=s.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(Ge&&Jt!==null&&(s.mode&1)!==0&&(s.flags&128)===0)Am(),Ks(),s.flags|=98560,g=!1;else if(g=tl(s),d!==null&&d.dehydrated!==null){if(n===null){if(!g)throw Error(r(318));if(g=s.memoizedState,g=g!==null?g.dehydrated:null,!g)throw Error(r(317));g[Rn]=s}else Ks(),(s.flags&128)===0&&(s.memoizedState=null),s.flags|=4;kt(s),g=!1}else vn!==null&&(wd(vn),vn=null),g=!0;if(!g)return s.flags&65536?s:null}return(s.flags&128)!==0?(s.lanes=a,s):(d=d!==null,d!==(n!==null&&n.memoizedState!==null)&&d&&(s.child.flags|=8192,(s.mode&1)!==0&&(n===null||(Ye.current&1)!==0?ht===0&&(ht=3):Sd())),s.updateQueue!==null&&(s.flags|=4),kt(s),null);case 4:return Ys(),cd(n,s),n===null&&co(s.stateNode.containerInfo),kt(s),null;case 10:return Iu(s.type._context),kt(s),null;case 17:return Bt(s.type)&&Xa(),kt(s),null;case 19:if(We(Ye),g=s.memoizedState,g===null)return kt(s),null;if(d=(s.flags&128)!==0,v=g.rendering,v===null)if(d)No(g,!1);else{if(ht!==0||n!==null&&(n.flags&128)!==0)for(n=s.child;n!==null;){if(v=al(n),v!==null){for(s.flags|=128,No(g,!1),d=v.updateQueue,d!==null&&(s.updateQueue=d,s.flags|=4),s.subtreeFlags=0,d=a,a=s.child;a!==null;)g=a,n=d,g.flags&=14680066,v=g.alternate,v===null?(g.childLanes=0,g.lanes=n,g.child=null,g.subtreeFlags=0,g.memoizedProps=null,g.memoizedState=null,g.updateQueue=null,g.dependencies=null,g.stateNode=null):(g.childLanes=v.childLanes,g.lanes=v.lanes,g.child=v.child,g.subtreeFlags=0,g.deletions=null,g.memoizedProps=v.memoizedProps,g.memoizedState=v.memoizedState,g.updateQueue=v.updateQueue,g.type=v.type,n=v.dependencies,g.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),a=a.sibling;return He(Ye,Ye.current&1|2),s.child}n=n.sibling}g.tail!==null&&st()>ti&&(s.flags|=128,d=!0,No(g,!1),s.lanes=4194304)}else{if(!d)if(n=al(v),n!==null){if(s.flags|=128,d=!0,a=n.updateQueue,a!==null&&(s.updateQueue=a,s.flags|=4),No(g,!0),g.tail===null&&g.tailMode==="hidden"&&!v.alternate&&!Ge)return kt(s),null}else 2*st()-g.renderingStartTime>ti&&a!==1073741824&&(s.flags|=128,d=!0,No(g,!1),s.lanes=4194304);g.isBackwards?(v.sibling=s.child,s.child=v):(a=g.last,a!==null?a.sibling=v:s.child=v,g.last=v)}return g.tail!==null?(s=g.tail,g.rendering=s,g.tail=s.sibling,g.renderingStartTime=st(),s.sibling=null,a=Ye.current,He(Ye,d?a&1|2:a&1),s):(kt(s),null);case 22:case 23:return Nd(),d=s.memoizedState!==null,n!==null&&n.memoizedState!==null!==d&&(s.flags|=8192),d&&(s.mode&1)!==0?(Zt&1073741824)!==0&&(kt(s),s.subtreeFlags&6&&(s.flags|=8192)):kt(s),null;case 24:return null;case 25:return null}throw Error(r(156,s.tag))}function iS(n,s){switch(Au(s),s.tag){case 1:return Bt(s.type)&&Xa(),n=s.flags,n&65536?(s.flags=n&-65537|128,s):null;case 3:return Ys(),We(Ft),We(jt),$u(),n=s.flags,(n&65536)!==0&&(n&128)===0?(s.flags=n&-65537|128,s):null;case 5:return zu(s),null;case 13:if(We(Ye),n=s.memoizedState,n!==null&&n.dehydrated!==null){if(s.alternate===null)throw Error(r(340));Ks()}return n=s.flags,n&65536?(s.flags=n&-65537|128,s):null;case 19:return We(Ye),null;case 4:return Ys(),null;case 10:return Iu(s.type._context),null;case 22:case 23:return Nd(),null;case 24:return null;default:return null}}var gl=!1,Tt=!1,oS=typeof WeakSet=="function"?WeakSet:Set,Z=null;function Zs(n,s){var a=n.ref;if(a!==null)if(typeof a=="function")try{a(null)}catch(d){tt(n,s,d)}else a.current=null}function ud(n,s,a){try{a()}catch(d){tt(n,s,d)}}var Pg=!1;function aS(n,s){if(Nu=Da,n=am(),pu(n)){if("selectionStart"in n)var a={start:n.selectionStart,end:n.selectionEnd};else e:{a=(a=n.ownerDocument)&&a.defaultView||window;var d=a.getSelection&&a.getSelection();if(d&&d.rangeCount!==0){a=d.anchorNode;var f=d.anchorOffset,g=d.focusNode;d=d.focusOffset;try{a.nodeType,g.nodeType}catch{a=null;break e}var v=0,C=-1,T=-1,D=0,$=0,W=n,H=null;t:for(;;){for(var X;W!==a||f!==0&&W.nodeType!==3||(C=v+f),W!==g||d!==0&&W.nodeType!==3||(T=v+d),W.nodeType===3&&(v+=W.nodeValue.length),(X=W.firstChild)!==null;)H=W,W=X;for(;;){if(W===n)break t;if(H===a&&++D===f&&(C=v),H===g&&++$===d&&(T=v),(X=W.nextSibling)!==null)break;W=H,H=W.parentNode}W=X}a=C===-1||T===-1?null:{start:C,end:T}}else a=null}a=a||{start:0,end:0}}else a=null;for(Su={focusedElem:n,selectionRange:a},Da=!1,Z=s;Z!==null;)if(s=Z,n=s.child,(s.subtreeFlags&1028)!==0&&n!==null)n.return=s,Z=n;else for(;Z!==null;){s=Z;try{var ee=s.alternate;if((s.flags&1024)!==0)switch(s.tag){case 0:case 11:case 15:break;case 1:if(ee!==null){var ie=ee.memoizedProps,it=ee.memoizedState,O=s.stateNode,R=O.getSnapshotBeforeUpdate(s.elementType===s.type?ie:wn(s.type,ie),it);O.__reactInternalSnapshotBeforeUpdate=R}break;case 3:var L=s.stateNode.containerInfo;L.nodeType===1?L.textContent="":L.nodeType===9&&L.documentElement&&L.removeChild(L.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(q){tt(s,s.return,q)}if(n=s.sibling,n!==null){n.return=s.return,Z=n;break}Z=s.return}return ee=Pg,Pg=!1,ee}function So(n,s,a){var d=s.updateQueue;if(d=d!==null?d.lastEffect:null,d!==null){var f=d=d.next;do{if((f.tag&n)===n){var g=f.destroy;f.destroy=void 0,g!==void 0&&ud(s,a,g)}f=f.next}while(f!==d)}}function yl(n,s){if(s=s.updateQueue,s=s!==null?s.lastEffect:null,s!==null){var a=s=s.next;do{if((a.tag&n)===n){var d=a.create;a.destroy=d()}a=a.next}while(a!==s)}}function dd(n){var s=n.ref;if(s!==null){var a=n.stateNode;switch(n.tag){case 5:n=a;break;default:n=a}typeof s=="function"?s(n):s.current=n}}function Rg(n){var s=n.alternate;s!==null&&(n.alternate=null,Rg(s)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(s=n.stateNode,s!==null&&(delete s[Rn],delete s[ho],delete s[Tu],delete s[HN],delete s[$N])),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}function Ag(n){return n.tag===5||n.tag===3||n.tag===4}function _g(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||Ag(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function hd(n,s,a){var d=n.tag;if(d===5||d===6)n=n.stateNode,s?a.nodeType===8?a.parentNode.insertBefore(n,s):a.insertBefore(n,s):(a.nodeType===8?(s=a.parentNode,s.insertBefore(n,a)):(s=a,s.appendChild(n)),a=a._reactRootContainer,a!=null||s.onclick!==null||(s.onclick=Ga));else if(d!==4&&(n=n.child,n!==null))for(hd(n,s,a),n=n.sibling;n!==null;)hd(n,s,a),n=n.sibling}function fd(n,s,a){var d=n.tag;if(d===5||d===6)n=n.stateNode,s?a.insertBefore(n,s):a.appendChild(n);else if(d!==4&&(n=n.child,n!==null))for(fd(n,s,a),n=n.sibling;n!==null;)fd(n,s,a),n=n.sibling}var vt=null,bn=!1;function vr(n,s,a){for(a=a.child;a!==null;)Mg(n,s,a),a=a.sibling}function Mg(n,s,a){if(Pn&&typeof Pn.onCommitFiberUnmount=="function")try{Pn.onCommitFiberUnmount(Ra,a)}catch{}switch(a.tag){case 5:Tt||Zs(a,s);case 6:var d=vt,f=bn;vt=null,vr(n,s,a),vt=d,bn=f,vt!==null&&(bn?(n=vt,a=a.stateNode,n.nodeType===8?n.parentNode.removeChild(a):n.removeChild(a)):vt.removeChild(a.stateNode));break;case 18:vt!==null&&(bn?(n=vt,a=a.stateNode,n.nodeType===8?ku(n.parentNode,a):n.nodeType===1&&ku(n,a),eo(n)):ku(vt,a.stateNode));break;case 4:d=vt,f=bn,vt=a.stateNode.containerInfo,bn=!0,vr(n,s,a),vt=d,bn=f;break;case 0:case 11:case 14:case 15:if(!Tt&&(d=a.updateQueue,d!==null&&(d=d.lastEffect,d!==null))){f=d=d.next;do{var g=f,v=g.destroy;g=g.tag,v!==void 0&&((g&2)!==0||(g&4)!==0)&&ud(a,s,v),f=f.next}while(f!==d)}vr(n,s,a);break;case 1:if(!Tt&&(Zs(a,s),d=a.stateNode,typeof d.componentWillUnmount=="function"))try{d.props=a.memoizedProps,d.state=a.memoizedState,d.componentWillUnmount()}catch(C){tt(a,s,C)}vr(n,s,a);break;case 21:vr(n,s,a);break;case 22:a.mode&1?(Tt=(d=Tt)||a.memoizedState!==null,vr(n,s,a),Tt=d):vr(n,s,a);break;default:vr(n,s,a)}}function Og(n){var s=n.updateQueue;if(s!==null){n.updateQueue=null;var a=n.stateNode;a===null&&(a=n.stateNode=new oS),s.forEach(function(d){var f=gS.bind(null,n,d);a.has(d)||(a.add(d),d.then(f,f))})}}function Nn(n,s){var a=s.deletions;if(a!==null)for(var d=0;d<a.length;d++){var f=a[d];try{var g=n,v=s,C=v;e:for(;C!==null;){switch(C.tag){case 5:vt=C.stateNode,bn=!1;break e;case 3:vt=C.stateNode.containerInfo,bn=!0;break e;case 4:vt=C.stateNode.containerInfo,bn=!0;break e}C=C.return}if(vt===null)throw Error(r(160));Mg(g,v,f),vt=null,bn=!1;var T=f.alternate;T!==null&&(T.return=null),f.return=null}catch(D){tt(f,s,D)}}if(s.subtreeFlags&12854)for(s=s.child;s!==null;)Lg(s,n),s=s.sibling}function Lg(n,s){var a=n.alternate,d=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:if(Nn(s,n),Mn(n),d&4){try{So(3,n,n.return),yl(3,n)}catch(ie){tt(n,n.return,ie)}try{So(5,n,n.return)}catch(ie){tt(n,n.return,ie)}}break;case 1:Nn(s,n),Mn(n),d&512&&a!==null&&Zs(a,a.return);break;case 5:if(Nn(s,n),Mn(n),d&512&&a!==null&&Zs(a,a.return),n.flags&32){var f=n.stateNode;try{Hi(f,"")}catch(ie){tt(n,n.return,ie)}}if(d&4&&(f=n.stateNode,f!=null)){var g=n.memoizedProps,v=a!==null?a.memoizedProps:g,C=n.type,T=n.updateQueue;if(n.updateQueue=null,T!==null)try{C==="input"&&g.type==="radio"&&g.name!=null&&cp(f,g),$c(C,v);var D=$c(C,g);for(v=0;v<T.length;v+=2){var $=T[v],W=T[v+1];$==="style"?yp(f,W):$==="dangerouslySetInnerHTML"?mp(f,W):$==="children"?Hi(f,W):_(f,$,W,D)}switch(C){case"input":Bc(f,g);break;case"textarea":hp(f,g);break;case"select":var H=f._wrapperState.wasMultiple;f._wrapperState.wasMultiple=!!g.multiple;var X=g.value;X!=null?_s(f,!!g.multiple,X,!1):H!==!!g.multiple&&(g.defaultValue!=null?_s(f,!!g.multiple,g.defaultValue,!0):_s(f,!!g.multiple,g.multiple?[]:"",!1))}f[ho]=g}catch(ie){tt(n,n.return,ie)}}break;case 6:if(Nn(s,n),Mn(n),d&4){if(n.stateNode===null)throw Error(r(162));f=n.stateNode,g=n.memoizedProps;try{f.nodeValue=g}catch(ie){tt(n,n.return,ie)}}break;case 3:if(Nn(s,n),Mn(n),d&4&&a!==null&&a.memoizedState.isDehydrated)try{eo(s.containerInfo)}catch(ie){tt(n,n.return,ie)}break;case 4:Nn(s,n),Mn(n);break;case 13:Nn(s,n),Mn(n),f=n.child,f.flags&8192&&(g=f.memoizedState!==null,f.stateNode.isHidden=g,!g||f.alternate!==null&&f.alternate.memoizedState!==null||(gd=st())),d&4&&Og(n);break;case 22:if($=a!==null&&a.memoizedState!==null,n.mode&1?(Tt=(D=Tt)||$,Nn(s,n),Tt=D):Nn(s,n),Mn(n),d&8192){if(D=n.memoizedState!==null,(n.stateNode.isHidden=D)&&!$&&(n.mode&1)!==0)for(Z=n,$=n.child;$!==null;){for(W=Z=$;Z!==null;){switch(H=Z,X=H.child,H.tag){case 0:case 11:case 14:case 15:So(4,H,H.return);break;case 1:Zs(H,H.return);var ee=H.stateNode;if(typeof ee.componentWillUnmount=="function"){d=H,a=H.return;try{s=d,ee.props=s.memoizedProps,ee.state=s.memoizedState,ee.componentWillUnmount()}catch(ie){tt(d,a,ie)}}break;case 5:Zs(H,H.return);break;case 22:if(H.memoizedState!==null){Fg(W);continue}}X!==null?(X.return=H,Z=X):Fg(W)}$=$.sibling}e:for($=null,W=n;;){if(W.tag===5){if($===null){$=W;try{f=W.stateNode,D?(g=f.style,typeof g.setProperty=="function"?g.setProperty("display","none","important"):g.display="none"):(C=W.stateNode,T=W.memoizedProps.style,v=T!=null&&T.hasOwnProperty("display")?T.display:null,C.style.display=gp("display",v))}catch(ie){tt(n,n.return,ie)}}}else if(W.tag===6){if($===null)try{W.stateNode.nodeValue=D?"":W.memoizedProps}catch(ie){tt(n,n.return,ie)}}else if((W.tag!==22&&W.tag!==23||W.memoizedState===null||W===n)&&W.child!==null){W.child.return=W,W=W.child;continue}if(W===n)break e;for(;W.sibling===null;){if(W.return===null||W.return===n)break e;$===W&&($=null),W=W.return}$===W&&($=null),W.sibling.return=W.return,W=W.sibling}}break;case 19:Nn(s,n),Mn(n),d&4&&Og(n);break;case 21:break;default:Nn(s,n),Mn(n)}}function Mn(n){var s=n.flags;if(s&2){try{e:{for(var a=n.return;a!==null;){if(Ag(a)){var d=a;break e}a=a.return}throw Error(r(160))}switch(d.tag){case 5:var f=d.stateNode;d.flags&32&&(Hi(f,""),d.flags&=-33);var g=_g(n);fd(n,g,f);break;case 3:case 4:var v=d.stateNode.containerInfo,C=_g(n);hd(n,C,v);break;default:throw Error(r(161))}}catch(T){tt(n,n.return,T)}n.flags&=-3}s&4096&&(n.flags&=-4097)}function lS(n,s,a){Z=n,Dg(n)}function Dg(n,s,a){for(var d=(n.mode&1)!==0;Z!==null;){var f=Z,g=f.child;if(f.tag===22&&d){var v=f.memoizedState!==null||gl;if(!v){var C=f.alternate,T=C!==null&&C.memoizedState!==null||Tt;C=gl;var D=Tt;if(gl=v,(Tt=T)&&!D)for(Z=f;Z!==null;)v=Z,T=v.child,v.tag===22&&v.memoizedState!==null?Bg(f):T!==null?(T.return=v,Z=T):Bg(f);for(;g!==null;)Z=g,Dg(g),g=g.sibling;Z=f,gl=C,Tt=D}Ig(n)}else(f.subtreeFlags&8772)!==0&&g!==null?(g.return=f,Z=g):Ig(n)}}function Ig(n){for(;Z!==null;){var s=Z;if((s.flags&8772)!==0){var a=s.alternate;try{if((s.flags&8772)!==0)switch(s.tag){case 0:case 11:case 15:Tt||yl(5,s);break;case 1:var d=s.stateNode;if(s.flags&4&&!Tt)if(a===null)d.componentDidMount();else{var f=s.elementType===s.type?a.memoizedProps:wn(s.type,a.memoizedProps);d.componentDidUpdate(f,a.memoizedState,d.__reactInternalSnapshotBeforeUpdate)}var g=s.updateQueue;g!==null&&Fm(s,g,d);break;case 3:var v=s.updateQueue;if(v!==null){if(a=null,s.child!==null)switch(s.child.tag){case 5:a=s.child.stateNode;break;case 1:a=s.child.stateNode}Fm(s,v,a)}break;case 5:var C=s.stateNode;if(a===null&&s.flags&4){a=C;var T=s.memoizedProps;switch(s.type){case"button":case"input":case"select":case"textarea":T.autoFocus&&a.focus();break;case"img":T.src&&(a.src=T.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(s.memoizedState===null){var D=s.alternate;if(D!==null){var $=D.memoizedState;if($!==null){var W=$.dehydrated;W!==null&&eo(W)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(r(163))}Tt||s.flags&512&&dd(s)}catch(H){tt(s,s.return,H)}}if(s===n){Z=null;break}if(a=s.sibling,a!==null){a.return=s.return,Z=a;break}Z=s.return}}function Fg(n){for(;Z!==null;){var s=Z;if(s===n){Z=null;break}var a=s.sibling;if(a!==null){a.return=s.return,Z=a;break}Z=s.return}}function Bg(n){for(;Z!==null;){var s=Z;try{switch(s.tag){case 0:case 11:case 15:var a=s.return;try{yl(4,s)}catch(T){tt(s,a,T)}break;case 1:var d=s.stateNode;if(typeof d.componentDidMount=="function"){var f=s.return;try{d.componentDidMount()}catch(T){tt(s,f,T)}}var g=s.return;try{dd(s)}catch(T){tt(s,g,T)}break;case 5:var v=s.return;try{dd(s)}catch(T){tt(s,v,T)}}}catch(T){tt(s,s.return,T)}if(s===n){Z=null;break}var C=s.sibling;if(C!==null){C.return=s.return,Z=C;break}Z=s.return}}var cS=Math.ceil,xl=M.ReactCurrentDispatcher,pd=M.ReactCurrentOwner,ln=M.ReactCurrentBatchConfig,Me=0,gt=null,lt=null,wt=0,Zt=0,ei=pr(0),ht=0,jo=null,es=0,vl=0,md=0,Co=null,Ut=null,gd=0,ti=1/0,Qn=null,wl=!1,yd=null,wr=null,bl=!1,br=null,Nl=0,ko=0,xd=null,Sl=-1,jl=0;function Ot(){return(Me&6)!==0?st():Sl!==-1?Sl:Sl=st()}function Nr(n){return(n.mode&1)===0?1:(Me&2)!==0&&wt!==0?wt&-wt:qN.transition!==null?(jl===0&&(jl=_p()),jl):(n=Ve,n!==0||(n=window.event,n=n===void 0?16:Up(n.type)),n)}function Sn(n,s,a,d){if(50<ko)throw ko=0,xd=null,Error(r(185));Qi(n,a,d),((Me&2)===0||n!==gt)&&(n===gt&&((Me&2)===0&&(vl|=a),ht===4&&Sr(n,wt)),zt(n,d),a===1&&Me===0&&(s.mode&1)===0&&(ti=st()+500,Ja&&gr()))}function zt(n,s){var a=n.callbackNode;q1(n,s);var d=Ma(n,n===gt?wt:0);if(d===0)a!==null&&Pp(a),n.callbackNode=null,n.callbackPriority=0;else if(s=d&-d,n.callbackPriority!==s){if(a!=null&&Pp(a),s===1)n.tag===0?WN(Ug.bind(null,n)):km(Ug.bind(null,n)),UN(function(){(Me&6)===0&&gr()}),a=null;else{switch(Mp(d)){case 1:a=Yc;break;case 4:a=Rp;break;case 16:a=Pa;break;case 536870912:a=Ap;break;default:a=Pa}a=Qg(a,Vg.bind(null,n))}n.callbackPriority=s,n.callbackNode=a}}function Vg(n,s){if(Sl=-1,jl=0,(Me&6)!==0)throw Error(r(327));var a=n.callbackNode;if(ni()&&n.callbackNode!==a)return null;var d=Ma(n,n===gt?wt:0);if(d===0)return null;if((d&30)!==0||(d&n.expiredLanes)!==0||s)s=Cl(n,d);else{s=d;var f=Me;Me|=2;var g=Hg();(gt!==n||wt!==s)&&(Qn=null,ti=st()+500,ns(n,s));do try{hS();break}catch(C){zg(n,C)}while(!0);Du(),xl.current=g,Me=f,lt!==null?s=0:(gt=null,wt=0,s=ht)}if(s!==0){if(s===2&&(f=Jc(n),f!==0&&(d=f,s=vd(n,f))),s===1)throw a=jo,ns(n,0),Sr(n,d),zt(n,st()),a;if(s===6)Sr(n,d);else{if(f=n.current.alternate,(d&30)===0&&!uS(f)&&(s=Cl(n,d),s===2&&(g=Jc(n),g!==0&&(d=g,s=vd(n,g))),s===1))throw a=jo,ns(n,0),Sr(n,d),zt(n,st()),a;switch(n.finishedWork=f,n.finishedLanes=d,s){case 0:case 1:throw Error(r(345));case 2:rs(n,Ut,Qn);break;case 3:if(Sr(n,d),(d&130023424)===d&&(s=gd+500-st(),10<s)){if(Ma(n,0)!==0)break;if(f=n.suspendedLanes,(f&d)!==d){Ot(),n.pingedLanes|=n.suspendedLanes&f;break}n.timeoutHandle=Cu(rs.bind(null,n,Ut,Qn),s);break}rs(n,Ut,Qn);break;case 4:if(Sr(n,d),(d&4194240)===d)break;for(s=n.eventTimes,f=-1;0<d;){var v=31-yn(d);g=1<<v,v=s[v],v>f&&(f=v),d&=~g}if(d=f,d=st()-d,d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3e3>d?3e3:4320>d?4320:1960*cS(d/1960))-d,10<d){n.timeoutHandle=Cu(rs.bind(null,n,Ut,Qn),d);break}rs(n,Ut,Qn);break;case 5:rs(n,Ut,Qn);break;default:throw Error(r(329))}}}return zt(n,st()),n.callbackNode===a?Vg.bind(null,n):null}function vd(n,s){var a=Co;return n.current.memoizedState.isDehydrated&&(ns(n,s).flags|=256),n=Cl(n,s),n!==2&&(s=Ut,Ut=a,s!==null&&wd(s)),n}function wd(n){Ut===null?Ut=n:Ut.push.apply(Ut,n)}function uS(n){for(var s=n;;){if(s.flags&16384){var a=s.updateQueue;if(a!==null&&(a=a.stores,a!==null))for(var d=0;d<a.length;d++){var f=a[d],g=f.getSnapshot;f=f.value;try{if(!xn(g(),f))return!1}catch{return!1}}}if(a=s.child,s.subtreeFlags&16384&&a!==null)a.return=s,s=a;else{if(s===n)break;for(;s.sibling===null;){if(s.return===null||s.return===n)return!0;s=s.return}s.sibling.return=s.return,s=s.sibling}}return!0}function Sr(n,s){for(s&=~md,s&=~vl,n.suspendedLanes|=s,n.pingedLanes&=~s,n=n.expirationTimes;0<s;){var a=31-yn(s),d=1<<a;n[a]=-1,s&=~d}}function Ug(n){if((Me&6)!==0)throw Error(r(327));ni();var s=Ma(n,0);if((s&1)===0)return zt(n,st()),null;var a=Cl(n,s);if(n.tag!==0&&a===2){var d=Jc(n);d!==0&&(s=d,a=vd(n,d))}if(a===1)throw a=jo,ns(n,0),Sr(n,s),zt(n,st()),a;if(a===6)throw Error(r(345));return n.finishedWork=n.current.alternate,n.finishedLanes=s,rs(n,Ut,Qn),zt(n,st()),null}function bd(n,s){var a=Me;Me|=1;try{return n(s)}finally{Me=a,Me===0&&(ti=st()+500,Ja&&gr())}}function ts(n){br!==null&&br.tag===0&&(Me&6)===0&&ni();var s=Me;Me|=1;var a=ln.transition,d=Ve;try{if(ln.transition=null,Ve=1,n)return n()}finally{Ve=d,ln.transition=a,Me=s,(Me&6)===0&&gr()}}function Nd(){Zt=ei.current,We(ei)}function ns(n,s){n.finishedWork=null,n.finishedLanes=0;var a=n.timeoutHandle;if(a!==-1&&(n.timeoutHandle=-1,VN(a)),lt!==null)for(a=lt.return;a!==null;){var d=a;switch(Au(d),d.tag){case 1:d=d.type.childContextTypes,d!=null&&Xa();break;case 3:Ys(),We(Ft),We(jt),$u();break;case 5:zu(d);break;case 4:Ys();break;case 13:We(Ye);break;case 19:We(Ye);break;case 10:Iu(d.type._context);break;case 22:case 23:Nd()}a=a.return}if(gt=n,lt=n=jr(n.current,null),wt=Zt=s,ht=0,jo=null,md=vl=es=0,Ut=Co=null,Yr!==null){for(s=0;s<Yr.length;s++)if(a=Yr[s],d=a.interleaved,d!==null){a.interleaved=null;var f=d.next,g=a.pending;if(g!==null){var v=g.next;g.next=f,d.next=v}a.pending=d}Yr=null}return n}function zg(n,s){do{var a=lt;try{if(Du(),ll.current=hl,cl){for(var d=Je.memoizedState;d!==null;){var f=d.queue;f!==null&&(f.pending=null),d=d.next}cl=!1}if(Zr=0,mt=dt=Je=null,xo=!1,vo=0,pd.current=null,a===null||a.return===null){ht=1,jo=s,lt=null;break}e:{var g=n,v=a.return,C=a,T=s;if(s=wt,C.flags|=32768,T!==null&&typeof T=="object"&&typeof T.then=="function"){var D=T,$=C,W=$.tag;if(($.mode&1)===0&&(W===0||W===11||W===15)){var H=$.alternate;H?($.updateQueue=H.updateQueue,$.memoizedState=H.memoizedState,$.lanes=H.lanes):($.updateQueue=null,$.memoizedState=null)}var X=fg(v);if(X!==null){X.flags&=-257,pg(X,v,C,g,s),X.mode&1&&hg(g,D,s),s=X,T=D;var ee=s.updateQueue;if(ee===null){var ie=new Set;ie.add(T),s.updateQueue=ie}else ee.add(T);break e}else{if((s&1)===0){hg(g,D,s),Sd();break e}T=Error(r(426))}}else if(Ge&&C.mode&1){var it=fg(v);if(it!==null){(it.flags&65536)===0&&(it.flags|=256),pg(it,v,C,g,s),Ou(Js(T,C));break e}}g=T=Js(T,C),ht!==4&&(ht=2),Co===null?Co=[g]:Co.push(g),g=v;do{switch(g.tag){case 3:g.flags|=65536,s&=-s,g.lanes|=s;var O=ug(g,T,s);Im(g,O);break e;case 1:C=T;var R=g.type,L=g.stateNode;if((g.flags&128)===0&&(typeof R.getDerivedStateFromError=="function"||L!==null&&typeof L.componentDidCatch=="function"&&(wr===null||!wr.has(L)))){g.flags|=65536,s&=-s,g.lanes|=s;var q=dg(g,C,s);Im(g,q);break e}}g=g.return}while(g!==null)}Wg(a)}catch(oe){s=oe,lt===a&&a!==null&&(lt=a=a.return);continue}break}while(!0)}function Hg(){var n=xl.current;return xl.current=hl,n===null?hl:n}function Sd(){(ht===0||ht===3||ht===2)&&(ht=4),gt===null||(es&268435455)===0&&(vl&268435455)===0||Sr(gt,wt)}function Cl(n,s){var a=Me;Me|=2;var d=Hg();(gt!==n||wt!==s)&&(Qn=null,ns(n,s));do try{dS();break}catch(f){zg(n,f)}while(!0);if(Du(),Me=a,xl.current=d,lt!==null)throw Error(r(261));return gt=null,wt=0,ht}function dS(){for(;lt!==null;)$g(lt)}function hS(){for(;lt!==null&&!I1();)$g(lt)}function $g(n){var s=Gg(n.alternate,n,Zt);n.memoizedProps=n.pendingProps,s===null?Wg(n):lt=s,pd.current=null}function Wg(n){var s=n;do{var a=s.alternate;if(n=s.return,(s.flags&32768)===0){if(a=sS(a,s,Zt),a!==null){lt=a;return}}else{if(a=iS(a,s),a!==null){a.flags&=32767,lt=a;return}if(n!==null)n.flags|=32768,n.subtreeFlags=0,n.deletions=null;else{ht=6,lt=null;return}}if(s=s.sibling,s!==null){lt=s;return}lt=s=n}while(s!==null);ht===0&&(ht=5)}function rs(n,s,a){var d=Ve,f=ln.transition;try{ln.transition=null,Ve=1,fS(n,s,a,d)}finally{ln.transition=f,Ve=d}return null}function fS(n,s,a,d){do ni();while(br!==null);if((Me&6)!==0)throw Error(r(327));a=n.finishedWork;var f=n.finishedLanes;if(a===null)return null;if(n.finishedWork=null,n.finishedLanes=0,a===n.current)throw Error(r(1
vendor: 4,122 bytes, line 40
4077));n.callbackNode=null,n.callbackPriority=0;var g=a.lanes|a.childLanes;if(K1(n,g),n===gt&&(lt=gt=null,wt=0),(a.subtreeFlags&2064)===0&&(a.flags&2064)===0||bl||(bl=!0,Qg(Pa,function(){return ni(),null})),g=(a.flags&15990)!==0,(a.subtreeFlags&15990)!==0||g){g=ln.transition,ln.transition=null;var v=Ve;Ve=1;var C=Me;Me|=4,pd.current=null,aS(n,a),Lg(a,n),MN(Su),Da=!!Nu,Su=Nu=null,n.current=a,lS(a),F1(),Me=C,Ve=v,ln.transition=g}else n.current=a;if(bl&&(bl=!1,br=n,Nl=f),g=n.pendingLanes,g===0&&(wr=null),U1(a.stateNode),zt(n,st()),s!==null)for(d=n.onRecoverableError,a=0;a<s.length;a++)f=s[a],d(f.value,{componentStack:f.stack,digest:f.digest});if(wl)throw wl=!1,n=yd,yd=null,n;return(Nl&1)!==0&&n.tag!==0&&ni(),g=n.pendingLanes,(g&1)!==0?n===xd?ko++:(ko=0,xd=n):ko=0,gr(),null}function ni(){if(br!==null){var n=Mp(Nl),s=ln.transition,a=Ve;try{if(ln.transition=null,Ve=16>n?16:n,br===null)var d=!1;else{if(n=br,br=null,Nl=0,(Me&6)!==0)throw Error(r(331));var f=Me;for(Me|=4,Z=n.current;Z!==null;){var g=Z,v=g.child;if((Z.flags&16)!==0){var C=g.deletions;if(C!==null){for(var T=0;T<C.length;T++){var D=C[T];for(Z=D;Z!==null;){var $=Z;switch($.tag){case 0:case 11:case 15:So(8,$,g)}var W=$.child;if(W!==null)W.return=$,Z=W;else for(;Z!==null;){$=Z;var H=$.sibling,X=$.return;if(Rg($),$===D){Z=null;break}if(H!==null){H.return=X,Z=H;break}Z=X}}}var ee=g.alternate;if(ee!==null){var ie=ee.child;if(ie!==null){ee.child=null;do{var it=ie.sibling;ie.sibling=null,ie=it}while(ie!==null)}}Z=g}}if((g.subtreeFlags&2064)!==0&&v!==null)v.return=g,Z=v;else e:for(;Z!==null;){if(g=Z,(g.flags&2048)!==0)switch(g.tag){case 0:case 11:case 15:So(9,g,g.return)}var O=g.sibling;if(O!==null){O.return=g.return,Z=O;break e}Z=g.return}}var R=n.current;for(Z=R;Z!==null;){v=Z;var L=v.child;if((v.subtreeFlags&2064)!==0&&L!==null)L.return=v,Z=L;else e:for(v=R;Z!==null;){if(C=Z,(C.flags&2048)!==0)try{switch(C.tag){case 0:case 11:case 15:yl(9,C)}}catch(oe){tt(C,C.return,oe)}if(C===v){Z=null;break e}var q=C.sibling;if(q!==null){q.return=C.return,Z=q;break e}Z=C.return}}if(Me=f,gr(),Pn&&typeof Pn.onPostCommitFiberRoot=="function")try{Pn.onPostCommitFiberRoot(Ra,n)}catch{}d=!0}return d}finally{Ve=a,ln.transition=s}}return!1}function qg(n,s,a){s=Js(a,s),s=ug(n,s,1),n=xr(n,s,1),s=Ot(),n!==null&&(Qi(n,1,s),zt(n,s))}function tt(n,s,a){if(n.tag===3)qg(n,n,a);else for(;s!==null;){if(s.tag===3){qg(s,n,a);break}else if(s.tag===1){var d=s.stateNode;if(typeof s.type.getDerivedStateFromError=="function"||typeof d.componentDidCatch=="function"&&(wr===null||!wr.has(d))){n=Js(a,n),n=dg(s,n,1),s=xr(s,n,1),n=Ot(),s!==null&&(Qi(s,1,n),zt(s,n));break}}s=s.return}}function pS(n,s,a){var d=n.pingCache;d!==null&&d.delete(s),s=Ot(),n.pingedLanes|=n.suspendedLanes&a,gt===n&&(wt&a)===a&&(ht===4||ht===3&&(wt&130023424)===wt&&500>st()-gd?ns(n,0):md|=a),zt(n,s)}function Kg(n,s){s===0&&((n.mode&1)===0?s=1:(s=_a,_a<<=1,(_a&130023424)===0&&(_a=4194304)));var a=Ot();n=qn(n,s),n!==null&&(Qi(n,s,a),zt(n,a))}function mS(n){var s=n.memoizedState,a=0;s!==null&&(a=s.retryLane),Kg(n,a)}function gS(n,s){var a=0;switch(n.tag){case 13:var d=n.stateNode,f=n.memoizedState;f!==null&&(a=f.retryLane);break;case 19:d=n.stateNode;break;default:throw Error(r(314))}d!==null&&d.delete(s),Kg(n,a)}var Gg;Gg=function(n,s,a){if(n!==null)if(n.memoizedProps!==s.pendingProps||Ft.current)Vt=!0;else{if((n.lanes&a)===0&&(s.flags&128)===0)return Vt=!1,rS(n,s,a);Vt=(n.flags&131072)!==0}else Vt=!1,Ge&&(s.flags&1048576)!==0&&Tm(s,el,s.index);switch(s.lanes=0,s.tag){case 2:var d=s.type;ml(n,s),n=s.pendingProps;var f=$s(s,jt.current);Xs(s,a),f=Ku(null,s,d,n,f,a);var g=Gu();return s.flags|=1,typeof f=="object"&&f!==null&&typeof f.render=="function"&&f.$$typeof===void 0?(s.tag=1,s.memoizedState=null,s.updateQueue=null,Bt(d)?(g=!0,Ya(s)):g=!1,s.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,Vu(s),f.updater=fl,s.stateNode=f,f._reactInternals=s,ed(s,d,n,a),s=sd(null,s,d,!0,g,a)):(s.tag=0,Ge&&g&&Ru(s),Mt(null,s,f,a),s=s.child),s;case 16:d=s.elementType;e:{switch(ml(n,s),n=s.pendingProps,f=d._init,d=f(d._payload),s.type=d,f=s.tag=xS(d),n=wn(d,n),f){case 0:s=rd(null,
vendor: 9,017 bytes, line 40
40s,d,n,a);break e;case 1:s=wg(null,s,d,n,a);break e;case 11:s=mg(null,s,d,n,a);break e;case 14:s=gg(null,s,d,wn(d.type,n),a);break e}throw Error(r(306,d,""))}return s;case 0:return d=s.type,f=s.pendingProps,f=s.elementType===d?f:wn(d,f),rd(n,s,d,f,a);case 1:return d=s.type,f=s.pendingProps,f=s.elementType===d?f:wn(d,f),wg(n,s,d,f,a);case 3:e:{if(bg(s),n===null)throw Error(r(387));d=s.pendingProps,g=s.memoizedState,f=g.element,Dm(n,s),ol(s,d,null,a);var v=s.memoizedState;if(d=v.element,g.isDehydrated)if(g={element:d,isDehydrated:!1,cache:v.cache,pendingSuspenseBoundaries:v.pendingSuspenseBoundaries,transitions:v.transitions},s.updateQueue.baseState=g,s.memoizedState=g,s.flags&256){f=Js(Error(r(423)),s),s=Ng(n,s,d,a,f);break e}else if(d!==f){f=Js(Error(r(424)),s),s=Ng(n,s,d,a,f);break e}else for(Jt=fr(s.stateNode.containerInfo.firstChild),Yt=s,Ge=!0,vn=null,a=Om(s,null,d,a),s.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling;else{if(Ks(),d===f){s=Gn(n,s,a);break e}Mt(n,s,d,a)}s=s.child}return s;case 5:return Bm(s),n===null&&Mu(s),d=s.type,f=s.pendingProps,g=n!==null?n.memoizedProps:null,v=f.children,ju(d,f)?v=null:g!==null&&ju(d,g)&&(s.flags|=32),vg(n,s),Mt(n,s,v,a),s.child;case 6:return n===null&&Mu(s),null;case 13:return Sg(n,s,a);case 4:return Uu(s,s.stateNode.containerInfo),d=s.pendingProps,n===null?s.child=Gs(s,null,d,a):Mt(n,s,d,a),s.child;case 11:return d=s.type,f=s.pendingProps,f=s.elementType===d?f:wn(d,f),mg(n,s,d,f,a);case 7:return Mt(n,s,s.pendingProps,a),s.child;case 8:return Mt(n,s,s.pendingProps.children,a),s.child;case 12:return Mt(n,s,s.pendingProps.children,a),s.child;case 10:e:{if(d=s.type._context,f=s.pendingProps,g=s.memoizedProps,v=f.value,He(rl,d._currentValue),d._currentValue=v,g!==null)if(xn(g.value,v)){if(g.children===f.children&&!Ft.current){s=Gn(n,s,a);break e}}else for(g=s.child,g!==null&&(g.return=s);g!==null;){var C=g.dependencies;if(C!==null){v=g.child;for(var T=C.firstContext;T!==null;){if(T.context===d){if(g.tag===1){T=Kn(-1,a&-a),T.tag=2;var D=g.updateQueue;if(D!==null){D=D.shared;var $=D.pending;$===null?T.next=T:(T.next=$.next,$.next=T),D.pending=T}}g.lanes|=a,T=g.alternate,T!==null&&(T.lanes|=a),Fu(g.return,a,s),C.lanes|=a;break}T=T.next}}else if(g.tag===10)v=g.type===s.type?null:g.child;else if(g.tag===18){if(v=g.return,v===null)throw Error(r(341));v.lanes|=a,C=v.alternate,C!==null&&(C.lanes|=a),Fu(v,a,s),v=g.sibling}else v=g.child;if(v!==null)v.return=g;else for(v=g;v!==null;){if(v===s){v=null;break}if(g=v.sibling,g!==null){g.return=v.return,v=g;break}v=v.return}g=v}Mt(n,s,f.children,a),s=s.child}return s;case 9:return f=s.type,d=s.pendingProps.children,Xs(s,a),f=on(f),d=d(f),s.flags|=1,Mt(n,s,d,a),s.child;case 14:return d=s.type,f=wn(d,s.pendingProps),f=wn(d.type,f),gg(n,s,d,f,a);case 15:return yg(n,s,s.type,s.pendingProps,a);case 17:return d=s.type,f=s.pendingProps,f=s.elementType===d?f:wn(d,f),ml(n,s),s.tag=1,Bt(d)?(n=!0,Ya(s)):n=!1,Xs(s,a),lg(s,d,f),ed(s,d,f,a),sd(null,s,d,!0,n,a);case 19:return Cg(n,s,a);case 22:return xg(n,s,a)}throw Error(r(156,s.tag))};function Qg(n,s){return Ep(n,s)}function yS(n,s,a,d){this.tag=n,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=s,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=d,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function cn(n,s,a,d){return new yS(n,s,a,d)}function jd(n){return n=n.prototype,!(!n||!n.isReactComponent)}function xS(n){if(typeof n=="function")return jd(n)?1:0;if(n!=null){if(n=n.$$typeof,n===Oe)return 11;if(n===Xe)return 14}return 2}function jr(n,s){var a=n.alternate;return a===null?(a=cn(n.tag,s,n.key,n.mode),a.elementType=n.elementType,a.type=n.type,a.stateNode=n.stateNode,a.alternate=n,n.alternate=a):(a.pendingProps=s,a.type=n.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=n.flags&14680064,a.childLanes=n.childLanes,a.lanes=n.lanes,a.child=n.child,a.memoizedProps=n.memoizedProps,a.memoizedState=n.memoizedState,a.updateQueue=n.updateQueue,s=n.dependencies,a.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext},a.sibling=n.sibling,a.index=n.index,a.ref=n.ref,a}function kl(n,s,a,d,f,g){var v=2;if(d=n,typeof n=="function")jd(n)&&(v=1);else if(typeof n=="string")v=5;else e:switch(n){case G:return ss(a.children,f,g,s);case V:v=8,f|=8;break;case he:return n=cn(12,a,s,f|2),n.elementType=he,n.lanes=g,n;case Ie:return n=cn(13,a,s,f),n.elementType=Ie,n.lanes=g,n;case Ue:return n=cn(19,a,s,f),n.elementType=Ue,n.lanes=g,n;case me:return Tl(a,f,g,s);default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case J:v=10;break e;case Se:v=9;break e;case Oe:v=11;break e;case Xe:v=14;break e;case xe:v=16,d=null;break e}throw Error(r(130,n==null?n:typeof n,""))}return s=cn(v,a,s,f),s.elementType=n,s.type=d,s.lanes=g,s}function ss(n,s,a,d){return n=cn(7,n,d,s),n.lanes=a,n}function Tl(n,s,a,d){return n=cn(22,n,d,s),n.elementType=me,n.lanes=a,n.stateNode={isHidden:!1},n}function Cd(n,s,a){return n=cn(6,n,null,s),n.lanes=a,n}function kd(n,s,a){return s=cn(4,n.children!==null?n.children:[],n.key,s),s.lanes=a,s.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},s}function vS(n,s,a,d,f){this.tag=s,this.containerInfo=n,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Zc(0),this.expirationTimes=Zc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Zc(0),this.identifierPrefix=d,this.onRecoverableError=f,this.mutableSourceEagerHydrationData=null}function Td(n,s,a,d,f,g,v,C,T){return n=new vS(n,s,a,C,T),s===1?(s=1,g===!0&&(s|=8)):s=0,g=cn(3,null,null,s),n.current=g,g.stateNode=n,g.memoizedState={element:d,isDehydrated:a,cache:null,transitions:null,pendingSuspenseBoundaries:null},Vu(g),n}function wS(n,s,a){var d=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:K,key:d==null?null:""+d,children:n,containerInfo:s,implementation:a}}function Xg(n){if(!n)return mr;n=n._reactInternals;e:{if(qr(n)!==n||n.tag!==1)throw Error(r(170));var s=n;do{switch(s.tag){case 3:s=s.stateNode.context;break e;case 1:if(Bt(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break e}}s=s.return}while(s!==null);throw Error(r(171))}if(n.tag===1){var a=n.type;if(Bt(a))return jm(n,a,s)}return s}function Yg(n,s,a,d,f,g,v,C,T){return n=Td(a,d,!0,n,f,g,v,C,T),n.context=Xg(null),a=n.current,d=Ot(),f=Nr(a),g=Kn(d,f),g.callback=s??null,xr(a,g,f),n.current.lanes=f,Qi(n,f,d),zt(n,d),n}function El(n,s,a,d){var f=s.current,g=Ot(),v=Nr(f);return a=Xg(a),s.context===null?s.context=a:s.pendingContext=a,s=Kn(g,v),s.payload={element:n},d=d===void 0?null:d,d!==null&&(s.callback=d),n=xr(f,s,v),n!==null&&(Sn(n,f,v,g),il(n,f,v)),v}function Pl(n){if(n=n.current,!n.child)return null;switch(n.child.tag){case 5:return n.child.stateNode;default:return n.child.stateNode}}function Jg(n,s){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var a=n.retryLane;n.retryLane=a!==0&&a<s?a:s}}function Ed(n,s){Jg(n,s),(n=n.alternate)&&Jg(n,s)}function bS(){return null}var Zg=typeof reportError=="function"?reportError:function(n){console.error(n)};function Pd(n){this._internalRoot=n}Rl.prototype.render=Pd.prototype.render=function(n){var s=this._internalRoot;if(s===null)throw Error(r(409));El(n,s,null,null)},Rl.prototype.unmount=Pd.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var s=n.containerInfo;ts(function(){El(null,n,null,null)}),s[zn]=null}};function Rl(n){this._internalRoot=n}Rl.prototype.unstable_scheduleHydration=function(n){if(n){var s=Dp();n={blockedOn:null,target:n,priority:s};for(var a=0;a<ur.length&&s!==0&&s<ur[a].priority;a++);ur.splice(a,0,n),a===0&&Bp(n)}};function Rd(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function Al(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11&&(n.nodeType!==8||n.nodeValue!==" react-mount-point-unstable "))}function e0(){}function NS(n,s,a,d,f){if(f){if(typeof d=="function"){var g=d;d=function(){var D=Pl(v);g.call(D)}}var v=Yg(s,d,n,0,null,!1,!1,"",e0);return n._reactRootContainer=v,n[zn]=v.current,co(n.nodeType===8?n.parentNode:n),ts(),v}for(;f=n.lastChild;)n.removeChild(f);if(typeof d=="function"){var C=d;d=function(){var D=Pl(T);C.call(D)}}var T=Td(n,0,!1,null,null,!1,!1,"",e0);return n._reactRootContainer=T,n[zn]=T.current,co(n.nodeType===8?n.parentNode:n),ts(function(){El(s,T,a,d)}),T}function _l(n,s,a,d,f){var g=a._reactRootContainer;if(g){var v=g;if(typeof f=="function"){var C=f;f=function(){var T=Pl(v);C.call(T)}}El(s,v,n,f)}else v=NS(a,s,n,f,d);return Pl(v)}Op=function(n){switch(n.tag){case 3:var s=n.stateNode;if(s.current.memoizedState.isDehydrated){var a=Gi(s.pendingLanes);
vendor: 4,853 bytes, line 40
40a!==0&&(eu(s,a|1),zt(s,st()),(Me&6)===0&&(ti=st()+500,gr()))}break;case 13:ts(function(){var d=qn(n,1);if(d!==null){var f=Ot();Sn(d,n,1,f)}}),Ed(n,1)}},tu=function(n){if(n.tag===13){var s=qn(n,134217728);if(s!==null){var a=Ot();Sn(s,n,134217728,a)}Ed(n,134217728)}},Lp=function(n){if(n.tag===13){var s=Nr(n),a=qn(n,s);if(a!==null){var d=Ot();Sn(a,n,s,d)}Ed(n,s)}},Dp=function(){return Ve},Ip=function(n,s){var a=Ve;try{return Ve=n,s()}finally{Ve=a}},Kc=function(n,s,a){switch(s){case"input":if(Bc(n,a),s=a.name,a.type==="radio"&&s!=null){for(a=n;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll("input[name="+JSON.stringify(""+s)+'][type="radio"]'),s=0;s<a.length;s++){var d=a[s];if(d!==n&&d.form===n.form){var f=Qa(d);if(!f)throw Error(r(90));Wr(d),Bc(d,f)}}}break;case"textarea":hp(n,a);break;case"select":s=a.value,s!=null&&_s(n,!!a.multiple,s,!1)}},bp=bd,Np=ts;var SS={usingClientEntryPoint:!1,Events:[fo,zs,Qa,vp,wp,bd]},To={findFiberByHostInstance:Kr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},jS={bundleType:To.bundleType,version:To.version,rendererPackageName:To.rendererPackageName,rendererConfig:To.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:M.ReactCurrentDispatcher,findHostInstanceByFiber:function(n){return n=kp(n),n===null?null:n.stateNode},findFiberByHostInstance:To.findFiberByHostInstance||bS,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 Ml=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ml.isDisabled&&Ml.supportsFiber)try{Ra=Ml.inject(jS),Pn=Ml}catch{}}return Ht.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=SS,Ht.createPortal=function(n,s){var a=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Rd(s))throw Error(r(200));return wS(n,s,null,a)},Ht.createRoot=function(n,s){if(!Rd(n))throw Error(r(299));var a=!1,d="",f=Zg;return s!=null&&(s.unstable_strictMode===!0&&(a=!0),s.identifierPrefix!==void 0&&(d=s.identifierPrefix),s.onRecoverableError!==void 0&&(f=s.onRecoverableError)),s=Td(n,1,!1,null,null,a,!1,d,f),n[zn]=s.current,co(n.nodeType===8?n.parentNode:n),new Pd(s)},Ht.findDOMNode=function(n){if(n==null)return null;if(n.nodeType===1)return n;var s=n._reactInternals;if(s===void 0)throw typeof n.render=="function"?Error(r(188)):(n=Object.keys(n).join(","),Error(r(268,n)));return n=kp(s),n=n===null?null:n.stateNode,n},Ht.flushSync=function(n){return ts(n)},Ht.hydrate=function(n,s,a){if(!Al(s))throw Error(r(200));return _l(null,n,s,!0,a)},Ht.hydrateRoot=function(n,s,a){if(!Rd(n))throw Error(r(405));var d=a!=null&&a.hydratedSources||null,f=!1,g="",v=Zg;if(a!=null&&(a.unstable_strictMode===!0&&(f=!0),a.identifierPrefix!==void 0&&(g=a.identifierPrefix),a.onRecoverableError!==void 0&&(v=a.onRecoverableError)),s=Yg(s,null,n,1,a??null,f,!1,g,v),n[zn]=s.current,co(n),d)for(n=0;n<d.length;n++)a=d[n],f=a._getVersion,f=f(a._source),s.mutableSourceEagerHydrationData==null?s.mutableSourceEagerHydrationData=[a,f]:s.mutableSourceEagerHydrationData.push(a,f);return new Rl(s)},Ht.render=function(n,s,a){if(!Al(s))throw Error(r(200));return _l(null,n,s,!1,a)},Ht.unmountComponentAtNode=function(n){if(!Al(n))throw Error(r(40));return n._reactRootContainer?(ts(function(){_l(null,null,n,!1,function(){n._reactRootContainer=null,n[zn]=null})}),!0):!1},Ht.unstable_batchedUpdates=bd,Ht.unstable_renderSubtreeIntoContainer=function(n,s,a,d){if(!Al(a))throw Error(r(200));if(n==null||n._reactInternals===void 0)throw Error(r(38));return _l(n,s,a,!1,d)},Ht.version="18.3.1-next-f1338f8080-20240426",Ht}var c0;function Jx(){if(c0)return Od.exports;c0=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Od.exports=_S(),Od.exports}var u0;function MS(){if(u0)return Ll;u0=1;var e=Jx();return Ll.createRoot=e.createRoot,Ll.hydrateRoot=e.hydrateRoot,Ll}var OS=MS();const LS=Yx(OS),DS=20,IS=1e6,er={ADD_TOAST:"ADD_TOAST",UPDATE_TOAST:"UPDATE_TOAST",DISMISS_TOAST:"DISMISS_TOAST",REMOVE_TOAST:"REMOVE_TOAST"};let Id=0;function FS(){return Id=(Id+1)%Number.MAX_VALUE,Id.toString()}const Fd=new Map,d0=e=>{if(Fd.has(e))return;const t=setTimeout(()=>{Fd.delete(e),Ho({type:er.REMOVE_TOAST,toastId:e})},IS);Fd.set(e,t)},BS=(e,t)=>{switch(t.type){case er.ADD_TOAST:return{...e,toasts:[t.toast,...e.toasts].slice(0,DS)};case er.UPDATE_TOAST:return{...e,toasts:e.toasts.map(r=>r.id===t.toast.id?{...r,...t.toast}:r)};case er.DISMISS_TOAST:{const{toastId:r}=t;
40return r?d0(r):e.toasts.forEach(i=>{d0(i.id)}),{...e,toasts:e.toasts.map(i=>i.id===r||r===void 0?{...i,open:!1}:i)}}case er.REMOVE_TOAST:return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(r=>r.id!==t.toastId)}}},ql=[];let Kl={toasts:[]};function Ho(e){Kl=BS(Kl,e),ql.forEach(t=>{t(Kl)})}function VS({...e}){const t=FS(),r=o=>Ho({type:er.UPDATE_TOAST,toast:{...o,id:t}}),i=()=>Ho({type:er.DISMISS_TOAST,toastId:t});return Ho({type:er.ADD_TOAST,toast:{...e,id:t,open:!0,onOpenChange:o=>{o||i()}}}),{id:t,dismiss:i,update:r}}function US(){const[e,t]=k.useState(Kl);return k.useEffect(()=>(ql.push(t),()=>{const r=ql.indexOf(t);r>-1&&ql.splice(r,1)}),[e]),{...e,toast:VS,dismiss:r=>Ho({type:er.DISMISS_TOAST,toastId:r})}}function Zx(e){var t,r,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=Zx(e[t]))&&(i&&(i+=" "),i+=r)}else for(r in e)e[r]&&(i&&(i+=" "),i+=r);return i}function ev(){for(var e,t,r=0,i="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Zx(e))&&(i&&(i+=" "),i+=t);return i}const h0=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,f0=ev,df=(e,t)=>r=>{var i;if((t==null?void 0:t.variants)==null)return f0(e,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:o,defaultVariants:c}=t,u=Object.keys(o).map(m=>{const y=r==null?void 0:r[m],x=c==null?void 0:c[m];if(y===null)return null;const w=h0(y)||h0(x);return o[m][w]}),h=r&&Object.entries(r).reduce((m,y)=>{let[x,w]=y;return w===void 0||(m[x]=w),m},{}),p=t==null||(i=t.compoundVariants)===null||i===void 0?void 0:i.reduce((m,y)=>{let{class:x,className:w,...j}=y;return Object.entries(j).every(N=>{let[S,b]=N;return Array.isArray(b)?b.includes({...c,...h}[S]):{...c,...h}[S]===b})?[...m,x,w]:m},[]);return f0(e,u,p,r==null?void 0:r.class,r==null?void 0:r.className)};/** 41 * @license lucide-react v0.475.0 - ISC 42 * 43 * This source code is licensed under the ISC license. 44 * See the LICENSE file in the root directory of this source tree. 45 */const zS=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),tv=(...e)=>e.filter((t,r,i)=>!!t&&t.trim()!==""&&i.indexOf(t)===r).join(" ").trim();/** 46 * @license lucide-react v0.475.0 - ISC 47 * 48 * This source code is licensed under the ISC license. 49 * See the LICENSE file in the root directory of this source tree. 50 */var HS={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"};/** 51 * @license lucide-react v0.475.0 - ISC 52 * 53 * This source code is licensed under the ISC license. 54 * See the LICENSE file in the root directory of this source tree. 55 */const $S=k.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:i,className:o="",children:c,iconNode:u,...h},p)=>k.createElement("svg",{ref:p,...HS,width:t,height:t,stroke:e,strokeWidth:i?Number(r)*24/Number(t):r,className:tv("lucide",o),...h},[...u.map(([m,y])=>k.createElement(m,y)),...Array.isArray(c)?c:[c]]));/** 56 * @license lucide-react v0.475.0 - ISC 57 * 58 * This source code is licensed under the ISC license. 59 * See the LICENSE file in the root directory of this source tree. 60 */const be=(e,t)=>{const r=k.forwardRef(({className:i,...o},c)=>k.createElement($S,{ref:c,iconNode:t,className:tv(`lucide-${zS(e)}`,i),...o}));return r.displayName=`${e}`,r};/** 61 * @license lucide-react v0.475.0 - ISC 62 * 63 * This source code is licensed under the ISC license. 64 * See the LICENSE file in the root directory of this source tree. 65 */const WS=[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]],p0=be("Activity",WS);/** 66 * @license lucide-react v0.475.0 - ISC 67 * 68 * This source code is licensed under the ISC license. 69 * See the LICENSE file in the root directory of this source tree. 70 */const qS=[["path",{d:"m16 3 4 4-4 4",key:"1x1c3m"}],["path",{d:"M20 7H4",key:"zbl0bi"}],["path",{d:"m8 21-4-4 4-4",key:"h9nckh"}],["path",{d:"M4 17h16",key:"g4d7ey"}]],cs=be("ArrowRightLeft",qS);/** 71 * @license lucide-react v0.475.0 - ISC 72 * 73 * This source code is licensed under the ISC license. 74 * See the LICENSE file in the root directory of this source tree. 75 */const KS=[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]],Ti=be("Award",KS);/** 76 * @license lucide-react v0.475.0 - ISC 77 * 78 * This source code is licensed under the ISC license. 79 * See the LICENSE file in the root directory of this source tree. 80 */const GS=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],$o=be("BookOpen",GS);/** 81 * @license lucide-react v0.475.0 - ISC 82 * 83 * This source code is licensed under the ISC license. 84 * See the LICENSE file in the root directory of this source tree. 85 */const QS=[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",key:"1nb95v"}],["line",{x1:"8",x2:"16",y1:"6",y2:"6",key:"x4nwl0"}],["line",{x1:"16",x2:"16",y1:"14",y2:"18",key:"wjye3r"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M8 18h.01",key:"lrp35t"}]],XS=be("Calculator",QS);/** 86 * @license lucide-react v0.475.0 - ISC 87 * 88 * This source code is licensed under the ISC license. 89 * See the LICENSE file in the root directory of this source tree. 90 */const YS=[["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"}]],JS=be("CircleAlert",YS);/** 91 * @license lucide-react v0.475.0 - ISC 92 * 93 * This source code is licensed under the ISC license. 94 * See the LICENSE file in the root directory of this source tree. 95 */const ZS=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],Qe=be("CircleCheck",ZS);/** 96 * @license lucide-react v0.475.0 - ISC 97 * 98 * This source code is licensed under the ISC license. 99 * See the LICENSE file in the root directory of this source tree. 100 */const ej=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],ri=be("CircleX",ej);/** 101 * @license lucide-react v0.475.0 - ISC 102 * 103 * This source code is licensed under the ISC license. 104 * See the LICENSE file in the root directory of this source tree. 105 */const tj=[["circle",{cx:"8",cy:"8",r:"6",key:"3yglwk"}],["path",{d:"M18.09 10.37A6 6 0 1 1 10.34 18",key:"t5s6rm"}],["path",{d:"M7 6h1v4",key:"1obek4"}],["path",{d:"m16.71 13.88.7.71-2.82 2.82",key:"1rbuyh"}]],sr=be("Coins",tj);/** 106 * @license lucide-react v0.475.0 - ISC 107 * 108 * This source code is licensed under the ISC license. 109 * See the LICENSE file in the root directory of this source tree. 110 */const nj=[["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"}
110],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]],dh=be("Cpu",nj);/** 111 * @license lucide-react v0.475.0 - ISC 112 * 113 * This source code is licensed under the ISC license. 114 * See the LICENSE file in the root directory of this source tree. 115 */const rj=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],Ze=be("ExternalLink",rj);/** 116 * @license lucide-react v0.475.0 - ISC 117 * 118 * This source code is licensed under the ISC license. 119 * See the LICENSE file in the root directory of this source tree. 120 */const sj=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],ij=be("Eye",sj);/** 121 * @license lucide-react v0.475.0 - ISC 122 * 123 * This source code is licensed under the ISC license. 124 * See the LICENSE file in the root directory of this source tree. 125 */const oj=[["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:"m9 15 2 2 4-4",key:"1grp1n"}]],nv=be("FileCheck",oj);/** 126 * @license lucide-react v0.475.0 - ISC 127 * 128 * This source code is licensed under the ISC license. 129 * See the LICENSE file in the root directory of this source tree. 130 */const aj=[["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"}]],lj=be("FileText",aj);/** 131 * @license lucide-react v0.475.0 - ISC 132 * 133 * This source code is licensed under the ISC license. 134 * See the LICENSE file in the root directory of this source tree. 135 */const cj=[["line",{x1:"6",x2:"10",y1:"11",y2:"11",key:"1gktln"}],["line",{x1:"8",x2:"8",y1:"9",y2:"13",key:"qnk9ow"}],["line",{x1:"15",x2:"15.01",y1:"12",y2:"12",key:"krot7o"}],["line",{x1:"18",x2:"18.01",y1:"10",y2:"10",key:"1lcuu1"}],["path",{d:"M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z",key:"mfqc10"}]],m0=be("Gamepad2",cj);/** 136 * @license lucide-react v0.475.0 - ISC 137 * 138 * This source code is licensed under the ISC license. 139 * See the LICENSE file in the root directory of this source tree. 140 */const uj=[["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"}]],oi=be("Gift",uj);/** 141 * @license lucide-react v0.475.0 - ISC 142 * 143 * This source code is licensed under the ISC license. 144 * See the LICENSE file in the root directory of this source tree. 145 */const dj=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],en=be("Globe",dj);/** 146 * @license lucide-react v0.475.0 - ISC 147 * 148 * This source code is licensed under the ISC license. 149 * See the LICENSE file in the root directory of this source tree. 150 */const hj=[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]],g0=be("GraduationCap",hj);/** 151 * @license lucide-react v0.475.0 - ISC 152 * 153 * This source code is licensed under the ISC license. 154 * See the LICENSE file in the root directory of this source tree. 155 */const fj=[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]],Po=be("Heart",fj);/** 156 * @license lucide-react v0.475.0 - ISC 157 * 158 * This source code is licensed under the ISC license. 159 * See the LICENSE file in the root directory of this source tree. 160 */const pj=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]],y0=be("House",pj);/** 161 * @license lucide-react v0.475.0 - ISC 162 * 163 * This source code is licensed under the ISC license. 164 * See the LICENSE file in the root directory of this source tree. 165 */const mj=[["path",{d:"m5 8 6 6",key:"1wu5hv"}],["path",{d:"m4 14 6-6 2-3",key:"1k1g8d"}],["path",{d:"M2 5h12",key:"or177f"}],["path",{d:"M7 2h1",key:"1t2jsx"}],["path",{d:"m22 22-5-10-5 10",key:"don7ne"}],["path",{d:"M14 18h6",key:"1m8k6r"}]],x0=be("Languages",mj);/** 166 * @license lucide-react v0.475.0 - ISC 167 * 168 * This source code is licensed under the ISC license. 169 * See the LICENSE file in the root directory of this source tree. 170 */const gj=[["path",{d:"M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z",key:"169xi5"}],["path",{d:"M15 5.764v15",key:"1pn4in"}],["path",{d:"M9 3.236v15",key:"1uimfh"}]],v0=be("Map",gj);/** 171 * @license lucide-react v0.475.0 - ISC 172 * 173 * This source code is licensed under the ISC license. 174 * See the LICENSE file in the root directory of this source tree. 175 */const yj=[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]],xj=be("Menu",yj);/** 176 * @license lucide-react v0.475.0 - ISC 177 * 178 * This source code is licensed under the ISC license. 179 * See the LICENSE file in the root directory of this source tree. 180 */const vj=[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]],wj=be("MessageCircle",vj);/** 181 * @license lucide-react v0.475.0 - ISC 182 * 183 * This source code is licensed under the ISC license. 184 * See the LICENSE file in the root directory of this source tree. 185 */const bj=[["path",{d:"M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.
1851-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z",key:"1v9wt8"}]],w0=be("Plane",bj);/** 186 * @license lucide-react v0.475.0 - ISC 187 * 188 * This source code is licensed under the ISC license. 189 * See the LICENSE file in the root directory of this source tree. 190 */const Nj=[["path",{d:"M4.9 19.1C1 15.2 1 8.8 4.9 4.9",key:"1vaf9d"}],["path",{d:"M7.8 16.2c-2.3-2.3-2.3-6.1 0-8.5",key:"u1ii0m"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M16.2 7.8c2.3 2.3 2.3 6.1 0 8.5",key:"1j5fej"}],["path",{d:"M19.1 4.9C23 8.8 23 15.1 19.1 19",key:"10b0cb"}]],Sj=be("Radio",Nj);/** 191 * @license lucide-react v0.475.0 - ISC 192 * 193 * This source code is licensed under the ISC license. 194 * See the LICENSE file in the root directory of this source tree. 195 */const jj=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],Cj=be("RefreshCw",jj);/** 196 * @license lucide-react v0.475.0 - ISC 197 * 198 * This source code is licensed under the ISC license. 199 * See the LICENSE file in the root directory of this source tree. 200 */const kj=[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]],js=be("Rocket",kj);/** 201 * @license lucide-react v0.475.0 - ISC 202 * 203 * This source code is licensed under the ISC license. 204 * See the LICENSE file in the root directory of this source tree. 205 */const Tj=[["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"}]],mn=be("Shield",Tj);/** 206 * @license lucide-react v0.475.0 - ISC 207 * 208 * This source code is licensed under the ISC license. 209 * See the LICENSE file in the root directory of this source tree. 210 */const Ej=[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]],si=be("ShoppingCart",Ej);/** 211 * @license lucide-react v0.475.0 - ISC 212 * 213 * This source code is licensed under the ISC license. 214 * See the LICENSE file in the root directory of this source tree. 215 */const Pj=[["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"}]],b0=be("Sparkles",Pj);/** 216 * @license lucide-react v0.475.0 - ISC 217 * 218 * This source code is licensed under the ISC license. 219 * See the LICENSE file in the root directory of this source tree. 220 */const Rj=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],Ei=be("Star",Rj);/** 221 * @license lucide-react v0.475.0 - ISC 222 * 223 * This source code is licensed under the ISC license. 224 * See the LICENSE file in the root directory of this source tree. 225 */const Aj=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],N0=be("Target",Aj);/** 226 * @license lucide-react v0.475.0 - ISC 227 * 228 * This source code is licensed under the ISC license. 229 * See the LICENSE file in the root directory of this source tree. 230 */const _j=[["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"}]],Cs=be("TrendingUp",_j);/** 231 * @license lucide-react v0.475.0 - ISC 232 * 233 * This source code is licensed under the ISC license. 234 * See the LICENSE file in the root directory of this source tree. 235 */const Mj=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],ic=be("TriangleAlert",Mj);/** 236 * @license lucide-react v0.475.0 - ISC 237 * 238 * This source code is licensed under the ISC license. 239 * See the LICENSE file in the root directory of this source tree.
vendor: 4,847 bytes, lines 240-265
240 */const Oj=[["path",{d:"M6 9H4.5a2.5 2.5 0 0 1 0-5H6",key:"17hqa7"}],["path",{d:"M18 9h1.5a2.5 2.5 0 0 0 0-5H18",key:"lmptdp"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22",key:"1nw9bq"}],["path",{d:"M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22",key:"1np0yb"}],["path",{d:"M18 2H6v7a6 6 0 0 0 12 0V2Z",key:"u46fv3"}]],fi=be("Trophy",Oj);/** 241 * @license lucide-react v0.475.0 - ISC 242 * 243 * This source code is licensed under the ISC license. 244 * See the LICENSE file in the root directory of this source tree. 245 */const Lj=[["path",{d:"M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2",key:"wrbu53"}],["path",{d:"M15 18H9",key:"1lyqi6"}],["path",{d:"M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14",key:"lysw3i"}],["circle",{cx:"17",cy:"18",r:"2",key:"332jqn"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}]],Dj=be("Truck",Lj);/** 246 * @license lucide-react v0.475.0 - ISC 247 * 248 * This source code is licensed under the ISC license. 249 * See the LICENSE file in the root directory of this source tree. 250 */const Ij=[["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"}]],gn=be("Users",Ij);/** 251 * @license lucide-react v0.475.0 - ISC 252 * 253 * This source code is licensed under the ISC license. 254 * See the LICENSE file in the root directory of this source tree. 255 */const Fj=[["path",{d:"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1",key:"18etb6"}],["path",{d:"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4",key:"xoc0q4"}]],Bj=be("Wallet",Fj);/** 256 * @license lucide-react v0.475.0 - ISC 257 * 258 * This source code is licensed under the ISC license. 259 * See the LICENSE file in the root directory of this source tree. 260 */const Vj=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],rv=be("X",Vj);/** 261 * @license lucide-react v0.475.0 - ISC 262 * 263 * This source code is licensed under the ISC license. 264 * See the LICENSE file in the root directory of this source tree. 265 */const Uj=[["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"}]],oc=be("Zap",Uj),hf="-",zj=e=>{const t=$j(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:u=>{const h=u.split(hf);return h[0]===""&&h.length!==1&&h.shift(),sv(h,t)||Hj(u)},getConflictingClassGroupIds:(u,h)=>{const p=r[u]||[];return h&&i[u]?[...p,...i[u]]:p}}},sv=(e,t)=>{var u;if(e.length===0)return t.classGroupId;const r=e[0],i=t.nextPart.get(r),o=i?sv(e.slice(1),i):void 0;if(o)return o;if(t.validators.length===0)return;const c=e.join(hf);return(u=t.validators.find(({validator:h})=>h(c)))==null?void 0:u.classGroupId},S0=/^\[(.+)\]$/,Hj=e=>{if(S0.test(e)){const t=S0.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},$j=e=>{const{theme:t,classGroups:r}=e,i={nextPart:new Map,validators:[]};for(const o in r)hh(r[o],i,o,t);return i},hh=(e,t,r,i)=>{e.forEach(o=>{if(typeof o=="string"){const c=o===""?t:j0(t,o);c.classGroupId=r;return}if(typeof o=="function"){if(Wj(o)){hh(o(i),t,r,i);return}t.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(([c,u])=>{hh(u,j0(t,c),r,i)})})},j0=(e,t)=>{let r=e;return t.split(hf).forEach(i=>{r.nextPart.has(i)||r.nextPart.set(i,{nextPart:new Map,validators:[]}),r=r.nextPart.get(i)}),r},Wj=e=>e.isThemeGetter,qj=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,i=new Map;const o=(c,u)=>{r.set(c,u),t++,t>e&&(t=0,i=r,r=new Map)};return{get(c){let u=r.get(c);if(u!==void 0)return u;if((u=i.get(c))!==void 0)return o(c,u),u},set(c,u){r.has(c)?r.set(c,u):o(c,u)}}},fh="!",ph=":",Kj=ph.length,Gj=e=>{const{prefix:t,experimentalParseClassName:r}=e;let i=o=>{const c=[];let u=0,h=0,p=0,m;for(let N=0;N<o.length;N++){let S=o[N];if(u===0&&h===0){if(S===ph){c.push(o.slice(p,N)),p=N+Kj;continue}if(S==="/"){m=N;continue}}S==="["?u++:S==="]"?u--:S==="("?h++:S===")"&&h--}const y=c.length===0?o:o.substring(p),x=Qj(y),w=x!==y,j=m&&m>p?m-p:void 0;return{modifiers:c,hasImportantModifier:w,baseClassName:x,maybePostfixModifierPosition:j}};if(t){const o=t+ph,c=i;i=u=>u.startsWith(o)?c(u.substring(o.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:u,maybePostfixModifierPosition:void 0}}if(r){const o=i;i=c=>r({className:c,parseClassName:o})}return i},Qj=e=>e.endsWith(fh)?e.substring(0,e.length-1):e.startsWith(fh)?e.substring(1):e,Xj=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(i=>[i,!0]));return i=>{if(i.length<=1)return i;const o=[];let c=[];
vendor: 5,067 bytes, line 265
265return i.forEach(u=>{u[0]==="["||t[u]?(o.push(...c.sort(),u),c=[]):c.push(u)}),o.push(...c.sort()),o}},Yj=e=>({cache:qj(e.cacheSize),parseClassName:Gj(e),sortModifiers:Xj(e),...zj(e)}),Jj=/\s+/,Zj=(e,t)=>{const{parseClassName:r,getClassGroupId:i,getConflictingClassGroupIds:o,sortModifiers:c}=t,u=[],h=e.trim().split(Jj);let p="";for(let m=h.length-1;m>=0;m-=1){const y=h[m],{isExternal:x,modifiers:w,hasImportantModifier:j,baseClassName:N,maybePostfixModifierPosition:S}=r(y);if(x){p=y+(p.length>0?" "+p:p);continue}let b=!!S,E=i(b?N.substring(0,S):N);if(!E){if(!b){p=y+(p.length>0?" "+p:p);continue}if(E=i(N),!E){p=y+(p.length>0?" "+p:p);continue}b=!1}const F=c(w).join(":"),_=j?F+fh:F,M=_+E;if(u.includes(M))continue;u.push(M);const U=o(E,b);for(let K=0;K<U.length;++K){const G=U[K];u.push(_+G)}p=y+(p.length>0?" "+p:p)}return p};function eC(){let e=0,t,r,i="";for(;e<arguments.length;)(t=arguments[e++])&&(r=iv(t))&&(i&&(i+=" "),i+=r);return i}const iv=e=>{if(typeof e=="string")return e;let t,r="";for(let i=0;i<e.length;i++)e[i]&&(t=iv(e[i]))&&(r&&(r+=" "),r+=t);return r};function tC(e,...t){let r,i,o,c=u;function u(p){const m=t.reduce((y,x)=>x(y),e());return r=Yj(m),i=r.cache.get,o=r.cache.set,c=h,h(p)}function h(p){const m=i(p);if(m)return m;const y=Zj(p,r);return o(p,y),y}return function(){return c(eC.apply(null,arguments))}}const ft=e=>{const t=r=>r[e]||[];return t.isThemeGetter=!0,t},ov=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,av=/^\((?:(\w[\w-]*):)?(.+)\)$/i,nC=/^\d+\/\d+$/,rC=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,sC=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,iC=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,oC=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,aC=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ii=e=>nC.test(e),je=e=>!!e&&!Number.isNaN(Number(e)),kr=e=>!!e&&Number.isInteger(Number(e)),Bd=e=>e.endsWith("%")&&je(e.slice(0,-1)),Xn=e=>rC.test(e),lC=()=>!0,cC=e=>sC.test(e)&&!iC.test(e),lv=()=>!1,uC=e=>oC.test(e),dC=e=>aC.test(e),hC=e=>!te(e)&&!ne(e),fC=e=>Mi(e,dv,lv),te=e=>ov.test(e),is=e=>Mi(e,hv,cC),Vd=e=>Mi(e,xC,je),C0=e=>Mi(e,cv,lv),pC=e=>Mi(e,uv,dC),Dl=e=>Mi(e,fv,uC),ne=e=>av.test(e),Ro=e=>Oi(e,hv),mC=e=>Oi(e,vC),k0=e=>Oi(e,cv),gC=e=>Oi(e,dv),yC=e=>Oi(e,uv),Il=e=>Oi(e,fv,!0),Mi=(e,t,r)=>{const i=ov.exec(e);return i?i[1]?t(i[1]):r(i[2]):!1},Oi=(e,t,r=!1)=>{const i=av.exec(e);return i?i[1]?t(i[1]):r:!1},cv=e=>e==="position"||e==="percentage",uv=e=>e==="image"||e==="url",dv=e=>e==="length"||e==="size"||e==="bg-size",hv=e=>e==="length",xC=e=>e==="number",vC=e=>e==="family-name",fv=e=>e==="shadow",wC=()=>{const e=ft("color"),t=ft("font"),r=ft("text"),i=ft("font-weight"),o=ft("tracking"),c=ft("leading"),u=ft("breakpoint"),h=ft("container"),p=ft("spacing"),m=ft("radius"),y=ft("shadow"),x=ft("inset-shadow"),w=ft("text-shadow"),j=ft("drop-shadow"),N=ft("blur"),S=ft("perspective"),b=ft("aspect"),E=ft("ease"),F=ft("animate"),_=()=>["auto","avoid","all","avoid-page","page","left","right","column"],M=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],U=()=>[...M(),ne,te],K=()=>["auto","hidden","clip","visible","scroll"],G=()=>["auto","contain","none"],V=()=>[ne,te,p],he=()=>[ii,"full","auto",...V()],J=()=>[kr,"none","subgrid",ne,te],Se=()=>["auto",{span:["full",kr,ne,te]},kr,ne,te],Oe=()=>[kr,"auto",ne,te],Ie=()=>["auto","min","max","fr",ne,te],Ue=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Xe=()=>["start","end","center","stretch","center-safe","end-safe"],xe=()=>["auto",...V()],me=()=>[ii,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...V()],B=()=>[e,ne,te],ae=()=>[...M(),k0,C0,{position:[ne,te]}],Q=()=>["no-repeat",{repeat:["","x","y","space","round"]}],A=()=>["auto","cover","contain",gC,fC,{size:[ne,te]}],z=()=>[Bd,Ro,is],le=()=>["","none","full",m,ne,te],ce=()=>["",je,Ro,is],Ne=()=>["solid","dashed","dotted","double"],Ee=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ye=()=>[je,Bd,k0,C0],Le=()=>["","none",N,ne,te],Be=()=>["none",je,ne,te],pt=()=>["none",je,ne,te],or=()=>[je,ne,te],Wr=()=>[ii,"full",...V()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Xn],breakpoint:[Xn],color:[lC],container:[Xn],"drop-shadow":[Xn],ease:["in","out","in-out"],font:[hC],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Xn],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Xn],shadow:[Xn],spacing:["px",je],text:[Xn],"text-shadow":[Xn],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ii,te,ne,b]}
vendor: 5,661 bytes, line 265
265],container:["container"],columns:[{columns:[je,te,ne,h]}],"break-after":[{"break-after":_()}],"break-before":[{"break-before":_()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:U()}],overflow:[{overflow:K()}],"overflow-x":[{"overflow-x":K()}],"overflow-y":[{"overflow-y":K()}],overscroll:[{overscroll:G()}],"overscroll-x":[{"overscroll-x":G()}],"overscroll-y":[{"overscroll-y":G()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:he()}],"inset-x":[{"inset-x":he()}],"inset-y":[{"inset-y":he()}],start:[{start:he()}],end:[{end:he()}],top:[{top:he()}],right:[{right:he()}],bottom:[{bottom:he()}],left:[{left:he()}],visibility:["visible","invisible","collapse"],z:[{z:[kr,"auto",ne,te]}],basis:[{basis:[ii,"full","auto",h,...V()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[je,ii,"auto","initial","none",te]}],grow:[{grow:["",je,ne,te]}],shrink:[{shrink:["",je,ne,te]}],order:[{order:[kr,"first","last","none",ne,te]}],"grid-cols":[{"grid-cols":J()}],"col-start-end":[{col:Se()}],"col-start":[{"col-start":Oe()}],"col-end":[{"col-end":Oe()}],"grid-rows":[{"grid-rows":J()}],"row-start-end":[{row:Se()}],"row-start":[{"row-start":Oe()}],"row-end":[{"row-end":Oe()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Ie()}],"auto-rows":[{"auto-rows":Ie()}],gap:[{gap:V()}],"gap-x":[{"gap-x":V()}],"gap-y":[{"gap-y":V()}],"justify-content":[{justify:[...Ue(),"normal"]}],"justify-items":[{"justify-items":[...Xe(),"normal"]}],"justify-self":[{"justify-self":["auto",...Xe()]}],"align-content":[{content:["normal",...Ue()]}],"align-items":[{items:[...Xe(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Xe(),{baseline:["","last"]}]}],"place-content":[{"place-content":Ue()}],"place-items":[{"place-items":[...Xe(),"baseline"]}],"place-self":[{"place-self":["auto",...Xe()]}],p:[{p:V()}],px:[{px:V()}],py:[{py:V()}],ps:[{ps:V()}],pe:[{pe:V()}],pt:[{pt:V()}],pr:[{pr:V()}],pb:[{pb:V()}],pl:[{pl:V()}],m:[{m:xe()}],mx:[{mx:xe()}],my:[{my:xe()}],ms:[{ms:xe()}],me:[{me:xe()}],mt:[{mt:xe()}],mr:[{mr:xe()}],mb:[{mb:xe()}],ml:[{ml:xe()}],"space-x":[{"space-x":V()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":V()}],"space-y-reverse":["space-y-reverse"],size:[{size:me()}],w:[{w:[h,"screen",...me()]}],"min-w":[{"min-w":[h,"screen","none",...me()]}],"max-w":[{"max-w":[h,"screen","none","prose",{screen:[u]},...me()]}],h:[{h:["screen","lh",...me()]}],"min-h":[{"min-h":["screen","lh","none",...me()]}],"max-h":[{"max-h":["screen","lh",...me()]}],"font-size":[{text:["base",r,Ro,is]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,ne,Vd]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Bd,te]}],"font-family":[{font:[mC,te,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,ne,te]}],"line-clamp":[{"line-clamp":[je,"none",ne,Vd]}],leading:[{leading:[c,...V()]}],"list-image":[{"list-image":["none",ne,te]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ne,te]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:B()}],"text-color":[{text:B()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Ne(),"wavy"]}],"text-decoration-thickness":[{decoration:[je,"from-font","auto",ne,is]}],"text-decoration-color":[{decoration:B()}],"underline-offset":[{"underline-offset":[je,"auto",ne,te]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:V()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ne,te]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ne,te]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ae()}],"bg-repeat":[{bg:Q()}],"bg-size":[{bg:A()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},kr,ne,te],radial:["",ne,te],conic:[kr,ne,te]},yC,pC]}],"bg-color":[{bg:B()}],"gradient-from-pos":[{from:z()}
265],"gradient-via-pos":[{via:z()}],"gradient-to-pos":[{to:z()}],"gradient-from":[{from:B()}],"gradient-via":[{via:B()}],"gradient-to":[{to:B()}],rounded:[{rounded:le()}],"rounded-s":[{"rounded-s":le()}],"rounded-e":[{"rounded-e":le()}],"rounded-t":[{"rounded-t":le()}],"rounded-r":[{"rounded-r":le()}],"rounded-b":[{"rounded-b":le()}],"rounded-l":[{"rounded-l":le()}],"rounded-ss":[{"rounded-ss":le()}],"rounded-se":[{"rounded-se":le()}],"rounded-ee":[{"rounded-ee":le()}],"rounded-es":[{"rounded-es":le()}],"rounded-tl":[{"rounded-tl":le()}],"rounded-tr":[{"rounded-tr":le()}],"rounded-br":[{"rounded-br":le()}],"rounded-bl":[{"rounded-bl":le()}],"border-w":[{border:ce()}],"border-w-x":[{"border-x":ce()}],"border-w-y":[{"border-y":ce()}],"border-w-s":[{"border-s":ce()}],"border-w-e":[{"border-e":ce()}],"border-w-t":[{"border-t":ce()}],"border-w-r":[{"border-r":ce()}],"border-w-b":[{"border-b":ce()}],"border-w-l":[{"border-l":ce()}],"divide-x":[{"divide-x":ce()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ce()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Ne(),"hidden","none"]}],"divide-style":[{divide:[...Ne(),"hidden","none"]}],"border-color":[{border:B()}],"border-color-x":[{"border-x":B()}],"border-color-y":[{"border-y":B()}],"border-color-s":[{"border-s":B()}],"border-color-e":[{"border-e":B()}],"border-color-t":[{"border-t":B()}],"border-color-r":[{"border-r":B()}],"border-color-b":[{"border-b":B()}],"border-color-l":[{"border-l":B()}
vendor: 5,199 bytes, line 265
265],"divide-color":[{divide:B()}],"outline-style":[{outline:[...Ne(),"none","hidden"]}],"outline-offset":[{"outline-offset":[je,ne,te]}],"outline-w":[{outline:["",je,Ro,is]}],"outline-color":[{outline:B()}],shadow:[{shadow:["","none",y,Il,Dl]}],"shadow-color":[{shadow:B()}],"inset-shadow":[{"inset-shadow":["none",x,Il,Dl]}],"inset-shadow-color":[{"inset-shadow":B()}],"ring-w":[{ring:ce()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:B()}],"ring-offset-w":[{"ring-offset":[je,is]}],"ring-offset-color":[{"ring-offset":B()}],"inset-ring-w":[{"inset-ring":ce()}],"inset-ring-color":[{"inset-ring":B()}],"text-shadow":[{"text-shadow":["none",w,Il,Dl]}],"text-shadow-color":[{"text-shadow":B()}],opacity:[{opacity:[je,ne,te]}],"mix-blend":[{"mix-blend":[...Ee(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Ee()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[je]}],"mask-image-linear-from-pos":[{"mask-linear-from":ye()}],"mask-image-linear-to-pos":[{"mask-linear-to":ye()}],"mask-image-linear-from-color":[{"mask-linear-from":B()}],"mask-image-linear-to-color":[{"mask-linear-to":B()}],"mask-image-t-from-pos":[{"mask-t-from":ye()}],"mask-image-t-to-pos":[{"mask-t-to":ye()}],"mask-image-t-from-color":[{"mask-t-from":B()}],"mask-image-t-to-color":[{"mask-t-to":B()}],"mask-image-r-from-pos":[{"mask-r-from":ye()}],"mask-image-r-to-pos":[{"mask-r-to":ye()}],"mask-image-r-from-color":[{"mask-r-from":B()}],"mask-image-r-to-color":[{"mask-r-to":B()}],"mask-image-b-from-pos":[{"mask-b-from":ye()}],"mask-image-b-to-pos":[{"mask-b-to":ye()}],"mask-image-b-from-color":[{"mask-b-from":B()}],"mask-image-b-to-color":[{"mask-b-to":B()}],"mask-image-l-from-pos":[{"mask-l-from":ye()}],"mask-image-l-to-pos":[{"mask-l-to":ye()}],"mask-image-l-from-color":[{"mask-l-from":B()}],"mask-image-l-to-color":[{"mask-l-to":B()}],"mask-image-x-from-pos":[{"mask-x-from":ye()}],"mask-image-x-to-pos":[{"mask-x-to":ye()}],"mask-image-x-from-color":[{"mask-x-from":B()}],"mask-image-x-to-color":[{"mask-x-to":B()}],"mask-image-y-from-pos":[{"mask-y-from":ye()}],"mask-image-y-to-pos":[{"mask-y-to":ye()}],"mask-image-y-from-color":[{"mask-y-from":B()}],"mask-image-y-to-color":[{"mask-y-to":B()}],"mask-image-radial":[{"mask-radial":[ne,te]}],"mask-image-radial-from-pos":[{"mask-radial-from":ye()}],"mask-image-radial-to-pos":[{"mask-radial-to":ye()}],"mask-image-radial-from-color":[{"mask-radial-from":B()}],"mask-image-radial-to-color":[{"mask-radial-to":B()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":M()}],"mask-image-conic-pos":[{"mask-conic":[je]}],"mask-image-conic-from-pos":[{"mask-conic-from":ye()}],"mask-image-conic-to-pos":[{"mask-conic-to":ye()}],"mask-image-conic-from-color":[{"mask-conic-from":B()}],"mask-image-conic-to-color":[{"mask-conic-to":B()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ae()}],"mask-repeat":[{mask:Q()}],"mask-size":[{mask:A()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ne,te]}],filter:[{filter:["","none",ne,te]}],blur:[{blur:Le()}],brightness:[{brightness:[je,ne,te]}],contrast:[{contrast:[je,ne,te]}],"drop-shadow":[{"drop-shadow":["","none",j,Il,Dl]}],"drop-shadow-color":[{"drop-shadow":B()}],grayscale:[{grayscale:["",je,ne,te]}],"hue-rotate":[{"hue-rotate":[je,ne,te]}],invert:[{invert:["",je,ne,te]}],saturate:[{saturate:[je,ne,te]}],sepia:[{sepia:["",je,ne,te]}],"backdrop-filter":[{"backdrop-filter":["","none",ne,te]}],"backdrop-blur":[{"backdrop-blur":Le()}],"backdrop-brightness":[{"backdrop-brightness":[je,ne,te]}],"backdrop-contrast":[{"backdrop-contrast":[je,ne,te]}],"backdrop-grayscale":[{"backdrop-grayscale":["",je,ne,te]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[je,ne,te]}],"backdrop-invert":[{"backdrop-invert":["",je,ne,te]}],"backdrop-opacity":[{"backdrop-opacity":[je,ne,te]}],"backdrop-saturate":[{"backdrop-saturate":[je,ne,te]}],"backdrop-sepia":[{"backdrop-sepia":["",je,ne,te]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":V()}],"border-spacing-x":[{"border-spacing-x":V()}],"border-spacing-y":[{"border-spacing-y":V()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ne,te]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[je,"initial",ne,te]}],ease:[{ease:["linear","initial",E,ne,te]}],delay:[{delay:[je,ne,te]}],animate:[{animate:["none",F,ne,te]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[S,ne,te]}],"perspective-origin":[{"perspective-origin":U()}],rotate:[{rotate:Be()}],"rotate-x":[{"rotate-x":Be()}],"rotate-y":[{"rotate-y":Be()}],"rotate-z":[{"rotate-z":Be()}],scale:[{scale:pt()}],"scale-x":[{"scale-x":pt()}
vendor: 6,490 bytes, line 265
265],"scale-y":[{"scale-y":pt()}],"scale-z":[{"scale-z":pt()}],"scale-3d":["scale-3d"],skew:[{skew:or()}],"skew-x":[{"skew-x":or()}],"skew-y":[{"skew-y":or()}],transform:[{transform:[ne,te,"","none","gpu","cpu"]}],"transform-origin":[{origin:U()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Wr()}],"translate-x":[{"translate-x":Wr()}],"translate-y":[{"translate-y":Wr()}],"translate-z":[{"translate-z":Wr()}],"translate-none":["translate-none"],accent:[{accent:B()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:B()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ne,te]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":V()}],"scroll-mx":[{"scroll-mx":V()}],"scroll-my":[{"scroll-my":V()}],"scroll-ms":[{"scroll-ms":V()}],"scroll-me":[{"scroll-me":V()}],"scroll-mt":[{"scroll-mt":V()}],"scroll-mr":[{"scroll-mr":V()}],"scroll-mb":[{"scroll-mb":V()}],"scroll-ml":[{"scroll-ml":V()}],"scroll-p":[{"scroll-p":V()}],"scroll-px":[{"scroll-px":V()}],"scroll-py":[{"scroll-py":V()}],"scroll-ps":[{"scroll-ps":V()}],"scroll-pe":[{"scroll-pe":V()}],"scroll-pt":[{"scroll-pt":V()}],"scroll-pr":[{"scroll-pr":V()}],"scroll-pb":[{"scroll-pb":V()}],"scroll-pl":[{"scroll-pl":V()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ne,te]}],fill:[{fill:["none",...B()]}],"stroke-w":[{stroke:[je,Ro,is,Vd]}],stroke:[{stroke:["none",...B()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},bC=tC(wC);function Ke(...e){return bC(ev(e))}const pv=k.forwardRef(({...e},t)=>l.jsx("div",{ref:t,className:"fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",...e}));pv.displayName="ToastProvider";const mv=k.forwardRef(({...e},t)=>l.jsx("div",{ref:t,className:"fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",...e}));mv.displayName="ToastViewport";const NC=df("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),gv=k.forwardRef(({className:e,variant:t,...r},i)=>l.jsx("div",{ref:i,className:Ke(NC({variant:t}),e),...r}));gv.displayName="Toast";const SC=k.forwardRef(({className:e,...t},r)=>
265l.jsx("div",{ref:r,className:Ke("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));SC.displayName="ToastAction";const yv=k.forwardRef(({className:e,...t},r)=>l.jsx("button",{ref:r,className:Ke("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:l.jsx(rv,{className:"h-4 w-4"})}));yv.displayName="ToastClose";const xv=k.forwardRef(({className:e,...t},r)=>l.jsx("div",{ref:r,className:Ke("text-sm font-semibold",e),...t}));xv.displayName="ToastTitle";const vv=k.forwardRef(({className:e,...t},r)=>l.jsx("div",{ref:r,className:Ke("text-sm opacity-90",e),...t}));vv.displayName="ToastDescription";function jC(){const{toasts:e}=US();return l.jsxs(pv,{children:[e.map(function({id:t,title:r,description:i,action:o,...c}){return l.jsxs(gv,{...c,children:[l.jsxs("div",{className:"grid gap-1",children:[r&&l.jsx(xv,{children:r}),i&&l.jsx(vv,{children:i})]}),o,l.jsx(yv,{})]},t)}),l.jsx(mv,{})]})}var da=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},CC={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},Rr,lf,Ux,kC=(Ux=class{constructor(){fe(this,Rr,CC);fe(this,lf,!1)}setTimeoutProvider(e){Y(this,Rr,e)}setTimeout(e,t){return P(this,Rr).setTimeout(e,t)}clearTimeout(e){P(this,Rr).clearTimeout(e)}setInterval(e,t){return P(this,Rr).setInterval(e,t)}clearInterval(e){P(this,Rr).clearInterval(e)}},Rr=new WeakMap,lf=new WeakMap,Ux),us=new kC;function TC(e){setTimeout(e,0)}var ks=typeof window>"u"||"Deno"in globalThis;function Wt(){}function EC(e,t){return typeof e=="function"?e(t):e}function mh(e){return typeof e=="number"&&e>=0&&e!==1/0}function wv(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Br(e,t){return typeof e=="function"?e(t):e}function fn(e,t){return typeof e=="function"?e(t):e}function T0(e,t){const{type:r="all",exact:i,fetchStatus:o,predicate:c,queryKey:u,stale:h}=e;if(u){if(i){if(t.queryHash!==ff(u,t.options))return!1}else if(!Jo(t.queryKey,u))return!1}if(r!=="all"){const p=t.isActive();if(r==="active"&&!p||r==="inactive"&&p)return!1}return!(typeof h=="boolean"&&t.isStale()!==h||o&&o!==t.state.fetchStatus||c&&!c(t))}function E0(e,t){const{exact:r,status:i,predicate:o,mutationKey:c}=e;if(c){if(!t.options.mutationKey)return!1;if(r){if(Yo(t.options.mutationKey)!==Yo(c))return!1}else if(!Jo(t.options.mutationKey,c))return!1}return!(i&&t.state.status!==i||o&&!o(t))}function ff(e,t){return((t==null?void 0:t.queryKeyHashFn)||Yo)(e)}function Yo(e){return JSON.stringify(e,(t,r)=>yh(r)?Object.keys(r).sort().reduce((i,o)=>(i[o]=r[o],i),{}):r)}function Jo(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(r=>Jo(e[r],t[r])):!1}var PC=Object.prototype.hasOwnProperty;function bv(e,t){if(e===t)return e;const r=P0(e)&&P0(t);if(!r&&!(yh(e)&&yh(t)))return t;const o=(r?e:Object.keys(e)).length,c=r?t:Object.keys(t),u=c.length,h=r?new Array(u):{};let p=0;for(let m=0;m<u;m++){const y=r?m:c[m],x=e[y],w=t[y];
265if(x===w){h[y]=x,(r?m<o:PC.call(e,y))&&p++;continue}if(x===null||w===null||typeof x!="object"||typeof w!="object"){h[y]=w;continue}const j=bv(x,w);h[y]=j,j===x&&p++}return o===u&&p===o?e:h}function gh(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(e[r]!==t[r])return!1;return!0}function P0(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function yh(e){if(!R0(e))return!1;const t=e.constructor;if(t===void 0)return!0;const r=t.prototype;return!(!R0(r)||!r.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function R0(e){return Object.prototype.toString.call(e)==="[object Object]"}function RC(e){return new Promise(t=>{us.setTimeout(t,e)})}function xh(e,t,r){return typeof r.structuralSharing=="function"?r.structuralSharing(e,t):r.structuralSharing!==!1?bv(e,t):t}function AC(e,t,r=0){const i=[...e,t];return r&&i.length>r?i.slice(1):i}function _C(e,t,r=0){const i=[t,...e];return r&&i.length>r?i.slice(0,-1):i}var pf=Symbol();function Nv(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===pf?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function MC(e,t){return typeof e=="function"?e(...t):!!e}var fs,Ar,mi,zx,OC=(zx=class extends da{constructor(){super();fe(this,fs);fe(this,Ar);fe(this,mi);Y(this,mi,t=>{if(!ks&&window.addEventListener){const r=()=>t();return window.addEventListener("visibilitychange",r,!1),()=>{window.removeEventListener("visibilitychange",r)}}})}onSubscribe(){P(this,Ar)||this.setEventListener(P(this,mi))}onUnsubscribe(){var t;this.hasListeners()||((t=P(this,Ar))==null||t.call(this),Y(this,Ar,void 0))}setEventListener(t){var r;Y(this,mi,t),(r=P(this,Ar))==null||r.call(this),Y(this,Ar,t(i=>{typeof i=="boolean"?this.setFocused(i):this.onFocus()}))}setFocused(t){P(this,fs)!==t&&(Y(this,fs,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(r=>{r(t)})}isFocused(){var t;return typeof P(this,fs)=="boolean"?P(this,fs):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},fs=new WeakMap,Ar=new WeakMap,mi=new WeakMap,zx),mf=new OC;function vh(){let e,t;const r=new Promise((o,c)=>{e=o,t=c});r.status="pending",r.catch(()=>{});function i(o){Object.assign(r,o),delete r.resolve,delete r.reject}return r.resolve=o=>{i({status:"fulfilled",value:o}),e(o)},r.reject=o=>{i({status:"rejected",reason:o}),t(o)},r}var LC=TC;function DC(){let e=[],t=0,r=h=>{h()},i=h=>{h()},o=LC;const c=h=>{t?e.push(h):o(()=>{r(h)})},u=()=>{const h=e;e=[],h.length&&o(()=>{i(()=>{h.forEach(p=>{r(p)})})})};return{batch:h=>{let p;t++;try{p=h()}finally{t--,t||u()}return p},batchCalls:h=>(...p)=>{c(()=>{h(...p)})},schedule:c,setNotifyFunction:h=>{r=h},setBatchNotifyFunction:h=>{i=h},setScheduler:h=>{o=h}}}var St=DC(),gi,_r,yi,Hx,IC=(Hx=class extends da{constructor(){super();fe(this,gi,!0);fe(this,_r);fe(this,yi);Y(this,yi,t=>{if(!ks&&window.addEventListener){const r=()=>t(!0),i=()=>t(!1);return window.addEventListener("online",r,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",i)}}})}onSubscribe(){P(this,_r)||this.setEventListener(P(this,yi))}onUnsubscribe(){var t;this.hasListeners()||((t=P(this,_r))==null||t.call(this),Y(this,_r,void 0))}setEventListener(t){var r;Y(this,yi,t),(r=P(this,_r))==null||r.call(this),Y(this,_r,t(this.setOnline.bind(this)))}setOnline(t){P(this,gi)!==t&&(Y(this,gi,t),this.listeners.forEach(i=>{i(t)}))}isOnline(){return P(this,gi)}},gi=new WeakMap,_r=new WeakMap,yi=new WeakMap,Hx),ac=new IC;function FC(e){return Math.min(1e3*2**e,3e4)}function Sv(e){return(e??"online")==="online"?ac.isOnline():!0}var wh=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function jv(e){let t=!1,r=0,i;const o=vh(),c=()=>o.status!=="pending",u=S=>{var b;if(!c()){const E=new wh(S);w(E),(b=e.onCancel)==null||b.call(e,E)}},h=()=>{t=!0},p=()=>{t=!1},m=()=>mf.isFocused()&&(e.networkMode==="always"||ac.isOnline())&&e.canRun(),y=()=>Sv(e.networkMode)&&e.canRun(),x=S=>{c()||(i==null||i(),o.resolve(S))},w=S=>{c()||(i==null||i(),o.reject(S))},j=()=>new Promise(S=>{var b;i=E=>{(c()||m())&&S(E)},(b=e.onPause)==null||b.call(e)}).then(()=>{var S;i=void 0,c()||(S=e.onContinue)==null||S.call(e)}),N=()=>
vendor: 4,367 bytes, line 265
265{if(c())return;let S;const b=r===0?e.initialPromise:void 0;try{S=b??e.fn()}catch(E){S=Promise.reject(E)}Promise.resolve(S).then(x).catch(E=>{var K;if(c())return;const F=e.retry??(ks?0:3),_=e.retryDelay??FC,M=typeof _=="function"?_(r,E):_,U=F===!0||typeof F=="number"&&r<F||typeof F=="function"&&F(r,E);if(t||!U){w(E);return}r++,(K=e.onFail)==null||K.call(e,r,E),RC(M).then(()=>m()?void 0:j()).then(()=>{t?w(E):N()})})};return{promise:o,status:()=>o.status,cancel:u,continue:()=>(i==null||i(),o),cancelRetry:h,continueRetry:p,canStart:y,start:()=>(y()?N():j().then(N),o)}}var ps,$x,Cv=($x=class{constructor(){fe(this,ps)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),mh(this.gcTime)&&Y(this,ps,us.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(ks?1/0:300*1e3))}clearGcTimeout(){P(this,ps)&&(us.clearTimeout(P(this,ps)),Y(this,ps,void 0))}},ps=new WeakMap,$x),ms,xi,hn,gs,xt,oa,ys,Cn,Yn,Wx,BC=(Wx=class extends Cv{constructor(t){super();fe(this,Cn);fe(this,ms);fe(this,xi);fe(this,hn);fe(this,gs);fe(this,xt);fe(this,oa);fe(this,ys);Y(this,ys,!1),Y(this,oa,t.defaultOptions),this.setOptions(t.options),this.observers=[],Y(this,gs,t.client),Y(this,hn,P(this,gs).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,Y(this,ms,A0(this.options)),this.state=t.state??P(this,ms),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=P(this,xt))==null?void 0:t.promise}setOptions(t){if(this.options={...P(this,oa),...t},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const r=A0(this.options);r.data!==void 0&&(this.setData(r.data,{updatedAt:r.dataUpdatedAt,manual:!0}),Y(this,ms,r))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&P(this,hn).remove(this)}setData(t,r){const i=xh(this.state.data,t,this.options);return Pe(this,Cn,Yn).call(this,{data:i,type:"success",dataUpdatedAt:r==null?void 0:r.updatedAt,manual:r==null?void 0:r.manual}),i}setState(t,r){Pe(this,Cn,Yn).call(this,{type:"setState",state:t,setStateOptions:r})}cancel(t){var i,o;const r=(i=P(this,xt))==null?void 0:i.promise;return(o=P(this,xt))==null||o.cancel(t),r?r.then(Wt).catch(Wt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(P(this,ms))}isActive(){return this.observers.some(t=>fn(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===pf||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Br(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!wv(this.state.dataUpdatedAt,t)}onFocus(){var r;const t=this.observers.find(i=>i.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(r=P(this,xt))==null||r.continue()}onOnline(){var r;const t=this.observers.find(i=>i.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(r=P(this,xt))==null||r.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),P(this,hn).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(r=>r!==t),this.observers.length||(P(this,xt)&&(P(this,ys)?P(this,xt).cancel({revert:!0}):P(this,xt).cancelRetry()),this.scheduleGc()),P(this,hn).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Pe(this,Cn,Yn).call(this,{type:"invalidate"})}async fetch(t,r){var p,m,y,x,w,j,N,S,b,E,F,_;if(this.state.fetchStatus!=="idle"&&((p=P(this,xt))==null?void 0:p.status())!=="rejected"){if(this.state.data!==void 0&&(r!=null&&r.cancelRefetch))this.cancel({silent:!0});else if(P(this,xt))return P(this,xt).continueRetry(),P(this,xt).promise}if(t&&this.setOptions(t),!this.options.queryFn){const M=this.observers.find(U=>U.options.queryFn);M&&this.setOptions(M.options)}const i=new AbortController,o=M=>{Object.defineProperty(M,"signal",{enumerable:!0,get:()=>(Y(this,ys,!0),i.signal)}
265)},c=()=>{const M=Nv(this.options,r),K=(()=>{const G={client:P(this,gs),queryKey:this.queryKey,meta:this.meta};return o(G),G})();return Y(this,ys,!1),this.options.persister?this.options.persister(M,K,this):M(K)},h=(()=>{const M={fetchOptions:r,options:this.options,queryKey:this.queryKey,client:P(this,gs),state:this.state,fetchFn:c};return o(M),M})();(m=this.options.behavior)==null||m.onFetch(h,this),Y(this,xi,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((y=h.fetchOptions)==null?void 0:y.meta))&&Pe(this,Cn,Yn).call(this,{type:"fetch",meta:(x=h.fetchOptions)==null?void 0:x.meta}),Y(this,xt,jv({initialPromise:r==null?void 0:r.initialPromise,fn:h.fetchFn,onCancel:M=>{M instanceof wh&&M.revert&&this.setState({...P(this,xi),fetchStatus:"idle"}),i.abort()},onFail:(M,U)=>{Pe(this,Cn,Yn).call(this,{type:"failed",failureCount:M,error:U})},onPause:()=>{Pe(this,Cn,Yn).call(this,{type:"pause"})},onContinue:()=>{Pe(this,Cn,Yn).call(this,{type:"continue"})},retry:h.options.retry,retryDelay:h.options.retryDelay,networkMode:h.options.networkMode,canRun:()=>!0}));try{const M=await P(this,xt).start();if(M===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(M),(j=(w=P(this,hn).config).onSuccess)==null||j.call(w,M,this),(S=(N=P(this,hn).config).onSettled)==null||S.call(N,M,this.state.error,this),M}
vendor: 15,876 bytes, line 265
265catch(M){if(M instanceof wh){if(M.silent)return P(this,xt).promise;if(M.revert){if(this.state.data===void 0)throw M;return this.state.data}}throw Pe(this,Cn,Yn).call(this,{type:"error",error:M}),(E=(b=P(this,hn).config).onError)==null||E.call(b,M,this),(_=(F=P(this,hn).config).onSettled)==null||_.call(F,this.state.data,M,this),M}finally{this.scheduleGc()}}},ms=new WeakMap,xi=new WeakMap,hn=new WeakMap,gs=new WeakMap,xt=new WeakMap,oa=new WeakMap,ys=new WeakMap,Cn=new WeakSet,Yn=function(t){const r=i=>{switch(t.type){case"failed":return{...i,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...i,fetchStatus:"paused"};case"continue":return{...i,fetchStatus:"fetching"};case"fetch":return{...i,...kv(i.data,this.options),fetchMeta:t.meta??null};case"success":const o={...i,data:t.data,dataUpdateCount:i.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return Y(this,xi,t.manual?o:void 0),o;case"error":const c=t.error;return{...i,error:c,errorUpdateCount:i.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:i.fetchFailureCount+1,fetchFailureReason:c,fetchStatus:"idle",status:"error"};case"invalidate":return{...i,isInvalidated:!0};case"setState":return{...i,...t.state}}};this.state=r(this.state),St.batch(()=>{this.observers.forEach(i=>{i.onQueryUpdate()}),P(this,hn).notify({query:this,type:"updated",action:t})})},Wx);function kv(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Sv(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function A0(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,r=t!==void 0,i=r?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}var $t,Re,aa,Lt,xs,vi,Jn,Mr,la,wi,bi,vs,ws,Or,Ni,Fe,Do,bh,Nh,Sh,jh,Ch,kh,Th,Tv,qx,VC=(qx=class extends da{constructor(t,r){super();fe(this,Fe);fe(this,$t);fe(this,Re);fe(this,aa);fe(this,Lt);fe(this,xs);fe(this,vi);fe(this,Jn);fe(this,Mr);fe(this,la);fe(this,wi);fe(this,bi);fe(this,vs);fe(this,ws);fe(this,Or);fe(this,Ni,new Set);this.options=r,Y(this,$t,t),Y(this,Mr,null),Y(this,Jn,vh()),this.bindMethods(),this.setOptions(r)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(P(this,Re).addObserver(this),_0(P(this,Re),this.options)?Pe(this,Fe,Do).call(this):this.updateResult(),Pe(this,Fe,jh).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Eh(P(this,Re),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Eh(P(this,Re),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Pe(this,Fe,Ch).call(this),Pe(this,Fe,kh).call(this),P(this,Re).removeObserver(this)}setOptions(t){const r=this.options,i=P(this,Re);if(this.options=P(this,$t).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof fn(this.options.enabled,P(this,Re))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");Pe(this,Fe,Th).call(this),P(this,Re).setOptions(this.options),r._defaulted&&!gh(this.options,r)&&P(this,$t).getQueryCache().notify({type:"observerOptionsUpdated",query:P(this,Re),observer:this});const o=this.hasListeners();o&&M0(P(this,Re),i,this.options,r)&&Pe(this,Fe,Do).call(this),this.updateResult(),o&&(P(this,Re)!==i||fn(this.options.enabled,P(this,Re))!==fn(r.enabled,P(this,Re))||Br(this.options.staleTime,P(this,Re))!==Br(r.staleTime,P(this,Re)))&&Pe(this,Fe,bh).call(this);const c=Pe(this,Fe,Nh).call(this);o&&(P(this,Re)!==i||fn(this.options.enabled,P(this,Re))!==fn(r.enabled,P(this,Re))||c!==P(this,Or))&&Pe(this,Fe,Sh).call(this,c)}getOptimisticResult(t){const r=P(this,$t).getQueryCache().build(P(this,$t),t),i=this.createResult(r,t);return zC(this,i)&&(Y(this,Lt,i),Y(this,vi,this.options),Y(this,xs,P(this,Re).state)),i}getCurrentResult(){return P(this,Lt)}trackResult(t,r){return new Proxy(t,{get:(i,o)=>(this.trackProp(o),r==null||r(o),o==="promise"&&!this.options.experimental_prefetchInRender&&P(this,Jn).status==="pending"&&P(this,Jn).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),Reflect.get(i,o))})}trackProp(t){P(this,Ni).add(t)}getCurrentQuery(){return P(this,Re)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const r=P(this,$t).defaultQueryOptions(t),i=P(this,$t).getQueryCache().build(P(this,$t),r);return i.fetch().then(()=>this.createResult(i,r))}fetch(t){return Pe(this,Fe,Do).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),P(this,Lt)))}createResult(t,r){var he;const i=P(this,Re),o=this.options,c=P(this,Lt),u=P(this,xs),h=P(this,vi),m=t!==i?t.state:P(this,aa),{state:y}=t;let x={...y},w=!1,j;if(r._optimisticResults){const J=this.hasListeners(),Se=!J&&_0(t,r),Oe=J&&M0(t,i,r,o);(Se||Oe)&&(x={...x,...kv(y.data,t.options)}),r._optimisticResults==="isRestoring"&&(x.fetchStatus="idle")}let{error:N,errorUpdatedAt:S,status:b}=x;j=x.data;let E=!1;if(r.placeholderData!==void 0&&j===void 0&&b==="pending"){let J;c!=null&&c.isPlaceholderData&&r.placeholderData===(h==null?void 0:h.placeholderData)?(J=c.data,E=!0):J=typeof r.placeholderData=="function"?r.placeholderData((he=P(this,bi))==null?void 0:he.state.data,P(this,bi)):r.placeholderData,J!==void 0&&(b="success",j=xh(c==null?void 0:c.data,J,r),w=!0)}if(r.select&&j!==void 0&&!E)if(c&&j===(u==null?void 0:u.data)&&r.select===P(this,la))j=P(this,wi);else try{Y(this,la,r.select),j=r.select(j),j=xh(c==null?void 0:c.data,j,r),Y(this,wi,j),Y(this,Mr,null)}catch(J){Y(this,Mr,J)}P(this,Mr)&&(N=P(this,Mr),j=P(this,wi),S=Date.now(),b="error");const F=x.fetchStatus==="fetching",_=b==="pending",M=b==="error",U=_&&F,K=j!==void 0,V={status:b,fetchStatus:x.fetchStatus,isPending:_,isSuccess:b==="success",isError:M,isInitialLoading:U,isLoading:U,data:j,dataUpdatedAt:x.dataUpdatedAt,error:N,errorUpdatedAt:S,failureCount:x.fetchFailureCount,failureReason:x.fetchFailureReason,errorUpdateCount:x.errorUpdateCount,isFetched:x.dataUpdateCount>0||x.errorUpdateCount>0,isFetchedAfterMount:x.dataUpdateCount>m.dataUpdateCount||x.errorUpdateCount>m.errorUpdateCount,isFetching:F,isRefetching:F&&!_,isLoadingError:M&&!K,isPaused:x.fetchStatus==="paused",isPlaceholderData:w,isRefetchError:M&&K,isStale:gf(t,r),refetch:this.refetch,promise:P(this,Jn),isEnabled:fn(r.enabled,t)!==!1};if(this.options.experimental_prefetchInRender){const J=Ie=>{V.status==="error"?Ie.reject(V.error):V.data!==void 0&&Ie.resolve(V.data)},Se=()=>{const Ie=Y(this,Jn,V.promise=vh());J(Ie)},Oe=P(this,Jn);switch(Oe.status){case"pending":t.queryHash===i.queryHash&&J(Oe);break;case"fulfilled":(V.status==="error"||V.data!==Oe.value)&&Se();break;case"rejected":(V.status!=="error"||V.error!==Oe.reason)&&Se();break}}return V}updateResult(){const t=P(this,Lt),r=this.createResult(P(this,Re),this.options);if(Y(this,xs,P(this,Re).state),Y(this,vi,this.options),P(this,xs).data!==void 0&&Y(this,bi,P(this,Re)),gh(r,t))return;Y(this,Lt,r);const i=()=>{if(!t)return!0;const{notifyOnChangeProps:o}=this.options,c=typeof o=="function"?o():o;if(c==="all"||!c&&!P(this,Ni).size)return!0;const u=new Set(c??P(this,Ni));return this.options.throwOnError&&u.add("error"),Object.keys(P(this,Lt)).some(h=>{const p=h;return P(this,Lt)[p]!==t[p]&&u.has(p)})};Pe(this,Fe,Tv).call(this,{listeners:i()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Pe(this,Fe,jh).call(this)}},$t=new WeakMap,Re=new WeakMap,aa=new WeakMap,Lt=new WeakMap,xs=new WeakMap,vi=new WeakMap,Jn=new WeakMap,Mr=new WeakMap,la=new WeakMap,wi=new WeakMap,bi=new WeakMap,vs=new WeakMap,ws=new WeakMap,Or=new WeakMap,Ni=new WeakMap,Fe=new WeakSet,Do=function(t){Pe(this,Fe,Th).call(this);let r=P(this,Re).fetch(this.options,t);return t!=null&&t.throwOnError||(r=r.catch(Wt)),r},bh=function(){Pe(this,Fe,Ch).call(this);const t=Br(this.options.staleTime,P(this,Re));if(ks||P(this,Lt).isStale||!mh(t))return;const i=wv(P(this,Lt).dataUpdatedAt,t)+1;Y(this,vs,us.setTimeout(()=>{P(this,Lt).isStale||this.updateResult()},i))},Nh=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(P(this,Re)):this.options.refetchInterval)??!1},Sh=function(t){Pe(this,Fe,kh).call(this),Y(this,Or,t),!(ks||fn(this.options.enabled,P(this,Re))===!1||!mh(P(this,Or))||P(this,Or)===0)&&Y(this,ws,us.setInterval(()=>{(this.options.refetchIntervalInBackground||mf.isFocused())&&Pe(this,Fe,Do).call(this)},P(this,Or)))},jh=function(){Pe(this,Fe,bh).call(this),Pe(this,Fe,Sh).call(this,Pe(this,Fe,Nh).call(this))},Ch=function(){P(this,vs)&&(us.clearTimeout(P(this,vs)),Y(this,vs,void 0))},kh=function(){P(this,ws)&&(us.clearInterval(P(this,ws)),Y(this,ws,void 0))},Th=function(){const t=P(this,$t).getQueryCache().build(P(this,$t),this.options);if(t===P(this,Re))return;const r=P(this,Re);Y(this,Re,t),Y(this,aa,t.state),this.hasListeners()&&(r==null||r.removeObserver(this),t.addObserver(this))},Tv=function(t){St.batch(()=>{t.listeners&&this.listeners.forEach(r=>{r(P(this,Lt))}),P(this,$t).getQueryCache().notify({query:P(this,Re),type:"observerResultsUpdated"})})},qx);function UC(e,t){return fn(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function _0(e,t){return UC(e,t)||e.state.data!==void 0&&Eh(e,t,t.refetchOnMount)}function Eh(e,t,r){if(fn(t.enabled,e)!==!1&&Br(t.staleTime,e)!=="static"){const i=typeof r=="function"?r(e):r;return i==="always"||i!==!1&&gf(e,t)}return!1}function M0(e,t,r,i){return(e!==t||fn(i.enabled,e)===!1)&&(!r.suspense||e.state.status!=="error")&&gf(e,r)}function gf(e,t){return fn(t.enabled,e)!==!1&&e.isStaleByTime(Br(t.staleTime,e))}function zC(e,t){return!gh(e.getCurrentResult(),t)}function O0(e){return{onFetch:(t,r)=>{var y,x,w,j,N;const i=t.options,o=(w=(x=(y=t.fetchOptions)==null?void 0:y.meta)==null?void 0:x.fetchMore)==null?void 0:w.direction,c=((j=t.state.data)==null?void 0:j.pages)||[],u=((N=t.state.data)==null?void 0:N.pageParams)||[];let h={pages:[],pageParams:[]},p=0;const m=async()=>{let S=!1;const b=_=>{Object.defineProperty(_,"signal",{enumerable:!0,get:()=>(t.signal.aborted?S=!0:t.signal.addEventListener("abort",()=>{S=!0}),t.signal)})},E=Nv(t.options,t.fetchOptions),F=async(_,M,U)=>{if(S)return Promise.reject();if(M==null&&_.pages.length)return Promise.resolve(_);const G=(()=>{const Se={client:t.client,queryKey:t.queryKey,pageParam:M,direction:U?"backward":"forward",meta:t.options.meta};return b(Se),Se})(),V=await E(G),{maxPages:he}=t.options,J=U?_C:AC;return{pages:J(_.pages,V,he),pageParams:J(_.pageParams,M,he)}};if(o&&c.length){const _=o==="backward",M=_?HC:L0,U={pages:c,pageParams:u},K=M(i,U);h=await F(U,K,_)}else{const _=e??c.length;do{const M=p===0?u[0]??i.initialPageParam:L0(i,h);if(p>0&&M==null)break;h=await F(h,M),p++}while(p<_)}return h};t.options.persister?t.fetchFn=()=>{var S,b;return(b=(S=t.options).persister)==null?void 0:b.call(S,m,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},r)}:t.fetchFn=m}}}function L0(e,{pages:t,pageParams:r}){const i=t.length-1;return t.length>0?e.getNextPageParam(t[i],t,r[i],r):void 0}function HC(e,{pages:t,pageParams:r}){var i;return t.length>0?(i=e.getPreviousPageParam)==null?void 0:i.call(e,t[0],t,r[0],r):void 0}var ca,Ln,Dt,bs,Dn,Er,Kx,$C=(Kx=class extends Cv{constructor(t){super();fe(this,Dn);fe(this,ca);fe(this,Ln);fe(this,Dt);fe(this,bs);Y(this,ca,t.client),this.mutationId=t.mutationId,Y(this,Dt,t.mutationCache),Y(this,Ln,[]),this.state=t.state||WC(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){P(this,Ln).includes(t)||(P(this,Ln).push(t),this.clearGcTimeout(),P(this,Dt).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){Y(this,Ln,P(this,Ln).filter(r=>r!==t)),this.scheduleGc(),P(this,Dt).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){P(this,Ln).length||(this.state.status==="pending"?this.scheduleGc():P(this,Dt).remove(this))}continue(){var t;return((t=P(this,bs))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var u,h,p,m,y,x,w,j,N,S,b,E,F,_,M,U,K,G,V,he;const r=()=>{Pe(this,Dn,Er).call(this,{type:"continue"})},i={client:P(this,ca),meta:this.options.meta,mutationKey:this.options.mutationKey};Y(this,bs,jv({fn:()=>this.options.mutationFn?this.options.mutationFn(t,i):Promise.reject(new Error("No mutationFn found")),onFail:(J,Se)=>{Pe(this,Dn,Er).call(this,{type:"failed",failureCount:J,error:Se})},onPause:()=>{Pe(this,Dn,Er).call(this,{type:"pause"})},onContinue:r,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>P(this,Dt).canRun(this)}));const o=this.state.status==="pending",c=!P(this,bs).canStart();try{if(o)r();else{Pe(this,Dn,Er).call(this,{type:"pending",variables:t,isPaused:c}),await((h=(u=P(this,Dt).config).onMutate)==null?void 0:h.call(u,t,this,i));const Se=await((m=(p=this.options).onMutate)==null?void 0:m.call(p,t,i));Se!==this.state.context&&Pe(this,Dn,Er).call(this,{type:"pending",context:Se,variables:t,isPaused:c})}const J=await P(this,bs).start();return await((x=(y=P(this,Dt).config).onSuccess)==null?void 0:x.call(y,J,t,this.state.context,this,i)),await((j=(w=this.options).onSuccess)==null?void 0:j.call(w,J,t,this.state.context,i)),await((S=(N=P(this,Dt).config).onSettled)==null?void 0:S.call(N,J,null,this.state.variables,this.state.context,this,i)),await((E=(b=this.options).onSettled)==null?void 0:E.call(b,J,null,t,this.state.context,i)),Pe(this,Dn,Er).call(this,{type:"success",data:J}),J}catch(J){try{throw await((_=(F=P(this,Dt).config).onError)==null?void 0:_.call(F,J,t,this.state.context,this,i)),await((U=(M=this.options).onError)==null?void 0:U.call(M,J,t,this.state.context,i)),await((G=(K=P(this,Dt).config).onSettled)==null?void 0:G.call(K,void 0,J,this.state.variables,this.state.context,this,i)),await((he=(V=this.options).onSettled)==null?void 0:he.call(V,void 0,J,t,this.state.context,i)),J}finally{Pe(this,Dn,Er).call(this,{type:"error",error:J})}}finally{P(this,Dt).runNext(this)}}},ca=new WeakMap,Ln=new WeakMap,Dt=new WeakMap,bs=new WeakMap,Dn=new WeakSet,Er=function(t){const r=i=>{switch(t.type){case"failed":return{...i,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...i,isPaused:!0};case"continue":return{...i,isPaused:!1};case"pending":return{...i,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...i,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...i,data:void 0,error:t.error,failureCount:i.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=r(this.state),St.batch(()=>{P(this,Ln).forEach(i=>{i.onMutationUpdate(t)}),P(this,Dt).notify({mutation:this,type:"updated",action:t})})},Kx);function WC(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Zn,kn,ua,Gx,qC=(Gx=class extends da{constructor(t={}){super();fe(this,Zn);fe(this,kn);fe(this,ua);this.config=t,Y(this,Zn,new Set),Y(this,kn,new Map),Y(this,ua,0)}build(t,r,i){const o=new $C({client:t,mutationCache:this,mutationId:++Ol(this,ua)._,options:t.defaultMutationOptions(r),state:i}
265);return this.add(o),o}add(t){P(this,Zn).add(t);const r=Fl(t);if(typeof r=="string"){const i=P(this,kn).get(r);i?i.push(t):P(this,kn).set(r,[t])}this.notify({type:"added",mutation:t})}remove(t){if(P(this,Zn).delete(t)){const r=Fl(t);if(typeof r=="string"){const i=P(this,kn).get(r);if(i)if(i.length>1){const o=i.indexOf(t);o!==-1&&i.splice(o,1)}else i[0]===t&&P(this,kn).delete(r)}}this.notify({type:"removed",mutation:t})}canRun(t){const r=Fl(t);if(typeof r=="string"){const i=P(this,kn).get(r),o=i==null?void 0:i.find(c=>c.state.status==="pending");return!o||o===t}else return!0}runNext(t){var i;const r=Fl(t);if(typeof r=="string"){const o=(i=P(this,kn).get(r))==null?void 0:i.find(c=>c!==t&&c.state.isPaused);return(o==null?void 0:o.continue())??Promise.resolve()}else return Promise.resolve()}clear(){St.batch(()=>{P(this,Zn).forEach(t=>{this.notify({type:"removed",mutation:t})}),P(this,Zn).clear(),P(this,kn).clear()})}getAll(){return Array.from(P(this,Zn))}find(t){const r={exact:!0,...t};return this.getAll().find(i=>E0(r,i))}findAll(t={}){return this.getAll().filter(r=>E0(t,r))}notify(t){St.batch(()=>{this.listeners.forEach(r=>{r(t)})})}resumePausedMutations(){const t=this.getAll().filter(r=>
vendor: 4,263 bytes, line 265
265r.state.isPaused);return St.batch(()=>Promise.all(t.map(r=>r.continue().catch(Wt))))}},Zn=new WeakMap,kn=new WeakMap,ua=new WeakMap,Gx);function Fl(e){var t;return(t=e.options.scope)==null?void 0:t.id}var In,Qx,KC=(Qx=class extends da{constructor(t={}){super();fe(this,In);this.config=t,Y(this,In,new Map)}build(t,r,i){const o=r.queryKey,c=r.queryHash??ff(o,r);let u=this.get(c);return u||(u=new BC({client:t,queryKey:o,queryHash:c,options:t.defaultQueryOptions(r),state:i,defaultOptions:t.getQueryDefaults(o)}),this.add(u)),u}add(t){P(this,In).has(t.queryHash)||(P(this,In).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const r=P(this,In).get(t.queryHash);r&&(t.destroy(),r===t&&P(this,In).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){St.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return P(this,In).get(t)}getAll(){return[...P(this,In).values()]}find(t){const r={exact:!0,...t};return this.getAll().find(i=>T0(r,i))}findAll(t={}){const r=this.getAll();return Object.keys(t).length>0?r.filter(i=>T0(t,i)):r}notify(t){St.batch(()=>{this.listeners.forEach(r=>{r(t)})})}onFocus(){St.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){St.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},In=new WeakMap,Qx),nt,Lr,Dr,Si,ji,Ir,Ci,ki,Xx,GC=(Xx=class{constructor(e={}){fe(this,nt);fe(this,Lr);fe(this,Dr);fe(this,Si);fe(this,ji);fe(this,Ir);fe(this,Ci);fe(this,ki);Y(this,nt,e.queryCache||new KC),Y(this,Lr,e.mutationCache||new qC),Y(this,Dr,e.defaultOptions||{}),Y(this,Si,new Map),Y(this,ji,new Map),Y(this,Ir,0)}mount(){Ol(this,Ir)._++,P(this,Ir)===1&&(Y(this,Ci,mf.subscribe(async e=>{e&&(await this.resumePausedMutations(),P(this,nt).onFocus())})),Y(this,ki,ac.subscribe(async e=>{e&&(await this.resumePausedMutations(),P(this,nt).onOnline())})))}unmount(){var e,t;Ol(this,Ir)._--,P(this,Ir)===0&&((e=P(this,Ci))==null||e.call(this),Y(this,Ci,void 0),(t=P(this,ki))==null||t.call(this),Y(this,ki,void 0))}isFetching(e){return P(this,nt).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return P(this,Lr).findAll({...e,status:"pending"}).length}getQueryData(e){var r;const t=this.defaultQueryOptions({queryKey:e});return(r=P(this,nt).get(t.queryHash))==null?void 0:r.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),r=P(this,nt).build(this,t),i=r.state.data;return i===void 0?this.fetchQuery(e):(e.revalidateIfStale&&r.isStaleByTime(Br(t.staleTime,r))&&this.prefetchQuery(t),Promise.resolve(i))}getQueriesData(e){return P(this,nt).findAll(e).map(({queryKey:t,state:r})=>{const i=r.data;return[t,i]})}setQueryData(e,t,r){const i=this.defaultQueryOptions({queryKey:e}),o=P(this,nt).get(i.queryHash),c=o==null?void 0:o.state.data,u=EC(t,c);if(u!==void 0)return P(this,nt).build(this,i).setData(u,{...r,manual:!0})}setQueriesData(e,t,r){return St.batch(()=>P(this,nt).findAll(e).map(({queryKey:i})=>[i,this.setQueryData(i,t,r)]))}getQueryState(e){var r;const t=this.defaultQueryOptions({queryKey:e});return(r=P(this,nt).get(t.queryHash))==null?void 0:r.state}removeQueries(e){const t=P(this,nt);St.batch(()=>{t.findAll(e).forEach(r=>{t.remove(r)})})}resetQueries(e,t){const r=P(this,nt);return St.batch(()=>(r.findAll(e).forEach(i=>{i.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const r={revert:!0,...t},i=St.batch(()=>P(this,nt).findAll(e).map(o=>o.cancel(r)));return Promise.all(i).then(Wt).catch(Wt)}invalidateQueries(e,t={}){return St.batch(()=>(P(this,nt).findAll(e).forEach(r=>{r.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const r={...t,cancelRefetch:t.cancelRefetch??!0},i=St.batch(()=>P(this,nt).findAll(e).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let c=o.fetch(void 0,r);return r.throwOnError||(c=c.catch(Wt)),o.state.fetchStatus==="paused"?Promise.resolve():c}));return Promise.all(i).then(Wt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const r=P(this,nt).build(this,t);return r.isStaleByTime(Br(t.staleTime,r))?r.fetch(t):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Wt).catch(Wt)}
265fetchInfiniteQuery(e){return e.behavior=O0(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Wt).catch(Wt)}ensureInfiniteQueryData(e){return e.behavior=O0(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return ac.isOnline()?P(this,Lr).resumePausedMutations():Promise.resolve()}getQueryCache(){return P(this,nt)}getMutationCache(){return P(this,Lr)}getDefaultOptions(){return P(this,Dr)}setDefaultOptions(e){Y(this,Dr,e)}setQueryDefaults(e,t){P(this,Si).set(Yo(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...P(this,Si).values()],r={};return t.forEach(i=>{Jo(e,i.queryKey)&&Object.assign(r,i.defaultOptions)}),r}setMutationDefaults(e,t){P(this,ji).set(Yo(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...P(this,ji).values()],r={};return t.forEach(i=>{Jo(e,i.mutationKey)&&Object.assign(r,i.defaultOptions)}),r}defaultQueryOptions(e){if(e._defaulted)return e;const t={...P(this,Dr).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=ff(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===pf&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...P(this,Dr).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){P(this,nt).clear(),P(this,Lr).clear()}},nt=new WeakMap,Lr=new WeakMap,Dr=new WeakMap,Si=new WeakMap,ji=new WeakMap,Ir=new WeakMap,Ci=new WeakMap,ki=new WeakMap,Xx),Ev=k.createContext(void 0),QC=e=>{const t=k.useContext(Ev);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},XC=({client:e,children:t})=>(k.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),l.jsx(Ev.Provider,{value:e,children:t})),Pv=k.createContext(!1),YC=()=>k.useContext(Pv);Pv.Provider;function JC(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var ZC=k.createContext(JC()),ek=()=>k.useContext(ZC),tk=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},nk=e=>{k.useEffect(()=>{e.clearReset()},[e])},rk=({result:e,errorResetBoundary:t,throwOnError:r,query:i,suspense:o})=>e.isError&&!t.isReset()&&!e.isFetching&&i&&(o&&e.data===void 0||MC(r,[e.error,i])),sk=e=>{if(e.suspense){const r=o=>o==="static"?o:Math.max(o??1e3,1e3),i=e.staleTime;e.staleTime=typeof i=="function"?(...o)=>r(i(...o)):r(i),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},ik=(e,t)=>e.isLoading&&e.isFetching&&!t,ok=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,D0=(e,t,r)=>t.fetchOptimistic(e).catch(()=>{r.clearReset()});function ak(e,t,r){var x,w,j,N,S;const i=YC(),o=ek(),c=QC(),u=c.defaultQueryOptions(e);(w=(x=c.getDefaultOptions().queries)==null?void 0:x._experimental_beforeQuery)==null||w.call(x,u),u._optimisticResults=i?"isRestoring":"optimistic",sk(u),tk(u,o),nk(o);const h=!c.getQueryCache().get(u.queryHash),[p]=k.useState(()=>new t(c,u)),m=p.getOptimisticResult(u),y=!i&&e.subscribed!==!1;if(k.useSyncExternalStore(k.useCallback(b=>{const E=y?p.subscribe(St.batchCalls(b)):Wt;return p.updateResult(),E},[p,y]),()=>p.getCurrentResult(),()=>p.getCurrentResult()),k.useEffect(()=>{p.setOptions(u)},[u,p]),ok(u,m))throw D0(u,p,o);if(rk({result:m,errorResetBoundary:o,throwOnError:u.throwOnError,query:c.getQueryCache().get(u.queryHash),suspense:u.suspense}))throw m.error;if((N=(j=c.getDefaultOptions().queries)==null?void 0:j._experimental_afterQuery)==null||N.call(j,u,m),u.experimental_prefetchInRender&&!ks&&ik(m,i)){const b=h?D0(u,p,o):(S=c.getQueryCache().get(u.queryHash))==null?void 0:S.promise;b==null||b.catch(Wt).finally(()=>{p.updateResult()})}return u.notifyOnChangeProps?m:p.trackResult(m)}function lk(e,t){return ak(e,VC)}const ck=new GC({defaultOptions:{queries:{refetchOnWindowFocus:!1,retry:1}}});Jx();/** 266 * @remix-run/router v1.23.0 267 * 268 * Copyright (c) Remix Software Inc. 269 * 270 * This source code is licensed under the MIT license found in the 271 * LICENSE.md file in the root directory of this source tree. 272 * 273 * @license MIT 274 */function Zo(){return Zo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},Zo.apply(this,arguments)}var Fr;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Fr||(Fr={}));const I0="popstate";function uk(e){e===void 0&&(e={});function t(i,o){let{pathname:c,search:u,hash:h}=i.location;return Ph("",{pathname:c,search:u,hash:h},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}
vendor: 4,515 bytes, line 274
274function r(i,o){return typeof o=="string"?o:lc(o)}return hk(t,r,null,e)}function ut(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Rv(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function dk(){return Math.random().toString(36).substr(2,8)}function F0(e,t){return{usr:e.state,key:e.key,idx:t}}function Ph(e,t,r,i){return r===void 0&&(r=null),Zo({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Li(t):t,{state:r,key:t&&t.key||i||dk()})}function lc(e){let{pathname:t="/",search:r="",hash:i=""}=e;return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),i&&i!=="#"&&(t+=i.charAt(0)==="#"?i:"#"+i),t}function Li(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let i=e.indexOf("?");i>=0&&(t.search=e.substr(i),e=e.substr(0,i)),e&&(t.pathname=e)}return t}function hk(e,t,r,i){i===void 0&&(i={});let{window:o=document.defaultView,v5Compat:c=!1}=i,u=o.history,h=Fr.Pop,p=null,m=y();m==null&&(m=0,u.replaceState(Zo({},u.state,{idx:m}),""));function y(){return(u.state||{idx:null}).idx}function x(){h=Fr.Pop;let b=y(),E=b==null?null:b-m;m=b,p&&p({action:h,location:S.location,delta:E})}function w(b,E){h=Fr.Push;let F=Ph(S.location,b,E);m=y()+1;let _=F0(F,m),M=S.createHref(F);try{u.pushState(_,"",M)}catch(U){if(U instanceof DOMException&&U.name==="DataCloneError")throw U;o.location.assign(M)}c&&p&&p({action:h,location:S.location,delta:1})}function j(b,E){h=Fr.Replace;let F=Ph(S.location,b,E);m=y();let _=F0(F,m),M=S.createHref(F);u.replaceState(_,"",M),c&&p&&p({action:h,location:S.location,delta:0})}function N(b){let E=o.location.origin!=="null"?o.location.origin:o.location.href,F=typeof b=="string"?b:lc(b);return F=F.replace(/ $/,"%20"),ut(E,"No window.location.(origin|href) available to create URL for href: "+F),new URL(F,E)}let S={get action(){return h},get location(){return e(o,u)},listen(b){if(p)throw new Error("A history only accepts one active listener");return o.addEventListener(I0,x),p=b,()=>{o.removeEventListener(I0,x),p=null}},createHref(b){return t(o,b)},createURL:N,encodeLocation(b){let E=N(b);return{pathname:E.pathname,search:E.search,hash:E.hash}},push:w,replace:j,go(b){return u.go(b)}};return S}var B0;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(B0||(B0={}));function fk(e,t,r){return r===void 0&&(r="/"),pk(e,t,r)}function pk(e,t,r,i){let o=typeof t=="string"?Li(t):t,c=yf(o.pathname||"/",r);if(c==null)return null;let u=Av(e);mk(u);let h=null;for(let p=0;h==null&&p<u.length;++p){let m=Tk(c);h=jk(u[p],m)}return h}function Av(e,t,r,i){t===void 0&&(t=[]),r===void 0&&(r=[]),i===void 0&&(i="");let o=(c,u,h)=>{let p={relativePath:h===void 0?c.path||"":h,caseSensitive:c.caseSensitive===!0,childrenIndex:u,route:c};p.relativePath.startsWith("/")&&(ut(p.relativePath.startsWith(i),'Absolute route path "'+p.relativePath+'" nested under path '+('"'+i+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),p.relativePath=p.relativePath.slice(i.length));let m=Vr([i,p.relativePath]),y=r.concat(p);c.children&&c.children.length>0&&(ut(c.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+m+'".')),Av(c.children,t,y,m)),!(c.path==null&&!c.index)&&t.push({path:m,score:Nk(m,c.index),routesMeta:y})};return e.forEach((c,u)=>{var h;if(c.path===""||!((h=c.path)!=null&&h.includes("?")))o(c,u);else for(let p of _v(c.path))o(c,u,p)}),t}function _v(e){let t=e.split("/");if(t.length===0)return[];let[r,...i]=t,o=r.endsWith("?"),c=r.replace(/\?$/,"");if(i.length===0)return o?[c,""]:[c];let u=_v(i.join("/")),h=[];return h.push(...u.map(p=>p===""?c:[c,p].join("/"))),o&&h.push(...u),h.map(p=>e.startsWith("/")&&p===""?"/":p)}function mk(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:Sk(t.routesMeta.map(i=>i.childrenIndex),r.routesMeta.map(i=>i.childrenIndex)))}const gk=/^:[\w-]+$/,yk=3,xk=2,vk=1,wk=10,bk=-2,V0=e=>e==="*";function Nk(e,t){let r=e.split("/"),i=r.length;return r.some(V0)&&(i+=bk),t&&(i+=xk),r.filter(o=>!V0(o)).reduce((o,c)=>o+(gk.test(c)?yk:c===""?vk:wk),i)}function Sk(e,t){return e.length===t.length&&e.slice(0,-1).every((i,o)=>i===t[o])?e[e.length-1]-t[t.length-1]:0}function jk(e,t,r){let{routesMeta:i}=e,o={},c="/",u=[];for(let h=0;h<i.length;++h){let p=i[h],m=h===i.length-1,y=c==="/"?t:t.slice(c.length)||"/",x=Ck({path:p.relativePath,caseSensitive:p.caseSensitive,end:m},y),w=p.route;if(!x)return null;
vendor: 4,349 bytes, lines 274-283
274Object.assign(o,x.params),u.push({params:o,pathname:Vr([c,x.pathname]),pathnameBase:Ak(Vr([c,x.pathnameBase])),route:w}),x.pathnameBase!=="/"&&(c=Vr([c,x.pathnameBase]))}return u}function Ck(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,i]=kk(e.path,e.caseSensitive,e.end),o=t.match(r);if(!o)return null;let c=o[0],u=c.replace(/(.)\/+$/,"$1"),h=o.slice(1);return{params:i.reduce((m,y,x)=>{let{paramName:w,isOptional:j}=y;if(w==="*"){let S=h[x]||"";u=c.slice(0,c.length-S.length).replace(/(.)\/+$/,"$1")}const N=h[x];return j&&!N?m[w]=void 0:m[w]=(N||"").replace(/%2F/g,"/"),m},{}),pathname:c,pathnameBase:u,pattern:e}}function kk(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),Rv(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let i=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(u,h,p)=>(i.push({paramName:h,isOptional:p!=null}),p?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(i.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),i]}function Tk(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Rv(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function yf(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,i=e.charAt(r);return i&&i!=="/"?null:e.slice(r)||"/"}function Ek(e,t){t===void 0&&(t="/");let{pathname:r,search:i="",hash:o=""}=typeof e=="string"?Li(e):e;return{pathname:r?r.startsWith("/")?r:Pk(r,t):t,search:_k(i),hash:Mk(o)}}function Pk(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?r.length>1&&r.pop():o!=="."&&r.push(o)}),r.length>1?r.join("/"):"/"}function Ud(e,t,r,i){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(i)+"]. Please separate it out to the ")+("`to."+r+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function Rk(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function Mv(e,t){let r=Rk(e);return t?r.map((i,o)=>o===r.length-1?i.pathname:i.pathnameBase):r.map(i=>i.pathnameBase)}function Ov(e,t,r,i){i===void 0&&(i=!1);let o;typeof e=="string"?o=Li(e):(o=Zo({},e),ut(!o.pathname||!o.pathname.includes("?"),Ud("?","pathname","search",o)),ut(!o.pathname||!o.pathname.includes("#"),Ud("#","pathname","hash",o)),ut(!o.search||!o.search.includes("#"),Ud("#","search","hash",o)));let c=e===""||o.pathname==="",u=c?"/":o.pathname,h;if(u==null)h=r;else{let x=t.length-1;if(!i&&u.startsWith("..")){let w=u.split("/");for(;w[0]==="..";)w.shift(),x-=1;o.pathname=w.join("/")}h=x>=0?t[x]:"/"}let p=Ek(o,h),m=u&&u!=="/"&&u.endsWith("/"),y=(c||u===".")&&r.endsWith("/");return!p.pathname.endsWith("/")&&(m||y)&&(p.pathname+="/"),p}const Vr=e=>e.join("/").replace(/\/\/+/g,"/"),Ak=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),_k=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Mk=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Ok(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Lv=["post","put","patch","delete"];new Set(Lv);const Lk=["get",...Lv];new Set(Lk);/** 275 * React Router v6.30.1 276 * 277 * Copyright (c) Remix Software Inc. 278 * 279 * This source code is licensed under the MIT license found in the 280 * LICENSE.md file in the root directory of this source tree. 281 * 282 * @license MIT 283 */function ea(){return ea=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},ea.apply(this,arguments)}const xf=k.createContext(null),Dk=k.createContext(null),Ps=k.createContext(null),wc=k.createContext(null),Rs=k.createContext({outlet:null,matches:[],isDataRoute:!1}
vendor: 4,852 bytes, line 283
283),Dv=k.createContext(null);function Ik(e,t){let{relative:r}=t===void 0?{}:t;ha()||ut(!1);let{basename:i,navigator:o}=k.useContext(Ps),{hash:c,pathname:u,search:h}=Fv(e,{relative:r}),p=u;return i!=="/"&&(p=u==="/"?i:Vr([i,u])),o.createHref({pathname:p,search:h,hash:c})}function ha(){return k.useContext(wc)!=null}function Di(){return ha()||ut(!1),k.useContext(wc).location}function Iv(e){k.useContext(Ps).static||k.useLayoutEffect(e)}function Fk(){let{isDataRoute:e}=k.useContext(Rs);return e?Yk():Bk()}function Bk(){ha()||ut(!1);let e=k.useContext(xf),{basename:t,future:r,navigator:i}=k.useContext(Ps),{matches:o}=k.useContext(Rs),{pathname:c}=Di(),u=JSON.stringify(Mv(o,r.v7_relativeSplatPath)),h=k.useRef(!1);return Iv(()=>{h.current=!0}),k.useCallback(function(m,y){if(y===void 0&&(y={}),!h.current)return;if(typeof m=="number"){i.go(m);return}let x=Ov(m,JSON.parse(u),c,y.relative==="path");e==null&&t!=="/"&&(x.pathname=x.pathname==="/"?t:Vr([t,x.pathname])),(y.replace?i.replace:i.push)(x,y.state,y)},[t,i,u,c,e])}function Fv(e,t){let{relative:r}=t===void 0?{}:t,{future:i}=k.useContext(Ps),{matches:o}=k.useContext(Rs),{pathname:c}=Di(),u=JSON.stringify(Mv(o,i.v7_relativeSplatPath));return k.useMemo(()=>Ov(e,JSON.parse(u),c,r==="path"),[e,u,c,r])}function Vk(e,t){return Uk(e,t)}function Uk(e,t,r,i){ha()||ut(!1);let{navigator:o}=k.useContext(Ps),{matches:c}=k.useContext(Rs),u=c[c.length-1],h=u?u.params:{};u&&u.pathname;let p=u?u.pathnameBase:"/";u&&u.route;let m=Di(),y;if(t){var x;let b=typeof t=="string"?Li(t):t;p==="/"||(x=b.pathname)!=null&&x.startsWith(p)||ut(!1),y=b}else y=m;let w=y.pathname||"/",j=w;if(p!=="/"){let b=p.replace(/^\//,"").split("/");j="/"+w.replace(/^\//,"").split("/").slice(b.length).join("/")}let N=fk(e,{pathname:j}),S=qk(N&&N.map(b=>Object.assign({},b,{params:Object.assign({},h,b.params),pathname:Vr([p,o.encodeLocation?o.encodeLocation(b.pathname).pathname:b.pathname]),pathnameBase:b.pathnameBase==="/"?p:Vr([p,o.encodeLocation?o.encodeLocation(b.pathnameBase).pathname:b.pathnameBase])})),c,r,i);return t&&S?k.createElement(wc.Provider,{value:{location:ea({pathname:"/",search:"",hash:"",state:null,key:"default"},y),navigationType:Fr.Pop}},S):S}function zk(){let e=Xk(),t=Ok(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return k.createElement(k.Fragment,null,k.createElement("h2",null,"Unexpected Application Error!"),k.createElement("h3",{style:{fontStyle:"italic"}},t),r?k.createElement("pre",{style:o},r):null,null)}const Hk=k.createElement(zk,null);class $k extends k.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){console.error("React Router caught the following error during render",t,r)}render(){return this.state.error!==void 0?k.createElement(Rs.Provider,{value:this.props.routeContext},k.createElement(Dv.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Wk(e){let{routeContext:t,match:r,children:i}=e,o=k.useContext(xf);return o&&o.static&&o.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=r.route.id),k.createElement(Rs.Provider,{value:t},i)}function qk(e,t,r,i){var o;if(t===void 0&&(t=[]),r===void 0&&(r=null),i===void 0&&(i=null),e==null){var c;if(!r)return null;if(r.errors)e=r.matches;else if((c=i)!=null&&c.v7_partialHydration&&t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let u=e,h=(o=r)==null?void 0:o.errors;if(h!=null){let y=u.findIndex(x=>x.route.id&&(h==null?void 0:h[x.route.id])!==void 0);y>=0||ut(!1),u=u.slice(0,Math.min(u.length,y+1))}let p=!1,m=-1;if(r&&i&&i.v7_partialHydration)for(let y=0;y<u.length;y++){let x=u[y];if((x.route.HydrateFallback||x.route.hydrateFallbackElement)&&(m=y),x.route.id){let{loaderData:w,errors:j}=r,N=x.route.loader&&w[x.route.id]===void 0&&(!j||j[x.route.id]===void 0);if(x.route.lazy||N){p=!0,m>=0?u=u.slice(0,m+1):u=[u[0]];break}}}return u.reduceRight((y,x,w)=>{let j,N=!1,S=null,b=null;r&&(j=h&&x.route.id?h[x.route.id]:void 0,S=x.route.errorElement||Hk,p&&(m<0&&w===0?(Jk("route-fallback"),N=!0,b=null):m===w&&(N=!0,b=x.route.hydrateFallbackElement||null)));let E=t.concat(u.slice(0,w+1)),F=()=>{let _;return j?_=S:N?_=b:x.route.Component?_=k.createElement(x.route.Component,null):x.route.element?_=x.route.element:_=y,k.createElement(Wk,{match:x,routeC
283ontext:{outlet:y,matches:E,isDataRoute:r!=null},children:_})};return r&&(x.route.ErrorBoundary||x.route.errorElement||w===0)?k.createElement($k,{location:r.location,revalidation:r.revalidation,component:S,error:j,children:F(),routeContext:{outlet:null,matches:E,isDataRoute:!0}}):F()},null)}var Bv=(function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e})(Bv||{}),Vv=(function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e})(Vv||{});function Kk(e){let t=k.useContext(xf);return t||ut(!1),t}function Gk(e){let t=k.useContext(Dk);return t||ut(!1),t}function Qk(e){let t=k.useContext(Rs);return t||ut(!1),t}function Uv(e){let t=Qk(),r=t.matches[t.matches.length-1];return r.route.id||ut(!1),r.route.id}function Xk(){var e;let t=k.useContext(Dv),r=Gk(),i=Uv();return t!==void 0?t:(e=r.errors)==null?void 0:e[i]}function Yk(){let{router:e}=Kk(Bv.UseNavigateStable),t=Uv(Vv.UseNavigateStable),r=k.useRef(!1);return Iv(()=>{r.current=!0}),k.useCallback(function(o,c){c===void 0&&(c={}),r.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,ea({fromRouteId:t},c)))},[e,t])}const U0={};function Jk(e,t,r){U0[e]||(U0[e]=!0)}function Zk(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function Gl(e){ut(!1)}function e2(e){let{basename:t="/",children:r=null,location:i,navigationType:o=Fr.Pop,navigator:c,static:u=!1,future:h}=e;ha()&&ut(!1);let p=t.replace(/^\/*/,"/"),m=k.useMemo(()=>({basename:p,navigator:c,static:u,future:ea({v7_relativeSplatPath:!1},h)}),[p,h,c,u]);typeof i=="string"&&(i=Li(i));let{pathname:y="/",search:x="",hash:w="",state:j=null,key:N="default"}=i,S=k.useMemo(()=>{let b=yf(y,p);return b==null?null:{location:{pathname:b,search:x,hash:w,state:j,key:N},navigationType:o}},[p,y,x,w,j,N,o]);return S==null?null:k.createElement(Ps.Provider,{value:m},k.createElement(wc.Provider,{children:r,value:S}))}function t2(e){let{children:t,location:r}=e;return Vk(Rh(t),r)}new Promise(()=>{});function Rh(e,t){t===void 0&&(t=[]);let r=[];return k.Children.forEach(e,(i,o)=>{if(!k.isValidElement(i))return;let c=[...t,o];if(i.type===k.Fragment){r.push.apply(r,Rh(i.props.children,c));return}i.type!==Gl&&ut(!1),!i.props.index||!i.props.children||ut(!1);let u={id:i.props.id||c.join("-"),caseSensitive:i.props.caseSensitive,element:i.props.element,Component:i.props.Component,index:i.props.index,path:i.props.path,loader:i.props.loader,action:i.props.action,errorElement:i.props.errorElement,ErrorBoundary:i.props.ErrorBoundary,hasErrorBoundary:i.props.ErrorBoundary!=null||i.props.errorElement!=null,shouldRevalidate:i.props.shouldRevalidate,handle:i.props.handle,lazy:i.props.lazy};i.props.children&&(u.children=Rh(i.props.children,c)),r.push(u)}),r}/** 284 * React Router DOM v6.30.1 285 * 286 * Copyright (c) Remix Software Inc. 287 * 288 * This source code is licensed under the MIT license found in the 289 * LICENSE.md file in the root directory of this source tree. 290 * 291 * @license MIT 292 */function Ah(){return Ah=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},Ah.apply(this,arguments)}function n2(e,t){if(e==null)return{};var r={},i=Object.keys(e),o,c;for(c=0;c<i.length;c++)o=i[c],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function r2(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function s2(e,t){return e.button===0&&(!t||t==="_self")&&!r2(e)}const i2=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],o2="6";try{window.__reactRouterVersion=o2}catch{}const a2="startTransition",z0=uf[a2];function l2(e){let{basename:t,children:r,future:i,window:o}=e,c=k.useRef();c.current==null&&(c.current=uk({window:o,v5Compat:!0}));
292let u=c.current,[h,p]=k.useState({action:u.action,location:u.location}),{v7_startTransition:m}=i||{},y=k.useCallback(x=>{m&&z0?z0(()=>p(x)):p(x)},[p,m]);return k.useLayoutEffect(()=>u.listen(y),[u,y]),k.useEffect(()=>Zk(i),[i]),k.createElement(e2,{basename:t,children:r,location:h.location,navigationType:h.action,navigator:u,future:i})}const c2=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",u2=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Wo=k.forwardRef(function(t,r){let{onClick:i,relative:o,reloadDocument:c,replace:u,state:h,target:p,to:m,preventScrollReset:y,viewTransition:x}=t,w=n2(t,i2),{basename:j}=k.useContext(Ps),N,S=!1;if(typeof m=="string"&&u2.test(m)&&(N=m,c2))try{let _=new URL(window.location.href),M=m.startsWith("//")?new URL(_.protocol+m):new URL(m),U=yf(M.pathname,j);M.origin===_.origin&&U!=null?m=U+M.search+M.hash:S=!0}catch{}let b=Ik(m,{relative:o}),E=d2(m,{replace:u,state:h,target:p,preventScrollReset:y,relative:o,viewTransition:x});function F(_){i&&i(_),_.defaultPrevented||E(_)}return k.createElement("a",Ah({},w,{href:N||b,onClick:S||c?i:F,ref:r,target:p}))});var H0;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(H0||(H0={}));var $0;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})($0||($0={}));function d2(e,t){let{target:r,replace:i,state:o,preventScrollReset:c,relative:u,viewTransition:h}=t===void 0?{}:t,p=Fk(),m=Di(),y=Fv(e,{relative:u});return k.useCallback(x=>{if(s2(x,r)){x.preventDefault();let w=i!==void 0?i:lc(m)===lc(y);p(e,{replace:w,state:o,preventScrollReset:c,relative:u,viewTransition:h})}},[m,p,y,i,o,r,e,c,u,h])}function zv(e,t){return function(){return e.apply(t,arguments)}}const{toString:h2}=Object.prototype,{getPrototypeOf:vf}=Object,{iterator:bc,toStringTag:Hv}=Symbol,Nc=(e=>t=>{const r=h2.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),En=e=>(e=e.toLowerCase(),t=>Nc(t)===e),Sc=e=>t=>typeof t===e,{isArray:Ii}=Array,Pi=Sc("undefined");function fa(e){return e!==null&&!Pi(e)&&e.constructor!==null&&!Pi(e.constructor)&&Gt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const $v=En("ArrayBuffer");function f2(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&$v(e.buffer),t}const p2=Sc("string"),Gt=Sc("function"),Wv=Sc("number"),pa=e=>e!==null&&typeof e=="object",m2=e=>e===!0||e===!1,Ql=e=>{if(Nc(e)!=="object")return!1;const t=vf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Hv in e)&&!(bc in e)},g2=e=>{if(!pa(e)||fa(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},y2=En("Date"),x2=En("File"),v2=En("Blob"),w2=En("FileList"),b2=e=>pa(e)&&Gt(e.pipe),N2=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Gt(e.append)&&((t=Nc(e))==="formdata"||t==="object"&&Gt(e.toString)&&e.toString()==="[object FormData]"))},S2=En("URLSearchParams"),[j2,C2,k2,T2]=["ReadableStream","Request","Response","Headers"].map(En),E2=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ma(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let i,o;if(typeof e!="object"&&(e=[e]),Ii(e))for(i=0,o=e.length;i<o;i++)t.call(null,e[i],i,e);else{if(fa(e))return;const c=r?Object.getOwnPropertyNames(e):Object.keys(e),u=c.length;let h;for(i=0;i<u;i++)h=c[i],t.call(null,e[h],h,e)}}function qv(e,t){if(fa(e))return null;t=t.toLowerCase();const r=Object.keys(e);let i=r.length,o;for(;i-- >0;)if(o=r[i],t===o.toLowerCase())return o;return null}const ds=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Kv=e=>!Pi(e)&&e!==ds;function _h(){const{caseless:e,skipUndefined:t}=Kv(this)&&this||{},r={},i=(o,c)=>{const u=e&&qv(r,c)||c;Ql(r[u])&&Ql(o)?r[u]=_h(r[u],o):Ql(o)?r[u]=_h({},o):Ii(o)?r[u]=o.slice():(!t||!Pi(o))&&(r[u]=o)};for(let o=0,c=arguments.length;o<c;o++)arguments[o]&&ma(arguments[o],i);return r}const P2=(e,t,r,{allOwnKeys:i}={})=>(ma(t,(o,c)=>{r&&Gt(o)?e[c]=zv(o,r):e[c]=o},{allOwnKeys:i}),e),R2=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),A2=(e,t,r,i)=>
vendor: 1,815 bytes, line 292
292{e.prototype=Object.create(t.prototype,i),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},_2=(e,t,r,i)=>{let o,c,u;const h={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),c=o.length;c-- >0;)u=o[c],(!i||i(u,e,t))&&!h[u]&&(t[u]=e[u],h[u]=!0);e=r!==!1&&vf(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},M2=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const i=e.indexOf(t,r);return i!==-1&&i===r},O2=e=>{if(!e)return null;if(Ii(e))return e;let t=e.length;if(!Wv(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},L2=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&vf(Uint8Array)),D2=(e,t)=>{const i=(e&&e[bc]).call(e);let o;for(;(o=i.next())&&!o.done;){const c=o.value;t.call(e,c[0],c[1])}},I2=(e,t)=>{let r;const i=[];for(;(r=e.exec(t))!==null;)i.push(r);return i},F2=En("HTMLFormElement"),B2=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,i,o){return i.toUpperCase()+o}),W0=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),V2=En("RegExp"),Gv=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),i={};ma(r,(o,c)=>{let u;(u=t(o,c,e))!==!1&&(i[c]=u||o)}),Object.defineProperties(e,i)},U2=e=>{Gv(e,(t,r)=>{if(Gt(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const i=e[r];if(Gt(i)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},z2=(e,t)=>{const r={},i=o=>{o.forEach(c=>{r[c]=!0})};return Ii(e)?i(e):i(String(e).split(t)),r},H2=()=>{},$2=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function W2(e){return!!(e&&Gt(e.append)&&e[Hv]==="FormData"&&e[bc])}const q2=e=>{const t=new Array(10),r=(i,o)=>{if(pa(i)){if(t.indexOf(i)>=0)return;if(fa(i))return i;
vendor: 4,537 bytes, line 292
292if(!("toJSON"in i)){t[o]=i;const c=Ii(i)?[]:{};return ma(i,(u,h)=>{const p=r(u,o+1);!Pi(p)&&(c[h]=p)}),t[o]=void 0,c}}return i};return r(e,0)},K2=En("AsyncFunction"),G2=e=>e&&(pa(e)||Gt(e))&&Gt(e.then)&&Gt(e.catch),Qv=((e,t)=>e?setImmediate:t?((r,i)=>(ds.addEventListener("message",({source:o,data:c})=>{o===ds&&c===r&&i.length&&i.shift()()},!1),o=>{i.push(o),ds.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",Gt(ds.postMessage)),Q2=typeof queueMicrotask<"u"?queueMicrotask.bind(ds):typeof process<"u"&&process.nextTick||Qv,X2=e=>e!=null&&Gt(e[bc]),I={isArray:Ii,isArrayBuffer:$v,isBuffer:fa,isFormData:N2,isArrayBufferView:f2,isString:p2,isNumber:Wv,isBoolean:m2,isObject:pa,isPlainObject:Ql,isEmptyObject:g2,isReadableStream:j2,isRequest:C2,isResponse:k2,isHeaders:T2,isUndefined:Pi,isDate:y2,isFile:x2,isBlob:v2,isRegExp:V2,isFunction:Gt,isStream:b2,isURLSearchParams:S2,isTypedArray:L2,isFileList:w2,forEach:ma,merge:_h,extend:P2,trim:E2,stripBOM:R2,inherits:A2,toFlatObject:_2,kindOf:Nc,kindOfTest:En,endsWith:M2,toArray:O2,forEachEntry:D2,matchAll:I2,isHTMLForm:F2,hasOwnProperty:W0,hasOwnProp:W0,reduceDescriptors:Gv,freezeMethods:U2,toObjectSet:z2,toCamelCase:B2,noop:H2,toFiniteNumber:$2,findKey:qv,global:ds,isContextDefined:Kv,isSpecCompliantForm:W2,toJSONObject:q2,isAsyncFn:K2,isThenable:G2,setImmediate:Qv,asap:Q2,isIterable:X2};function ve(e,t,r,i,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),i&&(this.request=i),o&&(this.response=o,this.status=o.status?o.status:null)}I.inherits(ve,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:I.toJSONObject(this.config),code:this.code,status:this.status}}});const Xv=ve.prototype,Yv={};["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(e=>{Yv[e]={value:e}});Object.defineProperties(ve,Yv);Object.defineProperty(Xv,"isAxiosError",{value:!0});ve.from=(e,t,r,i,o,c)=>{const u=Object.create(Xv);I.toFlatObject(e,u,function(y){return y!==Error.prototype},m=>m!=="isAxiosError");const h=e&&e.message?e.message:"Error",p=t==null&&e?e.code:t;return ve.call(u,h,p,r,i,o),e&&u.cause==null&&Object.defineProperty(u,"cause",{value:e,configurable:!0}),u.name=e&&e.name||"Error",c&&Object.assign(u,c),u};const Y2=null;function Mh(e){return I.isPlainObject(e)||I.isArray(e)}function Jv(e){return I.endsWith(e,"[]")?e.slice(0,-2):e}function q0(e,t,r){return e?e.concat(t).map(function(o,c){return o=Jv(o),!r&&c?"["+o+"]":o}).join(r?".":""):t}function J2(e){return I.isArray(e)&&!e.some(Mh)}const Z2=I.toFlatObject(I,{},null,function(t){return/^is[A-Z]/.test(t)});function jc(e,t,r){if(!I.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=I.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(S,b){return!I.isUndefined(b[S])});const i=r.metaTokens,o=r.visitor||y,c=r.dots,u=r.indexes,p=(r.Blob||typeof Blob<"u"&&Blob)&&I.isSpecCompliantForm(t);if(!I.isFunction(o))throw new TypeError("visitor must be a function");function m(N){if(N===null)return"";if(I.isDate(N))return N.toISOString();if(I.isBoolean(N))return N.toString();if(!p&&I.isBlob(N))throw new ve("Blob is not supported. Use a Buffer instead.");return I.isArrayBuffer(N)||I.isTypedArray(N)?p&&typeof Blob=="function"?new Blob([N]):Buffer.from(N):N}function y(N,S,b){let E=N;if(N&&!b&&typeof N=="object"){if(I.endsWith(S,"{}"))S=i?S:S.slice(0,-2),N=JSON.stringify(N);else if(I.isArray(N)&&J2(N)||(I.isFileList(N)||I.endsWith(S,"[]"))&&(E=I.toArray(N)))return S=Jv(S),E.forEach(function(_,M){!(I.isUndefined(_)||_===null)&&t.append(u===!0?q0([S],M,c):u===null?S:S+"[]",m(_))}),!1}return Mh(N)?!0:(t.append(q0(b,S,c),m(N)),!1)}const x=[],w=Object.assign(Z2,{defaultVisitor:y,convertValue:m,isVisitable:Mh});function j(N,S){if(!I.isUndefined(N)){if(x.indexOf(N)!==-1)throw Error("Circular reference detected in "+S.join("."));x.push(N),I.forEach(N,function(E,F){(!(I.isUndefined(E)||E===null)&&o.call(t,E,I.isString(F)?F.trim():F,S,w))===!0&&j(E,S?S.concat(F):[F])}),x.pop()}}if(!I.isObject(e))throw new TypeError("data must be an object");return j(e),t}
vendor: 5,375 bytes, lines 292-293
292function K0(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(i){return t[i]})}function wf(e,t){this._pairs=[],e&&jc(e,this,t)}const Zv=wf.prototype;Zv.append=function(t,r){this._pairs.push([t,r])};Zv.toString=function(t){const r=t?function(i){return t.call(this,i,K0)}:K0;return this._pairs.map(function(o){return r(o[0])+"="+r(o[1])},"").join("&")};function eT(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function ew(e,t,r){if(!t)return e;const i=r&&r.encode||eT;I.isFunction(r)&&(r={serialize:r});const o=r&&r.serialize;let c;if(o?c=o(t,r):c=I.isURLSearchParams(t)?t.toString():new wf(t,r).toString(i),c){const u=e.indexOf("#");u!==-1&&(e=e.slice(0,u)),e+=(e.indexOf("?")===-1?"?":"&")+c}return e}class G0{constructor(){this.handlers=[]}use(t,r,i){return this.handlers.push({fulfilled:t,rejected:r,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){I.forEach(this.handlers,function(i){i!==null&&t(i)})}}const tw={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},tT=typeof URLSearchParams<"u"?URLSearchParams:wf,nT=typeof FormData<"u"?FormData:null,rT=typeof Blob<"u"?Blob:null,sT={isBrowser:!0,classes:{URLSearchParams:tT,FormData:nT,Blob:rT},protocols:["http","https","file","blob","url","data"]},bf=typeof window<"u"&&typeof document<"u",Oh=typeof navigator=="object"&&navigator||void 0,iT=bf&&(!Oh||["ReactNative","NativeScript","NS"].indexOf(Oh.product)<0),oT=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",aT=bf&&window.location.href||"http://localhost",lT=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:bf,hasStandardBrowserEnv:iT,hasStandardBrowserWebWorkerEnv:oT,navigator:Oh,origin:aT},Symbol.toStringTag,{value:"Module"})),Pt={...lT,...sT};function cT(e,t){return jc(e,new Pt.classes.URLSearchParams,{visitor:function(r,i,o,c){return Pt.isNode&&I.isBuffer(r)?(this.append(i,r.toString("base64")),!1):c.defaultVisitor.apply(this,arguments)},...t})}function uT(e){return I.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function dT(e){const t={},r=Object.keys(e);let i;const o=r.length;let c;for(i=0;i<o;i++)c=r[i],t[c]=e[c];return t}function nw(e){function t(r,i,o,c){let u=r[c++];if(u==="__proto__")return!0;const h=Number.isFinite(+u),p=c>=r.length;return u=!u&&I.isArray(o)?o.length:u,p?(I.hasOwnProp(o,u)?o[u]=[o[u],i]:o[u]=i,!h):((!o[u]||!I.isObject(o[u]))&&(o[u]=[]),t(r,i,o[u],c)&&I.isArray(o[u])&&(o[u]=dT(o[u])),!h)}if(I.isFormData(e)&&I.isFunction(e.entries)){const r={};return I.forEachEntry(e,(i,o)=>{t(uT(i),o,r,0)}),r}return null}function hT(e,t,r){if(I.isString(e))try{return(t||JSON.parse)(e),I.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(r||JSON.stringify)(e)}const ga={transitional:tw,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const i=r.getContentType()||"",o=i.indexOf("application/json")>-1,c=I.isObject(t);if(c&&I.isHTMLForm(t)&&(t=new FormData(t)),I.isFormData(t))return o?JSON.stringify(nw(t)):t;if(I.isArrayBuffer(t)||I.isBuffer(t)||I.isStream(t)||I.isFile(t)||I.isBlob(t)||I.isReadableStream(t))return t;if(I.isArrayBufferView(t))return t.buffer;if(I.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let h;if(c){if(i.indexOf("application/x-www-form-urlencoded")>-1)return cT(t,this.formSerializer).toString();if((h=I.isFileList(t))||i.indexOf("multipart/form-data")>-1){const p=this.env&&this.env.FormData;return jc(h?{"files[]":t}:t,p&&new p,this.formSerializer)}}return c||o?(r.setContentType("application/json",!1),hT(t)):t}],transformResponse:[function(t){const r=this.transitional||ga.transitional,i=r&&r.forcedJSONParsing,o=this.responseType==="json";if(I.isResponse(t)||I.isReadableStream(t))return t;if(t&&I.isString(t)&&(i&&!this.responseType||o)){const u=!(r&&r.silentJSONParsing)&&o;try{return JSON.parse(t,this.parseReviver)}catch(h){if(u)throw h.name==="SyntaxError"?ve.from(h,ve.ERR_BAD_RESPONSE,this,null,this.response):h}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Pt.classes.FormData,Blob:Pt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};I.forEach(["delete","get","head","post","put","patch"],e=>{ga.headers[e]={}});const fT=I.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"]),pT=e=>{const t={};let r,i,o;return e&&e.split(` 293`).forEach(function(u){o=u.indexOf(":"),r=u.substring(0,o).trim().toLowerCase(),i=u.substring(o+1).trim(),!(!r||t[r]&&fT[r])&&(r==="set-cookie"?t[r]?t[r].push(i):t[r]=[i]:t[r]=t[r]?t[r]+", "+i:i)}),t},Q0=Symbol("internals");function Ao(e){return e&&String(e).trim().toLowerCase()}function Xl(e){return e===!1||e==null?e:I.isArray(e)?e.map(Xl):String(e)}function mT(e){const t=Object.create(null),r=/([^\s,;
293=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=r.exec(e);)t[i[1]]=i[2];return t}const gT=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function zd(e,t,r,i,o){if(I.isFunction(i))return i.call(this,t,r);if(o&&(t=r),!!I.isString(t)){if(I.isString(i))return t.indexOf(i)!==-1;if(I.isRegExp(i))return i.test(t)}}function yT(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,i)=>r.toUpperCase()+i)}function xT(e,t){const r=I.toCamelCase(" "+t);["get","set","has"].forEach(i=>{Object.defineProperty(e,i+r,{value:function(o,c,u){return this[i].call(this,t,o,c,u)},configurable:!0})})}let Qt=class{constructor(t){t&&this.set(t)}set(t,r,i){const o=this;function c(h,p,m){const y=Ao(p);if(!y)throw new Error("header name must be a non-empty string");const x=I.findKey(o,y);(!x||o[x]===void 0||m===!0||m===void 0&&o[x]!==!1)&&(o[x||p]=Xl(h))}const u=(h,p)=>I.forEach(h,(m,y)=>c(m,y,p));if(I.isPlainObject(t)||t instanceof this.constructor)u(t,r);else if(I.isString(t)&&(t=t.trim())&&!gT(t))u(pT(t),r);else if(I.isObject(t)&&I.isIterable(t)){let h={},p,m;for(const y of t){if(!I.isArray(y))throw TypeError("Object iterator must return a key-value pair");h[m=y[0]]=(p=h[m])?I.isArray(p)?[...p,y[1]]:[p,y[1]]:y[1]}u(h,r)}else t!=null&&c(r,t,i);return this}get(t,r){if(t=Ao(t),t){const i=I.findKey(this,t);if(i){const o=this[i];if(!r)return o;if(r===!0)return mT(o);if(I.isFunction(r))return r.call(this,o,i);if(I.isRegExp(r))return r.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=Ao(t),t){const i=I.findKey(this,t);return!!(i&&this[i]!==void 0&&(!r||zd(this,this[i],i,r)))}return!1}delete(t,r){const i=this;let o=!1;function c(u){if(u=Ao(u),u){const h=I.findKey(i,u);h&&(!r||zd(i,i[h],h,r))&&(delete i[h],o=!0)}}return I.isArray(t)?t.forEach(c):c(t),o}clear(t){const r=Object.keys(this);let i=r.length,o=!1;for(;i--;){const c=r[i];(!t||zd(this,this[c],c,t,!0))&&(delete this[c],o=!0)}return o}normalize(t){const r=this,i={};return I.forEach(this,(o,c)=>{const u=I.findKey(i,c);if(u){r[u]=Xl(o),delete r[c];return}const h=t?yT(c):String(c).trim();h!==c&&delete r[c],r[h]=Xl(o),i[h]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return I.forEach(this,(i,o)=>{i!=null&&i!==!1&&(r[o]=t&&I.isArray(i)?i.join(", "):i)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(` 294`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const i=new this(t);return r.forEach(o=>i.set(o)),i}static accessor(t){const i=(this[Q0]=this[Q0]={accessors:{}}).accessors,o=this.prototype;function c(u){const h=Ao(u);i[h]||(xT(o,u),i[h]=!0)}return I.isArray(t)?t.forEach(c):c(t),this}};Qt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);I.reduceDescriptors(Qt.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(i){this[r]=i}}});I.freezeMethods(Qt);function Hd(e,t){const r=this||ga,i=t||r,o=Qt.from(i.headers);let c=i.data;return I.forEach(e,function(h){c=h.call(r,c,o.normalize(),t?t.status:void 0)}),o.normalize(),c}function rw(e){return!!(e&&e.__CANCEL__)}function Fi(e,t,r){ve.call(this,e??"canceled",ve.ERR_CANCELED,t,r),this.name="CanceledError"}I.inherits(Fi,ve,{__CANCEL__:!0});function sw(e,t,r){const i=r.config.validateStatus;!r.status||!i||i(r.status)?e(r):t(new ve("Request failed with status code "+r.status,[ve.ERR_BAD_REQUEST,ve.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function vT(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function wT(e,t){e=e||10;const r=new Array(e),i=new Array(e);let o=0,c=0,u;return t=t!==void 0?t:1e3,function(p){const m=Date.now(),y=i[c];u||(u=m),r[o]=p,i[o]=m;let x=c,w=0;for(;x!==o;)w+=r[x++],x=x%e;if(o=(o+1)%e,o===c&&(c=(c+1)%e),m-u<t)return;const j=y&&m-y;return j?Math.round(w*1e3/j):void 0}}function bT(e,t){let r=0,i=1e3/t,o,c;const u=(m,y=Date.now())=>{r=y,o=null,c&&(clearTimeout(c),c=null),e(...m)};return[(...m)=>{const y=Date.now(),x=y-r;x>=i?u(m,y):(o=m,c||(c=setTimeout(()=>{c=null,u(o)},i-x)))},()=>o&&u(o)]}const cc=(e,t,r=3)=>{let i=0;const o=wT(50,250);return bT(c=>
vendor: 7,992 bytes, line 294
294{const u=c.loaded,h=c.lengthComputable?c.total:void 0,p=u-i,m=o(p),y=u<=h;i=u;const x={loaded:u,total:h,progress:h?u/h:void 0,bytes:p,rate:m||void 0,estimated:m&&h&&y?(h-u)/m:void 0,event:c,lengthComputable:h!=null,[t?"download":"upload"]:!0};e(x)},r)},X0=(e,t)=>{const r=e!=null;return[i=>t[0]({lengthComputable:r,total:e,loaded:i}),t[1]]},Y0=e=>(...t)=>I.asap(()=>e(...t)),NT=Pt.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,Pt.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(Pt.origin),Pt.navigator&&/(msie|trident)/i.test(Pt.navigator.userAgent)):()=>!0,ST=Pt.hasStandardBrowserEnv?{write(e,t,r,i,o,c){const u=[e+"="+encodeURIComponent(t)];I.isNumber(r)&&u.push("expires="+new Date(r).toGMTString()),I.isString(i)&&u.push("path="+i),I.isString(o)&&u.push("domain="+o),c===!0&&u.push("secure"),document.cookie=u.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function jT(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function CT(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function iw(e,t,r){let i=!jT(t);return e&&(i||r==!1)?CT(e,t):t}const J0=e=>e instanceof Qt?{...e}:e;function Ts(e,t){t=t||{};const r={};function i(m,y,x,w){return I.isPlainObject(m)&&I.isPlainObject(y)?I.merge.call({caseless:w},m,y):I.isPlainObject(y)?I.merge({},y):I.isArray(y)?y.slice():y}function o(m,y,x,w){if(I.isUndefined(y)){if(!I.isUndefined(m))return i(void 0,m,x,w)}else return i(m,y,x,w)}function c(m,y){if(!I.isUndefined(y))return i(void 0,y)}function u(m,y){if(I.isUndefined(y)){if(!I.isUndefined(m))return i(void 0,m)}else return i(void 0,y)}function h(m,y,x){if(x in t)return i(m,y);if(x in e)return i(void 0,m)}const p={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:h,headers:(m,y,x)=>o(J0(m),J0(y),x,!0)};return I.forEach(Object.keys({...e,...t}),function(y){const x=p[y]||o,w=x(e[y],t[y],y);I.isUndefined(w)&&x!==h||(r[y]=w)}),r}const ow=e=>{const t=Ts({},e);let{data:r,withXSRFToken:i,xsrfHeaderName:o,xsrfCookieName:c,headers:u,auth:h}=t;if(t.headers=u=Qt.from(u),t.url=ew(iw(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),h&&u.set("Authorization","Basic "+btoa((h.username||"")+":"+(h.password?unescape(encodeURIComponent(h.password)):""))),I.isFormData(r)){if(Pt.hasStandardBrowserEnv||Pt.hasStandardBrowserWebWorkerEnv)u.setContentType(void 0);else if(I.isFunction(r.getHeaders)){const p=r.getHeaders(),m=["content-type","content-length"];Object.entries(p).forEach(([y,x])=>{m.includes(y.toLowerCase())&&u.set(y,x)})}}if(Pt.hasStandardBrowserEnv&&(i&&I.isFunction(i)&&(i=i(t)),i||i!==!1&&NT(t.url))){const p=o&&c&&ST.read(c);p&&u.set(o,p)}return t},kT=typeof XMLHttpRequest<"u",TT=kT&&function(e){return new Promise(function(r,i){const o=ow(e);let c=o.data;const u=Qt.from(o.headers).normalize();let{responseType:h,onUploadProgress:p,onDownloadProgress:m}=o,y,x,w,j,N;function S(){j&&j(),N&&N(),o.cancelToken&&o.cancelToken.unsubscribe(y),o.signal&&o.signal.removeEventListener("abort",y)}let b=new XMLHttpRequest;b.open(o.method.toUpperCase(),o.url,!0),b.timeout=o.timeout;function E(){if(!b)return;const _=Qt.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),U={data:!h||h==="text"||h==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:_,config:e,request:b};sw(function(G){r(G),S()},function(G){i(G),S()},U),b=null}"onloadend"in b?b.onloadend=E:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)||setTimeout(E)},b.onabort=function(){b&&(i(new ve("Request aborted",ve.ECONNABORTED,e,b)),b=null)},b.onerror=function(M){const U=M&&M.message?M.message:"Network Error",K=new ve(U,ve.ERR_NETWORK,e,b);K.event=M||null,i(K),b=null},b.ontimeout=function(){let M=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const U=o.transitional||tw;o.timeoutErrorMessage&&(M=o.timeoutErrorMessage),i(new ve(M,U.clarifyTimeoutError?ve.ETIMEDOUT:ve.ECONNABORTED,e,b)),b=null},c===void 0&&u.setContentType(null),"setRequestHeader"in b&&I.forEach(u.toJSON(),function(M,U){b.setRequestHeader(U,M)}),I.isUndefined(o.withCredentials)||(b.withCredentials=!!o.withCredentials),h&&h!=="json"&&(b.responseType=o.responseType),m&&([w,N]=cc(m,!0),b.addEventListener("progress",w)),p&&b.upload&&([x,j]=cc(p),b.upload.addEventListener("progress",x),b.upload.addEventListener("loadend",j)),(o.cancelToken||o.signal)&&(y=_=>{b&&(i(!_||_.type?new Fi(null,e,b):_),b.abort(),b=null)},o.cancelToken&&o.cancelToken.subscribe(y),o.signal&&(o.signal.aborted?y():o.signal.addEventListener("abort",y)));const F=vT(o.url);if(F&&Pt.protocols.indexOf(F)===-1){i(new ve("Unsupported protocol "+F+":",ve.ERR_BAD_REQUEST,e));return}b.send(c||null)})},ET=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let i=new AbortController,o;const c=function(m){if(!o){o=!0,h();const y=m instanceof Error?m:this.reason;i.abort(y instanceof ve?y:new Fi(y instanceof Error?y.message:y))}};let u=t&&setTimeout(()=>{u=null,c(new ve(`timeout ${t} of ms exceeded`,ve.ETIMEDOUT))},t);const h=()=>{e&&(u&&clearTimeout(u),u=null,e.forEach(m=>{m.unsubscribe?m.unsubscribe(c):m.removeEventListener("abort",c)}),e=null)};e.forEach(m=>m.addEventListener("abort",c));const{signal:p}=i;return p.unsubscribe=()=>I.asap(h),p}},PT=function*(e,t){let r=e.byteLength;if(r<t){yield e;return}let i=0,o;for(;i<r;)o=i+t,yield e.slice(i,o),i=o},RT=async function*(e,t){for await(const r of AT(e))yield*PT(r,t)},AT=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:r,value:i}=await t.read();if(r)break;yield i}}finally{await t.cancel()}},Z0=(e,t,r,i)=>{const o=RT(e,t);let c=0,u,h=p=>{u||(u=!0,i&&i(p))};return new ReadableStream({async pull(p){try{const{done:m,value:y}=await o.next();if(m){h(),p.close();return}let x=y.byteLength;if(r){let w=c+=x;r(w)}p.enqueue(new Uint8Array(y))}catch(m){throw h(m),m}},cancel(p){return h(p),o.return()}},{highWaterMark:2})},ey=64*1024,{isFunction:Bl}=I,_T=(({Request:e,Response:t})=>({Request:e,Response:t}))(I.global),{ReadableStream:ty,TextEncoder:ny}=I.global,ry=(e,...t)=>{try{return!!e(...t)}catch{return!1}},MT=e=>{e=I.merge.call({skipUndefined:!0},_T,e);const{fetch:t,Request:r,Response:i}=e,o=t?Bl(t):typeof fetch=="function",c=Bl(r),u=Bl(i);if(!o)return!1;const h=o&&Bl(ty),p=o&&(typeof ny=="function"?(N=>S=>N.encode(S))(new ny):async N=>new Uint8Array(await new r(N).arrayBuffer())),m=c&&h&&ry(()=>{let N=!1;const S=new r(Pt.origin,{body:new ty,method:"POST",get duplex(){return N=!0,"half"}}).headers.has("Content-Type");return N&&!S}),y=u&&h&&ry(()=>I.isReadableStream(new i("").body)),x={stream:y&&(N=>N.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(N=>{!x[N]&&(x[N]=(S,b)=>{let E=S&&S[N];if(E)return E.call(S);throw new ve(`Response type '${N}' is not supported`,ve.ERR_NOT_SUPPORT,b)})});const w=async N=>{if(N==null)return 0;if(I.isBlob(N))return N.size;if(I.isSpecCompliantForm(N))return(await new r(Pt.origin,{method:"POST",body:N}).arrayBuffer()).byteLength;if(I.isArrayBufferView(N)||I.isArrayBuffer(N))return N.byteLength;if(I.isURLSearchParams(N)&&(N=N+""),I.isString(N))return(await p(N)).byteLength},j=async(N,S)=>{const b=I.toFiniteNumber(N.getContentLength());return b??w(S)};return async N=>{let{url:S,method:b,data:E,signal:F,cancelToken:_,timeout:M,onDownloadProgress:U,onUploadProgress:K,responseType:G,headers:V,withCredentials:he="same-origin",fetchOptions:J}=ow(N),Se=t||fetch;
vendor: 7,793 bytes, lines 294-297
294G=G?(G+"").toLowerCase():"text";let Oe=ET([F,_&&_.toAbortSignal()],M),Ie=null;const Ue=Oe&&Oe.unsubscribe&&(()=>{Oe.unsubscribe()});let Xe;try{if(K&&m&&b!=="get"&&b!=="head"&&(Xe=await j(V,E))!==0){let A=new r(S,{method:"POST",body:E,duplex:"half"}),z;if(I.isFormData(E)&&(z=A.headers.get("content-type"))&&V.setContentType(z),A.body){const[le,ce]=X0(Xe,cc(Y0(K)));E=Z0(A.body,ey,le,ce)}}I.isString(he)||(he=he?"include":"omit");const xe=c&&"credentials"in r.prototype,me={...J,signal:Oe,method:b.toUpperCase(),headers:V.normalize().toJSON(),body:E,duplex:"half",credentials:xe?he:void 0};Ie=c&&new r(S,me);let B=await(c?Se(Ie,J):Se(S,me));const ae=y&&(G==="stream"||G==="response");if(y&&(U||ae&&Ue)){const A={};["status","statusText","headers"].forEach(Ne=>{A[Ne]=B[Ne]});const z=I.toFiniteNumber(B.headers.get("content-length")),[le,ce]=U&&X0(z,cc(Y0(U),!0))||[];B=new i(Z0(B.body,ey,le,()=>{ce&&ce(),Ue&&Ue()}),A)}G=G||"text";let Q=await x[I.findKey(x,G)||"text"](B,N);return!ae&&Ue&&Ue(),await new Promise((A,z)=>{sw(A,z,{data:Q,headers:Qt.from(B.headers),status:B.status,statusText:B.statusText,config:N,request:Ie})})}catch(xe){throw Ue&&Ue(),xe&&xe.name==="TypeError"&&/Load failed|fetch/i.test(xe.message)?Object.assign(new ve("Network Error",ve.ERR_NETWORK,N,Ie),{cause:xe.cause||xe}):ve.from(xe,xe&&xe.code,N,Ie)}}},OT=new Map,aw=e=>{let t=e?e.env:{};const{fetch:r,Request:i,Response:o}=t,c=[i,o,r];let u=c.length,h=u,p,m,y=OT;for(;h--;)p=c[h],m=y.get(p),m===void 0&&y.set(p,m=h?new Map:MT(t)),y=m;return m};aw();const Lh={http:Y2,xhr:TT,fetch:{get:aw}};I.forEach(Lh,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const sy=e=>`- ${e}`,LT=e=>I.isFunction(e)||e===null||e===!1,lw={getAdapter:(e,t)=>{e=I.isArray(e)?e:[e];const{length:r}=e;let i,o;const c={};for(let u=0;u<r;u++){i=e[u];let h;if(o=i,!LT(i)&&(o=Lh[(h=String(i)).toLowerCase()],o===void 0))throw new ve(`Unknown adapter '${h}'`);if(o&&(I.isFunction(o)||(o=o.get(t))))break;c[h||"#"+u]=o}if(!o){const u=Object.entries(c).map(([p,m])=>`adapter ${p} `+(m===!1?"is not supported by the environment":"is not available in the build"));let h=r?u.length>1?`since : 295`+u.map(sy).join(` 296`):" "+sy(u[0]):"as no adapter specified";throw new ve("There is no suitable adapter to dispatch the request "+h,"ERR_NOT_SUPPORT")}return o},adapters:Lh};function $d(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Fi(null,e)}function iy(e){return $d(e),e.headers=Qt.from(e.headers),e.data=Hd.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),lw.getAdapter(e.adapter||ga.adapter,e)(e).then(function(i){return $d(e),i.data=Hd.call(e,e.transformResponse,i),i.headers=Qt.from(i.headers),i},function(i){return rw(i)||($d(e),i&&i.response&&(i.response.data=Hd.call(e,e.transformResponse,i.response),i.response.headers=Qt.from(i.response.headers))),Promise.reject(i)})}const cw="1.12.2",Cc={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Cc[e]=function(i){return typeof i===e||"a"+(t<1?"n ":" ")+e}});const oy={};Cc.transitional=function(t,r,i){function o(c,u){return"[Axios v"+cw+"] Transitional option '"+c+"'"+u+(i?". "+i:"")}return(c,u,h)=>{if(t===!1)throw new ve(o(u," has been removed"+(r?" in "+r:"")),ve.ERR_DEPRECATED);return r&&!oy[u]&&(oy[u]=!0,console.warn(o(u," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(c,u,h):!0}};Cc.spelling=function(t){return(r,i)=>(console.warn(`${i} is likely a misspelling of ${t}`),!0)};function DT(e,t,r){if(typeof e!="object")throw new ve("options must be an object",ve.ERR_BAD_OPTION_VALUE);const i=Object.keys(e);let o=i.length;for(;o-- >0;){const c=i[o],u=t[c];if(u){const h=e[c],p=h===void 0||u(h,c,e);if(p!==!0)throw new ve("option "+c+" must be "+p,ve.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new ve("Unknown option "+c,ve.ERR_BAD_OPTION)}}const Yl={assertOptions:DT,validators:Cc},On=Yl.validators;let Ns=class{constructor(t){this.defaults=t||{},this.interceptors={request:new G0,response:new G0}}async request(t,r){try{return await this._request(t,r)}catch(i){if(i instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const c=o.stack?o.stack.replace(/^.+\n/,""):"";try{i.stack?c&&!String(i.stack).endsWith(c.replace(/^.+\n.+\n/,""))&&(i.stack+=` 297`+c):i.stack=c}catch{}}throw i}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Ts(this.defaults,r);const{transitional:i,paramsSerializer:o,headers:c}=r;i!==void 0&&Yl.assertOptions(i,{silentJSONParsing:On.transitional(On.boolean),forcedJSONParsing:On.transitional(On.boolean),clarifyTimeoutError:On.transitional(On.boolean)},!1),o!=null&&(I.isFunction(o)?r.paramsSerializer={serialize:o}:Yl.assertOptions(o,{encode:On.function,serialize:On.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),Yl.assertOptions(r,{baseUrl:On.spelling("baseURL"),withXsrfToken:On.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let u=c&&I.merge(c.common,c[r.method]);c&&I.forEach(["delete","get","head","post","put","patch","common"],N=>{delete c[N]}),r.headers=Qt.concat(u,c);const h=[];let p=!0;this.interceptors.request.forEach(function(S){typeof S.runWhen=="function"&&S.runWhen(r)===!1||(p=p&&S.synchronous,h.unshift(S.fulfilled,S.rejected))});const m=[];this.interceptors.response.forEach(function(S){m.push(S.fulfilled,S.rejected)});let y,x=0,w;if(!p){const N=[iy.bind(this),void 0];for(N.unshift(...h),N.push(...m),w=N.length,y=Promise.resolve(r);x<w;)y=y.then(N[x++],N[x++]);return y}w=h.length;let j=r;for(;x<w;){const N=h[x++],S=h[x++];try{j=N(j)}catch(b){S.call(this,b);break}}try{y=iy.call(this,j)}catch(N){return Promise.reject(N)}for(x=0,w=m.length;x<w;)y=y.then(m[x++],m[x++]);return y}getUri(t){t=Ts(this.defaults,t);const r=iw(t.baseURL,t.url,t.allowAbsoluteUrls);return ew(r,t.params,t.paramsSerializer)}};I.forEach(["delete","get","head","options"],function(t){Ns.prototype[t]=function(r,i){return this.request(Ts(i||{},{method:t,url:r,data:(i||{}).data}))}});I.forEach(["post","put","patch"],function(t){function r(i){return function(c,u,h){return this.request(Ts(h||{},{method:t,headers:i?{"Content-Type":"multipart/form-data"}:{},url:c,data:u}))}}Ns.prototype[t]=r(),Ns.prototype[t+"Form"]=r(!0)});let IT=class uw{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(c){r=c});const i=this;this.promise.then(o=>{if(!i._listeners)return;let c=i._listeners.length;for(;c-- >0;)i._listeners[c](o);i._listeners=null}),this.promise.then=o=>{let c;const u=new Promise(h=>{i.subscribe(h),c=h}).then(o);return u.cancel=function(){i.unsubscribe(c)},u},t(function(c,u,h){i.reason||(i.reason=new Fi(c,u,h),r(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=i=>{t.abort(i)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new uw(function(o){t=o}),cancel:t}}};function FT(e){return function(r){return e.apply(null,r)}}function BT(e){return I.isObject(e)&&e.isAxiosError===!0}const Dh={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
297alContent: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};Object.entries(Dh).forEach(([e,t])=>{Dh[t]=e});function dw(e){const t=new Ns(e),r=zv(Ns.prototype.request,t);return I.extend(r,Ns.prototype,t,{allOwnKeys:!0}),I.extend(r,t,null,{allOwnKeys:!0}),r.create=function(o){return dw(Ts(e,o))},r}const at=dw(ga);at.Axios=Ns;at.CanceledError=Fi;at.CancelToken=IT;at.isCancel=rw;at.VERSION=cw;at.toFormData=jc;at.AxiosError=ve;at.Cancel=at.CanceledError;at.all=function(t){return Promise.all(t)};at.spread=FT;at.isAxiosError=BT;at.mergeConfig=Ts;at.AxiosHeaders=Qt;at.formToJSON=e=>nw(I.isHTMLForm(e)?new FormData(e):e);at.getAdapter=lw.getAdapter;at.HttpStatusCode=Dh;at.default=at;const{Axios:n5,AxiosError:r5,CanceledError:s5,isCancel:i5,CancelToken:o5,VERSION:a5,all:l5,Cancel:c5,isAxiosError:u5,spread:d5,toFormData:h5,AxiosHeaders:f5,HttpStatusCode:p5,formToJSON:m5,getAdapter:g5,mergeConfig:y5}=at,VT=typeof window>"u",ay=!VT&&window.self!==window.top,Wd=()=>Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15),bt=[];for(let e=0;e<256;++e)bt.push((e+256).toString(16).slice(1));function UT(e,t=0){return(bt[e[t+0]]+bt[e[t+1]]+bt[e[t+2]]+bt[e[t+3]]+"-"+bt[e[t+4]]+bt[e[t+5]]+"-"+bt[e[t+6]]+bt[e[t+7]]+"-"+bt[e[t+8]]+bt[e[t+9]]+"-"+bt[e[t+10]]+bt[e[t+11]]+bt[e[t+12]]+bt[e[t+13]]+bt[e[t+14]]+bt[e[t+15]]).toLowerCase()}let qd;const zT=new Uint8Array(16);function HT(){if(!qd){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");qd=crypto.getRandomValues.bind(crypto)}return qd(zT)}const $T=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),ly={randomUUID:$T};function WT(e,t,r){var o;e=e||{};const i=e.random??((o=e.rng)==null?void 0:o.call(e))??HT();if(i.length<16)throw new Error("Random bytes length must be >= 16");return i[6]=i[6]&15|64,i[8]=i[8]&63|128,UT(i)}function qT(e,t,r){return ly.randomUUID&&!e?ly.randomUUID():WT(e)}class KT extends Error{constructor(t,r,i,o,c){super(t),this.name="Base44Error",this.status=r,this.code=i,this.data=o,this.originalError=c}toJSON(){return{name:this.name,message:this.message,status:this.status,code:this.code,data:this.data}}}function Io({baseURL:e,headers:t={},token:r,interceptResponses:i=!0,onError:o}){const c=at.create({baseURL:e,headers:{"Content-Type":"application/json",Accept:"application/json",...t}});return r&&(c.defaults.headers.common.Authorization=`Bearer ${r}`),c.interceptors.request.use(u=>{typeof window<"u"&&u.headers.set("X-Origin-URL",window.location.href);const h=qT();if(u.requestId=h,ay)try{window.parent.postMessage({type:"api-request-start",requestId:h,data:{url:e+u.url,method:u.method,body:u.data instanceof FormData?"[FormData object]":u.data}},"*")}catch{}return u}),i&&c.interceptors.response.use(u=>{var h;const p=(h=u.config)===null||h===void 0?void 0:h.requestId;try{ay&&p&&window.parent.postMessage({type:"api-request-end",requestId:p,data:{statusCode:u.status,response:u.data}},"*")}catch{}return u.data},u=>{var h,p,m,y,x,w,j,N;const S=((p=(h=u.response)===null||h===void 0?void 0:h.data)===null||p===void 0?void 0:p.message)||((y=(m=u.response)===null||m===void 0?void 0:m.data)===null||y===void 0?void 0:y.detail)||u.message,b=new KT(S,(x=u.response)===null||x===void 0?void 0:x.status,(j=(w=u.response)===null||w===void 0?void 0:w.data)===null||j===void 0?void 0:j.code,(N=u.response)===null||N===void 0?void 0:N.data,u);return o==null||o(b),Promise.reject(b)}),c}function cy(e){const{axios:t,appId:r,getSocket:i}=e;return new Proxy({},{get(o,c){if(!(typeof c!="string"||c==="then"||c.startsWith("_")))return QT(t,r,c,i)}})}function GT(e){var t;try{const r=JSON.parse(e);return{type:r.type,data:r.data,id:r.id||((t=r.data)===null||t===void 0?void 0:t.id),timestamp:r.timestamp||new Date().toISOString()}}catch(r){return console.warn("[Base44 SDK] Failed to parse realtime message:",r),null}}
297function QT(e,t,r,i){const o=`/apps/${t}/entities/${r}`;return{async list(c,u,h,p){const m={};return c&&(m.sort=c),u&&(m.limit=u),h&&(m.skip=h),p&&(m.fields=Array.isArray(p)?p.join(","):p),e.get(o,{params:m})},async filter(c,u,h,p,m){const y={q:JSON.stringify(c)};return u&&(y.sort=u),h&&(y.limit=h),p&&(y.skip=p),m&&(y.fields=Array.isArray(m)?m.join(","):m),e.get(o,{params:y})},async get(c){return e.get(`${o}/${c}`)},async create(c){return e.post(o,c)},async update(c,u){return e.put(`${o}/${c}`,u)},async delete(c){return e.delete(`${o}/${c}`)},async deleteMany(c){return e.delete(o,{data:c})},async bulkCreate(c){return e.post(`${o}/bulk`,c)},async importEntities(c){const u=new FormData;return u.append("file",c,c.name),e.post(`${o}/import`,u,{headers:{"Content-Type":"multipart/form-data"}})},subscribe(c){const u=`entities:${t}:${r}`;return i().subscribeToRoom(u,{update_model:m=>{const y=GT(m.data);if(y)try{c(y)}catch(x){console.error("[Base44 SDK] Subscription callback error:",x)}}})}}}function XT(e,t){return{async call(r,i,o){if(!(r!=null&&r.trim()))throw new Error("Integration slug is required and cannot be empty");if(!(i!=null&&i.trim()))throw new Error("Operation ID is required and cannot be empty");const{pathParams:c,queryParams:u,...h}=o??{},p={...h,...c&&{path_params:c},...u&&{query_params:u}};return await e.post(`/apps/${t}/integrations/custom/${r}/${i}`,p)}}}function uy(e,t){const r=XT(e,t);return new Proxy({},{get(i,o){if(!(typeof o!="string"||o==="then"||o.startsWith("_")))return o==="custom"?r:new Proxy({},{get(c,u){if(!(typeof u!="string"||u==="then"||u.startsWith("_")))return async h=>{if(typeof h=="string")throw new Error(`Integration ${u} must receive an object with named parameters, received: ${h}`);let p,m;return h instanceof FormData||h&&Object.values(h).some(y=>y instanceof File)?(p=new FormData,Object.keys(h).forEach(y=>{h[y]instanceof File?p.append(y,h[y],h[y].name):typeof h[y]=="object"&&h[y]!==null?p.append(y,JSON.stringify(h[y])):p.append(y,h[y])}),m="multipart/form-data"):(p=h,m="application/json"),o==="Core"?e.post(`/apps/${t}/integration-endpoints/Core/${u}`,p||h,{headers:{"Content-Type":m}}):e.post(`/apps/${t}/integration-endpoints/installable/${o}/integration-endpoints/${u}`,p||h,{headers:{"Content-Type":m}})}}})}})}function YT(e,t,r,i){return{async me(){return e.get(`/apps/${r}/entities/User/me`)},async updateMe(o){return e.put(`/apps/${r}/entities/User/me`,o)},redirectToLogin(o){var c;if(typeof window>"u")throw new Error("Login method can only be used in a browser environment");const u=o?new URL(o,window.location.origin).toString():window.location.href,h=`${(c=i.appBaseUrl)!==null&&c!==void 0?c:""}/login?from_url=${encodeURIComponent(u)}`;window.location.href=h},loginWithProvider(o,c="/"){const u=new URL(c,window.location.origin).toString(),h=o==="google"?"":`/${o}`,p=`${i.serverUrl}/api/apps/auth${h}/login?app_id=${r}&from_url=${encodeURIComponent(u)}`;window.location.href=p},logout(o){if(delete e.defaults.headers.common.Authorization,typeof window<"u"&&window.localStorage)try{window.localStorage.removeItem("base44_access_token"),window.localStorage.removeItem("token")}catch(c){console.error("Failed to remove token from localStorage:",c)}typeof window<"u"&&(o?window.location.href=o:window.location.reload())},setToken(o,c=!0){if(o&&(e.defaults.headers.common.Authorization=`Bearer ${o}`,t.defaults.headers.common.Authorization=`Bearer ${o}`,c&&typeof window<"u"&&window.localStorage))try{window.localStorage.setItem("base44_access_token",o),window.localStorage.setItem("token",o)}catch(u){console.error("Failed to save token to localStorage:",u)}},async loginViaEmailPassword(o,c,u){var h;try{const p=await e.post(`/apps/${r}/auth/login`,{email:o,password:c,...u&&{turnstile_token:u}}),{access_token:m,user:y}=p;return m&&this.setToken(m),{access_token:m,user:y}}catch(p){throw((h=p.response)===null||h===void 0?void 0:h.status)===401&&await this.logout(),p}},async isAuthenticated(){try{return await this.me(),!0}catch{return!1}},inviteUser(o,c){return e.post(`/apps/${r}/users/invite-user`,{user_email:o,role:c})},register(o){return e.post(`/apps/${r}/auth/register`,o)},verifyOtp({email:o,otpCode:c}){return e.post(`/apps/${r}/auth/verify-otp`,{email:o,otp_code:c})},resendOtp(o){return e.post(`/apps/${r}/auth/resend-otp`,{email:o})},resetPasswordRequest(o){return e.post(`/apps/${r}/auth/reset-password-request`,{email:o})},resetPassword({resetToken:o,newPassword:c}){return e.post(`/apps/${r}/auth/reset-password`,{reset_token:o,new_password:c})},changePassword({userId:o,currentPassword:c,newPassword:u}){return e.post(`/apps/${r}/auth/change-password`,{user_id:o,current_password:c,new_password:u})}}}function JT(e,t,r){return{async getAccessToken(i){const o=`/apps/${t}/auth/sso/accesstoken/${i}`,c={};return r&&(c["on-behalf-of"]=`Bearer ${r}`),e.get(o,{headers:c})}}}function ZT(e,t){return{async getAccessToken(r){if(!r||typeof r!="string")throw new Error("Integration type is required and must be a string");return(await e.get(`/apps/${t}/external-auth/tokens/${r}`)).access_token}}}function Nf(e={}){const{storageKey:t="base44_access_token",paramName:r="access_token",saveToStorage:i=!0,removeFromUrl:o=!0}=e;let c=null;if(typeof window<"u"&&window.location)try{const u=new URLSearchParams(window.location.search);if(c=u.get(r),c){if(i&&eE(c,{storageKey:t}),o){u.delete(r);const h=`${window.location.pathname}${u.toString()?`?${u.toString()}`:""}${window.location.hash}`;window.history.replaceState({},document.title,h)}return c}}catch(u){console.error("Error retrieving token from URL:",u)}if(typeof window<"u"&&window.localStorage)try{return c=window.localStorage.getItem(t),c}catch(u){console.error("Error retrieving token from local storage:",u)}return null}function eE(e,t){const{storageKey:r="base44_access_token"}=t;if(typeof window>"u"||!window.localStorage||!e)return!1;try{return window.localStorage.setItem(r,e),window.localStorage.setItem("token",e),!0}catch(i){return console.error("Error saving token to local storage:",i),!1}}function dy(e,t){return{async invoke(r,i){if(typeof i=="string")throw new Error(`Function ${r} must receive an object with named parameters, received: ${i}`);let o,c;return i instanceof FormData||i&&Object.values(i).some(u=>
297u instanceof File)?(o=new FormData,Object.keys(i).forEach(u=>{i[u]instanceof File?o.append(u,i[u],i[u].name):typeof i[u]=="object"&&i[u]!==null?o.append(u,JSON.stringify(i[u])):o.append(u,i[u])}),c="multipart/form-data"):(o=i,c="application/json"),e.post(`/apps/${t}/functions/${r}`,o||i,{headers:{"Content-Type":c}})}}}function hy({axios:e,getSocket:t,appId:r,serverUrl:i,token:o}){const c=`/apps/${r}/agents`,u={},h=()=>e.get(`${c}/conversations`),p=N=>e.get(`${c}/conversations/${N}`);return{getConversations:h,getConversation:p,listConversations:N=>e.get(`${c}/conversations`,{params:N}),createConversation:N=>e.post(`${c}/conversations`,N),addMessage:async(N,S)=>e.post(`${c}/conversations/v2/${N.id}/messages`,S),subscribeToConversation:(N,S)=>{const b=`/agent-conversations/${N}`,E=t(),F=p(N).then(_=>(u[N]=_,_));return E.subscribeToRoom(b,{connect:()=>{},update_model:async({data:_})=>{const M=JSON.parse(_);if(M._message){await F;const U=M._message,K=u[N];if(K){const G=K.messages||[],V=G.findIndex(J=>J.id===U.id),he=V!==-1?G.map((J,Se)=>Se===V?U:J):[...G,U];u[N]={...K,messages:he},S==null||S(u[N])}}}})},getWhatsAppConnectURL:N=>{const S=`${i}/api/apps/${r}/agents/${encodeURIComponent(N)}/whatsapp`,b=o??Nf();return b?`${S}?token=${b}`:S}}}function fy(e,t){const r=`/app-logs/${t}`;return{async logUserInApp(i){await e.post(`${r}/log-user-in-app/${i}`)},async fetchLogs(i={}){return await e.get(r,{params:i})},async getStats(i={}){return await e.get(`${r}/stats`,{params:i})}}}function tE(e,t){return{async inviteUser(r,i){if(i!=="user"&&i!=="admin")throw new Error(`Invalid role: "${i}". Role must be either "user" or "admin".`);return await e.post(`/apps/${t}/runtime/users/invite-user`,{user_email:r,role:i})}}}const Un=Object.create(null);Un.open="0";Un.close="1";Un.ping="2";Un.pong="3";Un.message="4";Un.upgrade="5";Un.noop="6";const Jl=Object.create(null);Object.keys(Un).forEach(e=>{Jl[Un[e]]=e});const Ih={type:"error",data:"parser error"},hw=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",fw=typeof ArrayBuffer=="function",pw=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,Sf=({type:e,data:t},r,i)=>hw&&t instanceof Blob?r?i(t):py(t,i):fw&&(t instanceof ArrayBuffer||pw(t))?r?i(t):py(new Blob([t]),i):i(Un[e]+(t||"")),py=(e,t)=>{const r=new FileReader;return r.onload=function(){const i=r.result.split(",")[1];t("b"+(i||""))},r.readAsDataURL(e)};function my(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}let Kd;function nE(e,t){if(hw&&e.data instanceof Blob)return e.data.arrayBuffer().then(my).then(t);if(fw&&(e.data instanceof ArrayBuffer||pw(e.data)))return t(my(e.data));Sf(e,!1,r=>{Kd||(Kd=new TextEncoder),t(Kd.encode(r))})}const gy="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Fo=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let e=0;e<gy.length;e++)Fo[gy.charCodeAt(e)]=e;const rE=e=>{let t=e.length*.75,r=e.length,i,o=0,c,u,h,p;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);const m=new ArrayBuffer(t),y=new Uint8Array(m);for(i=0;i<r;i+=4)c=Fo[e.charCodeAt(i)],u=Fo[e.charCodeAt(i+1)],h=Fo[e.charCodeAt(i+2)],p=Fo[e.charCodeAt(i+3)],y[o++]=c<<2|u>>4,y[o++]=(u&15)<<4|h>>2,y[o++]=(h&3)<<6|p&63;return m},sE=typeof ArrayBuffer=="function",jf=(e,t)=>{if(typeof e!="string")return{type:"message",data:mw(e,t)};const r=e.charAt(0);return r==="b"?{type:"message",data:iE(e.substring(1),t)}:Jl[r]?e.length>1?{type:Jl[r],data:e.substring(1)}:{type:Jl[r]}:Ih},iE=(e,t)=>{if(sE){const r=rE(e);return mw(r,t)}else return{base64:!0,data:e}},mw=(e,t)=>{switch(t){case"blob":return e instanceof Blob?e:new Blob([e]);case"arraybuffer":default:return e instanceof ArrayBuffer?e:e.buffer}},gw="�",oE=(e,t)=>{const r=e.length,i=new Array(r);let o=0;e.forEach((c,u)=>{Sf(c,!1,h=>{i[u]=h,++o===r&&t(i.join(gw))})})},aE=(e,t)=>{const r=e.split(gw),i=[];for(let o=0;o<r.length;o++){const c=jf(r[o],t);if(i.push(c),c.type==="error")break}return i};function lE(){return new TransformStream({transform(e,t){nE(e,r=>{const i=r.length;let o;if(i<126)o=new Uint8Array(1),new DataView(o.buffer).setUint8(0,i);else if(i<65536){o=new Uint8Array(3);const c=new DataView(o.buffer);c.setUint8(0,126),c.setUint16(1,i)}else{o=new Uint8Array(9);const c=new DataView(o.buffer);c.setUint8(0,127),c.setBigUint64(1,BigInt(i))}e.data&&typeof e.data!="string"&&(o[0]|=128),t.enqueue(o),t.enqueue(r)})}})}let Gd;function Vl(e){return e.reduce((t,r)=>t+r.length,0)}function Ul(e,t){if(e[0].length===t)return e.shift();
vendor: 37,095 bytes, line 297
297const r=new Uint8Array(t);let i=0;for(let o=0;o<t;o++)r[o]=e[0][i++],i===e[0].length&&(e.shift(),i=0);return e.length&&i<e[0].length&&(e[0]=e[0].slice(i)),r}function cE(e,t){Gd||(Gd=new TextDecoder);const r=[];let i=0,o=-1,c=!1;return new TransformStream({transform(u,h){for(r.push(u);;){if(i===0){if(Vl(r)<1)break;const p=Ul(r,1);c=(p[0]&128)===128,o=p[0]&127,o<126?i=3:o===126?i=1:i=2}else if(i===1){if(Vl(r)<2)break;const p=Ul(r,2);o=new DataView(p.buffer,p.byteOffset,p.length).getUint16(0),i=3}else if(i===2){if(Vl(r)<8)break;const p=Ul(r,8),m=new DataView(p.buffer,p.byteOffset,p.length),y=m.getUint32(0);if(y>Math.pow(2,21)-1){h.enqueue(Ih);break}o=y*Math.pow(2,32)+m.getUint32(4),i=3}else{if(Vl(r)<o)break;const p=Ul(r,o);h.enqueue(jf(c?p:Gd.decode(p),t)),i=0}if(o===0||o>e){h.enqueue(Ih);break}}}})}const yw=4;function ct(e){if(e)return uE(e)}function uE(e){for(var t in ct.prototype)e[t]=ct.prototype[t];return e}ct.prototype.on=ct.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this};ct.prototype.once=function(e,t){function r(){this.off(e,r),t.apply(this,arguments)}return r.fn=t,this.on(e,r),this};ct.prototype.off=ct.prototype.removeListener=ct.prototype.removeAllListeners=ct.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var r=this._callbacks["$"+e];if(!r)return this;if(arguments.length==1)return delete this._callbacks["$"+e],this;for(var i,o=0;o<r.length;o++)if(i=r[o],i===t||i.fn===t){r.splice(o,1);break}return r.length===0&&delete this._callbacks["$"+e],this};ct.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),r=this._callbacks["$"+e],i=1;i<arguments.length;i++)t[i-1]=arguments[i];if(r){r=r.slice(0);for(var i=0,o=r.length;i<o;++i)r[i].apply(this,t)}return this};ct.prototype.emitReserved=ct.prototype.emit;ct.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]};ct.prototype.hasListeners=function(e){return!!this.listeners(e).length};const kc=typeof Promise=="function"&&typeof Promise.resolve=="function"?t=>Promise.resolve().then(t):(t,r)=>r(t,0),pn=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),dE="arraybuffer";function xw(e,...t){return t.reduce((r,i)=>(e.hasOwnProperty(i)&&(r[i]=e[i]),r),{})}const hE=pn.setTimeout,fE=pn.clearTimeout;function Tc(e,t){t.useNativeTimers?(e.setTimeoutFn=hE.bind(pn),e.clearTimeoutFn=fE.bind(pn)):(e.setTimeoutFn=pn.setTimeout.bind(pn),e.clearTimeoutFn=pn.clearTimeout.bind(pn))}const pE=1.33;function mE(e){return typeof e=="string"?gE(e):Math.ceil((e.byteLength||e.size)*pE)}function gE(e){let t=0,r=0;for(let i=0,o=e.length;i<o;i++)t=e.charCodeAt(i),t<128?r+=1:t<2048?r+=2:t<55296||t>=57344?r+=3:(i++,r+=4);return r}function vw(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function yE(e){let t="";for(let r in e)e.hasOwnProperty(r)&&(t.length&&(t+="&"),t+=encodeURIComponent(r)+"="+encodeURIComponent(e[r]));return t}function xE(e){let t={},r=e.split("&");for(let i=0,o=r.length;i<o;i++){let c=r[i].split("=");t[decodeURIComponent(c[0])]=decodeURIComponent(c[1])}return t}class vE extends Error{constructor(t,r,i){super(t),this.description=r,this.context=i,this.type="TransportError"}}class Cf extends ct{constructor(t){super(),this.writable=!1,Tc(this,t),this.opts=t,this.query=t.query,this.socket=t.socket,this.supportsBinary=!t.forceBase64}onError(t,r,i){return super.emitReserved("error",new vE(t,r,i)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(t){this.readyState==="open"&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(t){const r=jf(t,this.socket.binaryType);this.onPacket(r)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}pause(t){}createUri(t,r={}){return t+"://"+this._hostname()+this._port()+this.opts.path+this._query(r)}_hostname(){const t=this.opts.hostname;return t.indexOf(":")===-1?t:"["+t+"]"}_port(){return this.opts.port&&(this.opts.secure&&+(this.opts.port!==443)||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(t){const r=yE(t);return r.length?"?"+r:""}}class wE extends Cf{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(t){this.readyState="pausing";const r=()=>{this.readyState="paused",t()};if(this._polling||!this.writable){let i=0;this._polling&&(i++,this.once("pollComplete",function(){--i||r()})),this.writable||(i++,this.once("drain",function(){--i||r()}))}else r()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){const r=i=>{if(this.readyState==="opening"&&i.type==="open"&&this.onOpen(),i.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(i)};aE(t,this.socket.binaryType).forEach(r),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const t=()=>{this.write([{type:"close"}])};this.readyState==="open"?t():this.once("open",t)}write(t){this.writable=!1,oE(t,r=>{this.doWrite(r,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const t=this.opts.secure?"https":"http",r=this.query||{};return this.opts.timestampRequests!==!1&&(r[this.opts.timestampParam]=vw()),!this.supportsBinary&&!r.sid&&(r.b64=1),this.createUri(t,r)}}let ww=!1;try{ww=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const bE=ww;function NE(){}class SE extends wE{constructor(t){if(super(t),typeof location<"u"){const r=location.protocol==="https:";let i=location.port;i||(i=r?"443":"80"),this.xd=typeof location<"u"&&t.hostname!==location.hostname||i!==t.port}}doWrite(t,r){const i=this.request({method:"POST",data:t});i.on("success",r),i.on("error",(o,c)=>{this.onError("xhr post error",o,c)})}doPoll(){const t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(r,i)=>{this.onError("xhr poll error",r,i)}),this.pollXhr=t}}class Fn extends ct{constructor(t,r,i){super(),this.createRequest=t,Tc(this,i),this._opts=i,this._method=i.method||"GET",this._uri=r,this._data=i.data!==void 0?i.data:null,this._create()}_create(){var t;const r=xw(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");r.xdomain=!!this._opts.xd;const i=this._xhr=this.createRequest(r);try{i.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){i.setDisableHeaderCheck&&i.setDisableHeaderCheck(!0);for(let o in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(o)&&i.setRequestHeader(o,this._opts.extraHeaders[o])}}catch{}if(this._method==="POST")try{i.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{i.setRequestHeader("Accept","*/*")}catch{}(t=this._opts.cookieJar)===null||t===void 0||t.addCookies(i),"withCredentials"in i&&(i.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(i.timeout=this._opts.requestTimeout),i.onreadystatechange=()=>{var o;i.readyState===3&&((o=this._opts.cookieJar)===null||o===void 0||o.parseCookies(i.getResponseHeader("set-cookie"))),i.readyState===4&&(i.status===200||i.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof i.status=="number"?i.status:0)},0))},i.send(this._data)}catch(o){this.setTimeoutFn(()=>{this._onError(o)},0);return}typeof document<"u"&&(this._index=Fn.requestsCount++,Fn.requests[this._index]=this)}_onError(t){this.emitReserved("error",t,this._xhr),this._cleanup(!0)}_cleanup(t){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=NE,t)try{this._xhr.abort()}catch{}typeof document<"u"&&delete Fn.requests[this._index],this._xhr=null}}_onLoad(){const t=this._xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}Fn.requestsCount=0;Fn.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",yy);else if(typeof addEventListener=="function"){const e="onpagehide"in pn?"pagehide":"unload";addEventListener(e,yy,!1)}}function yy(){for(let e in Fn.requests)Fn.requests.hasOwnProperty(e)&&Fn.requests[e].abort()}const jE=(function(){const e=bw({xdomain:!1});return e&&e.responseType!==null})();class CE extends SE{constructor(t){super(t);const r=t&&t.forceBase64;this.supportsBinary=jE&&!r}request(t={}){return Object.assign(t,{xd:this.xd},this.opts),new Fn(bw,this.uri(),t)}}function bw(e){const t=e.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!t||bE))return new XMLHttpRequest}catch{}if(!t)try{return new pn[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const Nw=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class kE extends Cf{get name(){return"websocket"}doOpen(){const t=this.uri(),r=this.opts.protocols,i=Nw?{}:xw(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(i.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(t,r,i)}catch(o){return this.emitReserved("error",o)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let r=0;r<t.length;r++){const i=t[r],o=r===t.length-1;Sf(i,this.supportsBinary,c=>{try{this.doWrite(i,c)}catch{}o&&kc(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const t=this.opts.secure?"wss":"ws",r=this.query||{};return this.opts.timestampRequests&&(r[this.opts.timestampParam]=vw()),this.supportsBinary||(r.b64=1),this.createUri(t,r)}}const Qd=pn.WebSocket||pn.MozWebSocket;class TE extends kE{createSocket(t,r,i){return Nw?new Qd(t,r,i):r?new Qd(t,r):new Qd(t)}doWrite(t,r){this.ws.send(r)}}class EE extends Cf{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(t){return this.emitReserved("error",t)}this._transport.closed.then(()=>{this.onClose()}).catch(t=>{this.onError("webtransport error",t)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(t=>{const r=cE(Number.MAX_SAFE_INTEGER,this.socket.binaryType),i=t.readable.pipeThrough(r).getReader(),o=lE();o.readable.pipeTo(t.writable),this._writer=o.writable.getWriter();const c=()=>{i.read().then(({done:h,value:p})=>{h||(this.onPacket(p),c())}).catch(h=>{})};c();const u={type:"open"};this.query.sid&&(u.data=`{"sid":"${this.query.sid}"}`),this._writer.write(u).then(()=>this.onOpen())})})}write(t){this.writable=!1;for(let r=0;r<t.length;r++){const i=t[r],o=r===t.length-1;this._writer.write(i).then(()=>{o&&kc(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var t;(t=this._transport)===null||t===void 0||t.close()}}const PE={websocket:TE,webtransport:EE,polling:CE},RE=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,AE=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function Fh(e){if(e.length>8e3)throw"URI too long";const t=e,r=e.indexOf("["),i=e.indexOf("]");r!=-1&&i!=-1&&(e=e.substring(0,r)+e.substring(r,i).replace(/:/g,";")+e.substring(i,e.length));let o=RE.exec(e||""),c={},u=14;for(;u--;)c[AE[u]]=o[u]||"";return r!=-1&&i!=-1&&(c.source=t,c.host=c.host.substring(1,c.host.length-1).replace(/;/g,":"),c.authority=c.authority.replace("[","").replace("]","").replace(/;/g,":"),c.ipv6uri=!0),c.pathNames=_E(c,c.path),c.queryKey=ME(c,c.query),c}function _E(e,t){const r=/\/{2,9}/g,i=t.replace(r,"/").split("/");return(t.slice(0,1)=="/"||t.length===0)&&i.splice(0,1),t.slice(-1)=="/"&&i.splice(i.length-1,1),i}function ME(e,t){const r={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(i,o,c){o&&(r[o]=c)}),r}const Bh=typeof addEventListener=="function"&&typeof removeEventListener=="function",Zl=[];Bh&&addEventListener("offline",()=>{Zl.forEach(e=>e())},!1);class Ur extends ct{constructor(t,r){if(super(),this.binaryType=dE,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,t&&typeof t=="object"&&(r=t,t=null),t){const i=Fh(t);r.hostname=i.host,r.secure=i.protocol==="https"||i.protocol==="wss",r.port=i.port,i.query&&(r.query=i.query)}else r.host&&(r.hostname=Fh(r.host).host);Tc(this,r),this.secure=r.secure!=null?r.secure:typeof location<"u"&&location.protocol==="https:",r.hostname&&!r.port&&(r.port=this.secure?"443":"80"),this.hostname=r.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=r.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},r.transports.forEach(i=>{const o=i.prototype.name;this.transports.push(o),this._transportsByName[o]=i}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},r),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=xE(this.opts.query)),Bh&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},Zl.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(t){const r=Object.assign({},this.opts.query);r.EIO=yw,r.transport=t,this.id&&(r.sid=this.id);const i=Object.assign({},this.opts,{query:r,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[t]);return new this._transportsByName[t](i)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const t=this.opts.rememberUpgrade&&Ur.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const r=this.createTransport(t);r.open(),this.setTransport(r)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",r=>this._onClose("transport close",r))}onOpen(){this.readyState="open",Ur.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",t),this.emitReserved("heartbeat"),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const r=new Error("server error");r.code=t.data,this._onError(r);break;case"message":this.emitReserved("data",t.data),this.emitReserved("message",t.data);break}}onHandshake(t){this.emitReserved("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this._pingInterval=t.pingInterval,this._pingTimeout=t.pingTimeout,this._maxPayload=t.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const t=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+t,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},t),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const t=this._getWritablePackets();this.transport.send(t),this._prevBufferLen=t.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let r=1;for(let i=0;i<this.writeBuffer.length;i++){const o=this.writeBuffer[i].data;if(o&&(r+=mE(o)),i>0&&r>this._maxPayload)return this.writeBuffer.slice(0,i);r+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const t=Date.now()>this._pingTimeoutTime;return t&&(this._pingTimeoutTime=0,kc(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),t}write(t,r,i){return this._sendPacket("message",t,r,i),this}send(t,r,i){return this._sendPacket("message",t,r,i),this}_sendPacket(t,r,i,o){if(typeof r=="function"&&(o=r,r=void 0),typeof i=="function"&&(o=i,i=null),this.readyState==="closing"||this.readyState==="closed")return;i=i||{},i.compress=i.compress!==!1;const c={type:t,data:r,options:i};this.emitReserved("packetCreate",c),this.writeBuffer.push(c),o&&this.once("flush",o),this.flush()}close(){const t=()=>{this._onClose("forced close"),this.transport.close()},r=()=>{this.off("upgrade",r),this.off("upgradeError",r),t()},i=()=>{this.once("upgrade",r),this.once("upgradeError",r)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?i():t()}):this.upgrading?i():t()),this}_onError(t){if(Ur.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",t),this._onClose("transport error",t)}_onClose(t,r){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),Bh&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const i=Zl.indexOf(this._offlineEventListener);i!==-1&&Zl.splice(i,1)}this.readyState="closed",this.id=null,this.emitReserved("close",t,r),this.writeBuffer=[],this._prevBufferLen=0}}}Ur.protocol=yw;class OE extends Ur{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let t=0;t<this._upgrades.length;t++)this._probe(this._upgrades[t])}_probe(t){let r=this.createTransport(t),i=!1;Ur.priorWebsocketSuccess=!1;const o=()=>{i||(r.send([{type:"ping",data:"probe"}]),r.once("packet",x=>{if(!i)if(x.type==="pong"&&x.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",r),!r)return;Ur.priorWebsocketSuccess=r.name==="websocket",this.transport.pause(()=>{i||this.readyState!=="closed"&&(y(),this.setTransport(r),r.send([{type:"upgrade"}]),this.emitReserved("upgrade",r),r=null,this.upgrading=!1,this.flush())})}else{const w=new Error("probe error");w.transport=r.name,this.emitReserved("upgradeError",w)}}))};function c(){i||(i=!0,y(),r.close(),r=null)}const u=x=>{const w=new Error("probe error: "+x);w.transport=r.name,c(),this.emitReserved("upgradeError",w)};function h(){u("transport closed")}function p(){u("socket closed")}function m(x){r&&x.name!==r.name&&c()}const y=()=>{r.removeListener("open",o),r.removeListener("error",u),r.removeListener("close",h),this.off("close",p),this.off("upgrading",m)};r.once("open",o),r.once("error",u),r.once("close",h),this.once("close",p),this.once("upgrading",m),this._upgrades.indexOf("webtransport")!==-1&&t!=="webtransport"?this.setTimeoutFn(()=>{i||r.open()},200):r.open()}onHandshake(t){this._upgrades=this._filterUpgrades(t.upgrades),super.onHandshake(t)}_filterUpgrades(t){const r=[];for(let i=0;i<t.length;i++)~this.transports.indexOf(t[i])&&r.push(t[i]);return r}}let LE=class extends OE{constructor(t,r={}){const i=typeof t=="object"?t:r;(!i.transports||i.transports&&typeof i.transports[0]=="string")&&(i.transports=(i.transports||["polling","websocket","webtransport"]).map(o=>PE[o]).filter(o=>!!o)),super(t,i)}};function DE(e,t="",r){let i=e;r=r||typeof location<"u"&&location,e==null&&(e=r.protocol+"//"+r.host),typeof e=="string"&&(e.charAt(0)==="/"&&(e.charAt(1)==="/"?e=r.protocol+e:e=r.host+e),/^(https?|wss?):\/\//.test(e)||(typeof r<"u"?e=r.protocol+"//"+e:e="https://"+e),i=Fh(e)),i.port||(/^(http|ws)$/.test(i.protocol)?i.port="80":/^(http|ws)s$/.test(i.protocol)&&(i.port="443")),i.path=i.path||"/";const c=i.host.indexOf(":")!==-1?"["+i.host+"]":i.host;return i.id=i.protocol+"://"+c+":"+i.port+t,i.href=i.protocol+"://"+c+(r&&r.port===i.port?"":":"+i.port),i}const IE=typeof ArrayBuffer=="function",FE=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,Sw=Object.prototype.toString,BE=typeof Blob=="function"||typeof Blob<"u"&&Sw.call(Blob)==="[object BlobConstructor]",VE=typeof File=="function"||typeof File<"u"&&Sw.call(File)==="[object FileConstructor]";function kf(e){return IE&&(e instanceof ArrayBuffer||FE(e))||BE&&e instanceof Blob||VE&&e instanceof File}function ec(e,t){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let r=0,i=e.length;r<i;r++)if(ec(e[r]))return!0;return!1}if(kf(e))return!0;if(e.toJSON&&typeof e.toJSON=="function"&&arguments.length===1)return ec(e.toJSON(),!0);for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&ec(e[r]))return!0;return!1}function UE(e){const t=[],r=e.data,i=e;return i.data=Vh(r,t),i.attachments=t.length,{packet:i,buffers:t}}function Vh(e,t){if(!e)return e;if(kf(e)){const r={_placeholder:!0,num:t.length};return t.push(e),r}else if(Array.isArray(e)){const r=new Array(e.length);for(let i=0;i<e.length;i++)r[i]=Vh(e[i],t);return r}else if(typeof e=="object"&&!(e instanceof Date)){const r={};for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(r[i]=Vh(e[i],t));return r}return e}function zE(e,t){return e.data=Uh(e.data,t),delete e.attachments,e}function Uh(e,t){if(!e)return e;if(e&&e._placeholder===!0){if(typeof e.num=="number"&&e.num>=0&&e.num<t.length)return t[e.num];throw new Error("illegal attachments")}else if(Array.isArray(e))for(let r=0;r<e.length;r++)e[r]=Uh(e[r],t);else if(typeof e=="object")for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(e[r]=Uh(e[r],t));return e}const HE=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],$E=5;var Ae;(function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"})(Ae||(Ae={}));class WE{constructor(t){this.replacer=t}encode(t){return(t.type===Ae.EVENT||t.type===Ae.ACK)&&ec(t)?this.encodeAsBinary({type:t.type===Ae.EVENT?Ae.BINARY_EVENT:Ae.BINARY_ACK,nsp:t.nsp,data:t.data,id:t.id}):[this.encodeAsString(t)]}encodeAsString(t){let r=""+t.type;return(t.type===Ae.BINARY_EVENT||t.type===Ae.BINARY_ACK)&&(r+=t.attachments+"-"),t.nsp&&t.nsp!=="/"&&(r+=t.nsp+","),t.id!=null&&(r+=t.id),t.data!=null&&(r+=JSON.stringify(t.data,this.replacer)),r}encodeAsBinary(t){const r=UE(t),i=this.encodeAsString(r.packet),o=r.buffers;return o.unshift(i),o}}function xy(e){return Object.prototype.toString.call(e)==="[object Object]"}class Tf extends ct{constructor(t){super(),this.reviver=t}add(t){let r;if(typeof t=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");r=this.decodeString(t);const i=r.type===Ae.BINARY_EVENT;i||r.type===Ae.BINARY_ACK?(r.type=i?Ae.EVENT:Ae.ACK,this.reconstructor=new qE(r),r.attachments===0&&super.emitReserved("decoded",r)):super.emitReserved("decoded",r)}else if(kf(t)||t.base64)if(this.reconstructor)r=this.reconstructor.takeBinaryData(t),r&&(this.reconstructor=null,super.emitReserved("decoded",r));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+t)}decodeString(t){let r=0;const i={type:Number(t.charAt(0))};if(Ae[i.type]===void 0)throw new Error("unknown packet type "+i.type);if(i.type===Ae.BINARY_EVENT||i.type===Ae.BINARY_ACK){const c=r+1;for(;t.charAt(++r)!=="-"&&r!=t.length;);const u=t.substring(c,r);if(u!=Number(u)||t.charAt(r)!=="-")throw new Error("Illegal attachments");i.attachments=Number(u)}if(t.charAt(r+1)==="/"){const c=r+1;for(;++r&&!(t.charAt(r)===","||r===t.length););i.nsp=t.substring(c,r)}else i.nsp="/";const o=t.charAt(r+1);if(o!==""&&Number(o)==o){const c=r+1;for(;++r;){const u=t.charAt(r);if(u==null||Number(u)!=u){--r;break}if(r===t.length)break}i.id=Number(t.substring(c,r+1))}if(t.charAt(++r)){const c=this.tryParse(t.substr(r));if(Tf.isPayloadValid(i.type,c))i.data=c;else throw new Error("invalid payload")}return i}tryParse(t){try{return JSON.parse(t,this.reviver)}catch{return!1}}static isPayloadValid(t,r){switch(t){case Ae.CONNECT:return xy(r);case Ae.DISCONNECT:return r===void 0;case Ae.CONNECT_ERROR:return typeof r=="string"||xy(r);case Ae.EVENT:case Ae.BINARY_EVENT:return Array.isArray(r)&&(typeof r[0]=="number"||typeof r[0]=="string"&&HE.indexOf(r[0])===-1);case Ae.ACK:case Ae.BINARY_ACK:return Array.isArray(r)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class qE{constructor(t){this.packet=t,this.buffers=[],this.reconPack=t}takeBinaryData(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){const r=zE(this.reconPack,this.buffers);return this.finishedReconstruction(),r}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const KE=Object.freeze(Object.defineProperty({__proto__:null,Decoder:Tf,Encoder:WE,get PacketType(){return Ae},protocol:$E},Symbol.toStringTag,{value:"Module"}));function Tn(e,t,r){return e.on(t,r),function(){e.off(t,r)}}const GE=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class jw extends ct{constructor(t,r,i){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=t,this.nsp=r,i&&i.auth&&(this.auth=i.auth),this._opts=Object.assign({},i),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const t=this.io;this.subs=[Tn(t,"open",this.onopen.bind(this)),Tn(t,"packet",this.onpacket.bind(this)),Tn(t,"error",this.onerror.bind(this)),Tn(t,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...r){var i,o,c;if(GE.hasOwnProperty(t))throw new Error('"'+t.toString()+'" is a reserved event name');if(r.unshift(t),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(r),this;const u={type:Ae.EVENT,data:r};if(u.options={},u.options.compress=this.flags.compress!==!1,typeof r[r.length-1]=="function"){const y=this.ids++,x=r.pop();this._registerAckCallback(y,x),u.id=y}const h=(o=(i=this.io.engine)===null||i===void 0?void 0:i.transport)===null||o===void 0?void 0:o.writable,p=this.connected&&!(!((c=this.io.engine)===null||c===void 0)&&c._hasPingExpired());return this.flags.volatile&&!h||(p?(this.notifyOutgoingListeners(u),this.packet(u)):this.sendBuffer.push(u)),this.flags={},this}_registerAckCallback(t,r){var i;const o=(i=this.flags.timeout)!==null&&i!==void 0?i:this._opts.ackTimeout;if(o===void 0){this.acks[t]=r;return}const c=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let h=0;h<this.sendBuffer.length;h++)this.sendBuffer[h].id===t&&this.sendBuffer.splice(h,1);r.call(this,new Error("operation has timed out"))},o),u=(...h)=>{this.io.clearTimeoutFn(c),r.apply(this,h)};u.withError=!0,this.acks[t]=u}emitWithAck(t,...r){return new Promise((i,o)=>{const c=(u,h)=>u?o(u):i(h);c.withError=!0,r.push(c),this.emit(t,...r)})}_addToQueue(t){let r;typeof t[t.length-1]=="function"&&(r=t.pop());const i={id:this._queueSeq++,tryCount:0,pending:!1,args:t,flags:Object.assign({fromQueue:!0},this.flags)};t.push((o,...c)=>i!==this._queue[0]?void 0:(o!==null?i.tryCount>this._opts.retries&&(this._queue.shift(),r&&r(o)):(this._queue.shift(),r&&r(null,...c)),i.pending=!1,this._drainQueue())),this._queue.push(i),this._drainQueue()}_drainQueue(t=!1){if(!this.connected||this._queue.length===0)return;const r=this._queue[0];r.pending&&!t||(r.pending=!0,r.tryCount++,this.flags=r.flags,this.emit.apply(this,r.args))}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){typeof this.auth=="function"?this.auth(t=>{this._sendConnectPacket(t)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(t){this.packet({type:Ae.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},t):t})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,r){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,r),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(t=>{if(!this.sendBuffer.some(i=>String(i.id)===t)){const i=this.acks[t];delete this.acks[t],i.withError&&i.call(this,new Error("socket has been disconnected"))}})}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case Ae.CONNECT:t.data&&t.data.sid?this.onconnect(t.data.sid,t.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case Ae.EVENT:case Ae.BINARY_EVENT:this.onevent(t);break;case Ae.ACK:case Ae.BINARY_ACK:this.onack(t);break;case Ae.DISCONNECT:this.ondisconnect();break;case Ae.CONNECT_ERROR:this.destroy();const i=new Error(t.data.message);i.data=t.data.data,this.emitReserved("connect_error",i);break}}onevent(t){const r=t.data||[];t.id!=null&&r.push(this.ack(t.id)),this.connected?this.emitEvent(r):this.receiveBuffer.push(Object.freeze(r))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length){const r=this._anyListeners.slice();for(const i of r)i.apply(this,t)}super.emit.apply(this,t),this._pid&&t.length&&typeof t[t.length-1]=="string"&&(this._lastOffset=t[t.length-1])}ack(t){const r=this;let i=!1;return function(...o){i||(i=!0,r.packet({type:Ae.ACK,id:t,data:o}))}}onack(t){const r=this.acks[t.id];typeof r=="function"&&(delete this.acks[t.id],r.withError&&t.data.unshift(null),r.apply(this,t.data))}onconnect(t,r){this.id=t,this.recovered=r&&this._pid===r,this._pid=r,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:Ae.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){const r=this._anyListeners;for(let i=0;i<r.length;i++)if(t===r[i])return r.splice(i,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(t),this}prependAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(t),this}offAnyOutgoing(t){if(!this._anyOutgoingListeners)return this;if(t){const r=this._anyOutgoingListeners;for(let i=0;i<r.length;i++)if(t===r[i])return r.splice(i,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(t){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const r=this._anyOutgoingListeners.slice();for(const i of r)i.apply(this,t.data)}}}function Bi(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}Bi.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),r=Math.floor(t*this.jitter*e);e=(Math.floor(t*10)&1)==0?e-r:e+r}return Math.min(e,this.max)|0};Bi.prototype.reset=function(){this.attempts=0};Bi.prototype.setMin=function(e){this.ms=e};Bi.prototype.setMax=function(e){this.max=e};Bi.prototype.setJitter=function(e){this.jitter=e};class zh extends ct{constructor(t,r){var i;super(),this.nsps={},this.subs=[],t&&typeof t=="object"&&(r=t,t=void 0),r=r||{},r.path=r.path||"/socket.io",this.opts=r,Tc(this,r),this.reconnection(r.reconnection!==!1),this.reconnectionAttempts(r.reconnectionAttempts||1/0),this.reconnectionDelay(r.reconnectionDelay||1e3),this.reconnectionDelayMax(r.reconnectionDelayMax||5e3),this.randomizationFactor((i=r.randomizationFactor)!==null&&i!==void 0?i:.5),this.backoff=new Bi({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(r.timeout==null?2e4:r.timeout),this._readyState="closed",this.uri=t;const o=r.parser||KE;this.encoder=new o.Encoder,this.decoder=new o.Decoder,this._autoConnect=r.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,t||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(t){return t===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var r;return t===void 0?this._reconnectionDelay:(this._reconnectionDelay=t,(r=this.backoff)===null||r===void 0||r.setMin(t),this)}randomizationFactor(t){var r;return t===void 0?this._randomizationFactor:(this._randomizationFactor=t,(r=this.backoff)===null||r===void 0||r.setJitter(t),this)}reconnectionDelayMax(t){var r;return t===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,(r=this.backoff)===null||r===void 0||r.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new LE(this.uri,this.opts);const r=this.engine,i=this;this._readyState="opening",this.skipReconnect=!1;const o=Tn(r,"open",function(){i.onopen(),t&&t()}),c=h=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",h),t?t(h):this.maybeReconnectOnOpen()},u=Tn(r,"error",c);if(this._timeout!==!1){const h=this._timeout,p=this.setTimeoutFn(()=>{o(),c(new Error("timeout")),r.close()},h);this.opts.autoUnref&&p.unref(),this.subs.push(()=>{this.clearTimeoutFn(p)})}return this.subs.push(o),this.subs.push(u),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push(Tn(t,"ping",this.onping.bind(this)),Tn(t,"data",this.ondata.bind(this)),Tn(t,"error",this.onerror.bind(this)),Tn(t,"close",this.onclose.bind(this)),Tn(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(r){this.onclose("parse error",r)}}ondecoded(t){kc(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,r){let i=this.nsps[t];return i?this._autoConnect&&!i.active&&i.connect():(i=new jw(this,t,r),this.nsps[t]=i),i}_destroy(t){const r=Object.keys(this.nsps);for(const i of r)if(this.nsps[i].active)return;this._close()}_packet(t){const r=this.encoder.encode(t);for(let i=0;i<r.length;i++)this.engine.write(r[i],t.options)}
297cleanup(){this.subs.forEach(t=>t()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(t,r){var i;this.cleanup(),(i=this.engine)===null||i===void 0||i.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,r),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const r=this.backoff.duration();this._reconnecting=!0;const i=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(o=>{o?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",o)):t.onreconnect()}))},r);this.opts.autoUnref&&i.unref(),this.subs.push(()=>{this.clearTimeoutFn(i)})}}onreconnect(){const t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const _o={};function tc(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};const r=DE(e,t.path||"/socket.io"),i=r.source,o=r.id,c=r.path,u=_o[o]&&c in _o[o].nsps,h=t.forceNew||t["force new connection"]||t.multiplex===!1||u;let p;return h?p=new zh(i,t):(_o[o]||(_o[o]=new zh(i,t)),p=_o[o]),r.query&&!t.query&&(t.query=r.queryKey),p.socket(r.path,t)}Object.assign(tc,{Manager:zh,Socket:jw,io:tc,connect:tc});function vy(e,t){var r;const i=tc(e.serverUrl,{path:e.mountPath,transports:e.transports,query:{app_id:e.appId,token:(r=e.token)!==null&&r!==void 0?r:Nf()}});return i.on("connect",async()=>{var o;return console.log("connect",i.id),(o=t.connect)===null||o===void 0?void 0:o.call(t)}),i.on("update_model",async o=>{var c;return(c=t.update_model)===null||c===void 0?void 0:c.call(t,o)}),i.on("error",async o=>{var c;return(c=t.error)===null||c===void 0?void 0:c.call(t,o)}),i.on("connect_error",async o=>{var c;return console.error("connect_error",o),(c=t.error)===null||c===void 0?void 0:c.call(t,o)}),i}function QE({config:e}){let t={...e};const r={},i={connect:async()=>{const j=[];Object.keys(r).forEach(N=>{p(N);const S=x(N);S==null||S.forEach(({connect:b})=>{const E=async()=>b==null?void 0:b();j.push(E())})}),await Promise.all(j)},update_model:async j=>{const S=x(j.room).map(b=>{var E;return(E=b.update_model)===null||E===void 0?void 0:E.call(b,j)});await Promise.all(S)},error:async j=>{console.error("error",j);const N=Object.values(r).flat().map(S=>{var b;return(b=S.error)===null||b===void 0?void 0:b.call(S,j)});await Promise.all(N)}};let o=vy(e,i);function c(){u()}function u(){o&&o.disconnect()}function h(j){c(),t={...t,...j},o=vy(t,i)}function p(j){o.emit("join",j)}function m(j){o.emit("leave",j)}async function y(j,N){var S;const b=JSON.stringify(N);return(S=i.update_model)===null||S===void 0?void 0:S.call(i,{room:j,data:b})}function x(j){return r[j]}return{socket:o,subscribeToRoom:(j,N)=>(r[j]||(p(j),r[j]=[]),r[j].push(N),()=>{var S,b;r[j]=(b=(S=r[j])===null||S===void 0?void 0:S.filter(E=>E!==N))!==null&&b!==void 0?b:[],r[j].length===0&&m(j)}),updateConfig:h,updateModel:y,disconnect:u}}const Mo=typeof window<"u"?window:{base44SharedInstances:{}};function XE(e,t){return Mo.base44SharedInstances||(Mo.base44SharedInstances={}),Mo.base44SharedInstances[e]||(Mo.base44SharedInstances[e]={instance:t()}),Mo.base44SharedInstances[e].instance}const YE="__user_heartbeat_event__",JE="__initialization_event__",ZE="__session_duration_event__",wy="analytics-enable",by="base44_analytics_session_id",eP={enabled:!0,maxQueueSize:1e3,throttleTime:1e3,batchSize:30,heartBeatInterval:60*1e3},tP="analytics",ze=XE(tP,()=>({requestsQueue:[],isProcessing:!1,isHeartBeatProcessing:!1,wasInitializationTracked:!1,sessionContext:null,sessionStartTime:null,config:{...eP,...cP()}})),nP=({axiosClient:e,serverUrl:t,appId:r,userAuthModule:i})=>{var o;const{maxQueueSize:c,throttleTime:u,batchSize:h}=ze.config;if(!(!((o=ze.config)===null||o===void 0)&&o.enabled))return{track:()=>{},cleanup:()=>{}};let p;const m=`${t}/api/apps/${r}/analytics/track/batch`,y=async _=>{await e.request({method:"POST",url:`/apps/${r}/analytics/track/batch`,data:{events:_}})},x=_=>{try{const M=JSON.stringify({events:_}),U=new Blob([M],{type:"application/json"});return typeof navigator>"u"||M.length>6e4||!navigator.sendBeacon(m,U)}catch{return!1}},w=async(_,M={})=>
297{if(_.length===0)return;const U=await lP(i),K=_.map(aP(U));try{(!M.isBeacon||!x(K))&&await y(K)}catch{}},j=()=>{Sy(w,{throttleTime:u,batchSize:h})},N=_=>{if(ze.requestsQueue.length>=c)return;const M=oP();ze.requestsQueue.push({..._,...M}),j()},S=()=>{Sy(w,{throttleTime:u,batchSize:h}),p=jy(N),sP()},b=()=>{Ny(),p==null||p(),iP(N);const _=ze.requestsQueue.splice(0);w(_,{isBeacon:!0})},E=()=>{typeof window>"u"||(document.visibilityState==="hidden"?b():document.visibilityState==="visible"&&S())},F=()=>{Ny(),p==null||p(),typeof window<"u"&&window.removeEventListener("visibilitychange",E)};return j(),p=jy(N),rP(N),typeof window<"u"&&window.addEventListener("visibilitychange",E),{track:N,cleanup:F}};function Ny(){ze.isProcessing=!1}async function Sy(e,t){if(ze.isProcessing)return;ze.isProcessing=!0;const{throttleTime:r=1e3,batchSize:i=30}=t??{};for(;ze.isProcessing&&ze.requestsQueue.length>0;){const o=ze.requestsQueue.splice(0,i);o.length&&await e(o),await new Promise(c=>setTimeout(c,r))}ze.isProcessing=!1}function jy(e){var t;if(ze.isHeartBeatProcessing||((t=ze.config.heartBeatInterval)!==null&&t!==void 0?t:0)<10)return()=>{};ze.isHeartBeatProcessing=!0;const r=setInterval(()=>{e({eventName:YE})},ze.config.heartBeatInterval);return()=>{clearInterval(r),ze.isHeartBeatProcessing=!1}}function rP(e){typeof window>"u"||ze.wasInitializationTracked||(ze.wasInitializationTracked=!0,e({eventName:JE,properties:{referrer:document==null?void 0:document.referrer}}))}function sP(){typeof window>"u"||ze.sessionStartTime!==null||(ze.sessionStartTime=new Date().toISOString())}function iP(e){if(typeof window>"u"||ze.sessionStartTime===null)return;const t=new Date().getTime()-new Date(ze.sessionStartTime).getTime();ze.sessionStartTime=null,e({eventName:ZE,properties:{sessionDuration:t}})}function oP(){return{timestamp:new Date().toISOString(),pageUrl:typeof window<"u"?window.location.pathname:null}}function aP(e){return t=>({event_name:t.eventName,properties:t.properties,timestamp:t.timestamp,page_url:t.pageUrl,...e})}let Xd=null;async function lP(e){if(!ze.sessionContext){if(!Xd){const t=uP();Xd=e.me().then(r=>({user_id:r.id,session_id:t})).catch(()=>({user_id:null,session_id:t}))}ze.sessionContext=await Xd}return ze.sessionContext}function cP(){if(typeof window>"u")return;const t=new URLSearchParams(window.location.search).get(wy);if(t==null||!t.length)return;const r=new URLSearchParams(window.location.search);r.delete(wy);const i=window.location.pathname+(r.toString()?"?"+r.toString():"");return window.history.replaceState({},"",i),{enabled:t==="true"}}function uP(){if(typeof window>"u")return Wd();try{const e=localStorage.getItem(by);if(!e){const t=Wd();return localStorage.setItem(by,t),t}return e}catch{return Wd()}}function dP(e){const{serverUrl:t="https://base44.app",appId:r,token:i,serviceToken:o,requiresAuth:c=!1,appBaseUrl:u,options:h,functionsVersion:p,headers:m}=e,y={serverUrl:t,mountPath:"/ws-user-apps/socket.io/",transports:["websocket"],appId:r,token:i};let x=null;const w=()=>(x||(x=QE({config:y})),x),j={...m,"X-App-Id":String(r)},N=p?{...j,"Base44-Functions-Version":p}:j,S=Io({baseURL:`${t}/api`,headers:j,token:i,onError:h==null?void 0:h.onError}),b=Io({baseURL:`${t}/api`,headers:N,token:i,interceptResponses:!1,onError:h==null?void 0:h.onError}),E=Io({baseURL:`${t}/api`,headers:j,token:o,onError:h==null?void 0:h.onError}),F=Io({baseURL:`${t}/api`,headers:N,token:o,interceptResponses:!1}),_=YT(S,b,r,{appBaseUrl:u,serverUrl:t}),M={entities:cy({axios:S,appId:r,getSocket:w}),integrations:uy(S,r),auth:_,functions:dy(b,r),agents:hy({axios:S,getSocket:w,appId:r,serverUrl:t,token:i}),appLogs:fy(S,r),users:tE(S,r),analytics:nP({axiosClient:S,serverUrl:t,appId:r,userAuthModule:_}),cleanup:()=>{M.analytics.cleanup(),x&&x.disconnect()}},U={entities:cy({axios:E,appId:r,getSocket:w}),integrations:uy(E,r),sso:JT(E,r,i),connectors:ZT(E,r),functions:dy(F,r),agents:hy({axios:E,getSocket:w,appId:r,serverUrl:t,token:i}),appLogs:fy(E,r),cleanup:()=>{x&&x.disconnect()}};if(typeof window<"u"){const G=i||Nf();G&&M.auth.setToken(G)}return c&&typeof window<"u"&&setTimeout(async()=>{try{await M.auth.isAuthenticated()||M.auth.redirectToLogin(window.location.href)}catch(G){console.error("Authentication check failed:",G),M.auth.redirectToLogin(window.location.href)}},0),{...M,setToken(G){M.auth.setToken(G),x&&x.updateConfig({token:G}),y.token=G},getConfig(){return{serverUrl:t,appId:r,requiresAuth:c}},get asServiceRole(){if(!o)throw new Error("Service token is required to use asServiceRole. Please provide a serviceToken when creating the client.");return U}}}const Cw=typeof window>"u",hP=Cw?{localStorage:new Map}:window,qo=hP.localStorage,fP=e=>e.replace(/([A-Z])/g,"_$1").toLowerCase(),Oo=(e,{defaultValue:t=void 0,removeFromUrl:r=!1}={})=>
297{if(Cw)return t;const i=`base44_${fP(e)}`,o=new URLSearchParams(window.location.search),c=o.get(e);if(r){o.delete(e);const h=`${window.location.pathname}${o.toString()?`?${o.toString()}`:""}${window.location.hash}`;window.history.replaceState({},document.title,h)}if(c)return qo.setItem(i,c),c;if(t)return qo.setItem(i,t),t;const u=qo.getItem(i);return u||null},pP=()=>(Oo("clear_access_token")==="true"&&(qo.removeItem("base44_access_token"),qo.removeItem("token")),{appId:Oo("app_id",{defaultValue:"694f6935badb80e5f64d4524"}),token:Oo("access_token",{removeFromUrl:!0}),fromUrl:Oo("from_url",{defaultValue:window.location.href}),functionsVersion:Oo("functions_version",{defaultValue:"prod"})}),Bo={...pP()},{appId:mP,token:gP,functionsVersion:yP}=Bo,ai=dP({appId:mP,token:gP,functionsVersion:yP,serverUrl:"",requiresAuth:!1}),kw=k.createContext(),xP=({children:e})=>{const[t,r]=k.useState(null),[i,o]=k.useState(!1),[c,u]=k.useState(!0),[h,p]=k.useState(!0),[m,y]=k.useState(null),[x,w]=k.useState(null);k.useEffect(()=>{j()},[]);const j=async()=>{var E,F;try{p(!0),y(null);const _=Io({baseURL:"/api/apps/public",headers:{"X-App-Id":Bo.appId},token:Bo.token,interceptResponses:!0});try{const M=await _.get(`/prod/public-settings/by-id/${Bo.appId}`);w(M),Bo.token?await N():(u(!1),o(!1)),p(!1)}
297catch(M){if(console.error("App state check failed:",M),M.status===403&&((F=(E=M.data)==null?void 0:E.extra_data)!=null&&F.reason)){const U=M.data.extra_data.reason;y(U==="auth_required"?{type:"auth_required",message:"Authentication required"}:U==="user_not_registered"?{type:"user_not_registered",message:"User not registered for this app"}:{type:U,message:M.message})}else y({type:"unknown",message:M.message||"Failed to load app"});p(!1),u(!1)}}catch(_){console.error("Unexpected error:",_),y({type:"unknown",message:_.message||"An unexpected error occurred"}),p(!1),u(!1)}},N=async()=>{try{u(!0);const E=await ai.auth.me();r(E),o(!0),u(!1)}catch(E){console.error("User auth check failed:",E),u(!1),o(!1),(E.status===401||E.status===403)&&y({type:"auth_required",message:"Authentication required"})}},S=(E=!0)=>{r(null),o(!1),E?ai.auth.logout(window.location.href):ai.auth.logout()},b=()=>{ai.auth.redirectToLogin(window.location.href)};return l.jsx(kw.Provider,{value:{user:t,isAuthenticated:i,isLoadingAuth:c,isLoadingPublicSettings:h,authError:m,appPublicSettings:x,logout:S,navigateToLogin:b,checkAppState:j},children:e})},Tw=()=>{const e=k.useContext(kw);if(!e)throw new Error("useAuth must be used within an AuthProvider");return e},re=k.forwardRef(({className:e,...t},r)=>l.jsx("div",{ref:r,className:Ke("rounded-xl border bg-card text-card-foreground shadow",e),...t}));re.displayName="Card";const ke=k.forwardRef(({className:e,...t},r)=>l.jsx("div",{ref:r,className:Ke("flex flex-col space-y-1.5 p-6",e),...t}));ke.displayName="CardHeader";const Te=k.forwardRef(({className:e,...t},r)=>l.jsx("div",{ref:r,className:Ke("font-semibold leading-none tracking-tight",e),...t}));Te.displayName="CardTitle";const vP=k.forwardRef(({className:e,...t},r)=>l.jsx("div",{ref:r,className:Ke("text-sm text-muted-foreground",e),...t}));vP.displayName="CardDescription";const se=k.forwardRef(({className:e,...t},r)=>l.jsx("div",{ref:r,className:Ke("p-6 pt-0",e),...t}));se.displayName="CardContent";const wP=k.forwardRef(({className:e,...t},r)=>l.jsx("div",{ref:r,className:Ke("flex items-center p-6 pt-0",e),...t}));wP.displayName="CardFooter";const bP=df("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function we({className:e,variant:t,...r}){return l.jsx("div",{className:Ke(bP({variant:t}),e),...r})}const Ef=k.createContext(null);function NP(e){const t=k.useRef(null);return t.current===null&&(t.current=e()),t.current}const Ew=k.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Pw=k.createContext({}),tn=e=>e;let Rw=tn;function Pf(e){let t;return()=>(t===void 0&&(t=e()),t)}const Ri=(e,t,r)=>{const i=t-e;return i===0?1:(r-e)/i},tr=e=>e*1e3,nr=e=>e/1e3,Rf=typeof window<"u",SP=Rf?k.useLayoutEffect:k.useEffect,jP={useManualTiming:!1};function CP(e){let t=new Set,r=new Set,i=!1,o=!1;const c=new WeakSet;let u={delta:0,timestamp:0,isProcessing:!1};function h(m){c.has(m)&&(p.schedule(m),e()),m(u)}const p={schedule:(m,y=!1,x=!1)=>{const j=x&&i?t:r;return y&&c.add(m),j.has(m)||j.add(m),m},cancel:m=>{r.delete(m),c.delete(m)},process:m=>{if(u=m,i){o=!0;return}i=!0,[t,r]=[r,t],t.forEach(h),t.clear(),i=!1,o&&(o=!1,p.process(m))}};return p}const zl=["read","resolveKeyframes","update","preRender","render","postRender"],kP=40;function Aw(e,t){let r=!1,i=!0;const o={delta:0,timestamp:0,isProcessing:!1},c=()=>r=!0,u=zl.reduce((E,F)=>(E[F]=CP(c),E),{}),{read:h,resolveKeyframes:p,update:m,preRender:y,render:x,postRender:w}=u,j=()=>{const E=performance.now();r=!1,o.delta=i?1e3/60:Math.max(Math.min(E-o.timestamp,kP),1),o.timestamp=E,o.isProcessing=!0,h.process(o),p.process(o),m.process(o),y.process(o),x.process(o),w.process(o),o.isProcessing=!1,r&&t&&(i=!1,e(j))},N=()=>{r=!0,i=!0,o.isProcessing||e(j)};return{schedule:zl.reduce((E,F)=>{const _=u[F];return E[F]=(M,U=!1,K=!1)=>(r||N(),_.schedule(M,U,K)),E},{}),cancel:E=>{for(let F=0;F<zl.length;F++)u[zl[F]].cancel(E)},state:o,steps:u}}const{schedule:qe,cancel:zr,state:Nt,steps:Yd}=Aw(typeof requestAnimationFrame<"u"?requestAnimationFrame:tn,!0),_w=k.createContext({strict:!1}
vendor: 4,559 bytes, line 297
297),Cy={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"]},Ai={};for(const e in Cy)Ai[e]={isEnabled:t=>Cy[e].some(r=>!!t[r])};function TP(e){for(const t in e)Ai[t]={...Ai[t],...e[t]}}const EP=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 uc(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||EP.has(e)}let Mw=e=>!uc(e);function PP(e){e&&(Mw=t=>t.startsWith("on")?!uc(t):e(t))}try{PP(require("@emotion/is-prop-valid").default)}catch{}function RP(e,t,r){const i={};for(const o in e)o==="values"&&typeof e.values=="object"||(Mw(o)||r===!0&&uc(o)||!t&&!uc(o)||e.draggable&&o.startsWith("onDrag"))&&(i[o]=e[o]);return i}function AP(e){if(typeof Proxy>"u")return e;const t=new Map,r=(...i)=>e(...i);return new Proxy(r,{get:(i,o)=>o==="create"?e:(t.has(o)||t.set(o,e(o)),t.get(o))})}const Ec=k.createContext({});function ta(e){return typeof e=="string"||Array.isArray(e)}function Pc(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const Af=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],_f=["initial",...Af];function Rc(e){return Pc(e.animate)||_f.some(t=>ta(e[t]))}function Ow(e){return!!(Rc(e)||e.variants)}function _P(e,t){if(Rc(e)){const{initial:r,animate:i}=e;return{initial:r===!1||ta(r)?r:void 0,animate:ta(i)?i:void 0}}return e.inherit!==!1?t:{}}function MP(e){const{initial:t,animate:r}=_P(e,k.useContext(Ec));return k.useMemo(()=>({initial:t,animate:r}),[ky(t),ky(r)])}function ky(e){return Array.isArray(e)?e.join(" "):e}const OP=Symbol.for("motionComponentSymbol");function li(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function LP(e,t,r){return k.useCallback(i=>{i&&e.mount&&e.mount(i),t&&(i?t.mount(i):t.unmount()),r&&(typeof r=="function"?r(i):li(r)&&(r.current=i))},[t])}const Mf=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),DP="framerAppearId",Lw="data-"+Mf(DP),{schedule:Of}=Aw(queueMicrotask,!1),Dw=k.createContext({});function IP(e,t,r,i,o){var c,u;const{visualElement:h}=k.useContext(Ec),p=k.useContext(_w),m=k.useContext(Ef),y=k.useContext(Ew).reducedMotion,x=k.useRef(null);i=i||p.renderer,!x.current&&i&&(x.current=i(e,{visualState:t,parent:h,props:r,presenceContext:m,blockInitialAnimation:m?m.initial===!1:!1,reducedMotionConfig:y}));const w=x.current,j=k.useContext(Dw);w&&!w.projection&&o&&(w.type==="html"||w.type==="svg")&&FP(x.current,r,o,j);const N=k.useRef(!1);k.useInsertionEffect(()=>{w&&N.current&&w.update(r,m)});const S=r[Lw],b=k.useRef(!!S&&!(!((c=window.MotionHandoffIsComplete)===null||c===void 0)&&c.call(window,S))&&((u=window.MotionHasOptimisedAnimation)===null||u===void 0?void 0:u.call(window,S)));return SP(()=>{w&&(N.current=!0,window.MotionIsMounted=!0,w.updateFeatures(),Of.render(w.render),b.current&&w.animationState&&w.animationState.animateChanges())}),k.useEffect(()=>{w&&(!b.current&&w.animationState&&w.animationState.animateChanges(),b.current&&(queueMicrotask(()=>{var E;(E=window.MotionHandoffMarkAsComplete)===null||E===void 0||E.call(window,S)}),b.current=!1))}),w}function FP(e,t,r,i){const{layoutId:o,layout:c,drag:u,dragConstraints:h,layoutScroll:p,layoutRoot:m}=t;e.projection=new r(e.latestValues,t["data-framer-portal-id"]?void 0:Iw(e.parent)),e.projection.setOptions({layoutId:o,layout:c,alwaysMeasureLayout:!!u||h&&li(h),visualElement:e,animationType:typeof c=="string"?c:"both",initialPromotionConfig:i,layoutScroll:p,layoutRoot:m})}function Iw(e){if(e)return e.options.allowProjection!==!1?e.projection:Iw(e.parent)}function BP({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:i,Component:o}){var c,u;e&&TP(e);function h(m,y){let x;const w={...k.useContext(Ew),...m,layoutId:VP(m)},{isStatic:j}
vendor: 6,800 bytes, line 297
297=w,N=MP(m),S=i(m,j);if(!j&&Rf){UP();const b=zP(w);x=b.MeasureLayout,N.visualElement=IP(o,S,w,t,b.ProjectionNode)}return l.jsxs(Ec.Provider,{value:N,children:[x&&N.visualElement?l.jsx(x,{visualElement:N.visualElement,...w}):null,r(o,m,LP(S,N.visualElement,y),S,j,N.visualElement)]})}h.displayName=`motion.${typeof o=="string"?o:`create(${(u=(c=o.displayName)!==null&&c!==void 0?c:o.name)!==null&&u!==void 0?u:""})`}`;const p=k.forwardRef(h);return p[OP]=o,p}function VP({layoutId:e}){const t=k.useContext(Pw).id;return t&&e!==void 0?t+"-"+e:e}function UP(e,t){k.useContext(_w).strict}function zP(e){const{drag:t,layout:r}=Ai;if(!t&&!r)return{};const i={...t,...r};return{MeasureLayout:t!=null&&t.isEnabled(e)||r!=null&&r.isEnabled(e)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}const HP=["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 Lf(e){return typeof e!="string"||e.includes("-")?!1:!!(HP.indexOf(e)>-1||/[A-Z]/u.test(e))}function Fw(e,{style:t,vars:r},i,o){Object.assign(e.style,t,o&&o.getProjectionStyles(i));for(const c in r)e.style.setProperty(c,r[c])}const Bw=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 Vw(e,t,r,i){Fw(e,t,void 0,i);for(const o in t.attrs)e.setAttribute(Bw.has(o)?o:Mf(o),t.attrs[o])}const At=e=>!!(e&&e.getVelocity),dc={};function $P(e){Object.assign(dc,e)}const ya=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],As=new Set(ya);function Uw(e,{layout:t,layoutId:r}){return As.has(e)||e.startsWith("origin")||(t||r!==void 0)&&(!!dc[e]||e==="opacity")}function Df(e,t,r){var i;const{style:o}=e,c={};for(const u in o)(At(o[u])||t.style&&At(t.style[u])||Uw(u,e)||((i=r==null?void 0:r.getValue(u))===null||i===void 0?void 0:i.liveStyle)!==void 0)&&(c[u]=o[u]);return c}function zw(e,t,r){const i=Df(e,t,r);for(const o in e)if(At(e[o])||At(t[o])){const c=ya.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;i[c]=e[o]}return i}function Ty(e){const t=[{},{}];return e==null||e.values.forEach((r,i)=>{t[0][i]=r.get(),t[1][i]=r.getVelocity()}),t}function If(e,t,r,i){if(typeof t=="function"){const[o,c]=Ty(i);t=t(r!==void 0?r:e.custom,o,c)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[o,c]=Ty(i);t=t(r!==void 0?r:e.custom,o,c)}return t}const Hh=e=>Array.isArray(e),WP=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),qP=e=>Hh(e)?e[e.length-1]||0:e;function nc(e){const t=At(e)?e.get():e;return WP(t)?t.toValue():t}function KP({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},i,o,c){const u={latestValues:GP(i,o,c,e),renderState:t()};return r&&(u.mount=h=>r(i,h,u)),u}const Hw=e=>(t,r)=>{const i=k.useContext(Ec),o=k.useContext(Ef),c=()=>KP(e,t,i,o);return r?c():NP(c)};function GP(e,t,r,i){const o={},c=i(e,{});for(const w in c)o[w]=nc(c[w]);let{initial:u,animate:h}=e;const p=Rc(e),m=Ow(e);t&&m&&!p&&e.inherit!==!1&&(u===void 0&&(u=t.initial),h===void 0&&(h=t.animate));let y=r?r.initial===!1:!1;y=y||u===!1;const x=y?h:u;if(x&&typeof x!="boolean"&&!Pc(x)){const w=Array.isArray(x)?x:[x];for(let j=0;j<w.length;j++){const N=If(e,w[j]);if(N){const{transitionEnd:S,transition:b,...E}=N;for(const F in E){let _=E[F];if(Array.isArray(_)){const M=y?_.length-1:0;_=_[M]}_!==null&&(o[F]=_)}for(const F in S)o[F]=S[F]}}}return o}const Ff=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),$w=()=>({...Ff(),attrs:{}}),Ww=(e,t)=>t&&typeof e=="number"?t.transform(e):e,ir=(e,t,r)=>r>t?t:r<e?e:r,Vi={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},na={...Vi,transform:e=>ir(0,1,e)},Hl={...Vi,default:1},xa=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Pr=xa("deg"),Bn=xa("%"),pe=xa("px"),QP=xa("vh"),XP=xa("vw"),Ey={...Bn,parse:e=>Bn.parse(e)/100,transform:e=>Bn.transform(e*100)},YP={borderWidth:pe,borderTopWidth:pe,borderRightWidth:pe,borderBottomWidth:pe,borderLeftWidth:pe,borderRadius:pe,radius:pe,borderTopLeftRadius:pe,borderTopRightRadius:pe,borderBottomRightRadius:pe,borderBottomLeftRadius:pe,width:pe,maxWidth:pe,height:pe,maxHeight:pe,top:pe,right:pe,bottom:pe,left:pe,padding:pe,paddingTop:pe,paddingRight:pe,paddingBottom:pe,paddingLeft:pe,margin:pe,marginTop:pe,marginRight:pe,marginBottom:pe,marginLeft:pe,backgroundPositionX:pe,backgroundPositionY:pe},JP={rotate:Pr,rotateX:Pr,rotateY:Pr,rotateZ:Pr,scale:Hl,scaleX:Hl,scaleY:Hl,scaleZ:Hl,skew:Pr,skewX:Pr,skewY:Pr,distance:pe,translateX:pe,translateY:pe,translateZ:pe,x:pe,y:pe,z:pe,perspective:pe,transformPerspective:pe,opacity:na,originX:Ey,originY:Ey,originZ:pe},Py={...Vi,transform:Math.round},Bf={...YP,...JP,zIndex:Py,size:pe,fillOpacity:na,strokeOpacity:na,numOctaves:Py},ZP={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},eR=ya.length;function tR(e,t,r){let i="",o=!0;for(let c=0;c<eR;c++){const u=ya[c],h=e[u];if(h===void 0)continue;let p=!0;if(typeof h=="number"?p=h===(u.startsWith("scale")?1:0):p=parseFloat(h)===0,!p||r){const m=Ww(h,Bf[u]);if(!p){o=!1;const y=ZP[u]||u;i+=`${y}(${m}) `}r&&(t[u]=m)}}return i=i.trim(),r?i=r(t,o?"":i):o&&(i="none"),i}const qw=e=>t=>typeof t=="string"&&t.startsWith(e),Kw=qw("--"),nR=qw("var(--"),Vf=e=>nR(e)?rR.test(e.split("/*")[0].trim()):!1,rR=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Uf(e,t,r){const{style:i,vars:o,transformOrigin:c}=e;let u=!1,h=!1;for(const p in t){const m=t[p];if(As.has(p)){u=!0;continue}else if(Kw(p)){o[p]=m;continue}else{const y=Ww(m,Bf[p]);p.startsWith("origin")?(h=!0,c[p]=y):i[p]=y}}if(t.transform||(u||r?i.transform=tR(t,e.transform,r):i.transform&&(i.transform="none")),h){const{originX:p="50%",originY:m="50%",originZ:y=0}=c;i.transformOrigin=`${p} ${m} ${y}`}}function Ry(e,t,r){return typeof e=="string"?e:pe.transform(t+r*e)}function sR(e,t,r){const i=Ry(t,e.x,e.width),o=Ry(r,e.y,e.height);return`${i} ${o}`}const iR={offset:"stroke-dashoffset",array:"stroke-dasharray"},oR={offset:"strokeDashoffset",array:"strokeDasharray"};function aR(e,t,r=1,i=0,o=!0){e.pathLength=1;const c=o?iR:oR;e[c.offset]=pe.transform(-i);const u=pe.transform(t),h=pe.transform(r);e[c.array]=`${u} ${h}`}function zf(e,{attrX:t,attrY:r,attrScale:i,originX:o,originY:c,pathLength:u,pathSpacing:h=1,pathOffset:p=0,...m}
vendor: 97,496 bytes, line 297
297,y,x){if(Uf(e,m,x),y){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:w,style:j,dimensions:N}=e;w.transform&&(N&&(j.transform=w.transform),delete w.transform),N&&(o!==void 0||c!==void 0||j.transform)&&(j.transformOrigin=sR(N,o!==void 0?o:.5,c!==void 0?c:.5)),t!==void 0&&(w.x=t),r!==void 0&&(w.y=r),i!==void 0&&(w.scale=i),u!==void 0&&aR(w,u,h,p,!1)}const Hf=e=>typeof e=="string"&&e.toLowerCase()==="svg",lR={useVisualState:Hw({scrapeMotionValuesFromProps:zw,createRenderState:$w,onMount:(e,t,{renderState:r,latestValues:i})=>{qe.read(()=>{try{r.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{r.dimensions={x:0,y:0,width:0,height:0}}}),qe.render(()=>{zf(r,i,Hf(t.tagName),e.transformTemplate),Vw(t,r)})}})},cR={useVisualState:Hw({scrapeMotionValuesFromProps:Df,createRenderState:Ff})};function Gw(e,t,r){for(const i in t)!At(t[i])&&!Uw(i,r)&&(e[i]=t[i])}function uR({transformTemplate:e},t){return k.useMemo(()=>{const r=Ff();return Uf(r,t,e),Object.assign({},r.vars,r.style)},[t])}function dR(e,t){const r=e.style||{},i={};return Gw(i,r,e),Object.assign(i,uR(e,t)),i}function hR(e,t){const r={},i=dR(e,t);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=i,r}function fR(e,t,r,i){const o=k.useMemo(()=>{const c=$w();return zf(c,t,Hf(i),e.transformTemplate),{...c.attrs,style:{...c.style}}},[t]);if(e.style){const c={};Gw(c,e.style,e),o.style={...c,...o.style}}return o}function pR(e=!1){return(r,i,o,{latestValues:c},u)=>{const p=(Lf(r)?fR:hR)(i,c,u,r),m=RP(i,typeof r=="string",e),y=r!==k.Fragment?{...m,...p,ref:o}:{},{children:x}=i,w=k.useMemo(()=>At(x)?x.get():x,[x]);return k.createElement(r,{...y,children:w})}}function mR(e,t){return function(i,{forwardMotionProps:o}={forwardMotionProps:!1}){const u={...Lf(i)?lR:cR,preloadedFeatures:e,useRender:pR(o),createVisualElement:t,Component:i};return BP(u)}}function Qw(e,t){if(!Array.isArray(t))return!1;const r=t.length;if(r!==e.length)return!1;for(let i=0;i<r;i++)if(t[i]!==e[i])return!1;return!0}function Ac(e,t,r){const i=e.getProps();return If(i,t,r!==void 0?r:i.custom,e)}const gR=Pf(()=>window.ScrollTimeline!==void 0);class yR{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,r){for(let i=0;i<this.animations.length;i++)this.animations[i][t]=r}attachTimeline(t,r){const i=this.animations.map(o=>{if(gR()&&o.attachTimeline)return o.attachTimeline(t);if(typeof r=="function")return r(o)});return()=>{i.forEach((o,c)=>{o&&o(),this.animations[c].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let r=0;r<this.animations.length;r++)t=Math.max(t,this.animations[r].duration);return t}runAll(t){this.animations.forEach(r=>r[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class xR extends yR{then(t,r){return Promise.all(this.animations).then(t).catch(r)}}function $f(e,t){return e?e[t]||e.default||e:void 0}const $h=2e4;function Xw(e){let t=0;const r=50;let i=e.next(t);for(;!i.done&&t<$h;)t+=r,i=e.next(t);return t>=$h?1/0:t}function Wf(e){return typeof e=="function"}function Ay(e,t){e.timeline=t,e.onfinish=null}const qf=e=>Array.isArray(e)&&typeof e[0]=="number",vR={linearEasing:void 0};function wR(e,t){const r=Pf(e);return()=>{var i;return(i=vR[t])!==null&&i!==void 0?i:r()}}const hc=wR(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Yw=(e,t,r=10)=>{let i="";const o=Math.max(Math.round(t/r),2);for(let c=0;c<o;c++)i+=e(Ri(0,o-1,c))+", ";return`linear(${i.substring(0,i.length-2)})`};function Jw(e){return!!(typeof e=="function"&&hc()||!e||typeof e=="string"&&(e in Wh||hc())||qf(e)||Array.isArray(e)&&e.every(Jw))}const Vo=([e,t,r,i])=>`cubic-bezier(${e}, ${t}, ${r}, ${i})`,Wh={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Vo([0,.65,.55,1]),circOut:Vo([.55,0,1,.45]),backIn:Vo([.31,.01,.66,-.59]),backOut:Vo([.33,1.53,.69,.99])};function Zw(e,t){if(e)return typeof e=="function"&&hc()?Yw(e,t):qf(e)?Vo(e):Array.isArray(e)?e.map(r=>Zw(r,t)||Wh.easeOut):Wh[e]}const jn={x:!1,y:!1};function eb(){return jn.x||jn.y}function bR(e,t,r){var i;if(e instanceof Element)return[e];if(typeof e=="string"){let o=document;const c=(i=void 0)!==null&&i!==void 0?i:o.querySelectorAll(e);return c?Array.from(c):[]}return Array.from(e)}function tb(e,t){const r=bR(e),i=new AbortController,o={passive:!0,...t,signal:i.signal};return[r,o,()=>i.abort()]}function _y(e){return t=>{t.pointerType==="touch"||eb()||e(t)}}function NR(e,t,r={}){const[i,o,c]=tb(e,r),u=_y(h=>{const{target:p}=h,m=t(h);if(typeof m!="function"||!p)return;const y=_y(x=>{m(x),p.removeEventListener("pointerleave",y)});p.addEventListener("pointerleave",y,o)});return i.forEach(h=>{h.addEventListener("pointerenter",u,o)}),c}const nb=(e,t)=>t?e===t?!0:nb(e,t.parentElement):!1,Kf=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,SR=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function jR(e){return SR.has(e.tagName)||e.tabIndex!==-1}const Uo=new WeakSet;function My(e){return t=>{t.key==="Enter"&&e(t)}}function Jd(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const CR=(e,t)=>{const r=e.currentTarget;if(!r)return;const i=My(()=>{if(Uo.has(r))return;Jd(r,"down");const o=My(()=>{Jd(r,"up")}),c=()=>Jd(r,"cancel");r.addEventListener("keyup",o,t),r.addEventListener("blur",c,t)});r.addEventListener("keydown",i,t),r.addEventListener("blur",()=>r.removeEventListener("keydown",i),t)};function Oy(e){return Kf(e)&&!eb()}function kR(e,t,r={}){const[i,o,c]=tb(e,r),u=h=>{const p=h.currentTarget;if(!Oy(h)||Uo.has(p))return;Uo.add(p);const m=t(h),y=(j,N)=>{window.removeEventListener("pointerup",x),window.removeEventListener("pointercancel",w),!(!Oy(j)||!Uo.has(p))&&(Uo.delete(p),typeof m=="function"&&m(j,{success:N}))},x=j=>{y(j,r.useGlobalTarget||nb(p,j.target))},w=j=>{y(j,!1)};window.addEventListener("pointerup",x,o),window.addEventListener("pointercancel",w,o)};return i.forEach(h=>{!jR(h)&&h.getAttribute("tabindex")===null&&(h.tabIndex=0),(r.useGlobalTarget?window:h).addEventListener("pointerdown",u,o),h.addEventListener("focus",m=>CR(m,o),o)}),c}function TR(e){return e==="x"||e==="y"?jn[e]?null:(jn[e]=!0,()=>{jn[e]=!1}):jn.x||jn.y?null:(jn.x=jn.y=!0,()=>{jn.x=jn.y=!1})}let rc;function ER(){rc=void 0}const Vn={now:()=>(rc===void 0&&Vn.set(Nt.isProcessing||jP.useManualTiming?Nt.timestamp:performance.now()),rc),set:e=>{rc=e,queueMicrotask(ER)}};function Gf(e,t){e.indexOf(t)===-1&&e.push(t)}function Qf(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}class Xf{constructor(){this.subscriptions=[]}add(t){return Gf(this.subscriptions,t),()=>Qf(this.subscriptions,t)}notify(t,r,i){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,r,i);else for(let c=0;c<o;c++){const u=this.subscriptions[c];u&&u(t,r,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function rb(e,t){return t?e*(1e3/t):0}const Ly=30,PR=e=>!isNaN(parseFloat(e));class RR{constructor(t,r={}){this.version="11.16.4",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(i,o=!0)=>{const c=Vn.now();this.updatedAt!==c&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(i),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),o&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=r.owner}setCurrent(t){this.current=t,this.updatedAt=Vn.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=PR(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,r){this.events[t]||(this.events[t]=new Xf);const i=this.events[t].add(r);return t==="change"?()=>{i(),qe.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,r){this.passiveEffect=t,this.stopPassiveEffect=r}set(t,r=!0){!r||!this.passiveEffect?this.updateAndNotify(t,r):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,r,i){this.set(r),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,r=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,r&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=Vn.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Ly)return 0;const r=Math.min(this.updatedAt-this.prevUpdatedAt,Ly);return rb(parseFloat(this.current)-parseFloat(this.prevFrameValue),r)}start(t){return this.stop(),new Promise(r=>{this.hasAnimated=!0,this.animation=t(r),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(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ra(e,t){return new RR(e,t)}function AR(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,ra(r))}function _R(e,t){const r=Ac(e,t);let{transitionEnd:i={},transition:o={},...c}=r||{};c={...c,...i};for(const u in c){const h=qP(c[u]);AR(e,u,h)}}function MR(e){return!!(At(e)&&e.add)}function qh(e,t){const r=e.getValue("willChange");if(MR(r))return r.add(t)}function sb(e){return e.props[Lw]}const ib=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,OR=1e-7,LR=12;function DR(e,t,r,i,o){let c,u,h=0;do u=t+(r-t)/2,c=ib(u,i,o)-e,c>0?r=u:t=u;while(Math.abs(c)>OR&&++h<LR);return u}function va(e,t,r,i){if(e===t&&r===i)return tn;const o=c=>DR(c,0,1,e,r);return c=>c===0||c===1?c:ib(o(c),t,i)}const ob=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,ab=e=>t=>1-e(1-t),lb=va(.33,1.53,.69,.99),Yf=ab(lb),cb=ob(Yf),ub=e=>(e*=2)<1?.5*Yf(e):.5*(2-Math.pow(2,-10*(e-1))),Jf=e=>1-Math.sin(Math.acos(e)),db=ab(Jf),hb=ob(Jf),fb=e=>/^0[^.\s]+$/u.test(e);function IR(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||fb(e):!0}const pb=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),FR=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function BR(e){const t=FR.exec(e);if(!t)return[,];const[,r,i,o]=t;return[`--${r??i}`,o]}function mb(e,t,r=1){const[i,o]=BR(e);if(!i)return;const c=window.getComputedStyle(t).getPropertyValue(i);if(c){const u=c.trim();return pb(u)?parseFloat(u):u}return Vf(o)?mb(o,t,r+1):o}const VR=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Dy=e=>e===Vi||e===pe,Iy=(e,t)=>parseFloat(e.split(", ")[t]),Fy=(e,t)=>(r,{transform:i})=>{if(i==="none"||!i)return 0;const o=i.match(/^matrix3d\((.+)\)$/u);if(o)return Iy(o[1],t);{const c=i.match(/^matrix\((.+)\)$/u);return c?Iy(c[1],e):0}},UR=new Set(["x","y","z"]),zR=ya.filter(e=>!UR.has(e));function HR(e){const t=[];return zR.forEach(r=>{const i=e.getValue(r);i!==void 0&&(t.push([r,i.get()]),i.set(r.startsWith("scale")?1:0))}),t}const _i={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:Fy(4,13),y:Fy(5,14)};_i.translateX=_i.x;_i.translateY=_i.y;const gb=e=>t=>t.test(e),$R={test:e=>e==="auto",parse:e=>e},yb=[Vi,pe,Bn,Pr,XP,QP,$R],By=e=>yb.find(gb(e)),Ss=new Set;let Kh=!1,Gh=!1;function xb(){if(Gh){const e=Array.from(Ss).filter(i=>i.needsMeasurement),t=new Set(e.map(i=>i.element)),r=new Map;t.forEach(i=>{const o=HR(i);o.length&&(r.set(i,o),i.render())}),e.forEach(i=>i.measureInitialState()),t.forEach(i=>{i.render();const o=r.get(i);o&&o.forEach(([c,u])=>{var h;(h=i.getValue(c))===null||h===void 0||h.set(u)})}),e.forEach(i=>i.measureEndState()),e.forEach(i=>{i.suspendedScrollY!==void 0&&window.scrollTo(0,i.suspendedScrollY)})}Gh=!1,Kh=!1,Ss.forEach(e=>e.complete()),Ss.clear()}function vb(){Ss.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Gh=!0)})}function WR(){vb(),xb()}class Zf{constructor(t,r,i,o,c,u=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=r,this.name=i,this.motionValue=o,this.element=c,this.isAsync=u}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Ss.add(this),Kh||(Kh=!0,qe.read(vb),qe.resolveKeyframes(xb))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:r,element:i,motionValue:o}=this;for(let c=0;c<t.length;c++)if(t[c]===null)if(c===0){const u=o==null?void 0:o.get(),h=t[t.length-1];if(u!==void 0)t[0]=u;else if(i&&r){const p=i.readValue(r,h);p!=null&&(t[0]=p)}t[0]===void 0&&(t[0]=h),o&&u===void 0&&o.set(t[0])}else t[c]=t[c-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),Ss.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,Ss.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const Ko=e=>Math.round(e*1e5)/1e5,ep=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function qR(e){return e==null}const KR=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,tp=(e,t)=>r=>!!(typeof r=="string"&&KR.test(r)&&r.startsWith(e)||t&&!qR(r)&&Object.prototype.hasOwnProperty.call(r,t)),wb=(e,t,r)=>i=>{if(typeof i!="string")return i;const[o,c,u,h]=i.match(ep);return{[e]:parseFloat(o),[t]:parseFloat(c),[r]:parseFloat(u),alpha:h!==void 0?parseFloat(h):1}},GR=e=>ir(0,255,e),Zd={...Vi,transform:e=>Math.round(GR(e))},hs={test:tp("rgb","red"),parse:wb("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:i=1})=>"rgba("+Zd.transform(e)+", "+Zd.transform(t)+", "+Zd.transform(r)+", "+Ko(na.transform(i))+")"};function QR(e){let t="",r="",i="",o="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),i=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),i=e.substring(3,4),o=e.substring(4,5),t+=t,r+=r,i+=i,o+=o),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(i,16),alpha:o?parseInt(o,16)/255:1}}const Qh={test:tp("#"),parse:QR,transform:hs.transform},ci={test:tp("hsl","hue"),parse:wb("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:i=1})=>"hsla("+Math.round(e)+", "+Bn.transform(Ko(t))+", "+Bn.transform(Ko(r))+", "+Ko(na.transform(i))+")"},Et={test:e=>hs.test(e)||Qh.test(e)||ci.test(e),parse:e=>hs.test(e)?hs.parse(e):ci.test(e)?ci.parse(e):Qh.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?hs.transform(e):ci.transform(e)},XR=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function YR(e){var t,r;return isNaN(e)&&typeof e=="string"&&(((t=e.match(ep))===null||t===void 0?void 0:t.length)||0)+(((r=e.match(XR))===null||r===void 0?void 0:r.length)||0)>0}const bb="number",Nb="color",JR="var",ZR="var(",Vy="${}",eA=/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 sa(e){const t=e.toString(),r=[],i={color:[],number:[],var:[]},o=[];let c=0;const h=t.replace(eA,p=>(Et.test(p)?(i.color.push(c),o.push(Nb),r.push(Et.parse(p))):p.startsWith(ZR)?(i.var.push(c),o.push(JR),r.push(p)):(i.number.push(c),o.push(bb),r.push(parseFloat(p))),++c,Vy)).split(Vy);return{values:r,split:h,indexes:i,types:o}}function Sb(e){return sa(e).values}function jb(e){const{split:t,types:r}=sa(e),i=t.length;return o=>{let c="";for(let u=0;u<i;u++)if(c+=t[u],o[u]!==void 0){const h=r[u];h===bb?c+=Ko(o[u]):h===Nb?c+=Et.transform(o[u]):c+=o[u]}return c}}const tA=e=>typeof e=="number"?0:e;function nA(e){const t=Sb(e);return jb(e)(t.map(tA))}const Hr={test:YR,parse:Sb,createTransformer:jb,getAnimatableNone:nA},rA=new Set(["brightness","contrast","saturate","opacity"]);function sA(e){const[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[i]=r.match(ep)||[];if(!i)return e;const o=r.replace(i,"");let c=rA.has(t)?1:0;return i!==r&&(c*=100),t+"("+c+o+")"}const iA=/\b([a-z-]*)\(.*?\)/gu,Xh={...Hr,getAnimatableNone:e=>{const t=e.match(iA);return t?t.map(sA).join(" "):e}},oA={...Bf,color:Et,backgroundColor:Et,outlineColor:Et,fill:Et,stroke:Et,borderColor:Et,borderTopColor:Et,borderRightColor:Et,borderBottomColor:Et,borderLeftColor:Et,filter:Xh,WebkitFilter:Xh},np=e=>oA[e];function Cb(e,t){let r=np(e);return r!==Xh&&(r=Hr),r.getAnimatableNone?r.getAnimatableNone(t):void 0}const aA=new Set(["auto","none","0"]);function lA(e,t,r){let i=0,o;for(;i<e.length&&!o;){const c=e[i];typeof c=="string"&&!aA.has(c)&&sa(c).values.length&&(o=e[i]),i++}if(o&&r)for(const c of t)e[c]=Cb(r,o)}class kb extends Zf{constructor(t,r,i,o,c){super(t,r,i,o,c,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:r,name:i}=this;if(!r||!r.current)return;super.readKeyframes();for(let p=0;p<t.length;p++){let m=t[p];if(typeof m=="string"&&(m=m.trim(),Vf(m))){const y=mb(m,r.current);y!==void 0&&(t[p]=y),p===t.length-1&&(this.finalKeyframe=m)}}if(this.resolveNoneKeyframes(),!VR.has(i)||t.length!==2)return;const[o,c]=t,u=By(o),h=By(c);if(u!==h)if(Dy(u)&&Dy(h))for(let p=0;p<t.length;p++){const m=t[p];typeof m=="string"&&(t[p]=parseFloat(m))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:r}=this,i=[];for(let o=0;o<t.length;o++)IR(t[o])&&i.push(o);i.length&&lA(t,i,r)}measureInitialState(){const{element:t,unresolvedKeyframes:r,name:i}=this;if(!t||!t.current)return;i==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=_i[i](t.measureViewportBox(),window.getComputedStyle(t.current)),r[0]=this.measuredOrigin;const o=r[r.length-1];o!==void 0&&t.getValue(i,o).jump(o,!1)}measureEndState(){var t;const{element:r,name:i,unresolvedKeyframes:o}=this;if(!r||!r.current)return;const c=r.getValue(i);c&&c.jump(this.measuredOrigin,!1);const u=o.length-1,h=o[u];o[u]=_i[i](r.measureViewportBox(),window.getComputedStyle(r.current)),h!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=h),!((t=this.removedTransforms)===null||t===void 0)&&t.length&&this.removedTransforms.forEach(([p,m])=>{r.getValue(p).set(m)}),this.resolveNoneKeyframes()}}const Uy=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Hr.test(e)||e==="0")&&!e.startsWith("url("));function cA(e){const t=e[0];if(e.length===1)return!0;for(let r=0;r<e.length;r++)if(e[r]!==t)return!0}function uA(e,t,r,i){const o=e[0];if(o===null)return!1;if(t==="display"||t==="visibility")return!0;const c=e[e.length-1],u=Uy(o,t),h=Uy(c,t);return!u||!h?!1:cA(e)||(r==="spring"||Wf(r))&&i}const dA=e=>e!==null;function _c(e,{repeat:t,repeatType:r="loop"},i){const o=e.filter(dA),c=t&&r!=="loop"&&t%2===1?0:o.length-1;return!c||i===void 0?o[c]:i}const hA=40;class Tb{constructor({autoplay:t=!0,delay:r=0,type:i="keyframes",repeat:o=0,repeatDelay:c=0,repeatType:u="loop",...h}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=Vn.now(),this.options={autoplay:t,delay:r,type:i,repeat:o,repeatDelay:c,repeatType:u,...h},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>hA?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&WR(),this._resolved}onKeyframesResolved(t,r){this.resolvedAt=Vn.now(),this.hasAttemptedResolve=!0;const{name:i,type:o,velocity:c,delay:u,onComplete:h,onUpdate:p,isGenerator:m}=this.options;if(!m&&!uA(t,i,o,c))if(u)this.options.duration=0;else{p==null||p(_c(t,this.options,r)),h==null||h(),this.resolveFinishedPromise();return}const y=this.initPlayback(t,r);y!==!1&&(this._resolved={keyframes:t,finalKeyframe:r,...y},this.onPostResolved())}onPostResolved(){}then(t,r){return this.currentFinishedPromise.then(t,r)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}const et=(e,t,r)=>e+(t-e)*r;function eh(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function fA({hue:e,saturation:t,lightness:r,alpha:i}){e/=360,t/=100,r/=100;let o=0,c=0,u=0;if(!t)o=c=u=r;else{const h=r<.5?r*(1+t):r+t-r*t,p=2*r-h;o=eh(p,h,e+1/3),c=eh(p,h,e),u=eh(p,h,e-1/3)}return{red:Math.round(o*255),green:Math.round(c*255),blue:Math.round(u*255),alpha:i}}function fc(e,t){return r=>r>0?t:e}const th=(e,t,r)=>{const i=e*e,o=r*(t*t-i)+i;return o<0?0:Math.sqrt(o)},pA=[Qh,hs,ci],mA=e=>pA.find(t=>t.test(e));function zy(e){const t=mA(e);if(!t)return!1;let r=t.parse(e);return t===ci&&(r=fA(r)),r}const Hy=(e,t)=>{const r=zy(e),i=zy(t);if(!r||!i)return fc(e,t);const o={...r};return c=>(o.red=th(r.red,i.red,c),o.green=th(r.green,i.green,c),o.blue=th(r.blue,i.blue,c),o.alpha=et(r.alpha,i.alpha,c),hs.transform(o))},gA=(e,t)=>r=>t(e(r)),wa=(...e)=>e.reduce(gA),Yh=new Set(["none","hidden"]);function yA(e,t){return Yh.has(e)?r=>r<=0?e:t:r=>r>=1?t:e}function xA(e,t){return r=>et(e,t,r)}function rp(e){return typeof e=="number"?xA:typeof e=="string"?Vf(e)?fc:Et.test(e)?Hy:bA:Array.isArray(e)?Eb:typeof e=="object"?Et.test(e)?Hy:vA:fc}function Eb(e,t){const r=[...e],i=r.length,o=e.map((c,u)=>rp(c)(c,t[u]));return c=>{for(let u=0;u<i;u++)r[u]=o[u](c);return r}}function vA(e,t){const r={...e,...t},i={};for(const o in r)e[o]!==void 0&&t[o]!==void 0&&(i[o]=rp(e[o])(e[o],t[o]));return o=>{for(const c in i)r[c]=i[c](o);return r}}function wA(e,t){var r;const i=[],o={color:0,var:0,number:0};for(let c=0;c<t.values.length;c++){const u=t.types[c],h=e.indexes[u][o[u]],p=(r=e.values[h])!==null&&r!==void 0?r:0;i[c]=p,o[u]++}return i}const bA=(e,t)=>{const r=Hr.createTransformer(t),i=sa(e),o=sa(t);return i.indexes.var.length===o.indexes.var.length&&i.indexes.color.length===o.indexes.color.length&&i.indexes.number.length>=o.indexes.number.length?Yh.has(e)&&!o.values.length||Yh.has(t)&&!i.values.length?yA(e,t):wa(Eb(wA(i,o),o.values),r):fc(e,t)};function Pb(e,t,r){return typeof e=="number"&&typeof t=="number"&&typeof r=="number"?et(e,t,r):rp(e)(e,t)}const NA=5;function Rb(e,t,r){const i=Math.max(t-NA,0);return rb(r-e(i),t-i)}const rt={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},nh=.001;function SA({duration:e=rt.duration,bounce:t=rt.bounce,velocity:r=rt.velocity,mass:i=rt.mass}){let o,c,u=1-t;u=ir(rt.minDamping,rt.maxDamping,u),e=ir(rt.minDuration,rt.maxDuration,nr(e)),u<1?(o=m=>{const y=m*u,x=y*e,w=y-r,j=Jh(m,u),N=Math.exp(-x);return nh-w/j*N},c=m=>{const x=m*u*e,w=x*r+r,j=Math.pow(u,2)*Math.pow(m,2)*e,N=Math.exp(-x),S=Jh(Math.pow(m,2),u);return(-o(m)+nh>0?-1:1)*((w-j)*N)/S}):(o=m=>{const y=Math.exp(-m*e),x=(m-r)*e+1;return-nh+y*x},c=m=>{const y=Math.exp(-m*e),x=(r-m)*(e*e);return y*x});const h=5/e,p=CA(o,c,h);if(e=tr(e),isNaN(p))return{stiffness:rt.stiffness,damping:rt.damping,duration:e};{const m=Math.pow(p,2)*i;return{stiffness:m,damping:u*2*Math.sqrt(i*m),duration:e}}}const jA=12;function CA(e,t,r){let i=r;for(let o=1;o<jA;o++)i=i-e(i)/t(i);return i}function Jh(e,t){return e*Math.sqrt(1-t*t)}const kA=["duration","bounce"],TA=["stiffness","damping","mass"];function $y(e,t){return t.some(r=>e[r]!==void 0)}function EA(e){let t={velocity:rt.velocity,stiffness:rt.stiffness,damping:rt.damping,mass:rt.mass,isResolvedFromDuration:!1,...e};if(!$y(e,TA)&&$y(e,kA))if(e.visualDuration){const r=e.visualDuration,i=2*Math.PI/(r*1.2),o=i*i,c=2*ir(.05,1,1-(e.bounce||0))*Math.sqrt(o);t={...t,mass:rt.mass,stiffness:o,damping:c}}else{const r=SA(e);t={...t,...r,mass:rt.mass},t.isResolvedFromDuration=!0}return t}function Ab(e=rt.visualDuration,t=rt.bounce){const r=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:i,restDelta:o}=r;const c=r.keyframes[0],u=r.keyframes[r.keyframes.length-1],h={done:!1,value:c},{stiffness:p,damping:m,mass:y,duration:x,velocity:w,isResolvedFromDuration:j}=EA({...r,velocity:-nr(r.velocity||0)}),N=w||0,S=m/(2*Math.sqrt(p*y)),b=u-c,E=nr(Math.sqrt(p/y)),F=Math.abs(b)<5;i||(i=F?rt.restSpeed.granular:rt.restSpeed.default),o||(o=F?rt.restDelta.granular:rt.restDelta.default);let _;if(S<1){const U=Jh(E,S);_=K=>{const G=Math.exp(-S*E*K);return u-G*((N+S*E*b)/U*Math.sin(U*K)+b*Math.cos(U*K))}}else if(S===1)_=U=>u-Math.exp(-E*U)*(b+(N+E*b)*U);else{const U=E*Math.sqrt(S*S-1);_=K=>{const G=Math.exp(-S*E*K),V=Math.min(U*K,300);return u-G*((N+S*E*b)*Math.sinh(V)+U*b*Math.cosh(V))/U}}const M={calculatedDuration:j&&x||null,next:U=>{const K=_(U);if(j)h.done=U>=x;else{let G=0;S<1&&(G=U===0?tr(N):Rb(_,U,K));const V=Math.abs(G)<=i,he=Math.abs(u-K)<=o;h.done=V&&he}return h.value=h.done?u:K,h},toString:()=>{const U=Math.min(Xw(M),$h),K=Yw(G=>M.next(U*G).value,U,30);return U+"ms "+K}};return M}function Wy({keyframes:e,velocity:t=0,power:r=.8,timeConstant:i=325,bounceDamping:o=10,bounceStiffness:c=500,modifyTarget:u,min:h,max:p,restDelta:m=.5,restSpeed:y}){const x=e[0],w={done:!1,value:x},j=V=>h!==void 0&&V<h||p!==void 0&&V>p,N=V=>h===void 0?p:p===void 0||Math.abs(h-V)<Math.abs(p-V)?h:p;let S=r*t;const b=x+S,E=u===void 0?b:u(b);E!==b&&(S=E-x);const F=V=>-S*Math.exp(-V/i),_=V=>E+F(V),M=V=>{const he=F(V),J=_(V);w.done=Math.abs(he)<=m,w.value=w.done?E:J};let U,K;const G=V=>{j(w.value)&&(U=V,K=Ab({keyframes:[w.value,N(w.value)],velocity:Rb(_,V,w.value),damping:o,stiffness:c,restDelta:m,restSpeed:y}))};return G(0),{calculatedDuration:null,next:V=>{let he=!1;return!K&&U===void 0&&(he=!0,M(V),G(V)),U!==void 0&&V>=U?K.next(V-U):(!he&&M(V),w)}}}const PA=va(.42,0,1,1),RA=va(0,0,.58,1),_b=va(.42,0,.58,1),AA=e=>Array.isArray(e)&&typeof e[0]!="number",_A={linear:tn,easeIn:PA,easeInOut:_b,easeOut:RA,circIn:Jf,circInOut:hb,circOut:db,backIn:Yf,backInOut:cb,backOut:lb,anticipate:ub},qy=e=>{if(qf(e)){Rw(e.length===4);const[t,r,i,o]=e;return va(t,r,i,o)}else if(typeof e=="string")return _A[e];return e};function MA(e,t,r){const i=[],o=r||Pb,c=e.length-1;for(let u=0;u<c;u++){let h=o(e[u],e[u+1]);if(t){const p=Array.isArray(t)?t[u]||tn:t;h=wa(p,h)}i.push(h)}return i}function OA(e,t,{clamp:r=!0,ease:i,mixer:o}={}){const c=e.length;if(Rw(c===t.length),c===1)return()=>t[0];if(c===2&&e[0]===e[1])return()=>t[1];e[0]>e[c-1]&&(e=[...e].reverse(),t=[...t].reverse());const u=MA(t,i,o),h=u.length,p=m=>{let y=0;if(h>1)for(;y<e.length-2&&!(m<e[y+1]);y++);const x=Ri(e[y],e[y+1],m);return u[y](x)};return r?m=>p(ir(e[0],e[c-1],m)):p}function LA(e,t){const r=e[e.length-1];for(let i=1;i<=t;i++){const o=Ri(0,t,i);e.push(et(r,1,o))}}function DA(e){const t=[0];return LA(t,e.length-1),t}function IA(e,t){return e.map(r=>r*t)}function FA(e,t){return e.map(()=>t||_b).splice(0,e.length-1)}function pc({duration:e=300,keyframes:t,times:r,ease:i="easeInOut"}){const o=AA(i)?i.map(qy):qy(i),c={done:!1,value:t[0]},u=IA(r&&r.length===t.length?r:DA(t),e),h=OA(u,t,{ease:Array.isArray(o)?o:FA(t,o)});return{calculatedDuration:e,next:p=>(c.value=h(p),c.done=p>=e,c)}}const BA=e=>{const t=({timestamp:r})=>e(r);return{start:()=>qe.update(t,!0),stop:()=>zr(t),now:()=>Nt.isProcessing?Nt.timestamp:Vn.now()}},VA={decay:Wy,inertia:Wy,tween:pc,keyframes:pc,spring:Ab},UA=e=>e/100;class sp extends Tb{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:p}=this.options;p&&p()};const{name:r,motionValue:i,element:o,keyframes:c}=this.options,u=(o==null?void 0:o.KeyframeResolver)||Zf,h=(p,m)=>this.onKeyframesResolved(p,m);this.resolver=new u(c,h,r,i,o),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){const{type:r="keyframes",repeat:i=0,repeatDelay:o=0,repeatType:c,velocity:u=0}=this.options,h=Wf(r)?r:VA[r]||pc;let p,m;h!==pc&&typeof t[0]!="number"&&(p=wa(UA,Pb(t[0],t[1])),t=[0,100]);const y=h({...this.options,keyframes:t});c==="mirror"&&(m=h({...this.options,keyframes:[...t].reverse(),velocity:-u})),y.calculatedDuration===null&&(y.calculatedDuration=Xw(y));const{calculatedDuration:x}=y,w=x+o,j=w*(i+1)-o;return{generator:y,mirroredGenerator:m,mapPercentToKeyframes:p,calculatedDuration:x,resolvedDuration:w,totalDuration:j}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,r=!1){const{resolved:i}=this;if(!i){const{keyframes:V}=this.options;return{done:!0,value:V[V.length-1]}}const{finalKeyframe:o,generator:c,mirroredGenerator:u,mapPercentToKeyframes:h,keyframes:p,calculatedDuration:m,totalDuration:y,resolvedDuration:x}=i;if(this.startTime===null)return c.next(0);const{delay:w,repeat:j,repeatType:N,repeatDelay:S,onUpdate:b}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-y/this.speed,this.startTime)),r?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const E=this.currentTime-w*(this.speed>=0?1:-1),F=this.speed>=0?E<0:E>y;this.currentTime=Math.max(E,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=y);let _=this.currentTime,M=c;if(j){const V=Math.min(this.currentTime,y)/x;let he=Math.floor(V),J=V%1;!J&&V>=1&&(J=1),J===1&&he--,he=Math.min(he,j+1),!!(he%2)&&(N==="reverse"?(J=1-J,S&&(J-=S/x)):N==="mirror"&&(M=u)),_=ir(0,1,J)*x}const U=F?{done:!1,value:p[0]}:M.next(_);h&&(U.value=h(U.value));let{done:K}=U;!F&&m!==null&&(K=this.speed>=0?this.currentTime>=y:this.currentTime<=0);const G=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&K);return G&&o!==void 0&&(U.value=_c(p,this.options,o)),b&&b(U.value),G&&this.finish(),U}get duration(){const{resolved:t}=this;return t?nr(t.calculatedDuration):0}get time(){return nr(this.currentTime)}set time(t){t=tr(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const r=this.playbackSpeed!==t;this.playbackSpeed=t,r&&(this.time=nr(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=BA,onPlay:r,startTime:i}=this.options;this.driver||(this.driver=t(c=>this.tick(c))),r&&r();const o=this.driver.now();this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=o):this.startTime=i??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}const zA=new Set(["opacity","clipPath","filter","transform"]);function HA(e,t,r,{delay:i=0,duration:o=300,repeat:c=0,repeatType:u="loop",ease:h="easeInOut",times:p}={}){const m={[t]:r};p&&(m.offset=p);const y=Zw(h,o);return Array.isArray(y)&&(m.easing=y),e.animate(m,{delay:i,duration:o,easing:Array.isArray(y)?"linear":y,fill:"both",iterations:c+1,direction:u==="reverse"?"alternate":"normal"})}const $A=Pf(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),mc=10,WA=2e4;function qA(e){return Wf(e.type)||e.type==="spring"||!Jw(e.ease)}function KA(e,t){const r=new sp({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let i={done:!1,value:e[0]};const o=[];let c=0;for(;!i.done&&c<WA;)i=r.sample(c),o.push(i.value),c+=mc;return{times:void 0,keyframes:o,duration:c-mc,ease:"linear"}}const Mb={anticipate:ub,backInOut:cb,circInOut:hb};function GA(e){return e in Mb}class Ky extends Tb{constructor(t){super(t);const{name:r,motionValue:i,element:o,keyframes:c}=this.options;this.resolver=new kb(c,(u,h)=>this.onKeyframesResolved(u,h),r,i,o),this.resolver.scheduleResolve()}initPlayback(t,r){var i;let{duration:o=300,times:c,ease:u,type:h,motionValue:p,name:m,startTime:y}=this.options;if(!(!((i=p.owner)===null||i===void 0)&&i.current))return!1;if(typeof u=="string"&&hc()&&GA(u)&&(u=Mb[u]),qA(this.options)){const{onComplete:w,onUpdate:j,motionValue:N,element:S,...b}=this.options,E=KA(t,b);t=E.keyframes,t.length===1&&(t[1]=t[0]),o=E.duration,c=E.times,u=E.ease,h="keyframes"}const x=HA(p.owner.current,m,t,{...this.options,duration:o,times:c,ease:u});return x.startTime=y??this.calcStartTime(),this.pendingTimeline?(Ay(x,this.pendingTimeline),this.pendingTimeline=void 0):x.onfinish=()=>{const{onComplete:w}=this.options;p.set(_c(t,this.options,r)),w&&w(),this.cancel(),this.resolveFinishedPromise()},{animation:x,duration:o,times:c,type:h,ease:u,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:r}=t;return nr(r)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:r}=t;return nr(r.currentTime||0)}set time(t){const{resolved:r}=this;if(!r)return;const{animation:i}=r;i.currentTime=tr(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:r}=t;return r.playbackRate}set speed(t){const{resolved:r}=this;if(!r)return;const{animation:i}=r;i.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:r}=t;return r.playState}get startTime(){const{resolved:t}=this;if(!t)return null;const{animation:r}=t;return r.startTime}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{const{resolved:r}=this;if(!r)return tn;const{animation:i}=r;Ay(i,t)}return tn}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:r}=t;r.playState==="finished"&&this.updateFinishedPromise(),r.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:r}=t;r.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:t}=this;if(!t)return;const{animation:r,keyframes:i,duration:o,type:c,ease:u,times:h}=t;if(r.playState==="idle"||r.playState==="finished")return;if(this.time){const{motionValue:m,onUpdate:y,onComplete:x,element:w,...j}=this.options,N=new sp({...j,keyframes:i,duration:o,type:c,ease:u,times:h,isGenerator:!0}),S=tr(this.time);m.setWithVelocity(N.sample(S-mc).value,N.sample(S).value,mc)}const{onStop:p}=this.options;p&&p(),this.cancel()}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:r,name:i,repeatDelay:o,repeatType:c,damping:u,type:h}=t;return $A()&&i&&zA.has(i)&&r&&r.owner&&r.owner.current instanceof HTMLElement&&!r.owner.getProps().onUpdate&&!o&&c!=="mirror"&&u!==0&&h!=="inertia"}}const QA={type:"spring",stiffness:500,damping:25,restSpeed:10},XA=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),YA={type:"keyframes",duration:.8},JA={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ZA=(e,{keyframes:t})=>t.length>2?YA:As.has(e)?e.startsWith("scale")?XA(t[1]):QA:JA;function e4({when:e,delay:t,delayChildren:r,staggerChildren:i,staggerDirection:o,repeat:c,repeatType:u,repeatDelay:h,from:p,elapsed:m,...y}){return!!Object.keys(y).length}const ip=(e,t,r,i={},o,c)=>u=>{const h=$f(i,e)||{},p=h.delay||i.delay||0;let{elapsed:m=0}=i;m=m-tr(p);let y={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:t.getVelocity(),...h,delay:-m,onUpdate:w=>{t.set(w),h.onUpdate&&h.onUpdate(w)},onComplete:()=>{u(),h.onComplete&&h.onComplete()},name:e,motionValue:t,element:c?void 0:o};e4(h)||(y={...y,...ZA(e,y)}),y.duration&&(y.duration=tr(y.duration)),y.repeatDelay&&(y.repeatDelay=tr(y.repeatDelay)),y.from!==void 0&&(y.keyframes[0]=y.from);let x=!1;if((y.type===!1||y.duration===0&&!y.repeatDelay)&&(y.duration=0,y.delay===0&&(x=!0)),x&&!c&&t.get()!==void 0){const w=_c(y.keyframes,h);if(w!==void 0)return qe.update(()=>{y.onUpdate(w),y.onComplete()}),new xR([])}return!c&&Ky.supports(y)?new Ky(y):new sp(y)};function t4({protectedKeys:e,needsAnimating:t},r){const i=e.hasOwnProperty(r)&&t[r]!==!0;return t[r]=!1,i}function Ob(e,t,{delay:r=0,transitionOverride:i,type:o}={}){var c;let{transition:u=e.getDefaultTransition(),transitionEnd:h,...p}=t;i&&(u=i);const m=[],y=o&&e.animationState&&e.animationState.getState()[o];for(const x in p){const w=e.getValue(x,(c=e.latestValues[x])!==null&&c!==void 0?c:null),j=p[x];if(j===void 0||y&&t4(y,x))continue;const N={delay:r,...$f(u||{},x)};let S=!1;if(window.MotionHandoffAnimation){const E=sb(e);if(E){const F=window.MotionHandoffAnimation(E,x,qe);F!==null&&(N.startTime=F,S=!0)}}qh(e,x),w.start(ip(x,w,j,e.shouldReduceMotion&&As.has(x)?{type:!1}:N,e,S));const b=w.animation;b&&m.push(b)}return h&&Promise.all(m).then(()=>{qe.update(()=>{h&&_R(e,h)})}),m}function Zh(e,t,r={}){var i;const o=Ac(e,t,r.type==="exit"?(i=e.presenceContext)===null||i===void 0?void 0:i.custom:void 0);let{transition:c=e.getDefaultTransition()||{}}=o||{};r.transitionOverride&&(c=r.transitionOverride);const u=o?()=>Promise.all(Ob(e,o,r)):()=>Promise.resolve(),h=e.variantChildren&&e.variantChildren.size?(m=0)=>{const{delayChildren:y=0,staggerChildren:x,staggerDirection:w}=c;return n4(e,t,y+m,x,w,r)}:()=>Promise.resolve(),{when:p}=c;if(p){const[m,y]=p==="beforeChildren"?[u,h]:[h,u];return m().then(()=>y())}else return Promise.all([u(),h(r.delay)])}function n4(e,t,r=0,i=0,o=1,c){const u=[],h=(e.variantChildren.size-1)*i,p=o===1?(m=0)=>m*i:(m=0)=>h-m*i;return Array.from(e.variantChildren).sort(r4).forEach((m,y)=>{m.notify("AnimationStart",t),u.push(Zh(m,t,{...c,delay:r+p(y)}).then(()=>m.notify("AnimationComplete",t)))}),Promise.all(u)}function r4(e,t){return e.sortNodePosition(t)}function s4(e,t,r={}){e.notify("AnimationStart",t);let i;if(Array.isArray(t)){const o=t.map(c=>Zh(e,c,r));i=Promise.all(o)}else if(typeof t=="string")i=Zh(e,t,r);else{const o=typeof t=="function"?Ac(e,t,r.custom):t;i=Promise.all(Ob(e,o,r))}return i.then(()=>{e.notify("AnimationComplete",t)})}const i4=_f.length;function Lb(e){if(!e)return;if(!e.isControllingVariants){const r=e.parent?Lb(e.parent)||{}:{};return e.props.initial!==void 0&&(r.initial=e.props.initial),r}const t={};for(let r=0;r<i4;r++){const i=_f[r],o=e.props[i];(ta(o)||o===!1)&&(t[i]=o)}return t}const o4=[...Af].reverse(),a4=Af.length;function l4(e){return t=>Promise.all(t.map(({animation:r,options:i})=>s4(e,r,i)))}function c4(e){let t=l4(e),r=Gy(),i=!0;const o=p=>(m,y)=>{var x;const w=Ac(e,y,p==="exit"?(x=e.presenceContext)===null||x===void 0?void 0:x.custom:void 0);if(w){const{transition:j,transitionEnd:N,...S}=w;m={...m,...S,...N}}return m};function c(p){t=p(e)}function u(p){const{props:m}=e,y=Lb(e.parent)||{},x=[],w=new Set;let j={},N=1/0;for(let b=0;b<a4;b++){const E=o4[b],F=r[E],_=m[E]!==void 0?m[E]:y[E],M=ta(_),U=E===p?F.isActive:null;U===!1&&(N=b);let K=_===y[E]&&_!==m[E]&&M;if(K&&i&&e.manuallyAnimateOnMount&&(K=!1),F.protectedKeys={...j},!F.isActive&&U===null||!_&&!F.prevProp||Pc(_)||typeof _=="boolean")continue;const G=u4(F.prevProp,_);let V=G||E===p&&F.isActive&&!K&&M||b>N&&M,he=!1;const J=Array.isArray(_)?_:[_];let Se=J.reduce(o(E),{});U===!1&&(Se={});const{prevResolvedValues:Oe={}}=F,Ie={...Oe,...Se},Ue=me=>{V=!0,w.has(me)&&(he=!0,w.delete(me)),F.needsAnimating[me]=!0;const B=e.getValue(me);B&&(B.liveStyle=!1)};for(const me in Ie){const B=Se[me],ae=Oe[me];if(j.hasOwnProperty(me))continue;let Q=!1;Hh(B)&&Hh(ae)?Q=!Qw(B,ae):Q=B!==ae,Q?B!=null?Ue(me):w.add(me):B!==void 0&&w.has(me)?Ue(me):F.protectedKeys[me]=!0}F.prevProp=_,F.prevResolvedValues=Se,F.isActive&&(j={...j,...Se}),i&&e.blockInitialAnimation&&(V=!1),V&&(!(K&&G)||he)&&x.push(...J.map(me=>({animation:me,options:{type:E}})))}if(w.size){const b={};w.forEach(E=>{const F=e.getBaseTarget(E),_=e.getValue(E);_&&(_.liveStyle=!0),b[E]=F??null}),x.push({animation:b})}let S=!!x.length;return i&&(m.initial===!1||m.initial===m.animate)&&!e.manuallyAnimateOnMount&&(S=!1),i=!1,S?t(x):Promise.resolve()}function h(p,m){var y;if(r[p].isActive===m)return Promise.resolve();(y=e.variantChildren)===null||y===void 0||y.forEach(w=>{var j;return(j=w.animationState)===null||j===void 0?void 0:j.setActive(p,m)}),r[p].isActive=m;const x=u(p);for(const w in r)r[w].protectedKeys={};return x}return{animateChanges:u,setActive:h,setAnimateFunction:c,getState:()=>r,reset:()=>{r=Gy(),i=!0}}}function u4(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Qw(t,e):!1}function os(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Gy(){return{animate:os(!0),whileInView:os(),whileHover:os(),whileTap:os(),whileDrag:os(),whileFocus:os(),exit:os()}}class $r{constructor(t){this.isMounted=!1,this.node=t}update(){}}class d4 extends $r{constructor(t){super(t),t.animationState||(t.animationState=c4(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Pc(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:r}=this.node.prevProps||{};t!==r&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)===null||t===void 0||t.call(this)}}let h4=0;class f4 extends $r{constructor(){super(...arguments),this.id=h4++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:r}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;const o=this.node.animationState.setActive("exit",!t);r&&!t&&o.then(()=>r(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const p4={animation:{Feature:d4},exit:{Feature:f4}};function ia(e,t,r,i={passive:!0}){return e.addEventListener(t,r,i),()=>e.removeEventListener(t,r)}function ba(e){return{point:{x:e.pageX,y:e.pageY}}}const m4=e=>t=>Kf(t)&&e(t,ba(t));function Go(e,t,r,i){return ia(e,t,m4(r),i)}const Qy=(e,t)=>Math.abs(e-t);function g4(e,t){const r=Qy(e.x,t.x),i=Qy(e.y,t.y);return Math.sqrt(r**2+i**2)}class Db{constructor(t,r,{transformPagePoint:i,contextWindow:o,dragSnapToOrigin:c=!1}={}){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=sh(this.lastMoveEventInfo,this.history),w=this.startEvent!==null,j=g4(x.offset,{x:0,y:0})>=3;if(!w&&!j)return;const{point:N}=x,{timestamp:S}=Nt;this.history.push({...N,timestamp:S});const{onStart:b,onMove:E}=this.handlers;w||(b&&b(this.lastMoveEvent,x),this.startEvent=this.lastMoveEvent),E&&E(this.lastMoveEvent,x)},this.handlePointerMove=(x,w)=>{this.lastMoveEvent=x,this.lastMoveEventInfo=rh(w,this.transformPagePoint),qe.update(this.updatePoint,!0)},this.handlePointerUp=(x,w)=>{this.end();const{onEnd:j,onSessionEnd:N,resumeAnimation:S}=this.handlers;if(this.dragSnapToOrigin&&S&&S(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const b=sh(x.type==="pointercancel"?this.lastMoveEventInfo:rh(w,this.transformPagePoint),this.history);this.startEvent&&j&&j(x,b),N&&N(x,b)},!Kf(t))return;this.dragSnapToOrigin=c,this.handlers=r,this.transformPagePoint=i,this.contextWindow=o||window;const u=ba(t),h=rh(u,this.transformPagePoint),{point:p}=h,{timestamp:m}=Nt;this.history=[{...p,timestamp:m}];const{onSessionStart:y}=r;y&&y(t,sh(h,this.history)),this.removeListeners=wa(Go(this.contextWindow,"pointermove",this.handlePointerMove),Go(this.contextWindow,"pointerup",this.handlePointerUp),Go(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),zr(this.updatePoint)}}function rh(e,t){return t?{point:t(e.point)}:e}function Xy(e,t){return{x:e.x-t.x,y:e.y-t.y}}function sh({point:e},t){return{point:e,delta:Xy(e,Ib(t)),offset:Xy(e,y4(t)),velocity:x4(t,.1)}}function y4(e){return e[0]}function Ib(e){return e[e.length-1]}function x4(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,i=null;const o=Ib(e);for(;r>=0&&(i=e[r],!(o.timestamp-i.timestamp>tr(t)));)r--;if(!i)return{x:0,y:0};const c=nr(o.timestamp-i.timestamp);if(c===0)return{x:0,y:0};const u={x:(o.x-i.x)/c,y:(o.y-i.y)/c};return u.x===1/0&&(u.x=0),u.y===1/0&&(u.y=0),u}const Fb=1e-4,v4=1-Fb,w4=1+Fb,Bb=.01,b4=0-Bb,N4=0+Bb;function nn(e){return e.max-e.min}function S4(e,t,r){return Math.abs(e-t)<=r}function Yy(e,t,r,i=.5){e.origin=i,e.originPoint=et(t.min,t.max,e.origin),e.scale=nn(r)/nn(t),e.translate=et(r.min,r.max,e.origin)-e.originPoint,(e.scale>=v4&&e.scale<=w4||isNaN(e.scale))&&(e.scale=1),(e.translate>=b4&&e.translate<=N4||isNaN(e.translate))&&(e.translate=0)}function Qo(e,t,r,i){Yy(e.x,t.x,r.x,i?i.originX:void 0),Yy(e.y,t.y,r.y,i?i.originY:void 0)}function Jy(e,t,r){e.min=r.min+t.min,e.max=e.min+nn(t)}function j4(e,t,r){Jy(e.x,t.x,r.x),Jy(e.y,t.y,r.y)}function Zy(e,t,r){e.min=t.min-r.min,e.max=e.min+nn(t)}function Xo(e,t,r){Zy(e.x,t.x,r.x),Zy(e.y,t.y,r.y)}function C4(e,{min:t,max:r},i){return t!==void 0&&e<t?e=i?et(t,e,i.min):Math.max(e,t):r!==void 0&&e>r&&(e=i?et(r,e,i.max):Math.min(e,r)),e}function ex(e,t,r){return{min:t!==void 0?e.min+t:void 0,max:r!==void 0?e.max+r-(e.max-e.min):void 0}}function k4(e,{top:t,left:r,bottom:i,right:o}){return{x:ex(e.x,r,o),y:ex(e.y,t,i)}}function tx(e,t){let r=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,i]=[i,r]),{min:r,max:i}}function T4(e,t){return{x:tx(e.x,t.x),y:tx(e.y,t.y)}}function E4(e,t){let r=.5;const i=nn(e),o=nn(t);return o>i?r=Ri(t.min,t.max-i,e.min):i>o&&(r=Ri(e.min,e.max-o,t.min)),ir(0,1,r)}function P4(e,t){const r={};return t.min!==void 0&&(r.min=t.min-e.min),t.max!==void 0&&(r.max=t.max-e.min),r}const ef=.35;function R4(e=ef){return e===!1?e=0:e===!0&&(e=ef),{x:nx(e,"left","right"),y:nx(e,"top","bottom")}}function nx(e,t,r){return{min:rx(e,t),max:rx(e,r)}}function rx(e,t){return typeof e=="number"?e:e[t]||0}const sx=()=>({translate:0,scale:1,origin:0,originPoint:0}),ui=()=>({x:sx(),y:sx()}),ix=()=>({min:0,max:0}),ot=()=>({x:ix(),y:ix()});function dn(e){return[e("x"),e("y")]}function Vb({top:e,left:t,right:r,bottom:i}){return{x:{min:t,max:r},y:{min:e,max:i}}}function A4({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function _4(e,t){if(!t)return e;const r=t({x:e.left,y:e.top}),i=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:i.y,right:i.x}}function ih(e){return e===void 0||e===1}function tf({scale:e,scaleX:t,scaleY:r}){return!ih(e)||!ih(t)||!ih(r)}function as(e){return tf(e)||Ub(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Ub(e){return ox(e.x)||ox(e.y)}function ox(e){return e&&e!=="0%"}function gc(e,t,r){const i=e-r,o=t*i;return r+o}function ax(e,t,r,i,o){return o!==void 0&&(e=gc(e,o,i)),gc(e,r,i)+t}function nf(e,t=0,r=1,i,o){e.min=ax(e.min,t,r,i,o),e.max=ax(e.max,t,r,i,o)}function zb(e,{x:t,y:r}){nf(e.x,t.translate,t.scale,t.originPoint),nf(e.y,r.translate,r.scale,r.originPoint)}const lx=.999999999999,cx=1.0000000000001;function M4(e,t,r,i=!1){const o=r.length;if(!o)return;t.x=t.y=1;let c,u;for(let h=0;h<o;h++){c=r[h],u=c.projectionDelta;const{visualElement:p}=c.options;p&&p.props.style&&p.props.style.display==="contents"||(i&&c.options.layoutScroll&&c.scroll&&c!==c.root&&hi(e,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),u&&(t.x*=u.x.scale,t.y*=u.y.scale,zb(e,u)),i&&as(c.latestValues)&&hi(e,c.latestValues))}t.x<cx&&t.x>lx&&(t.x=1),t.y<cx&&t.y>lx&&(t.y=1)}function di(e,t){e.min=e.min+t,e.max=e.max+t}function ux(e,t,r,i,o=.5){const c=et(e.min,e.max,o);nf(e,t,r,c,i)}function hi(e,t){ux(e.x,t.x,t.scaleX,t.scale,t.originX),ux(e.y,t.y,t.scaleY,t.scale,t.originY)}function Hb(e,t){return Vb(_4(e.getBoundingClientRect(),t))}function O4(e,t,r){const i=Hb(e,r),{scroll:o}=t;return o&&(di(i.x,o.offset.x),di(i.y,o.offset.y)),i}const $b=({current:e})=>e?e.ownerDocument.defaultView:null,L4=new WeakMap;class D4{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=ot(),this.visualElement=t}start(t,{snapToCursor:r=!1}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const o=y=>{const{dragSnapToOrigin:x}=this.getProps();x?this.pauseAnimation():this.stopAnimation(),r&&this.snapToCursor(ba(y).point)},c=(y,x)=>{const{drag:w,dragPropagation:j,onDragStart:N}=this.getProps();if(w&&!j&&(this.openDragLock&&this.openDragLock(),this.openDragLock=TR(w),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),dn(b=>{let E=this.getAxisMotionValue(b).get()||0;if(Bn.test(E)){const{projection:F}=this.visualElement;if(F&&F.layout){const _=F.layout.layoutBox[b];_&&(E=nn(_)*(parseFloat(E)/100))}}this.originPoint[b]=E}),N&&qe.postRender(()=>N(y,x)),qh(this.visualElement,"transform");const{animationState:S}=this.visualElement;S&&S.setActive("whileDrag",!0)},u=(y,x)=>{const{dragPropagation:w,dragDirectionLock:j,onDirectionLock:N,onDrag:S}=this.getProps();if(!w&&!this.openDragLock)return;const{offset:b}=x;if(j&&this.currentDirection===null){this.currentDirection=I4(b),this.currentDirection!==null&&N&&N(this.currentDirection);return}this.updateAxis("x",x.point,b),this.updateAxis("y",x.point,b),this.visualElement.render(),S&&S(y,x)},h=(y,x)=>this.stop(y,x),p=()=>dn(y=>{var x;return this.getAnimationState(y)==="paused"&&((x=this.getAxisMotionValue(y).animation)===null||x===void 0?void 0:x.play())}),{dragSnapToOrigin:m}=this.getProps();this.panSession=new Db(t,{onSessionStart:o,onStart:c,onMove:u,onSessionEnd:h,resumeAnimation:p},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:m,contextWindow:$b(this.visualElement)})}stop(t,r){const i=this.isDragging;if(this.cancel(),!i)return;const{velocity:o}=r;this.startAnimation(o);const{onDragEnd:c}=this.getProps();c&&qe.postRender(()=>c(t,r))}cancel(){this.isDragging=!1;const{projection:t,animationState:r}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),r&&r.setActive("whileDrag",!1)}updateAxis(t,r,i){const{drag:o}=this.getProps();if(!i||!$l(t,o,this.currentDirection))return;const c=this.getAxisMotionValue(t);let u=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(u=C4(u,this.constraints[t],this.elastic[t])),c.set(u)}resolveConstraints(){var t;const{dragConstraints:r,dragElastic:i}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,c=this.constraints;r&&li(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&&o?this.constraints=k4(o.layoutBox,r):this.constraints=!1,this.elastic=R4(i),c!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&dn(u=>{this.constraints!==!1&&this.getAxisMotionValue(u)&&(this.constraints[u]=P4(o.layoutBox[u],this.constraints[u]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!li(t))return!1;const i=t.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const c=O4(i,o.root,this.visualElement.getTransformPagePoint());let u=T4(o.layout.layoutBox,c);if(r){const h=r(A4(u));this.hasMutatedConstraints=!!h,h&&(u=Vb(h))}return u}startAnimation(t){const{drag:r,dragMomentum:i,dragElastic:o,dragTransition:c,dragSnapToOrigin:u,onDragTransitionEnd:h}=this.getProps(),p=this.constraints||{},m=dn(y=>{if(!$l(y,r,this.currentDirection))return;let x=p&&p[y]||{};u&&(x={min:0,max:0});const w=o?200:1e6,j=o?40:1e7,N={type:"inertia",velocity:i?t[y]:0,bounceStiffness:w,bounceDamping:j,timeConstant:750,restDelta:1,restSpeed:10,...c,...x};return this.startAxisValueAnimation(y,N)});return Promise.all(m).then(h)}startAxisValueAnimation(t,r){const i=this.getAxisMotionValue(t);return qh(this.visualElement,t),i.start(ip(t,i,0,r,this.visualElement,!1))}stopAnimation(){dn(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){dn(t=>{var r;return(r=this.getAxisMotionValue(t).animation)===null||r===void 0?void 0:r.pause()})}getAnimationState(t){var r;return(r=this.getAxisMotionValue(t).animation)===null||r===void 0?void 0:r.state}getAxisMotionValue(t){const r=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps(),o=i[r];return o||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){dn(r=>{const{drag:i}=this.getProps();if(!$l(r,i,this.currentDirection))return;const{projection:o}=this.visualElement,c=this.getAxisMotionValue(r);if(o&&o.layout){const{min:u,max:h}=o.layout.layoutBox[r];c.set(t[r]-et(u,h,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:r}=this.getProps(),{projection:i}=this.visualElement;if(!li(r)||!i||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};dn(u=>{const h=this.getAxisMotionValue(u);if(h&&this.constraints!==!1){const p=h.get();o[u]=E4({min:p,max:p},this.constraints[u])}});const{transformTemplate:c}=this.visualElement.getProps();this.visualElement.current.style.transform=c?c({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),dn(u=>{if(!$l(u,t,null))return;const h=this.getAxisMotionValue(u),{min:p,max:m}=this.constraints[u];h.set(et(p,m,o[u]))})}addListeners(){if(!this.visualElement.current)return;L4.set(this.visualElement,this);const t=this.visualElement.current,r=Go(t,"pointerdown",p=>{const{drag:m,dragListener:y=!0}=this.getProps();m&&y&&this.start(p)}),i=()=>{const{dragConstraints:p}=this.getProps();li(p)&&p.current&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,c=o.addEventListener("measure",i);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),qe.read(i);const u=ia(window,"resize",()=>this.scalePositionWithinConstraints()),h=o.addEventListener("didUpdate",(({delta:p,hasLayoutChanged:m})=>{this.isDragging&&m&&(dn(y=>{const x=this.getAxisMotionValue(y);x&&(this.originPoint[y]+=p[y].translate,x.set(x.get()+p[y].translate))}),this.visualElement.render())}));return()=>{u(),r(),c(),h&&h()}}getProps(){const t=this.visualElement.getProps(),{drag:r=!1,dragDirectionLock:i=!1,dragPropagation:o=!1,dragConstraints:c=!1,dragElastic:u=ef,dragMomentum:h=!0}=t;return{...t,drag:r,dragDirectionLock:i,dragPropagation:o,dragConstraints:c,dragElastic:u,dragMomentum:h}}}function $l(e,t,r){return(t===!0||t===e)&&(r===null||r===e)}function I4(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}class F4 extends $r{constructor(t){super(t),this.removeGroupControls=tn,this.removeListeners=tn,this.controls=new D4(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tn}unmount(){this.removeGroupControls(),this.removeListeners()}}const dx=e=>(t,r)=>{e&&qe.postRender(()=>e(t,r))};class B4 extends $r{constructor(){super(...arguments),this.removePointerDownListener=tn}onPointerDown(t){this.session=new Db(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:$b(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:r,onPan:i,onPanEnd:o}=this.node.getProps();return{onSessionStart:dx(t),onStart:dx(r),onMove:i,onEnd:(c,u)=>{delete this.session,o&&qe.postRender(()=>o(c,u))}}}mount(){this.removePointerDownListener=Go(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function V4(){const e=k.useContext(Ef);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:r,register:i}=e,o=k.useId();k.useEffect(()=>i(o),[]);const c=k.useCallback(()=>r&&r(o),[o,r]);return!t&&r?[!1,c]:[!0]}const sc={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function hx(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Lo={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(pe.test(e))e=parseFloat(e);else return e;const r=hx(e,t.target.x),i=hx(e,t.target.y);return`${r}% ${i}%`}},U4={correct:(e,{treeScale:t,projectionDelta:r})=>{const i=e,o=Hr.parse(e);if(o.length>5)return i;const c=Hr.createTransformer(e),u=typeof o[0]!="number"?1:0,h=r.x.scale*t.x,p=r.y.scale*t.y;o[0+u]/=h,o[1+u]/=p;const m=et(h,p,.5);return typeof o[2+u]=="number"&&(o[2+u]/=m),typeof o[3+u]=="number"&&(o[3+u]/=m),c(o)}};class z4 extends k.Component{componentDidMount(){const{visualElement:t,layoutGroup:r,switchLayoutGroup:i,layoutId:o}=this.props,{projection:c}=t;$P(H4),c&&(r.group&&r.group.add(c),i&&i.register&&o&&i.register(c),c.root.didUpdate(),c.addEventListener("animationComplete",()=>{this.safeToRemove()}),c.setOptions({...c.options,onExitComplete:()=>this.safeToRemove()})),sc.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:r,visualElement:i,drag:o,isPresent:c}=this.props,u=i.projection;return u&&(u.isPresent=c,o||t.layoutDependency!==r||r===void 0?u.willUpdate():this.safeToRemove(),t.isPresent!==c&&(c?u.promote():u.relegate()||qe.postRender(()=>{const h=u.getStack();(!h||!h.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Of.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:r,switchLayoutGroup:i}=this.props,{projection:o}=t;o&&(o.scheduleCheckAfterUnmount(),r&&r.group&&r.group.remove(o),i&&i.deregister&&i.deregister(o))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Wb(e){const[t,r]=V4(),i=k.useContext(Pw);return l.jsx(z4,{...e,layoutGroup:i,switchLayoutGroup:k.useContext(Dw),isPresent:t,safeToRemove:r})}const H4={borderRadius:{...Lo,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Lo,borderTopRightRadius:Lo,borderBottomLeftRadius:Lo,borderBottomRightRadius:Lo,boxShadow:U4};function $4(e,t,r){const i=At(e)?e:ra(e);return i.start(ip("",i,t,r)),i.animation}function W4(e){return e instanceof SVGElement&&e.tagName!=="svg"}const q4=(e,t)=>e.depth-t.depth;class K4{constructor(){this.children=[],this.isDirty=!1}add(t){Gf(this.children,t),this.isDirty=!0}remove(t){Qf(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(q4),this.isDirty=!1,this.children.forEach(t)}}function G4(e,t){const r=Vn.now(),i=({timestamp:o})=>{const c=o-r;c>=t&&(zr(i),e(c-t))};return qe.read(i,!0),()=>zr(i)}const qb=["TopLeft","TopRight","BottomLeft","BottomRight"],Q4=qb.length,fx=e=>typeof e=="string"?parseFloat(e):e,px=e=>typeof e=="number"||pe.test(e);function X4(e,t,r,i,o,c){o?(e.opacity=et(0,r.opacity!==void 0?r.opacity:1,Y4(i)),e.opacityExit=et(t.opacity!==void 0?t.opacity:1,0,J4(i))):c&&(e.opacity=et(t.opacity!==void 0?t.opacity:1,r.opacity!==void 0?r.opacity:1,i));for(let u=0;u<Q4;u++){const h=`border${qb[u]}Radius`;let p=mx(t,h),m=mx(r,h);if(p===void 0&&m===void 0)continue;p||(p=0),m||(m=0),p===0||m===0||px(p)===px(m)?(e[h]=Math.max(et(fx(p),fx(m),i),0),(Bn.test(m)||Bn.test(p))&&(e[h]+="%")):e[h]=m}(t.rotate||r.rotate)&&(e.rotate=et(t.rotate||0,r.rotate||0,i))}function mx(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const Y4=Kb(0,.5,db),J4=Kb(.5,.95,tn);function Kb(e,t,r){return i=>i<e?0:i>t?1:r(Ri(e,t,i))}function gx(e,t){e.min=t.min,e.max=t.max}function un(e,t){gx(e.x,t.x),gx(e.y,t.y)}function yx(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function xx(e,t,r,i,o){return e-=t,e=gc(e,1/r,i),o!==void 0&&(e=gc(e,1/o,i)),e}function Z4(e,t=0,r=1,i=.5,o,c=e,u=e){if(Bn.test(t)&&(t=parseFloat(t),t=et(u.min,u.max,t/100)-u.min),typeof t!="number")return;let h=et(c.min,c.max,i);e===c&&(h-=t),e.min=xx(e.min,t,r,h,o),e.max=xx(e.max,t,r,h,o)}function vx(e,t,[r,i,o],c,u){Z4(e,t[r],t[i],t[o],t.scale,c,u)}const e3=["x","scaleX","originX"],t3=["y","scaleY","originY"];function wx(e,t,r,i){vx(e.x,t,e3,r?r.x:void 0,i?i.x:void 0),vx(e.y,t,t3,r?r.y:void 0,i?i.y:void 0)}function bx(e){return e.translate===0&&e.scale===1}function Gb(e){return bx(e.x)&&bx(e.y)}function Nx(e,t){return e.min===t.min&&e.max===t.max}function n3(e,t){return Nx(e.x,t.x)&&Nx(e.y,t.y)}function Sx(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Qb(e,t){return Sx(e.x,t.x)&&Sx(e.y,t.y)}function jx(e){return nn(e.x)/nn(e.y)}function Cx(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class r3{constructor(){this.members=[]}add(t){Gf(this.members,t),t.scheduleRender()}remove(t){if(Qf(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const r=this.members[this.members.length-1];r&&this.promote(r)}}relegate(t){const r=this.members.findIndex(o=>t===o);if(r===0)return!1;let i;for(let o=r;o>=0;o--){const c=this.members[o];if(c.isPresent!==!1){i=c;break}}return i?(this.promote(i),!0):!1}promote(t,r){const i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,r&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:o}=t.options;o===!1&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:r,resumingFrom:i}=t;r.onExitComplete&&r.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function s3(e,t,r){let i="";const o=e.x.translate/t.x,c=e.y.translate/t.y,u=(r==null?void 0:r.z)||0;if((o||c||u)&&(i=`translate3d(${o}px, ${c}px, ${u}px) `),(t.x!==1||t.y!==1)&&(i+=`scale(${1/t.x}, ${1/t.y}) `),r){const{transformPerspective:m,rotate:y,rotateX:x,rotateY:w,skewX:j,skewY:N}=r;m&&(i=`perspective(${m}px) ${i}`),y&&(i+=`rotate(${y}deg) `),x&&(i+=`rotateX(${x}deg) `),w&&(i+=`rotateY(${w}deg) `),j&&(i+=`skewX(${j}deg) `),N&&(i+=`skewY(${N}deg) `)}const h=e.x.scale*t.x,p=e.y.scale*t.y;return(h!==1||p!==1)&&(i+=`scale(${h}, ${p})`),i||"none"}const ls={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},zo=typeof window<"u"&&window.MotionDebug!==void 0,oh=["","X","Y","Z"],i3={visibility:"hidden"},kx=1e3;let o3=0;function ah(e,t,r,i){const{latestValues:o}=t;o[e]&&(r[e]=o[e],t.setStaticValue(e,0),i&&(i[e]=0))}function Xb(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const r=sb(t);if(window.MotionHasOptimisedAnimation(r,"transform")){const{layout:o,layoutId:c}=e.options;window.MotionCancelOptimisedAnimation(r,"transform",qe,!(o||c))}const{parent:i}=e;i&&!i.hasCheckedOptimisedAppear&&Xb(i)}function Yb({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:i,resetTransform:o}){return class{constructor(u={},h=t==null?void 0:t()){this.id=o3++,this.animationId=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.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,zo&&(ls.totalNodes=ls.resolvedTargetDeltas=ls.recalculatedProjection=0),this.nodes.forEach(c3),this.nodes.forEach(p3),this.nodes.forEach(m3),this.nodes.forEach(u3),zo&&window.MotionDebug.record(ls)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=u,this.root=h?h.root||h:this,this.path=h?[...h.path,h]:[],this.parent=h,this.depth=h?h.depth+1:0;for(let p=0;p<this.path.length;p++)this.path[p].shouldResetTransform=!0;this.root===this&&(this.nodes=new K4)}addEventListener(u,h){return this.eventHandlers.has(u)||this.eventHandlers.set(u,new Xf),this.eventHandlers.get(u).add(h)}notifyListeners(u,...h){const p=this.eventHandlers.get(u);p&&p.notify(...h)}hasListeners(u){return this.eventHandlers.has(u)}mount(u,h=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=W4(u),this.instance=u;const{layoutId:p,layout:m,visualElement:y}=this.options;if(y&&!y.current&&y.mount(u),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),h&&(m||p)&&(this.isLayoutDirty=!0),e){let x;const w=()=>this.root.updateBlockedByResize=!1;e(u,()=>{this.root.updateBlockedByResize=!0,x&&x(),x=G4(w,250),sc.hasAnimatedSinceResize&&(sc.hasAnimatedSinceResize=!1,this.nodes.forEach(Ex))})}p&&this.root.registerSharedNode(p,this),this.options.animate!==!1&&y&&(p||m)&&this.addEventListener("didUpdate",({delta:x,hasLayoutChanged:w,hasRelativeTargetChanged:j,layout:N})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const S=this.options.transition||y.getDefaultTransition()||w3,{onLayoutAnimationStart:b,onLayoutAnimationComplete:E}=y.getProps(),F=!this.targetLayout||!Qb(this.targetLayout,N)||j,_=!w&&j;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||_||w&&(F||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(x,_);const M={...$f(S,"layout"),onPlay:b,onComplete:E};(y.shouldReduceMotion||this.options.layoutRoot)&&(M.delay=0,M.type=!1),this.startAnimation(M)}else w||Ex(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=N})}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,zr(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(g3),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&&Xb(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let y=0;y<this.path.length;y++){const x=this.path[y];x.shouldResetTransform=!0,x.updateScroll("snapshot"),x.options.layoutRoot&&x.willUpdate(!1)}const{layoutId:h,layout:p}=this.options;if(h===void 0&&!p)return;const m=this.getTransformTemplate();this.prevTransformTemplateValue=m?m(this.latestValues,""):void 0,this.updateSnapshot(),u&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Tx);return}this.isUpdating||this.nodes.forEach(h3),this.isUpdating=!1,this.nodes.forEach(f3),this.nodes.forEach(a3),this.nodes.forEach(l3),this.clearAllSnapshots();const h=Vn.now();Nt.delta=ir(0,1e3/60,h-Nt.timestamp),Nt.timestamp=h,Nt.isProcessing=!0,Yd.update.process(Nt),Yd.preRender.process(Nt),Yd.render.process(Nt),Nt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Of.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(d3),this.sharedNodes.forEach(y3)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,qe.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){qe.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let p=0;p<this.path.length;p++)this.path[p].updateScroll();const u=this.layout;this.layout=this.measure(!1),this.layoutCorrected=ot(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:h}=this.options;h&&h.notify("LayoutMeasure",this.layout.layoutBox,u?u.layoutBox:void 0)}updateScroll(u="measure"){let h=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===u&&(h=!1),h){const p=i(this.instance);this.scroll={animationId:this.root.animationId,phase:u,isRoot:p,offset:r(this.instance),wasRoot:this.scroll?this.scroll.isRoot:p}}}resetTransform(){if(!o)return;const u=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,h=this.projectionDelta&&!Gb(this.projectionDelta),p=this.getTransformTemplate(),m=p?p(this.latestValues,""):void 0,y=m!==this.prevTransformTemplateValue;u&&(h||as(this.latestValues)||y)&&(o(this.instance,m),this.shouldResetTransform=!1,this.scheduleRender())}measure(u=!0){const h=this.measurePageBox();let p=this.removeElementScroll(h);return u&&(p=this.removeTransform(p)),b3(p),{animationId:this.root.animationId,measuredBox:h,layoutBox:p,latestValues:{},source:this.id}}measurePageBox(){var u;const{visualElement:h}=this.options;if(!h)return ot();const p=h.measureViewportBox();if(!(((u=this.scroll)===null||u===void 0?void 0:u.wasRoot)||this.path.some(N3))){const{scroll:y}=this.root;y&&(di(p.x,y.offset.x),di(p.y,y.offset.y))}return p}removeElementScroll(u){var h;const p=ot();if(un(p,u),!((h=this.scroll)===null||h===void 0)&&h.wasRoot)return p;for(let m=0;m<this.path.length;m++){const y=this.path[m],{scroll:x,options:w}=y;y!==this.root&&x&&w.layoutScroll&&(x.wasRoot&&un(p,u),di(p.x,x.offset.x),di(p.y,x.offset.y))}return p}applyTransform(u,h=!1){const p=ot();un(p,u);for(let m=0;m<this.path.length;m++){const y=this.path[m];!h&&y.options.layoutScroll&&y.scroll&&y!==y.root&&hi(p,{x:-y.scroll.offset.x,y:-y.scroll.offset.y}),as(y.latestValues)&&hi(p,y.latestValues)}return as(this.latestValues)&&hi(p,this.latestValues),p}removeTransform(u){const h=ot();un(h,u);for(let p=0;p<this.path.length;p++){const m=this.path[p];if(!m.instance||!as(m.latestValues))continue;tf(m.latestValues)&&m.updateSnapshot();const y=ot(),x=m.measurePageBox();un(y,x),wx(h,m.latestValues,m.snapshot?m.snapshot.layoutBox:void 0,y)}return as(this.latestValues)&&wx(h,this.latestValues),h}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!==Nt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(u=!1){var h;const p=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=p.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=p.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=p.isSharedProjectionDirty);const m=!!this.resumingFrom||this!==p;if(!(u||m&&this.isSharedProjectionDirty||this.isProjectionDirty||!((h=this.parent)===null||h===void 0)&&h.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:x,layoutId:w}=this.options;if(!(!this.layout||!(x||w))){if(this.resolvedRelativeTargetAt=Nt.timestamp,!this.targetDelta&&!this.relativeTarget){const j=this.getClosestProjectingParent();j&&j.layout&&this.animationProgress!==1?(this.relativeParent=j,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ot(),this.relativeTargetOrigin=ot(),Xo(this.relativeTargetOrigin,this.layout.layoutBox,j.layout.layoutBox),un(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=ot(),this.targetWithTransforms=ot()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),j4(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):un(this.target,this.layout.layoutBox),zb(this.target,this.targetDelta)):un(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const j=this.getClosestProjectingParent();j&&!!j.resumingFrom==!!this.resumingFrom&&!j.options.layoutScroll&&j.target&&this.animationProgress!==1?(this.relativeParent=j,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ot(),this.relativeTargetOrigin=ot(),Xo(this.relativeTargetOrigin,this.target,j.target),un(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}zo&&ls.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||tf(this.parent.latestValues)||Ub(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var u;const h=this.getLead(),p=!!this.resumingFrom||this!==h;let m=!0;if((this.isProjectionDirty||!((u=this.parent)===null||u===void 0)&&u.isProjectionDirty)&&(m=!1),p&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(m=!1),this.resolvedRelativeTargetAt===Nt.timestamp&&(m=!1),m)return;const{layout:y,layoutId:x}=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||x))return;un(this.layoutCorrected,this.layout.layoutBox);const w=this.treeScale.x,j=this.treeScale.y;M4(this.layoutCorrected,this.treeScale,this.path,p),h.layout&&!h.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(h.target=h.layout.layoutBox,h.targetWithTransforms=ot());const{target:N}=h;if(!N){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(yx(this.prevProjectionDelta.x,this.projectionDelta.x),yx(this.prevProjectionDelta.y,this.projectionDelta.y)),Qo(this.projectionDelta,this.layoutCorrected,N,this.latestValues),(this.treeScale.x!==w||this.treeScale.y!==j||!Cx(this.projectionDelta.x,this.prevProjectionDelta.x)||!Cx(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",N)),zo&&ls.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(u=!0){var h;if((h=this.options.visualElement)===null||h===void 0||h.scheduleRender(),u){const p=this.getStack();p&&p.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ui(),this.projectionDelta=ui(),this.projectionDeltaWithTransform=ui()}setAnimationOrigin(u,h=!1){const p=this.snapshot,m=p?p.latestValues:{},y={...this.latestValues},x=ui();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!h;const w=ot(),j=p?p.source:void 0,N=this.layout?this.layout.source:void 0,S=j!==N,b=this.getStack(),E=!b||b.members.length<=1,F=!!(S&&!E&&this.options.crossfade===!0&&!this.path.some(v3));this.animationProgress=0;let _;this.mixTargetDelta=M=>{const U=M/1e3;Px(x.x,u.x,U),Px(x.y,u.y,U),this.setTargetDelta(x),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Xo(w,this.layout.layoutBox,this.relativeParent.layout.layoutBox),x3(this.relativeTarget,this.relativeTargetOrigin,w,U),_&&n3(this.relativeTarget,_)&&(this.isProjectionDirty=!1),_||(_=ot()),un(_,this.relativeTarget)),S&&(this.animationValues=y,X4(y,m,this.latestValues,U,F,E)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=U},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(u){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(zr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=qe.update(()=>{sc.hasAnimatedSinceResize=!0,this.currentAnimation=$4(0,kx,{...u,onUpdate:h=>{this.mixTargetDelta(h),u.onUpdate&&u.onUpdate(h)},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(kx),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const u=this.getLead();let{targetWithTransforms:h,target:p,layout:m,latestValues:y}=u;if(!(!h||!p||!m)){if(this!==u&&this.layout&&m&&Jb(this.options.animationType,this.layout.layoutBox,m.layoutBox)){p=this.target||ot();const x=nn(this.layout.layoutBox.x);p.x.min=u.target.x.min,p.x.max=p.x.min+x;const w=nn(this.layout.layoutBox.y);p.y.min=u.target.y.min,p.y.max=p.y.min+w}un(h,p),hi(h,y),Qo(this.projectionDeltaWithTransform,this.layoutCorrected,h,y)}}registerSharedNode(u,h){this.sharedNodes.has(u)||this.sharedNodes.set(u,new r3),this.sharedNodes.get(u).add(h);const m=h.options.initialPromotionConfig;h.promote({transition:m?m.transition:void 0,preserveFollowOpacity:m&&m.shouldPreserveFollowOpacity?m.shouldPreserveFollowOpacity(h):void 0})}isLead(){const u=this.getStack();return u?u.lead===this:!0}getLead(){var u;const{layoutId:h}=this.options;return h?((u=this.getStack())===null||u===void 0?void 0:u.lead)||this:this}getPrevLead(){var u;const{layoutId:h}=this.options;return h?(u=this.getStack())===null||u===void 0?void 0:u.prevLead:void 0}getStack(){const{layoutId:u}=this.options;if(u)return this.root.sharedNodes.get(u)}promote({needsReset:u,transition:h,preserveFollowOpacity:p}={}){const m=this.getStack();m&&m.promote(this,p),u&&(this.projectionDelta=void 0,this.needsReset=!0),h&&this.setOptions({transition:h})}relegate(){const u=this.getStack();return u?u.relegate(this):!1}resetSkewAndRotation(){const{visualElement:u}=this.options;if(!u)return;let h=!1;const{latestValues:p}=u;if((p.z||p.rotate||p.rotateX||p.rotateY||p.rotateZ||p.skewX||p.skewY)&&(h=!0),!h)return;const m={};p.z&&ah("z",u,m,this.animationValues);for(let y=0;y<oh.length;y++)ah(`rotate${oh[y]}`,u,m,this.animationValues),ah(`skew${oh[y]}`,u,m,this.animationValues);u.render();for(const y in m)u.setStaticValue(y,m[y]),this.animationValues&&(this.animationValues[y]=m[y]);u.scheduleRender()}getProjectionStyles(u){var h,p;if(!this.instance||this.isSVG)return;if(!this.isVisible)return i3;const m={visibility:""},y=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,m.opacity="",m.pointerEvents=nc(u==null?void 0:u.pointerEvents)||"",m.transform=y?y(this.latestValues,""):"none",m;const x=this.getLead();if(!this.projectionDelta||!this.layout||!x.target){const S={};return this.options.layoutId&&(S.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,S.pointerEvents=nc(u==null?void 0:u.pointerEvents)||""),this.hasProjected&&!as(this.latestValues)&&(S.transform=y?y({},""):"none",this.hasProjected=!1),S}const w=x.animationValues||x.latestValues;this.applyTransformsToTarget(),m.transform=s3(this.projectionDeltaWithTransform,this.treeScale,w),y&&(m.transform=y(w,m.transform));const{x:j,y:N}=this.projectionDelta;m.transformOrigin=`${j.origin*100}% ${N.origin*100}% 0`,x.animationValues?m.opacity=x===this?(p=(h=w.opacity)!==null&&h!==void 0?h:this.latestValues.opacity)!==null&&p!==void 0?p:1:this.preserveOpacity?this.latestValues.opacity:w.opacityExit:m.opacity=x===this?w.opacity!==void 0?w.opacity:"":w.opacityExit!==void 0?w.opacityExit:0;for(const S in dc){if(w[S]===void 0)continue;const{correct:b,applyTo:E}=dc[S],F=m.transform==="none"?w[S]:b(w[S],x);if(E){const _=E.length;for(let M=0;M<_;M++)m[E[M]]=F}else m[S]=F}return this.options.layoutId&&(m.pointerEvents=x===this?nc(u==null?void 0:u.pointerEvents)||"":"none"),m}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(u=>{var h;return(h=u.currentAnimation)===null||h===void 0?void 0:h.stop()}),this.root.nodes.forEach(Tx),this.root.sharedNodes.clear()}}}function a3(e){e.updateLayout()}function l3(e){var t;const r=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&r&&e.hasListeners("didUpdate")){const{layoutBox:i,measuredBox:o}=e.layout,{animationType:c}=e.options,u=r.source!==e.layout.source;c==="size"?dn(x=>{const w=u?r.measuredBox[x]:r.layoutBox[x],j=nn(w);w.min=i[x].min,w.max=w.min+j}):Jb(c,r.layoutBox,i)&&dn(x=>{const w=u?r.measuredBox[x]:r.layoutBox[x],j=nn(i[x]);w.max=w.min+j,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[x].max=e.relativeTarget[x].min+j)});const h=ui();Qo(h,i,r.layoutBox);const p=ui();u?Qo(p,e.applyTransform(o,!0),r.measuredBox):Qo(p,i,r.layoutBox);const m=!Gb(h);let y=!1;if(!e.resumeFrom){const x=e.getClosestProjectingParent();if(x&&!x.resumeFrom){const{snapshot:w,layout:j}=x;if(w&&j){const N=ot();Xo(N,r.layoutBox,w.layoutBox);const S=ot();Xo(S,i,j.layoutBox),Qb(N,S)||(y=!0),x.options.layoutRoot&&(e.relativeTarget=S,e.relativeTargetOrigin=N,e.relativeParent=x)}}}e.notifyListeners("didUpdate",{layout:i,snapshot:r,delta:p,layoutDelta:h,hasLayoutChanged:m,hasRelativeTargetChanged:y})}else if(e.isLead()){const{onExitComplete:i}=e.options;i&&i()}e.options.transition=void 0}function c3(e){zo&&ls.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function u3(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function d3(e){e.clearSnapshot()}function Tx(e){e.clearMeasurements()}function h3(e){e.isLayoutDirty=!1}function f3(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Ex(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function p3(e){e.resolveTargetDelta()}function m3(e){e.calcProjection()}function g3(e){e.resetSkewAndRotation()}function y3(e){e.removeLeadSnapshot()}function Px(e,t,r){e.translate=et(t.translate,0,r),e.scale=et(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function Rx(e,t,r,i){e.min=et(t.min,r.min,i),e.max=et(t.max,r.max,i)}function x3(e,t,r,i){Rx(e.x,t.x,r.x,i),Rx(e.y,t.y,r.y,i)}function v3(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const w3={duration:.45,ease:[.4,0,.1,1]},Ax=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),_x=Ax("applewebkit/")&&!Ax("chrome/")?Math.round:tn;function Mx(e){e.min=_x(e.min),e.max=_x(e.max)}function b3(e){Mx(e.x),Mx(e.y)}function Jb(e,t,r){return e==="position"||e==="preserve-aspect"&&!S4(jx(t),jx(r),.2)}function N3(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}const S3=Yb({attachResizeListener:(e,t)=>ia(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),lh={current:void 0},Zb=Yb({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!lh.current){const e=new S3({});e.mount(window),e.setOptions({layoutScroll:!0}),lh.current=e}return lh.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),j3={pan:{Feature:B4},drag:{Feature:F4,ProjectionNode:Zb,MeasureLayout:Wb}};function Ox(e,t,r){const{props:i}=e;e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",r==="Start");const o="onHover"+r,c=i[o];c&&qe.postRender(()=>c(t,ba(t)))}class C3 extends $r{mount(){const{current:t}=this.node;t&&(this.unmount=NR(t,r=>(Ox(this.node,r,"Start"),i=>Ox(this.node,i,"End"))))}unmount(){}}class k3 extends $r{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=wa(ia(this.node.current,"focus",()=>this.onFocus()),ia(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Lx(e,t,r){const{props:i}=e;e.animationState&&i.whileTap&&e.animationState.setActive("whileTap",r==="Start");const o="onTap"+(r==="End"?"":r),c=i[o];c&&qe.postRender(()=>c(t,ba(t)))}class T3 extends $r{mount(){const{current:t}=this.node;t&&(this.unmount=kR(t,r=>(Lx(this.node,r,"Start"),(i,{success:o})=>Lx(this.node,i,o?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const rf=new WeakMap,ch=new WeakMap,E3=e=>{const t=rf.get(e.target);t&&t(e)},P3=e=>{e.forEach(E3)};function R3({root:e,...t}){const r=e||document;ch.has(r)||ch.set(r,{});const i=ch.get(r),o=JSON.stringify(t);return i[o]||(i[o]=new IntersectionObserver(P3,{root:e,...t})),i[o]}function A3(e,t,r){const i=R3(t);return rf.set(e,r),i.observe(e),()=>{rf.delete(e),i.unobserve(e)}}const _3={some:0,all:1};class M3 extends $r{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:r,margin:i,amount:o="some",once:c}=t,u={root:r?r.current:void 0,rootMargin:i,threshold:typeof o=="number"?o:_3[o]},h=p=>{const{isIntersecting:m}=p;if(this.isInView===m||(this.isInView=m,c&&!m&&this.hasEnteredView))return;m&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",m);const{onViewportEnter:y,onViewportLeave:x}=this.node.getProps(),w=m?y:x;w&&w(p)};return A3(this.node.current,u,h)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:r}=this.node;["amount","margin","root"].some(O3(t,r))&&this.startObserver()}unmount(){}}function O3({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}const L3={inView:{Feature:M3},tap:{Feature:T3},focus:{Feature:k3},hover:{Feature:C3}},D3={layout:{ProjectionNode:Zb,MeasureLayout:Wb}},sf={current:null},e1={current:!1};function I3(){if(e1.current=!0,!!Rf)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>sf.current=e.matches;e.addListener(t),t()}else sf.current=!1}function F3(e,t,r){for(const i in t){const o=t[i],c=r[i];if(At(o))e.addValue(i,o);else if(At(c))e.addValue(i,ra(o,{owner:e}));else if(c!==o)if(e.hasValue(i)){const u=e.getValue(i);u.liveStyle===!0?u.jump(o):u.hasAnimated||u.set(o)}else{const u=e.getStaticValue(i);e.addValue(i,ra(u!==void 0?u:o,{owner:e}))}}for(const i in r)t[i]===void 0&&e.removeValue(i);return t}const Dx=new WeakMap,B3=[...yb,Et,Hr],V3=e=>B3.find(gb(e)),Ix=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class U3{scrapeMotionValuesFromProps(t,r,i){return{}}constructor({parent:t,props:r,presenceContext:i,reducedMotionConfig:o,blockInitialAnimation:c,visualState:u},h={}){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 w=Vn.now();this.renderScheduledAt<w&&(this.renderScheduledAt=w,qe.render(this.render,!1,!0))};const{latestValues:p,renderState:m}=u;this.latestValues=p,this.baseTarget={...p},this.initialValues=r.initial?{...p}:{},this.renderState=m,this.parent=t,this.props=r,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=h,this.blockInitialAnimation=!!c,this.isControllingVariants=Rc(r),this.isVariantNode=Ow(r),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:y,...x}=this.scrapeMotionValuesFromProps(r,{},this);for(const w in x){const j=x[w];p[w]!==void 0&&At(j)&&j.set(p[w],!1)}}mount(t){this.current=t,Dx.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((r,i)=>this.bindToMotionValue(i,r)),e1.current||I3(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:sf.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Dx.delete(this.current),this.projection&&this.projection.unmount(),zr(this.notifyUpdate),zr(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const r=this.features[t];r&&(r.unmount(),r.isMounted=!1)}this.current=null}bindToMotionValue(t,r){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const i=As.has(t),o=r.on("change",h=>{this.latestValues[t]=h,this.props.onUpdate&&qe.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0)}),c=r.on("renderRequest",this.scheduleRender);let u;window.MotionCheckAppearSync&&(u=window.MotionCheckAppearSync(this,t,r)),this.valueSubscriptions.set(t,()=>{o(),c(),u&&u(),r.owner&&r.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Ai){const r=Ai[t];if(!r)continue;const{isEnabled:i,Feature:o}=r;if(!this.features[t]&&o&&i(this.props)&&(this.features[t]=new o(this)),this.features[t]){const c=this.features[t];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):ot()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,r){this.latestValues[t]=r}update(t,r){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=r;for(let i=0;i<Ix.length;i++){const o=Ix[i];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const c="on"+o,u=t[c];u&&(this.propEventSubscriptions[o]=this.on(o,u))}this.prevMotionValues=F3(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const r=this.getClosestVariantNode();if(r)return r.variantChildren&&r.variantChildren.add(t),()=>r.variantChildren.delete(t)}addValue(t,r){const i=this.values.get(t);r!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,r),this.values.set(t,r),this.latestValues[t]=r.get())}removeValue(t){this.values.delete(t);const r=this.valueSubscriptions.get(t);r&&(r(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,r){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return i===void 0&&r!==void 0&&(i=ra(r===null?void 0:r,{owner:this}),this.addValue(t,i)),i}readValue(t,r){var i;let o=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(i=this.getBaseTargetFromProps(this.props,t))!==null&&i!==void 0?i:this.readValueFromInstance(this.current,t,this.options);return o!=null&&(typeof o=="string"&&(pb(o)||fb(o))?o=parseFloat(o):!V3(o)&&Hr.test(r)&&(o=Cb(t,r)),this.setBaseTarget(t,At(o)?o.get():o)),At(o)?o.get():o}setBaseTarget(t,r){this.baseTarget[t]=r}getBaseTarget(t){var r;const{initial:i}=this.props;let o;if(typeof i=="string"||typeof i=="object"){const u=If(this.props,i,(r=this.presenceContext)===null||r===void 0?void 0:r.custom);u&&(o=u[t])}if(i&&o!==void 0)return o;const c=this.getBaseTargetFromProps(this.props,t);return c!==void 0&&!At(c)?c:this.initialValues[t]!==void 0&&o===void 0?void 0:this.baseTarget[t]}on(t,r){return this.events[t]||(this.events[t]=new Xf),this.events[t].add(r)}notify(t,...r){this.events[t]&&this.events[t].notify(...r)}}class t1 extends U3{constructor(){super(...arguments),this.KeyframeResolver=kb}sortInstanceNodePosition(t,r){return t.compareDocumentPosition(r)&2?1:-1}getBaseTargetFromProps(t,r){return t.style?t.style[r]:void 0}removeValueFromRenderState(t,{vars:r,style:i}){delete r[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;At(t)&&(this.childSubscription=t.on("change",r=>{this.current&&(this.current.textContent=`${r}`)}))}}function z3(e){return window.getComputedStyle(e)}class H3 extends t1{constructor(){super(...arguments),this.type="html",this.renderInstance=Fw}readValueFromInstance(t,r){if(As.has(r)){const i=np(r);return i&&i.default||0}else{const i=z3(t),o=(Kw(r)?i.getPropertyValue(r):i[r])||0;
297return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:r}){return Hb(t,r)}build(t,r,i){Uf(t,r,i.transformTemplate)}scrapeMotionValuesFromProps(t,r,i){return Df(t,r,i)}}class $3 extends t1{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ot}getBaseTargetFromProps(t,r){return t[r]}readValueFromInstance(t,r){if(As.has(r)){const i=np(r);return i&&i.default||0}return r=Bw.has(r)?r:Mf(r),t.getAttribute(r)}scrapeMotionValuesFromProps(t,r,i){return zw(t,r,i)}build(t,r,i){zf(t,r,this.isSVGTag,i.transformTemplate)}renderInstance(t,r,i,o){Vw(t,r,i,o)}mount(t){this.isSVGTag=Hf(t.tagName),super.mount(t)}}const W3=(e,t)=>Lf(e)?new $3(t):new H3(t,{allowProjection:e!==k.Fragment}),q3=mR({...p4,...L3,...j3,...D3},W3),_e=AP(q3);function K3(){const e=[{icon:js,title:"Interstellar Games",desc:"Universal game currency for top 10 sci-fi space exploration games"},{icon:en,title:"Foreign Trade",desc:"Cross-galaxy payment settlement for interstellar commerce"},{icon:oc,title:"Energy Systems",desc:"Spacecraft energy consumption converted to eCNH units"},{icon:dh,title:"AI Agents",desc:"Automated payment systems for interstellar AI operations"},{icon:Sj,title:"Communications",desc:"Interstellar data and communication payment protocols"},{icon:mn,title:"Resource Trading",desc:"Settlement layer for cosmic materials and resources"}],t=[{label:"Type",value:"Spiral Galaxy (SA(s)b)"},{label:"Distance",value:"~2.54 million light-years"},{label:"Diameter",value:"~220,000 light-years"},{label:"Stars",value:"~1 trillion"},{label:"Mass",value:"1.14 trillion solar masses"},{label:"Merger",value:"In ~3-4 billion years"}],r=[{title:"Edge Exploration",desc:"Explore Andromeda edge star clusters, upload coordinates and images",badge:"Active"},{title:"Alliance Base",desc:"Establish eCNH alliance base, publish multilingual governance proposals",badge:"Planning"},{title:"Merger Simulation",desc:'Participate in Milky Way-Andromeda merger simulation, earn "Wisdom Badge"',badge:"Future"}];return l.jsx("div",{className:"min-h-screen bg-gradient-to-br from-slate-950 via-purple-950 to-blue-950 py-16",children:l.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[l.jsxs(_e.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"text-center mb-16 relative",children:[l.jsx("div",{className:"absolute inset-0 bg-[url('https://images.unsplash.com/photo-1462332420958-a05d1e002413?w=1920')] bg-cover bg-center opacity-20 blur-sm"}),l.jsxs("div",{className:"relative py-20",children:[l.jsx("h1",{className:"text-6xl font-bold mb-6 bg-gradient-to-r from-purple-400 via-pink-400 to-blue-400 bg-clip-text text-transparent",children:"Andromeda Galaxy"}),l.jsx("p",{className:"text-2xl text-slate-300 mb-4",children:"eCNH Interstellar Civilization Protocol"}),l.jsx("p",{className:"text-lg text-purple-300",children:"Anchoring 3000 years of Chinese civilization, connecting 3000 years into the cosmos"}),l.jsxs("div",{className:"mt-8 inline-flex items-center gap-3 bg-white/10 backdrop-blur-sm px-8 py-4 rounded-2xl border border-white/20",children:[l.jsx(Ei,{className:"w-6 h-6 text-yellow-400"}),l.jsx("span",{className:"text-2xl font-bold text-white",children:"Andromeda 1 eCNH â 1 eCNH â 1 CNH"})]})]})]}),l.jsx(_e.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.2},children:l.jsxs(re,{className:"mb-12 bg-white/5 backdrop-blur-sm border-white/10",children:[l.jsx(ke,{children:l.jsxs(Te,{className:"text-2xl text-white flex items-center gap-3",children:[l.jsx(en,{className:"w-8 h-8 text-purple-400"}),"Andromeda Galaxy (M31) Overview"]})}),l.jsxs(se,{children:[l.jsx("div",{className:"grid md:grid-cols-3 lg:grid-cols-6 gap-6",children:t.map(i=>l.jsxs("div",{className:"text-center p-4 bg-white/5 rounded-xl",children:[l.jsx("div",{className:"text-sm text-slate-400 mb-1",children:i.label}),l.jsx("div",{className:"text-lg font-bold text-white",children:i.value})]},i.label))}),l.jsx("p",{className:"text-slate-300 mt-6 leading-relaxed",children:"The Andromeda Galaxy is the Milky Way's nearest large galactic neighbor and one of the most distant objects visible to the naked eye. It will merge with our galaxy in approximately 3-4 billion years, becoming the core region of interstellar civilization."})]})]})}),l.jsxs(_e.div,{initial:{opacity:0,y:20}
vendor: 4,287 bytes, line 297
297,animate:{opacity:1,y:0},transition:{delay:.3},className:"mb-12",children:[l.jsx("h2",{className:"text-3xl font-bold text-white mb-8 text-center",children:"eCNH Applications in Andromeda"}),l.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:e.map((i,o)=>l.jsx(re,{className:"bg-white/5 backdrop-blur-sm border-white/10 hover:border-purple-400/50 transition-all",children:l.jsxs(se,{className:"p-6",children:[l.jsx(i.icon,{className:"w-12 h-12 text-purple-400 mb-4"}),l.jsx("h3",{className:"text-xl font-bold text-white mb-2",children:i.title}),l.jsx("p",{className:"text-slate-300",children:i.desc})]})},o))})]}),l.jsx(_e.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.4},className:"mb-12",children:l.jsx(re,{className:"bg-gradient-to-r from-purple-900/50 to-blue-900/50 border-purple-400/30",children:l.jsxs(se,{className:"p-8",children:[l.jsx("h3",{className:"text-2xl font-bold text-white mb-6 text-center",children:"Civilization Protocol Tags"}),l.jsx("div",{className:"flex flex-wrap justify-center gap-4",children:["ä¿¡ (Trust)","ä¹ (Righteousness)","å (Cooperation)","å
¬ (Fairness)","æº (Wisdom)"].map(i=>l.jsx(we,{className:"bg-white/10 text-white border-white/30 px-6 py-3 text-lg",children:i},i))}),l.jsx("p",{className:"text-slate-300 text-center mt-6",children:"These core values drive multilingual governance and interstellar mission incentives"})]})})}),l.jsxs(_e.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.5},children:[l.jsx("h2",{className:"text-3xl font-bold text-white mb-8 text-center",children:"Interstellar Missions"}),l.jsx("div",{className:"grid md:grid-cols-3 gap-6",children:r.map((i,o)=>l.jsx(re,{className:"bg-white/5 backdrop-blur-sm border-white/10",children:l.jsxs(se,{className:"p-6",children:[l.jsxs("div",{className:"flex items-center justify-between mb-4",children:[l.jsx(js,{className:"w-8 h-8 text-blue-400"}),l.jsx(we,{className:i.badge==="Active"?"bg-green-500/20 text-green-400 border-green-500/30":i.badge==="Planning"?"bg-yellow-500/20 text-yellow-400 border-yellow-500/30":"bg-purple-500/20 text-purple-400 border-purple-500/30",children:i.badge})]}),l.jsx("h3",{className:"text-xl font-bold text-white mb-2",children:i.title}),l.jsx("p",{className:"text-slate-300",children:i.desc})]})},o))})]}),l.jsx(_e.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.6},className:"mt-16 text-center",children:l.jsxs("div",{className:"inline-block bg-gradient-to-r from-purple-500/20 to-blue-500/20 border border-purple-400/30 rounded-2xl p-8",children:[l.jsx("p",{className:"text-xl text-white font-light italic",children:'"Building a universal digital currency for carbon-based and silicon-based civilizations"'}),l.jsx("p",{className:"text-purple-300 mt-4",children:"Foreign trade + Science fiction + Games + AI + Energy = eCNH Ecosystem"})]})})]})})}function Fx(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function n1(...e){return t=>{let r=!1;const i=e.map(o=>{const c=Fx(o,t);return!r&&typeof c=="function"&&(r=!0),c});if(r)return()=>{for(let o=0;o<i.length;o++){const c=i[o];typeof c=="function"?c():Fx(e[o],null)}}}}function yc(...e){return k.useCallback(n1(...e),e)}function xc(e){const t=Q3(e),r=k.forwardRef((i,o)=>{const{children:c,...u}=i,h=k.Children.toArray(c),p=h.find(Y3);if(p){const m=p.props.children,y=h.map(x=>x===p?k.Children.count(m)>1?k.Children.only(null):k.isValidElement(m)?m.props.children:null:x);return l.jsx(t,{...u,ref:o,children:k.isValidElement(m)?k.cloneElement(m,void 0,y):null})}return l.jsx(t,{...u,ref:o,children:c})});return r.displayName=`${e}.Slot`,r}var G3=xc("Slot");function Q3(e){const t=k.forwardRef((r,i)=>{const{children:o,...c}=r;if(k.isValidElement(o)){const u=Z3(o),h=J3(c,o.props);return o.type!==k.Fragment&&(h.ref=i?n1(i,u):u),k.cloneElement(o,h)}return k.Children.count(o)>1?k.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var X3=Symbol("radix.slottable");function Y3(e){return k.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===X3}function J3(e,t){const r={...t};for(const i in t){const o=e[i],c=t[i];/^on[A-Z]/.test(i)?o&&c?r[i]=(...h)=>{const p=c(...h);return o(...h),p}:o&&(r[i]=o):i==="style"?r[i]={...o,...c}
297:i==="className"&&(r[i]=[o,c].filter(Boolean).join(" "))}return{...e,...r}}function Z3(e){var i,o;let t=(i=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:i.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}const e_=df("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),_t=k.forwardRef(({className:e,variant:t,size:r,asChild:i=!1,...o},c)=>{const u=i?G3:"button";return l.jsx(u,{className:Ke(e_({variant:t,size:r,className:e})),ref:c,...o})});_t.displayName="Button";function t_(){const e=[{flag:"ðºð¸",name:"English",code:"EN",link:"https://t.me/e_eacocc",type:"Language"},{flag:"ð¨ð³",name:"åè¯",code:"ZH",link:"https://t.me/aieaco",type:"Language"},{flag:"ðªð¸",name:"Español",code:"ES",link:"https://t.me/eacoespanish",type:"Language"},{flag:"ð»ð³",name:"Tiếng Viá»t",code:"VI",link:"https://t.me/e_vietnam",type:"Language"},{flag:"ð®ð©",name:"Indonesia",code:"ID",link:"https://t.me/e_indonesia",type:"Language"},{flag:"ð¦ðª",name:"Ø§ÙØ¹Ø±Ø¨ÙØ©",code:"AR",link:"https://t.me/earabiceaco",type:"Language"},{flag:"ðµ",name:"USD Channel",code:"USD",link:"https://t.me/e_usdc",type:"Currency"},{flag:"ð°",name:"CNY Channel",code:"CNY",link:"https://t.me/eacocny",type:"Currency"}],t=[{name:"eCNH Introduction",url:"https://ecnh.base44.app",icon:en},{name:"Linktree",url:"https://linktr.ee/ecnh_group",icon:Ze},{name:"GitHub",url:"https://github.com/eCNH-group/eCNH",icon:Ze},{name:"RV Solar Ecosystem",url:"https://rv-solar.base44.app/ecosystem",icon:en}],r=[{name:"Solscan (Block Explorer)",url:"https://solscan.io/token/7GQnqthWKa5v2GqXYWhmgWZY5mCRrniwK3Xuinm9GKw5"},{name:"ECNH-PYUSD Pool (Orca)",url:"https://www.orca.so/pools/4RdJnPy3nb821SqZdJZmvD4aixCVsjzcbhiLL32iTuRS"},{name:"ECNH-USDC Pool (Orca)",url:"https://www.orca.so/pools/BHf1yCvj6qh2E1y2JLrjesP7RRC8XjBN3FyHeq45LnBZ"},{name:"EACO Swap eCNH (Orca)",url:"https://www.orca.so/pools/EeECjxqjUALgDEoT6SW2ebN2RTFvN7ci8S8CMaPrLZHw"}];return l.jsx("div",{className:"min-h-screen bg-gradient-to-br from-slate-950 via-blue-950 to-purple-950 py-16",children:l.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[l.jsxs(_e.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"text-center mb-16",children:[l.jsx("h1",{className:"text-5xl font-bold mb-6 bg-gradient-to-r from-blue-400 to-green-400 bg-clip-text text-transparent",children:"Global Community"}),l.jsx("p",{className:"text-xl text-slate-300 max-w-3xl mx-auto",children:"Join 20-30 billion potential users worldwide in building the eCNH ecosystem"})]}),l.jsxs(_e.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.1},className:"mb-12",children:[l.jsxs("h2",{className:"text-3xl font-bold text-white mb-8 flex items-center gap-3",children:[l.jsx(wj,{className:"w-8 h-8 text-blue-400"}),"Telegram Communities"]}),l.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-6",children:e.map((i,o)=>l.jsx(_e.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.05*o},children:l.jsx("a",{href:i.link,target:"_blank",rel:"noopener noreferrer",children:l.jsx(re,{className:"h-full bg-white/5 backdrop-blur-sm border-white/10 hover:border-blue-400/50 hover:bg-white/10 transition-all cursor-pointer group",children:l.jsxs(se,{className:"p-6 flex flex-col items-center text-center",children:[l.jsx("span",{className:"text-5xl mb-4",children:i.flag}),l.jsx("h3",{className:"text-xl font-bold text-white mb-2",children:i.name}),l.jsx(we,{className:i.type==="Language"?"bg-blue-500/20 text-blue-400 border-blue-500/30":"bg-green-500/20 text-green-400 border-green-500/30",children:i.code}),l.jsxs("div",{className:"mt-4 flex items-center gap-2 text-slate-400 group-hover:text-blue-400 transition-colors",children:[l.jsx(Ze,{className:"w-4 h-4"}),l.jsx("span",{className:"text-sm",children:"Join Channel"})]})]})})})},i.code))})]}),l.jsxs(_e.div,{initial:{opacity:0,y:20}
vendor: 11,432 bytes, line 297
297,animate:{opacity:1,y:0},transition:{delay:.3},className:"mb-12",children:[l.jsxs("h2",{className:"text-3xl font-bold text-white mb-8 flex items-center gap-3",children:[l.jsx(sr,{className:"w-8 h-8 text-purple-400"}),"DEX & Trading"]}),l.jsx("div",{className:"grid md:grid-cols-2 gap-6",children:r.map((i,o)=>l.jsx("a",{href:i.url,target:"_blank",rel:"noopener noreferrer",children:l.jsx(re,{className:"bg-white/5 backdrop-blur-sm border-white/10 hover:border-purple-400/50 hover:bg-white/10 transition-all cursor-pointer",children:l.jsxs(se,{className:"p-6 flex items-center justify-between",children:[l.jsx("span",{className:"text-white font-medium",children:i.name}),l.jsx(Ze,{className:"w-5 h-5 text-purple-400"})]})})},o))})]}),l.jsxs(_e.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.4},className:"mb-12",children:[l.jsxs("h2",{className:"text-3xl font-bold text-white mb-8 flex items-center gap-3",children:[l.jsx(en,{className:"w-8 h-8 text-green-400"}),"Resources"]}),l.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-6",children:t.map((i,o)=>l.jsx("a",{href:i.url,target:"_blank",rel:"noopener noreferrer",children:l.jsx(re,{className:"h-full bg-white/5 backdrop-blur-sm border-white/10 hover:border-green-400/50 hover:bg-white/10 transition-all cursor-pointer",children:l.jsxs(se,{className:"p-6 flex items-center gap-4",children:[l.jsx("div",{className:"p-3 bg-green-500/20 rounded-xl",children:l.jsx(i.icon,{className:"w-6 h-6 text-green-400"})}),l.jsx("span",{className:"text-white font-medium",children:i.name})]})})},o))})]}),l.jsx(_e.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.5},children:l.jsx(re,{className:"bg-gradient-to-r from-blue-900/50 to-purple-900/50 border-blue-400/30",children:l.jsxs(se,{className:"p-8 text-center",children:[l.jsx("h3",{className:"text-2xl font-bold text-white mb-4",children:"eCNH Contract Address (Solana)"}),l.jsx("div",{className:"bg-black/30 rounded-xl p-4 mb-6",children:l.jsx("code",{className:"text-blue-400 text-sm md:text-base break-all",children:"7GQnqthWKa5v2GqXYWhmgWZY5mCRrniwK3Xuinm9GKw5"})}),l.jsx("a",{href:"https://solscan.io/token/7GQnqthWKa5v2GqXYWhmgWZY5mCRrniwK3Xuinm9GKw5",target:"_blank",rel:"noopener noreferrer",children:l.jsxs(_t,{className:"bg-blue-600 hover:bg-blue-700",children:["View on Solscan ",l.jsx(Ze,{className:"ml-2 w-4 h-4"})]})})]})})}),l.jsx(_e.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.6},className:"mt-12",children:l.jsxs(re,{className:"bg-white/5 backdrop-blur-sm border-white/10",children:[l.jsx(ke,{children:l.jsxs(Te,{className:"text-2xl text-white flex items-center gap-3",children:[l.jsx(gn,{className:"w-8 h-8 text-blue-400"}),"Target Users"]})}),l.jsx(se,{children:l.jsx("div",{className:"flex flex-wrap gap-3",children:["Overseas Chinese","Cross-border Traders","Crypto Investors","DeFi Participants","Blockchain Developers","Sci-fi Game Enthusiasts","Web3 Builders","Interstellar Explorers"].map(i=>l.jsx(we,{className:"bg-white/10 text-slate-300 border-white/20 px-4 py-2",children:i},i))})})]})})]})})}function rr(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(e==null||e(o),r===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function op(e,t=[]){let r=[];function i(c,u){const h=k.createContext(u),p=r.length;r=[...r,u];const m=x=>{var E;const{scope:w,children:j,...N}=x,S=((E=w==null?void 0:w[e])==null?void 0:E[p])||h,b=k.useMemo(()=>N,Object.values(N));return l.jsx(S.Provider,{value:b,children:j})};m.displayName=c+"Provider";function y(x,w){var S;const j=((S=w==null?void 0:w[e])==null?void 0:S[p])||h,N=k.useContext(j);if(N)return N;if(u!==void 0)return u;throw new Error(`\`${x}\` must be used within \`${c}\``)}return[m,y]}const o=()=>{const c=r.map(u=>k.createContext(u));return function(h){const p=(h==null?void 0:h[e])||c;return k.useMemo(()=>({[`__scope${e}`]:{...h,[e]:p}}),[h,p])}};return o.scopeName=e,[i,n_(o,...t)]}function n_(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const i=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(c){const u=i.reduce((h,{useScope:p,scopeName:m})=>{const x=p(c)[`__scope${m}`];return{...h,...x}},{});return k.useMemo(()=>({[`__scope${t.scopeName}`]:u}),[u])}};return r.scopeName=t.scopeName,r}function r_(e){const t=e+"CollectionProvider",[r,i]=op(t),[o,c]=r(t,{collectionRef:{current:null},itemMap:new Map}),u=S=>{const{scope:b,children:E}=S,F=Tr.useRef(null),_=Tr.useRef(new Map).current;return l.jsx(o,{scope:b,itemMap:_,collectionRef:F,children:E})};u.displayName=t;const h=e+"CollectionSlot",p=xc(h),m=Tr.forwardRef((S,b)=>{const{scope:E,children:F}=S,_=c(h,E),M=yc(b,_.collectionRef);return l.jsx(p,{ref:M,children:F})});m.displayName=h;const y=e+"CollectionItemSlot",x="data-radix-collection-item",w=xc(y),j=Tr.forwardRef((S,b)=>{const{scope:E,children:F,..._}=S,M=Tr.useRef(null),U=yc(b,M),K=c(y,E);return Tr.useEffect(()=>(K.itemMap.set(M,{ref:M,..._}),()=>void K.itemMap.delete(M))),l.jsx(w,{[x]:"",ref:U,children:F})});j.displayName=y;function N(S){const b=c(e+"CollectionConsumer",S);return Tr.useCallback(()=>{const F=b.collectionRef.current;if(!F)return[];const _=Array.from(F.querySelectorAll(`[${x}]`));return Array.from(b.itemMap.values()).sort((K,G)=>_.indexOf(K.ref.current)-_.indexOf(G.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:u,Slot:m,ItemSlot:j},N,i]}var vc=globalThis!=null&&globalThis.document?k.useLayoutEffect:()=>{},s_=uf[" useId ".trim().toString()]||(()=>{}),i_=0;function r1(e){const[t,r]=k.useState(s_());return vc(()=>{r(i=>i??String(i_++))},[e]),t?`radix-${t}`:""}var o_=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ui=o_.reduce((e,t)=>{const r=xc(`Primitive.${t}`),i=k.forwardRef((o,c)=>{const{asChild:u,...h}=o,p=u?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(p,{...h,ref:c})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{});function a_(e){const t=k.useRef(e);return k.useEffect(()=>{t.current=e}),k.useMemo(()=>(...r)=>{var i;return(i=t.current)==null?void 0:i.call(t,...r)},[])}var l_=uf[" useInsertionEffect ".trim().toString()]||vc;function s1({prop:e,defaultProp:t,onChange:r=()=>{},caller:i}){const[o,c,u]=c_({defaultProp:t,onChange:r}),h=e!==void 0,p=h?e:o;{const y=k.useRef(e!==void 0);k.useEffect(()=>{const x=y.current;x!==h&&console.warn(`${i} is changing from ${x?"controlled":"uncontrolled"} to ${h?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),y.current=h},[h,i])}const m=k.useCallback(y=>{var x;if(h){const w=u_(y)?y(e):y;w!==e&&((x=u.current)==null||x.call(u,w))}else c(y)},[h,e,c,u]);return[p,m]}function c_({defaultProp:e,onChange:t}){const[r,i]=k.useState(e),o=k.useRef(r),c=k.useRef(t);return l_(()=>{c.current=t},[t]),k.useEffect(()=>{var u;o.current!==r&&((u=c.current)==null||u.call(c,r),o.current=r)},[r,o]),[r,i,c]}function u_(e){return typeof e=="function"}var d_=k.createContext(void 0);function i1(e){const t=k.useContext(d_);return e||t||"ltr"}var uh="rovingFocusGroup.onEntryFocus",h_={bubbles:!1,cancelable:!0},Na="RovingFocusGroup",[of,o1,f_]=r_(Na),[p_,a1]=op(Na,[f_]),[m_,g_]=p_(Na),l1=k.forwardRef((e,t)=>l.jsx(of.Provider,{scope:e.__scopeRovingFocusGroup,children:l.jsx(of.Slot,{scope:e.__scopeRovingFocusGroup,children:l.jsx(y_,{...e,ref:t})})}));l1.displayName=Na;var y_=k.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,orientation:i,loop:o=!1,dir:c,currentTabStopId:u,defaultCurrentTabStopId:h,onCurrentTabStopIdChange:p,onEntryFocus:m,preventScrollOnEntryFocus:y=!1,...x}=e,w=k.useRef(null),j=yc(t,w),N=i1(c),[S,b]=s1({prop:u,defaultProp:h??null,onChange:p,caller:Na}),[E,F]=k.useState(!1),_=a_(m),M=o1(r),U=k.useRef(!1),[K,G]=k.useState(0);return k.useEffect(()=>{const V=w.current;if(V)return V.addEventListener(uh,_),()=>V.removeEventListener(uh,_)},[_]),l.jsx(m_,{scope:r,orientation:i,dir:N,loop:o,currentTabStopId:S,onItemFocus:k.useCallback(V=>b(V),[b]),onItemShiftTab:k.useCallback(()=>F(!0),[]),onFocusableItemAdd:k.useCallback(()=>G(V=>V+1),[]),onFocusableItemRemove:k.useCallback(()=>G(V=>V-1),[]),children:l.jsx(Ui.div,{tabIndex:E||K===0?-1:0,"data-orientation":i,...x,ref:j,style:{outline:"none",...e.style},onMouseDown:rr(e.onMouseDown,()=>{U.current=!0}),onFocus:rr(e.onFocus,V=>{const he=!U.current;if(V.target===V.currentTarget&&he&&!E){const J=new CustomEvent(uh,h_);if(V.currentTarget.dispatchEvent(J),!J.defaultPrevented){const Se=M().filter(xe=>xe.focusable),Oe=Se.find(xe=>xe.active),Ie=Se.find(xe=>xe.id===S),Xe=[Oe,Ie,...Se].filter(Boolean).map(xe=>xe.ref.current);d1(Xe,y)}}U.current=!1}),onBlur:rr(e.onBlur,()=>F(!1))})})}),c1="RovingFocusGroupItem",u1=k.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,focusable:i=!0,active:o=!1,tabStopId:c,children:u,...h}=e,p=r1(),m=c||p,y=g_(c1,r),x=y.currentTabStopId===m,w=o1(r),{onFocusableItemAdd:j,onFocusableItemRemove:N,currentTabStopId:S}=y;return k.useEffect(()=>{if(i)return j(),()=>N()},[i,j,N]),l.jsx(of.ItemSlot,{scope:r,id:m,focusable:i,active:o,children:l.jsx(Ui.span,{tabIndex:x?0:-1,"data-orientation":y.orientation,...h,ref:t,onMouseDown:rr(e.onMouseDown,b=>{i?y.onItemFocus(m):b.preventDefault()}),onFocus:rr(e.onFocus,()=>y.onItemFocus(m)),onKeyDown:rr(e.onKeyDown,b=>{if(b.key==="Tab"&&b.shiftKey){y.onItemShiftTab();return}if(b.target!==b.currentTarget)return;const E=w_(b,y.orientation,y.dir);if(E!==void 0){if(b.metaKey||b.ctrlKey||b.altKey||b.shiftKey)return;b.preventDefault();let _=w().filter(M=>M.focusable).map(M=>M.ref.current);if(E==="last")_.reverse();else if(E==="prev"||E==="next"){E==="prev"&&_.reverse();const M=_.indexOf(b.currentTarget);_=y.loop?b_(_,M+1):_.slice(M+1)}setTimeout(()=>d1(_))}}),children:typeof u=="function"?u({isCurrentTabStop:x,hasTabStop:S!=null}):u})})});u1.displayName=c1;var x_={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function v_(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function w_(e,t,r){const i=v_(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(i))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(i)))return x_[i]}function d1(e,t=!1){const r=document.activeElement;for(const i of e)if(i===r||(i.focus({preventScroll:t}),document.activeElement!==r))return}function b_(e,t){return e.map((r,i)=>e[(t+i)%e.length])}var N_=l1,S_=u1;function j_(e,t){return k.useReducer((r,i)=>t[r][i]??r,e)}var h1=e=>{const{present:t,children:r}=e,i=C_(t),o=typeof r=="function"?r({present:i.isPresent}):k.Children.only(r),c=yc(i.ref,k_(o));return typeof r=="function"||i.isPresent?k.cloneElement(o,{ref:c}):null};h1.displayName="Presence";function C_(e){const[t,r]=k.useState(),i=k.useRef(null),o=k.useRef(e),c=k.useRef("none"),u=e?"mounted":"unmounted",[h,p]=j_(u,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return k.useEffect(()=>{const m=Wl(i.current);c.current=h==="mounted"?m:"none"},[h]),vc(()=>{const m=i.current,y=o.current;if(y!==e){const w=c.current,j=Wl(m);e?p("MOUNT"):j==="none"||(m==null?void 0:m.display)==="none"?p("UNMOUNT"):p(y&&w!==j?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,p]),vc(()=>
vendor: 4,280 bytes, line 297
297{if(t){let m;const y=t.ownerDocument.defaultView??window,x=j=>{const S=Wl(i.current).includes(CSS.escape(j.animationName));if(j.target===t&&S&&(p("ANIMATION_END"),!o.current)){const b=t.style.animationFillMode;t.style.animationFillMode="forwards",m=y.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=b)})}},w=j=>{j.target===t&&(c.current=Wl(i.current))};return t.addEventListener("animationstart",w),t.addEventListener("animationcancel",x),t.addEventListener("animationend",x),()=>{y.clearTimeout(m),t.removeEventListener("animationstart",w),t.removeEventListener("animationcancel",x),t.removeEventListener("animationend",x)}}else p("ANIMATION_END")},[t,p]),{isPresent:["mounted","unmountSuspended"].includes(h),ref:k.useCallback(m=>{i.current=m?getComputedStyle(m):null,r(m)},[])}}function Wl(e){return(e==null?void 0:e.animationName)||"none"}function k_(e){var i,o;let t=(i=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:i.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Mc="Tabs",[T_]=op(Mc,[a1]),f1=a1(),[E_,ap]=T_(Mc),p1=k.forwardRef((e,t)=>{const{__scopeTabs:r,value:i,onValueChange:o,defaultValue:c,orientation:u="horizontal",dir:h,activationMode:p="automatic",...m}=e,y=i1(h),[x,w]=s1({prop:i,onChange:o,defaultProp:c??"",caller:Mc});return l.jsx(E_,{scope:r,baseId:r1(),value:x,onValueChange:w,orientation:u,dir:y,activationMode:p,children:l.jsx(Ui.div,{dir:y,"data-orientation":u,...m,ref:t})})});p1.displayName=Mc;var m1="TabsList",g1=k.forwardRef((e,t)=>{const{__scopeTabs:r,loop:i=!0,...o}=e,c=ap(m1,r),u=f1(r);return l.jsx(N_,{asChild:!0,...u,orientation:c.orientation,dir:c.dir,loop:i,children:l.jsx(Ui.div,{role:"tablist","aria-orientation":c.orientation,...o,ref:t})})});g1.displayName=m1;var y1="TabsTrigger",x1=k.forwardRef((e,t)=>{const{__scopeTabs:r,value:i,disabled:o=!1,...c}=e,u=ap(y1,r),h=f1(r),p=b1(u.baseId,i),m=N1(u.baseId,i),y=i===u.value;return l.jsx(S_,{asChild:!0,...h,focusable:!o,active:y,children:l.jsx(Ui.button,{type:"button",role:"tab","aria-selected":y,"aria-controls":m,"data-state":y?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:p,...c,ref:t,onMouseDown:rr(e.onMouseDown,x=>{!o&&x.button===0&&x.ctrlKey===!1?u.onValueChange(i):x.preventDefault()}),onKeyDown:rr(e.onKeyDown,x=>{[" ","Enter"].includes(x.key)&&u.onValueChange(i)}),onFocus:rr(e.onFocus,()=>{const x=u.activationMode!=="manual";!y&&!o&&x&&u.onValueChange(i)})})})});x1.displayName=y1;var v1="TabsContent",w1=k.forwardRef((e,t)=>{const{__scopeTabs:r,value:i,forceMount:o,children:c,...u}=e,h=ap(v1,r),p=b1(h.baseId,i),m=N1(h.baseId,i),y=i===h.value,x=k.useRef(y);return k.useEffect(()=>{const w=requestAnimationFrame(()=>x.current=!1);return()=>cancelAnimationFrame(w)},[]),l.jsx(h1,{present:o||y,children:({present:w})=>l.jsx(Ui.div,{"data-state":y?"active":"inactive","data-orientation":h.orientation,role:"tabpanel","aria-labelledby":p,hidden:!w,id:m,tabIndex:0,...u,ref:t,style:{...e.style,animationDuration:x.current?"0s":void 0},children:w&&c})})});w1.displayName=v1;function b1(e,t){return`${e}-trigger-${t}`}function N1(e,t){return`${e}-content-${t}`}var P_=p1,S1=g1,j1=x1,C1=w1;const Oc=P_,Sa=k.forwardRef(({className:e,...t},r)=>l.jsx(S1,{ref:r,className:Ke("inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",e),...t}));Sa.displayName=S1.displayName;const Rt=k.forwardRef(({className:e,...t},r)=>l.jsx(j1,{ref:r,className:Ke("inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",e),...t}));Rt.displayName=j1.displayName;const It=k.forwardRef(({className:e,...t},r)=>l.jsx(C1,{ref:r,className:Ke("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",e),...t}));It.displayName=C1.displayName;
297const k1=k.createContext();function R_({children:e}){const[t,r]=k.useState(()=>localStorage.getItem("language")||"en");k.useEffect(()=>{localStorage.setItem("language",t)},[t]);const i=()=>{r(o=>o==="en"?"zh":"en")};return l.jsx(k1.Provider,{value:{language:t,setLanguage:r,toggleLanguage:i},children:e})}function ja(){const e=k.useContext(k1);if(!e)throw new Error("useLanguage must be used within LanguageProvider");return e}function A_(){const{language:e}=ja(),[t,r]=k.useState("earn"),i={en:{title:"Earn Crypto with eCNH",subtitle:"Safe and reliable ways to earn digital assets globally",earnTitle:"How to Earn",bridgeTitle:"Cross-Chain Guide",businessTitle:"Business Plan",safetyTitle:"Safety Guide",earnDesc:"Learn how to earn USDC, USDT, SOL, BNB, ETH, BTC, AVAX, TRX, and other digital assets with eCNH",bridgeDesc:"Safest methods to bridge BTC, ETH, BNB, AVAX to Solana eCNH",contractAddress:"Contract Address (Solana)",supportedAssets:"Supported Assets",crossChainMethods:"Cross-Chain Methods",securityPrinciples:"Core Security Principles",recommendedBridges:"Recommended Bridges",safetyWarnings:"Safety Warnings",keyFeatures:"Key Features",vision:"Vision",resources:"Resources & Links",oceanusVision:"For the Universe, For Civilization",viewOnExplorer:"View on Explorer",officialBridge:"Official Bridge",auditedBridge:"Audited Bridge",cexRoute:"CEX Route",testFirst:"Test with small amount first",verifyContract:"Verify contract address",noPrivateKey:"Never share private keys",useOfficialLinks:"Use official links only"},zh:{title:"éè¿eCNHèµåæ°åèµäº§",subtitle:"æå®å
¨å¯é çå
¨çæ°åèµäº§èµåæ¹å¼",earnTitle:"å¦ä½èµå",bridgeTitle:"è·¨é¾æå",businessTitle:"åä¸è®¡å书",safetyTitle:"å®å
¨æå",earnDesc:"äºè§£å¦ä½éè¿eCNHèµåUSDCãUSDTãSOLãBNBãETHãBTCãAVAXãTRXåå
¶ä»æ°åèµäº§",bridgeDesc:"æå®å
¨çBTCãETHãBNBãAVAXè·¨é¾å°Solana eCNHçæ¹å¼",contractAddress:"å约å°å (Solana)",supportedAssets:"æ¯æçèµäº§",crossChainMethods:"è·¨é¾æ¹å¼",securityPrinciples:"æ ¸å¿å®å
¨åå",recommendedBridges:"æ¨èçè·¨é¾æ¡¥",safetyWarnings:"å®å
¨è¦å",keyFeatures:"æ ¸å¿ç¹æ§",vision:"æ¿æ¯",resources:"èµæºä¸é¾æ¥",oceanusVision:"为å®å®æææå¡eCNH",viewOnExplorer:"卿µè§å¨æ¥ç",officialBridge:"宿¹è·¨é¾æ¡¥",auditedBridge:"å·²å®¡è®¡è·¨é¾æ¡¥",cexRoute:"ä¸å¿å交ææ",testFirst:"å
å°é¢æµè¯",verifyContract:"éªè¯å约å°å",noPrivateKey:"æ°¸ä¸æ³é²ç§é¥",useOfficialLinks:"ä»
使ç¨å®æ¹é¾æ¥"}}[e],o=[{name:"Wrapped BTC",symbol:"wBTC",address:"3NZ9JMVBmGAqocybic2c7LQCJScmgsAZ6vQqTDzcqmJh"},{name:"Wrapped ETH",symbol:"wETH",address:"7vfCXTUXx5WJV5JADk17DUJ4ksgau7utNKj4b963voxs"},{name:"Wrapped BNB",symbol:"wBNB",address:"9gP2kCy3wA1ctvYWQk75guqXuHfrEomqydHLtcTCqiLa"},{name:"Wrapped AVAX",symbol:"wAVAX",address:"KgV1GvrHQmRBY8sHQQeUKwTm2r2h8t4C8qt12Cw1HVE"},{name:"TRON",symbol:"TRX",address:"GbbesPbaYh5uiAZSYNXTc7w9jty1rpg3P9L4JeN4LkKc"},{name:"USD Coin",symbol:"USDC",address:"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},{name:"Tether USD",symbol:"USDT",address:"Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB"},{name:"eCNH",symbol:"eCNH",address:"7GQnqthWKa5v2GqXYWhmgWZY5mCRrniwK3Xuinm9GKw5",featured:!0}],c=[{name:"Wormhole/Portal",url:"https://portalbridge.com/",type:"official",supports:["BTC","ETH","BNB","AVAX"]},{name:"Allbridge",url:"https://allbridge.io/",type:"audited",supports:["ETH","BNB","AVAX"]},{name:"Binance",url:"https://www.binance.com/",type:"cex",supports:["All"]},{name:"OKX",url:"https://www.okx.com/",type:"cex",supports:["All"]}],u=e==="zh"?[{icon:Qe,text:"使ç¨å®æ¹æç»è¿éªè¯çè·¨é¾æ¡¥",color:"text-green-400"},{icon:Qe,text:"ä¼å
使ç¨åçè·¨é¾æ¹æ¡",color:"text-green-400"},{icon:Qe,text:"éªè¯å约å°ååå®ç½",color:"text-green-400"},{icon:Qe,text:"å°é¢æµè¯åå大é¢è½¬è´¦",color:"text-green-400"},{icon:ri,text:"æ°¸ä¸æ³é²ç§é¥æå©è®°è¯",color:"text-red-400"},{icon:ri,text:"è¦æéé±¼ç½ç«",color:"text-red-400"}]:[{icon:Qe,text:"Use official or verified bridges only",color:"text-green-400"},{icon:Qe,text:"Prefer native cross-chain solutions",color:"text-green-400"},{icon:Qe,text:"Verify contract addresses and websites",color:"text-green-400"},{icon:Qe,text:"Test with small amounts first",color:"text-green-400"},{icon:ri,text:"Never share private keys or seed phrases",color:"text-red-400"},{icon:ri,text:"Beware of phishing websites",color:"text-red-400"}],h=[{name:"Orca eCNH-USDC",url:"https://www.orca.so/pools/BHf1yCvj6qh2E1y2JLrjesP7RRC8XjBN3FyHeq45LnBZ"},{name:"Uniswap eCNH",url:"https://app.uniswap.org/explore/tokens/solana/7GQnqthWKa5v2GqXYWhmgWZY5mCRrniwK3Xuinm9GKw5"},{name:"PancakeSwap eCNH",url:"https://pancakeswap.finance/swap?chain=sol&outputCurrency=7GQnqthWKa5v2GqXYWhmgWZY5mCRrniwK3Xuinm9GKw5"}],p=[{name:e==="zh"?"å
¨ç鍿·":"Global Portal",url:"https://9star.base44.app/Home"},{name:e==="zh"?"ç¾æ´²ç«ç¹":"Americas",url:"https://americas.base44.app/"},{name:e==="zh"?"欧洲ç«ç¹":"Europe",url:"https://europe.base44.app/"},{name:e==="zh"?"æ¥å
-eCNH":"JPY-eCNH",url:"https://jpy-ecnh.base44.app/"},{name:e==="zh"?"åè¨å
æ¯å¦":"Kazakhstan",url:"https://ecnh-kazakhstan.base44.app/Home"},{name:e==="zh"?"è·¨é¾æå":"Bridge Guide",url:"https://spacesolar.base44.app/Home"}];return l.jsx("div",{className:"min-h-screen bg-gradient-to-br from-slate-950 via-blue-950 to-purple-950 py-16",children:l.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[l.jsxs(_e.div,{initial:{opacity:0,y:20}
297,animate:{opacity:1,y:0},className:"text-center mb-16",children:[l.jsx("h1",{className:"text-5xl font-bold mb-6 bg-gradient-to-r from-green-400 via-blue-400 to-purple-400 bg-clip-text text-transparent",children:i.title}),l.jsx("p",{className:"text-2xl text-blue-200 mb-4",children:i.subtitle}),l.jsx("p",{className:"text-xl text-purple-300 italic",children:i.oceanusVision}),l.jsx("div",{className:"mt-6 text-slate-300",children:l.jsx("p",{className:"text-sm",children:e==="zh"?"为天å°ç«å¿ï¼ä¸ºçæ°ç«å½ï¼ä¸ºå¾å£ç»§ç»å¦ï¼ä¸ºä¸ä¸å¼å¤ªå¹³":"Building the Future of Interstellar Finance"})})]}),l.jsx(re,{className:"mb-12 bg-gradient-to-r from-blue-500/10 to-purple-500/10 border-blue-500/30",children:l.jsx(se,{className:"p-8",children:l.jsxs("div",{className:"text-center",children:[l.jsx("p",{className:"text-slate-300 mb-3",children:i.contractAddress}),l.jsxs("div",{className:"flex items-center justify-center gap-4 flex-wrap",children:[l.jsx("code",{className:"text-blue-400 font-mono text-lg bg-black/30 px-4 py-2 rounded-lg",children:"7GQnqthWKa5v2GqXYWhmgWZY5mCRrniwK3Xuinm9GKw5"}),l.jsx(_t,{variant:"outline",className:"border-blue-400/50 text-blue-300 hover:bg-blue-400/10",asChild:!0,children:l.jsxs("a",{href:"https://solscan.io/token/7GQnqthWKa5v2GqXYWhmgWZY5mCRrniwK3Xuinm9GKw5",target:"_blank",rel:"noopener noreferrer",children:[i.viewOnExplorer," ",l.jsx(Ze,{className:"ml-2 w-4 h-4"})]})})]})]})})}),l.jsxs(Oc,{value:t,onValueChange:r,className:"mb-12",children:[l.jsxs(Sa,{className:"grid w-full grid-cols-2 lg:grid-cols-4 bg-white/5 border border-white/10",children:[l.jsx(Rt,{value:"earn",children:i.earnTitle}),l.jsx(Rt,{value:"bridge",children:i.bridgeTitle}),l.jsx(Rt,{value:"business",children:i.businessTitle}),l.jsx(Rt,{value:"safety",children:i.safetyTitle})]}),l.jsxs(It,{value:"earn",className:"space-y-6",children:[l.jsxs(re,{className:"bg-white/5 backdrop-blur-sm border-white/10",children:[l.jsx(ke,{children:l.jsxs(Te,{className:"text-white flex items-center gap-3",children:[l.jsx(sr,{className:"w-6 h-6 text-green-400"}),i.supportedAssets]})}),l.jsx(se,{children:l.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-4",children:o.map((m,y)=>l.jsxs("div",{className:`bg-white/5 rounded-xl p-4 ${m.featured?"border-2 border-blue-400":""}`,children:[l.jsxs("div",{className:"flex items-center justify-between mb-2",children:[l.jsxs("div",{children:[l.jsx("div",{className:"text-white font-bold",children:m.symbol}),l.jsx("div",{className:"text-slate-400 text-sm",children:m.name})]}),m.featured&&l.jsx(we,{className:"bg-blue-500/20 text-blue-300 border-blue-500/30",children:"Featured"})]}),l.jsxs("a",{href:`https://solscan.io/token/${m.address}`,target:"_blank",rel:"noopener noreferrer",className:"text-xs text-slate-500 hover:text-blue-400 break-all flex items-center gap-1",children:[m.address.slice(0,8),"...",m.address.slice(-6),l.jsx(Ze,{className:"w-3 h-3"})]})]},y))})})]}),l.jsxs(re,{className:"bg-white/5 backdrop-blur-sm border-white/10",children:[l.jsx(ke,{children:l.jsxs(Te,{className:"text-white flex items-center gap-3",children:[l.jsx(Cs,{className:"w-6 h-6 text-purple-400"}),e==="zh"?"DEX äº¤ææ± ":"DEX Trading Pools"]})}),l.jsx(se,{children:l.jsx("div",{className:"grid md:grid-cols-3 gap-4",children:h.map((m,y)=>l.jsx(_t,{variant:"outline",className:"h-auto p-4 border-white/20 text-slate-300 hover:bg-white/10 hover:text-white justify-start",asChild:!0,children:l.jsx("a",{href:m.url,target:"_blank",rel:"noopener noreferrer",children:l.jsxs("div",{className:"text-left",children:[l.jsx("div",{className:"font-medium mb-1",children:m.name}),l.jsx(Ze,{className:"w-4 h-4"})]})})},y))})})]})]}),l.jsxs(It,{value:"bridge",className:"space-y-6",children:[l.jsxs(re,{className:"bg-white/5 backdrop-blur-sm border-white/10",children:[l.jsx(ke,{children:l.jsxs(Te,{className:"text-white flex items-center gap-3",children:[l.jsx(cs,{className:"w-6 h-6 text-blue-400"}),i.recommendedBridges]})}),l.jsx(se,{children:l.jsx("div",{className:"space-y-4",children:c.map((m,y)=>l.jsxs("div",{className:"bg-white/5 rounded-xl p-4 flex items-center justify-between",children:[l.jsxs("div",{children:[l.jsxs("div",{className:"flex items-center gap-3 mb-2",children:[l.jsx("h4",{className:"text-white font-medium",children:m.name}),l.jsx(we,{className:m.type==="official"?"bg-green-500/20 text-green-400 border-green-500/30":m.type==="audited"?"bg-blue-500/20 text-blue-400 border-blue-500/30":"bg-purple-500/20 text-purple-400 border-purple-500/30",children:m.type==="official"?i.officialBridge:m.type==="audited"?i.auditedBridge:i.cexRoute})]}),l.jsxs("div",{className:"text-slate-400 text-sm",children:[e==="zh"?"æ¯æ: ":"Supports: ",m.supports.join(", ")
297]})]}),l.jsx(_t,{variant:"ghost",size:"icon",asChild:!0,children:l.jsx("a",{href:m.url,target:"_blank",rel:"noopener noreferrer",children:l.jsx(Ze,{className:"w-5 h-5 text-blue-400"})})})]},y))})})]}),l.jsxs(re,{className:"bg-white/5 backdrop-blur-sm border-white/10",children:[l.jsx(ke,{children:l.jsxs(Te,{className:"text-white flex items-center gap-3",children:[l.jsx(mn,{className:"w-6 h-6 text-orange-400"}),i.securityPrinciples]})}),l.jsx(se,{children:l.jsx("div",{className:"grid md:grid-cols-2 gap-3",children:u.map((m,y)=>l.jsxs("div",{className:"flex items-center gap-3 bg-white/5 rounded-lg p-3",children:[l.jsx(m.icon,{className:`w-5 h-5 ${m.color}`}),l.jsx("span",{className:"text-slate-300 text-sm",children:m.text})]},y))})})]})]}),l.jsx(It,{value:"business",className:"space-y-6",children:l.jsxs(re,{className:"bg-white/5 backdrop-blur-sm border-white/10",children:[l.jsx(ke,{children:l.jsxs(Te,{className:"text-white flex items-center gap-3",children:[l.jsx(lj,{className:"w-6 h-6 text-purple-400"}),e==="zh"?"eCNHå
¨çæå±åä¸è®¡å书":"eCNH Global Expansion Business Plan"]})}),l.jsx(se,{className:"space-y-6 text-slate-300",children:e==="zh"?l.jsxs(l.Fragment,{children:[l.jsxs("div",{children:[l.jsx("h3",{className:"text-xl font-bold text-white mb-3",children:"ä¸ãé¡¹ç®æ¦è¿°"}),l.jsx("p",{className:"leading-relaxed",children:"å¨å
¨çæ°ååæµªæ½®å人æ°å¸å½é
åè¿ç¨å éçèæ¯ä¸ï¼eCNHï¼ç¦»å²¸äººæ°å¸ä»£å¸ï¼ä½ä¸ºè¿æ¥ä¼ ç»éè䏿°åéèçåæ°è½½ä½ï¼æ£å¤äºéè¦åå±çªå£æã æ¬é¡¹ç®æ¨å¨æå»ºé¢åå
¨çå大移æ°å½å®¶çeCNHçæç³»ç»ï¼æå¡6000䏿µ·å¤å人åå½é
æèµè
群ä½ã"})]}),l.jsxs("div",{children:[l.jsx("h3",{className:"text-xl font-bold text-white mb-3",children:"äºãå¸åºå®ä½"}),l.jsx("p",{className:"leading-relaxed",children:'æé "å
¨çå人é¦éæ°å人æ°å¸éèåºç¡è®¾æ½"ï¼æä¸ºè·¨å¢è´¸æãèµäº§é
ç½®ãæ¯ä»ç»ç®çä¸ç«å¼è§£å³æ¹æ¡æä¾è
ã'})]}),l.jsxs("div",{children:[l.jsx("h3",{className:"text-xl font-bold text-white mb-3",children:"ä¸ãæ ¸å¿ä¼å¿"}),l.jsxs("ul",{className:"space-y-2",children:[l.jsxs("li",{className:"flex items-start gap-2",children:[l.jsx(Qe,{className:"w-5 h-5 text-green-400 mt-0.5"}),l.jsxs("span",{children:[l.jsx("strong",{children:"åè§åºç¡:"})," ä¸¥æ ¼1:1 CNHå¨å¤éæµæ¼"]})]}),l.jsxs("li",{className:"flex items-start gap-2",children:[l.jsx(Qe,{className:"w-5 h-5 text-blue-400 mt-0.5"}),l.jsxs("span",{children:[l.jsx("strong",{children:"ææ¯é¢å
:"})," åºäºSolana髿§è½å
¬é¾"]})]}),l.jsxs("li",{className:"flex items-start gap-2",children:[l.jsx(Qe,{className:"w-5 h-5 text-purple-400 mt-0.5"}),l.jsxs("span",{children:[l.jsx("strong",{children:"ç½ç»å®å:"})," 已建ç«å
¨çäºå¤§åºå鍿·"]})]}),l.jsxs("li",{className:"flex items-start gap-2",children:[l.jsx(Qe,{className:"w-5 h-5 text-pink-400 mt-0.5"}),l.jsxs("span",{children:[l.jsx("strong",{children:"çæå®æ´:"})," è¦çæ³å¸ééãDeFiãè·¨é¾æå¡"]})]})]})]}),l.jsxs("div",{children:[l.jsx("h3",{className:"text-xl font-bold text-white mb-3",children:"åãåå±è·¯çº¿å¾"}),l.jsxs("div",{className:"space-y-3",children:[l.jsxs("div",{className:"bg-blue-500/10 border border-blue-500/30 rounded-lg p-4",children:[l.jsx("h4",{className:"text-white font-medium mb-2",children:"第ä¸é¶æ®µï¼2026ï¼"}),l.jsxs("ul",{className:"space-y-1 text-sm",children:[l.jsx("li",{children:"â¢ å®æ10彿³å¸éé建设"}),l.jsx("li",{children:"⢠æ¥äº¤æé¢çªç ´1000ä¸ç¾å
"}),l.jsx("li",{children:"⢠å¯å¨åè§çç
§ç³è¯·"})]})]}),l.jsxs("div",{className:"bg-green-500/10 border border-green-500/30 rounded-lg p-4",children:[l.jsx("h4",{className:"text-white font-medium mb-2",children:"第äºé¶æ®µï¼2027-2028ï¼"}),l.jsxs("ul",{className:"space-y-1 text-sm",children:[l.jsx("li",{children:"⢠è·å¾2-3个åºåæ¯ä»çç
§"}),l.jsx("li",{children:"⢠建ç«ä¼ä¸çº§æ¯ä»ç½ç»"}),l.jsx("li",{children:"⢠çæåä½ä¼ä¼´è¶
è¿100å®¶"})]})]}),l.jsxs("div",{className:"bg-purple-500/10 border border-purple-500/30 rounded-lg p-4",children:[l.jsx("h4",{className:"text-white font-medium mb-2",children:"第ä¸é¶æ®µï¼2029-2030ï¼"}),l.jsxs("ul",{className:"space-y-1 text-sm",children:[l.jsx("li",{children:"⢠æä¸ºä¸»æµç¨³å®å¸èµäº§"}),l.jsx("li",{children:"⢠æå»ºå®æ´DeFiçæ"}),l.jsx("li",{children:"⢠æ¢ç´¢CBDCäºèäºé"})]})]})]})]})]}):l.jsxs(l.Fragment,{children:[l.jsxs("div",{children:[l.jsx("h3",{className:"text-xl font-bold text-white mb-3",children:"I. Project Overview"}),l.jsx("p",{className:"leading-relaxed",children:"In the context of accelerating global digitalization and RMB internationalization, eCNH (offshore RMB token) serves as an innovative carrier connecting traditional and digital finance. This project aims to build an eCNH ecosystem for the world's top immigration countries, serving 60 million overseas Chinese and international investors."})]}),l.jsxs("div",{children:[l.jsx("h3",{className:"text-xl font-bold text-white mb-3",children:"II. Market Positioning"}),l.jsx("p",{className:"leading-relaxed",children:'Building "The preferred digital RMB financial infrastru
297cture for global Chinese", becoming a one-stop solution provider for cross-border trade, asset allocation, and payment settlement.'})]}),l.jsxs("div",{children:[l.jsx("h3",{className:"text-xl font-bold text-white mb-3",children:"III. Core Advantages"}),l.jsxs("ul",{className:"space-y-2",children:[l.jsxs("li",{className:"flex items-start gap-2",children:[l.jsx(Qe,{className:"w-5 h-5 text-green-400 mt-0.5"}),l.jsxs("span",{children:[l.jsx("strong",{children:"Compliance:"})," Strict 1:1 CNH reserve backing"]})]}),l.jsxs("li",{className:"flex items-start gap-2",children:[l.jsx(Qe,{className:"w-5 h-5 text-blue-400 mt-0.5"}),l.jsxs("span",{children:[l.jsx("strong",{children:"Technology:"})," Built on Solana high-performance blockchain"]})]}),l.jsxs("li",{className:"flex items-start gap-2",children:[l.jsx(Qe,{className:"w-5 h-5 text-purple-400 mt-0.5"}),l.jsxs("span",{children:[l.jsx("strong",{children:"Network:"})," Established five major regional portals globally"]})]}),l.jsxs("li",{className:"flex items-start gap-2",children:[l.jsx(Qe,{className:"w-5 h-5 text-pink-400 mt-0.5"}),l.jsxs("span",{children:[l.jsx("strong",{children:"Ecosystem:"})," Covering fiat channels, DeFi, cross-chain services"]})]})]})]}),l.jsxs("div",{children:[l.jsx("h3",{className:"text-xl font-bold text-white mb-3",children:"IV. Development Roadmap"}),l.jsxs("div",{className:"space-y-3",children:[l.jsxs("div",{className:"bg-blue-500/10 border border-blue-500/30 rounded-lg p-4",children:[l.jsx("h4",{className:"text-white font-medium mb-2",children:"Phase 1 (2026)"}),l.jsxs("ul",{className:"space-y-1 text-sm",children:[l.jsx("li",{children:"⢠Complete 10-country fiat channel construction"}),l.jsx("li",{children:"⢠Daily trading volume exceeds $10M USD"}),l.jsx("li",{children:"⢠Initiate compliance license applications"})]})]}),l.jsxs("div",{className:"bg-green-500/10 border border-green-500/30 rounded-lg p-4",children:[l.jsx("h4",{className:"text-white font-medium mb-2",children:"Phase 2 (2027-2028)"}),l.jsxs("ul",{className:"space-y-1 text-sm",children:[l.jsx("li",{children:"⢠Obtain 2-3 regional payment licenses"}),l.jsx("li",{children:"⢠Establish enterprise-level payment network"}),l.jsx("li",{children:"⢠Ecosystem partners exceed 100"})]})]}),l.jsxs("div",{className:"bg-purple-500/10 border border-purple-500/30 rounded-lg p-4",children:[l.jsx("h4",{className:"text-white font-medium mb-2",children:"Phase 3 (2029-2030)"}),l.jsxs("ul",{className:"space-y-1 text-sm",children:[l.jsx("li",{children:"⢠Become mainstream stablecoin asset"}),l.jsx("li",{children:"⢠Build complete DeFi ecosystem"}),l.jsx("li",{children:"⢠Explore CBDC interoperability"})]})]})]})]})]})})]})}),l.jsx(It,{value:"safety",className:"space-y-6",children:l.jsxs(re,{className:"bg-red-500/5 backdrop-blur-sm border-red-500/30",children:[l.jsx(ke,{children:l.jsxs(Te,{className:"text-white flex items-center gap-3",children:[l.jsx(ic,{className:"w-6 h-6 text-red-400"}),i.safetyWarnings]})}),l.jsx(se,{className:"space-y-4",children:e==="zh"?l.jsxs(l.Fragment,{children:[l.jsxs("div",{className:"bg-white/5 rounded-xl p-4",children:[l.jsxs("h4",{className:"text-white font-medium mb-2 flex items-center gap-2",children:[l.jsx(mn,{className:"w-5 h-5 text-orange-400"}),"Solanaé¾ä¸é£é©è¯å«ä¸é¢é²"]}),l.jsxs("ul",{className:"space-y-2 text-slate-300 text-sm",children:[l.jsx("li",{children:"⢠éªè¯ææå约å°åï¼é¿å
åå代å¸"}),l.jsx("li",{children:"⢠使ç¨å®æ¹é±å
ï¼PhantomãSolflareçï¼"}),l.jsx("li",{children:"â¢ è¦æé«æ¶çæ¿è¯ºåRug Pull项ç®"}),l.jsx("li",{children:"â¢ æ£æ¥é¡¹ç®å®¡è®¡æ¥ååå¢éèæ¯"}),l.jsx("li",{children:"⢠ä¸è¦å¨æªç¥ç½ç«è¿æ¥é±å
"})]})]}),l.jsxs("div",{className:"bg-white/5 rounded-xl p-4",children:[l.jsxs("h4",{className:"text-white font-medium mb-2 flex items-center gap-2",children:[l.jsx(ri,{className:"w-5 h-5 text-red-400"}),"ç»å¯¹ç¦æ¢äºé¡¹"]}),l.jsxs("ul",{className:"space-y-2 text-red-300 text-sm",children:[l.jsx("li",{children:"⢠永è¿ä¸è¦å享ç§é¥æå©è®°è¯"}),l.jsx("li",{children:"⢠ä¸è¦åéç人转账"}),l.jsx("li",{children:"⢠ä¸è¦ä½¿ç¨æªéªè¯çè·¨é¾æ¡¥"}),l.jsx("li",{children:"⢠ä¸è¦ç¹å»å¯ç龿¥"}),l.jsx("li",{children:"⢠ä¸è¦å¨å
Œ
±WiFiè¿è¡äº¤æ"})]})]})]}):l.jsxs(l.Fragment,{children:[l.jsxs("div",{className:"bg-white/5 rounded-xl p-4",children:[l.jsxs("h4",{className:"text-white font-medium mb-2 flex items-center gap-2",children:[l.jsx(mn,{className:"w-5 h-5 text-orange-400"}),"Solana Risk Identification & Prevention"]}),l.jsxs("ul",{className:"space-y-2 text-slate-300 text-sm",children:[l.jsx("li",{children:"⢠Verify all contract addresses to avoid fake tokens"}),l.jsx("li",{children:"⢠Use official wallets (Phantom, Solflare, etc.)"}),l.jsx("li",{children:"⢠Beware of high-yield promises and Rug Pull projects"}),l.jsx("li",{children:"⢠Check project audit reports and team background"}),l.jsx("li",{children:"⢠Don't connect wallet to unknown websites"})]})]}),l.jsxs("div",{className:"bg-white/5 rounded-xl p-4",children:[l.jsxs("h4",{className:"text-white font-medium mb-2 flex items-center gap-2",children:[l.jsx(ri,{className:"w-5 h-5 text-red-400"}),"Never Do These"]}),l.jsxs("ul",{className:"space-y-2 text-red-300 text-sm",children:[l.jsx("li",{children:"⢠Never share private keys or seed phrases"}),l.jsx("li",{children:"⢠Don't transfer to strangers"}),l.jsx("li",{children:"⢠Don't use unverified bridges"}),l.jsx("li",{children:"⢠Don't click suspicious links"}),l.jsx("li",{children:"⢠Don't trade on public WiFi"})]})]})]})})]})})]}),l.jsxs(re,{className:"bg-white/5 backdrop-blur-sm border-white/10",children:[l.jsx(ke,{children:l.jsxs(Te,{className:"text-white flex items-center gap-3",children:[l.jsx(en,{className:"w-6 h-6 text-blue-400"}),i.resources]})}),l.jsx(se,{children:l.jsx("div",{className:"grid md:grid-cols-3 gap-4",children:p.map((m,y)=>l.jsx(_t,{variant:"outline",className:"h-auto p-4 border-white/20 text-slate-300 hover:bg-white/10 hover:text-white",asChild:!0,children:l.jsxs("a",{href:m.url,target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-between",children:[l.jsx("span",{children:m.name}),l.jsx(Ze,{className:"w-4 h-4"})]})},y))})})]})]})})}const Lc=k.forwardRef(({className:e,...t},r)=>l.jsx("div",{className:"relative w-full overflow-auto",children:l.jsx("table",{ref:r,className:Ke("w-full caption-bottom text-sm",e),...t})}));Lc.displayName="Table";const Dc=k.forwardRef(({className:e,...t},r)=>l.jsx("thead",{ref:r,className:Ke("[&_tr]:border-b",e),...t}));Dc.displayName="TableHeader";const Ic=k.forwardRef(({className:e,...t},r)=>l.jsx("tbody",{ref:r,className:Ke("[&_tr:last-child]:border-0",e),...t}));Ic.displayName="TableBody";const __=k.forwardRef(({className:e,...t},r)=>l.jsx("tfoot",{ref:r,className:Ke("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",e),...t}));__.displayName="TableFooter";const Es=k.forwardRef(({className:e,...t},r)=>l.jsx("tr",{ref:r,className:Ke("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",e),...t}));Es.displayName="TableRow";const qt=k.forwardRef(({className:e,...t},r)=>l.jsx("th",{ref:r,className:Ke("h-10 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...t}));
297qt.displayName="TableHead";const Kt=k.forwardRef(({className:e,...t},r)=>l.jsx("td",{ref:r,className:Ke("p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...t}));Kt.displayName="TableCell";const M_=k.forwardRef(({className:e,...t},r)=>l.jsx("caption",{ref:r,className:Ke("mt-4 text-sm text-muted-foreground",e),...t}));M_.displayName="TableCaption";const af=k.forwardRef(({className:e,type:t,...r},i)=>l.jsx("input",{type:t,className:Ke("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:i,...r}));af.displayName="Input";function O_(){const{language:e}=ja(),[t,r]=k.useState(""),[i,o]=k.useState(1),[c]=k.useState(new Date().toLocaleString()),u={en:{title:"eCNH Exchange Rates",subtitle:"Top 20 Developed Nations Currency Exchange to eCNH",lastUpdated:"Last updated",quickConverter:"Quick Converter",amountLabel:"Amount in eCNH",disclaimer1:"1 eCNH â 1 CNH",disclaimer2:"Rates are approximate and based on current market data.",disclaimer3:"eCNH is applicable for global markets",disclaimer4:"(excluding Mainland China CNY)",searchPlaceholder:"Search by country or currency code...",country:"Country",currency:"Currency",code:"Code",rateToCNH:"Rate to CNH",rateToECNH:"Rate to eCNH",warning1:"â ï¸ Exchange rates are for reference only. Actual rates may vary.",warning2:"CNH â CNY: eCNH only applies to offshore CNH, not mainland CNY."},zh:{title:"eCNH æ±ç",subtitle:"å
¨çå20åè¾¾å½å®¶è´§å¸å
eCNHæ±ç",lastUpdated:"æåæ´æ°",quickConverter:"å¿«éæ¢ç®",amountLabel:"eCNHæ°é",disclaimer1:"1 eCNH â 1 CNH",disclaimer2:"æ±ç为è¿ä¼¼å¼ï¼åºäºå½åå¸åºæ°æ®ã",disclaimer3:"eCNHéç¨äºå
¨çå¸åº",disclaimer4:"ï¼ä¸å½å¤§éé¤å¤ï¼ä»
éç¨CNHï¼ä¸ä½¿ç¨CNYï¼",searchPlaceholder:"æå½å®¶æè´§å¸ä»£ç æç´¢...",country:"å½å®¶",currency:"è´§å¸",code:"代ç ",rateToCNH:"å
CNHæ±ç",rateToECNH:"å
eCNHæ±ç",warning1:"â ï¸ æ±çä»
ä¾åèï¼å®é
æ±çå¯è½ææä¸åã",warning2:"CNH â CNYï¼eCNHä»
éç¨äºç¦»å²¸äººæ°å¸CNHï¼ä¸éç¨äºå¨å²¸äººæ°å¸CNYã"}}[e],p=[{country:"United States",flag:"ðºð¸",currency:"US Dollar",code:"USD",rateToCNH:7.28},{country:"Canada",flag:"ð¨ð¦",currency:"Canadian Dollar",code:"CAD",rateToCNH:5.04},{country:"United Kingdom",flag:"ð¬ð§",currency:"British Pound",code:"GBP",rateToCNH:8.95},{country:"Germany",flag:"ð©ðª",currency:"Euro",code:"EUR",rateToCNH:8.21},{country:"France",flag:"ð«ð·",currency:"Euro",code:"EUR",rateToCNH:8.21},{country:"Italy",flag:"ð®ð¹",currency:"Euro",code:"EUR",rateToCNH:8.21},{country:"Spain",flag:"ðªð¸",currency:"Euro",code:"EUR",rateToCNH:8.21},{country:"Netherlands",flag:"ð³ð±",currency:"Euro",code:"EUR",rateToCNH:8.21},{country:"Belgium",flag:"ð§ðª",currency:"Euro",code:"EUR",rateToCNH:8.21},{country:"Ireland",flag:"ð®ðª",currency:"Euro",code:"EUR",rateToCNH:8.21},{country:"Austria",flag:"ð¦ð¹",currency:"Euro",code:"EUR",rateToCNH:8.21},{country:"Finland",flag:"ð«ð®",currency:"Euro",code:"EUR",rateToCNH:8.21},{country:"Denmark",flag:"ð©ð°",currency:"Danish Krone",code:"DKK",rateToCNH:1.1},{country:"Sweden",flag:"ð¸ðª",currency:"Swedish Krona",code:"SEK",rateToCNH:.74},{country:"Norway",flag:"ð³ð´",currency:"Norwegian Krone",code:"NOK",rateToCNH:.67},{country:"Switzerland",flag:"ð¨ð",currency:"Swiss Franc",code:"CHF",rateToCNH:8.01},{country:"Japan",flag:"ð¯ðµ",currency:"Japanese Yen",code:"JPY",rateToCNH:.047,per100:!0},{country:"South Korea",flag:"ð°ð·",currency:"South Korean Won",code:"KRW",rateToCNH:.0055,per100:!0},{country:"Australia",flag:"ð¦ðº",currency:"Australian Dollar",code:"AUD",rateToCNH:4.8},{country:"New Zealand",flag:"ð³ð¿",currency:"New Zealand Dollar",code:"NZD",rateToCNH:4.4}].filter(m=>m.country.toLowerCase().includes(t.toLowerCase())||m.code.toLowerCase().includes(t.toLowerCase()));return l.jsx("div",{className:"min-h-screen bg-gradient-to-br from-slate-950 via-blue-950 to-purple-950 py-16",children:l.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[l.jsxs(_e.div,{initial:{opacity:0,y:20}
297,animate:{opacity:1,y:0},className:"text-center mb-16",children:[l.jsx("h1",{className:"text-5xl font-bold mb-6 bg-gradient-to-r from-green-400 to-blue-400 bg-clip-text text-transparent",children:u.title}),l.jsx("p",{className:"text-xl text-slate-300 max-w-3xl mx-auto",children:u.subtitle}),l.jsxs("div",{className:"flex items-center justify-center gap-2 mt-4 text-sm text-slate-400",children:[l.jsx(Cj,{className:"w-4 h-4"}),u.lastUpdated,": ",c]})]}),l.jsxs(re,{className:"mb-12 bg-white/5 backdrop-blur-sm border-white/10",children:[l.jsx(ke,{children:l.jsxs(Te,{className:"text-white flex items-center gap-2",children:[l.jsx(XS,{className:"w-6 h-6 text-blue-400"}),u.quickConverter]})}),l.jsx(se,{children:l.jsxs("div",{className:"flex flex-col md:flex-row gap-6 items-center",children:[l.jsxs("div",{className:"flex-1",children:[l.jsx("label",{className:"text-slate-400 text-sm mb-2 block",children:u.amountLabel}),l.jsx(af,{type:"number",value:i,onChange:m=>o(parseFloat(m.target.value)||0),className:"bg-white/10 border-white/20 text-white text-2xl h-14"})]}),l.jsxs("div",{className:"flex-1 grid grid-cols-2 md:grid-cols-4 gap-4",children:[l.jsxs("div",{className:"bg-white/10 p-4 rounded-xl text-center",children:[l.jsxs("div",{className:"text-2xl font-bold text-green-400",children:["$",(i/7.28).toFixed(2)]}),l.jsx("div",{className:"text-slate-400 text-sm",children:"USD"})]}),l.jsxs("div",{className:"bg-white/10 p-4 rounded-xl text-center",children:[l.jsxs("div",{className:"text-2xl font-bold text-blue-400",children:["â¬",(i/8.21).toFixed(2)]}),l.jsx("div",{className:"text-slate-400 text-sm",children:"EUR"})]}),l.jsxs("div",{className:"bg-white/10 p-4 rounded-xl text-center",children:[l.jsxs("div",{className:"text-2xl font-bold text-purple-400",children:["£",(i/8.95).toFixed(2)]}),l.jsx("div",{className:"text-slate-400 text-sm",children:"GBP"})]}),l.jsxs("div",{className:"bg-white/10 p-4 rounded-xl text-center",children:[l.jsxs("div",{className:"text-2xl font-bold text-yellow-400",children:["Â¥",(i*21.28).toFixed(0)]}),l.jsx("div",{className:"text-slate-400 text-sm",children:"JPY"})]})]})]})})]}),l.jsxs("div",{className:"bg-blue-500/10 border border-blue-500/30 rounded-xl p-4 mb-8 flex items-start gap-3",children:[l.jsx(JS,{className:"w-5 h-5 text-blue-400 mt-0.5"}),l.jsxs("div",{className:"text-slate-300 text-sm",children:[l.jsx("strong",{className:"text-white",children:u.disclaimer1})," ",e==="en"?"(Offshore Chinese Yuan)":"ï¼ç¦»å²¸äººæ°å¸ï¼",".",u.disclaimer2," ",u.disclaimer3," ",l.jsx("span",{className:"text-red-400",children:u.disclaimer4}),"."]})]}),l.jsx("div",{className:"mb-6",children:l.jsx(af,{placeholder:u.searchPlaceholder,value:t,onChange:m=>r(m.target.value),className:"bg-white/10 border-white/20 text-white placeholder:text-slate-500 max-w-md"})}),l.jsx(re,{className:"bg-white/5 backdrop-blur-sm border-white/10 overflow-hidden",children:l.jsx("div",{className:"overflow-x-auto",children:l.jsxs(Lc,{children:[l.jsx(Dc,{children:l.jsxs(Es,{className:"border-white/10 hover:bg-transparent",children:[l.jsx(qt,{className:"text-slate-300",children:u.country}),l.jsx(qt,{className:"text-slate-300",children:u.currency}),l.jsx(qt,{className:"text-slate-300",children:u.code}),l.jsx(qt,{className:"text-slate-300 text-right",children:u.rateToCNH}),l.jsx(qt,{className:"text-slate-300 text-right",children:u.rateToECNH})]})}),l.jsx(Ic,{children:p.map((m,y)=>l.jsxs(Es,{className:"border-white/10 hover:bg-white/5",children:[l.jsx(Kt,{className:"font-medium",children:l.jsxs("div",{className:"flex items-center gap-3",children:[l.jsx("span",{className:"text-2xl",children:m.flag}),l.jsx("span",{className:"text-white",children:m.country})]})}),l.jsx(Kt,{className:"text-slate-300",children:m.currency}),l.jsx(Kt,{children:l.jsx(we,{className:"bg-blue-500/20 text-blue-300 border-blue-500/30",children:m.code})}),l.jsx(Kt,{className:"text-right text-slate-300",children:m.per100?`100 ${m.code} â ${(m.rateToCNH*100).toFixed(2)} CNH`:`1 ${m.code} â ${m.rateToCNH.toFixed(2)} CNH`}),l.jsx(Kt,{className:"text-right text-green-400 font-medium",children:m.per100?`100 ${m.code} â ${(m.rateToCNH*100).toFixed(2)} eCNH`:`1 ${m.code} â ${m.rateToCNH.toFixed(2)} eCNH`})]},`${m.country}-${y}`))})]})})}),l.jsxs("div",{className:"mt-8 text-center text-slate-400 text-sm",children:[l.jsx("p",{children:u.warning1}),l.jsx("p",{className:"mt-2",children:u.warning2})]})]})})}function pi(e,t={}){const i=new URLSearchParams(t).toString();return`/${e}${i?`?${i}`:""}`}const L_={createPageUrl:pi};function D_(){const e=[{icon:en,title:"Global Web3 Centers",description:"Explore the world's leading Web3 financial hubs",link:"Web3Centers"},{icon:Cs,title:"Currency Exchange",description:"Real-time exchange rates for top 20 developed nations",link:"ExchangeRates"},{icon:sr,title:"Earn Digital Assets",description:"Safe ways to earn crypto with eCNH globally",link:"EarnCrypto"}
297,{icon:Ti,title:"Character Rewards",description:"Earn eCNH by teaching Chinese characters worldwide",link:"Rewards"},{icon:js,title:"Andromeda Vision",description:"Connecting Earth civilization with the cosmos",link:"Andromeda"},{icon:mn,title:"Trade Protection",description:"Self-protection strategies for global trade",link:"TradeGuide"},{icon:gn,title:"Community",description:"Join our global multilingual community",link:"Community"},{icon:oc,title:"Whitepaper",description:"Complete eCNH protocol documentation",link:"Whitepaper"}];return l.jsxs("div",{className:"min-h-screen bg-gradient-to-br from-slate-950 via-blue-950 to-purple-950",children:[l.jsxs("div",{className:"relative overflow-hidden",children:[l.jsx("div",{className:"absolute inset-0 bg-[url('https://images.unsplash.com/photo-1462331940025-496dfbfc7564?w=1920')] bg-cover bg-center opacity-20"}),l.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-transparent via-slate-950/50 to-slate-950"}),l.jsx("div",{className:"relative max-w-7xl mx-auto px-6 py-32",children:l.jsxs(_e.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8},className:"text-center",children:[l.jsx("h1",{className:"text-6xl md:text-8xl font-bold mb-6 bg-gradient-to-r from-blue-400 via-purple-400 to-pink-400 bg-clip-text text-transparent",children:"eCNH"}),l.jsx("p",{className:"text-2xl md:text-3xl text-blue-200 mb-4 font-light",children:"The Distributed CNH Stable Asset"}),l.jsx("p",{className:"text-xl text-slate-300 mb-8",children:"Earth & Global Humanity Builds and Shares eCNH Together"}),l.jsxs("div",{className:"flex flex-col md:flex-row gap-4 justify-center items-center mb-12",children:[l.jsx("div",{className:"text-lg text-slate-200 bg-white/10 backdrop-blur-sm px-6 py-3 rounded-xl border border-white/20",children:"1 eCNH â 1 CNH â 0.1205 EUR"}),l.jsx("div",{className:"text-lg text-slate-200 bg-white/10 backdrop-blur-sm px-6 py-3 rounded-xl border border-white/20",children:"Andromeda 1 eCNH â 0.1353â0.1463 USD"})]}),l.jsxs("div",{className:"flex flex-wrap gap-4 justify-center",children:[l.jsx(_t,{size:"lg",className:"bg-gradient-to-r from-blue-600 to-purple-600 hover:from-blue-700 hover:to-purple-700 text-white px-8 py-6 text-lg",asChild:!0,children:l.jsx(Wo,{to:pi("Whitepaper"),children:"Read Whitepaper"})}),l.jsx(_t,{size:"lg",variant:"outline",className:"border-2 border-blue-400/50 text-blue-300 hover:bg-blue-400/10 px-8 py-6 text-lg",asChild:!0,children:l.jsxs("a",{href:"https://solscan.io/token/7GQnqthWKa5v2GqXYWhmgWZY5mCRrniwK3Xuinm9GKw5",target:"_blank",rel:"noopener noreferrer",children:["View on Solscan ",l.jsx(Ze,{className:"ml-2 w-5 h-5"})]})})]})]})})]}),l.jsx("div",{className:"max-w-7xl mx-auto px-6 py-24",children:l.jsxs(_e.div,{initial:{opacity:0}
297,animate:{opacity:1},transition:{delay:.3,duration:.8},children:[l.jsx("h2",{className:"text-4xl font-bold text-center mb-16 text-white",children:"Explore the eCNH Ecosystem"}),l.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-8",children:e.map((t,r)=>l.jsx(_e.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.1*r,duration:.5},children:l.jsx(Wo,{to:pi(t.link),children:l.jsx(re,{className:"h-full bg-white/5 backdrop-blur-sm border-white/10 hover:bg-white/10 hover:border-blue-400/50 transition-all duration-300 cursor-pointer group",children:l.jsxs(se,{className:"p-8",children:[l.jsx(t.icon,{className:"w-12 h-12 text-blue-400 mb-6 group-hover:scale-110 transition-transform"}),l.jsx("h3",{className:"text-2xl font-bold text-white mb-3",children:t.title}),l.jsx("p",{className:"text-slate-300 leading-relaxed",children:t.description})]})})})},t.title))})]})}),l.jsx("div",{className:"border-t border-white/10 bg-black/30",children:l.jsx("div",{className:"max-w-7xl mx-auto px-6 py-20",children:l.jsxs("div",{className:"grid md:grid-cols-4 gap-8 text-center",children:[l.jsxs("div",{children:[l.jsx("div",{className:"text-4xl font-bold text-blue-400 mb-2",children:"100T"}),l.jsx("div",{className:"text-slate-300",children:"Total Supply"})]}),l.jsxs("div",{children:[l.jsx("div",{className:"text-4xl font-bold text-purple-400 mb-2",children:"1:1"}),l.jsx("div",{className:"text-slate-300",children:"CNH Backing"})]}),l.jsxs("div",{children:[l.jsx("div",{className:"text-4xl font-bold text-pink-400 mb-2",children:"20+"}),l.jsx("div",{className:"text-slate-300",children:"Global Markets"})]}),l.jsxs("div",{children:[l.jsx("div",{className:"text-4xl font-bold text-green-400 mb-2",children:"Solana"}),l.jsx("div",{className:"text-slate-300",children:"Blockchain"})]})]})})})]})}function I_(){const{language:e}=ja(),[t,r]=k.useState("overview"),i={en:{title:"Chinese Character Seed Program",subtitle:"Every character tells a story, every teaching builds a bridge",vision:"Blockchain-incentivized Chinese character culture spreading",reward:"Earn 0.01 eCNH per character taught",overviewTab:"Overview",incentivesTab:"Incentives",paymentTab:"Payment",bridgeTab:"Cross-Chain",gamesTab:"Games",howItWorks:"How It Works",rewardStructure:"Reward Structure",supportedWallets:"Supported Wallets",supportedTokens:"Supported Tokens",teachingProcess:"Teaching Process",verification:"Community Verification",safetyFirst:"Safety Measures",culturalImpact:"Cultural Impact",leaderboard:"Leaderboard",getStarted:"Get Started",action:"Action",rewardAmount:"Reward",proofMethod:"Proof Method",frequency:"Frequency Limit",teachOneChar:"Teach one character",teach10Chars:"Teach 10 characters consecutively",hostClass:"Host culture class (â¥5 people)",studentPassHSK:"Student passes HSK1 test",photoVideo:"Photo/15s video + student holding character card",recordSheet:"Learning record + test results",eventProof:"Event photos/videos + attendance",certificate:"Certificate photo + referral proof",dailyLimit10:"Max 10 chars/day",monthlyLimit2:"Max 2 times/month",monthlyLimit1:"Max 1 time/month",unlimited:"Unlimited",step:"Step",register:"Register as Character Educator",recordTeaching:"Record Teaching",communityReview:"Community Review",claimRewards:"Claim Rewards",ranking:"Ranking",topContributors:"Top 10 Contributors",monthlyStars:"Monthly Stars",annualAmbassador:"Annual Cultural Ambassador",crossChainGuide:"Cross-Chain Payment Guide"},zh:{title:"æ±åä¼ èªå
¨çæåæ¿å±è®¡å",subtitle:"让æ¯ä¸ªæ±åé½æä¸ºä¼ æä¸åæåçç§å",vision:"以åºå龿¿å±é©±å¨æ±åæåä¼ æ",reward:"æ¯æä¼ä¸ä¸ªæ±åè·å¾0.01 eCNH",overviewTab:"æ¦è§",incentivesTab:"æ¿å±æºå¶",paymentTab:"æ¯ä»ç³»ç»",bridgeTab:"è·¨é¾æå",gamesTab:"å¦ä¹ 游æ",howItWorks:"è¿ä½æ¹å¼",rewardStructure:"å¥å±ç»æ",supportedWallets:"æ¯æçé±å
",supportedTokens:"æ¯æç代å¸",teachingProcess:"æå¦æµç¨",verification:"社åºéªè¯",safetyFirst:"å®å
¨æªæ½",culturalImpact:"æåå½±åå",leaderboard:"è´¡ç®æ¦",getStarted:"ç«å³å¼å§",action:"è¡ä¸º",rewardAmount:"å¥å±",proofMethod:"è¯ææ¹å¼",frequency:"é¢çéå¶",teachOneChar:"æä¼ä¸ä¸ªæ±å",teach10Chars:"è¿ç»æä¼10个æ±å",hostClass:"䏾忱åæåå°è¯¾å ï¼â¥5人ï¼",studentPassHSK:"å¦ä¹ è
éè¿HSK1级æµè¯",ph
297otoVideo:"æå¦ç
§ç/15ç§è§é¢ + å¦ä¹ è
æææ±åå¡ç",recordSheet:"å¦ä¹ è®°å½è¡¨ + ç®åæµè¯ç»æ",eventProof:"æ´»å¨ç
§ç/è§é¢ + ç¾å°è¡¨",certificate:"è¯ä¹¦ç
§ç + æ¨èå
³ç³»è¯æ",dailyLimit10:"æ¯æ¥ä¸é10å",monthlyLimit2:"æ¯æé2次",monthlyLimit1:"æ¯æé1次",unlimited:"ä¸é",step:"æ¥éª¤",register:'注åæä¸º"æ±åä¼ èªè
"',recordTeaching:"è®°å½æå¦",communityReview:"社åºéªè¯",claimRewards:"é¢åå¥å±",ranking:"æå",topContributors:"ä¼ èªä¹æ Top 10",monthlyStars:"æ¯æä¹æ",annualAmbassador:"年度æ±åæå大使",crossChainGuide:"è·¨é¾æ¯ä»æå"}}[e],o=[{name:"Phantom",type:"Browser/Mobile",network:"Solana",recommended:!0},{name:"Solflare",type:"Browser/Web",network:"Solana",recommended:!0},{name:"Backpack",type:"Browser",network:"Solana",recommended:!1},{name:"Trust Wallet",type:"Mobile",network:"Multi-chain",recommended:!1}],c=[{symbol:"eCNH",name:"eCNH Stablecoin",address:"7GQnqthWKa5v2GqXYWhmgWZY5mCRrniwK3Xuinm9GKw5",native:!0},{symbol:"USDC",name:"USD Coin",address:"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",native:!0},{symbol:"USDT",name:"Tether USD",address:"Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",native:!0},{symbol:"SOL",name:"Solana",address:"Native",native:!0},{symbol:"wBTC",name:"Wrapped BTC",address:"3NZ9JMVBmGAqocybic2c7LQCJScmgsAZ6vQqTDzcqmJh",native:!1},{symbol:"wETH",name:"Wrapped ETH",address:"7vfCXTUXx5WJV5JADk17DUJ4ksgau7utNKj4b963voxs",native:!1},{symbol:"wBNB",name:"Wrapped BNB",address:"9gP2kCy3wA1ctvYWQk75guqXuHfrEomqydHLtcTCqiLa",native:!1},{symbol:"wAVAX",name:"Wrapped AVAX",address:"KgV1GvrHQmRBY8sHQQeUKwTm2r2h8t4C8qt12Cw1HVE",native:!1},{symbol:"TRX",name:"TRON",address:"GbbesPbaYh5uiAZSYNXTc7w9jty1rpg3P9L4JeN4LkKc",native:!1}],u=e==="zh"?[{action:"æä¼ä¸ä¸ªæ±å",reward:"0.01 eCNH",proof:"æå¦ç
§ç/15ç§è§é¢ + å¦ä¹ è
æææ±åå¡ç",frequency:"æ¯æ¥ä¸é10å"},{action:"è¿ç»æä¼10个æ±å",reward:"0.1 eCNHï¼é¢å¤ï¼",proof:"å¦ä¹ è®°å½è¡¨ + ç®åæµè¯ç»æ",frequency:"æ¯æé2次"},{action:"䏾忱åæåå°è¯¾å ï¼â¥5人ï¼",reward:"0.5 eCNH + ä¸å±å¾½ç« ",proof:"æ´»å¨ç
§ç/è§é¢ + ç¾å°è¡¨",frequency:"æ¯æé1次"},{action:"å¦ä¹ è
éè¿HSK1级æµè¯",reward:"5 eCNH",proof:"è¯ä¹¦ç
§ç + æ¨èå
³ç³»è¯æ",frequency:"ä¸é"}]:[{action:"Teach one character",reward:"0.01 eCNH",proof:"Photo/15s video + student holding card",frequency:"Max 10/day"},{action:"Teach 10 characters consecutively",reward:"0.1 eCNH (bonus)",proof:"Learning records + test results",frequency:"Max 2/month"},{action:"Host culture class (â¥5 people)",reward:"0.5 eCNH + badge",proof:"Event photos/videos + attendance",frequency:"Max 1/month"},{action:"Student passes HSK1 test",reward:"5 eCNH",proof:"Certificate + referral proof",frequency:"Unlimited"}],h=e==="zh"?[{title:'注åæä¸º"æ±åä¼ èªè
"',desc:"ç»å®é±å
å°åï¼å®æåºç¡æåæµè¯ï¼10éé¢ï¼",icon:gn},{title:"è®°å½æå¦",desc:"ä¸ä¼ è¯æææï¼ç
§ç/çè§é¢ï¼ï¼å¡«åæ±åãæå¦å¯¹è±¡å½ç±ãæå¦åºæ¯",icon:$o},{title:"社åºéªè¯",desc:"éæºåé
3åç¤¾åºæåå¿åå®¡æ ¸ï¼DAOæºå¶ï¼ï¼24å°æ¶å
宿æç¥¨",icon:Qe},{title:"é¢åå¥å±",desc:"æ¯å£åº¦15æ¥åæ¾eCNHè³ç»å®é±å
ï¼ææè®°å½ä¸é¾",icon:oi},{title:"æåè´¡ç®æ¦",desc:'æ¯æå
¬å¸"ä¼ èªä¹æ"Top 10ï¼å¹´åº¦å åè·1000 eCNHå¥å±',icon:fi}]:[{title:"Register as Educator",desc:"Bind wallet, complete cultural test (10 questions)",icon:gn},{title:"Record Teaching",desc:"Upload proof (photo/video), fill in character, nationality, scene",icon:$o},{title:"Community Review",desc:"3 random members review anonymously (DAO), voting within 24h",icon:Qe},{title:"Claim Rewards",desc:"eCNH distributed quarterly on the 15th, all records on-chain",icon:oi},{title:"Leaderboard",desc:"Monthly Top 10 published, annual champion gets 1000 eCNH",icon:fi}],p=e==="zh"?[{name:"æ±åè¿è¿ç",desc:"å¹é
ç¸åçæ±åå¡çï¼å¦ä¹ 认å",difficulty:"ç®å"},{name:"ç¬ç»é¡ºåºææ",desc:"ææ£ç¡®ç¬é¡ºä¹¦åæ±å",difficulty:"ä¸ç"},{name:"æè¯æ¥é¾",desc:"å¦ä¹ å¸¸ç¨æè¯ï¼ä¼ æ¿æåæºæ
§",difficulty:"å°é¾"},{name:"æ±åæ¼åå²",desc:"ä»ç²éª¨æå°ç®ä½åçæ¼åè¿ç¨",difficulty:"æè²"}
297,{name:"æ¼é³é¯å
³",desc:"å¦ä¹ æ±åæ¼é³åé³",difficulty:"ç®å"},{name:"é¨é¦å¤§å¸",desc:"è®¤è¯æ±åé¨é¦åç»æ",difficulty:"ä¸ç"}]:[{name:"Character Matching",desc:"Match identical character cards to learn recognition",difficulty:"Easy"},{name:"Stroke Order Challenge",desc:"Write characters in correct stroke order",difficulty:"Medium"},{name:"Idiom Chain",desc:"Learn common idioms, inherit cultural wisdom",difficulty:"Hard"},{name:"Character Evolution",desc:"From oracle bones to simplified characters",difficulty:"Educational"},{name:"Pinyin Adventure",desc:"Learn Chinese character pronunciation",difficulty:"Easy"},{name:"Radical Master",desc:"Recognize character radicals and structure",difficulty:"Medium"}];return l.jsx("div",{className:"min-h-screen bg-gradient-to-br from-slate-950 via-orange-950 to-red-950 py-16",children:l.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[l.jsxs(_e.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"text-center mb-16",children:[l.jsxs("div",{className:"mb-6",children:[l.jsx("span",{className:"text-6xl mb-4 block",children:"ð"}),l.jsx("h1",{className:"text-5xl font-bold mb-6 bg-gradient-to-r from-orange-400 via-red-400 to-pink-400 bg-clip-text text-transparent",children:i.title})]}),l.jsxs("p",{className:"text-2xl text-orange-200 mb-4 italic",children:['"',i.subtitle,'"']}),l.jsxs("div",{className:"flex flex-col items-center gap-4 mt-8",children:[l.jsxs("div",{className:"bg-gradient-to-r from-orange-500/20 to-red-500/20 border border-orange-500/30 rounded-2xl p-6 max-w-2xl",children:[l.jsx("p",{className:"text-xl text-white mb-2",children:i.vision}),l.jsx("p",{className:"text-3xl font-bold text-orange-300",children:i.reward})]}),l.jsx(we,{className:"bg-red-500/20 text-red-300 border-red-500/30 text-lg px-6 py-2",children:e==="zh"?"è¦çä¸åäºã欧ç¾ãä¸ä¸çå°åº":"Covering Southeast Asia, Europe, Americas, Middle East"})]})]}),l.jsxs(Oc,{value:t,onValueChange:r,className:"mb-12",children:[l.jsxs(Sa,{className:"grid w-full grid-cols-2 lg:grid-cols-5 bg-white/5 border border-white/10",children:[l.jsx(Rt,{value:"overview",children:i.overviewTab}),l.jsx(Rt,{value:"incentives",children:i.incentivesTab}),l.jsx(Rt,{value:"payment",children:i.paymentTab}),l.jsx(Rt,{value:"bridge",children:i.bridgeTab}),l.jsx(Rt,{value:"games",children:i.gamesTab})]}),l.jsxs(It,{value:"overview",className:"space-y-6",children:[l.jsxs(re,{className:"bg-white/5 backdrop-blur-sm border-white/10",children:[l.jsx(ke,{children:l.jsxs(Te,{className:"text-white flex items-center gap-3",children:[l.jsx($o,{className:"w-6 h-6 text-orange-400"}),i.howItWorks]})}),l.jsx(se,{children:l.jsx("div",{className:"space-y-6",children:h.map((m,y)=>l.jsxs("div",{className:"flex gap-4",children:[l.jsx("div",{className:"flex-shrink-0",children:l.jsx("div",{className:"w-12 h-12 rounded-full bg-gradient-to-br from-orange-500 to-red-500 flex items-center justify-center text-white font-bold",children:y+1})}),l.jsxs("div",{className:"flex-1",children:[l.jsxs("div",{className:"flex items-center gap-3 mb-2",children:[l.jsx(m.icon,{className:"w-5 h-5 text-orange-400"}),l.jsx("h4",{className:"text-white font-bold text-lg",children:m.title})]}),l.jsx("p",{className:"text-slate-300",children:m.desc})]})]},y))})})]}),l.jsxs("div",{className:"grid md:grid-cols-3 gap-6",children:[l.jsx(re,{className:"bg-gradient-to-br from-orange-500/10 to-red-500/10 border-orange-500/30",children:l.jsxs(se,{className:"p-6 text-center",children:[l.jsx(en,{className:"w-12 h-12 text-orange-400 mx-auto mb-4"}),l.jsx("div",{className:"text-3xl font-bold text-white mb-2",children:"10,000+"}),l.jsx("div",{className:"text-slate-300",children:e==="zh"?"å¸¸ç¨æ±ååº":"Common Characters"})]})}),l.jsx(re,{className:"bg-gradient-to-br from-red-500/10 to-pink-500/10 border-red-500/30",children:l.jsxs(se,{className:"p-6 text-center",children:[l.jsx(gn,{className:"w-12 h-12 text-red-400 mx-auto mb-4"}),l.jsx("div",{className:"text-3xl font-bold text-white mb-2",children:"â"}),l.jsx("div",{className:"text-slate-300",children:e==="zh"?"å
¨çå¦ä¹ è
":"Global Learners"})]})}),l.jsx(re,{className:"bg-gradient-to-br from-pink-500/10 to-purple-500/10 border-pink-500/30",children:l.jsxs(se,{className:"p-6 text-center",children:[l.jsx(fi,{className:"w-12 h-12 text-pink-400 mx-auto mb-4"}),l.jsx("div",{className:"text-3xl font-bold text-white mb-2",children:"1000"}),l.jsx("div",{className:"text-slate-300",children:e==="zh"?"年度大使å¥å± eCNH":"Annual Ambassador Reward"})]})})]})]}),l.jsxs(It,{value:"incentives",className:"space-y-6",children:[l.jsxs(re,{className:"bg-white/5 backdrop-blur-sm border-white/10",children:[l.jsx(ke,{children:l.jsxs(Te,{className:"text-white flex items-center gap-3",children:[l.jsx(Ti,{className:"w-6 h-6 text-yellow-400"}
297),i.rewardStructure]})}),l.jsx(se,{children:l.jsx("div",{className:"overflow-x-auto",children:l.jsxs(Lc,{children:[l.jsx(Dc,{children:l.jsxs(Es,{className:"border-white/10",children:[l.jsx(qt,{className:"text-slate-300",children:i.action}),l.jsx(qt,{className:"text-slate-300",children:i.rewardAmount}),l.jsx(qt,{className:"text-slate-300",children:i.proofMethod}),l.jsx(qt,{className:"text-slate-300",children:i.frequency})]})}),l.jsx(Ic,{children:u.map((m,y)=>l.jsxs(Es,{className:"border-white/10",children:[l.jsx(Kt,{className:"text-white font-medium",children:m.action}),l.jsx(Kt,{className:"text-green-400 font-bold",children:m.reward}),l.jsx(Kt,{className:"text-slate-300 text-sm",children:m.proof}),l.jsx(Kt,{children:l.jsx(we,{className:"bg-blue-500/20 text-blue-300 border-blue-500/30",children:m.frequency})})]},y))})]})})})]}),l.jsxs(re,{className:"bg-white/5 backdrop-blur-sm border-white/10",children:[l.jsx(ke,{children:l.jsxs(Te,{className:"text-white flex items-center gap-3",children:[l.jsx(mn,{className:"w-6 h-6 text-blue-400"}),i.safetyFirst]})}),l.jsx(se,{children:l.jsxs("div",{className:"grid md:grid-cols-2 gap-4",children:[l.jsxs("div",{className:"bg-green-500/10 border border-green-500/30 rounded-xl p-4",children:[l.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[l.jsx(Qe,{className:"w-5 h-5 text-green-400"}),l.jsx("h4",{className:"text-white font-medium",children:e==="zh"?"ä¸ééªè¯":"Triple Verification"})]}),l.jsx("p",{className:"text-slate-300 text-sm",children:e==="zh"?"AIè¯å« + ç¤¾åºæç¥¨ + éæºæ½æ¥":"AI detection + Community voting + Random audit"})]}),l.jsxs("div",{className:"bg-blue-500/10 border border-blue-500/30 rounded-xl p-4",children:[l.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[l.jsx(Qe,{className:"w-5 h-5 text-blue-400"}),l.jsx("h4",{className:"text-white font-medium",children:e==="zh"?"ææ¬æ§å¶":"Cost Control"})]}),l.jsx("p",{className:"text-slate-300 text-sm",children:e==="zh"?"个人å£åº¦ä¸é300æ±å = 3 eCNH":"Personal quarterly limit: 300 chars = 3 eCNH"})]}),l.jsxs("div",{className:"bg-purple-500/10 border border-purple-500/30 rounded-xl p-4",children:[l.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[l.jsx(Qe,{className:"w-5 h-5 text-purple-400"}),l.jsx("h4",{className:"text-white font-medium",children:e==="zh"?"DAOæ²»ç":"DAO Governance"})]}),l.jsx("p",{className:"text-slate-300 text-sm",children:e==="zh"?"éæåå®¡æ ¸ + ç³è¯éé + æåå§åä¼":"Transparent review + Appeal channel + Cultural committee"})]}),l.jsxs("div",{className:"bg-orange-500/10 border border-orange-500/30 rounded-xl p-4",children:[l.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[l.jsx(Qe,{className:"w-5 h-5 text-orange-400"}),l.jsx("h4",{className:"text-white font-medium",children:e==="zh"?"åä½å¼æºå¶":"Anti-Fraud"})]}),l.jsx("p",{className:"text-slate-300 text-sm",children:e==="zh"?"æ¯å£åº¦æ½æ¥10%è®°å½ï¼é åè
æ°¸ä¹
é¤å":"Quarterly 10% audit, fraudsters permanently banned"})]})]})})]})]}),l.jsxs(It,{value:"payment",className:"space-y-6",children:[l.jsxs(re,{className:"bg-white/5 backdrop-blur-sm border-white/10",children:[l.jsx(ke,{children:l.jsxs(Te,{className:"text-white flex items-center gap-3",children:[l.jsx(Bj,{className:"w-6 h-6 text-purple-400"}),i.supportedWallets]})}),l.jsx(se,{children:l.jsx("div",{className:"grid md:grid-cols-2 gap-4",children:o.map((m,y)=>l.jsxs("div",{className:`bg-white/5 rounded-xl p-4 ${m.recommended?"border-2 border-purple-400":"border border-white/10"}`,children:[l.jsxs("div",{className:"flex items-center justify-between mb-2",children:[l.jsx("h4",{className:"text-white font-bold",children:m.name}),m.recommended&&l.jsx(we,{className:"bg-purple-500/20 text-purple-300 border-purple-500/30",children:e==="zh"?"æ¨è":"Recommended"})]}),l.jsxs("div",{className:"text-slate-400 text-sm space-y-1",children:[l.jsxs("div",{children:[e==="zh"?"ç±»å":"Type",": ",m.type]}),l.jsxs("div",{children:[e==="zh"?"ç½ç»":"Network",": ",m.network]})]})]},y))})})]}),l.jsxs(re,{className:"bg-white/5 backdrop-blur-sm border-white/10",children:[l.jsx(ke,{children:l.jsxs(Te,{className:"text-white flex items-center gap-3",children:[l.jsx(Cs,{className:"w-6 h-6 text-green-400"}),i.supportedTokens]})}),l.jsx(se,{children:l.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-4",children:c.map((m,y)=>l.jsxs("div",{className:`bg-white/5 rounded-xl p-4 ${m.native?"border border-green-500/30":"border border-blue-500/30"}`,children:[l.jsxs("div",{className:"flex items-center justify-between mb-2",children:[l.jsxs("div",{children:[l.jsx("div",{className:"text-white font-bold",children:m.symbol}),l.jsx("div",{className:"text-slate-400 text-sm",children:m.name})]}),l.jsx(we,{className:m.native?"bg-green-500/20 text-green-300 border-green-500/30":"bg-blue-500/20 text-blue-300 border-blue-500/30",children:m.native?"Native":"Wrapped"})]}),m.address!=="Native"&&l.jsxs("a",{href:`https://solscan.io/token/${m.address}`,target:"_blank",rel:"noopener noreferrer",className:"text-xs text-slate-500 hover:text-blue-400 break-all flex items-center gap-1",children:[m.address.slice(0,8),"...",m.address.slice(-6),l.jsx(Ze,{className:"w-3 h-3"})]})]},y))})})]})]}),l.jsx(It,{value:"bridge",className:"space-y-6",children:l.jsxs(re,{className:"bg-white/5 backdrop-blur-sm border-white/10",children:[l.jsx(ke,{children:l.jsxs(Te,{className:"text-white flex items-center gap-3",children:[l.jsx(cs,{className:"w-6 h-6 text-blue-400"}),i.crossChainGuide]})}),l.jsxs(se,{className:"space-y-6",children:[l.jsxs("div",{className:"bg-blue-500/10 border border-blue-500/30 rounded-xl p-6",children:[l.jsx("h4",{className:"text-white font-bold mb-4 text-lg",children:e==="zh"?"è·¨é¾æ¯ä»æµç¨":"Cross-Chain Payment Process"}),l.jsxs("div",{className:"space-y-4",children:[l.jsxs("div",{className:"flex items-start gap-3",children:[l.jsx("div",{className:"w-8 h-8 rounded-full bg-blue-500 flex items-center justify-center text-white font-bold flex-shrink-0",children:"1"}),l.jsxs("div",{children:[l.jsx("div",{className:"text-white font-medium mb-1",children:e==="zh"?"éæ©æ¯ä»èµäº§":"Select Payment Asset"}),l.jsx("div",{className:"text-slate-300 text-sm",children:e==="zh"?"ç´æ¥æ¯ä»ï¼Solanaåçï¼æè·¨é¾æ¯ä»ï¼å
¶ä»é¾èµäº§ï¼":"Direct payment (Solana native) or cross-chain (other chains)"})]})]}),l.jsxs("div",{className:"flex items-start gap-3",children:[l.jsx("div",{className:"w-8 h-8 rounded-full bg-blue-500 flex items-center justify-center text-white font-bold flex-shrink-0",children:"2"}),l.jsxs("div",{children:[l.jsx("div",{className:"text-white font-medium mb-1",children:e==="zh"?"è¿æ¥é±å
":"Connect Wallets"}),l.jsx("div",{className:"text-slate-300 text-sm",children:e==="zh"?"æºé¾é±å
ï¼å¦MetaMaskææETHï¼+ ç®æ é¾é±å
ï¼Phantomæ¥æ¶wETHï¼":"Source wallet (e.g., MetaMask with ETH) + Target wallet (Phantom receiving wETH)"})]})]}),l.jsxs("div",{className:"flex items-start gap-3",children:[l.jsx("div",{className:"w-8 h-8 rounded-full bg-blue-500 flex items-center justify-center text-white font-bold flex-shrink-0",children:"3"}),l.jsxs("div",{children:[l.jsx("div",{className:"text-white font-medium mb-1",children:e==="zh"?"使ç¨Wormholeæ¡¥æ¥":"Use Wormhole Bridge"}),l.jsx("div",{className:"text-slate-300 text-sm",children:e==="zh"?"è®¿é® portalbridge.comï¼éæ©èµäº§åæ°éï¼ç¡®è®¤è·¨é¾ï¼5-15åéï¼":"Visit portalbridge.com, select asset & amount, confirm (5-15 min)"})]})]}),l.jsxs("div",{className:"flex items-start gap-3",children:[l.jsx("div",{className:"w-8 h-8 rounded-full bg-blue-500 flex items-center justify-center text-white font-bold flex-shrink-0",children:"4"}),l.jsxs("div",{children:[l.jsx("div",{className:"text-white font-medium mb-1",children:e==="zh"?"宿æ¯ä»":"Complete Payment"}),l.jsx("div",{className:"text-slate-300 text-sm",children:e==="zh"?"èµäº§å°è´¦åï¼ç´æ¥ä½¿ç¨æå¨DEXå
æ¢ä¸ºeCNH忝ä»":"After arrival, use directly or swap to eCNH on DEX"})]})]})]})]}),l.jsxs("div",{className:"grid md:grid-cols-2 gap-4",children:[l.jsx(_t,{variant:"outline",className:"h-auto p-6 border-blue-400/50 text-blue-300 hover:bg-blue-400/10",asChild:!0,children:l.jsxs("a",{href:"https://portalbridge.com/",target:"_blank",rel:"noopener noreferrer",className:"flex flex-col items-center gap-2",children:[l.jsx("span",{className:"text-lg font-bold",children:"Wormhole Portal"}),l.jsx("span",{className:"text-sm text-slate-400",children:e==="zh"?"宿¹è·¨é¾æ¡¥":"Official Bridge"}),l.jsx(Ze,{className:"w-5 h-5"})]})}),l.jsx(_t,{variant:"outline",className:"h-auto p-6 border-purple-400/50 text-purple-300 hover:bg-purple-400/10",asChild:!0,children:l.jsxs("a",{href:"https://www.orca.so/",target:"_blank",rel:"noopener noreferrer",className:"flex flex-col items-center gap-2",children:[l.jsx("span",{className:"text-lg font-bold",children:"Orca DEX"}),l.jsx("span",{className:"text-sm text-slate-400",children:e==="zh"?"代å¸å
æ¢":"Token Swap"}),l.jsx(Ze,{className:"w-5 h-5"})]})})]})]})]})}),l.jsxs(It,{value:"games",className:"space-y-6",children:[l.jsxs(re,{className:"bg-white/5 backdrop-blur-sm border-white/10",children:[l.jsx(ke,{children:l.jsxs(Te,{className:"text-white flex items-center gap-3",children:[l.jsx(m0,{className:"w-6 h-6 text-pink-400"}),e==="zh"?"æ±åå¦ä¹ 游æ":"Chinese Learning Games"]})}),l.jsx(se,{children:l.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:p.map((m,y)=>l.jsxs(_e.div,{initial:{opacity:0,y:20}
297,animate:{opacity:1,y:0},transition:{delay:y*.1},className:"bg-gradient-to-br from-pink-500/10 to-purple-500/10 border border-pink-500/30 rounded-xl p-6 hover:border-pink-400/50 transition-all cursor-pointer group",children:[l.jsxs("div",{className:"flex items-center justify-between mb-3",children:[l.jsx(m0,{className:"w-8 h-8 text-pink-400 group-hover:scale-110 transition-transform"}),l.jsx(we,{className:m.difficulty==="ç®å"||m.difficulty==="Easy"?"bg-green-500/20 text-green-300 border-green-500/30":m.difficulty==="ä¸ç"||m.difficulty==="Medium"?"bg-yellow-500/20 text-yellow-300 border-yellow-500/30":m.difficulty==="å°é¾"||m.difficulty==="Hard"?"bg-red-500/20 text-red-300 border-red-500/30":"bg-blue-500/20 text-blue-300 border-blue-500/30",children:m.difficulty})]}),l.jsx("h4",{className:"text-white font-bold text-lg mb-2",children:m.name}),l.jsx("p",{className:"text-slate-300 text-sm",children:m.desc}),l.jsx(_t,{variant:"ghost",className:"w-full mt-4 text-pink-300 hover:text-pink-200 hover:bg-pink-500/10",children:e==="zh"?"å³å°æ¨åº":"Coming Soon"})]},y))})})]}),l.jsx(re,{className:"bg-gradient-to-r from-orange-500/10 to-pink-500/10 border-orange-500/30",children:l.jsx(se,{className:"p-6",children:l.jsxs("div",{className:"flex items-start gap-4",children:[l.jsx(Ei,{className:"w-8 h-8 text-orange-400 flex-shrink-0"}),l.jsxs("div",{children:[l.jsx("h4",{className:"text-white font-bold text-lg mb-2",children:e==="zh"?"游æéæè®¡å":"Game Integration Plan"}),l.jsx("p",{className:"text-slate-300 mb-3",children:e==="zh"?"eCNHæ£å¨éæå
¨ç½å10çè¯åå°æ¸¸æï¼è¦çæå¸¸ç¨ç1ä¸ä¸ªæ±åï¼è®©å¦ä¹ åå¾æè¶£ä¸æå¥å±ã":"eCNH is integrating top 10 literacy games, covering 10,000 most common characters, making learning fun and rewarding."}),l.jsxs("div",{className:"flex flex-wrap gap-2",children:[l.jsx(we,{className:"bg-orange-500/20 text-orange-300 border-orange-500/30",children:e==="zh"?"10,000+ æ±å":"10,000+ Characters"}),l.jsx(we,{className:"bg-pink-500/20 text-pink-300 border-pink-500/30",children:e==="zh"?"游æåå¦ä¹ ":"Gamified Learning"}),l.jsx(we,{className:"bg-purple-500/20 text-purple-300 border-purple-500/30",children:e==="zh"?"Web3å¥å±":"Web3 Rewards"})]})]})]})})})]})]}),l.jsx(re,{className:"bg-gradient-to-r from-orange-500/20 to-red-500/20 border-orange-500/30",children:l.jsxs(se,{className:"p-8 text-center",children:[l.jsx("h3",{className:"text-3xl font-bold text-white mb-4",children:e==="zh"?"åå¤å¥½ä¼ ææ±åæåäºåï¼":"Ready to Spread Chinese Culture?"}),l.jsx("p",{className:"text-slate-300 mb-6 text-lg",children:e==="zh"?"ä¸åä¸ä¸çï¼ä¸æä¸ä¼ æ¿ãç«å³å å
¥æ±åä¼ èªè
è¡åï¼":"Every character a world, every teaching a legacy. Join now!"}),l.jsx(_t,{size:"lg",className:"bg-gradient-to-r from-orange-500 to-red-500 hover:from-orange-600 hover:to-red-600 text-white px-8 py-6 text-lg",children:i.getStarted})]})})]})})}function F_(){const e=[{icon:en,title:"Market Diversification",items:["Avoid single market exceeding 40% share","Increase ASEAN, Middle East, Latin America, Africa, Eastern Europe clients","Reduce impact of synchronized policy shocks"],color:"blue"},{icon:sr,title:"Settlement & FX Management",items:["Support USD, EUR, CNH tri-currency payments","Use forwards/options for key pairs (USD/CNH, EUR/USD)","Embed ±1% FX safety margin in quotes","Choose banks with SWIFT RMB, CIPS capabilities"],color:"green"},{icon:nv,title:"Compliance & Risk Control",items:["OFAC, EU, UN sanctions list screening per transaction",'Add "Force Majeure/Policy Change" contract clauses',"Optimize HS codes, certificates of origin (EUR.1, FTA)"],color:"purple"},{icon:Dj,title:"Supply Chain & Delivery",items:["Prepare A/B/C backup ports and carriers",'Explore "final assembly/testing" in key markets',"Build safety inventory with rolling forecasts",'Offer "batch delivery + rolling price lock" schemes'],color:"orange"},{icon:ij,title:"Data & Transparency",items:["Publish verifiable compliance whitepapers","Monitor tariffs, FX, port congestion, policy dynamics","Set up alerts and auto-update pricing","Use blockchain for c
297ontract and logistics records"],color:"pink"}],t=[{category:"Market Structure",items:["40% single market cap","Multi-region client mix","Compliant transshipment"]},{category:"Financial Risk",items:["Tri-currency support","FX hedging","Offshore banking"]},{category:"Contract Terms",items:["Force majeure clause","Tariff sharing clause","Alternative delivery routes"]},{category:"Compliance",items:["Sanctions screening","End-user due diligence","Document completeness"]},{category:"Logistics",items:["Backup carriers","Safety stock","Local assembly options"]}];return l.jsx("div",{className:"min-h-screen bg-gradient-to-br from-slate-950 via-blue-950 to-purple-950 py-16",children:l.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[l.jsxs(_e.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"text-center mb-16",children:[l.jsx("h1",{className:"text-5xl font-bold mb-6 bg-gradient-to-r from-orange-400 to-red-400 bg-clip-text text-transparent",children:"Foreign Trade Self-Protection Guide"}),l.jsx("p",{className:"text-xl text-slate-300 max-w-3xl mx-auto",children:"Practical strategies for Chinese exporters navigating global trade challenges"})]}),l.jsx(_e.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.1},children:l.jsx(re,{className:"mb-12 bg-yellow-500/10 border-yellow-500/30",children:l.jsxs(se,{className:"p-6 flex items-start gap-4",children:[l.jsx(ic,{className:"w-8 h-8 text-yellow-400 flex-shrink-0"}),l.jsxs("div",{children:[l.jsx("h3",{className:"text-xl font-bold text-yellow-400 mb-2",children:"Current Global Trade Environment"}),l.jsx("p",{className:"text-slate-300",children:'Increased protectionism and "de-risking" policies present challenges. Some nations are coordinating trade restrictions and supply chain restructuring. This guide helps maintain competitiveness and stability.'})]})]})})}),l.jsx("div",{className:"grid lg:grid-cols-2 gap-8 mb-12",children:e.map((r,i)=>l.jsx(_e.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.1*i},children:l.jsxs(re,{className:"h-full bg-white/5 backdrop-blur-sm border-white/10 hover:border-blue-400/50 transition-all",children:[l.jsx(ke,{children:l.jsxs(Te,{className:"text-xl text-white flex items-center gap-3",children:[l.jsx("div",{className:`p-3 rounded-xl bg-${r.color}-500/20`,children:l.jsx(r.icon,{className:`w-6 h-6 text-${r.color}-400`})}),r.title]})}),l.jsx(se,{children:l.jsx("ul",{className:"space-y-3",children:r.items.map((o,c)=>l.jsxs("li",{className:"flex items-start gap-3",children:[l.jsx(Qe,{className:"w-5 h-5 text-green-400 flex-shrink-0 mt-0.5"}),l.jsx("span",{className:"text-slate-300",children:o})]},c))})})]})},r.title))}),l.jsxs(_e.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.5},children:[l.jsx("h2",{className:"text-3xl font-bold text-white mb-8 text-center",children:"Quick Compliance Checklist"}),l.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-5 gap-6",children:t.map((r,i)=>l.jsxs(re,{className:"bg-white/5 backdrop-blur-sm border-white/10",children:[l.jsx(ke,{className:"pb-2",children:l.jsx(Te,{className:"text-lg text-blue-400",children:r.category})}),l.jsx(se,{children:l.jsx("ul",{className:"space-y-2",children:r.items.map((o,c)=>l.jsxs("li",{className:"flex items-center gap-2 text-sm text-slate-300",children:[l.jsx("div",{className:"w-4 h-4 border border-slate-600 rounded flex-shrink-0"}),o]},c))})})]},i))})]}),l.jsx(_e.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.6},className:"mt-16",children:l.jsx(re,{className:"bg-gradient-to-r from-blue-900/50 to-purple-900/50 border-blue-400/30",children:l.jsx(se,{className:"p-8",children:l.jsxs("div",{className:"flex flex-col md:flex-row items-center gap-8",children:[l.jsx("div",{className:"flex-shrink-0",children:l.jsx("div",{className:"w-24 h-24 bg-blue-500/20 rounded-2xl flex items-center justify-center",children:l.jsx(mn,{className:"w-12 h-12 text-blue-400"})})}),l.jsxs("div",{children:[l.jsx("h3",{className:"text-2xl font-bold text-white mb-4",children:"How eCNH Helps"}),l.jsxs("div",{className:"grid md:grid-cols-2 gap-4",children:[l.jsxs("div",{className:"flex items-start gap-3",children:[l.jsx(we,{className:"bg-green-500/20 text-green-400 border-green-500/30",children:"CNH Settlement"}),l.jsx("span",{className:"text-slate-300",children:"Reduce USD dependency with offshore RMB"})]}),l.jsxs("div",{className:"flex items-start gap-3",children:[l.jsx(we,{className:"bg-purple-500/20 text-purple-400 border-purple-500/30",children:"Low Fees"}),l.jsx("span",{className:"text-slate-300",children:"Solana-based fast, cheap transactions"})]}),l.jsxs("div",{className:"flex items-start gap-3",children:[l.jsx(we,{className:"bg-blue-500/20 text-blue-400 border-blue-500/30",children:"Transparency"}),l.jsx("span",{className:"text-slate-300",children:"On-chain proof of reserves and audit"})]}),l.jsxs("div",{className:"flex items-start gap-3",children:[l.jsx(we,{className:"bg-orange-500/20 text-orange-400 border-orange-500/30",children:"Global"}),l.jsx("span",{className:"text-slate-300",children:"Access to 20+ Web3 financial centers"})]})]})]})]})})})}),l.jsx(_e.div,{initial:{opacity:0,y:20}
297,animate:{opacity:1,y:0},transition:{delay:.7},className:"mt-12 text-center",children:l.jsxs("div",{className:"inline-block bg-white/5 border border-white/10 rounded-2xl p-8",children:[l.jsx("h3",{className:"text-xl font-bold text-white mb-4",children:"Core Self-Protection Principles"}),l.jsxs("div",{className:"flex flex-wrap justify-center gap-4",children:[l.jsx(we,{className:"bg-blue-500/20 text-blue-300 border-blue-500/30 px-4 py-2",children:"Market Diversification"}),l.jsx(we,{className:"bg-green-500/20 text-green-300 border-green-500/30 px-4 py-2",children:"Financial Hedging"}),l.jsx(we,{className:"bg-purple-500/20 text-purple-300 border-purple-500/30 px-4 py-2",children:"Compliance Transparency"}),l.jsx(we,{className:"bg-orange-500/20 text-orange-300 border-orange-500/30 px-4 py-2",children:"Supply Chain Resilience"})]})]})})]})})}function B_(){const[e,t]=k.useState("all"),r=[{rank:1,name:"Singapore",region:"asia",flag:"ð¸ð¬",rating:5,description:"Global Web3 hub with clear MAS regulations",regulations:["MPI License","DPT License","CMS License"],difficulty:"Medium",strategy:"CNH trade settlement for Southeast Asia"},{rank:2,name:"Hong Kong SAR",region:"asia",flag:"ðð°",rating:5,description:"Major CNH offshore center with VASP framework",regulations:["VASP License","Custody License"],difficulty:"Medium-High",strategy:"Offshore CNH stablecoin hub"},{rank:3,name:"UAE (Dubai/Abu Dhabi)",region:"middle-east",flag:"ð¦ðª",rating:4,description:"VARA/ADGM - Most open crypto regulators",regulations:["VARA VASP","ADGM FSRA","OTC License"],difficulty:"Low",
297strategy:"Middle East trade and RWA integration"},{rank:4,name:"Switzerland",region:"europe",flag:"ð¨ð",rating:5,description:"Ranked #1 in Global Web3 Index 2024",regulations:["FINMA VASP","Asset Management","Banking"],difficulty:"Medium",strategy:"European RWA market entry"},{rank:5,name:"Japan",region:"asia",flag:"ð¯ðµ",rating:4,description:"First country with crypto legislation",regulations:["Exchange License","E-Payment","Custody"],difficulty:"High",strategy:"Supply chain and Web3 gaming"},{rank:6,name:"South Korea",region:"asia",flag:"ð°ð·",rating:4,description:"Massive Web3 user base",regulations:["VASP","Custody","Exchange"],difficulty:"Medium",strategy:"Gaming payments and cross-border trade"},{rank:7,name:"EU (Germany/France/Ireland)",region:"europe",flag:"ðªðº",rating:4,description:"MiCA unified crypto regulation 2024",regulations:["CASP License","EMI License"],difficulty:"Medium",strategy:"EU trade system integration"},{rank:8,name:"United Kingdom",region:"europe",flag:"ð¬ð§",rating:4,description:"Global crypto hub strategy",regulations:["FCA Registration","EMI","Payment License"],difficulty:"Medium-High",strategy:"RWA and payment settlement"},{rank:9,name:"Turkey",region:"middle-east",flag:"ð¹ð·",rating:3,description:"Top crypto user population globally",regulations:["VASP","Exchange (Future)"],difficulty:"Low",
297strategy:"Trade settlement and cross-border payments"},{rank:10,name:"Kazakhstan",region:"central-asia",flag:"ð°ð¿",rating:4,description:"AIFC + Solana Economic Zone",regulations:["Digital Asset Exchange","Custody","Payment (AIFC)"],difficulty:"Low",strategy:"Central Asia trade hub and Solana integration"}],i=e==="all"?r:r.filter(c=>c.region===e),o=c=>{switch(c){case"Low":return"bg-green-500/20 text-green-400 border-green-500/30";case"Medium":return"bg-yellow-500/20 text-yellow-400 border-yellow-500/30";case"Medium-High":return"bg-orange-500/20 text-orange-400 border-orange-500/30";case"High":return"bg-red-500/20 text-red-400 border-red-500/30";default:return"bg-slate-500/20 text-slate-400 border-slate-500/30"}};return l.jsx("div",{className:"min-h-screen bg-gradient-to-br from-slate-950 via-blue-950 to-purple-950 py-16",children:l.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[l.jsxs(_e.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"text-center mb-16",children:[l.jsx("h1",{className:"text-5xl font-bold mb-6 bg-gradient-to-r from-blue-400 to-purple-400 bg-clip-text text-transparent",children:"Global Web3 Financial Centers"}),l.jsx("p",{className:"text-xl text-slate-300 max-w-3xl mx-auto",children:"Top jurisdictions supporting Web3 and crypto assets for eCNH deployment"})]}),l.jsx(Oc,{defaultValue:"all",className:"mb-12",children:l.jsx(Sa,{className:"flex flex-wrap justify-center gap-2 bg-transparent",children:["all","asia","middle-east","europe","central-asia"].map(c=>l.jsx(Rt,{value:c,onClick:()=>t(c),className:"data-[state=active]:bg-blue-600 data-[state=active]:text-white bg-white/10 text-slate-300 px-6 py-3 rounded-xl",children:c==="all"?"All Regions":c.split("-").map(u=>u.charAt(0).toUpperCase()+u.slice(1)).join(" ")},c))})}),l.jsx("div",{className:"grid lg:grid-cols-2 gap-8",children:i.map((c,u)=>l.jsx(_e.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:u*.1},children:l.jsxs(re,{className:"h-full bg-white/5 backdrop-blur-sm border-white/10 hover:border-blue-400/50 transition-all",children:[l.jsx(ke,{className:"pb-4",children:l.jsxs("div",{className:"flex items-start justify-between",children:[l.jsxs("div",{className:"flex items-center gap-4",children:[l.jsx("span",{className:"text-4xl",children:c.flag}),l.jsxs("div",{children:[l.jsxs(Te,{className:"text-2xl text-white flex items-center gap-2",children:["#",c.rank," ",c.name]}),l.jsxs("div",{className:"flex gap-1 mt-1",children:[[...Array(c.rating)].map((h,p)=>l.jsx(Ei,{className:"w-4 h-4 fill-yellow-400 text-yellow-400"},p)),[...Array(5-c.rating)].map((h,p)=>l.jsx(Ei,{className:"w-4 h-4 text-slate-600"},p))]})]})]}),l.jsx(we,{className:`${o(c.difficulty)} border`,children:c.difficulty})]})}),l.jsxs(se,{className:"space-y-4",children:[l.jsx("p",{className:"text-slate-300",children:c.description}),l.jsxs("div",{children:[l.jsxs("div",{className:"flex items-center gap-2 text-sm text-slate-400 mb-2",children:[l.jsx(nv,{className:"w-4 h-4"}),"License Types"]}),l.jsx("div",{className:"flex flex-wrap gap-2",children:c.regulations.map(h=>l.jsx(we,{variant:"outline",className:"bg-blue-500/10 text-blue-300 border-blue-500/30",children:h},h))})]}),l.jsxs("div",{className:"pt-4 border-t border-white/10",children:[l.jsxs("div",{className:"flex items-center gap-2 text-sm text-slate-400 mb-2",children:[l.jsx(Cs,{className:"w-4 h-4"}),"eCNH Strategy"]}),l.jsx("p",{className:"text-green-400",children:c.strategy})]})]})]})},c.name))})]})})}function V_(){const[e,t]=k.useState("vision"),r=[{id:"vision",icon:N0,title:"Vision & Mission"},{id:"tech",icon:dh,title:"Technology"},{id:"economics",icon:sr,title:"Economics"},{id:"regulation",icon:mn,title:"Regulation"},{id:"roadmap",icon:v0,title:"Roadmap"},{id:"usecases",icon:js,title:"Use Cases"},{id:"governance",icon:gn,title:"Governance"},{id:"risk",icon:ic,title:"Risk Disclosure"}];return l.jsx("div",{className:"min-h-screen bg-gradient-to-br from-slate-950 via-blue-950 to-purple-950 py-16",children:l.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[l.jsxs(_e.div,{initial:{opacity:0,y:20}
297,animate:{opacity:1,y:0},className:"text-center mb-12",children:[l.jsx("h1",{className:"text-5xl font-bold mb-6 bg-gradient-to-r from-blue-400 via-purple-400 to-pink-400 bg-clip-text text-transparent",children:"eCNH Whitepaper"}),l.jsx("p",{className:"text-2xl text-blue-200 mb-4",children:"Andromeda Stablecoin - Interstellar Civilization Protocol"}),l.jsxs("div",{className:"flex flex-wrap justify-center gap-4 mt-6",children:[l.jsx(we,{className:"bg-white/10 text-white border-white/30 px-4 py-2",children:"Version: v0.0001"}),l.jsx(we,{className:"bg-white/10 text-white border-white/30 px-4 py-2",children:"January 2025"})]})]}),l.jsxs(_e.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.1},className:"grid md:grid-cols-4 gap-6 mb-12",children:[l.jsx(re,{className:"bg-white/5 backdrop-blur-sm border-white/10",children:l.jsxs(se,{className:"p-6 text-center",children:[l.jsx("div",{className:"text-3xl font-bold text-blue-400 mb-2",children:"100T"}),l.jsx("div",{className:"text-slate-300",children:"Total Supply"})]})}),l.jsx(re,{className:"bg-white/5 backdrop-blur-sm border-white/10",children:l.jsxs(se,{className:"p-6 text-center",children:[l.jsx("div",{className:"text-3xl font-bold text-green-400 mb-2",children:"1:1"}),l.jsx("div",{className:"text-slate-300",children:"CNH Backing"})]})}),l.jsx(re,{className:"bg-white/5 backdrop-blur-sm border-white/10",children:l.jsxs(se,{className:"p-6 text-center",children:[l.jsx("div",{className:"text-3xl font-bold text-purple-400 mb-2",children:"Solana"}),l.jsx("div",{className:"text-slate-300",children:"Blockchain"})]})}),l.jsx(re,{className:"bg-white/5 backdrop-blur-sm border-white/10",children:l.jsxs(se,{className:"p-6 text-center",children:[l.jsx("div",{className:"text-3xl font-bold text-pink-400 mb-2",children:"SPL"}),l.jsx("div",{className:"text-slate-300",children:"Token Standard"})]})})]}),l.jsx("div",{className:"flex flex-wrap justify-center gap-2 mb-8",children:r.map(i=>l.jsxs(_t,{variant:e===i.id?"default":"outline",onClick:()=>t(i.id),className:e===i.id?"bg-blue-600 text-white":"border-white/20 text-slate-300 hover:bg-white/10",children:[l.jsx(i.icon,{className:"w-4 h-4 mr-2"}),i.title]},i.id))}),l.jsxs(_e.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.3},children:[e==="vision"&&l.jsxs(re,{className:"bg-white/5 backdrop-blur-sm border-white/10",children:[l.jsx(ke,{children:l.jsxs(Te,{className:"text-3xl text-white flex items-center gap-3",children:[l.jsx(N0,{className:"w-8 h-8 text-blue-400"}),"Vision & Mission"]})}),l.jsxs(se,{className:"space-y-6 text-slate-300",children:[l.jsx("div",{className:"bg-blue-500/10 border border-blue-500/30 rounded-xl p-6",children:l.jsx("p",{className:"text-2xl text-blue-300 italic text-center",children:'"Andromeda 1 eCNH â 1 eCNH â 1 CNH"'})}),l.jsx("p",{className:"text-lg leading-relaxed",children:"eCNH (Earth CNH / Exchange CNH) is the world's first offshore RMB (CNH) stablecoin based on the Solana blockchain, jointly initiated by the global Chinese community and Singapore ecosystem partners."}),l.jsx("h4",{className:"text-xl font-bold text-white mt-8 mb-4",children:"Core Mission"}),l.jsxs("ul",{className:"space-y-3",children:[l.jsxs("li",{className:"flex items-start gap-3",children:[l.jsx(we,{className:"bg-blue-500/20 text-blue-400 border-blue-500/30 flex-shrink-0",children:"Stability"}),l.jsx("span",{children:"Provide CNH-anchored stable digital currency for the global Chinese community"})]}),l.jsxs("li",{className:"flex items-start gap-3",children:[l.jsx(we,{className:"bg-green-500/20 text-green-400 border-green-500/30 flex-shrink-0",children:"Cross-border"}),l.jsx("span",{children:"Support cross-border payments in Singapore, Hong Kong, London, New York, UAE"})]}),l.jsxs("li",{className:"flex items-start gap-3",children:[l.jsx(we,{className:"bg-purple-500/20 text-purple-400 border-purple-500/30 flex-shrink-0",children:"Civilization"}),l.jsx("span",{children:"Connect trade, sci-fi, gaming, AI, energy ecosystems"})]}),l.jsxs("li",{className:"flex items-start gap-3",children:[l.jsx(we,{className:"bg-pink-500/20 text-pink-400 border-pink-500/30 flex-shrink-0",children:"Interstellar"}),l.jsx("span",{children:"Build universal value systems for carbon-based and silicon-based civilizations"})]})]})]})]}),e==="tech"&&l.jsxs(re,{className:"bg-white/5 backdrop-blur-sm border-white/10",children:[l.jsx(ke,{children:l.jsxs(Te,{className:"text-3xl text-white flex items-center gap-3",children:[l.jsx(dh,{className:"w-8 h-8 text-purple-400"}),"Technology Architecture"]})}),l.jsxs(se,{className:"space-y-6",children:[l.jsxs("div",{className:"grid md:grid-cols-2 gap-6",children:[l.jsxs("div",{className:"bg-white/5 rounded-xl p-6",children:[l.jsx("h4",{className:"text-xl font-bold text-white mb-4",children:"Smart Contract"}),l.jsxs("div",{className:"space-y-3 text-slate-300",children:[l.jsxs("p",{children:[l.jsx("strong",{children:"Contract:"})," 7GQnqthWKa5v2Gq...GKw5"]}),l.jsxs("p",{children:[l.jsx("strong",{children:"Blockchain:"})," Solana Mainnet"]}),l.jsxs("p",{children:[l.jsx("strong",{children:"Standard:"})," SPL Token"]})]})]}),l.jsxs("div",{className:"bg-white/5 rounded-xl p-6",children:[l.jsx("h4",{className:"text-xl font-bold text-white mb-4",children:"Performance"}),l.jsxs("div",{className:"space-y-3 text-slate-300",children:[l.jsxs("p",{children:[l.jsx("strong",{children:"Latency:"})," < 400ms"]}),l.jsxs("p",{children:[l.jsx("strong",{children:"TPS:"})," 65,000+"]}),l.jsxs("p",{children:[l.jsx("strong",{children:"Fee:"})," < $0.01"]})]})]})]}),l.jsx("h4",{className:"text-xl font-bold text-white mt-8 mb-4",children:"Core Modules"}),l.jsx("div",{className:"grid md:grid-cols-2 gap-4",children:[{name:"Mint/Burn Module",desc:"Automated supply management via smart contract"},{name:"Oracle Integration",desc:"Chainlink, Pyth for real-time CNH rates"},{name:"Liquidity Management",desc:"AMM mechanism on Orca, Raydium, Meteora"},{name:"Security Audit",desc:"CertiK, SlowMist contract audits"}].map((i,o)=>l.jsxs("div",{className:"bg-white/5 rounded-lg p-4",children:[l.jsx("h5",{className:"text-white font-medium mb-2",children:i.name}),l.jsx("p",{className:"text-slate-400 text-sm",children:i.desc})]},o))})]})]}),e==="economics"&&l.jsxs(re,{className:"bg-white/5 backdrop-blur-sm border-white/10",children:[l.jsx(ke,{children:l.jsxs(Te,{className:"text-3xl text-white flex items-center gap-3",children:[l.jsx(sr,{className:"w-8 h-8 text-green-400"}),"Economic Model"]})}),l.jsxs(se,{className:"space-y-6",children:[l.jsxs("div",{className:"grid md:grid-cols-3 gap-6",children:[l.jsxs("div",{className:"bg-white/5 rounded-xl p-6 text-center",children:[l.jsx("div",{className:"text-4xl font-bold text-green-400 mb-2",children:"100T"}),l.jsx("div",{className:"text-slate-300",children:"Maximum Supply"})]}),l.jsxs("div",{className:"bg-white/5 rounded-xl p-6 text-center",children:[l.jsx("div",{className:"text-4xl font-bold text-blue-400 mb-2",children:"100%"}),l.jsx("div",{className:"text-slate-300",children:"CNH Reserve Backing"})]}),l.jsxs("div",{className:"bg-white/5 rounded-xl p-6 text-center",children:[l.jsx("div",{className:"text-4xl font-bold text-purple-400 mb-2",children:"1:1"}),l.jsx("div",{className:"text-slate-300",children:"Anchor Ratio"})]})]}),l.jsx("h4",{className:"text-xl font-bold text-white mt-8 mb-4",children:"Stability Mechanisms"}),l.jsxs("div",{className:"space-y-4 text-slate-300",children:[l.jsxs("div",{className:"flex items-start gap-3",children:[l.jsx(we,{className:"bg-blue-500/20 text-blue-400 border-blue-500/30 flex-shrink-0",children:"Reserve"}),l.jsx("span",{children:"Every 1 eCNH minted requires equivalent CNH reserve deposit"})]}),l.jsxs("div",{className:"flex items-start gap-3",children:[l.jsx(we,{className:"bg-green-500/20 text-green-400 border-green-500/30 flex-shrink-0",children:"Arbitrage"}),l.jsx("span",{children:"Market-driven peg maintenance through mint/redeem opportunities"})]}),l.jsxs("div",{className:"flex items-start gap-3",children:[l.jsx(we,{className:"bg-purple-500/20 text-purple-400 border-purple-500/30 flex-shrink-0",children:"Incentives"}),l.jsx("span",{children:"LP rewards from trading fees and governance tokens"})]}),l.jsxs("div",{className:"flex items-start gap-3",children:[l.jsx(we,{className:"bg-pink-500/20 text-pink-400 border-pink-500/30 flex-shrink-0",children:"Multi-source"}),l.jsx("span",{children:"Google Finance, OpenExchangeRates rate calibration"})]})]})]})]}),e==="regulation"&&l.jsxs(re,{className:"bg-white/5 backdrop-blur-sm border-white/10",children:[l.jsx(ke,{children:l.jsxs(Te,{className:"text-3xl text-white flex items-center gap-3",children:[l.jsx(mn,{className:"w-8 h-8 text-orange-400"}),"Regulatory Framework"]})}),l.jsx(se,{children:l.jsx("div",{className:"space-y-6",children:[{region:"ð¦ðª UAE (VARA/ADGM)",license:"VASP, FSRA, OTC",difficulty:"Low"},{region:"ð¸ð¬ Singapore (MAS)",license:"DPT, MPI",difficulty:"Medium"},{region:"ðð° Hong Kong (SFC)",license:"VASP, Custody",difficulty:"Medium-High"},{region:"ð°ð¿ Kazakhstan (AIFC)",license:"Digital Asset, Solana Zone",difficulty:"Low"}
297,{region:"ðªðº EU (MiCA)",license:"CASP, EMI",difficulty:"Medium"},{region:"ð¬ð§ UK (FCA)",license:"Crypto Registration, EMI",difficulty:"Medium-High"},{region:"ðºð¸ USA",license:"MSB (Institutional only)",difficulty:"High"}].map((i,o)=>l.jsxs("div",{className:"flex items-center justify-between bg-white/5 rounded-xl p-4",children:[l.jsxs("div",{children:[l.jsx("div",{className:"text-white font-medium",children:i.region}),l.jsx("div",{className:"text-slate-400 text-sm",children:i.license})]}),l.jsx(we,{className:i.difficulty==="Low"?"bg-green-500/20 text-green-400 border-green-500/30":i.difficulty==="Medium"?"bg-yellow-500/20 text-yellow-400 border-yellow-500/30":i.difficulty==="Medium-High"?"bg-orange-500/20 text-orange-400 border-orange-500/30":"bg-red-500/20 text-red-400 border-red-500/30",children:i.difficulty})]},o))})})]}),e==="roadmap"&&l.jsxs(re,{className:"bg-white/5 backdrop-blur-sm border-white/10",children:[l.jsx(ke,{children:l.jsxs(Te,{className:"text-3xl text-white flex items-center gap-3",children:[l.jsx(v0,{className:"w-8 h-8 text-blue-400"}),"Roadmap"]})}),l.jsx(se,{children:l.jsx("div",{className:"space-y-8",children:[{phase:"Phase 1: Foundation",time:"2025 Q1-Q2",items:["Smart contract deployment & audit","Orca/Raydium liquidity pools","Global multilingual community","Block explorer & dashboard"],color:"blue"},{phase:"Phase 2: Expansion",time:"2025 Q3-Q4",items:["CEX listings","eCNH lending protocol","DAO governance launch","Cross-border payment partnerships","AI Agent payment SDK"],color:"green"},{phase:"Phase 3: Interstellar Vision",time:"2026+",items:["Interstellar trade simulation","Metaverse economy system","Carbon-Silicon civilization framework","Andromeda value anchoring","Universal interstellar currency"],color:"purple"}].map((i,o)=>l.jsxs("div",{className:"relative pl-8 border-l-2 border-white/20",children:[l.jsx("div",{className:`absolute -left-3 top-0 w-6 h-6 rounded-full bg-${i.color}-500 flex items-center justify-center`,children:l.jsx("div",{className:"w-3 h-3 bg-white rounded-full"})}),l.jsxs("div",{children:[l.jsxs("div",{className:"flex items-center gap-4 mb-3",children:[l.jsx("h4",{className:"text-xl font-bold text-white",children:i.phase}),l.jsx(we,{className:"bg-white/10 text-slate-300 border-white/20",children:i.time})]}),l.jsx("ul",{className:"space-y-2",children:i.items.map((c,u)=>l.jsxs("li",{className:"text-slate-300 flex items-center gap-2",children:[l.jsx("div",{className:"w-1.5 h-1.5 bg-slate-500 rounded-full"}),c]},u))})]})]},o))})})]}),e==="usecases"&&l.jsxs(re,{className:"bg-white/5 backdrop-blur-sm border-white/10",children:[l.jsx(ke,{children:l.jsxs(Te,{className:"text-3xl text-white flex items-center gap-3",children:[l.jsx(js,{className:"w-8 h-8 text-pink-400"}),"Use Cases"]})}),l.jsx(se,{children:l.jsx("div",{className:"grid md:grid-cols-2 gap-6",children:[{title:"Cross-border Payments",desc:"Settlement in Singapore, Hong Kong, London, NYC, UAE with reduced FX costs"},{title:"DeFi Lending",desc:"Provide liquidity and earn yields, or collateralize for other assets"},{title:"AI Agent Economy",desc:"Automated payments, on-chain identity credit, AI Agent DAO governance"},{title:"Interstellar Trade",desc:"Cross-planet resource exchange, computing power trading, energy settlement"},{title:"Gaming & Metaverse",desc:"Universal currency for sci-fi games and virtual world economies"},{title:"RWA Tokenization",desc:"CNH-denominated real world asset representation on-chain"}].map((i,o)=>l.jsxs("div",{className:"bg-white/5 rounded-xl p-6",children:[l.jsx("h4",{className:"text-xl font-bold text-white mb-3",children:i.title}),l.jsx("p",{className:"text-slate-300",children:i.desc})]},o))})})]}),e==="governance"&&l.jsxs(re,{className:"bg-white/5 backdrop-blur-sm border-white/10",children:[l.jsx(ke,{children:l.jsxs(Te,{className:"text-3xl text-white flex items-center gap-3",children:[l.jsx(gn,{className:"w-8 h-8 text-green-400"}),"Governance"]})}),l.jsxs(se,{className:"space-y-6",children:[l.jsx("p",{className:"text-slate-300 text-lg",children:"eCNH adopts a Decentralized Autonomous Organization (DAO) model where community members participate in governance decisions by holding eCNH."}),l.jsx("h4",{className:"text-xl font-bold text-white mt-8 mb-4",children:"Governance Scope"}),l.jsx("div",{className:"grid md:grid-cols-2 gap-4",children:["Exchange rate mechanism adjustments","New liquidity pool approvals","Reserve management strategies","Ecosystem development plans","Partner onboarding decisions"].map((i,o)=>l.jsxs("div",{className:"flex items-center gap-3 bg-white/5 rounded-lg p-4",children:[l.jsx("div",{className:"w-2 h-2 bg-green-400 rounded-full"}),l.jsx("span",{className:"text-slate-300",children:i})]},o))}),l.jsx("h4",{className:"text-xl font-bold text-white mt-8 mb-4",children:"Multilingual Support"}),l.jsx("div",{className:"flex flex-wrap gap-2",children:["Chinese","English","Spanish","French","Russian","Arabic","Japanese","Korean","Thai","Malay","Hindi","Indonesian","Vietnamese","Portuguese"].map(i=>l.jsx(we,{className:"bg-white/10 text-slate-300 border-white/20 px-3 py-1",children:i},i))})]})]}),e==="risk"&&l.jsxs(re,{className:"bg-red-500/5 backdrop-blur-sm border-red-500/30",children:[l.jsx(ke,{children:l.jsxs(Te,{className:"text-3xl text-white flex items-center gap-3",children:[l.jsx(ic,{className:"w-8 h-8 text-red-400"}),"Risk Disclosure"]})}),l.jsxs(se,{children:[l.jsx("div",{className:"space-y-4",children:[{type:"Market Risk",desc:"Digital currency markets are highly volatile. Please invest rationally."},{type:"Technical Risk",desc:"Smart contracts may have unknown vulnerabilities despite professional audits."},{type:"Regulatory Risk",desc:"National regulations may affect eCNH usage and circulation."},{type:"Liquidity Risk",desc:"Insufficient market liquidity may affect trade execution."},{type:"Peg Risk",desc:"Extreme market conditions may cause temporary peg deviation."}].map((i,o)=>l.jsxs("div",{className:"flex items-start gap-4 bg-white/5 rounded-xl p-4",children:[l.jsx(we,{className:"bg-red-500/20 text-red-400 border-red-500/30 flex-shrink-0",children:i.type}),l.jsx("span",{className:"text-slate-300",children:i.desc})]},o))}),l.jsx("div",{className:"mt-8 p-6 bg-white/5 rounded-xl text-center",children:l.jsx("p",{className:"text-slate-300",children:"Please participate in the eCNH ecosystem with full understanding of the risks. This project does not constitute investment advice."})})]})]})]},e),l.jsxs(_e.div,{initial:{opacity:0}
297,animate:{opacity:1},transition:{delay:.5},className:"mt-12 text-center",children:[l.jsx("p",{className:"text-slate-400 text-sm",children:"© 2025 eCNH Team ⢠Version v0.0001"}),l.jsx("p",{className:"text-slate-500 text-xs mt-2",children:"Foreign trade + Science fiction + Games + AI + Energy"})]})]})})}function U_(){const{language:e}=ja(),[t,r]=k.useState("overview"),i={en:{title:"eCNH Points System",subtitle:"Universal points across civilizations and galaxies",vision:"Blockchain-powered global incentive ecosystem",overviewTab:"Overview",globalMapTab:"Global Map",earnSpendTab:"Earn & Spend",identityTab:"Chain Identity",shoppingTab:"Shopping",pointsEcosystem:"Points Ecosystem",applicationFields:"Application Fields",earnPoints:"Earn Points",spendPoints:"Spend Points",globalRegions:"Global Regions",supportedCountries:"Supported Countries",merchantNetwork:"Merchant Network",crossChainIdentity:"Cross-Chain Identity System",getStarted:"Get Started"},zh:{title:"eCNH积åç³»ç»",subtitle:"è·¨æç³»åè·¨ææçéç¨è´ç©ç§¯å",vision:"åºåé¾é©±å¨çå
¨çæ¿å±çæç³»ç»",overviewTab:"æ¦è§",globalMapTab:"å
¨çå°å¾",earnSpendTab:"è·å䏿¶è",identityTab:"é¾ä¸èº«ä»½",shoppingTab:"è´ç©ç³»ç»",pointsEcosystem:"积åçæç³»ç»",applicationFields:"åºç¨é¢å",earnPoints:"è·å积å",spendPoints:"æ¶è积å",globalRegions:"å
¨çåºå",supportedCountries:"æ¯æçå½å®¶",merchantNetwork:"åæ·ç½ç»",crossChainIdentity:"è·¨é¾ç§¯å身份系ç»",getStarted:"ç«å³å¼å§"}}[e],o=e==="zh"?[{name:"ä¸åäº",icon:"ð",focus:"å
±äº«ç»æµãè·¨å¢æ¯ä»ãæè²æå",examples:"å
±äº«æ¿è½¦ãå
ä¼å¨è½ãè·¨å¢çµåã䏿å¦ä¹ å¹³å°",advantage:"人å£å¹´è½»ãæ°ååå¿«ï¼éå积å驱å¨çå
±äº«ä¸å¦ä¹ "},{name:"欧洲",icon:"ðªðº",focus:"ç¯ä¿ä¸å
¬çãæå交æµ",examples:"碳åæç§¯åãåå¾åç±»å¥å±ãè·¨æåèæ¥æ´»å¨",advantage:"强è°å¯æç»åå±ä¸ç¤¾ä¼è´£ä»»ï¼ç§¯åå¯ç»å®ESG"},{name:"ç¾æ´²",icon:"ð",focus:"æ¶è´¹å¿ è¯åº¦ãç¤¾åºæ²»ç",examples:"é¶å®ä¼åä½ç³»ã社åºåè¡ç§¯åãè·¨å¢ä¾¨æ°èµäº§ç®¡ç",advantage:"æ¶è´¹å¸åºå¤§ï¼ç§¯åä½ç³»æçï¼éåæ¿ä»£ä¼ ç»ç§¯å"},{name:"ä¸ä¸",icon:"ð",focus:"è½æºä¸éèãæåæ´»å¨",examples:"å
ä¼å¨è½ç§¯åãè·¨å¢éèæå¡ãèæ¥ç§¯åï¼å¦ææï¼",advantage:"éèä¸è½æºç»åç´§å¯ï¼æåæ´»å¨å¨ææ§å¼º"},{name:"éæ´²",icon:"ð",focus:"åºç¡è®¾æ½å
±äº«ãæè²ä¸å
¬ç",examples:"ç§¯åæ¢åå
±äº«çµåãæè²è¯¾ç¨ã社åºå¿æ¿æå¡",advantage:"èµæºç¨ç¼ºï¼ç§¯åå¯ä½ä¸ºç¤¾åºèµæºåé
å·¥å
·"}]:[{name:"Southeast Asia",icon:"ð",focus:"Sharing economy, cross-border payments, education & culture",examples:"Shared RVs, solar storage, cross-border e-commerce, Chinese learning",advantage:"Young population, fast digitalization, ideal for points-driven sharing"},{name:"Europe",icon:"ðªðº",focus:"Environmental & charity, cultural exchange",examples:"Carbon reduction points, waste sorting rewards, cultural festivals",advantage:"Emphasizes sustainability & social responsibility, ESG-aligned"},{name:"Americas",icon:"ð",focus:"Consumer loyalty, community governance",examples:"Retail membership, community good deeds, diaspora asset management",advantage:"Large consumer market, mature points systems"},{name:"Middle East",icon:"ð",focus:"Energy & finance, cultural activities",examples:"Solar storage points, cross-border finance, holiday points (Ramadan)",advantage:"Strong finance-energy nexus, cyclical cultural events"},{name:"Africa",icon:"ð",focus:"Infrastructure sharing, education & charity",examples:"Points for shared power, education courses, community service",advantage:"Resource-scarce, points as community allocation tool"}],c=e==="zh"?[{icon:gn,name:"è·¨å¢å人社åº",desc:"åè¡ç§¯åãæååä¸ç§¯å",value:"å¢å¼ºåèåï¼ä¼ æ¿æå"},{icon:g0,name:"æè²ä¸æåä¼ æ",desc:"å¦ä¹ 积åã课ç¨è§£é",value:"æ¿å±å¦ä¹ ï¼ç¥è¯ç»æµ"},{icon:si,name:"ä¼ä¸ä¼åä½ç³»",desc:"æ¶è´¹ç§¯åãç级积å",value:"æåå¿ è¯åº¦ï¼è·¨å¢éç¨"},{icon:oc,name:"å
±äº«ç»æµçæ",desc:"ä½¿ç¨æç§¯åãè½é积å",value:"èµæºè°é
ï¼å¾ªç¯ç»æµ"},{icon:Po,name:"å
¬çä¸å¯æç»åå±",desc:"ç¯ä¿ç§¯åãåè¡ç§¯å",value:"æ¨å¨ç»¿è²åå±"},{icon:w0,name:"æ
游ä¸è·¨å¢æå¡",desc:"åºè¡ç§¯åãæåä½éªç§¯å",value:"å
æ¢é¨ç¥¨ãä½å®¿"}
297,{icon:p0,name:"å»çä¸å¥åº·",desc:"å¥åº·ç§¯åãè¿å¨ç§¯å",value:"é¼å±å¥åº·çæ´»"},{icon:b0,name:"Web3ä¸é¾ä¸çæ",desc:"NFTåç« ãé¾ä¸å£°èªç§¯å",value:"ç¨ç¼ºæ§ä¸å£°èªä½ç³»"}]:[{icon:gn,name:"Cross-border Chinese Community",desc:"Good deeds, cultural participation",value:"Enhanced cohesion, heritage"},{icon:g0,name:"Education & Culture",desc:"Learning points, course unlocks",value:"Incentivize learning, knowledge economy"},{icon:si,name:"Enterprise Membership",desc:"Consumption points, tier points",value:"Loyalty boost, cross-border universal"},{icon:oc,name:"Sharing Economy",desc:"Usage rights, energy points",value:"Resource allocation, circular economy"},{icon:Po,name:"Charity & Sustainability",desc:"Environmental, good deeds points",value:"Green development"},{icon:w0,name:"Travel & Cross-border Services",desc:"Travel points, cultural experience",value:"Tickets, accommodation redemption"},{icon:p0,name:"Healthcare & Wellness",desc:"Health points, fitness points",value:"Encourage healthy living"},{icon:b0,name:"Web3 & On-chain",desc:"NFT badges, reputation points",value:"Scarcity & reputation system"}],u=e==="zh"?[{method:"è¡ä¸ºç§¯å",desc:"宿åè¡ãå¦ä¹ ä»»å¡ãæ¶è´¹è¡ä¸º",scenario:"è¡å3000ãæè²å¹³å°ãä¼ä¸ä¼å",points:"ç®åç´è§ï¼é¼å±æ¥å¸¸åä¸"},{method:"ç级积å",desc:"累积达å°éå¼å级ç级",scenario:"ç¤¾åºæ²»çãä¼ååå±",points:"åçç级ï¼é¿å
éè"},{method:"ä»»å¡ç§¯å",desc:"宿卿æ§ä»»å¡ï¼æ¯æ¥/æ¯å¨ï¼",scenario:"åè¡è¿½è¸ªãå¦ä¹ æå¡ãå
±äº«çæ",points:"任塿¸
ååï¼æç»åä¸"},{method:"å
æ¢ç§¯å",desc:"æ¶è´¹æè´¡ç®è·å¾ç§¯å",scenario:"å
±äº«æ¿è½¦ãå
ä¼å¨è½çæ",points:"ä¿æéç¯ï¼ç¡®ä¿ä»·å¼åºå£"},{method:"èæ¥ç§¯å",desc:"èæ¥æé´å䏿´»å¨æå
¬ç",scenario:"æ¥èãä¸ç§ã端åçæåæ´»å¨",points:"强åæå认åï¼æ
æä»·å¼"}]:[{method:"Behavioral Points",desc:"Complete good deeds, learning, consumption",scenario:"Good Deeds 3000, education, membership",points:"Simple, daily participation"},{method:"Tier Points",desc:"Level up upon reaching thresholds",scenario:"Community governance, membership tiers",points:"Reasonable tiers, anti-inflation"},{method:"Task Points",desc:"Complete periodic tasks (daily/weekly)",scenario:"Good deeds tracking, learning check-ins",points:"Task lists, sustained engagement"},{method:"Exchange Points",desc:"Earn through consumption or contribution",scenario:"Shared RVs, solar storage ecosystem",points:"Closed loop, value outlets"},{method:"Holiday Points",desc:"Participate in festivals or charity",scenario:"Spring Festival, Mid-Autumn, Dragon Boat",points:"Cultural identity, emotional value"}],h=e==="zh"?[{method:"å
æ¢ææ£ã礼åãæå¡",icon:oi,color:"text-pink-400"},{method:"è§£éæ´é«æçãä¸å±æå¡",icon:fi,color:"text-yellow-400"},{method:"å
æ¢å¥å±æè¿å
¥æ½å¥æ± ",icon:Ei,color:"text-purple-400"},{method:"å
æ¢ååãæå¡ãè·¨å¹³å°æç",icon:si,color:"text-blue-400"},{method:"èæ¥ä¸å±å¥å±ãæå纪念å",icon:Po,color:"text-red-400"},{method:"NFTå¾½ç« ãé¾ä¸å£°èªç³»ç»",icon:Ti,color:"text-green-400"}]:[{method:"Discounts, gifts, services",icon:oi,color:"text-pink-400"},{method:"Unlock premium benefits, exclusive services",icon:fi,color:"text-yellow-400"},{method:"Rewards or lottery entries",icon:Ei,color:"text-purple-400"},{method:"Products, services, cross-platform benefits",icon:si,color:"text-blue-400"}
297,{method:"Festival rewards, cultural souvenirs",icon:Po,color:"text-red-400"},{method:"NFT badges, on-chain reputation",icon:Ti,color:"text-green-400"}],p=[{name:e==="zh"?"ä¸å½":"China",flag:"ð¨ð³"},{name:e==="zh"?"ä¸å½é¦æ¸¯":"Hong Kong",flag:"ðð°"},{name:e==="zh"?"ä¸å½å°æ¹¾":"Taiwan",flag:"ð¹ð¼"},{name:e==="zh"?"æ°å å¡":"Singapore",flag:"ð¸ð¬"},{name:e==="zh"?"马æ¥è¥¿äº":"Malaysia",flag:"ð²ð¾"},{name:e==="zh"?"æ³°å½":"Thailand",flag:"ð¹ð"},{name:e==="zh"?"å°åº¦å°¼è¥¿äº":"Indonesia",flag:"ð®ð©"},{name:e==="zh"?"è¶å":"Vietnam",flag:"ð»ð³"},{name:e==="zh"?"è²å¾å®¾":"Philippines",flag:"ðµð"},{name:e==="zh"?"æ¥æ¬":"Japan",flag:"ð¯ðµ"},{name:e==="zh"?"é©å½":"South Korea",flag:"ð°ð·"},{name:e==="zh"?"澳大å©äº":"Australia",flag:"ð¦ðº"},{name:e==="zh"?"æ°è¥¿å
°":"New Zealand",flag:"ð³ð¿"},{name:e==="zh"?"ç¾å½":"United States",flag:"ðºð¸"},{name:e==="zh"?"å æ¿å¤§":"Canada",flag:"ð¨ð¦"},{name:e==="zh"?"è±å½":"United Kingdom",flag:"ð¬ð§"},{name:e==="zh"?"æ³å½":"France",flag:"ð«ð·"},{name:e==="zh"?"å¾·å½":"Germany",flag:"ð©ðª"},{name:e==="zh"?"æå¤§å©":"Italy",flag:"ð®ð¹"},{name:e==="zh"?"西çç":"Spain",flag:"ðªð¸"}],m=e==="zh"?[{layer:"身份å±",function:"ç¨æ·é¾ä¸èº«ä»½ï¼é±å
å°åãDIDï¼ç»å®",example:"DID + 积åè´¦æ·",color:"from-blue-500/20 to-cyan-500/20 border-blue-500/30"},{layer:"积åå±",function:"ç§¯åæ²æ·ä¸ºé¾ä¸å£°èªå¼",example:"åè¡ç§¯å â 声èªå",color:"from-purple-500/20 to-pink-500/20 border-purple-500/30"},{layer:"åºç¨å±",function:"积å转å为é¾ä¸å¾½ç« ãè·¨é¾äºé",example:"æ¥èå
¬ç â NFTåç« ",color:"from-orange-500/20 to-red-500/20 border-orange-500/30"}]:[{layer:"Identity Layer",function:"User on-chain identity (wallet, DID) binding",example:"DID + Points Account",color:"from-blue-500/20 to-cyan-500/20 border-blue-500/30"},{layer:"Points Layer",function:"Points accumulate as on-chain reputation",example:"Good deeds points â Reputation score",color:"from-purple-500/20 to-pink-500/20 border-purple-500/30"},{layer:"Application Layer",function:"Points convert to badges, cross-chain compatibility",example:"Spring Festival charity â NFT badge",color:"from-orange-500/20 to-red-500/20 border-orange-500/30"}];return l.jsx("div",{className:"min-h-screen bg-gradient-to-br from-slate-950 via-purple-950 to-blue-950 py-16",children:l.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[l.jsxs(_e.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"text-center mb-16",children:[l.jsxs("div",{className:"mb-6",children:[l.jsx("span",{className:"text-6xl mb-4 block",children:"ðª"}),l.jsx("h1",{className:"text-5xl font-bold mb-6 bg-gradient-to-r from-blue-400 via-purple-400 to-pink-400 bg-clip-text text-transparent",children:i.title})]}),l.jsx("p",{className:"text-2xl text-purple-200 mb-4 italic",children:i.subtitle}),l.jsx(we,{className:"bg-blue-500/20 text-blue-300 border-blue-500/30 text-lg px-6 py-2",children:i.vision})]}),l.jsxs(Oc,{value:t,onValueChange:r,className:"mb-12",children:[l.jsxs(Sa,{className:"grid w-full grid-cols-2 lg:grid-cols-5 bg-white/5 border border-white/10",children:[l.jsx(Rt,{value:"overview",children:i.overviewTab}),l.jsx(Rt,{value:"global",children:i.globalMapTab}),l.jsx(Rt,{value:"earnspend",children:i.earnSpendTab}),l.jsx(Rt,{value:"identity",children:i.identityTab}),l.jsx(Rt,{value:"shopping",children:i.shoppingTab})]}),l.jsxs(It,{value:"overview",className:"space-y-6",children:[l.jsxs(re,{className:"bg-white/5 backdrop-blur-sm border-white/10",children:[l.jsx(ke,{children:l.jsxs(Te,{className:"text-white flex items-center gap-3",children:[l.jsx(sr,{className:"w-6 h-6 text-yellow-400"}),i.applicationFields]})}),l.jsx(se,{children:l.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-6",children:c.map((y,x)=>l.jsxs(_e.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:x*.1},className:"bg-white/5 rounded-xl p-6 border border-white/10 hover:border-purple-400/50 transition-all",children:[l.jsx(y.icon,{className:"w-8 h-8 text-purple-400 mb-3"}),l.jsx("h4",{className:"text-white font-bold mb-2",children:y.name}),l.jsx("p",{className:"text-slate-400 text-sm mb-2",children:y.desc}),l.jsx("p",{className:"text-purple-300 text-xs",children:y.value})]},x))})})]}),l.jsxs("div",{className:"grid md:grid-cols-3 gap-6",children:[l.jsx(re,{className:"bg-gradient-to-br from-green-500/10 to-blue-500/10 border-green-500/30",children:l.jsxs(se,{className:"p-6 text-center",children:[l.jsx(Qe,{className:"w-12 h-12 text-green-400 mx-auto mb-4"}),l.jsx("h4",{className:"text-white font-bold mb-2",children:e==="zh"?"åè§æ§":"Compliance"}),l.jsx("p",{className:"text-slate-300 text-sm",children:e==="zh"?"ä¸¥æ ¼éå®å¨æµ·å¤ç¤¾åºä¸åè§åºæ¯":"Strictly for overseas communities & c
297ompliant scenarios"})]})}),l.jsx(re,{className:"bg-gradient-to-br from-purple-500/10 to-pink-500/10 border-purple-500/30",children:l.jsxs(se,{className:"p-6 text-center",children:[l.jsx(cs,{className:"w-12 h-12 text-purple-400 mx-auto mb-4"}),l.jsx("h4",{className:"text-white font-bold mb-2",children:e==="zh"?"éç¯æ§":"Closed Loop"}),l.jsx("p",{className:"text-slate-300 text-sm",children:e==="zh"?"宿´çè·å䏿¶èè·¯å¾":"Complete earn & spend pathways"})]})}),l.jsx(re,{className:"bg-gradient-to-br from-orange-500/10 to-red-500/10 border-orange-500/30",children:l.jsxs(se,{className:"p-6 text-center",children:[l.jsx(Po,{className:"w-12 h-12 text-orange-400 mx-auto mb-4"}),l.jsx("h4",{className:"text-white font-bold mb-2",children:e==="zh"?"æåç»å®":"Cultural Binding"}),l.jsx("p",{className:"text-slate-300 text-sm",children:e==="zh"?"ç»åèæ¥ãåè¡ãå¦ä¹ çæåå
ç´ ":"Integrated with festivals, good deeds, learning"})]})})]})]}),l.jsx(It,{value:"global",className:"space-y-6",children:l.jsxs(re,{className:"bg-white/5 backdrop-blur-sm border-white/10",children:[l.jsx(ke,{children:l.jsxs(Te,{className:"text-white flex items-center gap-3",children:[l.jsx(en,{className:"w-6 h-6 text-blue-400"}),i.globalRegions]})}),l.jsx(se,{children:l.jsx("div",{className:"space-y-6",children:o.map((y,x)=>l.jsx("div",{className:"bg-white/5 rounded-xl p-6 border border-white/10",children:l.jsxs("div",{className:"flex items-start gap-4",children:[l.jsx("span",{className:"text-4xl",children:y.icon}),l.jsxs("div",{className:"flex-1",children:[l.jsx("h4",{className:"text-white font-bold text-xl mb-2",children:y.name}),l.jsxs("div",{className:"grid md:grid-cols-3 gap-4 mb-3",children:[l.jsxs("div",{children:[l.jsx("div",{className:"text-slate-400 text-sm mb-1",children:e==="zh"?"éç¹æ¹å":"Focus"}),l.jsx("div",{className:"text-purple-300",children:y.focus})]}),l.jsxs("div",{children:[l.jsx("div",{className:"text-slate-400 text-sm mb-1",children:e==="zh"?"示ä¾åºæ¯":"Examples"}),l.jsx("div",{className:"text-blue-300 text-sm",children:y.examples})]}),l.jsxs("div",{children:[l.jsx("div",{className:"text-slate-400 text-sm mb-1",children:e==="zh"?"ç¹ç¹ä¼å¿":"Advantages"}),l.jsx("div",{className:"text-green-300 text-sm",children:y.advantage})]})]})]})]})},x))})})]})}),l.jsxs(It,{value:"earnspend",className:"space-y-6",children:[l.jsxs(re,{className:"bg-white/5 backdrop-blur-sm border-white/10",children:[l.jsx(ke,{children:l.jsxs(Te,{className:"text-white flex items-center gap-3",children:[l.jsx(Cs,{className:"w-6 h-6 text-green-400"}),i.earnPoints]})}),l.jsx(se,{children:l.jsxs(Lc,{children:[l.jsx(Dc,{children:l.jsxs(Es,{className:"border-white/10",children:[l.jsx(qt,{className:"text-slate-300",children:e==="zh"?"æ¹æ³":"Method"}),l.jsx(qt,{className:"text-slate-300",children:e==="zh"?"说æ":"Description"}),l.jsx(qt,{className:"text-slate-300",children:e==="zh"?"åºç¨åºæ¯":"Scenarios"}),l.jsx(qt,{className:"text-slate-300",children:e==="zh"?"设计è¦ç¹":"Key Points"})]})}),l.jsx(Ic,{children:u.map((y,x)=>l.jsxs(Es,{className:"border-white/10",children:[l.jsx(Kt,{className:"text-white font-medium",children:y.method}),l.jsx(Kt,{className:"text-slate-300 text-sm",children:y.desc}),l.jsx(Kt,{className:"text-blue-300 text-sm",children:y.scenario}),l.jsx(Kt,{className:"text-green-300 text-sm",children:y.points})]},x))})]})})]}),l.jsxs(re,{className:"bg-white/5 backdrop-blur-sm border-white/10",children:[l.jsx(ke,{children:l.jsxs(Te,{className:"text-white flex items-center gap-3",children:[l.jsx(oi,{className:"w-6 h-6 text-pink-400"}),i.spendPoints]})}),l.jsx(se,{children:l.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-4",children:h.map((y,x)=>l.jsxs("div",{className:"bg-white/5 rounded-xl p-4 flex items-center gap-3 border border-white/10",children:[l.jsx(y.icon,{className:`w-8 h-8 ${y.color}`}),l.jsx("span",{className:"text-slate-300 text-sm",children:y.method})]},x))})})]}),l.jsxs(re,{className:"bg-gradient-to-r from-blue-500/10 to-purple-500/10 border-blue-500/30",children:[l.jsx(ke,{children:l.jsx(Te,{className:"text-white",children:e==="zh"?"积åéç¯æµç¨":"Points Loop Flow"})}),l.jsx(se,{children:l.jsxs("div",{className:"flex flex-col md:flex-row items-center justify-between gap-4",children:[l.jsxs("div",{className:"text-center",children:[l.jsx("div",{className:"w-16 h-16 rounded-full bg-blue-500 flex items-center justify-center text-white font-bold text-xl mx-auto mb-2",children:"1"}),l.jsx("div",{className:"text-white font-medium",children:e==="zh"?"ç¨æ·è¡ä¸º":"User Actions"}),l.jsx("div",{className:"text-slate-400 text-xs",children:e==="zh"?"ä»»å¡/èæ¥åä¸":"Tasks/Events"})]}),l.jsx(cs,{className:"w-6 h-6 text-purple-400 rotate-0 md:rotate-0"}),l.jsxs("div",{className:"text-center",children:[l.jsx("div",{className:"w-16 h-16 rounded-full bg-purple-500 flex items-center justify-center text-white font-bold text-xl mx-auto mb-2",children:"2"}),l.jsx("div",{className:"text-white font-medium",children:e==="zh"?"积å累积":"Points Accumulation"}),l.jsx("div",{className:"text-slate-400 text-xs",children:e==="zh"?"è´¦æ·è®°å½":"Account Record"})]}),l.jsx(cs,{className:"w-6 h-6 text-purple-400 rotate-0 md:rotate-0"}),l.jsxs("div",{className:"text-center",children:[l.jsx("div",{className:"w-16 h-16 rounded-full bg-pink-500 flex items-center justify-center text-white font-bold text-xl mx-auto mb-2",children:"3"}),l.jsx("div",{className:"text-white font-medium",children:e==="zh"?"ç§¯åæ¶è":"Points Spending"}),l.jsx("div",{className:"text-slate-400 text-xs",children:e==="zh"?"å
æ¢/å级":"Redeem/Upgrade"})]}),l.jsx(cs,{className:"w-6 h-6 text-purple-400 rotate-0 md:rotate-0"}),l.jsxs("div",{className:"text-center",children:[l.jsx("div",{className:"w-16 h-16 rounded-full bg-orange-500 flex items-center justify-center text-white font-bold text-xl mx-auto mb-2",children:"4"}),l.jsx("div",{className:"text-white font-medium",children:e==="zh"?"ç¨æ·åé¦":"User Feedback"}),l.jsx("div",{className:"text-slate-400 text-xs",children:e==="zh"?"忬¡åä¸":"Re-engage"})]})]})})]})]}),l.jsxs(It,{value:"identity",className:"space-y-6",children:[l.jsxs(re,{className:"bg-white/5 backdrop-blur-sm border-white/10",children:[l.jsx(ke,{children:l.jsxs(Te,{className:"text-white flex items-center gap-3",children:[l.jsx(mn,{className:"w-6 h-6 text-cyan-400"}),i.crossChainIdentity]})}),l.jsx(se,{children:l.jsx("div",{className:"space-y-6",children:m.map((y,x)=>l.jsxs("div",{className:`bg-gradient-to-r ${y.color} rounded-xl p-6`,children:[l.jsxs("div",{className:"flex items-center justify-between mb-4",children:[l.jsx("h4",{className:"text-white font-bold text-xl",children:y.layer}),l.jsx(we,{className:"bg-white/20 text-white border-white/30",children:e==="zh"?`第${x+1}å±`:`Layer ${x+1}`})]}),l.jsxs("div",{className:"grid md:grid-cols-2 gap-4",children:[l.jsxs("div",{children:[l.jsx("div",{className:"text-slate-300 text-sm mb-1",children:e==="zh"?"åè½":"Function"}),l.jsx("div",{className:"text-white",children:y.function})]}),l.jsxs("div",{children:[l.jsx("div",{className:"text-slate-300 text-sm mb-1",children:e==="zh"?"示ä¾":"Example"}),l.jsx("div",{className:"text-cyan-300",children:y.example})]})]})]},x))})})]}),l.jsxs(re,{className:"bg-white/5 backdrop-blur-sm border-white/10",children:[l.jsx(ke,{children:l.jsx(Te,{className:"text-white",children:e==="zh"?"æ ¸å¿åè½æ¨¡å":"Core Function Modules"})}),l.jsx(se,{children:l.jsxs("div",{className:"grid md:grid-cols-2 gap-4",children:[l.jsxs("div",{className:"bg-white/5 rounded-xl p-4 border border-cyan-500/30",children:[l.jsx("h5",{className:"text-white font-medium mb-2",children:e==="zh"?"é¾ä¸ç»å®"
297:"On-chain Binding"}),l.jsx("p",{className:"text-slate-300 text-sm",children:e==="zh"?"积åä¸ç¨æ·é¾ä¸èº«ä»½ï¼é±å
å°åãDIDï¼ç»å®":"Points bound to user on-chain identity (wallet, DID)"})]}),l.jsxs("div",{className:"bg-white/5 rounded-xl p-4 border border-purple-500/30",children:[l.jsx("h5",{className:"text-white font-medium mb-2",children:e==="zh"?"声èªç´¯ç§¯":"Reputation Accumulation"}),l.jsx("p",{className:"text-slate-300 text-sm",children:e==="zh"?"积åä¸ä»
æ¯å¥å±ï¼è¿è½å½¢æé¾ä¸å£°èªå¼":"Points not just rewards, but on-chain reputation"})]}),l.jsxs("div",{className:"bg-white/5 rounded-xl p-4 border border-pink-500/30",children:[l.jsx("h5",{className:"text-white font-medium mb-2",children:e==="zh"?"æåæ ç¾":"Cultural Tags"}),l.jsx("p",{className:"text-slate-300 text-sm",children:e==="zh"?"积åå¯è½¬å为NFTåç« ï¼ä»£è¡¨åè¡ãå¦ä¹ ãèæ¥åä¸ç":"Points convert to NFT badges representing good deeds, learning, festivals"})]}),l.jsxs("div",{className:"bg-white/5 rounded-xl p-4 border border-orange-500/30",children:[l.jsx("h5",{className:"text-white font-medium mb-2",children:e==="zh"?"跨平å°äºé":"Cross-platform Interoperability"}),l.jsx("p",{className:"text-slate-300 text-sm",children:e==="zh"?"ä¸å社åºãå¹³å°é´ç§¯åå¯äºè®¤ï¼å½¢æå
¨çå身份ä½ç³»":"Points recognized across communities, forming global identity"})]})]})})]})]}),l.jsxs(It,{value:"shopping",className:"space-y-6",children:[l.jsxs(re,{className:"bg-white/5 backdrop-blur-sm border-white/10",children:[l.jsx(ke,{children:l.jsxs(Te,{className:"text-white flex items-center gap-3",children:[l.jsx(si,{className:"w-6 h-6 text-green-400"}),e==="zh"?"eCNHè´ç©ç§¯åç³»ç»":"eCNH Shopping Points System"]})}),l.jsx(se,{children:l.jsxs("div",{className:"grid md:grid-cols-2 gap-6",children:[l.jsxs("div",{className:"bg-gradient-to-br from-green-500/10 to-blue-500/10 border border-green-500/30 rounded-xl p-6",children:[l.jsx(si,{className:"w-10 h-10 text-green-400 mb-3"}),l.jsx("h4",{className:"text-white font-bold mb-2",children:e==="zh"?"è·¨å¢çµåè´ç©":"Cross-border E-commerce"}),l.jsx("p",{className:"text-slate-300 text-sm",children:e==="zh"?"å¨åä¸eCNH计åçå
¨ççµåå¹³å°è´ç©ï¼ä½¿ç¨eCNHæ¯ä»å¹¶è·å¾é¢å¤ç§¯åå¥å±":"Shop on global e-commerce platforms, pay with eCNH and earn bonus points"})]}),l.jsxs("div",{className:"bg-gradient-to-br from-purple-500/10 to-pink-500/10 border border-purple-500/30 rounded-xl p-6",children:[l.jsx(oi,{className:"w-10 h-10 text-purple-400 mb-3"}),l.jsx("h4",{className:"text-white font-bold mb-2",children:e==="zh"?"积åå
æ¢åå":"Redeem with Points"}),l.jsx("p",{className:"text-slate-300 text-sm",children:e==="zh"?"å°ç´¯ç§¯çeCNH积åå
æ¢ä¸ºç²¾éååãæå¡ææ°åèµäº§":"Redeem accumulated eCNH points for curated products, services, or digital assets"})]}),l.jsxs("div",{className:"bg-gradient-to-br from-orange-500/10 to-red-500/10 border border-orange-500/30 rounded-xl p-6",children:[l.jsx(gn,{className:"w-10 h-10 text-orange-400 mb-3"}),l.jsx("h4",{className:"text-white font-bold mb-2",children:e==="zh"?"å
¨çåå®¶èç":"Global Merchant Alliance"}),l.jsx("p",{className:"text-slate-300 text-sm",children:e==="zh"?"å¨å
¨çè¶
è¿10,000å®¶åä½åæ·ä½¿ç¨eCNHæ¯ä»ï¼äº«åä¸å±ææ£å伿 ":"Use eCNH at over 10,000 partner merchants globally, enjoy exclusive discounts"})]}),l.jsxs("div",{className:"bg-gradient-to-br from-blue-500/10 to-cyan-500/10 border border-blue-500/30 rounded-xl p-6",children:[l.jsx(cs,{className:"w-10 h-10 text-blue-400 mb-3"}),l.jsx("h4",{className:"text-white font-bold mb-2",children:e==="zh"?"è·¨é¾æ¯ä»è§£å³æ¹æ¡":"Cross-chain Payment Solution"}),l.jsx("p",{className:"text-slate-300 text-sm",children:e==="zh"?"éè¿SOLé¾å®ç°ä¸å
¶ä»åºåé¾ç½ç»çæ ç¼å¯¹æ¥ï¼æ¯æå¤å¸ç§è½¬æ¢":"Seamless integration with other blockchains via Solana, multi-currency support"})]})]})})]}),l.jsxs(re,{className:"bg-white/5 backdrop-blur-sm border-white/10",children:[l.jsx(ke,{children:l.jsxs(Te,{className:"text-white flex items-center gap-3",children:[l.jsx(en,{className:"w-6 h-6 text-blue-400"}),i.supportedCountries]})}),l.jsx(se,{children:l.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 lg:grid-cols-5 ga
297p-4",children:p.map((y,x)=>l.jsxs("div",{className:"bg-white/5 rounded-lg p-3 text-center border border-white/10 hover:border-blue-400/50 transition-all",children:[l.jsx("div",{className:"text-3xl mb-2",children:y.flag}),l.jsx("div",{className:"text-white text-sm",children:y.name})]},x))})})]}),l.jsx(re,{className:"bg-gradient-to-r from-green-500/20 to-blue-500/20 border-green-500/30",children:l.jsxs(se,{className:"p-8 text-center",children:[l.jsx(fi,{className:"w-16 h-16 text-green-400 mx-auto mb-4"}),l.jsx("h3",{className:"text-2xl font-bold text-white mb-2",children:e==="zh"?"10,000+ å
¨çåæ·":"10,000+ Global Merchants"}),l.jsx("p",{className:"text-slate-300",children:e==="zh"?"å å
¥eCNHçæç³»ç»ï¼äº«åè·¨æç³»è´ç©ç§¯åä½éª":"Join the eCNH ecosystem, enjoy cross-galaxy shopping points experience"})]})})]})]}),l.jsx(re,{className:"bg-gradient-to-r from-purple-500/20 to-pink-500/20 border-purple-500/30",children:l.jsxs(se,{className:"p-8 text-center",children:[l.jsx("h3",{className:"text-3xl font-bold text-white mb-4",children:e==="zh"?"åå¤å¥½å å
¥eCNH积åçæäºåï¼":"Ready to Join eCNH Points Ecosystem?"}),l.jsx("p",{className:"text-slate-300 mb-6 text-lg",children:e==="zh"?"è·¨æç³»ãè·¨ææçéç¨ç§¯åç³»ç»ï¼è®©æ¯ä¸æ¬¡è¡å¨é½æä»·å¼ï¼":"Universal points system across galaxies and civilizations, every action counts!"}),l.jsx(_t,{size:"lg",className:"bg-gradient-to-r from-purple-500 to-pink-500 hover:from-purple-600 hover:to-pink-600 text-white px-8 py-6 text-lg",children:i.getStarted})]})})]})})}function z_(){return l.jsx("footer",{className:"bg-black/50 border-t border-white/10 py-12",children:l.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[l.jsxs("div",{className:"grid md:grid-cols-2 lg:grid-cols-5 gap-8 mb-12",children:[l.jsxs("div",{children:[l.jsx("h3",{className:"text-white font-bold text-lg mb-4",children:"eCNH"}),l.jsx("p",{className:"text-slate-400 text-sm leading-relaxed",children:"Distributed Stablecoin for global civilization. Earth & Global Humanity Builds and Shares eCNH Together."})]}),l.jsxs("div",{children:[l.jsx("h3",{className:"text-white font-bold text-lg mb-4",children:"Resources"}),l.jsxs("ul",{className:"space-y-2",children:[l.jsx("li",{children:l.jsxs("a",{href:"https://solscan.io/token/7GQnqthWKa5v2GqXYWhmgWZY5mCRrniwK3Xuinm9GKw5",target:"_blank",rel:"noopener noreferrer",className:"text-slate-400 hover:text-blue-400 text-sm flex items-center gap-2",children:["Solscan ",l.jsx(Ze,{className:"w-3 h-3"})]})}),l.jsx("li",{children:l.jsxs("a",{href:"https://github.com/eCNH-group/eCNH",target:"_blank",rel:"noopener noreferrer",className:"text-slate-400 hover:text-blue-400 text-sm flex items-center gap-2",children:["GitHub ",l.jsx(Ze,{className:"w-3 h-3"})]})}),l.jsx("li",{children:l.jsxs("a",{href:"https://linktr.ee/ecnh_group",target:"_blank",rel:"noopener noreferrer",className:"text-slate-400 hover:text-blue-400 text-sm flex items-center gap-2",children:["Linktree ",l.jsx(Ze,{className:"w-3 h-3"})]})})]})]}),l.jsxs("div",{children:[l.jsx("h3",{className:"text-white font-bold text-lg mb-4",children:"Ecosystem"}),l.jsxs("ul",{className:"space-y-2",children:[l.jsx("li",{children:l.jsx("a",{href:"/Points",className:"text-slate-400 hover:text-purple-400 text-sm flex items-center gap-2",children:"ðª Points System"})}),l.jsx("li",{children:l.jsx("a",{href:"/Rewards",className:"text-slate-400 hover:text-orange-400 text-sm flex items-center gap-2",children:"ð Character Rewards"})}),l.jsx("li",{children:l.jsx("a",{href:"/EarnCrypto",className:"text-slate-400 hover:text-green-400 text-sm flex items-center gap-2",children:"ð° Earn Crypto"})})]})]}),l.jsxs("div",{children:[l.jsx("h3",{className:"text-white font-bold text-lg mb-4",children:"Trading"}),l.jsxs("ul",{className:"space-y-2",children:[l.jsx("li",{children:l.jsxs("a",{href:"https://www.orca.so/pools/BHf1yCvj6qh2E1y2JLrjesP7RRC8XjBN3FyHeq45LnBZ",target:"_blank",rel:"noopener noreferrer",className:"text-slate-400 hover:text-blue-400 text-sm flex items-center gap-2",children:["eCNH-USDC Pool ",l.jsx(Ze,{className:"w-3 h-3"})]})}),l.jsx("li",{children:l.jsxs("a",{href:"https://www.orca.so/pools/4RdJnPy3nb821SqZdJZmvD4aixCVsjzcbhiLL32iTuRS",target:"_blank",rel:"noopener noreferrer",className:"text-slate-400 hover:text-blue-400 text-sm flex items-center gap-2",children:["eCNH-PYUSD Pool ",l.jsx(Ze,{className:"w-3 h-3"})]})}),l.jsx("li",{children:l.jsxs("a",{href:"https://www.orca.so/pools/EeECjxqjUALgDEoT6SW2ebN2RTFvN7ci8S8CMaPrLZHw",target:"_blank",rel:"noopener noreferrer",className:"text-slate-400 hover:text-blue-400 text-sm flex items-center gap-2",children:["EACO Swap ",l.jsx(Ze,{className:"w-3 h-3"})]})})]})]}),l.jsxs("div",{children:[l.jsx("h3",{className:"text-white font-bold text-lg mb-4",children:"Community"}),l.jsxs("ul",{className:"space-y-2",children:[l.jsx("li",{children:l.jsxs("a",{href:"https://t.me/e_eacocc",target:"_blank",rel:"noopener noreferrer",className:"text-slate-400 hover:text-blue-400 text-sm flex items-center gap-2",children:["ðºð¸ English ",l.jsx(Ze,{className:"w-3 h-3"})]})}),l.jsx("li",{children:l.jsxs("a",{href:"https://t.me/aieaco",target:"_blank",rel:"noopener noreferrer",className:"text-slate-400 hover:text-blue-400 text-sm flex items-center gap-2",children:["ð¨ð³ åè¯ ",l.jsx(Ze,{className:"w-3 h-3"})]})}),l.jsx("li",{children:l.jsxs("a",{href:"https://t.me/earabiceaco",target:"_blank",rel:"noopener noreferrer",className:"text-slate-400 hover:text-blue-400 text-sm flex items-center gap-2",children:["ð¦ðª Ø§ÙØ¹Ø±Ø¨ÙØ© ",l.jsx(Ze,{className:"w-3 h-3"})]})})]})]})]}),l.jsxs("div",{className:"border-t border-white/10 pt-8",children:[l.jsx("div",{className:"bg-gradient-to-r from-blue-900/30 to-purple-900/30 rounded-2xl p-6 mb-8 border border-white/10",children:l.jsxs("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-6 text-center",children:[l.jsxs("div",{children:[l.jsx("div",{className:"text-blue-400 font-bold text-lg",children:"eCNH = EUR + CNH"}),l.jsx("div",{className:"text-slate-400 text-sm",children:"Distributed Stablecoin"})]}),l.jsxs("div",{children:[l.jsx("div",{className:"text-green-400 font-bold text-lg",children:"1 eCNH â 1 CNH â 0.1205 EUR"}),l.jsx("div",{className:"text-slate-400 text-sm",children:"Stable Value"})]}),l.jsxs("div",{children:[l.jsx("div",{className:"text-purple-400 font-bold text-lg",children:"Andromeda 1 eCNH â 0.1353-0.1463 USD"}),l.jsx("div",{className:"text-slate-400 text-sm",children:"Interstellar Rate"})]}),l.jsxs("div",{children:[l.jsx("div",{className:"text-pink-400 font-bold text-lg",children:"Global & Universe"}),l.jsx("div",{className:"text-slate-400 text-sm",children:"(Except Mainland China)"})]})]})}),l.jsxs("div",{className:"text-center mb-8",children:[l.jsx("p",{className:"text-slate-400 text-sm mb-2",children:"Distributed Stablecoin eCNH Contract Address (Solana):"}),l.jsx("a",{href:"https://solscan.io/token/7GQnqthWKa5v2GqXYWhmgWZY5mCRrniwK3Xuinm9GKw5",target:"_blank",rel:"noopener noreferrer",className:"text-blue-400 hover:text-blue-300 text-sm font-mono break-all",children:"7GQnqthWKa5v2GqXYWhmgWZY5mCRrniwK3Xuinm9GKw5"})]}),l.jsxs("div",{className:"text-center mb-8 max-w-4xl mx-auto",children:[l.jsxs("p",{className:"text-slate-400 text-sm leading-relaxed mb-4",children:[l.jsx("span",{className:"text-white",children:"earth CNH = eCNH"})," |",l.jsx("span",{className:"text-white",children:" exchange CNH = eCNH"})," |",l.jsx("span",{className:"text-white",children:" empower CNH"})," |",l.jsx("span",{className:"text-white",children:" explore CNH"})," |",l.jsx("span",{className:"text-white",children:" expand CNH"})," = eCNH"]}),l.jsx("p",{className:"text-purple-300 text-sm italic",children:"æé
å¸å½æ¸¸æå¸ | Offshore Chinese Yuan (类似离岸人æ°å¸=åå
)"}),l.jsx("p",{className:"text-slate-500 text-xs mt-2",children:"éå®è¿å»3000å¹´åå¤å°çææï¼è¿æ¥æªæ¥3000å¹´æé
å®å®ãå¨ä
297»å¥³æç³»/çå°¼æåºå±å¼ä½ ç太空åé©ï¼"}),l.jsx("p",{className:"text-slate-500 text-xs mt-2",children:"Anchoring 3000 years of Chinese civilization, connecting to 3000 years of interstellar future."})]}),l.jsxs("div",{className:"text-center mb-6",children:[l.jsx("p",{className:"text-slate-500 text-xs",children:"â ï¸ eCNHéç¨å°çæåå®å® (ä¸å½å¤§éé¤å¤ï¼ä»
éç¨CNHï¼ä¸ä½¿ç¨CNY)"}),l.jsx("p",{className:"text-slate-500 text-xs mt-1",children:"eCNH is applicable for Global Village and Universe (Excluding Mainland China, CNH only, not CNY)"})]}),l.jsxs("div",{className:"text-center border-t border-white/10 pt-6",children:[l.jsx("p",{className:"text-slate-500 text-sm",children:"© 2025 eCNH Team ⢠Version v0.0001"}),l.jsx("p",{className:"text-slate-600 text-xs mt-2",children:"Foreign trade + Science fiction + Games + AI + Energy"}),l.jsx("p",{className:"text-purple-400/60 text-xs mt-2",children:"Earth & Global Humanity Builds and Shares eCNH Together"})]})]})]})})}function H_({children:e,currentPageName:t}){const[r,i]=k.useState(!1),{language:o,toggleLanguage:c}=ja(),u=o==="zh"?[{name:"é¦é¡µ",icon:y0,page:"Home"},{name:"Web3ä¸å¿",icon:en,page:"Web3Centers"},{name:"æ±ç",icon:Cs,page:"ExchangeRates"},{name:"èµåèµäº§",icon:sr,page:"EarnCrypto"},{name:"æ±åä¼ èª",icon:Ti,page:"Rewards"},{name:"ä»å¥³åº§",icon:js,page:"Andromeda"},{name:"è´¸ææå",icon:mn,page:"TradeGuide"},{name:"社åº",icon:gn,page:"Community"},{name:"ç½ç®ä¹¦",icon:$o,page:"Whitepaper"}]:[{name:"Home",icon:y0,page:"Home"},{name:"Web3 Centers",icon:en,page:"Web3Centers"},{name:"Exchange Rates",icon:Cs,page:"ExchangeRates"},{name:"Earn Crypto",icon:sr,page:"EarnCrypto"},{name:"Rewards",icon:Ti,page:"Rewards"},{name:"Andromeda",icon:js,page:"Andromeda"},{name:"Trade Guide",icon:mn,page:"TradeGuide"},{name:"Community",icon:gn,page:"Community"},{name:"Whitepaper",icon:$o,page:"Whitepaper"}];return l.jsxs("div",{className:"min-h-screen bg-slate-950 flex flex-col",children:[l.jsxs("header",{className:"fixed top-0 left-0 right-0 z-50 bg-slate-950/90 backdrop-blur-lg border-b border-white/10",children:[l.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6",children:l.jsxs("div",{className:"flex items-center justify-between h-16",children:[l.jsxs(Wo,{to:pi("Home"),className:"flex items-center gap-3",children:[l.jsx("div",{className:"w-10 h-10 rounded-xl bg-gradient-to-br from-blue-500 to-purple-600 flex items-center justify-center",children:l.jsx("span",{className:"text-white font-bold text-lg",children:"e"})}),l.jsx("span",{className:"text-white font-bold text-xl hidden sm:block",children:"eCNH"})]}),l.jsxs("nav",{className:"hidden lg:flex items-center gap-1",children:[u.map(h=>l.jsxs(Wo,{to:pi(h.page),className:`flex items-center gap-2 px-4 py-2 rounded-lg text-sm font-medium transition-all ${t===h.page?"bg-blue-600 text-white":"text-slate-300 hover:text-white hover:bg-white/10"}`,children:[l.jsx(h.icon,{className:"w-4 h-4"}),h.name]},h.page)),l.jsx(_t,{variant:"ghost",size:"icon",onClick:c,className:"text-slate-300 hover:text-white hover:bg-white/10 ml-2",title:o==="zh"?"忢å°è±è¯":"Switch to Chinese",children:l.jsx(x0,{className:"w-5 h-5"})})]}),l.jsxs("div",{className:"flex items-center gap-2 lg:hidden",children:[l.jsx(_t,{variant:"ghost",size:"icon",onClick:c,className:"text-slate-300 hover:text-white",children:l.jsx(x0,{className:"w-5 h-5"})}),l.jsx("button",{onClick:()=>i(!r),className:"p-2 text-slate-300 hover:text-white",children:r?l.jsx(rv,{className:"w-6 h-6"}):l.jsx(xj,{className:"w-6 h-6"})})]})]})}),r&&l.jsx("div",{className:"lg:hidden bg-slate-900 border-t border-white/10",children:l.jsx("nav",{className:"max-w-7xl mx-auto px-4 py-4 space-y-2",children:u.map(h=>l.jsxs(Wo,{to:pi(h.page),onClick:()=>i(!1),className:`flex items-center gap-3 px-4 py-3 rounded-lg text-sm font-medium transition-all ${t===h.page?"bg-blue-600 text-white":"text-slate-300 hover:text-white hover:bg-white/10"}`,children:[l.jsx(h.icon,{className:"w-5 h-5"}),h.name]},h.page))})})]}),l.jsx("main",{className:"flex-1 pt-16",children:e}),l.jsx(z_,{})]})}function $_({children:e,currentPageName:t}){return l.jsx(R_,{children:l.jsx(H_,{children:e,currentPageName:t})})}const W_={Andromeda:K3,Community:t_,EarnCrypto:A_,ExchangeRates:O_,Home:D_,Rewards:I_,TradeGuide:F_,Web3Centers:B_,Whitepaper:V_,utils:L_,Points:U_},T1={mainPage:"Home",Pages:W_,Layout:$_};function q_(){const e=Di(),{isAuthenticated:t}=Tw(),{Pages:r,mainPage:i}=T1,o=i;return k.useEffect(()=>{const c=e.pathname;let u;if(c==="/"||c==="")u=o;else{const h=c.replace(/^\//,"").split("/")[0];u=Object.keys(r).find(y=>y.toLowerCase()===h.toLowerCase())||null}t&&u&&ai.appLogs.logUserInApp(u).catch(()=>{})},[e,t,r,o]),null}function K_({}){var o;const t=Di().pathname.substring(1),{data:r,isFetched:i}=lk({queryKey:["user"],queryFn:async()=>{try{return{user:await ai.auth.me(),isAuthenticated:!0}}catch{return{user:null,isAuthenticated:!1}}}});return l.jsx("div",{className:"min-h-screen flex items-center justify-center p-6 bg-slate-50",children:l.jsx("div",{className:"max-w-md w-full",children:l.jsxs("div",{className:"text-center space-y-6",children:[l.jsxs("div",{className:"space-y-2",children:[l.jsx("h1",{className:"text-7xl font-light text-slate-300",children:"404"}),l.jsx("div",{className:"h-0.5 w-16 bg-slate-200 mx-auto"})]}),l.jsxs("div",{className:"space-y-3",children:[l.jsx("h2",{className:"text-2xl font-medium text-slate-800",children:"Page Not Found"}),l.jsxs("p",{className:"text-slate-600 leading-relaxed",children:["The page ",l.jsxs("span",{className:"font-medium text-slate-700",children:['"',t,'"']})," could not be found in this application."]})]}),i&&r.isAuthenticated&&((o=r.user)==null?void 0:o.role)==="admin"&&l.jsx("div",{className:"mt-8 p-4 bg-slate-100 rounded-lg border border-slate-200",children:l.jsxs("div",{className:"flex items-start space-x-3",children:[l.jsx("div",{className:"flex-shrink-0 w-5 h-5 rounded-full bg-orange-100 flex items-center justify-center mt-0.5",children:l.jsx("div",{className:"w-2 h-2 rounded-full bg-orange-400"})}),l.jsxs("div",{className:"text-left space-y-1",children:[l.jsx("p",{className:"text-sm font-medium text-slate-700",children:"Admin Note"}),l.jsx("p",{className:"text-sm text-slate-600 leading-relaxed",children:"This could mean that the AI hasn't implemented this page yet. Ask it to implement it in the chat."})]})]})}),l.jsx("div",{className:"pt-6",children:l.jsxs("button",{onClick:()=>window.location.href="/",className:"inline-flex items-center px-4 py-2 text-sm font-medium text-slate-700 bg-white border border-slate-200 rounded-lg hover:bg-slate-50 hover:border-slate-300 transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-slate-500",children:[l.jsx("svg",{className:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"})}),"Go Home"]})})]})})})}const G_=()=>l.jsx("div",{className:"flex flex-col items-center justify-center min-h-screen bg-gradient-to-b from-white to-slate-50",children:l.jsx("div",{className:"max-w-md w-full p-8 bg-white rounded-lg shadow-lg border border-slate-100",children:l.jsxs("div",{className:"text-center",children:[l.jsx("div",{className:"inline-flex items-center justify-center w-16 h-16 mb-6 rounded-full bg-orange-100",children:l.jsx("svg",{className:"w-8 h-8 text-orange-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})})}),l.jsx("h1",{className:"text-3xl font-bold text-slate-900 mb-4",children:"Access Restricted"}),l.jsx("p",{className:"text-slate-600 mb-8",children:"You are not registered to use this application. Please contact the app administrator to request access."}),l.jsxs("div",{className:"p-4 bg-slate-50 rounded-md text-sm text-slate-600",children:[l.jsx("p",{children:"If you believe this is an error, you can:"}),l.jsxs("ul",{className:"list-disc list-inside mt-2 space-y-1",children:[l.jsx("li",{children:"Verify you are logged in with the correct account"}),l.jsx("li",{children:"Contact the app administrator for access"}),l.jsx("li",{children:"Try logging out and back in again"})]})]})]})})}),{Pages:E1,Layout:Bx,mainPage:Q_}=T1,P1=Q_,X_=E1[P1],Vx=({children:e,currentPageName:t})=>Bx?l.jsx(Bx,{currentPageName:t,children:e}):l.jsx(l.Fragment,{children:e}),Y_=()=>{const{isLoadingAuth:e,isLoadingPublicSettings:t,authError:r,navigateToLogin:i}=Tw();if(t||e)return l.jsx("div",{className:"fixed inset-0 flex items-center justify-center",children:l.jsx("div",{className:"w-8 h-8 border-4 border-slate-200 border-t-slate-800 rounded-full animate-spin"})});if(r){if(r.type==="user_not_registered")return l.jsx(G_,{});if(r.type==="auth_required")return i(),null}return l.jsxs(t2,{children:[l.jsx(Gl,{path:"/",element:l.jsx(Vx,{currentPageName:P1,children:l.jsx(X_,{})})}),Object.entries(E1).map(([o,c])=>l.jsx(Gl,{path:`/${o}`,element:l.jsx(Vx,{currentPageName:o,children:l.jsx(c,{})})},o)),l.jsx(Gl,{path:"*",element:l.jsx(K_,{})})]})};function J_(){return l.jsx(xP,{children:l.jsxs(XC,{client:ck,children:[l.jsxs(l2,{children:[l.jsx(q_,{}),l.jsx(Y_,{})]}),l.jsx(jC,{})]})})}LS.createRoot(document.getElementById("root")).render(l.jsx(J_,{}));
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.