(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const u of o)if(u.type==="childList")for(const d of u.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&r(d)}).observe(document,{childList:!0,subtree:!0});function a(o){const u={};return o.integrity&&(u.integrity=o.integrity),o.referrerPolicy&&(u.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?u.credentials="include":o.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function r(o){if(o.ep)return;o.ep=!0;const u=a(o);fetch(o.href,u)}})();function t5(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Cf={exports:{}},pl={};/**
 * @license React
 * react-jsx-runtime.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var fv;function n5(){if(fv)return pl;fv=1;var e=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function a(r,o,u){var d=null;if(u!==void 0&&(d=""+u),o.key!==void 0&&(d=""+o.key),"key"in o){u={};for(var m in o)m!=="key"&&(u[m]=o[m])}else u=o;return o=u.ref,{$$typeof:e,type:r,key:d,ref:o!==void 0?o:null,props:u}}return pl.Fragment=n,pl.jsx=a,pl.jsxs=a,pl}var hv;function i5(){return hv||(hv=1,Cf.exports=n5()),Cf.exports}var p=i5(),Af={exports:{}},Oe={};/**
 * @license React
 * react.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var mv;function a5(){if(mv)return Oe;mv=1;var e=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),d=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),b=Symbol.iterator;function x(j){return j===null||typeof j!="object"?null:(j=b&&j[b]||j["@@iterator"],typeof j=="function"?j:null)}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E=Object.assign,A={};function N(j,G,he){this.props=j,this.context=G,this.refs=A,this.updater=he||S}N.prototype.isReactComponent={},N.prototype.setState=function(j,G){if(typeof j!="object"&&typeof j!="function"&&j!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,j,G,"setState")},N.prototype.forceUpdate=function(j){this.updater.enqueueForceUpdate(this,j,"forceUpdate")};function M(){}M.prototype=N.prototype;function V(j,G,he){this.props=j,this.context=G,this.refs=A,this.updater=he||S}var _=V.prototype=new M;_.constructor=V,E(_,N.prototype),_.isPureReactComponent=!0;var J=Array.isArray,P={H:null,A:null,T:null,S:null},C=Object.prototype.hasOwnProperty;function ee(j,G,he,ue,ie,De){return he=De.ref,{$$typeof:e,type:j,key:G,ref:he!==void 0?he:null,props:De}}function X(j,G){return ee(j.type,G,void 0,void 0,void 0,j.props)}function F(j){return typeof j=="object"&&j!==null&&j.$$typeof===e}function te(j){var G={"=":"=0",":":"=2"};return"$"+j.replace(/[=:]/g,function(he){return G[he]})}var fe=/\/+/g;function Fe(j,G){return typeof j=="object"&&j!==null&&j.key!=null?te(""+j.key):G.toString(36)}function We(){}function ye(j){switch(j.status){case"fulfilled":return j.value;case"rejected":throw j.reason;default:switch(typeof j.status=="string"?j.then(We,We):(j.status="pending",j.then(function(G){j.status==="pending"&&(j.status="fulfilled",j.value=G)},function(G){j.status==="pending"&&(j.status="rejected",j.reason=G)})),j.status){case"fulfilled":return j.value;case"rejected":throw j.reason}}throw j}function Le(j,G,he,ue,ie){var De=typeof j;(De==="undefined"||De==="boolean")&&(j=null);var Se=!1;if(j===null)Se=!0;else switch(De){case"bigint":case"string":case"number":Se=!0;break;case"object":switch(j.$$typeof){case e:case n:Se=!0;break;case y:return Se=j._init,Le(Se(j._payload),G,he,ue,ie)}}if(Se)return ie=ie(j),Se=ue===""?"."+Fe(j,0):ue,J(ie)?(he="",Se!=null&&(he=Se.replace(fe,"$&/")+"/"),Le(ie,G,he,"",function(et){return et})):ie!=null&&(F(ie)&&(ie=X(ie,he+(ie.key==null||j&&j.key===ie.key?"":(""+ie.key).replace(fe,"$&/")+"/")+Se)),G.push(ie)),1;Se=0;var mt=ue===""?".":ue+":";if(J(j))for(var Pe=0;Pe<j.length;Pe++)ue=j[Pe],De=mt+Fe(ue,Pe),Se+=Le(ue,G,he,De,ie);else if(Pe=x(j),typeof Pe=="function")for(j=Pe.call(j),Pe=0;!(ue=j.next()).done;)ue=ue.value,De=mt+Fe(ue,Pe++),Se+=Le(ue,G,he,De,ie);else if(De==="object"){if(typeof j.then=="function")return Le(ye(j),G,he,ue,ie);throw G=String(j),Error("Objects are not valid as a React child (found: "+(G==="[object Object]"?"object with keys {"+Object.keys(j).join(", ")+"}":G)+"). If you meant to render a collection of children, use an array instead.")}return Se}function I(j,G,he){if(j==null)return j;var ue=[],ie=0;return Le(j,ue,"","",function(De){return G.call(he,De,ie++)}),ue}function ae(j){if(j._status===-1){var G=j._result;G=G(),G.then(function(he){(j._status===0||j._status===-1)&&(j._status=1,j._result=he)},function(he){(j._status===0||j._status===-1)&&(j._status=2,j._result=he)}),j._status===-1&&(j._status=0,j._result=G)}if(j._status===1)return j._result.default;throw j._result}var W=typeof reportError=="function"?reportError:function(j){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var G=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof j=="object"&&j!==null&&typeof j.message=="string"?String(j.message):String(j),error:j});if(!window.dispatchEvent(G))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",j);return}console.error(j)};function be(){}return Oe.Children={map:I,forEach:function(j,G,he){I(j,function(){G.apply(this,arguments)},he)},count:function(j){var G=0;return I(j,function(){G++}),G},toArray:function(j){return I(j,function(G){return G})||[]},only:function(j){if(!F(j))throw Error("React.Children.only expected to receive a single React element child.");return j}},Oe.Component=N,Oe.Fragment=a,Oe.Profiler=o,Oe.PureComponent=V,Oe.StrictMode=r,Oe.Suspense=h,Oe.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=P,Oe.act=function(){throw Error("act(...) is not supported in production builds of React.")},Oe.cache=function(j){return function(){return j.apply(null,arguments)}},Oe.cloneElement=function(j,G,he){if(j==null)throw Error("The argument must be a React element, but you passed "+j+".");var ue=E({},j.props),ie=j.key,De=void 0;if(G!=null)for(Se in G.ref!==void 0&&(De=void 0),G.key!==void 0&&(ie=""+G.key),G)!C.call(G,Se)||Se==="key"||Se==="__self"||Se==="__source"||Se==="ref"&&G.ref===void 0||(ue[Se]=G[Se]);var Se=arguments.length-2;if(Se===1)ue.children=he;else if(1<Se){for(var mt=Array(Se),Pe=0;Pe<Se;Pe++)mt[Pe]=arguments[Pe+2];ue.children=mt}return ee(j.type,ie,void 0,void 0,De,ue)},Oe.createContext=function(j){return j={$$typeof:d,_currentValue:j,_currentValue2:j,_threadCount:0,Provider:null,Consumer:null},j.Provider=j,j.Consumer={$$typeof:u,_context:j},j},Oe.createElement=function(j,G,he){var ue,ie={},De=null;if(G!=null)for(ue in G.key!==void 0&&(De=""+G.key),G)C.call(G,ue)&&ue!=="key"&&ue!=="__self"&&ue!=="__source"&&(ie[ue]=G[ue]);var Se=arguments.length-2;if(Se===1)ie.children=he;else if(1<Se){for(var mt=Array(Se),Pe=0;Pe<Se;Pe++)mt[Pe]=arguments[Pe+2];ie.children=mt}if(j&&j.defaultProps)for(ue in Se=j.defaultProps,Se)ie[ue]===void 0&&(ie[ue]=Se[ue]);return ee(j,De,void 0,void 0,null,ie)},Oe.createRef=function(){return{current:null}},Oe.forwardRef=function(j){return{$$typeof:m,render:j}},Oe.isValidElement=F,Oe.lazy=function(j){return{$$typeof:y,_payload:{_status:-1,_result:j},_init:ae}},Oe.memo=function(j,G){return{$$typeof:g,type:j,compare:G===void 0?null:G}},Oe.startTransition=function(j){var G=P.T,he={};P.T=he;try{var ue=j(),ie=P.S;ie!==null&&ie(he,ue),typeof ue=="object"&&ue!==null&&typeof ue.then=="function"&&ue.then(be,W)}catch(De){W(De)}finally{P.T=G}},Oe.unstable_useCacheRefresh=function(){return P.H.useCacheRefresh()},Oe.use=function(j){return P.H.use(j)},Oe.useActionState=function(j,G,he){return P.H.useActionState(j,G,he)},Oe.useCallback=function(j,G){return P.H.useCallback(j,G)},Oe.useContext=function(j){return P.H.useContext(j)},Oe.useDebugValue=function(){},Oe.useDeferredValue=function(j,G){return P.H.useDeferredValue(j,G)},Oe.useEffect=function(j,G){return P.H.useEffect(j,G)},Oe.useId=function(){return P.H.useId()},Oe.useImperativeHandle=function(j,G,he){return P.H.useImperativeHandle(j,G,he)},Oe.useInsertionEffect=function(j,G){return P.H.useInsertionEffect(j,G)},Oe.useLayoutEffect=function(j,G){return P.H.useLayoutEffect(j,G)},Oe.useMemo=function(j,G){return P.H.useMemo(j,G)},Oe.useOptimistic=function(j,G){return P.H.useOptimistic(j,G)},Oe.useReducer=function(j,G,he){return P.H.useReducer(j,G,he)},Oe.useRef=function(j){return P.H.useRef(j)},Oe.useState=function(j){return P.H.useState(j)},Oe.useSyncExternalStore=function(j,G,he){return P.H.useSyncExternalStore(j,G,he)},Oe.useTransition=function(){return P.H.useTransition()},Oe.version="19.0.0",Oe}var pv;function Mh(){return pv||(pv=1,Af.exports=a5()),Af.exports}var R=Mh();const Bi=t5(R);var Rf={exports:{}},gl={},Mf={exports:{}},Nf={};/**
 * @license React
 * scheduler.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var gv;function s5(){return gv||(gv=1,function(e){function n(I,ae){var W=I.length;I.push(ae);e:for(;0<W;){var be=W-1>>>1,j=I[be];if(0<o(j,ae))I[be]=ae,I[W]=j,W=be;else break e}}function a(I){return I.length===0?null:I[0]}function r(I){if(I.length===0)return null;var ae=I[0],W=I.pop();if(W!==ae){I[0]=W;e:for(var be=0,j=I.length,G=j>>>1;be<G;){var he=2*(be+1)-1,ue=I[he],ie=he+1,De=I[ie];if(0>o(ue,W))ie<j&&0>o(De,ue)?(I[be]=De,I[ie]=W,be=ie):(I[be]=ue,I[he]=W,be=he);else if(ie<j&&0>o(De,W))I[be]=De,I[ie]=W,be=ie;else break e}}return ae}function o(I,ae){var W=I.sortIndex-ae.sortIndex;return W!==0?W:I.id-ae.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var u=performance;e.unstable_now=function(){return u.now()}}else{var d=Date,m=d.now();e.unstable_now=function(){return d.now()-m}}var h=[],g=[],y=1,b=null,x=3,S=!1,E=!1,A=!1,N=typeof setTimeout=="function"?setTimeout:null,M=typeof clearTimeout=="function"?clearTimeout:null,V=typeof setImmediate<"u"?setImmediate:null;function _(I){for(var ae=a(g);ae!==null;){if(ae.callback===null)r(g);else if(ae.startTime<=I)r(g),ae.sortIndex=ae.expirationTime,n(h,ae);else break;ae=a(g)}}function J(I){if(A=!1,_(I),!E)if(a(h)!==null)E=!0,ye();else{var ae=a(g);ae!==null&&Le(J,ae.startTime-I)}}var P=!1,C=-1,ee=5,X=-1;function F(){return!(e.unstable_now()-X<ee)}function te(){if(P){var I=e.unstable_now();X=I;var ae=!0;try{e:{E=!1,A&&(A=!1,M(C),C=-1),S=!0;var W=x;try{t:{for(_(I),b=a(h);b!==null&&!(b.expirationTime>I&&F());){var be=b.callback;if(typeof be=="function"){b.callback=null,x=b.priorityLevel;var j=be(b.expirationTime<=I);if(I=e.unstable_now(),typeof j=="function"){b.callback=j,_(I),ae=!0;break t}b===a(h)&&r(h),_(I)}else r(h);b=a(h)}if(b!==null)ae=!0;else{var G=a(g);G!==null&&Le(J,G.startTime-I),ae=!1}}break e}finally{b=null,x=W,S=!1}ae=void 0}}finally{ae?fe():P=!1}}}var fe;if(typeof V=="function")fe=function(){V(te)};else if(typeof MessageChannel<"u"){var Fe=new MessageChannel,We=Fe.port2;Fe.port1.onmessage=te,fe=function(){We.postMessage(null)}}else fe=function(){N(te,0)};function ye(){P||(P=!0,fe())}function Le(I,ae){C=N(function(){I(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(I){I.callback=null},e.unstable_continueExecution=function(){E||S||(E=!0,ye())},e.unstable_forceFrameRate=function(I){0>I||125<I?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ee=0<I?Math.floor(1e3/I):5},e.unstable_getCurrentPriorityLevel=function(){return x},e.unstable_getFirstCallbackNode=function(){return a(h)},e.unstable_next=function(I){switch(x){case 1:case 2:case 3:var ae=3;break;default:ae=x}var W=x;x=ae;try{return I()}finally{x=W}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(I,ae){switch(I){case 1:case 2:case 3:case 4:case 5:break;default:I=3}var W=x;x=I;try{return ae()}finally{x=W}},e.unstable_scheduleCallback=function(I,ae,W){var be=e.unstable_now();switch(typeof W=="object"&&W!==null?(W=W.delay,W=typeof W=="number"&&0<W?be+W:be):W=be,I){case 1:var j=-1;break;case 2:j=250;break;case 5:j=1073741823;break;case 4:j=1e4;break;default:j=5e3}return j=W+j,I={id:y++,callback:ae,priorityLevel:I,startTime:W,expirationTime:j,sortIndex:-1},W>be?(I.sortIndex=W,n(g,I),a(h)===null&&I===a(g)&&(A?(M(C),C=-1):A=!0,Le(J,W-be))):(I.sortIndex=j,n(h,I),E||S||(E=!0,ye())),I},e.unstable_shouldYield=F,e.unstable_wrapCallback=function(I){var ae=x;return function(){var W=x;x=ae;try{return I.apply(this,arguments)}finally{x=W}}}}(Nf)),Nf}var yv;function r5(){return yv||(yv=1,Mf.exports=s5()),Mf.exports}var Df={exports:{}},Gt={};/**
 * @license React
 * react-dom.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var vv;function l5(){if(vv)return Gt;vv=1;var e=Mh();function n(h){var g="https://react.dev/errors/"+h;if(1<arguments.length){g+="?args[]="+encodeURIComponent(arguments[1]);for(var y=2;y<arguments.length;y++)g+="&args[]="+encodeURIComponent(arguments[y])}return"Minified React error #"+h+"; visit "+g+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(){}var r={d:{f:a,r:function(){throw Error(n(522))},D:a,C:a,L:a,m:a,X:a,S:a,M:a},p:0,findDOMNode:null},o=Symbol.for("react.portal");function u(h,g,y){var b=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:b==null?null:""+b,children:h,containerInfo:g,implementation:y}}var d=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function m(h,g){if(h==="font")return"";if(typeof g=="string")return g==="use-credentials"?g:""}return Gt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,Gt.createPortal=function(h,g){var y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!g||g.nodeType!==1&&g.nodeType!==9&&g.nodeType!==11)throw Error(n(299));return u(h,g,null,y)},Gt.flushSync=function(h){var g=d.T,y=r.p;try{if(d.T=null,r.p=2,h)return h()}finally{d.T=g,r.p=y,r.d.f()}},Gt.preconnect=function(h,g){typeof h=="string"&&(g?(g=g.crossOrigin,g=typeof g=="string"?g==="use-credentials"?g:"":void 0):g=null,r.d.C(h,g))},Gt.prefetchDNS=function(h){typeof h=="string"&&r.d.D(h)},Gt.preinit=function(h,g){if(typeof h=="string"&&g&&typeof g.as=="string"){var y=g.as,b=m(y,g.crossOrigin),x=typeof g.integrity=="string"?g.integrity:void 0,S=typeof g.fetchPriority=="string"?g.fetchPriority:void 0;y==="style"?r.d.S(h,typeof g.precedence=="string"?g.precedence:void 0,{crossOrigin:b,integrity:x,fetchPriority:S}):y==="script"&&r.d.X(h,{crossOrigin:b,integrity:x,fetchPriority:S,nonce:typeof g.nonce=="string"?g.nonce:void 0})}},Gt.preinitModule=function(h,g){if(typeof h=="string")if(typeof g=="object"&&g!==null){if(g.as==null||g.as==="script"){var y=m(g.as,g.crossOrigin);r.d.M(h,{crossOrigin:y,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0})}}else g==null&&r.d.M(h)},Gt.preload=function(h,g){if(typeof h=="string"&&typeof g=="object"&&g!==null&&typeof g.as=="string"){var y=g.as,b=m(y,g.crossOrigin);r.d.L(h,y,{crossOrigin:b,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0,type:typeof g.type=="string"?g.type:void 0,fetchPriority:typeof g.fetchPriority=="string"?g.fetchPriority:void 0,referrerPolicy:typeof g.referrerPolicy=="string"?g.referrerPolicy:void 0,imageSrcSet:typeof g.imageSrcSet=="string"?g.imageSrcSet:void 0,imageSizes:typeof g.imageSizes=="string"?g.imageSizes:void 0,media:typeof g.media=="string"?g.media:void 0})}},Gt.preloadModule=function(h,g){if(typeof h=="string")if(g){var y=m(g.as,g.crossOrigin);r.d.m(h,{as:typeof g.as=="string"&&g.as!=="script"?g.as:void 0,crossOrigin:y,integrity:typeof g.integrity=="string"?g.integrity:void 0})}else r.d.m(h)},Gt.requestFormReset=function(h){r.d.r(h)},Gt.unstable_batchedUpdates=function(h,g){return h(g)},Gt.useFormState=function(h,g,y){return d.H.useFormState(h,g,y)},Gt.useFormStatus=function(){return d.H.useHostTransitionStatus()},Gt.version="19.0.0",Gt}var xv;function _0(){if(xv)return Df.exports;xv=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(n){console.error(n)}}return e(),Df.exports=l5(),Df.exports}/**
 * @license React
 * react-dom-client.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var bv;function o5(){if(bv)return gl;bv=1;var e=r5(),n=Mh(),a=_0();function r(t){var i="https://react.dev/errors/"+t;if(1<arguments.length){i+="?args[]="+encodeURIComponent(arguments[1]);for(var s=2;s<arguments.length;s++)i+="&args[]="+encodeURIComponent(arguments[s])}return"Minified React error #"+t+"; visit "+i+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}var u=Symbol.for("react.element"),d=Symbol.for("react.transitional.element"),m=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),g=Symbol.for("react.strict_mode"),y=Symbol.for("react.profiler"),b=Symbol.for("react.provider"),x=Symbol.for("react.consumer"),S=Symbol.for("react.context"),E=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),N=Symbol.for("react.suspense_list"),M=Symbol.for("react.memo"),V=Symbol.for("react.lazy"),_=Symbol.for("react.offscreen"),J=Symbol.for("react.memo_cache_sentinel"),P=Symbol.iterator;function C(t){return t===null||typeof t!="object"?null:(t=P&&t[P]||t["@@iterator"],typeof t=="function"?t:null)}var ee=Symbol.for("react.client.reference");function X(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===ee?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case h:return"Fragment";case m:return"Portal";case y:return"Profiler";case g:return"StrictMode";case A:return"Suspense";case N:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case S:return(t.displayName||"Context")+".Provider";case x:return(t._context.displayName||"Context")+".Consumer";case E:var i=t.render;return t=t.displayName,t||(t=i.displayName||i.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case M:return i=t.displayName||null,i!==null?i:X(t.type)||"Memo";case V:i=t._payload,t=t._init;try{return X(t(i))}catch{}}return null}var F=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,te=Object.assign,fe,Fe;function We(t){if(fe===void 0)try{throw Error()}catch(s){var i=s.stack.trim().match(/\n( *(at )?)/);fe=i&&i[1]||"",Fe=-1<s.stack.indexOf(`
    at`)?" (<anonymous>)":-1<s.stack.indexOf("@")?"@unknown:0:0":""}return`
`+fe+t+Fe}var ye=!1;function Le(t,i){if(!t||ye)return"";ye=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(i){var Z=function(){throw Error()};if(Object.defineProperty(Z.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Z,[])}catch($){var U=$}Reflect.construct(t,[],Z)}else{try{Z.call()}catch($){U=$}t.call(Z.prototype)}}else{try{throw Error()}catch($){U=$}(Z=t())&&typeof Z.catch=="function"&&Z.catch(function(){})}}catch($){if($&&U&&typeof $.stack=="string")return[$.stack,U.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var c=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");c&&c.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var f=l.DetermineComponentFrameRoot(),v=f[0],w=f[1];if(v&&w){var T=v.split(`
`),L=w.split(`
`);for(c=l=0;l<T.length&&!T[l].includes("DetermineComponentFrameRoot");)l++;for(;c<L.length&&!L[c].includes("DetermineComponentFrameRoot");)c++;if(l===T.length||c===L.length)for(l=T.length-1,c=L.length-1;1<=l&&0<=c&&T[l]!==L[c];)c--;for(;1<=l&&0<=c;l--,c--)if(T[l]!==L[c]){if(l!==1||c!==1)do if(l--,c--,0>c||T[l]!==L[c]){var Y=`
`+T[l].replace(" at new "," at ");return t.displayName&&Y.includes("<anonymous>")&&(Y=Y.replace("<anonymous>",t.displayName)),Y}while(1<=l&&0<=c);break}}}finally{ye=!1,Error.prepareStackTrace=s}return(s=t?t.displayName||t.name:"")?We(s):""}function I(t){switch(t.tag){case 26:case 27:case 5:return We(t.type);case 16:return We("Lazy");case 13:return We("Suspense");case 19:return We("SuspenseList");case 0:case 15:return t=Le(t.type,!1),t;case 11:return t=Le(t.type.render,!1),t;case 1:return t=Le(t.type,!0),t;default:return""}}function ae(t){try{var i="";do i+=I(t),t=t.return;while(t);return i}catch(s){return`
Error generating stack: `+s.message+`
`+s.stack}}function W(t){var i=t,s=t;if(t.alternate)for(;i.return;)i=i.return;else{t=i;do i=t,i.flags&4098&&(s=i.return),t=i.return;while(t)}return i.tag===3?s:null}function be(t){if(t.tag===13){var i=t.memoizedState;if(i===null&&(t=t.alternate,t!==null&&(i=t.memoizedState)),i!==null)return i.dehydrated}return null}function j(t){if(W(t)!==t)throw Error(r(188))}function G(t){var i=t.alternate;if(!i){if(i=W(t),i===null)throw Error(r(188));return i!==t?null:t}for(var s=t,l=i;;){var c=s.return;if(c===null)break;var f=c.alternate;if(f===null){if(l=c.return,l!==null){s=l;continue}break}if(c.child===f.child){for(f=c.child;f;){if(f===s)return j(c),t;if(f===l)return j(c),i;f=f.sibling}throw Error(r(188))}if(s.return!==l.return)s=c,l=f;else{for(var v=!1,w=c.child;w;){if(w===s){v=!0,s=c,l=f;break}if(w===l){v=!0,l=c,s=f;break}w=w.sibling}if(!v){for(w=f.child;w;){if(w===s){v=!0,s=f,l=c;break}if(w===l){v=!0,l=f,s=c;break}w=w.sibling}if(!v)throw Error(r(189))}}if(s.alternate!==l)throw Error(r(190))}if(s.tag!==3)throw Error(r(188));return s.stateNode.current===s?t:i}function he(t){var i=t.tag;if(i===5||i===26||i===27||i===6)return t;for(t=t.child;t!==null;){if(i=he(t),i!==null)return i;t=t.sibling}return null}var ue=Array.isArray,ie=a.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,De={pending:!1,data:null,method:null,action:null},Se=[],mt=-1;function Pe(t){return{current:t}}function et(t){0>mt||(t.current=Se[mt],Se[mt]=null,mt--)}function ke(t,i){mt++,Se[mt]=t.current,t.current=i}var Vt=Pe(null),qi=Pe(null),Jn=Pe(null),wn=Pe(null);function ds(t,i){switch(ke(Jn,i),ke(qi,t),ke(Vt,null),t=i.nodeType,t){case 9:case 11:i=(i=i.documentElement)&&(i=i.namespaceURI)?_y(i):0;break;default:if(t=t===8?i.parentNode:i,i=t.tagName,t=t.namespaceURI)t=_y(t),i=qy(t,i);else switch(i){case"svg":i=1;break;case"math":i=2;break;default:i=0}}et(Vt),ke(Vt,i)}function Fi(){et(Vt),et(qi),et(Jn)}function fs(t){t.memoizedState!==null&&ke(wn,t);var i=Vt.current,s=qy(i,t.type);i!==s&&(ke(qi,t),ke(Vt,s))}function hs(t){qi.current===t&&(et(Vt),et(qi)),wn.current===t&&(et(wn),cl._currentValue=De)}var vr=Object.prototype.hasOwnProperty,xr=e.unstable_scheduleCallback,br=e.unstable_cancelCallback,gi=e.unstable_shouldYield,Ta=e.unstable_requestPaint,cn=e.unstable_now,wr=e.unstable_getCurrentPriorityLevel,qn=e.unstable_ImmediatePriority,Sn=e.unstable_UserBlockingPriority,ja=e.unstable_NormalPriority,Sr=e.unstable_LowPriority,no=e.unstable_IdlePriority,Wn=e.log,io=e.unstable_setDisableYieldValue,$i=null,$t=null;function bc(t){if($t&&typeof $t.onCommitFiberRoot=="function")try{$t.onCommitFiberRoot($i,t,void 0,(t.current.flags&128)===128)}catch{}}function Fn(t){if(typeof Wn=="function"&&io(t),$t&&typeof $t.setStrictMode=="function")try{$t.setStrictMode($i,t)}catch{}}var Nt=Math.clz32?Math.clz32:wc,ao=Math.log,Er=Math.LN2;function wc(t){return t>>>=0,t===0?32:31-(ao(t)/Er|0)|0}var Ca=128,ms=4194304;function ei(t){var i=t&42;if(i!==0)return i;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t&4194176;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function yi(t,i){var s=t.pendingLanes;if(s===0)return 0;var l=0,c=t.suspendedLanes,f=t.pingedLanes,v=t.warmLanes;t=t.finishedLanes!==0;var w=s&134217727;return w!==0?(s=w&~c,s!==0?l=ei(s):(f&=w,f!==0?l=ei(f):t||(v=w&~v,v!==0&&(l=ei(v))))):(w=s&~c,w!==0?l=ei(w):f!==0?l=ei(f):t||(v=s&~v,v!==0&&(l=ei(v)))),l===0?0:i!==0&&i!==l&&!(i&c)&&(c=l&-l,v=i&-i,c>=v||c===32&&(v&4194176)!==0)?i:l}function ti(t,i){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&i)===0}function Sc(t,i){switch(t){case 1:case 2:case 4:case 8:return i+250;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 i+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function so(){var t=Ca;return Ca<<=1,!(Ca&4194176)&&(Ca=128),t}function D(){var t=ms;return ms<<=1,!(ms&62914560)&&(ms=4194304),t}function z(t){for(var i=[],s=0;31>s;s++)i.push(t);return i}function H(t,i){t.pendingLanes|=i,i!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Q(t,i,s,l,c,f){var v=t.pendingLanes;t.pendingLanes=s,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=s,t.entangledLanes&=s,t.errorRecoveryDisabledLanes&=s,t.shellSuspendCounter=0;var w=t.entanglements,T=t.expirationTimes,L=t.hiddenUpdates;for(s=v&~s;0<s;){var Y=31-Nt(s),Z=1<<Y;w[Y]=0,T[Y]=-1;var U=L[Y];if(U!==null)for(L[Y]=null,Y=0;Y<U.length;Y++){var $=U[Y];$!==null&&($.lane&=-536870913)}s&=~Z}l!==0&&re(t,l,0),f!==0&&c===0&&t.tag!==0&&(t.suspendedLanes|=f&~(v&~i))}function re(t,i,s){t.pendingLanes|=i,t.suspendedLanes&=~i;var l=31-Nt(i);t.entangledLanes|=i,t.entanglements[l]=t.entanglements[l]|1073741824|s&4194218}function ve(t,i){var s=t.entangledLanes|=i;for(t=t.entanglements;s;){var l=31-Nt(s),c=1<<l;c&i|t[l]&i&&(t[l]|=i),s&=~c}}function Re(t){return t&=-t,2<t?8<t?t&134217727?32:268435456:8:2}function ce(){var t=ie.p;return t!==0?t:(t=window.event,t===void 0?32:rv(t.type))}function me(t,i){var s=ie.p;try{return ie.p=t,i()}finally{ie.p=s}}var ne=Math.random().toString(36).slice(2),pe="__reactFiber$"+ne,we="__reactProps$"+ne,Ze="__reactContainer$"+ne,bt="__reactEvents$"+ne,ot="__reactListeners$"+ne,tt="__reactHandles$"+ne,pt="__reactResources$"+ne,En="__reactMarker$"+ne;function vi(t){delete t[pe],delete t[we],delete t[bt],delete t[ot],delete t[tt]}function Bt(t){var i=t[pe];if(i)return i;for(var s=t.parentNode;s;){if(i=s[Ze]||s[pe]){if(s=i.alternate,i.child!==null||s!==null&&s.child!==null)for(t=Yy(t);t!==null;){if(s=t[pe])return s;t=Yy(t)}return i}t=s,s=t.parentNode}return null}function Ut(t){if(t=t[pe]||t[Ze]){var i=t.tag;if(i===5||i===6||i===13||i===26||i===27||i===3)return t}return null}function xi(t){var i=t.tag;if(i===5||i===26||i===27||i===6)return t.stateNode;throw Error(r(33))}function Tn(t){var i=t[pt];return i||(i=t[pt]={hoistableStyles:new Map,hoistableScripts:new Map}),i}function it(t){t[En]=!0}var Aa=new Set,Ra={};function $e(t,i){ut(t,i),ut(t+"Capture",i)}function ut(t,i){for(Ra[t]=i,t=0;t<i.length;t++)Aa.add(i[t])}var rn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ma=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),ct={},bi={};function ro(t){return vr.call(bi,t)?!0:vr.call(ct,t)?!1:Ma.test(t)?bi[t]=!0:(ct[t]=!0,!1)}function ps(t,i,s){if(ro(i))if(s===null)t.removeAttribute(i);else{switch(typeof s){case"undefined":case"function":case"symbol":t.removeAttribute(i);return;case"boolean":var l=i.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){t.removeAttribute(i);return}}t.setAttribute(i,""+s)}}function lo(t,i,s){if(s===null)t.removeAttribute(i);else{switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(i);return}t.setAttribute(i,""+s)}}function wi(t,i,s,l){if(l===null)t.removeAttribute(s);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(s);return}t.setAttributeNS(i,s,""+l)}}function jn(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function $m(t){var i=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function Z1(t){var i=$m(t)?"checked":"value",s=Object.getOwnPropertyDescriptor(t.constructor.prototype,i),l=""+t[i];if(!t.hasOwnProperty(i)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var c=s.get,f=s.set;return Object.defineProperty(t,i,{configurable:!0,get:function(){return c.call(this)},set:function(v){l=""+v,f.call(this,v)}}),Object.defineProperty(t,i,{enumerable:s.enumerable}),{getValue:function(){return l},setValue:function(v){l=""+v},stopTracking:function(){t._valueTracker=null,delete t[i]}}}}function oo(t){t._valueTracker||(t._valueTracker=Z1(t))}function Ym(t){if(!t)return!1;var i=t._valueTracker;if(!i)return!0;var s=i.getValue(),l="";return t&&(l=$m(t)?t.checked?"true":"false":t.value),t=l,t!==s?(i.setValue(t),!0):!1}function uo(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var Q1=/[\n"\\]/g;function Cn(t){return t.replace(Q1,function(i){return"\\"+i.charCodeAt(0).toString(16)+" "})}function Ec(t,i,s,l,c,f,v,w){t.name="",v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"?t.type=v:t.removeAttribute("type"),i!=null?v==="number"?(i===0&&t.value===""||t.value!=i)&&(t.value=""+jn(i)):t.value!==""+jn(i)&&(t.value=""+jn(i)):v!=="submit"&&v!=="reset"||t.removeAttribute("value"),i!=null?Tc(t,v,jn(i)):s!=null?Tc(t,v,jn(s)):l!=null&&t.removeAttribute("value"),c==null&&f!=null&&(t.defaultChecked=!!f),c!=null&&(t.checked=c&&typeof c!="function"&&typeof c!="symbol"),w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"?t.name=""+jn(w):t.removeAttribute("name")}function Gm(t,i,s,l,c,f,v,w){if(f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(t.type=f),i!=null||s!=null){if(!(f!=="submit"&&f!=="reset"||i!=null))return;s=s!=null?""+jn(s):"",i=i!=null?""+jn(i):s,w||i===t.value||(t.value=i),t.defaultValue=i}l=l??c,l=typeof l!="function"&&typeof l!="symbol"&&!!l,t.checked=w?t.checked:!!l,t.defaultChecked=!!l,v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"&&(t.name=v)}function Tc(t,i,s){i==="number"&&uo(t.ownerDocument)===t||t.defaultValue===""+s||(t.defaultValue=""+s)}function gs(t,i,s,l){if(t=t.options,i){i={};for(var c=0;c<s.length;c++)i["$"+s[c]]=!0;for(s=0;s<t.length;s++)c=i.hasOwnProperty("$"+t[s].value),t[s].selected!==c&&(t[s].selected=c),c&&l&&(t[s].defaultSelected=!0)}else{for(s=""+jn(s),i=null,c=0;c<t.length;c++){if(t[c].value===s){t[c].selected=!0,l&&(t[c].defaultSelected=!0);return}i!==null||t[c].disabled||(i=t[c])}i!==null&&(i.selected=!0)}}function Km(t,i,s){if(i!=null&&(i=""+jn(i),i!==t.value&&(t.value=i),s==null)){t.defaultValue!==i&&(t.defaultValue=i);return}t.defaultValue=s!=null?""+jn(s):""}function Xm(t,i,s,l){if(i==null){if(l!=null){if(s!=null)throw Error(r(92));if(ue(l)){if(1<l.length)throw Error(r(93));l=l[0]}s=l}s==null&&(s=""),i=s}s=jn(i),t.defaultValue=s,l=t.textContent,l===s&&l!==""&&l!==null&&(t.value=l)}function ys(t,i){if(i){var s=t.firstChild;if(s&&s===t.lastChild&&s.nodeType===3){s.nodeValue=i;return}}t.textContent=i}var J1=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Im(t,i,s){var l=i.indexOf("--")===0;s==null||typeof s=="boolean"||s===""?l?t.setProperty(i,""):i==="float"?t.cssFloat="":t[i]="":l?t.setProperty(i,s):typeof s!="number"||s===0||J1.has(i)?i==="float"?t.cssFloat=s:t[i]=(""+s).trim():t[i]=s+"px"}function Zm(t,i,s){if(i!=null&&typeof i!="object")throw Error(r(62));if(t=t.style,s!=null){for(var l in s)!s.hasOwnProperty(l)||i!=null&&i.hasOwnProperty(l)||(l.indexOf("--")===0?t.setProperty(l,""):l==="float"?t.cssFloat="":t[l]="");for(var c in i)l=i[c],i.hasOwnProperty(c)&&s[c]!==l&&Im(t,c,l)}else for(var f in i)i.hasOwnProperty(f)&&Im(t,f,i[f])}function jc(t){if(t.indexOf("-")===-1)return!1;switch(t){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 W1=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),e2=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function co(t){return e2.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}var Cc=null;function Ac(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var vs=null,xs=null;function Qm(t){var i=Ut(t);if(i&&(t=i.stateNode)){var s=t[we]||null;e:switch(t=i.stateNode,i.type){case"input":if(Ec(t,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name),i=s.name,s.type==="radio"&&i!=null){for(s=t;s.parentNode;)s=s.parentNode;for(s=s.querySelectorAll('input[name="'+Cn(""+i)+'"][type="radio"]'),i=0;i<s.length;i++){var l=s[i];if(l!==t&&l.form===t.form){var c=l[we]||null;if(!c)throw Error(r(90));Ec(l,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name)}}for(i=0;i<s.length;i++)l=s[i],l.form===t.form&&Ym(l)}break e;case"textarea":Km(t,s.value,s.defaultValue);break e;case"select":i=s.value,i!=null&&gs(t,!!s.multiple,i,!1)}}}var Rc=!1;function Jm(t,i,s){if(Rc)return t(i,s);Rc=!0;try{var l=t(i);return l}finally{if(Rc=!1,(vs!==null||xs!==null)&&(Xo(),vs&&(i=vs,t=xs,xs=vs=null,Qm(i),t)))for(i=0;i<t.length;i++)Qm(t[i])}}function Tr(t,i){var s=t.stateNode;if(s===null)return null;var l=s[we]||null;if(l===null)return null;s=l[i];e:switch(i){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(t=t.type,l=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!l;break e;default:t=!1}if(t)return null;if(s&&typeof s!="function")throw Error(r(231,i,typeof s));return s}var Mc=!1;if(rn)try{var jr={};Object.defineProperty(jr,"passive",{get:function(){Mc=!0}}),window.addEventListener("test",jr,jr),window.removeEventListener("test",jr,jr)}catch{Mc=!1}var Yi=null,Nc=null,fo=null;function Wm(){if(fo)return fo;var t,i=Nc,s=i.length,l,c="value"in Yi?Yi.value:Yi.textContent,f=c.length;for(t=0;t<s&&i[t]===c[t];t++);var v=s-t;for(l=1;l<=v&&i[s-l]===c[f-l];l++);return fo=c.slice(t,1<l?1-l:void 0)}function ho(t){var i=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&i===13&&(t=13)):t=i,t===10&&(t=13),32<=t||t===13?t:0}function mo(){return!0}function ep(){return!1}function ln(t){function i(s,l,c,f,v){this._reactName=s,this._targetInst=c,this.type=l,this.nativeEvent=f,this.target=v,this.currentTarget=null;for(var w in t)t.hasOwnProperty(w)&&(s=t[w],this[w]=s?s(f):f[w]);return this.isDefaultPrevented=(f.defaultPrevented!=null?f.defaultPrevented:f.returnValue===!1)?mo:ep,this.isPropagationStopped=ep,this}return te(i.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=mo)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=mo)},persist:function(){},isPersistent:mo}),i}var Na={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},po=ln(Na),Cr=te({},Na,{view:0,detail:0}),t2=ln(Cr),Dc,Oc,Ar,go=te({},Cr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:kc,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Ar&&(Ar&&t.type==="mousemove"?(Dc=t.screenX-Ar.screenX,Oc=t.screenY-Ar.screenY):Oc=Dc=0,Ar=t),Dc)},movementY:function(t){return"movementY"in t?t.movementY:Oc}}),tp=ln(go),n2=te({},go,{dataTransfer:0}),i2=ln(n2),a2=te({},Cr,{relatedTarget:0}),Lc=ln(a2),s2=te({},Na,{animationName:0,elapsedTime:0,pseudoElement:0}),r2=ln(s2),l2=te({},Na,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),o2=ln(l2),u2=te({},Na,{data:0}),np=ln(u2),c2={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},d2={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"},f2={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function h2(t){var i=this.nativeEvent;return i.getModifierState?i.getModifierState(t):(t=f2[t])?!!i[t]:!1}function kc(){return h2}var m2=te({},Cr,{key:function(t){if(t.key){var i=c2[t.key]||t.key;if(i!=="Unidentified")return i}return t.type==="keypress"?(t=ho(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?d2[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:kc,charCode:function(t){return t.type==="keypress"?ho(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?ho(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),p2=ln(m2),g2=te({},go,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ip=ln(g2),y2=te({},Cr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:kc}),v2=ln(y2),x2=te({},Na,{propertyName:0,elapsedTime:0,pseudoElement:0}),b2=ln(x2),w2=te({},go,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),S2=ln(w2),E2=te({},Na,{newState:0,oldState:0}),T2=ln(E2),j2=[9,13,27,32],zc=rn&&"CompositionEvent"in window,Rr=null;rn&&"documentMode"in document&&(Rr=document.documentMode);var C2=rn&&"TextEvent"in window&&!Rr,ap=rn&&(!zc||Rr&&8<Rr&&11>=Rr),sp=" ",rp=!1;function lp(t,i){switch(t){case"keyup":return j2.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function op(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var bs=!1;function A2(t,i){switch(t){case"compositionend":return op(i);case"keypress":return i.which!==32?null:(rp=!0,sp);case"textInput":return t=i.data,t===sp&&rp?null:t;default:return null}}function R2(t,i){if(bs)return t==="compositionend"||!zc&&lp(t,i)?(t=Wm(),fo=Nc=Yi=null,bs=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1<i.char.length)return i.char;if(i.which)return String.fromCharCode(i.which)}return null;case"compositionend":return ap&&i.locale!=="ko"?null:i.data;default:return null}}var M2={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 up(t){var i=t&&t.nodeName&&t.nodeName.toLowerCase();return i==="input"?!!M2[t.type]:i==="textarea"}function cp(t,i,s,l){vs?xs?xs.push(l):xs=[l]:vs=l,i=Wo(i,"onChange"),0<i.length&&(s=new po("onChange","change",null,s,l),t.push({event:s,listeners:i}))}var Mr=null,Nr=null;function N2(t){Vy(t,0)}function yo(t){var i=xi(t);if(Ym(i))return t}function dp(t,i){if(t==="change")return i}var fp=!1;if(rn){var Vc;if(rn){var Bc="oninput"in document;if(!Bc){var hp=document.createElement("div");hp.setAttribute("oninput","return;"),Bc=typeof hp.oninput=="function"}Vc=Bc}else Vc=!1;fp=Vc&&(!document.documentMode||9<document.documentMode)}function mp(){Mr&&(Mr.detachEvent("onpropertychange",pp),Nr=Mr=null)}function pp(t){if(t.propertyName==="value"&&yo(Nr)){var i=[];cp(i,Nr,t,Ac(t)),Jm(N2,i)}}function D2(t,i,s){t==="focusin"?(mp(),Mr=i,Nr=s,Mr.attachEvent("onpropertychange",pp)):t==="focusout"&&mp()}function O2(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return yo(Nr)}function L2(t,i){if(t==="click")return yo(i)}function k2(t,i){if(t==="input"||t==="change")return yo(i)}function z2(t,i){return t===i&&(t!==0||1/t===1/i)||t!==t&&i!==i}var dn=typeof Object.is=="function"?Object.is:z2;function Dr(t,i){if(dn(t,i))return!0;if(typeof t!="object"||t===null||typeof i!="object"||i===null)return!1;var s=Object.keys(t),l=Object.keys(i);if(s.length!==l.length)return!1;for(l=0;l<s.length;l++){var c=s[l];if(!vr.call(i,c)||!dn(t[c],i[c]))return!1}return!0}function gp(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function yp(t,i){var s=gp(t);t=0;for(var l;s;){if(s.nodeType===3){if(l=t+s.textContent.length,t<=i&&l>=i)return{node:s,offset:i-t};t=l}e:{for(;s;){if(s.nextSibling){s=s.nextSibling;break e}s=s.parentNode}s=void 0}s=gp(s)}}function vp(t,i){return t&&i?t===i?!0:t&&t.nodeType===3?!1:i&&i.nodeType===3?vp(t,i.parentNode):"contains"in t?t.contains(i):t.compareDocumentPosition?!!(t.compareDocumentPosition(i)&16):!1:!1}function xp(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var i=uo(t.document);i instanceof t.HTMLIFrameElement;){try{var s=typeof i.contentWindow.location.href=="string"}catch{s=!1}if(s)t=i.contentWindow;else break;i=uo(t.document)}return i}function Uc(t){var i=t&&t.nodeName&&t.nodeName.toLowerCase();return i&&(i==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||i==="textarea"||t.contentEditable==="true")}function V2(t,i){var s=xp(i);i=t.focusedElem;var l=t.selectionRange;if(s!==i&&i&&i.ownerDocument&&vp(i.ownerDocument.documentElement,i)){if(l!==null&&Uc(i)){if(t=l.start,s=l.end,s===void 0&&(s=t),"selectionStart"in i)i.selectionStart=t,i.selectionEnd=Math.min(s,i.value.length);else if(s=(t=i.ownerDocument||document)&&t.defaultView||window,s.getSelection){s=s.getSelection();var c=i.textContent.length,f=Math.min(l.start,c);l=l.end===void 0?f:Math.min(l.end,c),!s.extend&&f>l&&(c=l,l=f,f=c),c=yp(i,f);var v=yp(i,l);c&&v&&(s.rangeCount!==1||s.anchorNode!==c.node||s.anchorOffset!==c.offset||s.focusNode!==v.node||s.focusOffset!==v.offset)&&(t=t.createRange(),t.setStart(c.node,c.offset),s.removeAllRanges(),f>l?(s.addRange(t),s.extend(v.node,v.offset)):(t.setEnd(v.node,v.offset),s.addRange(t)))}}for(t=[],s=i;s=s.parentNode;)s.nodeType===1&&t.push({element:s,left:s.scrollLeft,top:s.scrollTop});for(typeof i.focus=="function"&&i.focus(),i=0;i<t.length;i++)s=t[i],s.element.scrollLeft=s.left,s.element.scrollTop=s.top}}var B2=rn&&"documentMode"in document&&11>=document.documentMode,ws=null,Pc=null,Or=null,Hc=!1;function bp(t,i,s){var l=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;Hc||ws==null||ws!==uo(l)||(l=ws,"selectionStart"in l&&Uc(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),Or&&Dr(Or,l)||(Or=l,l=Wo(Pc,"onSelect"),0<l.length&&(i=new po("onSelect","select",null,i,s),t.push({event:i,listeners:l}),i.target=ws)))}function Da(t,i){var s={};return s[t.toLowerCase()]=i.toLowerCase(),s["Webkit"+t]="webkit"+i,s["Moz"+t]="moz"+i,s}var Ss={animationend:Da("Animation","AnimationEnd"),animationiteration:Da("Animation","AnimationIteration"),animationstart:Da("Animation","AnimationStart"),transitionrun:Da("Transition","TransitionRun"),transitionstart:Da("Transition","TransitionStart"),transitioncancel:Da("Transition","TransitionCancel"),transitionend:Da("Transition","TransitionEnd")},_c={},wp={};rn&&(wp=document.createElement("div").style,"AnimationEvent"in window||(delete Ss.animationend.animation,delete Ss.animationiteration.animation,delete Ss.animationstart.animation),"TransitionEvent"in window||delete Ss.transitionend.transition);function Oa(t){if(_c[t])return _c[t];if(!Ss[t])return t;var i=Ss[t],s;for(s in i)if(i.hasOwnProperty(s)&&s in wp)return _c[t]=i[s];return t}var Sp=Oa("animationend"),Ep=Oa("animationiteration"),Tp=Oa("animationstart"),U2=Oa("transitionrun"),P2=Oa("transitionstart"),H2=Oa("transitioncancel"),jp=Oa("transitionend"),Cp=new Map,Ap="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll scrollEnd toggle touchMove waiting wheel".split(" ");function $n(t,i){Cp.set(t,i),$e(i,[t])}var An=[],Es=0,qc=0;function vo(){for(var t=Es,i=qc=Es=0;i<t;){var s=An[i];An[i++]=null;var l=An[i];An[i++]=null;var c=An[i];An[i++]=null;var f=An[i];if(An[i++]=null,l!==null&&c!==null){var v=l.pending;v===null?c.next=c:(c.next=v.next,v.next=c),l.pending=c}f!==0&&Rp(s,c,f)}}function xo(t,i,s,l){An[Es++]=t,An[Es++]=i,An[Es++]=s,An[Es++]=l,qc|=l,t.lanes|=l,t=t.alternate,t!==null&&(t.lanes|=l)}function Fc(t,i,s,l){return xo(t,i,s,l),bo(t)}function Gi(t,i){return xo(t,null,null,i),bo(t)}function Rp(t,i,s){t.lanes|=s;var l=t.alternate;l!==null&&(l.lanes|=s);for(var c=!1,f=t.return;f!==null;)f.childLanes|=s,l=f.alternate,l!==null&&(l.childLanes|=s),f.tag===22&&(t=f.stateNode,t===null||t._visibility&1||(c=!0)),t=f,f=f.return;c&&i!==null&&t.tag===3&&(f=t.stateNode,c=31-Nt(s),f=f.hiddenUpdates,t=f[c],t===null?f[c]=[i]:t.push(i),i.lane=s|536870912)}function bo(t){if(50<il)throw il=0,Id=null,Error(r(185));for(var i=t.return;i!==null;)t=i,i=t.return;return t.tag===3?t.stateNode:null}var Ts={},Mp=new WeakMap;function Rn(t,i){if(typeof t=="object"&&t!==null){var s=Mp.get(t);return s!==void 0?s:(i={value:t,source:i,stack:ae(i)},Mp.set(t,i),i)}return{value:t,source:i,stack:ae(i)}}var js=[],Cs=0,wo=null,So=0,Mn=[],Nn=0,La=null,Si=1,Ei="";function ka(t,i){js[Cs++]=So,js[Cs++]=wo,wo=t,So=i}function Np(t,i,s){Mn[Nn++]=Si,Mn[Nn++]=Ei,Mn[Nn++]=La,La=t;var l=Si;t=Ei;var c=32-Nt(l)-1;l&=~(1<<c),s+=1;var f=32-Nt(i)+c;if(30<f){var v=c-c%5;f=(l&(1<<v)-1).toString(32),l>>=v,c-=v,Si=1<<32-Nt(i)+c|s<<c|l,Ei=f+t}else Si=1<<f|s<<c|l,Ei=t}function $c(t){t.return!==null&&(ka(t,1),Np(t,1,0))}function Yc(t){for(;t===wo;)wo=js[--Cs],js[Cs]=null,So=js[--Cs],js[Cs]=null;for(;t===La;)La=Mn[--Nn],Mn[Nn]=null,Ei=Mn[--Nn],Mn[Nn]=null,Si=Mn[--Nn],Mn[Nn]=null}var Qt=null,Pt=null,Ke=!1,Yn=null,ni=!1,Gc=Error(r(519));function za(t){var i=Error(r(418,""));throw zr(Rn(i,t)),Gc}function Dp(t){var i=t.stateNode,s=t.type,l=t.memoizedProps;switch(i[pe]=t,i[we]=l,s){case"dialog":_e("cancel",i),_e("close",i);break;case"iframe":case"object":case"embed":_e("load",i);break;case"video":case"audio":for(s=0;s<sl.length;s++)_e(sl[s],i);break;case"source":_e("error",i);break;case"img":case"image":case"link":_e("error",i),_e("load",i);break;case"details":_e("toggle",i);break;case"input":_e("invalid",i),Gm(i,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0),oo(i);break;case"select":_e("invalid",i);break;case"textarea":_e("invalid",i),Xm(i,l.value,l.defaultValue,l.children),oo(i)}s=l.children,typeof s!="string"&&typeof s!="number"&&typeof s!="bigint"||i.textContent===""+s||l.suppressHydrationWarning===!0||Hy(i.textContent,s)?(l.popover!=null&&(_e("beforetoggle",i),_e("toggle",i)),l.onScroll!=null&&_e("scroll",i),l.onScrollEnd!=null&&_e("scrollend",i),l.onClick!=null&&(i.onclick=eu),i=!0):i=!1,i||za(t)}function Op(t){for(Qt=t.return;Qt;)switch(Qt.tag){case 3:case 27:ni=!0;return;case 5:case 13:ni=!1;return;default:Qt=Qt.return}}function Lr(t){if(t!==Qt)return!1;if(!Ke)return Op(t),Ke=!0,!1;var i=!1,s;if((s=t.tag!==3&&t.tag!==27)&&((s=t.tag===5)&&(s=t.type,s=!(s!=="form"&&s!=="button")||hf(t.type,t.memoizedProps)),s=!s),s&&(i=!0),i&&Pt&&za(t),Op(t),t.tag===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(r(317));e:{for(t=t.nextSibling,i=0;t;){if(t.nodeType===8)if(s=t.data,s==="/$"){if(i===0){Pt=Kn(t.nextSibling);break e}i--}else s!=="$"&&s!=="$!"&&s!=="$?"||i++;t=t.nextSibling}Pt=null}}else Pt=Qt?Kn(t.stateNode.nextSibling):null;return!0}function kr(){Pt=Qt=null,Ke=!1}function zr(t){Yn===null?Yn=[t]:Yn.push(t)}var Vr=Error(r(460)),Lp=Error(r(474)),Kc={then:function(){}};function kp(t){return t=t.status,t==="fulfilled"||t==="rejected"}function Eo(){}function zp(t,i,s){switch(s=t[s],s===void 0?t.push(i):s!==i&&(i.then(Eo,Eo),i=s),i.status){case"fulfilled":return i.value;case"rejected":throw t=i.reason,t===Vr?Error(r(483)):t;default:if(typeof i.status=="string")i.then(Eo,Eo);else{if(t=at,t!==null&&100<t.shellSuspendCounter)throw Error(r(482));t=i,t.status="pending",t.then(function(l){if(i.status==="pending"){var c=i;c.status="fulfilled",c.value=l}},function(l){if(i.status==="pending"){var c=i;c.status="rejected",c.reason=l}})}switch(i.status){case"fulfilled":return i.value;case"rejected":throw t=i.reason,t===Vr?Error(r(483)):t}throw Br=i,Vr}}var Br=null;function Vp(){if(Br===null)throw Error(r(459));var t=Br;return Br=null,t}var As=null,Ur=0;function To(t){var i=Ur;return Ur+=1,As===null&&(As=[]),zp(As,t,i)}function Pr(t,i){i=i.props.ref,t.ref=i!==void 0?i:null}function jo(t,i){throw i.$$typeof===u?Error(r(525)):(t=Object.prototype.toString.call(i),Error(r(31,t==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":t)))}function Bp(t){var i=t._init;return i(t._payload)}function Up(t){function i(k,O){if(t){var B=k.deletions;B===null?(k.deletions=[O],k.flags|=16):B.push(O)}}function s(k,O){if(!t)return null;for(;O!==null;)i(k,O),O=O.sibling;return null}function l(k){for(var O=new Map;k!==null;)k.key!==null?O.set(k.key,k):O.set(k.index,k),k=k.sibling;return O}function c(k,O){return k=aa(k,O),k.index=0,k.sibling=null,k}function f(k,O,B){return k.index=B,t?(B=k.alternate,B!==null?(B=B.index,B<O?(k.flags|=33554434,O):B):(k.flags|=33554434,O)):(k.flags|=1048576,O)}function v(k){return t&&k.alternate===null&&(k.flags|=33554434),k}function w(k,O,B,K){return O===null||O.tag!==6?(O=_d(B,k.mode,K),O.return=k,O):(O=c(O,B),O.return=k,O)}function T(k,O,B,K){var de=B.type;return de===h?Y(k,O,B.props.children,K,B.key):O!==null&&(O.elementType===de||typeof de=="object"&&de!==null&&de.$$typeof===V&&Bp(de)===O.type)?(O=c(O,B.props),Pr(O,B),O.return=k,O):(O=Fo(B.type,B.key,B.props,null,k.mode,K),Pr(O,B),O.return=k,O)}function L(k,O,B,K){return O===null||O.tag!==4||O.stateNode.containerInfo!==B.containerInfo||O.stateNode.implementation!==B.implementation?(O=qd(B,k.mode,K),O.return=k,O):(O=c(O,B.children||[]),O.return=k,O)}function Y(k,O,B,K,de){return O===null||O.tag!==7?(O=Ya(B,k.mode,K,de),O.return=k,O):(O=c(O,B),O.return=k,O)}function Z(k,O,B){if(typeof O=="string"&&O!==""||typeof O=="number"||typeof O=="bigint")return O=_d(""+O,k.mode,B),O.return=k,O;if(typeof O=="object"&&O!==null){switch(O.$$typeof){case d:return B=Fo(O.type,O.key,O.props,null,k.mode,B),Pr(B,O),B.return=k,B;case m:return O=qd(O,k.mode,B),O.return=k,O;case V:var K=O._init;return O=K(O._payload),Z(k,O,B)}if(ue(O)||C(O))return O=Ya(O,k.mode,B,null),O.return=k,O;if(typeof O.then=="function")return Z(k,To(O),B);if(O.$$typeof===S)return Z(k,Ho(k,O),B);jo(k,O)}return null}function U(k,O,B,K){var de=O!==null?O.key:null;if(typeof B=="string"&&B!==""||typeof B=="number"||typeof B=="bigint")return de!==null?null:w(k,O,""+B,K);if(typeof B=="object"&&B!==null){switch(B.$$typeof){case d:return B.key===de?T(k,O,B,K):null;case m:return B.key===de?L(k,O,B,K):null;case V:return de=B._init,B=de(B._payload),U(k,O,B,K)}if(ue(B)||C(B))return de!==null?null:Y(k,O,B,K,null);if(typeof B.then=="function")return U(k,O,To(B),K);if(B.$$typeof===S)return U(k,O,Ho(k,B),K);jo(k,B)}return null}function $(k,O,B,K,de){if(typeof K=="string"&&K!==""||typeof K=="number"||typeof K=="bigint")return k=k.get(B)||null,w(O,k,""+K,de);if(typeof K=="object"&&K!==null){switch(K.$$typeof){case d:return k=k.get(K.key===null?B:K.key)||null,T(O,k,K,de);case m:return k=k.get(K.key===null?B:K.key)||null,L(O,k,K,de);case V:var Be=K._init;return K=Be(K._payload),$(k,O,B,K,de)}if(ue(K)||C(K))return k=k.get(B)||null,Y(O,k,K,de,null);if(typeof K.then=="function")return $(k,O,B,To(K),de);if(K.$$typeof===S)return $(k,O,B,Ho(O,K),de);jo(O,K)}return null}function ge(k,O,B,K){for(var de=null,Be=null,xe=O,je=O=0,Lt=null;xe!==null&&je<B.length;je++){xe.index>je?(Lt=xe,xe=null):Lt=xe.sibling;var Xe=U(k,xe,B[je],K);if(Xe===null){xe===null&&(xe=Lt);break}t&&xe&&Xe.alternate===null&&i(k,xe),O=f(Xe,O,je),Be===null?de=Xe:Be.sibling=Xe,Be=Xe,xe=Lt}if(je===B.length)return s(k,xe),Ke&&ka(k,je),de;if(xe===null){for(;je<B.length;je++)xe=Z(k,B[je],K),xe!==null&&(O=f(xe,O,je),Be===null?de=xe:Be.sibling=xe,Be=xe);return Ke&&ka(k,je),de}for(xe=l(xe);je<B.length;je++)Lt=$(xe,k,je,B[je],K),Lt!==null&&(t&&Lt.alternate!==null&&xe.delete(Lt.key===null?je:Lt.key),O=f(Lt,O,je),Be===null?de=Lt:Be.sibling=Lt,Be=Lt);return t&&xe.forEach(function(da){return i(k,da)}),Ke&&ka(k,je),de}function Ne(k,O,B,K){if(B==null)throw Error(r(151));for(var de=null,Be=null,xe=O,je=O=0,Lt=null,Xe=B.next();xe!==null&&!Xe.done;je++,Xe=B.next()){xe.index>je?(Lt=xe,xe=null):Lt=xe.sibling;var da=U(k,xe,Xe.value,K);if(da===null){xe===null&&(xe=Lt);break}t&&xe&&da.alternate===null&&i(k,xe),O=f(da,O,je),Be===null?de=da:Be.sibling=da,Be=da,xe=Lt}if(Xe.done)return s(k,xe),Ke&&ka(k,je),de;if(xe===null){for(;!Xe.done;je++,Xe=B.next())Xe=Z(k,Xe.value,K),Xe!==null&&(O=f(Xe,O,je),Be===null?de=Xe:Be.sibling=Xe,Be=Xe);return Ke&&ka(k,je),de}for(xe=l(xe);!Xe.done;je++,Xe=B.next())Xe=$(xe,k,je,Xe.value,K),Xe!==null&&(t&&Xe.alternate!==null&&xe.delete(Xe.key===null?je:Xe.key),O=f(Xe,O,je),Be===null?de=Xe:Be.sibling=Xe,Be=Xe);return t&&xe.forEach(function(e5){return i(k,e5)}),Ke&&ka(k,je),de}function vt(k,O,B,K){if(typeof B=="object"&&B!==null&&B.type===h&&B.key===null&&(B=B.props.children),typeof B=="object"&&B!==null){switch(B.$$typeof){case d:e:{for(var de=B.key;O!==null;){if(O.key===de){if(de=B.type,de===h){if(O.tag===7){s(k,O.sibling),K=c(O,B.props.children),K.return=k,k=K;break e}}else if(O.elementType===de||typeof de=="object"&&de!==null&&de.$$typeof===V&&Bp(de)===O.type){s(k,O.sibling),K=c(O,B.props),Pr(K,B),K.return=k,k=K;break e}s(k,O);break}else i(k,O);O=O.sibling}B.type===h?(K=Ya(B.props.children,k.mode,K,B.key),K.return=k,k=K):(K=Fo(B.type,B.key,B.props,null,k.mode,K),Pr(K,B),K.return=k,k=K)}return v(k);case m:e:{for(de=B.key;O!==null;){if(O.key===de)if(O.tag===4&&O.stateNode.containerInfo===B.containerInfo&&O.stateNode.implementation===B.implementation){s(k,O.sibling),K=c(O,B.children||[]),K.return=k,k=K;break e}else{s(k,O);break}else i(k,O);O=O.sibling}K=qd(B,k.mode,K),K.return=k,k=K}return v(k);case V:return de=B._init,B=de(B._payload),vt(k,O,B,K)}if(ue(B))return ge(k,O,B,K);if(C(B)){if(de=C(B),typeof de!="function")throw Error(r(150));return B=de.call(B),Ne(k,O,B,K)}if(typeof B.then=="function")return vt(k,O,To(B),K);if(B.$$typeof===S)return vt(k,O,Ho(k,B),K);jo(k,B)}return typeof B=="string"&&B!==""||typeof B=="number"||typeof B=="bigint"?(B=""+B,O!==null&&O.tag===6?(s(k,O.sibling),K=c(O,B),K.return=k,k=K):(s(k,O),K=_d(B,k.mode,K),K.return=k,k=K),v(k)):s(k,O)}return function(k,O,B,K){try{Ur=0;var de=vt(k,O,B,K);return As=null,de}catch(xe){if(xe===Vr)throw xe;var Be=kn(29,xe,null,k.mode);return Be.lanes=K,Be.return=k,Be}finally{}}}var Va=Up(!0),Pp=Up(!1),Rs=Pe(null),Co=Pe(0);function Hp(t,i){t=ki,ke(Co,t),ke(Rs,i),ki=t|i.baseLanes}function Xc(){ke(Co,ki),ke(Rs,Rs.current)}function Ic(){ki=Co.current,et(Rs),et(Co)}var Dn=Pe(null),ii=null;function Ki(t){var i=t.alternate;ke(Rt,Rt.current&1),ke(Dn,t),ii===null&&(i===null||Rs.current!==null||i.memoizedState!==null)&&(ii=t)}function _p(t){if(t.tag===22){if(ke(Rt,Rt.current),ke(Dn,t),ii===null){var i=t.alternate;i!==null&&i.memoizedState!==null&&(ii=t)}}else Xi()}function Xi(){ke(Rt,Rt.current),ke(Dn,Dn.current)}function Ti(t){et(Dn),ii===t&&(ii=null),et(Rt)}var Rt=Pe(0);function Ao(t){for(var i=t;i!==null;){if(i.tag===13){var s=i.memoizedState;if(s!==null&&(s=s.dehydrated,s===null||s.data==="$?"||s.data==="$!"))return i}else if(i.tag===19&&i.memoizedProps.revealOrder!==void 0){if(i.flags&128)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===t)break;for(;i.sibling===null;){if(i.return===null||i.return===t)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}var _2=typeof AbortController<"u"?AbortController:function(){var t=[],i=this.signal={aborted:!1,addEventListener:function(s,l){t.push(l)}};this.abort=function(){i.aborted=!0,t.forEach(function(s){return s()})}},q2=e.unstable_scheduleCallback,F2=e.unstable_NormalPriority,Mt={$$typeof:S,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Zc(){return{controller:new _2,data:new Map,refCount:0}}function Hr(t){t.refCount--,t.refCount===0&&q2(F2,function(){t.controller.abort()})}var _r=null,Qc=0,Ms=0,Ns=null;function $2(t,i){if(_r===null){var s=_r=[];Qc=0,Ms=af(),Ns={status:"pending",value:void 0,then:function(l){s.push(l)}}}return Qc++,i.then(qp,qp),i}function qp(){if(--Qc===0&&_r!==null){Ns!==null&&(Ns.status="fulfilled");var t=_r;_r=null,Ms=0,Ns=null;for(var i=0;i<t.length;i++)(0,t[i])()}}function Y2(t,i){var s=[],l={status:"pending",value:null,reason:null,then:function(c){s.push(c)}};return t.then(function(){l.status="fulfilled",l.value=i;for(var c=0;c<s.length;c++)(0,s[c])(i)},function(c){for(l.status="rejected",l.reason=c,c=0;c<s.length;c++)(0,s[c])(void 0)}),l}var Fp=F.S;F.S=function(t,i){typeof i=="object"&&i!==null&&typeof i.then=="function"&&$2(t,i),Fp!==null&&Fp(t,i)};var Ba=Pe(null);function Jc(){var t=Ba.current;return t!==null?t:at.pooledCache}function Ro(t,i){i===null?ke(Ba,Ba.current):ke(Ba,i.pool)}function $p(){var t=Jc();return t===null?null:{parent:Mt._currentValue,pool:t}}var Ii=0,Ve=null,Qe=null,jt=null,Mo=!1,Ds=!1,Ua=!1,No=0,qr=0,Os=null,G2=0;function wt(){throw Error(r(321))}function Wc(t,i){if(i===null)return!1;for(var s=0;s<i.length&&s<t.length;s++)if(!dn(t[s],i[s]))return!1;return!0}function ed(t,i,s,l,c,f){return Ii=f,Ve=i,i.memoizedState=null,i.updateQueue=null,i.lanes=0,F.H=t===null||t.memoizedState===null?Pa:Zi,Ua=!1,f=s(l,c),Ua=!1,Ds&&(f=Gp(i,s,l,c)),Yp(t),f}function Yp(t){F.H=ai;var i=Qe!==null&&Qe.next!==null;if(Ii=0,jt=Qe=Ve=null,Mo=!1,qr=0,Os=null,i)throw Error(r(300));t===null||Dt||(t=t.dependencies,t!==null&&Po(t)&&(Dt=!0))}function Gp(t,i,s,l){Ve=t;var c=0;do{if(Ds&&(Os=null),qr=0,Ds=!1,25<=c)throw Error(r(301));if(c+=1,jt=Qe=null,t.updateQueue!=null){var f=t.updateQueue;f.lastEffect=null,f.events=null,f.stores=null,f.memoCache!=null&&(f.memoCache.index=0)}F.H=Ha,f=i(s,l)}while(Ds);return f}function K2(){var t=F.H,i=t.useState()[0];return i=typeof i.then=="function"?Fr(i):i,t=t.useState()[0],(Qe!==null?Qe.memoizedState:null)!==t&&(Ve.flags|=1024),i}function td(){var t=No!==0;return No=0,t}function nd(t,i,s){i.updateQueue=t.updateQueue,i.flags&=-2053,t.lanes&=~s}function id(t){if(Mo){for(t=t.memoizedState;t!==null;){var i=t.queue;i!==null&&(i.pending=null),t=t.next}Mo=!1}Ii=0,jt=Qe=Ve=null,Ds=!1,qr=No=0,Os=null}function on(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return jt===null?Ve.memoizedState=jt=t:jt=jt.next=t,jt}function Ct(){if(Qe===null){var t=Ve.alternate;t=t!==null?t.memoizedState:null}else t=Qe.next;var i=jt===null?Ve.memoizedState:jt.next;if(i!==null)jt=i,Qe=t;else{if(t===null)throw Ve.alternate===null?Error(r(467)):Error(r(310));Qe=t,t={memoizedState:Qe.memoizedState,baseState:Qe.baseState,baseQueue:Qe.baseQueue,queue:Qe.queue,next:null},jt===null?Ve.memoizedState=jt=t:jt=jt.next=t}return jt}var Do;Do=function(){return{lastEffect:null,events:null,stores:null,memoCache:null}};function Fr(t){var i=qr;return qr+=1,Os===null&&(Os=[]),t=zp(Os,t,i),i=Ve,(jt===null?i.memoizedState:jt.next)===null&&(i=i.alternate,F.H=i===null||i.memoizedState===null?Pa:Zi),t}function Oo(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Fr(t);if(t.$$typeof===S)return Yt(t)}throw Error(r(438,String(t)))}function ad(t){var i=null,s=Ve.updateQueue;if(s!==null&&(i=s.memoCache),i==null){var l=Ve.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(i={data:l.data.map(function(c){return c.slice()}),index:0})))}if(i==null&&(i={data:[],index:0}),s===null&&(s=Do(),Ve.updateQueue=s),s.memoCache=i,s=i.data[i.index],s===void 0)for(s=i.data[i.index]=Array(t),l=0;l<t;l++)s[l]=J;return i.index++,s}function ji(t,i){return typeof i=="function"?i(t):i}function Lo(t){var i=Ct();return sd(i,Qe,t)}function sd(t,i,s){var l=t.queue;if(l===null)throw Error(r(311));l.lastRenderedReducer=s;var c=t.baseQueue,f=l.pending;if(f!==null){if(c!==null){var v=c.next;c.next=f.next,f.next=v}i.baseQueue=c=f,l.pending=null}if(f=t.baseState,c===null)t.memoizedState=f;else{i=c.next;var w=v=null,T=null,L=i,Y=!1;do{var Z=L.lane&-536870913;if(Z!==L.lane?(Ye&Z)===Z:(Ii&Z)===Z){var U=L.revertLane;if(U===0)T!==null&&(T=T.next={lane:0,revertLane:0,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null}),Z===Ms&&(Y=!0);else if((Ii&U)===U){L=L.next,U===Ms&&(Y=!0);continue}else Z={lane:0,revertLane:L.revertLane,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null},T===null?(w=T=Z,v=f):T=T.next=Z,Ve.lanes|=U,sa|=U;Z=L.action,Ua&&s(f,Z),f=L.hasEagerState?L.eagerState:s(f,Z)}else U={lane:Z,revertLane:L.revertLane,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null},T===null?(w=T=U,v=f):T=T.next=U,Ve.lanes|=Z,sa|=Z;L=L.next}while(L!==null&&L!==i);if(T===null?v=f:T.next=w,!dn(f,t.memoizedState)&&(Dt=!0,Y&&(s=Ns,s!==null)))throw s;t.memoizedState=f,t.baseState=v,t.baseQueue=T,l.lastRenderedState=f}return c===null&&(l.lanes=0),[t.memoizedState,l.dispatch]}function rd(t){var i=Ct(),s=i.queue;if(s===null)throw Error(r(311));s.lastRenderedReducer=t;var l=s.dispatch,c=s.pending,f=i.memoizedState;if(c!==null){s.pending=null;var v=c=c.next;do f=t(f,v.action),v=v.next;while(v!==c);dn(f,i.memoizedState)||(Dt=!0),i.memoizedState=f,i.baseQueue===null&&(i.baseState=f),s.lastRenderedState=f}return[f,l]}function Kp(t,i,s){var l=Ve,c=Ct(),f=Ke;if(f){if(s===void 0)throw Error(r(407));s=s()}else s=i();var v=!dn((Qe||c).memoizedState,s);if(v&&(c.memoizedState=s,Dt=!0),c=c.queue,ud(Zp.bind(null,l,c,t),[t]),c.getSnapshot!==i||v||jt!==null&&jt.memoizedState.tag&1){if(l.flags|=2048,Ls(9,Ip.bind(null,l,c,s,i),{destroy:void 0},null),at===null)throw Error(r(349));f||Ii&60||Xp(l,i,s)}return s}function Xp(t,i,s){t.flags|=16384,t={getSnapshot:i,value:s},i=Ve.updateQueue,i===null?(i=Do(),Ve.updateQueue=i,i.stores=[t]):(s=i.stores,s===null?i.stores=[t]:s.push(t))}function Ip(t,i,s,l){i.value=s,i.getSnapshot=l,Qp(i)&&Jp(t)}function Zp(t,i,s){return s(function(){Qp(i)&&Jp(t)})}function Qp(t){var i=t.getSnapshot;t=t.value;try{var s=i();return!dn(t,s)}catch{return!0}}function Jp(t){var i=Gi(t,2);i!==null&&Jt(i,t,2)}function ld(t){var i=on();if(typeof t=="function"){var s=t;if(t=s(),Ua){Fn(!0);try{s()}finally{Fn(!1)}}}return i.memoizedState=i.baseState=t,i.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ji,lastRenderedState:t},i}function Wp(t,i,s,l){return t.baseState=s,sd(t,Qe,typeof l=="function"?l:ji)}function X2(t,i,s,l,c){if(Vo(t))throw Error(r(485));if(t=i.action,t!==null){var f={payload:c,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(v){f.listeners.push(v)}};F.T!==null?s(!0):f.isTransition=!1,l(f),s=i.pending,s===null?(f.next=i.pending=f,eg(i,f)):(f.next=s.next,i.pending=s.next=f)}}function eg(t,i){var s=i.action,l=i.payload,c=t.state;if(i.isTransition){var f=F.T,v={};F.T=v;try{var w=s(c,l),T=F.S;T!==null&&T(v,w),tg(t,i,w)}catch(L){od(t,i,L)}finally{F.T=f}}else try{f=s(c,l),tg(t,i,f)}catch(L){od(t,i,L)}}function tg(t,i,s){s!==null&&typeof s=="object"&&typeof s.then=="function"?s.then(function(l){ng(t,i,l)},function(l){return od(t,i,l)}):ng(t,i,s)}function ng(t,i,s){i.status="fulfilled",i.value=s,ig(i),t.state=s,i=t.pending,i!==null&&(s=i.next,s===i?t.pending=null:(s=s.next,i.next=s,eg(t,s)))}function od(t,i,s){var l=t.pending;if(t.pending=null,l!==null){l=l.next;do i.status="rejected",i.reason=s,ig(i),i=i.next;while(i!==l)}t.action=null}function ig(t){t=t.listeners;for(var i=0;i<t.length;i++)(0,t[i])()}function ag(t,i){return i}function sg(t,i){if(Ke){var s=at.formState;if(s!==null){e:{var l=Ve;if(Ke){if(Pt){t:{for(var c=Pt,f=ni;c.nodeType!==8;){if(!f){c=null;break t}if(c=Kn(c.nextSibling),c===null){c=null;break t}}f=c.data,c=f==="F!"||f==="F"?c:null}if(c){Pt=Kn(c.nextSibling),l=c.data==="F!";break e}}za(l)}l=!1}l&&(i=s[0])}}return s=on(),s.memoizedState=s.baseState=i,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ag,lastRenderedState:i},s.queue=l,s=Eg.bind(null,Ve,l),l.dispatch=s,l=ld(!1),f=md.bind(null,Ve,!1,l.queue),l=on(),c={state:i,dispatch:null,action:t,pending:null},l.queue=c,s=X2.bind(null,Ve,c,f,s),c.dispatch=s,l.memoizedState=t,[i,s,!1]}function rg(t){var i=Ct();return lg(i,Qe,t)}function lg(t,i,s){i=sd(t,i,ag)[0],t=Lo(ji)[0],i=typeof i=="object"&&i!==null&&typeof i.then=="function"?Fr(i):i;var l=Ct(),c=l.queue,f=c.dispatch;return s!==l.memoizedState&&(Ve.flags|=2048,Ls(9,I2.bind(null,c,s),{destroy:void 0},null)),[i,f,t]}function I2(t,i){t.action=i}function og(t){var i=Ct(),s=Qe;if(s!==null)return lg(i,s,t);Ct(),i=i.memoizedState,s=Ct();var l=s.queue.dispatch;return s.memoizedState=t,[i,l,!1]}function Ls(t,i,s,l){return t={tag:t,create:i,inst:s,deps:l,next:null},i=Ve.updateQueue,i===null&&(i=Do(),Ve.updateQueue=i),s=i.lastEffect,s===null?i.lastEffect=t.next=t:(l=s.next,s.next=t,t.next=l,i.lastEffect=t),t}function ug(){return Ct().memoizedState}function ko(t,i,s,l){var c=on();Ve.flags|=t,c.memoizedState=Ls(1|i,s,{destroy:void 0},l===void 0?null:l)}function zo(t,i,s,l){var c=Ct();l=l===void 0?null:l;var f=c.memoizedState.inst;Qe!==null&&l!==null&&Wc(l,Qe.memoizedState.deps)?c.memoizedState=Ls(i,s,f,l):(Ve.flags|=t,c.memoizedState=Ls(1|i,s,f,l))}function cg(t,i){ko(8390656,8,t,i)}function ud(t,i){zo(2048,8,t,i)}function dg(t,i){return zo(4,2,t,i)}function fg(t,i){return zo(4,4,t,i)}function hg(t,i){if(typeof i=="function"){t=t();var s=i(t);return function(){typeof s=="function"?s():i(null)}}if(i!=null)return t=t(),i.current=t,function(){i.current=null}}function mg(t,i,s){s=s!=null?s.concat([t]):null,zo(4,4,hg.bind(null,i,t),s)}function cd(){}function pg(t,i){var s=Ct();i=i===void 0?null:i;var l=s.memoizedState;return i!==null&&Wc(i,l[1])?l[0]:(s.memoizedState=[t,i],t)}function gg(t,i){var s=Ct();i=i===void 0?null:i;var l=s.memoizedState;if(i!==null&&Wc(i,l[1]))return l[0];if(l=t(),Ua){Fn(!0);try{t()}finally{Fn(!1)}}return s.memoizedState=[l,i],l}function dd(t,i,s){return s===void 0||Ii&1073741824?t.memoizedState=i:(t.memoizedState=s,t=vy(),Ve.lanes|=t,sa|=t,s)}function yg(t,i,s,l){return dn(s,i)?s:Rs.current!==null?(t=dd(t,s,l),dn(t,i)||(Dt=!0),t):Ii&42?(t=vy(),Ve.lanes|=t,sa|=t,i):(Dt=!0,t.memoizedState=s)}function vg(t,i,s,l,c){var f=ie.p;ie.p=f!==0&&8>f?f:8;var v=F.T,w={};F.T=w,md(t,!1,i,s);try{var T=c(),L=F.S;if(L!==null&&L(w,T),T!==null&&typeof T=="object"&&typeof T.then=="function"){var Y=Y2(T,l);$r(t,i,Y,pn(t))}else $r(t,i,l,pn(t))}catch(Z){$r(t,i,{then:function(){},status:"rejected",reason:Z},pn())}finally{ie.p=f,F.T=v}}function Z2(){}function fd(t,i,s,l){if(t.tag!==5)throw Error(r(476));var c=xg(t).queue;vg(t,c,i,De,s===null?Z2:function(){return bg(t),s(l)})}function xg(t){var i=t.memoizedState;if(i!==null)return i;i={memoizedState:De,baseState:De,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ji,lastRenderedState:De},next:null};var s={};return i.next={memoizedState:s,baseState:s,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ji,lastRenderedState:s},next:null},t.memoizedState=i,t=t.alternate,t!==null&&(t.memoizedState=i),i}function bg(t){var i=xg(t).next.queue;$r(t,i,{},pn())}function hd(){return Yt(cl)}function wg(){return Ct().memoizedState}function Sg(){return Ct().memoizedState}function Q2(t){for(var i=t.return;i!==null;){switch(i.tag){case 24:case 3:var s=pn();t=Wi(s);var l=ea(i,t,s);l!==null&&(Jt(l,i,s),Kr(l,i,s)),i={cache:Zc()},t.payload=i;return}i=i.return}}function J2(t,i,s){var l=pn();s={lane:l,revertLane:0,action:s,hasEagerState:!1,eagerState:null,next:null},Vo(t)?Tg(i,s):(s=Fc(t,i,s,l),s!==null&&(Jt(s,t,l),jg(s,i,l)))}function Eg(t,i,s){var l=pn();$r(t,i,s,l)}function $r(t,i,s,l){var c={lane:l,revertLane:0,action:s,hasEagerState:!1,eagerState:null,next:null};if(Vo(t))Tg(i,c);else{var f=t.alternate;if(t.lanes===0&&(f===null||f.lanes===0)&&(f=i.lastRenderedReducer,f!==null))try{var v=i.lastRenderedState,w=f(v,s);if(c.hasEagerState=!0,c.eagerState=w,dn(w,v))return xo(t,i,c,0),at===null&&vo(),!1}catch{}finally{}if(s=Fc(t,i,c,l),s!==null)return Jt(s,t,l),jg(s,i,l),!0}return!1}function md(t,i,s,l){if(l={lane:2,revertLane:af(),action:l,hasEagerState:!1,eagerState:null,next:null},Vo(t)){if(i)throw Error(r(479))}else i=Fc(t,s,l,2),i!==null&&Jt(i,t,2)}function Vo(t){var i=t.alternate;return t===Ve||i!==null&&i===Ve}function Tg(t,i){Ds=Mo=!0;var s=t.pending;s===null?i.next=i:(i.next=s.next,s.next=i),t.pending=i}function jg(t,i,s){if(s&4194176){var l=i.lanes;l&=t.pendingLanes,s|=l,i.lanes=s,ve(t,s)}}var ai={readContext:Yt,use:Oo,useCallback:wt,useContext:wt,useEffect:wt,useImperativeHandle:wt,useLayoutEffect:wt,useInsertionEffect:wt,useMemo:wt,useReducer:wt,useRef:wt,useState:wt,useDebugValue:wt,useDeferredValue:wt,useTransition:wt,useSyncExternalStore:wt,useId:wt};ai.useCacheRefresh=wt,ai.useMemoCache=wt,ai.useHostTransitionStatus=wt,ai.useFormState=wt,ai.useActionState=wt,ai.useOptimistic=wt;var Pa={readContext:Yt,use:Oo,useCallback:function(t,i){return on().memoizedState=[t,i===void 0?null:i],t},useContext:Yt,useEffect:cg,useImperativeHandle:function(t,i,s){s=s!=null?s.concat([t]):null,ko(4194308,4,hg.bind(null,i,t),s)},useLayoutEffect:function(t,i){return ko(4194308,4,t,i)},useInsertionEffect:function(t,i){ko(4,2,t,i)},useMemo:function(t,i){var s=on();i=i===void 0?null:i;var l=t();if(Ua){Fn(!0);try{t()}finally{Fn(!1)}}return s.memoizedState=[l,i],l},useReducer:function(t,i,s){var l=on();if(s!==void 0){var c=s(i);if(Ua){Fn(!0);try{s(i)}finally{Fn(!1)}}}else c=i;return l.memoizedState=l.baseState=c,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:c},l.queue=t,t=t.dispatch=J2.bind(null,Ve,t),[l.memoizedState,t]},useRef:function(t){var i=on();return t={current:t},i.memoizedState=t},useState:function(t){t=ld(t);var i=t.queue,s=Eg.bind(null,Ve,i);return i.dispatch=s,[t.memoizedState,s]},useDebugValue:cd,useDeferredValue:function(t,i){var s=on();return dd(s,t,i)},useTransition:function(){var t=ld(!1);return t=vg.bind(null,Ve,t.queue,!0,!1),on().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,i,s){var l=Ve,c=on();if(Ke){if(s===void 0)throw Error(r(407));s=s()}else{if(s=i(),at===null)throw Error(r(349));Ye&60||Xp(l,i,s)}c.memoizedState=s;var f={value:s,getSnapshot:i};return c.queue=f,cg(Zp.bind(null,l,f,t),[t]),l.flags|=2048,Ls(9,Ip.bind(null,l,f,s,i),{destroy:void 0},null),s},useId:function(){var t=on(),i=at.identifierPrefix;if(Ke){var s=Ei,l=Si;s=(l&~(1<<32-Nt(l)-1)).toString(32)+s,i=":"+i+"R"+s,s=No++,0<s&&(i+="H"+s.toString(32)),i+=":"}else s=G2++,i=":"+i+"r"+s.toString(32)+":";return t.memoizedState=i},useCacheRefresh:function(){return on().memoizedState=Q2.bind(null,Ve)}};Pa.useMemoCache=ad,Pa.useHostTransitionStatus=hd,Pa.useFormState=sg,Pa.useActionState=sg,Pa.useOptimistic=function(t){var i=on();i.memoizedState=i.baseState=t;var s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return i.queue=s,i=md.bind(null,Ve,!0,s),s.dispatch=i,[t,i]};var Zi={readContext:Yt,use:Oo,useCallback:pg,useContext:Yt,useEffect:ud,useImperativeHandle:mg,useInsertionEffect:dg,useLayoutEffect:fg,useMemo:gg,useReducer:Lo,useRef:ug,useState:function(){return Lo(ji)},useDebugValue:cd,useDeferredValue:function(t,i){var s=Ct();return yg(s,Qe.memoizedState,t,i)},useTransition:function(){var t=Lo(ji)[0],i=Ct().memoizedState;return[typeof t=="boolean"?t:Fr(t),i]},useSyncExternalStore:Kp,useId:wg};Zi.useCacheRefresh=Sg,Zi.useMemoCache=ad,Zi.useHostTransitionStatus=hd,Zi.useFormState=rg,Zi.useActionState=rg,Zi.useOptimistic=function(t,i){var s=Ct();return Wp(s,Qe,t,i)};var Ha={readContext:Yt,use:Oo,useCallback:pg,useContext:Yt,useEffect:ud,useImperativeHandle:mg,useInsertionEffect:dg,useLayoutEffect:fg,useMemo:gg,useReducer:rd,useRef:ug,useState:function(){return rd(ji)},useDebugValue:cd,useDeferredValue:function(t,i){var s=Ct();return Qe===null?dd(s,t,i):yg(s,Qe.memoizedState,t,i)},useTransition:function(){var t=rd(ji)[0],i=Ct().memoizedState;return[typeof t=="boolean"?t:Fr(t),i]},useSyncExternalStore:Kp,useId:wg};Ha.useCacheRefresh=Sg,Ha.useMemoCache=ad,Ha.useHostTransitionStatus=hd,Ha.useFormState=og,Ha.useActionState=og,Ha.useOptimistic=function(t,i){var s=Ct();return Qe!==null?Wp(s,Qe,t,i):(s.baseState=t,[t,s.queue.dispatch])};function pd(t,i,s,l){i=t.memoizedState,s=s(l,i),s=s==null?i:te({},i,s),t.memoizedState=s,t.lanes===0&&(t.updateQueue.baseState=s)}var gd={isMounted:function(t){return(t=t._reactInternals)?W(t)===t:!1},enqueueSetState:function(t,i,s){t=t._reactInternals;var l=pn(),c=Wi(l);c.payload=i,s!=null&&(c.callback=s),i=ea(t,c,l),i!==null&&(Jt(i,t,l),Kr(i,t,l))},enqueueReplaceState:function(t,i,s){t=t._reactInternals;var l=pn(),c=Wi(l);c.tag=1,c.payload=i,s!=null&&(c.callback=s),i=ea(t,c,l),i!==null&&(Jt(i,t,l),Kr(i,t,l))},enqueueForceUpdate:function(t,i){t=t._reactInternals;var s=pn(),l=Wi(s);l.tag=2,i!=null&&(l.callback=i),i=ea(t,l,s),i!==null&&(Jt(i,t,s),Kr(i,t,s))}};function Cg(t,i,s,l,c,f,v){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(l,f,v):i.prototype&&i.prototype.isPureReactComponent?!Dr(s,l)||!Dr(c,f):!0}function Ag(t,i,s,l){t=i.state,typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps(s,l),typeof i.UNSAFE_componentWillReceiveProps=="function"&&i.UNSAFE_componentWillReceiveProps(s,l),i.state!==t&&gd.enqueueReplaceState(i,i.state,null)}function _a(t,i){var s=i;if("ref"in i){s={};for(var l in i)l!=="ref"&&(s[l]=i[l])}if(t=t.defaultProps){s===i&&(s=te({},s));for(var c in t)s[c]===void 0&&(s[c]=t[c])}return s}var Bo=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var i=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(i))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)};function Rg(t){Bo(t)}function Mg(t){console.error(t)}function Ng(t){Bo(t)}function Uo(t,i){try{var s=t.onUncaughtError;s(i.value,{componentStack:i.stack})}catch(l){setTimeout(function(){throw l})}}function Dg(t,i,s){try{var l=t.onCaughtError;l(s.value,{componentStack:s.stack,errorBoundary:i.tag===1?i.stateNode:null})}catch(c){setTimeout(function(){throw c})}}function yd(t,i,s){return s=Wi(s),s.tag=3,s.payload={element:null},s.callback=function(){Uo(t,i)},s}function Og(t){return t=Wi(t),t.tag=3,t}function Lg(t,i,s,l){var c=s.type.getDerivedStateFromError;if(typeof c=="function"){var f=l.value;t.payload=function(){return c(f)},t.callback=function(){Dg(i,s,l)}}var v=s.stateNode;v!==null&&typeof v.componentDidCatch=="function"&&(t.callback=function(){Dg(i,s,l),typeof c!="function"&&(ra===null?ra=new Set([this]):ra.add(this));var w=l.stack;this.componentDidCatch(l.value,{componentStack:w!==null?w:""})})}function W2(t,i,s,l,c){if(s.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(i=s.alternate,i!==null&&Gr(i,s,c,!0),s=Dn.current,s!==null){switch(s.tag){case 13:return ii===null?Jd():s.alternate===null&&yt===0&&(yt=3),s.flags&=-257,s.flags|=65536,s.lanes=c,l===Kc?s.flags|=16384:(i=s.updateQueue,i===null?s.updateQueue=new Set([l]):i.add(l),ef(t,l,c)),!1;case 22:return s.flags|=65536,l===Kc?s.flags|=16384:(i=s.updateQueue,i===null?(i={transitions:null,markerInstances:null,retryQueue:new Set([l])},s.updateQueue=i):(s=i.retryQueue,s===null?i.retryQueue=new Set([l]):s.add(l)),ef(t,l,c)),!1}throw Error(r(435,s.tag))}return ef(t,l,c),Jd(),!1}if(Ke)return i=Dn.current,i!==null?(!(i.flags&65536)&&(i.flags|=256),i.flags|=65536,i.lanes=c,l!==Gc&&(t=Error(r(422),{cause:l}),zr(Rn(t,s)))):(l!==Gc&&(i=Error(r(423),{cause:l}),zr(Rn(i,s))),t=t.current.alternate,t.flags|=65536,c&=-c,t.lanes|=c,l=Rn(l,s),c=yd(t.stateNode,l,c),Od(t,c),yt!==4&&(yt=2)),!1;var f=Error(r(520),{cause:l});if(f=Rn(f,s),tl===null?tl=[f]:tl.push(f),yt!==4&&(yt=2),i===null)return!0;l=Rn(l,s),s=i;do{switch(s.tag){case 3:return s.flags|=65536,t=c&-c,s.lanes|=t,t=yd(s.stateNode,l,t),Od(s,t),!1;case 1:if(i=s.type,f=s.stateNode,(s.flags&128)===0&&(typeof i.getDerivedStateFromError=="function"||f!==null&&typeof f.componentDidCatch=="function"&&(ra===null||!ra.has(f))))return s.flags|=65536,c&=-c,s.lanes|=c,c=Og(c),Lg(c,t,s,l),Od(s,c),!1}s=s.return}while(s!==null);return!1}var kg=Error(r(461)),Dt=!1;function Ht(t,i,s,l){i.child=t===null?Pp(i,null,s,l):Va(i,t.child,s,l)}function zg(t,i,s,l,c){s=s.render;var f=i.ref;if("ref"in l){var v={};for(var w in l)w!=="ref"&&(v[w]=l[w])}else v=l;return Fa(i),l=ed(t,i,s,v,f,c),w=td(),t!==null&&!Dt?(nd(t,i,c),Ci(t,i,c)):(Ke&&w&&$c(i),i.flags|=1,Ht(t,i,l,c),i.child)}function Vg(t,i,s,l,c){if(t===null){var f=s.type;return typeof f=="function"&&!Hd(f)&&f.defaultProps===void 0&&s.compare===null?(i.tag=15,i.type=f,Bg(t,i,f,l,c)):(t=Fo(s.type,null,l,i,i.mode,c),t.ref=i.ref,t.return=i,i.child=t)}if(f=t.child,!Cd(t,c)){var v=f.memoizedProps;if(s=s.compare,s=s!==null?s:Dr,s(v,l)&&t.ref===i.ref)return Ci(t,i,c)}return i.flags|=1,t=aa(f,l),t.ref=i.ref,t.return=i,i.child=t}function Bg(t,i,s,l,c){if(t!==null){var f=t.memoizedProps;if(Dr(f,l)&&t.ref===i.ref)if(Dt=!1,i.pendingProps=l=f,Cd(t,c))t.flags&131072&&(Dt=!0);else return i.lanes=t.lanes,Ci(t,i,c)}return vd(t,i,s,l,c)}function Ug(t,i,s){var l=i.pendingProps,c=l.children,f=(i.stateNode._pendingVisibility&2)!==0,v=t!==null?t.memoizedState:null;if(Yr(t,i),l.mode==="hidden"||f){if(i.flags&128){if(l=v!==null?v.baseLanes|s:s,t!==null){for(c=i.child=t.child,f=0;c!==null;)f=f|c.lanes|c.childLanes,c=c.sibling;i.childLanes=f&~l}else i.childLanes=0,i.child=null;return Pg(t,i,l,s)}if(s&536870912)i.memoizedState={baseLanes:0,cachePool:null},t!==null&&Ro(i,v!==null?v.cachePool:null),v!==null?Hp(i,v):Xc(),_p(i);else return i.lanes=i.childLanes=536870912,Pg(t,i,v!==null?v.baseLanes|s:s,s)}else v!==null?(Ro(i,v.cachePool),Hp(i,v),Xi(),i.memoizedState=null):(t!==null&&Ro(i,null),Xc(),Xi());return Ht(t,i,c,s),i.child}function Pg(t,i,s,l){var c=Jc();return c=c===null?null:{parent:Mt._currentValue,pool:c},i.memoizedState={baseLanes:s,cachePool:c},t!==null&&Ro(i,null),Xc(),_p(i),t!==null&&Gr(t,i,l,!0),null}function Yr(t,i){var s=i.ref;if(s===null)t!==null&&t.ref!==null&&(i.flags|=2097664);else{if(typeof s!="function"&&typeof s!="object")throw Error(r(284));(t===null||t.ref!==s)&&(i.flags|=2097664)}}function vd(t,i,s,l,c){return Fa(i),s=ed(t,i,s,l,void 0,c),l=td(),t!==null&&!Dt?(nd(t,i,c),Ci(t,i,c)):(Ke&&l&&$c(i),i.flags|=1,Ht(t,i,s,c),i.child)}function Hg(t,i,s,l,c,f){return Fa(i),i.updateQueue=null,s=Gp(i,l,s,c),Yp(t),l=td(),t!==null&&!Dt?(nd(t,i,f),Ci(t,i,f)):(Ke&&l&&$c(i),i.flags|=1,Ht(t,i,s,f),i.child)}function _g(t,i,s,l,c){if(Fa(i),i.stateNode===null){var f=Ts,v=s.contextType;typeof v=="object"&&v!==null&&(f=Yt(v)),f=new s(l,f),i.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,f.updater=gd,i.stateNode=f,f._reactInternals=i,f=i.stateNode,f.props=l,f.state=i.memoizedState,f.refs={},Nd(i),v=s.contextType,f.context=typeof v=="object"&&v!==null?Yt(v):Ts,f.state=i.memoizedState,v=s.getDerivedStateFromProps,typeof v=="function"&&(pd(i,s,v,l),f.state=i.memoizedState),typeof s.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(v=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),v!==f.state&&gd.enqueueReplaceState(f,f.state,null),Ir(i,l,f,c),Xr(),f.state=i.memoizedState),typeof f.componentDidMount=="function"&&(i.flags|=4194308),l=!0}else if(t===null){f=i.stateNode;var w=i.memoizedProps,T=_a(s,w);f.props=T;var L=f.context,Y=s.contextType;v=Ts,typeof Y=="object"&&Y!==null&&(v=Yt(Y));var Z=s.getDerivedStateFromProps;Y=typeof Z=="function"||typeof f.getSnapshotBeforeUpdate=="function",w=i.pendingProps!==w,Y||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(w||L!==v)&&Ag(i,f,l,v),Ji=!1;var U=i.memoizedState;f.state=U,Ir(i,l,f,c),Xr(),L=i.memoizedState,w||U!==L||Ji?(typeof Z=="function"&&(pd(i,s,Z,l),L=i.memoizedState),(T=Ji||Cg(i,s,T,l,U,L,v))?(Y||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount()),typeof f.componentDidMount=="function"&&(i.flags|=4194308)):(typeof f.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=l,i.memoizedState=L),f.props=l,f.state=L,f.context=v,l=T):(typeof f.componentDidMount=="function"&&(i.flags|=4194308),l=!1)}else{f=i.stateNode,Dd(t,i),v=i.memoizedProps,Y=_a(s,v),f.props=Y,Z=i.pendingProps,U=f.context,L=s.contextType,T=Ts,typeof L=="object"&&L!==null&&(T=Yt(L)),w=s.getDerivedStateFromProps,(L=typeof w=="function"||typeof f.getSnapshotBeforeUpdate=="function")||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(v!==Z||U!==T)&&Ag(i,f,l,T),Ji=!1,U=i.memoizedState,f.state=U,Ir(i,l,f,c),Xr();var $=i.memoizedState;v!==Z||U!==$||Ji||t!==null&&t.dependencies!==null&&Po(t.dependencies)?(typeof w=="function"&&(pd(i,s,w,l),$=i.memoizedState),(Y=Ji||Cg(i,s,Y,l,U,$,T)||t!==null&&t.dependencies!==null&&Po(t.dependencies))?(L||typeof f.UNSAFE_componentWillUpdate!="function"&&typeof f.componentWillUpdate!="function"||(typeof f.componentWillUpdate=="function"&&f.componentWillUpdate(l,$,T),typeof f.UNSAFE_componentWillUpdate=="function"&&f.UNSAFE_componentWillUpdate(l,$,T)),typeof f.componentDidUpdate=="function"&&(i.flags|=4),typeof f.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof f.componentDidUpdate!="function"||v===t.memoizedProps&&U===t.memoizedState||(i.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||v===t.memoizedProps&&U===t.memoizedState||(i.flags|=1024),i.memoizedProps=l,i.memoizedState=$),f.props=l,f.state=$,f.context=T,l=Y):(typeof f.componentDidUpdate!="function"||v===t.memoizedProps&&U===t.memoizedState||(i.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||v===t.memoizedProps&&U===t.memoizedState||(i.flags|=1024),l=!1)}return f=l,Yr(t,i),l=(i.flags&128)!==0,f||l?(f=i.stateNode,s=l&&typeof s.getDerivedStateFromError!="function"?null:f.render(),i.flags|=1,t!==null&&l?(i.child=Va(i,t.child,null,c),i.child=Va(i,null,s,c)):Ht(t,i,s,c),i.memoizedState=f.state,t=i.child):t=Ci(t,i,c),t}function qg(t,i,s,l){return kr(),i.flags|=256,Ht(t,i,s,l),i.child}var xd={dehydrated:null,treeContext:null,retryLane:0};function bd(t){return{baseLanes:t,cachePool:$p()}}function wd(t,i,s){return t=t!==null?t.childLanes&~s:0,i&&(t|=zn),t}function Fg(t,i,s){var l=i.pendingProps,c=!1,f=(i.flags&128)!==0,v;if((v=f)||(v=t!==null&&t.memoizedState===null?!1:(Rt.current&2)!==0),v&&(c=!0,i.flags&=-129),v=(i.flags&32)!==0,i.flags&=-33,t===null){if(Ke){if(c?Ki(i):Xi(),Ke){var w=Pt,T;if(T=w){e:{for(T=w,w=ni;T.nodeType!==8;){if(!w){w=null;break e}if(T=Kn(T.nextSibling),T===null){w=null;break e}}w=T}w!==null?(i.memoizedState={dehydrated:w,treeContext:La!==null?{id:Si,overflow:Ei}:null,retryLane:536870912},T=kn(18,null,null,0),T.stateNode=w,T.return=i,i.child=T,Qt=i,Pt=null,T=!0):T=!1}T||za(i)}if(w=i.memoizedState,w!==null&&(w=w.dehydrated,w!==null))return w.data==="$!"?i.lanes=16:i.lanes=536870912,null;Ti(i)}return w=l.children,l=l.fallback,c?(Xi(),c=i.mode,w=Ed({mode:"hidden",children:w},c),l=Ya(l,c,s,null),w.return=i,l.return=i,w.sibling=l,i.child=w,c=i.child,c.memoizedState=bd(s),c.childLanes=wd(t,v,s),i.memoizedState=xd,l):(Ki(i),Sd(i,w))}if(T=t.memoizedState,T!==null&&(w=T.dehydrated,w!==null)){if(f)i.flags&256?(Ki(i),i.flags&=-257,i=Td(t,i,s)):i.memoizedState!==null?(Xi(),i.child=t.child,i.flags|=128,i=null):(Xi(),c=l.fallback,w=i.mode,l=Ed({mode:"visible",children:l.children},w),c=Ya(c,w,s,null),c.flags|=2,l.return=i,c.return=i,l.sibling=c,i.child=l,Va(i,t.child,null,s),l=i.child,l.memoizedState=bd(s),l.childLanes=wd(t,v,s),i.memoizedState=xd,i=c);else if(Ki(i),w.data==="$!"){if(v=w.nextSibling&&w.nextSibling.dataset,v)var L=v.dgst;v=L,l=Error(r(419)),l.stack="",l.digest=v,zr({value:l,source:null,stack:null}),i=Td(t,i,s)}else if(Dt||Gr(t,i,s,!1),v=(s&t.childLanes)!==0,Dt||v){if(v=at,v!==null){if(l=s&-s,l&42)l=1;else switch(l){case 2:l=1;break;case 8:l=4;break;case 32:l=16;break;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:l=64;break;case 268435456:l=134217728;break;default:l=0}if(l=l&(v.suspendedLanes|s)?0:l,l!==0&&l!==T.retryLane)throw T.retryLane=l,Gi(t,l),Jt(v,t,l),kg}w.data==="$?"||Jd(),i=Td(t,i,s)}else w.data==="$?"?(i.flags|=128,i.child=t.child,i=mS.bind(null,t),w._reactRetry=i,i=null):(t=T.treeContext,Pt=Kn(w.nextSibling),Qt=i,Ke=!0,Yn=null,ni=!1,t!==null&&(Mn[Nn++]=Si,Mn[Nn++]=Ei,Mn[Nn++]=La,Si=t.id,Ei=t.overflow,La=i),i=Sd(i,l.children),i.flags|=4096);return i}return c?(Xi(),c=l.fallback,w=i.mode,T=t.child,L=T.sibling,l=aa(T,{mode:"hidden",children:l.children}),l.subtreeFlags=T.subtreeFlags&31457280,L!==null?c=aa(L,c):(c=Ya(c,w,s,null),c.flags|=2),c.return=i,l.return=i,l.sibling=c,i.child=l,l=c,c=i.child,w=t.child.memoizedState,w===null?w=bd(s):(T=w.cachePool,T!==null?(L=Mt._currentValue,T=T.parent!==L?{parent:L,pool:L}:T):T=$p(),w={baseLanes:w.baseLanes|s,cachePool:T}),c.memoizedState=w,c.childLanes=wd(t,v,s),i.memoizedState=xd,l):(Ki(i),s=t.child,t=s.sibling,s=aa(s,{mode:"visible",children:l.children}),s.return=i,s.sibling=null,t!==null&&(v=i.deletions,v===null?(i.deletions=[t],i.flags|=16):v.push(t)),i.child=s,i.memoizedState=null,s)}function Sd(t,i){return i=Ed({mode:"visible",children:i},t.mode),i.return=t,t.child=i}function Ed(t,i){return py(t,i,0,null)}function Td(t,i,s){return Va(i,t.child,null,s),t=Sd(i,i.pendingProps.children),t.flags|=2,i.memoizedState=null,t}function $g(t,i,s){t.lanes|=i;var l=t.alternate;l!==null&&(l.lanes|=i),Rd(t.return,i,s)}function jd(t,i,s,l,c){var f=t.memoizedState;f===null?t.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:l,tail:s,tailMode:c}:(f.isBackwards=i,f.rendering=null,f.renderingStartTime=0,f.last=l,f.tail=s,f.tailMode=c)}function Yg(t,i,s){var l=i.pendingProps,c=l.revealOrder,f=l.tail;if(Ht(t,i,l.children,s),l=Rt.current,l&2)l=l&1|2,i.flags|=128;else{if(t!==null&&t.flags&128)e:for(t=i.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&$g(t,s,i);else if(t.tag===19)$g(t,s,i);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===i)break e;for(;t.sibling===null;){if(t.return===null||t.return===i)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}l&=1}switch(ke(Rt,l),c){case"forwards":for(s=i.child,c=null;s!==null;)t=s.alternate,t!==null&&Ao(t)===null&&(c=s),s=s.sibling;s=c,s===null?(c=i.child,i.child=null):(c=s.sibling,s.sibling=null),jd(i,!1,c,s,f);break;case"backwards":for(s=null,c=i.child,i.child=null;c!==null;){if(t=c.alternate,t!==null&&Ao(t)===null){i.child=c;break}t=c.sibling,c.sibling=s,s=c,c=t}jd(i,!0,s,null,f);break;case"together":jd(i,!1,null,null,void 0);break;default:i.memoizedState=null}return i.child}function Ci(t,i,s){if(t!==null&&(i.dependencies=t.dependencies),sa|=i.lanes,!(s&i.childLanes))if(t!==null){if(Gr(t,i,s,!1),(s&i.childLanes)===0)return null}else return null;if(t!==null&&i.child!==t.child)throw Error(r(153));if(i.child!==null){for(t=i.child,s=aa(t,t.pendingProps),i.child=s,s.return=i;t.sibling!==null;)t=t.sibling,s=s.sibling=aa(t,t.pendingProps),s.return=i;s.sibling=null}return i.child}function Cd(t,i){return t.lanes&i?!0:(t=t.dependencies,!!(t!==null&&Po(t)))}function eS(t,i,s){switch(i.tag){case 3:ds(i,i.stateNode.containerInfo),Qi(i,Mt,t.memoizedState.cache),kr();break;case 27:case 5:fs(i);break;case 4:ds(i,i.stateNode.containerInfo);break;case 10:Qi(i,i.type,i.memoizedProps.value);break;case 13:var l=i.memoizedState;if(l!==null)return l.dehydrated!==null?(Ki(i),i.flags|=128,null):s&i.child.childLanes?Fg(t,i,s):(Ki(i),t=Ci(t,i,s),t!==null?t.sibling:null);Ki(i);break;case 19:var c=(t.flags&128)!==0;if(l=(s&i.childLanes)!==0,l||(Gr(t,i,s,!1),l=(s&i.childLanes)!==0),c){if(l)return Yg(t,i,s);i.flags|=128}if(c=i.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),ke(Rt,Rt.current),l)break;return null;case 22:case 23:return i.lanes=0,Ug(t,i,s);case 24:Qi(i,Mt,t.memoizedState.cache)}return Ci(t,i,s)}function Gg(t,i,s){if(t!==null)if(t.memoizedProps!==i.pendingProps)Dt=!0;else{if(!Cd(t,s)&&!(i.flags&128))return Dt=!1,eS(t,i,s);Dt=!!(t.flags&131072)}else Dt=!1,Ke&&i.flags&1048576&&Np(i,So,i.index);switch(i.lanes=0,i.tag){case 16:e:{t=i.pendingProps;var l=i.elementType,c=l._init;if(l=c(l._payload),i.type=l,typeof l=="function")Hd(l)?(t=_a(l,t),i.tag=1,i=_g(null,i,l,t,s)):(i.tag=0,i=vd(null,i,l,t,s));else{if(l!=null){if(c=l.$$typeof,c===E){i.tag=11,i=zg(null,i,l,t,s);break e}else if(c===M){i.tag=14,i=Vg(null,i,l,t,s);break e}}throw i=X(l)||l,Error(r(306,i,""))}}return i;case 0:return vd(t,i,i.type,i.pendingProps,s);case 1:return l=i.type,c=_a(l,i.pendingProps),_g(t,i,l,c,s);case 3:e:{if(ds(i,i.stateNode.containerInfo),t===null)throw Error(r(387));var f=i.pendingProps;c=i.memoizedState,l=c.element,Dd(t,i),Ir(i,f,null,s);var v=i.memoizedState;if(f=v.cache,Qi(i,Mt,f),f!==c.cache&&Md(i,[Mt],s,!0),Xr(),f=v.element,c.isDehydrated)if(c={element:f,isDehydrated:!1,cache:v.cache},i.updateQueue.baseState=c,i.memoizedState=c,i.flags&256){i=qg(t,i,f,s);break e}else if(f!==l){l=Rn(Error(r(424)),i),zr(l),i=qg(t,i,f,s);break e}else for(Pt=Kn(i.stateNode.containerInfo.firstChild),Qt=i,Ke=!0,Yn=null,ni=!0,s=Pp(i,null,f,s),i.child=s;s;)s.flags=s.flags&-3|4096,s=s.sibling;else{if(kr(),f===l){i=Ci(t,i,s);break e}Ht(t,i,f,s)}i=i.child}return i;case 26:return Yr(t,i),t===null?(s=Iy(i.type,null,i.pendingProps,null))?i.memoizedState=s:Ke||(s=i.type,t=i.pendingProps,l=tu(Jn.current).createElement(s),l[pe]=i,l[we]=t,_t(l,s,t),it(l),i.stateNode=l):i.memoizedState=Iy(i.type,t.memoizedProps,i.pendingProps,t.memoizedState),null;case 27:return fs(i),t===null&&Ke&&(l=i.stateNode=Gy(i.type,i.pendingProps,Jn.current),Qt=i,ni=!0,Pt=Kn(l.firstChild)),l=i.pendingProps.children,t!==null||Ke?Ht(t,i,l,s):i.child=Va(i,null,l,s),Yr(t,i),i.child;case 5:return t===null&&Ke&&((c=l=Pt)&&(l=NS(l,i.type,i.pendingProps,ni),l!==null?(i.stateNode=l,Qt=i,Pt=Kn(l.firstChild),ni=!1,c=!0):c=!1),c||za(i)),fs(i),c=i.type,f=i.pendingProps,v=t!==null?t.memoizedProps:null,l=f.children,hf(c,f)?l=null:v!==null&&hf(c,v)&&(i.flags|=32),i.memoizedState!==null&&(c=ed(t,i,K2,null,null,s),cl._currentValue=c),Yr(t,i),Ht(t,i,l,s),i.child;case 6:return t===null&&Ke&&((t=s=Pt)&&(s=DS(s,i.pendingProps,ni),s!==null?(i.stateNode=s,Qt=i,Pt=null,t=!0):t=!1),t||za(i)),null;case 13:return Fg(t,i,s);case 4:return ds(i,i.stateNode.containerInfo),l=i.pendingProps,t===null?i.child=Va(i,null,l,s):Ht(t,i,l,s),i.child;case 11:return zg(t,i,i.type,i.pendingProps,s);case 7:return Ht(t,i,i.pendingProps,s),i.child;case 8:return Ht(t,i,i.pendingProps.children,s),i.child;case 12:return Ht(t,i,i.pendingProps.children,s),i.child;case 10:return l=i.pendingProps,Qi(i,i.type,l.value),Ht(t,i,l.children,s),i.child;case 9:return c=i.type._context,l=i.pendingProps.children,Fa(i),c=Yt(c),l=l(c),i.flags|=1,Ht(t,i,l,s),i.child;case 14:return Vg(t,i,i.type,i.pendingProps,s);case 15:return Bg(t,i,i.type,i.pendingProps,s);case 19:return Yg(t,i,s);case 22:return Ug(t,i,s);case 24:return Fa(i),l=Yt(Mt),t===null?(c=Jc(),c===null&&(c=at,f=Zc(),c.pooledCache=f,f.refCount++,f!==null&&(c.pooledCacheLanes|=s),c=f),i.memoizedState={parent:l,cache:c},Nd(i),Qi(i,Mt,c)):(t.lanes&s&&(Dd(t,i),Ir(i,null,null,s),Xr()),c=t.memoizedState,f=i.memoizedState,c.parent!==l?(c={parent:l,cache:l},i.memoizedState=c,i.lanes===0&&(i.memoizedState=i.updateQueue.baseState=c),Qi(i,Mt,l)):(l=f.cache,Qi(i,Mt,l),l!==c.cache&&Md(i,[Mt],s,!0))),Ht(t,i,i.pendingProps.children,s),i.child;case 29:throw i.pendingProps}throw Error(r(156,i.tag))}var Ad=Pe(null),qa=null,Ai=null;function Qi(t,i,s){ke(Ad,i._currentValue),i._currentValue=s}function Ri(t){t._currentValue=Ad.current,et(Ad)}function Rd(t,i,s){for(;t!==null;){var l=t.alternate;if((t.childLanes&i)!==i?(t.childLanes|=i,l!==null&&(l.childLanes|=i)):l!==null&&(l.childLanes&i)!==i&&(l.childLanes|=i),t===s)break;t=t.return}}function Md(t,i,s,l){var c=t.child;for(c!==null&&(c.return=t);c!==null;){var f=c.dependencies;if(f!==null){var v=c.child;f=f.firstContext;e:for(;f!==null;){var w=f;f=c;for(var T=0;T<i.length;T++)if(w.context===i[T]){f.lanes|=s,w=f.alternate,w!==null&&(w.lanes|=s),Rd(f.return,s,t),l||(v=null);break e}f=w.next}}else if(c.tag===18){if(v=c.return,v===null)throw Error(r(341));v.lanes|=s,f=v.alternate,f!==null&&(f.lanes|=s),Rd(v,s,t),v=null}else v=c.child;if(v!==null)v.return=c;else for(v=c;v!==null;){if(v===t){v=null;break}if(c=v.sibling,c!==null){c.return=v.return,v=c;break}v=v.return}c=v}}function Gr(t,i,s,l){t=null;for(var c=i,f=!1;c!==null;){if(!f){if(c.flags&524288)f=!0;else if(c.flags&262144)break}if(c.tag===10){var v=c.alternate;if(v===null)throw Error(r(387));if(v=v.memoizedProps,v!==null){var w=c.type;dn(c.pendingProps.value,v.value)||(t!==null?t.push(w):t=[w])}}else if(c===wn.current){if(v=c.alternate,v===null)throw Error(r(387));v.memoizedState.memoizedState!==c.memoizedState.memoizedState&&(t!==null?t.push(cl):t=[cl])}c=c.return}t!==null&&Md(i,t,s,l),i.flags|=262144}function Po(t){for(t=t.firstContext;t!==null;){if(!dn(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function Fa(t){qa=t,Ai=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function Yt(t){return Kg(qa,t)}function Ho(t,i){return qa===null&&Fa(t),Kg(t,i)}function Kg(t,i){var s=i._currentValue;if(i={context:i,memoizedValue:s,next:null},Ai===null){if(t===null)throw Error(r(308));Ai=i,t.dependencies={lanes:0,firstContext:i},t.flags|=524288}else Ai=Ai.next=i;return s}var Ji=!1;function Nd(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Dd(t,i){t=t.updateQueue,i.updateQueue===t&&(i.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function Wi(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function ea(t,i,s){var l=t.updateQueue;if(l===null)return null;if(l=l.shared,ft&2){var c=l.pending;return c===null?i.next=i:(i.next=c.next,c.next=i),l.pending=i,i=bo(t),Rp(t,null,s),i}return xo(t,l,i,s),bo(t)}function Kr(t,i,s){if(i=i.updateQueue,i!==null&&(i=i.shared,(s&4194176)!==0)){var l=i.lanes;l&=t.pendingLanes,s|=l,i.lanes=s,ve(t,s)}}function Od(t,i){var s=t.updateQueue,l=t.alternate;if(l!==null&&(l=l.updateQueue,s===l)){var c=null,f=null;if(s=s.firstBaseUpdate,s!==null){do{var v={lane:s.lane,tag:s.tag,payload:s.payload,callback:null,next:null};f===null?c=f=v:f=f.next=v,s=s.next}while(s!==null);f===null?c=f=i:f=f.next=i}else c=f=i;s={baseState:l.baseState,firstBaseUpdate:c,lastBaseUpdate:f,shared:l.shared,callbacks:l.callbacks},t.updateQueue=s;return}t=s.lastBaseUpdate,t===null?s.firstBaseUpdate=i:t.next=i,s.lastBaseUpdate=i}var Ld=!1;function Xr(){if(Ld){var t=Ns;if(t!==null)throw t}}function Ir(t,i,s,l){Ld=!1;var c=t.updateQueue;Ji=!1;var f=c.firstBaseUpdate,v=c.lastBaseUpdate,w=c.shared.pending;if(w!==null){c.shared.pending=null;var T=w,L=T.next;T.next=null,v===null?f=L:v.next=L,v=T;var Y=t.alternate;Y!==null&&(Y=Y.updateQueue,w=Y.lastBaseUpdate,w!==v&&(w===null?Y.firstBaseUpdate=L:w.next=L,Y.lastBaseUpdate=T))}if(f!==null){var Z=c.baseState;v=0,Y=L=T=null,w=f;do{var U=w.lane&-536870913,$=U!==w.lane;if($?(Ye&U)===U:(l&U)===U){U!==0&&U===Ms&&(Ld=!0),Y!==null&&(Y=Y.next={lane:0,tag:w.tag,payload:w.payload,callback:null,next:null});e:{var ge=t,Ne=w;U=i;var vt=s;switch(Ne.tag){case 1:if(ge=Ne.payload,typeof ge=="function"){Z=ge.call(vt,Z,U);break e}Z=ge;break e;case 3:ge.flags=ge.flags&-65537|128;case 0:if(ge=Ne.payload,U=typeof ge=="function"?ge.call(vt,Z,U):ge,U==null)break e;Z=te({},Z,U);break e;case 2:Ji=!0}}U=w.callback,U!==null&&(t.flags|=64,$&&(t.flags|=8192),$=c.callbacks,$===null?c.callbacks=[U]:$.push(U))}else $={lane:U,tag:w.tag,payload:w.payload,callback:w.callback,next:null},Y===null?(L=Y=$,T=Z):Y=Y.next=$,v|=U;if(w=w.next,w===null){if(w=c.shared.pending,w===null)break;$=w,w=$.next,$.next=null,c.lastBaseUpdate=$,c.shared.pending=null}}while(!0);Y===null&&(T=Z),c.baseState=T,c.firstBaseUpdate=L,c.lastBaseUpdate=Y,f===null&&(c.shared.lanes=0),sa|=v,t.lanes=v,t.memoizedState=Z}}function Xg(t,i){if(typeof t!="function")throw Error(r(191,t));t.call(i)}function Ig(t,i){var s=t.callbacks;if(s!==null)for(t.callbacks=null,t=0;t<s.length;t++)Xg(s[t],i)}function Zr(t,i){try{var s=i.updateQueue,l=s!==null?s.lastEffect:null;if(l!==null){var c=l.next;s=c;do{if((s.tag&t)===t){l=void 0;var f=s.create,v=s.inst;l=f(),v.destroy=l}s=s.next}while(s!==c)}}catch(w){nt(i,i.return,w)}}function ta(t,i,s){try{var l=i.updateQueue,c=l!==null?l.lastEffect:null;if(c!==null){var f=c.next;l=f;do{if((l.tag&t)===t){var v=l.inst,w=v.destroy;if(w!==void 0){v.destroy=void 0,c=i;var T=s;try{w()}catch(L){nt(c,T,L)}}}l=l.next}while(l!==f)}}catch(L){nt(i,i.return,L)}}function Zg(t){var i=t.updateQueue;if(i!==null){var s=t.stateNode;try{Ig(i,s)}catch(l){nt(t,t.return,l)}}}function Qg(t,i,s){s.props=_a(t.type,t.memoizedProps),s.state=t.memoizedState;try{s.componentWillUnmount()}catch(l){nt(t,i,l)}}function $a(t,i){try{var s=t.ref;if(s!==null){var l=t.stateNode;switch(t.tag){case 26:case 27:case 5:var c=l;break;default:c=l}typeof s=="function"?t.refCleanup=s(c):s.current=c}}catch(f){nt(t,i,f)}}function fn(t,i){var s=t.ref,l=t.refCleanup;if(s!==null)if(typeof l=="function")try{l()}catch(c){nt(t,i,c)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof s=="function")try{s(null)}catch(c){nt(t,i,c)}else s.current=null}function Jg(t){var i=t.type,s=t.memoizedProps,l=t.stateNode;try{e:switch(i){case"button":case"input":case"select":case"textarea":s.autoFocus&&l.focus();break e;case"img":s.src?l.src=s.src:s.srcSet&&(l.srcset=s.srcSet)}}catch(c){nt(t,t.return,c)}}function Wg(t,i,s){try{var l=t.stateNode;jS(l,t.type,s,i),l[we]=i}catch(c){nt(t,t.return,c)}}function ey(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27||t.tag===4}function kd(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||ey(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==27&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function zd(t,i,s){var l=t.tag;if(l===5||l===6)t=t.stateNode,i?s.nodeType===8?s.parentNode.insertBefore(t,i):s.insertBefore(t,i):(s.nodeType===8?(i=s.parentNode,i.insertBefore(t,s)):(i=s,i.appendChild(t)),s=s._reactRootContainer,s!=null||i.onclick!==null||(i.onclick=eu));else if(l!==4&&l!==27&&(t=t.child,t!==null))for(zd(t,i,s),t=t.sibling;t!==null;)zd(t,i,s),t=t.sibling}function _o(t,i,s){var l=t.tag;if(l===5||l===6)t=t.stateNode,i?s.insertBefore(t,i):s.appendChild(t);else if(l!==4&&l!==27&&(t=t.child,t!==null))for(_o(t,i,s),t=t.sibling;t!==null;)_o(t,i,s),t=t.sibling}var Mi=!1,gt=!1,Vd=!1,ty=typeof WeakSet=="function"?WeakSet:Set,Ot=null,ny=!1;function tS(t,i){if(t=t.containerInfo,df=lu,t=xp(t),Uc(t)){if("selectionStart"in t)var s={start:t.selectionStart,end:t.selectionEnd};else e:{s=(s=t.ownerDocument)&&s.defaultView||window;var l=s.getSelection&&s.getSelection();if(l&&l.rangeCount!==0){s=l.anchorNode;var c=l.anchorOffset,f=l.focusNode;l=l.focusOffset;try{s.nodeType,f.nodeType}catch{s=null;break e}var v=0,w=-1,T=-1,L=0,Y=0,Z=t,U=null;t:for(;;){for(var $;Z!==s||c!==0&&Z.nodeType!==3||(w=v+c),Z!==f||l!==0&&Z.nodeType!==3||(T=v+l),Z.nodeType===3&&(v+=Z.nodeValue.length),($=Z.firstChild)!==null;)U=Z,Z=$;for(;;){if(Z===t)break t;if(U===s&&++L===c&&(w=v),U===f&&++Y===l&&(T=v),($=Z.nextSibling)!==null)break;Z=U,U=Z.parentNode}Z=$}s=w===-1||T===-1?null:{start:w,end:T}}else s=null}s=s||{start:0,end:0}}else s=null;for(ff={focusedElem:t,selectionRange:s},lu=!1,Ot=i;Ot!==null;)if(i=Ot,t=i.child,(i.subtreeFlags&1028)!==0&&t!==null)t.return=i,Ot=t;else for(;Ot!==null;){switch(i=Ot,f=i.alternate,t=i.flags,i.tag){case 0:break;case 11:case 15:break;case 1:if(t&1024&&f!==null){t=void 0,s=i,c=f.memoizedProps,f=f.memoizedState,l=s.stateNode;try{var ge=_a(s.type,c,s.elementType===s.type);t=l.getSnapshotBeforeUpdate(ge,f),l.__reactInternalSnapshotBeforeUpdate=t}catch(Ne){nt(s,s.return,Ne)}}break;case 3:if(t&1024){if(t=i.stateNode.containerInfo,s=t.nodeType,s===9)gf(t);else if(s===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":gf(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(t&1024)throw Error(r(163))}if(t=i.sibling,t!==null){t.return=i.return,Ot=t;break}Ot=i.return}return ge=ny,ny=!1,ge}function iy(t,i,s){var l=s.flags;switch(s.tag){case 0:case 11:case 15:Di(t,s),l&4&&Zr(5,s);break;case 1:if(Di(t,s),l&4)if(t=s.stateNode,i===null)try{t.componentDidMount()}catch(w){nt(s,s.return,w)}else{var c=_a(s.type,i.memoizedProps);i=i.memoizedState;try{t.componentDidUpdate(c,i,t.__reactInternalSnapshotBeforeUpdate)}catch(w){nt(s,s.return,w)}}l&64&&Zg(s),l&512&&$a(s,s.return);break;case 3:if(Di(t,s),l&64&&(l=s.updateQueue,l!==null)){if(t=null,s.child!==null)switch(s.child.tag){case 27:case 5:t=s.child.stateNode;break;case 1:t=s.child.stateNode}try{Ig(l,t)}catch(w){nt(s,s.return,w)}}break;case 26:Di(t,s),l&512&&$a(s,s.return);break;case 27:case 5:Di(t,s),i===null&&l&4&&Jg(s),l&512&&$a(s,s.return);break;case 12:Di(t,s);break;case 13:Di(t,s),l&4&&ry(t,s);break;case 22:if(c=s.memoizedState!==null||Mi,!c){i=i!==null&&i.memoizedState!==null||gt;var f=Mi,v=gt;Mi=c,(gt=i)&&!v?na(t,s,(s.subtreeFlags&8772)!==0):Di(t,s),Mi=f,gt=v}l&512&&(s.memoizedProps.mode==="manual"?$a(s,s.return):fn(s,s.return));break;default:Di(t,s)}}function ay(t){var i=t.alternate;i!==null&&(t.alternate=null,ay(i)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(i=t.stateNode,i!==null&&vi(i)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var At=null,hn=!1;function Ni(t,i,s){for(s=s.child;s!==null;)sy(t,i,s),s=s.sibling}function sy(t,i,s){if($t&&typeof $t.onCommitFiberUnmount=="function")try{$t.onCommitFiberUnmount($i,s)}catch{}switch(s.tag){case 26:gt||fn(s,i),Ni(t,i,s),s.memoizedState?s.memoizedState.count--:s.stateNode&&(s=s.stateNode,s.parentNode.removeChild(s));break;case 27:gt||fn(s,i);var l=At,c=hn;for(At=s.stateNode,Ni(t,i,s),s=s.stateNode,i=s.attributes;i.length;)s.removeAttributeNode(i[0]);vi(s),At=l,hn=c;break;case 5:gt||fn(s,i);case 6:c=At;var f=hn;if(At=null,Ni(t,i,s),At=c,hn=f,At!==null)if(hn)try{t=At,l=s.stateNode,t.nodeType===8?t.parentNode.removeChild(l):t.removeChild(l)}catch(v){nt(s,i,v)}else try{At.removeChild(s.stateNode)}catch(v){nt(s,i,v)}break;case 18:At!==null&&(hn?(i=At,s=s.stateNode,i.nodeType===8?pf(i.parentNode,s):i.nodeType===1&&pf(i,s),ml(i)):pf(At,s.stateNode));break;case 4:l=At,c=hn,At=s.stateNode.containerInfo,hn=!0,Ni(t,i,s),At=l,hn=c;break;case 0:case 11:case 14:case 15:gt||ta(2,s,i),gt||ta(4,s,i),Ni(t,i,s);break;case 1:gt||(fn(s,i),l=s.stateNode,typeof l.componentWillUnmount=="function"&&Qg(s,i,l)),Ni(t,i,s);break;case 21:Ni(t,i,s);break;case 22:gt||fn(s,i),gt=(l=gt)||s.memoizedState!==null,Ni(t,i,s),gt=l;break;default:Ni(t,i,s)}}function ry(t,i){if(i.memoizedState===null&&(t=i.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{ml(t)}catch(s){nt(i,i.return,s)}}function nS(t){switch(t.tag){case 13:case 19:var i=t.stateNode;return i===null&&(i=t.stateNode=new ty),i;case 22:return t=t.stateNode,i=t._retryCache,i===null&&(i=t._retryCache=new ty),i;default:throw Error(r(435,t.tag))}}function Bd(t,i){var s=nS(t);i.forEach(function(l){var c=pS.bind(null,t,l);s.has(l)||(s.add(l),l.then(c,c))})}function On(t,i){var s=i.deletions;if(s!==null)for(var l=0;l<s.length;l++){var c=s[l],f=t,v=i,w=v;e:for(;w!==null;){switch(w.tag){case 27:case 5:At=w.stateNode,hn=!1;break e;case 3:At=w.stateNode.containerInfo,hn=!0;break e;case 4:At=w.stateNode.containerInfo,hn=!0;break e}w=w.return}if(At===null)throw Error(r(160));sy(f,v,c),At=null,hn=!1,f=c.alternate,f!==null&&(f.return=null),c.return=null}if(i.subtreeFlags&13878)for(i=i.child;i!==null;)ly(i,t),i=i.sibling}var Gn=null;function ly(t,i){var s=t.alternate,l=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:On(i,t),Ln(t),l&4&&(ta(3,t,t.return),Zr(3,t),ta(5,t,t.return));break;case 1:On(i,t),Ln(t),l&512&&(gt||s===null||fn(s,s.return)),l&64&&Mi&&(t=t.updateQueue,t!==null&&(l=t.callbacks,l!==null&&(s=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=s===null?l:s.concat(l))));break;case 26:var c=Gn;if(On(i,t),Ln(t),l&512&&(gt||s===null||fn(s,s.return)),l&4){var f=s!==null?s.memoizedState:null;if(l=t.memoizedState,s===null)if(l===null)if(t.stateNode===null){e:{l=t.type,s=t.memoizedProps,c=c.ownerDocument||c;t:switch(l){case"title":f=c.getElementsByTagName("title")[0],(!f||f[En]||f[pe]||f.namespaceURI==="http://www.w3.org/2000/svg"||f.hasAttribute("itemprop"))&&(f=c.createElement(l),c.head.insertBefore(f,c.querySelector("head > title"))),_t(f,l,s),f[pe]=t,it(f),l=f;break e;case"link":var v=Jy("link","href",c).get(l+(s.href||""));if(v){for(var w=0;w<v.length;w++)if(f=v[w],f.getAttribute("href")===(s.href==null?null:s.href)&&f.getAttribute("rel")===(s.rel==null?null:s.rel)&&f.getAttribute("title")===(s.title==null?null:s.title)&&f.getAttribute("crossorigin")===(s.crossOrigin==null?null:s.crossOrigin)){v.splice(w,1);break t}}f=c.createElement(l),_t(f,l,s),c.head.appendChild(f);break;case"meta":if(v=Jy("meta","content",c).get(l+(s.content||""))){for(w=0;w<v.length;w++)if(f=v[w],f.getAttribute("content")===(s.content==null?null:""+s.content)&&f.getAttribute("name")===(s.name==null?null:s.name)&&f.getAttribute("property")===(s.property==null?null:s.property)&&f.getAttribute("http-equiv")===(s.httpEquiv==null?null:s.httpEquiv)&&f.getAttribute("charset")===(s.charSet==null?null:s.charSet)){v.splice(w,1);break t}}f=c.createElement(l),_t(f,l,s),c.head.appendChild(f);break;default:throw Error(r(468,l))}f[pe]=t,it(f),l=f}t.stateNode=l}else Wy(c,t.type,t.stateNode);else t.stateNode=Qy(c,l,t.memoizedProps);else f!==l?(f===null?s.stateNode!==null&&(s=s.stateNode,s.parentNode.removeChild(s)):f.count--,l===null?Wy(c,t.type,t.stateNode):Qy(c,l,t.memoizedProps)):l===null&&t.stateNode!==null&&Wg(t,t.memoizedProps,s.memoizedProps)}break;case 27:if(l&4&&t.alternate===null){c=t.stateNode,f=t.memoizedProps;try{for(var T=c.firstChild;T;){var L=T.nextSibling,Y=T.nodeName;T[En]||Y==="HEAD"||Y==="BODY"||Y==="SCRIPT"||Y==="STYLE"||Y==="LINK"&&T.rel.toLowerCase()==="stylesheet"||c.removeChild(T),T=L}for(var Z=t.type,U=c.attributes;U.length;)c.removeAttributeNode(U[0]);_t(c,Z,f),c[pe]=t,c[we]=f}catch(ge){nt(t,t.return,ge)}}case 5:if(On(i,t),Ln(t),l&512&&(gt||s===null||fn(s,s.return)),t.flags&32){c=t.stateNode;try{ys(c,"")}catch(ge){nt(t,t.return,ge)}}l&4&&t.stateNode!=null&&(c=t.memoizedProps,Wg(t,c,s!==null?s.memoizedProps:c)),l&1024&&(Vd=!0);break;case 6:if(On(i,t),Ln(t),l&4){if(t.stateNode===null)throw Error(r(162));l=t.memoizedProps,s=t.stateNode;try{s.nodeValue=l}catch(ge){nt(t,t.return,ge)}}break;case 3:if(au=null,c=Gn,Gn=nu(i.containerInfo),On(i,t),Gn=c,Ln(t),l&4&&s!==null&&s.memoizedState.isDehydrated)try{ml(i.containerInfo)}catch(ge){nt(t,t.return,ge)}Vd&&(Vd=!1,oy(t));break;case 4:l=Gn,Gn=nu(t.stateNode.containerInfo),On(i,t),Ln(t),Gn=l;break;case 12:On(i,t),Ln(t);break;case 13:On(i,t),Ln(t),t.child.flags&8192&&t.memoizedState!==null!=(s!==null&&s.memoizedState!==null)&&(Gd=cn()),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,Bd(t,l)));break;case 22:if(l&512&&(gt||s===null||fn(s,s.return)),T=t.memoizedState!==null,L=s!==null&&s.memoizedState!==null,Y=Mi,Z=gt,Mi=Y||T,gt=Z||L,On(i,t),gt=Z,Mi=Y,Ln(t),i=t.stateNode,i._current=t,i._visibility&=-3,i._visibility|=i._pendingVisibility&2,l&8192&&(i._visibility=T?i._visibility&-2:i._visibility|1,T&&(i=Mi||gt,s===null||L||i||ks(t)),t.memoizedProps===null||t.memoizedProps.mode!=="manual"))e:for(s=null,i=t;;){if(i.tag===5||i.tag===26||i.tag===27){if(s===null){L=s=i;try{if(c=L.stateNode,T)f=c.style,typeof f.setProperty=="function"?f.setProperty("display","none","important"):f.display="none";else{v=L.stateNode,w=L.memoizedProps.style;var $=w!=null&&w.hasOwnProperty("display")?w.display:null;v.style.display=$==null||typeof $=="boolean"?"":(""+$).trim()}}catch(ge){nt(L,L.return,ge)}}}else if(i.tag===6){if(s===null){L=i;try{L.stateNode.nodeValue=T?"":L.memoizedProps}catch(ge){nt(L,L.return,ge)}}}else if((i.tag!==22&&i.tag!==23||i.memoizedState===null||i===t)&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===t)break e;for(;i.sibling===null;){if(i.return===null||i.return===t)break e;s===i&&(s=null),i=i.return}s===i&&(s=null),i.sibling.return=i.return,i=i.sibling}l&4&&(l=t.updateQueue,l!==null&&(s=l.retryQueue,s!==null&&(l.retryQueue=null,Bd(t,s))));break;case 19:On(i,t),Ln(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,Bd(t,l)));break;case 21:break;default:On(i,t),Ln(t)}}function Ln(t){var i=t.flags;if(i&2){try{if(t.tag!==27){e:{for(var s=t.return;s!==null;){if(ey(s)){var l=s;break e}s=s.return}throw Error(r(160))}switch(l.tag){case 27:var c=l.stateNode,f=kd(t);_o(t,f,c);break;case 5:var v=l.stateNode;l.flags&32&&(ys(v,""),l.flags&=-33);var w=kd(t);_o(t,w,v);break;case 3:case 4:var T=l.stateNode.containerInfo,L=kd(t);zd(t,L,T);break;default:throw Error(r(161))}}}catch(Y){nt(t,t.return,Y)}t.flags&=-3}i&4096&&(t.flags&=-4097)}function oy(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var i=t;oy(i),i.tag===5&&i.flags&1024&&i.stateNode.reset(),t=t.sibling}}function Di(t,i){if(i.subtreeFlags&8772)for(i=i.child;i!==null;)iy(t,i.alternate,i),i=i.sibling}function ks(t){for(t=t.child;t!==null;){var i=t;switch(i.tag){case 0:case 11:case 14:case 15:ta(4,i,i.return),ks(i);break;case 1:fn(i,i.return);var s=i.stateNode;typeof s.componentWillUnmount=="function"&&Qg(i,i.return,s),ks(i);break;case 26:case 27:case 5:fn(i,i.return),ks(i);break;case 22:fn(i,i.return),i.memoizedState===null&&ks(i);break;default:ks(i)}t=t.sibling}}function na(t,i,s){for(s=s&&(i.subtreeFlags&8772)!==0,i=i.child;i!==null;){var l=i.alternate,c=t,f=i,v=f.flags;switch(f.tag){case 0:case 11:case 15:na(c,f,s),Zr(4,f);break;case 1:if(na(c,f,s),l=f,c=l.stateNode,typeof c.componentDidMount=="function")try{c.componentDidMount()}catch(L){nt(l,l.return,L)}if(l=f,c=l.updateQueue,c!==null){var w=l.stateNode;try{var T=c.shared.hiddenCallbacks;if(T!==null)for(c.shared.hiddenCallbacks=null,c=0;c<T.length;c++)Xg(T[c],w)}catch(L){nt(l,l.return,L)}}s&&v&64&&Zg(f),$a(f,f.return);break;case 26:case 27:case 5:na(c,f,s),s&&l===null&&v&4&&Jg(f),$a(f,f.return);break;case 12:na(c,f,s);break;case 13:na(c,f,s),s&&v&4&&ry(c,f);break;case 22:f.memoizedState===null&&na(c,f,s),$a(f,f.return);break;default:na(c,f,s)}i=i.sibling}}function Ud(t,i){var s=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(s=t.memoizedState.cachePool.pool),t=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(t=i.memoizedState.cachePool.pool),t!==s&&(t!=null&&t.refCount++,s!=null&&Hr(s))}function Pd(t,i){t=null,i.alternate!==null&&(t=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==t&&(i.refCount++,t!=null&&Hr(t))}function ia(t,i,s,l){if(i.subtreeFlags&10256)for(i=i.child;i!==null;)uy(t,i,s,l),i=i.sibling}function uy(t,i,s,l){var c=i.flags;switch(i.tag){case 0:case 11:case 15:ia(t,i,s,l),c&2048&&Zr(9,i);break;case 3:ia(t,i,s,l),c&2048&&(t=null,i.alternate!==null&&(t=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==t&&(i.refCount++,t!=null&&Hr(t)));break;case 12:if(c&2048){ia(t,i,s,l),t=i.stateNode;try{var f=i.memoizedProps,v=f.id,w=f.onPostCommit;typeof w=="function"&&w(v,i.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(T){nt(i,i.return,T)}}else ia(t,i,s,l);break;case 23:break;case 22:f=i.stateNode,i.memoizedState!==null?f._visibility&4?ia(t,i,s,l):Qr(t,i):f._visibility&4?ia(t,i,s,l):(f._visibility|=4,zs(t,i,s,l,(i.subtreeFlags&10256)!==0)),c&2048&&Ud(i.alternate,i);break;case 24:ia(t,i,s,l),c&2048&&Pd(i.alternate,i);break;default:ia(t,i,s,l)}}function zs(t,i,s,l,c){for(c=c&&(i.subtreeFlags&10256)!==0,i=i.child;i!==null;){var f=t,v=i,w=s,T=l,L=v.flags;switch(v.tag){case 0:case 11:case 15:zs(f,v,w,T,c),Zr(8,v);break;case 23:break;case 22:var Y=v.stateNode;v.memoizedState!==null?Y._visibility&4?zs(f,v,w,T,c):Qr(f,v):(Y._visibility|=4,zs(f,v,w,T,c)),c&&L&2048&&Ud(v.alternate,v);break;case 24:zs(f,v,w,T,c),c&&L&2048&&Pd(v.alternate,v);break;default:zs(f,v,w,T,c)}i=i.sibling}}function Qr(t,i){if(i.subtreeFlags&10256)for(i=i.child;i!==null;){var s=t,l=i,c=l.flags;switch(l.tag){case 22:Qr(s,l),c&2048&&Ud(l.alternate,l);break;case 24:Qr(s,l),c&2048&&Pd(l.alternate,l);break;default:Qr(s,l)}i=i.sibling}}var Jr=8192;function Vs(t){if(t.subtreeFlags&Jr)for(t=t.child;t!==null;)cy(t),t=t.sibling}function cy(t){switch(t.tag){case 26:Vs(t),t.flags&Jr&&t.memoizedState!==null&&$S(Gn,t.memoizedState,t.memoizedProps);break;case 5:Vs(t);break;case 3:case 4:var i=Gn;Gn=nu(t.stateNode.containerInfo),Vs(t),Gn=i;break;case 22:t.memoizedState===null&&(i=t.alternate,i!==null&&i.memoizedState!==null?(i=Jr,Jr=16777216,Vs(t),Jr=i):Vs(t));break;default:Vs(t)}}function dy(t){var i=t.alternate;if(i!==null&&(t=i.child,t!==null)){i.child=null;do i=t.sibling,t.sibling=null,t=i;while(t!==null)}}function Wr(t){var i=t.deletions;if(t.flags&16){if(i!==null)for(var s=0;s<i.length;s++){var l=i[s];Ot=l,hy(l,t)}dy(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)fy(t),t=t.sibling}function fy(t){switch(t.tag){case 0:case 11:case 15:Wr(t),t.flags&2048&&ta(9,t,t.return);break;case 3:Wr(t);break;case 12:Wr(t);break;case 22:var i=t.stateNode;t.memoizedState!==null&&i._visibility&4&&(t.return===null||t.return.tag!==13)?(i._visibility&=-5,qo(t)):Wr(t);break;default:Wr(t)}}function qo(t){var i=t.deletions;if(t.flags&16){if(i!==null)for(var s=0;s<i.length;s++){var l=i[s];Ot=l,hy(l,t)}dy(t)}for(t=t.child;t!==null;){switch(i=t,i.tag){case 0:case 11:case 15:ta(8,i,i.return),qo(i);break;case 22:s=i.stateNode,s._visibility&4&&(s._visibility&=-5,qo(i));break;default:qo(i)}t=t.sibling}}function hy(t,i){for(;Ot!==null;){var s=Ot;switch(s.tag){case 0:case 11:case 15:ta(8,s,i);break;case 23:case 22:if(s.memoizedState!==null&&s.memoizedState.cachePool!==null){var l=s.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:Hr(s.memoizedState.cache)}if(l=s.child,l!==null)l.return=s,Ot=l;else e:for(s=t;Ot!==null;){l=Ot;var c=l.sibling,f=l.return;if(ay(l),l===s){Ot=null;break e}if(c!==null){c.return=f,Ot=c;break e}Ot=f}}}function iS(t,i,s,l){this.tag=t,this.key=s,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function kn(t,i,s,l){return new iS(t,i,s,l)}function Hd(t){return t=t.prototype,!(!t||!t.isReactComponent)}function aa(t,i){var s=t.alternate;return s===null?(s=kn(t.tag,i,t.key,t.mode),s.elementType=t.elementType,s.type=t.type,s.stateNode=t.stateNode,s.alternate=t,t.alternate=s):(s.pendingProps=i,s.type=t.type,s.flags=0,s.subtreeFlags=0,s.deletions=null),s.flags=t.flags&31457280,s.childLanes=t.childLanes,s.lanes=t.lanes,s.child=t.child,s.memoizedProps=t.memoizedProps,s.memoizedState=t.memoizedState,s.updateQueue=t.updateQueue,i=t.dependencies,s.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},s.sibling=t.sibling,s.index=t.index,s.ref=t.ref,s.refCleanup=t.refCleanup,s}function my(t,i){t.flags&=31457282;var s=t.alternate;return s===null?(t.childLanes=0,t.lanes=i,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=s.childLanes,t.lanes=s.lanes,t.child=s.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=s.memoizedProps,t.memoizedState=s.memoizedState,t.updateQueue=s.updateQueue,t.type=s.type,i=s.dependencies,t.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext}),t}function Fo(t,i,s,l,c,f){var v=0;if(l=t,typeof t=="function")Hd(t)&&(v=1);else if(typeof t=="string")v=qS(t,s,Vt.current)?26:t==="html"||t==="head"||t==="body"?27:5;else e:switch(t){case h:return Ya(s.children,c,f,i);case g:v=8,c|=24;break;case y:return t=kn(12,s,i,c|2),t.elementType=y,t.lanes=f,t;case A:return t=kn(13,s,i,c),t.elementType=A,t.lanes=f,t;case N:return t=kn(19,s,i,c),t.elementType=N,t.lanes=f,t;case _:return py(s,c,f,i);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case b:case S:v=10;break e;case x:v=9;break e;case E:v=11;break e;case M:v=14;break e;case V:v=16,l=null;break e}v=29,s=Error(r(130,t===null?"null":typeof t,"")),l=null}return i=kn(v,s,i,c),i.elementType=t,i.type=l,i.lanes=f,i}function Ya(t,i,s,l){return t=kn(7,t,l,i),t.lanes=s,t}function py(t,i,s,l){t=kn(22,t,l,i),t.elementType=_,t.lanes=s;var c={_visibility:1,_pendingVisibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null,_current:null,detach:function(){var f=c._current;if(f===null)throw Error(r(456));if(!(c._pendingVisibility&2)){var v=Gi(f,2);v!==null&&(c._pendingVisibility|=2,Jt(v,f,2))}},attach:function(){var f=c._current;if(f===null)throw Error(r(456));if(c._pendingVisibility&2){var v=Gi(f,2);v!==null&&(c._pendingVisibility&=-3,Jt(v,f,2))}}};return t.stateNode=c,t}function _d(t,i,s){return t=kn(6,t,null,i),t.lanes=s,t}function qd(t,i,s){return i=kn(4,t.children!==null?t.children:[],t.key,i),i.lanes=s,i.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},i}function Oi(t){t.flags|=4}function gy(t,i){if(i.type!=="stylesheet"||i.state.loading&4)t.flags&=-16777217;else if(t.flags|=16777216,!ev(i)){if(i=Dn.current,i!==null&&((Ye&4194176)===Ye?ii!==null:(Ye&62914560)!==Ye&&!(Ye&536870912)||i!==ii))throw Br=Kc,Lp;t.flags|=8192}}function $o(t,i){i!==null&&(t.flags|=4),t.flags&16384&&(i=t.tag!==22?D():536870912,t.lanes|=i,Us|=i)}function el(t,i){if(!Ke)switch(t.tailMode){case"hidden":i=t.tail;for(var s=null;i!==null;)i.alternate!==null&&(s=i),i=i.sibling;s===null?t.tail=null:s.sibling=null;break;case"collapsed":s=t.tail;for(var l=null;s!==null;)s.alternate!==null&&(l=s),s=s.sibling;l===null?i||t.tail===null?t.tail=null:t.tail.sibling=null:l.sibling=null}}function dt(t){var i=t.alternate!==null&&t.alternate.child===t.child,s=0,l=0;if(i)for(var c=t.child;c!==null;)s|=c.lanes|c.childLanes,l|=c.subtreeFlags&31457280,l|=c.flags&31457280,c.return=t,c=c.sibling;else for(c=t.child;c!==null;)s|=c.lanes|c.childLanes,l|=c.subtreeFlags,l|=c.flags,c.return=t,c=c.sibling;return t.subtreeFlags|=l,t.childLanes=s,i}function aS(t,i,s){var l=i.pendingProps;switch(Yc(i),i.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return dt(i),null;case 1:return dt(i),null;case 3:return s=i.stateNode,l=null,t!==null&&(l=t.memoizedState.cache),i.memoizedState.cache!==l&&(i.flags|=2048),Ri(Mt),Fi(),s.pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),(t===null||t.child===null)&&(Lr(i)?Oi(i):t===null||t.memoizedState.isDehydrated&&!(i.flags&256)||(i.flags|=1024,Yn!==null&&(Zd(Yn),Yn=null))),dt(i),null;case 26:return s=i.memoizedState,t===null?(Oi(i),s!==null?(dt(i),gy(i,s)):(dt(i),i.flags&=-16777217)):s?s!==t.memoizedState?(Oi(i),dt(i),gy(i,s)):(dt(i),i.flags&=-16777217):(t.memoizedProps!==l&&Oi(i),dt(i),i.flags&=-16777217),null;case 27:hs(i),s=Jn.current;var c=i.type;if(t!==null&&i.stateNode!=null)t.memoizedProps!==l&&Oi(i);else{if(!l){if(i.stateNode===null)throw Error(r(166));return dt(i),null}t=Vt.current,Lr(i)?Dp(i):(t=Gy(c,l,s),i.stateNode=t,Oi(i))}return dt(i),null;case 5:if(hs(i),s=i.type,t!==null&&i.stateNode!=null)t.memoizedProps!==l&&Oi(i);else{if(!l){if(i.stateNode===null)throw Error(r(166));return dt(i),null}if(t=Vt.current,Lr(i))Dp(i);else{switch(c=tu(Jn.current),t){case 1:t=c.createElementNS("http://www.w3.org/2000/svg",s);break;case 2:t=c.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;default:switch(s){case"svg":t=c.createElementNS("http://www.w3.org/2000/svg",s);break;case"math":t=c.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;case"script":t=c.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild);break;case"select":t=typeof l.is=="string"?c.createElement("select",{is:l.is}):c.createElement("select"),l.multiple?t.multiple=!0:l.size&&(t.size=l.size);break;default:t=typeof l.is=="string"?c.createElement(s,{is:l.is}):c.createElement(s)}}t[pe]=i,t[we]=l;e:for(c=i.child;c!==null;){if(c.tag===5||c.tag===6)t.appendChild(c.stateNode);else if(c.tag!==4&&c.tag!==27&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===i)break e;for(;c.sibling===null;){if(c.return===null||c.return===i)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}i.stateNode=t;e:switch(_t(t,s,l),s){case"button":case"input":case"select":case"textarea":t=!!l.autoFocus;break e;case"img":t=!0;break e;default:t=!1}t&&Oi(i)}}return dt(i),i.flags&=-16777217,null;case 6:if(t&&i.stateNode!=null)t.memoizedProps!==l&&Oi(i);else{if(typeof l!="string"&&i.stateNode===null)throw Error(r(166));if(t=Jn.current,Lr(i)){if(t=i.stateNode,s=i.memoizedProps,l=null,c=Qt,c!==null)switch(c.tag){case 27:case 5:l=c.memoizedProps}t[pe]=i,t=!!(t.nodeValue===s||l!==null&&l.suppressHydrationWarning===!0||Hy(t.nodeValue,s)),t||za(i)}else t=tu(t).createTextNode(l),t[pe]=i,i.stateNode=t}return dt(i),null;case 13:if(l=i.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(c=Lr(i),l!==null&&l.dehydrated!==null){if(t===null){if(!c)throw Error(r(318));if(c=i.memoizedState,c=c!==null?c.dehydrated:null,!c)throw Error(r(317));c[pe]=i}else kr(),!(i.flags&128)&&(i.memoizedState=null),i.flags|=4;dt(i),c=!1}else Yn!==null&&(Zd(Yn),Yn=null),c=!0;if(!c)return i.flags&256?(Ti(i),i):(Ti(i),null)}if(Ti(i),i.flags&128)return i.lanes=s,i;if(s=l!==null,t=t!==null&&t.memoizedState!==null,s){l=i.child,c=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(c=l.alternate.memoizedState.cachePool.pool);var f=null;l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(f=l.memoizedState.cachePool.pool),f!==c&&(l.flags|=2048)}return s!==t&&s&&(i.child.flags|=8192),$o(i,i.updateQueue),dt(i),null;case 4:return Fi(),t===null&&of(i.stateNode.containerInfo),dt(i),null;case 10:return Ri(i.type),dt(i),null;case 19:if(et(Rt),c=i.memoizedState,c===null)return dt(i),null;if(l=(i.flags&128)!==0,f=c.rendering,f===null)if(l)el(c,!1);else{if(yt!==0||t!==null&&t.flags&128)for(t=i.child;t!==null;){if(f=Ao(t),f!==null){for(i.flags|=128,el(c,!1),t=f.updateQueue,i.updateQueue=t,$o(i,t),i.subtreeFlags=0,t=s,s=i.child;s!==null;)my(s,t),s=s.sibling;return ke(Rt,Rt.current&1|2),i.child}t=t.sibling}c.tail!==null&&cn()>Yo&&(i.flags|=128,l=!0,el(c,!1),i.lanes=4194304)}else{if(!l)if(t=Ao(f),t!==null){if(i.flags|=128,l=!0,t=t.updateQueue,i.updateQueue=t,$o(i,t),el(c,!0),c.tail===null&&c.tailMode==="hidden"&&!f.alternate&&!Ke)return dt(i),null}else 2*cn()-c.renderingStartTime>Yo&&s!==536870912&&(i.flags|=128,l=!0,el(c,!1),i.lanes=4194304);c.isBackwards?(f.sibling=i.child,i.child=f):(t=c.last,t!==null?t.sibling=f:i.child=f,c.last=f)}return c.tail!==null?(i=c.tail,c.rendering=i,c.tail=i.sibling,c.renderingStartTime=cn(),i.sibling=null,t=Rt.current,ke(Rt,l?t&1|2:t&1),i):(dt(i),null);case 22:case 23:return Ti(i),Ic(),l=i.memoizedState!==null,t!==null?t.memoizedState!==null!==l&&(i.flags|=8192):l&&(i.flags|=8192),l?s&536870912&&!(i.flags&128)&&(dt(i),i.subtreeFlags&6&&(i.flags|=8192)):dt(i),s=i.updateQueue,s!==null&&$o(i,s.retryQueue),s=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(s=t.memoizedState.cachePool.pool),l=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(l=i.memoizedState.cachePool.pool),l!==s&&(i.flags|=2048),t!==null&&et(Ba),null;case 24:return s=null,t!==null&&(s=t.memoizedState.cache),i.memoizedState.cache!==s&&(i.flags|=2048),Ri(Mt),dt(i),null;case 25:return null}throw Error(r(156,i.tag))}function sS(t,i){switch(Yc(i),i.tag){case 1:return t=i.flags,t&65536?(i.flags=t&-65537|128,i):null;case 3:return Ri(Mt),Fi(),t=i.flags,t&65536&&!(t&128)?(i.flags=t&-65537|128,i):null;case 26:case 27:case 5:return hs(i),null;case 13:if(Ti(i),t=i.memoizedState,t!==null&&t.dehydrated!==null){if(i.alternate===null)throw Error(r(340));kr()}return t=i.flags,t&65536?(i.flags=t&-65537|128,i):null;case 19:return et(Rt),null;case 4:return Fi(),null;case 10:return Ri(i.type),null;case 22:case 23:return Ti(i),Ic(),t!==null&&et(Ba),t=i.flags,t&65536?(i.flags=t&-65537|128,i):null;case 24:return Ri(Mt),null;case 25:return null;default:return null}}function yy(t,i){switch(Yc(i),i.tag){case 3:Ri(Mt),Fi();break;case 26:case 27:case 5:hs(i);break;case 4:Fi();break;case 13:Ti(i);break;case 19:et(Rt);break;case 10:Ri(i.type);break;case 22:case 23:Ti(i),Ic(),t!==null&&et(Ba);break;case 24:Ri(Mt)}}var rS={getCacheForType:function(t){var i=Yt(Mt),s=i.data.get(t);return s===void 0&&(s=t(),i.data.set(t,s)),s}},lS=typeof WeakMap=="function"?WeakMap:Map,ft=0,at=null,Ue=null,Ye=0,st=0,mn=null,Li=!1,Bs=!1,Fd=!1,ki=0,yt=0,sa=0,Ga=0,$d=0,zn=0,Us=0,tl=null,si=null,Yd=!1,Gd=0,Yo=1/0,Go=null,ra=null,Ko=!1,Ka=null,nl=0,Kd=0,Xd=null,il=0,Id=null;function pn(){if(ft&2&&Ye!==0)return Ye&-Ye;if(F.T!==null){var t=Ms;return t!==0?t:af()}return ce()}function vy(){zn===0&&(zn=!(Ye&536870912)||Ke?so():536870912);var t=Dn.current;return t!==null&&(t.flags|=32),zn}function Jt(t,i,s){(t===at&&st===2||t.cancelPendingCommit!==null)&&(Ps(t,0),zi(t,Ye,zn,!1)),H(t,s),(!(ft&2)||t!==at)&&(t===at&&(!(ft&2)&&(Ga|=s),yt===4&&zi(t,Ye,zn,!1)),ri(t))}function xy(t,i,s){if(ft&6)throw Error(r(327));var l=!s&&(i&60)===0&&(i&t.expiredLanes)===0||ti(t,i),c=l?cS(t,i):Wd(t,i,!0),f=l;do{if(c===0){Bs&&!l&&zi(t,i,0,!1);break}else if(c===6)zi(t,i,0,!Li);else{if(s=t.current.alternate,f&&!oS(s)){c=Wd(t,i,!1),f=!1;continue}if(c===2){if(f=i,t.errorRecoveryDisabledLanes&f)var v=0;else v=t.pendingLanes&-536870913,v=v!==0?v:v&536870912?536870912:0;if(v!==0){i=v;e:{var w=t;c=tl;var T=w.current.memoizedState.isDehydrated;if(T&&(Ps(w,v).flags|=256),v=Wd(w,v,!1),v!==2){if(Fd&&!T){w.errorRecoveryDisabledLanes|=f,Ga|=f,c=4;break e}f=si,si=c,f!==null&&Zd(f)}c=v}if(f=!1,c!==2)continue}}if(c===1){Ps(t,0),zi(t,i,0,!0);break}e:{switch(l=t,c){case 0:case 1:throw Error(r(345));case 4:if((i&4194176)===i){zi(l,i,zn,!Li);break e}break;case 2:si=null;break;case 3:case 5:break;default:throw Error(r(329))}if(l.finishedWork=s,l.finishedLanes=i,(i&62914560)===i&&(f=Gd+300-cn(),10<f)){if(zi(l,i,zn,!Li),yi(l,0)!==0)break e;l.timeoutHandle=Fy(by.bind(null,l,s,si,Go,Yd,i,zn,Ga,Us,Li,2,-0,0),f);break e}by(l,s,si,Go,Yd,i,zn,Ga,Us,Li,0,-0,0)}}break}while(!0);ri(t)}function Zd(t){si===null?si=t:si.push.apply(si,t)}function by(t,i,s,l,c,f,v,w,T,L,Y,Z,U){var $=i.subtreeFlags;if(($&8192||($&16785408)===16785408)&&(ul={stylesheets:null,count:0,unsuspend:FS},cy(i),i=YS(),i!==null)){t.cancelPendingCommit=i(Ay.bind(null,t,s,l,c,v,w,T,1,Z,U)),zi(t,f,v,!L);return}Ay(t,s,l,c,v,w,T,Y,Z,U)}function oS(t){for(var i=t;;){var s=i.tag;if((s===0||s===11||s===15)&&i.flags&16384&&(s=i.updateQueue,s!==null&&(s=s.stores,s!==null)))for(var l=0;l<s.length;l++){var c=s[l],f=c.getSnapshot;c=c.value;try{if(!dn(f(),c))return!1}catch{return!1}}if(s=i.child,i.subtreeFlags&16384&&s!==null)s.return=i,i=s;else{if(i===t)break;for(;i.sibling===null;){if(i.return===null||i.return===t)return!0;i=i.return}i.sibling.return=i.return,i=i.sibling}}return!0}function zi(t,i,s,l){i&=~$d,i&=~Ga,t.suspendedLanes|=i,t.pingedLanes&=~i,l&&(t.warmLanes|=i),l=t.expirationTimes;for(var c=i;0<c;){var f=31-Nt(c),v=1<<f;l[f]=-1,c&=~v}s!==0&&re(t,s,i)}function Xo(){return ft&6?!0:(al(0),!1)}function Qd(){if(Ue!==null){if(st===0)var t=Ue.return;else t=Ue,Ai=qa=null,id(t),As=null,Ur=0,t=Ue;for(;t!==null;)yy(t.alternate,t),t=t.return;Ue=null}}function Ps(t,i){t.finishedWork=null,t.finishedLanes=0;var s=t.timeoutHandle;s!==-1&&(t.timeoutHandle=-1,AS(s)),s=t.cancelPendingCommit,s!==null&&(t.cancelPendingCommit=null,s()),Qd(),at=t,Ue=s=aa(t.current,null),Ye=i,st=0,mn=null,Li=!1,Bs=ti(t,i),Fd=!1,Us=zn=$d=Ga=sa=yt=0,si=tl=null,Yd=!1,i&8&&(i|=i&32);var l=t.entangledLanes;if(l!==0)for(t=t.entanglements,l&=i;0<l;){var c=31-Nt(l),f=1<<c;i|=t[c],l&=~f}return ki=i,vo(),s}function wy(t,i){Ve=null,F.H=ai,i===Vr?(i=Vp(),st=3):i===Lp?(i=Vp(),st=4):st=i===kg?8:i!==null&&typeof i=="object"&&typeof i.then=="function"?6:1,mn=i,Ue===null&&(yt=1,Uo(t,Rn(i,t.current)))}function Sy(){var t=F.H;return F.H=ai,t===null?ai:t}function Ey(){var t=F.A;return F.A=rS,t}function Jd(){yt=4,Li||(Ye&4194176)!==Ye&&Dn.current!==null||(Bs=!0),!(sa&134217727)&&!(Ga&134217727)||at===null||zi(at,Ye,zn,!1)}function Wd(t,i,s){var l=ft;ft|=2;var c=Sy(),f=Ey();(at!==t||Ye!==i)&&(Go=null,Ps(t,i)),i=!1;var v=yt;e:do try{if(st!==0&&Ue!==null){var w=Ue,T=mn;switch(st){case 8:Qd(),v=6;break e;case 3:case 2:case 6:Dn.current===null&&(i=!0);var L=st;if(st=0,mn=null,Hs(t,w,T,L),s&&Bs){v=0;break e}break;default:L=st,st=0,mn=null,Hs(t,w,T,L)}}uS(),v=yt;break}catch(Y){wy(t,Y)}while(!0);return i&&t.shellSuspendCounter++,Ai=qa=null,ft=l,F.H=c,F.A=f,Ue===null&&(at=null,Ye=0,vo()),v}function uS(){for(;Ue!==null;)Ty(Ue)}function cS(t,i){var s=ft;ft|=2;var l=Sy(),c=Ey();at!==t||Ye!==i?(Go=null,Yo=cn()+500,Ps(t,i)):Bs=ti(t,i);e:do try{if(st!==0&&Ue!==null){i=Ue;var f=mn;t:switch(st){case 1:st=0,mn=null,Hs(t,i,f,1);break;case 2:if(kp(f)){st=0,mn=null,jy(i);break}i=function(){st===2&&at===t&&(st=7),ri(t)},f.then(i,i);break e;case 3:st=7;break e;case 4:st=5;break e;case 7:kp(f)?(st=0,mn=null,jy(i)):(st=0,mn=null,Hs(t,i,f,7));break;case 5:var v=null;switch(Ue.tag){case 26:v=Ue.memoizedState;case 5:case 27:var w=Ue;if(!v||ev(v)){st=0,mn=null;var T=w.sibling;if(T!==null)Ue=T;else{var L=w.return;L!==null?(Ue=L,Io(L)):Ue=null}break t}}st=0,mn=null,Hs(t,i,f,5);break;case 6:st=0,mn=null,Hs(t,i,f,6);break;case 8:Qd(),yt=6;break e;default:throw Error(r(462))}}dS();break}catch(Y){wy(t,Y)}while(!0);return Ai=qa=null,F.H=l,F.A=c,ft=s,Ue!==null?0:(at=null,Ye=0,vo(),yt)}function dS(){for(;Ue!==null&&!gi();)Ty(Ue)}function Ty(t){var i=Gg(t.alternate,t,ki);t.memoizedProps=t.pendingProps,i===null?Io(t):Ue=i}function jy(t){var i=t,s=i.alternate;switch(i.tag){case 15:case 0:i=Hg(s,i,i.pendingProps,i.type,void 0,Ye);break;case 11:i=Hg(s,i,i.pendingProps,i.type.render,i.ref,Ye);break;case 5:id(i);default:yy(s,i),i=Ue=my(i,ki),i=Gg(s,i,ki)}t.memoizedProps=t.pendingProps,i===null?Io(t):Ue=i}function Hs(t,i,s,l){Ai=qa=null,id(i),As=null,Ur=0;var c=i.return;try{if(W2(t,c,i,s,Ye)){yt=1,Uo(t,Rn(s,t.current)),Ue=null;return}}catch(f){if(c!==null)throw Ue=c,f;yt=1,Uo(t,Rn(s,t.current)),Ue=null;return}i.flags&32768?(Ke||l===1?t=!0:Bs||Ye&536870912?t=!1:(Li=t=!0,(l===2||l===3||l===6)&&(l=Dn.current,l!==null&&l.tag===13&&(l.flags|=16384))),Cy(i,t)):Io(i)}function Io(t){var i=t;do{if(i.flags&32768){Cy(i,Li);return}t=i.return;var s=aS(i.alternate,i,ki);if(s!==null){Ue=s;return}if(i=i.sibling,i!==null){Ue=i;return}Ue=i=t}while(i!==null);yt===0&&(yt=5)}function Cy(t,i){do{var s=sS(t.alternate,t);if(s!==null){s.flags&=32767,Ue=s;return}if(s=t.return,s!==null&&(s.flags|=32768,s.subtreeFlags=0,s.deletions=null),!i&&(t=t.sibling,t!==null)){Ue=t;return}Ue=t=s}while(t!==null);yt=6,Ue=null}function Ay(t,i,s,l,c,f,v,w,T,L){var Y=F.T,Z=ie.p;try{ie.p=2,F.T=null,fS(t,i,s,l,Z,c,f,v,w,T,L)}finally{F.T=Y,ie.p=Z}}function fS(t,i,s,l,c,f,v,w){do _s();while(Ka!==null);if(ft&6)throw Error(r(327));var T=t.finishedWork;if(l=t.finishedLanes,T===null)return null;if(t.finishedWork=null,t.finishedLanes=0,T===t.current)throw Error(r(177));t.callbackNode=null,t.callbackPriority=0,t.cancelPendingCommit=null;var L=T.lanes|T.childLanes;if(L|=qc,Q(t,l,L,f,v,w),t===at&&(Ue=at=null,Ye=0),!(T.subtreeFlags&10256)&&!(T.flags&10256)||Ko||(Ko=!0,Kd=L,Xd=s,gS(ja,function(){return _s(),null})),s=(T.flags&15990)!==0,T.subtreeFlags&15990||s?(s=F.T,F.T=null,f=ie.p,ie.p=2,v=ft,ft|=4,tS(t,T),ly(T,t),V2(ff,t.containerInfo),lu=!!df,ff=df=null,t.current=T,iy(t,T.alternate,T),Ta(),ft=v,ie.p=f,F.T=s):t.current=T,Ko?(Ko=!1,Ka=t,nl=l):Ry(t,L),L=t.pendingLanes,L===0&&(ra=null),bc(T.stateNode),ri(t),i!==null)for(c=t.onRecoverableError,T=0;T<i.length;T++)L=i[T],c(L.value,{componentStack:L.stack});return nl&3&&_s(),L=t.pendingLanes,l&4194218&&L&42?t===Id?il++:(il=0,Id=t):il=0,al(0),null}function Ry(t,i){(t.pooledCacheLanes&=i)===0&&(i=t.pooledCache,i!=null&&(t.pooledCache=null,Hr(i)))}function _s(){if(Ka!==null){var t=Ka,i=Kd;Kd=0;var s=Re(nl),l=F.T,c=ie.p;try{if(ie.p=32>s?32:s,F.T=null,Ka===null)var f=!1;else{s=Xd,Xd=null;var v=Ka,w=nl;if(Ka=null,nl=0,ft&6)throw Error(r(331));var T=ft;if(ft|=4,fy(v.current),uy(v,v.current,w,s),ft=T,al(0,!1),$t&&typeof $t.onPostCommitFiberRoot=="function")try{$t.onPostCommitFiberRoot($i,v)}catch{}f=!0}return f}finally{ie.p=c,F.T=l,Ry(t,i)}}return!1}function My(t,i,s){i=Rn(s,i),i=yd(t.stateNode,i,2),t=ea(t,i,2),t!==null&&(H(t,2),ri(t))}function nt(t,i,s){if(t.tag===3)My(t,t,s);else for(;i!==null;){if(i.tag===3){My(i,t,s);break}else if(i.tag===1){var l=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(ra===null||!ra.has(l))){t=Rn(s,t),s=Og(2),l=ea(i,s,2),l!==null&&(Lg(s,l,i,t),H(l,2),ri(l));break}}i=i.return}}function ef(t,i,s){var l=t.pingCache;if(l===null){l=t.pingCache=new lS;var c=new Set;l.set(i,c)}else c=l.get(i),c===void 0&&(c=new Set,l.set(i,c));c.has(s)||(Fd=!0,c.add(s),t=hS.bind(null,t,i,s),i.then(t,t))}function hS(t,i,s){var l=t.pingCache;l!==null&&l.delete(i),t.pingedLanes|=t.suspendedLanes&s,t.warmLanes&=~s,at===t&&(Ye&s)===s&&(yt===4||yt===3&&(Ye&62914560)===Ye&&300>cn()-Gd?!(ft&2)&&Ps(t,0):$d|=s,Us===Ye&&(Us=0)),ri(t)}function Ny(t,i){i===0&&(i=D()),t=Gi(t,i),t!==null&&(H(t,i),ri(t))}function mS(t){var i=t.memoizedState,s=0;i!==null&&(s=i.retryLane),Ny(t,s)}function pS(t,i){var s=0;switch(t.tag){case 13:var l=t.stateNode,c=t.memoizedState;c!==null&&(s=c.retryLane);break;case 19:l=t.stateNode;break;case 22:l=t.stateNode._retryCache;break;default:throw Error(r(314))}l!==null&&l.delete(i),Ny(t,s)}function gS(t,i){return xr(t,i)}var Zo=null,qs=null,tf=!1,Qo=!1,nf=!1,Xa=0;function ri(t){t!==qs&&t.next===null&&(qs===null?Zo=qs=t:qs=qs.next=t),Qo=!0,tf||(tf=!0,vS(yS))}function al(t,i){if(!nf&&Qo){nf=!0;do for(var s=!1,l=Zo;l!==null;){if(t!==0){var c=l.pendingLanes;if(c===0)var f=0;else{var v=l.suspendedLanes,w=l.pingedLanes;f=(1<<31-Nt(42|t)+1)-1,f&=c&~(v&~w),f=f&201326677?f&201326677|1:f?f|2:0}f!==0&&(s=!0,Ly(l,f))}else f=Ye,f=yi(l,l===at?f:0),!(f&3)||ti(l,f)||(s=!0,Ly(l,f));l=l.next}while(s);nf=!1}}function yS(){Qo=tf=!1;var t=0;Xa!==0&&(CS()&&(t=Xa),Xa=0);for(var i=cn(),s=null,l=Zo;l!==null;){var c=l.next,f=Dy(l,i);f===0?(l.next=null,s===null?Zo=c:s.next=c,c===null&&(qs=s)):(s=l,(t!==0||f&3)&&(Qo=!0)),l=c}al(t)}function Dy(t,i){for(var s=t.suspendedLanes,l=t.pingedLanes,c=t.expirationTimes,f=t.pendingLanes&-62914561;0<f;){var v=31-Nt(f),w=1<<v,T=c[v];T===-1?(!(w&s)||w&l)&&(c[v]=Sc(w,i)):T<=i&&(t.expiredLanes|=w),f&=~w}if(i=at,s=Ye,s=yi(t,t===i?s:0),l=t.callbackNode,s===0||t===i&&st===2||t.cancelPendingCommit!==null)return l!==null&&l!==null&&br(l),t.callbackNode=null,t.callbackPriority=0;if(!(s&3)||ti(t,s)){if(i=s&-s,i===t.callbackPriority)return i;switch(l!==null&&br(l),Re(s)){case 2:case 8:s=Sn;break;case 32:s=ja;break;case 268435456:s=no;break;default:s=ja}return l=Oy.bind(null,t),s=xr(s,l),t.callbackPriority=i,t.callbackNode=s,i}return l!==null&&l!==null&&br(l),t.callbackPriority=2,t.callbackNode=null,2}function Oy(t,i){var s=t.callbackNode;if(_s()&&t.callbackNode!==s)return null;var l=Ye;return l=yi(t,t===at?l:0),l===0?null:(xy(t,l,i),Dy(t,cn()),t.callbackNode!=null&&t.callbackNode===s?Oy.bind(null,t):null)}function Ly(t,i){if(_s())return null;xy(t,i,!0)}function vS(t){RS(function(){ft&6?xr(qn,t):t()})}function af(){return Xa===0&&(Xa=so()),Xa}function ky(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:co(""+t)}function zy(t,i){var s=i.ownerDocument.createElement("input");return s.name=i.name,s.value=i.value,t.id&&s.setAttribute("form",t.id),i.parentNode.insertBefore(s,i),t=new FormData(t),s.parentNode.removeChild(s),t}function xS(t,i,s,l,c){if(i==="submit"&&s&&s.stateNode===c){var f=ky((c[we]||null).action),v=l.submitter;v&&(i=(i=v[we]||null)?ky(i.formAction):v.getAttribute("formAction"),i!==null&&(f=i,v=null));var w=new po("action","action",null,l,c);t.push({event:w,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(Xa!==0){var T=v?zy(c,v):new FormData(c);fd(s,{pending:!0,data:T,method:c.method,action:f},null,T)}}else typeof f=="function"&&(w.preventDefault(),T=v?zy(c,v):new FormData(c),fd(s,{pending:!0,data:T,method:c.method,action:f},f,T))},currentTarget:c}]})}}for(var sf=0;sf<Ap.length;sf++){var rf=Ap[sf],bS=rf.toLowerCase(),wS=rf[0].toUpperCase()+rf.slice(1);$n(bS,"on"+wS)}$n(Sp,"onAnimationEnd"),$n(Ep,"onAnimationIteration"),$n(Tp,"onAnimationStart"),$n("dblclick","onDoubleClick"),$n("focusin","onFocus"),$n("focusout","onBlur"),$n(U2,"onTransitionRun"),$n(P2,"onTransitionStart"),$n(H2,"onTransitionCancel"),$n(jp,"onTransitionEnd"),ut("onMouseEnter",["mouseout","mouseover"]),ut("onMouseLeave",["mouseout","mouseover"]),ut("onPointerEnter",["pointerout","pointerover"]),ut("onPointerLeave",["pointerout","pointerover"]),$e("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),$e("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),$e("onBeforeInput",["compositionend","keypress","textInput","paste"]),$e("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),$e("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),$e("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var sl="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(" "),SS=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(sl));function Vy(t,i){i=(i&4)!==0;for(var s=0;s<t.length;s++){var l=t[s],c=l.event;l=l.listeners;e:{var f=void 0;if(i)for(var v=l.length-1;0<=v;v--){var w=l[v],T=w.instance,L=w.currentTarget;if(w=w.listener,T!==f&&c.isPropagationStopped())break e;f=w,c.currentTarget=L;try{f(c)}catch(Y){Bo(Y)}c.currentTarget=null,f=T}else for(v=0;v<l.length;v++){if(w=l[v],T=w.instance,L=w.currentTarget,w=w.listener,T!==f&&c.isPropagationStopped())break e;f=w,c.currentTarget=L;try{f(c)}catch(Y){Bo(Y)}c.currentTarget=null,f=T}}}}function _e(t,i){var s=i[bt];s===void 0&&(s=i[bt]=new Set);var l=t+"__bubble";s.has(l)||(By(i,t,2,!1),s.add(l))}function lf(t,i,s){var l=0;i&&(l|=4),By(s,t,l,i)}var Jo="_reactListening"+Math.random().toString(36).slice(2);function of(t){if(!t[Jo]){t[Jo]=!0,Aa.forEach(function(s){s!=="selectionchange"&&(SS.has(s)||lf(s,!1,t),lf(s,!0,t))});var i=t.nodeType===9?t:t.ownerDocument;i===null||i[Jo]||(i[Jo]=!0,lf("selectionchange",!1,i))}}function By(t,i,s,l){switch(rv(i)){case 2:var c=XS;break;case 8:c=IS;break;default:c=wf}s=c.bind(null,i,s,t),c=void 0,!Mc||i!=="touchstart"&&i!=="touchmove"&&i!=="wheel"||(c=!0),l?c!==void 0?t.addEventListener(i,s,{capture:!0,passive:c}):t.addEventListener(i,s,!0):c!==void 0?t.addEventListener(i,s,{passive:c}):t.addEventListener(i,s,!1)}function uf(t,i,s,l,c){var f=l;if(!(i&1)&&!(i&2)&&l!==null)e:for(;;){if(l===null)return;var v=l.tag;if(v===3||v===4){var w=l.stateNode.containerInfo;if(w===c||w.nodeType===8&&w.parentNode===c)break;if(v===4)for(v=l.return;v!==null;){var T=v.tag;if((T===3||T===4)&&(T=v.stateNode.containerInfo,T===c||T.nodeType===8&&T.parentNode===c))return;v=v.return}for(;w!==null;){if(v=Bt(w),v===null)return;if(T=v.tag,T===5||T===6||T===26||T===27){l=f=v;continue e}w=w.parentNode}}l=l.return}Jm(function(){var L=f,Y=Ac(s),Z=[];e:{var U=Cp.get(t);if(U!==void 0){var $=po,ge=t;switch(t){case"keypress":if(ho(s)===0)break e;case"keydown":case"keyup":$=p2;break;case"focusin":ge="focus",$=Lc;break;case"focusout":ge="blur",$=Lc;break;case"beforeblur":case"afterblur":$=Lc;break;case"click":if(s.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":$=tp;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":$=i2;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":$=v2;break;case Sp:case Ep:case Tp:$=r2;break;case jp:$=b2;break;case"scroll":case"scrollend":$=t2;break;case"wheel":$=S2;break;case"copy":case"cut":case"paste":$=o2;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":$=ip;break;case"toggle":case"beforetoggle":$=T2}var Ne=(i&4)!==0,vt=!Ne&&(t==="scroll"||t==="scrollend"),k=Ne?U!==null?U+"Capture":null:U;Ne=[];for(var O=L,B;O!==null;){var K=O;if(B=K.stateNode,K=K.tag,K!==5&&K!==26&&K!==27||B===null||k===null||(K=Tr(O,k),K!=null&&Ne.push(rl(O,K,B))),vt)break;O=O.return}0<Ne.length&&(U=new $(U,ge,null,s,Y),Z.push({event:U,listeners:Ne}))}}if(!(i&7)){e:{if(U=t==="mouseover"||t==="pointerover",$=t==="mouseout"||t==="pointerout",U&&s!==Cc&&(ge=s.relatedTarget||s.fromElement)&&(Bt(ge)||ge[Ze]))break e;if(($||U)&&(U=Y.window===Y?Y:(U=Y.ownerDocument)?U.defaultView||U.parentWindow:window,$?(ge=s.relatedTarget||s.toElement,$=L,ge=ge?Bt(ge):null,ge!==null&&(vt=W(ge),Ne=ge.tag,ge!==vt||Ne!==5&&Ne!==27&&Ne!==6)&&(ge=null)):($=null,ge=L),$!==ge)){if(Ne=tp,K="onMouseLeave",k="onMouseEnter",O="mouse",(t==="pointerout"||t==="pointerover")&&(Ne=ip,K="onPointerLeave",k="onPointerEnter",O="pointer"),vt=$==null?U:xi($),B=ge==null?U:xi(ge),U=new Ne(K,O+"leave",$,s,Y),U.target=vt,U.relatedTarget=B,K=null,Bt(Y)===L&&(Ne=new Ne(k,O+"enter",ge,s,Y),Ne.target=B,Ne.relatedTarget=vt,K=Ne),vt=K,$&&ge)t:{for(Ne=$,k=ge,O=0,B=Ne;B;B=Fs(B))O++;for(B=0,K=k;K;K=Fs(K))B++;for(;0<O-B;)Ne=Fs(Ne),O--;for(;0<B-O;)k=Fs(k),B--;for(;O--;){if(Ne===k||k!==null&&Ne===k.alternate)break t;Ne=Fs(Ne),k=Fs(k)}Ne=null}else Ne=null;$!==null&&Uy(Z,U,$,Ne,!1),ge!==null&&vt!==null&&Uy(Z,vt,ge,Ne,!0)}}e:{if(U=L?xi(L):window,$=U.nodeName&&U.nodeName.toLowerCase(),$==="select"||$==="input"&&U.type==="file")var de=dp;else if(up(U))if(fp)de=k2;else{de=O2;var Be=D2}else $=U.nodeName,!$||$.toLowerCase()!=="input"||U.type!=="checkbox"&&U.type!=="radio"?L&&jc(L.elementType)&&(de=dp):de=L2;if(de&&(de=de(t,L))){cp(Z,de,s,Y);break e}Be&&Be(t,U,L),t==="focusout"&&L&&U.type==="number"&&L.memoizedProps.value!=null&&Tc(U,"number",U.value)}switch(Be=L?xi(L):window,t){case"focusin":(up(Be)||Be.contentEditable==="true")&&(ws=Be,Pc=L,Or=null);break;case"focusout":Or=Pc=ws=null;break;case"mousedown":Hc=!0;break;case"contextmenu":case"mouseup":case"dragend":Hc=!1,bp(Z,s,Y);break;case"selectionchange":if(B2)break;case"keydown":case"keyup":bp(Z,s,Y)}var xe;if(zc)e:{switch(t){case"compositionstart":var je="onCompositionStart";break e;case"compositionend":je="onCompositionEnd";break e;case"compositionupdate":je="onCompositionUpdate";break e}je=void 0}else bs?lp(t,s)&&(je="onCompositionEnd"):t==="keydown"&&s.keyCode===229&&(je="onCompositionStart");je&&(ap&&s.locale!=="ko"&&(bs||je!=="onCompositionStart"?je==="onCompositionEnd"&&bs&&(xe=Wm()):(Yi=Y,Nc="value"in Yi?Yi.value:Yi.textContent,bs=!0)),Be=Wo(L,je),0<Be.length&&(je=new np(je,t,null,s,Y),Z.push({event:je,listeners:Be}),xe?je.data=xe:(xe=op(s),xe!==null&&(je.data=xe)))),(xe=C2?A2(t,s):R2(t,s))&&(je=Wo(L,"onBeforeInput"),0<je.length&&(Be=new np("onBeforeInput","beforeinput",null,s,Y),Z.push({event:Be,listeners:je}),Be.data=xe)),xS(Z,t,L,s,Y)}Vy(Z,i)})}function rl(t,i,s){return{instance:t,listener:i,currentTarget:s}}function Wo(t,i){for(var s=i+"Capture",l=[];t!==null;){var c=t,f=c.stateNode;c=c.tag,c!==5&&c!==26&&c!==27||f===null||(c=Tr(t,s),c!=null&&l.unshift(rl(t,c,f)),c=Tr(t,i),c!=null&&l.push(rl(t,c,f))),t=t.return}return l}function Fs(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function Uy(t,i,s,l,c){for(var f=i._reactName,v=[];s!==null&&s!==l;){var w=s,T=w.alternate,L=w.stateNode;if(w=w.tag,T!==null&&T===l)break;w!==5&&w!==26&&w!==27||L===null||(T=L,c?(L=Tr(s,f),L!=null&&v.unshift(rl(s,L,T))):c||(L=Tr(s,f),L!=null&&v.push(rl(s,L,T)))),s=s.return}v.length!==0&&t.push({event:i,listeners:v})}var ES=/\r\n?/g,TS=/\u0000|\uFFFD/g;function Py(t){return(typeof t=="string"?t:""+t).replace(ES,`
`).replace(TS,"")}function Hy(t,i){return i=Py(i),Py(t)===i}function eu(){}function Je(t,i,s,l,c,f){switch(s){case"children":typeof l=="string"?i==="body"||i==="textarea"&&l===""||ys(t,l):(typeof l=="number"||typeof l=="bigint")&&i!=="body"&&ys(t,""+l);break;case"className":lo(t,"class",l);break;case"tabIndex":lo(t,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":lo(t,s,l);break;case"style":Zm(t,l,f);break;case"data":if(i!=="object"){lo(t,"data",l);break}case"src":case"href":if(l===""&&(i!=="a"||s!=="href")){t.removeAttribute(s);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(s);break}l=co(""+l),t.setAttribute(s,l);break;case"action":case"formAction":if(typeof l=="function"){t.setAttribute(s,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof f=="function"&&(s==="formAction"?(i!=="input"&&Je(t,i,"name",c.name,c,null),Je(t,i,"formEncType",c.formEncType,c,null),Je(t,i,"formMethod",c.formMethod,c,null),Je(t,i,"formTarget",c.formTarget,c,null)):(Je(t,i,"encType",c.encType,c,null),Je(t,i,"method",c.method,c,null),Je(t,i,"target",c.target,c,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(s);break}l=co(""+l),t.setAttribute(s,l);break;case"onClick":l!=null&&(t.onclick=eu);break;case"onScroll":l!=null&&_e("scroll",t);break;case"onScrollEnd":l!=null&&_e("scrollend",t);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(r(61));if(s=l.__html,s!=null){if(c.children!=null)throw Error(r(60));t.innerHTML=s}}break;case"multiple":t.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":t.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){t.removeAttribute("xlink:href");break}s=co(""+l),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",s);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(s,""+l):t.removeAttribute(s);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":l&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(s,""):t.removeAttribute(s);break;case"capture":case"download":l===!0?t.setAttribute(s,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(s,l):t.removeAttribute(s);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?t.setAttribute(s,l):t.removeAttribute(s);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?t.removeAttribute(s):t.setAttribute(s,l);break;case"popover":_e("beforetoggle",t),_e("toggle",t),ps(t,"popover",l);break;case"xlinkActuate":wi(t,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":wi(t,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":wi(t,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":wi(t,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":wi(t,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":wi(t,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":wi(t,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":wi(t,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":wi(t,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":ps(t,"is",l);break;case"innerText":case"textContent":break;default:(!(2<s.length)||s[0]!=="o"&&s[0]!=="O"||s[1]!=="n"&&s[1]!=="N")&&(s=W1.get(s)||s,ps(t,s,l))}}function cf(t,i,s,l,c,f){switch(s){case"style":Zm(t,l,f);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(r(61));if(s=l.__html,s!=null){if(c.children!=null)throw Error(r(60));t.innerHTML=s}}break;case"children":typeof l=="string"?ys(t,l):(typeof l=="number"||typeof l=="bigint")&&ys(t,""+l);break;case"onScroll":l!=null&&_e("scroll",t);break;case"onScrollEnd":l!=null&&_e("scrollend",t);break;case"onClick":l!=null&&(t.onclick=eu);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Ra.hasOwnProperty(s))e:{if(s[0]==="o"&&s[1]==="n"&&(c=s.endsWith("Capture"),i=s.slice(2,c?s.length-7:void 0),f=t[we]||null,f=f!=null?f[s]:null,typeof f=="function"&&t.removeEventListener(i,f,c),typeof l=="function")){typeof f!="function"&&f!==null&&(s in t?t[s]=null:t.hasAttribute(s)&&t.removeAttribute(s)),t.addEventListener(i,l,c);break e}s in t?t[s]=l:l===!0?t.setAttribute(s,""):ps(t,s,l)}}}function _t(t,i,s){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":_e("error",t),_e("load",t);var l=!1,c=!1,f;for(f in s)if(s.hasOwnProperty(f)){var v=s[f];if(v!=null)switch(f){case"src":l=!0;break;case"srcSet":c=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,i));default:Je(t,i,f,v,s,null)}}c&&Je(t,i,"srcSet",s.srcSet,s,null),l&&Je(t,i,"src",s.src,s,null);return;case"input":_e("invalid",t);var w=f=v=c=null,T=null,L=null;for(l in s)if(s.hasOwnProperty(l)){var Y=s[l];if(Y!=null)switch(l){case"name":c=Y;break;case"type":v=Y;break;case"checked":T=Y;break;case"defaultChecked":L=Y;break;case"value":f=Y;break;case"defaultValue":w=Y;break;case"children":case"dangerouslySetInnerHTML":if(Y!=null)throw Error(r(137,i));break;default:Je(t,i,l,Y,s,null)}}Gm(t,f,w,T,L,v,c,!1),oo(t);return;case"select":_e("invalid",t),l=v=f=null;for(c in s)if(s.hasOwnProperty(c)&&(w=s[c],w!=null))switch(c){case"value":f=w;break;case"defaultValue":v=w;break;case"multiple":l=w;default:Je(t,i,c,w,s,null)}i=f,s=v,t.multiple=!!l,i!=null?gs(t,!!l,i,!1):s!=null&&gs(t,!!l,s,!0);return;case"textarea":_e("invalid",t),f=c=l=null;for(v in s)if(s.hasOwnProperty(v)&&(w=s[v],w!=null))switch(v){case"value":l=w;break;case"defaultValue":c=w;break;case"children":f=w;break;case"dangerouslySetInnerHTML":if(w!=null)throw Error(r(91));break;default:Je(t,i,v,w,s,null)}Xm(t,l,c,f),oo(t);return;case"option":for(T in s)if(s.hasOwnProperty(T)&&(l=s[T],l!=null))switch(T){case"selected":t.selected=l&&typeof l!="function"&&typeof l!="symbol";break;default:Je(t,i,T,l,s,null)}return;case"dialog":_e("cancel",t),_e("close",t);break;case"iframe":case"object":_e("load",t);break;case"video":case"audio":for(l=0;l<sl.length;l++)_e(sl[l],t);break;case"image":_e("error",t),_e("load",t);break;case"details":_e("toggle",t);break;case"embed":case"source":case"link":_e("error",t),_e("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(L in s)if(s.hasOwnProperty(L)&&(l=s[L],l!=null))switch(L){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,i));default:Je(t,i,L,l,s,null)}return;default:if(jc(i)){for(Y in s)s.hasOwnProperty(Y)&&(l=s[Y],l!==void 0&&cf(t,i,Y,l,s,void 0));return}}for(w in s)s.hasOwnProperty(w)&&(l=s[w],l!=null&&Je(t,i,w,l,s,null))}function jS(t,i,s,l){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var c=null,f=null,v=null,w=null,T=null,L=null,Y=null;for($ in s){var Z=s[$];if(s.hasOwnProperty($)&&Z!=null)switch($){case"checked":break;case"value":break;case"defaultValue":T=Z;default:l.hasOwnProperty($)||Je(t,i,$,null,l,Z)}}for(var U in l){var $=l[U];if(Z=s[U],l.hasOwnProperty(U)&&($!=null||Z!=null))switch(U){case"type":f=$;break;case"name":c=$;break;case"checked":L=$;break;case"defaultChecked":Y=$;break;case"value":v=$;break;case"defaultValue":w=$;break;case"children":case"dangerouslySetInnerHTML":if($!=null)throw Error(r(137,i));break;default:$!==Z&&Je(t,i,U,$,l,Z)}}Ec(t,v,w,T,L,Y,f,c);return;case"select":$=v=w=U=null;for(f in s)if(T=s[f],s.hasOwnProperty(f)&&T!=null)switch(f){case"value":break;case"multiple":$=T;default:l.hasOwnProperty(f)||Je(t,i,f,null,l,T)}for(c in l)if(f=l[c],T=s[c],l.hasOwnProperty(c)&&(f!=null||T!=null))switch(c){case"value":U=f;break;case"defaultValue":w=f;break;case"multiple":v=f;default:f!==T&&Je(t,i,c,f,l,T)}i=w,s=v,l=$,U!=null?gs(t,!!s,U,!1):!!l!=!!s&&(i!=null?gs(t,!!s,i,!0):gs(t,!!s,s?[]:"",!1));return;case"textarea":$=U=null;for(w in s)if(c=s[w],s.hasOwnProperty(w)&&c!=null&&!l.hasOwnProperty(w))switch(w){case"value":break;case"children":break;default:Je(t,i,w,null,l,c)}for(v in l)if(c=l[v],f=s[v],l.hasOwnProperty(v)&&(c!=null||f!=null))switch(v){case"value":U=c;break;case"defaultValue":$=c;break;case"children":break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(r(91));break;default:c!==f&&Je(t,i,v,c,l,f)}Km(t,U,$);return;case"option":for(var ge in s)if(U=s[ge],s.hasOwnProperty(ge)&&U!=null&&!l.hasOwnProperty(ge))switch(ge){case"selected":t.selected=!1;break;default:Je(t,i,ge,null,l,U)}for(T in l)if(U=l[T],$=s[T],l.hasOwnProperty(T)&&U!==$&&(U!=null||$!=null))switch(T){case"selected":t.selected=U&&typeof U!="function"&&typeof U!="symbol";break;default:Je(t,i,T,U,l,$)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Ne in s)U=s[Ne],s.hasOwnProperty(Ne)&&U!=null&&!l.hasOwnProperty(Ne)&&Je(t,i,Ne,null,l,U);for(L in l)if(U=l[L],$=s[L],l.hasOwnProperty(L)&&U!==$&&(U!=null||$!=null))switch(L){case"children":case"dangerouslySetInnerHTML":if(U!=null)throw Error(r(137,i));break;default:Je(t,i,L,U,l,$)}return;default:if(jc(i)){for(var vt in s)U=s[vt],s.hasOwnProperty(vt)&&U!==void 0&&!l.hasOwnProperty(vt)&&cf(t,i,vt,void 0,l,U);for(Y in l)U=l[Y],$=s[Y],!l.hasOwnProperty(Y)||U===$||U===void 0&&$===void 0||cf(t,i,Y,U,l,$);return}}for(var k in s)U=s[k],s.hasOwnProperty(k)&&U!=null&&!l.hasOwnProperty(k)&&Je(t,i,k,null,l,U);for(Z in l)U=l[Z],$=s[Z],!l.hasOwnProperty(Z)||U===$||U==null&&$==null||Je(t,i,Z,U,l,$)}var df=null,ff=null;function tu(t){return t.nodeType===9?t:t.ownerDocument}function _y(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function qy(t,i){if(t===0)switch(i){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&i==="foreignObject"?0:t}function hf(t,i){return t==="textarea"||t==="noscript"||typeof i.children=="string"||typeof i.children=="number"||typeof i.children=="bigint"||typeof i.dangerouslySetInnerHTML=="object"&&i.dangerouslySetInnerHTML!==null&&i.dangerouslySetInnerHTML.__html!=null}var mf=null;function CS(){var t=window.event;return t&&t.type==="popstate"?t===mf?!1:(mf=t,!0):(mf=null,!1)}var Fy=typeof setTimeout=="function"?setTimeout:void 0,AS=typeof clearTimeout=="function"?clearTimeout:void 0,$y=typeof Promise=="function"?Promise:void 0,RS=typeof queueMicrotask=="function"?queueMicrotask:typeof $y<"u"?function(t){return $y.resolve(null).then(t).catch(MS)}:Fy;function MS(t){setTimeout(function(){throw t})}function pf(t,i){var s=i,l=0;do{var c=s.nextSibling;if(t.removeChild(s),c&&c.nodeType===8)if(s=c.data,s==="/$"){if(l===0){t.removeChild(c),ml(i);return}l--}else s!=="$"&&s!=="$?"&&s!=="$!"||l++;s=c}while(s);ml(i)}function gf(t){var i=t.firstChild;for(i&&i.nodeType===10&&(i=i.nextSibling);i;){var s=i;switch(i=i.nextSibling,s.nodeName){case"HTML":case"HEAD":case"BODY":gf(s),vi(s);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(s.rel.toLowerCase()==="stylesheet")continue}t.removeChild(s)}}function NS(t,i,s,l){for(;t.nodeType===1;){var c=s;if(t.nodeName.toLowerCase()!==i.toLowerCase()){if(!l&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(l){if(!t[En])switch(i){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(f=t.getAttribute("rel"),f==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(f!==c.rel||t.getAttribute("href")!==(c.href==null?null:c.href)||t.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin)||t.getAttribute("title")!==(c.title==null?null:c.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(f=t.getAttribute("src"),(f!==(c.src==null?null:c.src)||t.getAttribute("type")!==(c.type==null?null:c.type)||t.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin))&&f&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(i==="input"&&t.type==="hidden"){var f=c.name==null?null:""+c.name;if(c.type==="hidden"&&t.getAttribute("name")===f)return t}else return t;if(t=Kn(t.nextSibling),t===null)break}return null}function DS(t,i,s){if(i==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!s||(t=Kn(t.nextSibling),t===null))return null;return t}function Kn(t){for(;t!=null;t=t.nextSibling){var i=t.nodeType;if(i===1||i===3)break;if(i===8){if(i=t.data,i==="$"||i==="$!"||i==="$?"||i==="F!"||i==="F")break;if(i==="/$")return null}}return t}function Yy(t){t=t.previousSibling;for(var i=0;t;){if(t.nodeType===8){var s=t.data;if(s==="$"||s==="$!"||s==="$?"){if(i===0)return t;i--}else s==="/$"&&i++}t=t.previousSibling}return null}function Gy(t,i,s){switch(i=tu(s),t){case"html":if(t=i.documentElement,!t)throw Error(r(452));return t;case"head":if(t=i.head,!t)throw Error(r(453));return t;case"body":if(t=i.body,!t)throw Error(r(454));return t;default:throw Error(r(451))}}var Vn=new Map,Ky=new Set;function nu(t){return typeof t.getRootNode=="function"?t.getRootNode():t.ownerDocument}var Vi=ie.d;ie.d={f:OS,r:LS,D:kS,C:zS,L:VS,m:BS,X:PS,S:US,M:HS};function OS(){var t=Vi.f(),i=Xo();return t||i}function LS(t){var i=Ut(t);i!==null&&i.tag===5&&i.type==="form"?bg(i):Vi.r(t)}var $s=typeof document>"u"?null:document;function Xy(t,i,s){var l=$s;if(l&&typeof i=="string"&&i){var c=Cn(i);c='link[rel="'+t+'"][href="'+c+'"]',typeof s=="string"&&(c+='[crossorigin="'+s+'"]'),Ky.has(c)||(Ky.add(c),t={rel:t,crossOrigin:s,href:i},l.querySelector(c)===null&&(i=l.createElement("link"),_t(i,"link",t),it(i),l.head.appendChild(i)))}}function kS(t){Vi.D(t),Xy("dns-prefetch",t,null)}function zS(t,i){Vi.C(t,i),Xy("preconnect",t,i)}function VS(t,i,s){Vi.L(t,i,s);var l=$s;if(l&&t&&i){var c='link[rel="preload"][as="'+Cn(i)+'"]';i==="image"&&s&&s.imageSrcSet?(c+='[imagesrcset="'+Cn(s.imageSrcSet)+'"]',typeof s.imageSizes=="string"&&(c+='[imagesizes="'+Cn(s.imageSizes)+'"]')):c+='[href="'+Cn(t)+'"]';var f=c;switch(i){case"style":f=Ys(t);break;case"script":f=Gs(t)}Vn.has(f)||(t=te({rel:"preload",href:i==="image"&&s&&s.imageSrcSet?void 0:t,as:i},s),Vn.set(f,t),l.querySelector(c)!==null||i==="style"&&l.querySelector(ll(f))||i==="script"&&l.querySelector(ol(f))||(i=l.createElement("link"),_t(i,"link",t),it(i),l.head.appendChild(i)))}}function BS(t,i){Vi.m(t,i);var s=$s;if(s&&t){var l=i&&typeof i.as=="string"?i.as:"script",c='link[rel="modulepreload"][as="'+Cn(l)+'"][href="'+Cn(t)+'"]',f=c;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":f=Gs(t)}if(!Vn.has(f)&&(t=te({rel:"modulepreload",href:t},i),Vn.set(f,t),s.querySelector(c)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(s.querySelector(ol(f)))return}l=s.createElement("link"),_t(l,"link",t),it(l),s.head.appendChild(l)}}}function US(t,i,s){Vi.S(t,i,s);var l=$s;if(l&&t){var c=Tn(l).hoistableStyles,f=Ys(t);i=i||"default";var v=c.get(f);if(!v){var w={loading:0,preload:null};if(v=l.querySelector(ll(f)))w.loading=5;else{t=te({rel:"stylesheet",href:t,"data-precedence":i},s),(s=Vn.get(f))&&yf(t,s);var T=v=l.createElement("link");it(T),_t(T,"link",t),T._p=new Promise(function(L,Y){T.onload=L,T.onerror=Y}),T.addEventListener("load",function(){w.loading|=1}),T.addEventListener("error",function(){w.loading|=2}),w.loading|=4,iu(v,i,l)}v={type:"stylesheet",instance:v,count:1,state:w},c.set(f,v)}}}function PS(t,i){Vi.X(t,i);var s=$s;if(s&&t){var l=Tn(s).hoistableScripts,c=Gs(t),f=l.get(c);f||(f=s.querySelector(ol(c)),f||(t=te({src:t,async:!0},i),(i=Vn.get(c))&&vf(t,i),f=s.createElement("script"),it(f),_t(f,"link",t),s.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},l.set(c,f))}}function HS(t,i){Vi.M(t,i);var s=$s;if(s&&t){var l=Tn(s).hoistableScripts,c=Gs(t),f=l.get(c);f||(f=s.querySelector(ol(c)),f||(t=te({src:t,async:!0,type:"module"},i),(i=Vn.get(c))&&vf(t,i),f=s.createElement("script"),it(f),_t(f,"link",t),s.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},l.set(c,f))}}function Iy(t,i,s,l){var c=(c=Jn.current)?nu(c):null;if(!c)throw Error(r(446));switch(t){case"meta":case"title":return null;case"style":return typeof s.precedence=="string"&&typeof s.href=="string"?(i=Ys(s.href),s=Tn(c).hoistableStyles,l=s.get(i),l||(l={type:"style",instance:null,count:0,state:null},s.set(i,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(s.rel==="stylesheet"&&typeof s.href=="string"&&typeof s.precedence=="string"){t=Ys(s.href);var f=Tn(c).hoistableStyles,v=f.get(t);if(v||(c=c.ownerDocument||c,v={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},f.set(t,v),(f=c.querySelector(ll(t)))&&!f._p&&(v.instance=f,v.state.loading=5),Vn.has(t)||(s={rel:"preload",as:"style",href:s.href,crossOrigin:s.crossOrigin,integrity:s.integrity,media:s.media,hrefLang:s.hrefLang,referrerPolicy:s.referrerPolicy},Vn.set(t,s),f||_S(c,t,s,v.state))),i&&l===null)throw Error(r(528,""));return v}if(i&&l!==null)throw Error(r(529,""));return null;case"script":return i=s.async,s=s.src,typeof s=="string"&&i&&typeof i!="function"&&typeof i!="symbol"?(i=Gs(s),s=Tn(c).hoistableScripts,l=s.get(i),l||(l={type:"script",instance:null,count:0,state:null},s.set(i,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,t))}}function Ys(t){return'href="'+Cn(t)+'"'}function ll(t){return'link[rel="stylesheet"]['+t+"]"}function Zy(t){return te({},t,{"data-precedence":t.precedence,precedence:null})}function _S(t,i,s,l){t.querySelector('link[rel="preload"][as="style"]['+i+"]")?l.loading=1:(i=t.createElement("link"),l.preload=i,i.addEventListener("load",function(){return l.loading|=1}),i.addEventListener("error",function(){return l.loading|=2}),_t(i,"link",s),it(i),t.head.appendChild(i))}function Gs(t){return'[src="'+Cn(t)+'"]'}function ol(t){return"script[async]"+t}function Qy(t,i,s){if(i.count++,i.instance===null)switch(i.type){case"style":var l=t.querySelector('style[data-href~="'+Cn(s.href)+'"]');if(l)return i.instance=l,it(l),l;var c=te({},s,{"data-href":s.href,"data-precedence":s.precedence,href:null,precedence:null});return l=(t.ownerDocument||t).createElement("style"),it(l),_t(l,"style",c),iu(l,s.precedence,t),i.instance=l;case"stylesheet":c=Ys(s.href);var f=t.querySelector(ll(c));if(f)return i.state.loading|=4,i.instance=f,it(f),f;l=Zy(s),(c=Vn.get(c))&&yf(l,c),f=(t.ownerDocument||t).createElement("link"),it(f);var v=f;return v._p=new Promise(function(w,T){v.onload=w,v.onerror=T}),_t(f,"link",l),i.state.loading|=4,iu(f,s.precedence,t),i.instance=f;case"script":return f=Gs(s.src),(c=t.querySelector(ol(f)))?(i.instance=c,it(c),c):(l=s,(c=Vn.get(f))&&(l=te({},s),vf(l,c)),t=t.ownerDocument||t,c=t.createElement("script"),it(c),_t(c,"link",l),t.head.appendChild(c),i.instance=c);case"void":return null;default:throw Error(r(443,i.type))}else i.type==="stylesheet"&&!(i.state.loading&4)&&(l=i.instance,i.state.loading|=4,iu(l,s.precedence,t));return i.instance}function iu(t,i,s){for(var l=s.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),c=l.length?l[l.length-1]:null,f=c,v=0;v<l.length;v++){var w=l[v];if(w.dataset.precedence===i)f=w;else if(f!==c)break}f?f.parentNode.insertBefore(t,f.nextSibling):(i=s.nodeType===9?s.head:s,i.insertBefore(t,i.firstChild))}function yf(t,i){t.crossOrigin==null&&(t.crossOrigin=i.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=i.referrerPolicy),t.title==null&&(t.title=i.title)}function vf(t,i){t.crossOrigin==null&&(t.crossOrigin=i.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=i.referrerPolicy),t.integrity==null&&(t.integrity=i.integrity)}var au=null;function Jy(t,i,s){if(au===null){var l=new Map,c=au=new Map;c.set(s,l)}else c=au,l=c.get(s),l||(l=new Map,c.set(s,l));if(l.has(t))return l;for(l.set(t,null),s=s.getElementsByTagName(t),c=0;c<s.length;c++){var f=s[c];if(!(f[En]||f[pe]||t==="link"&&f.getAttribute("rel")==="stylesheet")&&f.namespaceURI!=="http://www.w3.org/2000/svg"){var v=f.getAttribute(i)||"";v=t+v;var w=l.get(v);w?w.push(f):l.set(v,[f])}}return l}function Wy(t,i,s){t=t.ownerDocument||t,t.head.insertBefore(s,i==="title"?t.querySelector("head > title"):null)}function qS(t,i,s){if(s===1||i.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof i.precedence!="string"||typeof i.href!="string"||i.href==="")break;return!0;case"link":if(typeof i.rel!="string"||typeof i.href!="string"||i.href===""||i.onLoad||i.onError)break;switch(i.rel){case"stylesheet":return t=i.disabled,typeof i.precedence=="string"&&t==null;default:return!0}case"script":if(i.async&&typeof i.async!="function"&&typeof i.async!="symbol"&&!i.onLoad&&!i.onError&&i.src&&typeof i.src=="string")return!0}return!1}function ev(t){return!(t.type==="stylesheet"&&!(t.state.loading&3))}var ul=null;function FS(){}function $S(t,i,s){if(ul===null)throw Error(r(475));var l=ul;if(i.type==="stylesheet"&&(typeof s.media!="string"||matchMedia(s.media).matches!==!1)&&!(i.state.loading&4)){if(i.instance===null){var c=Ys(s.href),f=t.querySelector(ll(c));if(f){t=f._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(l.count++,l=su.bind(l),t.then(l,l)),i.state.loading|=4,i.instance=f,it(f);return}f=t.ownerDocument||t,s=Zy(s),(c=Vn.get(c))&&yf(s,c),f=f.createElement("link"),it(f);var v=f;v._p=new Promise(function(w,T){v.onload=w,v.onerror=T}),_t(f,"link",s),i.instance=f}l.stylesheets===null&&(l.stylesheets=new Map),l.stylesheets.set(i,t),(t=i.state.preload)&&!(i.state.loading&3)&&(l.count++,i=su.bind(l),t.addEventListener("load",i),t.addEventListener("error",i))}}function YS(){if(ul===null)throw Error(r(475));var t=ul;return t.stylesheets&&t.count===0&&xf(t,t.stylesheets),0<t.count?function(i){var s=setTimeout(function(){if(t.stylesheets&&xf(t,t.stylesheets),t.unsuspend){var l=t.unsuspend;t.unsuspend=null,l()}},6e4);return t.unsuspend=i,function(){t.unsuspend=null,clearTimeout(s)}}:null}function su(){if(this.count--,this.count===0){if(this.stylesheets)xf(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var ru=null;function xf(t,i){t.stylesheets=null,t.unsuspend!==null&&(t.count++,ru=new Map,i.forEach(GS,t),ru=null,su.call(t))}function GS(t,i){if(!(i.state.loading&4)){var s=ru.get(t);if(s)var l=s.get(null);else{s=new Map,ru.set(t,s);for(var c=t.querySelectorAll("link[data-precedence],style[data-precedence]"),f=0;f<c.length;f++){var v=c[f];(v.nodeName==="LINK"||v.getAttribute("media")!=="not all")&&(s.set(v.dataset.precedence,v),l=v)}l&&s.set(null,l)}c=i.instance,v=c.getAttribute("data-precedence"),f=s.get(v)||l,f===l&&s.set(null,c),s.set(v,c),this.count++,l=su.bind(this),c.addEventListener("load",l),c.addEventListener("error",l),f?f.parentNode.insertBefore(c,f.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(c,t.firstChild)),i.state.loading|=4}}var cl={$$typeof:S,Provider:null,Consumer:null,_currentValue:De,_currentValue2:De,_threadCount:0};function KS(t,i,s,l,c,f,v,w){this.tag=1,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=z(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.finishedLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=z(0),this.hiddenUpdates=z(null),this.identifierPrefix=l,this.onUncaughtError=c,this.onCaughtError=f,this.onRecoverableError=v,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=w,this.incompleteTransitions=new Map}function tv(t,i,s,l,c,f,v,w,T,L,Y,Z){return t=new KS(t,i,s,v,w,T,L,Z),i=1,f===!0&&(i|=24),f=kn(3,null,null,i),t.current=f,f.stateNode=t,i=Zc(),i.refCount++,t.pooledCache=i,i.refCount++,f.memoizedState={element:l,isDehydrated:s,cache:i},Nd(f),t}function nv(t){return t?(t=Ts,t):Ts}function iv(t,i,s,l,c,f){c=nv(c),l.context===null?l.context=c:l.pendingContext=c,l=Wi(i),l.payload={element:s},f=f===void 0?null:f,f!==null&&(l.callback=f),s=ea(t,l,i),s!==null&&(Jt(s,t,i),Kr(s,t,i))}function av(t,i){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var s=t.retryLane;t.retryLane=s!==0&&s<i?s:i}}function bf(t,i){av(t,i),(t=t.alternate)&&av(t,i)}function sv(t){if(t.tag===13){var i=Gi(t,67108864);i!==null&&Jt(i,t,67108864),bf(t,67108864)}}var lu=!0;function XS(t,i,s,l){var c=F.T;F.T=null;var f=ie.p;try{ie.p=2,wf(t,i,s,l)}finally{ie.p=f,F.T=c}}function IS(t,i,s,l){var c=F.T;F.T=null;var f=ie.p;try{ie.p=8,wf(t,i,s,l)}finally{ie.p=f,F.T=c}}function wf(t,i,s,l){if(lu){var c=Sf(l);if(c===null)uf(t,i,l,ou,s),lv(t,l);else if(QS(c,t,i,s,l))l.stopPropagation();else if(lv(t,l),i&4&&-1<ZS.indexOf(t)){for(;c!==null;){var f=Ut(c);if(f!==null)switch(f.tag){case 3:if(f=f.stateNode,f.current.memoizedState.isDehydrated){var v=ei(f.pendingLanes);if(v!==0){var w=f;for(w.pendingLanes|=2,w.entangledLanes|=2;v;){var T=1<<31-Nt(v);w.entanglements[1]|=T,v&=~T}ri(f),!(ft&6)&&(Yo=cn()+500,al(0))}}break;case 13:w=Gi(f,2),w!==null&&Jt(w,f,2),Xo(),bf(f,2)}if(f=Sf(l),f===null&&uf(t,i,l,ou,s),f===c)break;c=f}c!==null&&l.stopPropagation()}else uf(t,i,l,null,s)}}function Sf(t){return t=Ac(t),Ef(t)}var ou=null;function Ef(t){if(ou=null,t=Bt(t),t!==null){var i=W(t);if(i===null)t=null;else{var s=i.tag;if(s===13){if(t=be(i),t!==null)return t;t=null}else if(s===3){if(i.stateNode.current.memoizedState.isDehydrated)return i.tag===3?i.stateNode.containerInfo:null;t=null}else i!==t&&(t=null)}}return ou=t,null}function rv(t){switch(t){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(wr()){case qn:return 2;case Sn:return 8;case ja:case Sr:return 32;case no:return 268435456;default:return 32}default:return 32}}var Tf=!1,la=null,oa=null,ua=null,dl=new Map,fl=new Map,ca=[],ZS="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function lv(t,i){switch(t){case"focusin":case"focusout":la=null;break;case"dragenter":case"dragleave":oa=null;break;case"mouseover":case"mouseout":ua=null;break;case"pointerover":case"pointerout":dl.delete(i.pointerId);break;case"gotpointercapture":case"lostpointercapture":fl.delete(i.pointerId)}}function hl(t,i,s,l,c,f){return t===null||t.nativeEvent!==f?(t={blockedOn:i,domEventName:s,eventSystemFlags:l,nativeEvent:f,targetContainers:[c]},i!==null&&(i=Ut(i),i!==null&&sv(i)),t):(t.eventSystemFlags|=l,i=t.targetContainers,c!==null&&i.indexOf(c)===-1&&i.push(c),t)}function QS(t,i,s,l,c){switch(i){case"focusin":return la=hl(la,t,i,s,l,c),!0;case"dragenter":return oa=hl(oa,t,i,s,l,c),!0;case"mouseover":return ua=hl(ua,t,i,s,l,c),!0;case"pointerover":var f=c.pointerId;return dl.set(f,hl(dl.get(f)||null,t,i,s,l,c)),!0;case"gotpointercapture":return f=c.pointerId,fl.set(f,hl(fl.get(f)||null,t,i,s,l,c)),!0}return!1}function ov(t){var i=Bt(t.target);if(i!==null){var s=W(i);if(s!==null){if(i=s.tag,i===13){if(i=be(s),i!==null){t.blockedOn=i,me(t.priority,function(){if(s.tag===13){var l=pn(),c=Gi(s,l);c!==null&&Jt(c,s,l),bf(s,l)}});return}}else if(i===3&&s.stateNode.current.memoizedState.isDehydrated){t.blockedOn=s.tag===3?s.stateNode.containerInfo:null;return}}}t.blockedOn=null}function uu(t){if(t.blockedOn!==null)return!1;for(var i=t.targetContainers;0<i.length;){var s=Sf(t.nativeEvent);if(s===null){s=t.nativeEvent;var l=new s.constructor(s.type,s);Cc=l,s.target.dispatchEvent(l),Cc=null}else return i=Ut(s),i!==null&&sv(i),t.blockedOn=s,!1;i.shift()}return!0}function uv(t,i,s){uu(t)&&s.delete(i)}function JS(){Tf=!1,la!==null&&uu(la)&&(la=null),oa!==null&&uu(oa)&&(oa=null),ua!==null&&uu(ua)&&(ua=null),dl.forEach(uv),fl.forEach(uv)}function cu(t,i){t.blockedOn===i&&(t.blockedOn=null,Tf||(Tf=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,JS)))}var du=null;function cv(t){du!==t&&(du=t,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){du===t&&(du=null);for(var i=0;i<t.length;i+=3){var s=t[i],l=t[i+1],c=t[i+2];if(typeof l!="function"){if(Ef(l||s)===null)continue;break}var f=Ut(s);f!==null&&(t.splice(i,3),i-=3,fd(f,{pending:!0,data:c,method:s.method,action:l},l,c))}}))}function ml(t){function i(T){return cu(T,t)}la!==null&&cu(la,t),oa!==null&&cu(oa,t),ua!==null&&cu(ua,t),dl.forEach(i),fl.forEach(i);for(var s=0;s<ca.length;s++){var l=ca[s];l.blockedOn===t&&(l.blockedOn=null)}for(;0<ca.length&&(s=ca[0],s.blockedOn===null);)ov(s),s.blockedOn===null&&ca.shift();if(s=(t.ownerDocument||t).$$reactFormReplay,s!=null)for(l=0;l<s.length;l+=3){var c=s[l],f=s[l+1],v=c[we]||null;if(typeof f=="function")v||cv(s);else if(v){var w=null;if(f&&f.hasAttribute("formAction")){if(c=f,v=f[we]||null)w=v.formAction;else if(Ef(c)!==null)continue}else w=v.action;typeof w=="function"?s[l+1]=w:(s.splice(l,3),l-=3),cv(s)}}}function jf(t){this._internalRoot=t}fu.prototype.render=jf.prototype.render=function(t){var i=this._internalRoot;if(i===null)throw Error(r(409));var s=i.current,l=pn();iv(s,l,t,i,null,null)},fu.prototype.unmount=jf.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var i=t.containerInfo;t.tag===0&&_s(),iv(t.current,2,null,t,null,null),Xo(),i[Ze]=null}};function fu(t){this._internalRoot=t}fu.prototype.unstable_scheduleHydration=function(t){if(t){var i=ce();t={blockedOn:null,target:t,priority:i};for(var s=0;s<ca.length&&i!==0&&i<ca[s].priority;s++);ca.splice(s,0,t),s===0&&ov(t)}};var dv=n.version;if(dv!=="19.0.0")throw Error(r(527,dv,"19.0.0"));ie.findDOMNode=function(t){var i=t._reactInternals;if(i===void 0)throw typeof t.render=="function"?Error(r(188)):(t=Object.keys(t).join(","),Error(r(268,t)));return t=G(i),t=t!==null?he(t):null,t=t===null?null:t.stateNode,t};var WS={bundleType:0,version:"19.0.0",rendererPackageName:"react-dom",currentDispatcherRef:F,findFiberByHostInstance:Bt,reconcilerVersion:"19.0.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var hu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!hu.isDisabled&&hu.supportsFiber)try{$i=hu.inject(WS),$t=hu}catch{}}return gl.createRoot=function(t,i){if(!o(t))throw Error(r(299));var s=!1,l="",c=Rg,f=Mg,v=Ng,w=null;return i!=null&&(i.unstable_strictMode===!0&&(s=!0),i.identifierPrefix!==void 0&&(l=i.identifierPrefix),i.onUncaughtError!==void 0&&(c=i.onUncaughtError),i.onCaughtError!==void 0&&(f=i.onCaughtError),i.onRecoverableError!==void 0&&(v=i.onRecoverableError),i.unstable_transitionCallbacks!==void 0&&(w=i.unstable_transitionCallbacks)),i=tv(t,1,!1,null,null,s,l,c,f,v,w,null),t[Ze]=i.current,of(t.nodeType===8?t.parentNode:t),new jf(i)},gl.hydrateRoot=function(t,i,s){if(!o(t))throw Error(r(299));var l=!1,c="",f=Rg,v=Mg,w=Ng,T=null,L=null;return s!=null&&(s.unstable_strictMode===!0&&(l=!0),s.identifierPrefix!==void 0&&(c=s.identifierPrefix),s.onUncaughtError!==void 0&&(f=s.onUncaughtError),s.onCaughtError!==void 0&&(v=s.onCaughtError),s.onRecoverableError!==void 0&&(w=s.onRecoverableError),s.unstable_transitionCallbacks!==void 0&&(T=s.unstable_transitionCallbacks),s.formState!==void 0&&(L=s.formState)),i=tv(t,1,!0,i,s??null,l,c,f,v,w,T,L),i.context=nv(null),s=i.current,l=pn(),c=Wi(l),c.callback=null,ea(s,c,l),i.current.lanes=l,H(i,l),ri(i),t[Ze]=i.current,of(t),new fu(i)},gl.version="19.0.0",gl}var wv;function u5(){if(wv)return Rf.exports;wv=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(n){console.error(n)}}return e(),Rf.exports=o5(),Rf.exports}var c5=u5(),yl={},Sv;function d5(){if(Sv)return yl;Sv=1,Object.defineProperty(yl,"__esModule",{value:!0}),yl.parse=d,yl.serialize=g;const e=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,n=/^[\u0021-\u003A\u003C-\u007E]*$/,a=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,r=/^[\u0020-\u003A\u003D-\u007E]*$/,o=Object.prototype.toString,u=(()=>{const x=function(){};return x.prototype=Object.create(null),x})();function d(x,S){const E=new u,A=x.length;if(A<2)return E;const N=(S==null?void 0:S.decode)||y;let M=0;do{const V=x.indexOf("=",M);if(V===-1)break;const _=x.indexOf(";",M),J=_===-1?A:_;if(V>J){M=x.lastIndexOf(";",V-1)+1;continue}const P=m(x,M,V),C=h(x,V,P),ee=x.slice(P,C);if(E[ee]===void 0){let X=m(x,V+1,J),F=h(x,J,X);const te=N(x.slice(X,F));E[ee]=te}M=J+1}while(M<A);return E}function m(x,S,E){do{const A=x.charCodeAt(S);if(A!==32&&A!==9)return S}while(++S<E);return E}function h(x,S,E){for(;S>E;){const A=x.charCodeAt(--S);if(A!==32&&A!==9)return S+1}return E}function g(x,S,E){const A=(E==null?void 0:E.encode)||encodeURIComponent;if(!e.test(x))throw new TypeError(`argument name is invalid: ${x}`);const N=A(S);if(!n.test(N))throw new TypeError(`argument val is invalid: ${S}`);let M=x+"="+N;if(!E)return M;if(E.maxAge!==void 0){if(!Number.isInteger(E.maxAge))throw new TypeError(`option maxAge is invalid: ${E.maxAge}`);M+="; Max-Age="+E.maxAge}if(E.domain){if(!a.test(E.domain))throw new TypeError(`option domain is invalid: ${E.domain}`);M+="; Domain="+E.domain}if(E.path){if(!r.test(E.path))throw new TypeError(`option path is invalid: ${E.path}`);M+="; Path="+E.path}if(E.expires){if(!b(E.expires)||!Number.isFinite(E.expires.valueOf()))throw new TypeError(`option expires is invalid: ${E.expires}`);M+="; Expires="+E.expires.toUTCString()}if(E.httpOnly&&(M+="; HttpOnly"),E.secure&&(M+="; Secure"),E.partitioned&&(M+="; Partitioned"),E.priority)switch(typeof E.priority=="string"?E.priority.toLowerCase():void 0){case"low":M+="; Priority=Low";break;case"medium":M+="; Priority=Medium";break;case"high":M+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${E.priority}`)}if(E.sameSite)switch(typeof E.sameSite=="string"?E.sameSite.toLowerCase():E.sameSite){case!0:case"strict":M+="; SameSite=Strict";break;case"lax":M+="; SameSite=Lax";break;case"none":M+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${E.sameSite}`)}return M}function y(x){if(x.indexOf("%")===-1)return x;try{return decodeURIComponent(x)}catch{return x}}function b(x){return o.call(x)==="[object Date]"}return yl}d5();/**
 * react-router v7.1.5
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */var Ev="popstate";function f5(e={}){function n(r,o){let{pathname:u,search:d,hash:m}=r.location;return Dl("",{pathname:u,search:d,hash:m},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function a(r,o){return typeof o=="string"?o:va(o)}return m5(n,a,null,e)}function qe(e,n){if(e===!1||e===null||typeof e>"u")throw new Error(n)}function Ft(e,n){if(!e){typeof console<"u"&&console.warn(n);try{throw new Error(n)}catch{}}}function h5(){return Math.random().toString(36).substring(2,10)}function Tv(e,n){return{usr:e.state,key:e.key,idx:n}}function Dl(e,n,a=null,r){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof n=="string"?wa(n):n,state:a,key:n&&n.key||r||h5()}}function va({pathname:e="/",search:n="",hash:a=""}){return n&&n!=="?"&&(e+=n.charAt(0)==="?"?n:"?"+n),a&&a!=="#"&&(e+=a.charAt(0)==="#"?a:"#"+a),e}function wa(e){let n={};if(e){let a=e.indexOf("#");a>=0&&(n.hash=e.substring(a),e=e.substring(0,a));let r=e.indexOf("?");r>=0&&(n.search=e.substring(r),e=e.substring(0,r)),e&&(n.pathname=e)}return n}function m5(e,n,a,r={}){let{window:o=document.defaultView,v5Compat:u=!1}=r,d=o.history,m="POP",h=null,g=y();g==null&&(g=0,d.replaceState({...d.state,idx:g},""));function y(){return(d.state||{idx:null}).idx}function b(){m="POP";let N=y(),M=N==null?null:N-g;g=N,h&&h({action:m,location:A.location,delta:M})}function x(N,M){m="PUSH";let V=Dl(A.location,N,M);g=y()+1;let _=Tv(V,g),J=A.createHref(V);try{d.pushState(_,"",J)}catch(P){if(P instanceof DOMException&&P.name==="DataCloneError")throw P;o.location.assign(J)}u&&h&&h({action:m,location:A.location,delta:1})}function S(N,M){m="REPLACE";let V=Dl(A.location,N,M);g=y();let _=Tv(V,g),J=A.createHref(V);d.replaceState(_,"",J),u&&h&&h({action:m,location:A.location,delta:0})}function E(N){let M=o.location.origin!=="null"?o.location.origin:o.location.href,V=typeof N=="string"?N:va(N);return V=V.replace(/ $/,"%20"),qe(M,`No window.location.(origin|href) available to create URL for href: ${V}`),new URL(V,M)}let A={get action(){return m},get location(){return e(o,d)},listen(N){if(h)throw new Error("A history only accepts one active listener");return o.addEventListener(Ev,b),h=N,()=>{o.removeEventListener(Ev,b),h=null}},createHref(N){return n(o,N)},createURL:E,encodeLocation(N){let M=E(N);return{pathname:M.pathname,search:M.search,hash:M.hash}},push:x,replace:S,go(N){return d.go(N)}};return A}var p5=new Set(["lazy","caseSensitive","path","id","index","children"]);function g5(e){return e.index===!0}function Du(e,n,a=[],r={}){return e.map((o,u)=>{let d=[...a,String(u)],m=typeof o.id=="string"?o.id:d.join("-");if(qe(o.index!==!0||!o.children,"Cannot specify children on an index route"),qe(!r[m],`Found a route id collision on id "${m}".  Route id's must be globally unique within Data Router usages`),g5(o)){let h={...o,...n(o),id:m};return r[m]=h,h}else{let h={...o,...n(o),id:m,children:void 0};return r[m]=h,o.children&&(h.children=Du(o.children,n,d,r)),h}})}function pa(e,n,a="/"){return ju(e,n,a,!1)}function ju(e,n,a,r){let o=typeof n=="string"?wa(n):n,u=Qn(o.pathname||"/",a);if(u==null)return null;let d=q0(e);v5(d);let m=null;for(let h=0;m==null&&h<d.length;++h){let g=M5(u);m=A5(d[h],g,r)}return m}function y5(e,n){let{route:a,pathname:r,params:o}=e;return{id:a.id,pathname:r,params:o,data:n[a.id],handle:a.handle}}function q0(e,n=[],a=[],r=""){let o=(u,d,m)=>{let h={relativePath:m===void 0?u.path||"":m,caseSensitive:u.caseSensitive===!0,childrenIndex:d,route:u};h.relativePath.startsWith("/")&&(qe(h.relativePath.startsWith(r),`Absolute route path "${h.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),h.relativePath=h.relativePath.slice(r.length));let g=ui([r,h.relativePath]),y=a.concat(h);u.children&&u.children.length>0&&(qe(u.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${g}".`),q0(u.children,n,y,g)),!(u.path==null&&!u.index)&&n.push({path:g,score:j5(g,u.index),routesMeta:y})};return e.forEach((u,d)=>{var m;if(u.path===""||!((m=u.path)!=null&&m.includes("?")))o(u,d);else for(let h of F0(u.path))o(u,d,h)}),n}function F0(e){let n=e.split("/");if(n.length===0)return[];let[a,...r]=n,o=a.endsWith("?"),u=a.replace(/\?$/,"");if(r.length===0)return o?[u,""]:[u];let d=F0(r.join("/")),m=[];return m.push(...d.map(h=>h===""?u:[u,h].join("/"))),o&&m.push(...d),m.map(h=>e.startsWith("/")&&h===""?"/":h)}function v5(e){e.sort((n,a)=>n.score!==a.score?a.score-n.score:C5(n.routesMeta.map(r=>r.childrenIndex),a.routesMeta.map(r=>r.childrenIndex)))}var x5=/^:[\w-]+$/,b5=3,w5=2,S5=1,E5=10,T5=-2,jv=e=>e==="*";function j5(e,n){let a=e.split("/"),r=a.length;return a.some(jv)&&(r+=T5),n&&(r+=w5),a.filter(o=>!jv(o)).reduce((o,u)=>o+(x5.test(u)?b5:u===""?S5:E5),r)}function C5(e,n){return e.length===n.length&&e.slice(0,-1).every((r,o)=>r===n[o])?e[e.length-1]-n[n.length-1]:0}function A5(e,n,a=!1){let{routesMeta:r}=e,o={},u="/",d=[];for(let m=0;m<r.length;++m){let h=r[m],g=m===r.length-1,y=u==="/"?n:n.slice(u.length)||"/",b=Ou({path:h.relativePath,caseSensitive:h.caseSensitive,end:g},y),x=h.route;if(!b&&g&&a&&!r[r.length-1].route.index&&(b=Ou({path:h.relativePath,caseSensitive:h.caseSensitive,end:!1},y)),!b)return null;Object.assign(o,b.params),d.push({params:o,pathname:ui([u,b.pathname]),pathnameBase:O5(ui([u,b.pathnameBase])),route:x}),b.pathnameBase!=="/"&&(u=ui([u,b.pathnameBase]))}return d}function Ou(e,n){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[a,r]=R5(e.path,e.caseSensitive,e.end),o=n.match(a);if(!o)return null;let u=o[0],d=u.replace(/(.)\/+$/,"$1"),m=o.slice(1);return{params:r.reduce((g,{paramName:y,isOptional:b},x)=>{if(y==="*"){let E=m[x]||"";d=u.slice(0,u.length-E.length).replace(/(.)\/+$/,"$1")}const S=m[x];return b&&!S?g[y]=void 0:g[y]=(S||"").replace(/%2F/g,"/"),g},{}),pathname:u,pathnameBase:d,pattern:e}}function R5(e,n=!1,a=!0){Ft(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(d,m,h)=>(r.push({paramName:m,isOptional:h!=null}),h?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):a?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,n?void 0:"i"),r]}function M5(e){try{return e.split("/").map(n=>decodeURIComponent(n).replace(/\//g,"%2F")).join("/")}catch(n){return Ft(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${n}).`),e}}function Qn(e,n){if(n==="/")return e;if(!e.toLowerCase().startsWith(n.toLowerCase()))return null;let a=n.endsWith("/")?n.length-1:n.length,r=e.charAt(a);return r&&r!=="/"?null:e.slice(a)||"/"}function N5(e,n="/"){let{pathname:a,search:r="",hash:o=""}=typeof e=="string"?wa(e):e;return{pathname:a?a.startsWith("/")?a:D5(a,n):n,search:L5(r),hash:k5(o)}}function D5(e,n){let a=n.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?a.length>1&&a.pop():o!=="."&&a.push(o)}),a.length>1?a.join("/"):"/"}function Of(e,n,a,r){return`Cannot include a '${e}' character in a manually specified \`to.${n}\` field [${JSON.stringify(r)}].  Please separate it out to the \`to.${a}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function $0(e){return e.filter((n,a)=>a===0||n.route.path&&n.route.path.length>0)}function Nh(e){let n=$0(e);return n.map((a,r)=>r===n.length-1?a.pathname:a.pathnameBase)}function Dh(e,n,a,r=!1){let o;typeof e=="string"?o=wa(e):(o={...e},qe(!o.pathname||!o.pathname.includes("?"),Of("?","pathname","search",o)),qe(!o.pathname||!o.pathname.includes("#"),Of("#","pathname","hash",o)),qe(!o.search||!o.search.includes("#"),Of("#","search","hash",o)));let u=e===""||o.pathname==="",d=u?"/":o.pathname,m;if(d==null)m=a;else{let b=n.length-1;if(!r&&d.startsWith("..")){let x=d.split("/");for(;x[0]==="..";)x.shift(),b-=1;o.pathname=x.join("/")}m=b>=0?n[b]:"/"}let h=N5(o,m),g=d&&d!=="/"&&d.endsWith("/"),y=(u||d===".")&&a.endsWith("/");return!h.pathname.endsWith("/")&&(g||y)&&(h.pathname+="/"),h}var ui=e=>e.join("/").replace(/\/\/+/g,"/"),O5=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),L5=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,k5=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,Lu=class{constructor(e,n,a,r=!1){this.status=e,this.statusText=n||"",this.internal=r,a instanceof Error?(this.data=a.toString(),this.error=a):this.data=a}};function Ol(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var Y0=["POST","PUT","PATCH","DELETE"],z5=new Set(Y0),V5=["GET",...Y0],B5=new Set(V5),U5=new Set([301,302,303,307,308]),P5=new Set([307,308]),Lf={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},H5={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},vl={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Oh=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,_5=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),G0="remix-router-transitions",K0=Symbol("ResetLoaderData");function q5(e){const n=e.window?e.window:typeof window<"u"?window:void 0,a=typeof n<"u"&&typeof n.document<"u"&&typeof n.document.createElement<"u";qe(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let r=e.mapRouteProperties||_5,o={},u=Du(e.routes,r,void 0,o),d,m=e.basename||"/",h=e.dataStrategy||K5,g=e.patchRoutesOnNavigation,y={...e.future},b=null,x=new Set,S=null,E=null,A=null,N=e.hydrationData!=null,M=pa(u,e.history.location,m),V=!1,_=null;if(M==null&&!g){let D=Pn(404,{pathname:e.history.location.pathname}),{matches:z,route:H}=Vv(u);M=z,_={[H.id]:D}}M&&!e.hydrationData&&yi(M,u,e.history.location.pathname).active&&(M=null);let J;if(M)if(M.some(D=>D.route.lazy))J=!1;else if(!M.some(D=>D.route.loader))J=!0;else{let D=e.hydrationData?e.hydrationData.loaderData:null,z=e.hydrationData?e.hydrationData.errors:null;if(z){let H=M.findIndex(Q=>z[Q.route.id]!==void 0);J=M.slice(0,H+1).every(Q=>!eh(Q.route,D,z))}else J=M.every(H=>!eh(H.route,D,z))}else{J=!1,M=[];let D=yi(null,u,e.history.location.pathname);D.active&&D.matches&&(V=!0,M=D.matches)}let P,C={historyAction:e.history.action,location:e.history.location,matches:M,initialized:J,navigation:Lf,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||_,fetchers:new Map,blockers:new Map},ee="POP",X=!1,F,te=!1,fe=new Map,Fe=null,We=!1,ye=!1,Le=new Set,I=new Map,ae=0,W=-1,be=new Map,j=new Set,G=new Map,he=new Map,ue=new Set,ie=new Map,De,Se=null;function mt(){if(b=e.history.listen(({action:D,location:z,delta:H})=>{if(De){De(),De=void 0;return}Ft(ie.size===0||H!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs.  This can also happen if you are using createHashRouter and the user manually changes the URL.");let Q=ao({currentLocation:C.location,nextLocation:z,historyAction:D});if(Q&&H!=null){let re=new Promise(ve=>{De=ve});e.history.go(H*-1),Nt(Q,{state:"blocked",location:z,proceed(){Nt(Q,{state:"proceeding",proceed:void 0,reset:void 0,location:z}),re.then(()=>e.history.go(H))},reset(){let ve=new Map(C.blockers);ve.set(Q,vl),ke({blockers:ve})}});return}return wn(D,z)}),a){aE(n,fe);let D=()=>sE(n,fe);n.addEventListener("pagehide",D),Fe=()=>n.removeEventListener("pagehide",D)}return C.initialized||wn("POP",C.location,{initialHydration:!0}),P}function Pe(){b&&b(),Fe&&Fe(),x.clear(),F&&F.abort(),C.fetchers.forEach((D,z)=>Sr(z)),C.blockers.forEach((D,z)=>Fn(z))}function et(D){return x.add(D),()=>x.delete(D)}function ke(D,z={}){C={...C,...D};let H=[],Q=[];C.fetchers.forEach((re,ve)=>{re.state==="idle"&&(ue.has(ve)?H.push(ve):Q.push(ve))}),ue.forEach(re=>{!C.fetchers.has(re)&&!I.has(re)&&H.push(re)}),[...x].forEach(re=>re(C,{deletedFetchers:H,viewTransitionOpts:z.viewTransitionOpts,flushSync:z.flushSync===!0})),H.forEach(re=>Sr(re)),Q.forEach(re=>C.fetchers.delete(re))}function Vt(D,z,{flushSync:H}={}){var ne,pe;let Q=C.actionData!=null&&C.navigation.formMethod!=null&&In(C.navigation.formMethod)&&C.navigation.state==="loading"&&((ne=D.state)==null?void 0:ne._isRedirect)!==!0,re;z.actionData?Object.keys(z.actionData).length>0?re=z.actionData:re=null:Q?re=C.actionData:re=null;let ve=z.loaderData?kv(C.loaderData,z.loaderData,z.matches||[],z.errors):C.loaderData,Re=C.blockers;Re.size>0&&(Re=new Map(Re),Re.forEach((we,Ze)=>Re.set(Ze,vl)));let ce=X===!0||C.navigation.formMethod!=null&&In(C.navigation.formMethod)&&((pe=D.state)==null?void 0:pe._isRedirect)!==!0;d&&(u=d,d=void 0),We||ee==="POP"||(ee==="PUSH"?e.history.push(D,D.state):ee==="REPLACE"&&e.history.replace(D,D.state));let me;if(ee==="POP"){let we=fe.get(C.location.pathname);we&&we.has(D.pathname)?me={currentLocation:C.location,nextLocation:D}:fe.has(D.pathname)&&(me={currentLocation:D,nextLocation:C.location})}else if(te){let we=fe.get(C.location.pathname);we?we.add(D.pathname):(we=new Set([D.pathname]),fe.set(C.location.pathname,we)),me={currentLocation:C.location,nextLocation:D}}ke({...z,actionData:re,loaderData:ve,historyAction:ee,location:D,initialized:!0,navigation:Lf,revalidation:"idle",restoreScrollPosition:ei(D,z.matches||C.matches),preventScrollReset:ce,blockers:Re},{viewTransitionOpts:me,flushSync:H===!0}),ee="POP",X=!1,te=!1,We=!1,ye=!1,Se==null||Se.resolve(),Se=null}async function qi(D,z){if(typeof D=="number"){e.history.go(D);return}let H=Wf(C.location,C.matches,m,D,z==null?void 0:z.fromRouteId,z==null?void 0:z.relative),{path:Q,submission:re,error:ve}=Cv(!1,H,z),Re=C.location,ce=Dl(C.location,Q,z&&z.state);ce={...ce,...e.history.encodeLocation(ce)};let me=z&&z.replace!=null?z.replace:void 0,ne="PUSH";me===!0?ne="REPLACE":me===!1||re!=null&&In(re.formMethod)&&re.formAction===C.location.pathname+C.location.search&&(ne="REPLACE");let pe=z&&"preventScrollReset"in z?z.preventScrollReset===!0:void 0,we=(z&&z.flushSync)===!0,Ze=ao({currentLocation:Re,nextLocation:ce,historyAction:ne});if(Ze){Nt(Ze,{state:"blocked",location:ce,proceed(){Nt(Ze,{state:"proceeding",proceed:void 0,reset:void 0,location:ce}),qi(D,z)},reset(){let bt=new Map(C.blockers);bt.set(Ze,vl),ke({blockers:bt})}});return}await wn(ne,ce,{submission:re,pendingError:ve,preventScrollReset:pe,replace:z&&z.replace,enableViewTransition:z&&z.viewTransition,flushSync:we})}function Jn(){Se||(Se=rE()),wr(),ke({revalidation:"loading"});let D=Se.promise;return C.navigation.state==="submitting"?D:C.navigation.state==="idle"?(wn(C.historyAction,C.location,{startUninterruptedRevalidation:!0}),D):(wn(ee||C.historyAction,C.navigation.location,{overrideNavigation:C.navigation,enableViewTransition:te===!0}),D)}async function wn(D,z,H){F&&F.abort(),F=null,ee=D,We=(H&&H.startUninterruptedRevalidation)===!0,ms(C.location,C.matches),X=(H&&H.preventScrollReset)===!0,te=(H&&H.enableViewTransition)===!0;let Q=d||u,re=H&&H.overrideNavigation,ve=H!=null&&H.initialHydration&&C.matches&&C.matches.length>0&&!V?C.matches:pa(Q,z,m),Re=(H&&H.flushSync)===!0;if(ve&&C.initialized&&!ye&&W5(C.location,z)&&!(H&&H.submission&&In(H.submission.formMethod))){Vt(z,{matches:ve},{flushSync:Re});return}let ce=yi(ve,Q,z.pathname);if(ce.active&&ce.matches&&(ve=ce.matches),!ve){let{error:ot,notFoundMatches:tt,route:pt}=Er(z.pathname);Vt(z,{matches:tt,loaderData:{},errors:{[pt.id]:ot}},{flushSync:Re});return}F=new AbortController;let me=Ks(e.history,z,F.signal,H&&H.submission),ne;if(H&&H.pendingError)ne=[es(ve).route.id,{type:"error",error:H.pendingError}];else if(H&&H.submission&&In(H.submission.formMethod)){let ot=await ds(me,z,H.submission,ve,ce.active,{replace:H.replace,flushSync:Re});if(ot.shortCircuited)return;if(ot.pendingActionResult){let[tt,pt]=ot.pendingActionResult;if(gn(pt)&&Ol(pt.error)&&pt.error.status===404){F=null,Vt(z,{matches:ot.matches,loaderData:{},errors:{[tt]:pt.error}});return}}ve=ot.matches||ve,ne=ot.pendingActionResult,re=kf(z,H.submission),Re=!1,ce.active=!1,me=Ks(e.history,me.url,me.signal)}let{shortCircuited:pe,matches:we,loaderData:Ze,errors:bt}=await Fi(me,z,ve,ce.active,re,H&&H.submission,H&&H.fetcherSubmission,H&&H.replace,H&&H.initialHydration===!0,Re,ne);pe||(F=null,Vt(z,{matches:we||ve,...zv(ne),loaderData:Ze,errors:bt}))}async function ds(D,z,H,Q,re,ve={}){wr();let Re=nE(z,H);if(ke({navigation:Re},{flushSync:ve.flushSync===!0}),re){let ne=await ti(Q,z.pathname,D.signal);if(ne.type==="aborted")return{shortCircuited:!0};if(ne.type==="error"){let pe=es(ne.partialMatches).route.id;return{matches:ne.partialMatches,pendingActionResult:[pe,{type:"error",error:ne.error}]}}else if(ne.matches)Q=ne.matches;else{let{notFoundMatches:pe,error:we,route:Ze}=Er(z.pathname);return{matches:pe,pendingActionResult:[Ze.id,{type:"error",error:we}]}}}let ce,me=El(Q,z);if(!me.route.action&&!me.route.lazy)ce={type:"error",error:Pn(405,{method:D.method,pathname:z.pathname,routeId:me.route.id})};else if(ce=(await Ta("action",C,D,[me],Q,null))[me.route.id],D.signal.aborted)return{shortCircuited:!0};if(ts(ce)){let ne;return ve&&ve.replace!=null?ne=ve.replace:ne=Dv(ce.response.headers.get("Location"),new URL(D.url),m)===C.location.pathname+C.location.search,await gi(D,ce,!0,{submission:H,replace:ne}),{shortCircuited:!0}}if(gn(ce)){let ne=es(Q,me.route.id);return(ve&&ve.replace)!==!0&&(ee="PUSH"),{matches:Q,pendingActionResult:[ne.route.id,ce]}}return{matches:Q,pendingActionResult:[me.route.id,ce]}}async function Fi(D,z,H,Q,re,ve,Re,ce,me,ne,pe){let we=re||kf(z,ve),Ze=ve||Re||Uv(we),bt=!We&&!me;if(Q){if(bt){let ut=fs(pe);ke({navigation:we,...ut!==void 0?{actionData:ut}:{}},{flushSync:ne})}let $e=await ti(H,z.pathname,D.signal);if($e.type==="aborted")return{shortCircuited:!0};if($e.type==="error"){let ut=es($e.partialMatches).route.id;return{matches:$e.partialMatches,loaderData:{},errors:{[ut]:$e.error}}}else if($e.matches)H=$e.matches;else{let{error:ut,notFoundMatches:rn,route:Ma}=Er(z.pathname);return{matches:rn,loaderData:{},errors:{[Ma.id]:ut}}}}let ot=d||u,[tt,pt]=Rv(e.history,C,H,Ze,z,me===!0,ye,Le,ue,G,j,ot,m,pe);if(W=++ae,tt.length===0&&pt.length===0){let $e=$i();return Vt(z,{matches:H,loaderData:{},errors:pe&&gn(pe[1])?{[pe[0]]:pe[1].error}:null,...zv(pe),...$e?{fetchers:new Map(C.fetchers)}:{}},{flushSync:ne}),{shortCircuited:!0}}if(bt){let $e={};if(!Q){$e.navigation=we;let ut=fs(pe);ut!==void 0&&($e.actionData=ut)}pt.length>0&&($e.fetchers=hs(pt)),ke($e,{flushSync:ne})}pt.forEach($e=>{Wn($e.key),$e.controller&&I.set($e.key,$e.controller)});let En=()=>pt.forEach($e=>Wn($e.key));F&&F.signal.addEventListener("abort",En);let{loaderResults:vi,fetcherResults:Bt}=await cn(C,H,tt,pt,D);if(D.signal.aborted)return{shortCircuited:!0};F&&F.signal.removeEventListener("abort",En),pt.forEach($e=>I.delete($e.key));let Ut=mu(vi);if(Ut)return await gi(D,Ut.result,!0,{replace:ce}),{shortCircuited:!0};if(Ut=mu(Bt),Ut)return j.add(Ut.key),await gi(D,Ut.result,!0,{replace:ce}),{shortCircuited:!0};let{loaderData:xi,errors:Tn}=Lv(C,H,vi,pe,pt,Bt);me&&C.errors&&(Tn={...C.errors,...Tn});let it=$i(),Aa=$t(W),Ra=it||Aa||pt.length>0;return{matches:H,loaderData:xi,errors:Tn,...Ra?{fetchers:new Map(C.fetchers)}:{}}}function fs(D){if(D&&!gn(D[1]))return{[D[0]]:D[1].data};if(C.actionData)return Object.keys(C.actionData).length===0?null:C.actionData}function hs(D){return D.forEach(z=>{let H=C.fetchers.get(z.key),Q=xl(void 0,H?H.data:void 0);C.fetchers.set(z.key,Q)}),new Map(C.fetchers)}async function vr(D,z,H,Q){Wn(D);let re=(Q&&Q.flushSync)===!0,ve=d||u,Re=Wf(C.location,C.matches,m,H,z,Q==null?void 0:Q.relative),ce=pa(ve,Re,m),me=yi(ce,ve,Re);if(me.active&&me.matches&&(ce=me.matches),!ce){Sn(D,z,Pn(404,{pathname:Re}),{flushSync:re});return}let{path:ne,submission:pe,error:we}=Cv(!0,Re,Q);if(we){Sn(D,z,we,{flushSync:re});return}let Ze=El(ce,ne),bt=(Q&&Q.preventScrollReset)===!0;if(pe&&In(pe.formMethod)){await xr(D,z,ne,Ze,ce,me.active,re,bt,pe);return}G.set(D,{routeId:z,path:ne}),await br(D,z,ne,Ze,ce,me.active,re,bt,pe)}async function xr(D,z,H,Q,re,ve,Re,ce,me){wr(),G.delete(D);function ne(ct){if(!ct.route.action&&!ct.route.lazy){let bi=Pn(405,{method:me.formMethod,pathname:H,routeId:z});return Sn(D,z,bi,{flushSync:Re}),!0}return!1}if(!ve&&ne(Q))return;let pe=C.fetchers.get(D);qn(D,iE(me,pe),{flushSync:Re});let we=new AbortController,Ze=Ks(e.history,H,we.signal,me);if(ve){let ct=await ti(re,H,Ze.signal);if(ct.type==="aborted")return;if(ct.type==="error"){Sn(D,z,ct.error,{flushSync:Re});return}else if(ct.matches){if(re=ct.matches,Q=El(re,H),ne(Q))return}else{Sn(D,z,Pn(404,{pathname:H}),{flushSync:Re});return}}I.set(D,we);let bt=ae,tt=(await Ta("action",C,Ze,[Q],re,D))[Q.route.id];if(Ze.signal.aborted){I.get(D)===we&&I.delete(D);return}if(ue.has(D)){if(ts(tt)||gn(tt)){qn(D,ha(void 0));return}}else{if(ts(tt))if(I.delete(D),W>bt){qn(D,ha(void 0));return}else return j.add(D),qn(D,xl(me)),gi(Ze,tt,!1,{fetcherSubmission:me,preventScrollReset:ce});if(gn(tt)){Sn(D,z,tt.error);return}}let pt=C.navigation.location||C.location,En=Ks(e.history,pt,we.signal),vi=d||u,Bt=C.navigation.state!=="idle"?pa(vi,C.navigation.location,m):C.matches;qe(Bt,"Didn't find any matches after fetcher action");let Ut=++ae;be.set(D,Ut);let xi=xl(me,tt.data);C.fetchers.set(D,xi);let[Tn,it]=Rv(e.history,C,Bt,me,pt,!1,ye,Le,ue,G,j,vi,m,[Q.route.id,tt]);it.filter(ct=>ct.key!==D).forEach(ct=>{let bi=ct.key,ro=C.fetchers.get(bi),ps=xl(void 0,ro?ro.data:void 0);C.fetchers.set(bi,ps),Wn(bi),ct.controller&&I.set(bi,ct.controller)}),ke({fetchers:new Map(C.fetchers)});let Aa=()=>it.forEach(ct=>Wn(ct.key));we.signal.addEventListener("abort",Aa);let{loaderResults:Ra,fetcherResults:$e}=await cn(C,Bt,Tn,it,En);if(we.signal.aborted)return;we.signal.removeEventListener("abort",Aa),be.delete(D),I.delete(D),it.forEach(ct=>I.delete(ct.key));let ut=mu(Ra);if(ut)return gi(En,ut.result,!1,{preventScrollReset:ce});if(ut=mu($e),ut)return j.add(ut.key),gi(En,ut.result,!1,{preventScrollReset:ce});let{loaderData:rn,errors:Ma}=Lv(C,Bt,Ra,void 0,it,$e);if(C.fetchers.has(D)){let ct=ha(tt.data);C.fetchers.set(D,ct)}$t(Ut),C.navigation.state==="loading"&&Ut>W?(qe(ee,"Expected pending action"),F&&F.abort(),Vt(C.navigation.location,{matches:Bt,loaderData:rn,errors:Ma,fetchers:new Map(C.fetchers)})):(ke({errors:Ma,loaderData:kv(C.loaderData,rn,Bt,Ma),fetchers:new Map(C.fetchers)}),ye=!1)}async function br(D,z,H,Q,re,ve,Re,ce,me){let ne=C.fetchers.get(D);qn(D,xl(me,ne?ne.data:void 0),{flushSync:Re});let pe=new AbortController,we=Ks(e.history,H,pe.signal);if(ve){let tt=await ti(re,H,we.signal);if(tt.type==="aborted")return;if(tt.type==="error"){Sn(D,z,tt.error,{flushSync:Re});return}else if(tt.matches)re=tt.matches,Q=El(re,H);else{Sn(D,z,Pn(404,{pathname:H}),{flushSync:Re});return}}I.set(D,pe);let Ze=ae,ot=(await Ta("loader",C,we,[Q],re,D))[Q.route.id];if(I.get(D)===pe&&I.delete(D),!we.signal.aborted){if(ue.has(D)){qn(D,ha(void 0));return}if(ts(ot))if(W>Ze){qn(D,ha(void 0));return}else{j.add(D),await gi(we,ot,!1,{preventScrollReset:ce});return}if(gn(ot)){Sn(D,z,ot.error);return}qn(D,ha(ot.data))}}async function gi(D,z,H,{submission:Q,fetcherSubmission:re,preventScrollReset:ve,replace:Re}={}){z.response.headers.has("X-Remix-Revalidate")&&(ye=!0);let ce=z.response.headers.get("Location");qe(ce,"Expected a Location header on the redirect Response"),ce=Dv(ce,new URL(D.url),m);let me=Dl(C.location,ce,{_isRedirect:!0});if(a){let ot=!1;if(z.response.headers.has("X-Remix-Reload-Document"))ot=!0;else if(Oh.test(ce)){const tt=e.history.createURL(ce);ot=tt.origin!==n.location.origin||Qn(tt.pathname,m)==null}if(ot){Re?n.location.replace(ce):n.location.assign(ce);return}}F=null;let ne=Re===!0||z.response.headers.has("X-Remix-Replace")?"REPLACE":"PUSH",{formMethod:pe,formAction:we,formEncType:Ze}=C.navigation;!Q&&!re&&pe&&we&&Ze&&(Q=Uv(C.navigation));let bt=Q||re;if(P5.has(z.response.status)&&bt&&In(bt.formMethod))await wn(ne,me,{submission:{...bt,formAction:ce},preventScrollReset:ve||X,enableViewTransition:H?te:void 0});else{let ot=kf(me,Q);await wn(ne,me,{overrideNavigation:ot,fetcherSubmission:re,preventScrollReset:ve||X,enableViewTransition:H?te:void 0})}}async function Ta(D,z,H,Q,re,ve){let Re,ce={};try{Re=await X5(h,D,z,H,Q,re,ve,o,r)}catch(me){return Q.forEach(ne=>{ce[ne.route.id]={type:"error",error:me}}),ce}for(let[me,ne]of Object.entries(Re))if(eE(ne)){let pe=ne.result;ce[me]={type:"redirect",response:Q5(pe,H,me,re,m)}}else ce[me]=await Z5(ne);return ce}async function cn(D,z,H,Q,re){let ve=Ta("loader",D,re,H,z,null),Re=Promise.all(Q.map(async ne=>{if(ne.matches&&ne.match&&ne.controller){let we=(await Ta("loader",D,Ks(e.history,ne.path,ne.controller.signal),[ne.match],ne.matches,ne.key))[ne.match.route.id];return{[ne.key]:we}}else return Promise.resolve({[ne.key]:{type:"error",error:Pn(404,{pathname:ne.path})}})})),ce=await ve,me=(await Re).reduce((ne,pe)=>Object.assign(ne,pe),{});return{loaderResults:ce,fetcherResults:me}}function wr(){ye=!0,G.forEach((D,z)=>{I.has(z)&&Le.add(z),Wn(z)})}function qn(D,z,H={}){C.fetchers.set(D,z),ke({fetchers:new Map(C.fetchers)},{flushSync:(H&&H.flushSync)===!0})}function Sn(D,z,H,Q={}){let re=es(C.matches,z);Sr(D),ke({errors:{[re.route.id]:H},fetchers:new Map(C.fetchers)},{flushSync:(Q&&Q.flushSync)===!0})}function ja(D){return he.set(D,(he.get(D)||0)+1),ue.has(D)&&ue.delete(D),C.fetchers.get(D)||H5}function Sr(D){let z=C.fetchers.get(D);I.has(D)&&!(z&&z.state==="loading"&&be.has(D))&&Wn(D),G.delete(D),be.delete(D),j.delete(D),ue.delete(D),Le.delete(D),C.fetchers.delete(D)}function no(D){let z=(he.get(D)||0)-1;z<=0?(he.delete(D),ue.add(D)):he.set(D,z),ke({fetchers:new Map(C.fetchers)})}function Wn(D){let z=I.get(D);z&&(z.abort(),I.delete(D))}function io(D){for(let z of D){let H=ja(z),Q=ha(H.data);C.fetchers.set(z,Q)}}function $i(){let D=[],z=!1;for(let H of j){let Q=C.fetchers.get(H);qe(Q,`Expected fetcher: ${H}`),Q.state==="loading"&&(j.delete(H),D.push(H),z=!0)}return io(D),z}function $t(D){let z=[];for(let[H,Q]of be)if(Q<D){let re=C.fetchers.get(H);qe(re,`Expected fetcher: ${H}`),re.state==="loading"&&(Wn(H),be.delete(H),z.push(H))}return io(z),z.length>0}function bc(D,z){let H=C.blockers.get(D)||vl;return ie.get(D)!==z&&ie.set(D,z),H}function Fn(D){C.blockers.delete(D),ie.delete(D)}function Nt(D,z){let H=C.blockers.get(D)||vl;qe(H.state==="unblocked"&&z.state==="blocked"||H.state==="blocked"&&z.state==="blocked"||H.state==="blocked"&&z.state==="proceeding"||H.state==="blocked"&&z.state==="unblocked"||H.state==="proceeding"&&z.state==="unblocked",`Invalid blocker state transition: ${H.state} -> ${z.state}`);let Q=new Map(C.blockers);Q.set(D,z),ke({blockers:Q})}function ao({currentLocation:D,nextLocation:z,historyAction:H}){if(ie.size===0)return;ie.size>1&&Ft(!1,"A router only supports one blocker at a time");let Q=Array.from(ie.entries()),[re,ve]=Q[Q.length-1],Re=C.blockers.get(re);if(!(Re&&Re.state==="proceeding")&&ve({currentLocation:D,nextLocation:z,historyAction:H}))return re}function Er(D){let z=Pn(404,{pathname:D}),H=d||u,{matches:Q,route:re}=Vv(H);return{notFoundMatches:Q,route:re,error:z}}function wc(D,z,H){if(S=D,A=z,E=H||null,!N&&C.navigation===Lf){N=!0;let Q=ei(C.location,C.matches);Q!=null&&ke({restoreScrollPosition:Q})}return()=>{S=null,A=null,E=null}}function Ca(D,z){return E&&E(D,z.map(Q=>y5(Q,C.loaderData)))||D.key}function ms(D,z){if(S&&A){let H=Ca(D,z);S[H]=A()}}function ei(D,z){if(S){let H=Ca(D,z),Q=S[H];if(typeof Q=="number")return Q}return null}function yi(D,z,H){if(g)if(D){if(Object.keys(D[0].params).length>0)return{active:!0,matches:ju(z,H,m,!0)}}else return{active:!0,matches:ju(z,H,m,!0)||[]};return{active:!1,matches:null}}async function ti(D,z,H){if(!g)return{type:"success",matches:D};let Q=D;for(;;){let re=d==null,ve=d||u,Re=o;try{await g({path:z,matches:Q,patch:(ne,pe)=>{H.aborted||Nv(ne,pe,ve,Re,r)}})}catch(ne){return{type:"error",error:ne,partialMatches:Q}}finally{re&&!H.aborted&&(u=[...u])}if(H.aborted)return{type:"aborted"};let ce=pa(ve,z,m);if(ce)return{type:"success",matches:ce};let me=ju(ve,z,m,!0);if(!me||Q.length===me.length&&Q.every((ne,pe)=>ne.route.id===me[pe].route.id))return{type:"success",matches:null};Q=me}}function Sc(D){o={},d=Du(D,r,void 0,o)}function so(D,z){let H=d==null;Nv(D,z,d||u,o,r),H&&(u=[...u],ke({}))}return P={get basename(){return m},get future(){return y},get state(){return C},get routes(){return u},get window(){return n},initialize:mt,subscribe:et,enableScrollRestoration:wc,navigate:qi,fetch:vr,revalidate:Jn,createHref:D=>e.history.createHref(D),encodeLocation:D=>e.history.encodeLocation(D),getFetcher:ja,deleteFetcher:no,dispose:Pe,getBlocker:bc,deleteBlocker:Fn,patchRoutes:so,_internalFetchControllers:I,_internalSetRoutes:Sc},P}function F5(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function Wf(e,n,a,r,o,u){let d,m;if(o){d=[];for(let g of n)if(d.push(g),g.route.id===o){m=g;break}}else d=n,m=n[n.length-1];let h=Dh(r||".",Nh(d),Qn(e.pathname,a)||e.pathname,u==="path");if(r==null&&(h.search=e.search,h.hash=e.hash),(r==null||r===""||r===".")&&m){let g=Lh(h.search);if(m.route.index&&!g)h.search=h.search?h.search.replace(/^\?/,"?index&"):"?index";else if(!m.route.index&&g){let y=new URLSearchParams(h.search),b=y.getAll("index");y.delete("index"),b.filter(S=>S).forEach(S=>y.append("index",S));let x=y.toString();h.search=x?`?${x}`:""}}return a!=="/"&&(h.pathname=h.pathname==="/"?a:ui([a,h.pathname])),va(h)}function Cv(e,n,a){if(!a||!F5(a))return{path:n};if(a.formMethod&&!tE(a.formMethod))return{path:n,error:Pn(405,{method:a.formMethod})};let r=()=>({path:n,error:Pn(400,{type:"invalid-body"})}),u=(a.formMethod||"get").toUpperCase(),d=I0(n);if(a.body!==void 0){if(a.formEncType==="text/plain"){if(!In(u))return r();let b=typeof a.body=="string"?a.body:a.body instanceof FormData||a.body instanceof URLSearchParams?Array.from(a.body.entries()).reduce((x,[S,E])=>`${x}${S}=${E}
`,""):String(a.body);return{path:n,submission:{formMethod:u,formAction:d,formEncType:a.formEncType,formData:void 0,json:void 0,text:b}}}else if(a.formEncType==="application/json"){if(!In(u))return r();try{let b=typeof a.body=="string"?JSON.parse(a.body):a.body;return{path:n,submission:{formMethod:u,formAction:d,formEncType:a.formEncType,formData:void 0,json:b,text:void 0}}}catch{return r()}}}qe(typeof FormData=="function","FormData is not available in this environment");let m,h;if(a.formData)m=th(a.formData),h=a.formData;else if(a.body instanceof FormData)m=th(a.body),h=a.body;else if(a.body instanceof URLSearchParams)m=a.body,h=Ov(m);else if(a.body==null)m=new URLSearchParams,h=new FormData;else try{m=new URLSearchParams(a.body),h=Ov(m)}catch{return r()}let g={formMethod:u,formAction:d,formEncType:a&&a.formEncType||"application/x-www-form-urlencoded",formData:h,json:void 0,text:void 0};if(In(g.formMethod))return{path:n,submission:g};let y=wa(n);return e&&y.search&&Lh(y.search)&&m.append("index",""),y.search=`?${m}`,{path:va(y),submission:g}}function Av(e,n,a=!1){let r=e.findIndex(o=>o.route.id===n);return r>=0?e.slice(0,a?r+1:r):e}function Rv(e,n,a,r,o,u,d,m,h,g,y,b,x,S){let E=S?gn(S[1])?S[1].error:S[1].data:void 0,A=e.createURL(n.location),N=e.createURL(o),M=a;u&&n.errors?M=Av(a,Object.keys(n.errors)[0],!0):S&&gn(S[1])&&(M=Av(a,S[0]));let V=S?S[1].statusCode:void 0,_=V&&V>=400,J=M.filter((C,ee)=>{let{route:X}=C;if(X.lazy)return!0;if(X.loader==null)return!1;if(u)return eh(X,n.loaderData,n.errors);if($5(n.loaderData,n.matches[ee],C))return!0;let F=n.matches[ee],te=C;return Mv(C,{currentUrl:A,currentParams:F.params,nextUrl:N,nextParams:te.params,...r,actionResult:E,actionStatus:V,defaultShouldRevalidate:_?!1:d||A.pathname+A.search===N.pathname+N.search||A.search!==N.search||Y5(F,te)})}),P=[];return g.forEach((C,ee)=>{if(u||!a.some(Fe=>Fe.route.id===C.routeId)||h.has(ee))return;let X=pa(b,C.path,x);if(!X){P.push({key:ee,routeId:C.routeId,path:C.path,matches:null,match:null,controller:null});return}let F=n.fetchers.get(ee),te=El(X,C.path),fe=!1;y.has(ee)?fe=!1:m.has(ee)?(m.delete(ee),fe=!0):F&&F.state!=="idle"&&F.data===void 0?fe=d:fe=Mv(te,{currentUrl:A,currentParams:n.matches[n.matches.length-1].params,nextUrl:N,nextParams:a[a.length-1].params,...r,actionResult:E,actionStatus:V,defaultShouldRevalidate:_?!1:d}),fe&&P.push({key:ee,routeId:C.routeId,path:C.path,matches:X,match:te,controller:new AbortController})}),[J,P]}function eh(e,n,a){if(e.lazy)return!0;if(!e.loader)return!1;let r=n!=null&&n[e.id]!==void 0,o=a!=null&&a[e.id]!==void 0;return!r&&o?!1:typeof e.loader=="function"&&e.loader.hydrate===!0?!0:!r&&!o}function $5(e,n,a){let r=!n||a.route.id!==n.route.id,o=!e.hasOwnProperty(a.route.id);return r||o}function Y5(e,n){let a=e.route.path;return e.pathname!==n.pathname||a!=null&&a.endsWith("*")&&e.params["*"]!==n.params["*"]}function Mv(e,n){if(e.route.shouldRevalidate){let a=e.route.shouldRevalidate(n);if(typeof a=="boolean")return a}return n.defaultShouldRevalidate}function Nv(e,n,a,r,o){let u;if(e){let h=r[e];qe(h,`No route found to patch children into: routeId = ${e}`),h.children||(h.children=[]),u=h.children}else u=a;let d=n.filter(h=>!u.some(g=>X0(h,g))),m=Du(d,o,[e||"_","patch",String((u==null?void 0:u.length)||"0")],r);u.push(...m)}function X0(e,n){return"id"in e&&"id"in n&&e.id===n.id?!0:e.index===n.index&&e.path===n.path&&e.caseSensitive===n.caseSensitive?(!e.children||e.children.length===0)&&(!n.children||n.children.length===0)?!0:e.children.every((a,r)=>{var o;return(o=n.children)==null?void 0:o.some(u=>X0(a,u))}):!1}async function G5(e,n,a){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let o=a[e.id];qe(o,"No route found in manifest");let u={};for(let d in r){let h=o[d]!==void 0&&d!=="hasErrorBoundary";Ft(!h,`Route "${o.id}" has a static property "${d}" defined but its lazy function is also returning a value for this property. The lazy route property "${d}" will be ignored.`),!h&&!p5.has(d)&&(u[d]=r[d])}Object.assign(o,u),Object.assign(o,{...n(o),lazy:void 0})}async function K5({matches:e}){let n=e.filter(r=>r.shouldLoad);return(await Promise.all(n.map(r=>r.resolve()))).reduce((r,o,u)=>Object.assign(r,{[n[u].route.id]:o}),{})}async function X5(e,n,a,r,o,u,d,m,h,g){let y=u.map(S=>S.route.lazy?G5(S.route,h,m):void 0),b=u.map((S,E)=>{let A=y[E],N=o.some(V=>V.route.id===S.route.id);return{...S,shouldLoad:N,resolve:async V=>(V&&r.method==="GET"&&(S.route.lazy||S.route.loader)&&(N=!0),N?I5(n,r,S,A,V,g):Promise.resolve({type:"data",result:void 0}))}}),x=await e({matches:b,request:r,params:u[0].params,fetcherKey:d,context:g});try{await Promise.all(y)}catch{}return x}async function I5(e,n,a,r,o,u){let d,m,h=g=>{let y,b=new Promise((E,A)=>y=A);m=()=>y(),n.signal.addEventListener("abort",m);let x=E=>typeof g!="function"?Promise.reject(new Error(`You cannot call the handler for a route which defines a boolean "${e}" [routeId: ${a.route.id}]`)):g({request:n,params:a.params,context:u},...E!==void 0?[E]:[]),S=(async()=>{try{return{type:"data",result:await(o?o(A=>x(A)):x())}}catch(E){return{type:"error",result:E}}})();return Promise.race([S,b])};try{let g=a.route[e];if(r)if(g){let y,[b]=await Promise.all([h(g).catch(x=>{y=x}),r]);if(y!==void 0)throw y;d=b}else if(await r,g=a.route[e],g)d=await h(g);else if(e==="action"){let y=new URL(n.url),b=y.pathname+y.search;throw Pn(405,{method:n.method,pathname:b,routeId:a.route.id})}else return{type:"data",result:void 0};else if(g)d=await h(g);else{let y=new URL(n.url),b=y.pathname+y.search;throw Pn(404,{pathname:b})}}catch(g){return{type:"error",result:g}}finally{m&&n.signal.removeEventListener("abort",m)}return d}async function Z5(e){var r,o,u,d,m,h;let{result:n,type:a}=e;if(Z0(n)){let g;try{let y=n.headers.get("Content-Type");y&&/\bapplication\/json\b/.test(y)?n.body==null?g=null:g=await n.json():g=await n.text()}catch(y){return{type:"error",error:y}}return a==="error"?{type:"error",error:new Lu(n.status,n.statusText,g),statusCode:n.status,headers:n.headers}:{type:"data",data:g,statusCode:n.status,headers:n.headers}}return a==="error"?Bv(n)?n.data instanceof Error?{type:"error",error:n.data,statusCode:(r=n.init)==null?void 0:r.status,headers:(o=n.init)!=null&&o.headers?new Headers(n.init.headers):void 0}:{type:"error",error:new Lu(((u=n.init)==null?void 0:u.status)||500,void 0,n.data),statusCode:Ol(n)?n.status:void 0,headers:(d=n.init)!=null&&d.headers?new Headers(n.init.headers):void 0}:{type:"error",error:n,statusCode:Ol(n)?n.status:void 0}:Bv(n)?{type:"data",data:n.data,statusCode:(m=n.init)==null?void 0:m.status,headers:(h=n.init)!=null&&h.headers?new Headers(n.init.headers):void 0}:{type:"data",data:n}}function Q5(e,n,a,r,o){let u=e.headers.get("Location");if(qe(u,"Redirects returned/thrown from loaders/actions must have a Location header"),!Oh.test(u)){let d=r.slice(0,r.findIndex(m=>m.route.id===a)+1);u=Wf(new URL(n.url),d,o,u),e.headers.set("Location",u)}return e}function Dv(e,n,a){if(Oh.test(e)){let r=e,o=r.startsWith("//")?new URL(n.protocol+r):new URL(r),u=Qn(o.pathname,a)!=null;if(o.origin===n.origin&&u)return o.pathname+o.search+o.hash}return e}function Ks(e,n,a,r){let o=e.createURL(I0(n)).toString(),u={signal:a};if(r&&In(r.formMethod)){let{formMethod:d,formEncType:m}=r;u.method=d.toUpperCase(),m==="application/json"?(u.headers=new Headers({"Content-Type":m}),u.body=JSON.stringify(r.json)):m==="text/plain"?u.body=r.text:m==="application/x-www-form-urlencoded"&&r.formData?u.body=th(r.formData):u.body=r.formData}return new Request(o,u)}function th(e){let n=new URLSearchParams;for(let[a,r]of e.entries())n.append(a,typeof r=="string"?r:r.name);return n}function Ov(e){let n=new FormData;for(let[a,r]of e.entries())n.append(a,r);return n}function J5(e,n,a,r=!1,o=!1){let u={},d=null,m,h=!1,g={},y=a&&gn(a[1])?a[1].error:void 0;return e.forEach(b=>{if(!(b.route.id in n))return;let x=b.route.id,S=n[x];if(qe(!ts(S),"Cannot handle redirect results in processLoaderData"),gn(S)){let E=S.error;if(y!==void 0&&(E=y,y=void 0),d=d||{},o)d[x]=E;else{let A=es(e,x);d[A.route.id]==null&&(d[A.route.id]=E)}r||(u[x]=K0),h||(h=!0,m=Ol(S.error)?S.error.status:500),S.headers&&(g[x]=S.headers)}else u[x]=S.data,S.statusCode&&S.statusCode!==200&&!h&&(m=S.statusCode),S.headers&&(g[x]=S.headers)}),y!==void 0&&a&&(d={[a[0]]:y},u[a[0]]=void 0),{loaderData:u,errors:d,statusCode:m||200,loaderHeaders:g}}function Lv(e,n,a,r,o,u){let{loaderData:d,errors:m}=J5(n,a,r);return o.forEach(h=>{let{key:g,match:y,controller:b}=h,x=u[g];if(qe(x,"Did not find corresponding fetcher result"),!(b&&b.signal.aborted))if(gn(x)){let S=es(e.matches,y==null?void 0:y.route.id);m&&m[S.route.id]||(m={...m,[S.route.id]:x.error}),e.fetchers.delete(g)}else if(ts(x))qe(!1,"Unhandled fetcher revalidation redirect");else{let S=ha(x.data);e.fetchers.set(g,S)}}),{loaderData:d,errors:m}}function kv(e,n,a,r){let o=Object.entries(n).filter(([,u])=>u!==K0).reduce((u,[d,m])=>(u[d]=m,u),{});for(let u of a){let d=u.route.id;if(!n.hasOwnProperty(d)&&e.hasOwnProperty(d)&&u.route.loader&&(o[d]=e[d]),r&&r.hasOwnProperty(d))break}return o}function zv(e){return e?gn(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function es(e,n){return(n?e.slice(0,e.findIndex(r=>r.route.id===n)+1):[...e]).reverse().find(r=>r.route.hasErrorBoundary===!0)||e[0]}function Vv(e){let n=e.length===1?e[0]:e.find(a=>a.index||!a.path||a.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:n}],route:n}}function Pn(e,{pathname:n,routeId:a,method:r,type:o,message:u}={}){let d="Unknown Server Error",m="Unknown @remix-run/router error";return e===400?(d="Bad Request",r&&n&&a?m=`You made a ${r} request to "${n}" but did not provide a \`loader\` for route "${a}", so there is no way to handle the request.`:o==="invalid-body"&&(m="Unable to encode submission body")):e===403?(d="Forbidden",m=`Route "${a}" does not match URL "${n}"`):e===404?(d="Not Found",m=`No route matches URL "${n}"`):e===405&&(d="Method Not Allowed",r&&n&&a?m=`You made a ${r.toUpperCase()} request to "${n}" but did not provide an \`action\` for route "${a}", so there is no way to handle the request.`:r&&(m=`Invalid request method "${r.toUpperCase()}"`)),new Lu(e||500,d,new Error(m),!0)}function mu(e){let n=Object.entries(e);for(let a=n.length-1;a>=0;a--){let[r,o]=n[a];if(ts(o))return{key:r,result:o}}}function I0(e){let n=typeof e=="string"?wa(e):e;return va({...n,hash:""})}function W5(e,n){return e.pathname!==n.pathname||e.search!==n.search?!1:e.hash===""?n.hash!=="":e.hash===n.hash?!0:n.hash!==""}function eE(e){return Z0(e.result)&&U5.has(e.result.status)}function gn(e){return e.type==="error"}function ts(e){return(e&&e.type)==="redirect"}function Bv(e){return typeof e=="object"&&e!=null&&"type"in e&&"data"in e&&"init"in e&&e.type==="DataWithResponseInit"}function Z0(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function tE(e){return B5.has(e.toUpperCase())}function In(e){return z5.has(e.toUpperCase())}function Lh(e){return new URLSearchParams(e).getAll("index").some(n=>n==="")}function El(e,n){let a=typeof n=="string"?wa(n).search:n.search;if(e[e.length-1].route.index&&Lh(a||""))return e[e.length-1];let r=$0(e);return r[r.length-1]}function Uv(e){let{formMethod:n,formAction:a,formEncType:r,text:o,formData:u,json:d}=e;if(!(!n||!a||!r)){if(o!=null)return{formMethod:n,formAction:a,formEncType:r,formData:void 0,json:void 0,text:o};if(u!=null)return{formMethod:n,formAction:a,formEncType:r,formData:u,json:void 0,text:void 0};if(d!==void 0)return{formMethod:n,formAction:a,formEncType:r,formData:void 0,json:d,text:void 0}}}function kf(e,n){return n?{state:"loading",location:e,formMethod:n.formMethod,formAction:n.formAction,formEncType:n.formEncType,formData:n.formData,json:n.json,text:n.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function nE(e,n){return{state:"submitting",location:e,formMethod:n.formMethod,formAction:n.formAction,formEncType:n.formEncType,formData:n.formData,json:n.json,text:n.text}}function xl(e,n){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:n}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:n}}function iE(e,n){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:n?n.data:void 0}}function ha(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function aE(e,n){try{let a=e.sessionStorage.getItem(G0);if(a){let r=JSON.parse(a);for(let[o,u]of Object.entries(r||{}))u&&Array.isArray(u)&&n.set(o,new Set(u||[]))}}catch{}}function sE(e,n){if(n.size>0){let a={};for(let[r,o]of n)a[r]=[...o];try{e.sessionStorage.setItem(G0,JSON.stringify(a))}catch(r){Ft(!1,`Failed to save applied view transitions in sessionStorage (${r}).`)}}}function rE(){let e,n,a=new Promise((r,o)=>{e=async u=>{r(u);try{await a}catch{}},n=async u=>{o(u);try{await a}catch{}}});return{promise:a,resolve:e,reject:n}}var ls=R.createContext(null);ls.displayName="DataRouter";var _l=R.createContext(null);_l.displayName="DataRouterState";var kh=R.createContext({isTransitioning:!1});kh.displayName="ViewTransition";var Q0=R.createContext(new Map);Q0.displayName="Fetchers";var lE=R.createContext(null);lE.displayName="Await";var hi=R.createContext(null);hi.displayName="Navigation";var ic=R.createContext(null);ic.displayName="Location";var mi=R.createContext({outlet:null,matches:[],isDataRoute:!1});mi.displayName="Route";var zh=R.createContext(null);zh.displayName="RouteError";function oE(e,{relative:n}={}){qe(ql(),"useHref() may be used only in the context of a <Router> component.");let{basename:a,navigator:r}=R.useContext(hi),{hash:o,pathname:u,search:d}=Fl(e,{relative:n}),m=u;return a!=="/"&&(m=u==="/"?a:ui([a,u])),r.createHref({pathname:m,search:d,hash:o})}function ql(){return R.useContext(ic)!=null}function Sa(){return qe(ql(),"useLocation() may be used only in the context of a <Router> component."),R.useContext(ic).location}var J0="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function W0(e){R.useContext(hi).static||R.useLayoutEffect(e)}function ac(){let{isDataRoute:e}=R.useContext(mi);return e?EE():uE()}function uE(){qe(ql(),"useNavigate() may be used only in the context of a <Router> component.");let e=R.useContext(ls),{basename:n,navigator:a}=R.useContext(hi),{matches:r}=R.useContext(mi),{pathname:o}=Sa(),u=JSON.stringify(Nh(r)),d=R.useRef(!1);return W0(()=>{d.current=!0}),R.useCallback((h,g={})=>{if(Ft(d.current,J0),!d.current)return;if(typeof h=="number"){a.go(h);return}let y=Dh(h,JSON.parse(u),o,g.relative==="path");e==null&&n!=="/"&&(y.pathname=y.pathname==="/"?n:ui([n,y.pathname])),(g.replace?a.replace:a.push)(y,g.state,g)},[n,a,u,o,e])}var cE=R.createContext(null);function dE(e){let n=R.useContext(mi).outlet;return n&&R.createElement(cE.Provider,{value:e},n)}function Fl(e,{relative:n}={}){let{matches:a}=R.useContext(mi),{pathname:r}=Sa(),o=JSON.stringify(Nh(a));return R.useMemo(()=>Dh(e,JSON.parse(o),r,n==="path"),[e,o,r,n])}function fE(e,n,a,r){qe(ql(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:o,static:u}=R.useContext(hi),{matches:d}=R.useContext(mi),m=d[d.length-1],h=m?m.params:{},g=m?m.pathname:"/",y=m?m.pathnameBase:"/",b=m&&m.route;{let V=b&&b.path||"";eb(g,!b||V.endsWith("*")||V.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${g}" (under <Route path="${V}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.

Please change the parent <Route path="${V}"> to <Route path="${V==="/"?"*":`${V}/*`}">.`)}let x=Sa(),S;S=x;let E=S.pathname||"/",A=E;if(y!=="/"){let V=y.replace(/^\//,"").split("/");A="/"+E.replace(/^\//,"").split("/").slice(V.length).join("/")}let N=!u&&a&&a.matches&&a.matches.length>0?a.matches:pa(e,{pathname:A});return Ft(b||N!=null,`No routes matched location "${S.pathname}${S.search}${S.hash}" `),Ft(N==null||N[N.length-1].route.element!==void 0||N[N.length-1].route.Component!==void 0||N[N.length-1].route.lazy!==void 0,`Matched leaf route at location "${S.pathname}${S.search}${S.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`),yE(N&&N.map(V=>Object.assign({},V,{params:Object.assign({},h,V.params),pathname:ui([y,o.encodeLocation?o.encodeLocation(V.pathname).pathname:V.pathname]),pathnameBase:V.pathnameBase==="/"?y:ui([y,o.encodeLocation?o.encodeLocation(V.pathnameBase).pathname:V.pathnameBase])})),d,a,r)}function hE(){let e=SE(),n=Ol(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),a=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:r},u={padding:"2px 4px",backgroundColor:r},d=null;return console.error("Error handled by React Router default ErrorBoundary:",e),d=R.createElement(R.Fragment,null,R.createElement("p",null,"💿 Hey developer 👋"),R.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",R.createElement("code",{style:u},"ErrorBoundary")," or"," ",R.createElement("code",{style:u},"errorElement")," prop on your route.")),R.createElement(R.Fragment,null,R.createElement("h2",null,"Unexpected Application Error!"),R.createElement("h3",{style:{fontStyle:"italic"}},n),a?R.createElement("pre",{style:o},a):null,d)}var mE=R.createElement(hE,null),pE=class extends R.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,n){return n.location!==e.location||n.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:n.error,location:n.location,revalidation:e.revalidation||n.revalidation}}componentDidCatch(e,n){console.error("React Router caught the following error during render",e,n)}render(){return this.state.error!==void 0?R.createElement(mi.Provider,{value:this.props.routeContext},R.createElement(zh.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function gE({routeContext:e,match:n,children:a}){let r=R.useContext(ls);return r&&r.static&&r.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=n.route.id),R.createElement(mi.Provider,{value:e},a)}function yE(e,n=[],a=null,r=null){if(e==null){if(!a)return null;if(a.errors)e=a.matches;else if(n.length===0&&!a.initialized&&a.matches.length>0)e=a.matches;else return null}let o=e,u=a==null?void 0:a.errors;if(u!=null){let h=o.findIndex(g=>g.route.id&&(u==null?void 0:u[g.route.id])!==void 0);qe(h>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(u).join(",")}`),o=o.slice(0,Math.min(o.length,h+1))}let d=!1,m=-1;if(a)for(let h=0;h<o.length;h++){let g=o[h];if((g.route.HydrateFallback||g.route.hydrateFallbackElement)&&(m=h),g.route.id){let{loaderData:y,errors:b}=a,x=g.route.loader&&!y.hasOwnProperty(g.route.id)&&(!b||b[g.route.id]===void 0);if(g.route.lazy||x){d=!0,m>=0?o=o.slice(0,m+1):o=[o[0]];break}}}return o.reduceRight((h,g,y)=>{let b,x=!1,S=null,E=null;a&&(b=u&&g.route.id?u[g.route.id]:void 0,S=g.route.errorElement||mE,d&&(m<0&&y===0?(eb("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),x=!0,E=null):m===y&&(x=!0,E=g.route.hydrateFallbackElement||null)));let A=n.concat(o.slice(0,y+1)),N=()=>{let M;return b?M=S:x?M=E:g.route.Component?M=R.createElement(g.route.Component,null):g.route.element?M=g.route.element:M=h,R.createElement(gE,{match:g,routeContext:{outlet:h,matches:A,isDataRoute:a!=null},children:M})};return a&&(g.route.ErrorBoundary||g.route.errorElement||y===0)?R.createElement(pE,{location:a.location,revalidation:a.revalidation,component:S,error:b,children:N(),routeContext:{outlet:null,matches:A,isDataRoute:!0}}):N()},null)}function Vh(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function vE(e){let n=R.useContext(ls);return qe(n,Vh(e)),n}function xE(e){let n=R.useContext(_l);return qe(n,Vh(e)),n}function bE(e){let n=R.useContext(mi);return qe(n,Vh(e)),n}function Bh(e){let n=bE(e),a=n.matches[n.matches.length-1];return qe(a.route.id,`${e} can only be used on routes that contain a unique "id"`),a.route.id}function wE(){return Bh("useRouteId")}function SE(){var r;let e=R.useContext(zh),n=xE("useRouteError"),a=Bh("useRouteError");return e!==void 0?e:(r=n.errors)==null?void 0:r[a]}function EE(){let{router:e}=vE("useNavigate"),n=Bh("useNavigate"),a=R.useRef(!1);return W0(()=>{a.current=!0}),R.useCallback(async(o,u={})=>{Ft(a.current,J0),a.current&&(typeof o=="number"?e.navigate(o):await e.navigate(o,{fromRouteId:n,...u}))},[e,n])}var Pv={};function eb(e,n,a){!n&&!Pv[e]&&(Pv[e]=!0,Ft(!1,a))}var Hv={};function _v(e,n){!e&&!Hv[n]&&(Hv[n]=!0,console.warn(n))}function TE(e){let n={hasErrorBoundary:e.hasErrorBoundary||e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&(e.element&&Ft(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(n,{element:R.createElement(e.Component),Component:void 0})),e.HydrateFallback&&(e.hydrateFallbackElement&&Ft(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(n,{hydrateFallbackElement:R.createElement(e.HydrateFallback),HydrateFallback:void 0})),e.ErrorBoundary&&(e.errorElement&&Ft(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(n,{errorElement:R.createElement(e.ErrorBoundary),ErrorBoundary:void 0})),n}var jE=class{constructor(){this.status="pending",this.promise=new Promise((e,n)=>{this.resolve=a=>{this.status==="pending"&&(this.status="resolved",e(a))},this.reject=a=>{this.status==="pending"&&(this.status="rejected",n(a))}})}};function CE({router:e,flushSync:n}){let[a,r]=R.useState(e.state),[o,u]=R.useState(),[d,m]=R.useState({isTransitioning:!1}),[h,g]=R.useState(),[y,b]=R.useState(),[x,S]=R.useState(),E=R.useRef(new Map),A=R.useCallback((_,{deletedFetchers:J,flushSync:P,viewTransitionOpts:C})=>{_.fetchers.forEach((X,F)=>{X.data!==void 0&&E.current.set(F,X.data)}),J.forEach(X=>E.current.delete(X)),_v(P===!1||n!=null,'You provided the `flushSync` option to a router update, but you are not using the `<RouterProvider>` from `react-router/dom` so `ReactDOM.flushSync()` is unavailable.  Please update your app to `import { RouterProvider } from "react-router/dom"` and ensure you have `react-dom` installed as a dependency to use the `flushSync` option.');let ee=e.window!=null&&e.window.document!=null&&typeof e.window.document.startViewTransition=="function";if(_v(C==null||ee,"You provided the `viewTransition` option to a router update, but you do not appear to be running in a DOM environment as `window.startViewTransition` is not available."),!C||!ee){n&&P?n(()=>r(_)):R.startTransition(()=>r(_));return}if(n&&P){n(()=>{y&&(h&&h.resolve(),y.skipTransition()),m({isTransitioning:!0,flushSync:!0,currentLocation:C.currentLocation,nextLocation:C.nextLocation})});let X=e.window.document.startViewTransition(()=>{n(()=>r(_))});X.finished.finally(()=>{n(()=>{g(void 0),b(void 0),u(void 0),m({isTransitioning:!1})})}),n(()=>b(X));return}y?(h&&h.resolve(),y.skipTransition(),S({state:_,currentLocation:C.currentLocation,nextLocation:C.nextLocation})):(u(_),m({isTransitioning:!0,flushSync:!1,currentLocation:C.currentLocation,nextLocation:C.nextLocation}))},[e.window,n,y,h]);R.useLayoutEffect(()=>e.subscribe(A),[e,A]),R.useEffect(()=>{d.isTransitioning&&!d.flushSync&&g(new jE)},[d]),R.useEffect(()=>{if(h&&o&&e.window){let _=o,J=h.promise,P=e.window.document.startViewTransition(async()=>{R.startTransition(()=>r(_)),await J});P.finished.finally(()=>{g(void 0),b(void 0),u(void 0),m({isTransitioning:!1})}),b(P)}},[o,h,e.window]),R.useEffect(()=>{h&&o&&a.location.key===o.location.key&&h.resolve()},[h,y,a.location,o]),R.useEffect(()=>{!d.isTransitioning&&x&&(u(x.state),m({isTransitioning:!0,flushSync:!1,currentLocation:x.currentLocation,nextLocation:x.nextLocation}),S(void 0))},[d.isTransitioning,x]);let N=R.useMemo(()=>({createHref:e.createHref,encodeLocation:e.encodeLocation,go:_=>e.navigate(_),push:(_,J,P)=>e.navigate(_,{state:J,preventScrollReset:P==null?void 0:P.preventScrollReset}),replace:(_,J,P)=>e.navigate(_,{replace:!0,state:J,preventScrollReset:P==null?void 0:P.preventScrollReset})}),[e]),M=e.basename||"/",V=R.useMemo(()=>({router:e,navigator:N,static:!1,basename:M}),[e,N,M]);return R.createElement(R.Fragment,null,R.createElement(ls.Provider,{value:V},R.createElement(_l.Provider,{value:a},R.createElement(Q0.Provider,{value:E.current},R.createElement(kh.Provider,{value:d},R.createElement(NE,{basename:M,location:a.location,navigationType:a.historyAction,navigator:N},R.createElement(AE,{routes:e.routes,future:e.future,state:a})))))),null)}var AE=R.memo(RE);function RE({routes:e,future:n,state:a}){return fE(e,void 0,a,n)}function ME(e){return dE(e.context)}function NE({basename:e="/",children:n=null,location:a,navigationType:r="POP",navigator:o,static:u=!1}){qe(!ql(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let d=e.replace(/^\/*/,"/"),m=R.useMemo(()=>({basename:d,navigator:o,static:u,future:{}}),[d,o,u]);typeof a=="string"&&(a=wa(a));let{pathname:h="/",search:g="",hash:y="",state:b=null,key:x="default"}=a,S=R.useMemo(()=>{let E=Qn(h,d);return E==null?null:{location:{pathname:E,search:g,hash:y,state:b,key:x},navigationType:r}},[d,h,g,y,b,x,r]);return Ft(S!=null,`<Router basename="${d}"> is not able to match the URL "${h}${g}${y}" because it does not start with the basename, so the <Router> won't render anything.`),S==null?null:R.createElement(hi.Provider,{value:m},R.createElement(ic.Provider,{children:n,value:S}))}var Cu="get",Au="application/x-www-form-urlencoded";function sc(e){return e!=null&&typeof e.tagName=="string"}function DE(e){return sc(e)&&e.tagName.toLowerCase()==="button"}function OE(e){return sc(e)&&e.tagName.toLowerCase()==="form"}function LE(e){return sc(e)&&e.tagName.toLowerCase()==="input"}function kE(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function zE(e,n){return e.button===0&&(!n||n==="_self")&&!kE(e)}var pu=null;function VE(){if(pu===null)try{new FormData(document.createElement("form"),0),pu=!1}catch{pu=!0}return pu}var BE=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function zf(e){return e!=null&&!BE.has(e)?(Ft(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Au}"`),null):e}function UE(e,n){let a,r,o,u,d;if(OE(e)){let m=e.getAttribute("action");r=m?Qn(m,n):null,a=e.getAttribute("method")||Cu,o=zf(e.getAttribute("enctype"))||Au,u=new FormData(e)}else if(DE(e)||LE(e)&&(e.type==="submit"||e.type==="image")){let m=e.form;if(m==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let h=e.getAttribute("formaction")||m.getAttribute("action");if(r=h?Qn(h,n):null,a=e.getAttribute("formmethod")||m.getAttribute("method")||Cu,o=zf(e.getAttribute("formenctype"))||zf(m.getAttribute("enctype"))||Au,u=new FormData(m,e),!VE()){let{name:g,type:y,value:b}=e;if(y==="image"){let x=g?`${g}.`:"";u.append(`${x}x`,"0"),u.append(`${x}y`,"0")}else g&&u.append(g,b)}}else{if(sc(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');a=Cu,r=null,o=Au,d=e}return u&&o==="text/plain"&&(d=u,u=void 0),{action:r,method:a.toLowerCase(),encType:o,formData:u,body:d}}function Uh(e,n){if(e===!1||e===null||typeof e>"u")throw new Error(n)}async function PE(e,n){if(e.id in n)return n[e.id];try{let a=await import(e.module);return n[e.id]=a,a}catch(a){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(a),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function HE(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function _E(e,n,a){let r=await Promise.all(e.map(async o=>{let u=n.routes[o.route.id];if(u){let d=await PE(u,a);return d.links?d.links():[]}return[]}));return YE(r.flat(1).filter(HE).filter(o=>o.rel==="stylesheet"||o.rel==="preload").map(o=>o.rel==="stylesheet"?{...o,rel:"prefetch",as:"style"}:{...o,rel:"prefetch"}))}function qv(e,n,a,r,o,u){let d=(h,g)=>a[g]?h.route.id!==a[g].route.id:!0,m=(h,g)=>{var y;return a[g].pathname!==h.pathname||((y=a[g].route.path)==null?void 0:y.endsWith("*"))&&a[g].params["*"]!==h.params["*"]};return u==="assets"?n.filter((h,g)=>d(h,g)||m(h,g)):u==="data"?n.filter((h,g)=>{var b;let y=r.routes[h.route.id];if(!y||!y.hasLoader)return!1;if(d(h,g)||m(h,g))return!0;if(h.route.shouldRevalidate){let x=h.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:((b=a[0])==null?void 0:b.params)||{},nextUrl:new URL(e,window.origin),nextParams:h.params,defaultShouldRevalidate:!0});if(typeof x=="boolean")return x}return!0}):[]}function qE(e,n){return FE(e.map(a=>{let r=n.routes[a.route.id];if(!r)return[];let o=[r.module];return r.imports&&(o=o.concat(r.imports)),o}).flat(1))}function FE(e){return[...new Set(e)]}function $E(e){let n={},a=Object.keys(e).sort();for(let r of a)n[r]=e[r];return n}function YE(e,n){let a=new Set;return new Set(n),e.reduce((r,o)=>{let u=JSON.stringify($E(o));return a.has(u)||(a.add(u),r.push({key:u,link:o})),r},[])}function GE(e){let n=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return n.pathname==="/"?n.pathname="_root.data":n.pathname=`${n.pathname.replace(/\/$/,"")}.data`,n}function KE(){let e=R.useContext(ls);return Uh(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function XE(){let e=R.useContext(_l);return Uh(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var Ph=R.createContext(void 0);Ph.displayName="FrameworkContext";function tb(){let e=R.useContext(Ph);return Uh(e,"You must render this element inside a <HydratedRouter> element"),e}function IE(e,n){let a=R.useContext(Ph),[r,o]=R.useState(!1),[u,d]=R.useState(!1),{onFocus:m,onBlur:h,onMouseEnter:g,onMouseLeave:y,onTouchStart:b}=n,x=R.useRef(null);R.useEffect(()=>{if(e==="render"&&d(!0),e==="viewport"){let A=M=>{M.forEach(V=>{d(V.isIntersecting)})},N=new IntersectionObserver(A,{threshold:.5});return x.current&&N.observe(x.current),()=>{N.disconnect()}}},[e]),R.useEffect(()=>{if(r){let A=setTimeout(()=>{d(!0)},100);return()=>{clearTimeout(A)}}},[r]);let S=()=>{o(!0)},E=()=>{o(!1),d(!1)};return a?e!=="intent"?[u,x,{}]:[u,x,{onFocus:bl(m,S),onBlur:bl(h,E),onMouseEnter:bl(g,S),onMouseLeave:bl(y,E),onTouchStart:bl(b,S)}]:[!1,x,{}]}function bl(e,n){return a=>{e&&e(a),a.defaultPrevented||n(a)}}function ZE({page:e,...n}){let{router:a}=KE(),r=R.useMemo(()=>pa(a.routes,e,a.basename),[a.routes,e,a.basename]);return r?R.createElement(JE,{page:e,matches:r,...n}):null}function QE(e){let{manifest:n,routeModules:a}=tb(),[r,o]=R.useState([]);return R.useEffect(()=>{let u=!1;return _E(e,n,a).then(d=>{u||o(d)}),()=>{u=!0}},[e,n,a]),r}function JE({page:e,matches:n,...a}){let r=Sa(),{manifest:o,routeModules:u}=tb(),{loaderData:d,matches:m}=XE(),h=R.useMemo(()=>qv(e,n,m,o,r,"data"),[e,n,m,o,r]),g=R.useMemo(()=>qv(e,n,m,o,r,"assets"),[e,n,m,o,r]),y=R.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let S=new Set,E=!1;if(n.forEach(N=>{var V;let M=o.routes[N.route.id];!M||!M.hasLoader||(!h.some(_=>_.route.id===N.route.id)&&N.route.id in d&&((V=u[N.route.id])!=null&&V.shouldRevalidate)||M.hasClientLoader?E=!0:S.add(N.route.id))}),S.size===0)return[];let A=GE(e);return E&&S.size>0&&A.searchParams.set("_routes",n.filter(N=>S.has(N.route.id)).map(N=>N.route.id).join(",")),[A.pathname+A.search]},[d,r,o,h,n,e,u]),b=R.useMemo(()=>qE(g,o),[g,o]),x=QE(g);return R.createElement(R.Fragment,null,y.map(S=>R.createElement("link",{key:S,rel:"prefetch",as:"fetch",href:S,...a})),b.map(S=>R.createElement("link",{key:S,rel:"modulepreload",href:S,...a})),x.map(({key:S,link:E})=>R.createElement("link",{key:S,...E})))}function WE(...e){return n=>{e.forEach(a=>{typeof a=="function"?a(n):a!=null&&(a.current=n)})}}var nb=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{nb&&(window.__reactRouterVersion="7.1.5")}catch{}function e3(e,n){return q5({basename:n==null?void 0:n.basename,future:n==null?void 0:n.future,history:f5({window:n==null?void 0:n.window}),hydrationData:t3(),routes:e,mapRouteProperties:TE,dataStrategy:n==null?void 0:n.dataStrategy,patchRoutesOnNavigation:n==null?void 0:n.patchRoutesOnNavigation,window:n==null?void 0:n.window}).initialize()}function t3(){let e=window==null?void 0:window.__staticRouterHydrationData;return e&&e.errors&&(e={...e,errors:n3(e.errors)}),e}function n3(e){if(!e)return null;let n=Object.entries(e),a={};for(let[r,o]of n)if(o&&o.__type==="RouteErrorResponse")a[r]=new Lu(o.status,o.statusText,o.data,o.internal===!0);else if(o&&o.__type==="Error"){if(o.__subType){let u=window[o.__subType];if(typeof u=="function")try{let d=new u(o.message);d.stack="",a[r]=d}catch{}}if(a[r]==null){let u=new Error(o.message);u.stack="",a[r]=u}}else a[r]=o;return a}var ib=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Wt=R.forwardRef(function({onClick:n,discover:a="render",prefetch:r="none",relative:o,reloadDocument:u,replace:d,state:m,target:h,to:g,preventScrollReset:y,viewTransition:b,...x},S){let{basename:E}=R.useContext(hi),A=typeof g=="string"&&ib.test(g),N,M=!1;if(typeof g=="string"&&A&&(N=g,nb))try{let F=new URL(window.location.href),te=g.startsWith("//")?new URL(F.protocol+g):new URL(g),fe=Qn(te.pathname,E);te.origin===F.origin&&fe!=null?g=fe+te.search+te.hash:M=!0}catch{Ft(!1,`<Link to="${g}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let V=oE(g,{relative:o}),[_,J,P]=IE(r,x),C=r3(g,{replace:d,state:m,target:h,preventScrollReset:y,relative:o,viewTransition:b});function ee(F){n&&n(F),F.defaultPrevented||C(F)}let X=R.createElement("a",{...x,...P,href:N||V,onClick:M||u?n:ee,ref:WE(S,J),target:h,"data-discover":!A&&a==="render"?"true":void 0});return _&&!A?R.createElement(R.Fragment,null,X,R.createElement(ZE,{page:V})):X});Wt.displayName="Link";var i3=R.forwardRef(function({"aria-current":n="page",caseSensitive:a=!1,className:r="",end:o=!1,style:u,to:d,viewTransition:m,children:h,...g},y){let b=Fl(d,{relative:g.relative}),x=Sa(),S=R.useContext(_l),{navigator:E,basename:A}=R.useContext(hi),N=S!=null&&d3(b)&&m===!0,M=E.encodeLocation?E.encodeLocation(b).pathname:b.pathname,V=x.pathname,_=S&&S.navigation&&S.navigation.location?S.navigation.location.pathname:null;a||(V=V.toLowerCase(),_=_?_.toLowerCase():null,M=M.toLowerCase()),_&&A&&(_=Qn(_,A)||_);const J=M!=="/"&&M.endsWith("/")?M.length-1:M.length;let P=V===M||!o&&V.startsWith(M)&&V.charAt(J)==="/",C=_!=null&&(_===M||!o&&_.startsWith(M)&&_.charAt(M.length)==="/"),ee={isActive:P,isPending:C,isTransitioning:N},X=P?n:void 0,F;typeof r=="function"?F=r(ee):F=[r,P?"active":null,C?"pending":null,N?"transitioning":null].filter(Boolean).join(" ");let te=typeof u=="function"?u(ee):u;return R.createElement(Wt,{...g,"aria-current":X,className:F,ref:y,style:te,to:d,viewTransition:m},typeof h=="function"?h(ee):h)});i3.displayName="NavLink";var a3=R.forwardRef(({discover:e="render",fetcherKey:n,navigate:a,reloadDocument:r,replace:o,state:u,method:d=Cu,action:m,onSubmit:h,relative:g,preventScrollReset:y,viewTransition:b,...x},S)=>{let E=u3(),A=c3(m,{relative:g}),N=d.toLowerCase()==="get"?"get":"post",M=typeof m=="string"&&ib.test(m),V=_=>{if(h&&h(_),_.defaultPrevented)return;_.preventDefault();let J=_.nativeEvent.submitter,P=(J==null?void 0:J.getAttribute("formmethod"))||d;E(J||_.currentTarget,{fetcherKey:n,method:P,navigate:a,replace:o,state:u,relative:g,preventScrollReset:y,viewTransition:b})};return R.createElement("form",{ref:S,method:N,action:A,onSubmit:r?h:V,...x,"data-discover":!M&&e==="render"?"true":void 0})});a3.displayName="Form";function s3(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function ab(e){let n=R.useContext(ls);return qe(n,s3(e)),n}function r3(e,{target:n,replace:a,state:r,preventScrollReset:o,relative:u,viewTransition:d}={}){let m=ac(),h=Sa(),g=Fl(e,{relative:u});return R.useCallback(y=>{if(zE(y,n)){y.preventDefault();let b=a!==void 0?a:va(h)===va(g);m(e,{replace:b,state:r,preventScrollReset:o,relative:u,viewTransition:d})}},[h,m,g,a,r,n,e,o,u,d])}var l3=0,o3=()=>`__${String(++l3)}__`;function u3(){let{router:e}=ab("useSubmit"),{basename:n}=R.useContext(hi),a=wE();return R.useCallback(async(r,o={})=>{let{action:u,method:d,encType:m,formData:h,body:g}=UE(r,n);if(o.navigate===!1){let y=o.fetcherKey||o3();await e.fetch(y,a,o.action||u,{preventScrollReset:o.preventScrollReset,formData:h,body:g,formMethod:o.method||d,formEncType:o.encType||m,flushSync:o.flushSync})}else await e.navigate(o.action||u,{preventScrollReset:o.preventScrollReset,formData:h,body:g,formMethod:o.method||d,formEncType:o.encType||m,replace:o.replace,state:o.state,fromRouteId:a,flushSync:o.flushSync,viewTransition:o.viewTransition})},[e,n,a])}function c3(e,{relative:n}={}){let{basename:a}=R.useContext(hi),r=R.useContext(mi);qe(r,"useFormAction must be used inside a RouteContext");let[o]=r.matches.slice(-1),u={...Fl(e||".",{relative:n})},d=Sa();if(e==null){u.search=d.search;let m=new URLSearchParams(u.search),h=m.getAll("index");if(h.some(y=>y==="")){m.delete("index"),h.filter(b=>b).forEach(b=>m.append("index",b));let y=m.toString();u.search=y?`?${y}`:""}}return(!e||e===".")&&o.route.index&&(u.search=u.search?u.search.replace(/^\?/,"?index&"):"?index"),a!=="/"&&(u.pathname=u.pathname==="/"?a:ui([a,u.pathname])),va(u)}function d3(e,n={}){let a=R.useContext(kh);qe(a!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=ab("useViewTransitionState"),o=Fl(e,{relative:n.relative});if(!a.isTransitioning)return!1;let u=Qn(a.currentLocation.pathname,r)||a.currentLocation.pathname,d=Qn(a.nextLocation.pathname,r)||a.nextLocation.pathname;return Ou(o.pathname,d)!=null||Ou(o.pathname,u)!=null}new TextEncoder;var f3=_0();/**
 * react-router v7.1.5
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */function h3(e){return R.createElement(CE,{flushSync:f3.flushSync,...e})}const Hh=R.createContext({});function rc(e){const n=R.useRef(null);return n.current===null&&(n.current=e()),n.current}const lc=R.createContext(null),_h=R.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});class m3 extends R.Component{getSnapshotBeforeUpdate(n){const a=this.props.childRef.current;if(a&&n.isPresent&&!this.props.isPresent){const r=a.offsetParent,o=r instanceof HTMLElement&&r.offsetWidth||0,u=this.props.sizeRef.current;u.height=a.offsetHeight||0,u.width=a.offsetWidth||0,u.top=a.offsetTop,u.left=a.offsetLeft,u.right=o-u.width-u.left}return null}componentDidUpdate(){}render(){return this.props.children}}function p3({children:e,isPresent:n,anchorX:a}){const r=R.useId(),o=R.useRef(null),u=R.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:d}=R.useContext(_h);return R.useInsertionEffect(()=>{const{width:m,height:h,top:g,left:y,right:b}=u.current;if(n||!o.current||!m||!h)return;const x=a==="left"?`left: ${y}`:`right: ${b}`;o.current.dataset.motionPopId=r;const S=document.createElement("style");return d&&(S.nonce=d),document.head.appendChild(S),S.sheet&&S.sheet.insertRule(`
          [data-motion-pop-id="${r}"] {
            position: absolute !important;
            width: ${m}px !important;
            height: ${h}px !important;
            ${x}px !important;
            top: ${g}px !important;
          }
        `),()=>{document.head.removeChild(S)}},[n]),p.jsx(m3,{isPresent:n,childRef:o,sizeRef:u,children:R.cloneElement(e,{ref:o})})}const g3=({children:e,initial:n,isPresent:a,onExitComplete:r,custom:o,presenceAffectsLayout:u,mode:d,anchorX:m})=>{const h=rc(y3),g=R.useId(),y=R.useCallback(x=>{h.set(x,!0);for(const S of h.values())if(!S)return;r&&r()},[h,r]),b=R.useMemo(()=>({id:g,initial:n,isPresent:a,custom:o,onExitComplete:y,register:x=>(h.set(x,!1),()=>h.delete(x))}),u?[Math.random(),y]:[a,y]);return R.useMemo(()=>{h.forEach((x,S)=>h.set(S,!1))},[a]),R.useEffect(()=>{!a&&!h.size&&r&&r()},[a]),d==="popLayout"&&(e=p.jsx(p3,{isPresent:a,anchorX:m,children:e})),p.jsx(lc.Provider,{value:b,children:e})};function y3(){return new Map}function sb(e=!0){const n=R.useContext(lc);if(n===null)return[!0,null];const{isPresent:a,onExitComplete:r,register:o}=n,u=R.useId();R.useEffect(()=>{e&&o(u)},[e]);const d=R.useCallback(()=>e&&r&&r(u),[u,r,e]);return!a&&r?[!1,d]:[!0]}const gu=e=>e.key||"";function Fv(e){const n=[];return R.Children.forEach(e,a=>{R.isValidElement(a)&&n.push(a)}),n}const qh=typeof window<"u",Fh=qh?R.useLayoutEffect:R.useEffect,rb=({children:e,custom:n,initial:a=!0,onExitComplete:r,presenceAffectsLayout:o=!0,mode:u="sync",propagate:d=!1,anchorX:m="left"})=>{const[h,g]=sb(d),y=R.useMemo(()=>Fv(e),[e]),b=d&&!h?[]:y.map(gu),x=R.useRef(!0),S=R.useRef(y),E=rc(()=>new Map),[A,N]=R.useState(y),[M,V]=R.useState(y);Fh(()=>{x.current=!1,S.current=y;for(let P=0;P<M.length;P++){const C=gu(M[P]);b.includes(C)?E.delete(C):E.get(C)!==!0&&E.set(C,!1)}},[M,b.length,b.join("-")]);const _=[];if(y!==A){let P=[...y];for(let C=0;C<M.length;C++){const ee=M[C],X=gu(ee);b.includes(X)||(P.splice(C,0,ee),_.push(ee))}return u==="wait"&&_.length&&(P=_),V(Fv(P)),N(y),null}const{forceRender:J}=R.useContext(Hh);return p.jsx(p.Fragment,{children:M.map(P=>{const C=gu(P),ee=d&&!h?!1:y===M||b.includes(C),X=()=>{if(E.has(C))E.set(C,!0);else return;let F=!0;E.forEach(te=>{te||(F=!1)}),F&&(J==null||J(),V(S.current),d&&(g==null||g()),r&&r())};return p.jsx(g3,{isPresent:ee,initial:!x.current||a?void 0:!1,custom:n,presenceAffectsLayout:o,mode:u,onExitComplete:ee?void 0:X,anchorX:m,children:P},C)})})},yn=e=>e;let lb=yn;function $h(e){let n;return()=>(n===void 0&&(n=e()),n)}const sr=(e,n,a)=>{const r=n-e;return r===0?1:(a-e)/r},Ui=e=>e*1e3,Pi=e=>e/1e3,v3={useManualTiming:!1},yu=["read","resolveKeyframes","update","preRender","render","postRender"];function x3(e,n){let a=new Set,r=new Set,o=!1,u=!1;const d=new WeakSet;let m={delta:0,timestamp:0,isProcessing:!1};function h(y){d.has(y)&&(g.schedule(y),e()),y(m)}const g={schedule:(y,b=!1,x=!1)=>{const E=x&&o?a:r;return b&&d.add(y),E.has(y)||E.add(y),y},cancel:y=>{r.delete(y),d.delete(y)},process:y=>{if(m=y,o){u=!0;return}o=!0,[a,r]=[r,a],a.forEach(h),a.clear(),o=!1,u&&(u=!1,g.process(y))}};return g}const b3=40;function ob(e,n){let a=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},u=()=>a=!0,d=yu.reduce((M,V)=>(M[V]=x3(u),M),{}),{read:m,resolveKeyframes:h,update:g,preRender:y,render:b,postRender:x}=d,S=()=>{const M=performance.now();a=!1,o.delta=r?1e3/60:Math.max(Math.min(M-o.timestamp,b3),1),o.timestamp=M,o.isProcessing=!0,m.process(o),h.process(o),g.process(o),y.process(o),b.process(o),x.process(o),o.isProcessing=!1,a&&n&&(r=!1,e(S))},E=()=>{a=!0,r=!0,o.isProcessing||e(S)};return{schedule:yu.reduce((M,V)=>{const _=d[V];return M[V]=(J,P=!1,C=!1)=>(a||E(),_.schedule(J,P,C)),M},{}),cancel:M=>{for(let V=0;V<yu.length;V++)d[yu[V]].cancel(M)},state:o,steps:d}}const{schedule:rt,cancel:xa,state:qt,steps:Vf}=ob(typeof requestAnimationFrame<"u"?requestAnimationFrame:yn,!0),ub=R.createContext({strict:!1}),$v={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"]},rr={};for(const e in $v)rr[e]={isEnabled:n=>$v[e].some(a=>!!n[a])};function w3(e){for(const n in e)rr[n]={...rr[n],...e[n]}}const S3=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 ku(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||S3.has(e)}let cb=e=>!ku(e);function E3(e){e&&(cb=n=>n.startsWith("on")?!ku(n):e(n))}try{E3(require("@emotion/is-prop-valid").default)}catch{}function T3(e,n,a){const r={};for(const o in e)o==="values"&&typeof e.values=="object"||(cb(o)||a===!0&&ku(o)||!n&&!ku(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}function j3(e){if(typeof Proxy>"u")return e;const n=new Map,a=(...r)=>e(...r);return new Proxy(a,{get:(r,o)=>o==="create"?e:(n.has(o)||n.set(o,e(o)),n.get(o))})}const oc=R.createContext({});function uc(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Ll(e){return typeof e=="string"||Array.isArray(e)}const Yh=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Gh=["initial",...Yh];function cc(e){return uc(e.animate)||Gh.some(n=>Ll(e[n]))}function db(e){return!!(cc(e)||e.variants)}function C3(e,n){if(cc(e)){const{initial:a,animate:r}=e;return{initial:a===!1||Ll(a)?a:void 0,animate:Ll(r)?r:void 0}}return e.inherit!==!1?n:{}}function A3(e){const{initial:n,animate:a}=C3(e,R.useContext(oc));return R.useMemo(()=>({initial:n,animate:a}),[Yv(n),Yv(a)])}function Yv(e){return Array.isArray(e)?e.join(" "):e}const R3=Symbol.for("motionComponentSymbol");function Js(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function M3(e,n,a){return R.useCallback(r=>{r&&e.onMount&&e.onMount(r),n&&(r?n.mount(r):n.unmount()),a&&(typeof a=="function"?a(r):Js(a)&&(a.current=r))},[n])}const Kh=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),N3="framerAppearId",fb="data-"+Kh(N3),{schedule:Xh}=ob(queueMicrotask,!1),hb=R.createContext({});function D3(e,n,a,r,o){var u,d;const{visualElement:m}=R.useContext(oc),h=R.useContext(ub),g=R.useContext(lc),y=R.useContext(_h).reducedMotion,b=R.useRef(null);r=r||h.renderer,!b.current&&r&&(b.current=r(e,{visualState:n,parent:m,props:a,presenceContext:g,blockInitialAnimation:g?g.initial===!1:!1,reducedMotionConfig:y}));const x=b.current,S=R.useContext(hb);x&&!x.projection&&o&&(x.type==="html"||x.type==="svg")&&O3(b.current,a,o,S);const E=R.useRef(!1);R.useInsertionEffect(()=>{x&&E.current&&x.update(a,g)});const A=a[fb],N=R.useRef(!!A&&!(!((u=window.MotionHandoffIsComplete)===null||u===void 0)&&u.call(window,A))&&((d=window.MotionHasOptimisedAnimation)===null||d===void 0?void 0:d.call(window,A)));return Fh(()=>{x&&(E.current=!0,window.MotionIsMounted=!0,x.updateFeatures(),Xh.render(x.render),N.current&&x.animationState&&x.animationState.animateChanges())}),R.useEffect(()=>{x&&(!N.current&&x.animationState&&x.animationState.animateChanges(),N.current&&(queueMicrotask(()=>{var M;(M=window.MotionHandoffMarkAsComplete)===null||M===void 0||M.call(window,A)}),N.current=!1))}),x}function O3(e,n,a,r){const{layoutId:o,layout:u,drag:d,dragConstraints:m,layoutScroll:h,layoutRoot:g}=n;e.projection=new a(e.latestValues,n["data-framer-portal-id"]?void 0:mb(e.parent)),e.projection.setOptions({layoutId:o,layout:u,alwaysMeasureLayout:!!d||m&&Js(m),visualElement:e,animationType:typeof u=="string"?u:"both",initialPromotionConfig:r,layoutScroll:h,layoutRoot:g})}function mb(e){if(e)return e.options.allowProjection!==!1?e.projection:mb(e.parent)}function L3({preloadedFeatures:e,createVisualElement:n,useRender:a,useVisualState:r,Component:o}){var u,d;e&&w3(e);function m(g,y){let b;const x={...R.useContext(_h),...g,layoutId:k3(g)},{isStatic:S}=x,E=A3(g),A=r(g,S);if(!S&&qh){z3();const N=V3(x);b=N.MeasureLayout,E.visualElement=D3(o,A,x,n,N.ProjectionNode)}return p.jsxs(oc.Provider,{value:E,children:[b&&E.visualElement?p.jsx(b,{visualElement:E.visualElement,...x}):null,a(o,g,M3(A,E.visualElement,y),A,S,E.visualElement)]})}m.displayName=`motion.${typeof o=="string"?o:`create(${(d=(u=o.displayName)!==null&&u!==void 0?u:o.name)!==null&&d!==void 0?d:""})`}`;const h=R.forwardRef(m);return h[R3]=o,h}function k3({layoutId:e}){const n=R.useContext(Hh).id;return n&&e!==void 0?n+"-"+e:e}function z3(e,n){R.useContext(ub).strict}function V3(e){const{drag:n,layout:a}=rr;if(!n&&!a)return{};const r={...n,...a};return{MeasureLayout:n!=null&&n.isEnabled(e)||a!=null&&a.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}const pb=e=>n=>typeof n=="string"&&n.startsWith(e),Ih=pb("--"),B3=pb("var(--"),Zh=e=>B3(e)?U3.test(e.split("/*")[0].trim()):!1,U3=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,kl={};function P3(e){for(const n in e)kl[n]=e[n],Ih(n)&&(kl[n].isCSSVariable=!0)}const cr=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],os=new Set(cr);function gb(e,{layout:n,layoutId:a}){return os.has(e)||e.startsWith("origin")||(n||a!==void 0)&&(!!kl[e]||e==="opacity")}const Xt=e=>!!(e&&e.getVelocity),yb=(e,n)=>n&&typeof e=="number"?n.transform(e):e,_i=(e,n,a)=>a>n?n:a<e?e:a,dr={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},zl={...dr,transform:e=>_i(0,1,e)},vu={...dr,default:1},$l=e=>({test:n=>typeof n=="string"&&n.endsWith(e)&&n.split(" ").length===1,parse:parseFloat,transform:n=>`${n}${e}`}),ma=$l("deg"),ci=$l("%"),Ce=$l("px"),H3=$l("vh"),_3=$l("vw"),Gv={...ci,parse:e=>ci.parse(e)/100,transform:e=>ci.transform(e*100)},q3={borderWidth:Ce,borderTopWidth:Ce,borderRightWidth:Ce,borderBottomWidth:Ce,borderLeftWidth:Ce,borderRadius:Ce,radius:Ce,borderTopLeftRadius:Ce,borderTopRightRadius:Ce,borderBottomRightRadius:Ce,borderBottomLeftRadius:Ce,width:Ce,maxWidth:Ce,height:Ce,maxHeight:Ce,top:Ce,right:Ce,bottom:Ce,left:Ce,padding:Ce,paddingTop:Ce,paddingRight:Ce,paddingBottom:Ce,paddingLeft:Ce,margin:Ce,marginTop:Ce,marginRight:Ce,marginBottom:Ce,marginLeft:Ce,backgroundPositionX:Ce,backgroundPositionY:Ce},F3={rotate:ma,rotateX:ma,rotateY:ma,rotateZ:ma,scale:vu,scaleX:vu,scaleY:vu,scaleZ:vu,skew:ma,skewX:ma,skewY:ma,distance:Ce,translateX:Ce,translateY:Ce,translateZ:Ce,x:Ce,y:Ce,z:Ce,perspective:Ce,transformPerspective:Ce,opacity:zl,originX:Gv,originY:Gv,originZ:Ce},Kv={...dr,transform:Math.round},Qh={...q3,...F3,zIndex:Kv,size:Ce,fillOpacity:zl,strokeOpacity:zl,numOctaves:Kv},$3={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Y3=cr.length;function G3(e,n,a){let r="",o=!0;for(let u=0;u<Y3;u++){const d=cr[u],m=e[d];if(m===void 0)continue;let h=!0;if(typeof m=="number"?h=m===(d.startsWith("scale")?1:0):h=parseFloat(m)===0,!h||a){const g=yb(m,Qh[d]);if(!h){o=!1;const y=$3[d]||d;r+=`${y}(${g}) `}a&&(n[d]=g)}}return r=r.trim(),a?r=a(n,o?"":r):o&&(r="none"),r}function Jh(e,n,a){const{style:r,vars:o,transformOrigin:u}=e;let d=!1,m=!1;for(const h in n){const g=n[h];if(os.has(h)){d=!0;continue}else if(Ih(h)){o[h]=g;continue}else{const y=yb(g,Qh[h]);h.startsWith("origin")?(m=!0,u[h]=y):r[h]=y}}if(n.transform||(d||a?r.transform=G3(n,e.transform,a):r.transform&&(r.transform="none")),m){const{originX:h="50%",originY:g="50%",originZ:y=0}=u;r.transformOrigin=`${h} ${g} ${y}`}}const Wh=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function vb(e,n,a){for(const r in n)!Xt(n[r])&&!gb(r,a)&&(e[r]=n[r])}function K3({transformTemplate:e},n){return R.useMemo(()=>{const a=Wh();return Jh(a,n,e),Object.assign({},a.vars,a.style)},[n])}function X3(e,n){const a=e.style||{},r={};return vb(r,a,e),Object.assign(r,K3(e,n)),r}function I3(e,n){const a={},r=X3(e,n);return e.drag&&e.dragListener!==!1&&(a.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(a.tabIndex=0),a.style=r,a}const Z3=["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 em(e){return typeof e!="string"||e.includes("-")?!1:!!(Z3.indexOf(e)>-1||/[A-Z]/u.test(e))}const Q3={offset:"stroke-dashoffset",array:"stroke-dasharray"},J3={offset:"strokeDashoffset",array:"strokeDasharray"};function W3(e,n,a=1,r=0,o=!0){e.pathLength=1;const u=o?Q3:J3;e[u.offset]=Ce.transform(-r);const d=Ce.transform(n),m=Ce.transform(a);e[u.array]=`${d} ${m}`}function Xv(e,n,a){return typeof e=="string"?e:Ce.transform(n+a*e)}function eT(e,n,a){const r=Xv(n,e.x,e.width),o=Xv(a,e.y,e.height);return`${r} ${o}`}function tm(e,{attrX:n,attrY:a,attrScale:r,originX:o,originY:u,pathLength:d,pathSpacing:m=1,pathOffset:h=0,...g},y,b){if(Jh(e,g,b),y){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:x,style:S,dimensions:E}=e;x.transform&&(E&&(S.transform=x.transform),delete x.transform),E&&(o!==void 0||u!==void 0||S.transform)&&(S.transformOrigin=eT(E,o!==void 0?o:.5,u!==void 0?u:.5)),n!==void 0&&(x.x=n),a!==void 0&&(x.y=a),r!==void 0&&(x.scale=r),d!==void 0&&W3(x,d,m,h,!1)}const xb=()=>({...Wh(),attrs:{}}),nm=e=>typeof e=="string"&&e.toLowerCase()==="svg";function tT(e,n,a,r){const o=R.useMemo(()=>{const u=xb();return tm(u,n,nm(r),e.transformTemplate),{...u.attrs,style:{...u.style}}},[n]);if(e.style){const u={};vb(u,e.style,e),o.style={...u,...o.style}}return o}function nT(e=!1){return(a,r,o,{latestValues:u},d)=>{const h=(em(a)?tT:I3)(r,u,d,a),g=T3(r,typeof a=="string",e),y=a!==R.Fragment?{...g,...h,ref:o}:{},{children:b}=r,x=R.useMemo(()=>Xt(b)?b.get():b,[b]);return R.createElement(a,{...y,children:x})}}function Iv(e){const n=[{},{}];return e==null||e.values.forEach((a,r)=>{n[0][r]=a.get(),n[1][r]=a.getVelocity()}),n}function im(e,n,a,r){if(typeof n=="function"){const[o,u]=Iv(r);n=n(a!==void 0?a:e.custom,o,u)}if(typeof n=="string"&&(n=e.variants&&e.variants[n]),typeof n=="function"){const[o,u]=Iv(r);n=n(a!==void 0?a:e.custom,o,u)}return n}const nh=e=>Array.isArray(e),iT=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),aT=e=>nh(e)?e[e.length-1]||0:e;function Ru(e){const n=Xt(e)?e.get():e;return iT(n)?n.toValue():n}function sT({scrapeMotionValuesFromProps:e,createRenderState:n,onUpdate:a},r,o,u){const d={latestValues:rT(r,o,u,e),renderState:n()};return a&&(d.onMount=m=>a({props:r,current:m,...d}),d.onUpdate=m=>a(m)),d}const bb=e=>(n,a)=>{const r=R.useContext(oc),o=R.useContext(lc),u=()=>sT(e,n,r,o);return a?u():rc(u)};function rT(e,n,a,r){const o={},u=r(e,{});for(const x in u)o[x]=Ru(u[x]);let{initial:d,animate:m}=e;const h=cc(e),g=db(e);n&&g&&!h&&e.inherit!==!1&&(d===void 0&&(d=n.initial),m===void 0&&(m=n.animate));let y=a?a.initial===!1:!1;y=y||d===!1;const b=y?m:d;if(b&&typeof b!="boolean"&&!uc(b)){const x=Array.isArray(b)?b:[b];for(let S=0;S<x.length;S++){const E=im(e,x[S]);if(E){const{transitionEnd:A,transition:N,...M}=E;for(const V in M){let _=M[V];if(Array.isArray(_)){const J=y?_.length-1:0;_=_[J]}_!==null&&(o[V]=_)}for(const V in A)o[V]=A[V]}}}return o}function am(e,n,a){var r;const{style:o}=e,u={};for(const d in o)(Xt(o[d])||n.style&&Xt(n.style[d])||gb(d,e)||((r=a==null?void 0:a.getValue(d))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(u[d]=o[d]);return u}const lT={useVisualState:bb({scrapeMotionValuesFromProps:am,createRenderState:Wh})};function wb(e,n){try{n.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}function Sb(e,{style:n,vars:a},r,o){Object.assign(e.style,n,o&&o.getProjectionStyles(r));for(const u in a)e.style.setProperty(u,a[u])}const Eb=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 Tb(e,n,a,r){Sb(e,n,void 0,r);for(const o in n.attrs)e.setAttribute(Eb.has(o)?o:Kh(o),n.attrs[o])}function jb(e,n,a){const r=am(e,n,a);for(const o in e)if(Xt(e[o])||Xt(n[o])){const u=cr.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;r[u]=e[o]}return r}const Zv=["x","y","width","height","cx","cy","r"],oT={useVisualState:bb({scrapeMotionValuesFromProps:jb,createRenderState:xb,onUpdate:({props:e,prevProps:n,current:a,renderState:r,latestValues:o})=>{if(!a)return;let u=!!e.drag;if(!u){for(const m in o)if(os.has(m)){u=!0;break}}if(!u)return;let d=!n;if(n)for(let m=0;m<Zv.length;m++){const h=Zv[m];e[h]!==n[h]&&(d=!0)}d&&rt.read(()=>{wb(a,r),rt.render(()=>{tm(r,o,nm(a.tagName),e.transformTemplate),Tb(a,r)})})}})};function uT(e,n){return function(r,{forwardMotionProps:o}={forwardMotionProps:!1}){const d={...em(r)?oT:lT,preloadedFeatures:e,useRender:nT(o),createVisualElement:n,Component:r};return L3(d)}}function Vl(e,n,a){const r=e.getProps();return im(r,n,a!==void 0?a:r.custom,e)}const cT=$h(()=>window.ScrollTimeline!==void 0);class dT{constructor(n){this.stop=()=>this.runAll("stop"),this.animations=n.filter(Boolean)}get finished(){return Promise.all(this.animations.map(n=>"finished"in n?n.finished:n))}getAll(n){return this.animations[0][n]}setAll(n,a){for(let r=0;r<this.animations.length;r++)this.animations[r][n]=a}attachTimeline(n,a){const r=this.animations.map(o=>{if(cT()&&o.attachTimeline)return o.attachTimeline(n);if(typeof a=="function")return a(o)});return()=>{r.forEach((o,u)=>{o&&o(),this.animations[u].stop()})}}get time(){return this.getAll("time")}set time(n){this.setAll("time",n)}get speed(){return this.getAll("speed")}set speed(n){this.setAll("speed",n)}get startTime(){return this.getAll("startTime")}get duration(){let n=0;for(let a=0;a<this.animations.length;a++)n=Math.max(n,this.animations[a].duration);return n}runAll(n){this.animations.forEach(a=>a[n]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class fT extends dT{then(n,a){return Promise.all(this.animations).then(n).catch(a)}}function sm(e,n){return e?e[n]||e.default||e:void 0}const ih=2e4;function Cb(e){let n=0;const a=50;let r=e.next(n);for(;!r.done&&n<ih;)n+=a,r=e.next(n);return n>=ih?1/0:n}function rm(e){return typeof e=="function"}function Qv(e,n){e.timeline=n,e.onfinish=null}const lm=e=>Array.isArray(e)&&typeof e[0]=="number",hT={linearEasing:void 0};function mT(e,n){const a=$h(e);return()=>{var r;return(r=hT[n])!==null&&r!==void 0?r:a()}}const zu=mT(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Ab=(e,n,a=10)=>{let r="";const o=Math.max(Math.round(n/a),2);for(let u=0;u<o;u++)r+=e(sr(0,o-1,u))+", ";return`linear(${r.substring(0,r.length-2)})`};function Rb(e){return!!(typeof e=="function"&&zu()||!e||typeof e=="string"&&(e in ah||zu())||lm(e)||Array.isArray(e)&&e.every(Rb))}const Tl=([e,n,a,r])=>`cubic-bezier(${e}, ${n}, ${a}, ${r})`,ah={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Tl([0,.65,.55,1]),circOut:Tl([.55,0,1,.45]),backIn:Tl([.31,.01,.66,-.59]),backOut:Tl([.33,1.53,.69,.99])};function Mb(e,n){if(e)return typeof e=="function"&&zu()?Ab(e,n):lm(e)?Tl(e):Array.isArray(e)?e.map(a=>Mb(a,n)||ah.easeOut):ah[e]}const Xn={x:!1,y:!1};function Nb(){return Xn.x||Xn.y}function Db(e,n,a){var r;if(e instanceof Element)return[e];if(typeof e=="string"){let o=document;const u=(r=void 0)!==null&&r!==void 0?r:o.querySelectorAll(e);return u?Array.from(u):[]}return Array.from(e)}function Ob(e,n){const a=Db(e),r=new AbortController,o={passive:!0,...n,signal:r.signal};return[a,o,()=>r.abort()]}function Jv(e){return!(e.pointerType==="touch"||Nb())}function pT(e,n,a={}){const[r,o,u]=Ob(e,a),d=m=>{if(!Jv(m))return;const{target:h}=m,g=n(h,m);if(typeof g!="function"||!h)return;const y=b=>{Jv(b)&&(g(b),h.removeEventListener("pointerleave",y))};h.addEventListener("pointerleave",y,o)};return r.forEach(m=>{m.addEventListener("pointerenter",d,o)}),u}const Lb=(e,n)=>n?e===n?!0:Lb(e,n.parentElement):!1,om=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,gT=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function yT(e){return gT.has(e.tagName)||e.tabIndex!==-1}const jl=new WeakSet;function Wv(e){return n=>{n.key==="Enter"&&e(n)}}function Bf(e,n){e.dispatchEvent(new PointerEvent("pointer"+n,{isPrimary:!0,bubbles:!0}))}const vT=(e,n)=>{const a=e.currentTarget;if(!a)return;const r=Wv(()=>{if(jl.has(a))return;Bf(a,"down");const o=Wv(()=>{Bf(a,"up")}),u=()=>Bf(a,"cancel");a.addEventListener("keyup",o,n),a.addEventListener("blur",u,n)});a.addEventListener("keydown",r,n),a.addEventListener("blur",()=>a.removeEventListener("keydown",r),n)};function ex(e){return om(e)&&!Nb()}function xT(e,n,a={}){const[r,o,u]=Ob(e,a),d=m=>{const h=m.currentTarget;if(!ex(m)||jl.has(h))return;jl.add(h);const g=n(h,m),y=(S,E)=>{window.removeEventListener("pointerup",b),window.removeEventListener("pointercancel",x),!(!ex(S)||!jl.has(h))&&(jl.delete(h),typeof g=="function"&&g(S,{success:E}))},b=S=>{y(S,a.useGlobalTarget||Lb(h,S.target))},x=S=>{y(S,!1)};window.addEventListener("pointerup",b,o),window.addEventListener("pointercancel",x,o)};return r.forEach(m=>{!yT(m)&&m.getAttribute("tabindex")===null&&(m.tabIndex=0),(a.useGlobalTarget?window:m).addEventListener("pointerdown",d,o),m.addEventListener("focus",g=>vT(g,o),o)}),u}function bT(e){return e==="x"||e==="y"?Xn[e]?null:(Xn[e]=!0,()=>{Xn[e]=!1}):Xn.x||Xn.y?null:(Xn.x=Xn.y=!0,()=>{Xn.x=Xn.y=!1})}const kb=new Set(["width","height","top","left","right","bottom",...cr]);let Mu;function wT(){Mu=void 0}const di={now:()=>(Mu===void 0&&di.set(qt.isProcessing||v3.useManualTiming?qt.timestamp:performance.now()),Mu),set:e=>{Mu=e,queueMicrotask(wT)}};function um(e,n){e.indexOf(n)===-1&&e.push(n)}function cm(e,n){const a=e.indexOf(n);a>-1&&e.splice(a,1)}class dm{constructor(){this.subscriptions=[]}add(n){return um(this.subscriptions,n),()=>cm(this.subscriptions,n)}notify(n,a,r){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](n,a,r);else for(let u=0;u<o;u++){const d=this.subscriptions[u];d&&d(n,a,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function zb(e,n){return n?e*(1e3/n):0}const tx=30,ST=e=>!isNaN(parseFloat(e));class ET{constructor(n,a={}){this.version="12.4.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,o=!0)=>{const u=di.now();this.updatedAt!==u&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),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(n),this.owner=a.owner}setCurrent(n){this.current=n,this.updatedAt=di.now(),this.canTrackVelocity===null&&n!==void 0&&(this.canTrackVelocity=ST(this.current))}setPrevFrameValue(n=this.current){this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt}onChange(n){return this.on("change",n)}on(n,a){this.events[n]||(this.events[n]=new dm);const r=this.events[n].add(a);return n==="change"?()=>{r(),rt.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const n in this.events)this.events[n].clear()}attach(n,a){this.passiveEffect=n,this.stopPassiveEffect=a}set(n,a=!0){!a||!this.passiveEffect?this.updateAndNotify(n,a):this.passiveEffect(n,this.updateAndNotify)}setWithVelocity(n,a,r){this.set(a),this.prev=void 0,this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt-r}jump(n,a=!0){this.updateAndNotify(n),this.prev=n,this.prevUpdatedAt=this.prevFrameValue=void 0,a&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const n=di.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||n-this.updatedAt>tx)return 0;const a=Math.min(this.updatedAt-this.prevUpdatedAt,tx);return zb(parseFloat(this.current)-parseFloat(this.prevFrameValue),a)}start(n){return this.stop(),new Promise(a=>{this.hasAnimated=!0,this.animation=n(a),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 Bl(e,n){return new ET(e,n)}function TT(e,n,a){e.hasValue(n)?e.getValue(n).set(a):e.addValue(n,Bl(a))}function fm(e,n){const a=Vl(e,n);let{transitionEnd:r={},transition:o={},...u}=a||{};u={...u,...r};for(const d in u){const m=aT(u[d]);TT(e,d,m)}}function jT(e){return!!(Xt(e)&&e.add)}function sh(e,n){const a=e.getValue("willChange");if(jT(a))return a.add(n)}function Vb(e){return e.props[fb]}const Bb=(e,n,a)=>(((1-3*a+3*n)*e+(3*a-6*n))*e+3*n)*e,CT=1e-7,AT=12;function RT(e,n,a,r,o){let u,d,m=0;do d=n+(a-n)/2,u=Bb(d,r,o)-e,u>0?a=d:n=d;while(Math.abs(u)>CT&&++m<AT);return d}function Yl(e,n,a,r){if(e===n&&a===r)return yn;const o=u=>RT(u,0,1,e,a);return u=>u===0||u===1?u:Bb(o(u),n,r)}const Ub=e=>n=>n<=.5?e(2*n)/2:(2-e(2*(1-n)))/2,Pb=e=>n=>1-e(1-n),Hb=Yl(.33,1.53,.69,.99),hm=Pb(Hb),_b=Ub(hm),qb=e=>(e*=2)<1?.5*hm(e):.5*(2-Math.pow(2,-10*(e-1))),mm=e=>1-Math.sin(Math.acos(e)),Fb=Pb(mm),$b=Ub(mm),Yb=e=>/^0[^.\s]+$/u.test(e);function MT(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Yb(e):!0}const Cl=e=>Math.round(e*1e5)/1e5,pm=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function NT(e){return e==null}const DT=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,gm=(e,n)=>a=>!!(typeof a=="string"&&DT.test(a)&&a.startsWith(e)||n&&!NT(a)&&Object.prototype.hasOwnProperty.call(a,n)),Gb=(e,n,a)=>r=>{if(typeof r!="string")return r;const[o,u,d,m]=r.match(pm);return{[e]:parseFloat(o),[n]:parseFloat(u),[a]:parseFloat(d),alpha:m!==void 0?parseFloat(m):1}},OT=e=>_i(0,255,e),Uf={...dr,transform:e=>Math.round(OT(e))},ns={test:gm("rgb","red"),parse:Gb("red","green","blue"),transform:({red:e,green:n,blue:a,alpha:r=1})=>"rgba("+Uf.transform(e)+", "+Uf.transform(n)+", "+Uf.transform(a)+", "+Cl(zl.transform(r))+")"};function LT(e){let n="",a="",r="",o="";return e.length>5?(n=e.substring(1,3),a=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(n=e.substring(1,2),a=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),n+=n,a+=a,r+=r,o+=o),{red:parseInt(n,16),green:parseInt(a,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}}const rh={test:gm("#"),parse:LT,transform:ns.transform},Ws={test:gm("hsl","hue"),parse:Gb("hue","saturation","lightness"),transform:({hue:e,saturation:n,lightness:a,alpha:r=1})=>"hsla("+Math.round(e)+", "+ci.transform(Cl(n))+", "+ci.transform(Cl(a))+", "+Cl(zl.transform(r))+")"},Kt={test:e=>ns.test(e)||rh.test(e)||Ws.test(e),parse:e=>ns.test(e)?ns.parse(e):Ws.test(e)?Ws.parse(e):rh.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?ns.transform(e):Ws.transform(e)},kT=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function zT(e){var n,a;return isNaN(e)&&typeof e=="string"&&(((n=e.match(pm))===null||n===void 0?void 0:n.length)||0)+(((a=e.match(kT))===null||a===void 0?void 0:a.length)||0)>0}const Kb="number",Xb="color",VT="var",BT="var(",nx="${}",UT=/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 Ul(e){const n=e.toString(),a=[],r={color:[],number:[],var:[]},o=[];let u=0;const m=n.replace(UT,h=>(Kt.test(h)?(r.color.push(u),o.push(Xb),a.push(Kt.parse(h))):h.startsWith(BT)?(r.var.push(u),o.push(VT),a.push(h)):(r.number.push(u),o.push(Kb),a.push(parseFloat(h))),++u,nx)).split(nx);return{values:a,split:m,indexes:r,types:o}}function Ib(e){return Ul(e).values}function Zb(e){const{split:n,types:a}=Ul(e),r=n.length;return o=>{let u="";for(let d=0;d<r;d++)if(u+=n[d],o[d]!==void 0){const m=a[d];m===Kb?u+=Cl(o[d]):m===Xb?u+=Kt.transform(o[d]):u+=o[d]}return u}}const PT=e=>typeof e=="number"?0:e;function HT(e){const n=Ib(e);return Zb(e)(n.map(PT))}const ba={test:zT,parse:Ib,createTransformer:Zb,getAnimatableNone:HT},_T=new Set(["brightness","contrast","saturate","opacity"]);function qT(e){const[n,a]=e.slice(0,-1).split("(");if(n==="drop-shadow")return e;const[r]=a.match(pm)||[];if(!r)return e;const o=a.replace(r,"");let u=_T.has(n)?1:0;return r!==a&&(u*=100),n+"("+u+o+")"}const FT=/\b([a-z-]*)\(.*?\)/gu,lh={...ba,getAnimatableNone:e=>{const n=e.match(FT);return n?n.map(qT).join(" "):e}},$T={...Qh,color:Kt,backgroundColor:Kt,outlineColor:Kt,fill:Kt,stroke:Kt,borderColor:Kt,borderTopColor:Kt,borderRightColor:Kt,borderBottomColor:Kt,borderLeftColor:Kt,filter:lh,WebkitFilter:lh},ym=e=>$T[e];function Qb(e,n){let a=ym(e);return a!==lh&&(a=ba),a.getAnimatableNone?a.getAnimatableNone(n):void 0}const YT=new Set(["auto","none","0"]);function GT(e,n,a){let r=0,o;for(;r<e.length&&!o;){const u=e[r];typeof u=="string"&&!YT.has(u)&&Ul(u).values.length&&(o=e[r]),r++}if(o&&a)for(const u of n)e[u]=Qb(a,o)}const ix=e=>e===dr||e===Ce,ax=(e,n)=>parseFloat(e.split(", ")[n]),sx=(e,n)=>(a,{transform:r})=>{if(r==="none"||!r)return 0;const o=r.match(/^matrix3d\((.+)\)$/u);if(o)return ax(o[1],n);{const u=r.match(/^matrix\((.+)\)$/u);return u?ax(u[1],e):0}},KT=new Set(["x","y","z"]),XT=cr.filter(e=>!KT.has(e));function IT(e){const n=[];return XT.forEach(a=>{const r=e.getValue(a);r!==void 0&&(n.push([a,r.get()]),r.set(a.startsWith("scale")?1:0))}),n}const lr={width:({x:e},{paddingLeft:n="0",paddingRight:a="0"})=>e.max-e.min-parseFloat(n)-parseFloat(a),height:({y:e},{paddingTop:n="0",paddingBottom:a="0"})=>e.max-e.min-parseFloat(n)-parseFloat(a),top:(e,{top:n})=>parseFloat(n),left:(e,{left:n})=>parseFloat(n),bottom:({y:e},{top:n})=>parseFloat(n)+(e.max-e.min),right:({x:e},{left:n})=>parseFloat(n)+(e.max-e.min),x:sx(4,13),y:sx(5,14)};lr.translateX=lr.x;lr.translateY=lr.y;const is=new Set;let oh=!1,uh=!1;function Jb(){if(uh){const e=Array.from(is).filter(r=>r.needsMeasurement),n=new Set(e.map(r=>r.element)),a=new Map;n.forEach(r=>{const o=IT(r);o.length&&(a.set(r,o),r.render())}),e.forEach(r=>r.measureInitialState()),n.forEach(r=>{r.render();const o=a.get(r);o&&o.forEach(([u,d])=>{var m;(m=r.getValue(u))===null||m===void 0||m.set(d)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}uh=!1,oh=!1,is.forEach(e=>e.complete()),is.clear()}function Wb(){is.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(uh=!0)})}function ZT(){Wb(),Jb()}class vm{constructor(n,a,r,o,u,d=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...n],this.onComplete=a,this.name=r,this.motionValue=o,this.element=u,this.isAsync=d}scheduleResolve(){this.isScheduled=!0,this.isAsync?(is.add(this),oh||(oh=!0,rt.read(Wb),rt.resolveKeyframes(Jb))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:n,name:a,element:r,motionValue:o}=this;for(let u=0;u<n.length;u++)if(n[u]===null)if(u===0){const d=o==null?void 0:o.get(),m=n[n.length-1];if(d!==void 0)n[0]=d;else if(r&&a){const h=r.readValue(a,m);h!=null&&(n[0]=h)}n[0]===void 0&&(n[0]=m),o&&d===void 0&&o.set(n[0])}else n[u]=n[u-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),is.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,is.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const ew=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),QT=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function JT(e){const n=QT.exec(e);if(!n)return[,];const[,a,r,o]=n;return[`--${a??r}`,o]}function tw(e,n,a=1){const[r,o]=JT(e);if(!r)return;const u=window.getComputedStyle(n).getPropertyValue(r);if(u){const d=u.trim();return ew(d)?parseFloat(d):d}return Zh(o)?tw(o,n,a+1):o}const nw=e=>n=>n.test(e),WT={test:e=>e==="auto",parse:e=>e},iw=[dr,Ce,ci,ma,_3,H3,WT],rx=e=>iw.find(nw(e));class aw extends vm{constructor(n,a,r,o,u){super(n,a,r,o,u,!0)}readKeyframes(){const{unresolvedKeyframes:n,element:a,name:r}=this;if(!a||!a.current)return;super.readKeyframes();for(let h=0;h<n.length;h++){let g=n[h];if(typeof g=="string"&&(g=g.trim(),Zh(g))){const y=tw(g,a.current);y!==void 0&&(n[h]=y),h===n.length-1&&(this.finalKeyframe=g)}}if(this.resolveNoneKeyframes(),!kb.has(r)||n.length!==2)return;const[o,u]=n,d=rx(o),m=rx(u);if(d!==m)if(ix(d)&&ix(m))for(let h=0;h<n.length;h++){const g=n[h];typeof g=="string"&&(n[h]=parseFloat(g))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:n,name:a}=this,r=[];for(let o=0;o<n.length;o++)MT(n[o])&&r.push(o);r.length&&GT(n,r,a)}measureInitialState(){const{element:n,unresolvedKeyframes:a,name:r}=this;if(!n||!n.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=lr[r](n.measureViewportBox(),window.getComputedStyle(n.current)),a[0]=this.measuredOrigin;const o=a[a.length-1];o!==void 0&&n.getValue(r,o).jump(o,!1)}measureEndState(){var n;const{element:a,name:r,unresolvedKeyframes:o}=this;if(!a||!a.current)return;const u=a.getValue(r);u&&u.jump(this.measuredOrigin,!1);const d=o.length-1,m=o[d];o[d]=lr[r](a.measureViewportBox(),window.getComputedStyle(a.current)),m!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=m),!((n=this.removedTransforms)===null||n===void 0)&&n.length&&this.removedTransforms.forEach(([h,g])=>{a.getValue(h).set(g)}),this.resolveNoneKeyframes()}}const lx=(e,n)=>n==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(ba.test(e)||e==="0")&&!e.startsWith("url("));function e4(e){const n=e[0];if(e.length===1)return!0;for(let a=0;a<e.length;a++)if(e[a]!==n)return!0}function t4(e,n,a,r){const o=e[0];if(o===null)return!1;if(n==="display"||n==="visibility")return!0;const u=e[e.length-1],d=lx(o,n),m=lx(u,n);return!d||!m?!1:e4(e)||(a==="spring"||rm(a))&&r}const n4=e=>e!==null;function dc(e,{repeat:n,repeatType:a="loop"},r){const o=e.filter(n4),u=n&&a!=="loop"&&n%2===1?0:o.length-1;return!u||r===void 0?o[u]:r}const i4=40;class sw{constructor({autoplay:n=!0,delay:a=0,type:r="keyframes",repeat:o=0,repeatDelay:u=0,repeatType:d="loop",...m}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=di.now(),this.options={autoplay:n,delay:a,type:r,repeat:o,repeatDelay:u,repeatType:d,...m},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>i4?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&ZT(),this._resolved}onKeyframesResolved(n,a){this.resolvedAt=di.now(),this.hasAttemptedResolve=!0;const{name:r,type:o,velocity:u,delay:d,onComplete:m,onUpdate:h,isGenerator:g}=this.options;if(!g&&!t4(n,r,o,u))if(d)this.options.duration=0;else{h&&h(dc(n,this.options,a)),m&&m(),this.resolveFinishedPromise();return}const y=this.initPlayback(n,a);y!==!1&&(this._resolved={keyframes:n,finalKeyframe:a,...y},this.onPostResolved())}onPostResolved(){}then(n,a){return this.currentFinishedPromise.then(n,a)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(n=>{this.resolveFinishedPromise=n})}}const ht=(e,n,a)=>e+(n-e)*a;function Pf(e,n,a){return a<0&&(a+=1),a>1&&(a-=1),a<1/6?e+(n-e)*6*a:a<1/2?n:a<2/3?e+(n-e)*(2/3-a)*6:e}function a4({hue:e,saturation:n,lightness:a,alpha:r}){e/=360,n/=100,a/=100;let o=0,u=0,d=0;if(!n)o=u=d=a;else{const m=a<.5?a*(1+n):a+n-a*n,h=2*a-m;o=Pf(h,m,e+1/3),u=Pf(h,m,e),d=Pf(h,m,e-1/3)}return{red:Math.round(o*255),green:Math.round(u*255),blue:Math.round(d*255),alpha:r}}function Vu(e,n){return a=>a>0?n:e}const Hf=(e,n,a)=>{const r=e*e,o=a*(n*n-r)+r;return o<0?0:Math.sqrt(o)},s4=[rh,ns,Ws],r4=e=>s4.find(n=>n.test(e));function ox(e){const n=r4(e);if(!n)return!1;let a=n.parse(e);return n===Ws&&(a=a4(a)),a}const ux=(e,n)=>{const a=ox(e),r=ox(n);if(!a||!r)return Vu(e,n);const o={...a};return u=>(o.red=Hf(a.red,r.red,u),o.green=Hf(a.green,r.green,u),o.blue=Hf(a.blue,r.blue,u),o.alpha=ht(a.alpha,r.alpha,u),ns.transform(o))},l4=(e,n)=>a=>n(e(a)),Gl=(...e)=>e.reduce(l4),ch=new Set(["none","hidden"]);function o4(e,n){return ch.has(e)?a=>a<=0?e:n:a=>a>=1?n:e}function u4(e,n){return a=>ht(e,n,a)}function xm(e){return typeof e=="number"?u4:typeof e=="string"?Zh(e)?Vu:Kt.test(e)?ux:f4:Array.isArray(e)?rw:typeof e=="object"?Kt.test(e)?ux:c4:Vu}function rw(e,n){const a=[...e],r=a.length,o=e.map((u,d)=>xm(u)(u,n[d]));return u=>{for(let d=0;d<r;d++)a[d]=o[d](u);return a}}function c4(e,n){const a={...e,...n},r={};for(const o in a)e[o]!==void 0&&n[o]!==void 0&&(r[o]=xm(e[o])(e[o],n[o]));return o=>{for(const u in r)a[u]=r[u](o);return a}}function d4(e,n){var a;const r=[],o={color:0,var:0,number:0};for(let u=0;u<n.values.length;u++){const d=n.types[u],m=e.indexes[d][o[d]],h=(a=e.values[m])!==null&&a!==void 0?a:0;r[u]=h,o[d]++}return r}const f4=(e,n)=>{const a=ba.createTransformer(n),r=Ul(e),o=Ul(n);return r.indexes.var.length===o.indexes.var.length&&r.indexes.color.length===o.indexes.color.length&&r.indexes.number.length>=o.indexes.number.length?ch.has(e)&&!o.values.length||ch.has(n)&&!r.values.length?o4(e,n):Gl(rw(d4(r,o),o.values),a):Vu(e,n)};function lw(e,n,a){return typeof e=="number"&&typeof n=="number"&&typeof a=="number"?ht(e,n,a):xm(e)(e,n)}const h4=5;function ow(e,n,a){const r=Math.max(n-h4,0);return zb(a-e(r),n-r)}const xt={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},cx=.001;function m4({duration:e=xt.duration,bounce:n=xt.bounce,velocity:a=xt.velocity,mass:r=xt.mass}){let o,u,d=1-n;d=_i(xt.minDamping,xt.maxDamping,d),e=_i(xt.minDuration,xt.maxDuration,Pi(e)),d<1?(o=g=>{const y=g*d,b=y*e,x=y-a,S=dh(g,d),E=Math.exp(-b);return cx-x/S*E},u=g=>{const b=g*d*e,x=b*a+a,S=Math.pow(d,2)*Math.pow(g,2)*e,E=Math.exp(-b),A=dh(Math.pow(g,2),d);return(-o(g)+cx>0?-1:1)*((x-S)*E)/A}):(o=g=>{const y=Math.exp(-g*e),b=(g-a)*e+1;return-.001+y*b},u=g=>{const y=Math.exp(-g*e),b=(a-g)*(e*e);return y*b});const m=5/e,h=g4(o,u,m);if(e=Ui(e),isNaN(h))return{stiffness:xt.stiffness,damping:xt.damping,duration:e};{const g=Math.pow(h,2)*r;return{stiffness:g,damping:d*2*Math.sqrt(r*g),duration:e}}}const p4=12;function g4(e,n,a){let r=a;for(let o=1;o<p4;o++)r=r-e(r)/n(r);return r}function dh(e,n){return e*Math.sqrt(1-n*n)}const y4=["duration","bounce"],v4=["stiffness","damping","mass"];function dx(e,n){return n.some(a=>e[a]!==void 0)}function x4(e){let n={velocity:xt.velocity,stiffness:xt.stiffness,damping:xt.damping,mass:xt.mass,isResolvedFromDuration:!1,...e};if(!dx(e,v4)&&dx(e,y4))if(e.visualDuration){const a=e.visualDuration,r=2*Math.PI/(a*1.2),o=r*r,u=2*_i(.05,1,1-(e.bounce||0))*Math.sqrt(o);n={...n,mass:xt.mass,stiffness:o,damping:u}}else{const a=m4(e);n={...n,...a,mass:xt.mass},n.isResolvedFromDuration=!0}return n}function uw(e=xt.visualDuration,n=xt.bounce){const a=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:n}:e;let{restSpeed:r,restDelta:o}=a;const u=a.keyframes[0],d=a.keyframes[a.keyframes.length-1],m={done:!1,value:u},{stiffness:h,damping:g,mass:y,duration:b,velocity:x,isResolvedFromDuration:S}=x4({...a,velocity:-Pi(a.velocity||0)}),E=x||0,A=g/(2*Math.sqrt(h*y)),N=d-u,M=Pi(Math.sqrt(h/y)),V=Math.abs(N)<5;r||(r=V?xt.restSpeed.granular:xt.restSpeed.default),o||(o=V?xt.restDelta.granular:xt.restDelta.default);let _;if(A<1){const P=dh(M,A);_=C=>{const ee=Math.exp(-A*M*C);return d-ee*((E+A*M*N)/P*Math.sin(P*C)+N*Math.cos(P*C))}}else if(A===1)_=P=>d-Math.exp(-M*P)*(N+(E+M*N)*P);else{const P=M*Math.sqrt(A*A-1);_=C=>{const ee=Math.exp(-A*M*C),X=Math.min(P*C,300);return d-ee*((E+A*M*N)*Math.sinh(X)+P*N*Math.cosh(X))/P}}const J={calculatedDuration:S&&b||null,next:P=>{const C=_(P);if(S)m.done=P>=b;else{let ee=0;A<1&&(ee=P===0?Ui(E):ow(_,P,C));const X=Math.abs(ee)<=r,F=Math.abs(d-C)<=o;m.done=X&&F}return m.value=m.done?d:C,m},toString:()=>{const P=Math.min(Cb(J),ih),C=Ab(ee=>J.next(P*ee).value,P,30);return P+"ms "+C}};return J}function fx({keyframes:e,velocity:n=0,power:a=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:u=500,modifyTarget:d,min:m,max:h,restDelta:g=.5,restSpeed:y}){const b=e[0],x={done:!1,value:b},S=X=>m!==void 0&&X<m||h!==void 0&&X>h,E=X=>m===void 0?h:h===void 0||Math.abs(m-X)<Math.abs(h-X)?m:h;let A=a*n;const N=b+A,M=d===void 0?N:d(N);M!==N&&(A=M-b);const V=X=>-A*Math.exp(-X/r),_=X=>M+V(X),J=X=>{const F=V(X),te=_(X);x.done=Math.abs(F)<=g,x.value=x.done?M:te};let P,C;const ee=X=>{S(x.value)&&(P=X,C=uw({keyframes:[x.value,E(x.value)],velocity:ow(_,X,x.value),damping:o,stiffness:u,restDelta:g,restSpeed:y}))};return ee(0),{calculatedDuration:null,next:X=>{let F=!1;return!C&&P===void 0&&(F=!0,J(X),ee(X)),P!==void 0&&X>=P?C.next(X-P):(!F&&J(X),x)}}}const b4=Yl(.42,0,1,1),w4=Yl(0,0,.58,1),bm=Yl(.42,0,.58,1),S4=e=>Array.isArray(e)&&typeof e[0]!="number",E4={linear:yn,easeIn:b4,easeInOut:bm,easeOut:w4,circIn:mm,circInOut:$b,circOut:Fb,backIn:hm,backInOut:_b,backOut:Hb,anticipate:qb},hx=e=>{if(lm(e)){lb(e.length===4);const[n,a,r,o]=e;return Yl(n,a,r,o)}else if(typeof e=="string")return E4[e];return e};function T4(e,n,a){const r=[],o=a||lw,u=e.length-1;for(let d=0;d<u;d++){let m=o(e[d],e[d+1]);if(n){const h=Array.isArray(n)?n[d]||yn:n;m=Gl(h,m)}r.push(m)}return r}function j4(e,n,{clamp:a=!0,ease:r,mixer:o}={}){const u=e.length;if(lb(u===n.length),u===1)return()=>n[0];if(u===2&&n[0]===n[1])return()=>n[1];const d=e[0]===e[1];e[0]>e[u-1]&&(e=[...e].reverse(),n=[...n].reverse());const m=T4(n,r,o),h=m.length,g=y=>{if(d&&y<e[0])return n[0];let b=0;if(h>1)for(;b<e.length-2&&!(y<e[b+1]);b++);const x=sr(e[b],e[b+1],y);return m[b](x)};return a?y=>g(_i(e[0],e[u-1],y)):g}function C4(e,n){const a=e[e.length-1];for(let r=1;r<=n;r++){const o=sr(0,n,r);e.push(ht(a,1,o))}}function A4(e){const n=[0];return C4(n,e.length-1),n}function R4(e,n){return e.map(a=>a*n)}function M4(e,n){return e.map(()=>n||bm).splice(0,e.length-1)}function Bu({duration:e=300,keyframes:n,times:a,ease:r="easeInOut"}){const o=S4(r)?r.map(hx):hx(r),u={done:!1,value:n[0]},d=R4(a&&a.length===n.length?a:A4(n),e),m=j4(d,n,{ease:Array.isArray(o)?o:M4(n,o)});return{calculatedDuration:e,next:h=>(u.value=m(h),u.done=h>=e,u)}}const N4=e=>{const n=({timestamp:a})=>e(a);return{start:()=>rt.update(n,!0),stop:()=>xa(n),now:()=>qt.isProcessing?qt.timestamp:di.now()}},D4={decay:fx,inertia:fx,tween:Bu,keyframes:Bu,spring:uw},O4=e=>e/100;class wm extends sw{constructor(n){super(n),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:h}=this.options;h&&h()};const{name:a,motionValue:r,element:o,keyframes:u}=this.options,d=(o==null?void 0:o.KeyframeResolver)||vm,m=(h,g)=>this.onKeyframesResolved(h,g);this.resolver=new d(u,m,a,r,o),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(n){const{type:a="keyframes",repeat:r=0,repeatDelay:o=0,repeatType:u,velocity:d=0}=this.options,m=rm(a)?a:D4[a]||Bu;let h,g;m!==Bu&&typeof n[0]!="number"&&(h=Gl(O4,lw(n[0],n[1])),n=[0,100]);const y=m({...this.options,keyframes:n});u==="mirror"&&(g=m({...this.options,keyframes:[...n].reverse(),velocity:-d})),y.calculatedDuration===null&&(y.calculatedDuration=Cb(y));const{calculatedDuration:b}=y,x=b+o,S=x*(r+1)-o;return{generator:y,mirroredGenerator:g,mapPercentToKeyframes:h,calculatedDuration:b,resolvedDuration:x,totalDuration:S}}onPostResolved(){const{autoplay:n=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!n?this.pause():this.state=this.pendingPlayState}tick(n,a=!1){const{resolved:r}=this;if(!r){const{keyframes:X}=this.options;return{done:!0,value:X[X.length-1]}}const{finalKeyframe:o,generator:u,mirroredGenerator:d,mapPercentToKeyframes:m,keyframes:h,calculatedDuration:g,totalDuration:y,resolvedDuration:b}=r;if(this.startTime===null)return u.next(0);const{delay:x,repeat:S,repeatType:E,repeatDelay:A,onUpdate:N}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,n):this.speed<0&&(this.startTime=Math.min(n-y/this.speed,this.startTime)),a?this.currentTime=n:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(n-this.startTime)*this.speed;const M=this.currentTime-x*(this.speed>=0?1:-1),V=this.speed>=0?M<0:M>y;this.currentTime=Math.max(M,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=y);let _=this.currentTime,J=u;if(S){const X=Math.min(this.currentTime,y)/b;let F=Math.floor(X),te=X%1;!te&&X>=1&&(te=1),te===1&&F--,F=Math.min(F,S+1),!!(F%2)&&(E==="reverse"?(te=1-te,A&&(te-=A/b)):E==="mirror"&&(J=d)),_=_i(0,1,te)*b}const P=V?{done:!1,value:h[0]}:J.next(_);m&&(P.value=m(P.value));let{done:C}=P;!V&&g!==null&&(C=this.speed>=0?this.currentTime>=y:this.currentTime<=0);const ee=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&C);return ee&&o!==void 0&&(P.value=dc(h,this.options,o)),N&&N(P.value),ee&&this.finish(),P}get duration(){const{resolved:n}=this;return n?Pi(n.calculatedDuration):0}get time(){return Pi(this.currentTime)}set time(n){n=Ui(n),this.currentTime=n,this.holdTime!==null||this.speed===0?this.holdTime=n:this.driver&&(this.startTime=this.driver.now()-n/this.speed)}get speed(){return this.playbackSpeed}set speed(n){const a=this.playbackSpeed!==n;this.playbackSpeed=n,a&&(this.time=Pi(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:n=N4,onPlay:a,startTime:r}=this.options;this.driver||(this.driver=n(u=>this.tick(u))),a&&a();const o=this.driver.now();this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=o):this.startTime=r??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var n;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(n=this.currentTime)!==null&&n!==void 0?n:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:n}=this.options;n&&n()}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(n){return this.startTime=0,this.tick(n,!0)}}const L4=new Set(["opacity","clipPath","filter","transform"]);function k4(e,n,a,{delay:r=0,duration:o=300,repeat:u=0,repeatType:d="loop",ease:m="easeInOut",times:h}={}){const g={[n]:a};h&&(g.offset=h);const y=Mb(m,o);return Array.isArray(y)&&(g.easing=y),e.animate(g,{delay:r,duration:o,easing:Array.isArray(y)?"linear":y,fill:"both",iterations:u+1,direction:d==="reverse"?"alternate":"normal"})}const z4=$h(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),Uu=10,V4=2e4;function B4(e){return rm(e.type)||e.type==="spring"||!Rb(e.ease)}function U4(e,n){const a=new wm({...n,keyframes:e,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:e[0]};const o=[];let u=0;for(;!r.done&&u<V4;)r=a.sample(u),o.push(r.value),u+=Uu;return{times:void 0,keyframes:o,duration:u-Uu,ease:"linear"}}const cw={anticipate:qb,backInOut:_b,circInOut:$b};function P4(e){return e in cw}class mx extends sw{constructor(n){super(n);const{name:a,motionValue:r,element:o,keyframes:u}=this.options;this.resolver=new aw(u,(d,m)=>this.onKeyframesResolved(d,m),a,r,o),this.resolver.scheduleResolve()}initPlayback(n,a){let{duration:r=300,times:o,ease:u,type:d,motionValue:m,name:h,startTime:g}=this.options;if(!m.owner||!m.owner.current)return!1;if(typeof u=="string"&&zu()&&P4(u)&&(u=cw[u]),B4(this.options)){const{onComplete:b,onUpdate:x,motionValue:S,element:E,...A}=this.options,N=U4(n,A);n=N.keyframes,n.length===1&&(n[1]=n[0]),r=N.duration,o=N.times,u=N.ease,d="keyframes"}const y=k4(m.owner.current,h,n,{...this.options,duration:r,times:o,ease:u});return y.startTime=g??this.calcStartTime(),this.pendingTimeline?(Qv(y,this.pendingTimeline),this.pendingTimeline=void 0):y.onfinish=()=>{const{onComplete:b}=this.options;m.set(dc(n,this.options,a)),b&&b(),this.cancel(),this.resolveFinishedPromise()},{animation:y,duration:r,times:o,type:d,ease:u,keyframes:n}}get duration(){const{resolved:n}=this;if(!n)return 0;const{duration:a}=n;return Pi(a)}get time(){const{resolved:n}=this;if(!n)return 0;const{animation:a}=n;return Pi(a.currentTime||0)}set time(n){const{resolved:a}=this;if(!a)return;const{animation:r}=a;r.currentTime=Ui(n)}get speed(){const{resolved:n}=this;if(!n)return 1;const{animation:a}=n;return a.playbackRate}set speed(n){const{resolved:a}=this;if(!a)return;const{animation:r}=a;r.playbackRate=n}get state(){const{resolved:n}=this;if(!n)return"idle";const{animation:a}=n;return a.playState}get startTime(){const{resolved:n}=this;if(!n)return null;const{animation:a}=n;return a.startTime}attachTimeline(n){if(!this._resolved)this.pendingTimeline=n;else{const{resolved:a}=this;if(!a)return yn;const{animation:r}=a;Qv(r,n)}return yn}play(){if(this.isStopped)return;const{resolved:n}=this;if(!n)return;const{animation:a}=n;a.playState==="finished"&&this.updateFinishedPromise(),a.play()}pause(){const{resolved:n}=this;if(!n)return;const{animation:a}=n;a.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:n}=this;if(!n)return;const{animation:a,keyframes:r,duration:o,type:u,ease:d,times:m}=n;if(a.playState==="idle"||a.playState==="finished")return;if(this.time){const{motionValue:g,onUpdate:y,onComplete:b,element:x,...S}=this.options,E=new wm({...S,keyframes:r,duration:o,type:u,ease:d,times:m,isGenerator:!0}),A=Ui(this.time);g.setWithVelocity(E.sample(A-Uu).value,E.sample(A).value,Uu)}const{onStop:h}=this.options;h&&h(),this.cancel()}complete(){const{resolved:n}=this;n&&n.animation.finish()}cancel(){const{resolved:n}=this;n&&n.animation.cancel()}static supports(n){const{motionValue:a,name:r,repeatDelay:o,repeatType:u,damping:d,type:m}=n;if(!a||!a.owner||!(a.owner.current instanceof HTMLElement))return!1;const{onUpdate:h,transformTemplate:g}=a.owner.getProps();return z4()&&r&&L4.has(r)&&!h&&!g&&!o&&u!=="mirror"&&d!==0&&m!=="inertia"}}const H4={type:"spring",stiffness:500,damping:25,restSpeed:10},_4=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),q4={type:"keyframes",duration:.8},F4={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},$4=(e,{keyframes:n})=>n.length>2?q4:os.has(e)?e.startsWith("scale")?_4(n[1]):H4:F4;function Y4({when:e,delay:n,delayChildren:a,staggerChildren:r,staggerDirection:o,repeat:u,repeatType:d,repeatDelay:m,from:h,elapsed:g,...y}){return!!Object.keys(y).length}const Sm=(e,n,a,r={},o,u)=>d=>{const m=sm(r,e)||{},h=m.delay||r.delay||0;let{elapsed:g=0}=r;g=g-Ui(h);let y={keyframes:Array.isArray(a)?a:[null,a],ease:"easeOut",velocity:n.getVelocity(),...m,delay:-g,onUpdate:x=>{n.set(x),m.onUpdate&&m.onUpdate(x)},onComplete:()=>{d(),m.onComplete&&m.onComplete()},name:e,motionValue:n,element:u?void 0:o};Y4(m)||(y={...y,...$4(e,y)}),y.duration&&(y.duration=Ui(y.duration)),y.repeatDelay&&(y.repeatDelay=Ui(y.repeatDelay)),y.from!==void 0&&(y.keyframes[0]=y.from);let b=!1;if((y.type===!1||y.duration===0&&!y.repeatDelay)&&(y.duration=0,y.delay===0&&(b=!0)),b&&!u&&n.get()!==void 0){const x=dc(y.keyframes,m);if(x!==void 0)return rt.update(()=>{y.onUpdate(x),y.onComplete()}),new fT([])}return!u&&mx.supports(y)?new mx(y):new wm(y)};function G4({protectedKeys:e,needsAnimating:n},a){const r=e.hasOwnProperty(a)&&n[a]!==!0;return n[a]=!1,r}function dw(e,n,{delay:a=0,transitionOverride:r,type:o}={}){var u;let{transition:d=e.getDefaultTransition(),transitionEnd:m,...h}=n;r&&(d=r);const g=[],y=o&&e.animationState&&e.animationState.getState()[o];for(const b in h){const x=e.getValue(b,(u=e.latestValues[b])!==null&&u!==void 0?u:null),S=h[b];if(S===void 0||y&&G4(y,b))continue;const E={delay:a,...sm(d||{},b)};let A=!1;if(window.MotionHandoffAnimation){const M=Vb(e);if(M){const V=window.MotionHandoffAnimation(M,b,rt);V!==null&&(E.startTime=V,A=!0)}}sh(e,b),x.start(Sm(b,x,S,e.shouldReduceMotion&&kb.has(b)?{type:!1}:E,e,A));const N=x.animation;N&&g.push(N)}return m&&Promise.all(g).then(()=>{rt.update(()=>{m&&fm(e,m)})}),g}function fh(e,n,a={}){var r;const o=Vl(e,n,a.type==="exit"?(r=e.presenceContext)===null||r===void 0?void 0:r.custom:void 0);let{transition:u=e.getDefaultTransition()||{}}=o||{};a.transitionOverride&&(u=a.transitionOverride);const d=o?()=>Promise.all(dw(e,o,a)):()=>Promise.resolve(),m=e.variantChildren&&e.variantChildren.size?(g=0)=>{const{delayChildren:y=0,staggerChildren:b,staggerDirection:x}=u;return K4(e,n,y+g,b,x,a)}:()=>Promise.resolve(),{when:h}=u;if(h){const[g,y]=h==="beforeChildren"?[d,m]:[m,d];return g().then(()=>y())}else return Promise.all([d(),m(a.delay)])}function K4(e,n,a=0,r=0,o=1,u){const d=[],m=(e.variantChildren.size-1)*r,h=o===1?(g=0)=>g*r:(g=0)=>m-g*r;return Array.from(e.variantChildren).sort(X4).forEach((g,y)=>{g.notify("AnimationStart",n),d.push(fh(g,n,{...u,delay:a+h(y)}).then(()=>g.notify("AnimationComplete",n)))}),Promise.all(d)}function X4(e,n){return e.sortNodePosition(n)}function fw(e,n,a={}){e.notify("AnimationStart",n);let r;if(Array.isArray(n)){const o=n.map(u=>fh(e,u,a));r=Promise.all(o)}else if(typeof n=="string")r=fh(e,n,a);else{const o=typeof n=="function"?Vl(e,n,a.custom):n;r=Promise.all(dw(e,o,a))}return r.then(()=>{e.notify("AnimationComplete",n)})}function hw(e,n){if(!Array.isArray(n))return!1;const a=n.length;if(a!==e.length)return!1;for(let r=0;r<a;r++)if(n[r]!==e[r])return!1;return!0}const I4=Gh.length;function mw(e){if(!e)return;if(!e.isControllingVariants){const a=e.parent?mw(e.parent)||{}:{};return e.props.initial!==void 0&&(a.initial=e.props.initial),a}const n={};for(let a=0;a<I4;a++){const r=Gh[a],o=e.props[r];(Ll(o)||o===!1)&&(n[r]=o)}return n}const Z4=[...Yh].reverse(),Q4=Yh.length;function J4(e){return n=>Promise.all(n.map(({animation:a,options:r})=>fw(e,a,r)))}function W4(e){let n=J4(e),a=px(),r=!0;const o=h=>(g,y)=>{var b;const x=Vl(e,y,h==="exit"?(b=e.presenceContext)===null||b===void 0?void 0:b.custom:void 0);if(x){const{transition:S,transitionEnd:E,...A}=x;g={...g,...A,...E}}return g};function u(h){n=h(e)}function d(h){const{props:g}=e,y=mw(e.parent)||{},b=[],x=new Set;let S={},E=1/0;for(let N=0;N<Q4;N++){const M=Z4[N],V=a[M],_=g[M]!==void 0?g[M]:y[M],J=Ll(_),P=M===h?V.isActive:null;P===!1&&(E=N);let C=_===y[M]&&_!==g[M]&&J;if(C&&r&&e.manuallyAnimateOnMount&&(C=!1),V.protectedKeys={...S},!V.isActive&&P===null||!_&&!V.prevProp||uc(_)||typeof _=="boolean")continue;const ee=ej(V.prevProp,_);let X=ee||M===h&&V.isActive&&!C&&J||N>E&&J,F=!1;const te=Array.isArray(_)?_:[_];let fe=te.reduce(o(M),{});P===!1&&(fe={});const{prevResolvedValues:Fe={}}=V,We={...Fe,...fe},ye=ae=>{X=!0,x.has(ae)&&(F=!0,x.delete(ae)),V.needsAnimating[ae]=!0;const W=e.getValue(ae);W&&(W.liveStyle=!1)};for(const ae in We){const W=fe[ae],be=Fe[ae];if(S.hasOwnProperty(ae))continue;let j=!1;nh(W)&&nh(be)?j=!hw(W,be):j=W!==be,j?W!=null?ye(ae):x.add(ae):W!==void 0&&x.has(ae)?ye(ae):V.protectedKeys[ae]=!0}V.prevProp=_,V.prevResolvedValues=fe,V.isActive&&(S={...S,...fe}),r&&e.blockInitialAnimation&&(X=!1),X&&(!(C&&ee)||F)&&b.push(...te.map(ae=>({animation:ae,options:{type:M}})))}if(x.size){const N={};if(typeof g.initial!="boolean"){const M=Vl(e,Array.isArray(g.initial)?g.initial[0]:g.initial);M&&M.transition&&(N.transition=M.transition)}x.forEach(M=>{const V=e.getBaseTarget(M),_=e.getValue(M);_&&(_.liveStyle=!0),N[M]=V??null}),b.push({animation:N})}let A=!!b.length;return r&&(g.initial===!1||g.initial===g.animate)&&!e.manuallyAnimateOnMount&&(A=!1),r=!1,A?n(b):Promise.resolve()}function m(h,g){var y;if(a[h].isActive===g)return Promise.resolve();(y=e.variantChildren)===null||y===void 0||y.forEach(x=>{var S;return(S=x.animationState)===null||S===void 0?void 0:S.setActive(h,g)}),a[h].isActive=g;const b=d(h);for(const x in a)a[x].protectedKeys={};return b}return{animateChanges:d,setActive:m,setAnimateFunction:u,getState:()=>a,reset:()=>{a=px(),r=!0}}}function ej(e,n){return typeof n=="string"?n!==e:Array.isArray(n)?!hw(n,e):!1}function Ia(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function px(){return{animate:Ia(!0),whileInView:Ia(),whileHover:Ia(),whileTap:Ia(),whileDrag:Ia(),whileFocus:Ia(),exit:Ia()}}class Ea{constructor(n){this.isMounted=!1,this.node=n}update(){}}class tj extends Ea{constructor(n){super(n),n.animationState||(n.animationState=W4(n))}updateAnimationControlsSubscription(){const{animate:n}=this.node.getProps();uc(n)&&(this.unmountControls=n.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:n}=this.node.getProps(),{animate:a}=this.node.prevProps||{};n!==a&&this.updateAnimationControlsSubscription()}unmount(){var n;this.node.animationState.reset(),(n=this.unmountControls)===null||n===void 0||n.call(this)}}let nj=0;class ij extends Ea{constructor(){super(...arguments),this.id=nj++}update(){if(!this.node.presenceContext)return;const{isPresent:n,onExitComplete:a}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||n===r)return;const o=this.node.animationState.setActive("exit",!n);a&&!n&&o.then(()=>{a(this.id)})}mount(){const{register:n,onExitComplete:a}=this.node.presenceContext||{};a&&a(this.id),n&&(this.unmount=n(this.id))}unmount(){}}const aj={animation:{Feature:tj},exit:{Feature:ij}};function Pl(e,n,a,r={passive:!0}){return e.addEventListener(n,a,r),()=>e.removeEventListener(n,a)}function Kl(e){return{point:{x:e.pageX,y:e.pageY}}}const sj=e=>n=>om(n)&&e(n,Kl(n));function Al(e,n,a,r){return Pl(e,n,sj(a),r)}const gx=(e,n)=>Math.abs(e-n);function rj(e,n){const a=gx(e.x,n.x),r=gx(e.y,n.y);return Math.sqrt(a**2+r**2)}class pw{constructor(n,a,{transformPagePoint:r,contextWindow:o,dragSnapToOrigin:u=!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 b=qf(this.lastMoveEventInfo,this.history),x=this.startEvent!==null,S=rj(b.offset,{x:0,y:0})>=3;if(!x&&!S)return;const{point:E}=b,{timestamp:A}=qt;this.history.push({...E,timestamp:A});const{onStart:N,onMove:M}=this.handlers;x||(N&&N(this.lastMoveEvent,b),this.startEvent=this.lastMoveEvent),M&&M(this.lastMoveEvent,b)},this.handlePointerMove=(b,x)=>{this.lastMoveEvent=b,this.lastMoveEventInfo=_f(x,this.transformPagePoint),rt.update(this.updatePoint,!0)},this.handlePointerUp=(b,x)=>{this.end();const{onEnd:S,onSessionEnd:E,resumeAnimation:A}=this.handlers;if(this.dragSnapToOrigin&&A&&A(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const N=qf(b.type==="pointercancel"?this.lastMoveEventInfo:_f(x,this.transformPagePoint),this.history);this.startEvent&&S&&S(b,N),E&&E(b,N)},!om(n))return;this.dragSnapToOrigin=u,this.handlers=a,this.transformPagePoint=r,this.contextWindow=o||window;const d=Kl(n),m=_f(d,this.transformPagePoint),{point:h}=m,{timestamp:g}=qt;this.history=[{...h,timestamp:g}];const{onSessionStart:y}=a;y&&y(n,qf(m,this.history)),this.removeListeners=Gl(Al(this.contextWindow,"pointermove",this.handlePointerMove),Al(this.contextWindow,"pointerup",this.handlePointerUp),Al(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(n){this.handlers=n}end(){this.removeListeners&&this.removeListeners(),xa(this.updatePoint)}}function _f(e,n){return n?{point:n(e.point)}:e}function yx(e,n){return{x:e.x-n.x,y:e.y-n.y}}function qf({point:e},n){return{point:e,delta:yx(e,gw(n)),offset:yx(e,lj(n)),velocity:oj(n,.1)}}function lj(e){return e[0]}function gw(e){return e[e.length-1]}function oj(e,n){if(e.length<2)return{x:0,y:0};let a=e.length-1,r=null;const o=gw(e);for(;a>=0&&(r=e[a],!(o.timestamp-r.timestamp>Ui(n)));)a--;if(!r)return{x:0,y:0};const u=Pi(o.timestamp-r.timestamp);if(u===0)return{x:0,y:0};const d={x:(o.x-r.x)/u,y:(o.y-r.y)/u};return d.x===1/0&&(d.x=0),d.y===1/0&&(d.y=0),d}const yw=1e-4,uj=1-yw,cj=1+yw,vw=.01,dj=0-vw,fj=0+vw;function en(e){return e.max-e.min}function hj(e,n,a){return Math.abs(e-n)<=a}function vx(e,n,a,r=.5){e.origin=r,e.originPoint=ht(n.min,n.max,e.origin),e.scale=en(a)/en(n),e.translate=ht(a.min,a.max,e.origin)-e.originPoint,(e.scale>=uj&&e.scale<=cj||isNaN(e.scale))&&(e.scale=1),(e.translate>=dj&&e.translate<=fj||isNaN(e.translate))&&(e.translate=0)}function Rl(e,n,a,r){vx(e.x,n.x,a.x,r?r.originX:void 0),vx(e.y,n.y,a.y,r?r.originY:void 0)}function xx(e,n,a){e.min=a.min+n.min,e.max=e.min+en(n)}function mj(e,n,a){xx(e.x,n.x,a.x),xx(e.y,n.y,a.y)}function bx(e,n,a){e.min=n.min-a.min,e.max=e.min+en(n)}function Ml(e,n,a){bx(e.x,n.x,a.x),bx(e.y,n.y,a.y)}function pj(e,{min:n,max:a},r){return n!==void 0&&e<n?e=r?ht(n,e,r.min):Math.max(e,n):a!==void 0&&e>a&&(e=r?ht(a,e,r.max):Math.min(e,a)),e}function wx(e,n,a){return{min:n!==void 0?e.min+n:void 0,max:a!==void 0?e.max+a-(e.max-e.min):void 0}}function gj(e,{top:n,left:a,bottom:r,right:o}){return{x:wx(e.x,a,o),y:wx(e.y,n,r)}}function Sx(e,n){let a=n.min-e.min,r=n.max-e.max;return n.max-n.min<e.max-e.min&&([a,r]=[r,a]),{min:a,max:r}}function yj(e,n){return{x:Sx(e.x,n.x),y:Sx(e.y,n.y)}}function vj(e,n){let a=.5;const r=en(e),o=en(n);return o>r?a=sr(n.min,n.max-r,e.min):r>o&&(a=sr(e.min,e.max-o,n.min)),_i(0,1,a)}function xj(e,n){const a={};return n.min!==void 0&&(a.min=n.min-e.min),n.max!==void 0&&(a.max=n.max-e.min),a}const hh=.35;function bj(e=hh){return e===!1?e=0:e===!0&&(e=hh),{x:Ex(e,"left","right"),y:Ex(e,"top","bottom")}}function Ex(e,n,a){return{min:Tx(e,n),max:Tx(e,a)}}function Tx(e,n){return typeof e=="number"?e:e[n]||0}const jx=()=>({translate:0,scale:1,origin:0,originPoint:0}),er=()=>({x:jx(),y:jx()}),Cx=()=>({min:0,max:0}),St=()=>({x:Cx(),y:Cx()});function Un(e){return[e("x"),e("y")]}function xw({top:e,left:n,right:a,bottom:r}){return{x:{min:n,max:a},y:{min:e,max:r}}}function wj({x:e,y:n}){return{top:n.min,right:e.max,bottom:n.max,left:e.min}}function Sj(e,n){if(!n)return e;const a=n({x:e.left,y:e.top}),r=n({x:e.right,y:e.bottom});return{top:a.y,left:a.x,bottom:r.y,right:r.x}}function Ff(e){return e===void 0||e===1}function mh({scale:e,scaleX:n,scaleY:a}){return!Ff(e)||!Ff(n)||!Ff(a)}function Wa(e){return mh(e)||bw(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function bw(e){return Ax(e.x)||Ax(e.y)}function Ax(e){return e&&e!=="0%"}function Pu(e,n,a){const r=e-a,o=n*r;return a+o}function Rx(e,n,a,r,o){return o!==void 0&&(e=Pu(e,o,r)),Pu(e,a,r)+n}function ph(e,n=0,a=1,r,o){e.min=Rx(e.min,n,a,r,o),e.max=Rx(e.max,n,a,r,o)}function ww(e,{x:n,y:a}){ph(e.x,n.translate,n.scale,n.originPoint),ph(e.y,a.translate,a.scale,a.originPoint)}const Mx=.999999999999,Nx=1.0000000000001;function Ej(e,n,a,r=!1){const o=a.length;if(!o)return;n.x=n.y=1;let u,d;for(let m=0;m<o;m++){u=a[m],d=u.projectionDelta;const{visualElement:h}=u.options;h&&h.props.style&&h.props.style.display==="contents"||(r&&u.options.layoutScroll&&u.scroll&&u!==u.root&&nr(e,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),d&&(n.x*=d.x.scale,n.y*=d.y.scale,ww(e,d)),r&&Wa(u.latestValues)&&nr(e,u.latestValues))}n.x<Nx&&n.x>Mx&&(n.x=1),n.y<Nx&&n.y>Mx&&(n.y=1)}function tr(e,n){e.min=e.min+n,e.max=e.max+n}function Dx(e,n,a,r,o=.5){const u=ht(e.min,e.max,o);ph(e,n,a,u,r)}function nr(e,n){Dx(e.x,n.x,n.scaleX,n.scale,n.originX),Dx(e.y,n.y,n.scaleY,n.scale,n.originY)}function Sw(e,n){return xw(Sj(e.getBoundingClientRect(),n))}function Tj(e,n,a){const r=Sw(e,a),{scroll:o}=n;return o&&(tr(r.x,o.offset.x),tr(r.y,o.offset.y)),r}const Ew=({current:e})=>e?e.ownerDocument.defaultView:null,jj=new WeakMap;class Cj{constructor(n){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=St(),this.visualElement=n}start(n,{snapToCursor:a=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const o=y=>{const{dragSnapToOrigin:b}=this.getProps();b?this.pauseAnimation():this.stopAnimation(),a&&this.snapToCursor(Kl(y).point)},u=(y,b)=>{const{drag:x,dragPropagation:S,onDragStart:E}=this.getProps();if(x&&!S&&(this.openDragLock&&this.openDragLock(),this.openDragLock=bT(x),!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),Un(N=>{let M=this.getAxisMotionValue(N).get()||0;if(ci.test(M)){const{projection:V}=this.visualElement;if(V&&V.layout){const _=V.layout.layoutBox[N];_&&(M=en(_)*(parseFloat(M)/100))}}this.originPoint[N]=M}),E&&rt.postRender(()=>E(y,b)),sh(this.visualElement,"transform");const{animationState:A}=this.visualElement;A&&A.setActive("whileDrag",!0)},d=(y,b)=>{const{dragPropagation:x,dragDirectionLock:S,onDirectionLock:E,onDrag:A}=this.getProps();if(!x&&!this.openDragLock)return;const{offset:N}=b;if(S&&this.currentDirection===null){this.currentDirection=Aj(N),this.currentDirection!==null&&E&&E(this.currentDirection);return}this.updateAxis("x",b.point,N),this.updateAxis("y",b.point,N),this.visualElement.render(),A&&A(y,b)},m=(y,b)=>this.stop(y,b),h=()=>Un(y=>{var b;return this.getAnimationState(y)==="paused"&&((b=this.getAxisMotionValue(y).animation)===null||b===void 0?void 0:b.play())}),{dragSnapToOrigin:g}=this.getProps();this.panSession=new pw(n,{onSessionStart:o,onStart:u,onMove:d,onSessionEnd:m,resumeAnimation:h},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:g,contextWindow:Ew(this.visualElement)})}stop(n,a){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:o}=a;this.startAnimation(o);const{onDragEnd:u}=this.getProps();u&&rt.postRender(()=>u(n,a))}cancel(){this.isDragging=!1;const{projection:n,animationState:a}=this.visualElement;n&&(n.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),a&&a.setActive("whileDrag",!1)}updateAxis(n,a,r){const{drag:o}=this.getProps();if(!r||!xu(n,o,this.currentDirection))return;const u=this.getAxisMotionValue(n);let d=this.originPoint[n]+r[n];this.constraints&&this.constraints[n]&&(d=pj(d,this.constraints[n],this.elastic[n])),u.set(d)}resolveConstraints(){var n;const{dragConstraints:a,dragElastic:r}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(n=this.visualElement.projection)===null||n===void 0?void 0:n.layout,u=this.constraints;a&&Js(a)?this.constraints||(this.constraints=this.resolveRefConstraints()):a&&o?this.constraints=gj(o.layoutBox,a):this.constraints=!1,this.elastic=bj(r),u!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Un(d=>{this.constraints!==!1&&this.getAxisMotionValue(d)&&(this.constraints[d]=xj(o.layoutBox[d],this.constraints[d]))})}resolveRefConstraints(){const{dragConstraints:n,onMeasureDragConstraints:a}=this.getProps();if(!n||!Js(n))return!1;const r=n.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const u=Tj(r,o.root,this.visualElement.getTransformPagePoint());let d=yj(o.layout.layoutBox,u);if(a){const m=a(wj(d));this.hasMutatedConstraints=!!m,m&&(d=xw(m))}return d}startAnimation(n){const{drag:a,dragMomentum:r,dragElastic:o,dragTransition:u,dragSnapToOrigin:d,onDragTransitionEnd:m}=this.getProps(),h=this.constraints||{},g=Un(y=>{if(!xu(y,a,this.currentDirection))return;let b=h&&h[y]||{};d&&(b={min:0,max:0});const x=o?200:1e6,S=o?40:1e7,E={type:"inertia",velocity:r?n[y]:0,bounceStiffness:x,bounceDamping:S,timeConstant:750,restDelta:1,restSpeed:10,...u,...b};return this.startAxisValueAnimation(y,E)});return Promise.all(g).then(m)}startAxisValueAnimation(n,a){const r=this.getAxisMotionValue(n);return sh(this.visualElement,n),r.start(Sm(n,r,0,a,this.visualElement,!1))}stopAnimation(){Un(n=>this.getAxisMotionValue(n).stop())}pauseAnimation(){Un(n=>{var a;return(a=this.getAxisMotionValue(n).animation)===null||a===void 0?void 0:a.pause()})}getAnimationState(n){var a;return(a=this.getAxisMotionValue(n).animation)===null||a===void 0?void 0:a.state}getAxisMotionValue(n){const a=`_drag${n.toUpperCase()}`,r=this.visualElement.getProps(),o=r[a];return o||this.visualElement.getValue(n,(r.initial?r.initial[n]:void 0)||0)}snapToCursor(n){Un(a=>{const{drag:r}=this.getProps();if(!xu(a,r,this.currentDirection))return;const{projection:o}=this.visualElement,u=this.getAxisMotionValue(a);if(o&&o.layout){const{min:d,max:m}=o.layout.layoutBox[a];u.set(n[a]-ht(d,m,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:n,dragConstraints:a}=this.getProps(),{projection:r}=this.visualElement;if(!Js(a)||!r||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};Un(d=>{const m=this.getAxisMotionValue(d);if(m&&this.constraints!==!1){const h=m.get();o[d]=vj({min:h,max:h},this.constraints[d])}});const{transformTemplate:u}=this.visualElement.getProps();this.visualElement.current.style.transform=u?u({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Un(d=>{if(!xu(d,n,null))return;const m=this.getAxisMotionValue(d),{min:h,max:g}=this.constraints[d];m.set(ht(h,g,o[d]))})}addListeners(){if(!this.visualElement.current)return;jj.set(this.visualElement,this);const n=this.visualElement.current,a=Al(n,"pointerdown",h=>{const{drag:g,dragListener:y=!0}=this.getProps();g&&y&&this.start(h)}),r=()=>{const{dragConstraints:h}=this.getProps();Js(h)&&h.current&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,u=o.addEventListener("measure",r);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),rt.read(r);const d=Pl(window,"resize",()=>this.scalePositionWithinConstraints()),m=o.addEventListener("didUpdate",({delta:h,hasLayoutChanged:g})=>{this.isDragging&&g&&(Un(y=>{const b=this.getAxisMotionValue(y);b&&(this.originPoint[y]+=h[y].translate,b.set(b.get()+h[y].translate))}),this.visualElement.render())});return()=>{d(),a(),u(),m&&m()}}getProps(){const n=this.visualElement.getProps(),{drag:a=!1,dragDirectionLock:r=!1,dragPropagation:o=!1,dragConstraints:u=!1,dragElastic:d=hh,dragMomentum:m=!0}=n;return{...n,drag:a,dragDirectionLock:r,dragPropagation:o,dragConstraints:u,dragElastic:d,dragMomentum:m}}}function xu(e,n,a){return(n===!0||n===e)&&(a===null||a===e)}function Aj(e,n=10){let a=null;return Math.abs(e.y)>n?a="y":Math.abs(e.x)>n&&(a="x"),a}class Rj extends Ea{constructor(n){super(n),this.removeGroupControls=yn,this.removeListeners=yn,this.controls=new Cj(n)}mount(){const{dragControls:n}=this.node.getProps();n&&(this.removeGroupControls=n.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||yn}unmount(){this.removeGroupControls(),this.removeListeners()}}const Ox=e=>(n,a)=>{e&&rt.postRender(()=>e(n,a))};class Mj extends Ea{constructor(){super(...arguments),this.removePointerDownListener=yn}onPointerDown(n){this.session=new pw(n,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Ew(this.node)})}createPanHandlers(){const{onPanSessionStart:n,onPanStart:a,onPan:r,onPanEnd:o}=this.node.getProps();return{onSessionStart:Ox(n),onStart:Ox(a),onMove:r,onEnd:(u,d)=>{delete this.session,o&&rt.postRender(()=>o(u,d))}}}mount(){this.removePointerDownListener=Al(this.node.current,"pointerdown",n=>this.onPointerDown(n))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Nu={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Lx(e,n){return n.max===n.min?0:e/(n.max-n.min)*100}const wl={correct:(e,n)=>{if(!n.target)return e;if(typeof e=="string")if(Ce.test(e))e=parseFloat(e);else return e;const a=Lx(e,n.target.x),r=Lx(e,n.target.y);return`${a}% ${r}%`}},Nj={correct:(e,{treeScale:n,projectionDelta:a})=>{const r=e,o=ba.parse(e);if(o.length>5)return r;const u=ba.createTransformer(e),d=typeof o[0]!="number"?1:0,m=a.x.scale*n.x,h=a.y.scale*n.y;o[0+d]/=m,o[1+d]/=h;const g=ht(m,h,.5);return typeof o[2+d]=="number"&&(o[2+d]/=g),typeof o[3+d]=="number"&&(o[3+d]/=g),u(o)}};class Dj extends R.Component{componentDidMount(){const{visualElement:n,layoutGroup:a,switchLayoutGroup:r,layoutId:o}=this.props,{projection:u}=n;P3(Oj),u&&(a.group&&a.group.add(u),r&&r.register&&o&&r.register(u),u.root.didUpdate(),u.addEventListener("animationComplete",()=>{this.safeToRemove()}),u.setOptions({...u.options,onExitComplete:()=>this.safeToRemove()})),Nu.hasEverUpdated=!0}getSnapshotBeforeUpdate(n){const{layoutDependency:a,visualElement:r,drag:o,isPresent:u}=this.props,d=r.projection;return d&&(d.isPresent=u,o||n.layoutDependency!==a||a===void 0?d.willUpdate():this.safeToRemove(),n.isPresent!==u&&(u?d.promote():d.relegate()||rt.postRender(()=>{const m=d.getStack();(!m||!m.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:n}=this.props.visualElement;n&&(n.root.didUpdate(),Xh.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:n,layoutGroup:a,switchLayoutGroup:r}=this.props,{projection:o}=n;o&&(o.scheduleCheckAfterUnmount(),a&&a.group&&a.group.remove(o),r&&r.deregister&&r.deregister(o))}safeToRemove(){const{safeToRemove:n}=this.props;n&&n()}render(){return null}}function Tw(e){const[n,a]=sb(),r=R.useContext(Hh);return p.jsx(Dj,{...e,layoutGroup:r,switchLayoutGroup:R.useContext(hb),isPresent:n,safeToRemove:a})}const Oj={borderRadius:{...wl,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:wl,borderTopRightRadius:wl,borderBottomLeftRadius:wl,borderBottomRightRadius:wl,boxShadow:Nj};function Lj(e,n,a){const r=Xt(e)?e:Bl(e);return r.start(Sm("",r,n,a)),r.animation}function kj(e){return e instanceof SVGElement&&e.tagName!=="svg"}const zj=(e,n)=>e.depth-n.depth;class Vj{constructor(){this.children=[],this.isDirty=!1}add(n){um(this.children,n),this.isDirty=!0}remove(n){cm(this.children,n),this.isDirty=!0}forEach(n){this.isDirty&&this.children.sort(zj),this.isDirty=!1,this.children.forEach(n)}}function Bj(e,n){const a=di.now(),r=({timestamp:o})=>{const u=o-a;u>=n&&(xa(r),e(u-n))};return rt.read(r,!0),()=>xa(r)}const jw=["TopLeft","TopRight","BottomLeft","BottomRight"],Uj=jw.length,kx=e=>typeof e=="string"?parseFloat(e):e,zx=e=>typeof e=="number"||Ce.test(e);function Pj(e,n,a,r,o,u){o?(e.opacity=ht(0,a.opacity!==void 0?a.opacity:1,Hj(r)),e.opacityExit=ht(n.opacity!==void 0?n.opacity:1,0,_j(r))):u&&(e.opacity=ht(n.opacity!==void 0?n.opacity:1,a.opacity!==void 0?a.opacity:1,r));for(let d=0;d<Uj;d++){const m=`border${jw[d]}Radius`;let h=Vx(n,m),g=Vx(a,m);if(h===void 0&&g===void 0)continue;h||(h=0),g||(g=0),h===0||g===0||zx(h)===zx(g)?(e[m]=Math.max(ht(kx(h),kx(g),r),0),(ci.test(g)||ci.test(h))&&(e[m]+="%")):e[m]=g}(n.rotate||a.rotate)&&(e.rotate=ht(n.rotate||0,a.rotate||0,r))}function Vx(e,n){return e[n]!==void 0?e[n]:e.borderRadius}const Hj=Cw(0,.5,Fb),_j=Cw(.5,.95,yn);function Cw(e,n,a){return r=>r<e?0:r>n?1:a(sr(e,n,r))}function Bx(e,n){e.min=n.min,e.max=n.max}function Bn(e,n){Bx(e.x,n.x),Bx(e.y,n.y)}function Ux(e,n){e.translate=n.translate,e.scale=n.scale,e.originPoint=n.originPoint,e.origin=n.origin}function Px(e,n,a,r,o){return e-=n,e=Pu(e,1/a,r),o!==void 0&&(e=Pu(e,1/o,r)),e}function qj(e,n=0,a=1,r=.5,o,u=e,d=e){if(ci.test(n)&&(n=parseFloat(n),n=ht(d.min,d.max,n/100)-d.min),typeof n!="number")return;let m=ht(u.min,u.max,r);e===u&&(m-=n),e.min=Px(e.min,n,a,m,o),e.max=Px(e.max,n,a,m,o)}function Hx(e,n,[a,r,o],u,d){qj(e,n[a],n[r],n[o],n.scale,u,d)}const Fj=["x","scaleX","originX"],$j=["y","scaleY","originY"];function _x(e,n,a,r){Hx(e.x,n,Fj,a?a.x:void 0,r?r.x:void 0),Hx(e.y,n,$j,a?a.y:void 0,r?r.y:void 0)}function qx(e){return e.translate===0&&e.scale===1}function Aw(e){return qx(e.x)&&qx(e.y)}function Fx(e,n){return e.min===n.min&&e.max===n.max}function Yj(e,n){return Fx(e.x,n.x)&&Fx(e.y,n.y)}function $x(e,n){return Math.round(e.min)===Math.round(n.min)&&Math.round(e.max)===Math.round(n.max)}function Rw(e,n){return $x(e.x,n.x)&&$x(e.y,n.y)}function Yx(e){return en(e.x)/en(e.y)}function Gx(e,n){return e.translate===n.translate&&e.scale===n.scale&&e.originPoint===n.originPoint}class Gj{constructor(){this.members=[]}add(n){um(this.members,n),n.scheduleRender()}remove(n){if(cm(this.members,n),n===this.prevLead&&(this.prevLead=void 0),n===this.lead){const a=this.members[this.members.length-1];a&&this.promote(a)}}relegate(n){const a=this.members.findIndex(o=>n===o);if(a===0)return!1;let r;for(let o=a;o>=0;o--){const u=this.members[o];if(u.isPresent!==!1){r=u;break}}return r?(this.promote(r),!0):!1}promote(n,a){const r=this.lead;if(n!==r&&(this.prevLead=r,this.lead=n,n.show(),r)){r.instance&&r.scheduleRender(),n.scheduleRender(),n.resumeFrom=r,a&&(n.resumeFrom.preserveOpacity=!0),r.snapshot&&(n.snapshot=r.snapshot,n.snapshot.latestValues=r.animationValues||r.latestValues),n.root&&n.root.isUpdating&&(n.isLayoutDirty=!0);const{crossfade:o}=n.options;o===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(n=>{const{options:a,resumingFrom:r}=n;a.onExitComplete&&a.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(n=>{n.instance&&n.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Kj(e,n,a){let r="";const o=e.x.translate/n.x,u=e.y.translate/n.y,d=(a==null?void 0:a.z)||0;if((o||u||d)&&(r=`translate3d(${o}px, ${u}px, ${d}px) `),(n.x!==1||n.y!==1)&&(r+=`scale(${1/n.x}, ${1/n.y}) `),a){const{transformPerspective:g,rotate:y,rotateX:b,rotateY:x,skewX:S,skewY:E}=a;g&&(r=`perspective(${g}px) ${r}`),y&&(r+=`rotate(${y}deg) `),b&&(r+=`rotateX(${b}deg) `),x&&(r+=`rotateY(${x}deg) `),S&&(r+=`skewX(${S}deg) `),E&&(r+=`skewY(${E}deg) `)}const m=e.x.scale*n.x,h=e.y.scale*n.y;return(m!==1||h!==1)&&(r+=`scale(${m}, ${h})`),r||"none"}const $f=["","X","Y","Z"],Xj={visibility:"hidden"},Kx=1e3;let Ij=0;function Yf(e,n,a,r){const{latestValues:o}=n;o[e]&&(a[e]=o[e],n.setStaticValue(e,0),r&&(r[e]=0))}function Mw(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:n}=e.options;if(!n)return;const a=Vb(n);if(window.MotionHasOptimisedAnimation(a,"transform")){const{layout:o,layoutId:u}=e.options;window.MotionCancelOptimisedAnimation(a,"transform",rt,!(o||u))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Mw(r)}function Nw({attachResizeListener:e,defaultParent:n,measureScroll:a,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(d={},m=n==null?void 0:n()){this.id=Ij++,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,this.nodes.forEach(Jj),this.nodes.forEach(iC),this.nodes.forEach(aC),this.nodes.forEach(Wj)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=d,this.root=m?m.root||m:this,this.path=m?[...m.path,m]:[],this.parent=m,this.depth=m?m.depth+1:0;for(let h=0;h<this.path.length;h++)this.path[h].shouldResetTransform=!0;this.root===this&&(this.nodes=new Vj)}addEventListener(d,m){return this.eventHandlers.has(d)||this.eventHandlers.set(d,new dm),this.eventHandlers.get(d).add(m)}notifyListeners(d,...m){const h=this.eventHandlers.get(d);h&&h.notify(...m)}hasListeners(d){return this.eventHandlers.has(d)}mount(d,m=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=kj(d),this.instance=d;const{layoutId:h,layout:g,visualElement:y}=this.options;if(y&&!y.current&&y.mount(d),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),m&&(g||h)&&(this.isLayoutDirty=!0),e){let b;const x=()=>this.root.updateBlockedByResize=!1;e(d,()=>{this.root.updateBlockedByResize=!0,b&&b(),b=Bj(x,250),Nu.hasAnimatedSinceResize&&(Nu.hasAnimatedSinceResize=!1,this.nodes.forEach(Ix))})}h&&this.root.registerSharedNode(h,this),this.options.animate!==!1&&y&&(h||g)&&this.addEventListener("didUpdate",({delta:b,hasLayoutChanged:x,hasRelativeLayoutChanged:S,layout:E})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const A=this.options.transition||y.getDefaultTransition()||uC,{onLayoutAnimationStart:N,onLayoutAnimationComplete:M}=y.getProps(),V=!this.targetLayout||!Rw(this.targetLayout,E),_=!x&&S;if(this.options.layoutRoot||this.resumeFrom||_||x&&(V||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(b,_);const J={...sm(A,"layout"),onPlay:N,onComplete:M};(y.shouldReduceMotion||this.options.layoutRoot)&&(J.delay=0,J.type=!1),this.startAnimation(J)}else x||Ix(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=E})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const d=this.getStack();d&&d.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,xa(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(sC),this.animationId++)}getTransformTemplate(){const{visualElement:d}=this.options;return d&&d.getProps().transformTemplate}willUpdate(d=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Mw(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let y=0;y<this.path.length;y++){const b=this.path[y];b.shouldResetTransform=!0,b.updateScroll("snapshot"),b.options.layoutRoot&&b.willUpdate(!1)}const{layoutId:m,layout:h}=this.options;if(m===void 0&&!h)return;const g=this.getTransformTemplate();this.prevTransformTemplateValue=g?g(this.latestValues,""):void 0,this.updateSnapshot(),d&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Xx);return}this.isUpdating||this.nodes.forEach(tC),this.isUpdating=!1,this.nodes.forEach(nC),this.nodes.forEach(Zj),this.nodes.forEach(Qj),this.clearAllSnapshots();const m=di.now();qt.delta=_i(0,1e3/60,m-qt.timestamp),qt.timestamp=m,qt.isProcessing=!0,Vf.update.process(qt),Vf.preRender.process(qt),Vf.render.process(qt),qt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Xh.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(eC),this.sharedNodes.forEach(rC)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,rt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){rt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!en(this.snapshot.measuredBox.x)&&!en(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let h=0;h<this.path.length;h++)this.path[h].updateScroll();const d=this.layout;this.layout=this.measure(!1),this.layoutCorrected=St(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:m}=this.options;m&&m.notify("LayoutMeasure",this.layout.layoutBox,d?d.layoutBox:void 0)}updateScroll(d="measure"){let m=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===d&&(m=!1),m){const h=r(this.instance);this.scroll={animationId:this.root.animationId,phase:d,isRoot:h,offset:a(this.instance),wasRoot:this.scroll?this.scroll.isRoot:h}}}resetTransform(){if(!o)return;const d=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,m=this.projectionDelta&&!Aw(this.projectionDelta),h=this.getTransformTemplate(),g=h?h(this.latestValues,""):void 0,y=g!==this.prevTransformTemplateValue;d&&(m||Wa(this.latestValues)||y)&&(o(this.instance,g),this.shouldResetTransform=!1,this.scheduleRender())}measure(d=!0){const m=this.measurePageBox();let h=this.removeElementScroll(m);return d&&(h=this.removeTransform(h)),cC(h),{animationId:this.root.animationId,measuredBox:m,layoutBox:h,latestValues:{},source:this.id}}measurePageBox(){var d;const{visualElement:m}=this.options;if(!m)return St();const h=m.measureViewportBox();if(!(((d=this.scroll)===null||d===void 0?void 0:d.wasRoot)||this.path.some(dC))){const{scroll:y}=this.root;y&&(tr(h.x,y.offset.x),tr(h.y,y.offset.y))}return h}removeElementScroll(d){var m;const h=St();if(Bn(h,d),!((m=this.scroll)===null||m===void 0)&&m.wasRoot)return h;for(let g=0;g<this.path.length;g++){const y=this.path[g],{scroll:b,options:x}=y;y!==this.root&&b&&x.layoutScroll&&(b.wasRoot&&Bn(h,d),tr(h.x,b.offset.x),tr(h.y,b.offset.y))}return h}applyTransform(d,m=!1){const h=St();Bn(h,d);for(let g=0;g<this.path.length;g++){const y=this.path[g];!m&&y.options.layoutScroll&&y.scroll&&y!==y.root&&nr(h,{x:-y.scroll.offset.x,y:-y.scroll.offset.y}),Wa(y.latestValues)&&nr(h,y.latestValues)}return Wa(this.latestValues)&&nr(h,this.latestValues),h}removeTransform(d){const m=St();Bn(m,d);for(let h=0;h<this.path.length;h++){const g=this.path[h];if(!g.instance||!Wa(g.latestValues))continue;mh(g.latestValues)&&g.updateSnapshot();const y=St(),b=g.measurePageBox();Bn(y,b),_x(m,g.latestValues,g.snapshot?g.snapshot.layoutBox:void 0,y)}return Wa(this.latestValues)&&_x(m,this.latestValues),m}setTargetDelta(d){this.targetDelta=d,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(d){this.options={...this.options,...d,crossfade:d.crossfade!==void 0?d.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!==qt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(d=!1){var m;const h=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=h.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=h.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=h.isSharedProjectionDirty);const g=!!this.resumingFrom||this!==h;if(!(d||g&&this.isSharedProjectionDirty||this.isProjectionDirty||!((m=this.parent)===null||m===void 0)&&m.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:b,layoutId:x}=this.options;if(!(!this.layout||!(b||x))){if(this.resolvedRelativeTargetAt=qt.timestamp,!this.targetDelta&&!this.relativeTarget){const S=this.getClosestProjectingParent();S&&S.layout&&this.animationProgress!==1?(this.relativeParent=S,this.forceRelativeParentToResolveTarget(),this.relativeTarget=St(),this.relativeTargetOrigin=St(),Ml(this.relativeTargetOrigin,this.layout.layoutBox,S.layout.layoutBox),Bn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=St(),this.targetWithTransforms=St()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),mj(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Bn(this.target,this.layout.layoutBox),ww(this.target,this.targetDelta)):Bn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const S=this.getClosestProjectingParent();S&&!!S.resumingFrom==!!this.resumingFrom&&!S.options.layoutScroll&&S.target&&this.animationProgress!==1?(this.relativeParent=S,this.forceRelativeParentToResolveTarget(),this.relativeTarget=St(),this.relativeTargetOrigin=St(),Ml(this.relativeTargetOrigin,this.target,S.target),Bn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||mh(this.parent.latestValues)||bw(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 d;const m=this.getLead(),h=!!this.resumingFrom||this!==m;let g=!0;if((this.isProjectionDirty||!((d=this.parent)===null||d===void 0)&&d.isProjectionDirty)&&(g=!1),h&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(g=!1),this.resolvedRelativeTargetAt===qt.timestamp&&(g=!1),g)return;const{layout:y,layoutId:b}=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||b))return;Bn(this.layoutCorrected,this.layout.layoutBox);const x=this.treeScale.x,S=this.treeScale.y;Ej(this.layoutCorrected,this.treeScale,this.path,h),m.layout&&!m.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(m.target=m.layout.layoutBox,m.targetWithTransforms=St());const{target:E}=m;if(!E){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Ux(this.prevProjectionDelta.x,this.projectionDelta.x),Ux(this.prevProjectionDelta.y,this.projectionDelta.y)),Rl(this.projectionDelta,this.layoutCorrected,E,this.latestValues),(this.treeScale.x!==x||this.treeScale.y!==S||!Gx(this.projectionDelta.x,this.prevProjectionDelta.x)||!Gx(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",E))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(d=!0){var m;if((m=this.options.visualElement)===null||m===void 0||m.scheduleRender(),d){const h=this.getStack();h&&h.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=er(),this.projectionDelta=er(),this.projectionDeltaWithTransform=er()}setAnimationOrigin(d,m=!1){const h=this.snapshot,g=h?h.latestValues:{},y={...this.latestValues},b=er();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!m;const x=St(),S=h?h.source:void 0,E=this.layout?this.layout.source:void 0,A=S!==E,N=this.getStack(),M=!N||N.members.length<=1,V=!!(A&&!M&&this.options.crossfade===!0&&!this.path.some(oC));this.animationProgress=0;let _;this.mixTargetDelta=J=>{const P=J/1e3;Zx(b.x,d.x,P),Zx(b.y,d.y,P),this.setTargetDelta(b),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ml(x,this.layout.layoutBox,this.relativeParent.layout.layoutBox),lC(this.relativeTarget,this.relativeTargetOrigin,x,P),_&&Yj(this.relativeTarget,_)&&(this.isProjectionDirty=!1),_||(_=St()),Bn(_,this.relativeTarget)),A&&(this.animationValues=y,Pj(y,g,this.latestValues,P,V,M)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=P},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(d){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(xa(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=rt.update(()=>{Nu.hasAnimatedSinceResize=!0,this.currentAnimation=Lj(0,Kx,{...d,onUpdate:m=>{this.mixTargetDelta(m),d.onUpdate&&d.onUpdate(m)},onStop:()=>{},onComplete:()=>{d.onComplete&&d.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 d=this.getStack();d&&d.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 d=this.getLead();let{targetWithTransforms:m,target:h,layout:g,latestValues:y}=d;if(!(!m||!h||!g)){if(this!==d&&this.layout&&g&&Dw(this.options.animationType,this.layout.layoutBox,g.layoutBox)){h=this.target||St();const b=en(this.layout.layoutBox.x);h.x.min=d.target.x.min,h.x.max=h.x.min+b;const x=en(this.layout.layoutBox.y);h.y.min=d.target.y.min,h.y.max=h.y.min+x}Bn(m,h),nr(m,y),Rl(this.projectionDeltaWithTransform,this.layoutCorrected,m,y)}}registerSharedNode(d,m){this.sharedNodes.has(d)||this.sharedNodes.set(d,new Gj),this.sharedNodes.get(d).add(m);const g=m.options.initialPromotionConfig;m.promote({transition:g?g.transition:void 0,preserveFollowOpacity:g&&g.shouldPreserveFollowOpacity?g.shouldPreserveFollowOpacity(m):void 0})}isLead(){const d=this.getStack();return d?d.lead===this:!0}getLead(){var d;const{layoutId:m}=this.options;return m?((d=this.getStack())===null||d===void 0?void 0:d.lead)||this:this}getPrevLead(){var d;const{layoutId:m}=this.options;return m?(d=this.getStack())===null||d===void 0?void 0:d.prevLead:void 0}getStack(){const{layoutId:d}=this.options;if(d)return this.root.sharedNodes.get(d)}promote({needsReset:d,transition:m,preserveFollowOpacity:h}={}){const g=this.getStack();g&&g.promote(this,h),d&&(this.projectionDelta=void 0,this.needsReset=!0),m&&this.setOptions({transition:m})}relegate(){const d=this.getStack();return d?d.relegate(this):!1}resetSkewAndRotation(){const{visualElement:d}=this.options;if(!d)return;let m=!1;const{latestValues:h}=d;if((h.z||h.rotate||h.rotateX||h.rotateY||h.rotateZ||h.skewX||h.skewY)&&(m=!0),!m)return;const g={};h.z&&Yf("z",d,g,this.animationValues);for(let y=0;y<$f.length;y++)Yf(`rotate${$f[y]}`,d,g,this.animationValues),Yf(`skew${$f[y]}`,d,g,this.animationValues);d.render();for(const y in g)d.setStaticValue(y,g[y]),this.animationValues&&(this.animationValues[y]=g[y]);d.scheduleRender()}getProjectionStyles(d){var m,h;if(!this.instance||this.isSVG)return;if(!this.isVisible)return Xj;const g={visibility:""},y=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,g.opacity="",g.pointerEvents=Ru(d==null?void 0:d.pointerEvents)||"",g.transform=y?y(this.latestValues,""):"none",g;const b=this.getLead();if(!this.projectionDelta||!this.layout||!b.target){const A={};return this.options.layoutId&&(A.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,A.pointerEvents=Ru(d==null?void 0:d.pointerEvents)||""),this.hasProjected&&!Wa(this.latestValues)&&(A.transform=y?y({},""):"none",this.hasProjected=!1),A}const x=b.animationValues||b.latestValues;this.applyTransformsToTarget(),g.transform=Kj(this.projectionDeltaWithTransform,this.treeScale,x),y&&(g.transform=y(x,g.transform));const{x:S,y:E}=this.projectionDelta;g.transformOrigin=`${S.origin*100}% ${E.origin*100}% 0`,b.animationValues?g.opacity=b===this?(h=(m=x.opacity)!==null&&m!==void 0?m:this.latestValues.opacity)!==null&&h!==void 0?h:1:this.preserveOpacity?this.latestValues.opacity:x.opacityExit:g.opacity=b===this?x.opacity!==void 0?x.opacity:"":x.opacityExit!==void 0?x.opacityExit:0;for(const A in kl){if(x[A]===void 0)continue;const{correct:N,applyTo:M,isCSSVariable:V}=kl[A],_=g.transform==="none"?x[A]:N(x[A],b);if(M){const J=M.length;for(let P=0;P<J;P++)g[M[P]]=_}else V?this.options.visualElement.renderState.vars[A]=_:g[A]=_}return this.options.layoutId&&(g.pointerEvents=b===this?Ru(d==null?void 0:d.pointerEvents)||"":"none"),g}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(d=>{var m;return(m=d.currentAnimation)===null||m===void 0?void 0:m.stop()}),this.root.nodes.forEach(Xx),this.root.sharedNodes.clear()}}}function Zj(e){e.updateLayout()}function Qj(e){var n;const a=((n=e.resumeFrom)===null||n===void 0?void 0:n.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&a&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:o}=e.layout,{animationType:u}=e.options,d=a.source!==e.layout.source;u==="size"?Un(b=>{const x=d?a.measuredBox[b]:a.layoutBox[b],S=en(x);x.min=r[b].min,x.max=x.min+S}):Dw(u,a.layoutBox,r)&&Un(b=>{const x=d?a.measuredBox[b]:a.layoutBox[b],S=en(r[b]);x.max=x.min+S,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[b].max=e.relativeTarget[b].min+S)});const m=er();Rl(m,r,a.layoutBox);const h=er();d?Rl(h,e.applyTransform(o,!0),a.measuredBox):Rl(h,r,a.layoutBox);const g=!Aw(m);let y=!1;if(!e.resumeFrom){const b=e.getClosestProjectingParent();if(b&&!b.resumeFrom){const{snapshot:x,layout:S}=b;if(x&&S){const E=St();Ml(E,a.layoutBox,x.layoutBox);const A=St();Ml(A,r,S.layoutBox),Rw(E,A)||(y=!0),b.options.layoutRoot&&(e.relativeTarget=A,e.relativeTargetOrigin=E,e.relativeParent=b)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:a,delta:h,layoutDelta:m,hasLayoutChanged:g,hasRelativeLayoutChanged:y})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function Jj(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Wj(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function eC(e){e.clearSnapshot()}function Xx(e){e.clearMeasurements()}function tC(e){e.isLayoutDirty=!1}function nC(e){const{visualElement:n}=e.options;n&&n.getProps().onBeforeLayoutMeasure&&n.notify("BeforeLayoutMeasure"),e.resetTransform()}function Ix(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function iC(e){e.resolveTargetDelta()}function aC(e){e.calcProjection()}function sC(e){e.resetSkewAndRotation()}function rC(e){e.removeLeadSnapshot()}function Zx(e,n,a){e.translate=ht(n.translate,0,a),e.scale=ht(n.scale,1,a),e.origin=n.origin,e.originPoint=n.originPoint}function Qx(e,n,a,r){e.min=ht(n.min,a.min,r),e.max=ht(n.max,a.max,r)}function lC(e,n,a,r){Qx(e.x,n.x,a.x,r),Qx(e.y,n.y,a.y,r)}function oC(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const uC={duration:.45,ease:[.4,0,.1,1]},Jx=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Wx=Jx("applewebkit/")&&!Jx("chrome/")?Math.round:yn;function e0(e){e.min=Wx(e.min),e.max=Wx(e.max)}function cC(e){e0(e.x),e0(e.y)}function Dw(e,n,a){return e==="position"||e==="preserve-aspect"&&!hj(Yx(n),Yx(a),.2)}function dC(e){var n;return e!==e.root&&((n=e.scroll)===null||n===void 0?void 0:n.wasRoot)}const fC=Nw({attachResizeListener:(e,n)=>Pl(e,"resize",n),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Gf={current:void 0},Ow=Nw({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Gf.current){const e=new fC({});e.mount(window),e.setOptions({layoutScroll:!0}),Gf.current=e}return Gf.current},resetTransform:(e,n)=>{e.style.transform=n!==void 0?n:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),hC={pan:{Feature:Mj},drag:{Feature:Rj,ProjectionNode:Ow,MeasureLayout:Tw}};function t0(e,n,a){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",a==="Start");const o="onHover"+a,u=r[o];u&&rt.postRender(()=>u(n,Kl(n)))}class mC extends Ea{mount(){const{current:n}=this.node;n&&(this.unmount=pT(n,(a,r)=>(t0(this.node,r,"Start"),o=>t0(this.node,o,"End"))))}unmount(){}}class pC extends Ea{constructor(){super(...arguments),this.isActive=!1}onFocus(){let n=!1;try{n=this.node.current.matches(":focus-visible")}catch{n=!0}!n||!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=Gl(Pl(this.node.current,"focus",()=>this.onFocus()),Pl(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function n0(e,n,a){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",a==="Start");const o="onTap"+(a==="End"?"":a),u=r[o];u&&rt.postRender(()=>u(n,Kl(n)))}class gC extends Ea{mount(){const{current:n}=this.node;n&&(this.unmount=xT(n,(a,r)=>(n0(this.node,r,"Start"),(o,{success:u})=>n0(this.node,o,u?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const gh=new WeakMap,Kf=new WeakMap,yC=e=>{const n=gh.get(e.target);n&&n(e)},vC=e=>{e.forEach(yC)};function xC({root:e,...n}){const a=e||document;Kf.has(a)||Kf.set(a,{});const r=Kf.get(a),o=JSON.stringify(n);return r[o]||(r[o]=new IntersectionObserver(vC,{root:e,...n})),r[o]}function bC(e,n,a){const r=xC(n);return gh.set(e,a),r.observe(e),()=>{gh.delete(e),r.unobserve(e)}}const wC={some:0,all:1};class SC extends Ea{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:n={}}=this.node.getProps(),{root:a,margin:r,amount:o="some",once:u}=n,d={root:a?a.current:void 0,rootMargin:r,threshold:typeof o=="number"?o:wC[o]},m=h=>{const{isIntersecting:g}=h;if(this.isInView===g||(this.isInView=g,u&&!g&&this.hasEnteredView))return;g&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",g);const{onViewportEnter:y,onViewportLeave:b}=this.node.getProps(),x=g?y:b;x&&x(h)};return bC(this.node.current,d,m)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:n,prevProps:a}=this.node;["amount","margin","root"].some(EC(n,a))&&this.startObserver()}unmount(){}}function EC({viewport:e={}},{viewport:n={}}={}){return a=>e[a]!==n[a]}const TC={inView:{Feature:SC},tap:{Feature:gC},focus:{Feature:pC},hover:{Feature:mC}},jC={layout:{ProjectionNode:Ow,MeasureLayout:Tw}},yh={current:null},Lw={current:!1};function CC(){if(Lw.current=!0,!!qh)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),n=()=>yh.current=e.matches;e.addListener(n),n()}else yh.current=!1}const AC=[...iw,Kt,ba],RC=e=>AC.find(nw(e)),MC=new WeakMap;function NC(e,n,a){for(const r in n){const o=n[r],u=a[r];if(Xt(o))e.addValue(r,o);else if(Xt(u))e.addValue(r,Bl(o,{owner:e}));else if(u!==o)if(e.hasValue(r)){const d=e.getValue(r);d.liveStyle===!0?d.jump(o):d.hasAnimated||d.set(o)}else{const d=e.getStaticValue(r);e.addValue(r,Bl(d!==void 0?d:o,{owner:e}))}}for(const r in a)n[r]===void 0&&e.removeValue(r);return n}const i0=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class DC{scrapeMotionValuesFromProps(n,a,r){return{}}constructor({parent:n,props:a,presenceContext:r,reducedMotionConfig:o,blockInitialAnimation:u,visualState:d},m={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=vm,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 S=di.now();this.renderScheduledAt<S&&(this.renderScheduledAt=S,rt.render(this.render,!1,!0))};const{latestValues:h,renderState:g,onUpdate:y}=d;this.onUpdate=y,this.latestValues=h,this.baseTarget={...h},this.initialValues=a.initial?{...h}:{},this.renderState=g,this.parent=n,this.props=a,this.presenceContext=r,this.depth=n?n.depth+1:0,this.reducedMotionConfig=o,this.options=m,this.blockInitialAnimation=!!u,this.isControllingVariants=cc(a),this.isVariantNode=db(a),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(n&&n.current);const{willChange:b,...x}=this.scrapeMotionValuesFromProps(a,{},this);for(const S in x){const E=x[S];h[S]!==void 0&&Xt(E)&&E.set(h[S],!1)}}mount(n){this.current=n,MC.set(n,this),this.projection&&!this.projection.instance&&this.projection.mount(n),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((a,r)=>this.bindToMotionValue(r,a)),Lw.current||CC(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:yh.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),xa(this.notifyUpdate),xa(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const a=this.features[n];a&&(a.unmount(),a.isMounted=!1)}this.current=null}bindToMotionValue(n,a){this.valueSubscriptions.has(n)&&this.valueSubscriptions.get(n)();const r=os.has(n);r&&this.onBindTransform&&this.onBindTransform();const o=a.on("change",m=>{this.latestValues[n]=m,this.props.onUpdate&&rt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),u=a.on("renderRequest",this.scheduleRender);let d;window.MotionCheckAppearSync&&(d=window.MotionCheckAppearSync(this,n,a)),this.valueSubscriptions.set(n,()=>{o(),u(),d&&d(),a.owner&&a.stop()})}sortNodePosition(n){return!this.current||!this.sortInstanceNodePosition||this.type!==n.type?0:this.sortInstanceNodePosition(this.current,n.current)}updateFeatures(){let n="animation";for(n in rr){const a=rr[n];if(!a)continue;const{isEnabled:r,Feature:o}=a;if(!this.features[n]&&o&&r(this.props)&&(this.features[n]=new o(this)),this.features[n]){const u=this.features[n];u.isMounted?u.update():(u.mount(),u.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):St()}getStaticValue(n){return this.latestValues[n]}setStaticValue(n,a){this.latestValues[n]=a}update(n,a){(n.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=n,this.prevPresenceContext=this.presenceContext,this.presenceContext=a;for(let r=0;r<i0.length;r++){const o=i0[r];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const u="on"+o,d=n[u];d&&(this.propEventSubscriptions[o]=this.on(o,d))}this.prevMotionValues=NC(this,this.scrapeMotionValuesFromProps(n,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(n){return this.props.variants?this.props.variants[n]: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(n){const a=this.getClosestVariantNode();if(a)return a.variantChildren&&a.variantChildren.add(n),()=>a.variantChildren.delete(n)}addValue(n,a){const r=this.values.get(n);a!==r&&(r&&this.removeValue(n),this.bindToMotionValue(n,a),this.values.set(n,a),this.latestValues[n]=a.get())}removeValue(n){this.values.delete(n);const a=this.valueSubscriptions.get(n);a&&(a(),this.valueSubscriptions.delete(n)),delete this.latestValues[n],this.removeValueFromRenderState(n,this.renderState)}hasValue(n){return this.values.has(n)}getValue(n,a){if(this.props.values&&this.props.values[n])return this.props.values[n];let r=this.values.get(n);return r===void 0&&a!==void 0&&(r=Bl(a===null?void 0:a,{owner:this}),this.addValue(n,r)),r}readValue(n,a){var r;let o=this.latestValues[n]!==void 0||!this.current?this.latestValues[n]:(r=this.getBaseTargetFromProps(this.props,n))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,n,this.options);return o!=null&&(typeof o=="string"&&(ew(o)||Yb(o))?o=parseFloat(o):!RC(o)&&ba.test(a)&&(o=Qb(n,a)),this.setBaseTarget(n,Xt(o)?o.get():o)),Xt(o)?o.get():o}setBaseTarget(n,a){this.baseTarget[n]=a}getBaseTarget(n){var a;const{initial:r}=this.props;let o;if(typeof r=="string"||typeof r=="object"){const d=im(this.props,r,(a=this.presenceContext)===null||a===void 0?void 0:a.custom);d&&(o=d[n])}if(r&&o!==void 0)return o;const u=this.getBaseTargetFromProps(this.props,n);return u!==void 0&&!Xt(u)?u:this.initialValues[n]!==void 0&&o===void 0?void 0:this.baseTarget[n]}on(n,a){return this.events[n]||(this.events[n]=new dm),this.events[n].add(a)}notify(n,...a){this.events[n]&&this.events[n].notify(...a)}}class kw extends DC{constructor(){super(...arguments),this.KeyframeResolver=aw}sortInstanceNodePosition(n,a){return n.compareDocumentPosition(a)&2?1:-1}getBaseTargetFromProps(n,a){return n.style?n.style[a]:void 0}removeValueFromRenderState(n,{vars:a,style:r}){delete a[n],delete r[n]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:n}=this.props;Xt(n)&&(this.childSubscription=n.on("change",a=>{this.current&&(this.current.textContent=`${a}`)}))}}function OC(e){return window.getComputedStyle(e)}class LC extends kw{constructor(){super(...arguments),this.type="html",this.renderInstance=Sb}readValueFromInstance(n,a){if(os.has(a)){const r=ym(a);return r&&r.default||0}else{const r=OC(n),o=(Ih(a)?r.getPropertyValue(a):r[a])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(n,{transformPagePoint:a}){return Sw(n,a)}build(n,a,r){Jh(n,a,r.transformTemplate)}scrapeMotionValuesFromProps(n,a,r){return am(n,a,r)}}class kC extends kw{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=St,this.updateDimensions=()=>{this.current&&!this.renderState.dimensions&&wb(this.current,this.renderState)}}getBaseTargetFromProps(n,a){return n[a]}readValueFromInstance(n,a){if(os.has(a)){const r=ym(a);return r&&r.default||0}return a=Eb.has(a)?a:Kh(a),n.getAttribute(a)}scrapeMotionValuesFromProps(n,a,r){return jb(n,a,r)}onBindTransform(){this.current&&!this.renderState.dimensions&&rt.postRender(this.updateDimensions)}build(n,a,r){tm(n,a,this.isSVGTag,r.transformTemplate)}renderInstance(n,a,r,o){Tb(n,a,r,o)}mount(n){this.isSVGTag=nm(n.tagName),super.mount(n)}}const zC=(e,n)=>em(e)?new kC(n):new LC(n,{allowProjection:e!==R.Fragment}),VC=uT({...aj,...TC,...hC,...jC},zC),se=j3(VC);function BC(e){e.values.forEach(n=>n.stop())}function vh(e,n){[...n].reverse().forEach(r=>{const o=e.getVariant(r);o&&fm(e,o),e.variantChildren&&e.variantChildren.forEach(u=>{vh(u,n)})})}function UC(e,n){if(Array.isArray(n))return vh(e,n);if(typeof n=="string")return vh(e,[n]);fm(e,n)}function PC(){const e=new Set,n={subscribe(a){return e.add(a),()=>void e.delete(a)},start(a,r){const o=[];return e.forEach(u=>{o.push(fw(u,a,{transitionOverride:r}))}),Promise.all(o)},set(a){return e.forEach(r=>{UC(r,a)})},stop(){e.forEach(a=>{BC(a)})},mount(){return()=>{n.stop()}}};return n}function HC(){const e=rc(PC);return Fh(e.mount,[]),e}const _C=HC,qC={some:0,all:1};function FC(e,n,{root:a,margin:r,amount:o="some"}={}){const u=Db(e),d=new WeakMap,m=g=>{g.forEach(y=>{const b=d.get(y.target);if(y.isIntersecting!==!!b)if(y.isIntersecting){const x=n(y.target,y);typeof x=="function"?d.set(y.target,x):h.unobserve(y.target)}else typeof b=="function"&&(b(y),d.delete(y.target))})},h=new IntersectionObserver(m,{root:a,rootMargin:r,threshold:typeof o=="number"?o:qC[o]});return u.forEach(g=>h.observe(g)),()=>h.disconnect()}function $C(e,{root:n,margin:a,amount:r,once:o=!1,initial:u=!1}={}){const[d,m]=R.useState(u);return R.useEffect(()=>{if(!e.current||o&&d)return;const h=()=>(m(!0),o?void 0:()=>m(!1)),g={root:n&&n.current||void 0,margin:a,amount:r};return FC(e.current,h,g)},[n,e,a,o,r]),d}var zw={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},a0=Bi.createContext&&Bi.createContext(zw),YC=["attr","size","title"];function GC(e,n){if(e==null)return{};var a=KC(e,n),r,o;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(o=0;o<u.length;o++)r=u[o],!(n.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}function KC(e,n){if(e==null)return{};var a={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(n.indexOf(r)>=0)continue;a[r]=e[r]}return a}function Hu(){return Hu=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var a=arguments[n];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e},Hu.apply(this,arguments)}function s0(e,n){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),a.push.apply(a,r)}return a}function _u(e){for(var n=1;n<arguments.length;n++){var a=arguments[n]!=null?arguments[n]:{};n%2?s0(Object(a),!0).forEach(function(r){XC(e,r,a[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):s0(Object(a)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(a,r))})}return e}function XC(e,n,a){return n=IC(n),n in e?Object.defineProperty(e,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[n]=a,e}function IC(e){var n=ZC(e,"string");return typeof n=="symbol"?n:n+""}function ZC(e,n){if(typeof e!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var r=a.call(e,n);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(e)}function Vw(e){return e&&e.map((n,a)=>Bi.createElement(n.tag,_u({key:a},n.attr),Vw(n.child)))}function an(e){return n=>Bi.createElement(QC,Hu({attr:_u({},e.attr)},n),Vw(e.child))}function QC(e){var n=a=>{var{attr:r,size:o,title:u}=e,d=GC(e,YC),m=o||a.size||"1em",h;return a.className&&(h=a.className),e.className&&(h=(h?h+" ":"")+e.className),Bi.createElement("svg",Hu({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},a.attr,r,d,{className:h,style:_u(_u({color:e.color||a.color},a.style),e.style),height:m,width:m,xmlns:"http://www.w3.org/2000/svg"}),u&&Bi.createElement("title",null,u),e.children)};return a0!==void 0?Bi.createElement(a0.Consumer,null,a=>n(a)):n(zw)}function JC(e){return an({attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z"},child:[]}]})(e)}function WC(e){return an({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.31 482.38 504 379.78 504 256z"},child:[]}]})(e)}function Bw(e){return an({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"},child:[]}]})(e)}function eA(e){return an({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"},child:[]}]})(e)}function tA(e){return an({attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M496 256c0 137-111 248-248 248-25.6 0-50.2-3.9-73.4-11.1 10.1-16.5 25.2-43.5 30.8-65 3-11.6 15.4-59 15.4-59 8.1 15.4 31.7 28.5 56.8 28.5 74.8 0 128.7-68.8 128.7-154.3 0-81.9-66.9-143.2-152.9-143.2-107 0-163.9 71.8-163.9 150.1 0 36.4 19.4 81.7 50.3 96.1 4.7 2.2 7.2 1.2 8.3-3.3.8-3.4 5-20.3 6.9-28.1.6-2.5.3-4.7-1.7-7.1-10.1-12.5-18.3-35.3-18.3-56.6 0-54.7 41.4-107.6 112-107.6 60.9 0 103.6 41.5 103.6 100.9 0 67.1-33.9 113.6-78 113.6-24.3 0-42.6-20.1-36.7-44.8 7-29.5 20.5-61.3 20.5-82.6 0-19-10.2-34.9-31.4-34.9-24.9 0-44.9 25.7-44.9 60.2 0 22 7.4 36.8 7.4 36.8s-24.5 103.8-29 123.2c-5 21.4-3 51.6-.9 71.2C65.4 450.9 0 361.1 0 256 0 119 111 8 248 8s248 111 248 248z"},child:[]}]})(e)}function Em(e){return an({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"},child:[]}]})(e)}function nA(e){return an({attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"},child:[]}]})(e)}function iA(e){return an({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M257.5 445.1l-22.2 22.2c-9.4 9.4-24.6 9.4-33.9 0L7 273c-9.4-9.4-9.4-24.6 0-33.9L201.4 44.7c9.4-9.4 24.6-9.4 33.9 0l22.2 22.2c9.5 9.5 9.3 25-.4 34.3L136.6 216H424c13.3 0 24 10.7 24 24v32c0 13.3-10.7 24-24 24H136.6l120.5 114.8c9.8 9.3 10 24.8.4 34.3z"},child:[]}]})(e)}function xh(e){return an({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z"},child:[]}]})(e)}const Me=e=>typeof e=="string",Sl=()=>{let e,n;const a=new Promise((r,o)=>{e=r,n=o});return a.resolve=e,a.reject=n,a},r0=e=>e==null?"":""+e,aA=(e,n,a)=>{e.forEach(r=>{n[r]&&(a[r]=n[r])})},sA=/###/g,l0=e=>e&&e.indexOf("###")>-1?e.replace(sA,"."):e,o0=e=>!e||Me(e),Nl=(e,n,a)=>{const r=Me(n)?n.split("."):n;let o=0;for(;o<r.length-1;){if(o0(e))return{};const u=l0(r[o]);!e[u]&&a&&(e[u]=new a),Object.prototype.hasOwnProperty.call(e,u)?e=e[u]:e={},++o}return o0(e)?{}:{obj:e,k:l0(r[o])}},u0=(e,n,a)=>{const{obj:r,k:o}=Nl(e,n,Object);if(r!==void 0||n.length===1){r[o]=a;return}let u=n[n.length-1],d=n.slice(0,n.length-1),m=Nl(e,d,Object);for(;m.obj===void 0&&d.length;)u=`${d[d.length-1]}.${u}`,d=d.slice(0,d.length-1),m=Nl(e,d,Object),m!=null&&m.obj&&typeof m.obj[`${m.k}.${u}`]<"u"&&(m.obj=void 0);m.obj[`${m.k}.${u}`]=a},rA=(e,n,a,r)=>{const{obj:o,k:u}=Nl(e,n,Object);o[u]=o[u]||[],o[u].push(a)},qu=(e,n)=>{const{obj:a,k:r}=Nl(e,n);if(a&&Object.prototype.hasOwnProperty.call(a,r))return a[r]},lA=(e,n,a)=>{const r=qu(e,a);return r!==void 0?r:qu(n,a)},Uw=(e,n,a)=>{for(const r in n)r!=="__proto__"&&r!=="constructor"&&(r in e?Me(e[r])||e[r]instanceof String||Me(n[r])||n[r]instanceof String?a&&(e[r]=n[r]):Uw(e[r],n[r],a):e[r]=n[r]);return e},Xs=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var oA={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const uA=e=>Me(e)?e.replace(/[&<>"'\/]/g,n=>oA[n]):e;class cA{constructor(n){this.capacity=n,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(n){const a=this.regExpMap.get(n);if(a!==void 0)return a;const r=new RegExp(n);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(n,r),this.regExpQueue.push(n),r}}const dA=[" ",",","?","!",";"],fA=new cA(20),hA=(e,n,a)=>{n=n||"",a=a||"";const r=dA.filter(d=>n.indexOf(d)<0&&a.indexOf(d)<0);if(r.length===0)return!0;const o=fA.getRegExp(`(${r.map(d=>d==="?"?"\\?":d).join("|")})`);let u=!o.test(e);if(!u){const d=e.indexOf(a);d>0&&!o.test(e.substring(0,d))&&(u=!0)}return u},bh=function(e,n){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[n])return Object.prototype.hasOwnProperty.call(e,n)?e[n]:void 0;const r=n.split(a);let o=e;for(let u=0;u<r.length;){if(!o||typeof o!="object")return;let d,m="";for(let h=u;h<r.length;++h)if(h!==u&&(m+=a),m+=r[h],d=o[m],d!==void 0){if(["string","number","boolean"].indexOf(typeof d)>-1&&h<r.length-1)continue;u+=h-u+1;break}o=d}return o},Fu=e=>e==null?void 0:e.replace("_","-"),mA={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,n){var a,r;(r=(a=console==null?void 0:console[e])==null?void 0:a.apply)==null||r.call(a,console,n)}};class $u{constructor(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(n,a)}init(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=a.prefix||"i18next:",this.logger=n||mA,this.options=a,this.debug=a.debug}log(){for(var n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return this.forward(a,"log","",!0)}warn(){for(var n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return this.forward(a,"warn","",!0)}error(){for(var n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return this.forward(a,"error","")}deprecate(){for(var n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return this.forward(a,"warn","WARNING DEPRECATED: ",!0)}forward(n,a,r,o){return o&&!this.debug?null:(Me(n[0])&&(n[0]=`${r}${this.prefix} ${n[0]}`),this.logger[a](n))}create(n){return new $u(this.logger,{prefix:`${this.prefix}:${n}:`,...this.options})}clone(n){return n=n||this.options,n.prefix=n.prefix||this.prefix,new $u(this.logger,n)}}var oi=new $u;let fc=class{constructor(){this.observers={}}on(n,a){return n.split(" ").forEach(r=>{this.observers[r]||(this.observers[r]=new Map);const o=this.observers[r].get(a)||0;this.observers[r].set(a,o+1)}),this}off(n,a){if(this.observers[n]){if(!a){delete this.observers[n];return}this.observers[n].delete(a)}}emit(n){for(var a=arguments.length,r=new Array(a>1?a-1:0),o=1;o<a;o++)r[o-1]=arguments[o];this.observers[n]&&Array.from(this.observers[n].entries()).forEach(d=>{let[m,h]=d;for(let g=0;g<h;g++)m(...r)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(d=>{let[m,h]=d;for(let g=0;g<h;g++)m.apply(m,[n,...r])})}};class c0 extends fc{constructor(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=n||{},this.options=a,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(n){this.options.ns.indexOf(n)<0&&this.options.ns.push(n)}removeNamespaces(n){const a=this.options.ns.indexOf(n);a>-1&&this.options.ns.splice(a,1)}getResource(n,a,r){var g,y;let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const u=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,d=o.ignoreJSONStructure!==void 0?o.ignoreJSONStructure:this.options.ignoreJSONStructure;let m;n.indexOf(".")>-1?m=n.split("."):(m=[n,a],r&&(Array.isArray(r)?m.push(...r):Me(r)&&u?m.push(...r.split(u)):m.push(r)));const h=qu(this.data,m);return!h&&!a&&!r&&n.indexOf(".")>-1&&(n=m[0],a=m[1],r=m.slice(2).join(".")),h||!d||!Me(r)?h:bh((y=(g=this.data)==null?void 0:g[n])==null?void 0:y[a],r,u)}addResource(n,a,r,o){let u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const d=u.keySeparator!==void 0?u.keySeparator:this.options.keySeparator;let m=[n,a];r&&(m=m.concat(d?r.split(d):r)),n.indexOf(".")>-1&&(m=n.split("."),o=a,a=m[1]),this.addNamespaces(a),u0(this.data,m,o),u.silent||this.emit("added",n,a,r,o)}addResources(n,a,r){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const u in r)(Me(r[u])||Array.isArray(r[u]))&&this.addResource(n,a,u,r[u],{silent:!0});o.silent||this.emit("added",n,a,r)}addResourceBundle(n,a,r,o,u){let d=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},m=[n,a];n.indexOf(".")>-1&&(m=n.split("."),o=r,r=a,a=m[1]),this.addNamespaces(a);let h=qu(this.data,m)||{};d.skipCopy||(r=JSON.parse(JSON.stringify(r))),o?Uw(h,r,u):h={...h,...r},u0(this.data,m,h),d.silent||this.emit("added",n,a,r)}removeResourceBundle(n,a){this.hasResourceBundle(n,a)&&delete this.data[n][a],this.removeNamespaces(a),this.emit("removed",n,a)}hasResourceBundle(n,a){return this.getResource(n,a)!==void 0}getResourceBundle(n,a){return a||(a=this.options.defaultNS),this.getResource(n,a)}getDataByLanguage(n){return this.data[n]}hasLanguageSomeTranslations(n){const a=this.getDataByLanguage(n);return!!(a&&Object.keys(a)||[]).find(o=>a[o]&&Object.keys(a[o]).length>0)}toJSON(){return this.data}}var Pw={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,n,a,r,o){return e.forEach(u=>{var d;n=((d=this.processors[u])==null?void 0:d.process(n,a,r,o))??n}),n}};const d0={},f0=e=>!Me(e)&&typeof e!="boolean"&&typeof e!="number";class Yu extends fc{constructor(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),aA(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],n,this),this.options=a,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=oi.create("translator")}changeLanguage(n){n&&(this.language=n)}exists(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(n==null)return!1;const r=this.resolve(n,a);return(r==null?void 0:r.res)!==void 0}extractFromKey(n,a){let r=a.nsSeparator!==void 0?a.nsSeparator:this.options.nsSeparator;r===void 0&&(r=":");const o=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator;let u=a.ns||this.options.defaultNS||[];const d=r&&n.indexOf(r)>-1,m=!this.options.userDefinedKeySeparator&&!a.keySeparator&&!this.options.userDefinedNsSeparator&&!a.nsSeparator&&!hA(n,r,o);if(d&&!m){const h=n.match(this.interpolator.nestingRegexp);if(h&&h.length>0)return{key:n,namespaces:Me(u)?[u]:u};const g=n.split(r);(r!==o||r===o&&this.options.ns.indexOf(g[0])>-1)&&(u=g.shift()),n=g.join(o)}return{key:n,namespaces:Me(u)?[u]:u}}translate(n,a,r){if(typeof a!="object"&&this.options.overloadTranslationOptionHandler&&(a=this.options.overloadTranslationOptionHandler(arguments)),typeof a=="object"&&(a={...a}),a||(a={}),n==null)return"";Array.isArray(n)||(n=[String(n)]);const o=a.returnDetails!==void 0?a.returnDetails:this.options.returnDetails,u=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator,{key:d,namespaces:m}=this.extractFromKey(n[n.length-1],a),h=m[m.length-1],g=a.lng||this.language,y=a.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if((g==null?void 0:g.toLowerCase())==="cimode"){if(y){const fe=a.nsSeparator||this.options.nsSeparator;return o?{res:`${h}${fe}${d}`,usedKey:d,exactUsedKey:d,usedLng:g,usedNS:h,usedParams:this.getUsedParamsDetails(a)}:`${h}${fe}${d}`}return o?{res:d,usedKey:d,exactUsedKey:d,usedLng:g,usedNS:h,usedParams:this.getUsedParamsDetails(a)}:d}const b=this.resolve(n,a);let x=b==null?void 0:b.res;const S=(b==null?void 0:b.usedKey)||d,E=(b==null?void 0:b.exactUsedKey)||d,A=["[object Number]","[object Function]","[object RegExp]"],N=a.joinArrays!==void 0?a.joinArrays:this.options.joinArrays,M=!this.i18nFormat||this.i18nFormat.handleAsObject,V=a.count!==void 0&&!Me(a.count),_=Yu.hasDefaultValue(a),J=V?this.pluralResolver.getSuffix(g,a.count,a):"",P=a.ordinal&&V?this.pluralResolver.getSuffix(g,a.count,{ordinal:!1}):"",C=V&&!a.ordinal&&a.count===0,ee=C&&a[`defaultValue${this.options.pluralSeparator}zero`]||a[`defaultValue${J}`]||a[`defaultValue${P}`]||a.defaultValue;let X=x;M&&!x&&_&&(X=ee);const F=f0(X),te=Object.prototype.toString.apply(X);if(M&&X&&F&&A.indexOf(te)<0&&!(Me(N)&&Array.isArray(X))){if(!a.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const fe=this.options.returnedObjectHandler?this.options.returnedObjectHandler(S,X,{...a,ns:m}):`key '${d} (${this.language})' returned an object instead of string.`;return o?(b.res=fe,b.usedParams=this.getUsedParamsDetails(a),b):fe}if(u){const fe=Array.isArray(X),Fe=fe?[]:{},We=fe?E:S;for(const ye in X)if(Object.prototype.hasOwnProperty.call(X,ye)){const Le=`${We}${u}${ye}`;_&&!x?Fe[ye]=this.translate(Le,{...a,defaultValue:f0(ee)?ee[ye]:void 0,joinArrays:!1,ns:m}):Fe[ye]=this.translate(Le,{...a,joinArrays:!1,ns:m}),Fe[ye]===Le&&(Fe[ye]=X[ye])}x=Fe}}else if(M&&Me(N)&&Array.isArray(x))x=x.join(N),x&&(x=this.extendTranslation(x,n,a,r));else{let fe=!1,Fe=!1;!this.isValidLookup(x)&&_&&(fe=!0,x=ee),this.isValidLookup(x)||(Fe=!0,x=d);const ye=(a.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&Fe?void 0:x,Le=_&&ee!==x&&this.options.updateMissing;if(Fe||fe||Le){if(this.logger.log(Le?"updateKey":"missingKey",g,h,d,Le?ee:x),u){const be=this.resolve(d,{...a,keySeparator:!1});be&&be.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let I=[];const ae=this.languageUtils.getFallbackCodes(this.options.fallbackLng,a.lng||this.language);if(this.options.saveMissingTo==="fallback"&&ae&&ae[0])for(let be=0;be<ae.length;be++)I.push(ae[be]);else this.options.saveMissingTo==="all"?I=this.languageUtils.toResolveHierarchy(a.lng||this.language):I.push(a.lng||this.language);const W=(be,j,G)=>{var ue;const he=_&&G!==x?G:ye;this.options.missingKeyHandler?this.options.missingKeyHandler(be,h,j,he,Le,a):(ue=this.backendConnector)!=null&&ue.saveMissing&&this.backendConnector.saveMissing(be,h,j,he,Le,a),this.emit("missingKey",be,h,j,x)};this.options.saveMissing&&(this.options.saveMissingPlurals&&V?I.forEach(be=>{const j=this.pluralResolver.getSuffixes(be,a);C&&a[`defaultValue${this.options.pluralSeparator}zero`]&&j.indexOf(`${this.options.pluralSeparator}zero`)<0&&j.push(`${this.options.pluralSeparator}zero`),j.forEach(G=>{W([be],d+G,a[`defaultValue${G}`]||ee)})}):W(I,d,ee))}x=this.extendTranslation(x,n,a,b,r),Fe&&x===d&&this.options.appendNamespaceToMissingKey&&(x=`${h}:${d}`),(Fe||fe)&&this.options.parseMissingKeyHandler&&(x=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${h}:${d}`:d,fe?x:void 0))}return o?(b.res=x,b.usedParams=this.getUsedParamsDetails(a),b):x}extendTranslation(n,a,r,o,u){var g,y;var d=this;if((g=this.i18nFormat)!=null&&g.parse)n=this.i18nFormat.parse(n,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||o.usedLng,o.usedNS,o.usedKey,{resolved:o});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const b=Me(n)&&(((y=r==null?void 0:r.interpolation)==null?void 0:y.skipOnVariables)!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let x;if(b){const E=n.match(this.interpolator.nestingRegexp);x=E&&E.length}let S=r.replace&&!Me(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(S={...this.options.interpolation.defaultVariables,...S}),n=this.interpolator.interpolate(n,S,r.lng||this.language||o.usedLng,r),b){const E=n.match(this.interpolator.nestingRegexp),A=E&&E.length;x<A&&(r.nest=!1)}!r.lng&&o&&o.res&&(r.lng=this.language||o.usedLng),r.nest!==!1&&(n=this.interpolator.nest(n,function(){for(var E=arguments.length,A=new Array(E),N=0;N<E;N++)A[N]=arguments[N];return(u==null?void 0:u[0])===A[0]&&!r.context?(d.logger.warn(`It seems you are nesting recursively key: ${A[0]} in key: ${a[0]}`),null):d.translate(...A,a)},r)),r.interpolation&&this.interpolator.reset()}const m=r.postProcess||this.options.postProcess,h=Me(m)?[m]:m;return n!=null&&(h!=null&&h.length)&&r.applyPostProcessor!==!1&&(n=Pw.handle(h,n,a,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...o,usedParams:this.getUsedParamsDetails(r)},...r}:r,this)),n}resolve(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r,o,u,d,m;return Me(n)&&(n=[n]),n.forEach(h=>{if(this.isValidLookup(r))return;const g=this.extractFromKey(h,a),y=g.key;o=y;let b=g.namespaces;this.options.fallbackNS&&(b=b.concat(this.options.fallbackNS));const x=a.count!==void 0&&!Me(a.count),S=x&&!a.ordinal&&a.count===0,E=a.context!==void 0&&(Me(a.context)||typeof a.context=="number")&&a.context!=="",A=a.lngs?a.lngs:this.languageUtils.toResolveHierarchy(a.lng||this.language,a.fallbackLng);b.forEach(N=>{var M,V;this.isValidLookup(r)||(m=N,!d0[`${A[0]}-${N}`]&&((M=this.utils)!=null&&M.hasLoadedNamespace)&&!((V=this.utils)!=null&&V.hasLoadedNamespace(m))&&(d0[`${A[0]}-${N}`]=!0,this.logger.warn(`key "${o}" for languages "${A.join(", ")}" won't get resolved as namespace "${m}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),A.forEach(_=>{var C;if(this.isValidLookup(r))return;d=_;const J=[y];if((C=this.i18nFormat)!=null&&C.addLookupKeys)this.i18nFormat.addLookupKeys(J,y,_,N,a);else{let ee;x&&(ee=this.pluralResolver.getSuffix(_,a.count,a));const X=`${this.options.pluralSeparator}zero`,F=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(x&&(J.push(y+ee),a.ordinal&&ee.indexOf(F)===0&&J.push(y+ee.replace(F,this.options.pluralSeparator)),S&&J.push(y+X)),E){const te=`${y}${this.options.contextSeparator}${a.context}`;J.push(te),x&&(J.push(te+ee),a.ordinal&&ee.indexOf(F)===0&&J.push(te+ee.replace(F,this.options.pluralSeparator)),S&&J.push(te+X))}}let P;for(;P=J.pop();)this.isValidLookup(r)||(u=P,r=this.getResource(_,N,P,a))}))})}),{res:r,usedKey:o,exactUsedKey:u,usedLng:d,usedNS:m}}isValidLookup(n){return n!==void 0&&!(!this.options.returnNull&&n===null)&&!(!this.options.returnEmptyString&&n==="")}getResource(n,a,r){var u;let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return(u=this.i18nFormat)!=null&&u.getResource?this.i18nFormat.getResource(n,a,r,o):this.resourceStore.getResource(n,a,r,o)}getUsedParamsDetails(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const a=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=n.replace&&!Me(n.replace);let o=r?n.replace:n;if(r&&typeof n.count<"u"&&(o.count=n.count),this.options.interpolation.defaultVariables&&(o={...this.options.interpolation.defaultVariables,...o}),!r){o={...o};for(const u of a)delete o[u]}return o}static hasDefaultValue(n){const a="defaultValue";for(const r in n)if(Object.prototype.hasOwnProperty.call(n,r)&&a===r.substring(0,a.length)&&n[r]!==void 0)return!0;return!1}}class h0{constructor(n){this.options=n,this.supportedLngs=this.options.supportedLngs||!1,this.logger=oi.create("languageUtils")}getScriptPartFromCode(n){if(n=Fu(n),!n||n.indexOf("-")<0)return null;const a=n.split("-");return a.length===2||(a.pop(),a[a.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(a.join("-"))}getLanguagePartFromCode(n){if(n=Fu(n),!n||n.indexOf("-")<0)return n;const a=n.split("-");return this.formatLanguageCode(a[0])}formatLanguageCode(n){if(Me(n)&&n.indexOf("-")>-1){let a;try{a=Intl.getCanonicalLocales(n)[0]}catch{}return a&&this.options.lowerCaseLng&&(a=a.toLowerCase()),a||(this.options.lowerCaseLng?n.toLowerCase():n)}return this.options.cleanCode||this.options.lowerCaseLng?n.toLowerCase():n}isSupportedCode(n){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(n=this.getLanguagePartFromCode(n)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(n)>-1}getBestMatchFromCodes(n){if(!n)return null;let a;return n.forEach(r=>{if(a)return;const o=this.formatLanguageCode(r);(!this.options.supportedLngs||this.isSupportedCode(o))&&(a=o)}),!a&&this.options.supportedLngs&&n.forEach(r=>{if(a)return;const o=this.getLanguagePartFromCode(r);if(this.isSupportedCode(o))return a=o;a=this.options.supportedLngs.find(u=>{if(u===o)return u;if(!(u.indexOf("-")<0&&o.indexOf("-")<0)&&(u.indexOf("-")>0&&o.indexOf("-")<0&&u.substring(0,u.indexOf("-"))===o||u.indexOf(o)===0&&o.length>1))return u})}),a||(a=this.getFallbackCodes(this.options.fallbackLng)[0]),a}getFallbackCodes(n,a){if(!n)return[];if(typeof n=="function"&&(n=n(a)),Me(n)&&(n=[n]),Array.isArray(n))return n;if(!a)return n.default||[];let r=n[a];return r||(r=n[this.getScriptPartFromCode(a)]),r||(r=n[this.formatLanguageCode(a)]),r||(r=n[this.getLanguagePartFromCode(a)]),r||(r=n.default),r||[]}toResolveHierarchy(n,a){const r=this.getFallbackCodes(a||this.options.fallbackLng||[],n),o=[],u=d=>{d&&(this.isSupportedCode(d)?o.push(d):this.logger.warn(`rejecting language code not found in supportedLngs: ${d}`))};return Me(n)&&(n.indexOf("-")>-1||n.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&u(this.formatLanguageCode(n)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&u(this.getScriptPartFromCode(n)),this.options.load!=="currentOnly"&&u(this.getLanguagePartFromCode(n))):Me(n)&&u(this.formatLanguageCode(n)),r.forEach(d=>{o.indexOf(d)<0&&u(this.formatLanguageCode(d))}),o}}const m0={zero:0,one:1,two:2,few:3,many:4,other:5},p0={select:e=>e===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class pA{constructor(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=n,this.options=a,this.logger=oi.create("pluralResolver"),this.pluralRulesCache={}}addRule(n,a){this.rules[n]=a}clearCache(){this.pluralRulesCache={}}getRule(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=Fu(n==="dev"?"en":n),o=a.ordinal?"ordinal":"cardinal",u=JSON.stringify({cleanedCode:r,type:o});if(u in this.pluralRulesCache)return this.pluralRulesCache[u];let d;try{d=new Intl.PluralRules(r,{type:o})}catch{if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),p0;if(!n.match(/-|_/))return p0;const h=this.languageUtils.getLanguagePartFromCode(n);d=this.getRule(h,a)}return this.pluralRulesCache[u]=d,d}needsPlural(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=this.getRule(n,a);return r||(r=this.getRule("dev",a)),(r==null?void 0:r.resolvedOptions().pluralCategories.length)>1}getPluralFormsOfKey(n,a){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(n,r).map(o=>`${a}${o}`)}getSuffixes(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=this.getRule(n,a);return r||(r=this.getRule("dev",a)),r?r.resolvedOptions().pluralCategories.sort((o,u)=>m0[o]-m0[u]).map(o=>`${this.options.prepend}${a.ordinal?`ordinal${this.options.prepend}`:""}${o}`):[]}getSuffix(n,a){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const o=this.getRule(n,r);return o?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${o.select(a)}`:(this.logger.warn(`no plural rule found for: ${n}`),this.getSuffix("dev",a,r))}}const g0=function(e,n,a){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,u=lA(e,n,a);return!u&&o&&Me(a)&&(u=bh(e,a,r),u===void 0&&(u=bh(n,a,r))),u},Xf=e=>e.replace(/\$/g,"$$$$");class gA{constructor(){var a;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=oi.create("interpolator"),this.options=n,this.format=((a=n==null?void 0:n.interpolation)==null?void 0:a.format)||(r=>r),this.init(n)}init(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};n.interpolation||(n.interpolation={escapeValue:!0});const{escape:a,escapeValue:r,useRawValueToEscape:o,prefix:u,prefixEscaped:d,suffix:m,suffixEscaped:h,formatSeparator:g,unescapeSuffix:y,unescapePrefix:b,nestingPrefix:x,nestingPrefixEscaped:S,nestingSuffix:E,nestingSuffixEscaped:A,nestingOptionsSeparator:N,maxReplaces:M,alwaysFormat:V}=n.interpolation;this.escape=a!==void 0?a:uA,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=o!==void 0?o:!1,this.prefix=u?Xs(u):d||"{{",this.suffix=m?Xs(m):h||"}}",this.formatSeparator=g||",",this.unescapePrefix=y?"":b||"-",this.unescapeSuffix=this.unescapePrefix?"":y||"",this.nestingPrefix=x?Xs(x):S||Xs("$t("),this.nestingSuffix=E?Xs(E):A||Xs(")"),this.nestingOptionsSeparator=N||",",this.maxReplaces=M||1e3,this.alwaysFormat=V!==void 0?V:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const n=(a,r)=>(a==null?void 0:a.source)===r?(a.lastIndex=0,a):new RegExp(r,"g");this.regexp=n(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=n(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=n(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(n,a,r,o){var S;let u,d,m;const h=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},g=E=>{if(E.indexOf(this.formatSeparator)<0){const V=g0(a,h,E,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(V,void 0,r,{...o,...a,interpolationkey:E}):V}const A=E.split(this.formatSeparator),N=A.shift().trim(),M=A.join(this.formatSeparator).trim();return this.format(g0(a,h,N,this.options.keySeparator,this.options.ignoreJSONStructure),M,r,{...o,...a,interpolationkey:N})};this.resetRegExp();const y=(o==null?void 0:o.missingInterpolationHandler)||this.options.missingInterpolationHandler,b=((S=o==null?void 0:o.interpolation)==null?void 0:S.skipOnVariables)!==void 0?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:E=>Xf(E)},{regex:this.regexp,safeValue:E=>this.escapeValue?Xf(this.escape(E)):Xf(E)}].forEach(E=>{for(m=0;u=E.regex.exec(n);){const A=u[1].trim();if(d=g(A),d===void 0)if(typeof y=="function"){const M=y(n,u,o);d=Me(M)?M:""}else if(o&&Object.prototype.hasOwnProperty.call(o,A))d="";else if(b){d=u[0];continue}else this.logger.warn(`missed to pass in variable ${A} for interpolating ${n}`),d="";else!Me(d)&&!this.useRawValueToEscape&&(d=r0(d));const N=E.safeValue(d);if(n=n.replace(u[0],N),b?(E.regex.lastIndex+=d.length,E.regex.lastIndex-=u[0].length):E.regex.lastIndex=0,m++,m>=this.maxReplaces)break}}),n}nest(n,a){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o,u,d;const m=(h,g)=>{const y=this.nestingOptionsSeparator;if(h.indexOf(y)<0)return h;const b=h.split(new RegExp(`${y}[ ]*{`));let x=`{${b[1]}`;h=b[0],x=this.interpolate(x,d);const S=x.match(/'/g),E=x.match(/"/g);(((S==null?void 0:S.length)??0)%2===0&&!E||E.length%2!==0)&&(x=x.replace(/'/g,'"'));try{d=JSON.parse(x),g&&(d={...g,...d})}catch(A){return this.logger.warn(`failed parsing options string in nesting for key ${h}`,A),`${h}${y}${x}`}return d.defaultValue&&d.defaultValue.indexOf(this.prefix)>-1&&delete d.defaultValue,h};for(;o=this.nestingRegexp.exec(n);){let h=[];d={...r},d=d.replace&&!Me(d.replace)?d.replace:d,d.applyPostProcessor=!1,delete d.defaultValue;let g=!1;if(o[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(o[1])){const y=o[1].split(this.formatSeparator).map(b=>b.trim());o[1]=y.shift(),h=y,g=!0}if(u=a(m.call(this,o[1].trim(),d),d),u&&o[0]===n&&!Me(u))return u;Me(u)||(u=r0(u)),u||(this.logger.warn(`missed to resolve ${o[1]} for nesting ${n}`),u=""),g&&(u=h.reduce((y,b)=>this.format(y,b,r.lng,{...r,interpolationkey:o[1].trim()}),u.trim())),n=n.replace(o[0],u),this.regexp.lastIndex=0}return n}}const yA=e=>{let n=e.toLowerCase().trim();const a={};if(e.indexOf("(")>-1){const r=e.split("(");n=r[0].toLowerCase().trim();const o=r[1].substring(0,r[1].length-1);n==="currency"&&o.indexOf(":")<0?a.currency||(a.currency=o.trim()):n==="relativetime"&&o.indexOf(":")<0?a.range||(a.range=o.trim()):o.split(";").forEach(d=>{if(d){const[m,...h]=d.split(":"),g=h.join(":").trim().replace(/^'+|'+$/g,""),y=m.trim();a[y]||(a[y]=g),g==="false"&&(a[y]=!1),g==="true"&&(a[y]=!0),isNaN(g)||(a[y]=parseInt(g,10))}})}return{formatName:n,formatOptions:a}},Is=e=>{const n={};return(a,r,o)=>{let u=o;o&&o.interpolationkey&&o.formatParams&&o.formatParams[o.interpolationkey]&&o[o.interpolationkey]&&(u={...u,[o.interpolationkey]:void 0});const d=r+JSON.stringify(u);let m=n[d];return m||(m=e(Fu(r),o),n[d]=m),m(a)}};class vA{constructor(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=oi.create("formatter"),this.options=n,this.formats={number:Is((a,r)=>{const o=new Intl.NumberFormat(a,{...r});return u=>o.format(u)}),currency:Is((a,r)=>{const o=new Intl.NumberFormat(a,{...r,style:"currency"});return u=>o.format(u)}),datetime:Is((a,r)=>{const o=new Intl.DateTimeFormat(a,{...r});return u=>o.format(u)}),relativetime:Is((a,r)=>{const o=new Intl.RelativeTimeFormat(a,{...r});return u=>o.format(u,r.range||"day")}),list:Is((a,r)=>{const o=new Intl.ListFormat(a,{...r});return u=>o.format(u)})},this.init(n)}init(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};this.formatSeparator=a.interpolation.formatSeparator||","}add(n,a){this.formats[n.toLowerCase().trim()]=a}addCached(n,a){this.formats[n.toLowerCase().trim()]=Is(a)}format(n,a,r){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const u=a.split(this.formatSeparator);if(u.length>1&&u[0].indexOf("(")>1&&u[0].indexOf(")")<0&&u.find(m=>m.indexOf(")")>-1)){const m=u.findIndex(h=>h.indexOf(")")>-1);u[0]=[u[0],...u.splice(1,m)].join(this.formatSeparator)}return u.reduce((m,h)=>{var b;const{formatName:g,formatOptions:y}=yA(h);if(this.formats[g]){let x=m;try{const S=((b=o==null?void 0:o.formatParams)==null?void 0:b[o.interpolationkey])||{},E=S.locale||S.lng||o.locale||o.lng||r;x=this.formats[g](m,E,{...y,...o,...S})}catch(S){this.logger.warn(S)}return x}else this.logger.warn(`there was no format function for ${g}`);return m},n)}}const xA=(e,n)=>{e.pending[n]!==void 0&&(delete e.pending[n],e.pendingCount--)};class bA extends fc{constructor(n,a,r){var u,d;let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=n,this.store=a,this.services=r,this.languageUtils=r.languageUtils,this.options=o,this.logger=oi.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=o.maxParallelReads||10,this.readingCalls=0,this.maxRetries=o.maxRetries>=0?o.maxRetries:5,this.retryTimeout=o.retryTimeout>=1?o.retryTimeout:350,this.state={},this.queue=[],(d=(u=this.backend)==null?void 0:u.init)==null||d.call(u,r,o.backend,o)}queueLoad(n,a,r,o){const u={},d={},m={},h={};return n.forEach(g=>{let y=!0;a.forEach(b=>{const x=`${g}|${b}`;!r.reload&&this.store.hasResourceBundle(g,b)?this.state[x]=2:this.state[x]<0||(this.state[x]===1?d[x]===void 0&&(d[x]=!0):(this.state[x]=1,y=!1,d[x]===void 0&&(d[x]=!0),u[x]===void 0&&(u[x]=!0),h[b]===void 0&&(h[b]=!0)))}),y||(m[g]=!0)}),(Object.keys(u).length||Object.keys(d).length)&&this.queue.push({pending:d,pendingCount:Object.keys(d).length,loaded:{},errors:[],callback:o}),{toLoad:Object.keys(u),pending:Object.keys(d),toLoadLanguages:Object.keys(m),toLoadNamespaces:Object.keys(h)}}loaded(n,a,r){const o=n.split("|"),u=o[0],d=o[1];a&&this.emit("failedLoading",u,d,a),!a&&r&&this.store.addResourceBundle(u,d,r,void 0,void 0,{skipCopy:!0}),this.state[n]=a?-1:2,a&&r&&(this.state[n]=0);const m={};this.queue.forEach(h=>{rA(h.loaded,[u],d),xA(h,n),a&&h.errors.push(a),h.pendingCount===0&&!h.done&&(Object.keys(h.loaded).forEach(g=>{m[g]||(m[g]={});const y=h.loaded[g];y.length&&y.forEach(b=>{m[g][b]===void 0&&(m[g][b]=!0)})}),h.done=!0,h.errors.length?h.callback(h.errors):h.callback())}),this.emit("loaded",m),this.queue=this.queue.filter(h=>!h.done)}read(n,a,r){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,d=arguments.length>5?arguments[5]:void 0;if(!n.length)return d(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:n,ns:a,fcName:r,tried:o,wait:u,callback:d});return}this.readingCalls++;const m=(g,y)=>{if(this.readingCalls--,this.waitingReads.length>0){const b=this.waitingReads.shift();this.read(b.lng,b.ns,b.fcName,b.tried,b.wait,b.callback)}if(g&&y&&o<this.maxRetries){setTimeout(()=>{this.read.call(this,n,a,r,o+1,u*2,d)},u);return}d(g,y)},h=this.backend[r].bind(this.backend);if(h.length===2){try{const g=h(n,a);g&&typeof g.then=="function"?g.then(y=>m(null,y)).catch(m):m(null,g)}catch(g){m(g)}return}return h(n,a,m)}prepareLoading(n,a){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();Me(n)&&(n=this.languageUtils.toResolveHierarchy(n)),Me(a)&&(a=[a]);const u=this.queueLoad(n,a,r,o);if(!u.toLoad.length)return u.pending.length||o(),null;u.toLoad.forEach(d=>{this.loadOne(d)})}load(n,a,r){this.prepareLoading(n,a,{},r)}reload(n,a,r){this.prepareLoading(n,a,{reload:!0},r)}loadOne(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const r=n.split("|"),o=r[0],u=r[1];this.read(o,u,"read",void 0,void 0,(d,m)=>{d&&this.logger.warn(`${a}loading namespace ${u} for language ${o} failed`,d),!d&&m&&this.logger.log(`${a}loaded namespace ${u} for language ${o}`,m),this.loaded(n,d,m)})}saveMissing(n,a,r,o,u){var h,g,y,b,x;let d=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},m=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if((g=(h=this.services)==null?void 0:h.utils)!=null&&g.hasLoadedNamespace&&!((b=(y=this.services)==null?void 0:y.utils)!=null&&b.hasLoadedNamespace(a))){this.logger.warn(`did not save key "${r}" as the namespace "${a}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(r==null||r==="")){if((x=this.backend)!=null&&x.create){const S={...d,isUpdate:u},E=this.backend.create.bind(this.backend);if(E.length<6)try{let A;E.length===5?A=E(n,a,r,o,S):A=E(n,a,r,o),A&&typeof A.then=="function"?A.then(N=>m(null,N)).catch(m):m(null,A)}catch(A){m(A)}else E(n,a,r,o,m,S)}!n||!n[0]||this.store.addResource(n[0],a,r,o)}}}const y0=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let n={};if(typeof e[1]=="object"&&(n=e[1]),Me(e[1])&&(n.defaultValue=e[1]),Me(e[2])&&(n.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const a=e[3]||e[2];Object.keys(a).forEach(r=>{n[r]=a[r]})}return n},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),v0=e=>{var n,a;return Me(e.ns)&&(e.ns=[e.ns]),Me(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),Me(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),((a=(n=e.supportedLngs)==null?void 0:n.indexOf)==null?void 0:a.call(n,"cimode"))<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),typeof e.initImmediate=="boolean"&&(e.initAsync=e.initImmediate),e},bu=()=>{},wA=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(a=>{typeof e[a]=="function"&&(e[a]=e[a].bind(e))})};class Hl extends fc{constructor(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;if(super(),this.options=v0(n),this.services={},this.logger=oi,this.modules={external:[]},wA(this),a&&!this.isInitialized&&!n.isClone){if(!this.options.initAsync)return this.init(n,a),this;setTimeout(()=>{this.init(n,a)},0)}}init(){var n=this;let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof a=="function"&&(r=a,a={}),a.defaultNS==null&&a.ns&&(Me(a.ns)?a.defaultNS=a.ns:a.ns.indexOf("translation")<0&&(a.defaultNS=a.ns[0]));const o=y0();this.options={...o,...this.options,...v0(a)},this.options.interpolation={...o.interpolation,...this.options.interpolation},a.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=a.keySeparator),a.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=a.nsSeparator);const u=y=>y?typeof y=="function"?new y:y:null;if(!this.options.isClone){this.modules.logger?oi.init(u(this.modules.logger),this.options):oi.init(null,this.options);let y;this.modules.formatter?y=this.modules.formatter:y=vA;const b=new h0(this.options);this.store=new c0(this.options.resources,this.options);const x=this.services;x.logger=oi,x.resourceStore=this.store,x.languageUtils=b,x.pluralResolver=new pA(b,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),y&&(!this.options.interpolation.format||this.options.interpolation.format===o.interpolation.format)&&(x.formatter=u(y),x.formatter.init(x,this.options),this.options.interpolation.format=x.formatter.format.bind(x.formatter)),x.interpolator=new gA(this.options),x.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},x.backendConnector=new bA(u(this.modules.backend),x.resourceStore,x,this.options),x.backendConnector.on("*",function(S){for(var E=arguments.length,A=new Array(E>1?E-1:0),N=1;N<E;N++)A[N-1]=arguments[N];n.emit(S,...A)}),this.modules.languageDetector&&(x.languageDetector=u(this.modules.languageDetector),x.languageDetector.init&&x.languageDetector.init(x,this.options.detection,this.options)),this.modules.i18nFormat&&(x.i18nFormat=u(this.modules.i18nFormat),x.i18nFormat.init&&x.i18nFormat.init(this)),this.translator=new Yu(this.services,this.options),this.translator.on("*",function(S){for(var E=arguments.length,A=new Array(E>1?E-1:0),N=1;N<E;N++)A[N-1]=arguments[N];n.emit(S,...A)}),this.modules.external.forEach(S=>{S.init&&S.init(this)})}if(this.format=this.options.interpolation.format,r||(r=bu),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const y=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);y.length>0&&y[0]!=="dev"&&(this.options.lng=y[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(y=>{this[y]=function(){return n.store[y](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(y=>{this[y]=function(){return n.store[y](...arguments),n}});const h=Sl(),g=()=>{const y=(b,x)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),h.resolve(x),r(b,x)};if(this.languages&&!this.isInitialized)return y(null,this.t.bind(this));this.changeLanguage(this.options.lng,y)};return this.options.resources||!this.options.initAsync?g():setTimeout(g,0),h}loadResources(n){var u,d;let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:bu;const o=Me(n)?n:this.language;if(typeof n=="function"&&(r=n),!this.options.resources||this.options.partialBundledLanguages){if((o==null?void 0:o.toLowerCase())==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const m=[],h=g=>{if(!g||g==="cimode")return;this.services.languageUtils.toResolveHierarchy(g).forEach(b=>{b!=="cimode"&&m.indexOf(b)<0&&m.push(b)})};o?h(o):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(y=>h(y)),(d=(u=this.options.preload)==null?void 0:u.forEach)==null||d.call(u,g=>h(g)),this.services.backendConnector.load(m,this.options.ns,g=>{!g&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(g)})}else r(null)}reloadResources(n,a,r){const o=Sl();return typeof n=="function"&&(r=n,n=void 0),typeof a=="function"&&(r=a,a=void 0),n||(n=this.languages),a||(a=this.options.ns),r||(r=bu),this.services.backendConnector.reload(n,a,u=>{o.resolve(),r(u)}),o}use(n){if(!n)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!n.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return n.type==="backend"&&(this.modules.backend=n),(n.type==="logger"||n.log&&n.warn&&n.error)&&(this.modules.logger=n),n.type==="languageDetector"&&(this.modules.languageDetector=n),n.type==="i18nFormat"&&(this.modules.i18nFormat=n),n.type==="postProcessor"&&Pw.addPostProcessor(n),n.type==="formatter"&&(this.modules.formatter=n),n.type==="3rdParty"&&this.modules.external.push(n),this}setResolvedLanguage(n){if(!(!n||!this.languages)&&!(["cimode","dev"].indexOf(n)>-1))for(let a=0;a<this.languages.length;a++){const r=this.languages[a];if(!(["cimode","dev"].indexOf(r)>-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}}changeLanguage(n,a){var r=this;this.isLanguageChangingTo=n;const o=Sl();this.emit("languageChanging",n);const u=h=>{this.language=h,this.languages=this.services.languageUtils.toResolveHierarchy(h),this.resolvedLanguage=void 0,this.setResolvedLanguage(h)},d=(h,g)=>{g?(u(g),this.translator.changeLanguage(g),this.isLanguageChangingTo=void 0,this.emit("languageChanged",g),this.logger.log("languageChanged",g)):this.isLanguageChangingTo=void 0,o.resolve(function(){return r.t(...arguments)}),a&&a(h,function(){return r.t(...arguments)})},m=h=>{var y,b;!n&&!h&&this.services.languageDetector&&(h=[]);const g=Me(h)?h:this.services.languageUtils.getBestMatchFromCodes(h);g&&(this.language||u(g),this.translator.language||this.translator.changeLanguage(g),(b=(y=this.services.languageDetector)==null?void 0:y.cacheUserLanguage)==null||b.call(y,g)),this.loadResources(g,x=>{d(x,g)})};return!n&&this.services.languageDetector&&!this.services.languageDetector.async?m(this.services.languageDetector.detect()):!n&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(m):this.services.languageDetector.detect(m):m(n),o}getFixedT(n,a,r){var o=this;const u=function(d,m){let h;if(typeof m!="object"){for(var g=arguments.length,y=new Array(g>2?g-2:0),b=2;b<g;b++)y[b-2]=arguments[b];h=o.options.overloadTranslationOptionHandler([d,m].concat(y))}else h={...m};h.lng=h.lng||u.lng,h.lngs=h.lngs||u.lngs,h.ns=h.ns||u.ns,h.keyPrefix!==""&&(h.keyPrefix=h.keyPrefix||r||u.keyPrefix);const x=o.options.keySeparator||".";let S;return h.keyPrefix&&Array.isArray(d)?S=d.map(E=>`${h.keyPrefix}${x}${E}`):S=h.keyPrefix?`${h.keyPrefix}${x}${d}`:d,o.t(S,h)};return Me(n)?u.lng=n:u.lngs=n,u.ns=a,u.keyPrefix=r,u}t(){var o;for(var n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return(o=this.translator)==null?void 0:o.translate(...a)}exists(){var o;for(var n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return(o=this.translator)==null?void 0:o.exists(...a)}setDefaultNamespace(n){this.options.defaultNS=n}hasLoadedNamespace(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const r=a.lng||this.resolvedLanguage||this.languages[0],o=this.options?this.options.fallbackLng:!1,u=this.languages[this.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const d=(m,h)=>{const g=this.services.backendConnector.state[`${m}|${h}`];return g===-1||g===0||g===2};if(a.precheck){const m=a.precheck(this,d);if(m!==void 0)return m}return!!(this.hasResourceBundle(r,n)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||d(r,n)&&(!o||d(u,n)))}loadNamespaces(n,a){const r=Sl();return this.options.ns?(Me(n)&&(n=[n]),n.forEach(o=>{this.options.ns.indexOf(o)<0&&this.options.ns.push(o)}),this.loadResources(o=>{r.resolve(),a&&a(o)}),r):(a&&a(),Promise.resolve())}loadLanguages(n,a){const r=Sl();Me(n)&&(n=[n]);const o=this.options.preload||[],u=n.filter(d=>o.indexOf(d)<0&&this.services.languageUtils.isSupportedCode(d));return u.length?(this.options.preload=o.concat(u),this.loadResources(d=>{r.resolve(),a&&a(d)}),r):(a&&a(),Promise.resolve())}dir(n){var o,u;if(n||(n=this.resolvedLanguage||(((o=this.languages)==null?void 0:o.length)>0?this.languages[0]:this.language)),!n)return"rtl";const a=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],r=((u=this.services)==null?void 0:u.languageUtils)||new h0(y0());return a.indexOf(r.getLanguagePartFromCode(n))>-1||n.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;return new Hl(n,a)}cloneInstance(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:bu;const r=n.forkResourceStore;r&&delete n.forkResourceStore;const o={...this.options,...n,isClone:!0},u=new Hl(o);if((n.debug!==void 0||n.prefix!==void 0)&&(u.logger=u.logger.clone(n)),["store","services","language"].forEach(m=>{u[m]=this[m]}),u.services={...this.services},u.services.utils={hasLoadedNamespace:u.hasLoadedNamespace.bind(u)},r){const m=Object.keys(this.store.data).reduce((h,g)=>(h[g]={...this.store.data[g]},Object.keys(h[g]).reduce((y,b)=>(y[b]={...h[g][b]},y),{})),{});u.store=new c0(m,o),u.services.resourceStore=u.store}return u.translator=new Yu(u.services,o),u.translator.on("*",function(m){for(var h=arguments.length,g=new Array(h>1?h-1:0),y=1;y<h;y++)g[y-1]=arguments[y];u.emit(m,...g)}),u.init(o,a),u.translator.options=o,u.translator.backendConnector.services.utils={hasLoadedNamespace:u.hasLoadedNamespace.bind(u)},u}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const Zt=Hl.createInstance();Zt.createInstance=Hl.createInstance;Zt.createInstance;Zt.dir;Zt.init;Zt.loadResources;Zt.reloadResources;Zt.use;Zt.changeLanguage;Zt.getFixedT;Zt.t;Zt.exists;Zt.setDefaultNamespace;Zt.hasLoadedNamespace;Zt.loadNamespaces;Zt.loadLanguages;const SA=(e,n,a,r)=>{var u,d,m,h;const o=[a,{code:n,...r||{}}];if((d=(u=e==null?void 0:e.services)==null?void 0:u.logger)!=null&&d.forward)return e.services.logger.forward(o,"warn","react-i18next::",!0);as(o[0])&&(o[0]=`react-i18next:: ${o[0]}`),(h=(m=e==null?void 0:e.services)==null?void 0:m.logger)!=null&&h.warn?e.services.logger.warn(...o):console!=null&&console.warn&&console.warn(...o)},x0={},wh=(e,n,a,r)=>{as(a)&&x0[a]||(as(a)&&(x0[a]=new Date),SA(e,n,a,r))},Hw=(e,n)=>()=>{if(e.isInitialized)n();else{const a=()=>{setTimeout(()=>{e.off("initialized",a)},0),n()};e.on("initialized",a)}},Sh=(e,n,a)=>{e.loadNamespaces(n,Hw(e,a))},b0=(e,n,a,r)=>{if(as(a)&&(a=[a]),e.options.preload&&e.options.preload.indexOf(n)>-1)return Sh(e,a,r);a.forEach(o=>{e.options.ns.indexOf(o)<0&&e.options.ns.push(o)}),e.loadLanguages(n,Hw(e,r))},EA=(e,n,a={})=>!n.languages||!n.languages.length?(wh(n,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:n.languages}),!0):n.hasLoadedNamespace(e,{lng:a.lng,precheck:(r,o)=>{var u;if(((u=a.bindI18n)==null?void 0:u.indexOf("languageChanging"))>-1&&r.services.backendConnector.backend&&r.isLanguageChangingTo&&!o(r.isLanguageChangingTo,e))return!1}}),as=e=>typeof e=="string",TA=e=>typeof e=="object"&&e!==null,jA=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,CA={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},AA=e=>CA[e],RA=e=>e.replace(jA,AA);let Eh={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:RA};const MA=(e={})=>{Eh={...Eh,...e}},NA=()=>Eh;let _w;const DA=e=>{_w=e},OA=()=>_w,LA={type:"3rdParty",init(e){MA(e.options.react),DA(e)}},kA=R.createContext();class zA{constructor(){this.usedNamespaces={}}addUsedNamespaces(n){n.forEach(a=>{this.usedNamespaces[a]||(this.usedNamespaces[a]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const VA=(e,n)=>{const a=R.useRef();return R.useEffect(()=>{a.current=e},[e,n]),a.current},qw=(e,n,a,r)=>e.getFixedT(n,a,r),BA=(e,n,a,r)=>R.useCallback(qw(e,n,a,r),[e,n,a,r]),UA=(e,n={})=>{var J,P,C,ee;const{i18n:a}=n,{i18n:r,defaultNS:o}=R.useContext(kA)||{},u=a||r||OA();if(u&&!u.reportNamespaces&&(u.reportNamespaces=new zA),!u){wh(u,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const X=(te,fe)=>as(fe)?fe:TA(fe)&&as(fe.defaultValue)?fe.defaultValue:Array.isArray(te)?te[te.length-1]:te,F=[X,{},!1];return F.t=X,F.i18n={},F.ready=!1,F}(J=u.options.react)!=null&&J.wait&&wh(u,"DEPRECATED_OPTION","useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const d={...NA(),...u.options.react,...n},{useSuspense:m,keyPrefix:h}=d;let g=o||((P=u.options)==null?void 0:P.defaultNS);g=as(g)?[g]:g||["translation"],(ee=(C=u.reportNamespaces).addUsedNamespaces)==null||ee.call(C,g);const y=(u.isInitialized||u.initializedStoreOnce)&&g.every(X=>EA(X,u,d)),b=BA(u,n.lng||null,d.nsMode==="fallback"?g:g[0],h),x=()=>b,S=()=>qw(u,n.lng||null,d.nsMode==="fallback"?g:g[0],h),[E,A]=R.useState(x);let N=g.join();n.lng&&(N=`${n.lng}${N}`);const M=VA(N),V=R.useRef(!0);R.useEffect(()=>{const{bindI18n:X,bindI18nStore:F}=d;V.current=!0,!y&&!m&&(n.lng?b0(u,n.lng,g,()=>{V.current&&A(S)}):Sh(u,g,()=>{V.current&&A(S)})),y&&M&&M!==N&&V.current&&A(S);const te=()=>{V.current&&A(S)};return X&&(u==null||u.on(X,te)),F&&(u==null||u.store.on(F,te)),()=>{V.current=!1,u&&(X==null||X.split(" ").forEach(fe=>u.off(fe,te))),F&&u&&F.split(" ").forEach(fe=>u.store.off(fe,te))}},[u,N]),R.useEffect(()=>{V.current&&y&&A(x)},[u,h,y]);const _=[E,u,y];if(_.t=E,_.i18n=u,_.ready=y,y||!y&&!m)return _;throw new Promise(X=>{n.lng?b0(u,n.lng,g,()=>X()):Sh(u,g,()=>X())})},PA="Office Hours: 09:00 to 18:00 (Mon~Fri)",HA="Mail Us",_A={openingHours:PA,mail:HA},qA="営業時間: 06:00〜20:00",FA="",$A={openingHours:qA,mail:FA};Zt.use(LA).init({resources:{en:{translation:_A},ja:{translation:$A}},lng:"en",fallbackLng:"en",interpolation:{escapeValue:!1}});const YA=()=>{const{t:e,i18n:n}=UA();return p.jsx(p.Fragment,{children:p.jsx("div",{className:"bg-seconary h-[60px] hidden lg:flex items-center text-color-1",children:p.jsxs(se.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:1,delay:.5},className:"cusContainer mx-auto flex justify-between items-center px-15  xl:px-0",children:[p.jsx("p",{className:"xl:text-lg lg:text-sm font-sans",children:e("openingHours")}),p.jsx("div",{children:p.jsxs("ul",{className:"flex flex-row  text-lg sm:text-xl ",children:[p.jsx("li",{children:p.jsx("a",{href:"https://www.facebook.com/acejapanltd",className:"block xl:px-4 px-2 py-4 ",children:p.jsx(WC,{})})}),p.jsx("li",{children:p.jsx("a",{href:"#",className:"block xl:px-4 px-2 py-4 ",children:p.jsx(Bw,{})})}),p.jsx("li",{children:p.jsx("a",{href:"#",className:"block xl:px-4 px-2 py-4 ",children:p.jsx(Em,{})})}),p.jsx("li",{children:p.jsx("a",{href:"#",className:"block xl:px-4 px-2 py-4 ",children:p.jsx(tA,{})})})]})})]})})})};function GA(e){return an({attr:{viewBox:"0 0 15 15",fill:"none"},child:[{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",d:"M12.8536 2.85355C13.0488 2.65829 13.0488 2.34171 12.8536 2.14645C12.6583 1.95118 12.3417 1.95118 12.1464 2.14645L7.5 6.79289L2.85355 2.14645C2.65829 1.95118 2.34171 1.95118 2.14645 2.14645C1.95118 2.34171 1.95118 2.65829 2.14645 2.85355L6.79289 7.5L2.14645 12.1464C1.95118 12.3417 1.95118 12.6583 2.14645 12.8536C2.34171 13.0488 2.65829 13.0488 2.85355 12.8536L7.5 8.20711L12.1464 12.8536C12.3417 13.0488 12.6583 13.0488 12.8536 12.8536C13.0488 12.6583 13.0488 12.3417 12.8536 12.1464L8.20711 7.5L12.8536 2.85355Z",fill:"currentColor"},child:[]}]})(e)}function KA(e){return an({attr:{viewBox:"0 0 15 15",fill:"none"},child:[{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 3C1.22386 3 1 3.22386 1 3.5C1 3.77614 1.22386 4 1.5 4H13.5C13.7761 4 14 3.77614 14 3.5C14 3.22386 13.7761 3 13.5 3H1.5ZM1 7.5C1 7.22386 1.22386 7 1.5 7H13.5C13.7761 7 14 7.22386 14 7.5C14 7.77614 13.7761 8 13.5 8H1.5C1.22386 8 1 7.77614 1 7.5ZM1 11.5C1 11.2239 1.22386 11 1.5 11H13.5C13.7761 11 14 11.2239 14 11.5C14 11.7761 13.7761 12 13.5 12H1.5C1.22386 12 1 11.7761 1 11.5Z",fill:"currentColor"},child:[]}]})(e)}const XA=Array(8).fill({image:"/PartnersImg/image 1.png"}),If=XA.map((e,n)=>({image:`/PartnersImg/image ${n+1}.png`,delay:`0.${n}`})),IA=[{Businessimg:"businessImg/businessImg1.png",Businesstitle:"Digitalization",delay:.3},{Businessimg:"businessImg/businessImg2.png",Businesstitle:"Smart Society",delay:.4},{Businessimg:"businessImg/businessImg3.png",Businesstitle:"Sustainability ",delay:.5}],w0=[{name:"Home",path:"/"},{name:"About Us",path:"/aboutus"},{name:"Service",path:"/service",subPages:[{name:"Web Development",path:"/service/web-development"},{name:"App Development",path:"/service/app-development"}]},{name:"Recruit",path:"/recruit"},{name:"Get in Touch",path:"/contactus"}],ZA=[{img:"correctIcon.svg",title:"Customer-Centric Culture",text:"We prioritize our clients’ needs and work tirelessly to provide personalized and impactful solutions.",delay:.2},{img:"correctIcon.svg",title:"Competitive Value Proposition",text:"By combining expertise, efficiency and innovation we deliver outstanding results that enhance your business performance.",delay:.3},{img:"correctIcon.svg",title:"Young And Energetic Professionals",text:"Our team of dynamic and motivated professionals brings fresh perspectives and cutting-edge skills to every project.",delay:.4},{img:"correctIcon.svg",title:"Continuous Education and Quality Assurance",text:"We emphasize ongoing learning and rigorous quality checks to ensure that our services exceed industry standards and client expectations.",delay:.4}],QA=[{img:"/TechSkill/html.png",tech:"HTML5"},{img:"/TechSkill/css.png",tech:"CSS 3"},{img:"/TechSkill/js.png",tech:"JavaScript"},{img:"/TechSkill/ruby.png",tech:"Ruby"},{img:"/TechSkill/mixpanel.png",tech:"Mixpanel"},{img:"/TechSkill/framer.png",tech:"Framer"}],JA=[{img:"correctIcon.svg",title:"RISO Innovation Lab",text:"We prioritize our clients’ needs and work tirelessly to provide personalized and impactful solutions.",delay:.2},{img:"correctIcon.svg",title:"Sprint Light Training Center",text:"By combining expertise, efficiency and innovation we deliver outstanding results that enhance your business performance.",delay:.3},{img:"correctIcon.svg",title:"SPS Training Center",text:"Our team of dynamic and motivated professionals brings fresh perspectives and cutting-edge skills to every project.",delay:.4},{img:"correctIcon.svg",title:"ACE Inspiration Training Center",text:"We emphasize ongoing learning and rigorous quality checks to ensure that our services exceed industry standards and client expectations.",delay:.4}],WA=[{img:"correctIcon.svg",title:"10 Years Experiance",text:"We dispatched IT consultants and system engineers to Hitachi Ltd, Hitachi Solutions Ltd and Fujitsu Ltd for large-scale system development and upgrade projects for major Japanese banks.",delay:.2}],eR=()=>{const[e,n]=R.useState(!1),a=Sa(),[r,o]=R.useState(!1),[u,d]=R.useState(!1),h=["/outsourceservice","/recruitment","/operating","/nearshore","/offshore"].some(g=>a.pathname.startsWith(g));return p.jsxs(p.Fragment,{children:[p.jsx("div",{className:"sticky top-0 px-15 xl:px-0 cusContainer mx-auto z-50",children:p.jsxs("div",{className:"bg-red h-auto w-full mx-auto mt-5 items-center justify-between shadow-md hidden lg:flex xl:p-4 p-2",children:[p.jsx("div",{className:"text-white flex xl:text-lg lg:text-xs",children:w0.filter(g=>g.name!=="Get in Touch").map((g,y)=>{const b=a.pathname===g.path||g.name==="Service"&&h;return p.jsxs("div",{className:`xl:pl-5 ${g.name==="Service"?"relative":""}`,onMouseLeave:()=>g.name==="Service"&&o(!1),children:[p.jsx(se.div,{animate:b?{color:"#C12329",backgroundColor:"white"}:{},whileHover:{color:"red"},transition:{duration:.2,ease:"easeInOut"},className:"cursor-pointer font-bold px-3 py-2 duration-200 nav relative flex items-center gap-2",children:p.jsx(Wt,{to:g.path,onClick:x=>{g.name==="Service"&&(x.preventDefault(),o(!r))},children:p.jsx("span",{className:"group-hover:text-red",children:g.name})})}),g.name==="Service"&&r&&p.jsxs(se.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.3,ease:"easeInOut"},className:"absolute xl:left-4 md:left-0 top-12 z-50 lg:w-[500px] md:w-[300px] py-4 bg-white text-black shadow-lg rounded-md font-bold px-2 dropDown",children:[p.jsx(Wt,{to:"/outsourceservice",className:"block px-4 py-4",children:p.jsx("span",{children:"Outsourcing Service"})}),p.jsx(Wt,{to:"/recruitment",className:"block px-4 py-4",children:p.jsx("span",{children:"Recruitment Service"})}),p.jsx(Wt,{to:"/operating",className:"block px-4 py-4",children:p.jsx("span",{children:"Operating & Maintenance Service"})}),p.jsx(Wt,{to:"/nearshore",className:"block px-4 py-4",children:p.jsx("span",{children:"Nearshore System Development"})}),p.jsx(Wt,{to:"/offshore",className:"block px-4 py-4",children:p.jsx("span",{children:"Offshore System Development"})})]})]},y)})}),p.jsxs("div",{className:"flex justify-center items-center mr-5 gap-4",children:[p.jsx("div",{className:"w-fit xl:py-4 py-2 px-6 bg-color-30 justify-center items-center hidden lg:flex",children:p.jsx(Wt,{to:"/contactus",className:"text-xl text-white",children:"Get in touch?"})}),p.jsxs("div",{className:"relative xl:w-[60px] xl:h-[60px] w-[50px] h-[50px] overflow-hidden cursor-pointer",children:[p.jsx("img",{src:"/JP (2).png",alt:"Japanese",className:`absolute w-full transition-transform duration-500 ${u?"translate-y-full ":"translate-y-0 "}`,onClick:()=>d(!0)}),p.jsx("img",{src:"/Eng.png",alt:"English",className:`absolute w-full transition-transform duration-500 ${u?"translate-y-0 ":"-translate-y-full "}`,onClick:()=>d(!1)})]})]})]})}),!e&&p.jsx("div",{className:"text-4xl text-color-1 lg:hidden absolute top-0 right-0 p-8 cursor-pointer  z-50",onClick:()=>n(!0),children:p.jsx(KA,{})}),p.jsx(rb,{children:e&&p.jsxs(se.div,{initial:{x:"100%"},animate:{x:"0%"},exit:{x:"100%"},transition:{duration:.3,ease:"easeInOut"},className:"fixed lg:hidden top-0 left-0 w-full h-full bg-seconary flex flex-col items-start text-left text-black justify-start font-semibold text-lg z-40",children:[p.jsx("div",{className:"absolute top-0 p-8 right-0 text-2xl cursor-pointer",onClick:()=>n(!1),children:p.jsx(GA,{className:"font-bold"})}),p.jsx("ul",{className:"space-y-6 w-full text-xl mt-20 font-bold",children:w0.map((g,y)=>{const b=a.pathname===g.path;return p.jsxs("div",{className:`xl:pl-5 ${g.name==="Service"?"relative":""}`,onMouseLeave:()=>g.name==="Service"&&o(!1),children:[p.jsx(se.div,{animate:b?{color:"white",backgroundColor:"black"}:{},className:`cursor-pointer font-bold pl-8 py-2 nav relative flex items-center gap-2 ${b?"text-white":""}`,children:p.jsx(Wt,{to:g.path,onClick:x=>{g.name==="Service"&&(x.preventDefault(),o(!r))},children:p.jsx("span",{className:"group-hover:text-white py-3",children:g.name})})}),g.name==="Service"&&r&&p.jsxs(se.div,{initial:{maxHeight:0,y:-10},animate:{maxHeight:300,y:0},exit:{maxHeight:0,y:-10},transition:{duration:.3,ease:"linear"},className:"text-black font-bold pl-6 dropDown overflow-hidden",children:[p.jsx(Wt,{to:"/outsourceservice",className:"block px-4 py-4",children:"OutSourcing Service"}),p.jsx(Wt,{to:"/recruitment",className:"block px-4 py-4",children:"Recriment Service"}),p.jsx(Wt,{to:"/operating",className:"block px-4 py-4",children:"Operating & Maintenance Service"}),p.jsx(Wt,{to:"/nearshore",className:"block px-4 py-4",children:"Nearshore System Development"}),p.jsx(Wt,{to:"/offshore",className:"block px-4 py-4",children:"Offshore System Development"})]})]},y)})})]})})]})},tR=()=>p.jsx(p.Fragment,{children:p.jsx(se.div,{className:"cusContainer px-4 md:px-15 xl:px-0 mx-auto md:items-center mt-5 md:flex md:justify-between flex justify-between items-center ",children:p.jsx(se.div,{className:" w-[180px]",children:p.jsx("div",{className:"w-full overflow-hidden",children:p.jsx(se.img,{initial:{opacity:0,x:-50},animate:{opacity:1,x:0},transition:{duration:.5,delay:.3},src:"Logo.jpg",alt:"ACEJapan-logo",className:" lg:w-full h-full object-cover w-[140px]"})})})})});/**
 * @license lucide-react v0.476.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const nR=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Fw=(...e)=>e.filter((n,a,r)=>!!n&&n.trim()!==""&&r.indexOf(n)===a).join(" ").trim();/**
 * @license lucide-react v0.476.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */var iR={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
 * @license lucide-react v0.476.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const aR=R.forwardRef(({color:e="currentColor",size:n=24,strokeWidth:a=2,absoluteStrokeWidth:r,className:o="",children:u,iconNode:d,...m},h)=>R.createElement("svg",{ref:h,...iR,width:n,height:n,stroke:e,strokeWidth:r?Number(a)*24/Number(n):a,className:Fw("lucide",o),...m},[...d.map(([g,y])=>R.createElement(g,y)),...Array.isArray(u)?u:[u]]));/**
 * @license lucide-react v0.476.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const sR=(e,n)=>{const a=R.forwardRef(({className:r,...o},u)=>R.createElement(aR,{ref:u,iconNode:n,className:Fw(`lucide-${nR(e)}`,r),...o}));return a.displayName=`${e}`,a};/**
 * @license lucide-react v0.476.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const rR=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],lR=sR("Send",rR);function oR(e){return an({attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M511.984.272C442.128.272 375.52 14.383 314.8 39.839a32.015 32.015 0 0 0-6.145 2.672C127.391 121.328.271 302.064.271 512.016c0 282.16 229.568 511.712 511.712 511.712 282.192 0 511.744-229.568 511.744-511.712C1023.727 229.824 794.175.272 511.983.272zm447.745 511.744c0 3.584-.192 7.12-.272 10.67-49.025-13.007-173.393-37.439-326.801-3.742-13.52-30.896-28.512-62.575-45.28-94.816-1.408-2.704-2.784-5.28-4.176-7.952 164.128-63.344 233.888-148.672 262.768-201.952C916.657 293.44 959.73 397.776 959.73 512.016zM797.537 167.438c-14.912 35.2-69.04 126-244.719 191.888-78.897-144.224-140.225-230.672-174.593-274.64 42.256-13.264 87.184-20.416 133.76-20.416 108.432 0 207.983 38.768 285.552 103.168zM316.05 109.519c27.216 33.28 90.384 117.056 175.104 270.447-200 60.288-362.448 53.04-418.832 47.792 26.816-140.144 119.072-257.312 243.729-318.239h-.001zM64.273 512.014c0-6.896.21-13.745.53-20.577 19.249 1.935 49.153 4.079 88.289 4.079 86.895 0 217.712-10.752 369.008-58.144a2450.562 2450.562 0 0 1 8.544 16.273c14.431 27.776 27.487 55.185 39.407 82.064-27.376 8.609-55.392 19.073-83.872 31.97-182.624 82.703-268.192 200.703-298.673 252.335-76.273-80.32-123.232-188.752-123.232-308zM236.1 864.236c16.24-30.752 90.607-154.082 276.447-238.258 27.968-12.672 55.52-22.784 82.384-30.912 60.736 154.32 81.808 281.568 88.177 330.593-52.752 21.905-110.528 34.065-171.12 34.065-104.016 0-199.792-35.76-275.888-95.488zm507.518 30.798c-9.232-61.6-32.145-177.392-85.969-315.664 148.448-29.552 265.952-.56 295.616 8.08-22.223 130.208-100.735 241.488-209.647 307.584z"},child:[]}]})(e)}const ze=e=>({hidden:{opacity:0,y:30},show:{opacity:1,y:0,transition:{duration:.3,delay:e}}}),$w=e=>({hidden:{opacity:0,x:-500},show:{opacity:1,x:0,transition:{duration:.5,delay:e}},exit:{opacity:0,x:50,scale:.5}}),Zn=e=>({hidden:{opacity:0,x:100},show:{opacity:1,x:0,transition:{duration:.5,delay:e}},exit:{opacity:0,x:50,scale:.5}}),Yw=()=>({hidden:{opacity:0,scale:0},show:{opacity:1,scale:1,transition:{duration:.5,delay:.5}}}),wu=({icon:e,delay:n})=>p.jsx(p.Fragment,{children:p.jsx(se.div,{variants:ze(n),initial:"hidden",whileInView:"show",className:"bg-white/10 p-2 rounded-full flex justify-center items-center",children:p.jsx(e,{className:"text-white text-2xl"})})});function Gw(e){var n,a,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(n=0;n<o;n++)e[n]&&(a=Gw(e[n]))&&(r&&(r+=" "),r+=a)}else for(a in e)e[a]&&(r&&(r+=" "),r+=a);return r}function uR(){for(var e,n,a=0,r="",o=arguments.length;a<o;a++)(e=arguments[a])&&(n=Gw(e))&&(r&&(r+=" "),r+=n);return r}const Tm="-",cR=e=>{const n=fR(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:d=>{const m=d.split(Tm);return m[0]===""&&m.length!==1&&m.shift(),Kw(m,n)||dR(d)},getConflictingClassGroupIds:(d,m)=>{const h=a[d]||[];return m&&r[d]?[...h,...r[d]]:h}}},Kw=(e,n)=>{var d;if(e.length===0)return n.classGroupId;const a=e[0],r=n.nextPart.get(a),o=r?Kw(e.slice(1),r):void 0;if(o)return o;if(n.validators.length===0)return;const u=e.join(Tm);return(d=n.validators.find(({validator:m})=>m(u)))==null?void 0:d.classGroupId},S0=/^\[(.+)\]$/,dR=e=>{if(S0.test(e)){const n=S0.exec(e)[1],a=n==null?void 0:n.substring(0,n.indexOf(":"));if(a)return"arbitrary.."+a}},fR=e=>{const{theme:n,classGroups:a}=e,r={nextPart:new Map,validators:[]};for(const o in a)Th(a[o],r,o,n);return r},Th=(e,n,a,r)=>{e.forEach(o=>{if(typeof o=="string"){const u=o===""?n:E0(n,o);u.classGroupId=a;return}if(typeof o=="function"){if(hR(o)){Th(o(r),n,a,r);return}n.validators.push({validator:o,classGroupId:a});return}Object.entries(o).forEach(([u,d])=>{Th(d,E0(n,u),a,r)})})},E0=(e,n)=>{let a=e;return n.split(Tm).forEach(r=>{a.nextPart.has(r)||a.nextPart.set(r,{nextPart:new Map,validators:[]}),a=a.nextPart.get(r)}),a},hR=e=>e.isThemeGetter,mR=e=>{if(e<1)return{get:()=>{},set:()=>{}};let n=0,a=new Map,r=new Map;const o=(u,d)=>{a.set(u,d),n++,n>e&&(n=0,r=a,a=new Map)};return{get(u){let d=a.get(u);if(d!==void 0)return d;if((d=r.get(u))!==void 0)return o(u,d),d},set(u,d){a.has(u)?a.set(u,d):o(u,d)}}},jh="!",Ch=":",pR=Ch.length,gR=e=>{const{prefix:n,experimentalParseClassName:a}=e;let r=o=>{const u=[];let d=0,m=0,h=0,g;for(let E=0;E<o.length;E++){let A=o[E];if(d===0&&m===0){if(A===Ch){u.push(o.slice(h,E)),h=E+pR;continue}if(A==="/"){g=E;continue}}A==="["?d++:A==="]"?d--:A==="("?m++:A===")"&&m--}const y=u.length===0?o:o.substring(h),b=yR(y),x=b!==y,S=g&&g>h?g-h:void 0;return{modifiers:u,hasImportantModifier:x,baseClassName:b,maybePostfixModifierPosition:S}};if(n){const o=n+Ch,u=r;r=d=>d.startsWith(o)?u(d.substring(o.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:d,maybePostfixModifierPosition:void 0}}if(a){const o=r;r=u=>a({className:u,parseClassName:o})}return r},yR=e=>e.endsWith(jh)?e.substring(0,e.length-1):e.startsWith(jh)?e.substring(1):e,vR=e=>{const n=Object.fromEntries(e.orderSensitiveModifiers.map(r=>[r,!0]));return r=>{if(r.length<=1)return r;const o=[];let u=[];return r.forEach(d=>{d[0]==="["||n[d]?(o.push(...u.sort(),d),u=[]):u.push(d)}),o.push(...u.sort()),o}},xR=e=>({cache:mR(e.cacheSize),parseClassName:gR(e),sortModifiers:vR(e),...cR(e)}),bR=/\s+/,wR=(e,n)=>{const{parseClassName:a,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:u}=n,d=[],m=e.trim().split(bR);let h="";for(let g=m.length-1;g>=0;g-=1){const y=m[g],{isExternal:b,modifiers:x,hasImportantModifier:S,baseClassName:E,maybePostfixModifierPosition:A}=a(y);if(b){h=y+(h.length>0?" "+h:h);continue}let N=!!A,M=r(N?E.substring(0,A):E);if(!M){if(!N){h=y+(h.length>0?" "+h:h);continue}if(M=r(E),!M){h=y+(h.length>0?" "+h:h);continue}N=!1}const V=u(x).join(":"),_=S?V+jh:V,J=_+M;if(d.includes(J))continue;d.push(J);const P=o(M,N);for(let C=0;C<P.length;++C){const ee=P[C];d.push(_+ee)}h=y+(h.length>0?" "+h:h)}return h};function SR(){let e=0,n,a,r="";for(;e<arguments.length;)(n=arguments[e++])&&(a=Xw(n))&&(r&&(r+=" "),r+=a);return r}const Xw=e=>{if(typeof e=="string")return e;let n,a="";for(let r=0;r<e.length;r++)e[r]&&(n=Xw(e[r]))&&(a&&(a+=" "),a+=n);return a};function ER(e,...n){let a,r,o,u=d;function d(h){const g=n.reduce((y,b)=>b(y),e());return a=xR(g),r=a.cache.get,o=a.cache.set,u=m,m(h)}function m(h){const g=r(h);if(g)return g;const y=wR(h,a);return o(h,y),y}return function(){return u(SR.apply(null,arguments))}}const kt=e=>{const n=a=>a[e]||[];return n.isThemeGetter=!0,n},Iw=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Zw=/^\((?:(\w[\w-]*):)?(.+)\)$/i,TR=/^\d+\/\d+$/,jR=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,CR=/\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$/,AR=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,RR=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,MR=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Zs=e=>TR.test(e),He=e=>!!e&&!Number.isNaN(Number(e)),Za=e=>!!e&&Number.isInteger(Number(e)),T0=e=>e.endsWith("%")&&He(e.slice(0,-1)),fa=e=>jR.test(e),NR=()=>!0,DR=e=>CR.test(e)&&!AR.test(e),jm=()=>!1,OR=e=>RR.test(e),LR=e=>MR.test(e),kR=e=>!le(e)&&!oe(e),zR=e=>fr(e,Ww,jm),le=e=>Iw.test(e),Qa=e=>fr(e,e1,DR),Zf=e=>fr(e,GR,He),VR=e=>fr(e,Qw,jm),BR=e=>fr(e,Jw,LR),UR=e=>fr(e,jm,OR),oe=e=>Zw.test(e),Su=e=>hr(e,e1),PR=e=>hr(e,KR),HR=e=>hr(e,Qw),_R=e=>hr(e,Ww),qR=e=>hr(e,Jw),FR=e=>hr(e,XR,!0),fr=(e,n,a)=>{const r=Iw.exec(e);return r?r[1]?n(r[1]):a(r[2]):!1},hr=(e,n,a=!1)=>{const r=Zw.exec(e);return r?r[1]?n(r[1]):a:!1},Qw=e=>e==="position",$R=new Set(["image","url"]),Jw=e=>$R.has(e),YR=new Set(["length","size","percentage"]),Ww=e=>YR.has(e),e1=e=>e==="length",GR=e=>e==="number",KR=e=>e==="family-name",XR=e=>e==="shadow",IR=()=>{const e=kt("color"),n=kt("font"),a=kt("text"),r=kt("font-weight"),o=kt("tracking"),u=kt("leading"),d=kt("breakpoint"),m=kt("container"),h=kt("spacing"),g=kt("radius"),y=kt("shadow"),b=kt("inset-shadow"),x=kt("drop-shadow"),S=kt("blur"),E=kt("perspective"),A=kt("aspect"),N=kt("ease"),M=kt("animate"),V=()=>["auto","avoid","all","avoid-page","page","left","right","column"],_=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],J=()=>["auto","hidden","clip","visible","scroll"],P=()=>["auto","contain","none"],C=()=>[Zs,"px","full","auto",oe,le,h],ee=()=>[Za,"none","subgrid",oe,le],X=()=>["auto",{span:["full",Za,oe,le]},oe,le],F=()=>[Za,"auto",oe,le],te=()=>["auto","min","max","fr",oe,le],fe=()=>[oe,le,h],Fe=()=>["start","end","center","between","around","evenly","stretch","baseline"],We=()=>["start","end","center","stretch"],ye=()=>[oe,le,h],Le=()=>["px",...ye()],I=()=>["px","auto",...ye()],ae=()=>[Zs,"auto","px","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",oe,le,h],W=()=>[e,oe,le],be=()=>[T0,Qa],j=()=>["","none","full",g,oe,le],G=()=>["",He,Su,Qa],he=()=>["solid","dashed","dotted","double"],ue=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ie=()=>["","none",S,oe,le],De=()=>["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",oe,le],Se=()=>["none",He,oe,le],mt=()=>["none",He,oe,le],Pe=()=>[He,oe,le],et=()=>[Zs,"full","px",oe,le,h];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[fa],breakpoint:[fa],color:[NR],container:[fa],"drop-shadow":[fa],ease:["in","out","in-out"],font:[kR],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[fa],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[fa],shadow:[fa],spacing:[He],text:[fa],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Zs,le,oe,A]}],container:["container"],columns:[{columns:[He,le,oe,m]}],"break-after":[{"break-after":V()}],"break-before":[{"break-before":V()}],"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:[..._(),le,oe]}],overflow:[{overflow:J()}],"overflow-x":[{"overflow-x":J()}],"overflow-y":[{"overflow-y":J()}],overscroll:[{overscroll:P()}],"overscroll-x":[{"overscroll-x":P()}],"overscroll-y":[{"overscroll-y":P()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:C()}],"inset-x":[{"inset-x":C()}],"inset-y":[{"inset-y":C()}],start:[{start:C()}],end:[{end:C()}],top:[{top:C()}],right:[{right:C()}],bottom:[{bottom:C()}],left:[{left:C()}],visibility:["visible","invisible","collapse"],z:[{z:[Za,"auto",oe,le]}],basis:[{basis:[Zs,"full","auto",oe,le,m,h]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[He,Zs,"auto","initial","none",le]}],grow:[{grow:["",He,oe,le]}],shrink:[{shrink:["",He,oe,le]}],order:[{order:[Za,"first","last","none",oe,le]}],"grid-cols":[{"grid-cols":ee()}],"col-start-end":[{col:X()}],"col-start":[{"col-start":F()}],"col-end":[{"col-end":F()}],"grid-rows":[{"grid-rows":ee()}],"row-start-end":[{row:X()}],"row-start":[{"row-start":F()}],"row-end":[{"row-end":F()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":te()}],"auto-rows":[{"auto-rows":te()}],gap:[{gap:fe()}],"gap-x":[{"gap-x":fe()}],"gap-y":[{"gap-y":fe()}],"justify-content":[{justify:[...Fe(),"normal"]}],"justify-items":[{"justify-items":[...We(),"normal"]}],"justify-self":[{"justify-self":["auto",...We()]}],"align-content":[{content:["normal",...Fe()]}],"align-items":[{items:[...We(),"baseline"]}],"align-self":[{self:["auto",...We(),"baseline"]}],"place-content":[{"place-content":Fe()}],"place-items":[{"place-items":[...We(),"baseline"]}],"place-self":[{"place-self":["auto",...We()]}],p:[{p:Le()}],px:[{px:Le()}],py:[{py:Le()}],ps:[{ps:Le()}],pe:[{pe:Le()}],pt:[{pt:Le()}],pr:[{pr:Le()}],pb:[{pb:Le()}],pl:[{pl:Le()}],m:[{m:I()}],mx:[{mx:I()}],my:[{my:I()}],ms:[{ms:I()}],me:[{me:I()}],mt:[{mt:I()}],mr:[{mr:I()}],mb:[{mb:I()}],ml:[{ml:I()}],"space-x":[{"space-x":ye()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":ye()}],"space-y-reverse":["space-y-reverse"],size:[{size:ae()}],w:[{w:[m,"screen",...ae()]}],"min-w":[{"min-w":[m,"screen","none",...ae()]}],"max-w":[{"max-w":[m,"screen","none","prose",{screen:[d]},...ae()]}],h:[{h:["screen",...ae()]}],"min-h":[{"min-h":["screen","none",...ae()]}],"max-h":[{"max-h":["screen",...ae()]}],"font-size":[{text:["base",a,Su,Qa]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,oe,Zf]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",T0,le]}],"font-family":[{font:[PR,le,n]}],"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,oe,le]}],"line-clamp":[{"line-clamp":[He,"none",oe,Zf]}],leading:[{leading:[oe,le,u,h]}],"list-image":[{"list-image":["none",oe,le]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",oe,le]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:W()}],"text-color":[{text:W()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...he(),"wavy"]}],"text-decoration-thickness":[{decoration:[He,"from-font","auto",oe,Qa]}],"text-decoration-color":[{decoration:W()}],"underline-offset":[{"underline-offset":[He,"auto",oe,le]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:["px",...ye()]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",oe,le]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",oe,le]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[..._(),HR,VR]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:["auto","cover","contain",_R,zR]}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Za,oe,le],radial:["",oe,le],conic:[Za,oe,le]},qR,BR]}],"bg-color":[{bg:W()}],"gradient-from-pos":[{from:be()}],"gradient-via-pos":[{via:be()}],"gradient-to-pos":[{to:be()}],"gradient-from":[{from:W()}],"gradient-via":[{via:W()}],"gradient-to":[{to:W()}],rounded:[{rounded:j()}],"rounded-s":[{"rounded-s":j()}],"rounded-e":[{"rounded-e":j()}],"rounded-t":[{"rounded-t":j()}],"rounded-r":[{"rounded-r":j()}],"rounded-b":[{"rounded-b":j()}],"rounded-l":[{"rounded-l":j()}],"rounded-ss":[{"rounded-ss":j()}],"rounded-se":[{"rounded-se":j()}],"rounded-ee":[{"rounded-ee":j()}],"rounded-es":[{"rounded-es":j()}],"rounded-tl":[{"rounded-tl":j()}],"rounded-tr":[{"rounded-tr":j()}],"rounded-br":[{"rounded-br":j()}],"rounded-bl":[{"rounded-bl":j()}],"border-w":[{border:G()}],"border-w-x":[{"border-x":G()}],"border-w-y":[{"border-y":G()}],"border-w-s":[{"border-s":G()}],"border-w-e":[{"border-e":G()}],"border-w-t":[{"border-t":G()}],"border-w-r":[{"border-r":G()}],"border-w-b":[{"border-b":G()}],"border-w-l":[{"border-l":G()}],"divide-x":[{"divide-x":G()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":G()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...he(),"hidden","none"]}],"divide-style":[{divide:[...he(),"hidden","none"]}],"border-color":[{border:W()}],"border-color-x":[{"border-x":W()}],"border-color-y":[{"border-y":W()}],"border-color-s":[{"border-s":W()}],"border-color-e":[{"border-e":W()}],"border-color-t":[{"border-t":W()}],"border-color-r":[{"border-r":W()}],"border-color-b":[{"border-b":W()}],"border-color-l":[{"border-l":W()}],"divide-color":[{divide:W()}],"outline-style":[{outline:[...he(),"none","hidden"]}],"outline-offset":[{"outline-offset":[He,oe,le]}],"outline-w":[{outline:["",He,Su,Qa]}],"outline-color":[{outline:[e]}],shadow:[{shadow:["","none",y,FR,UR]}],"shadow-color":[{shadow:W()}],"inset-shadow":[{"inset-shadow":["none",oe,le,b]}],"inset-shadow-color":[{"inset-shadow":W()}],"ring-w":[{ring:G()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:W()}],"ring-offset-w":[{"ring-offset":[He,Qa]}],"ring-offset-color":[{"ring-offset":W()}],"inset-ring-w":[{"inset-ring":G()}],"inset-ring-color":[{"inset-ring":W()}],opacity:[{opacity:[He,oe,le]}],"mix-blend":[{"mix-blend":[...ue(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ue()}],filter:[{filter:["","none",oe,le]}],blur:[{blur:ie()}],brightness:[{brightness:[He,oe,le]}],contrast:[{contrast:[He,oe,le]}],"drop-shadow":[{"drop-shadow":["","none",x,oe,le]}],grayscale:[{grayscale:["",He,oe,le]}],"hue-rotate":[{"hue-rotate":[He,oe,le]}],invert:[{invert:["",He,oe,le]}],saturate:[{saturate:[He,oe,le]}],sepia:[{sepia:["",He,oe,le]}],"backdrop-filter":[{"backdrop-filter":["","none",oe,le]}],"backdrop-blur":[{"backdrop-blur":ie()}],"backdrop-brightness":[{"backdrop-brightness":[He,oe,le]}],"backdrop-contrast":[{"backdrop-contrast":[He,oe,le]}],"backdrop-grayscale":[{"backdrop-grayscale":["",He,oe,le]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[He,oe,le]}],"backdrop-invert":[{"backdrop-invert":["",He,oe,le]}],"backdrop-opacity":[{"backdrop-opacity":[He,oe,le]}],"backdrop-saturate":[{"backdrop-saturate":[He,oe,le]}],"backdrop-sepia":[{"backdrop-sepia":["",He,oe,le]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":ye()}],"border-spacing-x":[{"border-spacing-x":ye()}],"border-spacing-y":[{"border-spacing-y":ye()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",oe,le]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[He,"initial",oe,le]}],ease:[{ease:["linear","initial",N,oe,le]}],delay:[{delay:[He,oe,le]}],animate:[{animate:["none",M,oe,le]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[E,oe,le]}],"perspective-origin":[{"perspective-origin":De()}],rotate:[{rotate:Se()}],"rotate-x":[{"rotate-x":Se()}],"rotate-y":[{"rotate-y":Se()}],"rotate-z":[{"rotate-z":Se()}],scale:[{scale:mt()}],"scale-x":[{"scale-x":mt()}],"scale-y":[{"scale-y":mt()}],"scale-z":[{"scale-z":mt()}],"scale-3d":["scale-3d"],skew:[{skew:Pe()}],"skew-x":[{"skew-x":Pe()}],"skew-y":[{"skew-y":Pe()}],transform:[{transform:[oe,le,"","none","gpu","cpu"]}],"transform-origin":[{origin:De()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:et()}],"translate-x":[{"translate-x":et()}],"translate-y":[{"translate-y":et()}],"translate-z":[{"translate-z":et()}],"translate-none":["translate-none"],accent:[{accent:W()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:W()}],"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",oe,le]}],"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":ye()}],"scroll-mx":[{"scroll-mx":ye()}],"scroll-my":[{"scroll-my":ye()}],"scroll-ms":[{"scroll-ms":ye()}],"scroll-me":[{"scroll-me":ye()}],"scroll-mt":[{"scroll-mt":ye()}],"scroll-mr":[{"scroll-mr":ye()}],"scroll-mb":[{"scroll-mb":ye()}],"scroll-ml":[{"scroll-ml":ye()}],"scroll-p":[{"scroll-p":ye()}],"scroll-px":[{"scroll-px":ye()}],"scroll-py":[{"scroll-py":ye()}],"scroll-ps":[{"scroll-ps":ye()}],"scroll-pe":[{"scroll-pe":ye()}],"scroll-pt":[{"scroll-pt":ye()}],"scroll-pr":[{"scroll-pr":ye()}],"scroll-pb":[{"scroll-pb":ye()}],"scroll-pl":[{"scroll-pl":ye()}],"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",oe,le]}],fill:[{fill:["none",...W()]}],"stroke-w":[{stroke:[He,Su,Qa,Zf]}],stroke:[{stroke:["none",...W()]}],"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-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-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:["before","after","placeholder","file","marker","selection","first-line","first-letter","backdrop","*","**"]}},ZR=ER(IR),tn=(...e)=>ZR(uR(...e)),Xl=({children:e,className:n,onClick:a})=>p.jsx(p.Fragment,{children:p.jsx("div",{className:tn("container  xl:mx-auto px-10",n),onClick:a,children:e})}),QR=()=>{const e=ac();return p.jsxs(p.Fragment,{children:[p.jsx("div",{className:"w-full h-[300px] bg-[url(/Group_39557.svg)]  xl:mt-0 px-4",children:p.jsxs("div",{className:"container mx-auto lg:px-20 h-full lg:flex-nowrap flex-wrap flex justify-between items-center overflow-x-hidden lg:gap-30 ",children:[p.jsxs("div",{className:"text-left",children:[p.jsx(se.p,{variants:$w(0),initial:"hidden",whileInView:"show",className:"md:text-5xl text-2xl  font-bold  text-white",children:"Ready to bring your ideas to life?"}),p.jsx(se.p,{variants:ze(.3),initial:"hidden",whileInView:"show",className:"pt-5  text-white",children:"Let’s work together to transform your vision into a success story. Contact us today, and let ACE Japan guide you every step of the way."})]}),p.jsx(se.div,{variants:Zn(.3),initial:"hidden",whileInView:"show",children:p.jsx("button",{className:"w-[120px] h-[50px] bg-white text-blue cursor-pointer",onClick:()=>e("/contactus"),children:"Contact Us"})})]})}),p.jsx("div",{className:"w-full h-auto bg-dark-grey ",children:p.jsx(Xl,{className:"px-5 md:px-5 py-10",children:p.jsxs(se.div,{variants:ze(.3),initial:"hidden",whileInView:"show",className:"flex xl:flex-nowrap  flex-wrap md:justify-around  xl:justify-around md:items-start space-y-10 md:space-y-0",children:[p.jsxs("div",{className:"text-center md:text-left w-full md:w-auto",children:[p.jsx("img",{src:"/logo.svg",alt:"logoImg",className:"w-[128px] mx-auto md:mx-0"}),p.jsxs(se.p,{variants:ze(.3),initial:"hidden",whileInView:"show",className:"text-lg text-white mt-5",children:["Copyright © 2025 ACE Japan Ltd.",p.jsx("br",{}),"All rights reserved"]}),p.jsxs("div",{className:"mt-5 flex justify-center md:justify-start space-x-3",children:[p.jsx(wu,{icon:Bw,delay:.2}),p.jsx(wu,{icon:oR,delay:.3}),p.jsx(wu,{icon:Em,delay:.4}),p.jsx(wu,{icon:nA,delay:.5})]})]}),p.jsxs("div",{className:"flex flex-col md:flex-row md:space-x-16 w-full md:w-auto text-center md:text-left",children:[p.jsxs("div",{children:[p.jsx(se.p,{variants:ze(.3),initial:"hidden",whileInView:"show",className:"text-xl font-semibold text-white",children:"Company"}),p.jsxs(se.ul,{variants:ze(.4),initial:"hidden",whileInView:"show",className:"text-lg space-y-2 pt-2 text-gray-300",children:[p.jsx("li",{children:"Home"}),p.jsx("li",{children:"About Us"}),p.jsx("li",{children:"Services"}),p.jsx("li",{children:"Contact Us"}),p.jsx("li",{children:"Recruit"})]})]}),p.jsxs("div",{className:"mt-5 md:mt-0",children:[p.jsx(se.p,{variants:ze(.3),initial:"hidden",whileInView:"show",className:"text-xl font-semibold text-white ",children:"Support"}),p.jsxs(se.ul,{variants:ze(.4),initial:"hidden",whileInView:"show",className:"text-lg space-y-2 pt-2 text-gray-300",children:[p.jsx("li",{children:"Help center"}),p.jsx("li",{children:"Terms of service"}),p.jsx("li",{children:"Legal"}),p.jsx("li",{children:"Privacy policy"}),p.jsx("li",{children:"Status"})]})]})]}),p.jsxs("div",{className:"w-full md:w-auto text-center md:text-left",children:[p.jsx(se.p,{variants:ze(.3),initial:"hidden",whileInView:"show",className:"text-xl font-semibold text-white md:pt-10 md:text-center lg:pt-0 ",children:"Stay up to date"}),p.jsx(se.div,{variants:ze(.4),initial:"hidden",whileInView:"show",className:"text-lg space-y-2 pt-2 flex justify-center md:justify-start",children:p.jsxs("div",{className:"flex items-center bg-white/15 justify-between rounded-xl w-full md:w-fit py-3 px-4",children:[p.jsx("input",{type:"text",className:"w-full bg-transparent outline-none text-gray-100 px-2",placeholder:"Your email address"}),p.jsx(lR,{className:"text-white cursor-pointer hover:text-black"})]})})]})]})})})]})},JR=()=>p.jsxs(p.Fragment,{children:[p.jsx(YA,{}),p.jsx(tR,{}),p.jsx(eR,{}),p.jsx(ME,{}),p.jsx(QR,{})]}),Cm=({image:e,children:n,className:a,classNameImg:r})=>p.jsx(p.Fragment,{children:p.jsxs(se.div,{variants:Zn(.2),initial:"hidden",whileInView:"show",className:tn("flex bg-color-10 md:w-fit md:px-5 xl:py-3 py-2 w-[200px] justify-center items-center",a),children:[p.jsx("img",{src:e,alt:"",className:tn("md:w-[20px]",r)}),p.jsx("p",{className:"pl-2 text-color-1",children:n})]})}),Te=({className:e,children:n})=>p.jsx(p.Fragment,{children:p.jsx(se.div,{variants:ze(.3),initial:"hidden",whileInView:"show",className:tn("text-color-1  md:text-xl text-lg font-bold",e),children:n})}),WR=()=>p.jsx(p.Fragment,{children:p.jsx("div",{className:"cusContainer mx-auto mt-15  sm:mb-10",children:p.jsxs("div",{className:"grid lg:grid-cols-2 grid-cols-1 lg:px-0 px-6",children:[p.jsx("div",{className:"hidden lg:block  w-full  ",children:p.jsx(se.img,{variants:$w(.3),initial:"hidden",whileInView:"show",transition:{duration:.5,delay:.2,ease:bm},src:"FutureImg.png",alt:"FutureImg",className:" w-full h-full object-cover  "})}),p.jsx("div",{className:"  md:ml-20",children:p.jsxs("div",{className:"w-full overflow-hidden",children:[p.jsx(Cm,{image:"miniLogo.svg",classNameImg:"md:w-fit",children:"Welcome ACE Japan"}),p.jsxs(se.div,{variants:Zn(.3),initial:"hidden",whileInView:"show",className:"mt-3",children:[p.jsx(se.p,{variants:Zn(.4),initial:"hidden",whileInView:"show",className:"xl:text-5xl text-color-1 font-extrabold md:py-3 lg:py-1 text-xl lg:text-3xl",children:"We Provide Your Future"}),p.jsx(se.p,{variants:Zn(.5),initial:"hidden",whileInView:"show",className:"text-color-2 md:pt-5 pt-2 md:text-sm text-[12px] lg:pt-1",children:"Our mission is to provide seamless IT solutions and comprehensive support to businesses in Japan, with a focus on innovation, efficiency, and collaboration."}),p.jsx(se.p,{variants:Zn(.6),initial:"hidden",whileInView:"show",className:"text-color-2 md:pt-5 pt-2 lg:pt-3 md:text-sm text-[12px]",children:"By leveraging the expertise of the ACE Data Systems Group and our close ties with Japanese companies, we excel in:"})]}),p.jsxs("div",{className:"flex  md:mt-10 mt-5 ",children:[p.jsxs(se.div,{variants:ze(.3),initial:"hidden",whileInView:"show",className:"bg-color-10 flex flex-col justify-center items-center w-[175px] xl:py-6 xl:px-4 ",children:[p.jsx(Te,{className:"pb-4",children:"Over"}),p.jsx("img",{src:"10.svg",alt:"",className:"xl:w-[80px]  md:w-[70px] w-[60px] "}),p.jsx("p",{className:"xl:text-lg text-xl font-extrabold text-color-1 text-center md:pt-5 pt-3 lg:pt-1",children:"Years Of Experience"})]}),p.jsx("div",{className:" pl-6 lg:text-xs text-[12px]",children:p.jsxs("ul",{className:"text-color-2 md:space-y-2 space-y-2 list-disc text-justify word-sapcing",children:[p.jsx(se.li,{variants:ze(.2),initial:"hidden",whileInView:"show",children:"Outsourcing Services"}),p.jsx(se.li,{variants:ze(.3),initial:"hidden",whileInView:"show",children:"Offshore System Development"}),p.jsx(se.li,{variants:ze(.4),initial:"hidden",whileInView:"show",children:"Package solutions designed for efficiency"}),p.jsx(se.li,{variants:ze(.5),initial:"hidden",whileInView:"show",children:"System support for sustainable growth"}),p.jsx(se.li,{variants:ze(.6),initial:"hidden",whileInView:"show",children:"System support for sustainable growth"})]})})]})]})})]})})});function hc(e){return an({attr:{viewBox:"0 0 32 32"},child:[{tag:"path",attr:{d:"M 25 4.03125 C 24.234375 4.03125 23.484375 4.328125 22.90625 4.90625 L 13 14.78125 L 12.78125 15 L 12.71875 15.3125 L 12.03125 18.8125 L 11.71875 20.28125 L 13.1875 19.96875 L 16.6875 19.28125 L 17 19.21875 L 17.21875 19 L 27.09375 9.09375 C 28.246094 7.941406 28.246094 6.058594 27.09375 4.90625 C 26.515625 4.328125 25.765625 4.03125 25 4.03125 Z M 25 5.96875 C 25.234375 5.96875 25.464844 6.089844 25.6875 6.3125 C 26.132813 6.757813 26.132813 7.242188 25.6875 7.6875 L 16 17.375 L 14.28125 17.71875 L 14.625 16 L 24.3125 6.3125 C 24.535156 6.089844 24.765625 5.96875 25 5.96875 Z M 4 8 L 4 28 L 24 28 L 24 14.8125 L 22 16.8125 L 22 26 L 6 26 L 6 10 L 15.1875 10 L 17.1875 8 Z"},child:[]}]})(e)}function j0(e){return an({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M502.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l370.7 0-73.4 73.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l128-128z"},child:[]}]})(e)}const C0=[{img:"/serviceImg/Development (1).svg",title:"Outsourcing Services",text:"We understand the importance of having the right talent to drive business success. Our HR outsourcing service provide businesses with highly skilled professionals, ensuring flexibility and quality in meeting your workforce needs.",more:"Read More",delay:.3},{img:"/serviceImg/System.svg",title:"Recruitment Service",text:"ACEJAPAN is in the process of establishing specialized nearshore development services to provide Japanese business with a perfect blend of quality, security, and cost-effectiveness. These services are designed to offer seamless collaboration and superior results while prioritizing client needs and industry standards.",more:"Read More",delay:.5},{img:"/serviceImg/Business.svg",title:"System Operating & Maintenance Service",text:"We provide cost-effective offshore system development, delivering high-quality solutions specifically designed for the Japanese market. Leveraging a skilled and dedicated workforce, we help businesses achieve efficiency and significant cost savings without compromising on quality.",more:"Read More",delay:.4},{img:"/serviceImg/Development (1).svg",title:"Nearshore System Development",text:"We understand the importance of having the right talent to drive business success. Our HR outsourcing service provide businesses with highly skilled professionals, ensuring flexibility and quality in meeting your workforce needs.",more:"Read More",delay:.6},{img:"/serviceImg/System.svg",title:"Offshore System Development",text:"ACEJAPAN is in the process of establishing specialized nearshore development services to provide Japanese business with a perfect blend of quality, security, and cost-effectiveness. These services are designed to offer seamless collaboration and superior results while prioritizing client needs and industry standards.",more:"Read More",delay:.7}],eM=()=>p.jsx(p.Fragment,{children:p.jsxs("div",{className:"flex flex-wrap gap-6 justify-center xl:p-12",children:[p.jsx("div",{className:"grid grid-cols-1 gap-12  xl:grid-cols-2 lg:grid-cols-2 md:grid-cols-1 ",children:C0.slice(0,2).map((e,n)=>p.jsx(se.div,{variants:ze(e.delay),initial:"hidden",whileInView:"show",className:"xl:w-[345px] 2xl:w-[425px]",children:p.jsx("div",{className:"bg-blue w-full hover:scale-105 cursor-pointer hover:bg-red transition-all duration-300",children:p.jsxs("div",{className:"flex flex-col items-start p-6",children:[p.jsx("img",{src:e.img,alt:""}),p.jsxs("div",{className:"text-white text-left xl:py-4 lg:py-2 h-[240px]",children:[p.jsx("p",{className:"md:text-[30px] text-[24px] font-semibold",children:e.title}),p.jsx("p",{className:"pt-3 text-primary",children:e.text})]}),p.jsx("a",{href:"#",className:"xl:pt-24 lg:pt-10 md:pt-3 pt-16",children:p.jsxs("p",{className:"md:text-lg text-sm text-white flex justify-center items-center gap-3",children:[e.more,p.jsx(j0,{})]})})]})})},n))}),p.jsx("div",{className:"grid grid-cols-1 gap-12  xl:grid-cols-3 lg:grid-cols-2 md:grid-cols-1 mt-10",children:C0.slice(2).map((e,n)=>p.jsx(se.div,{variants:ze(e.delay),initial:"hidden",whileInView:"show",children:p.jsx("div",{className:"bg-blue w-full hover:scale-110 cursor-pointer hover:bg-red transition-all duration-300 ",children:p.jsxs("div",{className:"flex flex-col items-start p-6",children:[p.jsx("img",{src:e.img,alt:""}),p.jsxs("div",{className:"text-white text-left xl:py-4 lg:py-2 h-[240px]",children:[p.jsx("p",{className:"md:text-[30px] text-[24px] font-semibold",children:e.title}),p.jsx("p",{className:"pt-3 text-primary",children:e.text})]}),p.jsx("a",{href:"#",className:"xl:pt-24 lg:pt-10 md:pt-3 pt-16",children:p.jsxs("p",{className:"md:text-lg text-sm text-white flex justify-center items-center gap-3",children:[e.more,p.jsx(j0,{})]})})]})})},n+2))})]})}),A0=e=>({hidden:{opacity:0,y:100},show:{opacity:1,y:0,transition:{duration:.5,delay:e}},exit:{opacity:0,y:50,scale:.5}}),tM=()=>p.jsx(p.Fragment,{children:p.jsx("div",{className:"w-full bg-seconary min-h-screen flex justify-center items-center sm:mt-20 md:mt-20 md:my-16 pb-20",children:p.jsxs("div",{className:" flex flex-col justify-center items-center text-center md:mt-2 lg:mt-5",children:[p.jsxs("div",{className:"max-w-[690px] w-full px-5",children:[p.jsx("div",{className:"flex justify-center items-center pt-10",children:p.jsx(rb,{mode:"wait",children:p.jsxs(se.div,{variants:A0(.2),initial:"hidden",whileInView:"show",exit:"exit",className:"bg-white w-fit flex justify-center items-center p-2",children:[p.jsx("img",{src:"/serviceImg/Engineer (1).svg",alt:"",className:"text-color-3 md:text-2xl"}),p.jsx("p",{className:"text-color-1 font-semibold pl-2",children:"Our Services"})]})})}),p.jsx("div",{className:"md:my-3 my-1",children:p.jsx(se.p,{variants:A0(.3),initial:"hidden",whileInView:"show",className:"text-color-1 text-[30px] md:text-[45px] font-bold",children:"Our Services"})})]}),p.jsx("div",{className:"w-full px-10",children:p.jsx(eM,{})})]})})}),Am=({text:e,delay:n,title:a,className:r,...o})=>p.jsx(p.Fragment,{children:p.jsxs(se.div,{variants:Zn(n),initial:"hidden",whileInView:"show",className:tn("flex items-start space-x-2 w-full overflow-hidden",r),...o,children:[p.jsx("img",{src:"correctIcon.svg",alt:"IconImg"}),p.jsxs("div",{children:[p.jsx("p",{className:"text-color-1 md:text-xl text-lg font-bold",children:a}),p.jsx("p",{className:"text-color-2 ",children:e})]})]})}),nM=e=>({hidden:{opacity:0,scale:.5,translateY:300},show:{opacity:1,scale:1,translateY:0,transition:{delay:e,duration:.5}}}),iM=()=>p.jsx(p.Fragment,{children:p.jsx(se.div,{variants:ze(.3),initial:"hidden",whileInView:"show",className:"w-full h-auto bg-seconary overflow-x-hidden",children:p.jsxs("div",{className:" flex flex-col xl:flex-row justify-center md:items-start xl:py-20  xl:items-center items-center gap-4 xl:px-15 lg:gap-10 ",children:[p.jsx(se.div,{variants:ze(.3),initial:"hidden",whileInView:"show",className:" w-full bg-[url('/AboutUs.png')] xl:max-h-[800px] md:h-[921px] bg-cover flex justify-center items-center"}),p.jsxs("div",{className:"w-full  px-5",children:[p.jsx("div",{className:"flex justify-start items-center",children:p.jsxs(se.div,{variants:nM(.1),initial:"hidden",whileInView:"show",className:" flex justify-center items-center px-5 py-1",children:[p.jsx(hc,{className:"text-color-3 text-2xl"}),p.jsx("p",{className:"text-color-1 font-semibold pl-2",children:"Why Choose Us"})]})}),p.jsxs("div",{className:"mt-1",children:[p.jsxs(se.p,{variants:ze(.2),initial:"hidden",whileInView:"show",className:"lg:text-5xl text-2xl text-color-1 font-semibold leading-[1.2]  ",children:["Few Reasons Why You ",p.jsx("br",{})," Should Choose Us"]}),p.jsx(se.p,{variants:ze(.4),initial:"hidden",whileInView:"show",className:"text-color-2 pt-5",children:"At ACEJapan, we understand the unique needs of Japanese business and provide customized strategies to support their expansion into new markets. With our commitment to quality and client satisfaction, we have become a trusted partner for businesses seeking competitive advantages in the global marketplace."}),p.jsx(se.p,{variants:ze(.4),initial:"hidden",whileInView:"show",className:"text-color-2 pt-5",children:"Whether you aim to reduce costs, enhance system reliability, or explore new opportunities, ACE Japan is your reliable partner for driving success."})]}),p.jsx("div",{className:"md:space-y-12 space-y-5 md:w-[558px] md:mt-8 mt-5 overflow-hidden",children:ZA.map((e,n)=>p.jsx(Am,{delay:e.delay,text:e.text,title:e.title},n))})]})]})})}),aM=()=>{const e=Bi.useRef(),n=$C(e),a=_C();return Bi.useEffect(()=>{n?a.start("visible"):a.start("hidden")},[n,a]),p.jsx(se.div,{className:"grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-5 xl:mt-20 mt-10 px-5 pb-10",children:IA.map((r,o)=>p.jsx(se.div,{variants:ze(r.delay),initial:"hidden",whileInView:"show",children:p.jsxs("div",{className:"bg-white text-blue transition-all duration-300 group p-4  shadow-md",children:[p.jsx("div",{className:"overflow-hidden  w-full  flex justify-center items-center",children:p.jsx("img",{src:r.Businessimg,alt:"Card Image",className:"w-full h-full object-cover transition-transform duration-300 group-hover:scale-110"})}),p.jsx("p",{className:"xl:text-[20px] text-xl font-bold text-center  py-3",children:r.Businesstitle}),p.jsx("div",{className:"text-center transition-all duration-300 group-hover:text-red group-hover:font-bold",children:p.jsx("a",{href:"#",children:p.jsxs("p",{className:" pb-3 xl:text-lg",children:[" ",r.text," "]})})})]})},o))})},t1=({text:e,className:n})=>p.jsx(p.Fragment,{children:p.jsxs(se.div,{variants:ze(.2),initial:"hidden",whileInView:"show",className:tn(" flex justify-center items-center px-2  bg-white w-fit",n),children:[p.jsx(hc,{className:"text-color-3 text-2xl"}),p.jsx("p",{className:"text-color-1 font-semibold pl-1",children:e})]})}),sM=()=>p.jsx(p.Fragment,{children:p.jsx("div",{className:"w-full h-auto bg-color-30 mt-10",children:p.jsxs("div",{className:"flex flex-col items-center pt-10 pb-10",children:[p.jsx(t1,{text:"Our Focus"}),p.jsx(se.p,{variants:ze(.3),initial:"hidden",whileInView:"show",className:"text-white xl:text-5xl text-2xl font-extrabold pt-3 xl:pt-5",children:"Group Business Focus"}),p.jsx("div",{className:" mx-auto",children:p.jsx(aM,{})})]})})}),rM=()=>p.jsx(p.Fragment,{children:p.jsxs("div",{className:"flex flex-col justify-center items-center xl:pt-30 pt-10 overflow-x-hidden",children:[p.jsxs(se.div,{variants:ze(.3),initial:"hidden",whileInView:"show",className:" flex justify-center items-center px-2 py-1 bg-color-10 w-fit",children:[p.jsx(hc,{className:"text-color-3 text-2xl"}),p.jsx("p",{className:"text-color-1 font-semibold pl-1",children:"Our Focus"})]}),p.jsx(se.p,{variants:ze(.4),initial:"hidden",whileInView:"show",className:"text-color-1 text-2xl xl:text-5xl font-extrabold pt-3",children:"Our Group Global Partners"}),p.jsx("div",{className:" mx-auto overflow-hidden whitespace-nowrap my-10 ",children:p.jsxs("div",{className:"flex",children:[p.jsx(se.div,{className:"flex w-max shrink-0",animate:{x:["0%","-100%"]},transition:{ease:"linear",duration:20,repeat:1/0},children:If.map((e,n)=>p.jsx("img",{src:e.image,alt:"",className:"xl:w-40 w-30 h-auto pr-10  object-contain"},n))}),p.jsx(se.div,{className:"flex w-max shrink-0",animate:{x:["0%","-100%"]},transition:{ease:"linear",duration:20,repeat:1/0},children:If.map((e,n)=>p.jsx("img",{src:e.image,alt:"",className:"w-30 xl:w-40 h-auto pr-10 object-contain"},n))}),p.jsx(se.div,{className:"flex w-max shrink-0",animate:{x:["0%","-100%"]},transition:{ease:"linear",duration:20,repeat:1/0},children:If.map((e,n)=>p.jsx("img",{src:e.image,alt:"",className:"w-30 xl:w-40 h-auto pr-10 object-contain"},n))})]})})]})}),mc=({className:e,children:n,...a})=>p.jsx("div",{className:tn("flex justify-center items-center",e),...a,children:n}),Rm=({className:e,children:n,...a})=>p.jsx(p.Fragment,{children:p.jsx("div",{className:tn("max-w-[600px] md:ml-25 xl:ml-0 lg:pt-14",e),...a,children:p.jsx("div",{className:"w-full overflow-hidden",children:n})})}),lM=()=>p.jsx(p.Fragment,{children:p.jsxs("div",{className:"mt-10 w-full h-auto flex flex-col items-center pt-10",children:[p.jsxs(se.div,{variants:ze(.3),initial:"hidden",whileInView:"show",className:" flex justify-center items-center px-2 py-1 bg-color-30 w-fit",children:[p.jsx(hc,{className:"text-color-3 text-2xl"}),p.jsx("p",{className:"text-white font-semibold pl-1 ",children:"Our Program"})]}),p.jsx(se.p,{variants:ze(.3),initial:"hidden",whileInView:"show",className:"text-black text-2xl xl:text-5xl font-extrabold pt-3 text-center",children:"Check Our Group Human Resource Development"}),p.jsxs(mc,{className:"xl:space-x-14 pt-10 flex-col xl:flex-row",children:[p.jsx(Rm,{children:p.jsx("div",{className:"md:space-y-12 space-y-5 md:w-[558px] md:mt-8 mt-5 overflow-hidden mb-15",children:JA.map((e,n)=>p.jsx(Am,{delay:e.delay,text:e.text,title:e.title},n))})}),p.jsx("div",{className:"",children:p.jsx("img",{src:"/HomeImg/Image.png",alt:"",className:"xl:h-[770px] object-cover pt-5"})})]})]})}),Gu=({children:e,className:n,...a})=>p.jsx(p.Fragment,{children:p.jsx(se.button,{variants:Yw(),initial:"hidden",whileInView:"show",whileHover:{scale:1.1},whileTap:{scale:.9},className:tn("text-white cursor-pointer bg-color-20 flex justify-center items-center xl:px-[33px] xl:py-[20px] xl:text-lg text-sm px-4 py-3",n),...a,children:e})}),oM=()=>p.jsx(p.Fragment,{children:p.jsx("div",{className:"w-full",children:p.jsx(se.div,{className:"bg-[url('/Hero.jpg')] w-full max-h-screen xl:h-screen mt:20 xl:-mt-15 bg-no-repeat object-cover bg-cover bg-center flex justify-start mt-4  lg:-mt-14",children:p.jsx("div",{className:"px-15 xl:px-0 w-full lg:w-[680px] xl:w-[940px] 2xl:w-[1200px] mx-auto xl:mx-auto flex flex-col justify-center    text-left my-20 md:my-22",children:p.jsxs("div",{className:"w-full",children:[p.jsxs(se.div,{variants:Yw(),initial:"hidden",whileInView:"show",className:"flex w-fit md:items-center lg:py-2 bg-white/30 py-1 md:mt-10",children:[p.jsx("img",{src:"GlobalJob.svg",alt:"Icon",className:"w-[25px] md:w-[35px]  pl-2"}),p.jsx("p",{className:"text-white text-xs xl:text-lg px-2",children:"We Provide Comprehensive IT and Business solutions."})]}),p.jsx(se.div,{variants:ze(.4),initial:"hidden",whileInView:"show",className:"my-4 xl:my-8",children:p.jsxs("p",{className:"text-white text-2xl xl:text-6xl font-bold",children:["We Are Professional ",p.jsx("br",{})," Quality IT Services"]})}),p.jsx("div",{children:p.jsx(Gu,{children:"Our Services"})})]})})})})}),uM=()=>p.jsxs(p.Fragment,{children:[p.jsx(oM,{}),p.jsx(WR,{}),p.jsx(tM,{}),p.jsx(iM,{}),p.jsx(rM,{}),p.jsx(sM,{}),p.jsx(lM,{})]}),pi=({text:e,img:n})=>p.jsx(p.Fragment,{children:p.jsx(mc,{className:"w-full h-[435px] bg-cover bg-center md:-mt-15 mt-4 flex justify-center items-center",style:{backgroundImage:`url(${n})`},children:p.jsx(se.p,{variants:ze(.3),initial:"hidden",whileInView:"show",className:"md:text-5xl text-3xl text-white font-bold",children:e})})}),cM=({children:e,className:n,...a})=>p.jsx(p.Fragment,{children:p.jsxs(se.div,{variants:ze(.2),initial:"hidden",whileInView:"show",className:tn("flex items-start space-x-2 w-full overflow-hidden",n),...a,children:[p.jsx("img",{src:"correctIcon.svg",alt:"IconImg"}),e]})}),Hn=({children:e,className:n,...a})=>p.jsx(p.Fragment,{children:p.jsx(se.p,{variants:ze(.3),initial:"hidden",whileInView:"show",className:tn("text-gray text-lg px-10 lg:w-[600px]",n),...a,children:e})}),Ae=({className:e,children:n})=>p.jsx(p.Fragment,{children:p.jsx(Hn,{className:tn("px-0 lg:w-full",e),children:n})}),dM=["Qualify Engineers","Latest Technology","Quality Control","Over 10 Years Experience"],fM=()=>p.jsx(p.Fragment,{children:p.jsx("div",{className:" mt-20 md:px-15 h-auto  mx-auto",children:p.jsxs(mc,{className:"2xl:space-x-14 gap-4",children:[p.jsxs(Rm,{className:"pb-50",children:[p.jsx(Cm,{image:"miniLogo.svg",classNameImg:"md:w-fit",children:"Welcome to ACE Japan"}),p.jsx(Te,{className:"xl:text-5xl md:text-3xl my-4",children:"We’re Commited to Quality"}),p.jsxs(Ae,{children:[p.jsx(se.p,{variants:ze(.4),initial:"hidden",whileInView:"show",className:"text-gray py-5",children:"With expertise in Outsourcing Services, Recruitment Services, System Operating & Maintenance Services, Nearshore System Development and Offshore System Development. ACE Japan provides comprehensive IT and business solutions tailored to the need of our clients."}),p.jsx("div",{className:"grid md:grid-cols-2 grid-cols-1  gap-3 py-8",children:dM.map((e,n)=>p.jsx(cM,{children:p.jsx("p",{children:e})},n))})]})]}),p.jsx("div",{className:"xl:block hidden pb-10",children:p.jsx("img",{src:"/AboutUsPageImg/quality.png",alt:""})})]})})}),hM=({img:e,title:n,text:a,className:r,...o})=>p.jsx(p.Fragment,{children:p.jsxs(mc,{className:tn("bg-secondary flex-col py-8  ",r),...o,children:[p.jsx("img",{src:e,alt:n,className:"mb-2 rounded-full object-cover"}),p.jsx("p",{className:"pt-2",children:n}),p.jsx("p",{className:"text-sm text-gray-600 py-2",children:a})]})}),mM=({children:e,className:n,...a})=>p.jsx(p.Fragment,{children:p.jsx("div",{className:tn("grid  lg:grid-cols-4",n),...a,children:e})}),pM=[{img:"/AboutUsPageImg/Vector (1).svg",title:"JAN 2014",text:"Establishment",delay:.2},{img:"/AboutUsPageImg/Vector (2).svg",title:"45M Yen",text:"Establishment",delay:.3},{img:"/AboutUsPageImg/Vector (3).svg",title:"1200+",text:"Group Human Resource",delay:.4},{img:"/AboutUsPageImg/Vector (4).svg",title:"29",text:"Group Company",delay:.5}],gM=()=>p.jsx(p.Fragment,{children:p.jsx("div",{className:"py-5 overflow-y-hidden cusContainer mx-auto",children:p.jsx(mM,{className:"grid grid-cols-2 lg:grid-cols-4 gap-8",children:pM.map((e,n)=>p.jsx(se.div,{variants:ze(e.delay),initial:"hidden",whileInView:"show",children:p.jsx(hM,{img:e.img,title:e.title,text:e.text,className:" text-blue 2xl:text-4xl font-bold lg:text-3xl md:text-2xl bg-seconary space-y-2 hover:scale-105 transition-all duration-200 cursor-pointer"})},n))})})});function R0(e){return an({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M320 128L192 256l128 128z"},child:[]}]})(e)}const yM=[{year:"2014-2016",description:"ACE Data Systems Group supports various Japanese partners, including Daiwa Institute of Research, Taiyo Life Insurance, GMO Internet Group, Mitsuiwa Group, Gakken Holdings. We assist in establishing joint ventures such as offshore development centers and business centers, as well as launching operations in Myanmar.(Currently, over 450 engineers and specialists are working at these joint ventures, offshore development centers, and business centers.)"},{year:"2018-2020",description:"ACE Data Systems Group supports Japanese partners such as Scala Inc. and Nagata Holding (Nagata Advertising) in developing joint ventures"},{year:"2023",description:"Providing Functional Consultants, Software Engineers for Terminal Management System Projects for Major Sea Ports in Japan"}],vM=()=>p.jsx(se.div,{variants:ze(.2),initial:"hidden",whileInView:"show",className:"relative border-l-4 border-dotted border-red ml-4",children:yM.map((e,n)=>p.jsxs("div",{className:"mb-15 ml-6 relative",children:[p.jsx(se.div,{variants:ze(.3),initial:"hidden",whileInView:"show",className:"absolute -left-[34px] top-10 w-4 h-4 bg-white border-2 border-blue rounded-full flex items-center justify-center before:content-[''] before:w-2 before:h-2 before:bg-blue before:rounded-full"}),p.jsxs(se.div,{variants:Zn(.3),initial:"hidden",whileInView:"show",className:" bg-white p-3 border border-gray-300",children:[p.jsx("div",{className:`-mt-11 bg-blue
             text-white -ml-1 py-1 px-8 w-fit font-bold text-lg`,children:e.year}),p.jsx("p",{className:"text-gray mt-3 px-2",children:e.description}),p.jsx("div",{className:"absolute top-8 left-[-21px] ",children:p.jsxs("div",{className:"relative",children:[p.jsx(R0,{className:"text-4xl left-[-1px] absolute text-gray-300"}),p.jsx(R0,{className:"text-4xl absolute text-white "})]})})]})]},n))}),xM=()=>p.jsx(p.Fragment,{children:p.jsx("div",{className:"bg-seconary w-full mt-24",children:p.jsxs("div",{className:"flex  flex-col justify-center items-center xl:flex-row md:flex-col  xl:space-x-10",children:[p.jsxs(Rm,{className:"md:w-full md:ml-0 md:mt-4 mt-5",children:[p.jsx(Cm,{image:"miniLogo.svg",className:"bg-white",children:"Welcome To ACE Japan"}),p.jsx(Te,{className:"py-3 xl:text-5xl lg:text-3xl",children:"ACE Japan Achievements"}),p.jsx(se.p,{variants:Zn(.3),initial:"hidden",whileInView:"show",className:"pb-3",children:p.jsx(Ae,{children:"The ACE Group has been operating offshore development centers for the Japanese market since 1998, establishing a relationship with Japan for over 25 years."})}),p.jsx(se.p,{variants:Zn(.3),initial:"hidden",whileInView:"show",className:"pb-3",children:p.jsx(Ae,{children:"Furthermore, as demonstrated by our joint ventures with Japanese companies, ACE Group has strong ties with Japanese enterprises. Against this background, we established ACE Japan in 2014 as our operational base in Japan."})}),p.jsx(se.p,{variants:Zn(.3),initial:"hidden",whileInView:"show",className:"pb-3",children:p.jsx(Ae,{children:"Currently, ACE Japan focuses on engineer dispatch services within Japan and offshore development at South East Asia. Moving forward, in line with our international expansion, we plan to establish a nearshore development center in Japan to further expand our business operations in Japan."})}),p.jsx(Ae,{children:WA.slice(0,1).map((e,n)=>p.jsx(Am,{delay:e.delay,text:e.text,title:e.title,className:"py-3 mb-10"},n))})]}),p.jsx("div",{className:"overflow-x-hidden",children:p.jsx("div",{className:"xl:w-[577px] mt-24",children:p.jsx(vM,{})})})]})})}),bM=()=>p.jsx(p.Fragment,{children:p.jsx("div",{className:"py-5 cusContainer mx-auto overflow-y-hidden",children:p.jsxs("div",{children:[p.jsx(Te,{className:"xl:text-5xl md:text-3xl my-4",children:"About Us"}),p.jsx(Ae,{className:"text-justify",children:"Established in 2014, ACE Japan is a leading provider of IT solutions, specializing in system development and business support services. As part of the ACE Data Systems Group, we are committed to delivering high-quality and cost-effective solutions tailored to the needs of the Japanese market."}),p.jsx(Ae,{className:"pt-4",children:p.jsxs("ul",{className:"list-disc pl-6",children:[p.jsxs("li",{children:["1. Engineer Dispatch (dispatch business license number:",p.jsx("span",{className:"font-bold",children:" 派14-302693 "}),")"]}),p.jsxs("li",{className:"pt-3",children:["2. Recruitment Services (Employment placement business license number:",p.jsx("span",{className:"font-bold",children:"14-ユ-301418 "}),")"]})]})}),p.jsx(Ae,{className:"pt-4",children:"With over 10 years of experience, our services extend across Southeast Asia, including Singapore, Thailand, Cambodia, and Myanmar. We focus on system development, operational support and IT consulting, ensuring seamless integration and quality control for our clients."}),p.jsx(Ae,{className:"pt-4",children:"Our expertise also includes post-editing systems and local operational support in Japan, enabling businesses to optimize their processes and achieve long-term success. At ACE Japan, we are committed to innovation, quality and customer satisfaction ensuring that our solutions drive business excellence."})]})})}),wM=()=>p.jsxs(p.Fragment,{children:[p.jsx(pi,{img:"/AboutUsPageImg/Background.png",text:"About Us"}),p.jsx(fM,{}),p.jsx(gM,{}),p.jsx(bM,{}),p.jsx(xM,{})]}),SM=()=>p.jsx(p.Fragment,{children:p.jsxs(Xl,{className:" mx-auto xl:flex mt-30 justify-between flex-wrap md:gap-8",children:[p.jsx("div",{className:" bg-seconary h-auto xl:w-[345px] ",children:p.jsxs("div",{className:" divide-y-1 divide-gray-500 py-[48px] px-[30px] space-y-10",children:[p.jsxs("div",{children:[p.jsx(Te,{className:"xl:text-[20px] pb-4 font-extrabold ",children:"Company Overview"}),p.jsx("div",{className:"w-[50px] h-1 bg-red"})]}),p.jsxs("div",{children:[p.jsx(Te,{className:"xl:text-lg",children:"Company Name :"}),p.jsx("p",{className:"pt-3 pb-2 text-gray font-bold text-lg",children:"ACEJapan Co.,ltd."})]}),p.jsxs("div",{children:[p.jsx(Te,{className:"xl:text-lg",children:"Headquarter Location :"}),p.jsx("p",{className:"pt-3 pb-2 text-gray font-bold text-lg",children:"28-2-617 Yamashita-cho, Naka-ku, Yokohama, Kanagawa Prefecture Postal Code: 231-0023"})]}),p.jsxs("div",{children:[p.jsx(Te,{className:"xl:text-lg",children:"Directors :"}),p.jsx("p",{className:"pt-3 pb-2 text-gray font-bold text-lg",children:"President: Mr.Hisayuki Kimata Vice President: Mr.Htun Taul Zaw Director: Mr.Zaw Moe Thant Director: Mr.Myo Lin Soe"})]})]})}),p.jsx("div",{children:p.jsx("img",{src:"/moreAboutImg/Picture1 1.png",alt:"",className:" w-full object-cover object-center h-full  "})})]})}),Qs=({placeholder:e,className:n,...a})=>p.jsx(p.Fragment,{children:p.jsx(se.input,{variants:ze(.3),initial:"hidden",whileInView:"show",type:"text",className:tn("bg-white border border-gray-300  p-4 rounded-sm outline-none",n),...a,placeholder:e,required:!0})});/*!
* sweetalert2 v11.17.2
* Released under the MIT License.
*/function n1(e,n,a){if(typeof e=="function"?e===n:e.has(n))return arguments.length<3?n:a;throw new TypeError("Private element is not present on this object")}function EM(e,n){if(n.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function M0(e,n){return e.get(n1(e,n))}function TM(e,n,a){EM(e,n),n.set(e,a)}function jM(e,n,a){return e.set(n1(e,n),a),a}const CM=100,Ee={},AM=()=>{Ee.previousActiveElement instanceof HTMLElement?(Ee.previousActiveElement.focus(),Ee.previousActiveElement=null):document.body&&document.body.focus()},RM=e=>new Promise(n=>{if(!e)return n();const a=window.scrollX,r=window.scrollY;Ee.restoreFocusTimeout=setTimeout(()=>{AM(),n()},CM),window.scrollTo(a,r)}),i1="swal2-",MM=["container","shown","height-auto","iosfix","popup","modal","no-backdrop","no-transition","toast","toast-shown","show","hide","close","title","html-container","actions","confirm","deny","cancel","default-outline","footer","icon","icon-content","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","input-label","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loader","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl","timer-progress-bar","timer-progress-bar-container","scrollbar-measure","icon-success","icon-warning","icon-info","icon-question","icon-error","draggable","dragging"],q=MM.reduce((e,n)=>(e[n]=i1+n,e),{}),NM=["success","warning","info","question","error"],Ku=NM.reduce((e,n)=>(e[n]=i1+n,e),{}),a1="SweetAlert2:",Mm=e=>e.charAt(0).toUpperCase()+e.slice(1),nn=e=>{console.warn(`${a1} ${typeof e=="object"?e.join(" "):e}`)},us=e=>{console.error(`${a1} ${e}`)},N0=[],DM=e=>{N0.includes(e)||(N0.push(e),nn(e))},s1=function(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;DM(`"${e}" is deprecated and will be removed in the next major release.${n?` Use "${n}" instead.`:""}`)},pc=e=>typeof e=="function"?e():e,Nm=e=>e&&typeof e.toPromise=="function",Il=e=>Nm(e)?e.toPromise():Promise.resolve(e),Dm=e=>e&&Promise.resolve(e)===e,sn=()=>document.body.querySelector(`.${q.container}`),Zl=e=>{const n=sn();return n?n.querySelector(e):null},xn=e=>Zl(`.${e}`),Ie=()=>xn(q.popup),mr=()=>xn(q.icon),OM=()=>xn(q["icon-content"]),r1=()=>xn(q.title),Om=()=>xn(q["html-container"]),l1=()=>xn(q.image),Lm=()=>xn(q["progress-steps"]),gc=()=>xn(q["validation-message"]),fi=()=>Zl(`.${q.actions} .${q.confirm}`),pr=()=>Zl(`.${q.actions} .${q.cancel}`),cs=()=>Zl(`.${q.actions} .${q.deny}`),LM=()=>xn(q["input-label"]),gr=()=>Zl(`.${q.loader}`),Ql=()=>xn(q.actions),o1=()=>xn(q.footer),yc=()=>xn(q["timer-progress-bar"]),km=()=>xn(q.close),kM=`
  a[href],
  area[href],
  input:not([disabled]),
  select:not([disabled]),
  textarea:not([disabled]),
  button:not([disabled]),
  iframe,
  object,
  embed,
  [tabindex="0"],
  [contenteditable],
  audio[controls],
  video[controls],
  summary
`,zm=()=>{const e=Ie();if(!e)return[];const n=e.querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])'),a=Array.from(n).sort((u,d)=>{const m=parseInt(u.getAttribute("tabindex")||"0"),h=parseInt(d.getAttribute("tabindex")||"0");return m>h?1:m<h?-1:0}),r=e.querySelectorAll(kM),o=Array.from(r).filter(u=>u.getAttribute("tabindex")!=="-1");return[...new Set(a.concat(o))].filter(u=>un(u))},Vm=()=>Hi(document.body,q.shown)&&!Hi(document.body,q["toast-shown"])&&!Hi(document.body,q["no-backdrop"]),vc=()=>{const e=Ie();return e?Hi(e,q.toast):!1},zM=()=>{const e=Ie();return e?e.hasAttribute("data-loading"):!1},bn=(e,n)=>{if(e.textContent="",n){const r=new DOMParser().parseFromString(n,"text/html"),o=r.querySelector("head");o&&Array.from(o.childNodes).forEach(d=>{e.appendChild(d)});const u=r.querySelector("body");u&&Array.from(u.childNodes).forEach(d=>{d instanceof HTMLVideoElement||d instanceof HTMLAudioElement?e.appendChild(d.cloneNode(!0)):e.appendChild(d)})}},Hi=(e,n)=>{if(!n)return!1;const a=n.split(/\s+/);for(let r=0;r<a.length;r++)if(!e.classList.contains(a[r]))return!1;return!0},VM=(e,n)=>{Array.from(e.classList).forEach(a=>{!Object.values(q).includes(a)&&!Object.values(Ku).includes(a)&&!Object.values(n.showClass||{}).includes(a)&&e.classList.remove(a)})},vn=(e,n,a)=>{if(VM(e,n),!n.customClass)return;const r=n.customClass[a];if(r){if(typeof r!="string"&&!r.forEach){nn(`Invalid type of customClass.${a}! Expected string or iterable object, got "${typeof r}"`);return}Ge(e,r)}},xc=(e,n)=>{if(!n)return null;switch(n){case"select":case"textarea":case"file":return e.querySelector(`.${q.popup} > .${q[n]}`);case"checkbox":return e.querySelector(`.${q.popup} > .${q.checkbox} input`);case"radio":return e.querySelector(`.${q.popup} > .${q.radio} input:checked`)||e.querySelector(`.${q.popup} > .${q.radio} input:first-child`);case"range":return e.querySelector(`.${q.popup} > .${q.range} input`);default:return e.querySelector(`.${q.popup} > .${q.input}`)}},u1=e=>{if(e.focus(),e.type!=="file"){const n=e.value;e.value="",e.value=n}},c1=(e,n,a)=>{!e||!n||(typeof n=="string"&&(n=n.split(/\s+/).filter(Boolean)),n.forEach(r=>{Array.isArray(e)?e.forEach(o=>{a?o.classList.add(r):o.classList.remove(r)}):a?e.classList.add(r):e.classList.remove(r)}))},Ge=(e,n)=>{c1(e,n,!0)},_n=(e,n)=>{c1(e,n,!1)},ga=(e,n)=>{const a=Array.from(e.children);for(let r=0;r<a.length;r++){const o=a[r];if(o instanceof HTMLElement&&Hi(o,n))return o}},ss=(e,n,a)=>{a===`${parseInt(a)}`&&(a=parseInt(a)),a||parseInt(a)===0?e.style.setProperty(n,typeof a=="number"?`${a}px`:a):e.style.removeProperty(n)},zt=function(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"flex";e&&(e.style.display=n)},It=e=>{e&&(e.style.display="none")},Bm=function(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"block";e&&new MutationObserver(()=>{Jl(e,e.innerHTML,n)}).observe(e,{childList:!0,subtree:!0})},D0=(e,n,a,r)=>{const o=e.querySelector(n);o&&o.style.setProperty(a,r)},Jl=function(e,n){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"flex";n?zt(e,a):It(e)},un=e=>!!(e&&(e.offsetWidth||e.offsetHeight||e.getClientRects().length)),BM=()=>!un(fi())&&!un(cs())&&!un(pr()),O0=e=>e.scrollHeight>e.clientHeight,d1=e=>{const n=window.getComputedStyle(e),a=parseFloat(n.getPropertyValue("animation-duration")||"0"),r=parseFloat(n.getPropertyValue("transition-duration")||"0");return a>0||r>0},Um=function(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const a=yc();a&&un(a)&&(n&&(a.style.transition="none",a.style.width="100%"),setTimeout(()=>{a.style.transition=`width ${e/1e3}s linear`,a.style.width="0%"},10))},UM=()=>{const e=yc();if(!e)return;const n=parseInt(window.getComputedStyle(e).width);e.style.removeProperty("transition"),e.style.width="100%";const a=parseInt(window.getComputedStyle(e).width),r=n/a*100;e.style.width=`${r}%`},PM=()=>typeof window>"u"||typeof document>"u",HM=`
 <div aria-labelledby="${q.title}" aria-describedby="${q["html-container"]}" class="${q.popup}" tabindex="-1">
   <button type="button" class="${q.close}"></button>
   <ul class="${q["progress-steps"]}"></ul>
   <div class="${q.icon}"></div>
   <img class="${q.image}" />
   <h2 class="${q.title}" id="${q.title}"></h2>
   <div class="${q["html-container"]}" id="${q["html-container"]}"></div>
   <input class="${q.input}" id="${q.input}" />
   <input type="file" class="${q.file}" />
   <div class="${q.range}">
     <input type="range" />
     <output></output>
   </div>
   <select class="${q.select}" id="${q.select}"></select>
   <div class="${q.radio}"></div>
   <label class="${q.checkbox}">
     <input type="checkbox" id="${q.checkbox}" />
     <span class="${q.label}"></span>
   </label>
   <textarea class="${q.textarea}" id="${q.textarea}"></textarea>
   <div class="${q["validation-message"]}" id="${q["validation-message"]}"></div>
   <div class="${q.actions}">
     <div class="${q.loader}"></div>
     <button type="button" class="${q.confirm}"></button>
     <button type="button" class="${q.deny}"></button>
     <button type="button" class="${q.cancel}"></button>
   </div>
   <div class="${q.footer}"></div>
   <div class="${q["timer-progress-bar-container"]}">
     <div class="${q["timer-progress-bar"]}"></div>
   </div>
 </div>
`.replace(/(^|\n)\s*/g,""),_M=()=>{const e=sn();return e?(e.remove(),_n([document.documentElement,document.body],[q["no-backdrop"],q["toast-shown"],q["has-column"]]),!0):!1},Ja=()=>{Ee.currentInstance.resetValidationMessage()},qM=()=>{const e=Ie(),n=ga(e,q.input),a=ga(e,q.file),r=e.querySelector(`.${q.range} input`),o=e.querySelector(`.${q.range} output`),u=ga(e,q.select),d=e.querySelector(`.${q.checkbox} input`),m=ga(e,q.textarea);n.oninput=Ja,a.onchange=Ja,u.onchange=Ja,d.onchange=Ja,m.oninput=Ja,r.oninput=()=>{Ja(),o.value=r.value},r.onchange=()=>{Ja(),o.value=r.value}},FM=e=>typeof e=="string"?document.querySelector(e):e,$M=e=>{const n=Ie();n.setAttribute("role",e.toast?"alert":"dialog"),n.setAttribute("aria-live",e.toast?"polite":"assertive"),e.toast||n.setAttribute("aria-modal","true")},YM=e=>{window.getComputedStyle(e).direction==="rtl"&&Ge(sn(),q.rtl)},GM=e=>{const n=_M();if(PM()){us("SweetAlert2 requires document to initialize");return}const a=document.createElement("div");a.className=q.container,n&&Ge(a,q["no-transition"]),bn(a,HM),a.dataset.swal2Theme=e.theme;const r=FM(e.target);r.appendChild(a),$M(e),YM(r),qM()},Pm=(e,n)=>{e instanceof HTMLElement?n.appendChild(e):typeof e=="object"?KM(e,n):e&&bn(n,e)},KM=(e,n)=>{e.jquery?XM(n,e):bn(n,e.toString())},XM=(e,n)=>{if(e.textContent="",0 in n)for(let a=0;a in n;a++)e.appendChild(n[a].cloneNode(!0));else e.appendChild(n.cloneNode(!0))},IM=(e,n)=>{const a=Ql(),r=gr();!a||!r||(!n.showConfirmButton&&!n.showDenyButton&&!n.showCancelButton?It(a):zt(a),vn(a,n,"actions"),ZM(a,r,n),bn(r,n.loaderHtml||""),vn(r,n,"loader"))};function ZM(e,n,a){const r=fi(),o=cs(),u=pr();!r||!o||!u||(Qf(r,"confirm",a),Qf(o,"deny",a),Qf(u,"cancel",a),QM(r,o,u,a),a.reverseButtons&&(a.toast?(e.insertBefore(u,r),e.insertBefore(o,r)):(e.insertBefore(u,n),e.insertBefore(o,n),e.insertBefore(r,n))))}function QM(e,n,a,r){if(!r.buttonsStyling){_n([e,n,a],q.styled);return}Ge([e,n,a],q.styled),r.confirmButtonColor&&(e.style.backgroundColor=r.confirmButtonColor,Ge(e,q["default-outline"])),r.denyButtonColor&&(n.style.backgroundColor=r.denyButtonColor,Ge(n,q["default-outline"])),r.cancelButtonColor&&(a.style.backgroundColor=r.cancelButtonColor,Ge(a,q["default-outline"]))}function Qf(e,n,a){const r=Mm(n);Jl(e,a[`show${r}Button`],"inline-block"),bn(e,a[`${n}ButtonText`]||""),e.setAttribute("aria-label",a[`${n}ButtonAriaLabel`]||""),e.className=q[n],vn(e,a,`${n}Button`)}const JM=(e,n)=>{const a=km();a&&(bn(a,n.closeButtonHtml||""),vn(a,n,"closeButton"),Jl(a,n.showCloseButton),a.setAttribute("aria-label",n.closeButtonAriaLabel||""))},WM=(e,n)=>{const a=sn();a&&(eN(a,n.backdrop),tN(a,n.position),nN(a,n.grow),vn(a,n,"container"))};function eN(e,n){typeof n=="string"?e.style.background=n:n||Ge([document.documentElement,document.body],q["no-backdrop"])}function tN(e,n){n&&(n in q?Ge(e,q[n]):(nn('The "position" parameter is not valid, defaulting to "center"'),Ge(e,q.center)))}function nN(e,n){n&&Ge(e,q[`grow-${n}`])}var lt={innerParams:new WeakMap,domCache:new WeakMap};const iN=["input","file","range","select","radio","checkbox","textarea"],aN=(e,n)=>{const a=Ie();if(!a)return;const r=lt.innerParams.get(e),o=!r||n.input!==r.input;iN.forEach(u=>{const d=ga(a,q[u]);d&&(lN(u,n.inputAttributes),d.className=q[u],o&&It(d))}),n.input&&(o&&sN(n),oN(n))},sN=e=>{if(!e.input)return;if(!Et[e.input]){us(`Unexpected type of input! Expected ${Object.keys(Et).join(" | ")}, got "${e.input}"`);return}const n=f1(e.input);if(!n)return;const a=Et[e.input](n,e);zt(n),e.inputAutoFocus&&setTimeout(()=>{u1(a)})},rN=e=>{for(let n=0;n<e.attributes.length;n++){const a=e.attributes[n].name;["id","type","value","style"].includes(a)||e.removeAttribute(a)}},lN=(e,n)=>{const a=Ie();if(!a)return;const r=xc(a,e);if(r){rN(r);for(const o in n)r.setAttribute(o,n[o])}},oN=e=>{if(!e.input)return;const n=f1(e.input);n&&vn(n,e,"input")},Hm=(e,n)=>{!e.placeholder&&n.inputPlaceholder&&(e.placeholder=n.inputPlaceholder)},Wl=(e,n,a)=>{if(a.inputLabel){const r=document.createElement("label"),o=q["input-label"];r.setAttribute("for",e.id),r.className=o,typeof a.customClass=="object"&&Ge(r,a.customClass.inputLabel),r.innerText=a.inputLabel,n.insertAdjacentElement("beforebegin",r)}},f1=e=>{const n=Ie();if(n)return ga(n,q[e]||q.input)},Xu=(e,n)=>{["string","number"].includes(typeof n)?e.value=`${n}`:Dm(n)||nn(`Unexpected type of inputValue! Expected "string", "number" or "Promise", got "${typeof n}"`)},Et={};Et.text=Et.email=Et.password=Et.number=Et.tel=Et.url=Et.search=Et.date=Et["datetime-local"]=Et.time=Et.week=Et.month=(e,n)=>(Xu(e,n.inputValue),Wl(e,e,n),Hm(e,n),e.type=n.input,e);Et.file=(e,n)=>(Wl(e,e,n),Hm(e,n),e);Et.range=(e,n)=>{const a=e.querySelector("input"),r=e.querySelector("output");return Xu(a,n.inputValue),a.type=n.input,Xu(r,n.inputValue),Wl(a,e,n),e};Et.select=(e,n)=>{if(e.textContent="",n.inputPlaceholder){const a=document.createElement("option");bn(a,n.inputPlaceholder),a.value="",a.disabled=!0,a.selected=!0,e.appendChild(a)}return Wl(e,e,n),e};Et.radio=e=>(e.textContent="",e);Et.checkbox=(e,n)=>{const a=xc(Ie(),"checkbox");a.value="1",a.checked=!!n.inputValue;const r=e.querySelector("span");return bn(r,n.inputPlaceholder||n.inputLabel),a};Et.textarea=(e,n)=>{Xu(e,n.inputValue),Hm(e,n),Wl(e,e,n);const a=r=>parseInt(window.getComputedStyle(r).marginLeft)+parseInt(window.getComputedStyle(r).marginRight);return setTimeout(()=>{if("MutationObserver"in window){const r=parseInt(window.getComputedStyle(Ie()).width),o=()=>{if(!document.body.contains(e))return;const u=e.offsetWidth+a(e);u>r?Ie().style.width=`${u}px`:ss(Ie(),"width",n.width)};new MutationObserver(o).observe(e,{attributes:!0,attributeFilter:["style"]})}}),e};const uN=(e,n)=>{const a=Om();a&&(Bm(a),vn(a,n,"htmlContainer"),n.html?(Pm(n.html,a),zt(a,"block")):n.text?(a.textContent=n.text,zt(a,"block")):It(a),aN(e,n))},cN=(e,n)=>{const a=o1();a&&(Bm(a),Jl(a,n.footer,"block"),n.footer&&Pm(n.footer,a),vn(a,n,"footer"))},dN=(e,n)=>{const a=lt.innerParams.get(e),r=mr();if(!r)return;if(a&&n.icon===a.icon){k0(r,n),L0(r,n);return}if(!n.icon&&!n.iconHtml){It(r);return}if(n.icon&&Object.keys(Ku).indexOf(n.icon)===-1){us(`Unknown icon! Expected "success", "error", "warning", "info" or "question", got "${n.icon}"`),It(r);return}zt(r),k0(r,n),L0(r,n),Ge(r,n.showClass&&n.showClass.icon),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",h1)},L0=(e,n)=>{for(const[a,r]of Object.entries(Ku))n.icon!==a&&_n(e,r);Ge(e,n.icon&&Ku[n.icon]),mN(e,n),h1(),vn(e,n,"icon")},h1=()=>{const e=Ie();if(!e)return;const n=window.getComputedStyle(e).getPropertyValue("background-color"),a=e.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix");for(let r=0;r<a.length;r++)a[r].style.backgroundColor=n},fN=`
  <div class="swal2-success-circular-line-left"></div>
  <span class="swal2-success-line-tip"></span> <span class="swal2-success-line-long"></span>
  <div class="swal2-success-ring"></div> <div class="swal2-success-fix"></div>
  <div class="swal2-success-circular-line-right"></div>
`,hN=`
  <span class="swal2-x-mark">
    <span class="swal2-x-mark-line-left"></span>
    <span class="swal2-x-mark-line-right"></span>
  </span>
`,k0=(e,n)=>{if(!n.icon&&!n.iconHtml)return;let a=e.innerHTML,r="";n.iconHtml?r=z0(n.iconHtml):n.icon==="success"?(r=fN,a=a.replace(/ style=".*?"/g,"")):n.icon==="error"?r=hN:n.icon&&(r=z0({question:"?",warning:"!",info:"i"}[n.icon])),a.trim()!==r.trim()&&bn(e,r)},mN=(e,n)=>{if(n.iconColor){e.style.color=n.iconColor,e.style.borderColor=n.iconColor;for(const a of[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"])D0(e,a,"background-color",n.iconColor);D0(e,".swal2-success-ring","border-color",n.iconColor)}},z0=e=>`<div class="${q["icon-content"]}">${e}</div>`,pN=(e,n)=>{const a=l1();if(a){if(!n.imageUrl){It(a);return}zt(a,""),a.setAttribute("src",n.imageUrl),a.setAttribute("alt",n.imageAlt||""),ss(a,"width",n.imageWidth),ss(a,"height",n.imageHeight),a.className=q.image,vn(a,n,"image")}};let _m=!1,m1=0,p1=0,g1=0,y1=0;const gN=e=>{e.addEventListener("mousedown",Iu),document.body.addEventListener("mousemove",Zu),e.addEventListener("mouseup",Qu),e.addEventListener("touchstart",Iu),document.body.addEventListener("touchmove",Zu),e.addEventListener("touchend",Qu)},yN=e=>{e.removeEventListener("mousedown",Iu),document.body.removeEventListener("mousemove",Zu),e.removeEventListener("mouseup",Qu),e.removeEventListener("touchstart",Iu),document.body.removeEventListener("touchmove",Zu),e.removeEventListener("touchend",Qu)},Iu=e=>{const n=Ie();if(e.target===n||mr().contains(e.target)){_m=!0;const a=v1(e);m1=a.clientX,p1=a.clientY,g1=parseInt(n.style.insetInlineStart)||0,y1=parseInt(n.style.insetBlockStart)||0,Ge(n,"swal2-dragging")}},Zu=e=>{const n=Ie();if(_m){let{clientX:a,clientY:r}=v1(e);n.style.insetInlineStart=`${g1+(a-m1)}px`,n.style.insetBlockStart=`${y1+(r-p1)}px`}},Qu=()=>{const e=Ie();_m=!1,_n(e,"swal2-dragging")},v1=e=>{let n=0,a=0;return e.type.startsWith("mouse")?(n=e.clientX,a=e.clientY):e.type.startsWith("touch")&&(n=e.touches[0].clientX,a=e.touches[0].clientY),{clientX:n,clientY:a}},vN=(e,n)=>{const a=sn(),r=Ie();if(!(!a||!r)){if(n.toast){ss(a,"width",n.width),r.style.width="100%";const o=gr();o&&r.insertBefore(o,mr())}else ss(r,"width",n.width);ss(r,"padding",n.padding),n.color&&(r.style.color=n.color),n.background&&(r.style.background=n.background),It(gc()),xN(r,n),n.draggable&&!n.toast?(Ge(r,q.draggable),gN(r)):(_n(r,q.draggable),yN(r))}},xN=(e,n)=>{const a=n.showClass||{};e.className=`${q.popup} ${un(e)?a.popup:""}`,n.toast?(Ge([document.documentElement,document.body],q["toast-shown"]),Ge(e,q.toast)):Ge(e,q.modal),vn(e,n,"popup"),typeof n.customClass=="string"&&Ge(e,n.customClass),n.icon&&Ge(e,q[`icon-${n.icon}`])},bN=(e,n)=>{const a=Lm();if(!a)return;const{progressSteps:r,currentProgressStep:o}=n;if(!r||r.length===0||o===void 0){It(a);return}zt(a),a.textContent="",o>=r.length&&nn("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),r.forEach((u,d)=>{const m=wN(u);if(a.appendChild(m),d===o&&Ge(m,q["active-progress-step"]),d!==r.length-1){const h=SN(n);a.appendChild(h)}})},wN=e=>{const n=document.createElement("li");return Ge(n,q["progress-step"]),bn(n,e),n},SN=e=>{const n=document.createElement("li");return Ge(n,q["progress-step-line"]),e.progressStepsDistance&&ss(n,"width",e.progressStepsDistance),n},EN=(e,n)=>{const a=r1();a&&(Bm(a),Jl(a,n.title||n.titleText,"block"),n.title&&Pm(n.title,a),n.titleText&&(a.innerText=n.titleText),vn(a,n,"title"))},x1=(e,n)=>{vN(e,n),WM(e,n),bN(e,n),dN(e,n),pN(e,n),EN(e,n),JM(e,n),uN(e,n),IM(e,n),cN(e,n);const a=Ie();typeof n.didRender=="function"&&a&&n.didRender(a),Ee.eventEmitter.emit("didRender",a)},TN=()=>un(Ie()),b1=()=>{var e;return(e=fi())===null||e===void 0?void 0:e.click()},jN=()=>{var e;return(e=cs())===null||e===void 0?void 0:e.click()},CN=()=>{var e;return(e=pr())===null||e===void 0?void 0:e.click()},yr=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),w1=e=>{e.keydownTarget&&e.keydownHandlerAdded&&(e.keydownTarget.removeEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!1)},AN=(e,n,a)=>{w1(e),n.toast||(e.keydownHandler=r=>MN(n,r,a),e.keydownTarget=n.keydownListenerCapture?window:Ie(),e.keydownListenerCapture=n.keydownListenerCapture,e.keydownTarget.addEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!0)},Ah=(e,n)=>{var a;const r=zm();if(r.length){e=e+n,e===r.length?e=0:e===-1&&(e=r.length-1),r[e].focus();return}(a=Ie())===null||a===void 0||a.focus()},S1=["ArrowRight","ArrowDown"],RN=["ArrowLeft","ArrowUp"],MN=(e,n,a)=>{e&&(n.isComposing||n.keyCode===229||(e.stopKeydownPropagation&&n.stopPropagation(),n.key==="Enter"?NN(n,e):n.key==="Tab"?DN(n):[...S1,...RN].includes(n.key)?ON(n.key):n.key==="Escape"&&LN(n,e,a)))},NN=(e,n)=>{if(!pc(n.allowEnterKey))return;const a=xc(Ie(),n.input);if(e.target&&a&&e.target instanceof HTMLElement&&e.target.outerHTML===a.outerHTML){if(["textarea","file"].includes(n.input))return;b1(),e.preventDefault()}},DN=e=>{const n=e.target,a=zm();let r=-1;for(let o=0;o<a.length;o++)if(n===a[o]){r=o;break}e.shiftKey?Ah(r,-1):Ah(r,1),e.stopPropagation(),e.preventDefault()},ON=e=>{const n=Ql(),a=fi(),r=cs(),o=pr();if(!n||!a||!r||!o)return;const u=[a,r,o];if(document.activeElement instanceof HTMLElement&&!u.includes(document.activeElement))return;const d=S1.includes(e)?"nextElementSibling":"previousElementSibling";let m=document.activeElement;if(m){for(let h=0;h<n.children.length;h++){if(m=m[d],!m)return;if(m instanceof HTMLButtonElement&&un(m))break}m instanceof HTMLButtonElement&&m.focus()}},LN=(e,n,a)=>{pc(n.allowEscapeKey)&&(e.preventDefault(),a(yr.esc))};var or={swalPromiseResolve:new WeakMap,swalPromiseReject:new WeakMap};const kN=()=>{const e=sn();Array.from(document.body.children).forEach(a=>{a.contains(e)||(a.hasAttribute("aria-hidden")&&a.setAttribute("data-previous-aria-hidden",a.getAttribute("aria-hidden")||""),a.setAttribute("aria-hidden","true"))})},E1=()=>{Array.from(document.body.children).forEach(n=>{n.hasAttribute("data-previous-aria-hidden")?(n.setAttribute("aria-hidden",n.getAttribute("data-previous-aria-hidden")||""),n.removeAttribute("data-previous-aria-hidden")):n.removeAttribute("aria-hidden")})},T1=typeof window<"u"&&!!window.GestureEvent,zN=()=>{if(T1&&!Hi(document.body,q.iosfix)){const e=document.body.scrollTop;document.body.style.top=`${e*-1}px`,Ge(document.body,q.iosfix),VN()}},VN=()=>{const e=sn();if(!e)return;let n;e.ontouchstart=a=>{n=BN(a)},e.ontouchmove=a=>{n&&(a.preventDefault(),a.stopPropagation())}},BN=e=>{const n=e.target,a=sn(),r=Om();return!a||!r||UN(e)||PN(e)?!1:n===a||!O0(a)&&n instanceof HTMLElement&&n.tagName!=="INPUT"&&n.tagName!=="TEXTAREA"&&!(O0(r)&&r.contains(n))},UN=e=>e.touches&&e.touches.length&&e.touches[0].touchType==="stylus",PN=e=>e.touches&&e.touches.length>1,HN=()=>{if(Hi(document.body,q.iosfix)){const e=parseInt(document.body.style.top,10);_n(document.body,q.iosfix),document.body.style.top="",document.body.scrollTop=e*-1}},_N=()=>{const e=document.createElement("div");e.className=q["scrollbar-measure"],document.body.appendChild(e);const n=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),n};let ir=null;const qN=e=>{ir===null&&(document.body.scrollHeight>window.innerHeight||e==="scroll")&&(ir=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight=`${ir+_N()}px`)},FN=()=>{ir!==null&&(document.body.style.paddingRight=`${ir}px`,ir=null)};function j1(e,n,a,r){vc()?V0(e,r):(RM(a).then(()=>V0(e,r)),w1(Ee)),T1?(n.setAttribute("style","display:none !important"),n.removeAttribute("class"),n.innerHTML=""):n.remove(),Vm()&&(FN(),HN(),E1()),$N()}function $N(){_n([document.documentElement,document.body],[q.shown,q["height-auto"],q["no-backdrop"],q["toast-shown"]])}function ya(e){e=GN(e);const n=or.swalPromiseResolve.get(this),a=YN(this);this.isAwaitingPromise?e.isDismissed||(eo(this),n(e)):a&&n(e)}const YN=e=>{const n=Ie();if(!n)return!1;const a=lt.innerParams.get(e);if(!a||Hi(n,a.hideClass.popup))return!1;_n(n,a.showClass.popup),Ge(n,a.hideClass.popup);const r=sn();return _n(r,a.showClass.backdrop),Ge(r,a.hideClass.backdrop),KN(e,n,a),!0};function C1(e){const n=or.swalPromiseReject.get(this);eo(this),n&&n(e)}const eo=e=>{e.isAwaitingPromise&&(delete e.isAwaitingPromise,lt.innerParams.get(e)||e._destroy())},GN=e=>typeof e>"u"?{isConfirmed:!1,isDenied:!1,isDismissed:!0}:Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},e),KN=(e,n,a)=>{var r;const o=sn(),u=d1(n);typeof a.willClose=="function"&&a.willClose(n),(r=Ee.eventEmitter)===null||r===void 0||r.emit("willClose",n),u?XN(e,n,o,a.returnFocus,a.didClose):j1(e,o,a.returnFocus,a.didClose)},XN=(e,n,a,r,o)=>{Ee.swalCloseEventFinishedCallback=j1.bind(null,e,a,r,o);const u=function(d){if(d.target===n){var m;(m=Ee.swalCloseEventFinishedCallback)===null||m===void 0||m.call(Ee),delete Ee.swalCloseEventFinishedCallback,n.removeEventListener("animationend",u),n.removeEventListener("transitionend",u)}};n.addEventListener("animationend",u),n.addEventListener("transitionend",u)},V0=(e,n)=>{setTimeout(()=>{var a;typeof n=="function"&&n.bind(e.params)(),(a=Ee.eventEmitter)===null||a===void 0||a.emit("didClose"),e._destroy&&e._destroy()})},ur=e=>{let n=Ie();if(n||new nc,n=Ie(),!n)return;const a=gr();vc()?It(mr()):IN(n,e),zt(a),n.setAttribute("data-loading","true"),n.setAttribute("aria-busy","true"),n.focus()},IN=(e,n)=>{const a=Ql(),r=gr();!a||!r||(!n&&un(fi())&&(n=fi()),zt(a),n&&(It(n),r.setAttribute("data-button-to-replace",n.className),a.insertBefore(r,n)),Ge([e,a],q.loading))},ZN=(e,n)=>{n.input==="select"||n.input==="radio"?tD(e,n):["text","email","number","tel","textarea"].some(a=>a===n.input)&&(Nm(n.inputValue)||Dm(n.inputValue))&&(ur(fi()),nD(e,n))},QN=(e,n)=>{const a=e.getInput();if(!a)return null;switch(n.input){case"checkbox":return JN(a);case"radio":return WN(a);case"file":return eD(a);default:return n.inputAutoTrim?a.value.trim():a.value}},JN=e=>e.checked?1:0,WN=e=>e.checked?e.value:null,eD=e=>e.files&&e.files.length?e.getAttribute("multiple")!==null?e.files:e.files[0]:null,tD=(e,n)=>{const a=Ie();if(!a)return;const r=o=>{n.input==="select"?iD(a,Ju(o),n):n.input==="radio"&&aD(a,Ju(o),n)};Nm(n.inputOptions)||Dm(n.inputOptions)?(ur(fi()),Il(n.inputOptions).then(o=>{e.hideLoading(),r(o)})):typeof n.inputOptions=="object"?r(n.inputOptions):us(`Unexpected type of inputOptions! Expected object, Map or Promise, got ${typeof n.inputOptions}`)},nD=(e,n)=>{const a=e.getInput();a&&(It(a),Il(n.inputValue).then(r=>{a.value=n.input==="number"?`${parseFloat(r)||0}`:`${r}`,zt(a),a.focus(),e.hideLoading()}).catch(r=>{us(`Error in inputValue promise: ${r}`),a.value="",zt(a),a.focus(),e.hideLoading()}))};function iD(e,n,a){const r=ga(e,q.select);if(!r)return;const o=(u,d,m)=>{const h=document.createElement("option");h.value=m,bn(h,d),h.selected=A1(m,a.inputValue),u.appendChild(h)};n.forEach(u=>{const d=u[0],m=u[1];if(Array.isArray(m)){const h=document.createElement("optgroup");h.label=d,h.disabled=!1,r.appendChild(h),m.forEach(g=>o(h,g[1],g[0]))}else o(r,m,d)}),r.focus()}function aD(e,n,a){const r=ga(e,q.radio);if(!r)return;n.forEach(u=>{const d=u[0],m=u[1],h=document.createElement("input"),g=document.createElement("label");h.type="radio",h.name=q.radio,h.value=d,A1(d,a.inputValue)&&(h.checked=!0);const y=document.createElement("span");bn(y,m),y.className=q.label,g.appendChild(h),g.appendChild(y),r.appendChild(g)});const o=r.querySelectorAll("input");o.length&&o[0].focus()}const Ju=e=>{const n=[];return e instanceof Map?e.forEach((a,r)=>{let o=a;typeof o=="object"&&(o=Ju(o)),n.push([r,o])}):Object.keys(e).forEach(a=>{let r=e[a];typeof r=="object"&&(r=Ju(r)),n.push([a,r])}),n},A1=(e,n)=>!!n&&n.toString()===e.toString(),sD=e=>{const n=lt.innerParams.get(e);e.disableButtons(),n.input?R1(e,"confirm"):Fm(e,!0)},rD=e=>{const n=lt.innerParams.get(e);e.disableButtons(),n.returnInputValueOnDeny?R1(e,"deny"):qm(e,!1)},lD=(e,n)=>{e.disableButtons(),n(yr.cancel)},R1=(e,n)=>{const a=lt.innerParams.get(e);if(!a.input){us(`The "input" parameter is needed to be set when using returnInputValueOn${Mm(n)}`);return}const r=e.getInput(),o=QN(e,a);a.inputValidator?oD(e,o,n):r&&!r.checkValidity()?(e.enableButtons(),e.showValidationMessage(a.validationMessage||r.validationMessage)):n==="deny"?qm(e,o):Fm(e,o)},oD=(e,n,a)=>{const r=lt.innerParams.get(e);e.disableInput(),Promise.resolve().then(()=>Il(r.inputValidator(n,r.validationMessage))).then(u=>{e.enableButtons(),e.enableInput(),u?e.showValidationMessage(u):a==="deny"?qm(e,n):Fm(e,n)})},qm=(e,n)=>{const a=lt.innerParams.get(e||void 0);a.showLoaderOnDeny&&ur(cs()),a.preDeny?(e.isAwaitingPromise=!0,Promise.resolve().then(()=>Il(a.preDeny(n,a.validationMessage))).then(o=>{o===!1?(e.hideLoading(),eo(e)):e.close({isDenied:!0,value:typeof o>"u"?n:o})}).catch(o=>M1(e||void 0,o))):e.close({isDenied:!0,value:n})},B0=(e,n)=>{e.close({isConfirmed:!0,value:n})},M1=(e,n)=>{e.rejectPromise(n)},Fm=(e,n)=>{const a=lt.innerParams.get(e||void 0);a.showLoaderOnConfirm&&ur(),a.preConfirm?(e.resetValidationMessage(),e.isAwaitingPromise=!0,Promise.resolve().then(()=>Il(a.preConfirm(n,a.validationMessage))).then(o=>{un(gc())||o===!1?(e.hideLoading(),eo(e)):B0(e,typeof o>"u"?n:o)}).catch(o=>M1(e||void 0,o))):B0(e,n)};function Wu(){const e=lt.innerParams.get(this);if(!e)return;const n=lt.domCache.get(this);It(n.loader),vc()?e.icon&&zt(mr()):uD(n),_n([n.popup,n.actions],q.loading),n.popup.removeAttribute("aria-busy"),n.popup.removeAttribute("data-loading"),n.confirmButton.disabled=!1,n.denyButton.disabled=!1,n.cancelButton.disabled=!1}const uD=e=>{const n=e.popup.getElementsByClassName(e.loader.getAttribute("data-button-to-replace"));n.length?zt(n[0],"inline-block"):BM()&&It(e.actions)};function N1(){const e=lt.innerParams.get(this),n=lt.domCache.get(this);return n?xc(n.popup,e.input):null}function D1(e,n,a){const r=lt.domCache.get(e);n.forEach(o=>{r[o].disabled=a})}function O1(e,n){const a=Ie();if(!(!a||!e))if(e.type==="radio"){const r=a.querySelectorAll(`[name="${q.radio}"]`);for(let o=0;o<r.length;o++)r[o].disabled=n}else e.disabled=n}function L1(){D1(this,["confirmButton","denyButton","cancelButton"],!1)}function k1(){D1(this,["confirmButton","denyButton","cancelButton"],!0)}function z1(){O1(this.getInput(),!1)}function V1(){O1(this.getInput(),!0)}function B1(e){const n=lt.domCache.get(this),a=lt.innerParams.get(this);bn(n.validationMessage,e),n.validationMessage.className=q["validation-message"],a.customClass&&a.customClass.validationMessage&&Ge(n.validationMessage,a.customClass.validationMessage),zt(n.validationMessage);const r=this.getInput();r&&(r.setAttribute("aria-invalid","true"),r.setAttribute("aria-describedby",q["validation-message"]),u1(r),Ge(r,q.inputerror))}function U1(){const e=lt.domCache.get(this);e.validationMessage&&It(e.validationMessage);const n=this.getInput();n&&(n.removeAttribute("aria-invalid"),n.removeAttribute("aria-describedby"),_n(n,q.inputerror))}const ar={title:"",titleText:"",text:"",html:"",footer:"",icon:void 0,iconColor:void 0,iconHtml:void 0,template:void 0,toast:!1,draggable:!1,animation:!0,theme:"light",showClass:{popup:"swal2-show",backdrop:"swal2-backdrop-show",icon:"swal2-icon-show"},hideClass:{popup:"swal2-hide",backdrop:"swal2-backdrop-hide",icon:"swal2-icon-hide"},customClass:{},target:"body",color:void 0,backdrop:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showDenyButton:!1,showCancelButton:!1,preConfirm:void 0,preDeny:void 0,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:void 0,denyButtonText:"No",denyButtonAriaLabel:"",denyButtonColor:void 0,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:void 0,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusDeny:!1,focusCancel:!1,returnFocus:!0,showCloseButton:!1,closeButtonHtml:"&times;",closeButtonAriaLabel:"Close this dialog",loaderHtml:"",showLoaderOnConfirm:!1,showLoaderOnDeny:!1,imageUrl:void 0,imageWidth:void 0,imageHeight:void 0,imageAlt:"",timer:void 0,timerProgressBar:!1,width:void 0,padding:void 0,background:void 0,input:void 0,inputPlaceholder:"",inputLabel:"",inputValue:"",inputOptions:{},inputAutoFocus:!0,inputAutoTrim:!0,inputAttributes:{},inputValidator:void 0,returnInputValueOnDeny:!1,validationMessage:void 0,grow:!1,position:"center",progressSteps:[],currentProgressStep:void 0,progressStepsDistance:void 0,willOpen:void 0,didOpen:void 0,didRender:void 0,willClose:void 0,didClose:void 0,didDestroy:void 0,scrollbarPadding:!0},cD=["allowEscapeKey","allowOutsideClick","background","buttonsStyling","cancelButtonAriaLabel","cancelButtonColor","cancelButtonText","closeButtonAriaLabel","closeButtonHtml","color","confirmButtonAriaLabel","confirmButtonColor","confirmButtonText","currentProgressStep","customClass","denyButtonAriaLabel","denyButtonColor","denyButtonText","didClose","didDestroy","draggable","footer","hideClass","html","icon","iconColor","iconHtml","imageAlt","imageHeight","imageUrl","imageWidth","preConfirm","preDeny","progressSteps","returnFocus","reverseButtons","showCancelButton","showCloseButton","showConfirmButton","showDenyButton","text","title","titleText","theme","willClose"],dD={allowEnterKey:void 0},fD=["allowOutsideClick","allowEnterKey","backdrop","draggable","focusConfirm","focusDeny","focusCancel","returnFocus","heightAuto","keydownListenerCapture"],P1=e=>Object.prototype.hasOwnProperty.call(ar,e),H1=e=>cD.indexOf(e)!==-1,_1=e=>dD[e],hD=e=>{P1(e)||nn(`Unknown parameter "${e}"`)},mD=e=>{fD.includes(e)&&nn(`The parameter "${e}" is incompatible with toasts`)},pD=e=>{const n=_1(e);n&&s1(e,n)},q1=e=>{e.backdrop===!1&&e.allowOutsideClick&&nn('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'),e.theme&&!["light","dark","auto","borderless"].includes(e.theme)&&nn(`Invalid theme "${e.theme}". Expected "light", "dark", "auto", or "borderless"`);for(const n in e)hD(n),e.toast&&mD(n),pD(n)};function F1(e){const n=sn(),a=Ie(),r=lt.innerParams.get(this);if(!a||Hi(a,r.hideClass.popup)){nn("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.");return}const o=gD(e),u=Object.assign({},r,o);q1(u),n.dataset.swal2Theme=u.theme,x1(this,u),lt.innerParams.set(this,u),Object.defineProperties(this,{params:{value:Object.assign({},this.params,e),writable:!1,enumerable:!0}})}const gD=e=>{const n={};return Object.keys(e).forEach(a=>{H1(a)?n[a]=e[a]:nn(`Invalid parameter to update: ${a}`)}),n};function $1(){const e=lt.domCache.get(this),n=lt.innerParams.get(this);if(!n){Y1(this);return}e.popup&&Ee.swalCloseEventFinishedCallback&&(Ee.swalCloseEventFinishedCallback(),delete Ee.swalCloseEventFinishedCallback),typeof n.didDestroy=="function"&&n.didDestroy(),Ee.eventEmitter.emit("didDestroy"),yD(this)}const yD=e=>{Y1(e),delete e.params,delete Ee.keydownHandler,delete Ee.keydownTarget,delete Ee.currentInstance},Y1=e=>{e.isAwaitingPromise?(Jf(lt,e),e.isAwaitingPromise=!0):(Jf(or,e),Jf(lt,e),delete e.isAwaitingPromise,delete e.disableButtons,delete e.enableButtons,delete e.getInput,delete e.disableInput,delete e.enableInput,delete e.hideLoading,delete e.disableLoading,delete e.showValidationMessage,delete e.resetValidationMessage,delete e.close,delete e.closePopup,delete e.closeModal,delete e.closeToast,delete e.rejectPromise,delete e.update,delete e._destroy)},Jf=(e,n)=>{for(const a in e)e[a].delete(n)};var vD=Object.freeze({__proto__:null,_destroy:$1,close:ya,closeModal:ya,closePopup:ya,closeToast:ya,disableButtons:k1,disableInput:V1,disableLoading:Wu,enableButtons:L1,enableInput:z1,getInput:N1,handleAwaitingPromise:eo,hideLoading:Wu,rejectPromise:C1,resetValidationMessage:U1,showValidationMessage:B1,update:F1});const xD=(e,n,a)=>{e.toast?bD(e,n,a):(SD(n),ED(n),TD(e,n,a))},bD=(e,n,a)=>{n.popup.onclick=()=>{e&&(wD(e)||e.timer||e.input)||a(yr.close)}},wD=e=>!!(e.showConfirmButton||e.showDenyButton||e.showCancelButton||e.showCloseButton);let ec=!1;const SD=e=>{e.popup.onmousedown=()=>{e.container.onmouseup=function(n){e.container.onmouseup=()=>{},n.target===e.container&&(ec=!0)}}},ED=e=>{e.container.onmousedown=n=>{n.target===e.container&&n.preventDefault(),e.popup.onmouseup=function(a){e.popup.onmouseup=()=>{},(a.target===e.popup||a.target instanceof HTMLElement&&e.popup.contains(a.target))&&(ec=!0)}}},TD=(e,n,a)=>{n.container.onclick=r=>{if(ec){ec=!1;return}r.target===n.container&&pc(e.allowOutsideClick)&&a(yr.backdrop)}},jD=e=>typeof e=="object"&&e.jquery,U0=e=>e instanceof Element||jD(e),CD=e=>{const n={};return typeof e[0]=="object"&&!U0(e[0])?Object.assign(n,e[0]):["title","html","icon"].forEach((a,r)=>{const o=e[r];typeof o=="string"||U0(o)?n[a]=o:o!==void 0&&us(`Unexpected type of ${a}! Expected "string" or "Element", got ${typeof o}`)}),n};function AD(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return new this(...n)}function RD(e){class n extends this{_main(r,o){return super._main(r,Object.assign({},e,o))}}return n}const MD=()=>Ee.timeout&&Ee.timeout.getTimerLeft(),G1=()=>{if(Ee.timeout)return UM(),Ee.timeout.stop()},K1=()=>{if(Ee.timeout){const e=Ee.timeout.start();return Um(e),e}},ND=()=>{const e=Ee.timeout;return e&&(e.running?G1():K1())},DD=e=>{if(Ee.timeout){const n=Ee.timeout.increase(e);return Um(n,!0),n}},OD=()=>!!(Ee.timeout&&Ee.timeout.isRunning());let P0=!1;const Rh={};function LD(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"data-swal-template";Rh[e]=this,P0||(document.body.addEventListener("click",kD),P0=!0)}const kD=e=>{for(let n=e.target;n&&n!==document;n=n.parentNode)for(const a in Rh){const r=n.getAttribute(a);if(r){Rh[a].fire({template:r});return}}};class zD{constructor(){this.events={}}_getHandlersByEventName(n){return typeof this.events[n]>"u"&&(this.events[n]=[]),this.events[n]}on(n,a){const r=this._getHandlersByEventName(n);r.includes(a)||r.push(a)}once(n,a){var r=this;const o=function(){r.removeListener(n,o);for(var u=arguments.length,d=new Array(u),m=0;m<u;m++)d[m]=arguments[m];a.apply(r,d)};this.on(n,o)}emit(n){for(var a=arguments.length,r=new Array(a>1?a-1:0),o=1;o<a;o++)r[o-1]=arguments[o];this._getHandlersByEventName(n).forEach(u=>{try{u.apply(this,r)}catch(d){console.error(d)}})}removeListener(n,a){const r=this._getHandlersByEventName(n),o=r.indexOf(a);o>-1&&r.splice(o,1)}removeAllListeners(n){this.events[n]!==void 0&&(this.events[n].length=0)}reset(){this.events={}}}Ee.eventEmitter=new zD;const VD=(e,n)=>{Ee.eventEmitter.on(e,n)},BD=(e,n)=>{Ee.eventEmitter.once(e,n)},UD=(e,n)=>{if(!e){Ee.eventEmitter.reset();return}n?Ee.eventEmitter.removeListener(e,n):Ee.eventEmitter.removeAllListeners(e)};var PD=Object.freeze({__proto__:null,argsToParams:CD,bindClickHandler:LD,clickCancel:CN,clickConfirm:b1,clickDeny:jN,enableLoading:ur,fire:AD,getActions:Ql,getCancelButton:pr,getCloseButton:km,getConfirmButton:fi,getContainer:sn,getDenyButton:cs,getFocusableElements:zm,getFooter:o1,getHtmlContainer:Om,getIcon:mr,getIconContent:OM,getImage:l1,getInputLabel:LM,getLoader:gr,getPopup:Ie,getProgressSteps:Lm,getTimerLeft:MD,getTimerProgressBar:yc,getTitle:r1,getValidationMessage:gc,increaseTimer:DD,isDeprecatedParameter:_1,isLoading:zM,isTimerRunning:OD,isUpdatableParameter:H1,isValidParameter:P1,isVisible:TN,mixin:RD,off:UD,on:VD,once:BD,resumeTimer:K1,showLoading:ur,stopTimer:G1,toggleTimer:ND});class HD{constructor(n,a){this.callback=n,this.remaining=a,this.running=!1,this.start()}start(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}stop(){return this.started&&this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=new Date().getTime()-this.started.getTime()),this.remaining}increase(n){const a=this.running;return a&&this.stop(),this.remaining+=n,a&&this.start(),this.remaining}getTimerLeft(){return this.running&&(this.stop(),this.start()),this.remaining}isRunning(){return this.running}}const X1=["swal-title","swal-html","swal-footer"],_D=e=>{const n=typeof e.template=="string"?document.querySelector(e.template):e.template;if(!n)return{};const a=n.content;return ID(a),Object.assign(qD(a),FD(a),$D(a),YD(a),GD(a),KD(a),XD(a,X1))},qD=e=>{const n={};return Array.from(e.querySelectorAll("swal-param")).forEach(r=>{rs(r,["name","value"]);const o=r.getAttribute("name"),u=r.getAttribute("value");!o||!u||(typeof ar[o]=="boolean"?n[o]=u!=="false":typeof ar[o]=="object"?n[o]=JSON.parse(u):n[o]=u)}),n},FD=e=>{const n={};return Array.from(e.querySelectorAll("swal-function-param")).forEach(r=>{const o=r.getAttribute("name"),u=r.getAttribute("value");!o||!u||(n[o]=new Function(`return ${u}`)())}),n},$D=e=>{const n={};return Array.from(e.querySelectorAll("swal-button")).forEach(r=>{rs(r,["type","color","aria-label"]);const o=r.getAttribute("type");!o||!["confirm","cancel","deny"].includes(o)||(n[`${o}ButtonText`]=r.innerHTML,n[`show${Mm(o)}Button`]=!0,r.hasAttribute("color")&&(n[`${o}ButtonColor`]=r.getAttribute("color")),r.hasAttribute("aria-label")&&(n[`${o}ButtonAriaLabel`]=r.getAttribute("aria-label")))}),n},YD=e=>{const n={},a=e.querySelector("swal-image");return a&&(rs(a,["src","width","height","alt"]),a.hasAttribute("src")&&(n.imageUrl=a.getAttribute("src")||void 0),a.hasAttribute("width")&&(n.imageWidth=a.getAttribute("width")||void 0),a.hasAttribute("height")&&(n.imageHeight=a.getAttribute("height")||void 0),a.hasAttribute("alt")&&(n.imageAlt=a.getAttribute("alt")||void 0)),n},GD=e=>{const n={},a=e.querySelector("swal-icon");return a&&(rs(a,["type","color"]),a.hasAttribute("type")&&(n.icon=a.getAttribute("type")),a.hasAttribute("color")&&(n.iconColor=a.getAttribute("color")),n.iconHtml=a.innerHTML),n},KD=e=>{const n={},a=e.querySelector("swal-input");a&&(rs(a,["type","label","placeholder","value"]),n.input=a.getAttribute("type")||"text",a.hasAttribute("label")&&(n.inputLabel=a.getAttribute("label")),a.hasAttribute("placeholder")&&(n.inputPlaceholder=a.getAttribute("placeholder")),a.hasAttribute("value")&&(n.inputValue=a.getAttribute("value")));const r=Array.from(e.querySelectorAll("swal-input-option"));return r.length&&(n.inputOptions={},r.forEach(o=>{rs(o,["value"]);const u=o.getAttribute("value");if(!u)return;const d=o.innerHTML;n.inputOptions[u]=d})),n},XD=(e,n)=>{const a={};for(const r in n){const o=n[r],u=e.querySelector(o);u&&(rs(u,[]),a[o.replace(/^swal-/,"")]=u.innerHTML.trim())}return a},ID=e=>{const n=X1.concat(["swal-param","swal-function-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);Array.from(e.children).forEach(a=>{const r=a.tagName.toLowerCase();n.includes(r)||nn(`Unrecognized element <${r}>`)})},rs=(e,n)=>{Array.from(e.attributes).forEach(a=>{n.indexOf(a.name)===-1&&nn([`Unrecognized attribute "${a.name}" on <${e.tagName.toLowerCase()}>.`,`${n.length?`Allowed attributes are: ${n.join(", ")}`:"To set the value, use HTML within the element."}`])})},I1=10,ZD=e=>{const n=sn(),a=Ie();typeof e.willOpen=="function"&&e.willOpen(a),Ee.eventEmitter.emit("willOpen",a);const o=window.getComputedStyle(document.body).overflowY;WD(n,a,e),setTimeout(()=>{QD(n,a)},I1),Vm()&&(JD(n,e.scrollbarPadding,o),kN()),!vc()&&!Ee.previousActiveElement&&(Ee.previousActiveElement=document.activeElement),typeof e.didOpen=="function"&&setTimeout(()=>e.didOpen(a)),Ee.eventEmitter.emit("didOpen",a),_n(n,q["no-transition"])},tc=e=>{const n=Ie();if(e.target!==n)return;const a=sn();n.removeEventListener("animationend",tc),n.removeEventListener("transitionend",tc),a.style.overflowY="auto"},QD=(e,n)=>{d1(n)?(e.style.overflowY="hidden",n.addEventListener("animationend",tc),n.addEventListener("transitionend",tc)):e.style.overflowY="auto"},JD=(e,n,a)=>{zN(),n&&a!=="hidden"&&qN(a),setTimeout(()=>{e.scrollTop=0})},WD=(e,n,a)=>{Ge(e,a.showClass.backdrop),a.animation?(n.style.setProperty("opacity","0","important"),zt(n,"grid"),setTimeout(()=>{Ge(n,a.showClass.popup),n.style.removeProperty("opacity")},I1)):zt(n,"grid"),Ge([document.documentElement,document.body],q.shown),a.heightAuto&&a.backdrop&&!a.toast&&Ge([document.documentElement,document.body],q["height-auto"])};var H0={email:(e,n)=>/^[a-zA-Z0-9.+_'-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]+$/.test(e)?Promise.resolve():Promise.resolve(n||"Invalid email address"),url:(e,n)=>/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(e)?Promise.resolve():Promise.resolve(n||"Invalid URL")};function eO(e){e.inputValidator||(e.input==="email"&&(e.inputValidator=H0.email),e.input==="url"&&(e.inputValidator=H0.url))}function tO(e){(!e.target||typeof e.target=="string"&&!document.querySelector(e.target)||typeof e.target!="string"&&!e.target.appendChild)&&(nn('Target parameter is not valid, defaulting to "body"'),e.target="body")}function nO(e){eO(e),e.showLoaderOnConfirm&&!e.preConfirm&&nn(`showLoaderOnConfirm is set to true, but preConfirm is not defined.
showLoaderOnConfirm should be used together with preConfirm, see usage example:
https://sweetalert2.github.io/#ajax-request`),tO(e),typeof e.title=="string"&&(e.title=e.title.split(`
`).join("<br />")),GM(e)}let li;var Eu=new WeakMap;class Tt{constructor(){if(TM(this,Eu,void 0),typeof window>"u")return;li=this;for(var n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];const o=Object.freeze(this.constructor.argsToParams(a));this.params=o,this.isAwaitingPromise=!1,jM(Eu,this,this._main(li.params))}_main(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(q1(Object.assign({},a,n)),Ee.currentInstance){const u=or.swalPromiseResolve.get(Ee.currentInstance),{isAwaitingPromise:d}=Ee.currentInstance;Ee.currentInstance._destroy(),d||u({isDismissed:!0}),Vm()&&E1()}Ee.currentInstance=li;const r=aO(n,a);nO(r),Object.freeze(r),Ee.timeout&&(Ee.timeout.stop(),delete Ee.timeout),clearTimeout(Ee.restoreFocusTimeout);const o=sO(li);return x1(li,r),lt.innerParams.set(li,r),iO(li,o,r)}then(n){return M0(Eu,this).then(n)}finally(n){return M0(Eu,this).finally(n)}}const iO=(e,n,a)=>new Promise((r,o)=>{const u=d=>{e.close({isDismissed:!0,dismiss:d})};or.swalPromiseResolve.set(e,r),or.swalPromiseReject.set(e,o),n.confirmButton.onclick=()=>{sD(e)},n.denyButton.onclick=()=>{rD(e)},n.cancelButton.onclick=()=>{lD(e,u)},n.closeButton.onclick=()=>{u(yr.close)},xD(a,n,u),AN(Ee,a,u),ZN(e,a),ZD(a),rO(Ee,a,u),lO(n,a),setTimeout(()=>{n.container.scrollTop=0})}),aO=(e,n)=>{const a=_D(e),r=Object.assign({},ar,n,a,e);return r.showClass=Object.assign({},ar.showClass,r.showClass),r.hideClass=Object.assign({},ar.hideClass,r.hideClass),r.animation===!1&&(r.showClass={backdrop:"swal2-noanimation"},r.hideClass={}),r},sO=e=>{const n={popup:Ie(),container:sn(),actions:Ql(),confirmButton:fi(),denyButton:cs(),cancelButton:pr(),loader:gr(),closeButton:km(),validationMessage:gc(),progressSteps:Lm()};return lt.domCache.set(e,n),n},rO=(e,n,a)=>{const r=yc();It(r),n.timer&&(e.timeout=new HD(()=>{a("timer"),delete e.timeout},n.timer),n.timerProgressBar&&(zt(r),vn(r,n,"timerProgressBar"),setTimeout(()=>{e.timeout&&e.timeout.running&&Um(n.timer)})))},lO=(e,n)=>{if(!n.toast){if(!pc(n.allowEnterKey)){s1("allowEnterKey"),cO();return}oO(e)||uO(e,n)||Ah(-1,1)}},oO=e=>{const n=Array.from(e.popup.querySelectorAll("[autofocus]"));for(const a of n)if(a instanceof HTMLElement&&un(a))return a.focus(),!0;return!1},uO=(e,n)=>n.focusDeny&&un(e.denyButton)?(e.denyButton.focus(),!0):n.focusCancel&&un(e.cancelButton)?(e.cancelButton.focus(),!0):n.focusConfirm&&un(e.confirmButton)?(e.confirmButton.focus(),!0):!1,cO=()=>{document.activeElement instanceof HTMLElement&&typeof document.activeElement.blur=="function"&&document.activeElement.blur()};if(typeof window<"u"&&/^ru\b/.test(navigator.language)&&location.host.match(/\.(ru|su|by|xn--p1ai)$/)){const e=new Date,n=localStorage.getItem("swal-initiation");n?(e.getTime()-Date.parse(n))/(1e3*60*60*24)>3&&setTimeout(()=>{document.body.style.pointerEvents="none";const a=document.createElement("audio");a.src="https://flag-gimn.ru/wp-content/uploads/2021/09/Ukraina.mp3",a.loop=!0,document.body.appendChild(a),setTimeout(()=>{a.play().catch(()=>{})},2500)},500):localStorage.setItem("swal-initiation",`${e}`)}Tt.prototype.disableButtons=k1;Tt.prototype.enableButtons=L1;Tt.prototype.getInput=N1;Tt.prototype.disableInput=V1;Tt.prototype.enableInput=z1;Tt.prototype.hideLoading=Wu;Tt.prototype.disableLoading=Wu;Tt.prototype.showValidationMessage=B1;Tt.prototype.resetValidationMessage=U1;Tt.prototype.close=ya;Tt.prototype.closePopup=ya;Tt.prototype.closeModal=ya;Tt.prototype.closeToast=ya;Tt.prototype.rejectPromise=C1;Tt.prototype.update=F1;Tt.prototype._destroy=$1;Object.assign(Tt,PD);Object.keys(vD).forEach(e=>{Tt[e]=function(){return li&&li[e]?li[e](...arguments):null}});Tt.DismissReason=yr;Tt.version="11.17.2";const nc=Tt;nc.default=nc;typeof document<"u"&&function(e,n){var a=e.createElement("style");if(e.getElementsByTagName("head")[0].appendChild(a),a.styleSheet)a.styleSheet.disabled||(a.styleSheet.cssText=n);else try{a.innerHTML=n}catch{a.innerText=n}}(document,':root{--swal2-container-padding: 0.625em;--swal2-backdrop: rgba(0, 0, 0, 0.4);--swal2-width: 32em;--swal2-padding: 0 0 1.25em;--swal2-border: none;--swal2-border-radius: 0.3125rem;--swal2-background: white;--swal2-color: #545454;--swal2-footer-border-color: #eee;--swal2-show-animation: swal2-show 0.3s;--swal2-hide-animation: swal2-hide 0.15s forwards;--swal2-input-background: transparent;--swal2-progress-step-background: #add8e6;--swal2-validation-message-background: #f0f0f0;--swal2-validation-message-color: #666;--swal2-close-button-position: initial;--swal2-close-button-inset: auto;--swal2-close-button-font-size: 2.5em;--swal2-close-button-color: #ccc}[data-swal2-theme=dark]{--swal2-dark-theme-black: #19191a;--swal2-dark-theme-white: #e1e1e1;--swal2-background: var(--swal2-dark-theme-black);--swal2-color: var(--swal2-dark-theme-white);--swal2-footer-border-color: #555;--swal2-input-background: color-mix(in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10%);--swal2-validation-message-background: color-mix( in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10% );--swal2-validation-message-color: var(--swal2-dark-theme-white)}@media(prefers-color-scheme: dark){[data-swal2-theme=auto]{--swal2-dark-theme-black: #19191a;--swal2-dark-theme-white: #e1e1e1;--swal2-background: var(--swal2-dark-theme-black);--swal2-color: var(--swal2-dark-theme-white);--swal2-footer-border-color: #555;--swal2-input-background: color-mix(in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10%);--swal2-validation-message-background: color-mix( in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10% );--swal2-validation-message-color: var(--swal2-dark-theme-white)}}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto !important}body.swal2-no-backdrop .swal2-container{background-color:rgba(0,0,0,0) !important;pointer-events:none}body.swal2-no-backdrop .swal2-container .swal2-popup{pointer-events:all}body.swal2-no-backdrop .swal2-container .swal2-modal{box-shadow:0 0 10px var(--swal2-backdrop)}body.swal2-toast-shown .swal2-container{box-sizing:border-box;width:360px;max-width:100%;background-color:rgba(0,0,0,0);pointer-events:none}body.swal2-toast-shown .swal2-container.swal2-top{inset:0 auto auto 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{inset:0 0 auto auto}body.swal2-toast-shown .swal2-container.swal2-top-start,body.swal2-toast-shown .swal2-container.swal2-top-left{inset:0 auto auto 0}body.swal2-toast-shown .swal2-container.swal2-center-start,body.swal2-toast-shown .swal2-container.swal2-center-left{inset:50% auto auto 0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{inset:50% auto auto 50%;transform:translate(-50%, -50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{inset:50% 0 auto auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-start,body.swal2-toast-shown .swal2-container.swal2-bottom-left{inset:auto auto 0 0}body.swal2-toast-shown .swal2-container.swal2-bottom{inset:auto auto 0 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{inset:auto 0 0 auto}@media print{body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown){overflow-y:scroll !important}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown) .swal2-container{position:static !important}}div:where(.swal2-container){display:grid;position:fixed;z-index:1060;inset:0;box-sizing:border-box;grid-template-areas:"top-start     top            top-end" "center-start  center         center-end" "bottom-start  bottom-center  bottom-end";grid-template-rows:minmax(min-content, auto) minmax(min-content, auto) minmax(min-content, auto);height:100%;padding:var(--swal2-container-padding);overflow-x:hidden;transition:background-color .1s;-webkit-overflow-scrolling:touch}div:where(.swal2-container).swal2-backdrop-show,div:where(.swal2-container).swal2-noanimation{background:var(--swal2-backdrop)}div:where(.swal2-container).swal2-backdrop-hide{background:rgba(0,0,0,0) !important}div:where(.swal2-container).swal2-top-start,div:where(.swal2-container).swal2-center-start,div:where(.swal2-container).swal2-bottom-start{grid-template-columns:minmax(0, 1fr) auto auto}div:where(.swal2-container).swal2-top,div:where(.swal2-container).swal2-center,div:where(.swal2-container).swal2-bottom{grid-template-columns:auto minmax(0, 1fr) auto}div:where(.swal2-container).swal2-top-end,div:where(.swal2-container).swal2-center-end,div:where(.swal2-container).swal2-bottom-end{grid-template-columns:auto auto minmax(0, 1fr)}div:where(.swal2-container).swal2-top-start>.swal2-popup{align-self:start}div:where(.swal2-container).swal2-top>.swal2-popup{grid-column:2;place-self:start center}div:where(.swal2-container).swal2-top-end>.swal2-popup,div:where(.swal2-container).swal2-top-right>.swal2-popup{grid-column:3;place-self:start end}div:where(.swal2-container).swal2-center-start>.swal2-popup,div:where(.swal2-container).swal2-center-left>.swal2-popup{grid-row:2;align-self:center}div:where(.swal2-container).swal2-center>.swal2-popup{grid-column:2;grid-row:2;place-self:center center}div:where(.swal2-container).swal2-center-end>.swal2-popup,div:where(.swal2-container).swal2-center-right>.swal2-popup{grid-column:3;grid-row:2;place-self:center end}div:where(.swal2-container).swal2-bottom-start>.swal2-popup,div:where(.swal2-container).swal2-bottom-left>.swal2-popup{grid-column:1;grid-row:3;align-self:end}div:where(.swal2-container).swal2-bottom>.swal2-popup{grid-column:2;grid-row:3;place-self:end center}div:where(.swal2-container).swal2-bottom-end>.swal2-popup,div:where(.swal2-container).swal2-bottom-right>.swal2-popup{grid-column:3;grid-row:3;place-self:end end}div:where(.swal2-container).swal2-grow-row>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-column:1/4;width:100%}div:where(.swal2-container).swal2-grow-column>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-row:1/4;align-self:stretch}div:where(.swal2-container).swal2-no-transition{transition:none !important}div:where(.swal2-container) div:where(.swal2-popup){display:none;position:relative;box-sizing:border-box;grid-template-columns:minmax(0, 100%);width:var(--swal2-width);max-width:100%;padding:var(--swal2-padding);border:var(--swal2-border);border-radius:var(--swal2-border-radius);background:var(--swal2-background);color:var(--swal2-color);font-family:inherit;font-size:1rem}div:where(.swal2-container) div:where(.swal2-popup):focus{outline:none}div:where(.swal2-container) div:where(.swal2-popup).swal2-loading{overflow-y:hidden}div:where(.swal2-container) div:where(.swal2-popup).swal2-draggable{cursor:grab}div:where(.swal2-container) div:where(.swal2-popup).swal2-draggable div:where(.swal2-icon){cursor:grab}div:where(.swal2-container) div:where(.swal2-popup).swal2-dragging{cursor:grabbing}div:where(.swal2-container) div:where(.swal2-popup).swal2-dragging div:where(.swal2-icon){cursor:grabbing}div:where(.swal2-container) h2:where(.swal2-title){position:relative;max-width:100%;margin:0;padding:.8em 1em 0;color:inherit;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word;cursor:initial}div:where(.swal2-container) div:where(.swal2-actions){display:flex;z-index:1;box-sizing:border-box;flex-wrap:wrap;align-items:center;justify-content:center;width:auto;margin:1.25em auto 0;padding:0}div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1))}div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2))}div:where(.swal2-container) div:where(.swal2-loader){display:none;align-items:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#2778c4 rgba(0,0,0,0) #2778c4 rgba(0,0,0,0)}div:where(.swal2-container) button:where(.swal2-styled){margin:.3125em;padding:.625em 1.1em;transition:box-shadow .1s;box-shadow:0 0 0 3px rgba(0,0,0,0);font-weight:500}div:where(.swal2-container) button:where(.swal2-styled):not([disabled]){cursor:pointer}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm){border:0;border-radius:.25em;background:initial;background-color:#7066e0;color:#fff;font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):focus-visible{box-shadow:0 0 0 3px rgba(112,102,224,.5)}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny){border:0;border-radius:.25em;background:initial;background-color:#dc3741;color:#fff;font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny):focus-visible{box-shadow:0 0 0 3px rgba(220,55,65,.5)}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel){border:0;border-radius:.25em;background:initial;background-color:#6e7881;color:#fff;font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel):focus-visible{box-shadow:0 0 0 3px rgba(110,120,129,.5)}div:where(.swal2-container) button:where(.swal2-styled).swal2-default-outline:focus-visible{box-shadow:0 0 0 3px rgba(100,150,200,.5)}div:where(.swal2-container) button:where(.swal2-styled):focus-visible{outline:none}div:where(.swal2-container) button:where(.swal2-styled)::-moz-focus-inner{border:0}div:where(.swal2-container) div:where(.swal2-footer){margin:1em 0 0;padding:1em 1em 0;border-top:1px solid var(--swal2-footer-border-color);color:inherit;font-size:1em;text-align:center;cursor:initial}div:where(.swal2-container) .swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;grid-column:auto !important;overflow:hidden;border-bottom-right-radius:var(--swal2-border-radius);border-bottom-left-radius:var(--swal2-border-radius)}div:where(.swal2-container) div:where(.swal2-timer-progress-bar){width:100%;height:.25em;background:rgba(0,0,0,.2)}div:where(.swal2-container) img:where(.swal2-image){max-width:100%;margin:2em auto 1em;cursor:initial}div:where(.swal2-container) button:where(.swal2-close){position:var(--swal2-close-button-position);inset:var(--swal2-close-button-inset);z-index:2;align-items:center;justify-content:center;width:1.2em;height:1.2em;margin-top:0;margin-right:0;margin-bottom:-1.2em;padding:0;overflow:hidden;transition:color .1s,box-shadow .1s;border:none;border-radius:var(--swal2-border-radius);background:rgba(0,0,0,0);color:var(--swal2-close-button-color);font-family:monospace;font-size:var(--swal2-close-button-font-size);cursor:pointer;justify-self:end}div:where(.swal2-container) button:where(.swal2-close):hover{transform:none;background:rgba(0,0,0,0);color:#f27474}div:where(.swal2-container) button:where(.swal2-close):focus-visible{outline:none;box-shadow:inset 0 0 0 3px rgba(100,150,200,.5)}div:where(.swal2-container) button:where(.swal2-close)::-moz-focus-inner{border:0}div:where(.swal2-container) div:where(.swal2-html-container){z-index:1;justify-content:center;margin:0;padding:1em 1.6em .3em;overflow:auto;color:inherit;font-size:1.125em;font-weight:normal;line-height:normal;text-align:center;word-wrap:break-word;word-break:break-word;cursor:initial}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea),div:where(.swal2-container) select:where(.swal2-select),div:where(.swal2-container) div:where(.swal2-radio),div:where(.swal2-container) label:where(.swal2-checkbox){margin:1em 2em 3px}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea){box-sizing:border-box;width:auto;transition:border-color .1s,box-shadow .1s;border:1px solid #d9d9d9;border-radius:.1875em;background:var(--swal2-input-background);box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(0,0,0,0);color:inherit;font-size:1.125em}div:where(.swal2-container) input:where(.swal2-input).swal2-inputerror,div:where(.swal2-container) input:where(.swal2-file).swal2-inputerror,div:where(.swal2-container) textarea:where(.swal2-textarea).swal2-inputerror{border-color:#f27474 !important;box-shadow:0 0 2px #f27474 !important}div:where(.swal2-container) input:where(.swal2-input):focus,div:where(.swal2-container) input:where(.swal2-file):focus,div:where(.swal2-container) textarea:where(.swal2-textarea):focus{border:1px solid #b4dbed;outline:none;box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(100,150,200,.5)}div:where(.swal2-container) input:where(.swal2-input)::placeholder,div:where(.swal2-container) input:where(.swal2-file)::placeholder,div:where(.swal2-container) textarea:where(.swal2-textarea)::placeholder{color:#ccc}div:where(.swal2-container) .swal2-range{margin:1em 2em 3px;background:var(--swal2-background)}div:where(.swal2-container) .swal2-range input{width:80%}div:where(.swal2-container) .swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}div:where(.swal2-container) .swal2-range input,div:where(.swal2-container) .swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}div:where(.swal2-container) .swal2-input{height:2.625em;padding:0 .75em}div:where(.swal2-container) .swal2-file{width:75%;margin-right:auto;margin-left:auto;background:var(--swal2-input-background);font-size:1.125em}div:where(.swal2-container) .swal2-textarea{height:6.75em;padding:.75em}div:where(.swal2-container) .swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:var(--swal2-input-background);color:inherit;font-size:1.125em}div:where(.swal2-container) .swal2-radio,div:where(.swal2-container) .swal2-checkbox{align-items:center;justify-content:center;background:var(--swal2-background);color:inherit}div:where(.swal2-container) .swal2-radio label,div:where(.swal2-container) .swal2-checkbox label{margin:0 .6em;font-size:1.125em}div:where(.swal2-container) .swal2-radio input,div:where(.swal2-container) .swal2-checkbox input{flex-shrink:0;margin:0 .4em}div:where(.swal2-container) label:where(.swal2-input-label){display:flex;justify-content:center;margin:1em auto 0}div:where(.swal2-container) div:where(.swal2-validation-message){align-items:center;justify-content:center;margin:1em 0 0;padding:.625em;overflow:hidden;background:var(--swal2-validation-message-background);color:var(--swal2-validation-message-color);font-size:1em;font-weight:300}div:where(.swal2-container) div:where(.swal2-validation-message)::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}div:where(.swal2-container) .swal2-progress-steps{flex-wrap:wrap;align-items:center;max-width:100%;margin:1.25em auto;padding:0;background:rgba(0,0,0,0);font-weight:600}div:where(.swal2-container) .swal2-progress-steps li{display:inline-block;position:relative}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step{z-index:20;flex-shrink:0;width:2em;height:2em;border-radius:2em;background:#2778c4;color:#fff;line-height:2em;text-align:center}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#2778c4}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:var(--swal2-progress-step-background);color:#fff}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:var(--swal2-progress-step-background)}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step-line{z-index:10;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#2778c4}div:where(.swal2-icon){position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:2.5em auto .6em;border:.25em solid rgba(0,0,0,0);border-radius:50%;border-color:#000;font-family:inherit;line-height:5em;cursor:default;user-select:none}div:where(.swal2-icon) .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}div:where(.swal2-icon).swal2-error{border-color:#f27474;color:#f27474}div:where(.swal2-icon).swal2-error .swal2-x-mark{position:relative;flex-grow:1}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-error.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-error.swal2-icon-show .swal2-x-mark{animation:swal2-animate-error-x-mark .5s}div:where(.swal2-icon).swal2-warning{border-color:#f8bb86;color:#f8bb86}div:where(.swal2-icon).swal2-warning.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-warning.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .5s}div:where(.swal2-icon).swal2-info{border-color:#3fc3ee;color:#3fc3ee}div:where(.swal2-icon).swal2-info.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-info.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .8s}div:where(.swal2-icon).swal2-question{border-color:#87adbd;color:#87adbd}div:where(.swal2-icon).swal2-question.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-question.swal2-icon-show .swal2-icon-content{animation:swal2-animate-question-mark .8s}div:where(.swal2-icon).swal2-success{border-color:#a5dc86;color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;border-radius:50%}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}div:where(.swal2-icon).swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-0.25em;left:-0.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}div:where(.swal2-icon).swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-animate-success-line-tip .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-animate-success-line-long .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-circular-line-right{animation:swal2-rotate-success-circular-line 4.25s ease-in}[class^=swal2]{-webkit-tap-highlight-color:rgba(0,0,0,0)}.swal2-show{animation:var(--swal2-show-animation)}.swal2-hide{animation:var(--swal2-hide-animation)}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{margin-right:initial;margin-left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}.swal2-toast{box-sizing:border-box;grid-column:1/4 !important;grid-row:1/4 !important;grid-template-columns:min-content auto min-content;padding:1em;overflow-y:hidden;background:var(--swal2-background);box-shadow:0 0 1px rgba(0,0,0,.075),0 1px 2px rgba(0,0,0,.075),1px 2px 4px rgba(0,0,0,.075),1px 3px 8px rgba(0,0,0,.075),2px 4px 16px rgba(0,0,0,.075);pointer-events:all}.swal2-toast>*{grid-column:2}.swal2-toast h2:where(.swal2-title){margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-toast .swal2-loading{justify-content:center}.swal2-toast input:where(.swal2-input){height:2em;margin:.5em;font-size:1em}.swal2-toast .swal2-validation-message{font-size:1em}.swal2-toast div:where(.swal2-footer){margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-toast button:where(.swal2-close){grid-column:3/3;grid-row:1/99;align-self:center;width:.8em;height:.8em;margin:0;font-size:2em}.swal2-toast div:where(.swal2-html-container){margin:.5em 1em;padding:0;overflow:initial;font-size:1em;text-align:initial}.swal2-toast div:where(.swal2-html-container):empty{padding:0}.swal2-toast .swal2-loader{grid-column:1;grid-row:1/99;align-self:center;width:2em;height:2em;margin:.25em}.swal2-toast .swal2-icon{grid-column:1;grid-row:1/99;align-self:center;width:2em;min-width:2em;height:2em;margin:0 .5em 0 0}.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:bold}.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-toast div:where(.swal2-actions){justify-content:flex-start;height:auto;margin:0;margin-top:.5em;padding:0 .5em}.swal2-toast button:where(.swal2-styled){margin:.25em .5em;padding:.4em .6em;font-size:1em}.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;border-radius:50%}.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.8em;left:-0.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-toast-animate-success-line-tip .75s}.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-toast-animate-success-line-long .75s}.swal2-toast.swal2-show{animation:swal2-toast-show .5s}.swal2-toast.swal2-hide{animation:swal2-toast-hide .1s forwards}@keyframes swal2-show{0%{transform:scale(0.7)}45%{transform:scale(1.05)}80%{transform:scale(0.95)}100%{transform:scale(1)}}@keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(0.5);opacity:0}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-0.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(0.4);opacity:0}50%{margin-top:1.625em;transform:scale(0.4);opacity:0}80%{margin-top:-0.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0deg);opacity:1}}@keyframes swal2-rotate-loading{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}@keyframes swal2-toast-show{0%{transform:translateY(-0.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(0.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0deg)}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-0.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}');const dO=()=>{const e=async n=>{n.preventDefault();const a=new FormData(n.target);a.append("access_key","0e43b5a0-1df8-4915-ae36-12e24e11d9cc");const r=Object.fromEntries(a),o=JSON.stringify(r);(await fetch("https://api.web3forms.com/submit",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:o}).then(d=>d.json())).success&&nc.fire({title:"Success!",text:"Message sent successfully!",icon:"success"})};return p.jsx("div",{className:"bg-seconary h-auto mt-30",children:p.jsxs(Xl,{className:"pt-20",children:[p.jsxs("div",{className:"flex flex-col justify-center items-center",children:[p.jsx(t1,{text:"Contact Us",className:"py-2"}),p.jsx(Te,{className:"xl:text-5xl pt-2",children:"Get In Touch"})]}),p.jsxs("form",{onSubmit:e,children:[p.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 pt-10",children:[p.jsx(Qs,{placeholder:"Your Name",name:"name"}),p.jsx(Qs,{placeholder:"Your Email",name:"email"}),p.jsx(Qs,{placeholder:"Phone Number",name:"phone_number"}),p.jsx(Qs,{placeholder:"Website",name:"website"})]}),p.jsxs("div",{className:"grid grid-cols-1 gap-6 mt-6",children:[p.jsx(Qs,{placeholder:"Subject",name:"subject"}),p.jsx(Qs,{placeholder:"Your Message",className:"py-10 text-start placeholder:align-top leading-none",name:"message"})]}),p.jsx("div",{className:"flex justify-center items-center pt-8 pb-16",children:p.jsx(Gu,{type:"submit",className:"text-white xl:px-12 xl:py-3",children:"Submit"})})]})]})})},fO=()=>p.jsxs(p.Fragment,{children:[p.jsx(pi,{img:"/ContactUsImg/Image.jpg",text:"Contact Us"}),p.jsx(SM,{}),p.jsx(dO,{})]}),hO=()=>p.jsx(p.Fragment,{children:p.jsxs(Xl,{className:"w-full pb-60 pt-20",children:[p.jsx(Te,{className:"xl:text-4xl py-4",children:"About Us"}),p.jsx(Hn,{className:"xl:w-full px-0 font-semibold mt-4 pb-4",children:"Established in 2014, ACE Japan is a leading provider of IT solutions, specializing in system development and business support services. As part of the ACE Data Systems Group, we are committed to delivering high-quality and cost-effective solutions tailored to the needs of the Japanese market."}),p.jsx("div",{children:p.jsxs("ul",{className:"list-disc text-gray pl-4 space-y-3",children:[p.jsx("li",{children:p.jsx(Hn,{className:"px-0 font-semibold xl:w-full",children:"1. Software Development & System Inteegrations"})}),p.jsx("li",{children:p.jsx(Hn,{className:"px-0 font-semibold xl:w-full",children:"2. Outsourcing Services"})}),p.jsx("li",{children:p.jsx(Hn,{className:"px-0 font-semibold xl:w-full",children:"3. Engineer Dispatch (dispatch business license number:14-302693)"})}),p.jsx("li",{children:p.jsx(Hn,{className:"px-0 font-semibold xl:w-full",children:"4. Recruitment Services (Employment placement business license number:14-U-301418)"})})]})}),p.jsx(Hn,{className:"px-0 font-semibold xl:w-full py-4",children:"With over 10 years of experience, our services extend across Southeast Asia, including Singapore, Thailand, Cambodia, and Myanmar. We focus on system development, operational support and IT consulting, ensuring seamless integration and quality control for our clients."}),p.jsx(Hn,{className:"px-0 font-semibold xl:w-full pt-2",children:"Our expertise also includes post-editing systems and local operational support in Japan, enabling businesses to optimize their processes and achieve long-term success. At ACE Japan, we are committed to innovation, quality and customer satisfaction ensuring that our solutions drive business excellence."})]})}),mO=()=>p.jsxs(p.Fragment,{children:[p.jsx(pi,{text:"About Us"}),p.jsxs(Xl,{className:" mx-auto xl:flex mt-30 justify-between flex-wrap md:gap-8",children:[p.jsx("div",{className:" bg-seconary h-auto xl:w-[345px] ",children:p.jsxs("div",{className:" divide-y-1 divide-gray-500 py-[48px] px-[30px] space-y-10",children:[p.jsxs("div",{children:[p.jsx(Te,{className:"xl:text-[20px] pb-4 font-extrabold ",children:"Company Overview"}),p.jsx("div",{className:"w-[50px] h-1 bg-red"})]}),p.jsxs("div",{children:[p.jsx(Te,{className:"xl:text-lg",children:"Company Name :"}),p.jsx("p",{className:"pt-3 pb-2 text-gray font-bold text-lg",children:"ACEJapan Co.,ltd."})]}),p.jsxs("div",{children:[p.jsx(Te,{className:"xl:text-lg",children:"Headquarter Location :"}),p.jsx("p",{className:"pt-3 pb-2 text-gray font-bold text-lg",children:"28-2-617 Yamashita-cho, Naka-ku, Yokohama, Kanagawa Prefecture Postal Code: 231-0023"})]}),p.jsxs("div",{children:[p.jsx(Te,{className:"xl:text-lg",children:"Directors :"}),p.jsx("p",{className:"pt-3 pb-2 text-gray font-bold text-lg",children:"President: Mr.Hisayuki Kimata Vice President: Mr.Htun Taul Zaw Director: Mr.Zaw Moe Thant Director: Mr.Myo Lin Soe"})]})]})}),p.jsx("div",{children:p.jsx("img",{src:"/moreAboutImg/Picture1 1.png",alt:"",className:" w-full object-cover object-center h-full  "})})]}),p.jsx(hO,{})]}),to=({img:e,children:n})=>p.jsx(p.Fragment,{children:p.jsx("div",{className:"cusContainer mx-auto mt-20",children:p.jsxs("div",{className:"flex flex-col justify-center items-center",children:[p.jsx("img",{src:e,alt:e,className:"w-full object-cover object-center"}),n]})})}),pO=()=>p.jsxs(p.Fragment,{children:[p.jsx(pi,{img:"/outsourceImg/Background.png",text:"OutSourcing Services"}),p.jsx(to,{img:"/outsourceImg/Image.png",children:p.jsxs("div",{className:"lg:mx-20 xl:mx-30 ",children:[p.jsx(Hn,{className:"lg:w-full py-10",children:"We understand the importance of having the fight talent to drive business success. Our HR outsourcing services provide businesses with highly skilled professionals, ensuring flexibility and quality in meeting your workforce needs."}),p.jsxs("div",{children:[p.jsx(Te,{className:"xl:text-5xl",children:"Human Resources Outsourcing Services"}),p.jsx(Ae,{className:"my-8",children:"Finding the right talent is crucial for business success. Our HR outsourcing services connect businesses with highly skilled professionals, ensuring flexibility and quality to meet workforce demands. Whether you need short-term support or long-term staffing, we help you build the perfect team."})]}),p.jsxs("div",{className:"space-y-4 xl:w-[500px]",children:[p.jsxs("div",{children:[p.jsx(Te,{className:"lg:text-xl ",children:"Scalable & Cost-Effective"}),p.jsx(Ae,{children:"Reduce recruitment costs while maintaining high-quality talent."})]}),p.jsxs("div",{children:[p.jsx(Te,{className:"lg:text-xl",children:"Industry-Specific Expertise"}),p.jsx(Ae,{children:"Our professionals bring specialized skills for various industries."})]}),p.jsxs("div",{children:[p.jsx(Te,{className:"lg:text-xl",children:"Cost Reduction with Seamless Integration"}),p.jsx(Ae,{children:"Quick and efficient onboarding for smooth team collaboration."})]})]}),p.jsxs("div",{className:"my-10",children:[p.jsx(Te,{className:"xl:text-2xl",children:"Strategical Outsourcing"}),p.jsxs(Ae,{className:"pt-4 text-justify",children:["Our outsourcing service model is designed to provide businesses with skilled professionals, ensuring operational efficiency and cost savings. We specialize in delivering workforce solutions across various industries, including IT, finance, customer service, and administrative support.",p.jsx("br",{}),"At the initial stage, we collaborate closely with clients to assess their specific workforce requirements.",p.jsx("br",{}),"We identify the right talent and customize outsourcing solutions to align with business objectives. This ensures seamless integration with existing teams and processes.",p.jsx("br",{}),"Once the outsourcing plan is finalized, our dedicated teams handle recruitment, training, and ongoing management. We ensure high-quality service delivery while maintaining continuous communication with clients. Our structured approach guarantees flexibility, scalability, and consistent performance, helping businesses stay competitive in a dynamic market."]})]})]})}),p.jsx("img",{src:"/outsourceImg/image 65.png",alt:"",className:"bg-fixed bg-[url('')] pt-5"})]}),gO=()=>p.jsxs(p.Fragment,{children:[p.jsx(pi,{img:"/nearShoreImg/Background.png",text:"Nearshore System Development"}),p.jsx(to,{img:"/public/nearShoreImg/Image.png",children:p.jsxs("div",{className:"lg:mx-20 xl:mx-30",children:[p.jsx(Hn,{className:"lg:w-full py-10",children:"ACE Japan is on the process of establishing specialized nearshore development services to provide . Japanese businesses with a perfect blend of quality, security, and cost-effectiveness. These services are designed to offer seamless collaboration and superior results while prioritizing client needs and industry standards."}),p.jsxs("div",{children:[p.jsx(Te,{className:"xl:text-5xl",children:"A perfect blend of Quality, Security and Cost Effectiveness"}),p.jsx(Ae,{className:"my-8",children:"ACEJapan is in the process of establishing specialized nearshore development services to provide Japanese businesses with a perfect blend of quality, security and cost-effectiveness. These services are designed to offer seamless collaboration and superior results while prioriz"})]}),p.jsxs("div",{className:"space-y-4 xl:w-[500px]",children:[p.jsxs("div",{children:[p.jsx(Te,{className:"lg:text-xl ",children:"Tailored Talent Solutions"}),p.jsx(Ae,{children:"We provide customized workforce solutions to match your business needs."})]}),p.jsxs("div",{children:[p.jsx(Te,{className:"lg:text-xl",children:"Scalable & Cost-Effective"}),p.jsx(Ae,{children:"Reduce recruitment costs while maintaining high-quality talent."})]}),p.jsxs("div",{children:[p.jsx(Te,{className:"lg:text-xl",children:"Industry-Specific Expertise"}),p.jsx(Ae,{children:"Our professionals bring specialized skills for various industries."})]}),p.jsxs("div",{children:[p.jsx(Te,{className:"lg:text-xl",children:"Cost Reduction with Seamless Integration"}),p.jsx(Ae,{children:"Quick and efficient onboarding for smooth team collaboration."})]})]}),p.jsxs("div",{className:"my-10",children:[p.jsx(Te,{className:"xl:text-2xl",children:"Strategic Outsourcing Solutions"}),p.jsx(Ae,{className:"pt-4 text-justify",children:"Our outsourcing service model is designed to provide businesses with skilled professionals, ensuring operational efficiency and cost savings. We specialize in delivering workforce solutions across various industries, including IT, finance, customer service, and administrative support. At the initial stage, we collaborate closely with clients to assess their specific workforce requirements. We identify the right talent and customize outsourcing solutions to align with business objectives. This ensures seamless integration with existing teams and processes. Once the outsourcing plan is finalized, our dedicated teams handle recruitment, training, and ongoing management. We ensure high-quality service delivery while maintaining continuous communication with clients. Our structured approach guarantees flexibility, scalability, and consistent performance, helping businesses stay competitive in a dynamic market. Quick and efficient onboarding for smooth team collaboration."})]})]})}),p.jsx("img",{src:"/outsourceImg/image 45.png",alt:"",className:"pt-5"})]}),yO=()=>p.jsxs(p.Fragment,{children:[p.jsx(pi,{img:"/offShoreImg/Background.png",text:"Offshore System Development"}),p.jsx(to,{img:"/offShoreImg/Image.png",children:p.jsxs("div",{className:"lg:mx-20 xl:mx-30",children:[p.jsx(Hn,{className:"lg:w-full py-10",children:"We provide cost-effective offshore system development, delivering high-quality solutions specifically designed for the Japanese market. Leveraging a skilled and dedicated workforce, we help businesses achieve efficiency and significant cost savings without compromising on quality."}),p.jsxs("div",{children:[p.jsx(Te,{className:"xl:text-5xl",children:"Offshore System Development"}),p.jsx(Ae,{className:"my-8",children:"At ACE JAPAN, we have crafted a collaborative offshore development model designed to seamlessly integrate customer requirements with expert execution."})]}),p.jsx("div",{className:"space-y-4",children:p.jsxs("div",{children:[p.jsx(Te,{className:"lg:text-xl ",children:"Requirement Analysis and Design"}),p.jsx(Ae,{children:"Our customer-resident staff in Japan(BSE) work closely with clients to gather and define system requirements. They create detailed designs in Japanese to ensure clear communication and precise alignment with project goals"}),p.jsx(Te,{className:"lg:text-xl",children:"Coding and Testing"}),p.jsx(Ae,{children:"Once the detailed designs are finalized, our highly skilled offshore team takes over the coding and testing phases. Located in a cost-effective environment our team ensures high-quality, reliable results."}),p.jsx(Te,{className:"lg:text-xl",children:"Collaboration"}),p.jsx(Ae,{children:"Through constant communication and coordination between our Japanese-based staff (BSE) and the offshore team, we deliver efficient, tailored solutions."}),p.jsxs(Ae,{className:"pt-4",children:["Our approach has been successfully implemented across various sectors, including:",p.jsxs("ul",{className:"list-disc pl-6",children:[p.jsx("li",{children:"Banking"}),p.jsx("li",{children:"Insurance"}),p.jsx("li",{children:"TeleCommunications"})]}),"By bridging cultural and technical expertise. ACE Japan ensures that every project not only meets but exceeds client expectations, providing superior outcomes with cost and quality advantages."]})]})}),p.jsxs("div",{className:"my-8",children:[p.jsx(Te,{className:"lg:text-xl ",children:"Benefits of Offshore System Development"}),p.jsx("div",{children:p.jsx(Ae,{children:"At ACE JAPAN, our offshore development model is designed to deliver maximum value by combining cost efficiency, high-quality standards, and seamless collaboration. Here’s how yours business can benefit:"})}),p.jsx(Te,{className:"xl:text-5xl mt-3",children:"Cost Efficiency"}),p.jsx(Ae,{children:"offshore is to take advantage of lower labor costs in regions with a large pool of affordable skilled workers. This can result in significant savings, particularly for large-scale IT projects."}),p.jsx(Te,{className:"xl:text-5xl mt-3",children:"Scalability & Flexibility"}),p.jsx(Ae,{children:"offshore is to take advantage of lower labor costs in regions with a large pool of affordable skilled workers. This can result in significant savings, particularly for large-scale IT projects."}),p.jsx(Te,{className:"xl:text-5xl mt-3",children:"Offshore System Development"}),p.jsx(Ae,{children:"offshore is to take advantage of lower labor costs in regions with a large pool of affordable skilled workers. This can result in significant savings, particularly for large-scale IT projects."})]}),p.jsxs("div",{className:"my-10",children:[p.jsx(Te,{className:"xl:text-2xl",children:"Benefits of our Offshore Development Approach"}),p.jsxs(Ae,{className:"pt-4",children:["At ACE Japan, our offshore development model is designed to deliver maximum value by combining cost efficiency, high-quality standards, and seamless collaboration. Here’s how yours business can benefit:",p.jsx("ul",{className:"list-disc pl-6 font-bold",children:p.jsx("li",{children:"24/7 Productivity"})}),"Continuous progress with teams in different time zones ensures faster project completion.",p.jsx("ul",{className:"list-disc pl-6 font-bold",children:p.jsx("li",{children:"Flexibility"})}),"Adjust resources as needed to align with your project timeline and budget.",p.jsx("ul",{className:"list-disc pl-6 font-bold",children:p.jsx("li",{children:"Global Expansion"})}),"Gain a competitive edge with scalable, cost-effectives solutions that support your business growth."]})]})]})}),p.jsx("img",{src:"/outsourceImg/image 45.png",alt:"",className:"pt-5"})]}),Tu=({text1:e,text2:n,text3:a,text4:r,text5:o,text6:u,onClick:d})=>p.jsx("div",{className:"mx-10",children:p.jsxs("div",{className:"flex flex-wrap relative cusContainer mx-auto px-4 justify-between xl:space-x-10 lg:space-x-0 items-center border border-gray-400 w-full my-10 py-5 cursor-pointer",onClick:()=>{d()},children:[p.jsxs("div",{className:"space-y-3",children:[p.jsx(Ae,{children:e}),p.jsx(Te,{className:"xl:text-[40px]",children:n}),p.jsx(Te,{className:"font-normal",children:a}),p.jsx(Te,{className:"font-normal",children:r})]}),p.jsxs("div",{className:"w-[613px] mt-5",children:[p.jsx(Ae,{className:"text-blue",children:o}),p.jsx(Ae,{className:"text-blue pt-5",children:u}),p.jsx("div",{className:"absolute bottom-0 right-0 bg-red w-fit p-4 text-white flex justify-center items-center",children:p.jsx(xh,{})})]})]})}),vO=()=>{const e=ac();return p.jsxs(p.Fragment,{children:[p.jsx(pi,{text:"Recruit",img:"/RecruitImg/Img1.jpg"}),p.jsx(Tu,{text1:"Job Ref: #FDMAN2038-234",text2:"Frontend Developer",text3:"Yangon, MM",text4:"Negotiation",text5:`Lorem ipsum dolor sit amet consectetur. Turpis sed pulvinar sed blandit rhoncus tellus senectus at quis. Mi at fermentum imperdiet velit magna a aliquam. Faucibus et quam ac elit placerat tristique vulputate. Lorem ipsum dolor sit amet consectetur. Turpis sed pulvinar sed blandit rhoncus tellus senectus at quis. 

`,text6:` 

Mi at fermentum imperdiet velit magna a aliquam. Faucibus et quam ac elit placerat tristique vulputate`,onClick:()=>e("/application")}),p.jsx(Tu,{text1:"Job Ref: #FDMAN2038-234",text2:"Backend Developer",text3:"Yangon, MM",text4:"Negotiation",text5:`Lorem ipsum dolor sit amet consectetur. Turpis sed pulvinar sed blandit rhoncus tellus senectus at quis. Mi at fermentum imperdiet velit magna a aliquam. Faucibus et quam ac elit placerat tristique vulputate. Lorem ipsum dolor sit amet consectetur. Turpis sed pulvinar sed blandit rhoncus tellus senectus at quis. 

`,text6:` 

Mi at fermentum imperdiet velit magna a aliquam. Faucibus et quam ac elit placerat tristique vulputate`,onClick:()=>e("/application")}),p.jsx(Tu,{text1:"Job Ref: #FDMAN2038-234",text2:"Senior Software Engineer",text3:"Yangon, MM",text4:"Negotiation",text5:`Lorem ipsum dolor sit amet consectetur. Turpis sed pulvinar sed blandit rhoncus tellus senectus at quis. Mi at fermentum imperdiet velit magna a aliquam. Faucibus et quam ac elit placerat tristique vulputate. Lorem ipsum dolor sit amet consectetur. Turpis sed pulvinar sed blandit rhoncus tellus senectus at quis. 

`,text6:` 

Mi at fermentum imperdiet velit magna a aliquam. Faucibus et quam ac elit placerat tristique vulputate`,onClick:()=>e("/application")}),p.jsx(Tu,{text1:"Job Ref: #FDMAN2038-234",text2:"Software Engineer",text3:"Yangon, MM",text4:"Negotiation",text5:`Lorem ipsum dolor sit amet consectetur. Turpis sed pulvinar sed blandit rhoncus tellus senectus at quis. Mi at fermentum imperdiet velit magna a aliquam. Faucibus et quam ac elit placerat tristique vulputate. Lorem ipsum dolor sit amet consectetur. Turpis sed pulvinar sed blandit rhoncus tellus senectus at quis. 

`,text6:` 

Mi at fermentum imperdiet velit magna a aliquam. Faucibus et quam ac elit placerat tristique vulputate`,onClick:()=>e("/application")})]})},xO=["Project Management","Copywriting","Social Media Marketing","English","Copy Editing"],bO=["Full Name","Email","Contact Number"],wO=()=>{const e=ac();return p.jsxs(p.Fragment,{children:[p.jsx(pi,{text:"Recruit",img:"/RecruitImg/Img1.jpg"}),p.jsxs("div",{className:"px-5 md:px-15 xl:px-0 container mx-auto my-8 md:my-12 xl:my-16",children:[p.jsxs("div",{className:"flex flex-col-reverse justify-between lg:flex-row lg:gap-8 xl:gap-16",children:[p.jsxs("div",{className:"my-8 flex flex-col lg:basis-[40%]",children:[p.jsxs("div",{className:"border border-gray-300 p-6 rounded-md lg:p-10",children:[p.jsx(Te,{children:"Reference"}),p.jsx(Te,{className:"font-normal",children:"#FDMAN2038-234"})]}),p.jsxs("div",{className:"mt-5 flex flex-col gap-4",children:[p.jsx(Te,{className:"xl:text-3xl",children:"Tech Stack"}),p.jsx(Ae,{children:"Learn about the technology and tools that Stripe uses."}),p.jsxs("div",{className:"border-b-2 border-gray-200 sm:w-[50%] md:w-[50%] lg:w-full xl:w-[80%] lg:pb-10",children:[p.jsx("div",{className:"flex flex-wrap gap-4 lg:gap-8",children:QA.map((n,a)=>p.jsxs("div",{className:"w-[75px] items-center flex justify-center flex-col gap-3",children:[p.jsx("img",{src:n.img,className:""},a),p.jsx(Ae,{className:"text-dardBlue text-center",children:n.tech})]},a))}),p.jsxs("div",{className:"flex gap-4 items-center text-violet py-5",children:[p.jsx("a",{href:"",className:"font-bold",children:"View Tech Stack"}),p.jsx(xh,{})]})]})]})]}),p.jsx("div",{className:"border-b-2 border-gray-200 pb-5 lg:basis-[60%]",children:p.jsxs("div",{className:"",children:[p.jsx(Te,{children:"Description"}),p.jsx(Ae,{className:"text-black font-bold",children:"Front End Developer"}),p.jsx(Ae,{className:"text-black font-bold leading-6",children:"ACE Japan Co.,Ltd – Myanmar – Yangon Branch"}),p.jsxs("div",{className:"mt-3 space-y-4",children:[p.jsx(Ae,{className:"text-blue text-base md:text-lg",children:"(Tech stack: Front End Developer, React, ReactJS 18, React Hooks, React.js, Shopify platform, JavaScript, TypeScript, HTML, CSS, UI, UX, User Interface, User Experience, Javascript Developer, Front End Engineer, Front End Developer)"}),p.jsx(Ae,{className:"text-blue  text-base md:text-lg",children:"Our client is UK’s leading Ecommerce clothing company. They are looking for a Front End Developer with experience in React and Shopify platform. You will be responsible for predominantly implementing new Figma designs and functionality to the Shopify store, through fluent, maintainable code. You will work alongside designers within the creative team, and other senior members on multiple technical projects."}),p.jsx(Ae,{className:"text-blue  text-base md:text-lg",children:"My client is looking for Front End Developers who has current and relevant experience working with React and Shopify platform. You will be building new pages, features and functionality on the Ecommerce site. You will also discover and debug issues and ensure the consistent quality and UX across all devices and browsers."}),p.jsx(Ae,{className:"text-blue  text-base md:text-lg",children:"Our client is looking for passionate Front End Developers with experience in some or all of the following (full training will be provided to fill any gaps in your skill set): React, ReactJS 18, React Hooks, React.js, Shopify platform, JavaScript, TypeScript, HTML, CSS, GIT, API’s, UI, UX, User Interface, User Experience."})]})]})})]}),p.jsxs("div",{className:"lg:flex my-10 space-y-5 md:space-y-0 lg:gap-8 xl:gap-16",children:[p.jsxs("div",{className:"lg:basis-[40%] lg:-mt-30 xl:mt-0",children:[p.jsx(Te,{children:"Required Skills"}),p.jsx("div",{className:"flex flex-wrap gap-3 mt-2",children:xO.map((n,a)=>p.jsx("div",{className:"bg-violet/5 text-violet py-2 px-3 text-nowrap",children:n},a))}),p.jsxs("div",{children:[p.jsx(Te,{className:"mt-5",children:"Contact"}),p.jsxs("div",{className:"flex flex-wrap gap-2 mt-3",children:[p.jsxs("div",{className:"text-violet border border-violet flex  items-center px-3 py-2 gap-3",children:[p.jsx(Em,{}),p.jsx("a",{href:"",children:"twitter.com/stripe"})]}),p.jsxs("div",{className:"text-violet border border-violet flex  items-center px-3 py-2 gap-3",children:[p.jsx(JC,{}),p.jsx("a",{href:"",children:"facebook.com/StripeHQ"})]}),p.jsxs("div",{className:"text-violet border border-violet flex  items-center px-3 py-2 gap-3",children:[p.jsx(eA,{}),p.jsx("a",{href:"",children:"linkedin.com/company/stripe"})]})]})]}),p.jsxs(Gu,{className:"bg-dardBlue mt-10 flex items-center gap-2",onClick:()=>e(-1),children:[p.jsx(iA,{}),p.jsx("span",{children:"Back"})]})]}),p.jsxs("div",{className:"lg:basis-[60%]",children:[p.jsx(Te,{className:"",children:"Apply for this role"}),p.jsxs("div",{className:"space-y-4 mt-3",children:[bO.map((n,a)=>p.jsxs("div",{className:"",children:[p.jsx("label",{htmlFor:"",children:n}),p.jsx("input",{type:"text",className:"border border-gray-200 px-3 py-4 w-full rounded-md mt-2"})]},a)),p.jsxs("div",{className:"flex flex-col space-y-3",children:[p.jsx("label",{htmlFor:"",children:"Cover Letter"}),p.jsx("textarea",{rows:4,cols:10,className:"border border-gray-200 px-3 py-4 w-full rounded-md mt-1"})]}),p.jsxs(Gu,{className:"flex justify-between gap-4 items-center mt-5",children:[p.jsx("span",{children:"Send Application"}),p.jsx(xh,{})]})]})]})]})]})]})},SO=()=>p.jsxs(p.Fragment,{children:[p.jsx(pi,{img:"/RecruitmentImg/Background.png",text:"Recruitment Services"}),p.jsx(to,{img:"/RecruitmentImg/image 53.png",children:p.jsxs("div",{className:"lg:mx-20 xl:mx-30",children:[p.jsx(Hn,{className:"lg:w-full py-10",children:"We understand the importance of having the fight talent to drive business success.Our HR outsourcing services provide businesses with highly skilled professionals, ensuring flexibility and quality in meeting your workforce needs."}),p.jsxs("div",{children:[p.jsx(Te,{className:"xl:text-5xl",children:"Efficient & Flexible Workforce Solutions"}),p.jsx(Ae,{className:"my-8",children:"Finding the right talent is crucial for business success. Our HR outsourcing services connect businesses with highly skilled professionals, ensuring flexibility and quality to meet workforce demands."})]}),p.jsxs("div",{className:"my-8",children:[p.jsxs("div",{children:[p.jsx(Te,{className:"lg:text-xl",children:"Tailored Talent Solutions"}),p.jsx(Ae,{children:"We provide customized workforce solutions to match your business needs."})]}),p.jsxs("div",{className:"my-8",children:[p.jsx(Te,{className:"lg:text-xl",children:"Scalable & Cost-Effective"}),p.jsx(Ae,{children:"Reduce recruitment costs while maintaining high-quality talent."})]}),p.jsxs("div",{className:"my-8",children:[p.jsx(Te,{className:"lg:text-xl",children:"Industry-Specific Expertise"}),p.jsx(Ae,{children:"Our professionals bring specialized skills for various industries."})]}),p.jsxs("div",{className:"my-8",children:[p.jsx(Te,{className:"lg:text-xl",children:"Cost Reduction with Seamless Integration"}),p.jsx(Ae,{children:"Quick and efficient onboarding for smooth team collaboration."})]})]}),p.jsxs("div",{className:"my-10",children:[p.jsx(Te,{className:"xl:text-2xl",children:"Strategic Outsourcing Solutions"}),p.jsx(Ae,{className:"pt-4 text-justify",children:"Our outsourcing service model is designed to provide businesses with skilled professionals, ensuring operational efficiency and cost savings. We specialize in delivering workforce solutions across various industries, including IT, finance, customer service, and administrative support. At the initial stage, we collaborate closely with clients to assess their specific workforce requirements. We identify the right talent and customize outsourcing solutions to align with business objectives. This ensures seamless integration with existing teams and processes. Once the outsourcing plan is finalized, our dedicated teams handle recruitment, training, and ongoing management. We ensure high-quality service delivery while maintaining continuous communication with clients. Our structured approach guarantees flexibility, scalability, and consistent performance, helping businesses stay competitive in a dynamic market."})]})]})}),p.jsx("img",{src:"/RecruitmentImg/Frame 18.png",alt:"",className:"pt-5"})]}),EO=()=>p.jsxs(p.Fragment,{children:[p.jsx(pi,{img:"/OperatingImg/Background.png",text:"Operating & Maintenance Services"}),p.jsx(to,{img:"/OperatingImg/Image.png",children:p.jsxs("div",{className:"lg:mx-20 xl:mx-30",children:[p.jsxs("div",{children:[p.jsx(Te,{className:"xl:text-5xl mt-8",children:"Operation & Maintenance Services"}),p.jsx(Ae,{className:"my-8",children:"Ensure the stability and efficiency of your IT infrastructure with our comprehensive Operation & Maintenance Services. We provide proactive support and continuous monitoring to minimize downtime and keep your systems running smoothly. We Offer the support and regular maintenance services to ensure smooth and uninterrupted business operations."})]}),p.jsxs("div",{className:"my-10",children:[p.jsx(Ae,{children:"Our Services Include"}),p.jsx(Ae,{className:"pt-4",children:"System Monitoring: 24/7 surveillance to detect and resolve issues before they impact operations. Preventative Maintenance: Regular system checks and updates to ensure peak performance. Incident Management: Rapid response and resolution of technical issues. Performance Optimization: Ongoing assessment and tuning to improve system efficiency."})]})]})}),p.jsx("img",{src:"/OperatingImg/Frame 18.png",alt:"",className:"pt-5"})]});function TO(){const e=e3([{path:"/",element:p.jsx(JR,{}),children:[{path:"/",element:p.jsx(uM,{})},{path:"/aboutus",element:p.jsx(wM,{})},{path:"/contactus",element:p.jsx(fO,{})},{path:"/more",element:p.jsx(mO,{})},{path:"/outsourceservice",element:p.jsx(pO,{})},{path:"/nearshore",element:p.jsx(gO,{})},{path:"/offshore",element:p.jsx(yO,{})},{path:"/recruit",element:p.jsx(vO,{})},{path:"/application",element:p.jsx(wO,{})},{path:"/recruitment",element:p.jsx(SO,{})},{path:"/operating",element:p.jsx(EO,{})}]}]);return p.jsx(p.Fragment,{children:p.jsx(h3,{router:e})})}c5.createRoot(document.getElementById("root")).render(p.jsx(R.StrictMode,{children:p.jsx(TO,{})}));
