BLACKSITE
:
216.73.216.62
:
147.93.18.13 / vinyasaweddings.com
:
Linux srv667811 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64
:
/
var
/
www
/
ucglobal
/
assets
/
Upload File:
files >> /var/www/ucglobal/assets/index-BhIaARJq.js
function rP(e,t){for(var n=0;n<t.length;n++){const i=t[n];if(typeof i!="string"&&!Array.isArray(i)){for(const a in i)if(a!=="default"&&!(a in e)){const o=Object.getOwnPropertyDescriptor(i,a);o&&Object.defineProperty(e,a,o.get?o:{enumerable:!0,get:()=>i[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))i(a);new MutationObserver(a=>{for(const o of a)if(o.type==="childList")for(const l of o.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&i(l)}).observe(document,{childList:!0,subtree:!0});function n(a){const o={};return a.integrity&&(o.integrity=a.integrity),a.referrerPolicy&&(o.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?o.credentials="include":a.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function i(a){if(a.ep)return;a.ep=!0;const o=n(a);fetch(a.href,o)}})();function os(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ny={exports:{}},rd={};/** * @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 oS;function aP(){if(oS)return rd;oS=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(i,a,o){var l=null;if(o!==void 0&&(l=""+o),a.key!==void 0&&(l=""+a.key),"key"in a){o={};for(var u in a)u!=="key"&&(o[u]=a[u])}else o=a;return a=o.ref,{$$typeof:e,type:i,key:l,ref:a!==void 0?a:null,props:o}}return rd.Fragment=t,rd.jsx=n,rd.jsxs=n,rd}var lS;function sP(){return lS||(lS=1,ny.exports=aP()),ny.exports}var v=sP(),iy={exports:{}},Ke={};/** * @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 cS;function oP(){if(cS)return Ke;cS=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.iterator;function b(z){return z===null||typeof z!="object"?null:(z=m&&z[m]||z["@@iterator"],typeof z=="function"?z:null)}var w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,E={};function O(z,V,oe){this.props=z,this.context=V,this.refs=E,this.updater=oe||w}O.prototype.isReactComponent={},O.prototype.setState=function(z,V){if(typeof z!="object"&&typeof z!="function"&&z!=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,z,V,"setState")},O.prototype.forceUpdate=function(z){this.updater.enqueueForceUpdate(this,z,"forceUpdate")};function C(){}C.prototype=O.prototype;function T(z,V,oe){this.props=z,this.context=V,this.refs=E,this.updater=oe||w}var A=T.prototype=new C;A.constructor=T,_(A,O.prototype),A.isPureReactComponent=!0;var k=Array.isArray,D={H:null,A:null,T:null,S:null,V:null},R=Object.prototype.hasOwnProperty;function B(z,V,oe,ve,we,Ce){return oe=Ce.ref,{$$typeof:e,type:z,key:V,ref:oe!==void 0?oe:null,props:Ce}}function $(z,V){return B(z.type,V,void 0,void 0,void 0,z.props)}function F(z){return typeof z=="object"&&z!==null&&z.$$typeof===e}function X(z){var V={"=":"=0",":":"=2"};return"$"+z.replace(/[=:]/g,function(oe){return V[oe]})}var H=/\/+/g;function U(z,V){return typeof z=="object"&&z!==null&&z.key!=null?X(""+z.key):V.toString(36)}function se(){}function ce(z){switch(z.status){case"fulfilled":return z.value;case"rejected":throw z.reason;default:switch(typeof z.status=="string"?z.then(se,se):(z.status="pending",z.then(function(V){z.status==="pending"&&(z.status="fulfilled",z.value=V)},function(V){z.status==="pending"&&(z.status="rejected",z.reason=V)})),z.status){case"fulfilled":return z.value;case"rejected":throw z.reason}}throw z}function ge(z,V,oe,ve,we){var Ce=typeof z;(Ce==="undefined"||Ce==="boolean")&&(z=null);var Ee=!1;if(z===null)Ee=!0;else switch(Ce){case"bigint":case"string":case"number":Ee=!0;break;case"object":switch(z.$$typeof){case e:case t:Ee=!0;break;case p:return Ee=z._init,ge(Ee(z._payload),V,oe,ve,we)}}if(Ee)return we=we(z),Ee=ve===""?"."+U(z,0):ve,k(we)?(oe="",Ee!=null&&(oe=Ee.replace(H,"$&/")+"/"),ge(we,V,oe,"",function(ne){return ne})):we!=null&&(F(we)&&(we=$(we,oe+(we.key==null||z&&z.key===we.key?"":(""+we.key).replace(H,"$&/")+"/")+Ee)),V.push(we)),1;Ee=0;var Ie=ve===""?".":ve+":";if(k(z))for(var Ne=0;Ne<z.length;Ne++)ve=z[Ne],Ce=Ie+U(ve,Ne),Ee+=ge(ve,V,oe,Ce,we);else if(Ne=b(z),typeof Ne=="function")for(z=Ne.call(z),Ne=0;!(ve=z.next()).done;)ve=ve.value,Ce=Ie+U(ve,Ne++),Ee+=ge(ve,V,oe,Ce,we);else if(Ce==="object"){if(typeof z.then=="function")return ge(ce(z),V,oe,ve,we);throw V=String(z),Error("Objects are not valid as a React child (found: "+(V==="[object Object]"?"object with keys {"+Object.keys(z).join(", ")+"}":V)+"). If you meant to render a collection of children, use an array instead.")}return Ee}function q(z,V,oe){if(z==null)return z;var ve=[],we=0;return ge(z,ve,"","",function(Ce){return V.call(oe,Ce,we++)}),ve}function te(z){if(z._status===-1){var V=z._result;V=V(),V.then(function(oe){(z._status===0||z._status===-1)&&(z._status=1,z._result=oe)},function(oe){(z._status===0||z._status===-1)&&(z._status=2,z._result=oe)}),z._status===-1&&(z._status=0,z._result=V)}if(z._status===1)return z._result.default;throw z._result}var re=typeof reportError=="function"?reportError:function(z){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var V=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof z=="object"&&z!==null&&typeof z.message=="string"?String(z.message):String(z),error:z});if(!window.dispatchEvent(V))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",z);return}console.error(z)};function pe(){}return Ke.Children={map:q,forEach:function(z,V,oe){q(z,function(){V.apply(this,arguments)},oe)},count:function(z){var V=0;return q(z,function(){V++}),V},toArray:function(z){return q(z,function(V){return V})||[]},only:function(z){if(!F(z))throw Error("React.Children.only expected to receive a single React element child.");return z}},Ke.Component=O,Ke.Fragment=n,Ke.Profiler=a,Ke.PureComponent=T,Ke.StrictMode=i,Ke.Suspense=f,Ke.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=D,Ke.__COMPILER_RUNTIME={__proto__:null,c:function(z){return D.H.useMemoCache(z)}},Ke.cache=function(z){return function(){return z.apply(null,arguments)}},Ke.cloneElement=function(z,V,oe){if(z==null)throw Error("The argument must be a React element, but you passed "+z+".");var ve=_({},z.props),we=z.key,Ce=void 0;if(V!=null)for(Ee in V.ref!==void 0&&(Ce=void 0),V.key!==void 0&&(we=""+V.key),V)!R.call(V,Ee)||Ee==="key"||Ee==="__self"||Ee==="__source"||Ee==="ref"&&V.ref===void 0||(ve[Ee]=V[Ee]);var Ee=arguments.length-2;if(Ee===1)ve.children=oe;else if(1<Ee){for(var Ie=Array(Ee),Ne=0;Ne<Ee;Ne++)Ie[Ne]=arguments[Ne+2];ve.children=Ie}return B(z.type,we,void 0,void 0,Ce,ve)},Ke.createContext=function(z){return z={$$typeof:l,_currentValue:z,_currentValue2:z,_threadCount:0,Provider:null,Consumer:null},z.Provider=z,z.Consumer={$$typeof:o,_context:z},z},Ke.createElement=function(z,V,oe){var ve,we={},Ce=null;if(V!=null)for(ve in V.key!==void 0&&(Ce=""+V.key),V)R.call(V,ve)&&ve!=="key"&&ve!=="__self"&&ve!=="__source"&&(we[ve]=V[ve]);var Ee=arguments.length-2;if(Ee===1)we.children=oe;else if(1<Ee){for(var Ie=Array(Ee),Ne=0;Ne<Ee;Ne++)Ie[Ne]=arguments[Ne+2];we.children=Ie}if(z&&z.defaultProps)for(ve in Ee=z.defaultProps,Ee)we[ve]===void 0&&(we[ve]=Ee[ve]);return B(z,Ce,void 0,void 0,null,we)},Ke.createRef=function(){return{current:null}},Ke.forwardRef=function(z){return{$$typeof:u,render:z}},Ke.isValidElement=F,Ke.lazy=function(z){return{$$typeof:p,_payload:{_status:-1,_result:z},_init:te}},Ke.memo=function(z,V){return{$$typeof:h,type:z,compare:V===void 0?null:V}},Ke.startTransition=function(z){var V=D.T,oe={};D.T=oe;try{var ve=z(),we=D.S;we!==null&&we(oe,ve),typeof ve=="object"&&ve!==null&&typeof ve.then=="function"&&ve.then(pe,re)}catch(Ce){re(Ce)}finally{D.T=V}},Ke.unstable_useCacheRefresh=function(){return D.H.useCacheRefresh()},Ke.use=function(z){return D.H.use(z)},Ke.useActionState=function(z,V,oe){return D.H.useActionState(z,V,oe)},Ke.useCallback=function(z,V){return D.H.useCallback(z,V)},Ke.useContext=function(z){return D.H.useContext(z)},Ke.useDebugValue=function(){},Ke.useDeferredValue=function(z,V){return D.H.useDeferredValue(z,V)},Ke.useEffect=function(z,V,oe){var ve=D.H;if(typeof oe=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return ve.useEffect(z,V)},Ke.useId=function(){return D.H.useId()},Ke.useImperativeHandle=function(z,V,oe){return D.H.useImperativeHandle(z,V,oe)},Ke.useInsertionEffect=function(z,V){return D.H.useInsertionEffect(z,V)},Ke.useLayoutEffect=function(z,V){return D.H.useLayoutEffect(z,V)},Ke.useMemo=function(z,V){return D.H.useMemo(z,V)},Ke.useOptimistic=function(z,V){return D.H.useOptimistic(z,V)},Ke.useReducer=function(z,V,oe){return D.H.useReducer(z,V,oe)},Ke.useRef=function(z){return D.H.useRef(z)},Ke.useState=function(z){return D.H.useState(z)},Ke.useSyncExternalStore=function(z,V,oe){return D.H.useSyncExternalStore(z,V,oe)},Ke.useTransition=function(){return D.H.useTransition()},Ke.version="19.1.1",Ke}var uS;function Eu(){return uS||(uS=1,iy.exports=oP()),iy.exports}var j=Eu();const _t=os(j),lP=rP({__proto__:null,default:_t},[j]);var ry={exports:{}},ad={},ay={exports:{}},sy={};/** * @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 fS;function cP(){return fS||(fS=1,(function(e){function t(q,te){var re=q.length;q.push(te);e:for(;0<re;){var pe=re-1>>>1,z=q[pe];if(0<a(z,te))q[pe]=te,q[re]=z,re=pe;else break e}}function n(q){return q.length===0?null:q[0]}function i(q){if(q.length===0)return null;var te=q[0],re=q.pop();if(re!==te){q[0]=re;e:for(var pe=0,z=q.length,V=z>>>1;pe<V;){var oe=2*(pe+1)-1,ve=q[oe],we=oe+1,Ce=q[we];if(0>a(ve,re))we<z&&0>a(Ce,ve)?(q[pe]=Ce,q[we]=re,pe=we):(q[pe]=ve,q[oe]=re,pe=oe);else if(we<z&&0>a(Ce,re))q[pe]=Ce,q[we]=re,pe=we;else break e}}return te}function a(q,te){var re=q.sortIndex-te.sortIndex;return re!==0?re:q.id-te.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var l=Date,u=l.now();e.unstable_now=function(){return l.now()-u}}var f=[],h=[],p=1,m=null,b=3,w=!1,_=!1,E=!1,O=!1,C=typeof setTimeout=="function"?setTimeout:null,T=typeof clearTimeout=="function"?clearTimeout:null,A=typeof setImmediate<"u"?setImmediate:null;function k(q){for(var te=n(h);te!==null;){if(te.callback===null)i(h);else if(te.startTime<=q)i(h),te.sortIndex=te.expirationTime,t(f,te);else break;te=n(h)}}function D(q){if(E=!1,k(q),!_)if(n(f)!==null)_=!0,R||(R=!0,U());else{var te=n(h);te!==null&&ge(D,te.startTime-q)}}var R=!1,B=-1,$=5,F=-1;function X(){return O?!0:!(e.unstable_now()-F<$)}function H(){if(O=!1,R){var q=e.unstable_now();F=q;var te=!0;try{e:{_=!1,E&&(E=!1,T(B),B=-1),w=!0;var re=b;try{t:{for(k(q),m=n(f);m!==null&&!(m.expirationTime>q&&X());){var pe=m.callback;if(typeof pe=="function"){m.callback=null,b=m.priorityLevel;var z=pe(m.expirationTime<=q);if(q=e.unstable_now(),typeof z=="function"){m.callback=z,k(q),te=!0;break t}m===n(f)&&i(f),k(q)}else i(f);m=n(f)}if(m!==null)te=!0;else{var V=n(h);V!==null&&ge(D,V.startTime-q),te=!1}}break e}finally{m=null,b=re,w=!1}te=void 0}}finally{te?U():R=!1}}}var U;if(typeof A=="function")U=function(){A(H)};else if(typeof MessageChannel<"u"){var se=new MessageChannel,ce=se.port2;se.port1.onmessage=H,U=function(){ce.postMessage(null)}}else U=function(){C(H,0)};function ge(q,te){B=C(function(){q(e.unstable_now())},te)}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(q){q.callback=null},e.unstable_forceFrameRate=function(q){0>q||125<q?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):$=0<q?Math.floor(1e3/q):5},e.unstable_getCurrentPriorityLevel=function(){return b},e.unstable_next=function(q){switch(b){case 1:case 2:case 3:var te=3;break;default:te=b}var re=b;b=te;try{return q()}finally{b=re}},e.unstable_requestPaint=function(){O=!0},e.unstable_runWithPriority=function(q,te){switch(q){case 1:case 2:case 3:case 4:case 5:break;default:q=3}var re=b;b=q;try{return te()}finally{b=re}},e.unstable_scheduleCallback=function(q,te,re){var pe=e.unstable_now();switch(typeof re=="object"&&re!==null?(re=re.delay,re=typeof re=="number"&&0<re?pe+re:pe):re=pe,q){case 1:var z=-1;break;case 2:z=250;break;case 5:z=1073741823;break;case 4:z=1e4;break;default:z=5e3}return z=re+z,q={id:p++,callback:te,priorityLevel:q,startTime:re,expirationTime:z,sortIndex:-1},re>pe?(q.sortIndex=re,t(h,q),n(f)===null&&q===n(h)&&(E?(T(B),B=-1):E=!0,ge(D,re-pe))):(q.sortIndex=z,t(f,q),_||w||(_=!0,R||(R=!0,U()))),q},e.unstable_shouldYield=X,e.unstable_wrapCallback=function(q){var te=b;return function(){var re=b;b=te;try{return q.apply(this,arguments)}finally{b=re}}}})(sy)),sy}var dS;function uP(){return dS||(dS=1,ay.exports=cP()),ay.exports}var oy={exports:{}},$n={};/** * @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 hS;function fP(){if(hS)return $n;hS=1;var e=Eu();function t(f){var h="https://react.dev/errors/"+f;if(1<arguments.length){h+="?args[]="+encodeURIComponent(arguments[1]);for(var p=2;p<arguments.length;p++)h+="&args[]="+encodeURIComponent(arguments[p])}return"Minified React error #"+f+"; visit "+h+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var i={d:{f:n,r:function(){throw Error(t(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},a=Symbol.for("react.portal");function o(f,h,p){var m=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:m==null?null:""+m,children:f,containerInfo:h,implementation:p}}var l=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function u(f,h){if(f==="font")return"";if(typeof h=="string")return h==="use-credentials"?h:""}return $n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,$n.createPortal=function(f,h){var p=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!h||h.nodeType!==1&&h.nodeType!==9&&h.nodeType!==11)throw Error(t(299));return o(f,h,null,p)},$n.flushSync=function(f){var h=l.T,p=i.p;try{if(l.T=null,i.p=2,f)return f()}finally{l.T=h,i.p=p,i.d.f()}},$n.preconnect=function(f,h){typeof f=="string"&&(h?(h=h.crossOrigin,h=typeof h=="string"?h==="use-credentials"?h:"":void 0):h=null,i.d.C(f,h))},$n.prefetchDNS=function(f){typeof f=="string"&&i.d.D(f)},$n.preinit=function(f,h){if(typeof f=="string"&&h&&typeof h.as=="string"){var p=h.as,m=u(p,h.crossOrigin),b=typeof h.integrity=="string"?h.integrity:void 0,w=typeof h.fetchPriority=="string"?h.fetchPriority:void 0;p==="style"?i.d.S(f,typeof h.precedence=="string"?h.precedence:void 0,{crossOrigin:m,integrity:b,fetchPriority:w}):p==="script"&&i.d.X(f,{crossOrigin:m,integrity:b,fetchPriority:w,nonce:typeof h.nonce=="string"?h.nonce:void 0})}},$n.preinitModule=function(f,h){if(typeof f=="string")if(typeof h=="object"&&h!==null){if(h.as==null||h.as==="script"){var p=u(h.as,h.crossOrigin);i.d.M(f,{crossOrigin:p,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0})}}else h==null&&i.d.M(f)},$n.preload=function(f,h){if(typeof f=="string"&&typeof h=="object"&&h!==null&&typeof h.as=="string"){var p=h.as,m=u(p,h.crossOrigin);i.d.L(f,p,{crossOrigin:m,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0,type:typeof h.type=="string"?h.type:void 0,fetchPriority:typeof h.fetchPriority=="string"?h.fetchPriority:void 0,referrerPolicy:typeof h.referrerPolicy=="string"?h.referrerPolicy:void 0,imageSrcSet:typeof h.imageSrcSet=="string"?h.imageSrcSet:void 0,imageSizes:typeof h.imageSizes=="string"?h.imageSizes:void 0,media:typeof h.media=="string"?h.media:void 0})}},$n.preloadModule=function(f,h){if(typeof f=="string")if(h){var p=u(h.as,h.crossOrigin);i.d.m(f,{as:typeof h.as=="string"&&h.as!=="script"?h.as:void 0,crossOrigin:p,integrity:typeof h.integrity=="string"?h.integrity:void 0})}else i.d.m(f)},$n.requestFormReset=function(f){i.d.r(f)},$n.unstable_batchedUpdates=function(f,h){return f(h)},$n.useFormState=function(f,h,p){return l.H.useFormState(f,h,p)},$n.useFormStatus=function(){return l.H.useHostTransitionStatus()},$n.version="19.1.1",$n}var pS;function dP(){if(pS)return oy.exports;pS=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),oy.exports=fP(),oy.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 mS;function hP(){if(mS)return ad;mS=1;var e=uP(),t=Eu(),n=dP();function i(r){var s="https://react.dev/errors/"+r;if(1<arguments.length){s+="?args[]="+encodeURIComponent(arguments[1]);for(var c=2;c<arguments.length;c++)s+="&args[]="+encodeURIComponent(arguments[c])}return"Minified React error #"+r+"; visit "+s+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11)}function o(r){var s=r,c=r;if(r.alternate)for(;s.return;)s=s.return;else{r=s;do s=r,(s.flags&4098)!==0&&(c=s.return),r=s.return;while(r)}return s.tag===3?c:null}function l(r){if(r.tag===13){var s=r.memoizedState;if(s===null&&(r=r.alternate,r!==null&&(s=r.memoizedState)),s!==null)return s.dehydrated}return null}function u(r){if(o(r)!==r)throw Error(i(188))}function f(r){var s=r.alternate;if(!s){if(s=o(r),s===null)throw Error(i(188));return s!==r?null:r}for(var c=r,d=s;;){var g=c.return;if(g===null)break;var x=g.alternate;if(x===null){if(d=g.return,d!==null){c=d;continue}break}if(g.child===x.child){for(x=g.child;x;){if(x===c)return u(g),r;if(x===d)return u(g),s;x=x.sibling}throw Error(i(188))}if(c.return!==d.return)c=g,d=x;else{for(var M=!1,P=g.child;P;){if(P===c){M=!0,c=g,d=x;break}if(P===d){M=!0,d=g,c=x;break}P=P.sibling}if(!M){for(P=x.child;P;){if(P===c){M=!0,c=x,d=g;break}if(P===d){M=!0,d=x,c=g;break}P=P.sibling}if(!M)throw Error(i(189))}}if(c.alternate!==d)throw Error(i(190))}if(c.tag!==3)throw Error(i(188));return c.stateNode.current===c?r:s}function h(r){var s=r.tag;if(s===5||s===26||s===27||s===6)return r;for(r=r.child;r!==null;){if(s=h(r),s!==null)return s;r=r.sibling}return null}var p=Object.assign,m=Symbol.for("react.element"),b=Symbol.for("react.transitional.element"),w=Symbol.for("react.portal"),_=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),O=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),T=Symbol.for("react.consumer"),A=Symbol.for("react.context"),k=Symbol.for("react.forward_ref"),D=Symbol.for("react.suspense"),R=Symbol.for("react.suspense_list"),B=Symbol.for("react.memo"),$=Symbol.for("react.lazy"),F=Symbol.for("react.activity"),X=Symbol.for("react.memo_cache_sentinel"),H=Symbol.iterator;function U(r){return r===null||typeof r!="object"?null:(r=H&&r[H]||r["@@iterator"],typeof r=="function"?r:null)}var se=Symbol.for("react.client.reference");function ce(r){if(r==null)return null;if(typeof r=="function")return r.$$typeof===se?null:r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case _:return"Fragment";case O:return"Profiler";case E:return"StrictMode";case D:return"Suspense";case R:return"SuspenseList";case F:return"Activity"}if(typeof r=="object")switch(r.$$typeof){case w:return"Portal";case A:return(r.displayName||"Context")+".Provider";case T:return(r._context.displayName||"Context")+".Consumer";case k:var s=r.render;return r=r.displayName,r||(r=s.displayName||s.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case B:return s=r.displayName||null,s!==null?s:ce(r.type)||"Memo";case $:s=r._payload,r=r._init;try{return ce(r(s))}catch{}}return null}var ge=Array.isArray,q=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,te=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,re={pending:!1,data:null,method:null,action:null},pe=[],z=-1;function V(r){return{current:r}}function oe(r){0>z||(r.current=pe[z],pe[z]=null,z--)}function ve(r,s){z++,pe[z]=r.current,r.current=s}var we=V(null),Ce=V(null),Ee=V(null),Ie=V(null);function Ne(r,s){switch(ve(Ee,s),ve(Ce,r),ve(we,null),s.nodeType){case 9:case 11:r=(r=s.documentElement)&&(r=r.namespaceURI)?kE(r):0;break;default:if(r=s.tagName,s=s.namespaceURI)s=kE(s),r=RE(s,r);else switch(r){case"svg":r=1;break;case"math":r=2;break;default:r=0}}oe(we),ve(we,r)}function ne(){oe(we),oe(Ce),oe(Ee)}function De(r){r.memoizedState!==null&&ve(Ie,r);var s=we.current,c=RE(s,r.type);s!==c&&(ve(Ce,r),ve(we,c))}function Pe(r){Ce.current===r&&(oe(we),oe(Ce)),Ie.current===r&&(oe(Ie),Jf._currentValue=re)}var he=Object.prototype.hasOwnProperty,Ue=e.unstable_scheduleCallback,Te=e.unstable_cancelCallback,tt=e.unstable_shouldYield,at=e.unstable_requestPaint,ct=e.unstable_now,ds=e.unstable_getCurrentPriorityLevel,Hl=e.unstable_ImmediatePriority,Ri=e.unstable_UserBlockingPriority,cr=e.unstable_NormalPriority,ql=e.unstable_LowPriority,Do=e.unstable_IdlePriority,Po=e.log,ha=e.unstable_setDisableYieldValue,wn=null,rn=null;function mi(r){if(typeof Po=="function"&&ha(r),rn&&typeof rn.setStrictMode=="function")try{rn.setStrictMode(wn,r)}catch{}}var Vn=Math.clz32?Math.clz32:ps,Lo=Math.log,hs=Math.LN2;function ps(r){return r>>>=0,r===0?32:31-(Lo(r)/hs|0)|0}var pa=256,Ul=4194304;function ur(r){var s=r&42;if(s!==0)return s;switch(r&-r){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return r&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return r&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return r}}function Fl(r,s,c){var d=r.pendingLanes;if(d===0)return 0;var g=0,x=r.suspendedLanes,M=r.pingedLanes;r=r.warmLanes;var P=d&134217727;return P!==0?(d=P&~x,d!==0?g=ur(d):(M&=P,M!==0?g=ur(M):c||(c=P&~r,c!==0&&(g=ur(c))))):(P=d&~x,P!==0?g=ur(P):M!==0?g=ur(M):c||(c=d&~r,c!==0&&(g=ur(c)))),g===0?0:s!==0&&s!==g&&(s&x)===0&&(x=g&-g,c=s&-s,x>=c||x===32&&(c&4194048)!==0)?s:g}function ko(r,s){return(r.pendingLanes&~(r.suspendedLanes&~r.pingedLanes)&s)===0}function jv(r,s){switch(r){case 1:case 2:case 4:case 8:case 64:return s+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return s+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 _h(){var r=pa;return pa<<=1,(pa&4194048)===0&&(pa=256),r}function Eh(){var r=Ul;return Ul<<=1,(Ul&62914560)===0&&(Ul=4194304),r}function qu(r){for(var s=[],c=0;31>c;c++)s.push(r);return s}function ms(r,s){r.pendingLanes|=s,s!==268435456&&(r.suspendedLanes=0,r.pingedLanes=0,r.warmLanes=0)}function Gl(r,s,c,d,g,x){var M=r.pendingLanes;r.pendingLanes=c,r.suspendedLanes=0,r.pingedLanes=0,r.warmLanes=0,r.expiredLanes&=c,r.entangledLanes&=c,r.errorRecoveryDisabledLanes&=c,r.shellSuspendCounter=0;var P=r.entanglements,I=r.expirationTimes,Z=r.hiddenUpdates;for(c=M&~c;0<c;){var le=31-Vn(c),de=1<<le;P[le]=0,I[le]=-1;var J=Z[le];if(J!==null)for(Z[le]=null,le=0;le<J.length;le++){var ee=J[le];ee!==null&&(ee.lane&=-536870913)}c&=~de}d!==0&&Uu(r,d,0),x!==0&&g===0&&r.tag!==0&&(r.suspendedLanes|=x&~(M&~s))}function Uu(r,s,c){r.pendingLanes|=s,r.suspendedLanes&=~s;var d=31-Vn(s);r.entangledLanes|=s,r.entanglements[d]=r.entanglements[d]|1073741824|c&4194090}function Fu(r,s){var c=r.entangledLanes|=s;for(r=r.entanglements;c;){var d=31-Vn(c),g=1<<d;g&s|r[d]&s&&(r[d]|=s),c&=~g}}function Gu(r){switch(r){case 2:r=1;break;case 8:r=4;break;case 32:r=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:r=128;break;case 268435456:r=134217728;break;default:r=0}return r}function Yu(r){return r&=-r,2<r?8<r?(r&134217727)!==0?32:268435456:8:2}function Sh(){var r=te.p;return r!==0?r:(r=window.event,r===void 0?32:tS(r.type))}function Dv(r,s){var c=te.p;try{return te.p=r,s()}finally{te.p=c}}var Hn=Math.random().toString(36).slice(2),Vt="__reactFiber$"+Hn,Dn="__reactProps$"+Hn,gs="__reactContainer$"+Hn,Ku="__reactEvents$"+Hn,Pv="__reactListeners$"+Hn,Lv="__reactHandles$"+Hn,Yl="__reactResources$"+Hn,zi="__reactMarker$"+Hn;function vs(r){delete r[Vt],delete r[Dn],delete r[Ku],delete r[Pv],delete r[Lv]}function ys(r){var s=r[Vt];if(s)return s;for(var c=r.parentNode;c;){if(s=c[gs]||c[Vt]){if(c=s.alternate,s.child!==null||c!==null&&c.child!==null)for(r=BE(r);r!==null;){if(c=r[Vt])return c;r=BE(r)}return s}r=c,c=r.parentNode}return null}function Dr(r){if(r=r[Vt]||r[gs]){var s=r.tag;if(s===5||s===6||s===13||s===26||s===27||s===3)return r}return null}function Ro(r){var s=r.tag;if(s===5||s===26||s===27||s===6)return r.stateNode;throw Error(i(33))}function bs(r){var s=r[Yl];return s||(s=r[Yl]={hoistableStyles:new Map,hoistableScripts:new Map}),s}function Mt(r){r[zi]=!0}var cn=new Set,Pn={};function Yt(r,s){Ht(r,s),Ht(r+"Capture",s)}function Ht(r,s){for(Pn[r]=s,r=0;r<s.length;r++)cn.add(s[r])}var Kl=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]*$"),ma={},Pr={};function xs(r){return he.call(Pr,r)?!0:he.call(ma,r)?!1:Kl.test(r)?Pr[r]=!0:(ma[r]=!0,!1)}function zo(r,s,c){if(xs(s))if(c===null)r.removeAttribute(s);else{switch(typeof c){case"undefined":case"function":case"symbol":r.removeAttribute(s);return;case"boolean":var d=s.toLowerCase().slice(0,5);if(d!=="data-"&&d!=="aria-"){r.removeAttribute(s);return}}r.setAttribute(s,""+c)}}function ws(r,s,c){if(c===null)r.removeAttribute(s);else{switch(typeof c){case"undefined":case"function":case"symbol":case"boolean":r.removeAttribute(s);return}r.setAttribute(s,""+c)}}function Ln(r,s,c,d){if(d===null)r.removeAttribute(c);else{switch(typeof d){case"undefined":case"function":case"symbol":case"boolean":r.removeAttribute(c);return}r.setAttributeNS(s,c,""+d)}}var Wl,Xl;function Lr(r){if(Wl===void 0)try{throw Error()}catch(c){var s=c.stack.trim().match(/\n( *(at )?)/);Wl=s&&s[1]||"",Xl=-1<c.stack.indexOf(` at`)?" (<anonymous>)":-1<c.stack.indexOf("@")?"@unknown:0:0":""}return` `+Wl+r+Xl}var Ql=!1;function Zl(r,s){if(!r||Ql)return"";Ql=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var d={DetermineComponentFrameRoot:function(){try{if(s){var de=function(){throw Error()};if(Object.defineProperty(de.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(de,[])}catch(ee){var J=ee}Reflect.construct(r,[],de)}else{try{de.call()}catch(ee){J=ee}r.call(de.prototype)}}else{try{throw Error()}catch(ee){J=ee}(de=r())&&typeof de.catch=="function"&&de.catch(function(){})}}catch(ee){if(ee&&J&&typeof ee.stack=="string")return[ee.stack,J.stack]}return[null,null]}};d.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var g=Object.getOwnPropertyDescriptor(d.DetermineComponentFrameRoot,"name");g&&g.configurable&&Object.defineProperty(d.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var x=d.DetermineComponentFrameRoot(),M=x[0],P=x[1];if(M&&P){var I=M.split(` `),Z=P.split(` `);for(g=d=0;d<I.length&&!I[d].includes("DetermineComponentFrameRoot");)d++;for(;g<Z.length&&!Z[g].includes("DetermineComponentFrameRoot");)g++;if(d===I.length||g===Z.length)for(d=I.length-1,g=Z.length-1;1<=d&&0<=g&&I[d]!==Z[g];)g--;for(;1<=d&&0<=g;d--,g--)if(I[d]!==Z[g]){if(d!==1||g!==1)do if(d--,g--,0>g||I[d]!==Z[g]){var le=` `+I[d].replace(" at new "," at ");return r.displayName&&le.includes("<anonymous>")&&(le=le.replace("<anonymous>",r.displayName)),le}while(1<=d&&0<=g);break}}}finally{Ql=!1,Error.prepareStackTrace=c}return(c=r?r.displayName||r.name:"")?Lr(c):""}function Th(r){switch(r.tag){case 26:case 27:case 5:return Lr(r.type);case 16:return Lr("Lazy");case 13:return Lr("Suspense");case 19:return Lr("SuspenseList");case 0:case 15:return Zl(r.type,!1);case 11:return Zl(r.type.render,!1);case 1:return Zl(r.type,!0);case 31:return Lr("Activity");default:return""}}function Wu(r){try{var s="";do s+=Th(r),r=r.return;while(r);return s}catch(c){return` Error generating stack: `+c.message+` `+c.stack}}function qn(r){switch(typeof r){case"bigint":case"boolean":case"number":case"string":case"undefined":return r;case"object":return r;default:return""}}function Xu(r){var s=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(s==="checkbox"||s==="radio")}function Ah(r){var s=Xu(r)?"checked":"value",c=Object.getOwnPropertyDescriptor(r.constructor.prototype,s),d=""+r[s];if(!r.hasOwnProperty(s)&&typeof c<"u"&&typeof c.get=="function"&&typeof c.set=="function"){var g=c.get,x=c.set;return Object.defineProperty(r,s,{configurable:!0,get:function(){return g.call(this)},set:function(M){d=""+M,x.call(this,M)}}),Object.defineProperty(r,s,{enumerable:c.enumerable}),{getValue:function(){return d},setValue:function(M){d=""+M},stopTracking:function(){r._valueTracker=null,delete r[s]}}}}function Io(r){r._valueTracker||(r._valueTracker=Ah(r))}function Qu(r){if(!r)return!1;var s=r._valueTracker;if(!s)return!0;var c=s.getValue(),d="";return r&&(d=Xu(r)?r.checked?"true":"false":r.value),r=d,r!==c?(s.setValue(r),!0):!1}function $o(r){if(r=r||(typeof document<"u"?document:void 0),typeof r>"u")return null;try{return r.activeElement||r.body}catch{return r.body}}var Ii=/[\n"\\]/g;function St(r){return r.replace(Ii,function(s){return"\\"+s.charCodeAt(0).toString(16)+" "})}function fr(r,s,c,d,g,x,M,P){r.name="",M!=null&&typeof M!="function"&&typeof M!="symbol"&&typeof M!="boolean"?r.type=M:r.removeAttribute("type"),s!=null?M==="number"?(s===0&&r.value===""||r.value!=s)&&(r.value=""+qn(s)):r.value!==""+qn(s)&&(r.value=""+qn(s)):M!=="submit"&&M!=="reset"||r.removeAttribute("value"),s!=null?Bo(r,M,qn(s)):c!=null?Bo(r,M,qn(c)):d!=null&&r.removeAttribute("value"),g==null&&x!=null&&(r.defaultChecked=!!x),g!=null&&(r.checked=g&&typeof g!="function"&&typeof g!="symbol"),P!=null&&typeof P!="function"&&typeof P!="symbol"&&typeof P!="boolean"?r.name=""+qn(P):r.removeAttribute("name")}function Un(r,s,c,d,g,x,M,P){if(x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"&&(r.type=x),s!=null||c!=null){if(!(x!=="submit"&&x!=="reset"||s!=null))return;c=c!=null?""+qn(c):"",s=s!=null?""+qn(s):c,P||s===r.value||(r.value=s),r.defaultValue=s}d=d??g,d=typeof d!="function"&&typeof d!="symbol"&&!!d,r.checked=P?r.checked:!!d,r.defaultChecked=!!d,M!=null&&typeof M!="function"&&typeof M!="symbol"&&typeof M!="boolean"&&(r.name=M)}function Bo(r,s,c){s==="number"&&$o(r.ownerDocument)===r||r.defaultValue===""+c||(r.defaultValue=""+c)}function kr(r,s,c,d){if(r=r.options,s){s={};for(var g=0;g<c.length;g++)s["$"+c[g]]=!0;for(c=0;c<r.length;c++)g=s.hasOwnProperty("$"+r[c].value),r[c].selected!==g&&(r[c].selected=g),g&&d&&(r[c].defaultSelected=!0)}else{for(c=""+qn(c),s=null,g=0;g<r.length;g++){if(r[g].value===c){r[g].selected=!0,d&&(r[g].defaultSelected=!0);return}s!==null||r[g].disabled||(s=r[g])}s!==null&&(s.selected=!0)}}function gi(r,s,c){if(s!=null&&(s=""+qn(s),s!==r.value&&(r.value=s),c==null)){r.defaultValue!==s&&(r.defaultValue=s);return}r.defaultValue=c!=null?""+qn(c):""}function Rr(r,s,c,d){if(s==null){if(d!=null){if(c!=null)throw Error(i(92));if(ge(d)){if(1<d.length)throw Error(i(93));d=d[0]}c=d}c==null&&(c=""),s=c}c=qn(s),r.defaultValue=c,d=r.textContent,d===c&&d!==""&&d!==null&&(r.value=d)}function dr(r,s){if(s){var c=r.firstChild;if(c&&c===r.lastChild&&c.nodeType===3){c.nodeValue=s;return}}r.textContent=s}var _s=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 Jl(r,s,c){var d=s.indexOf("--")===0;c==null||typeof c=="boolean"||c===""?d?r.setProperty(s,""):s==="float"?r.cssFloat="":r[s]="":d?r.setProperty(s,c):typeof c!="number"||c===0||_s.has(s)?s==="float"?r.cssFloat=c:r[s]=(""+c).trim():r[s]=c+"px"}function Zu(r,s,c){if(s!=null&&typeof s!="object")throw Error(i(62));if(r=r.style,c!=null){for(var d in c)!c.hasOwnProperty(d)||s!=null&&s.hasOwnProperty(d)||(d.indexOf("--")===0?r.setProperty(d,""):d==="float"?r.cssFloat="":r[d]="");for(var g in s)d=s[g],s.hasOwnProperty(g)&&c[g]!==d&&Jl(r,g,d)}else for(var x in s)s.hasOwnProperty(x)&&Jl(r,x,s[x])}function zr(r){if(r.indexOf("-")===-1)return!1;switch(r){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 Ju=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"]]),Ch=/^[\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 ni(r){return Ch.test(""+r)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":r}var ef=null;function $i(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var hr=null,ga=null;function Es(r){var s=Dr(r);if(s&&(r=s.stateNode)){var c=r[Dn]||null;e:switch(r=s.stateNode,s.type){case"input":if(fr(r,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name),s=c.name,c.type==="radio"&&s!=null){for(c=r;c.parentNode;)c=c.parentNode;for(c=c.querySelectorAll('input[name="'+St(""+s)+'"][type="radio"]'),s=0;s<c.length;s++){var d=c[s];if(d!==r&&d.form===r.form){var g=d[Dn]||null;if(!g)throw Error(i(90));fr(d,g.value,g.defaultValue,g.defaultValue,g.checked,g.defaultChecked,g.type,g.name)}}for(s=0;s<c.length;s++)d=c[s],d.form===r.form&&Qu(d)}break e;case"textarea":gi(r,c.value,c.defaultValue);break e;case"select":s=c.value,s!=null&&kr(r,!!c.multiple,s,!1)}}}var Vo=!1;function Ss(r,s,c){if(Vo)return r(s,c);Vo=!0;try{var d=r(s);return d}finally{if(Vo=!1,(hr!==null||ga!==null)&&(zp(),hr&&(s=hr,r=ga,ga=hr=null,Es(s),r)))for(s=0;s<r.length;s++)Es(r[s])}}function Ts(r,s){var c=r.stateNode;if(c===null)return null;var d=c[Dn]||null;if(d===null)return null;c=d[s];e:switch(s){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(d=!d.disabled)||(r=r.type,d=!(r==="button"||r==="input"||r==="select"||r==="textarea")),r=!d;break e;default:r=!1}if(r)return null;if(c&&typeof c!="function")throw Error(i(231,s,typeof c));return c}var Bi=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ec=!1;if(Bi)try{var Vi={};Object.defineProperty(Vi,"passive",{get:function(){ec=!0}}),window.addEventListener("test",Vi,Vi),window.removeEventListener("test",Vi,Vi)}catch{ec=!1}var Ir=null,tc=null,As=null;function Ho(){if(As)return As;var r,s=tc,c=s.length,d,g="value"in Ir?Ir.value:Ir.textContent,x=g.length;for(r=0;r<c&&s[r]===g[r];r++);var M=c-r;for(d=1;d<=M&&s[c-d]===g[x-d];d++);return As=g.slice(r,1<d?1-d:void 0)}function Cs(r){var s=r.keyCode;return"charCode"in r?(r=r.charCode,r===0&&s===13&&(r=13)):r=s,r===10&&(r=13),32<=r||r===13?r:0}function nc(){return!0}function qo(){return!1}function kn(r){function s(c,d,g,x,M){this._reactName=c,this._targetInst=g,this.type=d,this.nativeEvent=x,this.target=M,this.currentTarget=null;for(var P in r)r.hasOwnProperty(P)&&(c=r[P],this[P]=c?c(x):x[P]);return this.isDefaultPrevented=(x.defaultPrevented!=null?x.defaultPrevented:x.returnValue===!1)?nc:qo,this.isPropagationStopped=qo,this}return p(s.prototype,{preventDefault:function(){this.defaultPrevented=!0;var c=this.nativeEvent;c&&(c.preventDefault?c.preventDefault():typeof c.returnValue!="unknown"&&(c.returnValue=!1),this.isDefaultPrevented=nc)},stopPropagation:function(){var c=this.nativeEvent;c&&(c.stopPropagation?c.stopPropagation():typeof c.cancelBubble!="unknown"&&(c.cancelBubble=!0),this.isPropagationStopped=nc)},persist:function(){},isPersistent:nc}),s}var $r={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(r){return r.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Os=kn($r),va=p({},$r,{view:0,detail:0}),tf=kn(va),ic,ya,ba,Uo=p({},va,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:af,button:0,buttons:0,relatedTarget:function(r){return r.relatedTarget===void 0?r.fromElement===r.srcElement?r.toElement:r.fromElement:r.relatedTarget},movementX:function(r){return"movementX"in r?r.movementX:(r!==ba&&(ba&&r.type==="mousemove"?(ic=r.screenX-ba.screenX,ya=r.screenY-ba.screenY):ya=ic=0,ba=r),ic)},movementY:function(r){return"movementY"in r?r.movementY:ya}}),nf=kn(Uo),Ms=p({},Uo,{dataTransfer:0}),kv=kn(Ms),Oh=p({},va,{relatedTarget:0}),rc=kn(Oh),Mh=p({},$r,{animationName:0,elapsedTime:0,pseudoElement:0}),Nh=kn(Mh),jh=p({},$r,{clipboardData:function(r){return"clipboardData"in r?r.clipboardData:window.clipboardData}}),rf=kn(jh),Dh=p({},$r,{data:0}),Ph=kn(Dh),Rv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Lh={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"},kh={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ac(r){var s=this.nativeEvent;return s.getModifierState?s.getModifierState(r):(r=kh[r])?!!s[r]:!1}function af(){return ac}var zv=p({},va,{key:function(r){if(r.key){var s=Rv[r.key]||r.key;if(s!=="Unidentified")return s}return r.type==="keypress"?(r=Cs(r),r===13?"Enter":String.fromCharCode(r)):r.type==="keydown"||r.type==="keyup"?Lh[r.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:af,charCode:function(r){return r.type==="keypress"?Cs(r):0},keyCode:function(r){return r.type==="keydown"||r.type==="keyup"?r.keyCode:0},which:function(r){return r.type==="keypress"?Cs(r):r.type==="keydown"||r.type==="keyup"?r.keyCode:0}}),sf=kn(zv),Rh=p({},Uo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),of=kn(Rh),xa=p({},va,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:af}),lf=kn(xa),Iv=p({},$r,{propertyName:0,elapsedTime:0,pseudoElement:0}),zh=kn(Iv),$v=p({},Uo,{deltaX:function(r){return"deltaX"in r?r.deltaX:"wheelDeltaX"in r?-r.wheelDeltaX:0},deltaY:function(r){return"deltaY"in r?r.deltaY:"wheelDeltaY"in r?-r.wheelDeltaY:"wheelDelta"in r?-r.wheelDelta:0},deltaZ:0,deltaMode:0}),Bv=kn($v),Vv=p({},$r,{newState:0,oldState:0}),Hv=kn(Vv),Ih=[9,13,27,32],sc=Bi&&"CompositionEvent"in window,Fo=null;Bi&&"documentMode"in document&&(Fo=document.documentMode);var Ns=Bi&&"TextEvent"in window&&!Fo,Br=Bi&&(!sc||Fo&&8<Fo&&11>=Fo),$h=" ",Go=!1;function Bh(r,s){switch(r){case"keyup":return Ih.indexOf(s.keyCode)!==-1;case"keydown":return s.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vh(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var js=!1;function qv(r,s){switch(r){case"compositionend":return Vh(s);case"keypress":return s.which!==32?null:(Go=!0,$h);case"textInput":return r=s.data,r===$h&&Go?null:r;default:return null}}function Uv(r,s){if(js)return r==="compositionend"||!sc&&Bh(r,s)?(r=Ho(),As=tc=Ir=null,js=!1,r):null;switch(r){case"paste":return null;case"keypress":if(!(s.ctrlKey||s.altKey||s.metaKey)||s.ctrlKey&&s.altKey){if(s.char&&1<s.char.length)return s.char;if(s.which)return String.fromCharCode(s.which)}return null;case"compositionend":return Br&&s.locale!=="ko"?null:s.data;default:return null}}var Fv={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 Hh(r){var s=r&&r.nodeName&&r.nodeName.toLowerCase();return s==="input"?!!Fv[r.type]:s==="textarea"}function qh(r,s,c,d){hr?ga?ga.push(d):ga=[d]:hr=d,s=qp(s,"onChange"),0<s.length&&(c=new Os("onChange","change",null,c,d),r.push({event:c,listeners:s}))}var _n=null,Ds=null;function Uh(r){NE(r,0)}function Yo(r){var s=Ro(r);if(Qu(s))return r}function Fh(r,s){if(r==="change")return s}var Gh=!1;if(Bi){var oc;if(Bi){var Ps="oninput"in document;if(!Ps){var Yh=document.createElement("div");Yh.setAttribute("oninput","return;"),Ps=typeof Yh.oninput=="function"}oc=Ps}else oc=!1;Gh=oc&&(!document.documentMode||9<document.documentMode)}function Kh(){_n&&(_n.detachEvent("onpropertychange",cf),Ds=_n=null)}function cf(r){if(r.propertyName==="value"&&Yo(Ds)){var s=[];qh(s,Ds,r,$i(r)),Ss(Uh,s)}}function Gv(r,s,c){r==="focusin"?(Kh(),_n=s,Ds=c,_n.attachEvent("onpropertychange",cf)):r==="focusout"&&Kh()}function Yv(r){if(r==="selectionchange"||r==="keyup"||r==="keydown")return Yo(Ds)}function Wh(r,s){if(r==="click")return Yo(s)}function Xh(r,s){if(r==="input"||r==="change")return Yo(s)}function Qh(r,s){return r===s&&(r!==0||1/r===1/s)||r!==r&&s!==s}var un=typeof Object.is=="function"?Object.is:Qh;function Ls(r,s){if(un(r,s))return!0;if(typeof r!="object"||r===null||typeof s!="object"||s===null)return!1;var c=Object.keys(r),d=Object.keys(s);if(c.length!==d.length)return!1;for(d=0;d<c.length;d++){var g=c[d];if(!he.call(s,g)||!un(r[g],s[g]))return!1}return!0}function lc(r){for(;r&&r.firstChild;)r=r.firstChild;return r}function Fn(r,s){var c=lc(r);r=0;for(var d;c;){if(c.nodeType===3){if(d=r+c.textContent.length,r<=s&&d>=s)return{node:c,offset:s-r};r=d}e:{for(;c;){if(c.nextSibling){c=c.nextSibling;break e}c=c.parentNode}c=void 0}c=lc(c)}}function Zh(r,s){return r&&s?r===s?!0:r&&r.nodeType===3?!1:s&&s.nodeType===3?Zh(r,s.parentNode):"contains"in r?r.contains(s):r.compareDocumentPosition?!!(r.compareDocumentPosition(s)&16):!1:!1}function Jh(r){r=r!=null&&r.ownerDocument!=null&&r.ownerDocument.defaultView!=null?r.ownerDocument.defaultView:window;for(var s=$o(r.document);s instanceof r.HTMLIFrameElement;){try{var c=typeof s.contentWindow.location.href=="string"}catch{c=!1}if(c)r=s.contentWindow;else break;s=$o(r.document)}return s}function cc(r){var s=r&&r.nodeName&&r.nodeName.toLowerCase();return s&&(s==="input"&&(r.type==="text"||r.type==="search"||r.type==="tel"||r.type==="url"||r.type==="password")||s==="textarea"||r.contentEditable==="true")}var ep=Bi&&"documentMode"in document&&11>=document.documentMode,ks=null,uf=null,Ko=null,ff=!1;function tp(r,s,c){var d=c.window===c?c.document:c.nodeType===9?c:c.ownerDocument;ff||ks==null||ks!==$o(d)||(d=ks,"selectionStart"in d&&cc(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),Ko&&Ls(Ko,d)||(Ko=d,d=qp(uf,"onSelect"),0<d.length&&(s=new Os("onSelect","select",null,s,c),r.push({event:s,listeners:d}),s.target=ks)))}function wa(r,s){var c={};return c[r.toLowerCase()]=s.toLowerCase(),c["Webkit"+r]="webkit"+s,c["Moz"+r]="moz"+s,c}var _a={animationend:wa("Animation","AnimationEnd"),animationiteration:wa("Animation","AnimationIteration"),animationstart:wa("Animation","AnimationStart"),transitionrun:wa("Transition","TransitionRun"),transitionstart:wa("Transition","TransitionStart"),transitioncancel:wa("Transition","TransitionCancel"),transitionend:wa("Transition","TransitionEnd")},uc={},fc={};Bi&&(fc=document.createElement("div").style,"AnimationEvent"in window||(delete _a.animationend.animation,delete _a.animationiteration.animation,delete _a.animationstart.animation),"TransitionEvent"in window||delete _a.transitionend.transition);function Ea(r){if(uc[r])return uc[r];if(!_a[r])return r;var s=_a[r],c;for(c in s)if(s.hasOwnProperty(c)&&c in fc)return uc[r]=s[c];return r}var np=Ea("animationend"),Vr=Ea("animationiteration"),Hi=Ea("animationstart"),ip=Ea("transitionrun"),Kv=Ea("transitionstart"),rp=Ea("transitioncancel"),df=Ea("transitionend"),hf=new Map,dc="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");dc.push("scrollEnd");function vi(r,s){hf.set(r,s),Yt(s,[r])}var ap=new WeakMap;function ii(r,s){if(typeof r=="object"&&r!==null){var c=ap.get(r);return c!==void 0?c:(s={value:r,source:s,stack:Wu(s)},ap.set(r,s),s)}return{value:r,source:s,stack:Wu(s)}}var Gn=[],Sa=0,pf=0;function hc(){for(var r=Sa,s=pf=Sa=0;s<r;){var c=Gn[s];Gn[s++]=null;var d=Gn[s];Gn[s++]=null;var g=Gn[s];Gn[s++]=null;var x=Gn[s];if(Gn[s++]=null,d!==null&&g!==null){var M=d.pending;M===null?g.next=g:(g.next=M.next,M.next=g),d.pending=g}x!==0&&qi(c,g,x)}}function pc(r,s,c,d){Gn[Sa++]=r,Gn[Sa++]=s,Gn[Sa++]=c,Gn[Sa++]=d,pf|=d,r.lanes|=d,r=r.alternate,r!==null&&(r.lanes|=d)}function mf(r,s,c,d){return pc(r,s,c,d),Wo(r)}function Rs(r,s){return pc(r,null,null,s),Wo(r)}function qi(r,s,c){r.lanes|=c;var d=r.alternate;d!==null&&(d.lanes|=c);for(var g=!1,x=r.return;x!==null;)x.childLanes|=c,d=x.alternate,d!==null&&(d.childLanes|=c),x.tag===22&&(r=x.stateNode,r===null||r._visibility&1||(g=!0)),r=x,x=x.return;return r.tag===3?(x=r.stateNode,g&&s!==null&&(g=31-Vn(c),r=x.hiddenUpdates,d=r[g],d===null?r[g]=[s]:d.push(s),s.lane=c|536870912),x):null}function Wo(r){if(50<Ff)throw Ff=0,A0=null,Error(i(185));for(var s=r.return;s!==null;)r=s,s=r.return;return r.tag===3?r.stateNode:null}var zs={};function Wv(r,s,c,d){this.tag=r,this.key=c,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=s,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=d,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Yn(r,s,c,d){return new Wv(r,s,c,d)}function gf(r){return r=r.prototype,!(!r||!r.isReactComponent)}function pr(r,s){var c=r.alternate;return c===null?(c=Yn(r.tag,s,r.key,r.mode),c.elementType=r.elementType,c.type=r.type,c.stateNode=r.stateNode,c.alternate=r,r.alternate=c):(c.pendingProps=s,c.type=r.type,c.flags=0,c.subtreeFlags=0,c.deletions=null),c.flags=r.flags&65011712,c.childLanes=r.childLanes,c.lanes=r.lanes,c.child=r.child,c.memoizedProps=r.memoizedProps,c.memoizedState=r.memoizedState,c.updateQueue=r.updateQueue,s=r.dependencies,c.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext},c.sibling=r.sibling,c.index=r.index,c.ref=r.ref,c.refCleanup=r.refCleanup,c}function sp(r,s){r.flags&=65011714;var c=r.alternate;return c===null?(r.childLanes=0,r.lanes=s,r.child=null,r.subtreeFlags=0,r.memoizedProps=null,r.memoizedState=null,r.updateQueue=null,r.dependencies=null,r.stateNode=null):(r.childLanes=c.childLanes,r.lanes=c.lanes,r.child=c.child,r.subtreeFlags=0,r.deletions=null,r.memoizedProps=c.memoizedProps,r.memoizedState=c.memoizedState,r.updateQueue=c.updateQueue,r.type=c.type,s=c.dependencies,r.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext}),r}function mc(r,s,c,d,g,x){var M=0;if(d=r,typeof r=="function")gf(r)&&(M=1);else if(typeof r=="string")M=F8(r,c,we.current)?26:r==="html"||r==="head"||r==="body"?27:5;else e:switch(r){case F:return r=Yn(31,c,s,g),r.elementType=F,r.lanes=x,r;case _:return Ta(c.children,g,x,s);case E:M=8,g|=24;break;case O:return r=Yn(12,c,s,g|2),r.elementType=O,r.lanes=x,r;case D:return r=Yn(13,c,s,g),r.elementType=D,r.lanes=x,r;case R:return r=Yn(19,c,s,g),r.elementType=R,r.lanes=x,r;default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case C:case A:M=10;break e;case T:M=9;break e;case k:M=11;break e;case B:M=14;break e;case $:M=16,d=null;break e}M=29,c=Error(i(130,r===null?"null":typeof r,"")),d=null}return s=Yn(M,c,s,g),s.elementType=r,s.type=d,s.lanes=x,s}function Ta(r,s,c,d){return r=Yn(7,r,d,s),r.lanes=c,r}function Xo(r,s,c){return r=Yn(6,r,null,s),r.lanes=c,r}function Is(r,s,c){return s=Yn(4,r.children!==null?r.children:[],r.key,s),s.lanes=c,s.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},s}var $s=[],Aa=0,Qo=null,Hr=0,Rn=[],zn=0,Ca=null,mr=1,gr="";function Kn(r,s){$s[Aa++]=Hr,$s[Aa++]=Qo,Qo=r,Hr=s}function op(r,s,c){Rn[zn++]=mr,Rn[zn++]=gr,Rn[zn++]=Ca,Ca=r;var d=mr;r=gr;var g=32-Vn(d)-1;d&=~(1<<g),c+=1;var x=32-Vn(s)+g;if(30<x){var M=g-g%5;x=(d&(1<<M)-1).toString(32),d>>=M,g-=M,mr=1<<32-Vn(s)+g|c<<g|d,gr=x+r}else mr=1<<x|c<<g|d,gr=r}function vf(r){r.return!==null&&(Kn(r,1),op(r,1,0))}function yf(r){for(;r===Qo;)Qo=$s[--Aa],$s[Aa]=null,Hr=$s[--Aa],$s[Aa]=null;for(;r===Ca;)Ca=Rn[--zn],Rn[zn]=null,gr=Rn[--zn],Rn[zn]=null,mr=Rn[--zn],Rn[zn]=null}var En=null,xt=null,nt=!1,Oa=null,yi=!1,bf=Error(i(519));function ri(r){var s=Error(i(418,""));throw vr(ii(s,r)),bf}function gc(r){var s=r.stateNode,c=r.type,d=r.memoizedProps;switch(s[Vt]=r,s[Dn]=d,c){case"dialog":Je("cancel",s),Je("close",s);break;case"iframe":case"object":case"embed":Je("load",s);break;case"video":case"audio":for(c=0;c<Yf.length;c++)Je(Yf[c],s);break;case"source":Je("error",s);break;case"img":case"image":case"link":Je("error",s),Je("load",s);break;case"details":Je("toggle",s);break;case"input":Je("invalid",s),Un(s,d.value,d.defaultValue,d.checked,d.defaultChecked,d.type,d.name,!0),Io(s);break;case"select":Je("invalid",s);break;case"textarea":Je("invalid",s),Rr(s,d.value,d.defaultValue,d.children),Io(s)}c=d.children,typeof c!="string"&&typeof c!="number"&&typeof c!="bigint"||s.textContent===""+c||d.suppressHydrationWarning===!0||LE(s.textContent,c)?(d.popover!=null&&(Je("beforetoggle",s),Je("toggle",s)),d.onScroll!=null&&Je("scroll",s),d.onScrollEnd!=null&&Je("scrollend",s),d.onClick!=null&&(s.onclick=Up),s=!0):s=!1,s||ri(r)}function xf(r){for(En=r.return;En;)switch(En.tag){case 5:case 13:yi=!1;return;case 27:case 3:yi=!0;return;default:En=En.return}}function Zo(r){if(r!==En)return!1;if(!nt)return xf(r),nt=!0,!1;var s=r.tag,c;if((c=s!==3&&s!==27)&&((c=s===5)&&(c=r.type,c=!(c!=="form"&&c!=="button")||H0(r.type,r.memoizedProps)),c=!c),c&&xt&&ri(r),xf(r),s===13){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(i(317));e:{for(r=r.nextSibling,s=0;r;){if(r.nodeType===8)if(c=r.data,c==="/$"){if(s===0){xt=Er(r.nextSibling);break e}s--}else c!=="$"&&c!=="$!"&&c!=="$?"||s++;r=r.nextSibling}xt=null}}else s===27?(s=xt,io(r.type)?(r=G0,G0=null,xt=r):xt=s):xt=En?Er(r.stateNode.nextSibling):null;return!0}function Jo(){xt=En=null,nt=!1}function lp(){var r=Oa;return r!==null&&(ci===null?ci=r:ci.push.apply(ci,r),Oa=null),r}function vr(r){Oa===null?Oa=[r]:Oa.push(r)}var yr=V(null),Ma=null,br=null;function qr(r,s,c){ve(yr,s._currentValue),s._currentValue=c}function xr(r){r._currentValue=yr.current,oe(yr)}function wf(r,s,c){for(;r!==null;){var d=r.alternate;if((r.childLanes&s)!==s?(r.childLanes|=s,d!==null&&(d.childLanes|=s)):d!==null&&(d.childLanes&s)!==s&&(d.childLanes|=s),r===c)break;r=r.return}}function _f(r,s,c,d){var g=r.child;for(g!==null&&(g.return=r);g!==null;){var x=g.dependencies;if(x!==null){var M=g.child;x=x.firstContext;e:for(;x!==null;){var P=x;x=g;for(var I=0;I<s.length;I++)if(P.context===s[I]){x.lanes|=c,P=x.alternate,P!==null&&(P.lanes|=c),wf(x.return,c,r),d||(M=null);break e}x=P.next}}else if(g.tag===18){if(M=g.return,M===null)throw Error(i(341));M.lanes|=c,x=M.alternate,x!==null&&(x.lanes|=c),wf(M,c,r),M=null}else M=g.child;if(M!==null)M.return=g;else for(M=g;M!==null;){if(M===r){M=null;break}if(g=M.sibling,g!==null){g.return=M.return,M=g;break}M=M.return}g=M}}function el(r,s,c,d){r=null;for(var g=s,x=!1;g!==null;){if(!x){if((g.flags&524288)!==0)x=!0;else if((g.flags&262144)!==0)break}if(g.tag===10){var M=g.alternate;if(M===null)throw Error(i(387));if(M=M.memoizedProps,M!==null){var P=g.type;un(g.pendingProps.value,M.value)||(r!==null?r.push(P):r=[P])}}else if(g===Ie.current){if(M=g.alternate,M===null)throw Error(i(387));M.memoizedState.memoizedState!==g.memoizedState.memoizedState&&(r!==null?r.push(Jf):r=[Jf])}g=g.return}r!==null&&_f(s,r,c,d),s.flags|=262144}function vc(r){for(r=r.firstContext;r!==null;){if(!un(r.context._currentValue,r.memoizedValue))return!0;r=r.next}return!1}function Ur(r){Ma=r,br=null,r=r.dependencies,r!==null&&(r.firstContext=null)}function fn(r){return yc(Ma,r)}function tl(r,s){return Ma===null&&Ur(r),yc(r,s)}function yc(r,s){var c=s._currentValue;if(s={context:s,memoizedValue:c,next:null},br===null){if(r===null)throw Error(i(308));br=s,r.dependencies={lanes:0,firstContext:s},r.flags|=524288}else br=br.next=s;return c}var cp=typeof AbortController<"u"?AbortController:function(){var r=[],s=this.signal={aborted:!1,addEventListener:function(c,d){r.push(d)}};this.abort=function(){s.aborted=!0,r.forEach(function(c){return c()})}},Na=e.unstable_scheduleCallback,up=e.unstable_NormalPriority,Rt={$$typeof:A,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function bc(){return{controller:new cp,data:new Map,refCount:0}}function ja(r){r.refCount--,r.refCount===0&&Na(up,function(){r.controller.abort()})}var Bs=null,nl=0,Vs=0,ai=null;function Fr(r,s){if(Bs===null){var c=Bs=[];nl=0,Vs=P0(),ai={status:"pending",value:void 0,then:function(d){c.push(d)}}}return nl++,s.then(fp,fp),s}function fp(){if(--nl===0&&Bs!==null){ai!==null&&(ai.status="fulfilled");var r=Bs;Bs=null,Vs=0,ai=null;for(var s=0;s<r.length;s++)(0,r[s])()}}function Xv(r,s){var c=[],d={status:"pending",value:null,reason:null,then:function(g){c.push(g)}};return r.then(function(){d.status="fulfilled",d.value=s;for(var g=0;g<c.length;g++)(0,c[g])(s)},function(g){for(d.status="rejected",d.reason=g,g=0;g<c.length;g++)(0,c[g])(void 0)}),d}var dp=q.S;q.S=function(r,s){typeof s=="object"&&s!==null&&typeof s.then=="function"&&Fr(r,s),dp!==null&&dp(r,s)};var Da=V(null);function Ef(){var r=Da.current;return r!==null?r:At.pooledCache}function xc(r,s){s===null?ve(Da,Da.current):ve(Da,s.pool)}function hp(){var r=Ef();return r===null?null:{parent:Rt._currentValue,pool:r}}var il=Error(i(460)),Sf=Error(i(474)),Pa=Error(i(542)),Hs={then:function(){}};function pp(r){return r=r.status,r==="fulfilled"||r==="rejected"}function wc(){}function qs(r,s,c){switch(c=r[c],c===void 0?r.push(s):c!==s&&(s.then(wc,wc),s=c),s.status){case"fulfilled":return s.value;case"rejected":throw r=s.reason,S(r),r;default:if(typeof s.status=="string")s.then(wc,wc);else{if(r=At,r!==null&&100<r.shellSuspendCounter)throw Error(i(482));r=s,r.status="pending",r.then(function(d){if(s.status==="pending"){var g=s;g.status="fulfilled",g.value=d}},function(d){if(s.status==="pending"){var g=s;g.status="rejected",g.reason=d}})}switch(s.status){case"fulfilled":return s.value;case"rejected":throw r=s.reason,S(r),r}throw N=s,il}}var N=null;function y(){if(N===null)throw Error(i(459));var r=N;return N=null,r}function S(r){if(r===il||r===Pa)throw Error(i(483))}var L=!1;function Y(r){r.updateQueue={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function K(r,s){r=r.updateQueue,s.updateQueue===r&&(s.updateQueue={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,callbacks:null})}function ie(r){return{lane:r,tag:0,payload:null,callback:null,next:null}}function fe(r,s,c){var d=r.updateQueue;if(d===null)return null;if(d=d.shared,(pt&2)!==0){var g=d.pending;return g===null?s.next=s:(s.next=g.next,g.next=s),d.pending=s,s=Wo(r),qi(r,null,c),s}return pc(r,d,s,c),Wo(r)}function ye(r,s,c){if(s=s.updateQueue,s!==null&&(s=s.shared,(c&4194048)!==0)){var d=s.lanes;d&=r.pendingLanes,c|=d,s.lanes=c,Fu(r,c)}}function _e(r,s){var c=r.updateQueue,d=r.alternate;if(d!==null&&(d=d.updateQueue,c===d)){var g=null,x=null;if(c=c.firstBaseUpdate,c!==null){do{var M={lane:c.lane,tag:c.tag,payload:c.payload,callback:null,next:null};x===null?g=x=M:x=x.next=M,c=c.next}while(c!==null);x===null?g=x=s:x=x.next=s}else g=x=s;c={baseState:d.baseState,firstBaseUpdate:g,lastBaseUpdate:x,shared:d.shared,callbacks:d.callbacks},r.updateQueue=c;return}r=c.lastBaseUpdate,r===null?c.firstBaseUpdate=s:r.next=s,c.lastBaseUpdate=s}var Se=!1;function xe(){if(Se){var r=ai;if(r!==null)throw r}}function Fe(r,s,c,d){Se=!1;var g=r.updateQueue;L=!1;var x=g.firstBaseUpdate,M=g.lastBaseUpdate,P=g.shared.pending;if(P!==null){g.shared.pending=null;var I=P,Z=I.next;I.next=null,M===null?x=Z:M.next=Z,M=I;var le=r.alternate;le!==null&&(le=le.updateQueue,P=le.lastBaseUpdate,P!==M&&(P===null?le.firstBaseUpdate=Z:P.next=Z,le.lastBaseUpdate=I))}if(x!==null){var de=g.baseState;M=0,le=Z=I=null,P=x;do{var J=P.lane&-536870913,ee=J!==P.lane;if(ee?(rt&J)===J:(d&J)===J){J!==0&&J===Vs&&(Se=!0),le!==null&&(le=le.next={lane:0,tag:P.tag,payload:P.payload,callback:null,next:null});e:{var He=r,ze=P;J=s;var yt=c;switch(ze.tag){case 1:if(He=ze.payload,typeof He=="function"){de=He.call(yt,de,J);break e}de=He;break e;case 3:He.flags=He.flags&-65537|128;case 0:if(He=ze.payload,J=typeof He=="function"?He.call(yt,de,J):He,J==null)break e;de=p({},de,J);break e;case 2:L=!0}}J=P.callback,J!==null&&(r.flags|=64,ee&&(r.flags|=8192),ee=g.callbacks,ee===null?g.callbacks=[J]:ee.push(J))}else ee={lane:J,tag:P.tag,payload:P.payload,callback:P.callback,next:null},le===null?(Z=le=ee,I=de):le=le.next=ee,M|=J;if(P=P.next,P===null){if(P=g.shared.pending,P===null)break;ee=P,P=ee.next,ee.next=null,g.lastBaseUpdate=ee,g.shared.pending=null}}while(!0);le===null&&(I=de),g.baseState=I,g.firstBaseUpdate=Z,g.lastBaseUpdate=le,x===null&&(g.shared.lanes=0),Js|=M,r.lanes=M,r.memoizedState=de}}function Re(r,s){if(typeof r!="function")throw Error(i(191,r));r.call(s)}function Ge(r,s){var c=r.callbacks;if(c!==null)for(r.callbacks=null,r=0;r<c.length;r++)Re(c[r],s)}var Le=V(null),Ve=V(0);function ut(r,s){r=Va,ve(Ve,r),ve(Le,s),Va=r|s.baseLanes}function dt(){ve(Ve,Va),ve(Le,Le.current)}function Ye(){Va=Ve.current,oe(Le),oe(Ve)}var We=0,be=null,Oe=null,$e=null,st=!1,et=!1,ht=!1,dn=0,Sn=0,qt=null,si=0;function it(){throw Error(i(321))}function Tt(r,s){if(s===null)return!1;for(var c=0;c<s.length&&c<r.length;c++)if(!un(r[c],s[c]))return!1;return!0}function oi(r,s,c,d,g,x){return We=x,be=s,s.memoizedState=null,s.updateQueue=null,s.lanes=0,q.H=r===null||r.memoizedState===null?p_:m_,ht=!1,x=c(d,g),ht=!1,et&&(x=La(s,c,d,g)),bi(r),x}function bi(r){q.H=Sp;var s=Oe!==null&&Oe.next!==null;if(We=0,$e=Oe=be=null,st=!1,Sn=0,qt=null,s)throw Error(i(300));r===null||hn||(r=r.dependencies,r!==null&&vc(r)&&(hn=!0))}function La(r,s,c,d){be=r;var g=0;do{if(et&&(qt=null),Sn=0,et=!1,25<=g)throw Error(i(301));if(g+=1,$e=Oe=null,r.updateQueue!=null){var x=r.updateQueue;x.lastEffect=null,x.events=null,x.stores=null,x.memoCache!=null&&(x.memoCache.index=0)}q.H=n8,x=s(c,d)}while(et);return x}function Zt(){var r=q.H,s=r.useState()[0];return s=typeof s.then=="function"?Us(s):s,r=r.useState()[0],(Oe!==null?Oe.memoizedState:null)!==r&&(be.flags|=1024),s}function ft(){var r=dn!==0;return dn=0,r}function an(r,s,c){s.updateQueue=r.updateQueue,s.flags&=-2053,r.lanes&=~c}function In(r){if(st){for(r=r.memoizedState;r!==null;){var s=r.queue;s!==null&&(s.pending=null),r=r.next}st=!1}We=0,$e=Oe=be=null,et=!1,Sn=dn=0,qt=null}function zt(){var r={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return $e===null?be.memoizedState=$e=r:$e=$e.next=r,$e}function Nt(){if(Oe===null){var r=be.alternate;r=r!==null?r.memoizedState:null}else r=Oe.next;var s=$e===null?be.memoizedState:$e.next;if(s!==null)$e=s,Oe=r;else{if(r===null)throw be.alternate===null?Error(i(467)):Error(i(310));Oe=r,r={memoizedState:Oe.memoizedState,baseState:Oe.baseState,baseQueue:Oe.baseQueue,queue:Oe.queue,next:null},$e===null?be.memoizedState=$e=r:$e=$e.next=r}return $e}function _c(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Us(r){var s=Sn;return Sn+=1,qt===null&&(qt=[]),r=qs(qt,r,s),s=be,($e===null?s.memoizedState:$e.next)===null&&(s=s.alternate,q.H=s===null||s.memoizedState===null?p_:m_),r}function ka(r){if(r!==null&&typeof r=="object"){if(typeof r.then=="function")return Us(r);if(r.$$typeof===A)return fn(r)}throw Error(i(438,String(r)))}function Tf(r){var s=null,c=be.updateQueue;if(c!==null&&(s=c.memoCache),s==null){var d=be.alternate;d!==null&&(d=d.updateQueue,d!==null&&(d=d.memoCache,d!=null&&(s={data:d.data.map(function(g){return g.slice()}),index:0})))}if(s==null&&(s={data:[],index:0}),c===null&&(c=_c(),be.updateQueue=c),c.memoCache=s,c=s.data[s.index],c===void 0)for(c=s.data[s.index]=Array(r),d=0;d<r;d++)c[d]=X;return s.index++,c}function wr(r,s){return typeof s=="function"?s(r):s}function Fs(r){var s=Nt();return Af(s,Oe,r)}function Af(r,s,c){var d=r.queue;if(d===null)throw Error(i(311));d.lastRenderedReducer=c;var g=r.baseQueue,x=d.pending;if(x!==null){if(g!==null){var M=g.next;g.next=x.next,x.next=M}s.baseQueue=g=x,d.pending=null}if(x=r.baseState,g===null)r.memoizedState=x;else{s=g.next;var P=M=null,I=null,Z=s,le=!1;do{var de=Z.lane&-536870913;if(de!==Z.lane?(rt&de)===de:(We&de)===de){var J=Z.revertLane;if(J===0)I!==null&&(I=I.next={lane:0,revertLane:0,action:Z.action,hasEagerState:Z.hasEagerState,eagerState:Z.eagerState,next:null}),de===Vs&&(le=!0);else if((We&J)===J){Z=Z.next,J===Vs&&(le=!0);continue}else de={lane:0,revertLane:Z.revertLane,action:Z.action,hasEagerState:Z.hasEagerState,eagerState:Z.eagerState,next:null},I===null?(P=I=de,M=x):I=I.next=de,be.lanes|=J,Js|=J;de=Z.action,ht&&c(x,de),x=Z.hasEagerState?Z.eagerState:c(x,de)}else J={lane:de,revertLane:Z.revertLane,action:Z.action,hasEagerState:Z.hasEagerState,eagerState:Z.eagerState,next:null},I===null?(P=I=J,M=x):I=I.next=J,be.lanes|=de,Js|=de;Z=Z.next}while(Z!==null&&Z!==s);if(I===null?M=x:I.next=P,!un(x,r.memoizedState)&&(hn=!0,le&&(c=ai,c!==null)))throw c;r.memoizedState=x,r.baseState=M,r.baseQueue=I,d.lastRenderedState=x}return g===null&&(d.lanes=0),[r.memoizedState,d.dispatch]}function Ec(r){var s=Nt(),c=s.queue;if(c===null)throw Error(i(311));c.lastRenderedReducer=r;var d=c.dispatch,g=c.pending,x=s.memoizedState;if(g!==null){c.pending=null;var M=g=g.next;do x=r(x,M.action),M=M.next;while(M!==g);un(x,s.memoizedState)||(hn=!0),s.memoizedState=x,s.baseQueue===null&&(s.baseState=x),c.lastRenderedState=x}return[x,d]}function mp(r,s,c){var d=be,g=Nt(),x=nt;if(x){if(c===void 0)throw Error(i(407));c=c()}else c=s();var M=!un((Oe||g).memoizedState,c);M&&(g.memoizedState=c,hn=!0),g=g.queue;var P=gp.bind(null,d,g,r);if(Lf(2048,8,P,[r]),g.getSnapshot!==s||M||$e!==null&&$e.memoizedState.tag&1){if(d.flags|=2048,Cc(9,wp(),Of.bind(null,d,g,c,s),null),At===null)throw Error(i(349));x||(We&124)!==0||Cf(d,s,c)}return c}function Cf(r,s,c){r.flags|=16384,r={getSnapshot:s,value:c},s=be.updateQueue,s===null?(s=_c(),be.updateQueue=s,s.stores=[r]):(c=s.stores,c===null?s.stores=[r]:c.push(r))}function Of(r,s,c,d){s.value=c,s.getSnapshot=d,vp(s)&&Gr(r)}function gp(r,s,c){return c(function(){vp(s)&&Gr(r)})}function vp(r){var s=r.getSnapshot;r=r.value;try{var c=s();return!un(r,c)}catch{return!0}}function Gr(r){var s=Rs(r,2);s!==null&&Si(s,r,2)}function Gs(r){var s=zt();if(typeof r=="function"){var c=r;if(r=c(),ht){mi(!0);try{c()}finally{mi(!1)}}}return s.memoizedState=s.baseState=r,s.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:wr,lastRenderedState:r},s}function Mf(r,s,c,d){return r.baseState=c,Af(r,Oe,typeof d=="function"?d:wr)}function yp(r,s,c,d,g){if(Ep(r))throw Error(i(485));if(r=s.action,r!==null){var x={payload:g,action:r,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(M){x.listeners.push(M)}};q.T!==null?c(!0):x.isTransition=!1,d(x),c=s.pending,c===null?(x.next=s.pending=x,Sc(s,x)):(x.next=c.next,s.pending=c.next=x)}}function Sc(r,s){var c=s.action,d=s.payload,g=r.state;if(s.isTransition){var x=q.T,M={};q.T=M;try{var P=c(g,d),I=q.S;I!==null&&I(M,P),Nf(r,s,P)}catch(Z){Tc(r,s,Z)}finally{q.T=x}}else try{x=c(g,d),Nf(r,s,x)}catch(Z){Tc(r,s,Z)}}function Nf(r,s,c){c!==null&&typeof c=="object"&&typeof c.then=="function"?c.then(function(d){jf(r,s,d)},function(d){return Tc(r,s,d)}):jf(r,s,c)}function jf(r,s,c){s.status="fulfilled",s.value=c,Df(s),r.state=c,s=r.pending,s!==null&&(c=s.next,c===s?r.pending=null:(c=c.next,s.next=c,Sc(r,c)))}function Tc(r,s,c){var d=r.pending;if(r.pending=null,d!==null){d=d.next;do s.status="rejected",s.reason=c,Df(s),s=s.next;while(s!==d)}r.action=null}function Df(r){r=r.listeners;for(var s=0;s<r.length;s++)(0,r[s])()}function bp(r,s){return s}function xp(r,s){if(nt){var c=At.formState;if(c!==null){e:{var d=be;if(nt){if(xt){t:{for(var g=xt,x=yi;g.nodeType!==8;){if(!x){g=null;break t}if(g=Er(g.nextSibling),g===null){g=null;break t}}x=g.data,g=x==="F!"||x==="F"?g:null}if(g){xt=Er(g.nextSibling),d=g.data==="F!";break e}}ri(d)}d=!1}d&&(s=c[0])}}return c=zt(),c.memoizedState=c.baseState=s,d={pending:null,lanes:0,dispatch:null,lastRenderedReducer:bp,lastRenderedState:s},c.queue=d,c=f_.bind(null,be,d),d.dispatch=c,d=Gs(!1),x=t0.bind(null,be,!1,d.queue),d=zt(),g={state:s,dispatch:null,action:r,pending:null},d.queue=g,c=yp.bind(null,be,g,x,c),g.dispatch=c,d.memoizedState=r,[s,c,!1]}function Ac(r){var s=Nt();return Pf(s,Oe,r)}function Pf(r,s,c){if(s=Af(r,s,bp)[0],r=Fs(wr)[0],typeof s=="object"&&s!==null&&typeof s.then=="function")try{var d=Us(s)}catch(M){throw M===il?Pa:M}else d=s;s=Nt();var g=s.queue,x=g.dispatch;return c!==s.memoizedState&&(be.flags|=2048,Cc(9,wp(),ZD.bind(null,g,c),null)),[d,x,r]}function ZD(r,s){r.action=s}function W2(r){var s=Nt(),c=Oe;if(c!==null)return Pf(s,c,r);Nt(),s=s.memoizedState,c=Nt();var d=c.queue.dispatch;return c.memoizedState=r,[s,d,!1]}function Cc(r,s,c,d){return r={tag:r,create:c,deps:d,inst:s,next:null},s=be.updateQueue,s===null&&(s=_c(),be.updateQueue=s),c=s.lastEffect,c===null?s.lastEffect=r.next=r:(d=c.next,c.next=r,r.next=d,s.lastEffect=r),r}function wp(){return{destroy:void 0,resource:void 0}}function X2(){return Nt().memoizedState}function _p(r,s,c,d){var g=zt();d=d===void 0?null:d,be.flags|=r,g.memoizedState=Cc(1|s,wp(),c,d)}function Lf(r,s,c,d){var g=Nt();d=d===void 0?null:d;var x=g.memoizedState.inst;Oe!==null&&d!==null&&Tt(d,Oe.memoizedState.deps)?g.memoizedState=Cc(s,x,c,d):(be.flags|=r,g.memoizedState=Cc(1|s,x,c,d))}function Q2(r,s){_p(8390656,8,r,s)}function Z2(r,s){Lf(2048,8,r,s)}function J2(r,s){return Lf(4,2,r,s)}function e_(r,s){return Lf(4,4,r,s)}function t_(r,s){if(typeof s=="function"){r=r();var c=s(r);return function(){typeof c=="function"?c():s(null)}}if(s!=null)return r=r(),s.current=r,function(){s.current=null}}function n_(r,s,c){c=c!=null?c.concat([r]):null,Lf(4,4,t_.bind(null,s,r),c)}function Qv(){}function i_(r,s){var c=Nt();s=s===void 0?null:s;var d=c.memoizedState;return s!==null&&Tt(s,d[1])?d[0]:(c.memoizedState=[r,s],r)}function r_(r,s){var c=Nt();s=s===void 0?null:s;var d=c.memoizedState;if(s!==null&&Tt(s,d[1]))return d[0];if(d=r(),ht){mi(!0);try{r()}finally{mi(!1)}}return c.memoizedState=[d,s],d}function Zv(r,s,c){return c===void 0||(We&1073741824)!==0?r.memoizedState=s:(r.memoizedState=c,r=oE(),be.lanes|=r,Js|=r,c)}function a_(r,s,c,d){return un(c,s)?c:Le.current!==null?(r=Zv(r,c,d),un(r,s)||(hn=!0),r):(We&42)===0?(hn=!0,r.memoizedState=c):(r=oE(),be.lanes|=r,Js|=r,s)}function s_(r,s,c,d,g){var x=te.p;te.p=x!==0&&8>x?x:8;var M=q.T,P={};q.T=P,t0(r,!1,s,c);try{var I=g(),Z=q.S;if(Z!==null&&Z(P,I),I!==null&&typeof I=="object"&&typeof I.then=="function"){var le=Xv(I,d);kf(r,s,le,Ei(r))}else kf(r,s,d,Ei(r))}catch(de){kf(r,s,{then:function(){},status:"rejected",reason:de},Ei())}finally{te.p=x,q.T=M}}function JD(){}function Jv(r,s,c,d){if(r.tag!==5)throw Error(i(476));var g=o_(r).queue;s_(r,g,s,re,c===null?JD:function(){return l_(r),c(d)})}function o_(r){var s=r.memoizedState;if(s!==null)return s;s={memoizedState:re,baseState:re,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:wr,lastRenderedState:re},next:null};var c={};return s.next={memoizedState:c,baseState:c,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:wr,lastRenderedState:c},next:null},r.memoizedState=s,r=r.alternate,r!==null&&(r.memoizedState=s),s}function l_(r){var s=o_(r).next.queue;kf(r,s,{},Ei())}function e0(){return fn(Jf)}function c_(){return Nt().memoizedState}function u_(){return Nt().memoizedState}function e8(r){for(var s=r.return;s!==null;){switch(s.tag){case 24:case 3:var c=Ei();r=ie(c);var d=fe(s,r,c);d!==null&&(Si(d,s,c),ye(d,s,c)),s={cache:bc()},r.payload=s;return}s=s.return}}function t8(r,s,c){var d=Ei();c={lane:d,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null},Ep(r)?d_(s,c):(c=mf(r,s,c,d),c!==null&&(Si(c,r,d),h_(c,s,d)))}function f_(r,s,c){var d=Ei();kf(r,s,c,d)}function kf(r,s,c,d){var g={lane:d,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null};if(Ep(r))d_(s,g);else{var x=r.alternate;if(r.lanes===0&&(x===null||x.lanes===0)&&(x=s.lastRenderedReducer,x!==null))try{var M=s.lastRenderedState,P=x(M,c);if(g.hasEagerState=!0,g.eagerState=P,un(P,M))return pc(r,s,g,0),At===null&&hc(),!1}catch{}finally{}if(c=mf(r,s,g,d),c!==null)return Si(c,r,d),h_(c,s,d),!0}return!1}function t0(r,s,c,d){if(d={lane:2,revertLane:P0(),action:d,hasEagerState:!1,eagerState:null,next:null},Ep(r)){if(s)throw Error(i(479))}else s=mf(r,c,d,2),s!==null&&Si(s,r,2)}function Ep(r){var s=r.alternate;return r===be||s!==null&&s===be}function d_(r,s){et=st=!0;var c=r.pending;c===null?s.next=s:(s.next=c.next,c.next=s),r.pending=s}function h_(r,s,c){if((c&4194048)!==0){var d=s.lanes;d&=r.pendingLanes,c|=d,s.lanes=c,Fu(r,c)}}var Sp={readContext:fn,use:ka,useCallback:it,useContext:it,useEffect:it,useImperativeHandle:it,useLayoutEffect:it,useInsertionEffect:it,useMemo:it,useReducer:it,useRef:it,useState:it,useDebugValue:it,useDeferredValue:it,useTransition:it,useSyncExternalStore:it,useId:it,useHostTransitionStatus:it,useFormState:it,useActionState:it,useOptimistic:it,useMemoCache:it,useCacheRefresh:it},p_={readContext:fn,use:ka,useCallback:function(r,s){return zt().memoizedState=[r,s===void 0?null:s],r},useContext:fn,useEffect:Q2,useImperativeHandle:function(r,s,c){c=c!=null?c.concat([r]):null,_p(4194308,4,t_.bind(null,s,r),c)},useLayoutEffect:function(r,s){return _p(4194308,4,r,s)},useInsertionEffect:function(r,s){_p(4,2,r,s)},useMemo:function(r,s){var c=zt();s=s===void 0?null:s;var d=r();if(ht){mi(!0);try{r()}finally{mi(!1)}}return c.memoizedState=[d,s],d},useReducer:function(r,s,c){var d=zt();if(c!==void 0){var g=c(s);if(ht){mi(!0);try{c(s)}finally{mi(!1)}}}else g=s;return d.memoizedState=d.baseState=g,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:r,lastRenderedState:g},d.queue=r,r=r.dispatch=t8.bind(null,be,r),[d.memoizedState,r]},useRef:function(r){var s=zt();return r={current:r},s.memoizedState=r},useState:function(r){r=Gs(r);var s=r.queue,c=f_.bind(null,be,s);return s.dispatch=c,[r.memoizedState,c]},useDebugValue:Qv,useDeferredValue:function(r,s){var c=zt();return Zv(c,r,s)},useTransition:function(){var r=Gs(!1);return r=s_.bind(null,be,r.queue,!0,!1),zt().memoizedState=r,[!1,r]},useSyncExternalStore:function(r,s,c){var d=be,g=zt();if(nt){if(c===void 0)throw Error(i(407));c=c()}else{if(c=s(),At===null)throw Error(i(349));(rt&124)!==0||Cf(d,s,c)}g.memoizedState=c;var x={value:c,getSnapshot:s};return g.queue=x,Q2(gp.bind(null,d,x,r),[r]),d.flags|=2048,Cc(9,wp(),Of.bind(null,d,x,c,s),null),c},useId:function(){var r=zt(),s=At.identifierPrefix;if(nt){var c=gr,d=mr;c=(d&~(1<<32-Vn(d)-1)).toString(32)+c,s="«"+s+"R"+c,c=dn++,0<c&&(s+="H"+c.toString(32)),s+="»"}else c=si++,s="«"+s+"r"+c.toString(32)+"»";return r.memoizedState=s},useHostTransitionStatus:e0,useFormState:xp,useActionState:xp,useOptimistic:function(r){var s=zt();s.memoizedState=s.baseState=r;var c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return s.queue=c,s=t0.bind(null,be,!0,c),c.dispatch=s,[r,s]},useMemoCache:Tf,useCacheRefresh:function(){return zt().memoizedState=e8.bind(null,be)}},m_={readContext:fn,use:ka,useCallback:i_,useContext:fn,useEffect:Z2,useImperativeHandle:n_,useInsertionEffect:J2,useLayoutEffect:e_,useMemo:r_,useReducer:Fs,useRef:X2,useState:function(){return Fs(wr)},useDebugValue:Qv,useDeferredValue:function(r,s){var c=Nt();return a_(c,Oe.memoizedState,r,s)},useTransition:function(){var r=Fs(wr)[0],s=Nt().memoizedState;return[typeof r=="boolean"?r:Us(r),s]},useSyncExternalStore:mp,useId:c_,useHostTransitionStatus:e0,useFormState:Ac,useActionState:Ac,useOptimistic:function(r,s){var c=Nt();return Mf(c,Oe,r,s)},useMemoCache:Tf,useCacheRefresh:u_},n8={readContext:fn,use:ka,useCallback:i_,useContext:fn,useEffect:Z2,useImperativeHandle:n_,useInsertionEffect:J2,useLayoutEffect:e_,useMemo:r_,useReducer:Ec,useRef:X2,useState:function(){return Ec(wr)},useDebugValue:Qv,useDeferredValue:function(r,s){var c=Nt();return Oe===null?Zv(c,r,s):a_(c,Oe.memoizedState,r,s)},useTransition:function(){var r=Ec(wr)[0],s=Nt().memoizedState;return[typeof r=="boolean"?r:Us(r),s]},useSyncExternalStore:mp,useId:c_,useHostTransitionStatus:e0,useFormState:W2,useActionState:W2,useOptimistic:function(r,s){var c=Nt();return Oe!==null?Mf(c,Oe,r,s):(c.baseState=r,[r,c.queue.dispatch])},useMemoCache:Tf,useCacheRefresh:u_},Oc=null,Rf=0;function Tp(r){var s=Rf;return Rf+=1,Oc===null&&(Oc=[]),qs(Oc,r,s)}function zf(r,s){s=s.props.ref,r.ref=s!==void 0?s:null}function Ap(r,s){throw s.$$typeof===m?Error(i(525)):(r=Object.prototype.toString.call(s),Error(i(31,r==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":r)))}function g_(r){var s=r._init;return s(r._payload)}function v_(r){function s(W,G){if(r){var Q=W.deletions;Q===null?(W.deletions=[G],W.flags|=16):Q.push(G)}}function c(W,G){if(!r)return null;for(;G!==null;)s(W,G),G=G.sibling;return null}function d(W){for(var G=new Map;W!==null;)W.key!==null?G.set(W.key,W):G.set(W.index,W),W=W.sibling;return G}function g(W,G){return W=pr(W,G),W.index=0,W.sibling=null,W}function x(W,G,Q){return W.index=Q,r?(Q=W.alternate,Q!==null?(Q=Q.index,Q<G?(W.flags|=67108866,G):Q):(W.flags|=67108866,G)):(W.flags|=1048576,G)}function M(W){return r&&W.alternate===null&&(W.flags|=67108866),W}function P(W,G,Q,ue){return G===null||G.tag!==6?(G=Xo(Q,W.mode,ue),G.return=W,G):(G=g(G,Q),G.return=W,G)}function I(W,G,Q,ue){var Me=Q.type;return Me===_?le(W,G,Q.props.children,ue,Q.key):G!==null&&(G.elementType===Me||typeof Me=="object"&&Me!==null&&Me.$$typeof===$&&g_(Me)===G.type)?(G=g(G,Q.props),zf(G,Q),G.return=W,G):(G=mc(Q.type,Q.key,Q.props,null,W.mode,ue),zf(G,Q),G.return=W,G)}function Z(W,G,Q,ue){return G===null||G.tag!==4||G.stateNode.containerInfo!==Q.containerInfo||G.stateNode.implementation!==Q.implementation?(G=Is(Q,W.mode,ue),G.return=W,G):(G=g(G,Q.children||[]),G.return=W,G)}function le(W,G,Q,ue,Me){return G===null||G.tag!==7?(G=Ta(Q,W.mode,ue,Me),G.return=W,G):(G=g(G,Q),G.return=W,G)}function de(W,G,Q){if(typeof G=="string"&&G!==""||typeof G=="number"||typeof G=="bigint")return G=Xo(""+G,W.mode,Q),G.return=W,G;if(typeof G=="object"&&G!==null){switch(G.$$typeof){case b:return Q=mc(G.type,G.key,G.props,null,W.mode,Q),zf(Q,G),Q.return=W,Q;case w:return G=Is(G,W.mode,Q),G.return=W,G;case $:var ue=G._init;return G=ue(G._payload),de(W,G,Q)}if(ge(G)||U(G))return G=Ta(G,W.mode,Q,null),G.return=W,G;if(typeof G.then=="function")return de(W,Tp(G),Q);if(G.$$typeof===A)return de(W,tl(W,G),Q);Ap(W,G)}return null}function J(W,G,Q,ue){var Me=G!==null?G.key:null;if(typeof Q=="string"&&Q!==""||typeof Q=="number"||typeof Q=="bigint")return Me!==null?null:P(W,G,""+Q,ue);if(typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case b:return Q.key===Me?I(W,G,Q,ue):null;case w:return Q.key===Me?Z(W,G,Q,ue):null;case $:return Me=Q._init,Q=Me(Q._payload),J(W,G,Q,ue)}if(ge(Q)||U(Q))return Me!==null?null:le(W,G,Q,ue,null);if(typeof Q.then=="function")return J(W,G,Tp(Q),ue);if(Q.$$typeof===A)return J(W,G,tl(W,Q),ue);Ap(W,Q)}return null}function ee(W,G,Q,ue,Me){if(typeof ue=="string"&&ue!==""||typeof ue=="number"||typeof ue=="bigint")return W=W.get(Q)||null,P(G,W,""+ue,Me);if(typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case b:return W=W.get(ue.key===null?Q:ue.key)||null,I(G,W,ue,Me);case w:return W=W.get(ue.key===null?Q:ue.key)||null,Z(G,W,ue,Me);case $:var Qe=ue._init;return ue=Qe(ue._payload),ee(W,G,Q,ue,Me)}if(ge(ue)||U(ue))return W=W.get(Q)||null,le(G,W,ue,Me,null);if(typeof ue.then=="function")return ee(W,G,Q,Tp(ue),Me);if(ue.$$typeof===A)return ee(W,G,Q,tl(G,ue),Me);Ap(G,ue)}return null}function He(W,G,Q,ue){for(var Me=null,Qe=null,je=G,Be=G=0,mn=null;je!==null&&Be<Q.length;Be++){je.index>Be?(mn=je,je=null):mn=je.sibling;var ot=J(W,je,Q[Be],ue);if(ot===null){je===null&&(je=mn);break}r&&je&&ot.alternate===null&&s(W,je),G=x(ot,G,Be),Qe===null?Me=ot:Qe.sibling=ot,Qe=ot,je=mn}if(Be===Q.length)return c(W,je),nt&&Kn(W,Be),Me;if(je===null){for(;Be<Q.length;Be++)je=de(W,Q[Be],ue),je!==null&&(G=x(je,G,Be),Qe===null?Me=je:Qe.sibling=je,Qe=je);return nt&&Kn(W,Be),Me}for(je=d(je);Be<Q.length;Be++)mn=ee(je,W,Be,Q[Be],ue),mn!==null&&(r&&mn.alternate!==null&&je.delete(mn.key===null?Be:mn.key),G=x(mn,G,Be),Qe===null?Me=mn:Qe.sibling=mn,Qe=mn);return r&&je.forEach(function(lo){return s(W,lo)}),nt&&Kn(W,Be),Me}function ze(W,G,Q,ue){if(Q==null)throw Error(i(151));for(var Me=null,Qe=null,je=G,Be=G=0,mn=null,ot=Q.next();je!==null&&!ot.done;Be++,ot=Q.next()){je.index>Be?(mn=je,je=null):mn=je.sibling;var lo=J(W,je,ot.value,ue);if(lo===null){je===null&&(je=mn);break}r&&je&&lo.alternate===null&&s(W,je),G=x(lo,G,Be),Qe===null?Me=lo:Qe.sibling=lo,Qe=lo,je=mn}if(ot.done)return c(W,je),nt&&Kn(W,Be),Me;if(je===null){for(;!ot.done;Be++,ot=Q.next())ot=de(W,ot.value,ue),ot!==null&&(G=x(ot,G,Be),Qe===null?Me=ot:Qe.sibling=ot,Qe=ot);return nt&&Kn(W,Be),Me}for(je=d(je);!ot.done;Be++,ot=Q.next())ot=ee(je,W,Be,ot.value,ue),ot!==null&&(r&&ot.alternate!==null&&je.delete(ot.key===null?Be:ot.key),G=x(ot,G,Be),Qe===null?Me=ot:Qe.sibling=ot,Qe=ot);return r&&je.forEach(function(iP){return s(W,iP)}),nt&&Kn(W,Be),Me}function yt(W,G,Q,ue){if(typeof Q=="object"&&Q!==null&&Q.type===_&&Q.key===null&&(Q=Q.props.children),typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case b:e:{for(var Me=Q.key;G!==null;){if(G.key===Me){if(Me=Q.type,Me===_){if(G.tag===7){c(W,G.sibling),ue=g(G,Q.props.children),ue.return=W,W=ue;break e}}else if(G.elementType===Me||typeof Me=="object"&&Me!==null&&Me.$$typeof===$&&g_(Me)===G.type){c(W,G.sibling),ue=g(G,Q.props),zf(ue,Q),ue.return=W,W=ue;break e}c(W,G);break}else s(W,G);G=G.sibling}Q.type===_?(ue=Ta(Q.props.children,W.mode,ue,Q.key),ue.return=W,W=ue):(ue=mc(Q.type,Q.key,Q.props,null,W.mode,ue),zf(ue,Q),ue.return=W,W=ue)}return M(W);case w:e:{for(Me=Q.key;G!==null;){if(G.key===Me)if(G.tag===4&&G.stateNode.containerInfo===Q.containerInfo&&G.stateNode.implementation===Q.implementation){c(W,G.sibling),ue=g(G,Q.children||[]),ue.return=W,W=ue;break e}else{c(W,G);break}else s(W,G);G=G.sibling}ue=Is(Q,W.mode,ue),ue.return=W,W=ue}return M(W);case $:return Me=Q._init,Q=Me(Q._payload),yt(W,G,Q,ue)}if(ge(Q))return He(W,G,Q,ue);if(U(Q)){if(Me=U(Q),typeof Me!="function")throw Error(i(150));return Q=Me.call(Q),ze(W,G,Q,ue)}if(typeof Q.then=="function")return yt(W,G,Tp(Q),ue);if(Q.$$typeof===A)return yt(W,G,tl(W,Q),ue);Ap(W,Q)}return typeof Q=="string"&&Q!==""||typeof Q=="number"||typeof Q=="bigint"?(Q=""+Q,G!==null&&G.tag===6?(c(W,G.sibling),ue=g(G,Q),ue.return=W,W=ue):(c(W,G),ue=Xo(Q,W.mode,ue),ue.return=W,W=ue),M(W)):c(W,G)}return function(W,G,Q,ue){try{Rf=0;var Me=yt(W,G,Q,ue);return Oc=null,Me}catch(je){if(je===il||je===Pa)throw je;var Qe=Yn(29,je,null,W.mode);return Qe.lanes=ue,Qe.return=W,Qe}finally{}}}var Mc=v_(!0),y_=v_(!1),Ui=V(null),Yr=null;function Ys(r){var s=r.alternate;ve(sn,sn.current&1),ve(Ui,r),Yr===null&&(s===null||Le.current!==null||s.memoizedState!==null)&&(Yr=r)}function b_(r){if(r.tag===22){if(ve(sn,sn.current),ve(Ui,r),Yr===null){var s=r.alternate;s!==null&&s.memoizedState!==null&&(Yr=r)}}else Ks()}function Ks(){ve(sn,sn.current),ve(Ui,Ui.current)}function Ra(r){oe(Ui),Yr===r&&(Yr=null),oe(sn)}var sn=V(0);function Cp(r){for(var s=r;s!==null;){if(s.tag===13){var c=s.memoizedState;if(c!==null&&(c=c.dehydrated,c===null||c.data==="$?"||F0(c)))return s}else if(s.tag===19&&s.memoizedProps.revealOrder!==void 0){if((s.flags&128)!==0)return s}else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===r)break;for(;s.sibling===null;){if(s.return===null||s.return===r)return null;s=s.return}s.sibling.return=s.return,s=s.sibling}return null}function n0(r,s,c,d){s=r.memoizedState,c=c(d,s),c=c==null?s:p({},s,c),r.memoizedState=c,r.lanes===0&&(r.updateQueue.baseState=c)}var i0={enqueueSetState:function(r,s,c){r=r._reactInternals;var d=Ei(),g=ie(d);g.payload=s,c!=null&&(g.callback=c),s=fe(r,g,d),s!==null&&(Si(s,r,d),ye(s,r,d))},enqueueReplaceState:function(r,s,c){r=r._reactInternals;var d=Ei(),g=ie(d);g.tag=1,g.payload=s,c!=null&&(g.callback=c),s=fe(r,g,d),s!==null&&(Si(s,r,d),ye(s,r,d))},enqueueForceUpdate:function(r,s){r=r._reactInternals;var c=Ei(),d=ie(c);d.tag=2,s!=null&&(d.callback=s),s=fe(r,d,c),s!==null&&(Si(s,r,c),ye(s,r,c))}};function x_(r,s,c,d,g,x,M){return r=r.stateNode,typeof r.shouldComponentUpdate=="function"?r.shouldComponentUpdate(d,x,M):s.prototype&&s.prototype.isPureReactComponent?!Ls(c,d)||!Ls(g,x):!0}function w_(r,s,c,d){r=s.state,typeof s.componentWillReceiveProps=="function"&&s.componentWillReceiveProps(c,d),typeof s.UNSAFE_componentWillReceiveProps=="function"&&s.UNSAFE_componentWillReceiveProps(c,d),s.state!==r&&i0.enqueueReplaceState(s,s.state,null)}function rl(r,s){var c=s;if("ref"in s){c={};for(var d in s)d!=="ref"&&(c[d]=s[d])}if(r=r.defaultProps){c===s&&(c=p({},c));for(var g in r)c[g]===void 0&&(c[g]=r[g])}return c}var Op=typeof reportError=="function"?reportError:function(r){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var s=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof r=="object"&&r!==null&&typeof r.message=="string"?String(r.message):String(r),error:r});if(!window.dispatchEvent(s))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",r);return}console.error(r)};function __(r){Op(r)}function E_(r){console.error(r)}function S_(r){Op(r)}function Mp(r,s){try{var c=r.onUncaughtError;c(s.value,{componentStack:s.stack})}catch(d){setTimeout(function(){throw d})}}function T_(r,s,c){try{var d=r.onCaughtError;d(c.value,{componentStack:c.stack,errorBoundary:s.tag===1?s.stateNode:null})}catch(g){setTimeout(function(){throw g})}}function r0(r,s,c){return c=ie(c),c.tag=3,c.payload={element:null},c.callback=function(){Mp(r,s)},c}function A_(r){return r=ie(r),r.tag=3,r}function C_(r,s,c,d){var g=c.type.getDerivedStateFromError;if(typeof g=="function"){var x=d.value;r.payload=function(){return g(x)},r.callback=function(){T_(s,c,d)}}var M=c.stateNode;M!==null&&typeof M.componentDidCatch=="function"&&(r.callback=function(){T_(s,c,d),typeof g!="function"&&(eo===null?eo=new Set([this]):eo.add(this));var P=d.stack;this.componentDidCatch(d.value,{componentStack:P!==null?P:""})})}function i8(r,s,c,d,g){if(c.flags|=32768,d!==null&&typeof d=="object"&&typeof d.then=="function"){if(s=c.alternate,s!==null&&el(s,c,g,!0),c=Ui.current,c!==null){switch(c.tag){case 13:return Yr===null?O0():c.alternate===null&&Ut===0&&(Ut=3),c.flags&=-257,c.flags|=65536,c.lanes=g,d===Hs?c.flags|=16384:(s=c.updateQueue,s===null?c.updateQueue=new Set([d]):s.add(d),N0(r,d,g)),!1;case 22:return c.flags|=65536,d===Hs?c.flags|=16384:(s=c.updateQueue,s===null?(s={transitions:null,markerInstances:null,retryQueue:new Set([d])},c.updateQueue=s):(c=s.retryQueue,c===null?s.retryQueue=new Set([d]):c.add(d)),N0(r,d,g)),!1}throw Error(i(435,c.tag))}return N0(r,d,g),O0(),!1}if(nt)return s=Ui.current,s!==null?((s.flags&65536)===0&&(s.flags|=256),s.flags|=65536,s.lanes=g,d!==bf&&(r=Error(i(422),{cause:d}),vr(ii(r,c)))):(d!==bf&&(s=Error(i(423),{cause:d}),vr(ii(s,c))),r=r.current.alternate,r.flags|=65536,g&=-g,r.lanes|=g,d=ii(d,c),g=r0(r.stateNode,d,g),_e(r,g),Ut!==4&&(Ut=2)),!1;var x=Error(i(520),{cause:d});if(x=ii(x,c),Uf===null?Uf=[x]:Uf.push(x),Ut!==4&&(Ut=2),s===null)return!0;d=ii(d,c),c=s;do{switch(c.tag){case 3:return c.flags|=65536,r=g&-g,c.lanes|=r,r=r0(c.stateNode,d,r),_e(c,r),!1;case 1:if(s=c.type,x=c.stateNode,(c.flags&128)===0&&(typeof s.getDerivedStateFromError=="function"||x!==null&&typeof x.componentDidCatch=="function"&&(eo===null||!eo.has(x))))return c.flags|=65536,g&=-g,c.lanes|=g,g=A_(g),C_(g,r,c,d),_e(c,g),!1}c=c.return}while(c!==null);return!1}var O_=Error(i(461)),hn=!1;function Tn(r,s,c,d){s.child=r===null?y_(s,null,c,d):Mc(s,r.child,c,d)}function M_(r,s,c,d,g){c=c.render;var x=s.ref;if("ref"in d){var M={};for(var P in d)P!=="ref"&&(M[P]=d[P])}else M=d;return Ur(s),d=oi(r,s,c,M,x,g),P=ft(),r!==null&&!hn?(an(r,s,g),za(r,s,g)):(nt&&P&&vf(s),s.flags|=1,Tn(r,s,d,g),s.child)}function N_(r,s,c,d,g){if(r===null){var x=c.type;return typeof x=="function"&&!gf(x)&&x.defaultProps===void 0&&c.compare===null?(s.tag=15,s.type=x,j_(r,s,x,d,g)):(r=mc(c.type,null,d,s,s.mode,g),r.ref=s.ref,r.return=s,s.child=r)}if(x=r.child,!d0(r,g)){var M=x.memoizedProps;if(c=c.compare,c=c!==null?c:Ls,c(M,d)&&r.ref===s.ref)return za(r,s,g)}return s.flags|=1,r=pr(x,d),r.ref=s.ref,r.return=s,s.child=r}function j_(r,s,c,d,g){if(r!==null){var x=r.memoizedProps;if(Ls(x,d)&&r.ref===s.ref)if(hn=!1,s.pendingProps=d=x,d0(r,g))(r.flags&131072)!==0&&(hn=!0);else return s.lanes=r.lanes,za(r,s,g)}return a0(r,s,c,d,g)}function D_(r,s,c){var d=s.pendingProps,g=d.children,x=r!==null?r.memoizedState:null;if(d.mode==="hidden"){if((s.flags&128)!==0){if(d=x!==null?x.baseLanes|c:c,r!==null){for(g=s.child=r.child,x=0;g!==null;)x=x|g.lanes|g.childLanes,g=g.sibling;s.childLanes=x&~d}else s.childLanes=0,s.child=null;return P_(r,s,d,c)}if((c&536870912)!==0)s.memoizedState={baseLanes:0,cachePool:null},r!==null&&xc(s,x!==null?x.cachePool:null),x!==null?ut(s,x):dt(),b_(s);else return s.lanes=s.childLanes=536870912,P_(r,s,x!==null?x.baseLanes|c:c,c)}else x!==null?(xc(s,x.cachePool),ut(s,x),Ks(),s.memoizedState=null):(r!==null&&xc(s,null),dt(),Ks());return Tn(r,s,g,c),s.child}function P_(r,s,c,d){var g=Ef();return g=g===null?null:{parent:Rt._currentValue,pool:g},s.memoizedState={baseLanes:c,cachePool:g},r!==null&&xc(s,null),dt(),b_(s),r!==null&&el(r,s,d,!0),null}function Np(r,s){var c=s.ref;if(c===null)r!==null&&r.ref!==null&&(s.flags|=4194816);else{if(typeof c!="function"&&typeof c!="object")throw Error(i(284));(r===null||r.ref!==c)&&(s.flags|=4194816)}}function a0(r,s,c,d,g){return Ur(s),c=oi(r,s,c,d,void 0,g),d=ft(),r!==null&&!hn?(an(r,s,g),za(r,s,g)):(nt&&d&&vf(s),s.flags|=1,Tn(r,s,c,g),s.child)}function L_(r,s,c,d,g,x){return Ur(s),s.updateQueue=null,c=La(s,d,c,g),bi(r),d=ft(),r!==null&&!hn?(an(r,s,x),za(r,s,x)):(nt&&d&&vf(s),s.flags|=1,Tn(r,s,c,x),s.child)}function k_(r,s,c,d,g){if(Ur(s),s.stateNode===null){var x=zs,M=c.contextType;typeof M=="object"&&M!==null&&(x=fn(M)),x=new c(d,x),s.memoizedState=x.state!==null&&x.state!==void 0?x.state:null,x.updater=i0,s.stateNode=x,x._reactInternals=s,x=s.stateNode,x.props=d,x.state=s.memoizedState,x.refs={},Y(s),M=c.contextType,x.context=typeof M=="object"&&M!==null?fn(M):zs,x.state=s.memoizedState,M=c.getDerivedStateFromProps,typeof M=="function"&&(n0(s,c,M,d),x.state=s.memoizedState),typeof c.getDerivedStateFromProps=="function"||typeof x.getSnapshotBeforeUpdate=="function"||typeof x.UNSAFE_componentWillMount!="function"&&typeof x.componentWillMount!="function"||(M=x.state,typeof x.componentWillMount=="function"&&x.componentWillMount(),typeof x.UNSAFE_componentWillMount=="function"&&x.UNSAFE_componentWillMount(),M!==x.state&&i0.enqueueReplaceState(x,x.state,null),Fe(s,d,x,g),xe(),x.state=s.memoizedState),typeof x.componentDidMount=="function"&&(s.flags|=4194308),d=!0}else if(r===null){x=s.stateNode;var P=s.memoizedProps,I=rl(c,P);x.props=I;var Z=x.context,le=c.contextType;M=zs,typeof le=="object"&&le!==null&&(M=fn(le));var de=c.getDerivedStateFromProps;le=typeof de=="function"||typeof x.getSnapshotBeforeUpdate=="function",P=s.pendingProps!==P,le||typeof x.UNSAFE_componentWillReceiveProps!="function"&&typeof x.componentWillReceiveProps!="function"||(P||Z!==M)&&w_(s,x,d,M),L=!1;var J=s.memoizedState;x.state=J,Fe(s,d,x,g),xe(),Z=s.memoizedState,P||J!==Z||L?(typeof de=="function"&&(n0(s,c,de,d),Z=s.memoizedState),(I=L||x_(s,c,I,d,J,Z,M))?(le||typeof x.UNSAFE_componentWillMount!="function"&&typeof x.componentWillMount!="function"||(typeof x.componentWillMount=="function"&&x.componentWillMount(),typeof x.UNSAFE_componentWillMount=="function"&&x.UNSAFE_componentWillMount()),typeof x.componentDidMount=="function"&&(s.flags|=4194308)):(typeof x.componentDidMount=="function"&&(s.flags|=4194308),s.memoizedProps=d,s.memoizedState=Z),x.props=d,x.state=Z,x.context=M,d=I):(typeof x.componentDidMount=="function"&&(s.flags|=4194308),d=!1)}else{x=s.stateNode,K(r,s),M=s.memoizedProps,le=rl(c,M),x.props=le,de=s.pendingProps,J=x.context,Z=c.contextType,I=zs,typeof Z=="object"&&Z!==null&&(I=fn(Z)),P=c.getDerivedStateFromProps,(Z=typeof P=="function"||typeof x.getSnapshotBeforeUpdate=="function")||typeof x.UNSAFE_componentWillReceiveProps!="function"&&typeof x.componentWillReceiveProps!="function"||(M!==de||J!==I)&&w_(s,x,d,I),L=!1,J=s.memoizedState,x.state=J,Fe(s,d,x,g),xe();var ee=s.memoizedState;M!==de||J!==ee||L||r!==null&&r.dependencies!==null&&vc(r.dependencies)?(typeof P=="function"&&(n0(s,c,P,d),ee=s.memoizedState),(le=L||x_(s,c,le,d,J,ee,I)||r!==null&&r.dependencies!==null&&vc(r.dependencies))?(Z||typeof x.UNSAFE_componentWillUpdate!="function"&&typeof x.componentWillUpdate!="function"||(typeof x.componentWillUpdate=="function"&&x.componentWillUpdate(d,ee,I),typeof x.UNSAFE_componentWillUpdate=="function"&&x.UNSAFE_componentWillUpdate(d,ee,I)),typeof x.componentDidUpdate=="function"&&(s.flags|=4),typeof x.getSnapshotBeforeUpdate=="function"&&(s.flags|=1024)):(typeof x.componentDidUpdate!="function"||M===r.memoizedProps&&J===r.memoizedState||(s.flags|=4),typeof x.getSnapshotBeforeUpdate!="function"||M===r.memoizedProps&&J===r.memoizedState||(s.flags|=1024),s.memoizedProps=d,s.memoizedState=ee),x.props=d,x.state=ee,x.context=I,d=le):(typeof x.componentDidUpdate!="function"||M===r.memoizedProps&&J===r.memoizedState||(s.flags|=4),typeof x.getSnapshotBeforeUpdate!="function"||M===r.memoizedProps&&J===r.memoizedState||(s.flags|=1024),d=!1)}return x=d,Np(r,s),d=(s.flags&128)!==0,x||d?(x=s.stateNode,c=d&&typeof c.getDerivedStateFromError!="function"?null:x.render(),s.flags|=1,r!==null&&d?(s.child=Mc(s,r.child,null,g),s.child=Mc(s,null,c,g)):Tn(r,s,c,g),s.memoizedState=x.state,r=s.child):r=za(r,s,g),r}function R_(r,s,c,d){return Jo(),s.flags|=256,Tn(r,s,c,d),s.child}var s0={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function o0(r){return{baseLanes:r,cachePool:hp()}}function l0(r,s,c){return r=r!==null?r.childLanes&~c:0,s&&(r|=Fi),r}function z_(r,s,c){var d=s.pendingProps,g=!1,x=(s.flags&128)!==0,M;if((M=x)||(M=r!==null&&r.memoizedState===null?!1:(sn.current&2)!==0),M&&(g=!0,s.flags&=-129),M=(s.flags&32)!==0,s.flags&=-33,r===null){if(nt){if(g?Ys(s):Ks(),nt){var P=xt,I;if(I=P){e:{for(I=P,P=yi;I.nodeType!==8;){if(!P){P=null;break e}if(I=Er(I.nextSibling),I===null){P=null;break e}}P=I}P!==null?(s.memoizedState={dehydrated:P,treeContext:Ca!==null?{id:mr,overflow:gr}:null,retryLane:536870912,hydrationErrors:null},I=Yn(18,null,null,0),I.stateNode=P,I.return=s,s.child=I,En=s,xt=null,I=!0):I=!1}I||ri(s)}if(P=s.memoizedState,P!==null&&(P=P.dehydrated,P!==null))return F0(P)?s.lanes=32:s.lanes=536870912,null;Ra(s)}return P=d.children,d=d.fallback,g?(Ks(),g=s.mode,P=jp({mode:"hidden",children:P},g),d=Ta(d,g,c,null),P.return=s,d.return=s,P.sibling=d,s.child=P,g=s.child,g.memoizedState=o0(c),g.childLanes=l0(r,M,c),s.memoizedState=s0,d):(Ys(s),c0(s,P))}if(I=r.memoizedState,I!==null&&(P=I.dehydrated,P!==null)){if(x)s.flags&256?(Ys(s),s.flags&=-257,s=u0(r,s,c)):s.memoizedState!==null?(Ks(),s.child=r.child,s.flags|=128,s=null):(Ks(),g=d.fallback,P=s.mode,d=jp({mode:"visible",children:d.children},P),g=Ta(g,P,c,null),g.flags|=2,d.return=s,g.return=s,d.sibling=g,s.child=d,Mc(s,r.child,null,c),d=s.child,d.memoizedState=o0(c),d.childLanes=l0(r,M,c),s.memoizedState=s0,s=g);else if(Ys(s),F0(P)){if(M=P.nextSibling&&P.nextSibling.dataset,M)var Z=M.dgst;M=Z,d=Error(i(419)),d.stack="",d.digest=M,vr({value:d,source:null,stack:null}),s=u0(r,s,c)}else if(hn||el(r,s,c,!1),M=(c&r.childLanes)!==0,hn||M){if(M=At,M!==null&&(d=c&-c,d=(d&42)!==0?1:Gu(d),d=(d&(M.suspendedLanes|c))!==0?0:d,d!==0&&d!==I.retryLane))throw I.retryLane=d,Rs(r,d),Si(M,r,d),O_;P.data==="$?"||O0(),s=u0(r,s,c)}else P.data==="$?"?(s.flags|=192,s.child=r.child,s=null):(r=I.treeContext,xt=Er(P.nextSibling),En=s,nt=!0,Oa=null,yi=!1,r!==null&&(Rn[zn++]=mr,Rn[zn++]=gr,Rn[zn++]=Ca,mr=r.id,gr=r.overflow,Ca=s),s=c0(s,d.children),s.flags|=4096);return s}return g?(Ks(),g=d.fallback,P=s.mode,I=r.child,Z=I.sibling,d=pr(I,{mode:"hidden",children:d.children}),d.subtreeFlags=I.subtreeFlags&65011712,Z!==null?g=pr(Z,g):(g=Ta(g,P,c,null),g.flags|=2),g.return=s,d.return=s,d.sibling=g,s.child=d,d=g,g=s.child,P=r.child.memoizedState,P===null?P=o0(c):(I=P.cachePool,I!==null?(Z=Rt._currentValue,I=I.parent!==Z?{parent:Z,pool:Z}:I):I=hp(),P={baseLanes:P.baseLanes|c,cachePool:I}),g.memoizedState=P,g.childLanes=l0(r,M,c),s.memoizedState=s0,d):(Ys(s),c=r.child,r=c.sibling,c=pr(c,{mode:"visible",children:d.children}),c.return=s,c.sibling=null,r!==null&&(M=s.deletions,M===null?(s.deletions=[r],s.flags|=16):M.push(r)),s.child=c,s.memoizedState=null,c)}function c0(r,s){return s=jp({mode:"visible",children:s},r.mode),s.return=r,r.child=s}function jp(r,s){return r=Yn(22,r,null,s),r.lanes=0,r.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},r}function u0(r,s,c){return Mc(s,r.child,null,c),r=c0(s,s.pendingProps.children),r.flags|=2,s.memoizedState=null,r}function I_(r,s,c){r.lanes|=s;var d=r.alternate;d!==null&&(d.lanes|=s),wf(r.return,s,c)}function f0(r,s,c,d,g){var x=r.memoizedState;x===null?r.memoizedState={isBackwards:s,rendering:null,renderingStartTime:0,last:d,tail:c,tailMode:g}:(x.isBackwards=s,x.rendering=null,x.renderingStartTime=0,x.last=d,x.tail=c,x.tailMode=g)}function $_(r,s,c){var d=s.pendingProps,g=d.revealOrder,x=d.tail;if(Tn(r,s,d.children,c),d=sn.current,(d&2)!==0)d=d&1|2,s.flags|=128;else{if(r!==null&&(r.flags&128)!==0)e:for(r=s.child;r!==null;){if(r.tag===13)r.memoizedState!==null&&I_(r,c,s);else if(r.tag===19)I_(r,c,s);else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===s)break e;for(;r.sibling===null;){if(r.return===null||r.return===s)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}d&=1}switch(ve(sn,d),g){case"forwards":for(c=s.child,g=null;c!==null;)r=c.alternate,r!==null&&Cp(r)===null&&(g=c),c=c.sibling;c=g,c===null?(g=s.child,s.child=null):(g=c.sibling,c.sibling=null),f0(s,!1,g,c,x);break;case"backwards":for(c=null,g=s.child,s.child=null;g!==null;){if(r=g.alternate,r!==null&&Cp(r)===null){s.child=g;break}r=g.sibling,g.sibling=c,c=g,g=r}f0(s,!0,c,null,x);break;case"together":f0(s,!1,null,null,void 0);break;default:s.memoizedState=null}return s.child}function za(r,s,c){if(r!==null&&(s.dependencies=r.dependencies),Js|=s.lanes,(c&s.childLanes)===0)if(r!==null){if(el(r,s,c,!1),(c&s.childLanes)===0)return null}else return null;if(r!==null&&s.child!==r.child)throw Error(i(153));if(s.child!==null){for(r=s.child,c=pr(r,r.pendingProps),s.child=c,c.return=s;r.sibling!==null;)r=r.sibling,c=c.sibling=pr(r,r.pendingProps),c.return=s;c.sibling=null}return s.child}function d0(r,s){return(r.lanes&s)!==0?!0:(r=r.dependencies,!!(r!==null&&vc(r)))}function r8(r,s,c){switch(s.tag){case 3:Ne(s,s.stateNode.containerInfo),qr(s,Rt,r.memoizedState.cache),Jo();break;case 27:case 5:De(s);break;case 4:Ne(s,s.stateNode.containerInfo);break;case 10:qr(s,s.type,s.memoizedProps.value);break;case 13:var d=s.memoizedState;if(d!==null)return d.dehydrated!==null?(Ys(s),s.flags|=128,null):(c&s.child.childLanes)!==0?z_(r,s,c):(Ys(s),r=za(r,s,c),r!==null?r.sibling:null);Ys(s);break;case 19:var g=(r.flags&128)!==0;if(d=(c&s.childLanes)!==0,d||(el(r,s,c,!1),d=(c&s.childLanes)!==0),g){if(d)return $_(r,s,c);s.flags|=128}if(g=s.memoizedState,g!==null&&(g.rendering=null,g.tail=null,g.lastEffect=null),ve(sn,sn.current),d)break;return null;case 22:case 23:return s.lanes=0,D_(r,s,c);case 24:qr(s,Rt,r.memoizedState.cache)}return za(r,s,c)}function B_(r,s,c){if(r!==null)if(r.memoizedProps!==s.pendingProps)hn=!0;else{if(!d0(r,c)&&(s.flags&128)===0)return hn=!1,r8(r,s,c);hn=(r.flags&131072)!==0}else hn=!1,nt&&(s.flags&1048576)!==0&&op(s,Hr,s.index);switch(s.lanes=0,s.tag){case 16:e:{r=s.pendingProps;var d=s.elementType,g=d._init;if(d=g(d._payload),s.type=d,typeof d=="function")gf(d)?(r=rl(d,r),s.tag=1,s=k_(null,s,d,r,c)):(s.tag=0,s=a0(null,s,d,r,c));else{if(d!=null){if(g=d.$$typeof,g===k){s.tag=11,s=M_(null,s,d,r,c);break e}else if(g===B){s.tag=14,s=N_(null,s,d,r,c);break e}}throw s=ce(d)||d,Error(i(306,s,""))}}return s;case 0:return a0(r,s,s.type,s.pendingProps,c);case 1:return d=s.type,g=rl(d,s.pendingProps),k_(r,s,d,g,c);case 3:e:{if(Ne(s,s.stateNode.containerInfo),r===null)throw Error(i(387));d=s.pendingProps;var x=s.memoizedState;g=x.element,K(r,s),Fe(s,d,null,c);var M=s.memoizedState;if(d=M.cache,qr(s,Rt,d),d!==x.cache&&_f(s,[Rt],c,!0),xe(),d=M.element,x.isDehydrated)if(x={element:d,isDehydrated:!1,cache:M.cache},s.updateQueue.baseState=x,s.memoizedState=x,s.flags&256){s=R_(r,s,d,c);break e}else if(d!==g){g=ii(Error(i(424)),s),vr(g),s=R_(r,s,d,c);break e}else{switch(r=s.stateNode.containerInfo,r.nodeType){case 9:r=r.body;break;default:r=r.nodeName==="HTML"?r.ownerDocument.body:r}for(xt=Er(r.firstChild),En=s,nt=!0,Oa=null,yi=!0,c=y_(s,null,d,c),s.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling}else{if(Jo(),d===g){s=za(r,s,c);break e}Tn(r,s,d,c)}s=s.child}return s;case 26:return Np(r,s),r===null?(c=UE(s.type,null,s.pendingProps,null))?s.memoizedState=c:nt||(c=s.type,r=s.pendingProps,d=Fp(Ee.current).createElement(c),d[Vt]=s,d[Dn]=r,Cn(d,c,r),Mt(d),s.stateNode=d):s.memoizedState=UE(s.type,r.memoizedProps,s.pendingProps,r.memoizedState),null;case 27:return De(s),r===null&&nt&&(d=s.stateNode=VE(s.type,s.pendingProps,Ee.current),En=s,yi=!0,g=xt,io(s.type)?(G0=g,xt=Er(d.firstChild)):xt=g),Tn(r,s,s.pendingProps.children,c),Np(r,s),r===null&&(s.flags|=4194304),s.child;case 5:return r===null&&nt&&((g=d=xt)&&(d=D8(d,s.type,s.pendingProps,yi),d!==null?(s.stateNode=d,En=s,xt=Er(d.firstChild),yi=!1,g=!0):g=!1),g||ri(s)),De(s),g=s.type,x=s.pendingProps,M=r!==null?r.memoizedProps:null,d=x.children,H0(g,x)?d=null:M!==null&&H0(g,M)&&(s.flags|=32),s.memoizedState!==null&&(g=oi(r,s,Zt,null,null,c),Jf._currentValue=g),Np(r,s),Tn(r,s,d,c),s.child;case 6:return r===null&&nt&&((r=c=xt)&&(c=P8(c,s.pendingProps,yi),c!==null?(s.stateNode=c,En=s,xt=null,r=!0):r=!1),r||ri(s)),null;case 13:return z_(r,s,c);case 4:return Ne(s,s.stateNode.containerInfo),d=s.pendingProps,r===null?s.child=Mc(s,null,d,c):Tn(r,s,d,c),s.child;case 11:return M_(r,s,s.type,s.pendingProps,c);case 7:return Tn(r,s,s.pendingProps,c),s.child;case 8:return Tn(r,s,s.pendingProps.children,c),s.child;case 12:return Tn(r,s,s.pendingProps.children,c),s.child;case 10:return d=s.pendingProps,qr(s,s.type,d.value),Tn(r,s,d.children,c),s.child;case 9:return g=s.type._context,d=s.pendingProps.children,Ur(s),g=fn(g),d=d(g),s.flags|=1,Tn(r,s,d,c),s.child;case 14:return N_(r,s,s.type,s.pendingProps,c);case 15:return j_(r,s,s.type,s.pendingProps,c);case 19:return $_(r,s,c);case 31:return d=s.pendingProps,c=s.mode,d={mode:d.mode,children:d.children},r===null?(c=jp(d,c),c.ref=s.ref,s.child=c,c.return=s,s=c):(c=pr(r.child,d),c.ref=s.ref,s.child=c,c.return=s,s=c),s;case 22:return D_(r,s,c);case 24:return Ur(s),d=fn(Rt),r===null?(g=Ef(),g===null&&(g=At,x=bc(),g.pooledCache=x,x.refCount++,x!==null&&(g.pooledCacheLanes|=c),g=x),s.memoizedState={parent:d,cache:g},Y(s),qr(s,Rt,g)):((r.lanes&c)!==0&&(K(r,s),Fe(s,null,null,c),xe()),g=r.memoizedState,x=s.memoizedState,g.parent!==d?(g={parent:d,cache:d},s.memoizedState=g,s.lanes===0&&(s.memoizedState=s.updateQueue.baseState=g),qr(s,Rt,d)):(d=x.cache,qr(s,Rt,d),d!==g.cache&&_f(s,[Rt],c,!0))),Tn(r,s,s.pendingProps.children,c),s.child;case 29:throw s.pendingProps}throw Error(i(156,s.tag))}function Ia(r){r.flags|=4}function V_(r,s){if(s.type!=="stylesheet"||(s.state.loading&4)!==0)r.flags&=-16777217;else if(r.flags|=16777216,!WE(s)){if(s=Ui.current,s!==null&&((rt&4194048)===rt?Yr!==null:(rt&62914560)!==rt&&(rt&536870912)===0||s!==Yr))throw N=Hs,Sf;r.flags|=8192}}function Dp(r,s){s!==null&&(r.flags|=4),r.flags&16384&&(s=r.tag!==22?Eh():536870912,r.lanes|=s,Pc|=s)}function If(r,s){if(!nt)switch(r.tailMode){case"hidden":s=r.tail;for(var c=null;s!==null;)s.alternate!==null&&(c=s),s=s.sibling;c===null?r.tail=null:c.sibling=null;break;case"collapsed":c=r.tail;for(var d=null;c!==null;)c.alternate!==null&&(d=c),c=c.sibling;d===null?s||r.tail===null?r.tail=null:r.tail.sibling=null:d.sibling=null}}function It(r){var s=r.alternate!==null&&r.alternate.child===r.child,c=0,d=0;if(s)for(var g=r.child;g!==null;)c|=g.lanes|g.childLanes,d|=g.subtreeFlags&65011712,d|=g.flags&65011712,g.return=r,g=g.sibling;else for(g=r.child;g!==null;)c|=g.lanes|g.childLanes,d|=g.subtreeFlags,d|=g.flags,g.return=r,g=g.sibling;return r.subtreeFlags|=d,r.childLanes=c,s}function a8(r,s,c){var d=s.pendingProps;switch(yf(s),s.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return It(s),null;case 1:return It(s),null;case 3:return c=s.stateNode,d=null,r!==null&&(d=r.memoizedState.cache),s.memoizedState.cache!==d&&(s.flags|=2048),xr(Rt),ne(),c.pendingContext&&(c.context=c.pendingContext,c.pendingContext=null),(r===null||r.child===null)&&(Zo(s)?Ia(s):r===null||r.memoizedState.isDehydrated&&(s.flags&256)===0||(s.flags|=1024,lp())),It(s),null;case 26:return c=s.memoizedState,r===null?(Ia(s),c!==null?(It(s),V_(s,c)):(It(s),s.flags&=-16777217)):c?c!==r.memoizedState?(Ia(s),It(s),V_(s,c)):(It(s),s.flags&=-16777217):(r.memoizedProps!==d&&Ia(s),It(s),s.flags&=-16777217),null;case 27:Pe(s),c=Ee.current;var g=s.type;if(r!==null&&s.stateNode!=null)r.memoizedProps!==d&&Ia(s);else{if(!d){if(s.stateNode===null)throw Error(i(166));return It(s),null}r=we.current,Zo(s)?gc(s):(r=VE(g,d,c),s.stateNode=r,Ia(s))}return It(s),null;case 5:if(Pe(s),c=s.type,r!==null&&s.stateNode!=null)r.memoizedProps!==d&&Ia(s);else{if(!d){if(s.stateNode===null)throw Error(i(166));return It(s),null}if(r=we.current,Zo(s))gc(s);else{switch(g=Fp(Ee.current),r){case 1:r=g.createElementNS("http://www.w3.org/2000/svg",c);break;case 2:r=g.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;default:switch(c){case"svg":r=g.createElementNS("http://www.w3.org/2000/svg",c);break;case"math":r=g.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;case"script":r=g.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild);break;case"select":r=typeof d.is=="string"?g.createElement("select",{is:d.is}):g.createElement("select"),d.multiple?r.multiple=!0:d.size&&(r.size=d.size);break;default:r=typeof d.is=="string"?g.createElement(c,{is:d.is}):g.createElement(c)}}r[Vt]=s,r[Dn]=d;e:for(g=s.child;g!==null;){if(g.tag===5||g.tag===6)r.appendChild(g.stateNode);else if(g.tag!==4&&g.tag!==27&&g.child!==null){g.child.return=g,g=g.child;continue}if(g===s)break e;for(;g.sibling===null;){if(g.return===null||g.return===s)break e;g=g.return}g.sibling.return=g.return,g=g.sibling}s.stateNode=r;e:switch(Cn(r,c,d),c){case"button":case"input":case"select":case"textarea":r=!!d.autoFocus;break e;case"img":r=!0;break e;default:r=!1}r&&Ia(s)}}return It(s),s.flags&=-16777217,null;case 6:if(r&&s.stateNode!=null)r.memoizedProps!==d&&Ia(s);else{if(typeof d!="string"&&s.stateNode===null)throw Error(i(166));if(r=Ee.current,Zo(s)){if(r=s.stateNode,c=s.memoizedProps,d=null,g=En,g!==null)switch(g.tag){case 27:case 5:d=g.memoizedProps}r[Vt]=s,r=!!(r.nodeValue===c||d!==null&&d.suppressHydrationWarning===!0||LE(r.nodeValue,c)),r||ri(s)}else r=Fp(r).createTextNode(d),r[Vt]=s,s.stateNode=r}return It(s),null;case 13:if(d=s.memoizedState,r===null||r.memoizedState!==null&&r.memoizedState.dehydrated!==null){if(g=Zo(s),d!==null&&d.dehydrated!==null){if(r===null){if(!g)throw Error(i(318));if(g=s.memoizedState,g=g!==null?g.dehydrated:null,!g)throw Error(i(317));g[Vt]=s}else Jo(),(s.flags&128)===0&&(s.memoizedState=null),s.flags|=4;It(s),g=!1}else g=lp(),r!==null&&r.memoizedState!==null&&(r.memoizedState.hydrationErrors=g),g=!0;if(!g)return s.flags&256?(Ra(s),s):(Ra(s),null)}if(Ra(s),(s.flags&128)!==0)return s.lanes=c,s;if(c=d!==null,r=r!==null&&r.memoizedState!==null,c){d=s.child,g=null,d.alternate!==null&&d.alternate.memoizedState!==null&&d.alternate.memoizedState.cachePool!==null&&(g=d.alternate.memoizedState.cachePool.pool);var x=null;d.memoizedState!==null&&d.memoizedState.cachePool!==null&&(x=d.memoizedState.cachePool.pool),x!==g&&(d.flags|=2048)}return c!==r&&c&&(s.child.flags|=8192),Dp(s,s.updateQueue),It(s),null;case 4:return ne(),r===null&&z0(s.stateNode.containerInfo),It(s),null;case 10:return xr(s.type),It(s),null;case 19:if(oe(sn),g=s.memoizedState,g===null)return It(s),null;if(d=(s.flags&128)!==0,x=g.rendering,x===null)if(d)If(g,!1);else{if(Ut!==0||r!==null&&(r.flags&128)!==0)for(r=s.child;r!==null;){if(x=Cp(r),x!==null){for(s.flags|=128,If(g,!1),r=x.updateQueue,s.updateQueue=r,Dp(s,r),s.subtreeFlags=0,r=c,c=s.child;c!==null;)sp(c,r),c=c.sibling;return ve(sn,sn.current&1|2),s.child}r=r.sibling}g.tail!==null&&ct()>kp&&(s.flags|=128,d=!0,If(g,!1),s.lanes=4194304)}else{if(!d)if(r=Cp(x),r!==null){if(s.flags|=128,d=!0,r=r.updateQueue,s.updateQueue=r,Dp(s,r),If(g,!0),g.tail===null&&g.tailMode==="hidden"&&!x.alternate&&!nt)return It(s),null}else 2*ct()-g.renderingStartTime>kp&&c!==536870912&&(s.flags|=128,d=!0,If(g,!1),s.lanes=4194304);g.isBackwards?(x.sibling=s.child,s.child=x):(r=g.last,r!==null?r.sibling=x:s.child=x,g.last=x)}return g.tail!==null?(s=g.tail,g.rendering=s,g.tail=s.sibling,g.renderingStartTime=ct(),s.sibling=null,r=sn.current,ve(sn,d?r&1|2:r&1),s):(It(s),null);case 22:case 23:return Ra(s),Ye(),d=s.memoizedState!==null,r!==null?r.memoizedState!==null!==d&&(s.flags|=8192):d&&(s.flags|=8192),d?(c&536870912)!==0&&(s.flags&128)===0&&(It(s),s.subtreeFlags&6&&(s.flags|=8192)):It(s),c=s.updateQueue,c!==null&&Dp(s,c.retryQueue),c=null,r!==null&&r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(c=r.memoizedState.cachePool.pool),d=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(d=s.memoizedState.cachePool.pool),d!==c&&(s.flags|=2048),r!==null&&oe(Da),null;case 24:return c=null,r!==null&&(c=r.memoizedState.cache),s.memoizedState.cache!==c&&(s.flags|=2048),xr(Rt),It(s),null;case 25:return null;case 30:return null}throw Error(i(156,s.tag))}function s8(r,s){switch(yf(s),s.tag){case 1:return r=s.flags,r&65536?(s.flags=r&-65537|128,s):null;case 3:return xr(Rt),ne(),r=s.flags,(r&65536)!==0&&(r&128)===0?(s.flags=r&-65537|128,s):null;case 26:case 27:case 5:return Pe(s),null;case 13:if(Ra(s),r=s.memoizedState,r!==null&&r.dehydrated!==null){if(s.alternate===null)throw Error(i(340));Jo()}return r=s.flags,r&65536?(s.flags=r&-65537|128,s):null;case 19:return oe(sn),null;case 4:return ne(),null;case 10:return xr(s.type),null;case 22:case 23:return Ra(s),Ye(),r!==null&&oe(Da),r=s.flags,r&65536?(s.flags=r&-65537|128,s):null;case 24:return xr(Rt),null;case 25:return null;default:return null}}function H_(r,s){switch(yf(s),s.tag){case 3:xr(Rt),ne();break;case 26:case 27:case 5:Pe(s);break;case 4:ne();break;case 13:Ra(s);break;case 19:oe(sn);break;case 10:xr(s.type);break;case 22:case 23:Ra(s),Ye(),r!==null&&oe(Da);break;case 24:xr(Rt)}}function $f(r,s){try{var c=s.updateQueue,d=c!==null?c.lastEffect:null;if(d!==null){var g=d.next;c=g;do{if((c.tag&r)===r){d=void 0;var x=c.create,M=c.inst;d=x(),M.destroy=d}c=c.next}while(c!==g)}}catch(P){wt(s,s.return,P)}}function Ws(r,s,c){try{var d=s.updateQueue,g=d!==null?d.lastEffect:null;if(g!==null){var x=g.next;d=x;do{if((d.tag&r)===r){var M=d.inst,P=M.destroy;if(P!==void 0){M.destroy=void 0,g=s;var I=c,Z=P;try{Z()}catch(le){wt(g,I,le)}}}d=d.next}while(d!==x)}}catch(le){wt(s,s.return,le)}}function q_(r){var s=r.updateQueue;if(s!==null){var c=r.stateNode;try{Ge(s,c)}catch(d){wt(r,r.return,d)}}}function U_(r,s,c){c.props=rl(r.type,r.memoizedProps),c.state=r.memoizedState;try{c.componentWillUnmount()}catch(d){wt(r,s,d)}}function Bf(r,s){try{var c=r.ref;if(c!==null){switch(r.tag){case 26:case 27:case 5:var d=r.stateNode;break;case 30:d=r.stateNode;break;default:d=r.stateNode}typeof c=="function"?r.refCleanup=c(d):c.current=d}}catch(g){wt(r,s,g)}}function Kr(r,s){var c=r.ref,d=r.refCleanup;if(c!==null)if(typeof d=="function")try{d()}catch(g){wt(r,s,g)}finally{r.refCleanup=null,r=r.alternate,r!=null&&(r.refCleanup=null)}else if(typeof c=="function")try{c(null)}catch(g){wt(r,s,g)}else c.current=null}function F_(r){var s=r.type,c=r.memoizedProps,d=r.stateNode;try{e:switch(s){case"button":case"input":case"select":case"textarea":c.autoFocus&&d.focus();break e;case"img":c.src?d.src=c.src:c.srcSet&&(d.srcset=c.srcSet)}}catch(g){wt(r,r.return,g)}}function h0(r,s,c){try{var d=r.stateNode;C8(d,r.type,c,s),d[Dn]=s}catch(g){wt(r,r.return,g)}}function G_(r){return r.tag===5||r.tag===3||r.tag===26||r.tag===27&&io(r.type)||r.tag===4}function p0(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||G_(r.return))return null;r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.tag===27&&io(r.type)||r.flags&2||r.child===null||r.tag===4)continue e;r.child.return=r,r=r.child}if(!(r.flags&2))return r.stateNode}}function m0(r,s,c){var d=r.tag;if(d===5||d===6)r=r.stateNode,s?(c.nodeType===9?c.body:c.nodeName==="HTML"?c.ownerDocument.body:c).insertBefore(r,s):(s=c.nodeType===9?c.body:c.nodeName==="HTML"?c.ownerDocument.body:c,s.appendChild(r),c=c._reactRootContainer,c!=null||s.onclick!==null||(s.onclick=Up));else if(d!==4&&(d===27&&io(r.type)&&(c=r.stateNode,s=null),r=r.child,r!==null))for(m0(r,s,c),r=r.sibling;r!==null;)m0(r,s,c),r=r.sibling}function Pp(r,s,c){var d=r.tag;if(d===5||d===6)r=r.stateNode,s?c.insertBefore(r,s):c.appendChild(r);else if(d!==4&&(d===27&&io(r.type)&&(c=r.stateNode),r=r.child,r!==null))for(Pp(r,s,c),r=r.sibling;r!==null;)Pp(r,s,c),r=r.sibling}function Y_(r){var s=r.stateNode,c=r.memoizedProps;try{for(var d=r.type,g=s.attributes;g.length;)s.removeAttributeNode(g[0]);Cn(s,d,c),s[Vt]=r,s[Dn]=c}catch(x){wt(r,r.return,x)}}var $a=!1,Kt=!1,g0=!1,K_=typeof WeakSet=="function"?WeakSet:Set,pn=null;function o8(r,s){if(r=r.containerInfo,B0=Qp,r=Jh(r),cc(r)){if("selectionStart"in r)var c={start:r.selectionStart,end:r.selectionEnd};else e:{c=(c=r.ownerDocument)&&c.defaultView||window;var d=c.getSelection&&c.getSelection();if(d&&d.rangeCount!==0){c=d.anchorNode;var g=d.anchorOffset,x=d.focusNode;d=d.focusOffset;try{c.nodeType,x.nodeType}catch{c=null;break e}var M=0,P=-1,I=-1,Z=0,le=0,de=r,J=null;t:for(;;){for(var ee;de!==c||g!==0&&de.nodeType!==3||(P=M+g),de!==x||d!==0&&de.nodeType!==3||(I=M+d),de.nodeType===3&&(M+=de.nodeValue.length),(ee=de.firstChild)!==null;)J=de,de=ee;for(;;){if(de===r)break t;if(J===c&&++Z===g&&(P=M),J===x&&++le===d&&(I=M),(ee=de.nextSibling)!==null)break;de=J,J=de.parentNode}de=ee}c=P===-1||I===-1?null:{start:P,end:I}}else c=null}c=c||{start:0,end:0}}else c=null;for(V0={focusedElem:r,selectionRange:c},Qp=!1,pn=s;pn!==null;)if(s=pn,r=s.child,(s.subtreeFlags&1024)!==0&&r!==null)r.return=s,pn=r;else for(;pn!==null;){switch(s=pn,x=s.alternate,r=s.flags,s.tag){case 0:break;case 11:case 15:break;case 1:if((r&1024)!==0&&x!==null){r=void 0,c=s,g=x.memoizedProps,x=x.memoizedState,d=c.stateNode;try{var He=rl(c.type,g,c.elementType===c.type);r=d.getSnapshotBeforeUpdate(He,x),d.__reactInternalSnapshotBeforeUpdate=r}catch(ze){wt(c,c.return,ze)}}break;case 3:if((r&1024)!==0){if(r=s.stateNode.containerInfo,c=r.nodeType,c===9)U0(r);else if(c===1)switch(r.nodeName){case"HEAD":case"HTML":case"BODY":U0(r);break;default:r.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((r&1024)!==0)throw Error(i(163))}if(r=s.sibling,r!==null){r.return=s.return,pn=r;break}pn=s.return}}function W_(r,s,c){var d=c.flags;switch(c.tag){case 0:case 11:case 15:Xs(r,c),d&4&&$f(5,c);break;case 1:if(Xs(r,c),d&4)if(r=c.stateNode,s===null)try{r.componentDidMount()}catch(M){wt(c,c.return,M)}else{var g=rl(c.type,s.memoizedProps);s=s.memoizedState;try{r.componentDidUpdate(g,s,r.__reactInternalSnapshotBeforeUpdate)}catch(M){wt(c,c.return,M)}}d&64&&q_(c),d&512&&Bf(c,c.return);break;case 3:if(Xs(r,c),d&64&&(r=c.updateQueue,r!==null)){if(s=null,c.child!==null)switch(c.child.tag){case 27:case 5:s=c.child.stateNode;break;case 1:s=c.child.stateNode}try{Ge(r,s)}catch(M){wt(c,c.return,M)}}break;case 27:s===null&&d&4&&Y_(c);case 26:case 5:Xs(r,c),s===null&&d&4&&F_(c),d&512&&Bf(c,c.return);break;case 12:Xs(r,c);break;case 13:Xs(r,c),d&4&&Z_(r,c),d&64&&(r=c.memoizedState,r!==null&&(r=r.dehydrated,r!==null&&(c=g8.bind(null,c),L8(r,c))));break;case 22:if(d=c.memoizedState!==null||$a,!d){s=s!==null&&s.memoizedState!==null||Kt,g=$a;var x=Kt;$a=d,(Kt=s)&&!x?Qs(r,c,(c.subtreeFlags&8772)!==0):Xs(r,c),$a=g,Kt=x}break;case 30:break;default:Xs(r,c)}}function X_(r){var s=r.alternate;s!==null&&(r.alternate=null,X_(s)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(s=r.stateNode,s!==null&&vs(s)),r.stateNode=null,r.return=null,r.dependencies=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.stateNode=null,r.updateQueue=null}var Dt=null,li=!1;function Ba(r,s,c){for(c=c.child;c!==null;)Q_(r,s,c),c=c.sibling}function Q_(r,s,c){if(rn&&typeof rn.onCommitFiberUnmount=="function")try{rn.onCommitFiberUnmount(wn,c)}catch{}switch(c.tag){case 26:Kt||Kr(c,s),Ba(r,s,c),c.memoizedState?c.memoizedState.count--:c.stateNode&&(c=c.stateNode,c.parentNode.removeChild(c));break;case 27:Kt||Kr(c,s);var d=Dt,g=li;io(c.type)&&(Dt=c.stateNode,li=!1),Ba(r,s,c),Wf(c.stateNode),Dt=d,li=g;break;case 5:Kt||Kr(c,s);case 6:if(d=Dt,g=li,Dt=null,Ba(r,s,c),Dt=d,li=g,Dt!==null)if(li)try{(Dt.nodeType===9?Dt.body:Dt.nodeName==="HTML"?Dt.ownerDocument.body:Dt).removeChild(c.stateNode)}catch(x){wt(c,s,x)}else try{Dt.removeChild(c.stateNode)}catch(x){wt(c,s,x)}break;case 18:Dt!==null&&(li?(r=Dt,$E(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,c.stateNode),id(r)):$E(Dt,c.stateNode));break;case 4:d=Dt,g=li,Dt=c.stateNode.containerInfo,li=!0,Ba(r,s,c),Dt=d,li=g;break;case 0:case 11:case 14:case 15:Kt||Ws(2,c,s),Kt||Ws(4,c,s),Ba(r,s,c);break;case 1:Kt||(Kr(c,s),d=c.stateNode,typeof d.componentWillUnmount=="function"&&U_(c,s,d)),Ba(r,s,c);break;case 21:Ba(r,s,c);break;case 22:Kt=(d=Kt)||c.memoizedState!==null,Ba(r,s,c),Kt=d;break;default:Ba(r,s,c)}}function Z_(r,s){if(s.memoizedState===null&&(r=s.alternate,r!==null&&(r=r.memoizedState,r!==null&&(r=r.dehydrated,r!==null))))try{id(r)}catch(c){wt(s,s.return,c)}}function l8(r){switch(r.tag){case 13:case 19:var s=r.stateNode;return s===null&&(s=r.stateNode=new K_),s;case 22:return r=r.stateNode,s=r._retryCache,s===null&&(s=r._retryCache=new K_),s;default:throw Error(i(435,r.tag))}}function v0(r,s){var c=l8(r);s.forEach(function(d){var g=v8.bind(null,r,d);c.has(d)||(c.add(d),d.then(g,g))})}function xi(r,s){var c=s.deletions;if(c!==null)for(var d=0;d<c.length;d++){var g=c[d],x=r,M=s,P=M;e:for(;P!==null;){switch(P.tag){case 27:if(io(P.type)){Dt=P.stateNode,li=!1;break e}break;case 5:Dt=P.stateNode,li=!1;break e;case 3:case 4:Dt=P.stateNode.containerInfo,li=!0;break e}P=P.return}if(Dt===null)throw Error(i(160));Q_(x,M,g),Dt=null,li=!1,x=g.alternate,x!==null&&(x.return=null),g.return=null}if(s.subtreeFlags&13878)for(s=s.child;s!==null;)J_(s,r),s=s.sibling}var _r=null;function J_(r,s){var c=r.alternate,d=r.flags;switch(r.tag){case 0:case 11:case 14:case 15:xi(s,r),wi(r),d&4&&(Ws(3,r,r.return),$f(3,r),Ws(5,r,r.return));break;case 1:xi(s,r),wi(r),d&512&&(Kt||c===null||Kr(c,c.return)),d&64&&$a&&(r=r.updateQueue,r!==null&&(d=r.callbacks,d!==null&&(c=r.shared.hiddenCallbacks,r.shared.hiddenCallbacks=c===null?d:c.concat(d))));break;case 26:var g=_r;if(xi(s,r),wi(r),d&512&&(Kt||c===null||Kr(c,c.return)),d&4){var x=c!==null?c.memoizedState:null;if(d=r.memoizedState,c===null)if(d===null)if(r.stateNode===null){e:{d=r.type,c=r.memoizedProps,g=g.ownerDocument||g;t:switch(d){case"title":x=g.getElementsByTagName("title")[0],(!x||x[zi]||x[Vt]||x.namespaceURI==="http://www.w3.org/2000/svg"||x.hasAttribute("itemprop"))&&(x=g.createElement(d),g.head.insertBefore(x,g.querySelector("head > title"))),Cn(x,d,c),x[Vt]=r,Mt(x),d=x;break e;case"link":var M=YE("link","href",g).get(d+(c.href||""));if(M){for(var P=0;P<M.length;P++)if(x=M[P],x.getAttribute("href")===(c.href==null||c.href===""?null:c.href)&&x.getAttribute("rel")===(c.rel==null?null:c.rel)&&x.getAttribute("title")===(c.title==null?null:c.title)&&x.getAttribute("crossorigin")===(c.crossOrigin==null?null:c.crossOrigin)){M.splice(P,1);break t}}x=g.createElement(d),Cn(x,d,c),g.head.appendChild(x);break;case"meta":if(M=YE("meta","content",g).get(d+(c.content||""))){for(P=0;P<M.length;P++)if(x=M[P],x.getAttribute("content")===(c.content==null?null:""+c.content)&&x.getAttribute("name")===(c.name==null?null:c.name)&&x.getAttribute("property")===(c.property==null?null:c.property)&&x.getAttribute("http-equiv")===(c.httpEquiv==null?null:c.httpEquiv)&&x.getAttribute("charset")===(c.charSet==null?null:c.charSet)){M.splice(P,1);break t}}x=g.createElement(d),Cn(x,d,c),g.head.appendChild(x);break;default:throw Error(i(468,d))}x[Vt]=r,Mt(x),d=x}r.stateNode=d}else KE(g,r.type,r.stateNode);else r.stateNode=GE(g,d,r.memoizedProps);else x!==d?(x===null?c.stateNode!==null&&(c=c.stateNode,c.parentNode.removeChild(c)):x.count--,d===null?KE(g,r.type,r.stateNode):GE(g,d,r.memoizedProps)):d===null&&r.stateNode!==null&&h0(r,r.memoizedProps,c.memoizedProps)}break;case 27:xi(s,r),wi(r),d&512&&(Kt||c===null||Kr(c,c.return)),c!==null&&d&4&&h0(r,r.memoizedProps,c.memoizedProps);break;case 5:if(xi(s,r),wi(r),d&512&&(Kt||c===null||Kr(c,c.return)),r.flags&32){g=r.stateNode;try{dr(g,"")}catch(ee){wt(r,r.return,ee)}}d&4&&r.stateNode!=null&&(g=r.memoizedProps,h0(r,g,c!==null?c.memoizedProps:g)),d&1024&&(g0=!0);break;case 6:if(xi(s,r),wi(r),d&4){if(r.stateNode===null)throw Error(i(162));d=r.memoizedProps,c=r.stateNode;try{c.nodeValue=d}catch(ee){wt(r,r.return,ee)}}break;case 3:if(Kp=null,g=_r,_r=Gp(s.containerInfo),xi(s,r),_r=g,wi(r),d&4&&c!==null&&c.memoizedState.isDehydrated)try{id(s.containerInfo)}catch(ee){wt(r,r.return,ee)}g0&&(g0=!1,eE(r));break;case 4:d=_r,_r=Gp(r.stateNode.containerInfo),xi(s,r),wi(r),_r=d;break;case 12:xi(s,r),wi(r);break;case 13:xi(s,r),wi(r),r.child.flags&8192&&r.memoizedState!==null!=(c!==null&&c.memoizedState!==null)&&(E0=ct()),d&4&&(d=r.updateQueue,d!==null&&(r.updateQueue=null,v0(r,d)));break;case 22:g=r.memoizedState!==null;var I=c!==null&&c.memoizedState!==null,Z=$a,le=Kt;if($a=Z||g,Kt=le||I,xi(s,r),Kt=le,$a=Z,wi(r),d&8192)e:for(s=r.stateNode,s._visibility=g?s._visibility&-2:s._visibility|1,g&&(c===null||I||$a||Kt||al(r)),c=null,s=r;;){if(s.tag===5||s.tag===26){if(c===null){I=c=s;try{if(x=I.stateNode,g)M=x.style,typeof M.setProperty=="function"?M.setProperty("display","none","important"):M.display="none";else{P=I.stateNode;var de=I.memoizedProps.style,J=de!=null&&de.hasOwnProperty("display")?de.display:null;P.style.display=J==null||typeof J=="boolean"?"":(""+J).trim()}}catch(ee){wt(I,I.return,ee)}}}else if(s.tag===6){if(c===null){I=s;try{I.stateNode.nodeValue=g?"":I.memoizedProps}catch(ee){wt(I,I.return,ee)}}}else if((s.tag!==22&&s.tag!==23||s.memoizedState===null||s===r)&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===r)break e;for(;s.sibling===null;){if(s.return===null||s.return===r)break e;c===s&&(c=null),s=s.return}c===s&&(c=null),s.sibling.return=s.return,s=s.sibling}d&4&&(d=r.updateQueue,d!==null&&(c=d.retryQueue,c!==null&&(d.retryQueue=null,v0(r,c))));break;case 19:xi(s,r),wi(r),d&4&&(d=r.updateQueue,d!==null&&(r.updateQueue=null,v0(r,d)));break;case 30:break;case 21:break;default:xi(s,r),wi(r)}}function wi(r){var s=r.flags;if(s&2){try{for(var c,d=r.return;d!==null;){if(G_(d)){c=d;break}d=d.return}if(c==null)throw Error(i(160));switch(c.tag){case 27:var g=c.stateNode,x=p0(r);Pp(r,x,g);break;case 5:var M=c.stateNode;c.flags&32&&(dr(M,""),c.flags&=-33);var P=p0(r);Pp(r,P,M);break;case 3:case 4:var I=c.stateNode.containerInfo,Z=p0(r);m0(r,Z,I);break;default:throw Error(i(161))}}catch(le){wt(r,r.return,le)}r.flags&=-3}s&4096&&(r.flags&=-4097)}function eE(r){if(r.subtreeFlags&1024)for(r=r.child;r!==null;){var s=r;eE(s),s.tag===5&&s.flags&1024&&s.stateNode.reset(),r=r.sibling}}function Xs(r,s){if(s.subtreeFlags&8772)for(s=s.child;s!==null;)W_(r,s.alternate,s),s=s.sibling}function al(r){for(r=r.child;r!==null;){var s=r;switch(s.tag){case 0:case 11:case 14:case 15:Ws(4,s,s.return),al(s);break;case 1:Kr(s,s.return);var c=s.stateNode;typeof c.componentWillUnmount=="function"&&U_(s,s.return,c),al(s);break;case 27:Wf(s.stateNode);case 26:case 5:Kr(s,s.return),al(s);break;case 22:s.memoizedState===null&&al(s);break;case 30:al(s);break;default:al(s)}r=r.sibling}}function Qs(r,s,c){for(c=c&&(s.subtreeFlags&8772)!==0,s=s.child;s!==null;){var d=s.alternate,g=r,x=s,M=x.flags;switch(x.tag){case 0:case 11:case 15:Qs(g,x,c),$f(4,x);break;case 1:if(Qs(g,x,c),d=x,g=d.stateNode,typeof g.componentDidMount=="function")try{g.componentDidMount()}catch(Z){wt(d,d.return,Z)}if(d=x,g=d.updateQueue,g!==null){var P=d.stateNode;try{var I=g.shared.hiddenCallbacks;if(I!==null)for(g.shared.hiddenCallbacks=null,g=0;g<I.length;g++)Re(I[g],P)}catch(Z){wt(d,d.return,Z)}}c&&M&64&&q_(x),Bf(x,x.return);break;case 27:Y_(x);case 26:case 5:Qs(g,x,c),c&&d===null&&M&4&&F_(x),Bf(x,x.return);break;case 12:Qs(g,x,c);break;case 13:Qs(g,x,c),c&&M&4&&Z_(g,x);break;case 22:x.memoizedState===null&&Qs(g,x,c),Bf(x,x.return);break;case 30:break;default:Qs(g,x,c)}s=s.sibling}}function y0(r,s){var c=null;r!==null&&r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(c=r.memoizedState.cachePool.pool),r=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(r=s.memoizedState.cachePool.pool),r!==c&&(r!=null&&r.refCount++,c!=null&&ja(c))}function b0(r,s){r=null,s.alternate!==null&&(r=s.alternate.memoizedState.cache),s=s.memoizedState.cache,s!==r&&(s.refCount++,r!=null&&ja(r))}function Wr(r,s,c,d){if(s.subtreeFlags&10256)for(s=s.child;s!==null;)tE(r,s,c,d),s=s.sibling}function tE(r,s,c,d){var g=s.flags;switch(s.tag){case 0:case 11:case 15:Wr(r,s,c,d),g&2048&&$f(9,s);break;case 1:Wr(r,s,c,d);break;case 3:Wr(r,s,c,d),g&2048&&(r=null,s.alternate!==null&&(r=s.alternate.memoizedState.cache),s=s.memoizedState.cache,s!==r&&(s.refCount++,r!=null&&ja(r)));break;case 12:if(g&2048){Wr(r,s,c,d),r=s.stateNode;try{var x=s.memoizedProps,M=x.id,P=x.onPostCommit;typeof P=="function"&&P(M,s.alternate===null?"mount":"update",r.passiveEffectDuration,-0)}catch(I){wt(s,s.return,I)}}else Wr(r,s,c,d);break;case 13:Wr(r,s,c,d);break;case 23:break;case 22:x=s.stateNode,M=s.alternate,s.memoizedState!==null?x._visibility&2?Wr(r,s,c,d):Vf(r,s):x._visibility&2?Wr(r,s,c,d):(x._visibility|=2,Nc(r,s,c,d,(s.subtreeFlags&10256)!==0)),g&2048&&y0(M,s);break;case 24:Wr(r,s,c,d),g&2048&&b0(s.alternate,s);break;default:Wr(r,s,c,d)}}function Nc(r,s,c,d,g){for(g=g&&(s.subtreeFlags&10256)!==0,s=s.child;s!==null;){var x=r,M=s,P=c,I=d,Z=M.flags;switch(M.tag){case 0:case 11:case 15:Nc(x,M,P,I,g),$f(8,M);break;case 23:break;case 22:var le=M.stateNode;M.memoizedState!==null?le._visibility&2?Nc(x,M,P,I,g):Vf(x,M):(le._visibility|=2,Nc(x,M,P,I,g)),g&&Z&2048&&y0(M.alternate,M);break;case 24:Nc(x,M,P,I,g),g&&Z&2048&&b0(M.alternate,M);break;default:Nc(x,M,P,I,g)}s=s.sibling}}function Vf(r,s){if(s.subtreeFlags&10256)for(s=s.child;s!==null;){var c=r,d=s,g=d.flags;switch(d.tag){case 22:Vf(c,d),g&2048&&y0(d.alternate,d);break;case 24:Vf(c,d),g&2048&&b0(d.alternate,d);break;default:Vf(c,d)}s=s.sibling}}var Hf=8192;function jc(r){if(r.subtreeFlags&Hf)for(r=r.child;r!==null;)nE(r),r=r.sibling}function nE(r){switch(r.tag){case 26:jc(r),r.flags&Hf&&r.memoizedState!==null&&Y8(_r,r.memoizedState,r.memoizedProps);break;case 5:jc(r);break;case 3:case 4:var s=_r;_r=Gp(r.stateNode.containerInfo),jc(r),_r=s;break;case 22:r.memoizedState===null&&(s=r.alternate,s!==null&&s.memoizedState!==null?(s=Hf,Hf=16777216,jc(r),Hf=s):jc(r));break;default:jc(r)}}function iE(r){var s=r.alternate;if(s!==null&&(r=s.child,r!==null)){s.child=null;do s=r.sibling,r.sibling=null,r=s;while(r!==null)}}function qf(r){var s=r.deletions;if((r.flags&16)!==0){if(s!==null)for(var c=0;c<s.length;c++){var d=s[c];pn=d,aE(d,r)}iE(r)}if(r.subtreeFlags&10256)for(r=r.child;r!==null;)rE(r),r=r.sibling}function rE(r){switch(r.tag){case 0:case 11:case 15:qf(r),r.flags&2048&&Ws(9,r,r.return);break;case 3:qf(r);break;case 12:qf(r);break;case 22:var s=r.stateNode;r.memoizedState!==null&&s._visibility&2&&(r.return===null||r.return.tag!==13)?(s._visibility&=-3,Lp(r)):qf(r);break;default:qf(r)}}function Lp(r){var s=r.deletions;if((r.flags&16)!==0){if(s!==null)for(var c=0;c<s.length;c++){var d=s[c];pn=d,aE(d,r)}iE(r)}for(r=r.child;r!==null;){switch(s=r,s.tag){case 0:case 11:case 15:Ws(8,s,s.return),Lp(s);break;case 22:c=s.stateNode,c._visibility&2&&(c._visibility&=-3,Lp(s));break;default:Lp(s)}r=r.sibling}}function aE(r,s){for(;pn!==null;){var c=pn;switch(c.tag){case 0:case 11:case 15:Ws(8,c,s);break;case 23:case 22:if(c.memoizedState!==null&&c.memoizedState.cachePool!==null){var d=c.memoizedState.cachePool.pool;d!=null&&d.refCount++}break;case 24:ja(c.memoizedState.cache)}if(d=c.child,d!==null)d.return=c,pn=d;else e:for(c=r;pn!==null;){d=pn;var g=d.sibling,x=d.return;if(X_(d),d===c){pn=null;break e}if(g!==null){g.return=x,pn=g;break e}pn=x}}}var c8={getCacheForType:function(r){var s=fn(Rt),c=s.data.get(r);return c===void 0&&(c=r(),s.data.set(r,c)),c}},u8=typeof WeakMap=="function"?WeakMap:Map,pt=0,At=null,Ze=null,rt=0,mt=0,_i=null,Zs=!1,Dc=!1,x0=!1,Va=0,Ut=0,Js=0,sl=0,w0=0,Fi=0,Pc=0,Uf=null,ci=null,_0=!1,E0=0,kp=1/0,Rp=null,eo=null,An=0,to=null,Lc=null,kc=0,S0=0,T0=null,sE=null,Ff=0,A0=null;function Ei(){if((pt&2)!==0&&rt!==0)return rt&-rt;if(q.T!==null){var r=Vs;return r!==0?r:P0()}return Sh()}function oE(){Fi===0&&(Fi=(rt&536870912)===0||nt?_h():536870912);var r=Ui.current;return r!==null&&(r.flags|=32),Fi}function Si(r,s,c){(r===At&&(mt===2||mt===9)||r.cancelPendingCommit!==null)&&(Rc(r,0),no(r,rt,Fi,!1)),ms(r,c),((pt&2)===0||r!==At)&&(r===At&&((pt&2)===0&&(sl|=c),Ut===4&&no(r,rt,Fi,!1)),Xr(r))}function lE(r,s,c){if((pt&6)!==0)throw Error(i(327));var d=!c&&(s&124)===0&&(s&r.expiredLanes)===0||ko(r,s),g=d?h8(r,s):M0(r,s,!0),x=d;do{if(g===0){Dc&&!d&&no(r,s,0,!1);break}else{if(c=r.current.alternate,x&&!f8(c)){g=M0(r,s,!1),x=!1;continue}if(g===2){if(x=s,r.errorRecoveryDisabledLanes&x)var M=0;else M=r.pendingLanes&-536870913,M=M!==0?M:M&536870912?536870912:0;if(M!==0){s=M;e:{var P=r;g=Uf;var I=P.current.memoizedState.isDehydrated;if(I&&(Rc(P,M).flags|=256),M=M0(P,M,!1),M!==2){if(x0&&!I){P.errorRecoveryDisabledLanes|=x,sl|=x,g=4;break e}x=ci,ci=g,x!==null&&(ci===null?ci=x:ci.push.apply(ci,x))}g=M}if(x=!1,g!==2)continue}}if(g===1){Rc(r,0),no(r,s,0,!0);break}e:{switch(d=r,x=g,x){case 0:case 1:throw Error(i(345));case 4:if((s&4194048)!==s)break;case 6:no(d,s,Fi,!Zs);break e;case 2:ci=null;break;case 3:case 5:break;default:throw Error(i(329))}if((s&62914560)===s&&(g=E0+300-ct(),10<g)){if(no(d,s,Fi,!Zs),Fl(d,0,!0)!==0)break e;d.timeoutHandle=zE(cE.bind(null,d,c,ci,Rp,_0,s,Fi,sl,Pc,Zs,x,2,-0,0),g);break e}cE(d,c,ci,Rp,_0,s,Fi,sl,Pc,Zs,x,0,-0,0)}}break}while(!0);Xr(r)}function cE(r,s,c,d,g,x,M,P,I,Z,le,de,J,ee){if(r.timeoutHandle=-1,de=s.subtreeFlags,(de&8192||(de&16785408)===16785408)&&(Zf={stylesheets:null,count:0,unsuspend:G8},nE(s),de=K8(),de!==null)){r.cancelPendingCommit=de(gE.bind(null,r,s,x,c,d,g,M,P,I,le,1,J,ee)),no(r,x,M,!Z);return}gE(r,s,x,c,d,g,M,P,I)}function f8(r){for(var s=r;;){var c=s.tag;if((c===0||c===11||c===15)&&s.flags&16384&&(c=s.updateQueue,c!==null&&(c=c.stores,c!==null)))for(var d=0;d<c.length;d++){var g=c[d],x=g.getSnapshot;g=g.value;try{if(!un(x(),g))return!1}catch{return!1}}if(c=s.child,s.subtreeFlags&16384&&c!==null)c.return=s,s=c;else{if(s===r)break;for(;s.sibling===null;){if(s.return===null||s.return===r)return!0;s=s.return}s.sibling.return=s.return,s=s.sibling}}return!0}function no(r,s,c,d){s&=~w0,s&=~sl,r.suspendedLanes|=s,r.pingedLanes&=~s,d&&(r.warmLanes|=s),d=r.expirationTimes;for(var g=s;0<g;){var x=31-Vn(g),M=1<<x;d[x]=-1,g&=~M}c!==0&&Uu(r,c,s)}function zp(){return(pt&6)===0?(Gf(0),!1):!0}function C0(){if(Ze!==null){if(mt===0)var r=Ze.return;else r=Ze,br=Ma=null,In(r),Oc=null,Rf=0,r=Ze;for(;r!==null;)H_(r.alternate,r),r=r.return;Ze=null}}function Rc(r,s){var c=r.timeoutHandle;c!==-1&&(r.timeoutHandle=-1,M8(c)),c=r.cancelPendingCommit,c!==null&&(r.cancelPendingCommit=null,c()),C0(),At=r,Ze=c=pr(r.current,null),rt=s,mt=0,_i=null,Zs=!1,Dc=ko(r,s),x0=!1,Pc=Fi=w0=sl=Js=Ut=0,ci=Uf=null,_0=!1,(s&8)!==0&&(s|=s&32);var d=r.entangledLanes;if(d!==0)for(r=r.entanglements,d&=s;0<d;){var g=31-Vn(d),x=1<<g;s|=r[g],d&=~x}return Va=s,hc(),c}function uE(r,s){be=null,q.H=Sp,s===il||s===Pa?(s=y(),mt=3):s===Sf?(s=y(),mt=4):mt=s===O_?8:s!==null&&typeof s=="object"&&typeof s.then=="function"?6:1,_i=s,Ze===null&&(Ut=1,Mp(r,ii(s,r.current)))}function fE(){var r=q.H;return q.H=Sp,r===null?Sp:r}function dE(){var r=q.A;return q.A=c8,r}function O0(){Ut=4,Zs||(rt&4194048)!==rt&&Ui.current!==null||(Dc=!0),(Js&134217727)===0&&(sl&134217727)===0||At===null||no(At,rt,Fi,!1)}function M0(r,s,c){var d=pt;pt|=2;var g=fE(),x=dE();(At!==r||rt!==s)&&(Rp=null,Rc(r,s)),s=!1;var M=Ut;e:do try{if(mt!==0&&Ze!==null){var P=Ze,I=_i;switch(mt){case 8:C0(),M=6;break e;case 3:case 2:case 9:case 6:Ui.current===null&&(s=!0);var Z=mt;if(mt=0,_i=null,zc(r,P,I,Z),c&&Dc){M=0;break e}break;default:Z=mt,mt=0,_i=null,zc(r,P,I,Z)}}d8(),M=Ut;break}catch(le){uE(r,le)}while(!0);return s&&r.shellSuspendCounter++,br=Ma=null,pt=d,q.H=g,q.A=x,Ze===null&&(At=null,rt=0,hc()),M}function d8(){for(;Ze!==null;)hE(Ze)}function h8(r,s){var c=pt;pt|=2;var d=fE(),g=dE();At!==r||rt!==s?(Rp=null,kp=ct()+500,Rc(r,s)):Dc=ko(r,s);e:do try{if(mt!==0&&Ze!==null){s=Ze;var x=_i;t:switch(mt){case 1:mt=0,_i=null,zc(r,s,x,1);break;case 2:case 9:if(pp(x)){mt=0,_i=null,pE(s);break}s=function(){mt!==2&&mt!==9||At!==r||(mt=7),Xr(r)},x.then(s,s);break e;case 3:mt=7;break e;case 4:mt=5;break e;case 7:pp(x)?(mt=0,_i=null,pE(s)):(mt=0,_i=null,zc(r,s,x,7));break;case 5:var M=null;switch(Ze.tag){case 26:M=Ze.memoizedState;case 5:case 27:var P=Ze;if(!M||WE(M)){mt=0,_i=null;var I=P.sibling;if(I!==null)Ze=I;else{var Z=P.return;Z!==null?(Ze=Z,Ip(Z)):Ze=null}break t}}mt=0,_i=null,zc(r,s,x,5);break;case 6:mt=0,_i=null,zc(r,s,x,6);break;case 8:C0(),Ut=6;break e;default:throw Error(i(462))}}p8();break}catch(le){uE(r,le)}while(!0);return br=Ma=null,q.H=d,q.A=g,pt=c,Ze!==null?0:(At=null,rt=0,hc(),Ut)}function p8(){for(;Ze!==null&&!tt();)hE(Ze)}function hE(r){var s=B_(r.alternate,r,Va);r.memoizedProps=r.pendingProps,s===null?Ip(r):Ze=s}function pE(r){var s=r,c=s.alternate;switch(s.tag){case 15:case 0:s=L_(c,s,s.pendingProps,s.type,void 0,rt);break;case 11:s=L_(c,s,s.pendingProps,s.type.render,s.ref,rt);break;case 5:In(s);default:H_(c,s),s=Ze=sp(s,Va),s=B_(c,s,Va)}r.memoizedProps=r.pendingProps,s===null?Ip(r):Ze=s}function zc(r,s,c,d){br=Ma=null,In(s),Oc=null,Rf=0;var g=s.return;try{if(i8(r,g,s,c,rt)){Ut=1,Mp(r,ii(c,r.current)),Ze=null;return}}catch(x){if(g!==null)throw Ze=g,x;Ut=1,Mp(r,ii(c,r.current)),Ze=null;return}s.flags&32768?(nt||d===1?r=!0:Dc||(rt&536870912)!==0?r=!1:(Zs=r=!0,(d===2||d===9||d===3||d===6)&&(d=Ui.current,d!==null&&d.tag===13&&(d.flags|=16384))),mE(s,r)):Ip(s)}function Ip(r){var s=r;do{if((s.flags&32768)!==0){mE(s,Zs);return}r=s.return;var c=a8(s.alternate,s,Va);if(c!==null){Ze=c;return}if(s=s.sibling,s!==null){Ze=s;return}Ze=s=r}while(s!==null);Ut===0&&(Ut=5)}function mE(r,s){do{var c=s8(r.alternate,r);if(c!==null){c.flags&=32767,Ze=c;return}if(c=r.return,c!==null&&(c.flags|=32768,c.subtreeFlags=0,c.deletions=null),!s&&(r=r.sibling,r!==null)){Ze=r;return}Ze=r=c}while(r!==null);Ut=6,Ze=null}function gE(r,s,c,d,g,x,M,P,I){r.cancelPendingCommit=null;do $p();while(An!==0);if((pt&6)!==0)throw Error(i(327));if(s!==null){if(s===r.current)throw Error(i(177));if(x=s.lanes|s.childLanes,x|=pf,Gl(r,c,x,M,P,I),r===At&&(Ze=At=null,rt=0),Lc=s,to=r,kc=c,S0=x,T0=g,sE=d,(s.subtreeFlags&10256)!==0||(s.flags&10256)!==0?(r.callbackNode=null,r.callbackPriority=0,y8(cr,function(){return wE(),null})):(r.callbackNode=null,r.callbackPriority=0),d=(s.flags&13878)!==0,(s.subtreeFlags&13878)!==0||d){d=q.T,q.T=null,g=te.p,te.p=2,M=pt,pt|=4;try{o8(r,s,c)}finally{pt=M,te.p=g,q.T=d}}An=1,vE(),yE(),bE()}}function vE(){if(An===1){An=0;var r=to,s=Lc,c=(s.flags&13878)!==0;if((s.subtreeFlags&13878)!==0||c){c=q.T,q.T=null;var d=te.p;te.p=2;var g=pt;pt|=4;try{J_(s,r);var x=V0,M=Jh(r.containerInfo),P=x.focusedElem,I=x.selectionRange;if(M!==P&&P&&P.ownerDocument&&Zh(P.ownerDocument.documentElement,P)){if(I!==null&&cc(P)){var Z=I.start,le=I.end;if(le===void 0&&(le=Z),"selectionStart"in P)P.selectionStart=Z,P.selectionEnd=Math.min(le,P.value.length);else{var de=P.ownerDocument||document,J=de&&de.defaultView||window;if(J.getSelection){var ee=J.getSelection(),He=P.textContent.length,ze=Math.min(I.start,He),yt=I.end===void 0?ze:Math.min(I.end,He);!ee.extend&&ze>yt&&(M=yt,yt=ze,ze=M);var W=Fn(P,ze),G=Fn(P,yt);if(W&&G&&(ee.rangeCount!==1||ee.anchorNode!==W.node||ee.anchorOffset!==W.offset||ee.focusNode!==G.node||ee.focusOffset!==G.offset)){var Q=de.createRange();Q.setStart(W.node,W.offset),ee.removeAllRanges(),ze>yt?(ee.addRange(Q),ee.extend(G.node,G.offset)):(Q.setEnd(G.node,G.offset),ee.addRange(Q))}}}}for(de=[],ee=P;ee=ee.parentNode;)ee.nodeType===1&&de.push({element:ee,left:ee.scrollLeft,top:ee.scrollTop});for(typeof P.focus=="function"&&P.focus(),P=0;P<de.length;P++){var ue=de[P];ue.element.scrollLeft=ue.left,ue.element.scrollTop=ue.top}}Qp=!!B0,V0=B0=null}finally{pt=g,te.p=d,q.T=c}}r.current=s,An=2}}function yE(){if(An===2){An=0;var r=to,s=Lc,c=(s.flags&8772)!==0;if((s.subtreeFlags&8772)!==0||c){c=q.T,q.T=null;var d=te.p;te.p=2;var g=pt;pt|=4;try{W_(r,s.alternate,s)}finally{pt=g,te.p=d,q.T=c}}An=3}}function bE(){if(An===4||An===3){An=0,at();var r=to,s=Lc,c=kc,d=sE;(s.subtreeFlags&10256)!==0||(s.flags&10256)!==0?An=5:(An=0,Lc=to=null,xE(r,r.pendingLanes));var g=r.pendingLanes;if(g===0&&(eo=null),Yu(c),s=s.stateNode,rn&&typeof rn.onCommitFiberRoot=="function")try{rn.onCommitFiberRoot(wn,s,void 0,(s.current.flags&128)===128)}catch{}if(d!==null){s=q.T,g=te.p,te.p=2,q.T=null;try{for(var x=r.onRecoverableError,M=0;M<d.length;M++){var P=d[M];x(P.value,{componentStack:P.stack})}}finally{q.T=s,te.p=g}}(kc&3)!==0&&$p(),Xr(r),g=r.pendingLanes,(c&4194090)!==0&&(g&42)!==0?r===A0?Ff++:(Ff=0,A0=r):Ff=0,Gf(0)}}function xE(r,s){(r.pooledCacheLanes&=s)===0&&(s=r.pooledCache,s!=null&&(r.pooledCache=null,ja(s)))}function $p(r){return vE(),yE(),bE(),wE()}function wE(){if(An!==5)return!1;var r=to,s=S0;S0=0;var c=Yu(kc),d=q.T,g=te.p;try{te.p=32>c?32:c,q.T=null,c=T0,T0=null;var x=to,M=kc;if(An=0,Lc=to=null,kc=0,(pt&6)!==0)throw Error(i(331));var P=pt;if(pt|=4,rE(x.current),tE(x,x.current,M,c),pt=P,Gf(0,!1),rn&&typeof rn.onPostCommitFiberRoot=="function")try{rn.onPostCommitFiberRoot(wn,x)}catch{}return!0}finally{te.p=g,q.T=d,xE(r,s)}}function _E(r,s,c){s=ii(c,s),s=r0(r.stateNode,s,2),r=fe(r,s,2),r!==null&&(ms(r,2),Xr(r))}function wt(r,s,c){if(r.tag===3)_E(r,r,c);else for(;s!==null;){if(s.tag===3){_E(s,r,c);break}else if(s.tag===1){var d=s.stateNode;if(typeof s.type.getDerivedStateFromError=="function"||typeof d.componentDidCatch=="function"&&(eo===null||!eo.has(d))){r=ii(c,r),c=A_(2),d=fe(s,c,2),d!==null&&(C_(c,d,s,r),ms(d,2),Xr(d));break}}s=s.return}}function N0(r,s,c){var d=r.pingCache;if(d===null){d=r.pingCache=new u8;var g=new Set;d.set(s,g)}else g=d.get(s),g===void 0&&(g=new Set,d.set(s,g));g.has(c)||(x0=!0,g.add(c),r=m8.bind(null,r,s,c),s.then(r,r))}function m8(r,s,c){var d=r.pingCache;d!==null&&d.delete(s),r.pingedLanes|=r.suspendedLanes&c,r.warmLanes&=~c,At===r&&(rt&c)===c&&(Ut===4||Ut===3&&(rt&62914560)===rt&&300>ct()-E0?(pt&2)===0&&Rc(r,0):w0|=c,Pc===rt&&(Pc=0)),Xr(r)}function EE(r,s){s===0&&(s=Eh()),r=Rs(r,s),r!==null&&(ms(r,s),Xr(r))}function g8(r){var s=r.memoizedState,c=0;s!==null&&(c=s.retryLane),EE(r,c)}function v8(r,s){var c=0;switch(r.tag){case 13:var d=r.stateNode,g=r.memoizedState;g!==null&&(c=g.retryLane);break;case 19:d=r.stateNode;break;case 22:d=r.stateNode._retryCache;break;default:throw Error(i(314))}d!==null&&d.delete(s),EE(r,c)}function y8(r,s){return Ue(r,s)}var Bp=null,Ic=null,j0=!1,Vp=!1,D0=!1,ol=0;function Xr(r){r!==Ic&&r.next===null&&(Ic===null?Bp=Ic=r:Ic=Ic.next=r),Vp=!0,j0||(j0=!0,x8())}function Gf(r,s){if(!D0&&Vp){D0=!0;do for(var c=!1,d=Bp;d!==null;){if(r!==0){var g=d.pendingLanes;if(g===0)var x=0;else{var M=d.suspendedLanes,P=d.pingedLanes;x=(1<<31-Vn(42|r)+1)-1,x&=g&~(M&~P),x=x&201326741?x&201326741|1:x?x|2:0}x!==0&&(c=!0,CE(d,x))}else x=rt,x=Fl(d,d===At?x:0,d.cancelPendingCommit!==null||d.timeoutHandle!==-1),(x&3)===0||ko(d,x)||(c=!0,CE(d,x));d=d.next}while(c);D0=!1}}function b8(){SE()}function SE(){Vp=j0=!1;var r=0;ol!==0&&(O8()&&(r=ol),ol=0);for(var s=ct(),c=null,d=Bp;d!==null;){var g=d.next,x=TE(d,s);x===0?(d.next=null,c===null?Bp=g:c.next=g,g===null&&(Ic=c)):(c=d,(r!==0||(x&3)!==0)&&(Vp=!0)),d=g}Gf(r)}function TE(r,s){for(var c=r.suspendedLanes,d=r.pingedLanes,g=r.expirationTimes,x=r.pendingLanes&-62914561;0<x;){var M=31-Vn(x),P=1<<M,I=g[M];I===-1?((P&c)===0||(P&d)!==0)&&(g[M]=jv(P,s)):I<=s&&(r.expiredLanes|=P),x&=~P}if(s=At,c=rt,c=Fl(r,r===s?c:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),d=r.callbackNode,c===0||r===s&&(mt===2||mt===9)||r.cancelPendingCommit!==null)return d!==null&&d!==null&&Te(d),r.callbackNode=null,r.callbackPriority=0;if((c&3)===0||ko(r,c)){if(s=c&-c,s===r.callbackPriority)return s;switch(d!==null&&Te(d),Yu(c)){case 2:case 8:c=Ri;break;case 32:c=cr;break;case 268435456:c=Do;break;default:c=cr}return d=AE.bind(null,r),c=Ue(c,d),r.callbackPriority=s,r.callbackNode=c,s}return d!==null&&d!==null&&Te(d),r.callbackPriority=2,r.callbackNode=null,2}function AE(r,s){if(An!==0&&An!==5)return r.callbackNode=null,r.callbackPriority=0,null;var c=r.callbackNode;if($p()&&r.callbackNode!==c)return null;var d=rt;return d=Fl(r,r===At?d:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),d===0?null:(lE(r,d,s),TE(r,ct()),r.callbackNode!=null&&r.callbackNode===c?AE.bind(null,r):null)}function CE(r,s){if($p())return null;lE(r,s,!0)}function x8(){N8(function(){(pt&6)!==0?Ue(Hl,b8):SE()})}function P0(){return ol===0&&(ol=_h()),ol}function OE(r){return r==null||typeof r=="symbol"||typeof r=="boolean"?null:typeof r=="function"?r:ni(""+r)}function ME(r,s){var c=s.ownerDocument.createElement("input");return c.name=s.name,c.value=s.value,r.id&&c.setAttribute("form",r.id),s.parentNode.insertBefore(c,s),r=new FormData(r),c.parentNode.removeChild(c),r}function w8(r,s,c,d,g){if(s==="submit"&&c&&c.stateNode===g){var x=OE((g[Dn]||null).action),M=d.submitter;M&&(s=(s=M[Dn]||null)?OE(s.formAction):M.getAttribute("formAction"),s!==null&&(x=s,M=null));var P=new Os("action","action",null,d,g);r.push({event:P,listeners:[{instance:null,listener:function(){if(d.defaultPrevented){if(ol!==0){var I=M?ME(g,M):new FormData(g);Jv(c,{pending:!0,data:I,method:g.method,action:x},null,I)}}else typeof x=="function"&&(P.preventDefault(),I=M?ME(g,M):new FormData(g),Jv(c,{pending:!0,data:I,method:g.method,action:x},x,I))},currentTarget:g}]})}}for(var L0=0;L0<dc.length;L0++){var k0=dc[L0],_8=k0.toLowerCase(),E8=k0[0].toUpperCase()+k0.slice(1);vi(_8,"on"+E8)}vi(np,"onAnimationEnd"),vi(Vr,"onAnimationIteration"),vi(Hi,"onAnimationStart"),vi("dblclick","onDoubleClick"),vi("focusin","onFocus"),vi("focusout","onBlur"),vi(ip,"onTransitionRun"),vi(Kv,"onTransitionStart"),vi(rp,"onTransitionCancel"),vi(df,"onTransitionEnd"),Ht("onMouseEnter",["mouseout","mouseover"]),Ht("onMouseLeave",["mouseout","mouseover"]),Ht("onPointerEnter",["pointerout","pointerover"]),Ht("onPointerLeave",["pointerout","pointerover"]),Yt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Yt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Yt("onBeforeInput",["compositionend","keypress","textInput","paste"]),Yt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Yt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Yt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Yf="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(" "),S8=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Yf));function NE(r,s){s=(s&4)!==0;for(var c=0;c<r.length;c++){var d=r[c],g=d.event;d=d.listeners;e:{var x=void 0;if(s)for(var M=d.length-1;0<=M;M--){var P=d[M],I=P.instance,Z=P.currentTarget;if(P=P.listener,I!==x&&g.isPropagationStopped())break e;x=P,g.currentTarget=Z;try{x(g)}catch(le){Op(le)}g.currentTarget=null,x=I}else for(M=0;M<d.length;M++){if(P=d[M],I=P.instance,Z=P.currentTarget,P=P.listener,I!==x&&g.isPropagationStopped())break e;x=P,g.currentTarget=Z;try{x(g)}catch(le){Op(le)}g.currentTarget=null,x=I}}}}function Je(r,s){var c=s[Ku];c===void 0&&(c=s[Ku]=new Set);var d=r+"__bubble";c.has(d)||(jE(s,r,2,!1),c.add(d))}function R0(r,s,c){var d=0;s&&(d|=4),jE(c,r,d,s)}var Hp="_reactListening"+Math.random().toString(36).slice(2);function z0(r){if(!r[Hp]){r[Hp]=!0,cn.forEach(function(c){c!=="selectionchange"&&(S8.has(c)||R0(c,!1,r),R0(c,!0,r))});var s=r.nodeType===9?r:r.ownerDocument;s===null||s[Hp]||(s[Hp]=!0,R0("selectionchange",!1,s))}}function jE(r,s,c,d){switch(tS(s)){case 2:var g=Q8;break;case 8:g=Z8;break;default:g=Q0}c=g.bind(null,s,c,r),g=void 0,!ec||s!=="touchstart"&&s!=="touchmove"&&s!=="wheel"||(g=!0),d?g!==void 0?r.addEventListener(s,c,{capture:!0,passive:g}):r.addEventListener(s,c,!0):g!==void 0?r.addEventListener(s,c,{passive:g}):r.addEventListener(s,c,!1)}function I0(r,s,c,d,g){var x=d;if((s&1)===0&&(s&2)===0&&d!==null)e:for(;;){if(d===null)return;var M=d.tag;if(M===3||M===4){var P=d.stateNode.containerInfo;if(P===g)break;if(M===4)for(M=d.return;M!==null;){var I=M.tag;if((I===3||I===4)&&M.stateNode.containerInfo===g)return;M=M.return}for(;P!==null;){if(M=ys(P),M===null)return;if(I=M.tag,I===5||I===6||I===26||I===27){d=x=M;continue e}P=P.parentNode}}d=d.return}Ss(function(){var Z=x,le=$i(c),de=[];e:{var J=hf.get(r);if(J!==void 0){var ee=Os,He=r;switch(r){case"keypress":if(Cs(c)===0)break e;case"keydown":case"keyup":ee=sf;break;case"focusin":He="focus",ee=rc;break;case"focusout":He="blur",ee=rc;break;case"beforeblur":case"afterblur":ee=rc;break;case"click":if(c.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ee=nf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ee=kv;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ee=lf;break;case np:case Vr:case Hi:ee=Nh;break;case df:ee=zh;break;case"scroll":case"scrollend":ee=tf;break;case"wheel":ee=Bv;break;case"copy":case"cut":case"paste":ee=rf;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ee=of;break;case"toggle":case"beforetoggle":ee=Hv}var ze=(s&4)!==0,yt=!ze&&(r==="scroll"||r==="scrollend"),W=ze?J!==null?J+"Capture":null:J;ze=[];for(var G=Z,Q;G!==null;){var ue=G;if(Q=ue.stateNode,ue=ue.tag,ue!==5&&ue!==26&&ue!==27||Q===null||W===null||(ue=Ts(G,W),ue!=null&&ze.push(Kf(G,ue,Q))),yt)break;G=G.return}0<ze.length&&(J=new ee(J,He,null,c,le),de.push({event:J,listeners:ze}))}}if((s&7)===0){e:{if(J=r==="mouseover"||r==="pointerover",ee=r==="mouseout"||r==="pointerout",J&&c!==ef&&(He=c.relatedTarget||c.fromElement)&&(ys(He)||He[gs]))break e;if((ee||J)&&(J=le.window===le?le:(J=le.ownerDocument)?J.defaultView||J.parentWindow:window,ee?(He=c.relatedTarget||c.toElement,ee=Z,He=He?ys(He):null,He!==null&&(yt=o(He),ze=He.tag,He!==yt||ze!==5&&ze!==27&&ze!==6)&&(He=null)):(ee=null,He=Z),ee!==He)){if(ze=nf,ue="onMouseLeave",W="onMouseEnter",G="mouse",(r==="pointerout"||r==="pointerover")&&(ze=of,ue="onPointerLeave",W="onPointerEnter",G="pointer"),yt=ee==null?J:Ro(ee),Q=He==null?J:Ro(He),J=new ze(ue,G+"leave",ee,c,le),J.target=yt,J.relatedTarget=Q,ue=null,ys(le)===Z&&(ze=new ze(W,G+"enter",He,c,le),ze.target=Q,ze.relatedTarget=yt,ue=ze),yt=ue,ee&&He)t:{for(ze=ee,W=He,G=0,Q=ze;Q;Q=$c(Q))G++;for(Q=0,ue=W;ue;ue=$c(ue))Q++;for(;0<G-Q;)ze=$c(ze),G--;for(;0<Q-G;)W=$c(W),Q--;for(;G--;){if(ze===W||W!==null&&ze===W.alternate)break t;ze=$c(ze),W=$c(W)}ze=null}else ze=null;ee!==null&&DE(de,J,ee,ze,!1),He!==null&&yt!==null&&DE(de,yt,He,ze,!0)}}e:{if(J=Z?Ro(Z):window,ee=J.nodeName&&J.nodeName.toLowerCase(),ee==="select"||ee==="input"&&J.type==="file")var Me=Fh;else if(Hh(J))if(Gh)Me=Xh;else{Me=Yv;var Qe=Gv}else ee=J.nodeName,!ee||ee.toLowerCase()!=="input"||J.type!=="checkbox"&&J.type!=="radio"?Z&&zr(Z.elementType)&&(Me=Fh):Me=Wh;if(Me&&(Me=Me(r,Z))){qh(de,Me,c,le);break e}Qe&&Qe(r,J,Z),r==="focusout"&&Z&&J.type==="number"&&Z.memoizedProps.value!=null&&Bo(J,"number",J.value)}switch(Qe=Z?Ro(Z):window,r){case"focusin":(Hh(Qe)||Qe.contentEditable==="true")&&(ks=Qe,uf=Z,Ko=null);break;case"focusout":Ko=uf=ks=null;break;case"mousedown":ff=!0;break;case"contextmenu":case"mouseup":case"dragend":ff=!1,tp(de,c,le);break;case"selectionchange":if(ep)break;case"keydown":case"keyup":tp(de,c,le)}var je;if(sc)e:{switch(r){case"compositionstart":var Be="onCompositionStart";break e;case"compositionend":Be="onCompositionEnd";break e;case"compositionupdate":Be="onCompositionUpdate";break e}Be=void 0}else js?Bh(r,c)&&(Be="onCompositionEnd"):r==="keydown"&&c.keyCode===229&&(Be="onCompositionStart");Be&&(Br&&c.locale!=="ko"&&(js||Be!=="onCompositionStart"?Be==="onCompositionEnd"&&js&&(je=Ho()):(Ir=le,tc="value"in Ir?Ir.value:Ir.textContent,js=!0)),Qe=qp(Z,Be),0<Qe.length&&(Be=new Ph(Be,r,null,c,le),de.push({event:Be,listeners:Qe}),je?Be.data=je:(je=Vh(c),je!==null&&(Be.data=je)))),(je=Ns?qv(r,c):Uv(r,c))&&(Be=qp(Z,"onBeforeInput"),0<Be.length&&(Qe=new Ph("onBeforeInput","beforeinput",null,c,le),de.push({event:Qe,listeners:Be}),Qe.data=je)),w8(de,r,Z,c,le)}NE(de,s)})}function Kf(r,s,c){return{instance:r,listener:s,currentTarget:c}}function qp(r,s){for(var c=s+"Capture",d=[];r!==null;){var g=r,x=g.stateNode;if(g=g.tag,g!==5&&g!==26&&g!==27||x===null||(g=Ts(r,c),g!=null&&d.unshift(Kf(r,g,x)),g=Ts(r,s),g!=null&&d.push(Kf(r,g,x))),r.tag===3)return d;r=r.return}return[]}function $c(r){if(r===null)return null;do r=r.return;while(r&&r.tag!==5&&r.tag!==27);return r||null}function DE(r,s,c,d,g){for(var x=s._reactName,M=[];c!==null&&c!==d;){var P=c,I=P.alternate,Z=P.stateNode;if(P=P.tag,I!==null&&I===d)break;P!==5&&P!==26&&P!==27||Z===null||(I=Z,g?(Z=Ts(c,x),Z!=null&&M.unshift(Kf(c,Z,I))):g||(Z=Ts(c,x),Z!=null&&M.push(Kf(c,Z,I)))),c=c.return}M.length!==0&&r.push({event:s,listeners:M})}var T8=/\r\n?/g,A8=/\u0000|\uFFFD/g;function PE(r){return(typeof r=="string"?r:""+r).replace(T8,` `).replace(A8,"")}function LE(r,s){return s=PE(s),PE(r)===s}function Up(){}function vt(r,s,c,d,g,x){switch(c){case"children":typeof d=="string"?s==="body"||s==="textarea"&&d===""||dr(r,d):(typeof d=="number"||typeof d=="bigint")&&s!=="body"&&dr(r,""+d);break;case"className":ws(r,"class",d);break;case"tabIndex":ws(r,"tabindex",d);break;case"dir":case"role":case"viewBox":case"width":case"height":ws(r,c,d);break;case"style":Zu(r,d,x);break;case"data":if(s!=="object"){ws(r,"data",d);break}case"src":case"href":if(d===""&&(s!=="a"||c!=="href")){r.removeAttribute(c);break}if(d==null||typeof d=="function"||typeof d=="symbol"||typeof d=="boolean"){r.removeAttribute(c);break}d=ni(""+d),r.setAttribute(c,d);break;case"action":case"formAction":if(typeof d=="function"){r.setAttribute(c,"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 x=="function"&&(c==="formAction"?(s!=="input"&&vt(r,s,"name",g.name,g,null),vt(r,s,"formEncType",g.formEncType,g,null),vt(r,s,"formMethod",g.formMethod,g,null),vt(r,s,"formTarget",g.formTarget,g,null)):(vt(r,s,"encType",g.encType,g,null),vt(r,s,"method",g.method,g,null),vt(r,s,"target",g.target,g,null)));if(d==null||typeof d=="symbol"||typeof d=="boolean"){r.removeAttribute(c);break}d=ni(""+d),r.setAttribute(c,d);break;case"onClick":d!=null&&(r.onclick=Up);break;case"onScroll":d!=null&&Je("scroll",r);break;case"onScrollEnd":d!=null&&Je("scrollend",r);break;case"dangerouslySetInnerHTML":if(d!=null){if(typeof d!="object"||!("__html"in d))throw Error(i(61));if(c=d.__html,c!=null){if(g.children!=null)throw Error(i(60));r.innerHTML=c}}break;case"multiple":r.multiple=d&&typeof d!="function"&&typeof d!="symbol";break;case"muted":r.muted=d&&typeof d!="function"&&typeof d!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(d==null||typeof d=="function"||typeof d=="boolean"||typeof d=="symbol"){r.removeAttribute("xlink:href");break}c=ni(""+d),r.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",c);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":d!=null&&typeof d!="function"&&typeof d!="symbol"?r.setAttribute(c,""+d):r.removeAttribute(c);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":d&&typeof d!="function"&&typeof d!="symbol"?r.setAttribute(c,""):r.removeAttribute(c);break;case"capture":case"download":d===!0?r.setAttribute(c,""):d!==!1&&d!=null&&typeof d!="function"&&typeof d!="symbol"?r.setAttribute(c,d):r.removeAttribute(c);break;case"cols":case"rows":case"size":case"span":d!=null&&typeof d!="function"&&typeof d!="symbol"&&!isNaN(d)&&1<=d?r.setAttribute(c,d):r.removeAttribute(c);break;case"rowSpan":case"start":d==null||typeof d=="function"||typeof d=="symbol"||isNaN(d)?r.removeAttribute(c):r.setAttribute(c,d);break;case"popover":Je("beforetoggle",r),Je("toggle",r),zo(r,"popover",d);break;case"xlinkActuate":Ln(r,"http://www.w3.org/1999/xlink","xlink:actuate",d);break;case"xlinkArcrole":Ln(r,"http://www.w3.org/1999/xlink","xlink:arcrole",d);break;case"xlinkRole":Ln(r,"http://www.w3.org/1999/xlink","xlink:role",d);break;case"xlinkShow":Ln(r,"http://www.w3.org/1999/xlink","xlink:show",d);break;case"xlinkTitle":Ln(r,"http://www.w3.org/1999/xlink","xlink:title",d);break;case"xlinkType":Ln(r,"http://www.w3.org/1999/xlink","xlink:type",d);break;case"xmlBase":Ln(r,"http://www.w3.org/XML/1998/namespace","xml:base",d);break;case"xmlLang":Ln(r,"http://www.w3.org/XML/1998/namespace","xml:lang",d);break;case"xmlSpace":Ln(r,"http://www.w3.org/XML/1998/namespace","xml:space",d);break;case"is":zo(r,"is",d);break;case"innerText":case"textContent":break;default:(!(2<c.length)||c[0]!=="o"&&c[0]!=="O"||c[1]!=="n"&&c[1]!=="N")&&(c=Ju.get(c)||c,zo(r,c,d))}}function $0(r,s,c,d,g,x){switch(c){case"style":Zu(r,d,x);break;case"dangerouslySetInnerHTML":if(d!=null){if(typeof d!="object"||!("__html"in d))throw Error(i(61));if(c=d.__html,c!=null){if(g.children!=null)throw Error(i(60));r.innerHTML=c}}break;case"children":typeof d=="string"?dr(r,d):(typeof d=="number"||typeof d=="bigint")&&dr(r,""+d);break;case"onScroll":d!=null&&Je("scroll",r);break;case"onScrollEnd":d!=null&&Je("scrollend",r);break;case"onClick":d!=null&&(r.onclick=Up);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Pn.hasOwnProperty(c))e:{if(c[0]==="o"&&c[1]==="n"&&(g=c.endsWith("Capture"),s=c.slice(2,g?c.length-7:void 0),x=r[Dn]||null,x=x!=null?x[c]:null,typeof x=="function"&&r.removeEventListener(s,x,g),typeof d=="function")){typeof x!="function"&&x!==null&&(c in r?r[c]=null:r.hasAttribute(c)&&r.removeAttribute(c)),r.addEventListener(s,d,g);break e}c in r?r[c]=d:d===!0?r.setAttribute(c,""):zo(r,c,d)}}}function Cn(r,s,c){switch(s){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Je("error",r),Je("load",r);var d=!1,g=!1,x;for(x in c)if(c.hasOwnProperty(x)){var M=c[x];if(M!=null)switch(x){case"src":d=!0;break;case"srcSet":g=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(i(137,s));default:vt(r,s,x,M,c,null)}}g&&vt(r,s,"srcSet",c.srcSet,c,null),d&&vt(r,s,"src",c.src,c,null);return;case"input":Je("invalid",r);var P=x=M=g=null,I=null,Z=null;for(d in c)if(c.hasOwnProperty(d)){var le=c[d];if(le!=null)switch(d){case"name":g=le;break;case"type":M=le;break;case"checked":I=le;break;case"defaultChecked":Z=le;break;case"value":x=le;break;case"defaultValue":P=le;break;case"children":case"dangerouslySetInnerHTML":if(le!=null)throw Error(i(137,s));break;default:vt(r,s,d,le,c,null)}}Un(r,x,P,I,Z,M,g,!1),Io(r);return;case"select":Je("invalid",r),d=M=x=null;for(g in c)if(c.hasOwnProperty(g)&&(P=c[g],P!=null))switch(g){case"value":x=P;break;case"defaultValue":M=P;break;case"multiple":d=P;default:vt(r,s,g,P,c,null)}s=x,c=M,r.multiple=!!d,s!=null?kr(r,!!d,s,!1):c!=null&&kr(r,!!d,c,!0);return;case"textarea":Je("invalid",r),x=g=d=null;for(M in c)if(c.hasOwnProperty(M)&&(P=c[M],P!=null))switch(M){case"value":d=P;break;case"defaultValue":g=P;break;case"children":x=P;break;case"dangerouslySetInnerHTML":if(P!=null)throw Error(i(91));break;default:vt(r,s,M,P,c,null)}Rr(r,d,g,x),Io(r);return;case"option":for(I in c)if(c.hasOwnProperty(I)&&(d=c[I],d!=null))switch(I){case"selected":r.selected=d&&typeof d!="function"&&typeof d!="symbol";break;default:vt(r,s,I,d,c,null)}return;case"dialog":Je("beforetoggle",r),Je("toggle",r),Je("cancel",r),Je("close",r);break;case"iframe":case"object":Je("load",r);break;case"video":case"audio":for(d=0;d<Yf.length;d++)Je(Yf[d],r);break;case"image":Je("error",r),Je("load",r);break;case"details":Je("toggle",r);break;case"embed":case"source":case"link":Je("error",r),Je("load",r);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(Z in c)if(c.hasOwnProperty(Z)&&(d=c[Z],d!=null))switch(Z){case"children":case"dangerouslySetInnerHTML":throw Error(i(137,s));default:vt(r,s,Z,d,c,null)}return;default:if(zr(s)){for(le in c)c.hasOwnProperty(le)&&(d=c[le],d!==void 0&&$0(r,s,le,d,c,void 0));return}}for(P in c)c.hasOwnProperty(P)&&(d=c[P],d!=null&&vt(r,s,P,d,c,null))}function C8(r,s,c,d){switch(s){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var g=null,x=null,M=null,P=null,I=null,Z=null,le=null;for(ee in c){var de=c[ee];if(c.hasOwnProperty(ee)&&de!=null)switch(ee){case"checked":break;case"value":break;case"defaultValue":I=de;default:d.hasOwnProperty(ee)||vt(r,s,ee,null,d,de)}}for(var J in d){var ee=d[J];if(de=c[J],d.hasOwnProperty(J)&&(ee!=null||de!=null))switch(J){case"type":x=ee;break;case"name":g=ee;break;case"checked":Z=ee;break;case"defaultChecked":le=ee;break;case"value":M=ee;break;case"defaultValue":P=ee;break;case"children":case"dangerouslySetInnerHTML":if(ee!=null)throw Error(i(137,s));break;default:ee!==de&&vt(r,s,J,ee,d,de)}}fr(r,M,P,I,Z,le,x,g);return;case"select":ee=M=P=J=null;for(x in c)if(I=c[x],c.hasOwnProperty(x)&&I!=null)switch(x){case"value":break;case"multiple":ee=I;default:d.hasOwnProperty(x)||vt(r,s,x,null,d,I)}for(g in d)if(x=d[g],I=c[g],d.hasOwnProperty(g)&&(x!=null||I!=null))switch(g){case"value":J=x;break;case"defaultValue":P=x;break;case"multiple":M=x;default:x!==I&&vt(r,s,g,x,d,I)}s=P,c=M,d=ee,J!=null?kr(r,!!c,J,!1):!!d!=!!c&&(s!=null?kr(r,!!c,s,!0):kr(r,!!c,c?[]:"",!1));return;case"textarea":ee=J=null;for(P in c)if(g=c[P],c.hasOwnProperty(P)&&g!=null&&!d.hasOwnProperty(P))switch(P){case"value":break;case"children":break;default:vt(r,s,P,null,d,g)}for(M in d)if(g=d[M],x=c[M],d.hasOwnProperty(M)&&(g!=null||x!=null))switch(M){case"value":J=g;break;case"defaultValue":ee=g;break;case"children":break;case"dangerouslySetInnerHTML":if(g!=null)throw Error(i(91));break;default:g!==x&&vt(r,s,M,g,d,x)}gi(r,J,ee);return;case"option":for(var He in c)if(J=c[He],c.hasOwnProperty(He)&&J!=null&&!d.hasOwnProperty(He))switch(He){case"selected":r.selected=!1;break;default:vt(r,s,He,null,d,J)}for(I in d)if(J=d[I],ee=c[I],d.hasOwnProperty(I)&&J!==ee&&(J!=null||ee!=null))switch(I){case"selected":r.selected=J&&typeof J!="function"&&typeof J!="symbol";break;default:vt(r,s,I,J,d,ee)}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 ze in c)J=c[ze],c.hasOwnProperty(ze)&&J!=null&&!d.hasOwnProperty(ze)&&vt(r,s,ze,null,d,J);for(Z in d)if(J=d[Z],ee=c[Z],d.hasOwnProperty(Z)&&J!==ee&&(J!=null||ee!=null))switch(Z){case"children":case"dangerouslySetInnerHTML":if(J!=null)throw Error(i(137,s));break;default:vt(r,s,Z,J,d,ee)}return;default:if(zr(s)){for(var yt in c)J=c[yt],c.hasOwnProperty(yt)&&J!==void 0&&!d.hasOwnProperty(yt)&&$0(r,s,yt,void 0,d,J);for(le in d)J=d[le],ee=c[le],!d.hasOwnProperty(le)||J===ee||J===void 0&&ee===void 0||$0(r,s,le,J,d,ee);return}}for(var W in c)J=c[W],c.hasOwnProperty(W)&&J!=null&&!d.hasOwnProperty(W)&&vt(r,s,W,null,d,J);for(de in d)J=d[de],ee=c[de],!d.hasOwnProperty(de)||J===ee||J==null&&ee==null||vt(r,s,de,J,d,ee)}var B0=null,V0=null;function Fp(r){return r.nodeType===9?r:r.ownerDocument}function kE(r){switch(r){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function RE(r,s){if(r===0)switch(s){case"svg":return 1;case"math":return 2;default:return 0}return r===1&&s==="foreignObject"?0:r}function H0(r,s){return r==="textarea"||r==="noscript"||typeof s.children=="string"||typeof s.children=="number"||typeof s.children=="bigint"||typeof s.dangerouslySetInnerHTML=="object"&&s.dangerouslySetInnerHTML!==null&&s.dangerouslySetInnerHTML.__html!=null}var q0=null;function O8(){var r=window.event;return r&&r.type==="popstate"?r===q0?!1:(q0=r,!0):(q0=null,!1)}var zE=typeof setTimeout=="function"?setTimeout:void 0,M8=typeof clearTimeout=="function"?clearTimeout:void 0,IE=typeof Promise=="function"?Promise:void 0,N8=typeof queueMicrotask=="function"?queueMicrotask:typeof IE<"u"?function(r){return IE.resolve(null).then(r).catch(j8)}:zE;function j8(r){setTimeout(function(){throw r})}function io(r){return r==="head"}function $E(r,s){var c=s,d=0,g=0;do{var x=c.nextSibling;if(r.removeChild(c),x&&x.nodeType===8)if(c=x.data,c==="/$"){if(0<d&&8>d){c=d;var M=r.ownerDocument;if(c&1&&Wf(M.documentElement),c&2&&Wf(M.body),c&4)for(c=M.head,Wf(c),M=c.firstChild;M;){var P=M.nextSibling,I=M.nodeName;M[zi]||I==="SCRIPT"||I==="STYLE"||I==="LINK"&&M.rel.toLowerCase()==="stylesheet"||c.removeChild(M),M=P}}if(g===0){r.removeChild(x),id(s);return}g--}else c==="$"||c==="$?"||c==="$!"?g++:d=c.charCodeAt(0)-48;else d=0;c=x}while(c);id(s)}function U0(r){var s=r.firstChild;for(s&&s.nodeType===10&&(s=s.nextSibling);s;){var c=s;switch(s=s.nextSibling,c.nodeName){case"HTML":case"HEAD":case"BODY":U0(c),vs(c);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(c.rel.toLowerCase()==="stylesheet")continue}r.removeChild(c)}}function D8(r,s,c,d){for(;r.nodeType===1;){var g=c;if(r.nodeName.toLowerCase()!==s.toLowerCase()){if(!d&&(r.nodeName!=="INPUT"||r.type!=="hidden"))break}else if(d){if(!r[zi])switch(s){case"meta":if(!r.hasAttribute("itemprop"))break;return r;case"link":if(x=r.getAttribute("rel"),x==="stylesheet"&&r.hasAttribute("data-precedence"))break;if(x!==g.rel||r.getAttribute("href")!==(g.href==null||g.href===""?null:g.href)||r.getAttribute("crossorigin")!==(g.crossOrigin==null?null:g.crossOrigin)||r.getAttribute("title")!==(g.title==null?null:g.title))break;return r;case"style":if(r.hasAttribute("data-precedence"))break;return r;case"script":if(x=r.getAttribute("src"),(x!==(g.src==null?null:g.src)||r.getAttribute("type")!==(g.type==null?null:g.type)||r.getAttribute("crossorigin")!==(g.crossOrigin==null?null:g.crossOrigin))&&x&&r.hasAttribute("async")&&!r.hasAttribute("itemprop"))break;return r;default:return r}}else if(s==="input"&&r.type==="hidden"){var x=g.name==null?null:""+g.name;if(g.type==="hidden"&&r.getAttribute("name")===x)return r}else return r;if(r=Er(r.nextSibling),r===null)break}return null}function P8(r,s,c){if(s==="")return null;for(;r.nodeType!==3;)if((r.nodeType!==1||r.nodeName!=="INPUT"||r.type!=="hidden")&&!c||(r=Er(r.nextSibling),r===null))return null;return r}function F0(r){return r.data==="$!"||r.data==="$?"&&r.ownerDocument.readyState==="complete"}function L8(r,s){var c=r.ownerDocument;if(r.data!=="$?"||c.readyState==="complete")s();else{var d=function(){s(),c.removeEventListener("DOMContentLoaded",d)};c.addEventListener("DOMContentLoaded",d),r._reactRetry=d}}function Er(r){for(;r!=null;r=r.nextSibling){var s=r.nodeType;if(s===1||s===3)break;if(s===8){if(s=r.data,s==="$"||s==="$!"||s==="$?"||s==="F!"||s==="F")break;if(s==="/$")return null}}return r}var G0=null;function BE(r){r=r.previousSibling;for(var s=0;r;){if(r.nodeType===8){var c=r.data;if(c==="$"||c==="$!"||c==="$?"){if(s===0)return r;s--}else c==="/$"&&s++}r=r.previousSibling}return null}function VE(r,s,c){switch(s=Fp(c),r){case"html":if(r=s.documentElement,!r)throw Error(i(452));return r;case"head":if(r=s.head,!r)throw Error(i(453));return r;case"body":if(r=s.body,!r)throw Error(i(454));return r;default:throw Error(i(451))}}function Wf(r){for(var s=r.attributes;s.length;)r.removeAttributeNode(s[0]);vs(r)}var Gi=new Map,HE=new Set;function Gp(r){return typeof r.getRootNode=="function"?r.getRootNode():r.nodeType===9?r:r.ownerDocument}var Ha=te.d;te.d={f:k8,r:R8,D:z8,C:I8,L:$8,m:B8,X:H8,S:V8,M:q8};function k8(){var r=Ha.f(),s=zp();return r||s}function R8(r){var s=Dr(r);s!==null&&s.tag===5&&s.type==="form"?l_(s):Ha.r(r)}var Bc=typeof document>"u"?null:document;function qE(r,s,c){var d=Bc;if(d&&typeof s=="string"&&s){var g=St(s);g='link[rel="'+r+'"][href="'+g+'"]',typeof c=="string"&&(g+='[crossorigin="'+c+'"]'),HE.has(g)||(HE.add(g),r={rel:r,crossOrigin:c,href:s},d.querySelector(g)===null&&(s=d.createElement("link"),Cn(s,"link",r),Mt(s),d.head.appendChild(s)))}}function z8(r){Ha.D(r),qE("dns-prefetch",r,null)}function I8(r,s){Ha.C(r,s),qE("preconnect",r,s)}function $8(r,s,c){Ha.L(r,s,c);var d=Bc;if(d&&r&&s){var g='link[rel="preload"][as="'+St(s)+'"]';s==="image"&&c&&c.imageSrcSet?(g+='[imagesrcset="'+St(c.imageSrcSet)+'"]',typeof c.imageSizes=="string"&&(g+='[imagesizes="'+St(c.imageSizes)+'"]')):g+='[href="'+St(r)+'"]';var x=g;switch(s){case"style":x=Vc(r);break;case"script":x=Hc(r)}Gi.has(x)||(r=p({rel:"preload",href:s==="image"&&c&&c.imageSrcSet?void 0:r,as:s},c),Gi.set(x,r),d.querySelector(g)!==null||s==="style"&&d.querySelector(Xf(x))||s==="script"&&d.querySelector(Qf(x))||(s=d.createElement("link"),Cn(s,"link",r),Mt(s),d.head.appendChild(s)))}}function B8(r,s){Ha.m(r,s);var c=Bc;if(c&&r){var d=s&&typeof s.as=="string"?s.as:"script",g='link[rel="modulepreload"][as="'+St(d)+'"][href="'+St(r)+'"]',x=g;switch(d){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":x=Hc(r)}if(!Gi.has(x)&&(r=p({rel:"modulepreload",href:r},s),Gi.set(x,r),c.querySelector(g)===null)){switch(d){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(c.querySelector(Qf(x)))return}d=c.createElement("link"),Cn(d,"link",r),Mt(d),c.head.appendChild(d)}}}function V8(r,s,c){Ha.S(r,s,c);var d=Bc;if(d&&r){var g=bs(d).hoistableStyles,x=Vc(r);s=s||"default";var M=g.get(x);if(!M){var P={loading:0,preload:null};if(M=d.querySelector(Xf(x)))P.loading=5;else{r=p({rel:"stylesheet",href:r,"data-precedence":s},c),(c=Gi.get(x))&&Y0(r,c);var I=M=d.createElement("link");Mt(I),Cn(I,"link",r),I._p=new Promise(function(Z,le){I.onload=Z,I.onerror=le}),I.addEventListener("load",function(){P.loading|=1}),I.addEventListener("error",function(){P.loading|=2}),P.loading|=4,Yp(M,s,d)}M={type:"stylesheet",instance:M,count:1,state:P},g.set(x,M)}}}function H8(r,s){Ha.X(r,s);var c=Bc;if(c&&r){var d=bs(c).hoistableScripts,g=Hc(r),x=d.get(g);x||(x=c.querySelector(Qf(g)),x||(r=p({src:r,async:!0},s),(s=Gi.get(g))&&K0(r,s),x=c.createElement("script"),Mt(x),Cn(x,"link",r),c.head.appendChild(x)),x={type:"script",instance:x,count:1,state:null},d.set(g,x))}}function q8(r,s){Ha.M(r,s);var c=Bc;if(c&&r){var d=bs(c).hoistableScripts,g=Hc(r),x=d.get(g);x||(x=c.querySelector(Qf(g)),x||(r=p({src:r,async:!0,type:"module"},s),(s=Gi.get(g))&&K0(r,s),x=c.createElement("script"),Mt(x),Cn(x,"link",r),c.head.appendChild(x)),x={type:"script",instance:x,count:1,state:null},d.set(g,x))}}function UE(r,s,c,d){var g=(g=Ee.current)?Gp(g):null;if(!g)throw Error(i(446));switch(r){case"meta":case"title":return null;case"style":return typeof c.precedence=="string"&&typeof c.href=="string"?(s=Vc(c.href),c=bs(g).hoistableStyles,d=c.get(s),d||(d={type:"style",instance:null,count:0,state:null},c.set(s,d)),d):{type:"void",instance:null,count:0,state:null};case"link":if(c.rel==="stylesheet"&&typeof c.href=="string"&&typeof c.precedence=="string"){r=Vc(c.href);var x=bs(g).hoistableStyles,M=x.get(r);if(M||(g=g.ownerDocument||g,M={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},x.set(r,M),(x=g.querySelector(Xf(r)))&&!x._p&&(M.instance=x,M.state.loading=5),Gi.has(r)||(c={rel:"preload",as:"style",href:c.href,crossOrigin:c.crossOrigin,integrity:c.integrity,media:c.media,hrefLang:c.hrefLang,referrerPolicy:c.referrerPolicy},Gi.set(r,c),x||U8(g,r,c,M.state))),s&&d===null)throw Error(i(528,""));return M}if(s&&d!==null)throw Error(i(529,""));return null;case"script":return s=c.async,c=c.src,typeof c=="string"&&s&&typeof s!="function"&&typeof s!="symbol"?(s=Hc(c),c=bs(g).hoistableScripts,d=c.get(s),d||(d={type:"script",instance:null,count:0,state:null},c.set(s,d)),d):{type:"void",instance:null,count:0,state:null};default:throw Error(i(444,r))}}function Vc(r){return'href="'+St(r)+'"'}function Xf(r){return'link[rel="stylesheet"]['+r+"]"}function FE(r){return p({},r,{"data-precedence":r.precedence,precedence:null})}function U8(r,s,c,d){r.querySelector('link[rel="preload"][as="style"]['+s+"]")?d.loading=1:(s=r.createElement("link"),d.preload=s,s.addEventListener("load",function(){return d.loading|=1}),s.addEventListener("error",function(){return d.loading|=2}),Cn(s,"link",c),Mt(s),r.head.appendChild(s))}function Hc(r){return'[src="'+St(r)+'"]'}function Qf(r){return"script[async]"+r}function GE(r,s,c){if(s.count++,s.instance===null)switch(s.type){case"style":var d=r.querySelector('style[data-href~="'+St(c.href)+'"]');if(d)return s.instance=d,Mt(d),d;var g=p({},c,{"data-href":c.href,"data-precedence":c.precedence,href:null,precedence:null});return d=(r.ownerDocument||r).createElement("style"),Mt(d),Cn(d,"style",g),Yp(d,c.precedence,r),s.instance=d;case"stylesheet":g=Vc(c.href);var x=r.querySelector(Xf(g));if(x)return s.state.loading|=4,s.instance=x,Mt(x),x;d=FE(c),(g=Gi.get(g))&&Y0(d,g),x=(r.ownerDocument||r).createElement("link"),Mt(x);var M=x;return M._p=new Promise(function(P,I){M.onload=P,M.onerror=I}),Cn(x,"link",d),s.state.loading|=4,Yp(x,c.precedence,r),s.instance=x;case"script":return x=Hc(c.src),(g=r.querySelector(Qf(x)))?(s.instance=g,Mt(g),g):(d=c,(g=Gi.get(x))&&(d=p({},c),K0(d,g)),r=r.ownerDocument||r,g=r.createElement("script"),Mt(g),Cn(g,"link",d),r.head.appendChild(g),s.instance=g);case"void":return null;default:throw Error(i(443,s.type))}else s.type==="stylesheet"&&(s.state.loading&4)===0&&(d=s.instance,s.state.loading|=4,Yp(d,c.precedence,r));return s.instance}function Yp(r,s,c){for(var d=c.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),g=d.length?d[d.length-1]:null,x=g,M=0;M<d.length;M++){var P=d[M];if(P.dataset.precedence===s)x=P;else if(x!==g)break}x?x.parentNode.insertBefore(r,x.nextSibling):(s=c.nodeType===9?c.head:c,s.insertBefore(r,s.firstChild))}function Y0(r,s){r.crossOrigin==null&&(r.crossOrigin=s.crossOrigin),r.referrerPolicy==null&&(r.referrerPolicy=s.referrerPolicy),r.title==null&&(r.title=s.title)}function K0(r,s){r.crossOrigin==null&&(r.crossOrigin=s.crossOrigin),r.referrerPolicy==null&&(r.referrerPolicy=s.referrerPolicy),r.integrity==null&&(r.integrity=s.integrity)}var Kp=null;function YE(r,s,c){if(Kp===null){var d=new Map,g=Kp=new Map;g.set(c,d)}else g=Kp,d=g.get(c),d||(d=new Map,g.set(c,d));if(d.has(r))return d;for(d.set(r,null),c=c.getElementsByTagName(r),g=0;g<c.length;g++){var x=c[g];if(!(x[zi]||x[Vt]||r==="link"&&x.getAttribute("rel")==="stylesheet")&&x.namespaceURI!=="http://www.w3.org/2000/svg"){var M=x.getAttribute(s)||"";M=r+M;var P=d.get(M);P?P.push(x):d.set(M,[x])}}return d}function KE(r,s,c){r=r.ownerDocument||r,r.head.insertBefore(c,s==="title"?r.querySelector("head > title"):null)}function F8(r,s,c){if(c===1||s.itemProp!=null)return!1;switch(r){case"meta":case"title":return!0;case"style":if(typeof s.precedence!="string"||typeof s.href!="string"||s.href==="")break;return!0;case"link":if(typeof s.rel!="string"||typeof s.href!="string"||s.href===""||s.onLoad||s.onError)break;switch(s.rel){case"stylesheet":return r=s.disabled,typeof s.precedence=="string"&&r==null;default:return!0}case"script":if(s.async&&typeof s.async!="function"&&typeof s.async!="symbol"&&!s.onLoad&&!s.onError&&s.src&&typeof s.src=="string")return!0}return!1}function WE(r){return!(r.type==="stylesheet"&&(r.state.loading&3)===0)}var Zf=null;function G8(){}function Y8(r,s,c){if(Zf===null)throw Error(i(475));var d=Zf;if(s.type==="stylesheet"&&(typeof c.media!="string"||matchMedia(c.media).matches!==!1)&&(s.state.loading&4)===0){if(s.instance===null){var g=Vc(c.href),x=r.querySelector(Xf(g));if(x){r=x._p,r!==null&&typeof r=="object"&&typeof r.then=="function"&&(d.count++,d=Wp.bind(d),r.then(d,d)),s.state.loading|=4,s.instance=x,Mt(x);return}x=r.ownerDocument||r,c=FE(c),(g=Gi.get(g))&&Y0(c,g),x=x.createElement("link"),Mt(x);var M=x;M._p=new Promise(function(P,I){M.onload=P,M.onerror=I}),Cn(x,"link",c),s.instance=x}d.stylesheets===null&&(d.stylesheets=new Map),d.stylesheets.set(s,r),(r=s.state.preload)&&(s.state.loading&3)===0&&(d.count++,s=Wp.bind(d),r.addEventListener("load",s),r.addEventListener("error",s))}}function K8(){if(Zf===null)throw Error(i(475));var r=Zf;return r.stylesheets&&r.count===0&&W0(r,r.stylesheets),0<r.count?function(s){var c=setTimeout(function(){if(r.stylesheets&&W0(r,r.stylesheets),r.unsuspend){var d=r.unsuspend;r.unsuspend=null,d()}},6e4);return r.unsuspend=s,function(){r.unsuspend=null,clearTimeout(c)}}:null}function Wp(){if(this.count--,this.count===0){if(this.stylesheets)W0(this,this.stylesheets);else if(this.unsuspend){var r=this.unsuspend;this.unsuspend=null,r()}}}var Xp=null;function W0(r,s){r.stylesheets=null,r.unsuspend!==null&&(r.count++,Xp=new Map,s.forEach(W8,r),Xp=null,Wp.call(r))}function W8(r,s){if(!(s.state.loading&4)){var c=Xp.get(r);if(c)var d=c.get(null);else{c=new Map,Xp.set(r,c);for(var g=r.querySelectorAll("link[data-precedence],style[data-precedence]"),x=0;x<g.length;x++){var M=g[x];(M.nodeName==="LINK"||M.getAttribute("media")!=="not all")&&(c.set(M.dataset.precedence,M),d=M)}d&&c.set(null,d)}g=s.instance,M=g.getAttribute("data-precedence"),x=c.get(M)||d,x===d&&c.set(null,g),c.set(M,g),this.count++,d=Wp.bind(this),g.addEventListener("load",d),g.addEventListener("error",d),x?x.parentNode.insertBefore(g,x.nextSibling):(r=r.nodeType===9?r.head:r,r.insertBefore(g,r.firstChild)),s.state.loading|=4}}var Jf={$$typeof:A,Provider:null,Consumer:null,_currentValue:re,_currentValue2:re,_threadCount:0};function X8(r,s,c,d,g,x,M,P){this.tag=1,this.containerInfo=r,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=qu(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=qu(0),this.hiddenUpdates=qu(null),this.identifierPrefix=d,this.onUncaughtError=g,this.onCaughtError=x,this.onRecoverableError=M,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=P,this.incompleteTransitions=new Map}function XE(r,s,c,d,g,x,M,P,I,Z,le,de){return r=new X8(r,s,c,M,P,I,Z,de),s=1,x===!0&&(s|=24),x=Yn(3,null,null,s),r.current=x,x.stateNode=r,s=bc(),s.refCount++,r.pooledCache=s,s.refCount++,x.memoizedState={element:d,isDehydrated:c,cache:s},Y(x),r}function QE(r){return r?(r=zs,r):zs}function ZE(r,s,c,d,g,x){g=QE(g),d.context===null?d.context=g:d.pendingContext=g,d=ie(s),d.payload={element:c},x=x===void 0?null:x,x!==null&&(d.callback=x),c=fe(r,d,s),c!==null&&(Si(c,r,s),ye(c,r,s))}function JE(r,s){if(r=r.memoizedState,r!==null&&r.dehydrated!==null){var c=r.retryLane;r.retryLane=c!==0&&c<s?c:s}}function X0(r,s){JE(r,s),(r=r.alternate)&&JE(r,s)}function eS(r){if(r.tag===13){var s=Rs(r,67108864);s!==null&&Si(s,r,67108864),X0(r,67108864)}}var Qp=!0;function Q8(r,s,c,d){var g=q.T;q.T=null;var x=te.p;try{te.p=2,Q0(r,s,c,d)}finally{te.p=x,q.T=g}}function Z8(r,s,c,d){var g=q.T;q.T=null;var x=te.p;try{te.p=8,Q0(r,s,c,d)}finally{te.p=x,q.T=g}}function Q0(r,s,c,d){if(Qp){var g=Z0(d);if(g===null)I0(r,s,d,Zp,c),nS(r,d);else if(eP(g,r,s,c,d))d.stopPropagation();else if(nS(r,d),s&4&&-1<J8.indexOf(r)){for(;g!==null;){var x=Dr(g);if(x!==null)switch(x.tag){case 3:if(x=x.stateNode,x.current.memoizedState.isDehydrated){var M=ur(x.pendingLanes);if(M!==0){var P=x;for(P.pendingLanes|=2,P.entangledLanes|=2;M;){var I=1<<31-Vn(M);P.entanglements[1]|=I,M&=~I}Xr(x),(pt&6)===0&&(kp=ct()+500,Gf(0))}}break;case 13:P=Rs(x,2),P!==null&&Si(P,x,2),zp(),X0(x,2)}if(x=Z0(d),x===null&&I0(r,s,d,Zp,c),x===g)break;g=x}g!==null&&d.stopPropagation()}else I0(r,s,d,null,c)}}function Z0(r){return r=$i(r),J0(r)}var Zp=null;function J0(r){if(Zp=null,r=ys(r),r!==null){var s=o(r);if(s===null)r=null;else{var c=s.tag;if(c===13){if(r=l(s),r!==null)return r;r=null}else if(c===3){if(s.stateNode.current.memoizedState.isDehydrated)return s.tag===3?s.stateNode.containerInfo:null;r=null}else s!==r&&(r=null)}}return Zp=r,null}function tS(r){switch(r){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(ds()){case Hl:return 2;case Ri:return 8;case cr:case ql:return 32;case Do:return 268435456;default:return 32}default:return 32}}var ey=!1,ro=null,ao=null,so=null,ed=new Map,td=new Map,oo=[],J8="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 nS(r,s){switch(r){case"focusin":case"focusout":ro=null;break;case"dragenter":case"dragleave":ao=null;break;case"mouseover":case"mouseout":so=null;break;case"pointerover":case"pointerout":ed.delete(s.pointerId);break;case"gotpointercapture":case"lostpointercapture":td.delete(s.pointerId)}}function nd(r,s,c,d,g,x){return r===null||r.nativeEvent!==x?(r={blockedOn:s,domEventName:c,eventSystemFlags:d,nativeEvent:x,targetContainers:[g]},s!==null&&(s=Dr(s),s!==null&&eS(s)),r):(r.eventSystemFlags|=d,s=r.targetContainers,g!==null&&s.indexOf(g)===-1&&s.push(g),r)}function eP(r,s,c,d,g){switch(s){case"focusin":return ro=nd(ro,r,s,c,d,g),!0;case"dragenter":return ao=nd(ao,r,s,c,d,g),!0;case"mouseover":return so=nd(so,r,s,c,d,g),!0;case"pointerover":var x=g.pointerId;return ed.set(x,nd(ed.get(x)||null,r,s,c,d,g)),!0;case"gotpointercapture":return x=g.pointerId,td.set(x,nd(td.get(x)||null,r,s,c,d,g)),!0}return!1}function iS(r){var s=ys(r.target);if(s!==null){var c=o(s);if(c!==null){if(s=c.tag,s===13){if(s=l(c),s!==null){r.blockedOn=s,Dv(r.priority,function(){if(c.tag===13){var d=Ei();d=Gu(d);var g=Rs(c,d);g!==null&&Si(g,c,d),X0(c,d)}});return}}else if(s===3&&c.stateNode.current.memoizedState.isDehydrated){r.blockedOn=c.tag===3?c.stateNode.containerInfo:null;return}}}r.blockedOn=null}function Jp(r){if(r.blockedOn!==null)return!1;for(var s=r.targetContainers;0<s.length;){var c=Z0(r.nativeEvent);if(c===null){c=r.nativeEvent;var d=new c.constructor(c.type,c);ef=d,c.target.dispatchEvent(d),ef=null}else return s=Dr(c),s!==null&&eS(s),r.blockedOn=c,!1;s.shift()}return!0}function rS(r,s,c){Jp(r)&&c.delete(s)}function tP(){ey=!1,ro!==null&&Jp(ro)&&(ro=null),ao!==null&&Jp(ao)&&(ao=null),so!==null&&Jp(so)&&(so=null),ed.forEach(rS),td.forEach(rS)}function em(r,s){r.blockedOn===s&&(r.blockedOn=null,ey||(ey=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,tP)))}var tm=null;function aS(r){tm!==r&&(tm=r,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){tm===r&&(tm=null);for(var s=0;s<r.length;s+=3){var c=r[s],d=r[s+1],g=r[s+2];if(typeof d!="function"){if(J0(d||c)===null)continue;break}var x=Dr(c);x!==null&&(r.splice(s,3),s-=3,Jv(x,{pending:!0,data:g,method:c.method,action:d},d,g))}}))}function id(r){function s(I){return em(I,r)}ro!==null&&em(ro,r),ao!==null&&em(ao,r),so!==null&&em(so,r),ed.forEach(s),td.forEach(s);for(var c=0;c<oo.length;c++){var d=oo[c];d.blockedOn===r&&(d.blockedOn=null)}for(;0<oo.length&&(c=oo[0],c.blockedOn===null);)iS(c),c.blockedOn===null&&oo.shift();if(c=(r.ownerDocument||r).$$reactFormReplay,c!=null)for(d=0;d<c.length;d+=3){var g=c[d],x=c[d+1],M=g[Dn]||null;if(typeof x=="function")M||aS(c);else if(M){var P=null;if(x&&x.hasAttribute("formAction")){if(g=x,M=x[Dn]||null)P=M.formAction;else if(J0(g)!==null)continue}else P=M.action;typeof P=="function"?c[d+1]=P:(c.splice(d,3),d-=3),aS(c)}}}function ty(r){this._internalRoot=r}nm.prototype.render=ty.prototype.render=function(r){var s=this._internalRoot;if(s===null)throw Error(i(409));var c=s.current,d=Ei();ZE(c,d,r,s,null,null)},nm.prototype.unmount=ty.prototype.unmount=function(){var r=this._internalRoot;if(r!==null){this._internalRoot=null;var s=r.containerInfo;ZE(r.current,2,null,r,null,null),zp(),s[gs]=null}};function nm(r){this._internalRoot=r}nm.prototype.unstable_scheduleHydration=function(r){if(r){var s=Sh();r={blockedOn:null,target:r,priority:s};for(var c=0;c<oo.length&&s!==0&&s<oo[c].priority;c++);oo.splice(c,0,r),c===0&&iS(r)}};var sS=t.version;if(sS!=="19.1.1")throw Error(i(527,sS,"19.1.1"));te.findDOMNode=function(r){var s=r._reactInternals;if(s===void 0)throw typeof r.render=="function"?Error(i(188)):(r=Object.keys(r).join(","),Error(i(268,r)));return r=f(s),r=r!==null?h(r):null,r=r===null?null:r.stateNode,r};var nP={bundleType:0,version:"19.1.1",rendererPackageName:"react-dom",currentDispatcherRef:q,reconcilerVersion:"19.1.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var im=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!im.isDisabled&&im.supportsFiber)try{wn=im.inject(nP),rn=im}catch{}}return ad.createRoot=function(r,s){if(!a(r))throw Error(i(299));var c=!1,d="",g=__,x=E_,M=S_,P=null;return s!=null&&(s.unstable_strictMode===!0&&(c=!0),s.identifierPrefix!==void 0&&(d=s.identifierPrefix),s.onUncaughtError!==void 0&&(g=s.onUncaughtError),s.onCaughtError!==void 0&&(x=s.onCaughtError),s.onRecoverableError!==void 0&&(M=s.onRecoverableError),s.unstable_transitionCallbacks!==void 0&&(P=s.unstable_transitionCallbacks)),s=XE(r,1,!1,null,null,c,d,g,x,M,P,null),r[gs]=s.current,z0(r),new ty(s)},ad.hydrateRoot=function(r,s,c){if(!a(r))throw Error(i(299));var d=!1,g="",x=__,M=E_,P=S_,I=null,Z=null;return c!=null&&(c.unstable_strictMode===!0&&(d=!0),c.identifierPrefix!==void 0&&(g=c.identifierPrefix),c.onUncaughtError!==void 0&&(x=c.onUncaughtError),c.onCaughtError!==void 0&&(M=c.onCaughtError),c.onRecoverableError!==void 0&&(P=c.onRecoverableError),c.unstable_transitionCallbacks!==void 0&&(I=c.unstable_transitionCallbacks),c.formState!==void 0&&(Z=c.formState)),s=XE(r,1,!0,s,c??null,d,g,x,M,P,I,Z),s.context=QE(null),c=s.current,d=Ei(),d=Gu(d),g=ie(d),g.callback=null,fe(c,g,d),c=d,s.current.lanes=c,ms(s,c),Xr(s),r[gs]=s.current,z0(r),new nm(s)},ad.version="19.1.1",ad}var gS;function pP(){if(gS)return ry.exports;gS=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),ry.exports=hP(),ry.exports}var mP=pP();/** * react-router v7.8.2 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */var vS="popstate";function gP(e={}){function t(i,a){let{pathname:o,search:l,hash:u}=i.location;return ab("",{pathname:o,search:l,hash:u},a.state&&a.state.usr||null,a.state&&a.state.key||"default")}function n(i,a){return typeof a=="string"?a:Nd(a)}return yP(t,n,null,e)}function Bt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function la(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function vP(){return Math.random().toString(36).substring(2,10)}function yS(e,t){return{usr:e.state,key:e.key,idx:t}}function ab(e,t,n=null,i){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?Su(t):t,state:n,key:t&&t.key||i||vP()}}function Nd({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function Su(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let i=e.indexOf("?");i>=0&&(t.search=e.substring(i),e=e.substring(0,i)),e&&(t.pathname=e)}return t}function yP(e,t,n,i={}){let{window:a=document.defaultView,v5Compat:o=!1}=i,l=a.history,u="POP",f=null,h=p();h==null&&(h=0,l.replaceState({...l.state,idx:h},""));function p(){return(l.state||{idx:null}).idx}function m(){u="POP";let O=p(),C=O==null?null:O-h;h=O,f&&f({action:u,location:E.location,delta:C})}function b(O,C){u="PUSH";let T=ab(E.location,O,C);h=p()+1;let A=yS(T,h),k=E.createHref(T);try{l.pushState(A,"",k)}catch(D){if(D instanceof DOMException&&D.name==="DataCloneError")throw D;a.location.assign(k)}o&&f&&f({action:u,location:E.location,delta:1})}function w(O,C){u="REPLACE";let T=ab(E.location,O,C);h=p();let A=yS(T,h),k=E.createHref(T);l.replaceState(A,"",k),o&&f&&f({action:u,location:E.location,delta:0})}function _(O){return bP(O)}let E={get action(){return u},get location(){return e(a,l)},listen(O){if(f)throw new Error("A history only accepts one active listener");return a.addEventListener(vS,m),f=O,()=>{a.removeEventListener(vS,m),f=null}},createHref(O){return t(a,O)},createURL:_,encodeLocation(O){let C=_(O);return{pathname:C.pathname,search:C.search,hash:C.hash}},push:b,replace:w,go(O){return l.go(O)}};return E}function bP(e,t=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),Bt(n,"No window.location.(origin|href) available to create URL");let i=typeof e=="string"?e:Nd(e);return i=i.replace(/ $/,"%20"),!t&&i.startsWith("//")&&(i=n+i),new URL(i,n)}function jO(e,t,n="/"){return xP(e,t,n,!1)}function xP(e,t,n,i){let a=typeof t=="string"?Su(t):t,o=Za(a.pathname||"/",n);if(o==null)return null;let l=DO(e);wP(l);let u=null;for(let f=0;u==null&&f<l.length;++f){let h=DP(o);u=NP(l[f],h,i)}return u}function DO(e,t=[],n=[],i="",a=!1){let o=(l,u,f=a,h)=>{let p={relativePath:h===void 0?l.path||"":h,caseSensitive:l.caseSensitive===!0,childrenIndex:u,route:l};if(p.relativePath.startsWith("/")){if(!p.relativePath.startsWith(i)&&f)return;Bt(p.relativePath.startsWith(i),`Absolute route path "${p.relativePath}" nested under path "${i}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),p.relativePath=p.relativePath.slice(i.length)}let m=Ya([i,p.relativePath]),b=n.concat(p);l.children&&l.children.length>0&&(Bt(l.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${m}".`),DO(l.children,t,b,m,f)),!(l.path==null&&!l.index)&&t.push({path:m,score:OP(m,l.index),routesMeta:b})};return e.forEach((l,u)=>{if(l.path===""||!l.path?.includes("?"))o(l,u);else for(let f of PO(l.path))o(l,u,!0,f)}),t}function PO(e){let t=e.split("/");if(t.length===0)return[];let[n,...i]=t,a=n.endsWith("?"),o=n.replace(/\?$/,"");if(i.length===0)return a?[o,""]:[o];let l=PO(i.join("/")),u=[];return u.push(...l.map(f=>f===""?o:[o,f].join("/"))),a&&u.push(...l),u.map(f=>e.startsWith("/")&&f===""?"/":f)}function wP(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:MP(t.routesMeta.map(i=>i.childrenIndex),n.routesMeta.map(i=>i.childrenIndex)))}var _P=/^:[\w-]+$/,EP=3,SP=2,TP=1,AP=10,CP=-2,bS=e=>e==="*";function OP(e,t){let n=e.split("/"),i=n.length;return n.some(bS)&&(i+=CP),t&&(i+=SP),n.filter(a=>!bS(a)).reduce((a,o)=>a+(_P.test(o)?EP:o===""?TP:AP),i)}function MP(e,t){return e.length===t.length&&e.slice(0,-1).every((i,a)=>i===t[a])?e[e.length-1]-t[t.length-1]:0}function NP(e,t,n=!1){let{routesMeta:i}=e,a={},o="/",l=[];for(let u=0;u<i.length;++u){let f=i[u],h=u===i.length-1,p=o==="/"?t:t.slice(o.length)||"/",m=Um({path:f.relativePath,caseSensitive:f.caseSensitive,end:h},p),b=f.route;if(!m&&h&&n&&!i[i.length-1].route.index&&(m=Um({path:f.relativePath,caseSensitive:f.caseSensitive,end:!1},p)),!m)return null;Object.assign(a,m.params),l.push({params:a,pathname:Ya([o,m.pathname]),pathnameBase:RP(Ya([o,m.pathnameBase])),route:b}),m.pathnameBase!=="/"&&(o=Ya([o,m.pathnameBase]))}return l}function Um(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,i]=jP(e.path,e.caseSensitive,e.end),a=t.match(n);if(!a)return null;let o=a[0],l=o.replace(/(.)\/+$/,"$1"),u=a.slice(1);return{params:i.reduce((h,{paramName:p,isOptional:m},b)=>{if(p==="*"){let _=u[b]||"";l=o.slice(0,o.length-_.length).replace(/(.)\/+$/,"$1")}const w=u[b];return m&&!w?h[p]=void 0:h[p]=(w||"").replace(/%2F/g,"/"),h},{}),pathname:o,pathnameBase:l,pattern:e}}function jP(e,t=!1,n=!0){la(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let i=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(l,u,f)=>(i.push({paramName:u,isOptional:f!=null}),f?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(i.push({paramName:"*"}),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),i]}function DP(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return la(!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 (${t}).`),e}}function Za(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,i=e.charAt(n);return i&&i!=="/"?null:e.slice(n)||"/"}function PP(e,t="/"){let{pathname:n,search:i="",hash:a=""}=typeof e=="string"?Su(e):e;return{pathname:n?n.startsWith("/")?n:LP(n,t):t,search:zP(i),hash:IP(a)}}function LP(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(a=>{a===".."?n.length>1&&n.pop():a!=="."&&n.push(a)}),n.length>1?n.join("/"):"/"}function ly(e,t,n,i){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(i)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function kP(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function LO(e){let t=kP(e);return t.map((n,i)=>i===t.length-1?n.pathname:n.pathnameBase)}function kO(e,t,n,i=!1){let a;typeof e=="string"?a=Su(e):(a={...e},Bt(!a.pathname||!a.pathname.includes("?"),ly("?","pathname","search",a)),Bt(!a.pathname||!a.pathname.includes("#"),ly("#","pathname","hash",a)),Bt(!a.search||!a.search.includes("#"),ly("#","search","hash",a)));let o=e===""||a.pathname==="",l=o?"/":a.pathname,u;if(l==null)u=n;else{let m=t.length-1;if(!i&&l.startsWith("..")){let b=l.split("/");for(;b[0]==="..";)b.shift(),m-=1;a.pathname=b.join("/")}u=m>=0?t[m]:"/"}let f=PP(a,u),h=l&&l!=="/"&&l.endsWith("/"),p=(o||l===".")&&n.endsWith("/");return!f.pathname.endsWith("/")&&(h||p)&&(f.pathname+="/"),f}var Ya=e=>e.join("/").replace(/\/\/+/g,"/"),RP=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),zP=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,IP=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function $P(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var RO=["POST","PUT","PATCH","DELETE"];new Set(RO);var BP=["GET",...RO];new Set(BP);var Tu=j.createContext(null);Tu.displayName="DataRouter";var Ug=j.createContext(null);Ug.displayName="DataRouterState";j.createContext(!1);var zO=j.createContext({isTransitioning:!1});zO.displayName="ViewTransition";var VP=j.createContext(new Map);VP.displayName="Fetchers";var HP=j.createContext(null);HP.displayName="Await";var fa=j.createContext(null);fa.displayName="Navigation";var Wd=j.createContext(null);Wd.displayName="Location";var da=j.createContext({outlet:null,matches:[],isDataRoute:!1});da.displayName="Route";var bx=j.createContext(null);bx.displayName="RouteError";function qP(e,{relative:t}={}){Bt(Xd(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:i}=j.useContext(fa),{hash:a,pathname:o,search:l}=Qd(e,{relative:t}),u=o;return n!=="/"&&(u=o==="/"?n:Ya([n,o])),i.createHref({pathname:u,search:l,hash:a})}function Xd(){return j.useContext(Wd)!=null}function Ll(){return Bt(Xd(),"useLocation() may be used only in the context of a <Router> component."),j.useContext(Wd).location}var IO="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function $O(e){j.useContext(fa).static||j.useLayoutEffect(e)}function UP(){let{isDataRoute:e}=j.useContext(da);return e?r7():FP()}function FP(){Bt(Xd(),"useNavigate() may be used only in the context of a <Router> component.");let e=j.useContext(Tu),{basename:t,navigator:n}=j.useContext(fa),{matches:i}=j.useContext(da),{pathname:a}=Ll(),o=JSON.stringify(LO(i)),l=j.useRef(!1);return $O(()=>{l.current=!0}),j.useCallback((f,h={})=>{if(la(l.current,IO),!l.current)return;if(typeof f=="number"){n.go(f);return}let p=kO(f,JSON.parse(o),a,h.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:Ya([t,p.pathname])),(h.replace?n.replace:n.push)(p,h.state,h)},[t,n,o,a,e])}j.createContext(null);function GP(){let{matches:e}=j.useContext(da),t=e[e.length-1];return t?t.params:{}}function Qd(e,{relative:t}={}){let{matches:n}=j.useContext(da),{pathname:i}=Ll(),a=JSON.stringify(LO(n));return j.useMemo(()=>kO(e,JSON.parse(a),i,t==="path"),[e,a,i,t])}function YP(e,t){return BO(e,t)}function BO(e,t,n,i,a){Bt(Xd(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:o}=j.useContext(fa),{matches:l}=j.useContext(da),u=l[l.length-1],f=u?u.params:{},h=u?u.pathname:"/",p=u?u.pathnameBase:"/",m=u&&u.route;{let T=m&&m.path||"";VO(h,!m||T.endsWith("*")||T.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${h}" (under <Route path="${T}">) 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="${T}"> to <Route path="${T==="/"?"*":`${T}/*`}">.`)}let b=Ll(),w;if(t){let T=typeof t=="string"?Su(t):t;Bt(p==="/"||T.pathname?.startsWith(p),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${p}" but pathname "${T.pathname}" was given in the \`location\` prop.`),w=T}else w=b;let _=w.pathname||"/",E=_;if(p!=="/"){let T=p.replace(/^\//,"").split("/");E="/"+_.replace(/^\//,"").split("/").slice(T.length).join("/")}let O=jO(e,{pathname:E});la(m||O!=null,`No routes matched location "${w.pathname}${w.search}${w.hash}" `),la(O==null||O[O.length-1].route.element!==void 0||O[O.length-1].route.Component!==void 0||O[O.length-1].route.lazy!==void 0,`Matched leaf route at location "${w.pathname}${w.search}${w.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.`);let C=ZP(O&&O.map(T=>Object.assign({},T,{params:Object.assign({},f,T.params),pathname:Ya([p,o.encodeLocation?o.encodeLocation(T.pathname).pathname:T.pathname]),pathnameBase:T.pathnameBase==="/"?p:Ya([p,o.encodeLocation?o.encodeLocation(T.pathnameBase).pathname:T.pathnameBase])})),l,n,i,a);return t&&C?j.createElement(Wd.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...w},navigationType:"POP"}},C):C}function KP(){let e=i7(),t=$P(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:i},o={padding:"2px 4px",backgroundColor:i},l=null;return console.error("Error handled by React Router default ErrorBoundary:",e),l=j.createElement(j.Fragment,null,j.createElement("p",null,"💿 Hey developer 👋"),j.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",j.createElement("code",{style:o},"ErrorBoundary")," or"," ",j.createElement("code",{style:o},"errorElement")," prop on your route.")),j.createElement(j.Fragment,null,j.createElement("h2",null,"Unexpected Application Error!"),j.createElement("h3",{style:{fontStyle:"italic"}},t),n?j.createElement("pre",{style:a},n):null,l)}var WP=j.createElement(KP,null),XP=class extends j.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,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.unstable_onError?this.props.unstable_onError(e,t):console.error("React Router caught the following error during render",e)}render(){return this.state.error!==void 0?j.createElement(da.Provider,{value:this.props.routeContext},j.createElement(bx.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function QP({routeContext:e,match:t,children:n}){let i=j.useContext(Tu);return i&&i.static&&i.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=t.route.id),j.createElement(da.Provider,{value:e},n)}function ZP(e,t=[],n=null,i=null,a=null){if(e==null){if(!n)return null;if(n.errors)e=n.matches;else if(t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,l=n?.errors;if(l!=null){let h=o.findIndex(p=>p.route.id&&l?.[p.route.id]!==void 0);Bt(h>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(l).join(",")}`),o=o.slice(0,Math.min(o.length,h+1))}let u=!1,f=-1;if(n)for(let h=0;h<o.length;h++){let p=o[h];if((p.route.HydrateFallback||p.route.hydrateFallbackElement)&&(f=h),p.route.id){let{loaderData:m,errors:b}=n,w=p.route.loader&&!m.hasOwnProperty(p.route.id)&&(!b||b[p.route.id]===void 0);if(p.route.lazy||w){u=!0,f>=0?o=o.slice(0,f+1):o=[o[0]];break}}}return o.reduceRight((h,p,m)=>{let b,w=!1,_=null,E=null;n&&(b=l&&p.route.id?l[p.route.id]:void 0,_=p.route.errorElement||WP,u&&(f<0&&m===0?(VO("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),w=!0,E=null):f===m&&(w=!0,E=p.route.hydrateFallbackElement||null)));let O=t.concat(o.slice(0,m+1)),C=()=>{let T;return b?T=_:w?T=E:p.route.Component?T=j.createElement(p.route.Component,null):p.route.element?T=p.route.element:T=h,j.createElement(QP,{match:p,routeContext:{outlet:h,matches:O,isDataRoute:n!=null},children:T})};return n&&(p.route.ErrorBoundary||p.route.errorElement||m===0)?j.createElement(XP,{location:n.location,revalidation:n.revalidation,component:_,error:b,children:C(),routeContext:{outlet:null,matches:O,isDataRoute:!0},unstable_onError:i}):C()},null)}function xx(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function JP(e){let t=j.useContext(Tu);return Bt(t,xx(e)),t}function e7(e){let t=j.useContext(Ug);return Bt(t,xx(e)),t}function t7(e){let t=j.useContext(da);return Bt(t,xx(e)),t}function wx(e){let t=t7(e),n=t.matches[t.matches.length-1];return Bt(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function n7(){return wx("useRouteId")}function i7(){let e=j.useContext(bx),t=e7("useRouteError"),n=wx("useRouteError");return e!==void 0?e:t.errors?.[n]}function r7(){let{router:e}=JP("useNavigate"),t=wx("useNavigate"),n=j.useRef(!1);return $O(()=>{n.current=!0}),j.useCallback(async(a,o={})=>{la(n.current,IO),n.current&&(typeof a=="number"?e.navigate(a):await e.navigate(a,{fromRouteId:t,...o}))},[e,t])}var xS={};function VO(e,t,n){!t&&!xS[e]&&(xS[e]=!0,la(!1,n))}j.memo(a7);function a7({routes:e,future:t,state:n,unstable_onError:i}){return BO(e,void 0,n,i,t)}function ho(e){Bt(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function s7({basename:e="/",children:t=null,location:n,navigationType:i="POP",navigator:a,static:o=!1}){Bt(!Xd(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let l=e.replace(/^\/*/,"/"),u=j.useMemo(()=>({basename:l,navigator:a,static:o,future:{}}),[l,a,o]);typeof n=="string"&&(n=Su(n));let{pathname:f="/",search:h="",hash:p="",state:m=null,key:b="default"}=n,w=j.useMemo(()=>{let _=Za(f,l);return _==null?null:{location:{pathname:_,search:h,hash:p,state:m,key:b},navigationType:i}},[l,f,h,p,m,b,i]);return la(w!=null,`<Router basename="${l}"> is not able to match the URL "${f}${h}${p}" because it does not start with the basename, so the <Router> won't render anything.`),w==null?null:j.createElement(fa.Provider,{value:u},j.createElement(Wd.Provider,{children:t,value:w}))}function o7({children:e,location:t}){return YP(sb(e),t)}function sb(e,t=[]){let n=[];return j.Children.forEach(e,(i,a)=>{if(!j.isValidElement(i))return;let o=[...t,a];if(i.type===j.Fragment){n.push.apply(n,sb(i.props.children,o));return}Bt(i.type===ho,`[${typeof i.type=="string"?i.type:i.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Bt(!i.props.index||!i.props.children,"An index route cannot have child routes.");let l={id:i.props.id||o.join("-"),caseSensitive:i.props.caseSensitive,element:i.props.element,Component:i.props.Component,index:i.props.index,path:i.props.path,loader:i.props.loader,action:i.props.action,hydrateFallbackElement:i.props.hydrateFallbackElement,HydrateFallback:i.props.HydrateFallback,errorElement:i.props.errorElement,ErrorBoundary:i.props.ErrorBoundary,hasErrorBoundary:i.props.hasErrorBoundary===!0||i.props.ErrorBoundary!=null||i.props.errorElement!=null,shouldRevalidate:i.props.shouldRevalidate,handle:i.props.handle,lazy:i.props.lazy};i.props.children&&(l.children=sb(i.props.children,o)),n.push(l)}),n}var Om="get",Mm="application/x-www-form-urlencoded";function Fg(e){return e!=null&&typeof e.tagName=="string"}function l7(e){return Fg(e)&&e.tagName.toLowerCase()==="button"}function c7(e){return Fg(e)&&e.tagName.toLowerCase()==="form"}function u7(e){return Fg(e)&&e.tagName.toLowerCase()==="input"}function f7(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function d7(e,t){return e.button===0&&(!t||t==="_self")&&!f7(e)}var rm=null;function h7(){if(rm===null)try{new FormData(document.createElement("form"),0),rm=!1}catch{rm=!0}return rm}var p7=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function cy(e){return e!=null&&!p7.has(e)?(la(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Mm}"`),null):e}function m7(e,t){let n,i,a,o,l;if(c7(e)){let u=e.getAttribute("action");i=u?Za(u,t):null,n=e.getAttribute("method")||Om,a=cy(e.getAttribute("enctype"))||Mm,o=new FormData(e)}else if(l7(e)||u7(e)&&(e.type==="submit"||e.type==="image")){let u=e.form;if(u==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let f=e.getAttribute("formaction")||u.getAttribute("action");if(i=f?Za(f,t):null,n=e.getAttribute("formmethod")||u.getAttribute("method")||Om,a=cy(e.getAttribute("formenctype"))||cy(u.getAttribute("enctype"))||Mm,o=new FormData(u,e),!h7()){let{name:h,type:p,value:m}=e;if(p==="image"){let b=h?`${h}.`:"";o.append(`${b}x`,"0"),o.append(`${b}y`,"0")}else h&&o.append(h,m)}}else{if(Fg(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=Om,i=null,a=Mm,l=e}return o&&a==="text/plain"&&(l=o,o=void 0),{action:i,method:n.toLowerCase(),encType:a,formData:o,body:l}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function _x(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function g7(e,t,n){let i=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return i.pathname==="/"?i.pathname=`_root.${n}`:t&&Za(i.pathname,t)==="/"?i.pathname=`${t.replace(/\/$/,"")}/_root.${n}`:i.pathname=`${i.pathname.replace(/\/$/,"")}.${n}`,i}async function v7(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch(n){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(n),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function y7(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 b7(e,t,n){let i=await Promise.all(e.map(async a=>{let o=t.routes[a.route.id];if(o){let l=await v7(o,n);return l.links?l.links():[]}return[]}));return E7(i.flat(1).filter(y7).filter(a=>a.rel==="stylesheet"||a.rel==="preload").map(a=>a.rel==="stylesheet"?{...a,rel:"prefetch",as:"style"}:{...a,rel:"prefetch"}))}function wS(e,t,n,i,a,o){let l=(f,h)=>n[h]?f.route.id!==n[h].route.id:!0,u=(f,h)=>n[h].pathname!==f.pathname||n[h].route.path?.endsWith("*")&&n[h].params["*"]!==f.params["*"];return o==="assets"?t.filter((f,h)=>l(f,h)||u(f,h)):o==="data"?t.filter((f,h)=>{let p=i.routes[f.route.id];if(!p||!p.hasLoader)return!1;if(l(f,h)||u(f,h))return!0;if(f.route.shouldRevalidate){let m=f.route.shouldRevalidate({currentUrl:new URL(a.pathname+a.search+a.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:f.params,defaultShouldRevalidate:!0});if(typeof m=="boolean")return m}return!0}):[]}function x7(e,t,{includeHydrateFallback:n}={}){return w7(e.map(i=>{let a=t.routes[i.route.id];if(!a)return[];let o=[a.module];return a.clientActionModule&&(o=o.concat(a.clientActionModule)),a.clientLoaderModule&&(o=o.concat(a.clientLoaderModule)),n&&a.hydrateFallbackModule&&(o=o.concat(a.hydrateFallbackModule)),a.imports&&(o=o.concat(a.imports)),o}).flat(1))}function w7(e){return[...new Set(e)]}function _7(e){let t={},n=Object.keys(e).sort();for(let i of n)t[i]=e[i];return t}function E7(e,t){let n=new Set;return new Set(t),e.reduce((i,a)=>{let o=JSON.stringify(_7(a));return n.has(o)||(n.add(o),i.push({key:o,link:a})),i},[])}function HO(){let e=j.useContext(Tu);return _x(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function S7(){let e=j.useContext(Ug);return _x(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var Ex=j.createContext(void 0);Ex.displayName="FrameworkContext";function qO(){let e=j.useContext(Ex);return _x(e,"You must render this element inside a <HydratedRouter> element"),e}function T7(e,t){let n=j.useContext(Ex),[i,a]=j.useState(!1),[o,l]=j.useState(!1),{onFocus:u,onBlur:f,onMouseEnter:h,onMouseLeave:p,onTouchStart:m}=t,b=j.useRef(null);j.useEffect(()=>{if(e==="render"&&l(!0),e==="viewport"){let E=C=>{C.forEach(T=>{l(T.isIntersecting)})},O=new IntersectionObserver(E,{threshold:.5});return b.current&&O.observe(b.current),()=>{O.disconnect()}}},[e]),j.useEffect(()=>{if(i){let E=setTimeout(()=>{l(!0)},100);return()=>{clearTimeout(E)}}},[i]);let w=()=>{a(!0)},_=()=>{a(!1),l(!1)};return n?e!=="intent"?[o,b,{}]:[o,b,{onFocus:sd(u,w),onBlur:sd(f,_),onMouseEnter:sd(h,w),onMouseLeave:sd(p,_),onTouchStart:sd(m,w)}]:[!1,b,{}]}function sd(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function A7({page:e,...t}){let{router:n}=HO(),i=j.useMemo(()=>jO(n.routes,e,n.basename),[n.routes,e,n.basename]);return i?j.createElement(O7,{page:e,matches:i,...t}):null}function C7(e){let{manifest:t,routeModules:n}=qO(),[i,a]=j.useState([]);return j.useEffect(()=>{let o=!1;return b7(e,t,n).then(l=>{o||a(l)}),()=>{o=!0}},[e,t,n]),i}function O7({page:e,matches:t,...n}){let i=Ll(),{manifest:a,routeModules:o}=qO(),{basename:l}=HO(),{loaderData:u,matches:f}=S7(),h=j.useMemo(()=>wS(e,t,f,a,i,"data"),[e,t,f,a,i]),p=j.useMemo(()=>wS(e,t,f,a,i,"assets"),[e,t,f,a,i]),m=j.useMemo(()=>{if(e===i.pathname+i.search+i.hash)return[];let _=new Set,E=!1;if(t.forEach(C=>{let T=a.routes[C.route.id];!T||!T.hasLoader||(!h.some(A=>A.route.id===C.route.id)&&C.route.id in u&&o[C.route.id]?.shouldRevalidate||T.hasClientLoader?E=!0:_.add(C.route.id))}),_.size===0)return[];let O=g7(e,l,"data");return E&&_.size>0&&O.searchParams.set("_routes",t.filter(C=>_.has(C.route.id)).map(C=>C.route.id).join(",")),[O.pathname+O.search]},[l,u,i,a,h,t,e,o]),b=j.useMemo(()=>x7(p,a),[p,a]),w=C7(p);return j.createElement(j.Fragment,null,m.map(_=>j.createElement("link",{key:_,rel:"prefetch",as:"fetch",href:_,...n})),b.map(_=>j.createElement("link",{key:_,rel:"modulepreload",href:_,...n})),w.map(({key:_,link:E})=>j.createElement("link",{key:_,nonce:n.nonce,...E})))}function M7(...e){return t=>{e.forEach(n=>{typeof n=="function"?n(t):n!=null&&(n.current=t)})}}var UO=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{UO&&(window.__reactRouterVersion="7.8.2")}catch{}function N7({basename:e,children:t,window:n}){let i=j.useRef();i.current==null&&(i.current=gP({window:n,v5Compat:!0}));let a=i.current,[o,l]=j.useState({action:a.action,location:a.location}),u=j.useCallback(f=>{j.startTransition(()=>l(f))},[l]);return j.useLayoutEffect(()=>a.listen(u),[a,u]),j.createElement(s7,{basename:e,children:t,location:o.location,navigationType:o.action,navigator:a})}var FO=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Mn=j.forwardRef(function({onClick:t,discover:n="render",prefetch:i="none",relative:a,reloadDocument:o,replace:l,state:u,target:f,to:h,preventScrollReset:p,viewTransition:m,...b},w){let{basename:_}=j.useContext(fa),E=typeof h=="string"&&FO.test(h),O,C=!1;if(typeof h=="string"&&E&&(O=h,UO))try{let F=new URL(window.location.href),X=h.startsWith("//")?new URL(F.protocol+h):new URL(h),H=Za(X.pathname,_);X.origin===F.origin&&H!=null?h=H+X.search+X.hash:C=!0}catch{la(!1,`<Link to="${h}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let T=qP(h,{relative:a}),[A,k,D]=T7(i,b),R=L7(h,{replace:l,state:u,target:f,preventScrollReset:p,relative:a,viewTransition:m});function B(F){t&&t(F),F.defaultPrevented||R(F)}let $=j.createElement("a",{...b,...D,href:O||T,onClick:C||o?t:B,ref:M7(w,k),target:f,"data-discover":!E&&n==="render"?"true":void 0});return A&&!E?j.createElement(j.Fragment,null,$,j.createElement(A7,{page:T})):$});Mn.displayName="Link";var j7=j.forwardRef(function({"aria-current":t="page",caseSensitive:n=!1,className:i="",end:a=!1,style:o,to:l,viewTransition:u,children:f,...h},p){let m=Qd(l,{relative:h.relative}),b=Ll(),w=j.useContext(Ug),{navigator:_,basename:E}=j.useContext(fa),O=w!=null&&$7(m)&&u===!0,C=_.encodeLocation?_.encodeLocation(m).pathname:m.pathname,T=b.pathname,A=w&&w.navigation&&w.navigation.location?w.navigation.location.pathname:null;n||(T=T.toLowerCase(),A=A?A.toLowerCase():null,C=C.toLowerCase()),A&&E&&(A=Za(A,E)||A);const k=C!=="/"&&C.endsWith("/")?C.length-1:C.length;let D=T===C||!a&&T.startsWith(C)&&T.charAt(k)==="/",R=A!=null&&(A===C||!a&&A.startsWith(C)&&A.charAt(C.length)==="/"),B={isActive:D,isPending:R,isTransitioning:O},$=D?t:void 0,F;typeof i=="function"?F=i(B):F=[i,D?"active":null,R?"pending":null,O?"transitioning":null].filter(Boolean).join(" ");let X=typeof o=="function"?o(B):o;return j.createElement(Mn,{...h,"aria-current":$,className:F,ref:p,style:X,to:l,viewTransition:u},typeof f=="function"?f(B):f)});j7.displayName="NavLink";var D7=j.forwardRef(({discover:e="render",fetcherKey:t,navigate:n,reloadDocument:i,replace:a,state:o,method:l=Om,action:u,onSubmit:f,relative:h,preventScrollReset:p,viewTransition:m,...b},w)=>{let _=z7(),E=I7(u,{relative:h}),O=l.toLowerCase()==="get"?"get":"post",C=typeof u=="string"&&FO.test(u),T=A=>{if(f&&f(A),A.defaultPrevented)return;A.preventDefault();let k=A.nativeEvent.submitter,D=k?.getAttribute("formmethod")||l;_(k||A.currentTarget,{fetcherKey:t,method:D,navigate:n,replace:a,state:o,relative:h,preventScrollReset:p,viewTransition:m})};return j.createElement("form",{ref:w,method:O,action:E,onSubmit:i?f:T,...b,"data-discover":!C&&e==="render"?"true":void 0})});D7.displayName="Form";function P7(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function GO(e){let t=j.useContext(Tu);return Bt(t,P7(e)),t}function L7(e,{target:t,replace:n,state:i,preventScrollReset:a,relative:o,viewTransition:l}={}){let u=UP(),f=Ll(),h=Qd(e,{relative:o});return j.useCallback(p=>{if(d7(p,t)){p.preventDefault();let m=n!==void 0?n:Nd(f)===Nd(h);u(e,{replace:m,state:i,preventScrollReset:a,relative:o,viewTransition:l})}},[f,u,h,n,i,t,e,a,o,l])}var k7=0,R7=()=>`__${String(++k7)}__`;function z7(){let{router:e}=GO("useSubmit"),{basename:t}=j.useContext(fa),n=n7();return j.useCallback(async(i,a={})=>{let{action:o,method:l,encType:u,formData:f,body:h}=m7(i,t);if(a.navigate===!1){let p=a.fetcherKey||R7();await e.fetch(p,n,a.action||o,{preventScrollReset:a.preventScrollReset,formData:f,body:h,formMethod:a.method||l,formEncType:a.encType||u,flushSync:a.flushSync})}else await e.navigate(a.action||o,{preventScrollReset:a.preventScrollReset,formData:f,body:h,formMethod:a.method||l,formEncType:a.encType||u,replace:a.replace,state:a.state,fromRouteId:n,flushSync:a.flushSync,viewTransition:a.viewTransition})},[e,t,n])}function I7(e,{relative:t}={}){let{basename:n}=j.useContext(fa),i=j.useContext(da);Bt(i,"useFormAction must be used inside a RouteContext");let[a]=i.matches.slice(-1),o={...Qd(e||".",{relative:t})},l=Ll();if(e==null){o.search=l.search;let u=new URLSearchParams(o.search),f=u.getAll("index");if(f.some(p=>p==="")){u.delete("index"),f.filter(m=>m).forEach(m=>u.append("index",m));let p=u.toString();o.search=p?`?${p}`:""}}return(!e||e===".")&&a.route.index&&(o.search=o.search?o.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(o.pathname=o.pathname==="/"?n:Ya([n,o.pathname])),Nd(o)}function $7(e,{relative:t}={}){let n=j.useContext(zO);Bt(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:i}=GO("useViewTransitionState"),a=Qd(e,{relative:t});if(!n.isTransitioning)return!1;let o=Za(n.currentLocation.pathname,i)||n.currentLocation.pathname,l=Za(n.nextLocation.pathname,i)||n.nextLocation.pathname;return Um(a.pathname,l)!=null||Um(a.pathname,o)!=null}const YO=j.createContext(),B7=({children:e})=>{const[t,n]=j.useState(null),[i,a]=j.useState(null),o="http://localhost:5000",l=(b,w)=>{n(b),a(w)},u=()=>{n(null),a(null)},[f,h]=j.useState(!1),p=()=>h(!0),m=()=>h(!1);return v.jsx(YO.Provider,{value:{IP_Address:o,user:t,token:i,login:l,logout:u,showEnquiry:f,openEnquiry:p,closeEnquiry:m},children:e})},KO=()=>j.useContext(YO);var WO={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},_S=_t.createContext&&_t.createContext(WO),V7=["attr","size","title"];function H7(e,t){if(e==null)return{};var n=q7(e,t),i,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)i=o[a],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function q7(e,t){if(e==null)return{};var n={};for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){if(t.indexOf(i)>=0)continue;n[i]=e[i]}return n}function Fm(){return Fm=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Fm.apply(this,arguments)}function ES(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,i)}return n}function Gm(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ES(Object(n),!0).forEach(function(i){U7(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ES(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function U7(e,t,n){return t=F7(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function F7(e){var t=G7(e,"string");return typeof t=="symbol"?t:t+""}function G7(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function XO(e){return e&&e.map((t,n)=>_t.createElement(t.tag,Gm({key:n},t.attr),XO(t.child)))}function Xe(e){return t=>_t.createElement(Y7,Fm({attr:Gm({},e.attr)},t),XO(e.child))}function Y7(e){var t=n=>{var{attr:i,size:a,title:o}=e,l=H7(e,V7),u=a||n.size||"1em",f;return n.className&&(f=n.className),e.className&&(f=(f?f+" ":"")+e.className),_t.createElement("svg",Fm({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,i,l,{className:f,style:Gm(Gm({color:e.color||n.color},n.style),e.style),height:u,width:u,xmlns:"http://www.w3.org/2000/svg"}),o&&_t.createElement("title",null,o),e.children)};return _S!==void 0?_t.createElement(_S.Consumer,null,n=>t(n)):t(WO)}function QO(e){return Xe({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 ZO(e){return Xe({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 JO(e){return Xe({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z"},child:[]}]})(e)}function e4(e){return Xe({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 ui(e){return Xe({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)}function ob(e){return Xe({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M448 360V24c0-13.3-10.7-24-24-24H96C43 0 0 43 0 96v320c0 53 43 96 96 96h328c13.3 0 24-10.7 24-24v-16c0-7.5-3.5-14.3-8.9-18.7-4.2-15.4-4.2-59.3 0-74.7 5.4-4.3 8.9-11.1 8.9-18.6zM128 134c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm0 64c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm253.4 250H96c-17.7 0-32-14.3-32-32 0-17.6 14.4-32 32-32h285.4c-1.9 17.1-1.9 46.9 0 64z"},child:[]}]})(e)}function SS(e){return Xe({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M320 336c0 8.84-7.16 16-16 16h-96c-8.84 0-16-7.16-16-16v-48H0v144c0 25.6 22.4 48 48 48h416c25.6 0 48-22.4 48-48V288H320v48zm144-208h-80V80c0-25.6-22.4-48-48-48H176c-25.6 0-48 22.4-48 48v48H48c-25.6 0-48 22.4-48 48v80h512v-80c0-25.6-22.4-48-48-48zm-144 0H192V96h128v32z"},child:[]}]})(e)}function K7(e){return Xe({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M488 128h-8V80c0-44.8-99.2-80-224-80S32 35.2 32 80v48h-8c-13.25 0-24 10.74-24 24v80c0 13.25 10.75 24 24 24h8v160c0 17.67 14.33 32 32 32v32c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32v-32h192v32c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32v-32h6.4c16 0 25.6-12.8 25.6-25.6V256h8c13.25 0 24-10.75 24-24v-80c0-13.26-10.75-24-24-24zM112 400c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm16-112c-17.67 0-32-14.33-32-32V128c0-17.67 14.33-32 32-32h256c17.67 0 32 14.33 32 32v128c0 17.67-14.33 32-32 32H128zm272 112c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32z"},child:[]}]})(e)}function W7(e){return Xe({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M458.622 255.92l45.985-45.005c13.708-12.977 7.316-36.039-10.664-40.339l-62.65-15.99 17.661-62.015c4.991-17.838-11.829-34.663-29.661-29.671l-61.994 17.667-15.984-62.671C337.085.197 313.765-6.276 300.99 7.228L256 53.57 211.011 7.229c-12.63-13.351-36.047-7.234-40.325 10.668l-15.984 62.671-61.995-17.667C74.87 57.907 58.056 74.738 63.046 92.572l17.661 62.015-62.65 15.99C.069 174.878-6.31 197.944 7.392 210.915l45.985 45.005-45.985 45.004c-13.708 12.977-7.316 36.039 10.664 40.339l62.65 15.99-17.661 62.015c-4.991 17.838 11.829 34.663 29.661 29.671l61.994-17.667 15.984 62.671c4.439 18.575 27.696 24.018 40.325 10.668L256 458.61l44.989 46.001c12.5 13.488 35.987 7.486 40.325-10.668l15.984-62.671 61.994 17.667c17.836 4.994 34.651-11.837 29.661-29.671l-17.661-62.015 62.65-15.99c17.987-4.302 24.366-27.367 10.664-40.339l-45.984-45.004z"},child:[]}]})(e)}function Nm(e){return Xe({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z"},child:[]}]})(e)}function X7(e){return Xe({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z"},child:[]}]})(e)}function Q7(e){return Xe({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256,8C119,8,8,119,8,256S119,504,256,504,504,393,504,256,393,8,256,8Zm92.49,313h0l-20,25a16,16,0,0,1-22.49,2.5h0l-67-49.72a40,40,0,0,1-15-31.23V112a16,16,0,0,1,16-16h32a16,16,0,0,1,16,16V256l58,42.5A16,16,0,0,1,348.49,321Z"},child:[]}]})(e)}function Z7(e){return Xe({attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M512.1 191l-8.2 14.3c-3 5.3-9.4 7.5-15.1 5.4-11.8-4.4-22.6-10.7-32.1-18.6-4.6-3.8-5.8-10.5-2.8-15.7l8.2-14.3c-6.9-8-12.3-17.3-15.9-27.4h-16.5c-6 0-11.2-4.3-12.2-10.3-2-12-2.1-24.6 0-37.1 1-6 6.2-10.4 12.2-10.4h16.5c3.6-10.1 9-19.4 15.9-27.4l-8.2-14.3c-3-5.2-1.9-11.9 2.8-15.7 9.5-7.9 20.4-14.2 32.1-18.6 5.7-2.1 12.1.1 15.1 5.4l8.2 14.3c10.5-1.9 21.2-1.9 31.7 0L552 6.3c3-5.3 9.4-7.5 15.1-5.4 11.8 4.4 22.6 10.7 32.1 18.6 4.6 3.8 5.8 10.5 2.8 15.7l-8.2 14.3c6.9 8 12.3 17.3 15.9 27.4h16.5c6 0 11.2 4.3 12.2 10.3 2 12 2.1 24.6 0 37.1-1 6-6.2 10.4-12.2 10.4h-16.5c-3.6 10.1-9 19.4-15.9 27.4l8.2 14.3c3 5.2 1.9 11.9-2.8 15.7-9.5 7.9-20.4 14.2-32.1 18.6-5.7 2.1-12.1-.1-15.1-5.4l-8.2-14.3c-10.4 1.9-21.2 1.9-31.7 0zm-10.5-58.8c38.5 29.6 82.4-14.3 52.8-52.8-38.5-29.7-82.4 14.3-52.8 52.8zM386.3 286.1l33.7 16.8c10.1 5.8 14.5 18.1 10.5 29.1-8.9 24.2-26.4 46.4-42.6 65.8-7.4 8.9-20.2 11.1-30.3 5.3l-29.1-16.8c-16 13.7-34.6 24.6-54.9 31.7v33.6c0 11.6-8.3 21.6-19.7 23.6-24.6 4.2-50.4 4.4-75.9 0-11.5-2-20-11.9-20-23.6V418c-20.3-7.2-38.9-18-54.9-31.7L74 403c-10 5.8-22.9 3.6-30.3-5.3-16.2-19.4-33.3-41.6-42.2-65.7-4-10.9.4-23.2 10.5-29.1l33.3-16.8c-3.9-20.9-3.9-42.4 0-63.4L12 205.8c-10.1-5.8-14.6-18.1-10.5-29 8.9-24.2 26-46.4 42.2-65.8 7.4-8.9 20.2-11.1 30.3-5.3l29.1 16.8c16-13.7 34.6-24.6 54.9-31.7V57.1c0-11.5 8.2-21.5 19.6-23.5 24.6-4.2 50.5-4.4 76-.1 11.5 2 20 11.9 20 23.6v33.6c20.3 7.2 38.9 18 54.9 31.7l29.1-16.8c10-5.8 22.9-3.6 30.3 5.3 16.2 19.4 33.2 41.6 42.1 65.8 4 10.9.1 23.2-10 29.1l-33.7 16.8c3.9 21 3.9 42.5 0 63.5zm-117.6 21.1c59.2-77-28.7-164.9-105.7-105.7-59.2 77 28.7 164.9 105.7 105.7zm243.4 182.7l-8.2 14.3c-3 5.3-9.4 7.5-15.1 5.4-11.8-4.4-22.6-10.7-32.1-18.6-4.6-3.8-5.8-10.5-2.8-15.7l8.2-14.3c-6.9-8-12.3-17.3-15.9-27.4h-16.5c-6 0-11.2-4.3-12.2-10.3-2-12-2.1-24.6 0-37.1 1-6 6.2-10.4 12.2-10.4h16.5c3.6-10.1 9-19.4 15.9-27.4l-8.2-14.3c-3-5.2-1.9-11.9 2.8-15.7 9.5-7.9 20.4-14.2 32.1-18.6 5.7-2.1 12.1.1 15.1 5.4l8.2 14.3c10.5-1.9 21.2-1.9 31.7 0l8.2-14.3c3-5.3 9.4-7.5 15.1-5.4 11.8 4.4 22.6 10.7 32.1 18.6 4.6 3.8 5.8 10.5 2.8 15.7l-8.2 14.3c6.9 8 12.3 17.3 15.9 27.4h16.5c6 0 11.2 4.3 12.2 10.3 2 12 2.1 24.6 0 37.1-1 6-6.2 10.4-12.2 10.4h-16.5c-3.6 10.1-9 19.4-15.9 27.4l8.2 14.3c3 5.2 1.9 11.9-2.8 15.7-9.5 7.9-20.4 14.2-32.1 18.6-5.7 2.1-12.1-.1-15.1-5.4l-8.2-14.3c-10.4 1.9-21.2 1.9-31.7 0zM501.6 431c38.5 29.6 82.4-14.3 52.8-52.8-38.5-29.6-82.4 14.3-52.8 52.8z"},child:[]}]})(e)}function t4(e){return Xe({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"},child:[]}]})(e)}function jm(e){return Xe({attr:{viewBox:"0 0 384 512"},child:[{tag:"path",attr:{d:"M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm64 236c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12v8zm0-64c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12v8zm0-72v8c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12zm96-114.1v6.1H256V0h6.1c6.4 0 12.5 2.5 17 7l97.9 98c4.5 4.5 7 10.6 7 16.9z"},child:[]}]})(e)}function J7(e){return Xe({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M437.2 403.5L320 215V64h8c13.3 0 24-10.7 24-24V24c0-13.3-10.7-24-24-24H120c-13.3 0-24 10.7-24 24v16c0 13.3 10.7 24 24 24h8v151L10.8 403.5C-18.5 450.6 15.3 512 70.9 512h306.2c55.7 0 89.4-61.5 60.1-108.5zM137.9 320l48.2-77.6c3.7-5.2 5.8-11.6 5.8-18.4V64h64v160c0 6.9 2.2 13.2 5.8 18.4l48.2 77.6h-172z"},child:[]}]})(e)}function eL(e){return Xe({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M32 448c0 17.7 14.3 32 32 32h160V320H32v128zm256 32h160c17.7 0 32-14.3 32-32V320H288v160zm192-320h-42.1c6.2-12.1 10.1-25.5 10.1-40 0-48.5-39.5-88-88-88-41.6 0-68.5 21.3-103 68.3-34.5-47-61.4-68.3-103-68.3-48.5 0-88 39.5-88 88 0 14.5 3.8 27.9 10.1 40H32c-17.7 0-32 14.3-32 32v80c0 8.8 7.2 16 16 16h480c8.8 0 16-7.2 16-16v-80c0-17.7-14.3-32-32-32zm-326.1 0c-22.1 0-40-17.9-40-40s17.9-40 40-40c19.9 0 34.6 3.3 86.1 80h-86.1zm206.1 0h-86.1c51.4-76.5 65.7-80 86.1-80 22.1 0 40 17.9 40 40s-17.9 40-40 40z"},child:[]}]})(e)}function TS(e){return Xe({attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M248 8C111.03 8 0 119.03 0 256s111.03 248 248 248 248-111.03 248-248S384.97 8 248 8zm82.29 357.6c-3.9 3.88-7.99 7.95-11.31 11.28-2.99 3-5.1 6.7-6.17 10.71-1.51 5.66-2.73 11.38-4.77 16.87l-17.39 46.85c-13.76 3-28 4.69-42.65 4.69v-27.38c1.69-12.62-7.64-36.26-22.63-51.25-6-6-9.37-14.14-9.37-22.63v-32.01c0-11.64-6.27-22.34-16.46-27.97-14.37-7.95-34.81-19.06-48.81-26.11-11.48-5.78-22.1-13.14-31.65-21.75l-.8-.72a114.792 114.792 0 0 1-18.06-20.74c-9.38-13.77-24.66-36.42-34.59-51.14 20.47-45.5 57.36-82.04 103.2-101.89l24.01 12.01C203.48 89.74 216 82.01 216 70.11v-11.3c7.99-1.29 16.12-2.11 24.39-2.42l28.3 28.3c6.25 6.25 6.25 16.38 0 22.63L264 112l-10.34 10.34c-3.12 3.12-3.12 8.19 0 11.31l4.69 4.69c3.12 3.12 3.12 8.19 0 11.31l-8 8a8.008 8.008 0 0 1-5.66 2.34h-8.99c-2.08 0-4.08.81-5.58 2.27l-9.92 9.65a8.008 8.008 0 0 0-1.58 9.31l15.59 31.19c2.66 5.32-1.21 11.58-7.15 11.58h-5.64c-1.93 0-3.79-.7-5.24-1.96l-9.28-8.06a16.017 16.017 0 0 0-15.55-3.1l-31.17 10.39a11.95 11.95 0 0 0-8.17 11.34c0 4.53 2.56 8.66 6.61 10.69l11.08 5.54c9.41 4.71 19.79 7.16 30.31 7.16s22.59 27.29 32 32h66.75c8.49 0 16.62 3.37 22.63 9.37l13.69 13.69a30.503 30.503 0 0 1 8.93 21.57 46.536 46.536 0 0 1-13.72 32.98zM417 274.25c-5.79-1.45-10.84-5-14.15-9.97l-17.98-26.97a23.97 23.97 0 0 1 0-26.62l19.59-29.38c2.32-3.47 5.5-6.29 9.24-8.15l12.98-6.49C440.2 193.59 448 223.87 448 256c0 8.67-.74 17.16-1.82 25.54L417 274.25z"},child:[]}]})(e)}function tL(e){return Xe({attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M336.5 160C322 70.7 287.8 8 248 8s-74 62.7-88.5 152h177zM152 256c0 22.2 1.2 43.5 3.3 64h185.3c2.1-20.5 3.3-41.8 3.3-64s-1.2-43.5-3.3-64H155.3c-2.1 20.5-3.3 41.8-3.3 64zm324.7-96c-28.6-67.9-86.5-120.4-158-141.6 24.4 33.8 41.2 84.7 50 141.6h108zM177.2 18.4C105.8 39.6 47.8 92.1 19.3 160h108c8.7-56.9 25.5-107.8 49.9-141.6zM487.4 192H372.7c2.1 21 3.3 42.5 3.3 64s-1.2 43-3.3 64h114.6c5.5-20.5 8.6-41.8 8.6-64s-3.1-43.5-8.5-64zM120 256c0-21.5 1.2-43 3.3-64H8.6C3.2 212.5 0 233.8 0 256s3.2 43.5 8.6 64h114.6c-2-21-3.2-42.5-3.2-64zm39.5 96c14.5 89.3 48.7 152 88.5 152s74-62.7 88.5-152h-177zm159.3 141.6c71.4-21.2 129.4-73.7 158-141.6h-108c-8.8 56.9-25.6 107.8-50 141.6zM19.3 352c28.6 67.9 86.5 120.4 158 141.6-24.4-33.8-41.2-84.7-50-141.6h-108z"},child:[]}]})(e)}function n4(e){return Xe({attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M622.34 153.2L343.4 67.5c-15.2-4.67-31.6-4.67-46.79 0L17.66 153.2c-23.54 7.23-23.54 38.36 0 45.59l48.63 14.94c-10.67 13.19-17.23 29.28-17.88 46.9C38.78 266.15 32 276.11 32 288c0 10.78 5.68 19.85 13.86 25.65L20.33 428.53C18.11 438.52 25.71 448 35.94 448h56.11c10.24 0 17.84-9.48 15.62-19.47L82.14 313.65C90.32 307.85 96 298.78 96 288c0-11.57-6.47-21.25-15.66-26.87.76-15.02 8.44-28.3 20.69-36.72L296.6 284.5c9.06 2.78 26.44 6.25 46.79 0l278.95-85.7c23.55-7.24 23.55-38.36 0-45.6zM352.79 315.09c-28.53 8.76-52.84 3.92-65.59 0l-145.02-44.55L128 384c0 35.35 85.96 64 192 64s192-28.65 192-64l-14.18-113.47-145.03 44.56z"},child:[]}]})(e)}function nL(e){return Xe({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M464 256H48a48 48 0 0 0 0 96h416a48 48 0 0 0 0-96zm16 128H32a16 16 0 0 0-16 16v16a64 64 0 0 0 64 64h352a64 64 0 0 0 64-64v-16a16 16 0 0 0-16-16zM58.64 224h394.72c34.57 0 54.62-43.9 34.82-75.88C448 83.2 359.55 32.1 256 32c-103.54.1-192 51.2-232.18 116.11C4 180.09 24.07 224 58.64 224zM384 112a16 16 0 1 1-16 16 16 16 0 0 1 16-16zM256 80a16 16 0 1 1-16 16 16 16 0 0 1 16-16zm-128 32a16 16 0 1 1-16 16 16 16 0 0 1 16-16z"},child:[]}]})(e)}function iL(e){return Xe({attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M488 192H336v56c0 39.7-32.3 72-72 72s-72-32.3-72-72V126.4l-64.9 39C107.8 176.9 96 197.8 96 220.2v47.3l-80 46.2C.7 322.5-4.6 342.1 4.3 357.4l80 138.6c8.8 15.3 28.4 20.5 43.7 11.7L231.4 448H368c35.3 0 64-28.7 64-64h16c17.7 0 32-14.3 32-32v-64h8c13.3 0 24-10.7 24-24v-48c0-13.3-10.7-24-24-24zm147.7-37.4L555.7 16C546.9.7 527.3-4.5 512 4.3L408.6 64H306.4c-12 0-23.7 3.4-33.9 9.7L239 94.6c-9.4 5.8-15 16.1-15 27.1V248c0 22.1 17.9 40 40 40s40-17.9 40-40v-88h184c30.9 0 56 25.1 56 56v28.5l80-46.2c15.3-8.9 20.5-28.4 11.7-43.7z"},child:[]}]})(e)}function i4(e){return Xe({attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M280.37 148.26L96 300.11V464a16 16 0 0 0 16 16l112.06-.29a16 16 0 0 0 15.92-16V368a16 16 0 0 1 16-16h64a16 16 0 0 1 16 16v95.64a16 16 0 0 0 16 16.05L464 480a16 16 0 0 0 16-16V300L295.67 148.26a12.19 12.19 0 0 0-15.3 0zM571.6 251.47L488 182.56V44.05a12 12 0 0 0-12-12h-56a12 12 0 0 0-12 12v72.61L318.47 43a48 48 0 0 0-61 0L4.34 251.47a12 12 0 0 0-1.6 16.9l25.5 31A12 12 0 0 0 45.15 301l235.22-193.74a12.19 12.19 0 0 1 15.3 0L530.9 301a12 12 0 0 0 16.9-1.6l25.5-31a12 12 0 0 0-1.7-16.93z"},child:[]}]})(e)}function rL(e){return Xe({attr:{viewBox:"0 0 384 512"},child:[{tag:"path",attr:{d:"M172.268 501.67C26.97 291.031 0 269.413 0 192 0 85.961 85.961 0 192 0s192 85.961 192 192c0 77.413-26.97 99.031-172.268 309.67-9.535 13.774-29.93 13.773-39.464 0zM192 272c44.183 0 80-35.817 80-80s-35.817-80-80-80-80 35.817-80 80 35.817 80 80 80z"},child:[]}]})(e)}function aL(e){return Xe({attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M621.16 54.46C582.37 38.19 543.55 32 504.75 32c-123.17-.01-246.33 62.34-369.5 62.34-30.89 0-61.76-3.92-92.65-13.72-3.47-1.1-6.95-1.62-10.35-1.62C15.04 79 0 92.32 0 110.81v317.26c0 12.63 7.23 24.6 18.84 29.46C57.63 473.81 96.45 480 135.25 480c123.17 0 246.34-62.35 369.51-62.35 30.89 0 61.76 3.92 92.65 13.72 3.47 1.1 6.95 1.62 10.35 1.62 17.21 0 32.25-13.32 32.25-31.81V83.93c-.01-12.64-7.24-24.6-18.85-29.47zM48 132.22c20.12 5.04 41.12 7.57 62.72 8.93C104.84 170.54 79 192.69 48 192.69v-60.47zm0 285v-47.78c34.37 0 62.18 27.27 63.71 61.4-22.53-1.81-43.59-6.31-63.71-13.62zM320 352c-44.19 0-80-42.99-80-96 0-53.02 35.82-96 80-96s80 42.98 80 96c0 53.03-35.83 96-80 96zm272 27.78c-17.52-4.39-35.71-6.85-54.32-8.44 5.87-26.08 27.5-45.88 54.32-49.28v57.72zm0-236.11c-30.89-3.91-54.86-29.7-55.81-61.55 19.54 2.17 38.09 6.23 55.81 12.66v48.89z"},child:[]}]})(e)}function sL(e){return Xe({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M167.02 309.34c-40.12 2.58-76.53 17.86-97.19 72.3-2.35 6.21-8 9.98-14.59 9.98-11.11 0-45.46-27.67-55.25-34.35C0 439.62 37.93 512 128 512c75.86 0 128-43.77 128-120.19 0-3.11-.65-6.08-.97-9.13l-88.01-73.34zM457.89 0c-15.16 0-29.37 6.71-40.21 16.45C213.27 199.05 192 203.34 192 257.09c0 13.7 3.25 26.76 8.73 38.7l63.82 53.18c7.21 1.8 14.64 3.03 22.39 3.03 62.11 0 98.11-45.47 211.16-256.46 7.38-14.35 13.9-29.85 13.9-45.99C512 20.64 486 0 457.89 0z"},child:[]}]})(e)}function Dm(e){return Xe({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M129.62 176h39.09c1.49-27.03 6.54-51.35 14.21-70.41-27.71 13.24-48.02 39.19-53.3 70.41zm0 32c5.29 31.22 25.59 57.17 53.3 70.41-7.68-19.06-12.72-43.38-14.21-70.41h-39.09zM224 286.69c7.69-7.45 20.77-34.42 23.43-78.69h-46.87c2.67 44.26 15.75 71.24 23.44 78.69zM200.57 176h46.87c-2.66-44.26-15.74-71.24-23.43-78.69-7.7 7.45-20.78 34.43-23.44 78.69zm64.51 102.41c27.71-13.24 48.02-39.19 53.3-70.41h-39.09c-1.49 27.03-6.53 51.35-14.21 70.41zM416 0H64C28.65 0 0 28.65 0 64v384c0 35.35 28.65 64 64 64h352c17.67 0 32-14.33 32-32V32c0-17.67-14.33-32-32-32zm-80 416H112c-8.8 0-16-7.2-16-16s7.2-16 16-16h224c8.8 0 16 7.2 16 16s-7.2 16-16 16zm-112-96c-70.69 0-128-57.31-128-128S153.31 64 224 64s128 57.31 128 128-57.31 128-128 128zm41.08-214.41c7.68 19.06 12.72 43.38 14.21 70.41h39.09c-5.28-31.22-25.59-57.17-53.3-70.41z"},child:[]}]})(e)}function r4(e){return Xe({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M493.4 24.6l-104-24c-11.3-2.6-22.9 3.3-27.5 13.9l-48 112c-4.2 9.8-1.4 21.3 6.9 28l60.6 49.6c-36 76.7-98.9 140.5-177.2 177.2l-49.6-60.6c-6.8-8.3-18.2-11.1-28-6.9l-112 48C3.9 366.5-2 378.1.6 389.4l24 104C27.1 504.2 36.7 512 48 512c256.1 0 464-207.5 464-464 0-11.2-7.7-20.9-18.6-23.4z"},child:[]}]})(e)}function oL(e){return Xe({attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M624 448H16c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h608c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16zM80.55 341.27c6.28 6.84 15.1 10.72 24.33 10.71l130.54-.18a65.62 65.62 0 0 0 29.64-7.12l290.96-147.65c26.74-13.57 50.71-32.94 67.02-58.31 18.31-28.48 20.3-49.09 13.07-63.65-7.21-14.57-24.74-25.27-58.25-27.45-29.85-1.94-59.54 5.92-86.28 19.48l-98.51 49.99-218.7-82.06a17.799 17.799 0 0 0-18-1.11L90.62 67.29c-10.67 5.41-13.25 19.65-5.17 28.53l156.22 98.1-103.21 52.38-72.35-36.47a17.804 17.804 0 0 0-16.07.02L9.91 230.22c-10.44 5.3-13.19 19.12-5.57 28.08l76.21 82.97z"},child:[]}]})(e)}function a4(e){return Xe({attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M480 192H365.71L260.61 8.06A16.014 16.014 0 0 0 246.71 0h-65.5c-10.63 0-18.3 10.17-15.38 20.39L214.86 192H112l-43.2-57.6c-3.02-4.03-7.77-6.4-12.8-6.4H16.01C5.6 128-2.04 137.78.49 147.88L32 256 .49 364.12C-2.04 374.22 5.6 384 16.01 384H56c5.04 0 9.78-2.37 12.8-6.4L112 320h102.86l-49.03 171.6c-2.92 10.22 4.75 20.4 15.38 20.4h65.5c5.74 0 11.04-3.08 13.89-8.06L365.71 320H480c35.35 0 96-28.65 96-64s-60.65-64-96-64z"},child:[]}]})(e)}function lL(e){return Xe({attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M631.2 96.5L436.5 0C416.4 27.8 371.9 47.2 320 47.2S223.6 27.8 203.5 0L8.8 96.5c-7.9 4-11.1 13.6-7.2 21.5l57.2 114.5c4 7.9 13.6 11.1 21.5 7.2l56.6-27.7c10.6-5.2 23 2.5 23 14.4V480c0 17.7 14.3 32 32 32h256c17.7 0 32-14.3 32-32V226.3c0-11.8 12.4-19.6 23-14.4l56.6 27.7c7.9 4 17.5.8 21.5-7.2L638.3 118c4-7.9.8-17.6-7.1-21.5z"},child:[]}]})(e)}function lb(e){return Xe({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M496 128v16a8 8 0 0 1-8 8h-24v12c0 6.627-5.373 12-12 12H60c-6.627 0-12-5.373-12-12v-12H24a8 8 0 0 1-8-8v-16a8 8 0 0 1 4.941-7.392l232-88a7.996 7.996 0 0 1 6.118 0l232 88A8 8 0 0 1 496 128zm-24 304H40c-13.255 0-24 10.745-24 24v16a8 8 0 0 0 8 8h464a8 8 0 0 0 8-8v-16c0-13.255-10.745-24-24-24zM96 192v192H60c-6.627 0-12 5.373-12 12v20h416v-20c0-6.627-5.373-12-12-12h-36V192h-64v192h-64V192h-64v192h-64V192H96z"},child:[]}]})(e)}function cL(e){return Xe({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm95.8 32.6L272 480l-32-136 32-56h-96l32 56-32 136-47.8-191.4C56.9 292 0 350.3 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-72.1-56.9-130.4-128.2-133.8z"},child:[]}]})(e)}function uL(e){return Xe({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z"},child:[]}]})(e)}const fL="/assets/logo-BdlDX0jQ.png";function dL(){const[e,t]=j.useState(!1),[n,i]=j.useState(null),[a,o]=j.useState(!1);j.useEffect(()=>{const p=()=>{window.scrollY>50?o(!0):o(!1)};return window.addEventListener("scroll",p),()=>window.removeEventListener("scroll",p)},[]);const l=()=>{t(!e)},u=p=>{i(n===p?null:p)},f=()=>{i(null)},h=[{name:"Austria",flag:"https://hwp.creativegigstf.com/visim/assets/img/media/austria.jpg"},{name:"New Zealand",flag:"https://hwp.creativegigstf.com/visim/assets/img/media/new.jpg"},{name:"China",flag:"https://hwp.creativegigstf.com/visim/assets/img/media/china.jpg"},{name:"Afghanistan",flag:"https://hwp.creativegigstf.com/visim/assets/img/media/afg.jpg"},{name:"Brazil",flag:"https://hwp.creativegigstf.com/visim/assets/img/media/bra.svg"},{name:"Australia",flag:"https://hwp.creativegigstf.com/visim/assets/img/media/aus.jpg"},{name:"Colombia",flag:"https://hwp.creativegigstf.com/visim/assets/img/media/colum.jpg"},{name:"Malaysia",flag:"https://hwp.creativegigstf.com/visim/assets/img/media/malaysia.jpg"},{name:"Thailand",flag:"https://hwp.creativegigstf.com/visim/assets/img/media/thailand.jpg"},{name:"Cambodia",flag:"https://hwp.creativegigstf.com/visim/assets/img/media/cambodia.svg"},{name:"Belgium",flag:"https://hwp.creativegigstf.com/visim/assets/img/media/blezium.jpg"},{name:"Bulgaria",flag:"https://hwp.creativegigstf.com/visim/assets/img/media/bulgaria.jpg"},{name:"Canada",flag:"https://hwp.creativegigstf.com/visim/assets/img/media/canada.jpg"},{name:"Germany",flag:"https://hwp.creativegigstf.com/visim/assets/img/media/german.jpg"}];return v.jsxs(v.Fragment,{children:[v.jsxs("div",{className:"header-box",children:[v.jsx("div",{className:"topbar",children:v.jsx("div",{className:"container",children:v.jsxs("div",{className:"topbar-content",children:[v.jsxs("div",{className:"topbar-contact",children:[v.jsxs("span",{className:"topbar-item",children:[v.jsx(r4,{className:"topbar-icon phone-icon"})," +91 9958449044"]}),v.jsxs("span",{className:"topbar-item",children:[v.jsx(t4,{className:"topbar-icon"}),"info@ucglobalstudy.com"]})]}),v.jsxs("div",{className:"topbar-social",children:[v.jsx("a",{href:"https://www.facebook.com/ucglobalstudy#",className:"social-link",target:"_blank",children:v.jsx(QO,{})}),v.jsx("a",{href:"#",className:"social-link",children:v.jsx(e4,{})}),v.jsx("a",{href:"#",className:"social-link",children:v.jsx(JO,{})}),v.jsx("a",{href:"https://www.instagram.com/ucglobalstudy/",className:"social-link",target:"_blank",children:v.jsx(ZO,{})})]})]})})}),v.jsx("nav",{className:`navbar navbar-expand-lg custom-navbar ${a?"navbar-scrolled":""}`,children:v.jsxs("div",{className:"container",children:[v.jsx(Mn,{className:"navbar-brand",to:"/",children:v.jsx("img",{src:fL,alt:"UC Global Logo",className:"logo-img"})}),v.jsx("button",{className:"navbar-toggler",type:"button",onClick:l,"aria-label":"Toggle navigation",children:v.jsx("span",{className:"navbar-toggler-icon"})}),v.jsxs("div",{className:`collapse navbar-collapse ${e?"show":""}`,children:[v.jsxs("ul",{className:"navbar-nav ms-auto",children:[v.jsx("li",{className:"nav-item",children:v.jsx(Mn,{className:"nav-link",to:"/about",onClick:()=>{t(!1),f()},children:"About"})}),v.jsxs("li",{className:"nav-item dropdown mega-dropdown",onMouseEnter:()=>u("destination"),onMouseLeave:f,children:[v.jsxs("span",{className:"nav-link dropdown-toggle",onClick:()=>u("destination"),children:["Destination ",v.jsx(Nm,{className:"dropdown-arrow"})]}),n==="destination"&&v.jsx("div",{className:"dropdown-menu mega-dropdown-menu show",children:v.jsx("div",{className:"dropdown-content",children:v.jsx("div",{className:"row destination-mbile-menu",children:h.map((p,m)=>v.jsx("div",{className:"col-md-4",children:v.jsxs(Mn,{className:"dropdown-item",to:`/country-of-study/${p.name.toLowerCase()}`,onClick:()=>t(!1),children:[v.jsx("img",{src:p.flag,alt:p.name,className:"destination-flag"}),p.name]})},m))})})})]}),v.jsxs("li",{className:"nav-item dropdown",onMouseEnter:()=>u("test"),onMouseLeave:f,children:[v.jsxs("span",{className:"nav-link dropdown-toggle",onClick:()=>u("test"),children:["Test ",v.jsx(Nm,{className:"dropdown-arrow"})]}),n==="test"&&v.jsx("div",{className:"dropdown-menu show",children:v.jsxs("div",{className:"dropdown-content test-dropdown",children:[v.jsx(Mn,{className:"dropdown-item",to:"/test/ielts",onClick:()=>t(!1),children:"IELTS"}),v.jsx(Mn,{className:"dropdown-item ",to:"/test/toefl",onClick:()=>t(!1),children:"TOEFL"}),v.jsx(Mn,{className:"dropdown-item",to:"/test/pte",onClick:()=>t(!1),children:"PTE"}),v.jsx(Mn,{className:"dropdown-item",to:"/test/gre",onClick:()=>t(!1),children:"GRE"}),v.jsx(Mn,{className:"dropdown-item",to:"/test/gmat",onClick:()=>t(!1),children:"GMAT"})]})})]}),v.jsxs("li",{className:"nav-item dropdown",onMouseEnter:()=>u("finance"),onMouseLeave:f,children:[v.jsxs("span",{className:"nav-link dropdown-toggle",onClick:()=>u("finance"),children:["Finance ",v.jsx(Nm,{className:"dropdown-arrow"})]}),n==="finance"&&v.jsx("div",{className:"dropdown-menu show",children:v.jsxs("div",{className:"dropdown-content finance-dropdown",children:[v.jsx(Mn,{className:"dropdown-item",to:"/finance/fly-forex",onClick:()=>t(!1),children:"Fly Forex"}),v.jsx(Mn,{className:"dropdown-item",to:"/finance/fly-loan",onClick:()=>t(!1),children:"Fly Loan"})]})})]}),v.jsx("li",{className:"nav-item",children:v.jsx(Mn,{className:"nav-link",to:"/accommodation",onClick:()=>{t(!1),f()},children:"Accommodation"})}),v.jsx("li",{className:"nav-item",children:v.jsx(Mn,{className:"nav-link",to:"/community",onClick:()=>{t(!1),f()},children:"Community"})})]}),v.jsx("div",{className:"header-cta ms-lg-3",children:v.jsxs("button",{className:"btn btn-login",children:[v.jsx(uL,{className:"me-2"})," Login"]})})]})]})})]}),v.jsx("style",{jsx:!0,children:` .topbar { background-color: var(--primary-dark-color); color: var(--text-light); padding: 8px 0; font-size: 14px; transition: var(--transition); } .topbar-content { display: flex; justify-content: space-between; align-items: center; } .topbar-contact { display: flex; gap: 20px; } .topbar-item { display: flex; align-items: center; gap: 5px; } .topbar-icon { font-size: 0.9rem; } .topbar-social { display: flex; gap: 12px; } .social-link { color: var(--text-light); text-decoration: none; transition: var(--transition); width: 28px; height: 28px; border-radius: 50%; background-color: rgba(255, 255, 255, 0.1); display: flex; align-items: center; justify-content: center; } .social-link:hover { background-color: var(--secondary-color); color: var(--text-light); transform: translateY(-2px); } /* Navbar Styles */ .custom-navbar { background-color: var(--background-light); box-shadow: var(--shadow); padding: 15px 0; transition: var(--transition); position: sticky; top: 0; z-index: 1000; } .navbar-scrolled { padding: 8px 0; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); background-color: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px); } .navbar-brand { font-weight: 700; font-size: 1.8rem; display: flex; align-items: center; } .logo-img { width: 150px; transition: var(--transition); } .navbar-scrolled .logo-img { width: 130px; } .navbar-nav .nav-link { color: var(--text-dark) !important; font-weight: 500; padding: 0.5rem 1rem !important; margin: 0 0.2rem; border-radius: 4px; transition: var(--transition); display: flex; align-items: center; gap: 8px; } .nav-icon { font-size: 0.9rem; color: var(--primary-color); } .navbar-nav .nav-link:hover { color: var(--primary-color) !important; background-color: var(--primary-light); } /* Dropdown Styles */ .nav-item.dropdown { position: relative; } .dropdown-toggle { cursor: pointer; display: flex; align-items: center; gap: 5px; } .dropdown-arrow { font-size: 0.7rem; transition: var(--transition); } .nav-item.dropdown:hover .dropdown-arrow { transform: rotate(180deg); } .dropdown-menu { position: absolute; top: 100%; left: 0; z-index: 1000; display: none; min-width: 200px; margin: -20px; font-size: 0.9rem; color: var(--text-dark); text-align: left; list-style: none; background: transparent; border: none; } .dropdown-content { padding: 0.5rem 0; background-color: var(--background-light); background-clip: padding-box; border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 8px; box-shadow: var(--shadow); animation: fadeIn 0.3s ease; // border: 2px solid var(--primary-color); } .test-dropdown { margin-top: 15px; } .finance-dropdown { margin-top: 15px; } @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } .dropdown-menu.show { display: block; } .dropdown-item { display: block; width: 100%; padding: 0.6rem 1.2rem; clear: both; font-weight: 400; color: var(--text-dark); text-align: inherit; text-decoration: none; white-space: nowrap; background-color: transparent; border: 0; transition: var(--transition); display: flex; align-items: center; gap: 10px; } .dropdown-item:hover { background-color: var(--primary-light); color: var(--primary-color); } /* Mega Dropdown Styles */ .mega-dropdown { position: static !important; } .mega-dropdown-menu { width: 80%; left: 10%; right: 0; top: 100%; padding: 1.5rem; border-radius: 12px; } .mega-dropdown-menu .row { margin: 0; } .mega-dropdown-menu .col-md-3 { padding: 0 10px; } .dropdown-header { padding: 0 1.2rem; margin-bottom: 0.8rem; font-weight: 600; color: var(--primary-dark-color); font-size: 1.1rem; border-bottom: 1px solid #eee; padding-bottom: 0.5rem; } .destination-flag { width: 100px; height: 50px; object-fit: contain; border-radius: 2px; // box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); } /* Login Button */ .btn-login { background: linear-gradient( 135deg, var(--primary-color) 0%, var(--primary-dark-color) 100% ); color: white; border: none; padding: 0.5rem 1.2rem; border-radius: 6px; font-weight: 500; transition: var(--transition); display: flex; align-items: center; } .btn-login:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(1, 110, 182, 0.3); } /* Remove Bootstrap's default caret */ .navbar .dropdown-toggle::after { display: none !important; } /* Responsive Styles */ @media (max-width: 991.98px) { .topbar-content { flex-direction: column; gap: 10px; } .mega-dropdown-menu { width: 100%; left: 0; } .dropdown-menu { position: static; border: none; box-shadow: none; } .navbar-nav .nav-link { padding: 0.8rem 1rem !important; } } @media (max-width: 768px) { .header-box { display: none; } .topbar-contact { flex-direction: column; gap: 8px; } .logo-img { width: 120px; } } `})]})}function hL(){return v.jsxs("footer",{className:"footer-section",children:[v.jsx("div",{className:"footer-main",children:v.jsx("div",{className:"container",children:v.jsxs("div",{className:"footer-content",children:[v.jsxs("div",{className:"footer-column","data-aos":"fade-up","data-aos-delay":"100",children:[v.jsx("div",{className:"footer-logo"}),v.jsx("p",{className:"footer-description",children:"Empowering students to achieve their academic dreams through personalized guidance and expert support throughout the application process."}),v.jsxs("div",{className:"social-section",children:[v.jsx("p",{children:"Follow Us"}),v.jsxs("div",{className:"social-link-footers",children:[v.jsx("a",{href:"#","aria-label":"Facebook",className:"social-link-footer",children:v.jsx(QO,{size:18})}),v.jsx("a",{href:"#","aria-label":"Twitter",className:"social-link-footer",children:v.jsx(e4,{size:18})}),v.jsx("a",{href:"#","aria-label":"Instagram",className:"social-link-footer",children:v.jsx(ZO,{size:18})}),v.jsx("a",{href:"#","aria-label":"LinkedIn",className:"social-link-footer",children:v.jsx(JO,{size:18})})]})]})]}),v.jsxs("div",{className:"footer-column","data-aos":"fade-up","data-aos-delay":"200",children:[v.jsx("h5",{children:"Our Services"}),v.jsxs("ul",{className:"footer-links",children:[v.jsx("li",{children:v.jsxs("a",{href:"#",children:[v.jsx(ui,{size:12})," University Selection"]})}),v.jsx("li",{children:v.jsxs("a",{href:"#",children:[v.jsx(ui,{size:12})," Application Assistance"]})}),v.jsx("li",{children:v.jsxs("a",{href:"#",children:[v.jsx(ui,{size:12})," Essay Editing"]})}),v.jsx("li",{children:v.jsxs("a",{href:"#",children:[v.jsx(ui,{size:12})," Test Preparation"]})}),v.jsx("li",{children:v.jsxs("a",{href:"#",children:[v.jsx(ui,{size:12})," Visa Guidance"]})}),v.jsx("li",{children:v.jsxs("a",{href:"#",children:[v.jsx(ui,{size:12})," Scholarship Assistance"]})})]})]}),v.jsxs("div",{className:"footer-column","data-aos":"fade-up","data-aos-delay":"300",children:[v.jsx("h5",{children:"Quick Links"}),v.jsxs("ul",{className:"footer-links",children:[v.jsx("li",{children:v.jsxs("a",{href:"#",children:[v.jsx(ui,{size:12})," About Us"]})}),v.jsx("li",{children:v.jsxs("a",{href:"#",children:[v.jsx(ui,{size:12})," Success Stories"]})}),v.jsx("li",{children:v.jsxs("a",{href:"#",children:[v.jsx(ui,{size:12})," Blog & Resources"]})}),v.jsx("li",{children:v.jsxs("a",{href:"#",children:[v.jsx(ui,{size:12})," Events & Webinars"]})}),v.jsx("li",{children:v.jsxs("a",{href:"#",children:[v.jsx(ui,{size:12})," Careers"]})}),v.jsx("li",{children:v.jsxs("a",{href:"#",children:[v.jsx(ui,{size:12})," Contact Us"]})})]})]}),v.jsxs("div",{className:"footer-column","data-aos":"fade-up","data-aos-delay":"400",children:[v.jsx("h5",{children:"Stay Connected"}),v.jsxs("div",{className:"footer-contact",children:[v.jsxs("div",{className:"contact-item",children:[v.jsx("div",{className:"contact-icon",children:v.jsx(r4,{size:16,className:"phone-icon"})}),v.jsx("span",{children:"+1 (555) 123-4567"})]}),v.jsxs("div",{className:"contact-item",children:[v.jsx("div",{className:"contact-icon",children:v.jsx(t4,{size:16})}),v.jsx("span",{children:"info@eduglobal.com"})]}),v.jsxs("div",{className:"contact-item",children:[v.jsx("div",{className:"contact-icon",children:v.jsx(rL,{size:16})}),v.jsx("span",{children:"123 Education Ave, Boston, MA 02115"})]})]})]})]})})}),v.jsx("div",{className:"footer-bottom",children:v.jsx("div",{className:"container",children:v.jsxs("div",{className:"footer-bottom-content",children:[v.jsx("p",{children:"© 2025 UC Global. All rights reserved."}),v.jsxs("div",{className:"footer-legal",children:[v.jsx("a",{href:"#",children:"Privacy Policy"}),v.jsx("a",{href:"#",children:"Terms of Service"}),v.jsx("a",{href:"#",children:"Cookie Policy"})]})]})})}),v.jsx("style",{jsx:!0,children:` .footer-section { background: #1a202c; color: #e2e8f0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; border-top: 1px solid #2d3748; } .footer-main { padding: 4rem 0 2rem; } .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; } .footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2.5rem; } .footer-logo { margin-bottom: 1.5rem; } .footer-logo img { max-width: 150px; height: auto; } .footer-logo h3 { font-size: 1.8rem; font-weight: 700; color: #fff; margin: 0 0 0.25rem 0; } .footer-logo span { font-size: 0.9rem; color: #3182ce; font-weight: 500; } .footer-column h5 { font-size: 1.1rem; margin-bottom: 1.5rem; color: #fff; font-weight: 600; position: relative; padding-bottom: 0.75rem; } .footer-column h5:after { content: ''; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: #3182ce; } .footer-description { line-height: 1.6; margin-bottom: 2rem; color: #a0aec0; font-size: 0.95rem; } .footer-contact { display: flex; flex-direction: column; gap: 1rem; } .contact-item { display: flex; align-items: center; gap: 0.8rem; color: #a0aec0; font-size: 0.95rem; } .contact-icon { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: rgba(49, 130, 206, 0.1); border-radius: 4px; color: #3182ce; } .footer-links { list-style: none; padding: 0; margin: 0; } .footer-links li { margin-bottom: 0.8rem; } .footer-links a { display: flex; align-items: center; gap: 0.5rem; color: #a0aec0; text-decoration: none; transition: all 0.3s ease; font-size: 0.95rem; } .footer-links a:hover { color: #3182ce; transform: translateX(5px); } .newsletter-text { color: #a0aec0; margin-bottom: 1.5rem; line-height: 1.5; font-size: 0.95rem; } .newsletter-form { display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 2rem; } .newsletter-input { padding: 0.9rem 1rem; border: 1px solid #2d3748; border-radius: 6px; background: #2d3748; color: white; outline: none; transition: all 0.3s ease; font-size: 0.95rem; } .newsletter-input:focus { border-color: #3182ce; box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.2); } .newsletter-input::placeholder { color: #718096; } .newsletter-button { padding: 0.9rem 1rem; background: #3182ce; color: white; border: none; border-radius: 6px; cursor: pointer; font-weight: 600; transition: all 0.3s ease; } .newsletter-button:hover { background: #2c5282; } .social-section p { color: #a0aec0; margin-bottom: 1rem; font-size: 0.95rem; font-weight: 500; } .social-link-footers { display: flex; gap: 0.8rem; } .social-link-footer { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; background: #2d3748; border-radius: 6px; color: #a0aec0; transition: all 0.3s ease; } .social-link-footer:hover { background: #3182ce; color: white; transform: translateY(-3px); } .footer-bottom { border-top: 1px solid #2d3748; padding: 1.5rem 0; background: rgba(0, 0, 0, 0.2); } .footer-bottom-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; } .footer-bottom-content p { margin: 0; color: #718096; font-size: 0.9rem; } .footer-legal { display: flex; gap: 1.5rem; } .footer-legal a { color: #718096; text-decoration: none; font-size: 0.9rem; transition: color 0.3s ease; } .footer-legal a:hover { color: #3182ce; } /* Responsive adjustments */ @media (max-width: 768px) { .footer-main { padding: 3rem 0 1.5rem; } .footer-content { grid-template-columns: 1fr; gap: 2rem; } .footer-bottom-content { flex-direction: column; text-align: center; } .footer-legal { justify-content: center; } } `})]})}/** * @license lucide-react v0.542.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const pL=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),mL=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,i)=>i?i.toUpperCase():n.toLowerCase()),AS=e=>{const t=mL(e);return t.charAt(0).toUpperCase()+t.slice(1)},s4=(...e)=>e.filter((t,n,i)=>!!t&&t.trim()!==""&&i.indexOf(t)===n).join(" ").trim(),gL=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};/** * @license lucide-react v0.542.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */var vL={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.542.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const yL=j.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:i,className:a="",children:o,iconNode:l,...u},f)=>j.createElement("svg",{ref:f,...vL,width:t,height:t,stroke:e,strokeWidth:i?Number(n)*24/Number(t):n,className:s4("lucide",a),...!o&&!gL(u)&&{"aria-hidden":"true"},...u},[...l.map(([h,p])=>j.createElement(h,p)),...Array.isArray(o)?o:[o]]));/** * @license lucide-react v0.542.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const yn=(e,t)=>{const n=j.forwardRef(({className:i,...a},o)=>j.createElement(yL,{ref:o,iconNode:t,className:s4(`lucide-${pL(AS(e))}`,`lucide-${e}`,i),...a}));return n.displayName=AS(e),n};/** * @license lucide-react v0.542.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const bL=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],wd=yn("arrow-right",bL);/** * @license lucide-react v0.542.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const xL=[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]],o4=yn("award",xL);/** * @license lucide-react v0.542.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const wL=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],l4=yn("check",wL);/** * @license lucide-react v0.542.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const _L=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],EL=yn("chevron-down",_L);/** * @license lucide-react v0.542.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const SL=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],TL=yn("chevron-right",SL);/** * @license lucide-react v0.542.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const AL=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],CL=yn("clock",AL);/** * @license lucide-react v0.542.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const OL=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],c4=yn("globe",OL);/** * @license lucide-react v0.542.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const ML=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]],NL=yn("house",ML);/** * @license lucide-react v0.542.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const jL=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],DL=yn("mail",jL);/** * @license lucide-react v0.542.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const PL=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],LL=yn("map-pin",PL);/** * @license lucide-react v0.542.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const kL=[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],RL=yn("phone",kL);/** * @license lucide-react v0.542.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const zL=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],IL=yn("play",zL);/** * @license lucide-react v0.542.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const $L=[["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"}]],Sx=yn("send",$L);/** * @license lucide-react v0.542.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const BL=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],VL=yn("shield",BL);/** * @license lucide-react v0.542.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const HL=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],qL=yn("target",HL);/** * @license lucide-react v0.542.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const UL=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],u4=yn("users",UL);/** * @license lucide-react v0.542.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const FL=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],GL=yn("x",FL);/** * @license lucide-react v0.542.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const YL=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],f4=yn("zap",YL);function KL({isOpen:e,onClose:t}){const[n,i]=j.useState({name:"",email:"",phone:"",message:"",acceptTerms:!1}),[a,o]=j.useState(!1),[l,u]=j.useState({}),f=b=>{const{name:w,value:_,type:E,checked:O}=b.target;i(C=>({...C,[w]:E==="checkbox"?O:_}))},h=b=>{u(w=>({...w,[b]:!0}))},p=b=>{u(w=>({...w,[b]:!1}))},m=b=>{b.preventDefault(),console.log("Form submitted:",n),o(!0),setTimeout(()=>{i({name:"",email:"",phone:"",message:"",acceptTerms:!1}),o(!1),t()},3e3)};return v.jsxs("div",{className:`enquiry-modal ${e?"show d-block":""}`,tabIndex:"-1",children:[v.jsx("div",{className:"enquiry-modal__dialog",children:v.jsxs("div",{className:"enquiry-modal__content",children:[v.jsxs("div",{className:"enquiry-modal__header",children:[v.jsx("h5",{className:"enquiry-modal__title",children:"Send Enquiry"}),v.jsx("button",{type:"button",className:"enquiry-modal__close",onClick:t,children:v.jsx("span",{children:"×"})})]}),v.jsx("div",{className:"enquiry-modal__body",children:a?v.jsxs("div",{className:"enquiry-modal__success",children:[v.jsx("div",{className:"enquiry-modal__success-icon",children:v.jsx(l4,{size:32})}),v.jsx("h4",{children:"Thank You!"}),v.jsx("p",{className:"enquiry-modal__success-message",children:"Your enquiry has been submitted successfully. Our team will contact you shortly."})]}):v.jsxs("form",{className:"enquiry-form",onSubmit:m,children:[v.jsxs("div",{className:"enquiry-form__group",children:[v.jsx("input",{type:"text",id:"name",name:"name",className:"enquiry-form__input",value:n.name,onChange:f,onFocus:()=>h("name"),onBlur:()=>p("name"),required:!0}),v.jsx("label",{htmlFor:"name",className:"enquiry-form__label",children:"Full Name"})]}),v.jsxs("div",{className:"enquiry-form__group",children:[v.jsx("input",{type:"email",id:"email",name:"email",className:"enquiry-form__input",value:n.email,onChange:f,onFocus:()=>h("email"),onBlur:()=>p("email"),required:!0}),v.jsx("label",{htmlFor:"email",className:"enquiry-form__label",children:"Email Address"})]}),v.jsxs("div",{className:"enquiry-form__group",children:[v.jsx("input",{type:"tel",id:"phone",name:"phone",className:"enquiry-form__input",value:n.phone,onChange:f,onFocus:()=>h("phone"),onBlur:()=>p("phone")}),v.jsx("label",{htmlFor:"phone",className:"enquiry-form__label",children:"Phone Number"})]}),v.jsxs("div",{className:"enquiry-form__group enquiry-form__group--textarea",children:[v.jsx("textarea",{id:"message",name:"message",className:"enquiry-form__input enquiry-form__textarea",value:n.message,onChange:f,onFocus:()=>h("message"),onBlur:()=>p("message"),required:!0}),v.jsx("label",{htmlFor:"message",className:"enquiry-form__label",children:"Your Message"})]}),v.jsxs("div",{className:"enquiry-form__checkbox-group",children:[v.jsx("input",{type:"checkbox",id:"acceptTerms",name:"acceptTerms",className:"enquiry-form__checkbox",checked:n.acceptTerms,onChange:f,required:!0}),v.jsx("label",{className:"enquiry-form__checkbox-label",htmlFor:"acceptTerms",children:"I accept and agree to the processing of my personal data"})]}),v.jsxs("button",{type:"submit",className:"enquiry-form__submit",children:[v.jsx("span",{children:"Submit Enquiry"}),v.jsx(Sx,{size:18})]})]})})]})}),v.jsx("style",{jsx:!0,children:` .enquiry-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(8px); display: none; z-index: 1050; font-family: 'Poppins', sans-serif; opacity: 0; transition: opacity 0.3s ease; } .enquiry-modal.show { display: block; opacity: 1; } .enquiry-modal__dialog { position: relative; width: 100%; max-width: 500px; margin: 2rem auto; min-height: calc(100% - 4rem); display: flex; align-items: center; } .enquiry-modal__content { position: relative; background: var(--background-light); border-radius: var(--border-radius); box-shadow: var(--shadow); background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%); border: 1px solid rgba(255, 255, 255, 0.2); overflow: hidden; transform: translateY(20px); transition: transform 0.3s ease; } .enquiry-modal.show .enquiry-modal__content { transform: translateY(0); } .enquiry-modal__header { padding: 1.5rem 1.5rem 0; border-bottom: none; position: relative; background: linear-gradient(135deg, var(--primary-color), var(--primary-dark-color)); color: var(--text-light); margin: -1px -1px 0 -1px; border-radius: var(--border-radius) var(--border-radius) 0 0; } .enquiry-modal__title { font-weight: 600; font-size: 1.5rem; margin: 0; padding: 1rem 0; } .enquiry-modal__close { position: absolute; top: 1rem; right: 1.5rem; background: rgba(255, 255, 255, 0.2); border: none; border-radius: 50%; width: 2.5rem; height: 2.5rem; color: var(--text-light); font-size: 1.5rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); backdrop-filter: blur(10px); } .enquiry-modal__close:hover { background: rgba(255, 255, 255, 0.3); transform: rotate(90deg); } .enquiry-modal__body { padding: 1.5rem; } /* Success State */ .enquiry-modal__success { text-align: center; padding: 2rem 1rem; } .enquiry-modal__success-icon { display: flex; align-items: center; justify-content: center; width: 80px; height: 80px; background: linear-gradient(135deg, #10b981, #059669); border-radius: 50%; color: var(--text-light); margin: 0 auto 1.5rem; animation: bounceIn 0.6s ease; } .enquiry-modal__success h4 { color: var(--text-dark); margin-bottom: 1rem; font-weight: 600; } .enquiry-modal__success-message { color: var(--secondary-color); margin-bottom: 2rem; line-height: 1.6; } .enquiry-modal__success-button { background: transparent; border: 2px solid var(--primary-color); color: var(--primary-color); padding: 0.75rem 1.5rem; border-radius: 50px; font-weight: 500; transition: var(--transition); cursor: pointer; } .enquiry-modal__success-button:hover { background: var(--primary-color); color: var(--text-light); transform: translateY(-2px); box-shadow: var(--shadow-hover); } /* Form Styles */ .enquiry-form__group { position: relative; margin-bottom: 1.5rem; } .enquiry-form__input { width: 100%; padding: 1rem 1rem; border: 2px solid #e2e8f0; border-radius: 8px; font-size: 1rem; background: var(--background-light); transition: var(--transition); font-family: 'Poppins', sans-serif; } .enquiry-form__input:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(87, 177, 227, 0.1); transform: translateY(-2px); } .enquiry-form__label { position: absolute; top: 1rem; left: 1rem; color: #64748b; font-size: 1rem; pointer-events: none; transition: var(--transition); background: var(--background-light); padding: 0 0.5rem; } .enquiry-form__input:focus + .enquiry-form__label, .enquiry-form__input:not(:placeholder-shown) + .enquiry-form__label { top: -0.5rem; left: 0.8rem; font-size: 0.8rem; color: var(--primary-color); font-weight: 500; } .enquiry-form__textarea { min-height: 120px; resize: vertical; } .enquiry-form__checkbox-group { display: flex; align-items: flex-start; margin-bottom: 1.5rem; gap: 0.75rem; } .enquiry-form__checkbox { margin-top: 0.25rem; accent-color: var(--primary-color); transform: scale(1.2); } .enquiry-form__checkbox-label { color: var(--text-dark); font-size: 0.9rem; line-height: 1.4; cursor: pointer; } .enquiry-form__submit { width: 100%; background: linear-gradient(135deg, var(--primary-color), var(--primary-dark-color)); color: var(--text-light); border: none; padding: 1rem 1.5rem; border-radius: 50px; font-weight: 600; font-size: 1rem; display: flex; align-items: center; justify-content: center; gap: 0.5rem; cursor: pointer; transition: var(--transition); font-family: 'Poppins', sans-serif; } .enquiry-form__submit:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); } .enquiry-form__submit:active { transform: translateY(0); } /* Animations */ @keyframes bounceIn { 0% { opacity: 0; transform: scale(0.3); } 50% { opacity: 1; transform: scale(1.05); } 70% { transform: scale(0.9); } 100% { opacity: 1; transform: scale(1); } } /* Responsive Design */ @media (max-width: 576px) { .enquiry-modal__dialog { margin: 1rem; max-width: none; } .enquiry-modal__content { margin: 0; } .enquiry-modal__body { padding: 1rem; } } `})]})}const WL="/assets/bg-CXuvm4h4.png",d4=()=>v.jsxs("section",{className:"about-us-section",children:[v.jsxs("div",{className:"floating-shapes",children:[v.jsx("div",{className:"shape shape-1"}),v.jsx("div",{className:"shape shape-2"}),v.jsx("div",{className:"shape shape-3"})]}),v.jsxs("div",{className:"container",children:[v.jsxs("div",{className:"about-header","data-aos":"fade-up",children:[v.jsxs("h2",{children:["About ",v.jsx("span",{className:"accent",children:"UC Global"})]}),v.jsx("p",{className:"subtitle",children:"Your trusted partner in global education and career development"})]}),v.jsxs("div",{className:"about-content",children:[v.jsxs("div",{className:"about-text","data-aos":"fade-right",children:[v.jsxs("div",{className:"mission-statement",children:[v.jsx("h3",{children:"Our Mission"}),v.jsx("p",{children:"To become a trusted consultancy guiding individuals to secure their careers through global education opportunities. We're committed to helping you succeed with a curated team that nurtures your abilities and brings out your full potential."})]}),v.jsxs("div",{className:"vision-statement","data-aos":"fade-up","data-aos-delay":"200",children:[v.jsx("h3",{children:"Our Vision"}),v.jsx("p",{children:"To lead UC Global to become the premier overseas education consultant, providing customized education solutions that guide study aspirants to accomplish their full potential and achieve their dreams."})]}),v.jsxs("div",{className:"values","data-aos":"fade-up","data-aos-delay":"400",children:[v.jsx("h3",{children:"Our Values"}),v.jsxs("div",{className:"values-grid",children:[v.jsxs("div",{className:"value-item","data-aos":"zoom-in","data-aos-delay":"500",children:[v.jsx("div",{className:"value-icon",children:"✓"}),v.jsxs("div",{className:"value-content",children:[v.jsx("h4",{children:"Integrity"}),v.jsx("p",{children:"Honest guidance and transparent processes"})]})]}),v.jsxs("div",{className:"value-item","data-aos":"zoom-in","data-aos-delay":"600",children:[v.jsx("div",{className:"value-icon",children:"✓"}),v.jsxs("div",{className:"value-content",children:[v.jsx("h4",{children:"Excellence"}),v.jsx("p",{children:"Commitment to delivering exceptional service"})]})]}),v.jsxs("div",{className:"value-item","data-aos":"zoom-in","data-aos-delay":"700",children:[v.jsx("div",{className:"value-icon",children:"✓"}),v.jsxs("div",{className:"value-content",children:[v.jsx("h4",{children:"Empowerment"}),v.jsx("p",{children:"Equipping students to achieve their dreams"})]})]}),v.jsxs("div",{className:"value-item","data-aos":"zoom-in","data-aos-delay":"800",children:[v.jsx("div",{className:"value-icon",children:"✓"}),v.jsxs("div",{className:"value-content",children:[v.jsx("h4",{children:"Global Mindset"}),v.jsx("p",{children:"Connecting Bangladesh to the world"})]})]})]})]})]}),v.jsx("div",{className:"about-visual","data-aos":"fade-left",children:v.jsxs("div",{className:"image-container",children:[v.jsx("img",{src:WL,alt:"UC Global team",className:"about-image"}),v.jsx(a4,{className:"floating-about about-svg",size:60,color:"#016eb6"})]})})]})]}),v.jsx("style",{jsx:!0,children:` .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; } .floating-shapes { position: absolute; width: 100%; height: 100%; top: 0; left: 0; pointer-events: none; } .shape { position: absolute; border-radius: 50%; opacity: 0.05; background: linear-gradient(135deg, #57b1e3, #016eb6); } .shape-1 { width: 300px; height: 300px; top: -150px; right: -150px; } .shape-2 { width: 200px; height: 200px; bottom: 50px; left: 100px; } .shape-3 { width: 150px; height: 150px; top: 20%; left: 20%; } `})]}),XL=()=>{const e=[{name:"Austria",flag:"https://hwp.creativegigstf.com/visim/assets/img/media/austria.jpg"},{name:"New Zealand",flag:"https://hwp.creativegigstf.com/visim/assets/img/media/new.jpg"},{name:"China",flag:"https://hwp.creativegigstf.com/visim/assets/img/media/china.jpg"},{name:"Afghanistan",flag:"https://hwp.creativegigstf.com/visim/assets/img/media/afg.jpg"},{name:"Brazil",flag:"https://hwp.creativegigstf.com/visim/assets/img/media/bra.svg"},{name:"Australia",flag:"https://hwp.creativegigstf.com/visim/assets/img/media/aus.jpg"},{name:"Colombia",flag:"https://hwp.creativegigstf.com/visim/assets/img/media/colum.jpg"},{name:"Malaysia",flag:"https://hwp.creativegigstf.com/visim/assets/img/media/malaysia.jpg"},{name:"Thailand",flag:"https://hwp.creativegigstf.com/visim/assets/img/media/thailand.jpg"},{name:"Cambodia",flag:"https://hwp.creativegigstf.com/visim/assets/img/media/cambodia.svg"},{name:"Belgium",flag:"https://hwp.creativegigstf.com/visim/assets/img/media/blezium.jpg"},{name:"Bulgaria",flag:"https://hwp.creativegigstf.com/visim/assets/img/media/bulgaria.jpg"},{name:"Canada",flag:"https://hwp.creativegigstf.com/visim/assets/img/media/canada.jpg"},{name:"Germany",flag:"https://hwp.creativegigstf.com/visim/assets/img/media/german.jpg"}];return v.jsxs("section",{className:"country-section position-relative z-1 py-5",children:[v.jsx("div",{className:"container",children:v.jsx("div",{className:"row justify-content-center",children:v.jsx("div",{className:"col-lg-8",children:v.jsxs("div",{className:"text-center mb-5",children:[v.jsx("h2",{className:"section-title",children:"Countries We Help Immigrate"}),v.jsx("p",{className:"section-subtitle",children:"We provide expert guidance for studying in these countries and many more"})]})})})}),v.jsx("div",{className:"country-list py-4",children:v.jsxs("div",{className:"country-wrapper",children:[e.map((t,n)=>v.jsxs("div",{className:"country-item",children:[v.jsx("img",{src:t.flag,alt:t.name}),v.jsx("span",{children:t.name})]},`first-${n}`)),e.map((t,n)=>v.jsxs("div",{className:"country-item",children:[v.jsx("img",{src:t.flag,alt:t.name}),v.jsx("span",{children:t.name})]},`first-duplicate-${n}`))]})}),v.jsx("div",{className:"country-list country-list-reverse py-4",children:v.jsxs("div",{className:"country-wrapper",children:[e.map((t,n)=>v.jsxs("div",{className:"country-item",children:[v.jsx("img",{src:t.flag,alt:t.name}),v.jsx("span",{children:t.name})]},`second-${n}`)),e.map((t,n)=>v.jsxs("div",{className:"country-item",children:[v.jsx("img",{src:t.flag,alt:t.name}),v.jsx("span",{children:t.name})]},`second-duplicate-${n}`))]})})]})};function h4(){const[e,t]=j.useState({name:"",email:"",phone:"",message:"",acceptTerms:!1}),[n,i]=j.useState(!1),[a,o]=j.useState({}),l=p=>{const{name:m,value:b,type:w,checked:_}=p.target;t(E=>({...E,[m]:w==="checkbox"?_:b}))},u=p=>{o(m=>({...m,[p]:!0}))},f=p=>{o(m=>({...m,[p]:!1}))},h=p=>{p.preventDefault(),console.log("Form submitted:",e),i(!0),setTimeout(()=>{t({name:"",email:"",phone:"",message:"",acceptTerms:!1}),i(!1)},3e3)};return v.jsxs("section",{className:"enquiry-section",children:[v.jsxs("div",{className:"floating-shapes",children:[v.jsx("div",{className:"shape shape-1"}),v.jsx("div",{className:"shape shape-2"}),v.jsx("div",{className:"shape shape-3"})]}),v.jsxs("div",{className:"container",children:[v.jsxs("div",{className:"section-header","data-aos":"fade-up",children:[v.jsxs("div",{className:"header-badge",children:[v.jsx(f4,{size:16}),v.jsx("span",{children:"Get Started Today"})]}),v.jsxs("h2",{children:["Begin Your ",v.jsx("span",{className:"accent",children:"Educational Journey"})]}),v.jsx("p",{children:"Connect with our experts to unlock global opportunities"})]}),v.jsxs("div",{className:"enquiry-content",children:[v.jsxs("div",{className:"enquiry-info","data-aos":"fade-right",children:[v.jsxs("div",{className:"info-card",children:[v.jsx("h3",{children:"Why Choose Us?"}),v.jsxs("ul",{className:"features-list",children:[v.jsxs("li",{children:[v.jsx("div",{className:"feature-icon",children:v.jsx(u4,{size:18})}),v.jsxs("div",{className:"feature-text",children:[v.jsx("h4",{children:"95% Success Rate"}),v.jsx("p",{children:"Thousands of successful placements"})]})]}),v.jsxs("li",{children:[v.jsx("div",{className:"feature-icon",children:v.jsx(qL,{size:18})}),v.jsxs("div",{className:"feature-text",children:[v.jsx("h4",{children:"Personalized Guidance"}),v.jsx("p",{children:"Tailored to your goals and aspirations"})]})]}),v.jsxs("li",{children:[v.jsx("div",{className:"feature-icon",children:v.jsx(c4,{size:18})}),v.jsxs("div",{className:"feature-text",children:[v.jsx("h4",{children:"Global Network"}),v.jsx("p",{children:"500+ university partnerships worldwide"})]})]}),v.jsxs("li",{children:[v.jsx("div",{className:"feature-icon",children:v.jsx(o4,{size:18})}),v.jsxs("div",{className:"feature-text",children:[v.jsx("h4",{children:"End-to-End Support"}),v.jsx("p",{children:"From application to arrival"})]})]})]})]}),v.jsxs("div",{className:"contact-cards","data-aos":"zoom-in",children:[v.jsxs("div",{className:"contact-card",children:[v.jsx("div",{className:"card-icon",children:v.jsx(DL,{size:20})}),v.jsxs("div",{className:"card-content",children:[v.jsx("h4",{children:"Email Us"}),v.jsx("p",{children:"info@eduglobal.com"})]}),v.jsx("div",{className:"card-arrow",children:v.jsx(wd,{size:16})})]}),v.jsxs("div",{className:"contact-card",children:[v.jsx("div",{className:"card-icon",children:v.jsx(RL,{size:20})}),v.jsxs("div",{className:"card-content",children:[v.jsx("h4",{children:"Call Us"}),v.jsx("p",{children:"+1 (555) 123-4567"})]}),v.jsx("div",{className:"card-arrow",children:v.jsx(wd,{size:16})})]}),v.jsxs("div",{className:"contact-card",children:[v.jsx("div",{className:"card-icon",children:v.jsx(LL,{size:20})}),v.jsxs("div",{className:"card-content",children:[v.jsx("h4",{children:"Visit Us"}),v.jsx("p",{children:"123 Education Ave, Boston"})]}),v.jsx("div",{className:"card-arrow",children:v.jsx(wd,{size:16})})]})]})]}),v.jsxs("div",{className:"enquiry-form-container","data-aos":"fade-left",children:[v.jsxs("div",{className:"form-header",children:[v.jsx("h3",{children:"Send Enquiry"}),v.jsx("p",{children:"Fill out the form and we'll contact you within 24 hours"})]}),n?v.jsxs("div",{className:"success-message",children:[v.jsx("div",{className:"success-check",children:v.jsx(l4,{size:32})}),v.jsx("h4",{children:"Thank You!"}),v.jsx("p",{children:"Your enquiry has been submitted successfully. Our team will contact you shortly."}),v.jsx("button",{className:"back-to-form",onClick:()=>i(!1),children:"Submit Another Enquiry"})]}):v.jsxs("form",{className:"enquiry-form",onSubmit:h,children:[v.jsx("div",{className:"input-group",children:v.jsxs("div",{className:`form-field ${e.name?"has-value":""} ${a.name?"is-focused":""}`,children:[v.jsx("label",{htmlFor:"name",children:"Full Name"}),v.jsx("input",{type:"text",id:"name",name:"name",value:e.name,onChange:l,onFocus:()=>u("name"),onBlur:()=>f("name"),required:!0}),v.jsx("div",{className:"field-border"})]})}),v.jsxs("div",{className:"input-row",children:[v.jsx("div",{className:"input-group",children:v.jsxs("div",{className:`form-field ${e.email?"has-value":""} ${a.email?"is-focused":""}`,children:[v.jsx("label",{htmlFor:"email",children:"Email Address"}),v.jsx("input",{type:"email",id:"email",name:"email",value:e.email,onChange:l,onFocus:()=>u("email"),onBlur:()=>f("email"),required:!0}),v.jsx("div",{className:"field-border"})]})}),v.jsx("div",{className:"input-group",children:v.jsxs("div",{className:`form-field ${e.phone?"has-value":""} ${a.phone?"is-focused":""}`,children:[v.jsx("label",{htmlFor:"phone",children:"Phone Number"}),v.jsx("input",{type:"tel",id:"phone",name:"phone",value:e.phone,onChange:l,onFocus:()=>u("phone"),onBlur:()=>f("phone")}),v.jsx("div",{className:"field-border"})]})})]}),v.jsx("div",{className:"input-group",children:v.jsxs("div",{className:`form-field textarea-field ${e.message?"has-value":""} ${a.message?"is-focused":""}`,children:[v.jsx("label",{htmlFor:"message",children:"Your Message"}),v.jsx("textarea",{id:"message",name:"message",value:e.message,onChange:l,onFocus:()=>u("message"),onBlur:()=>f("message"),required:!0,rows:"4"}),v.jsx("div",{className:"field-border"})]})}),v.jsx("div",{className:"checkbox-group",children:v.jsxs("label",{className:"checkbox-label",children:[v.jsx("input",{type:"checkbox",name:"acceptTerms",checked:e.acceptTerms,onChange:l,required:!0}),v.jsx("span",{className:"checkmark"}),"I accept and agree to the processing of my personal data"]})}),v.jsxs("button",{type:"submit",className:"submit-button",children:[v.jsx("span",{children:"Submit Enquiry"}),v.jsx("div",{className:"button-icon",children:v.jsx(Sx,{size:18})}),v.jsx("div",{className:"button-effect"})]})]})]})]})]}),v.jsx("style",{jsx:!0,children:` .enquiry-section { padding: 6rem 0; // background: #ffffff; // font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; position: relative; overflow: hidden; } .floating-shapes { position: absolute; width: 100%; height: 100%; top: 0; left: 0; pointer-events: none; } .shape { position: absolute; border-radius: 50%; opacity: 0.05; background: linear-gradient(135deg, #57b1e3, #016eb6); } .shape-1 { width: 300px; height: 300px; top: -150px; right: -150px; } .shape-2 { width: 200px; height: 200px; bottom: 50px; left: 100px; } .shape-3 { width: 150px; height: 150px; top: 20%; left: 20%; } .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; } .section-header { text-align: center; margin-bottom: 4rem; } .header-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(87, 177, 227, 0.1); color: #57b1e3; padding: 0.5rem 1rem; border-radius: 50px; font-weight: 600; font-size: 0.875rem; margin-bottom: 1rem; } .section-header h2 { font-size: 2.75rem; font-weight: 800; color: #1e293b; margin-bottom: 1rem; } .section-header p { font-size: 1.125rem; color: #64748b; max-width: 500px; margin: 0 auto; } .enquiry-content { display: grid; grid-template-columns: 1fr 1.25fr; gap: 3rem; align-items: start; } .enquiry-info { display: flex; flex-direction: column; gap: 2rem; } .info-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 2rem; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); } .info-card h3 { font-size: 1.5rem; font-weight: 700; color: #1e293b; margin-bottom: 1.5rem; position: relative; padding-bottom: 0.75rem; } .info-card h3:after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: linear-gradient(90deg, #57b1e3, #016eb6); border-radius: 3px; } .features-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1.25rem; } .features-list li { display: flex; align-items: flex-start; gap: 1rem; } .feature-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: linear-gradient(135deg, #57b1e3, #016eb6); color: white; border-radius: 12px; flex-shrink: 0; } .feature-text h4 { font-size: 1rem; font-weight: 600; color: #1e293b; margin: 0 0 0.25rem 0; } .feature-text p { color: #64748b; margin: 0; font-size: 0.875rem; } .contact-cards { display: flex; flex-direction: column; gap: 1rem; } .contact-card { display: flex; align-items: center; gap: 1rem; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 1.25rem; transition: all 0.3s ease; cursor: pointer; } .contact-card:hover { transform: translateY(-2px); border-color: #57b1e3; box-shadow: 0 5px 15px rgba(87, 177, 227, 0.15); } .card-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: rgba(87, 177, 227, 0.1); color: #57b1e3; border-radius: 12px; flex-shrink: 0; } .card-content h4 { font-size: 1rem; font-weight: 600; color: #1e293b; margin: 0 0 0.25rem 0; } .card-content p { color: #64748b; margin: 0; font-size: 0.875rem; } .card-arrow { margin-left: auto; color: #94a3b8; transition: transform 0.3s ease; } .contact-card:hover .card-arrow { transform: translateX(3px); color: #57b1e3; } .enquiry-form-container { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 20px; padding: 2.5rem; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); } .form-header { margin-bottom: 2rem; } .form-header h3 { font-size: 1.75rem; font-weight: 700; color: #1e293b; margin: 0 0 0.5rem 0; } .form-header p { color: #64748b; margin: 0; } .enquiry-form { display: flex; flex-direction: column; gap: 1.5rem; } .input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; } .input-group { position: relative; } .form-field { position: relative; padding-top: 1.25rem; } .form-field label { position: absolute; top: 2rem; left: 0; font-size: 1rem; color: #64748b; pointer-events: none; transition: all 0.3s ease; transform-origin: left top; } .form-field.has-value label, .form-field.is-focused label { top: 0; font-size: 0.875rem; color: #57b1e3; } .form-field input, .form-field textarea { width: 100%; padding: 0.875rem 0; border: none; background: transparent; font-size: 1rem; color: #1e293b; border-bottom: 1px solid #cbd5e1; transition: all 0.3s ease; } .form-field input:focus, .form-field textarea:focus { outline: none; border-bottom-color: #57b1e3; } .field-border { position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: linear-gradient(90deg, #57b1e3, #016eb6); transition: width 0.3s ease; } .form-field.is-focused .field-border { width: 100%; } .textarea-field textarea { resize: vertical; min-height: 120px; } .checkbox-group { margin: 1rem 0; } .checkbox-label { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; color: #64748b; cursor: pointer; line-height: 1.5; } .checkbox-label input { position: absolute; opacity: 0; cursor: pointer; } .checkmark { position: relative; top: 0.25rem; height: 20px; width: 20px; background: #f8fafc; border: 1px solid #cbd5e1; border-radius: 4px; flex-shrink: 0; transition: all 0.3s ease; } .checkbox-label input:checked ~ .checkmark { background: #57b1e3; border-color: #57b1e3; } .checkmark:after { content: ""; position: absolute; display: none; left: 6px; top: 2px; width: 5px; height: 10px; border: solid white; border-width: 0 2px 2px 0; transform: rotate(45deg); } .checkbox-label input:checked ~ .checkmark:after { display: block; } .checkbox-label a { color: #57b1e3; text-decoration: none; font-weight: 500; } .checkbox-label a:hover { text-decoration: underline; } .submit-button { position: relative; padding: 1rem 2rem; background: linear-gradient(135deg, #57b1e3, #016eb6); color: white; border: none; border-radius: 12px; font-size: 1rem; font-weight: 600; cursor: pointer; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 0.5rem; transition: all 0.3s ease; } .submit-button:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(87, 177, 227, 0.3); } .button-effect { position: absolute; background: rgba(255, 255, 255, 0.2); border-radius: 50%; transform: scale(0); animation: ripple 0.6s linear; pointer-events: none; } @keyframes ripple { to { transform: scale(2.5); opacity: 0; } } .success-message { text-align: center; padding: 2rem 0; } .success-check { display: flex; align-items: center; justify-content: center; width: 80px; height: 80px; background: linear-gradient(135deg, #10b981, #059669); color: white; border-radius: 50%; margin: 0 auto 1.5rem; animation: scaleIn 0.5s ease; } @keyframes scaleIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } } .success-message h4 { font-size: 1.5rem; color: #1e293b; margin: 0 0 1rem 0; } .success-message p { color: #64748b; margin: 0 0 2rem 0; line-height: 1.6; } .back-to-form { background: transparent; color: #57b1e3; border: 1px solid #57b1e3; padding: 0.75rem 1.5rem; border-radius: 8px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; } .back-to-form:hover { background: rgba(87, 177, 227, 0.1); } /* Responsive adjustments */ @media (max-width: 968px) { .enquiry-content { grid-template-columns: 1fr; gap: 3rem; } .input-row { grid-template-columns: 1fr; } } @media (max-width: 640px) { .enquiry-form-container { padding: 1.5rem; } .section-header h2 { font-size: 2.25rem; } .contact-card { padding: 1rem; } } `})]})}function p4(){const[e,t]=j.useState(null),n=[{question:"How long does the university application process take?",answer:"The application process typically takes 3-6 months from start to finish, depending on the university and program. This includes preparing documents, taking required tests, and waiting for admission decisions."},{question:"What are the English language requirements for international students?",answer:"Most universities require IELTS scores of 6.5 or above, or TOEFL scores of 90 or above. Some programs may have higher requirements. We help you prepare for these tests and achieve the scores needed for your chosen university."},{question:"When should I start preparing my application?",answer:"We recommend starting the preparation process at least 12 months before your intended start date. This gives you enough time for test preparation, document gathering, and crafting strong application materials."},{question:"Do you help with scholarship applications?",answer:"Yes, we provide comprehensive support for scholarship applications. We help identify suitable scholarships, prepare compelling applications, and craft persuasive essays to maximize your chances of receiving financial aid."},{question:"What makes your service different from others?",answer:"Our personalized approach, success rate of over 95%, and ongoing support throughout the entire process set us apart. We assign dedicated advisors who provide one-on-one guidance and maintain relationships with top universities worldwide."},{question:"Can you help with visa applications?",answer:"Absolutely. We provide complete guidance on visa requirements, help prepare your application, and offer mock interview sessions to ensure you're fully prepared for your visa appointment."},{question:"How do you select which universities to apply to?",answer:"We use a data-driven approach considering your academic profile, test scores, budget, career goals, and preferences to create a balanced list of reach, match, and safety schools that maximize your chances of admission."},{question:"What if I get rejected from all universities?",answer:"While our success rate is over 95%, in the rare case of all rejections, we provide free assistance with alternative options including gap year planning, reapplying next cycle, or identifying suitable pathway programs."},{question:"Do you offer payment plans?",answer:"Yes, we offer flexible payment plans to make our services accessible. We can split the fees across multiple months to accommodate your financial situation."},{question:"How do I get started with your services?",answer:"Simply schedule a free consultation through our website or by calling our office. We'll discuss your goals, assess your profile, and create a personalized roadmap for your academic journey."}],i=Math.ceil(n.length/2),a=n.slice(0,i),o=n.slice(i),l=u=>{t(e===u?null:u)};return v.jsxs("section",{className:"faq-section",children:[v.jsxs("div",{className:"container",children:[v.jsxs("div",{className:"section-header",children:[v.jsxs("h2",{children:["Frequently Asked ",v.jsx("span",{className:"accent",children:"Questions"})]}),v.jsx("p",{className:"subtitle",children:"Find answers to common questions about our services and processes"})]}),v.jsxs("div",{className:"faq-columns",children:[v.jsx("div",{className:"faq-column",children:a.map((u,f)=>v.jsxs("div",{className:"faq-item",children:[v.jsxs("div",{className:`faq-question ${e===f?"active":""}`,onClick:()=>l(f),children:[v.jsx("h5",{children:u.question}),v.jsx("span",{className:"faq-icon",children:e===f?"-":"+"})]}),v.jsx("div",{className:`faq-answer ${e===f?"active":""}`,children:v.jsx("p",{children:u.answer})})]},f))}),v.jsx("div",{className:"faq-column",children:o.map((u,f)=>{const h=f+i;return v.jsxs("div",{className:"faq-item",children:[v.jsxs("div",{className:`faq-question ${e===h?"active":""}`,onClick:()=>l(h),children:[v.jsx("h5",{children:u.question}),v.jsx("span",{className:"faq-icon",children:e===h?"-":"+"})]}),v.jsx("div",{className:`faq-answer ${e===h?"active":""}`,children:v.jsx("p",{children:u.answer})})]},h)})})]})]}),v.jsx("style",{jsx:!0,children:` .faq-section { padding: 4rem 0; min-height: 100vh; display: flex; align-items: center; } .container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; } .section-header { text-align: center; margin-bottom: 3rem; } .section-header h2 { font-size: 2.5rem; margin-bottom: 1rem; color: #2d3748; } .section-header .accent { color: #3182ce; } .section-header .subtitle { font-size: 1.2rem; color: #718096; max-width: 600px; margin: 0 auto; } .faq-columns { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: center; } .faq-column { flex: 1; min-width: 300px; max-width: 550px; } .faq-item { margin-bottom: 1rem; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); background: white; transition: transform 0.3s ease, box-shadow 0.3s ease; } .faq-item:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12); } .faq-question { padding: 1.5rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: all 0.3s ease; } .faq-question:hover { background-color: rgba(49, 130, 206, 0.05); } .faq-question.active { background-color: rgba(49, 130, 206, 0.1); color: #3182ce; } .faq-question h5 { margin: 0; font-weight: 600; font-size: 1.1rem; flex: 1; padding-right: 1.5rem; line-height: 1.4; } .faq-icon { font-size: 1.5rem; font-weight: bold; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; transition: transform 0.3s ease; } .faq-question.active .faq-icon { transform: rotate(180deg); } .faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.5s ease; } .faq-answer.active { max-height: 500px; } .faq-answer p { padding: 0 1.5rem 1.5rem; margin: 0; color: #4a5568; line-height: 1.6; font-size: 1rem; } /* Responsive adjustments */ @media (max-width: 768px) { .faq-section { padding: 2rem 0; } .section-header h2 { font-size: 2rem; } .faq-columns { flex-direction: column; align-items: center; } .faq-column { width: 100%; } .faq-question h5 { font-size: 1rem; } } @media (max-width: 480px) { .section-header h2 { font-size: 1.75rem; } .faq-question { padding: 1.25rem; } .faq-question h5 { font-size: 0.95rem; padding-right: 1rem; } .faq-answer p { padding: 0 1.25rem 1.25rem; } } `})]})}function CS(e){return e!==null&&typeof e=="object"&&"constructor"in e&&e.constructor===Object}function Tx(e,t){e===void 0&&(e={}),t===void 0&&(t={});const n=["__proto__","constructor","prototype"];Object.keys(t).filter(i=>n.indexOf(i)<0).forEach(i=>{typeof e[i]>"u"?e[i]=t[i]:CS(t[i])&&CS(e[i])&&Object.keys(t[i]).length>0&&Tx(e[i],t[i])})}const m4={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function ea(){const e=typeof document<"u"?document:{};return Tx(e,m4),e}const QL={document:m4,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(e){return typeof setTimeout>"u"?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){typeof setTimeout>"u"||clearTimeout(e)}};function Jn(){const e=typeof window<"u"?window:{};return Tx(e,QL),e}function ZL(e){return e===void 0&&(e=""),e.trim().split(" ").filter(t=>!!t.trim())}function JL(e){const t=e;Object.keys(t).forEach(n=>{try{t[n]=null}catch{}try{delete t[n]}catch{}})}function g4(e,t){return t===void 0&&(t=0),setTimeout(e,t)}function Ym(){return Date.now()}function ek(e){const t=Jn();let n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}function tk(e,t){t===void 0&&(t="x");const n=Jn();let i,a,o;const l=ek(e);return n.WebKitCSSMatrix?(a=l.transform||l.webkitTransform,a.split(",").length>6&&(a=a.split(", ").map(u=>u.replace(",",".")).join(", ")),o=new n.WebKitCSSMatrix(a==="none"?"":a)):(o=l.MozTransform||l.OTransform||l.MsTransform||l.msTransform||l.transform||l.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=o.toString().split(",")),t==="x"&&(n.WebKitCSSMatrix?a=o.m41:i.length===16?a=parseFloat(i[12]):a=parseFloat(i[4])),t==="y"&&(n.WebKitCSSMatrix?a=o.m42:i.length===16?a=parseFloat(i[13]):a=parseFloat(i[5])),a||0}function am(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"}function nk(e){return typeof window<"u"&&typeof window.HTMLElement<"u"?e instanceof HTMLElement:e&&(e.nodeType===1||e.nodeType===11)}function Ti(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let n=1;n<arguments.length;n+=1){const i=n<0||arguments.length<=n?void 0:arguments[n];if(i!=null&&!nk(i)){const a=Object.keys(Object(i)).filter(o=>t.indexOf(o)<0);for(let o=0,l=a.length;o<l;o+=1){const u=a[o],f=Object.getOwnPropertyDescriptor(i,u);f!==void 0&&f.enumerable&&(am(e[u])&&am(i[u])?i[u].__swiper__?e[u]=i[u]:Ti(e[u],i[u]):!am(e[u])&&am(i[u])?(e[u]={},i[u].__swiper__?e[u]=i[u]:Ti(e[u],i[u])):e[u]=i[u])}}}return e}function sm(e,t,n){e.style.setProperty(t,n)}function v4(e){let{swiper:t,targetPosition:n,side:i}=e;const a=Jn(),o=-t.translate;let l=null,u;const f=t.params.speed;t.wrapperEl.style.scrollSnapType="none",a.cancelAnimationFrame(t.cssModeFrameID);const h=n>o?"next":"prev",p=(b,w)=>h==="next"&&b>=w||h==="prev"&&b<=w,m=()=>{u=new Date().getTime(),l===null&&(l=u);const b=Math.max(Math.min((u-l)/f,1),0),w=.5-Math.cos(b*Math.PI)/2;let _=o+w*(n-o);if(p(_,n)&&(_=n),t.wrapperEl.scrollTo({[i]:_}),p(_,n)){t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout(()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[i]:_})}),a.cancelAnimationFrame(t.cssModeFrameID);return}t.cssModeFrameID=a.requestAnimationFrame(m)};m()}function Zr(e,t){t===void 0&&(t="");const n=Jn(),i=[...e.children];return n.HTMLSlotElement&&e instanceof HTMLSlotElement&&i.push(...e.assignedElements()),t?i.filter(a=>a.matches(t)):i}function ik(e,t){const n=[t];for(;n.length>0;){const i=n.shift();if(e===i)return!0;n.push(...i.children,...i.shadowRoot?i.shadowRoot.children:[],...i.assignedElements?i.assignedElements():[])}}function rk(e,t){const n=Jn();let i=t.contains(e);return!i&&n.HTMLSlotElement&&t instanceof HTMLSlotElement&&(i=[...t.assignedElements()].includes(e),i||(i=ik(e,t))),i}function Km(e){try{console.warn(e);return}catch{}}function Wm(e,t){t===void 0&&(t=[]);const n=document.createElement(e);return n.classList.add(...Array.isArray(t)?t:ZL(t)),n}function ak(e,t){const n=[];for(;e.previousElementSibling;){const i=e.previousElementSibling;t?i.matches(t)&&n.push(i):n.push(i),e=i}return n}function sk(e,t){const n=[];for(;e.nextElementSibling;){const i=e.nextElementSibling;t?i.matches(t)&&n.push(i):n.push(i),e=i}return n}function vo(e,t){return Jn().getComputedStyle(e,null).getPropertyValue(t)}function Xm(e){let t=e,n;if(t){for(n=0;(t=t.previousSibling)!==null;)t.nodeType===1&&(n+=1);return n}}function y4(e,t){const n=[];let i=e.parentElement;for(;i;)t?i.matches(t)&&n.push(i):n.push(i),i=i.parentElement;return n}function cb(e,t,n){const i=Jn();return e[t==="width"?"offsetWidth":"offsetHeight"]+parseFloat(i.getComputedStyle(e,null).getPropertyValue(t==="width"?"margin-right":"margin-top"))+parseFloat(i.getComputedStyle(e,null).getPropertyValue(t==="width"?"margin-left":"margin-bottom"))}function gn(e){return(Array.isArray(e)?e:[e]).filter(t=>!!t)}function Qm(e,t){t===void 0&&(t=""),typeof trustedTypes<"u"?e.innerHTML=trustedTypes.createPolicy("html",{createHTML:n=>n}).createHTML(t):e.innerHTML=t}let uy;function ok(){const e=Jn(),t=ea();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}function b4(){return uy||(uy=ok()),uy}let fy;function lk(e){let{userAgent:t}=e===void 0?{}:e;const n=b4(),i=Jn(),a=i.navigator.platform,o=t||i.navigator.userAgent,l={ios:!1,android:!1},u=i.screen.width,f=i.screen.height,h=o.match(/(Android);?[\s\/]+([\d.]+)?/);let p=o.match(/(iPad).*OS\s([\d_]+)/);const m=o.match(/(iPod)(.*OS\s([\d_]+))?/),b=!p&&o.match(/(iPhone\sOS|iOS)\s([\d_]+)/),w=a==="Win32";let _=a==="MacIntel";const E=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!p&&_&&n.touch&&E.indexOf(`${u}x${f}`)>=0&&(p=o.match(/(Version)\/([\d.]+)/),p||(p=[0,1,"13_0_0"]),_=!1),h&&!w&&(l.os="android",l.android=!0),(p||b||m)&&(l.os="ios",l.ios=!0),l}function x4(e){return e===void 0&&(e={}),fy||(fy=lk(e)),fy}let dy;function ck(){const e=Jn(),t=x4();let n=!1;function i(){const u=e.navigator.userAgent.toLowerCase();return u.indexOf("safari")>=0&&u.indexOf("chrome")<0&&u.indexOf("android")<0}if(i()){const u=String(e.navigator.userAgent);if(u.includes("Version/")){const[f,h]=u.split("Version/")[1].split(" ")[0].split(".").map(p=>Number(p));n=f<16||f===16&&h<2}}const a=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),o=i(),l=o||a&&t.ios;return{isSafari:n||o,needPerspectiveFix:n,need3dFix:l,isWebView:a}}function w4(){return dy||(dy=ck()),dy}function uk(e){let{swiper:t,on:n,emit:i}=e;const a=Jn();let o=null,l=null;const u=()=>{!t||t.destroyed||!t.initialized||(i("beforeResize"),i("resize"))},f=()=>{!t||t.destroyed||!t.initialized||(o=new ResizeObserver(m=>{l=a.requestAnimationFrame(()=>{const{width:b,height:w}=t;let _=b,E=w;m.forEach(O=>{let{contentBoxSize:C,contentRect:T,target:A}=O;A&&A!==t.el||(_=T?T.width:(C[0]||C).inlineSize,E=T?T.height:(C[0]||C).blockSize)}),(_!==b||E!==w)&&u()})}),o.observe(t.el))},h=()=>{l&&a.cancelAnimationFrame(l),o&&o.unobserve&&t.el&&(o.unobserve(t.el),o=null)},p=()=>{!t||t.destroyed||!t.initialized||i("orientationchange")};n("init",()=>{if(t.params.resizeObserver&&typeof a.ResizeObserver<"u"){f();return}a.addEventListener("resize",u),a.addEventListener("orientationchange",p)}),n("destroy",()=>{h(),a.removeEventListener("resize",u),a.removeEventListener("orientationchange",p)})}function fk(e){let{swiper:t,extendParams:n,on:i,emit:a}=e;const o=[],l=Jn(),u=function(p,m){m===void 0&&(m={});const b=l.MutationObserver||l.WebkitMutationObserver,w=new b(_=>{if(t.__preventObserver__)return;if(_.length===1){a("observerUpdate",_[0]);return}const E=function(){a("observerUpdate",_[0])};l.requestAnimationFrame?l.requestAnimationFrame(E):l.setTimeout(E,0)});w.observe(p,{attributes:typeof m.attributes>"u"?!0:m.attributes,childList:t.isElement||(typeof m.childList>"u"?!0:m).childList,characterData:typeof m.characterData>"u"?!0:m.characterData}),o.push(w)},f=()=>{if(t.params.observer){if(t.params.observeParents){const p=y4(t.hostEl);for(let m=0;m<p.length;m+=1)u(p[m])}u(t.hostEl,{childList:t.params.observeSlideChildren}),u(t.wrapperEl,{attributes:!1})}},h=()=>{o.forEach(p=>{p.disconnect()}),o.splice(0,o.length)};n({observer:!1,observeParents:!1,observeSlideChildren:!1}),i("init",f),i("destroy",h)}var dk={on(e,t,n){const i=this;if(!i.eventsListeners||i.destroyed||typeof t!="function")return i;const a=n?"unshift":"push";return e.split(" ").forEach(o=>{i.eventsListeners[o]||(i.eventsListeners[o]=[]),i.eventsListeners[o][a](t)}),i},once(e,t,n){const i=this;if(!i.eventsListeners||i.destroyed||typeof t!="function")return i;function a(){i.off(e,a),a.__emitterProxy&&delete a.__emitterProxy;for(var o=arguments.length,l=new Array(o),u=0;u<o;u++)l[u]=arguments[u];t.apply(i,l)}return a.__emitterProxy=t,i.on(e,a,n)},onAny(e,t){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;const i=t?"unshift":"push";return n.eventsAnyListeners.indexOf(e)<0&&n.eventsAnyListeners[i](e),n},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsAnyListeners)return t;const n=t.eventsAnyListeners.indexOf(e);return n>=0&&t.eventsAnyListeners.splice(n,1),t},off(e,t){const n=this;return!n.eventsListeners||n.destroyed||!n.eventsListeners||e.split(" ").forEach(i=>{typeof t>"u"?n.eventsListeners[i]=[]:n.eventsListeners[i]&&n.eventsListeners[i].forEach((a,o)=>{(a===t||a.__emitterProxy&&a.__emitterProxy===t)&&n.eventsListeners[i].splice(o,1)})}),n},emit(){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsListeners)return e;let t,n,i;for(var a=arguments.length,o=new Array(a),l=0;l<a;l++)o[l]=arguments[l];return typeof o[0]=="string"||Array.isArray(o[0])?(t=o[0],n=o.slice(1,o.length),i=e):(t=o[0].events,n=o[0].data,i=o[0].context||e),n.unshift(i),(Array.isArray(t)?t:t.split(" ")).forEach(f=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach(h=>{h.apply(i,[f,...n])}),e.eventsListeners&&e.eventsListeners[f]&&e.eventsListeners[f].forEach(h=>{h.apply(i,n)})}),e}};function hk(){const e=this;let t,n;const i=e.el;typeof e.params.width<"u"&&e.params.width!==null?t=e.params.width:t=i.clientWidth,typeof e.params.height<"u"&&e.params.height!==null?n=e.params.height:n=i.clientHeight,!(t===0&&e.isHorizontal()||n===0&&e.isVertical())&&(t=t-parseInt(vo(i,"padding-left")||0,10)-parseInt(vo(i,"padding-right")||0,10),n=n-parseInt(vo(i,"padding-top")||0,10)-parseInt(vo(i,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(n)&&(n=0),Object.assign(e,{width:t,height:n,size:e.isHorizontal()?t:n}))}function pk(){const e=this;function t(X,H){return parseFloat(X.getPropertyValue(e.getDirectionLabel(H))||0)}const n=e.params,{wrapperEl:i,slidesEl:a,size:o,rtlTranslate:l,wrongRTL:u}=e,f=e.virtual&&n.virtual.enabled,h=f?e.virtual.slides.length:e.slides.length,p=Zr(a,`.${e.params.slideClass}, swiper-slide`),m=f?e.virtual.slides.length:p.length;let b=[];const w=[],_=[];let E=n.slidesOffsetBefore;typeof E=="function"&&(E=n.slidesOffsetBefore.call(e));let O=n.slidesOffsetAfter;typeof O=="function"&&(O=n.slidesOffsetAfter.call(e));const C=e.snapGrid.length,T=e.slidesGrid.length;let A=n.spaceBetween,k=-E,D=0,R=0;if(typeof o>"u")return;typeof A=="string"&&A.indexOf("%")>=0?A=parseFloat(A.replace("%",""))/100*o:typeof A=="string"&&(A=parseFloat(A)),e.virtualSize=-A,p.forEach(X=>{l?X.style.marginLeft="":X.style.marginRight="",X.style.marginBottom="",X.style.marginTop=""}),n.centeredSlides&&n.cssMode&&(sm(i,"--swiper-centered-offset-before",""),sm(i,"--swiper-centered-offset-after",""));const B=n.grid&&n.grid.rows>1&&e.grid;B?e.grid.initSlides(p):e.grid&&e.grid.unsetSlides();let $;const F=n.slidesPerView==="auto"&&n.breakpoints&&Object.keys(n.breakpoints).filter(X=>typeof n.breakpoints[X].slidesPerView<"u").length>0;for(let X=0;X<m;X+=1){$=0;let H;if(p[X]&&(H=p[X]),B&&e.grid.updateSlide(X,H,p),!(p[X]&&vo(H,"display")==="none")){if(n.slidesPerView==="auto"){F&&(p[X].style[e.getDirectionLabel("width")]="");const U=getComputedStyle(H),se=H.style.transform,ce=H.style.webkitTransform;if(se&&(H.style.transform="none"),ce&&(H.style.webkitTransform="none"),n.roundLengths)$=e.isHorizontal()?cb(H,"width"):cb(H,"height");else{const ge=t(U,"width"),q=t(U,"padding-left"),te=t(U,"padding-right"),re=t(U,"margin-left"),pe=t(U,"margin-right"),z=U.getPropertyValue("box-sizing");if(z&&z==="border-box")$=ge+re+pe;else{const{clientWidth:V,offsetWidth:oe}=H;$=ge+q+te+re+pe+(oe-V)}}se&&(H.style.transform=se),ce&&(H.style.webkitTransform=ce),n.roundLengths&&($=Math.floor($))}else $=(o-(n.slidesPerView-1)*A)/n.slidesPerView,n.roundLengths&&($=Math.floor($)),p[X]&&(p[X].style[e.getDirectionLabel("width")]=`${$}px`);p[X]&&(p[X].swiperSlideSize=$),_.push($),n.centeredSlides?(k=k+$/2+D/2+A,D===0&&X!==0&&(k=k-o/2-A),X===0&&(k=k-o/2-A),Math.abs(k)<1/1e3&&(k=0),n.roundLengths&&(k=Math.floor(k)),R%n.slidesPerGroup===0&&b.push(k),w.push(k)):(n.roundLengths&&(k=Math.floor(k)),(R-Math.min(e.params.slidesPerGroupSkip,R))%e.params.slidesPerGroup===0&&b.push(k),w.push(k),k=k+$+A),e.virtualSize+=$+A,D=$,R+=1}}if(e.virtualSize=Math.max(e.virtualSize,o)+O,l&&u&&(n.effect==="slide"||n.effect==="coverflow")&&(i.style.width=`${e.virtualSize+A}px`),n.setWrapperSize&&(i.style[e.getDirectionLabel("width")]=`${e.virtualSize+A}px`),B&&e.grid.updateWrapperSize($,b),!n.centeredSlides){const X=[];for(let H=0;H<b.length;H+=1){let U=b[H];n.roundLengths&&(U=Math.floor(U)),b[H]<=e.virtualSize-o&&X.push(U)}b=X,Math.floor(e.virtualSize-o)-Math.floor(b[b.length-1])>1&&b.push(e.virtualSize-o)}if(f&&n.loop){const X=_[0]+A;if(n.slidesPerGroup>1){const H=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/n.slidesPerGroup),U=X*n.slidesPerGroup;for(let se=0;se<H;se+=1)b.push(b[b.length-1]+U)}for(let H=0;H<e.virtual.slidesBefore+e.virtual.slidesAfter;H+=1)n.slidesPerGroup===1&&b.push(b[b.length-1]+X),w.push(w[w.length-1]+X),e.virtualSize+=X}if(b.length===0&&(b=[0]),A!==0){const X=e.isHorizontal()&&l?"marginLeft":e.getDirectionLabel("marginRight");p.filter((H,U)=>!n.cssMode||n.loop?!0:U!==p.length-1).forEach(H=>{H.style[X]=`${A}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let X=0;_.forEach(U=>{X+=U+(A||0)}),X-=A;const H=X>o?X-o:0;b=b.map(U=>U<=0?-E:U>H?H+O:U)}if(n.centerInsufficientSlides){let X=0;_.forEach(U=>{X+=U+(A||0)}),X-=A;const H=(n.slidesOffsetBefore||0)+(n.slidesOffsetAfter||0);if(X+H<o){const U=(o-X-H)/2;b.forEach((se,ce)=>{b[ce]=se-U}),w.forEach((se,ce)=>{w[ce]=se+U})}}if(Object.assign(e,{slides:p,snapGrid:b,slidesGrid:w,slidesSizesGrid:_}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){sm(i,"--swiper-centered-offset-before",`${-b[0]}px`),sm(i,"--swiper-centered-offset-after",`${e.size/2-_[_.length-1]/2}px`);const X=-e.snapGrid[0],H=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(U=>U+X),e.slidesGrid=e.slidesGrid.map(U=>U+H)}if(m!==h&&e.emit("slidesLengthChange"),b.length!==C&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),w.length!==T&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!f&&!n.cssMode&&(n.effect==="slide"||n.effect==="fade")){const X=`${n.containerModifierClass}backface-hidden`,H=e.el.classList.contains(X);m<=n.maxBackfaceHiddenSlides?H||e.el.classList.add(X):H&&e.el.classList.remove(X)}}function mk(e){const t=this,n=[],i=t.virtual&&t.params.virtual.enabled;let a=0,o;typeof e=="number"?t.setTransition(e):e===!0&&t.setTransition(t.params.speed);const l=u=>i?t.slides[t.getSlideIndexByData(u)]:t.slides[u];if(t.params.slidesPerView!=="auto"&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach(u=>{n.push(u)});else for(o=0;o<Math.ceil(t.params.slidesPerView);o+=1){const u=t.activeIndex+o;if(u>t.slides.length&&!i)break;n.push(l(u))}else n.push(l(t.activeIndex));for(o=0;o<n.length;o+=1)if(typeof n[o]<"u"){const u=n[o].offsetHeight;a=u>a?u:a}(a||a===0)&&(t.wrapperEl.style.height=`${a}px`)}function gk(){const e=this,t=e.slides,n=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let i=0;i<t.length;i+=1)t[i].swiperSlideOffset=(e.isHorizontal()?t[i].offsetLeft:t[i].offsetTop)-n-e.cssOverflowAdjustment()}const OS=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};function vk(e){e===void 0&&(e=this&&this.translate||0);const t=this,n=t.params,{slides:i,rtlTranslate:a,snapGrid:o}=t;if(i.length===0)return;typeof i[0].swiperSlideOffset>"u"&&t.updateSlidesOffset();let l=-e;a&&(l=e),t.visibleSlidesIndexes=[],t.visibleSlides=[];let u=n.spaceBetween;typeof u=="string"&&u.indexOf("%")>=0?u=parseFloat(u.replace("%",""))/100*t.size:typeof u=="string"&&(u=parseFloat(u));for(let f=0;f<i.length;f+=1){const h=i[f];let p=h.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(p-=i[0].swiperSlideOffset);const m=(l+(n.centeredSlides?t.minTranslate():0)-p)/(h.swiperSlideSize+u),b=(l-o[0]+(n.centeredSlides?t.minTranslate():0)-p)/(h.swiperSlideSize+u),w=-(l-p),_=w+t.slidesSizesGrid[f],E=w>=0&&w<=t.size-t.slidesSizesGrid[f],O=w>=0&&w<t.size-1||_>1&&_<=t.size||w<=0&&_>=t.size;O&&(t.visibleSlides.push(h),t.visibleSlidesIndexes.push(f)),OS(h,O,n.slideVisibleClass),OS(h,E,n.slideFullyVisibleClass),h.progress=a?-m:m,h.originalProgress=a?-b:b}}function yk(e){const t=this;if(typeof e>"u"){const p=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*p||0}const n=t.params,i=t.maxTranslate()-t.minTranslate();let{progress:a,isBeginning:o,isEnd:l,progressLoop:u}=t;const f=o,h=l;if(i===0)a=0,o=!0,l=!0;else{a=(e-t.minTranslate())/i;const p=Math.abs(e-t.minTranslate())<1,m=Math.abs(e-t.maxTranslate())<1;o=p||a<=0,l=m||a>=1,p&&(a=0),m&&(a=1)}if(n.loop){const p=t.getSlideIndexByData(0),m=t.getSlideIndexByData(t.slides.length-1),b=t.slidesGrid[p],w=t.slidesGrid[m],_=t.slidesGrid[t.slidesGrid.length-1],E=Math.abs(e);E>=b?u=(E-b)/_:u=(E+_-w)/_,u>1&&(u-=1)}Object.assign(t,{progress:a,progressLoop:u,isBeginning:o,isEnd:l}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),o&&!f&&t.emit("reachBeginning toEdge"),l&&!h&&t.emit("reachEnd toEdge"),(f&&!o||h&&!l)&&t.emit("fromEdge"),t.emit("progress",a)}const hy=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};function bk(){const e=this,{slides:t,params:n,slidesEl:i,activeIndex:a}=e,o=e.virtual&&n.virtual.enabled,l=e.grid&&n.grid&&n.grid.rows>1,u=m=>Zr(i,`.${n.slideClass}${m}, swiper-slide${m}`)[0];let f,h,p;if(o)if(n.loop){let m=a-e.virtual.slidesBefore;m<0&&(m=e.virtual.slides.length+m),m>=e.virtual.slides.length&&(m-=e.virtual.slides.length),f=u(`[data-swiper-slide-index="${m}"]`)}else f=u(`[data-swiper-slide-index="${a}"]`);else l?(f=t.find(m=>m.column===a),p=t.find(m=>m.column===a+1),h=t.find(m=>m.column===a-1)):f=t[a];f&&(l||(p=sk(f,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!p&&(p=t[0]),h=ak(f,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!h===0&&(h=t[t.length-1]))),t.forEach(m=>{hy(m,m===f,n.slideActiveClass),hy(m,m===p,n.slideNextClass),hy(m,m===h,n.slidePrevClass)}),e.emitSlidesClasses()}const Pm=(e,t)=>{if(!e||e.destroyed||!e.params)return;const n=()=>e.isElement?"swiper-slide":`.${e.params.slideClass}`,i=t.closest(n());if(i){let a=i.querySelector(`.${e.params.lazyPreloaderClass}`);!a&&e.isElement&&(i.shadowRoot?a=i.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{i.shadowRoot&&(a=i.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),a&&a.remove())})),a&&a.remove()}},py=(e,t)=>{if(!e.slides[t])return;const n=e.slides[t].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},ub=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const n=e.slides.length;if(!n||!t||t<0)return;t=Math.min(t,n);const i=e.params.slidesPerView==="auto"?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),a=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const l=a,u=[l-t];u.push(...Array.from({length:t}).map((f,h)=>l+i+h)),e.slides.forEach((f,h)=>{u.includes(f.column)&&py(e,h)});return}const o=a+i-1;if(e.params.rewind||e.params.loop)for(let l=a-t;l<=o+t;l+=1){const u=(l%n+n)%n;(u<a||u>o)&&py(e,u)}else for(let l=Math.max(a-t,0);l<=Math.min(o+t,n-1);l+=1)l!==a&&(l>o||l<a)&&py(e,l)};function xk(e){const{slidesGrid:t,params:n}=e,i=e.rtlTranslate?e.translate:-e.translate;let a;for(let o=0;o<t.length;o+=1)typeof t[o+1]<"u"?i>=t[o]&&i<t[o+1]-(t[o+1]-t[o])/2?a=o:i>=t[o]&&i<t[o+1]&&(a=o+1):i>=t[o]&&(a=o);return n.normalizeSlideIndex&&(a<0||typeof a>"u")&&(a=0),a}function wk(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{snapGrid:i,params:a,activeIndex:o,realIndex:l,snapIndex:u}=t;let f=e,h;const p=w=>{let _=w-t.virtual.slidesBefore;return _<0&&(_=t.virtual.slides.length+_),_>=t.virtual.slides.length&&(_-=t.virtual.slides.length),_};if(typeof f>"u"&&(f=xk(t)),i.indexOf(n)>=0)h=i.indexOf(n);else{const w=Math.min(a.slidesPerGroupSkip,f);h=w+Math.floor((f-w)/a.slidesPerGroup)}if(h>=i.length&&(h=i.length-1),f===o&&!t.params.loop){h!==u&&(t.snapIndex=h,t.emit("snapIndexChange"));return}if(f===o&&t.params.loop&&t.virtual&&t.params.virtual.enabled){t.realIndex=p(f);return}const m=t.grid&&a.grid&&a.grid.rows>1;let b;if(t.virtual&&a.virtual.enabled&&a.loop)b=p(f);else if(m){const w=t.slides.find(E=>E.column===f);let _=parseInt(w.getAttribute("data-swiper-slide-index"),10);Number.isNaN(_)&&(_=Math.max(t.slides.indexOf(w),0)),b=Math.floor(_/a.grid.rows)}else if(t.slides[f]){const w=t.slides[f].getAttribute("data-swiper-slide-index");w?b=parseInt(w,10):b=f}else b=f;Object.assign(t,{previousSnapIndex:u,snapIndex:h,previousRealIndex:l,realIndex:b,previousIndex:o,activeIndex:f}),t.initialized&&ub(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(l!==b&&t.emit("realIndexChange"),t.emit("slideChange"))}function _k(e,t){const n=this,i=n.params;let a=e.closest(`.${i.slideClass}, swiper-slide`);!a&&n.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(u=>{!a&&u.matches&&u.matches(`.${i.slideClass}, swiper-slide`)&&(a=u)});let o=!1,l;if(a){for(let u=0;u<n.slides.length;u+=1)if(n.slides[u]===a){o=!0,l=u;break}}if(a&&o)n.clickedSlide=a,n.virtual&&n.params.virtual.enabled?n.clickedIndex=parseInt(a.getAttribute("data-swiper-slide-index"),10):n.clickedIndex=l;else{n.clickedSlide=void 0,n.clickedIndex=void 0;return}i.slideToClickedSlide&&n.clickedIndex!==void 0&&n.clickedIndex!==n.activeIndex&&n.slideToClickedSlide()}var Ek={updateSize:hk,updateSlides:pk,updateAutoHeight:mk,updateSlidesOffset:gk,updateSlidesProgress:vk,updateProgress:yk,updateSlidesClasses:bk,updateActiveIndex:wk,updateClickedSlide:_k};function Sk(e){e===void 0&&(e=this.isHorizontal()?"x":"y");const t=this,{params:n,rtlTranslate:i,translate:a,wrapperEl:o}=t;if(n.virtualTranslate)return i?-a:a;if(n.cssMode)return a;let l=tk(o,e);return l+=t.cssOverflowAdjustment(),i&&(l=-l),l||0}function Tk(e,t){const n=this,{rtlTranslate:i,params:a,wrapperEl:o,progress:l}=n;let u=0,f=0;const h=0;n.isHorizontal()?u=i?-e:e:f=e,a.roundLengths&&(u=Math.floor(u),f=Math.floor(f)),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?u:f,a.cssMode?o[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-u:-f:a.virtualTranslate||(n.isHorizontal()?u-=n.cssOverflowAdjustment():f-=n.cssOverflowAdjustment(),o.style.transform=`translate3d(${u}px, ${f}px, ${h}px)`);let p;const m=n.maxTranslate()-n.minTranslate();m===0?p=0:p=(e-n.minTranslate())/m,p!==l&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)}function Ak(){return-this.snapGrid[0]}function Ck(){return-this.snapGrid[this.snapGrid.length-1]}function Ok(e,t,n,i,a){e===void 0&&(e=0),t===void 0&&(t=this.params.speed),n===void 0&&(n=!0),i===void 0&&(i=!0);const o=this,{params:l,wrapperEl:u}=o;if(o.animating&&l.preventInteractionOnTransition)return!1;const f=o.minTranslate(),h=o.maxTranslate();let p;if(i&&e>f?p=f:i&&e<h?p=h:p=e,o.updateProgress(p),l.cssMode){const m=o.isHorizontal();if(t===0)u[m?"scrollLeft":"scrollTop"]=-p;else{if(!o.support.smoothScroll)return v4({swiper:o,targetPosition:-p,side:m?"left":"top"}),!0;u.scrollTo({[m?"left":"top"]:-p,behavior:"smooth"})}return!0}return t===0?(o.setTransition(0),o.setTranslate(p),n&&(o.emit("beforeTransitionStart",t,a),o.emit("transitionEnd"))):(o.setTransition(t),o.setTranslate(p),n&&(o.emit("beforeTransitionStart",t,a),o.emit("transitionStart")),o.animating||(o.animating=!0,o.onTranslateToWrapperTransitionEnd||(o.onTranslateToWrapperTransitionEnd=function(b){!o||o.destroyed||b.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.onTranslateToWrapperTransitionEnd=null,delete o.onTranslateToWrapperTransitionEnd,o.animating=!1,n&&o.emit("transitionEnd"))}),o.wrapperEl.addEventListener("transitionend",o.onTranslateToWrapperTransitionEnd))),!0}var Mk={getTranslate:Sk,setTranslate:Tk,minTranslate:Ak,maxTranslate:Ck,translateTo:Ok};function Nk(e,t){const n=this;n.params.cssMode||(n.wrapperEl.style.transitionDuration=`${e}ms`,n.wrapperEl.style.transitionDelay=e===0?"0ms":""),n.emit("setTransition",e,t)}function _4(e){let{swiper:t,runCallbacks:n,direction:i,step:a}=e;const{activeIndex:o,previousIndex:l}=t;let u=i;u||(o>l?u="next":o<l?u="prev":u="reset"),t.emit(`transition${a}`),n&&u==="reset"?t.emit(`slideResetTransition${a}`):n&&o!==l&&(t.emit(`slideChangeTransition${a}`),u==="next"?t.emit(`slideNextTransition${a}`):t.emit(`slidePrevTransition${a}`))}function jk(e,t){e===void 0&&(e=!0);const n=this,{params:i}=n;i.cssMode||(i.autoHeight&&n.updateAutoHeight(),_4({swiper:n,runCallbacks:e,direction:t,step:"Start"}))}function Dk(e,t){e===void 0&&(e=!0);const n=this,{params:i}=n;n.animating=!1,!i.cssMode&&(n.setTransition(0),_4({swiper:n,runCallbacks:e,direction:t,step:"End"}))}var Pk={setTransition:Nk,transitionStart:jk,transitionEnd:Dk};function Lk(e,t,n,i,a){e===void 0&&(e=0),n===void 0&&(n=!0),typeof e=="string"&&(e=parseInt(e,10));const o=this;let l=e;l<0&&(l=0);const{params:u,snapGrid:f,slidesGrid:h,previousIndex:p,activeIndex:m,rtlTranslate:b,wrapperEl:w,enabled:_}=o;if(!_&&!i&&!a||o.destroyed||o.animating&&u.preventInteractionOnTransition)return!1;typeof t>"u"&&(t=o.params.speed);const E=Math.min(o.params.slidesPerGroupSkip,l);let O=E+Math.floor((l-E)/o.params.slidesPerGroup);O>=f.length&&(O=f.length-1);const C=-f[O];if(u.normalizeSlideIndex)for(let B=0;B<h.length;B+=1){const $=-Math.floor(C*100),F=Math.floor(h[B]*100),X=Math.floor(h[B+1]*100);typeof h[B+1]<"u"?$>=F&&$<X-(X-F)/2?l=B:$>=F&&$<X&&(l=B+1):$>=F&&(l=B)}if(o.initialized&&l!==m&&(!o.allowSlideNext&&(b?C>o.translate&&C>o.minTranslate():C<o.translate&&C<o.minTranslate())||!o.allowSlidePrev&&C>o.translate&&C>o.maxTranslate()&&(m||0)!==l))return!1;l!==(p||0)&&n&&o.emit("beforeSlideChangeStart"),o.updateProgress(C);let T;l>m?T="next":l<m?T="prev":T="reset";const A=o.virtual&&o.params.virtual.enabled;if(!(A&&a)&&(b&&-C===o.translate||!b&&C===o.translate))return o.updateActiveIndex(l),u.autoHeight&&o.updateAutoHeight(),o.updateSlidesClasses(),u.effect!=="slide"&&o.setTranslate(C),T!=="reset"&&(o.transitionStart(n,T),o.transitionEnd(n,T)),!1;if(u.cssMode){const B=o.isHorizontal(),$=b?C:-C;if(t===0)A&&(o.wrapperEl.style.scrollSnapType="none",o._immediateVirtual=!0),A&&!o._cssModeVirtualInitialSet&&o.params.initialSlide>0?(o._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{w[B?"scrollLeft":"scrollTop"]=$})):w[B?"scrollLeft":"scrollTop"]=$,A&&requestAnimationFrame(()=>{o.wrapperEl.style.scrollSnapType="",o._immediateVirtual=!1});else{if(!o.support.smoothScroll)return v4({swiper:o,targetPosition:$,side:B?"left":"top"}),!0;w.scrollTo({[B?"left":"top"]:$,behavior:"smooth"})}return!0}const R=w4().isSafari;return A&&!a&&R&&o.isElement&&o.virtual.update(!1,!1,l),o.setTransition(t),o.setTranslate(C),o.updateActiveIndex(l),o.updateSlidesClasses(),o.emit("beforeTransitionStart",t,i),o.transitionStart(n,T),t===0?o.transitionEnd(n,T):o.animating||(o.animating=!0,o.onSlideToWrapperTransitionEnd||(o.onSlideToWrapperTransitionEnd=function($){!o||o.destroyed||$.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.onSlideToWrapperTransitionEnd=null,delete o.onSlideToWrapperTransitionEnd,o.transitionEnd(n,T))}),o.wrapperEl.addEventListener("transitionend",o.onSlideToWrapperTransitionEnd)),!0}function kk(e,t,n,i){e===void 0&&(e=0),n===void 0&&(n=!0),typeof e=="string"&&(e=parseInt(e,10));const a=this;if(a.destroyed)return;typeof t>"u"&&(t=a.params.speed);const o=a.grid&&a.params.grid&&a.params.grid.rows>1;let l=e;if(a.params.loop)if(a.virtual&&a.params.virtual.enabled)l=l+a.virtual.slidesBefore;else{let u;if(o){const b=l*a.params.grid.rows;u=a.slides.find(w=>w.getAttribute("data-swiper-slide-index")*1===b).column}else u=a.getSlideIndexByData(l);const f=o?Math.ceil(a.slides.length/a.params.grid.rows):a.slides.length,{centeredSlides:h}=a.params;let p=a.params.slidesPerView;p==="auto"?p=a.slidesPerViewDynamic():(p=Math.ceil(parseFloat(a.params.slidesPerView,10)),h&&p%2===0&&(p=p+1));let m=f-u<p;if(h&&(m=m||u<Math.ceil(p/2)),i&&h&&a.params.slidesPerView!=="auto"&&!o&&(m=!1),m){const b=h?u<a.activeIndex?"prev":"next":u-a.activeIndex-1<a.params.slidesPerView?"next":"prev";a.loopFix({direction:b,slideTo:!0,activeSlideIndex:b==="next"?u+1:u-f+1,slideRealIndex:b==="next"?a.realIndex:void 0})}if(o){const b=l*a.params.grid.rows;l=a.slides.find(w=>w.getAttribute("data-swiper-slide-index")*1===b).column}else l=a.getSlideIndexByData(l)}return requestAnimationFrame(()=>{a.slideTo(l,t,n,i)}),a}function Rk(e,t,n){t===void 0&&(t=!0);const i=this,{enabled:a,params:o,animating:l}=i;if(!a||i.destroyed)return i;typeof e>"u"&&(e=i.params.speed);let u=o.slidesPerGroup;o.slidesPerView==="auto"&&o.slidesPerGroup===1&&o.slidesPerGroupAuto&&(u=Math.max(i.slidesPerViewDynamic("current",!0),1));const f=i.activeIndex<o.slidesPerGroupSkip?1:u,h=i.virtual&&o.virtual.enabled;if(o.loop){if(l&&!h&&o.loopPreventsSliding)return!1;if(i.loopFix({direction:"next"}),i._clientLeft=i.wrapperEl.clientLeft,i.activeIndex===i.slides.length-1&&o.cssMode)return requestAnimationFrame(()=>{i.slideTo(i.activeIndex+f,e,t,n)}),!0}return o.rewind&&i.isEnd?i.slideTo(0,e,t,n):i.slideTo(i.activeIndex+f,e,t,n)}function zk(e,t,n){t===void 0&&(t=!0);const i=this,{params:a,snapGrid:o,slidesGrid:l,rtlTranslate:u,enabled:f,animating:h}=i;if(!f||i.destroyed)return i;typeof e>"u"&&(e=i.params.speed);const p=i.virtual&&a.virtual.enabled;if(a.loop){if(h&&!p&&a.loopPreventsSliding)return!1;i.loopFix({direction:"prev"}),i._clientLeft=i.wrapperEl.clientLeft}const m=u?i.translate:-i.translate;function b(T){return T<0?-Math.floor(Math.abs(T)):Math.floor(T)}const w=b(m),_=o.map(T=>b(T)),E=a.freeMode&&a.freeMode.enabled;let O=o[_.indexOf(w)-1];if(typeof O>"u"&&(a.cssMode||E)){let T;o.forEach((A,k)=>{w>=A&&(T=k)}),typeof T<"u"&&(O=E?o[T]:o[T>0?T-1:T])}let C=0;if(typeof O<"u"&&(C=l.indexOf(O),C<0&&(C=i.activeIndex-1),a.slidesPerView==="auto"&&a.slidesPerGroup===1&&a.slidesPerGroupAuto&&(C=C-i.slidesPerViewDynamic("previous",!0)+1,C=Math.max(C,0))),a.rewind&&i.isBeginning){const T=i.params.virtual&&i.params.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1;return i.slideTo(T,e,t,n)}else if(a.loop&&i.activeIndex===0&&a.cssMode)return requestAnimationFrame(()=>{i.slideTo(C,e,t,n)}),!0;return i.slideTo(C,e,t,n)}function Ik(e,t,n){t===void 0&&(t=!0);const i=this;if(!i.destroyed)return typeof e>"u"&&(e=i.params.speed),i.slideTo(i.activeIndex,e,t,n)}function $k(e,t,n,i){t===void 0&&(t=!0),i===void 0&&(i=.5);const a=this;if(a.destroyed)return;typeof e>"u"&&(e=a.params.speed);let o=a.activeIndex;const l=Math.min(a.params.slidesPerGroupSkip,o),u=l+Math.floor((o-l)/a.params.slidesPerGroup),f=a.rtlTranslate?a.translate:-a.translate;if(f>=a.snapGrid[u]){const h=a.snapGrid[u],p=a.snapGrid[u+1];f-h>(p-h)*i&&(o+=a.params.slidesPerGroup)}else{const h=a.snapGrid[u-1],p=a.snapGrid[u];f-h<=(p-h)*i&&(o-=a.params.slidesPerGroup)}return o=Math.max(o,0),o=Math.min(o,a.slidesGrid.length-1),a.slideTo(o,e,t,n)}function Bk(){const e=this;if(e.destroyed)return;const{params:t,slidesEl:n}=e,i=t.slidesPerView==="auto"?e.slidesPerViewDynamic():t.slidesPerView;let a=e.getSlideIndexWhenGrid(e.clickedIndex),o;const l=e.isElement?"swiper-slide":`.${t.slideClass}`,u=e.grid&&e.params.grid&&e.params.grid.rows>1;if(t.loop){if(e.animating)return;o=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?e.slideToLoop(o):a>(u?(e.slides.length-i)/2-(e.params.grid.rows-1):e.slides.length-i)?(e.loopFix(),a=e.getSlideIndex(Zr(n,`${l}[data-swiper-slide-index="${o}"]`)[0]),g4(()=>{e.slideTo(a)})):e.slideTo(a)}else e.slideTo(a)}var Vk={slideTo:Lk,slideToLoop:kk,slideNext:Rk,slidePrev:zk,slideReset:Ik,slideToClosest:$k,slideToClickedSlide:Bk};function Hk(e,t){const n=this,{params:i,slidesEl:a}=n;if(!i.loop||n.virtual&&n.params.virtual.enabled)return;const o=()=>{Zr(a,`.${i.slideClass}, swiper-slide`).forEach((w,_)=>{w.setAttribute("data-swiper-slide-index",_)})},l=()=>{const b=Zr(a,`.${i.slideBlankClass}`);b.forEach(w=>{w.remove()}),b.length>0&&(n.recalcSlides(),n.updateSlides())},u=n.grid&&i.grid&&i.grid.rows>1;i.loopAddBlankSlides&&(i.slidesPerGroup>1||u)&&l();const f=i.slidesPerGroup*(u?i.grid.rows:1),h=n.slides.length%f!==0,p=u&&n.slides.length%i.grid.rows!==0,m=b=>{for(let w=0;w<b;w+=1){const _=n.isElement?Wm("swiper-slide",[i.slideBlankClass]):Wm("div",[i.slideClass,i.slideBlankClass]);n.slidesEl.append(_)}};if(h){if(i.loopAddBlankSlides){const b=f-n.slides.length%f;m(b),n.recalcSlides(),n.updateSlides()}else Km("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");o()}else if(p){if(i.loopAddBlankSlides){const b=i.grid.rows-n.slides.length%i.grid.rows;m(b),n.recalcSlides(),n.updateSlides()}else Km("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");o()}else o();n.loopFix({slideRealIndex:e,direction:i.centeredSlides?void 0:"next",initial:t})}function qk(e){let{slideRealIndex:t,slideTo:n=!0,direction:i,setTranslate:a,activeSlideIndex:o,initial:l,byController:u,byMousewheel:f}=e===void 0?{}:e;const h=this;if(!h.params.loop)return;h.emit("beforeLoopFix");const{slides:p,allowSlidePrev:m,allowSlideNext:b,slidesEl:w,params:_}=h,{centeredSlides:E,initialSlide:O}=_;if(h.allowSlidePrev=!0,h.allowSlideNext=!0,h.virtual&&_.virtual.enabled){n&&(!_.centeredSlides&&h.snapIndex===0?h.slideTo(h.virtual.slides.length,0,!1,!0):_.centeredSlides&&h.snapIndex<_.slidesPerView?h.slideTo(h.virtual.slides.length+h.snapIndex,0,!1,!0):h.snapIndex===h.snapGrid.length-1&&h.slideTo(h.virtual.slidesBefore,0,!1,!0)),h.allowSlidePrev=m,h.allowSlideNext=b,h.emit("loopFix");return}let C=_.slidesPerView;C==="auto"?C=h.slidesPerViewDynamic():(C=Math.ceil(parseFloat(_.slidesPerView,10)),E&&C%2===0&&(C=C+1));const T=_.slidesPerGroupAuto?C:_.slidesPerGroup;let A=E?Math.max(T,Math.ceil(C/2)):T;A%T!==0&&(A+=T-A%T),A+=_.loopAdditionalSlides,h.loopedSlides=A;const k=h.grid&&_.grid&&_.grid.rows>1;p.length<C+A||h.params.effect==="cards"&&p.length<C+A*2?Km("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):k&&_.grid.fill==="row"&&Km("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const D=[],R=[],B=k?Math.ceil(p.length/_.grid.rows):p.length,$=l&&B-O<C&&!E;let F=$?O:h.activeIndex;typeof o>"u"?o=h.getSlideIndex(p.find(q=>q.classList.contains(_.slideActiveClass))):F=o;const X=i==="next"||!i,H=i==="prev"||!i;let U=0,se=0;const ge=(k?p[o].column:o)+(E&&typeof a>"u"?-C/2+.5:0);if(ge<A){U=Math.max(A-ge,T);for(let q=0;q<A-ge;q+=1){const te=q-Math.floor(q/B)*B;if(k){const re=B-te-1;for(let pe=p.length-1;pe>=0;pe-=1)p[pe].column===re&&D.push(pe)}else D.push(B-te-1)}}else if(ge+C>B-A){se=Math.max(ge-(B-A*2),T),$&&(se=Math.max(se,C-B+O+1));for(let q=0;q<se;q+=1){const te=q-Math.floor(q/B)*B;k?p.forEach((re,pe)=>{re.column===te&&R.push(pe)}):R.push(te)}}if(h.__preventObserver__=!0,requestAnimationFrame(()=>{h.__preventObserver__=!1}),h.params.effect==="cards"&&p.length<C+A*2&&(R.includes(o)&&R.splice(R.indexOf(o),1),D.includes(o)&&D.splice(D.indexOf(o),1)),H&&D.forEach(q=>{p[q].swiperLoopMoveDOM=!0,w.prepend(p[q]),p[q].swiperLoopMoveDOM=!1}),X&&R.forEach(q=>{p[q].swiperLoopMoveDOM=!0,w.append(p[q]),p[q].swiperLoopMoveDOM=!1}),h.recalcSlides(),_.slidesPerView==="auto"?h.updateSlides():k&&(D.length>0&&H||R.length>0&&X)&&h.slides.forEach((q,te)=>{h.grid.updateSlide(te,q,h.slides)}),_.watchSlidesProgress&&h.updateSlidesOffset(),n){if(D.length>0&&H){if(typeof t>"u"){const q=h.slidesGrid[F],re=h.slidesGrid[F+U]-q;f?h.setTranslate(h.translate-re):(h.slideTo(F+Math.ceil(U),0,!1,!0),a&&(h.touchEventsData.startTranslate=h.touchEventsData.startTranslate-re,h.touchEventsData.currentTranslate=h.touchEventsData.currentTranslate-re))}else if(a){const q=k?D.length/_.grid.rows:D.length;h.slideTo(h.activeIndex+q,0,!1,!0),h.touchEventsData.currentTranslate=h.translate}}else if(R.length>0&&X)if(typeof t>"u"){const q=h.slidesGrid[F],re=h.slidesGrid[F-se]-q;f?h.setTranslate(h.translate-re):(h.slideTo(F-se,0,!1,!0),a&&(h.touchEventsData.startTranslate=h.touchEventsData.startTranslate-re,h.touchEventsData.currentTranslate=h.touchEventsData.currentTranslate-re))}else{const q=k?R.length/_.grid.rows:R.length;h.slideTo(h.activeIndex-q,0,!1,!0)}}if(h.allowSlidePrev=m,h.allowSlideNext=b,h.controller&&h.controller.control&&!u){const q={slideRealIndex:t,direction:i,setTranslate:a,activeSlideIndex:o,byController:!0};Array.isArray(h.controller.control)?h.controller.control.forEach(te=>{!te.destroyed&&te.params.loop&&te.loopFix({...q,slideTo:te.params.slidesPerView===_.slidesPerView?n:!1})}):h.controller.control instanceof h.constructor&&h.controller.control.params.loop&&h.controller.control.loopFix({...q,slideTo:h.controller.control.params.slidesPerView===_.slidesPerView?n:!1})}h.emit("loopFix")}function Uk(){const e=this,{params:t,slidesEl:n}=e;if(!t.loop||!n||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const i=[];e.slides.forEach(a=>{const o=typeof a.swiperSlideIndex>"u"?a.getAttribute("data-swiper-slide-index")*1:a.swiperSlideIndex;i[o]=a}),e.slides.forEach(a=>{a.removeAttribute("data-swiper-slide-index")}),i.forEach(a=>{n.append(a)}),e.recalcSlides(),e.slideTo(e.realIndex,0)}var Fk={loopCreate:Hk,loopFix:qk,loopDestroy:Uk};function Gk(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n=t.params.touchEventsTarget==="container"?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})}function Yk(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e[e.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}var Kk={setGrabCursor:Gk,unsetGrabCursor:Yk};function Wk(e,t){t===void 0&&(t=this);function n(i){if(!i||i===ea()||i===Jn())return null;i.assignedSlot&&(i=i.assignedSlot);const a=i.closest(e);return!a&&!i.getRootNode?null:a||n(i.getRootNode().host)}return n(t)}function MS(e,t,n){const i=Jn(),{params:a}=e,o=a.edgeSwipeDetection,l=a.edgeSwipeThreshold;return o&&(n<=l||n>=i.innerWidth-l)?o==="prevent"?(t.preventDefault(),!0):!1:!0}function Xk(e){const t=this,n=ea();let i=e;i.originalEvent&&(i=i.originalEvent);const a=t.touchEventsData;if(i.type==="pointerdown"){if(a.pointerId!==null&&a.pointerId!==i.pointerId)return;a.pointerId=i.pointerId}else i.type==="touchstart"&&i.targetTouches.length===1&&(a.touchId=i.targetTouches[0].identifier);if(i.type==="touchstart"){MS(t,i,i.targetTouches[0].pageX);return}const{params:o,touches:l,enabled:u}=t;if(!u||!o.simulateTouch&&i.pointerType==="mouse"||t.animating&&o.preventInteractionOnTransition)return;!t.animating&&o.cssMode&&o.loop&&t.loopFix();let f=i.target;if(o.touchEventsTarget==="wrapper"&&!rk(f,t.wrapperEl)||"which"in i&&i.which===3||"button"in i&&i.button>0||a.isTouched&&a.isMoved)return;const h=!!o.noSwipingClass&&o.noSwipingClass!=="",p=i.composedPath?i.composedPath():i.path;h&&i.target&&i.target.shadowRoot&&p&&(f=p[0]);const m=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,b=!!(i.target&&i.target.shadowRoot);if(o.noSwiping&&(b?Wk(m,f):f.closest(m))){t.allowClick=!0;return}if(o.swipeHandler&&!f.closest(o.swipeHandler))return;l.currentX=i.pageX,l.currentY=i.pageY;const w=l.currentX,_=l.currentY;if(!MS(t,i,w))return;Object.assign(a,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),l.startX=w,l.startY=_,a.touchStartTime=Ym(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,o.threshold>0&&(a.allowThresholdMove=!1);let E=!0;f.matches(a.focusableElements)&&(E=!1,f.nodeName==="SELECT"&&(a.isTouched=!1)),n.activeElement&&n.activeElement.matches(a.focusableElements)&&n.activeElement!==f&&(i.pointerType==="mouse"||i.pointerType!=="mouse"&&!f.matches(a.focusableElements))&&n.activeElement.blur();const O=E&&t.allowTouchMove&&o.touchStartPreventDefault;(o.touchStartForcePreventDefault||O)&&!f.isContentEditable&&i.preventDefault(),o.freeMode&&o.freeMode.enabled&&t.freeMode&&t.animating&&!o.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",i)}function Qk(e){const t=ea(),n=this,i=n.touchEventsData,{params:a,touches:o,rtlTranslate:l,enabled:u}=n;if(!u||!a.simulateTouch&&e.pointerType==="mouse")return;let f=e;if(f.originalEvent&&(f=f.originalEvent),f.type==="pointermove"&&(i.touchId!==null||f.pointerId!==i.pointerId))return;let h;if(f.type==="touchmove"){if(h=[...f.changedTouches].find(D=>D.identifier===i.touchId),!h||h.identifier!==i.touchId)return}else h=f;if(!i.isTouched){i.startMoving&&i.isScrolling&&n.emit("touchMoveOpposite",f);return}const p=h.pageX,m=h.pageY;if(f.preventedByNestedSwiper){o.startX=p,o.startY=m;return}if(!n.allowTouchMove){f.target.matches(i.focusableElements)||(n.allowClick=!1),i.isTouched&&(Object.assign(o,{startX:p,startY:m,currentX:p,currentY:m}),i.touchStartTime=Ym());return}if(a.touchReleaseOnEdges&&!a.loop)if(n.isVertical()){if(m<o.startY&&n.translate<=n.maxTranslate()||m>o.startY&&n.translate>=n.minTranslate()){i.isTouched=!1,i.isMoved=!1;return}}else{if(l&&(p>o.startX&&-n.translate<=n.maxTranslate()||p<o.startX&&-n.translate>=n.minTranslate()))return;if(!l&&(p<o.startX&&n.translate<=n.maxTranslate()||p>o.startX&&n.translate>=n.minTranslate()))return}if(t.activeElement&&t.activeElement.matches(i.focusableElements)&&t.activeElement!==f.target&&f.pointerType!=="mouse"&&t.activeElement.blur(),t.activeElement&&f.target===t.activeElement&&f.target.matches(i.focusableElements)){i.isMoved=!0,n.allowClick=!1;return}i.allowTouchCallbacks&&n.emit("touchMove",f),o.previousX=o.currentX,o.previousY=o.currentY,o.currentX=p,o.currentY=m;const b=o.currentX-o.startX,w=o.currentY-o.startY;if(n.params.threshold&&Math.sqrt(b**2+w**2)<n.params.threshold)return;if(typeof i.isScrolling>"u"){let D;n.isHorizontal()&&o.currentY===o.startY||n.isVertical()&&o.currentX===o.startX?i.isScrolling=!1:b*b+w*w>=25&&(D=Math.atan2(Math.abs(w),Math.abs(b))*180/Math.PI,i.isScrolling=n.isHorizontal()?D>a.touchAngle:90-D>a.touchAngle)}if(i.isScrolling&&n.emit("touchMoveOpposite",f),typeof i.startMoving>"u"&&(o.currentX!==o.startX||o.currentY!==o.startY)&&(i.startMoving=!0),i.isScrolling||f.type==="touchmove"&&i.preventTouchMoveFromPointerMove){i.isTouched=!1;return}if(!i.startMoving)return;n.allowClick=!1,!a.cssMode&&f.cancelable&&f.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&f.stopPropagation();let _=n.isHorizontal()?b:w,E=n.isHorizontal()?o.currentX-o.previousX:o.currentY-o.previousY;a.oneWayMovement&&(_=Math.abs(_)*(l?1:-1),E=Math.abs(E)*(l?1:-1)),o.diff=_,_*=a.touchRatio,l&&(_=-_,E=-E);const O=n.touchesDirection;n.swipeDirection=_>0?"prev":"next",n.touchesDirection=E>0?"prev":"next";const C=n.params.loop&&!a.cssMode,T=n.touchesDirection==="next"&&n.allowSlideNext||n.touchesDirection==="prev"&&n.allowSlidePrev;if(!i.isMoved){if(C&&T&&n.loopFix({direction:n.swipeDirection}),i.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){const D=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});n.wrapperEl.dispatchEvent(D)}i.allowMomentumBounce=!1,a.grabCursor&&(n.allowSlideNext===!0||n.allowSlidePrev===!0)&&n.setGrabCursor(!0),n.emit("sliderFirstMove",f)}if(new Date().getTime(),a._loopSwapReset!==!1&&i.isMoved&&i.allowThresholdMove&&O!==n.touchesDirection&&C&&T&&Math.abs(_)>=1){Object.assign(o,{startX:p,startY:m,currentX:p,currentY:m,startTranslate:i.currentTranslate}),i.loopSwapReset=!0,i.startTranslate=i.currentTranslate;return}n.emit("sliderMove",f),i.isMoved=!0,i.currentTranslate=_+i.startTranslate;let A=!0,k=a.resistanceRatio;if(a.touchReleaseOnEdges&&(k=0),_>0?(C&&T&&i.allowThresholdMove&&i.currentTranslate>(a.centeredSlides?n.minTranslate()-n.slidesSizesGrid[n.activeIndex+1]-(a.slidesPerView!=="auto"&&n.slides.length-a.slidesPerView>=2?n.slidesSizesGrid[n.activeIndex+1]+n.params.spaceBetween:0)-n.params.spaceBetween:n.minTranslate())&&n.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),i.currentTranslate>n.minTranslate()&&(A=!1,a.resistance&&(i.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+i.startTranslate+_)**k))):_<0&&(C&&T&&i.allowThresholdMove&&i.currentTranslate<(a.centeredSlides?n.maxTranslate()+n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween+(a.slidesPerView!=="auto"&&n.slides.length-a.slidesPerView>=2?n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween:0):n.maxTranslate())&&n.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:n.slides.length-(a.slidesPerView==="auto"?n.slidesPerViewDynamic():Math.ceil(parseFloat(a.slidesPerView,10)))}),i.currentTranslate<n.maxTranslate()&&(A=!1,a.resistance&&(i.currentTranslate=n.maxTranslate()+1-(n.maxTranslate()-i.startTranslate-_)**k))),A&&(f.preventedByNestedSwiper=!0),!n.allowSlideNext&&n.swipeDirection==="next"&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!n.allowSlidePrev&&n.swipeDirection==="prev"&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),!n.allowSlidePrev&&!n.allowSlideNext&&(i.currentTranslate=i.startTranslate),a.threshold>0)if(Math.abs(_)>a.threshold||i.allowThresholdMove){if(!i.allowThresholdMove){i.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,i.currentTranslate=i.startTranslate,o.diff=n.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY;return}}else{i.currentTranslate=i.startTranslate;return}!a.followFinger||a.cssMode||((a.freeMode&&a.freeMode.enabled&&n.freeMode||a.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),a.freeMode&&a.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(i.currentTranslate),n.setTranslate(i.currentTranslate))}function Zk(e){const t=this,n=t.touchEventsData;let i=e;i.originalEvent&&(i=i.originalEvent);let a;if(i.type==="touchend"||i.type==="touchcancel"){if(a=[...i.changedTouches].find(D=>D.identifier===n.touchId),!a||a.identifier!==n.touchId)return}else{if(n.touchId!==null||i.pointerId!==n.pointerId)return;a=i}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(i.type)&&!(["pointercancel","contextmenu"].includes(i.type)&&(t.browser.isSafari||t.browser.isWebView)))return;n.pointerId=null,n.touchId=null;const{params:l,touches:u,rtlTranslate:f,slidesGrid:h,enabled:p}=t;if(!p||!l.simulateTouch&&i.pointerType==="mouse")return;if(n.allowTouchCallbacks&&t.emit("touchEnd",i),n.allowTouchCallbacks=!1,!n.isTouched){n.isMoved&&l.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,n.startMoving=!1;return}l.grabCursor&&n.isMoved&&n.isTouched&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!1);const m=Ym(),b=m-n.touchStartTime;if(t.allowClick){const D=i.path||i.composedPath&&i.composedPath();t.updateClickedSlide(D&&D[0]||i.target,D),t.emit("tap click",i),b<300&&m-n.lastClickTime<300&&t.emit("doubleTap doubleClick",i)}if(n.lastClickTime=Ym(),g4(()=>{t.destroyed||(t.allowClick=!0)}),!n.isTouched||!n.isMoved||!t.swipeDirection||u.diff===0&&!n.loopSwapReset||n.currentTranslate===n.startTranslate&&!n.loopSwapReset){n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;return}n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;let w;if(l.followFinger?w=f?t.translate:-t.translate:w=-n.currentTranslate,l.cssMode)return;if(l.freeMode&&l.freeMode.enabled){t.freeMode.onTouchEnd({currentPos:w});return}const _=w>=-t.maxTranslate()&&!t.params.loop;let E=0,O=t.slidesSizesGrid[0];for(let D=0;D<h.length;D+=D<l.slidesPerGroupSkip?1:l.slidesPerGroup){const R=D<l.slidesPerGroupSkip-1?1:l.slidesPerGroup;typeof h[D+R]<"u"?(_||w>=h[D]&&w<h[D+R])&&(E=D,O=h[D+R]-h[D]):(_||w>=h[D])&&(E=D,O=h[h.length-1]-h[h.length-2])}let C=null,T=null;l.rewind&&(t.isBeginning?T=l.virtual&&l.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(C=0));const A=(w-h[E])/O,k=E<l.slidesPerGroupSkip-1?1:l.slidesPerGroup;if(b>l.longSwipesMs){if(!l.longSwipes){t.slideTo(t.activeIndex);return}t.swipeDirection==="next"&&(A>=l.longSwipesRatio?t.slideTo(l.rewind&&t.isEnd?C:E+k):t.slideTo(E)),t.swipeDirection==="prev"&&(A>1-l.longSwipesRatio?t.slideTo(E+k):T!==null&&A<0&&Math.abs(A)>l.longSwipesRatio?t.slideTo(T):t.slideTo(E))}else{if(!l.shortSwipes){t.slideTo(t.activeIndex);return}t.navigation&&(i.target===t.navigation.nextEl||i.target===t.navigation.prevEl)?i.target===t.navigation.nextEl?t.slideTo(E+k):t.slideTo(E):(t.swipeDirection==="next"&&t.slideTo(C!==null?C:E+k),t.swipeDirection==="prev"&&t.slideTo(T!==null?T:E))}}function NS(){const e=this,{params:t,el:n}=e;if(n&&n.offsetWidth===0)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:i,allowSlidePrev:a,snapGrid:o}=e,l=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const u=l&&t.loop;(t.slidesPerView==="auto"||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides&&!u?e.slideTo(e.slides.length-1,0,!1,!0):e.params.loop&&!l?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=a,e.allowSlideNext=i,e.params.watchOverflow&&o!==e.snapGrid&&e.checkOverflow()}function Jk(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function eR(){const e=this,{wrapperEl:t,rtlTranslate:n,enabled:i}=e;if(!i)return;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,e.translate===0&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();let a;const o=e.maxTranslate()-e.minTranslate();o===0?a=0:a=(e.translate-e.minTranslate())/o,a!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function tR(e){const t=this;Pm(t,e.target),!(t.params.cssMode||t.params.slidesPerView!=="auto"&&!t.params.autoHeight)&&t.update()}function nR(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const E4=(e,t)=>{const n=ea(),{params:i,el:a,wrapperEl:o,device:l}=e,u=!!i.nested,f=t==="on"?"addEventListener":"removeEventListener",h=t;!a||typeof a=="string"||(n[f]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:u}),a[f]("touchstart",e.onTouchStart,{passive:!1}),a[f]("pointerdown",e.onTouchStart,{passive:!1}),n[f]("touchmove",e.onTouchMove,{passive:!1,capture:u}),n[f]("pointermove",e.onTouchMove,{passive:!1,capture:u}),n[f]("touchend",e.onTouchEnd,{passive:!0}),n[f]("pointerup",e.onTouchEnd,{passive:!0}),n[f]("pointercancel",e.onTouchEnd,{passive:!0}),n[f]("touchcancel",e.onTouchEnd,{passive:!0}),n[f]("pointerout",e.onTouchEnd,{passive:!0}),n[f]("pointerleave",e.onTouchEnd,{passive:!0}),n[f]("contextmenu",e.onTouchEnd,{passive:!0}),(i.preventClicks||i.preventClicksPropagation)&&a[f]("click",e.onClick,!0),i.cssMode&&o[f]("scroll",e.onScroll),i.updateOnWindowResize?e[h](l.ios||l.android?"resize orientationchange observerUpdate":"resize observerUpdate",NS,!0):e[h]("observerUpdate",NS,!0),a[f]("load",e.onLoad,{capture:!0}))};function iR(){const e=this,{params:t}=e;e.onTouchStart=Xk.bind(e),e.onTouchMove=Qk.bind(e),e.onTouchEnd=Zk.bind(e),e.onDocumentTouchStart=nR.bind(e),t.cssMode&&(e.onScroll=eR.bind(e)),e.onClick=Jk.bind(e),e.onLoad=tR.bind(e),E4(e,"on")}function rR(){E4(this,"off")}var aR={attachEvents:iR,detachEvents:rR};const jS=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;function sR(){const e=this,{realIndex:t,initialized:n,params:i,el:a}=e,o=i.breakpoints;if(!o||o&&Object.keys(o).length===0)return;const l=ea(),u=i.breakpointsBase==="window"||!i.breakpointsBase?i.breakpointsBase:"container",f=["window","container"].includes(i.breakpointsBase)||!i.breakpointsBase?e.el:l.querySelector(i.breakpointsBase),h=e.getBreakpoint(o,u,f);if(!h||e.currentBreakpoint===h)return;const m=(h in o?o[h]:void 0)||e.originalParams,b=jS(e,i),w=jS(e,m),_=e.params.grabCursor,E=m.grabCursor,O=i.enabled;b&&!w?(a.classList.remove(`${i.containerModifierClass}grid`,`${i.containerModifierClass}grid-column`),e.emitContainerClasses()):!b&&w&&(a.classList.add(`${i.containerModifierClass}grid`),(m.grid.fill&&m.grid.fill==="column"||!m.grid.fill&&i.grid.fill==="column")&&a.classList.add(`${i.containerModifierClass}grid-column`),e.emitContainerClasses()),_&&!E?e.unsetGrabCursor():!_&&E&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(R=>{if(typeof m[R]>"u")return;const B=i[R]&&i[R].enabled,$=m[R]&&m[R].enabled;B&&!$&&e[R].disable(),!B&&$&&e[R].enable()});const C=m.direction&&m.direction!==i.direction,T=i.loop&&(m.slidesPerView!==i.slidesPerView||C),A=i.loop;C&&n&&e.changeDirection(),Ti(e.params,m);const k=e.params.enabled,D=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),O&&!k?e.disable():!O&&k&&e.enable(),e.currentBreakpoint=h,e.emit("_beforeBreakpoint",m),n&&(T?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!A&&D?(e.loopCreate(t),e.updateSlides()):A&&!D&&e.loopDestroy()),e.emit("breakpoint",m)}function oR(e,t,n){if(t===void 0&&(t="window"),!e||t==="container"&&!n)return;let i=!1;const a=Jn(),o=t==="window"?a.innerHeight:n.clientHeight,l=Object.keys(e).map(u=>{if(typeof u=="string"&&u.indexOf("@")===0){const f=parseFloat(u.substr(1));return{value:o*f,point:u}}return{value:u,point:u}});l.sort((u,f)=>parseInt(u.value,10)-parseInt(f.value,10));for(let u=0;u<l.length;u+=1){const{point:f,value:h}=l[u];t==="window"?a.matchMedia(`(min-width: ${h}px)`).matches&&(i=f):h<=n.clientWidth&&(i=f)}return i||"max"}var lR={setBreakpoint:sR,getBreakpoint:oR};function cR(e,t){const n=[];return e.forEach(i=>{typeof i=="object"?Object.keys(i).forEach(a=>{i[a]&&n.push(t+a)}):typeof i=="string"&&n.push(t+i)}),n}function uR(){const e=this,{classNames:t,params:n,rtl:i,el:a,device:o}=e,l=cR(["initialized",n.direction,{"free-mode":e.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:i},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&n.grid.fill==="column"},{android:o.android},{ios:o.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);t.push(...l),a.classList.add(...t),e.emitContainerClasses()}function fR(){const e=this,{el:t,classNames:n}=e;!t||typeof t=="string"||(t.classList.remove(...n),e.emitContainerClasses())}var dR={addClasses:uR,removeClasses:fR};function hR(){const e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:i}=n;if(i){const a=e.slides.length-1,o=e.slidesGrid[a]+e.slidesSizesGrid[a]+i*2;e.isLocked=e.size>o}else e.isLocked=e.snapGrid.length===1;n.allowSlideNext===!0&&(e.allowSlideNext=!e.isLocked),n.allowSlidePrev===!0&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}var pR={checkOverflow:hR},fb={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function mR(e,t){return function(i){i===void 0&&(i={});const a=Object.keys(i)[0],o=i[a];if(typeof o!="object"||o===null){Ti(t,i);return}if(e[a]===!0&&(e[a]={enabled:!0}),a==="navigation"&&e[a]&&e[a].enabled&&!e[a].prevEl&&!e[a].nextEl&&(e[a].auto=!0),["pagination","scrollbar"].indexOf(a)>=0&&e[a]&&e[a].enabled&&!e[a].el&&(e[a].auto=!0),!(a in e&&"enabled"in o)){Ti(t,i);return}typeof e[a]=="object"&&!("enabled"in e[a])&&(e[a].enabled=!0),e[a]||(e[a]={enabled:!1}),Ti(t,i)}}const my={eventsEmitter:dk,update:Ek,translate:Mk,transition:Pk,slide:Vk,loop:Fk,grabCursor:Kk,events:aR,breakpoints:lR,checkOverflow:pR,classes:dR},gy={};let Ax=class qa{constructor(){let t,n;for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];a.length===1&&a[0].constructor&&Object.prototype.toString.call(a[0]).slice(8,-1)==="Object"?n=a[0]:[t,n]=a,n||(n={}),n=Ti({},n),t&&!n.el&&(n.el=t);const l=ea();if(n.el&&typeof n.el=="string"&&l.querySelectorAll(n.el).length>1){const p=[];return l.querySelectorAll(n.el).forEach(m=>{const b=Ti({},n,{el:m});p.push(new qa(b))}),p}const u=this;u.__swiper__=!0,u.support=b4(),u.device=x4({userAgent:n.userAgent}),u.browser=w4(),u.eventsListeners={},u.eventsAnyListeners=[],u.modules=[...u.__modules__],n.modules&&Array.isArray(n.modules)&&u.modules.push(...n.modules);const f={};u.modules.forEach(p=>{p({params:n,swiper:u,extendParams:mR(n,f),on:u.on.bind(u),once:u.once.bind(u),off:u.off.bind(u),emit:u.emit.bind(u)})});const h=Ti({},fb,f);return u.params=Ti({},h,gy,n),u.originalParams=Ti({},u.params),u.passedParams=Ti({},n),u.params&&u.params.on&&Object.keys(u.params.on).forEach(p=>{u.on(p,u.params.on[p])}),u.params&&u.params.onAny&&u.onAny(u.params.onAny),Object.assign(u,{enabled:u.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return u.params.direction==="horizontal"},isVertical(){return u.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:u.params.allowSlideNext,allowSlidePrev:u.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:u.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:u.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),u.emit("_swiper"),u.params.init&&u.init(),u}getDirectionLabel(t){return this.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}getSlideIndex(t){const{slidesEl:n,params:i}=this,a=Zr(n,`.${i.slideClass}, swiper-slide`),o=Xm(a[0]);return Xm(t)-o}getSlideIndexByData(t){return this.getSlideIndex(this.slides.find(n=>n.getAttribute("data-swiper-slide-index")*1===t))}getSlideIndexWhenGrid(t){return this.grid&&this.params.grid&&this.params.grid.rows>1&&(this.params.grid.fill==="column"?t=Math.floor(t/this.params.grid.rows):this.params.grid.fill==="row"&&(t=t%Math.ceil(this.slides.length/this.params.grid.rows))),t}recalcSlides(){const t=this,{slidesEl:n,params:i}=t;t.slides=Zr(n,`.${i.slideClass}, swiper-slide`)}enable(){const t=this;t.enabled||(t.enabled=!0,t.params.grabCursor&&t.setGrabCursor(),t.emit("enable"))}disable(){const t=this;t.enabled&&(t.enabled=!1,t.params.grabCursor&&t.unsetGrabCursor(),t.emit("disable"))}setProgress(t,n){const i=this;t=Math.min(Math.max(t,0),1);const a=i.minTranslate(),l=(i.maxTranslate()-a)*t+a;i.translateTo(l,typeof n>"u"?0:n),i.updateActiveIndex(),i.updateSlidesClasses()}emitContainerClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const n=t.el.className.split(" ").filter(i=>i.indexOf("swiper")===0||i.indexOf(t.params.containerModifierClass)===0);t.emit("_containerClasses",n.join(" "))}getSlideClasses(t){const n=this;return n.destroyed?"":t.className.split(" ").filter(i=>i.indexOf("swiper-slide")===0||i.indexOf(n.params.slideClass)===0).join(" ")}emitSlidesClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const n=[];t.slides.forEach(i=>{const a=t.getSlideClasses(i);n.push({slideEl:i,classNames:a}),t.emit("_slideClass",i,a)}),t.emit("_slideClasses",n)}slidesPerViewDynamic(t,n){t===void 0&&(t="current"),n===void 0&&(n=!1);const i=this,{params:a,slides:o,slidesGrid:l,slidesSizesGrid:u,size:f,activeIndex:h}=i;let p=1;if(typeof a.slidesPerView=="number")return a.slidesPerView;if(a.centeredSlides){let m=o[h]?Math.ceil(o[h].swiperSlideSize):0,b;for(let w=h+1;w<o.length;w+=1)o[w]&&!b&&(m+=Math.ceil(o[w].swiperSlideSize),p+=1,m>f&&(b=!0));for(let w=h-1;w>=0;w-=1)o[w]&&!b&&(m+=o[w].swiperSlideSize,p+=1,m>f&&(b=!0))}else if(t==="current")for(let m=h+1;m<o.length;m+=1)(n?l[m]+u[m]-l[h]<f:l[m]-l[h]<f)&&(p+=1);else for(let m=h-1;m>=0;m-=1)l[h]-l[m]<f&&(p+=1);return p}update(){const t=this;if(!t||t.destroyed)return;const{snapGrid:n,params:i}=t;i.breakpoints&&t.setBreakpoint(),[...t.el.querySelectorAll('[loading="lazy"]')].forEach(l=>{l.complete&&Pm(t,l)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses();function a(){const l=t.rtlTranslate?t.translate*-1:t.translate,u=Math.min(Math.max(l,t.maxTranslate()),t.minTranslate());t.setTranslate(u),t.updateActiveIndex(),t.updateSlidesClasses()}let o;if(i.freeMode&&i.freeMode.enabled&&!i.cssMode)a(),i.autoHeight&&t.updateAutoHeight();else{if((i.slidesPerView==="auto"||i.slidesPerView>1)&&t.isEnd&&!i.centeredSlides){const l=t.virtual&&i.virtual.enabled?t.virtual.slides:t.slides;o=t.slideTo(l.length-1,0,!1,!0)}else o=t.slideTo(t.activeIndex,0,!1,!0);o||a()}i.watchOverflow&&n!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(t,n){n===void 0&&(n=!0);const i=this,a=i.params.direction;return t||(t=a==="horizontal"?"vertical":"horizontal"),t===a||t!=="horizontal"&&t!=="vertical"||(i.el.classList.remove(`${i.params.containerModifierClass}${a}`),i.el.classList.add(`${i.params.containerModifierClass}${t}`),i.emitContainerClasses(),i.params.direction=t,i.slides.forEach(o=>{t==="vertical"?o.style.width="":o.style.height=""}),i.emit("changeDirection"),n&&i.update()),i}changeLanguageDirection(t){const n=this;n.rtl&&t==="rtl"||!n.rtl&&t==="ltr"||(n.rtl=t==="rtl",n.rtlTranslate=n.params.direction==="horizontal"&&n.rtl,n.rtl?(n.el.classList.add(`${n.params.containerModifierClass}rtl`),n.el.dir="rtl"):(n.el.classList.remove(`${n.params.containerModifierClass}rtl`),n.el.dir="ltr"),n.update())}mount(t){const n=this;if(n.mounted)return!0;let i=t||n.params.el;if(typeof i=="string"&&(i=document.querySelector(i)),!i)return!1;i.swiper=n,i.parentNode&&i.parentNode.host&&i.parentNode.host.nodeName===n.params.swiperElementNodeName.toUpperCase()&&(n.isElement=!0);const a=()=>`.${(n.params.wrapperClass||"").trim().split(" ").join(".")}`;let l=i&&i.shadowRoot&&i.shadowRoot.querySelector?i.shadowRoot.querySelector(a()):Zr(i,a())[0];return!l&&n.params.createElements&&(l=Wm("div",n.params.wrapperClass),i.append(l),Zr(i,`.${n.params.slideClass}`).forEach(u=>{l.append(u)})),Object.assign(n,{el:i,wrapperEl:l,slidesEl:n.isElement&&!i.parentNode.host.slideSlots?i.parentNode.host:l,hostEl:n.isElement?i.parentNode.host:i,mounted:!0,rtl:i.dir.toLowerCase()==="rtl"||vo(i,"direction")==="rtl",rtlTranslate:n.params.direction==="horizontal"&&(i.dir.toLowerCase()==="rtl"||vo(i,"direction")==="rtl"),wrongRTL:vo(l,"display")==="-webkit-box"}),!0}init(t){const n=this;if(n.initialized||n.mount(t)===!1)return n;n.emit("beforeInit"),n.params.breakpoints&&n.setBreakpoint(),n.addClasses(),n.updateSize(),n.updateSlides(),n.params.watchOverflow&&n.checkOverflow(),n.params.grabCursor&&n.enabled&&n.setGrabCursor(),n.params.loop&&n.virtual&&n.params.virtual.enabled?n.slideTo(n.params.initialSlide+n.virtual.slidesBefore,0,n.params.runCallbacksOnInit,!1,!0):n.slideTo(n.params.initialSlide,0,n.params.runCallbacksOnInit,!1,!0),n.params.loop&&n.loopCreate(void 0,!0),n.attachEvents();const a=[...n.el.querySelectorAll('[loading="lazy"]')];return n.isElement&&a.push(...n.hostEl.querySelectorAll('[loading="lazy"]')),a.forEach(o=>{o.complete?Pm(n,o):o.addEventListener("load",l=>{Pm(n,l.target)})}),ub(n),n.initialized=!0,ub(n),n.emit("init"),n.emit("afterInit"),n}destroy(t,n){t===void 0&&(t=!0),n===void 0&&(n=!0);const i=this,{params:a,el:o,wrapperEl:l,slides:u}=i;return typeof i.params>"u"||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),a.loop&&i.loopDestroy(),n&&(i.removeClasses(),o&&typeof o!="string"&&o.removeAttribute("style"),l&&l.removeAttribute("style"),u&&u.length&&u.forEach(f=>{f.classList.remove(a.slideVisibleClass,a.slideFullyVisibleClass,a.slideActiveClass,a.slideNextClass,a.slidePrevClass),f.removeAttribute("style"),f.removeAttribute("data-swiper-slide-index")})),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(f=>{i.off(f)}),t!==!1&&(i.el&&typeof i.el!="string"&&(i.el.swiper=null),JL(i)),i.destroyed=!0),null}static extendDefaults(t){Ti(gy,t)}static get extendedDefaults(){return gy}static get defaults(){return fb}static installModule(t){qa.prototype.__modules__||(qa.prototype.__modules__=[]);const n=qa.prototype.__modules__;typeof t=="function"&&n.indexOf(t)<0&&n.push(t)}static use(t){return Array.isArray(t)?(t.forEach(n=>qa.installModule(n)),qa):(qa.installModule(t),qa)}};Object.keys(my).forEach(e=>{Object.keys(my[e]).forEach(t=>{Ax.prototype[t]=my[e][t]})});Ax.use([uk,fk]);const S4=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function Cl(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"&&!e.__swiper__}function nu(e,t){const n=["__proto__","constructor","prototype"];Object.keys(t).filter(i=>n.indexOf(i)<0).forEach(i=>{typeof e[i]>"u"?e[i]=t[i]:Cl(t[i])&&Cl(e[i])&&Object.keys(t[i]).length>0?t[i].__swiper__?e[i]=t[i]:nu(e[i],t[i]):e[i]=t[i]})}function T4(e){return e===void 0&&(e={}),e.navigation&&typeof e.navigation.nextEl>"u"&&typeof e.navigation.prevEl>"u"}function A4(e){return e===void 0&&(e={}),e.pagination&&typeof e.pagination.el>"u"}function C4(e){return e===void 0&&(e={}),e.scrollbar&&typeof e.scrollbar.el>"u"}function O4(e){e===void 0&&(e="");const t=e.split(" ").map(i=>i.trim()).filter(i=>!!i),n=[];return t.forEach(i=>{n.indexOf(i)<0&&n.push(i)}),n.join(" ")}function gR(e){return e===void 0&&(e=""),e?e.includes("swiper-wrapper")?e:`swiper-wrapper ${e}`:"swiper-wrapper"}function vR(e){let{swiper:t,slides:n,passedParams:i,changedParams:a,nextEl:o,prevEl:l,scrollbarEl:u,paginationEl:f}=e;const h=a.filter(F=>F!=="children"&&F!=="direction"&&F!=="wrapperClass"),{params:p,pagination:m,navigation:b,scrollbar:w,virtual:_,thumbs:E}=t;let O,C,T,A,k,D,R,B;a.includes("thumbs")&&i.thumbs&&i.thumbs.swiper&&!i.thumbs.swiper.destroyed&&p.thumbs&&(!p.thumbs.swiper||p.thumbs.swiper.destroyed)&&(O=!0),a.includes("controller")&&i.controller&&i.controller.control&&p.controller&&!p.controller.control&&(C=!0),a.includes("pagination")&&i.pagination&&(i.pagination.el||f)&&(p.pagination||p.pagination===!1)&&m&&!m.el&&(T=!0),a.includes("scrollbar")&&i.scrollbar&&(i.scrollbar.el||u)&&(p.scrollbar||p.scrollbar===!1)&&w&&!w.el&&(A=!0),a.includes("navigation")&&i.navigation&&(i.navigation.prevEl||l)&&(i.navigation.nextEl||o)&&(p.navigation||p.navigation===!1)&&b&&!b.prevEl&&!b.nextEl&&(k=!0);const $=F=>{t[F]&&(t[F].destroy(),F==="navigation"?(t.isElement&&(t[F].prevEl.remove(),t[F].nextEl.remove()),p[F].prevEl=void 0,p[F].nextEl=void 0,t[F].prevEl=void 0,t[F].nextEl=void 0):(t.isElement&&t[F].el.remove(),p[F].el=void 0,t[F].el=void 0))};a.includes("loop")&&t.isElement&&(p.loop&&!i.loop?D=!0:!p.loop&&i.loop?R=!0:B=!0),h.forEach(F=>{if(Cl(p[F])&&Cl(i[F]))Object.assign(p[F],i[F]),(F==="navigation"||F==="pagination"||F==="scrollbar")&&"enabled"in i[F]&&!i[F].enabled&&$(F);else{const X=i[F];(X===!0||X===!1)&&(F==="navigation"||F==="pagination"||F==="scrollbar")?X===!1&&$(F):p[F]=i[F]}}),h.includes("controller")&&!C&&t.controller&&t.controller.control&&p.controller&&p.controller.control&&(t.controller.control=p.controller.control),a.includes("children")&&n&&_&&p.virtual.enabled?(_.slides=n,_.update(!0)):a.includes("virtual")&&_&&p.virtual.enabled&&(n&&(_.slides=n),_.update(!0)),a.includes("children")&&n&&p.loop&&(B=!0),O&&E.init()&&E.update(!0),C&&(t.controller.control=p.controller.control),T&&(t.isElement&&(!f||typeof f=="string")&&(f=document.createElement("div"),f.classList.add("swiper-pagination"),f.part.add("pagination"),t.el.appendChild(f)),f&&(p.pagination.el=f),m.init(),m.render(),m.update()),A&&(t.isElement&&(!u||typeof u=="string")&&(u=document.createElement("div"),u.classList.add("swiper-scrollbar"),u.part.add("scrollbar"),t.el.appendChild(u)),u&&(p.scrollbar.el=u),w.init(),w.updateSize(),w.setTranslate()),k&&(t.isElement&&((!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-button-next"),Qm(o,t.hostEl.constructor.nextButtonSvg),o.part.add("button-next"),t.el.appendChild(o)),(!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-button-prev"),Qm(l,t.hostEl.constructor.prevButtonSvg),l.part.add("button-prev"),t.el.appendChild(l))),o&&(p.navigation.nextEl=o),l&&(p.navigation.prevEl=l),b.init(),b.update()),a.includes("allowSlideNext")&&(t.allowSlideNext=i.allowSlideNext),a.includes("allowSlidePrev")&&(t.allowSlidePrev=i.allowSlidePrev),a.includes("direction")&&t.changeDirection(i.direction,!1),(D||B)&&t.loopDestroy(),(R||B)&&t.loopCreate(),t.update()}function yR(e,t){e===void 0&&(e={}),t===void 0&&(t=!0);const n={on:{}},i={},a={};nu(n,fb),n._emitClasses=!0,n.init=!1;const o={},l=S4.map(f=>f.replace(/_/,"")),u=Object.assign({},e);return Object.keys(u).forEach(f=>{typeof e[f]>"u"||(l.indexOf(f)>=0?Cl(e[f])?(n[f]={},a[f]={},nu(n[f],e[f]),nu(a[f],e[f])):(n[f]=e[f],a[f]=e[f]):f.search(/on[A-Z]/)===0&&typeof e[f]=="function"?t?i[`${f[2].toLowerCase()}${f.substr(3)}`]=e[f]:n.on[`${f[2].toLowerCase()}${f.substr(3)}`]=e[f]:o[f]=e[f])}),["navigation","pagination","scrollbar"].forEach(f=>{n[f]===!0&&(n[f]={}),n[f]===!1&&delete n[f]}),{params:n,passedParams:a,rest:o,events:i}}function bR(e,t){let{el:n,nextEl:i,prevEl:a,paginationEl:o,scrollbarEl:l,swiper:u}=e;T4(t)&&i&&a&&(u.params.navigation.nextEl=i,u.originalParams.navigation.nextEl=i,u.params.navigation.prevEl=a,u.originalParams.navigation.prevEl=a),A4(t)&&o&&(u.params.pagination.el=o,u.originalParams.pagination.el=o),C4(t)&&l&&(u.params.scrollbar.el=l,u.originalParams.scrollbar.el=l),u.init(n)}function xR(e,t,n,i,a){const o=[];if(!t)return o;const l=f=>{o.indexOf(f)<0&&o.push(f)};if(n&&i){const f=i.map(a),h=n.map(a);f.join("")!==h.join("")&&l("children"),i.length!==n.length&&l("children")}return S4.filter(f=>f[0]==="_").map(f=>f.replace(/_/,"")).forEach(f=>{if(f in e&&f in t)if(Cl(e[f])&&Cl(t[f])){const h=Object.keys(e[f]),p=Object.keys(t[f]);h.length!==p.length?l(f):(h.forEach(m=>{e[f][m]!==t[f][m]&&l(f)}),p.forEach(m=>{e[f][m]!==t[f][m]&&l(f)}))}else e[f]!==t[f]&&l(f)}),o}const wR=e=>{!e||e.destroyed||!e.params.virtual||e.params.virtual&&!e.params.virtual.enabled||(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.emit("_virtualUpdated"),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())};function Zm(){return Zm=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Zm.apply(this,arguments)}function M4(e){return e.type&&e.type.displayName&&e.type.displayName.includes("SwiperSlide")}function N4(e){const t=[];return _t.Children.toArray(e).forEach(n=>{M4(n)?t.push(n):n.props&&n.props.children&&N4(n.props.children).forEach(i=>t.push(i))}),t}function _R(e){const t=[],n={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return _t.Children.toArray(e).forEach(i=>{if(M4(i))t.push(i);else if(i.props&&i.props.slot&&n[i.props.slot])n[i.props.slot].push(i);else if(i.props&&i.props.children){const a=N4(i.props.children);a.length>0?a.forEach(o=>t.push(o)):n["container-end"].push(i)}else n["container-end"].push(i)}),{slides:t,slots:n}}function ER(e,t,n){if(!n)return null;const i=p=>{let m=p;return p<0?m=t.length+p:m>=t.length&&(m=m-t.length),m},a=e.isHorizontal()?{[e.rtlTranslate?"right":"left"]:`${n.offset}px`}:{top:`${n.offset}px`},{from:o,to:l}=n,u=e.params.loop?-t.length:0,f=e.params.loop?t.length*2:t.length,h=[];for(let p=u;p<f;p+=1)p>=o&&p<=l&&h.push(t[i(p)]);return h.map((p,m)=>_t.cloneElement(p,{swiper:e,style:a,key:p.props.virtualIndex||p.key||`slide-${m}`}))}function _d(e,t){return typeof window>"u"?j.useEffect(e,t):j.useLayoutEffect(e,t)}const DS=j.createContext(null),SR=j.createContext(null),Cx=j.forwardRef(function(e,t){let{className:n,tag:i="div",wrapperTag:a="div",children:o,onSwiper:l,...u}=e===void 0?{}:e,f=!1;const[h,p]=j.useState("swiper"),[m,b]=j.useState(null),[w,_]=j.useState(!1),E=j.useRef(!1),O=j.useRef(null),C=j.useRef(null),T=j.useRef(null),A=j.useRef(null),k=j.useRef(null),D=j.useRef(null),R=j.useRef(null),B=j.useRef(null),{params:$,passedParams:F,rest:X,events:H}=yR(u),{slides:U,slots:se}=_R(o),ce=()=>{_(!w)};Object.assign($.on,{_containerClasses(pe,z){p(z)}});const ge=()=>{Object.assign($.on,H),f=!0;const pe={...$};if(delete pe.wrapperClass,C.current=new Ax(pe),C.current.virtual&&C.current.params.virtual.enabled){C.current.virtual.slides=U;const z={cache:!1,slides:U,renderExternal:b,renderExternalUpdate:!1};nu(C.current.params.virtual,z),nu(C.current.originalParams.virtual,z)}};O.current||ge(),C.current&&C.current.on("_beforeBreakpoint",ce);const q=()=>{f||!H||!C.current||Object.keys(H).forEach(pe=>{C.current.on(pe,H[pe])})},te=()=>{!H||!C.current||Object.keys(H).forEach(pe=>{C.current.off(pe,H[pe])})};j.useEffect(()=>()=>{C.current&&C.current.off("_beforeBreakpoint",ce)}),j.useEffect(()=>{!E.current&&C.current&&(C.current.emitSlidesClasses(),E.current=!0)}),_d(()=>{if(t&&(t.current=O.current),!!O.current)return C.current.destroyed&&ge(),bR({el:O.current,nextEl:k.current,prevEl:D.current,paginationEl:R.current,scrollbarEl:B.current,swiper:C.current},$),l&&!C.current.destroyed&&l(C.current),()=>{C.current&&!C.current.destroyed&&C.current.destroy(!0,!1)}},[]),_d(()=>{q();const pe=xR(F,T.current,U,A.current,z=>z.key);return T.current=F,A.current=U,pe.length&&C.current&&!C.current.destroyed&&vR({swiper:C.current,slides:U,passedParams:F,changedParams:pe,nextEl:k.current,prevEl:D.current,scrollbarEl:B.current,paginationEl:R.current}),()=>{te()}}),_d(()=>{wR(C.current)},[m]);function re(){return $.virtual?ER(C.current,U,m):U.map((pe,z)=>_t.cloneElement(pe,{swiper:C.current,swiperSlideIndex:z}))}return _t.createElement(i,Zm({ref:O,className:O4(`${h}${n?` ${n}`:""}`)},X),_t.createElement(SR.Provider,{value:C.current},se["container-start"],_t.createElement(a,{className:gR($.wrapperClass)},se["wrapper-start"],re(),se["wrapper-end"]),T4($)&&_t.createElement(_t.Fragment,null,_t.createElement("div",{ref:D,className:"swiper-button-prev"}),_t.createElement("div",{ref:k,className:"swiper-button-next"})),C4($)&&_t.createElement("div",{ref:B,className:"swiper-scrollbar"}),A4($)&&_t.createElement("div",{ref:R,className:"swiper-pagination"}),se["container-end"]))});Cx.displayName="Swiper";const Ox=j.forwardRef(function(e,t){let{tag:n="div",children:i,className:a="",swiper:o,zoom:l,lazy:u,virtualIndex:f,swiperSlideIndex:h,...p}=e===void 0?{}:e;const m=j.useRef(null),[b,w]=j.useState("swiper-slide"),[_,E]=j.useState(!1);function O(k,D,R){D===m.current&&w(R)}_d(()=>{if(typeof h<"u"&&(m.current.swiperSlideIndex=h),t&&(t.current=m.current),!(!m.current||!o)){if(o.destroyed){b!=="swiper-slide"&&w("swiper-slide");return}return o.on("_slideClass",O),()=>{o&&o.off("_slideClass",O)}}}),_d(()=>{o&&m.current&&!o.destroyed&&w(o.getSlideClasses(m.current))},[o]);const C={isActive:b.indexOf("swiper-slide-active")>=0,isVisible:b.indexOf("swiper-slide-visible")>=0,isPrev:b.indexOf("swiper-slide-prev")>=0,isNext:b.indexOf("swiper-slide-next")>=0},T=()=>typeof i=="function"?i(C):i,A=()=>{E(!0)};return _t.createElement(n,Zm({ref:m,className:O4(`${b}${a?` ${a}`:""}`),"data-swiper-slide-index":f,onLoad:A},p),l&&_t.createElement(DS.Provider,{value:C},_t.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof l=="number"?l:void 0},T(),u&&!_&&_t.createElement("div",{className:"swiper-lazy-preloader"}))),!l&&_t.createElement(DS.Provider,{value:C},T(),u&&!_&&_t.createElement("div",{className:"swiper-lazy-preloader"})))});Ox.displayName="SwiperSlide";function j4(e,t,n,i){return e.params.createElements&&Object.keys(i).forEach(a=>{if(!n[a]&&n.auto===!0){let o=Zr(e.el,`.${i[a]}`)[0];o||(o=Wm("div",i[a]),o.className=i[a],e.el.append(o)),n[a]=o,t[a]=o}}),n}function TR(e){let{swiper:t,extendParams:n,on:i,emit:a}=e;n({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null};function o(_){let E;return _&&typeof _=="string"&&t.isElement&&(E=t.el.querySelector(_)||t.hostEl.querySelector(_),E)?E:(_&&(typeof _=="string"&&(E=[...document.querySelectorAll(_)]),t.params.uniqueNavElements&&typeof _=="string"&&E&&E.length>1&&t.el.querySelectorAll(_).length===1?E=t.el.querySelector(_):E&&E.length===1&&(E=E[0])),_&&!E?_:E)}function l(_,E){const O=t.params.navigation;_=gn(_),_.forEach(C=>{C&&(C.classList[E?"add":"remove"](...O.disabledClass.split(" ")),C.tagName==="BUTTON"&&(C.disabled=E),t.params.watchOverflow&&t.enabled&&C.classList[t.isLocked?"add":"remove"](O.lockClass))})}function u(){const{nextEl:_,prevEl:E}=t.navigation;if(t.params.loop){l(E,!1),l(_,!1);return}l(E,t.isBeginning&&!t.params.rewind),l(_,t.isEnd&&!t.params.rewind)}function f(_){_.preventDefault(),!(t.isBeginning&&!t.params.loop&&!t.params.rewind)&&(t.slidePrev(),a("navigationPrev"))}function h(_){_.preventDefault(),!(t.isEnd&&!t.params.loop&&!t.params.rewind)&&(t.slideNext(),a("navigationNext"))}function p(){const _=t.params.navigation;if(t.params.navigation=j4(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(_.nextEl||_.prevEl))return;let E=o(_.nextEl),O=o(_.prevEl);Object.assign(t.navigation,{nextEl:E,prevEl:O}),E=gn(E),O=gn(O);const C=(T,A)=>{T&&T.addEventListener("click",A==="next"?h:f),!t.enabled&&T&&T.classList.add(..._.lockClass.split(" "))};E.forEach(T=>C(T,"next")),O.forEach(T=>C(T,"prev"))}function m(){let{nextEl:_,prevEl:E}=t.navigation;_=gn(_),E=gn(E);const O=(C,T)=>{C.removeEventListener("click",T==="next"?h:f),C.classList.remove(...t.params.navigation.disabledClass.split(" "))};_.forEach(C=>O(C,"next")),E.forEach(C=>O(C,"prev"))}i("init",()=>{t.params.navigation.enabled===!1?w():(p(),u())}),i("toEdge fromEdge lock unlock",()=>{u()}),i("destroy",()=>{m()}),i("enable disable",()=>{let{nextEl:_,prevEl:E}=t.navigation;if(_=gn(_),E=gn(E),t.enabled){u();return}[..._,...E].filter(O=>!!O).forEach(O=>O.classList.add(t.params.navigation.lockClass))}),i("click",(_,E)=>{let{nextEl:O,prevEl:C}=t.navigation;O=gn(O),C=gn(C);const T=E.target;let A=C.includes(T)||O.includes(T);if(t.isElement&&!A){const k=E.path||E.composedPath&&E.composedPath();k&&(A=k.find(D=>O.includes(D)||C.includes(D)))}if(t.params.navigation.hideOnClick&&!A){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===T||t.pagination.el.contains(T)))return;let k;O.length?k=O[0].classList.contains(t.params.navigation.hiddenClass):C.length&&(k=C[0].classList.contains(t.params.navigation.hiddenClass)),a(k===!0?"navigationShow":"navigationHide"),[...O,...C].filter(D=>!!D).forEach(D=>D.classList.toggle(t.params.navigation.hiddenClass))}});const b=()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),p(),u()},w=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),m()};Object.assign(t.navigation,{enable:b,disable:w,update:u,init:p,destroy:m})}function od(e){return e===void 0&&(e=""),`.${e.trim().replace(/([\.:!+\/()[\]])/g,"\\$1").replace(/ /g,".")}`}function D4(e){let{swiper:t,extendParams:n,on:i,emit:a}=e;const o="swiper-pagination";n({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:T=>T,formatFractionTotal:T=>T,bulletClass:`${o}-bullet`,bulletActiveClass:`${o}-bullet-active`,modifierClass:`${o}-`,currentClass:`${o}-current`,totalClass:`${o}-total`,hiddenClass:`${o}-hidden`,progressbarFillClass:`${o}-progressbar-fill`,progressbarOppositeClass:`${o}-progressbar-opposite`,clickableClass:`${o}-clickable`,lockClass:`${o}-lock`,horizontalClass:`${o}-horizontal`,verticalClass:`${o}-vertical`,paginationDisabledClass:`${o}-disabled`}}),t.pagination={el:null,bullets:[]};let l,u=0;function f(){return!t.params.pagination.el||!t.pagination.el||Array.isArray(t.pagination.el)&&t.pagination.el.length===0}function h(T,A){const{bulletActiveClass:k}=t.params.pagination;T&&(T=T[`${A==="prev"?"previous":"next"}ElementSibling`],T&&(T.classList.add(`${k}-${A}`),T=T[`${A==="prev"?"previous":"next"}ElementSibling`],T&&T.classList.add(`${k}-${A}-${A}`)))}function p(T,A,k){if(T=T%k,A=A%k,A===T+1)return"next";if(A===T-1)return"previous"}function m(T){const A=T.target.closest(od(t.params.pagination.bulletClass));if(!A)return;T.preventDefault();const k=Xm(A)*t.params.slidesPerGroup;if(t.params.loop){if(t.realIndex===k)return;const D=p(t.realIndex,k,t.slides.length);D==="next"?t.slideNext():D==="previous"?t.slidePrev():t.slideToLoop(k)}else t.slideTo(k)}function b(){const T=t.rtl,A=t.params.pagination;if(f())return;let k=t.pagination.el;k=gn(k);let D,R;const B=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,$=t.params.loop?Math.ceil(B/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(R=t.previousRealIndex||0,D=t.params.slidesPerGroup>1?Math.floor(t.realIndex/t.params.slidesPerGroup):t.realIndex):typeof t.snapIndex<"u"?(D=t.snapIndex,R=t.previousSnapIndex):(R=t.previousIndex||0,D=t.activeIndex||0),A.type==="bullets"&&t.pagination.bullets&&t.pagination.bullets.length>0){const F=t.pagination.bullets;let X,H,U;if(A.dynamicBullets&&(l=cb(F[0],t.isHorizontal()?"width":"height"),k.forEach(se=>{se.style[t.isHorizontal()?"width":"height"]=`${l*(A.dynamicMainBullets+4)}px`}),A.dynamicMainBullets>1&&R!==void 0&&(u+=D-(R||0),u>A.dynamicMainBullets-1?u=A.dynamicMainBullets-1:u<0&&(u=0)),X=Math.max(D-u,0),H=X+(Math.min(F.length,A.dynamicMainBullets)-1),U=(H+X)/2),F.forEach(se=>{const ce=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(ge=>`${A.bulletActiveClass}${ge}`)].map(ge=>typeof ge=="string"&&ge.includes(" ")?ge.split(" "):ge).flat();se.classList.remove(...ce)}),k.length>1)F.forEach(se=>{const ce=Xm(se);ce===D?se.classList.add(...A.bulletActiveClass.split(" ")):t.isElement&&se.setAttribute("part","bullet"),A.dynamicBullets&&(ce>=X&&ce<=H&&se.classList.add(...`${A.bulletActiveClass}-main`.split(" ")),ce===X&&h(se,"prev"),ce===H&&h(se,"next"))});else{const se=F[D];if(se&&se.classList.add(...A.bulletActiveClass.split(" ")),t.isElement&&F.forEach((ce,ge)=>{ce.setAttribute("part",ge===D?"bullet-active":"bullet")}),A.dynamicBullets){const ce=F[X],ge=F[H];for(let q=X;q<=H;q+=1)F[q]&&F[q].classList.add(...`${A.bulletActiveClass}-main`.split(" "));h(ce,"prev"),h(ge,"next")}}if(A.dynamicBullets){const se=Math.min(F.length,A.dynamicMainBullets+4),ce=(l*se-l)/2-U*l,ge=T?"right":"left";F.forEach(q=>{q.style[t.isHorizontal()?ge:"top"]=`${ce}px`})}}k.forEach((F,X)=>{if(A.type==="fraction"&&(F.querySelectorAll(od(A.currentClass)).forEach(H=>{H.textContent=A.formatFractionCurrent(D+1)}),F.querySelectorAll(od(A.totalClass)).forEach(H=>{H.textContent=A.formatFractionTotal($)})),A.type==="progressbar"){let H;A.progressbarOpposite?H=t.isHorizontal()?"vertical":"horizontal":H=t.isHorizontal()?"horizontal":"vertical";const U=(D+1)/$;let se=1,ce=1;H==="horizontal"?se=U:ce=U,F.querySelectorAll(od(A.progressbarFillClass)).forEach(ge=>{ge.style.transform=`translate3d(0,0,0) scaleX(${se}) scaleY(${ce})`,ge.style.transitionDuration=`${t.params.speed}ms`})}A.type==="custom"&&A.renderCustom?(Qm(F,A.renderCustom(t,D+1,$)),X===0&&a("paginationRender",F)):(X===0&&a("paginationRender",F),a("paginationUpdate",F)),t.params.watchOverflow&&t.enabled&&F.classList[t.isLocked?"add":"remove"](A.lockClass)})}function w(){const T=t.params.pagination;if(f())return;const A=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.grid&&t.params.grid.rows>1?t.slides.length/Math.ceil(t.params.grid.rows):t.slides.length;let k=t.pagination.el;k=gn(k);let D="";if(T.type==="bullets"){let R=t.params.loop?Math.ceil(A/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&R>A&&(R=A);for(let B=0;B<R;B+=1)T.renderBullet?D+=T.renderBullet.call(t,B,T.bulletClass):D+=`<${T.bulletElement} ${t.isElement?'part="bullet"':""} class="${T.bulletClass}"></${T.bulletElement}>`}T.type==="fraction"&&(T.renderFraction?D=T.renderFraction.call(t,T.currentClass,T.totalClass):D=`<span class="${T.currentClass}"></span> / <span class="${T.totalClass}"></span>`),T.type==="progressbar"&&(T.renderProgressbar?D=T.renderProgressbar.call(t,T.progressbarFillClass):D=`<span class="${T.progressbarFillClass}"></span>`),t.pagination.bullets=[],k.forEach(R=>{T.type!=="custom"&&Qm(R,D||""),T.type==="bullets"&&t.pagination.bullets.push(...R.querySelectorAll(od(T.bulletClass)))}),T.type!=="custom"&&a("paginationRender",k[0])}function _(){t.params.pagination=j4(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const T=t.params.pagination;if(!T.el)return;let A;typeof T.el=="string"&&t.isElement&&(A=t.el.querySelector(T.el)),!A&&typeof T.el=="string"&&(A=[...document.querySelectorAll(T.el)]),A||(A=T.el),!(!A||A.length===0)&&(t.params.uniqueNavElements&&typeof T.el=="string"&&Array.isArray(A)&&A.length>1&&(A=[...t.el.querySelectorAll(T.el)],A.length>1&&(A=A.find(k=>y4(k,".swiper")[0]===t.el))),Array.isArray(A)&&A.length===1&&(A=A[0]),Object.assign(t.pagination,{el:A}),A=gn(A),A.forEach(k=>{T.type==="bullets"&&T.clickable&&k.classList.add(...(T.clickableClass||"").split(" ")),k.classList.add(T.modifierClass+T.type),k.classList.add(t.isHorizontal()?T.horizontalClass:T.verticalClass),T.type==="bullets"&&T.dynamicBullets&&(k.classList.add(`${T.modifierClass}${T.type}-dynamic`),u=0,T.dynamicMainBullets<1&&(T.dynamicMainBullets=1)),T.type==="progressbar"&&T.progressbarOpposite&&k.classList.add(T.progressbarOppositeClass),T.clickable&&k.addEventListener("click",m),t.enabled||k.classList.add(T.lockClass)}))}function E(){const T=t.params.pagination;if(f())return;let A=t.pagination.el;A&&(A=gn(A),A.forEach(k=>{k.classList.remove(T.hiddenClass),k.classList.remove(T.modifierClass+T.type),k.classList.remove(t.isHorizontal()?T.horizontalClass:T.verticalClass),T.clickable&&(k.classList.remove(...(T.clickableClass||"").split(" ")),k.removeEventListener("click",m))})),t.pagination.bullets&&t.pagination.bullets.forEach(k=>k.classList.remove(...T.bulletActiveClass.split(" ")))}i("changeDirection",()=>{if(!t.pagination||!t.pagination.el)return;const T=t.params.pagination;let{el:A}=t.pagination;A=gn(A),A.forEach(k=>{k.classList.remove(T.horizontalClass,T.verticalClass),k.classList.add(t.isHorizontal()?T.horizontalClass:T.verticalClass)})}),i("init",()=>{t.params.pagination.enabled===!1?C():(_(),w(),b())}),i("activeIndexChange",()=>{typeof t.snapIndex>"u"&&b()}),i("snapIndexChange",()=>{b()}),i("snapGridLengthChange",()=>{w(),b()}),i("destroy",()=>{E()}),i("enable disable",()=>{let{el:T}=t.pagination;T&&(T=gn(T),T.forEach(A=>A.classList[t.enabled?"remove":"add"](t.params.pagination.lockClass)))}),i("lock unlock",()=>{b()}),i("click",(T,A)=>{const k=A.target,D=gn(t.pagination.el);if(t.params.pagination.el&&t.params.pagination.hideOnClick&&D&&D.length>0&&!k.classList.contains(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&k===t.navigation.nextEl||t.navigation.prevEl&&k===t.navigation.prevEl))return;const R=D[0].classList.contains(t.params.pagination.hiddenClass);a(R===!0?"paginationShow":"paginationHide"),D.forEach(B=>B.classList.toggle(t.params.pagination.hiddenClass))}});const O=()=>{t.el.classList.remove(t.params.pagination.paginationDisabledClass);let{el:T}=t.pagination;T&&(T=gn(T),T.forEach(A=>A.classList.remove(t.params.pagination.paginationDisabledClass))),_(),w(),b()},C=()=>{t.el.classList.add(t.params.pagination.paginationDisabledClass);let{el:T}=t.pagination;T&&(T=gn(T),T.forEach(A=>A.classList.add(t.params.pagination.paginationDisabledClass))),E()};Object.assign(t.pagination,{enable:O,disable:C,render:w,update:b,init:_,destroy:E})}function P4(e){let{swiper:t,extendParams:n,on:i,emit:a,params:o}=e;t.autoplay={running:!1,paused:!1,timeLeft:0},n({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let l,u,f=o&&o.autoplay?o.autoplay.delay:3e3,h=o&&o.autoplay?o.autoplay.delay:3e3,p,m=new Date().getTime(),b,w,_,E,O,C,T;function A(re){!t||t.destroyed||!t.wrapperEl||re.target===t.wrapperEl&&(t.wrapperEl.removeEventListener("transitionend",A),!(T||re.detail&&re.detail.bySwiperTouchMove)&&X())}const k=()=>{if(t.destroyed||!t.autoplay.running)return;t.autoplay.paused?b=!0:b&&(h=p,b=!1);const re=t.autoplay.paused?p:m+h-new Date().getTime();t.autoplay.timeLeft=re,a("autoplayTimeLeft",re,re/f),u=requestAnimationFrame(()=>{k()})},D=()=>{let re;return t.virtual&&t.params.virtual.enabled?re=t.slides.find(z=>z.classList.contains("swiper-slide-active")):re=t.slides[t.activeIndex],re?parseInt(re.getAttribute("data-swiper-autoplay"),10):void 0},R=re=>{if(t.destroyed||!t.autoplay.running)return;cancelAnimationFrame(u),k();let pe=typeof re>"u"?t.params.autoplay.delay:re;f=t.params.autoplay.delay,h=t.params.autoplay.delay;const z=D();!Number.isNaN(z)&&z>0&&typeof re>"u"&&(pe=z,f=z,h=z),p=pe;const V=t.params.speed,oe=()=>{!t||t.destroyed||(t.params.autoplay.reverseDirection?!t.isBeginning||t.params.loop||t.params.rewind?(t.slidePrev(V,!0,!0),a("autoplay")):t.params.autoplay.stopOnLastSlide||(t.slideTo(t.slides.length-1,V,!0,!0),a("autoplay")):!t.isEnd||t.params.loop||t.params.rewind?(t.slideNext(V,!0,!0),a("autoplay")):t.params.autoplay.stopOnLastSlide||(t.slideTo(0,V,!0,!0),a("autoplay")),t.params.cssMode&&(m=new Date().getTime(),requestAnimationFrame(()=>{R()})))};return pe>0?(clearTimeout(l),l=setTimeout(()=>{oe()},pe)):requestAnimationFrame(()=>{oe()}),pe},B=()=>{m=new Date().getTime(),t.autoplay.running=!0,R(),a("autoplayStart")},$=()=>{t.autoplay.running=!1,clearTimeout(l),cancelAnimationFrame(u),a("autoplayStop")},F=(re,pe)=>{if(t.destroyed||!t.autoplay.running)return;clearTimeout(l),re||(C=!0);const z=()=>{a("autoplayPause"),t.params.autoplay.waitForTransition?t.wrapperEl.addEventListener("transitionend",A):X()};if(t.autoplay.paused=!0,pe){O&&(p=t.params.autoplay.delay),O=!1,z();return}p=(p||t.params.autoplay.delay)-(new Date().getTime()-m),!(t.isEnd&&p<0&&!t.params.loop)&&(p<0&&(p=0),z())},X=()=>{t.isEnd&&p<0&&!t.params.loop||t.destroyed||!t.autoplay.running||(m=new Date().getTime(),C?(C=!1,R(p)):R(),t.autoplay.paused=!1,a("autoplayResume"))},H=()=>{if(t.destroyed||!t.autoplay.running)return;const re=ea();re.visibilityState==="hidden"&&(C=!0,F(!0)),re.visibilityState==="visible"&&X()},U=re=>{re.pointerType==="mouse"&&(C=!0,T=!0,!(t.animating||t.autoplay.paused)&&F(!0))},se=re=>{re.pointerType==="mouse"&&(T=!1,t.autoplay.paused&&X())},ce=()=>{t.params.autoplay.pauseOnMouseEnter&&(t.el.addEventListener("pointerenter",U),t.el.addEventListener("pointerleave",se))},ge=()=>{t.el&&typeof t.el!="string"&&(t.el.removeEventListener("pointerenter",U),t.el.removeEventListener("pointerleave",se))},q=()=>{ea().addEventListener("visibilitychange",H)},te=()=>{ea().removeEventListener("visibilitychange",H)};i("init",()=>{t.params.autoplay.enabled&&(ce(),q(),B())}),i("destroy",()=>{ge(),te(),t.autoplay.running&&$()}),i("_freeModeStaticRelease",()=>{(_||C)&&X()}),i("_freeModeNoMomentumRelease",()=>{t.params.autoplay.disableOnInteraction?$():F(!0,!0)}),i("beforeTransitionStart",(re,pe,z)=>{t.destroyed||!t.autoplay.running||(z||!t.params.autoplay.disableOnInteraction?F(!0,!0):$())}),i("sliderFirstMove",()=>{if(!(t.destroyed||!t.autoplay.running)){if(t.params.autoplay.disableOnInteraction){$();return}w=!0,_=!1,C=!1,E=setTimeout(()=>{C=!0,_=!0,F(!0)},200)}}),i("touchEnd",()=>{if(!(t.destroyed||!t.autoplay.running||!w)){if(clearTimeout(E),clearTimeout(l),t.params.autoplay.disableOnInteraction){_=!1,w=!1;return}_&&t.params.cssMode&&X(),_=!1,w=!1}}),i("slideChange",()=>{t.destroyed||!t.autoplay.running||(O=!0)}),Object.assign(t.autoplay,{start:B,stop:$,pause:F,resume:X})}function AR(){const e=[{id:1,logo:"https://placehold.co/120x40/3182ce/ffffff?text=EduGlobal",title:"An Indian ed-tech that helps students live out their study-abroad dreams",content:"We provide end-to-end guidance for students aspiring to study internationally, from university selection to visa assistance.",link:"#",linkText:"Read More"},{id:2,logo:"https://placehold.co/120x40/3182ce/ffffff?text=RightOfWorld",title:"Right of world - Your gateway to global education",content:"Access world-class education with our comprehensive support system that simplifies the complex application process.",link:"#",linkText:"Read More"},{id:3,logo:"https://placehold.co/120x40/3182ce/ffffff?text=RoutinesGlobe",title:"Routines Globe Tech Series - Tech education redefined",content:"Specialized tech programs designed to help students excel in competitive technology fields at top global universities.",link:"#",linkText:"Read More"},{id:4,logo:"https://placehold.co/120x40/3182ce/ffffff?text=StudyBridge",title:"StudyBridge - Building pathways to international education",content:"Our innovative platform connects students with the best educational opportunities around the world.",link:"#",linkText:"Read More"},{id:5,logo:"https://placehold.co/120x40/3182ce/ffffff?text=GlobalEdu",title:"GlobalEdu - Making world-class education accessible",content:"We break down barriers to international education with personalized counseling and financial guidance.",link:"#",linkText:"Read More"}];return v.jsxs("section",{className:"feature-across-section container",children:[v.jsxs("div",{className:"section-header","data-aos":"fade-up",children:[v.jsxs("h2",{children:["Featured ",v.jsx("span",{className:"accent",children:"Across"})]}),v.jsx("p",{children:"Discover our innovative educational platforms and services"})]}),v.jsx("div",{className:"feature-slider",children:v.jsx(Cx,{modules:[P4,D4,TR],autoplay:{delay:5e3,disableOnInteraction:!1},pagination:{clickable:!0},spaceBetween:20,loop:!0,breakpoints:{0:{slidesPerView:1},768:{slidesPerView:2},1024:{slidesPerView:3}},children:e.map(t=>v.jsx(Ox,{children:v.jsxs("div",{className:"feature-card",children:[v.jsx("div",{className:"card-logo",children:v.jsx("img",{src:t.logo,alt:t.title})}),v.jsx("h3",{className:"card-title",children:t.title}),v.jsx("p",{className:"card-content",children:t.content}),v.jsxs("a",{href:t.link,className:"card-link",children:[t.linkText," ",v.jsx(wd,{size:16})]})]})},t.id))})}),v.jsx("style",{jsx:!0,children:` .feature-across-section { padding: 3rem 0; } .section-header { text-align: center; margin-bottom: 3rem; } .section-header h2 { font-size: 2.5rem; font-weight: 700; color: #1e293b; margin-bottom: 0.5rem; } .section-header p { font-size: 1.1rem; color: #64748b; max-width: 600px; margin: 0 auto; } .feature-slider { width: 100%; } .feature-card { background: white; border-radius: 12px; padding: 2rem; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04); transition: all 0.3s ease; height: 350px; display: flex; flex-direction: column; border: 1px solid #e2e8f0; } .feature-card:hover { transform: translateY(-5px); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); } .card-logo { margin-bottom: 1.5rem; height: 40px; display: flex; align-items: center; } .card-logo img { max-height: 40px; width: auto; } .card-title { font-size: 1.25rem; font-weight: 600; color: #1e293b; margin-bottom: 1rem; line-height: 1.4; } .card-content { color: #64748b; line-height: 1.6; margin-bottom: 1.5rem; flex-grow: 1; } .card-link { display: inline-flex; align-items: center; gap: 0.5rem; color: #3182ce; text-decoration: none; font-weight: 600; transition: all 0.3s ease; } .card-link:hover { color: #2c5282; gap: 0.7rem; } /* Swiper overrides */ :global(.swiper-button-next), :global(.swiper-button-prev) { color: #3182ce; background: white; width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); } :global(.swiper-button-next:hover), :global(.swiper-button-prev:hover) { background: #3182ce; color: white; } :global(.swiper-pagination-bullet) { background: #cbd5e1; opacity: 1; } :global(.swiper-pagination-bullet-active) { background: #3182ce; } @media (max-width: 768px) { .section-header h2 { font-size: 2rem; } .feature-card { padding: 1.5rem; } } `})]})}const CR="/assets/hero1-C7i9eD8n.webp",L4=j.createContext({});function OR(e){const t=j.useRef(null);return t.current===null&&(t.current=e()),t.current}const Mx=typeof window<"u",MR=Mx?j.useLayoutEffect:j.useEffect,Nx=j.createContext(null);function jx(e,t){e.indexOf(t)===-1&&e.push(t)}function Dx(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Ja=(e,t,n)=>n>t?t:n<e?e:n;let Px=()=>{};const es={},k4=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function R4(e){return typeof e=="object"&&e!==null}const z4=e=>/^0[^.\s]+$/u.test(e);function Lx(e){let t;return()=>(t===void 0&&(t=e()),t)}const tr=e=>e,NR=(e,t)=>n=>t(e(n)),Zd=(...e)=>e.reduce(NR),jd=(e,t,n)=>{const i=t-e;return i===0?1:(n-e)/i};class kx{constructor(){this.subscriptions=[]}add(t){return jx(this.subscriptions,t),()=>Dx(this.subscriptions,t)}notify(t,n,i){const a=this.subscriptions.length;if(a)if(a===1)this.subscriptions[0](t,n,i);else for(let o=0;o<a;o++){const l=this.subscriptions[o];l&&l(t,n,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const ta=e=>e*1e3,na=e=>e/1e3;function I4(e,t){return t?e*(1e3/t):0}const $4=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,jR=1e-7,DR=12;function PR(e,t,n,i,a){let o,l,u=0;do l=t+(n-t)/2,o=$4(l,i,a)-e,o>0?n=l:t=l;while(Math.abs(o)>jR&&++u<DR);return l}function Jd(e,t,n,i){if(e===t&&n===i)return tr;const a=o=>PR(o,0,1,e,n);return o=>o===0||o===1?o:$4(a(o),t,i)}const B4=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,V4=e=>t=>1-e(1-t),H4=Jd(.33,1.53,.69,.99),Rx=V4(H4),q4=B4(Rx),U4=e=>(e*=2)<1?.5*Rx(e):.5*(2-Math.pow(2,-10*(e-1))),zx=e=>1-Math.sin(Math.acos(e)),F4=V4(zx),G4=B4(zx),LR=Jd(.42,0,1,1),kR=Jd(0,0,.58,1),Y4=Jd(.42,0,.58,1),RR=e=>Array.isArray(e)&&typeof e[0]!="number",K4=e=>Array.isArray(e)&&typeof e[0]=="number",zR={linear:tr,easeIn:LR,easeInOut:Y4,easeOut:kR,circIn:zx,circInOut:G4,circOut:F4,backIn:Rx,backInOut:q4,backOut:H4,anticipate:U4},IR=e=>typeof e=="string",PS=e=>{if(K4(e)){Px(e.length===4);const[t,n,i,a]=e;return Jd(t,n,i,a)}else if(IR(e))return zR[e];return e},om=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function $R(e,t){let n=new Set,i=new Set,a=!1,o=!1;const l=new WeakSet;let u={delta:0,timestamp:0,isProcessing:!1};function f(p){l.has(p)&&(h.schedule(p),e()),p(u)}const h={schedule:(p,m=!1,b=!1)=>{const _=b&&a?n:i;return m&&l.add(p),_.has(p)||_.add(p),p},cancel:p=>{i.delete(p),l.delete(p)},process:p=>{if(u=p,a){o=!0;return}a=!0,[n,i]=[i,n],n.forEach(f),n.clear(),a=!1,o&&(o=!1,h.process(p))}};return h}const BR=40;function W4(e,t){let n=!1,i=!0;const a={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,l=om.reduce((A,k)=>(A[k]=$R(o),A),{}),{setup:u,read:f,resolveKeyframes:h,preUpdate:p,update:m,preRender:b,render:w,postRender:_}=l,E=()=>{const A=es.useManualTiming?a.timestamp:performance.now();n=!1,es.useManualTiming||(a.delta=i?1e3/60:Math.max(Math.min(A-a.timestamp,BR),1)),a.timestamp=A,a.isProcessing=!0,u.process(a),f.process(a),h.process(a),p.process(a),m.process(a),b.process(a),w.process(a),_.process(a),a.isProcessing=!1,n&&t&&(i=!1,e(E))},O=()=>{n=!0,i=!0,a.isProcessing||e(E)};return{schedule:om.reduce((A,k)=>{const D=l[k];return A[k]=(R,B=!1,$=!1)=>(n||O(),D.schedule(R,B,$)),A},{}),cancel:A=>{for(let k=0;k<om.length;k++)l[om[k]].cancel(A)},state:a,steps:l}}const{schedule:Pt,cancel:bo,state:Nn,steps:vy}=W4(typeof requestAnimationFrame<"u"?requestAnimationFrame:tr,!0);let Lm;function VR(){Lm=void 0}const hi={now:()=>(Lm===void 0&&hi.set(Nn.isProcessing||es.useManualTiming?Nn.timestamp:performance.now()),Lm),set:e=>{Lm=e,queueMicrotask(VR)}},X4=e=>t=>typeof t=="string"&&t.startsWith(e),Ix=X4("--"),HR=X4("var(--"),$x=e=>HR(e)?qR.test(e.split("/*")[0].trim()):!1,qR=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Au={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Dd={...Au,transform:e=>Ja(0,1,e)},lm={...Au,default:1},Ed=e=>Math.round(e*1e5)/1e5,Bx=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function UR(e){return e==null}const FR=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Vx=(e,t)=>n=>!!(typeof n=="string"&&FR.test(n)&&n.startsWith(e)||t&&!UR(n)&&Object.prototype.hasOwnProperty.call(n,t)),Q4=(e,t,n)=>i=>{if(typeof i!="string")return i;const[a,o,l,u]=i.match(Bx);return{[e]:parseFloat(a),[t]:parseFloat(o),[n]:parseFloat(l),alpha:u!==void 0?parseFloat(u):1}},GR=e=>Ja(0,255,e),yy={...Au,transform:e=>Math.round(GR(e))},hl={test:Vx("rgb","red"),parse:Q4("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:i=1})=>"rgba("+yy.transform(e)+", "+yy.transform(t)+", "+yy.transform(n)+", "+Ed(Dd.transform(i))+")"};function YR(e){let t="",n="",i="",a="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),i=e.substring(5,7),a=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),i=e.substring(3,4),a=e.substring(4,5),t+=t,n+=n,i+=i,a+=a),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:a?parseInt(a,16)/255:1}}const db={test:Vx("#"),parse:YR,transform:hl.transform},eh=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),po=eh("deg"),ia=eh("%"),qe=eh("px"),KR=eh("vh"),WR=eh("vw"),LS={...ia,parse:e=>ia.parse(e)/100,transform:e=>ia.transform(e*100)},Wc={test:Vx("hsl","hue"),parse:Q4("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:i=1})=>"hsla("+Math.round(e)+", "+ia.transform(Ed(t))+", "+ia.transform(Ed(n))+", "+Ed(Dd.transform(i))+")"},Jt={test:e=>hl.test(e)||db.test(e)||Wc.test(e),parse:e=>hl.test(e)?hl.parse(e):Wc.test(e)?Wc.parse(e):db.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?hl.transform(e):Wc.transform(e),getAnimatableNone:e=>{const t=Jt.parse(e);return t.alpha=0,Jt.transform(t)}},XR=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function QR(e){return isNaN(e)&&typeof e=="string"&&(e.match(Bx)?.length||0)+(e.match(XR)?.length||0)>0}const Z4="number",J4="color",ZR="var",JR="var(",kS="${}",e9=/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 Pd(e){const t=e.toString(),n=[],i={color:[],number:[],var:[]},a=[];let o=0;const u=t.replace(e9,f=>(Jt.test(f)?(i.color.push(o),a.push(J4),n.push(Jt.parse(f))):f.startsWith(JR)?(i.var.push(o),a.push(ZR),n.push(f)):(i.number.push(o),a.push(Z4),n.push(parseFloat(f))),++o,kS)).split(kS);return{values:n,split:u,indexes:i,types:a}}function eM(e){return Pd(e).values}function tM(e){const{split:t,types:n}=Pd(e),i=t.length;return a=>{let o="";for(let l=0;l<i;l++)if(o+=t[l],a[l]!==void 0){const u=n[l];u===Z4?o+=Ed(a[l]):u===J4?o+=Jt.transform(a[l]):o+=a[l]}return o}}const t9=e=>typeof e=="number"?0:Jt.test(e)?Jt.getAnimatableNone(e):e;function n9(e){const t=eM(e);return tM(e)(t.map(t9))}const xo={test:QR,parse:eM,createTransformer:tM,getAnimatableNone:n9};function by(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function i9({hue:e,saturation:t,lightness:n,alpha:i}){e/=360,t/=100,n/=100;let a=0,o=0,l=0;if(!t)a=o=l=n;else{const u=n<.5?n*(1+t):n+t-n*t,f=2*n-u;a=by(f,u,e+1/3),o=by(f,u,e),l=by(f,u,e-1/3)}return{red:Math.round(a*255),green:Math.round(o*255),blue:Math.round(l*255),alpha:i}}function Jm(e,t){return n=>n>0?t:e}const $t=(e,t,n)=>e+(t-e)*n,xy=(e,t,n)=>{const i=e*e,a=n*(t*t-i)+i;return a<0?0:Math.sqrt(a)},r9=[db,hl,Wc],a9=e=>r9.find(t=>t.test(e));function RS(e){const t=a9(e);if(!t)return!1;let n=t.parse(e);return t===Wc&&(n=i9(n)),n}const zS=(e,t)=>{const n=RS(e),i=RS(t);if(!n||!i)return Jm(e,t);const a={...n};return o=>(a.red=xy(n.red,i.red,o),a.green=xy(n.green,i.green,o),a.blue=xy(n.blue,i.blue,o),a.alpha=$t(n.alpha,i.alpha,o),hl.transform(a))},hb=new Set(["none","hidden"]);function s9(e,t){return hb.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function o9(e,t){return n=>$t(e,t,n)}function Hx(e){return typeof e=="number"?o9:typeof e=="string"?$x(e)?Jm:Jt.test(e)?zS:u9:Array.isArray(e)?nM:typeof e=="object"?Jt.test(e)?zS:l9:Jm}function nM(e,t){const n=[...e],i=n.length,a=e.map((o,l)=>Hx(o)(o,t[l]));return o=>{for(let l=0;l<i;l++)n[l]=a[l](o);return n}}function l9(e,t){const n={...e,...t},i={};for(const a in n)e[a]!==void 0&&t[a]!==void 0&&(i[a]=Hx(e[a])(e[a],t[a]));return a=>{for(const o in i)n[o]=i[o](a);return n}}function c9(e,t){const n=[],i={color:0,var:0,number:0};for(let a=0;a<t.values.length;a++){const o=t.types[a],l=e.indexes[o][i[o]],u=e.values[l]??0;n[a]=u,i[o]++}return n}const u9=(e,t)=>{const n=xo.createTransformer(t),i=Pd(e),a=Pd(t);return i.indexes.var.length===a.indexes.var.length&&i.indexes.color.length===a.indexes.color.length&&i.indexes.number.length>=a.indexes.number.length?hb.has(e)&&!a.values.length||hb.has(t)&&!i.values.length?s9(e,t):Zd(nM(c9(i,a),a.values),n):Jm(e,t)};function iM(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?$t(e,t,n):Hx(e)(e,t)}const f9=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>Pt.update(t,n),stop:()=>bo(t),now:()=>Nn.isProcessing?Nn.timestamp:hi.now()}},rM=(e,t,n=10)=>{let i="";const a=Math.max(Math.round(t/n),2);for(let o=0;o<a;o++)i+=Math.round(e(o/(a-1))*1e4)/1e4+", ";return`linear(${i.substring(0,i.length-2)})`},eg=2e4;function qx(e){let t=0;const n=50;let i=e.next(t);for(;!i.done&&t<eg;)t+=n,i=e.next(t);return t>=eg?1/0:t}function d9(e,t=100,n){const i=n({...e,keyframes:[0,t]}),a=Math.min(qx(i),eg);return{type:"keyframes",ease:o=>i.next(a*o).value/t,duration:na(a)}}const h9=5;function aM(e,t,n){const i=Math.max(t-h9,0);return I4(n-e(i),t-i)}const Ft={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},wy=.001;function p9({duration:e=Ft.duration,bounce:t=Ft.bounce,velocity:n=Ft.velocity,mass:i=Ft.mass}){let a,o,l=1-t;l=Ja(Ft.minDamping,Ft.maxDamping,l),e=Ja(Ft.minDuration,Ft.maxDuration,na(e)),l<1?(a=h=>{const p=h*l,m=p*e,b=p-n,w=pb(h,l),_=Math.exp(-m);return wy-b/w*_},o=h=>{const m=h*l*e,b=m*n+n,w=Math.pow(l,2)*Math.pow(h,2)*e,_=Math.exp(-m),E=pb(Math.pow(h,2),l);return(-a(h)+wy>0?-1:1)*((b-w)*_)/E}):(a=h=>{const p=Math.exp(-h*e),m=(h-n)*e+1;return-wy+p*m},o=h=>{const p=Math.exp(-h*e),m=(n-h)*(e*e);return p*m});const u=5/e,f=g9(a,o,u);if(e=ta(e),isNaN(f))return{stiffness:Ft.stiffness,damping:Ft.damping,duration:e};{const h=Math.pow(f,2)*i;return{stiffness:h,damping:l*2*Math.sqrt(i*h),duration:e}}}const m9=12;function g9(e,t,n){let i=n;for(let a=1;a<m9;a++)i=i-e(i)/t(i);return i}function pb(e,t){return e*Math.sqrt(1-t*t)}const v9=["duration","bounce"],y9=["stiffness","damping","mass"];function IS(e,t){return t.some(n=>e[n]!==void 0)}function b9(e){let t={velocity:Ft.velocity,stiffness:Ft.stiffness,damping:Ft.damping,mass:Ft.mass,isResolvedFromDuration:!1,...e};if(!IS(e,y9)&&IS(e,v9))if(e.visualDuration){const n=e.visualDuration,i=2*Math.PI/(n*1.2),a=i*i,o=2*Ja(.05,1,1-(e.bounce||0))*Math.sqrt(a);t={...t,mass:Ft.mass,stiffness:a,damping:o}}else{const n=p9(e);t={...t,...n,mass:Ft.mass},t.isResolvedFromDuration=!0}return t}function tg(e=Ft.visualDuration,t=Ft.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:i,restDelta:a}=n;const o=n.keyframes[0],l=n.keyframes[n.keyframes.length-1],u={done:!1,value:o},{stiffness:f,damping:h,mass:p,duration:m,velocity:b,isResolvedFromDuration:w}=b9({...n,velocity:-na(n.velocity||0)}),_=b||0,E=h/(2*Math.sqrt(f*p)),O=l-o,C=na(Math.sqrt(f/p)),T=Math.abs(O)<5;i||(i=T?Ft.restSpeed.granular:Ft.restSpeed.default),a||(a=T?Ft.restDelta.granular:Ft.restDelta.default);let A;if(E<1){const D=pb(C,E);A=R=>{const B=Math.exp(-E*C*R);return l-B*((_+E*C*O)/D*Math.sin(D*R)+O*Math.cos(D*R))}}else if(E===1)A=D=>l-Math.exp(-C*D)*(O+(_+C*O)*D);else{const D=C*Math.sqrt(E*E-1);A=R=>{const B=Math.exp(-E*C*R),$=Math.min(D*R,300);return l-B*((_+E*C*O)*Math.sinh($)+D*O*Math.cosh($))/D}}const k={calculatedDuration:w&&m||null,next:D=>{const R=A(D);if(w)u.done=D>=m;else{let B=D===0?_:0;E<1&&(B=D===0?ta(_):aM(A,D,R));const $=Math.abs(B)<=i,F=Math.abs(l-R)<=a;u.done=$&&F}return u.value=u.done?l:R,u},toString:()=>{const D=Math.min(qx(k),eg),R=rM(B=>k.next(D*B).value,D,30);return D+"ms "+R},toTransition:()=>{}};return k}tg.applyToOptions=e=>{const t=d9(e,100,tg);return e.ease=t.ease,e.duration=ta(t.duration),e.type="keyframes",e};function mb({keyframes:e,velocity:t=0,power:n=.8,timeConstant:i=325,bounceDamping:a=10,bounceStiffness:o=500,modifyTarget:l,min:u,max:f,restDelta:h=.5,restSpeed:p}){const m=e[0],b={done:!1,value:m},w=$=>u!==void 0&&$<u||f!==void 0&&$>f,_=$=>u===void 0?f:f===void 0||Math.abs(u-$)<Math.abs(f-$)?u:f;let E=n*t;const O=m+E,C=l===void 0?O:l(O);C!==O&&(E=C-m);const T=$=>-E*Math.exp(-$/i),A=$=>C+T($),k=$=>{const F=T($),X=A($);b.done=Math.abs(F)<=h,b.value=b.done?C:X};let D,R;const B=$=>{w(b.value)&&(D=$,R=tg({keyframes:[b.value,_(b.value)],velocity:aM(A,$,b.value),damping:a,stiffness:o,restDelta:h,restSpeed:p}))};return B(0),{calculatedDuration:null,next:$=>{let F=!1;return!R&&D===void 0&&(F=!0,k($),B($)),D!==void 0&&$>=D?R.next($-D):(!F&&k($),b)}}}function x9(e,t,n){const i=[],a=n||es.mix||iM,o=e.length-1;for(let l=0;l<o;l++){let u=a(e[l],e[l+1]);if(t){const f=Array.isArray(t)?t[l]||tr:t;u=Zd(f,u)}i.push(u)}return i}function w9(e,t,{clamp:n=!0,ease:i,mixer:a}={}){const o=e.length;if(Px(o===t.length),o===1)return()=>t[0];if(o===2&&t[0]===t[1])return()=>t[1];const l=e[0]===e[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const u=x9(t,i,a),f=u.length,h=p=>{if(l&&p<e[0])return t[0];let m=0;if(f>1)for(;m<e.length-2&&!(p<e[m+1]);m++);const b=jd(e[m],e[m+1],p);return u[m](b)};return n?p=>h(Ja(e[0],e[o-1],p)):h}function _9(e,t){const n=e[e.length-1];for(let i=1;i<=t;i++){const a=jd(0,t,i);e.push($t(n,1,a))}}function E9(e){const t=[0];return _9(t,e.length-1),t}function S9(e,t){return e.map(n=>n*t)}function T9(e,t){return e.map(()=>t||Y4).splice(0,e.length-1)}function Sd({duration:e=300,keyframes:t,times:n,ease:i="easeInOut"}){const a=RR(i)?i.map(PS):PS(i),o={done:!1,value:t[0]},l=S9(n&&n.length===t.length?n:E9(t),e),u=w9(l,t,{ease:Array.isArray(a)?a:T9(t,a)});return{calculatedDuration:e,next:f=>(o.value=u(f),o.done=f>=e,o)}}const A9=e=>e!==null;function Ux(e,{repeat:t,repeatType:n="loop"},i,a=1){const o=e.filter(A9),u=a<0||t&&n!=="loop"&&t%2===1?0:o.length-1;return!u||i===void 0?o[u]:i}const C9={decay:mb,inertia:mb,tween:Sd,keyframes:Sd,spring:tg};function sM(e){typeof e.type=="string"&&(e.type=C9[e.type])}class Fx{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const O9=e=>e/100;class Gx extends Fx{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:n}=this.options;n&&n.updatedAt!==hi.now()&&this.tick(hi.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;sM(t);const{type:n=Sd,repeat:i=0,repeatDelay:a=0,repeatType:o,velocity:l=0}=t;let{keyframes:u}=t;const f=n||Sd;f!==Sd&&typeof u[0]!="number"&&(this.mixKeyframes=Zd(O9,iM(u[0],u[1])),u=[0,100]);const h=f({...t,keyframes:u});o==="mirror"&&(this.mirroredGenerator=f({...t,keyframes:[...u].reverse(),velocity:-l})),h.calculatedDuration===null&&(h.calculatedDuration=qx(h));const{calculatedDuration:p}=h;this.calculatedDuration=p,this.resolvedDuration=p+a,this.totalDuration=this.resolvedDuration*(i+1)-a,this.generator=h}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:i,totalDuration:a,mixKeyframes:o,mirroredGenerator:l,resolvedDuration:u,calculatedDuration:f}=this;if(this.startTime===null)return i.next(0);const{delay:h=0,keyframes:p,repeat:m,repeatType:b,repeatDelay:w,type:_,onUpdate:E,finalKeyframe:O}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-a/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const C=this.currentTime-h*(this.playbackSpeed>=0?1:-1),T=this.playbackSpeed>=0?C<0:C>a;this.currentTime=Math.max(C,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=a);let A=this.currentTime,k=i;if(m){const $=Math.min(this.currentTime,a)/u;let F=Math.floor($),X=$%1;!X&&$>=1&&(X=1),X===1&&F--,F=Math.min(F,m+1),!!(F%2)&&(b==="reverse"?(X=1-X,w&&(X-=w/u)):b==="mirror"&&(k=l)),A=Ja(0,1,X)*u}const D=T?{done:!1,value:p[0]}:k.next(A);o&&(D.value=o(D.value));let{done:R}=D;!T&&f!==null&&(R=this.playbackSpeed>=0?this.currentTime>=a:this.currentTime<=0);const B=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&R);return B&&_!==mb&&(D.value=Ux(p,this.options,O,this.speed)),E&&E(D.value),B&&this.finish(),D}then(t,n){return this.finished.then(t,n)}get duration(){return na(this.calculatedDuration)}get time(){return na(this.currentTime)}set time(t){t=ta(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(hi.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=na(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=f9,startTime:n}=this.options;this.driver||(this.driver=t(a=>this.tick(a))),this.options.onPlay?.();const i=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=i):this.holdTime!==null?this.startTime=i-this.holdTime:this.startTime||(this.startTime=n??i),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(hi.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}function M9(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const pl=e=>e*180/Math.PI,gb=e=>{const t=pl(Math.atan2(e[1],e[0]));return vb(t)},N9={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:gb,rotateZ:gb,skewX:e=>pl(Math.atan(e[1])),skewY:e=>pl(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},vb=e=>(e=e%360,e<0&&(e+=360),e),$S=gb,BS=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),VS=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),j9={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:BS,scaleY:VS,scale:e=>(BS(e)+VS(e))/2,rotateX:e=>vb(pl(Math.atan2(e[6],e[5]))),rotateY:e=>vb(pl(Math.atan2(-e[2],e[0]))),rotateZ:$S,rotate:$S,skewX:e=>pl(Math.atan(e[4])),skewY:e=>pl(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function yb(e){return e.includes("scale")?1:0}function bb(e,t){if(!e||e==="none")return yb(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let i,a;if(n)i=j9,a=n;else{const u=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=N9,a=u}if(!a)return yb(t);const o=i[t],l=a[1].split(",").map(P9);return typeof o=="function"?o(l):l[o]}const D9=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return bb(n,t)};function P9(e){return parseFloat(e.trim())}const Cu=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Ou=new Set(Cu),HS=e=>e===Au||e===qe,L9=new Set(["x","y","z"]),k9=Cu.filter(e=>!L9.has(e));function R9(e){const t=[];return k9.forEach(n=>{const i=e.getValue(n);i!==void 0&&(t.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),t}const xl={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>bb(t,"x"),y:(e,{transform:t})=>bb(t,"y")};xl.translateX=xl.x;xl.translateY=xl.y;const wl=new Set;let xb=!1,wb=!1,_b=!1;function oM(){if(wb){const e=Array.from(wl).filter(i=>i.needsMeasurement),t=new Set(e.map(i=>i.element)),n=new Map;t.forEach(i=>{const a=R9(i);a.length&&(n.set(i,a),i.render())}),e.forEach(i=>i.measureInitialState()),t.forEach(i=>{i.render();const a=n.get(i);a&&a.forEach(([o,l])=>{i.getValue(o)?.set(l)})}),e.forEach(i=>i.measureEndState()),e.forEach(i=>{i.suspendedScrollY!==void 0&&window.scrollTo(0,i.suspendedScrollY)})}wb=!1,xb=!1,wl.forEach(e=>e.complete(_b)),wl.clear()}function lM(){wl.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(wb=!0)})}function z9(){_b=!0,lM(),oM(),_b=!1}class Yx{constructor(t,n,i,a,o,l=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=i,this.motionValue=a,this.element=o,this.isAsync=l}scheduleResolve(){this.state="scheduled",this.isAsync?(wl.add(this),xb||(xb=!0,Pt.read(lM),Pt.resolveKeyframes(oM))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:i,motionValue:a}=this;if(t[0]===null){const o=a?.get(),l=t[t.length-1];if(o!==void 0)t[0]=o;else if(i&&n){const u=i.readValue(n,l);u!=null&&(t[0]=u)}t[0]===void 0&&(t[0]=l),a&&o===void 0&&a.set(t[0])}M9(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),wl.delete(this)}cancel(){this.state==="scheduled"&&(wl.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const I9=e=>e.startsWith("--");function $9(e,t,n){I9(t)?e.style.setProperty(t,n):e.style[t]=n}const B9=Lx(()=>window.ScrollTimeline!==void 0),V9={};function H9(e,t){const n=Lx(e);return()=>V9[t]??n()}const cM=H9(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),vd=([e,t,n,i])=>`cubic-bezier(${e}, ${t}, ${n}, ${i})`,qS={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:vd([0,.65,.55,1]),circOut:vd([.55,0,1,.45]),backIn:vd([.31,.01,.66,-.59]),backOut:vd([.33,1.53,.69,.99])};function uM(e,t){if(e)return typeof e=="function"?cM()?rM(e,t):"ease-out":K4(e)?vd(e):Array.isArray(e)?e.map(n=>uM(n,t)||qS.easeOut):qS[e]}function q9(e,t,n,{delay:i=0,duration:a=300,repeat:o=0,repeatType:l="loop",ease:u="easeOut",times:f}={},h=void 0){const p={[t]:n};f&&(p.offset=f);const m=uM(u,a);Array.isArray(m)&&(p.easing=m);const b={delay:i,duration:a,easing:Array.isArray(m)?"linear":m,fill:"both",iterations:o+1,direction:l==="reverse"?"alternate":"normal"};return h&&(b.pseudoElement=h),e.animate(p,b)}function fM(e){return typeof e=="function"&&"applyToOptions"in e}function U9({type:e,...t}){return fM(e)&&cM()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class F9 extends Fx{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:n,name:i,keyframes:a,pseudoElement:o,allowFlatten:l=!1,finalKeyframe:u,onComplete:f}=t;this.isPseudoElement=!!o,this.allowFlatten=l,this.options=t,Px(typeof t.type!="string");const h=U9(t);this.animation=q9(n,i,a,h,o),h.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){const p=Ux(a,this.options,u,this.speed);this.updateMotionValue?this.updateMotionValue(p):$9(n,i,p),this.animation.cancel()}f?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const t=this.animation.effect?.getComputedTiming?.().duration||0;return na(Number(t))}get time(){return na(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=ta(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:n}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&B9()?(this.animation.timeline=t,tr):n(this)}}const dM={anticipate:U4,backInOut:q4,circInOut:G4};function G9(e){return e in dM}function Y9(e){typeof e.ease=="string"&&G9(e.ease)&&(e.ease=dM[e.ease])}const US=10;class K9 extends F9{constructor(t){Y9(t),sM(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:i,onComplete:a,element:o,...l}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const u=new Gx({...l,autoplay:!1}),f=ta(this.finishedTime??this.time);n.setWithVelocity(u.sample(f-US).value,u.sample(f).value,US),u.stop()}}const FS=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(xo.test(e)||e==="0")&&!e.startsWith("url("));function W9(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function X9(e,t,n,i){const a=e[0];if(a===null)return!1;if(t==="display"||t==="visibility")return!0;const o=e[e.length-1],l=FS(a,t),u=FS(o,t);return!l||!u?!1:W9(e)||(n==="spring"||fM(n))&&i}function Eb(e){e.duration=0,e.type}const Q9=new Set(["opacity","clipPath","filter","transform"]),Z9=Lx(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function J9(e){const{motionValue:t,name:n,repeatDelay:i,repeatType:a,damping:o,type:l}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:f,transformTemplate:h}=t.owner.getProps();return Z9()&&n&&Q9.has(n)&&(n!=="transform"||!h)&&!f&&!i&&a!=="mirror"&&o!==0&&l!=="inertia"}const ez=40;class tz extends Fx{constructor({autoplay:t=!0,delay:n=0,type:i="keyframes",repeat:a=0,repeatDelay:o=0,repeatType:l="loop",keyframes:u,name:f,motionValue:h,element:p,...m}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=hi.now();const b={autoplay:t,delay:n,type:i,repeat:a,repeatDelay:o,repeatType:l,name:f,motionValue:h,element:p,...m},w=p?.KeyframeResolver||Yx;this.keyframeResolver=new w(u,(_,E,O)=>this.onKeyframesResolved(_,E,b,!O),f,h,p),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,n,i,a){this.keyframeResolver=void 0;const{name:o,type:l,velocity:u,delay:f,isHandoff:h,onUpdate:p}=i;this.resolvedAt=hi.now(),X9(t,o,l,u)||((es.instantAnimations||!f)&&p?.(Ux(t,i,n)),t[0]=t[t.length-1],Eb(i),i.repeat=0);const b={startTime:a?this.resolvedAt?this.resolvedAt-this.createdAt>ez?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...i,keyframes:t},w=!h&&J9(b)?new K9({...b,element:b.motionValue.owner.current}):new Gx(b);w.finished.then(()=>this.notifyFinished()).catch(tr),this.pendingTimeline&&(this.stopTimeline=w.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=w}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),z9()),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const nz=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function iz(e){const t=nz.exec(e);if(!t)return[,];const[,n,i,a]=t;return[`--${n??i}`,a]}function hM(e,t,n=1){const[i,a]=iz(e);if(!i)return;const o=window.getComputedStyle(t).getPropertyValue(i);if(o){const l=o.trim();return k4(l)?parseFloat(l):l}return $x(a)?hM(a,t,n+1):a}function Kx(e,t){return e?.[t]??e?.default??e}const pM=new Set(["width","height","top","left","right","bottom",...Cu]),rz={test:e=>e==="auto",parse:e=>e},mM=e=>t=>t.test(e),gM=[Au,qe,ia,po,WR,KR,rz],GS=e=>gM.find(mM(e));function az(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||z4(e):!0}const sz=new Set(["brightness","contrast","saturate","opacity"]);function oz(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[i]=n.match(Bx)||[];if(!i)return e;const a=n.replace(i,"");let o=sz.has(t)?1:0;return i!==n&&(o*=100),t+"("+o+a+")"}const lz=/\b([a-z-]*)\(.*?\)/gu,Sb={...xo,getAnimatableNone:e=>{const t=e.match(lz);return t?t.map(oz).join(" "):e}},YS={...Au,transform:Math.round},cz={rotate:po,rotateX:po,rotateY:po,rotateZ:po,scale:lm,scaleX:lm,scaleY:lm,scaleZ:lm,skew:po,skewX:po,skewY:po,distance:qe,translateX:qe,translateY:qe,translateZ:qe,x:qe,y:qe,z:qe,perspective:qe,transformPerspective:qe,opacity:Dd,originX:LS,originY:LS,originZ:qe},Wx={borderWidth:qe,borderTopWidth:qe,borderRightWidth:qe,borderBottomWidth:qe,borderLeftWidth:qe,borderRadius:qe,radius:qe,borderTopLeftRadius:qe,borderTopRightRadius:qe,borderBottomRightRadius:qe,borderBottomLeftRadius:qe,width:qe,maxWidth:qe,height:qe,maxHeight:qe,top:qe,right:qe,bottom:qe,left:qe,padding:qe,paddingTop:qe,paddingRight:qe,paddingBottom:qe,paddingLeft:qe,margin:qe,marginTop:qe,marginRight:qe,marginBottom:qe,marginLeft:qe,backgroundPositionX:qe,backgroundPositionY:qe,...cz,zIndex:YS,fillOpacity:Dd,strokeOpacity:Dd,numOctaves:YS},uz={...Wx,color:Jt,backgroundColor:Jt,outlineColor:Jt,fill:Jt,stroke:Jt,borderColor:Jt,borderTopColor:Jt,borderRightColor:Jt,borderBottomColor:Jt,borderLeftColor:Jt,filter:Sb,WebkitFilter:Sb},vM=e=>uz[e];function yM(e,t){let n=vM(e);return n!==Sb&&(n=xo),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const fz=new Set(["auto","none","0"]);function dz(e,t,n){let i=0,a;for(;i<e.length&&!a;){const o=e[i];typeof o=="string"&&!fz.has(o)&&Pd(o).values.length&&(a=e[i]),i++}if(a&&n)for(const o of t)e[o]=yM(n,a)}class hz extends Yx{constructor(t,n,i,a,o){super(t,n,i,a,o,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:i}=this;if(!n||!n.current)return;super.readKeyframes();for(let f=0;f<t.length;f++){let h=t[f];if(typeof h=="string"&&(h=h.trim(),$x(h))){const p=hM(h,n.current);p!==void 0&&(t[f]=p),f===t.length-1&&(this.finalKeyframe=h)}}if(this.resolveNoneKeyframes(),!pM.has(i)||t.length!==2)return;const[a,o]=t,l=GS(a),u=GS(o);if(l!==u)if(HS(l)&&HS(u))for(let f=0;f<t.length;f++){const h=t[f];typeof h=="string"&&(t[f]=parseFloat(h))}else xl[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,i=[];for(let a=0;a<t.length;a++)(t[a]===null||az(t[a]))&&i.push(a);i.length&&dz(t,i,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:i}=this;if(!t||!t.current)return;i==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=xl[i](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const a=n[n.length-1];a!==void 0&&t.getValue(i,a).jump(a,!1)}measureEndState(){const{element:t,name:n,unresolvedKeyframes:i}=this;if(!t||!t.current)return;const a=t.getValue(n);a&&a.jump(this.measuredOrigin,!1);const o=i.length-1,l=i[o];i[o]=xl[n](t.measureViewportBox(),window.getComputedStyle(t.current)),l!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=l),this.removedTransforms?.length&&this.removedTransforms.forEach(([u,f])=>{t.getValue(u).set(f)}),this.resolveNoneKeyframes()}}function pz(e,t,n){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let i=document;const a=n?.[e]??i.querySelectorAll(e);return a?Array.from(a):[]}return Array.from(e)}const bM=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function mz(e){return R4(e)&&"offsetHeight"in e}const KS=30,gz=e=>!isNaN(parseFloat(e));class vz{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=i=>{const a=hi.now();if(this.updatedAt!==a&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(i),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const o of this.dependents)o.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=hi.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=gz(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new kx);const i=this.events[t].add(n);return t==="change"?()=>{i(),Pt.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,n,i){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=hi.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>KS)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,KS);return I4(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function su(e,t){return new vz(e,t)}const{schedule:Xx}=W4(queueMicrotask,!1),Sr={x:!1,y:!1};function xM(){return Sr.x||Sr.y}function yz(e){return e==="x"||e==="y"?Sr[e]?null:(Sr[e]=!0,()=>{Sr[e]=!1}):Sr.x||Sr.y?null:(Sr.x=Sr.y=!0,()=>{Sr.x=Sr.y=!1})}function wM(e,t){const n=pz(e),i=new AbortController,a={passive:!0,...t,signal:i.signal};return[n,a,()=>i.abort()]}function WS(e){return!(e.pointerType==="touch"||xM())}function bz(e,t,n={}){const[i,a,o]=wM(e,n),l=u=>{if(!WS(u))return;const{target:f}=u,h=t(f,u);if(typeof h!="function"||!f)return;const p=m=>{WS(m)&&(h(m),f.removeEventListener("pointerleave",p))};f.addEventListener("pointerleave",p,a)};return i.forEach(u=>{u.addEventListener("pointerenter",l,a)}),o}const _M=(e,t)=>t?e===t?!0:_M(e,t.parentElement):!1,Qx=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,xz=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function wz(e){return xz.has(e.tagName)||e.tabIndex!==-1}const km=new WeakSet;function XS(e){return t=>{t.key==="Enter"&&e(t)}}function _y(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const _z=(e,t)=>{const n=e.currentTarget;if(!n)return;const i=XS(()=>{if(km.has(n))return;_y(n,"down");const a=XS(()=>{_y(n,"up")}),o=()=>_y(n,"cancel");n.addEventListener("keyup",a,t),n.addEventListener("blur",o,t)});n.addEventListener("keydown",i,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",i),t)};function QS(e){return Qx(e)&&!xM()}function Ez(e,t,n={}){const[i,a,o]=wM(e,n),l=u=>{const f=u.currentTarget;if(!QS(u))return;km.add(f);const h=t(f,u),p=(w,_)=>{window.removeEventListener("pointerup",m),window.removeEventListener("pointercancel",b),km.has(f)&&km.delete(f),QS(w)&&typeof h=="function"&&h(w,{success:_})},m=w=>{p(w,f===window||f===document||n.useGlobalTarget||_M(f,w.target))},b=w=>{p(w,!1)};window.addEventListener("pointerup",m,a),window.addEventListener("pointercancel",b,a)};return i.forEach(u=>{(n.useGlobalTarget?window:u).addEventListener("pointerdown",l,a),mz(u)&&(u.addEventListener("focus",h=>_z(h,a)),!wz(u)&&!u.hasAttribute("tabindex")&&(u.tabIndex=0))}),o}function EM(e){return R4(e)&&"ownerSVGElement"in e}function Sz(e){return EM(e)&&e.tagName==="svg"}const Bn=e=>!!(e&&e.getVelocity),Tz=[...gM,Jt,xo],Az=e=>Tz.find(mM(e)),SM=j.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function Cz(e=!0){const t=j.useContext(Nx);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:i,register:a}=t,o=j.useId();j.useEffect(()=>{if(e)return a(o)},[e]);const l=j.useCallback(()=>e&&i&&i(o),[o,i,e]);return!n&&i?[!1,l]:[!0]}const TM=j.createContext({strict:!1}),ZS={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"]},ou={};for(const e in ZS)ou[e]={isEnabled:t=>ZS[e].some(n=>!!t[n])};function Oz(e){for(const t in e)ou[t]={...ou[t],...e[t]}}const Mz=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 ng(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Mz.has(e)}let AM=e=>!ng(e);function Nz(e){typeof e=="function"&&(AM=t=>t.startsWith("on")?!ng(t):e(t))}try{Nz(require("@emotion/is-prop-valid").default)}catch{}function jz(e,t,n){const i={};for(const a in e)a==="values"&&typeof e.values=="object"||(AM(a)||n===!0&&ng(a)||!t&&!ng(a)||e.draggable&&a.startsWith("onDrag"))&&(i[a]=e[a]);return i}const Gg=j.createContext({});function Yg(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Ld(e){return typeof e=="string"||Array.isArray(e)}const Zx=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Jx=["initial",...Zx];function Kg(e){return Yg(e.animate)||Jx.some(t=>Ld(e[t]))}function CM(e){return!!(Kg(e)||e.variants)}function Dz(e,t){if(Kg(e)){const{initial:n,animate:i}=e;return{initial:n===!1||Ld(n)?n:void 0,animate:Ld(i)?i:void 0}}return e.inherit!==!1?t:{}}function Pz(e){const{initial:t,animate:n}=Dz(e,j.useContext(Gg));return j.useMemo(()=>({initial:t,animate:n}),[JS(t),JS(n)])}function JS(e){return Array.isArray(e)?e.join(" "):e}const kd={};function Lz(e){for(const t in e)kd[t]=e[t],Ix(t)&&(kd[t].isCSSVariable=!0)}function OM(e,{layout:t,layoutId:n}){return Ou.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!kd[e]||e==="opacity")}const kz={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Rz=Cu.length;function zz(e,t,n){let i="",a=!0;for(let o=0;o<Rz;o++){const l=Cu[o],u=e[l];if(u===void 0)continue;let f=!0;if(typeof u=="number"?f=u===(l.startsWith("scale")?1:0):f=parseFloat(u)===0,!f||n){const h=bM(u,Wx[l]);if(!f){a=!1;const p=kz[l]||l;i+=`${p}(${h}) `}n&&(t[l]=h)}}return i=i.trim(),n?i=n(t,a?"":i):a&&(i="none"),i}function ew(e,t,n){const{style:i,vars:a,transformOrigin:o}=e;let l=!1,u=!1;for(const f in t){const h=t[f];if(Ou.has(f)){l=!0;continue}else if(Ix(f)){a[f]=h;continue}else{const p=bM(h,Wx[f]);f.startsWith("origin")?(u=!0,o[f]=p):i[f]=p}}if(t.transform||(l||n?i.transform=zz(t,e.transform,n):i.transform&&(i.transform="none")),u){const{originX:f="50%",originY:h="50%",originZ:p=0}=o;i.transformOrigin=`${f} ${h} ${p}`}}const tw=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function MM(e,t,n){for(const i in t)!Bn(t[i])&&!OM(i,n)&&(e[i]=t[i])}function Iz({transformTemplate:e},t){return j.useMemo(()=>{const n=tw();return ew(n,t,e),Object.assign({},n.vars,n.style)},[t])}function $z(e,t){const n=e.style||{},i={};return MM(i,n,e),Object.assign(i,Iz(e,t)),i}function Bz(e,t){const n={},i=$z(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=i,n}const Vz={offset:"stroke-dashoffset",array:"stroke-dasharray"},Hz={offset:"strokeDashoffset",array:"strokeDasharray"};function qz(e,t,n=1,i=0,a=!0){e.pathLength=1;const o=a?Vz:Hz;e[o.offset]=qe.transform(-i);const l=qe.transform(t),u=qe.transform(n);e[o.array]=`${l} ${u}`}function NM(e,{attrX:t,attrY:n,attrScale:i,pathLength:a,pathSpacing:o=1,pathOffset:l=0,...u},f,h,p){if(ew(e,u,h),f){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:m,style:b}=e;m.transform&&(b.transform=m.transform,delete m.transform),(b.transform||m.transformOrigin)&&(b.transformOrigin=m.transformOrigin??"50% 50%",delete m.transformOrigin),b.transform&&(b.transformBox=p?.transformBox??"fill-box",delete m.transformBox),t!==void 0&&(m.x=t),n!==void 0&&(m.y=n),i!==void 0&&(m.scale=i),a!==void 0&&qz(m,a,o,l,!1)}const jM=()=>({...tw(),attrs:{}}),DM=e=>typeof e=="string"&&e.toLowerCase()==="svg";function Uz(e,t,n,i){const a=j.useMemo(()=>{const o=jM();return NM(o,t,DM(i),e.transformTemplate,e.style),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const o={};MM(o,e.style,e),a.style={...o,...a.style}}return a}const Fz=["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 nw(e){return typeof e!="string"||e.includes("-")?!1:!!(Fz.indexOf(e)>-1||/[A-Z]/u.test(e))}function Gz(e,t,n,{latestValues:i},a,o=!1){const u=(nw(e)?Uz:Bz)(t,i,a,e),f=jz(t,typeof e=="string",o),h=e!==j.Fragment?{...f,...u,ref:n}:{},{children:p}=t,m=j.useMemo(()=>Bn(p)?p.get():p,[p]);return j.createElement(e,{...h,children:m})}function eT(e){const t=[{},{}];return e?.values.forEach((n,i)=>{t[0][i]=n.get(),t[1][i]=n.getVelocity()}),t}function iw(e,t,n,i){if(typeof t=="function"){const[a,o]=eT(i);t=t(n!==void 0?n:e.custom,a,o)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[a,o]=eT(i);t=t(n!==void 0?n:e.custom,a,o)}return t}function Rm(e){return Bn(e)?e.get():e}function Yz({scrapeMotionValuesFromProps:e,createRenderState:t},n,i,a){return{latestValues:Kz(n,i,a,e),renderState:t()}}function Kz(e,t,n,i){const a={},o=i(e,{});for(const b in o)a[b]=Rm(o[b]);let{initial:l,animate:u}=e;const f=Kg(e),h=CM(e);t&&h&&!f&&e.inherit!==!1&&(l===void 0&&(l=t.initial),u===void 0&&(u=t.animate));let p=n?n.initial===!1:!1;p=p||l===!1;const m=p?u:l;if(m&&typeof m!="boolean"&&!Yg(m)){const b=Array.isArray(m)?m:[m];for(let w=0;w<b.length;w++){const _=iw(e,b[w]);if(_){const{transitionEnd:E,transition:O,...C}=_;for(const T in C){let A=C[T];if(Array.isArray(A)){const k=p?A.length-1:0;A=A[k]}A!==null&&(a[T]=A)}for(const T in E)a[T]=E[T]}}}return a}const PM=e=>(t,n)=>{const i=j.useContext(Gg),a=j.useContext(Nx),o=()=>Yz(e,t,i,a);return n?o():OR(o)};function rw(e,t,n){const{style:i}=e,a={};for(const o in i)(Bn(i[o])||t.style&&Bn(t.style[o])||OM(o,e)||n?.getValue(o)?.liveStyle!==void 0)&&(a[o]=i[o]);return a}const Wz=PM({scrapeMotionValuesFromProps:rw,createRenderState:tw});function LM(e,t,n){const i=rw(e,t,n);for(const a in e)if(Bn(e[a])||Bn(t[a])){const o=Cu.indexOf(a)!==-1?"attr"+a.charAt(0).toUpperCase()+a.substring(1):a;i[o]=e[a]}return i}const Xz=PM({scrapeMotionValuesFromProps:LM,createRenderState:jM}),Qz=Symbol.for("motionComponentSymbol");function Xc(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Zz(e,t,n){return j.useCallback(i=>{i&&e.onMount&&e.onMount(i),t&&(i?t.mount(i):t.unmount()),n&&(typeof n=="function"?n(i):Xc(n)&&(n.current=i))},[t])}const aw=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),Jz="framerAppearId",kM="data-"+aw(Jz),RM=j.createContext({});function eI(e,t,n,i,a){const{visualElement:o}=j.useContext(Gg),l=j.useContext(TM),u=j.useContext(Nx),f=j.useContext(SM).reducedMotion,h=j.useRef(null);i=i||l.renderer,!h.current&&i&&(h.current=i(e,{visualState:t,parent:o,props:n,presenceContext:u,blockInitialAnimation:u?u.initial===!1:!1,reducedMotionConfig:f}));const p=h.current,m=j.useContext(RM);p&&!p.projection&&a&&(p.type==="html"||p.type==="svg")&&tI(h.current,n,a,m);const b=j.useRef(!1);j.useInsertionEffect(()=>{p&&b.current&&p.update(n,u)});const w=n[kM],_=j.useRef(!!w&&!window.MotionHandoffIsComplete?.(w)&&window.MotionHasOptimisedAnimation?.(w));return MR(()=>{p&&(b.current=!0,window.MotionIsMounted=!0,p.updateFeatures(),p.scheduleRenderMicrotask(),_.current&&p.animationState&&p.animationState.animateChanges())}),j.useEffect(()=>{p&&(!_.current&&p.animationState&&p.animationState.animateChanges(),_.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(w)}),_.current=!1),p.enteringChildren=void 0)}),p}function tI(e,t,n,i){const{layoutId:a,layout:o,drag:l,dragConstraints:u,layoutScroll:f,layoutRoot:h,layoutCrossfade:p}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:zM(e.parent)),e.projection.setOptions({layoutId:a,layout:o,alwaysMeasureLayout:!!l||u&&Xc(u),visualElement:e,animationType:typeof o=="string"?o:"both",initialPromotionConfig:i,crossfade:p,layoutScroll:f,layoutRoot:h})}function zM(e){if(e)return e.options.allowProjection!==!1?e.projection:zM(e.parent)}function Ey(e,{forwardMotionProps:t=!1}={},n,i){n&&Oz(n);const a=nw(e)?Xz:Wz;function o(u,f){let h;const p={...j.useContext(SM),...u,layoutId:nI(u)},{isStatic:m}=p,b=Pz(u),w=a(u,m);if(!m&&Mx){iI();const _=rI(p);h=_.MeasureLayout,b.visualElement=eI(e,w,p,i,_.ProjectionNode)}return v.jsxs(Gg.Provider,{value:b,children:[h&&b.visualElement?v.jsx(h,{visualElement:b.visualElement,...p}):null,Gz(e,u,Zz(w,b.visualElement,f),w,m,t)]})}o.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const l=j.forwardRef(o);return l[Qz]=e,l}function nI({layoutId:e}){const t=j.useContext(L4).id;return t&&e!==void 0?t+"-"+e:e}function iI(e,t){j.useContext(TM).strict}function rI(e){const{drag:t,layout:n}=ou;if(!t&&!n)return{};const i={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}function aI(e,t){if(typeof Proxy>"u")return Ey;const n=new Map,i=(o,l)=>Ey(o,l,e,t),a=(o,l)=>i(o,l);return new Proxy(a,{get:(o,l)=>l==="create"?i:(n.has(l)||n.set(l,Ey(l,void 0,e,t)),n.get(l))})}function IM({top:e,left:t,right:n,bottom:i}){return{x:{min:t,max:n},y:{min:e,max:i}}}function sI({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function oI(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),i=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}function Sy(e){return e===void 0||e===1}function Tb({scale:e,scaleX:t,scaleY:n}){return!Sy(e)||!Sy(t)||!Sy(n)}function cl(e){return Tb(e)||$M(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function $M(e){return tT(e.x)||tT(e.y)}function tT(e){return e&&e!=="0%"}function ig(e,t,n){const i=e-n,a=t*i;return n+a}function nT(e,t,n,i,a){return a!==void 0&&(e=ig(e,a,i)),ig(e,n,i)+t}function Ab(e,t=0,n=1,i,a){e.min=nT(e.min,t,n,i,a),e.max=nT(e.max,t,n,i,a)}function BM(e,{x:t,y:n}){Ab(e.x,t.translate,t.scale,t.originPoint),Ab(e.y,n.translate,n.scale,n.originPoint)}const iT=.999999999999,rT=1.0000000000001;function lI(e,t,n,i=!1){const a=n.length;if(!a)return;t.x=t.y=1;let o,l;for(let u=0;u<a;u++){o=n[u],l=o.projectionDelta;const{visualElement:f}=o.options;f&&f.props.style&&f.props.style.display==="contents"||(i&&o.options.layoutScroll&&o.scroll&&o!==o.root&&Zc(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),l&&(t.x*=l.x.scale,t.y*=l.y.scale,BM(e,l)),i&&cl(o.latestValues)&&Zc(e,o.latestValues))}t.x<rT&&t.x>iT&&(t.x=1),t.y<rT&&t.y>iT&&(t.y=1)}function Qc(e,t){e.min=e.min+t,e.max=e.max+t}function aT(e,t,n,i,a=.5){const o=$t(e.min,e.max,a);Ab(e,t,n,o,i)}function Zc(e,t){aT(e.x,t.x,t.scaleX,t.scale,t.originX),aT(e.y,t.y,t.scaleY,t.scale,t.originY)}function VM(e,t){return IM(oI(e.getBoundingClientRect(),t))}function cI(e,t,n){const i=VM(e,n),{scroll:a}=t;return a&&(Qc(i.x,a.offset.x),Qc(i.y,a.offset.y)),i}const sT=()=>({translate:0,scale:1,origin:0,originPoint:0}),Jc=()=>({x:sT(),y:sT()}),oT=()=>({min:0,max:0}),Wt=()=>({x:oT(),y:oT()}),Cb={current:null},HM={current:!1};function uI(){if(HM.current=!0,!!Mx)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Cb.current=e.matches;e.addEventListener("change",t),t()}else Cb.current=!1}const fI=new WeakMap;function dI(e,t,n){for(const i in t){const a=t[i],o=n[i];if(Bn(a))e.addValue(i,a);else if(Bn(o))e.addValue(i,su(a,{owner:e}));else if(o!==a)if(e.hasValue(i)){const l=e.getValue(i);l.liveStyle===!0?l.jump(a):l.hasAnimated||l.set(a)}else{const l=e.getStaticValue(i);e.addValue(i,su(l!==void 0?l:a,{owner:e}))}}for(const i in n)t[i]===void 0&&e.removeValue(i);return t}const lT=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class hI{scrapeMotionValuesFromProps(t,n,i){return{}}constructor({parent:t,props:n,presenceContext:i,reducedMotionConfig:a,blockInitialAnimation:o,visualState:l},u={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Yx,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 b=hi.now();this.renderScheduledAt<b&&(this.renderScheduledAt=b,Pt.render(this.render,!1,!0))};const{latestValues:f,renderState:h}=l;this.latestValues=f,this.baseTarget={...f},this.initialValues=n.initial?{...f}:{},this.renderState=h,this.parent=t,this.props=n,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=a,this.options=u,this.blockInitialAnimation=!!o,this.isControllingVariants=Kg(n),this.isVariantNode=CM(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:p,...m}=this.scrapeMotionValuesFromProps(n,{},this);for(const b in m){const w=m[b];f[b]!==void 0&&Bn(w)&&w.set(f[b])}}mount(t){this.current=t,fI.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,i)=>this.bindToMotionValue(i,n)),HM.current||uI(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Cb.current,this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),bo(this.notifyUpdate),bo(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const i=Ou.has(t);i&&this.onBindTransform&&this.onBindTransform();const a=n.on("change",l=>{this.latestValues[t]=l,this.props.onUpdate&&Pt.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let o;window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{a(),o&&o(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in ou){const n=ou[t];if(!n)continue;const{isEnabled:i,Feature:a}=n;if(!this.features[t]&&a&&i(this.props)&&(this.features[t]=new a(this)),this.features[t]){const o=this.features[t];o.isMounted?o.update():(o.mount(),o.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Wt()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let i=0;i<lT.length;i++){const a=lT[i];this.propEventSubscriptions[a]&&(this.propEventSubscriptions[a](),delete this.propEventSubscriptions[a]);const o="on"+a,l=t[o];l&&(this.propEventSubscriptions[a]=this.on(a,l))}this.prevMotionValues=dI(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const i=this.values.get(t);n!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return i===void 0&&n!==void 0&&(i=su(n===null?void 0:n,{owner:this}),this.addValue(t,i)),i}readValue(t,n){let i=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return i!=null&&(typeof i=="string"&&(k4(i)||z4(i))?i=parseFloat(i):!Az(i)&&xo.test(n)&&(i=yM(t,n)),this.setBaseTarget(t,Bn(i)?i.get():i)),Bn(i)?i.get():i}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){const{initial:n}=this.props;let i;if(typeof n=="string"||typeof n=="object"){const o=iw(this.props,n,this.presenceContext?.custom);o&&(i=o[t])}if(n&&i!==void 0)return i;const a=this.getBaseTargetFromProps(this.props,t);return a!==void 0&&!Bn(a)?a:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new kx),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){Xx.render(this.render)}}class qM extends hI{constructor(){super(...arguments),this.KeyframeResolver=hz}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:i}){delete n[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Bn(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function UM(e,{style:t,vars:n},i,a){const o=e.style;let l;for(l in t)o[l]=t[l];a?.applyProjectionStyles(o,i);for(l in n)o.setProperty(l,n[l])}function pI(e){return window.getComputedStyle(e)}class mI extends qM{constructor(){super(...arguments),this.type="html",this.renderInstance=UM}readValueFromInstance(t,n){if(Ou.has(n))return this.projection?.isProjecting?yb(n):D9(t,n);{const i=pI(t),a=(Ix(n)?i.getPropertyValue(n):i[n])||0;return typeof a=="string"?a.trim():a}}measureInstanceViewportBox(t,{transformPagePoint:n}){return VM(t,n)}build(t,n,i){ew(t,n,i.transformTemplate)}scrapeMotionValuesFromProps(t,n,i){return rw(t,n,i)}}const FM=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 gI(e,t,n,i){UM(e,t,void 0,i);for(const a in t.attrs)e.setAttribute(FM.has(a)?a:aw(a),t.attrs[a])}class vI extends qM{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Wt}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Ou.has(n)){const i=vM(n);return i&&i.default||0}return n=FM.has(n)?n:aw(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,i){return LM(t,n,i)}build(t,n,i){NM(t,n,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,n,i,a){gI(t,n,i,a)}mount(t){this.isSVGTag=DM(t.tagName),super.mount(t)}}const yI=(e,t)=>nw(e)?new vI(t):new mI(t,{allowProjection:e!==j.Fragment});function iu(e,t,n){const i=e.getProps();return iw(i,t,n!==void 0?n:i.custom,e)}const Ob=e=>Array.isArray(e);function bI(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,su(n))}function xI(e){return Ob(e)?e[e.length-1]||0:e}function wI(e,t){const n=iu(e,t);let{transitionEnd:i={},transition:a={},...o}=n||{};o={...o,...i};for(const l in o){const u=xI(o[l]);bI(e,l,u)}}function _I(e){return!!(Bn(e)&&e.add)}function Mb(e,t){const n=e.getValue("willChange");if(_I(n))return n.add(t);if(!n&&es.WillChange){const i=new es.WillChange("auto");e.addValue("willChange",i),i.add(t)}}function GM(e){return e.props[kM]}const EI=e=>e!==null;function SI(e,{repeat:t,repeatType:n="loop"},i){const a=e.filter(EI),o=t&&n!=="loop"&&t%2===1?0:a.length-1;return a[o]}const TI={type:"spring",stiffness:500,damping:25,restSpeed:10},AI=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),CI={type:"keyframes",duration:.8},OI={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},MI=(e,{keyframes:t})=>t.length>2?CI:Ou.has(e)?e.startsWith("scale")?AI(t[1]):TI:OI;function NI({when:e,delay:t,delayChildren:n,staggerChildren:i,staggerDirection:a,repeat:o,repeatType:l,repeatDelay:u,from:f,elapsed:h,...p}){return!!Object.keys(p).length}const sw=(e,t,n,i={},a,o)=>l=>{const u=Kx(i,e)||{},f=u.delay||i.delay||0;let{elapsed:h=0}=i;h=h-ta(f);const p={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...u,delay:-h,onUpdate:b=>{t.set(b),u.onUpdate&&u.onUpdate(b)},onComplete:()=>{l(),u.onComplete&&u.onComplete()},name:e,motionValue:t,element:o?void 0:a};NI(u)||Object.assign(p,MI(e,p)),p.duration&&(p.duration=ta(p.duration)),p.repeatDelay&&(p.repeatDelay=ta(p.repeatDelay)),p.from!==void 0&&(p.keyframes[0]=p.from);let m=!1;if((p.type===!1||p.duration===0&&!p.repeatDelay)&&(Eb(p),p.delay===0&&(m=!0)),(es.instantAnimations||es.skipAnimations)&&(m=!0,Eb(p),p.delay=0),p.allowFlatten=!u.type&&!u.ease,m&&!o&&t.get()!==void 0){const b=SI(p.keyframes,u);if(b!==void 0){Pt.update(()=>{p.onUpdate(b),p.onComplete()});return}}return u.isSync?new Gx(p):new tz(p)};function jI({protectedKeys:e,needsAnimating:t},n){const i=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,i}function YM(e,t,{delay:n=0,transitionOverride:i,type:a}={}){let{transition:o=e.getDefaultTransition(),transitionEnd:l,...u}=t;i&&(o=i);const f=[],h=a&&e.animationState&&e.animationState.getState()[a];for(const p in u){const m=e.getValue(p,e.latestValues[p]??null),b=u[p];if(b===void 0||h&&jI(h,p))continue;const w={delay:n,...Kx(o||{},p)},_=m.get();if(_!==void 0&&!m.isAnimating&&!Array.isArray(b)&&b===_&&!w.velocity)continue;let E=!1;if(window.MotionHandoffAnimation){const C=GM(e);if(C){const T=window.MotionHandoffAnimation(C,p,Pt);T!==null&&(w.startTime=T,E=!0)}}Mb(e,p),m.start(sw(p,m,b,e.shouldReduceMotion&&pM.has(p)?{type:!1}:w,e,E));const O=m.animation;O&&f.push(O)}return l&&Promise.all(f).then(()=>{Pt.update(()=>{l&&wI(e,l)})}),f}function KM(e,t,n,i=0,a=1){const o=Array.from(e).sort((h,p)=>h.sortNodePosition(p)).indexOf(t),l=e.size,u=(l-1)*i;return typeof n=="function"?n(o,l):a===1?o*i:u-o*i}function Nb(e,t,n={}){const i=iu(e,t,n.type==="exit"?e.presenceContext?.custom:void 0);let{transition:a=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(a=n.transitionOverride);const o=i?()=>Promise.all(YM(e,i,n)):()=>Promise.resolve(),l=e.variantChildren&&e.variantChildren.size?(f=0)=>{const{delayChildren:h=0,staggerChildren:p,staggerDirection:m}=a;return DI(e,t,f,h,p,m,n)}:()=>Promise.resolve(),{when:u}=a;if(u){const[f,h]=u==="beforeChildren"?[o,l]:[l,o];return f().then(()=>h())}else return Promise.all([o(),l(n.delay)])}function DI(e,t,n=0,i=0,a=0,o=1,l){const u=[];for(const f of e.variantChildren)f.notify("AnimationStart",t),u.push(Nb(f,t,{...l,delay:n+(typeof i=="function"?0:i)+KM(e.variantChildren,f,i,a,o)}).then(()=>f.notify("AnimationComplete",t)));return Promise.all(u)}function PI(e,t,n={}){e.notify("AnimationStart",t);let i;if(Array.isArray(t)){const a=t.map(o=>Nb(e,o,n));i=Promise.all(a)}else if(typeof t=="string")i=Nb(e,t,n);else{const a=typeof t=="function"?iu(e,t,n.custom):t;i=Promise.all(YM(e,a,n))}return i.then(()=>{e.notify("AnimationComplete",t)})}function WM(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}const LI=Jx.length;function XM(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?XM(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<LI;n++){const i=Jx[n],a=e.props[i];(Ld(a)||a===!1)&&(t[i]=a)}return t}const kI=[...Zx].reverse(),RI=Zx.length;function zI(e){return t=>Promise.all(t.map(({animation:n,options:i})=>PI(e,n,i)))}function II(e){let t=zI(e),n=cT(),i=!0;const a=f=>(h,p)=>{const m=iu(e,p,f==="exit"?e.presenceContext?.custom:void 0);if(m){const{transition:b,transitionEnd:w,..._}=m;h={...h,..._,...w}}return h};function o(f){t=f(e)}function l(f){const{props:h}=e,p=XM(e.parent)||{},m=[],b=new Set;let w={},_=1/0;for(let O=0;O<RI;O++){const C=kI[O],T=n[C],A=h[C]!==void 0?h[C]:p[C],k=Ld(A),D=C===f?T.isActive:null;D===!1&&(_=O);let R=A===p[C]&&A!==h[C]&&k;if(R&&i&&e.manuallyAnimateOnMount&&(R=!1),T.protectedKeys={...w},!T.isActive&&D===null||!A&&!T.prevProp||Yg(A)||typeof A=="boolean")continue;const B=$I(T.prevProp,A);let $=B||C===f&&T.isActive&&!R&&k||O>_&&k,F=!1;const X=Array.isArray(A)?A:[A];let H=X.reduce(a(C),{});D===!1&&(H={});const{prevResolvedValues:U={}}=T,se={...U,...H},ce=te=>{$=!0,b.has(te)&&(F=!0,b.delete(te)),T.needsAnimating[te]=!0;const re=e.getValue(te);re&&(re.liveStyle=!1)};for(const te in se){const re=H[te],pe=U[te];if(w.hasOwnProperty(te))continue;let z=!1;Ob(re)&&Ob(pe)?z=!WM(re,pe):z=re!==pe,z?re!=null?ce(te):b.add(te):re!==void 0&&b.has(te)?ce(te):T.protectedKeys[te]=!0}T.prevProp=A,T.prevResolvedValues=H,T.isActive&&(w={...w,...H}),i&&e.blockInitialAnimation&&($=!1);const ge=R&&B;$&&(!ge||F)&&m.push(...X.map(te=>{const re={type:C};if(typeof te=="string"&&i&&!ge&&e.manuallyAnimateOnMount&&e.parent){const{parent:pe}=e,z=iu(pe,te);if(pe.enteringChildren&&z){const{delayChildren:V}=z.transition||{};re.delay=KM(pe.enteringChildren,e,V)}}return{animation:te,options:re}}))}if(b.size){const O={};if(typeof h.initial!="boolean"){const C=iu(e,Array.isArray(h.initial)?h.initial[0]:h.initial);C&&C.transition&&(O.transition=C.transition)}b.forEach(C=>{const T=e.getBaseTarget(C),A=e.getValue(C);A&&(A.liveStyle=!0),O[C]=T??null}),m.push({animation:O})}let E=!!m.length;return i&&(h.initial===!1||h.initial===h.animate)&&!e.manuallyAnimateOnMount&&(E=!1),i=!1,E?t(m):Promise.resolve()}function u(f,h){if(n[f].isActive===h)return Promise.resolve();e.variantChildren?.forEach(m=>m.animationState?.setActive(f,h)),n[f].isActive=h;const p=l(f);for(const m in n)n[m].protectedKeys={};return p}return{animateChanges:l,setActive:u,setAnimateFunction:o,getState:()=>n,reset:()=>{n=cT(),i=!0}}}function $I(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!WM(t,e):!1}function ll(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function cT(){return{animate:ll(!0),whileInView:ll(),whileHover:ll(),whileTap:ll(),whileDrag:ll(),whileFocus:ll(),exit:ll()}}class So{constructor(t){this.isMounted=!1,this.node=t}update(){}}class BI extends So{constructor(t){super(t),t.animationState||(t.animationState=II(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Yg(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let VI=0;class HI extends So{constructor(){super(...arguments),this.id=VI++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;const a=this.node.animationState.setActive("exit",!t);n&&!t&&a.then(()=>{n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const qI={animation:{Feature:BI},exit:{Feature:HI}};function Rd(e,t,n,i={passive:!0}){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n)}function th(e){return{point:{x:e.pageX,y:e.pageY}}}const UI=e=>t=>Qx(t)&&e(t,th(t));function Td(e,t,n,i){return Rd(e,t,UI(n),i)}const QM=1e-4,FI=1-QM,GI=1+QM,ZM=.01,YI=0-ZM,KI=0+ZM;function Wn(e){return e.max-e.min}function WI(e,t,n){return Math.abs(e-t)<=n}function uT(e,t,n,i=.5){e.origin=i,e.originPoint=$t(t.min,t.max,e.origin),e.scale=Wn(n)/Wn(t),e.translate=$t(n.min,n.max,e.origin)-e.originPoint,(e.scale>=FI&&e.scale<=GI||isNaN(e.scale))&&(e.scale=1),(e.translate>=YI&&e.translate<=KI||isNaN(e.translate))&&(e.translate=0)}function Ad(e,t,n,i){uT(e.x,t.x,n.x,i?i.originX:void 0),uT(e.y,t.y,n.y,i?i.originY:void 0)}function fT(e,t,n){e.min=n.min+t.min,e.max=e.min+Wn(t)}function XI(e,t,n){fT(e.x,t.x,n.x),fT(e.y,t.y,n.y)}function dT(e,t,n){e.min=t.min-n.min,e.max=e.min+Wn(t)}function Cd(e,t,n){dT(e.x,t.x,n.x),dT(e.y,t.y,n.y)}function Qi(e){return[e("x"),e("y")]}const JM=({current:e})=>e?e.ownerDocument.defaultView:null,hT=(e,t)=>Math.abs(e-t);function QI(e,t){const n=hT(e.x,t.x),i=hT(e.y,t.y);return Math.sqrt(n**2+i**2)}class e5{constructor(t,n,{transformPagePoint:i,contextWindow:a=window,dragSnapToOrigin:o=!1,distanceThreshold:l=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const b=Ay(this.lastMoveEventInfo,this.history),w=this.startEvent!==null,_=QI(b.offset,{x:0,y:0})>=this.distanceThreshold;if(!w&&!_)return;const{point:E}=b,{timestamp:O}=Nn;this.history.push({...E,timestamp:O});const{onStart:C,onMove:T}=this.handlers;w||(C&&C(this.lastMoveEvent,b),this.startEvent=this.lastMoveEvent),T&&T(this.lastMoveEvent,b)},this.handlePointerMove=(b,w)=>{this.lastMoveEvent=b,this.lastMoveEventInfo=Ty(w,this.transformPagePoint),Pt.update(this.updatePoint,!0)},this.handlePointerUp=(b,w)=>{this.end();const{onEnd:_,onSessionEnd:E,resumeAnimation:O}=this.handlers;if(this.dragSnapToOrigin&&O&&O(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const C=Ay(b.type==="pointercancel"?this.lastMoveEventInfo:Ty(w,this.transformPagePoint),this.history);this.startEvent&&_&&_(b,C),E&&E(b,C)},!Qx(t))return;this.dragSnapToOrigin=o,this.handlers=n,this.transformPagePoint=i,this.distanceThreshold=l,this.contextWindow=a||window;const u=th(t),f=Ty(u,this.transformPagePoint),{point:h}=f,{timestamp:p}=Nn;this.history=[{...h,timestamp:p}];const{onSessionStart:m}=n;m&&m(t,Ay(f,this.history)),this.removeListeners=Zd(Td(this.contextWindow,"pointermove",this.handlePointerMove),Td(this.contextWindow,"pointerup",this.handlePointerUp),Td(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),bo(this.updatePoint)}}function Ty(e,t){return t?{point:t(e.point)}:e}function pT(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Ay({point:e},t){return{point:e,delta:pT(e,t5(t)),offset:pT(e,ZI(t)),velocity:JI(t,.1)}}function ZI(e){return e[0]}function t5(e){return e[e.length-1]}function JI(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,i=null;const a=t5(e);for(;n>=0&&(i=e[n],!(a.timestamp-i.timestamp>ta(t)));)n--;if(!i)return{x:0,y:0};const o=na(a.timestamp-i.timestamp);if(o===0)return{x:0,y:0};const l={x:(a.x-i.x)/o,y:(a.y-i.y)/o};return l.x===1/0&&(l.x=0),l.y===1/0&&(l.y=0),l}function e$(e,{min:t,max:n},i){return t!==void 0&&e<t?e=i?$t(t,e,i.min):Math.max(e,t):n!==void 0&&e>n&&(e=i?$t(n,e,i.max):Math.min(e,n)),e}function mT(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function t$(e,{top:t,left:n,bottom:i,right:a}){return{x:mT(e.x,n,a),y:mT(e.y,t,i)}}function gT(e,t){let n=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,i]=[i,n]),{min:n,max:i}}function n$(e,t){return{x:gT(e.x,t.x),y:gT(e.y,t.y)}}function i$(e,t){let n=.5;const i=Wn(e),a=Wn(t);return a>i?n=jd(t.min,t.max-i,e.min):i>a&&(n=jd(e.min,e.max-a,t.min)),Ja(0,1,n)}function r$(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const jb=.35;function a$(e=jb){return e===!1?e=0:e===!0&&(e=jb),{x:vT(e,"left","right"),y:vT(e,"top","bottom")}}function vT(e,t,n){return{min:yT(e,t),max:yT(e,n)}}function yT(e,t){return typeof e=="number"?e:e[t]||0}const s$=new WeakMap;class o${constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Wt(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:i}={}){const{presenceContext:a}=this.visualElement;if(a&&a.isPresent===!1)return;const o=m=>{const{dragSnapToOrigin:b}=this.getProps();b?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(th(m).point)},l=(m,b)=>{const{drag:w,dragPropagation:_,onDragStart:E}=this.getProps();if(w&&!_&&(this.openDragLock&&this.openDragLock(),this.openDragLock=yz(w),!this.openDragLock))return;this.latestPointerEvent=m,this.latestPanInfo=b,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Qi(C=>{let T=this.getAxisMotionValue(C).get()||0;if(ia.test(T)){const{projection:A}=this.visualElement;if(A&&A.layout){const k=A.layout.layoutBox[C];k&&(T=Wn(k)*(parseFloat(T)/100))}}this.originPoint[C]=T}),E&&Pt.postRender(()=>E(m,b)),Mb(this.visualElement,"transform");const{animationState:O}=this.visualElement;O&&O.setActive("whileDrag",!0)},u=(m,b)=>{this.latestPointerEvent=m,this.latestPanInfo=b;const{dragPropagation:w,dragDirectionLock:_,onDirectionLock:E,onDrag:O}=this.getProps();if(!w&&!this.openDragLock)return;const{offset:C}=b;if(_&&this.currentDirection===null){this.currentDirection=l$(C),this.currentDirection!==null&&E&&E(this.currentDirection);return}this.updateAxis("x",b.point,C),this.updateAxis("y",b.point,C),this.visualElement.render(),O&&O(m,b)},f=(m,b)=>{this.latestPointerEvent=m,this.latestPanInfo=b,this.stop(m,b),this.latestPointerEvent=null,this.latestPanInfo=null},h=()=>Qi(m=>this.getAnimationState(m)==="paused"&&this.getAxisMotionValue(m).animation?.play()),{dragSnapToOrigin:p}=this.getProps();this.panSession=new e5(t,{onSessionStart:o,onStart:l,onMove:u,onSessionEnd:f,resumeAnimation:h},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:p,distanceThreshold:i,contextWindow:JM(this.visualElement)})}stop(t,n){const i=t||this.latestPointerEvent,a=n||this.latestPanInfo,o=this.isDragging;if(this.cancel(),!o||!a||!i)return;const{velocity:l}=a;this.startAnimation(l);const{onDragEnd:u}=this.getProps();u&&Pt.postRender(()=>u(i,a))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,i){const{drag:a}=this.getProps();if(!i||!cm(t,a,this.currentDirection))return;const o=this.getAxisMotionValue(t);let l=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(l=e$(l,this.constraints[t],this.elastic[t])),o.set(l)}resolveConstraints(){const{dragConstraints:t,dragElastic:n}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,a=this.constraints;t&&Xc(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=t$(i.layoutBox,t):this.constraints=!1,this.elastic=a$(n),a!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&Qi(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=r$(i.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Xc(t))return!1;const i=t.current,{projection:a}=this.visualElement;if(!a||!a.layout)return!1;const o=cI(i,a.root,this.visualElement.getTransformPagePoint());let l=n$(a.layout.layoutBox,o);if(n){const u=n(sI(l));this.hasMutatedConstraints=!!u,u&&(l=IM(u))}return l}startAnimation(t){const{drag:n,dragMomentum:i,dragElastic:a,dragTransition:o,dragSnapToOrigin:l,onDragTransitionEnd:u}=this.getProps(),f=this.constraints||{},h=Qi(p=>{if(!cm(p,n,this.currentDirection))return;let m=f&&f[p]||{};l&&(m={min:0,max:0});const b=a?200:1e6,w=a?40:1e7,_={type:"inertia",velocity:i?t[p]:0,bounceStiffness:b,bounceDamping:w,timeConstant:750,restDelta:1,restSpeed:10,...o,...m};return this.startAxisValueAnimation(p,_)});return Promise.all(h).then(u)}startAxisValueAnimation(t,n){const i=this.getAxisMotionValue(t);return Mb(this.visualElement,t),i.start(sw(t,i,0,n,this.visualElement,!1))}stopAnimation(){Qi(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Qi(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps(),a=i[n];return a||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){Qi(n=>{const{drag:i}=this.getProps();if(!cm(n,i,this.currentDirection))return;const{projection:a}=this.visualElement,o=this.getAxisMotionValue(n);if(a&&a.layout){const{min:l,max:u}=a.layout.layoutBox[n];o.set(t[n]-$t(l,u,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:i}=this.visualElement;if(!Xc(n)||!i||!this.constraints)return;this.stopAnimation();const a={x:0,y:0};Qi(l=>{const u=this.getAxisMotionValue(l);if(u&&this.constraints!==!1){const f=u.get();a[l]=i$({min:f,max:f},this.constraints[l])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),Qi(l=>{if(!cm(l,t,null))return;const u=this.getAxisMotionValue(l),{min:f,max:h}=this.constraints[l];u.set($t(f,h,a[l]))})}addListeners(){if(!this.visualElement.current)return;s$.set(this.visualElement,this);const t=this.visualElement.current,n=Td(t,"pointerdown",f=>{const{drag:h,dragListener:p=!0}=this.getProps();h&&p&&this.start(f)}),i=()=>{const{dragConstraints:f}=this.getProps();Xc(f)&&f.current&&(this.constraints=this.resolveRefConstraints())},{projection:a}=this.visualElement,o=a.addEventListener("measure",i);a&&!a.layout&&(a.root&&a.root.updateScroll(),a.updateLayout()),Pt.read(i);const l=Rd(window,"resize",()=>this.scalePositionWithinConstraints()),u=a.addEventListener("didUpdate",(({delta:f,hasLayoutChanged:h})=>{this.isDragging&&h&&(Qi(p=>{const m=this.getAxisMotionValue(p);m&&(this.originPoint[p]+=f[p].translate,m.set(m.get()+f[p].translate))}),this.visualElement.render())}));return()=>{l(),n(),o(),u&&u()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:i=!1,dragPropagation:a=!1,dragConstraints:o=!1,dragElastic:l=jb,dragMomentum:u=!0}=t;return{...t,drag:n,dragDirectionLock:i,dragPropagation:a,dragConstraints:o,dragElastic:l,dragMomentum:u}}}function cm(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function l$(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class c$ extends So{constructor(t){super(t),this.removeGroupControls=tr,this.removeListeners=tr,this.controls=new o$(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tr}unmount(){this.removeGroupControls(),this.removeListeners()}}const bT=e=>(t,n)=>{e&&Pt.postRender(()=>e(t,n))};class u$ extends So{constructor(){super(...arguments),this.removePointerDownListener=tr}onPointerDown(t){this.session=new e5(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:JM(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:i,onPanEnd:a}=this.node.getProps();return{onSessionStart:bT(t),onStart:bT(n),onMove:i,onEnd:(o,l)=>{delete this.session,a&&Pt.postRender(()=>a(o,l))}}}mount(){this.removePointerDownListener=Td(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const zm={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function xT(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const ld={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(qe.test(e))e=parseFloat(e);else return e;const n=xT(e,t.target.x),i=xT(e,t.target.y);return`${n}% ${i}%`}},f$={correct:(e,{treeScale:t,projectionDelta:n})=>{const i=e,a=xo.parse(e);if(a.length>5)return i;const o=xo.createTransformer(e),l=typeof a[0]!="number"?1:0,u=n.x.scale*t.x,f=n.y.scale*t.y;a[0+l]/=u,a[1+l]/=f;const h=$t(u,f,.5);return typeof a[2+l]=="number"&&(a[2+l]/=h),typeof a[3+l]=="number"&&(a[3+l]/=h),o(a)}};let Cy=!1;class d$ extends j.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:i,layoutId:a}=this.props,{projection:o}=t;Lz(h$),o&&(n.group&&n.group.add(o),i&&i.register&&a&&i.register(o),Cy&&o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),zm.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:i,drag:a,isPresent:o}=this.props,{projection:l}=i;return l&&(l.isPresent=o,Cy=!0,a||t.layoutDependency!==n||n===void 0||t.isPresent!==o?l.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?l.promote():l.relegate()||Pt.postRender(()=>{const u=l.getStack();(!u||!u.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Xx.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:i}=this.props,{projection:a}=t;Cy=!0,a&&(a.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(a),i&&i.deregister&&i.deregister(a))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function n5(e){const[t,n]=Cz(),i=j.useContext(L4);return v.jsx(d$,{...e,layoutGroup:i,switchLayoutGroup:j.useContext(RM),isPresent:t,safeToRemove:n})}const h$={borderRadius:{...ld,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ld,borderTopRightRadius:ld,borderBottomLeftRadius:ld,borderBottomRightRadius:ld,boxShadow:f$};function p$(e,t,n){const i=Bn(e)?e:su(e);return i.start(sw("",i,t,n)),i.animation}const m$=(e,t)=>e.depth-t.depth;class g${constructor(){this.children=[],this.isDirty=!1}add(t){jx(this.children,t),this.isDirty=!0}remove(t){Dx(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(m$),this.isDirty=!1,this.children.forEach(t)}}function v$(e,t){const n=hi.now(),i=({timestamp:a})=>{const o=a-n;o>=t&&(bo(i),e(o-t))};return Pt.setup(i,!0),()=>bo(i)}const i5=["TopLeft","TopRight","BottomLeft","BottomRight"],y$=i5.length,wT=e=>typeof e=="string"?parseFloat(e):e,_T=e=>typeof e=="number"||qe.test(e);function b$(e,t,n,i,a,o){a?(e.opacity=$t(0,n.opacity??1,x$(i)),e.opacityExit=$t(t.opacity??1,0,w$(i))):o&&(e.opacity=$t(t.opacity??1,n.opacity??1,i));for(let l=0;l<y$;l++){const u=`border${i5[l]}Radius`;let f=ET(t,u),h=ET(n,u);if(f===void 0&&h===void 0)continue;f||(f=0),h||(h=0),f===0||h===0||_T(f)===_T(h)?(e[u]=Math.max($t(wT(f),wT(h),i),0),(ia.test(h)||ia.test(f))&&(e[u]+="%")):e[u]=h}(t.rotate||n.rotate)&&(e.rotate=$t(t.rotate||0,n.rotate||0,i))}function ET(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const x$=r5(0,.5,F4),w$=r5(.5,.95,tr);function r5(e,t,n){return i=>i<e?0:i>t?1:n(jd(e,t,i))}function ST(e,t){e.min=t.min,e.max=t.max}function Yi(e,t){ST(e.x,t.x),ST(e.y,t.y)}function TT(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function AT(e,t,n,i,a){return e-=t,e=ig(e,1/n,i),a!==void 0&&(e=ig(e,1/a,i)),e}function _$(e,t=0,n=1,i=.5,a,o=e,l=e){if(ia.test(t)&&(t=parseFloat(t),t=$t(l.min,l.max,t/100)-l.min),typeof t!="number")return;let u=$t(o.min,o.max,i);e===o&&(u-=t),e.min=AT(e.min,t,n,u,a),e.max=AT(e.max,t,n,u,a)}function CT(e,t,[n,i,a],o,l){_$(e,t[n],t[i],t[a],t.scale,o,l)}const E$=["x","scaleX","originX"],S$=["y","scaleY","originY"];function OT(e,t,n,i){CT(e.x,t,E$,n?n.x:void 0,i?i.x:void 0),CT(e.y,t,S$,n?n.y:void 0,i?i.y:void 0)}function MT(e){return e.translate===0&&e.scale===1}function a5(e){return MT(e.x)&&MT(e.y)}function NT(e,t){return e.min===t.min&&e.max===t.max}function T$(e,t){return NT(e.x,t.x)&&NT(e.y,t.y)}function jT(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function s5(e,t){return jT(e.x,t.x)&&jT(e.y,t.y)}function DT(e){return Wn(e.x)/Wn(e.y)}function PT(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class A${constructor(){this.members=[]}add(t){jx(this.members,t),t.scheduleRender()}remove(t){if(Dx(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(a=>t===a);if(n===0)return!1;let i;for(let a=n;a>=0;a--){const o=this.members[a];if(o.isPresent!==!1){i=o;break}}return i?(this.promote(i),!0):!1}promote(t,n){const i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,n&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:a}=t.options;a===!1&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:i}=t;n.onExitComplete&&n.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function C$(e,t,n){let i="";const a=e.x.translate/t.x,o=e.y.translate/t.y,l=n?.z||0;if((a||o||l)&&(i=`translate3d(${a}px, ${o}px, ${l}px) `),(t.x!==1||t.y!==1)&&(i+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:h,rotate:p,rotateX:m,rotateY:b,skewX:w,skewY:_}=n;h&&(i=`perspective(${h}px) ${i}`),p&&(i+=`rotate(${p}deg) `),m&&(i+=`rotateX(${m}deg) `),b&&(i+=`rotateY(${b}deg) `),w&&(i+=`skewX(${w}deg) `),_&&(i+=`skewY(${_}deg) `)}const u=e.x.scale*t.x,f=e.y.scale*t.y;return(u!==1||f!==1)&&(i+=`scale(${u}, ${f})`),i||"none"}const Oy=["","X","Y","Z"],O$=1e3;let M$=0;function My(e,t,n,i){const{latestValues:a}=t;a[e]&&(n[e]=a[e],t.setStaticValue(e,0),i&&(i[e]=0))}function o5(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=GM(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:a,layoutId:o}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",Pt,!(a||o))}const{parent:i}=e;i&&!i.hasCheckedOptimisedAppear&&o5(i)}function l5({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:i,resetTransform:a}){return class{constructor(l={},u=t?.()){this.id=M$++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.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(D$),this.nodes.forEach(R$),this.nodes.forEach(z$),this.nodes.forEach(P$)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=l,this.root=u?u.root||u:this,this.path=u?[...u.path,u]:[],this.parent=u,this.depth=u?u.depth+1:0;for(let f=0;f<this.path.length;f++)this.path[f].shouldResetTransform=!0;this.root===this&&(this.nodes=new g$)}addEventListener(l,u){return this.eventHandlers.has(l)||this.eventHandlers.set(l,new kx),this.eventHandlers.get(l).add(u)}notifyListeners(l,...u){const f=this.eventHandlers.get(l);f&&f.notify(...u)}hasListeners(l){return this.eventHandlers.has(l)}mount(l){if(this.instance)return;this.isSVG=EM(l)&&!Sz(l),this.instance=l;const{layoutId:u,layout:f,visualElement:h}=this.options;if(h&&!h.current&&h.mount(l),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(f||u)&&(this.isLayoutDirty=!0),e){let p,m=0;const b=()=>this.root.updateBlockedByResize=!1;Pt.read(()=>{m=window.innerWidth}),e(l,()=>{const w=window.innerWidth;w!==m&&(m=w,this.root.updateBlockedByResize=!0,p&&p(),p=v$(b,250),zm.hasAnimatedSinceResize&&(zm.hasAnimatedSinceResize=!1,this.nodes.forEach(RT)))})}u&&this.root.registerSharedNode(u,this),this.options.animate!==!1&&h&&(u||f)&&this.addEventListener("didUpdate",({delta:p,hasLayoutChanged:m,hasRelativeLayoutChanged:b,layout:w})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const _=this.options.transition||h.getDefaultTransition()||H$,{onLayoutAnimationStart:E,onLayoutAnimationComplete:O}=h.getProps(),C=!this.targetLayout||!s5(this.targetLayout,w),T=!m&&b;if(this.options.layoutRoot||this.resumeFrom||T||m&&(C||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const A={...Kx(_,"layout"),onPlay:E,onComplete:O};(h.shouldReduceMotion||this.options.layoutRoot)&&(A.delay=0,A.type=!1),this.startAnimation(A),this.setAnimationOrigin(p,T)}else m||RT(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=w})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const l=this.getStack();l&&l.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),bo(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(I$),this.animationId++)}getTransformTemplate(){const{visualElement:l}=this.options;return l&&l.getProps().transformTemplate}willUpdate(l=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&o5(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let p=0;p<this.path.length;p++){const m=this.path[p];m.shouldResetTransform=!0,m.updateScroll("snapshot"),m.options.layoutRoot&&m.willUpdate(!1)}const{layoutId:u,layout:f}=this.options;if(u===void 0&&!f)return;const h=this.getTransformTemplate();this.prevTransformTemplateValue=h?h(this.latestValues,""):void 0,this.updateSnapshot(),l&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(LT);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(kT);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(k$),this.nodes.forEach(N$),this.nodes.forEach(j$)):this.nodes.forEach(kT),this.clearAllSnapshots();const u=hi.now();Nn.delta=Ja(0,1e3/60,u-Nn.timestamp),Nn.timestamp=u,Nn.isProcessing=!0,vy.update.process(Nn),vy.preRender.process(Nn),vy.render.process(Nn),Nn.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Xx.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(L$),this.sharedNodes.forEach($$)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Pt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Pt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Wn(this.snapshot.measuredBox.x)&&!Wn(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 f=0;f<this.path.length;f++)this.path[f].updateScroll();const l=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Wt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:u}=this.options;u&&u.notify("LayoutMeasure",this.layout.layoutBox,l?l.layoutBox:void 0)}updateScroll(l="measure"){let u=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===l&&(u=!1),u&&this.instance){const f=i(this.instance);this.scroll={animationId:this.root.animationId,phase:l,isRoot:f,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:f}}}resetTransform(){if(!a)return;const l=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,u=this.projectionDelta&&!a5(this.projectionDelta),f=this.getTransformTemplate(),h=f?f(this.latestValues,""):void 0,p=h!==this.prevTransformTemplateValue;l&&this.instance&&(u||cl(this.latestValues)||p)&&(a(this.instance,h),this.shouldResetTransform=!1,this.scheduleRender())}measure(l=!0){const u=this.measurePageBox();let f=this.removeElementScroll(u);return l&&(f=this.removeTransform(f)),q$(f),{animationId:this.root.animationId,measuredBox:u,layoutBox:f,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:l}=this.options;if(!l)return Wt();const u=l.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(U$))){const{scroll:h}=this.root;h&&(Qc(u.x,h.offset.x),Qc(u.y,h.offset.y))}return u}removeElementScroll(l){const u=Wt();if(Yi(u,l),this.scroll?.wasRoot)return u;for(let f=0;f<this.path.length;f++){const h=this.path[f],{scroll:p,options:m}=h;h!==this.root&&p&&m.layoutScroll&&(p.wasRoot&&Yi(u,l),Qc(u.x,p.offset.x),Qc(u.y,p.offset.y))}return u}applyTransform(l,u=!1){const f=Wt();Yi(f,l);for(let h=0;h<this.path.length;h++){const p=this.path[h];!u&&p.options.layoutScroll&&p.scroll&&p!==p.root&&Zc(f,{x:-p.scroll.offset.x,y:-p.scroll.offset.y}),cl(p.latestValues)&&Zc(f,p.latestValues)}return cl(this.latestValues)&&Zc(f,this.latestValues),f}removeTransform(l){const u=Wt();Yi(u,l);for(let f=0;f<this.path.length;f++){const h=this.path[f];if(!h.instance||!cl(h.latestValues))continue;Tb(h.latestValues)&&h.updateSnapshot();const p=Wt(),m=h.measurePageBox();Yi(p,m),OT(u,h.latestValues,h.snapshot?h.snapshot.layoutBox:void 0,p)}return cl(this.latestValues)&&OT(u,this.latestValues),u}setTargetDelta(l){this.targetDelta=l,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(l){this.options={...this.options,...l,crossfade:l.crossfade!==void 0?l.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!==Nn.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(l=!1){const u=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=u.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=u.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=u.isSharedProjectionDirty);const f=!!this.resumingFrom||this!==u;if(!(l||f&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:p,layoutId:m}=this.options;if(!(!this.layout||!(p||m))){if(this.resolvedRelativeTargetAt=Nn.timestamp,!this.targetDelta&&!this.relativeTarget){const b=this.getClosestProjectingParent();b&&b.layout&&this.animationProgress!==1?(this.relativeParent=b,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Wt(),this.relativeTargetOrigin=Wt(),Cd(this.relativeTargetOrigin,this.layout.layoutBox,b.layout.layoutBox),Yi(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Wt(),this.targetWithTransforms=Wt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),XI(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Yi(this.target,this.layout.layoutBox),BM(this.target,this.targetDelta)):Yi(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const b=this.getClosestProjectingParent();b&&!!b.resumingFrom==!!this.resumingFrom&&!b.options.layoutScroll&&b.target&&this.animationProgress!==1?(this.relativeParent=b,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Wt(),this.relativeTargetOrigin=Wt(),Cd(this.relativeTargetOrigin,this.target,b.target),Yi(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||Tb(this.parent.latestValues)||$M(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){const l=this.getLead(),u=!!this.resumingFrom||this!==l;let f=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(f=!1),u&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(f=!1),this.resolvedRelativeTargetAt===Nn.timestamp&&(f=!1),f)return;const{layout:h,layoutId:p}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(h||p))return;Yi(this.layoutCorrected,this.layout.layoutBox);const m=this.treeScale.x,b=this.treeScale.y;lI(this.layoutCorrected,this.treeScale,this.path,u),l.layout&&!l.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(l.target=l.layout.layoutBox,l.targetWithTransforms=Wt());const{target:w}=l;if(!w){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(TT(this.prevProjectionDelta.x,this.projectionDelta.x),TT(this.prevProjectionDelta.y,this.projectionDelta.y)),Ad(this.projectionDelta,this.layoutCorrected,w,this.latestValues),(this.treeScale.x!==m||this.treeScale.y!==b||!PT(this.projectionDelta.x,this.prevProjectionDelta.x)||!PT(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",w))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(l=!0){if(this.options.visualElement?.scheduleRender(),l){const u=this.getStack();u&&u.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Jc(),this.projectionDelta=Jc(),this.projectionDeltaWithTransform=Jc()}setAnimationOrigin(l,u=!1){const f=this.snapshot,h=f?f.latestValues:{},p={...this.latestValues},m=Jc();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!u;const b=Wt(),w=f?f.source:void 0,_=this.layout?this.layout.source:void 0,E=w!==_,O=this.getStack(),C=!O||O.members.length<=1,T=!!(E&&!C&&this.options.crossfade===!0&&!this.path.some(V$));this.animationProgress=0;let A;this.mixTargetDelta=k=>{const D=k/1e3;zT(m.x,l.x,D),zT(m.y,l.y,D),this.setTargetDelta(m),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Cd(b,this.layout.layoutBox,this.relativeParent.layout.layoutBox),B$(this.relativeTarget,this.relativeTargetOrigin,b,D),A&&T$(this.relativeTarget,A)&&(this.isProjectionDirty=!1),A||(A=Wt()),Yi(A,this.relativeTarget)),E&&(this.animationValues=p,b$(p,h,this.latestValues,D,T,C)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=D},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(l){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(bo(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Pt.update(()=>{zm.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=su(0)),this.currentAnimation=p$(this.motionValue,[0,1e3],{...l,velocity:0,isSync:!0,onUpdate:u=>{this.mixTargetDelta(u),l.onUpdate&&l.onUpdate(u)},onStop:()=>{},onComplete:()=>{l.onComplete&&l.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 l=this.getStack();l&&l.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(O$),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const l=this.getLead();let{targetWithTransforms:u,target:f,layout:h,latestValues:p}=l;if(!(!u||!f||!h)){if(this!==l&&this.layout&&h&&c5(this.options.animationType,this.layout.layoutBox,h.layoutBox)){f=this.target||Wt();const m=Wn(this.layout.layoutBox.x);f.x.min=l.target.x.min,f.x.max=f.x.min+m;const b=Wn(this.layout.layoutBox.y);f.y.min=l.target.y.min,f.y.max=f.y.min+b}Yi(u,f),Zc(u,p),Ad(this.projectionDeltaWithTransform,this.layoutCorrected,u,p)}}registerSharedNode(l,u){this.sharedNodes.has(l)||this.sharedNodes.set(l,new A$),this.sharedNodes.get(l).add(u);const h=u.options.initialPromotionConfig;u.promote({transition:h?h.transition:void 0,preserveFollowOpacity:h&&h.shouldPreserveFollowOpacity?h.shouldPreserveFollowOpacity(u):void 0})}isLead(){const l=this.getStack();return l?l.lead===this:!0}getLead(){const{layoutId:l}=this.options;return l?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:l}=this.options;return l?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:l}=this.options;if(l)return this.root.sharedNodes.get(l)}promote({needsReset:l,transition:u,preserveFollowOpacity:f}={}){const h=this.getStack();h&&h.promote(this,f),l&&(this.projectionDelta=void 0,this.needsReset=!0),u&&this.setOptions({transition:u})}relegate(){const l=this.getStack();return l?l.relegate(this):!1}resetSkewAndRotation(){const{visualElement:l}=this.options;if(!l)return;let u=!1;const{latestValues:f}=l;if((f.z||f.rotate||f.rotateX||f.rotateY||f.rotateZ||f.skewX||f.skewY)&&(u=!0),!u)return;const h={};f.z&&My("z",l,h,this.animationValues);for(let p=0;p<Oy.length;p++)My(`rotate${Oy[p]}`,l,h,this.animationValues),My(`skew${Oy[p]}`,l,h,this.animationValues);l.render();for(const p in h)l.setStaticValue(p,h[p]),this.animationValues&&(this.animationValues[p]=h[p]);l.scheduleRender()}applyProjectionStyles(l,u){if(!this.instance||this.isSVG)return;if(!this.isVisible){l.visibility="hidden";return}const f=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,l.visibility="",l.opacity="",l.pointerEvents=Rm(u?.pointerEvents)||"",l.transform=f?f(this.latestValues,""):"none";return}const h=this.getLead();if(!this.projectionDelta||!this.layout||!h.target){this.options.layoutId&&(l.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,l.pointerEvents=Rm(u?.pointerEvents)||""),this.hasProjected&&!cl(this.latestValues)&&(l.transform=f?f({},""):"none",this.hasProjected=!1);return}l.visibility="";const p=h.animationValues||h.latestValues;this.applyTransformsToTarget();let m=C$(this.projectionDeltaWithTransform,this.treeScale,p);f&&(m=f(p,m)),l.transform=m;const{x:b,y:w}=this.projectionDelta;l.transformOrigin=`${b.origin*100}% ${w.origin*100}% 0`,h.animationValues?l.opacity=h===this?p.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:p.opacityExit:l.opacity=h===this?p.opacity!==void 0?p.opacity:"":p.opacityExit!==void 0?p.opacityExit:0;for(const _ in kd){if(p[_]===void 0)continue;const{correct:E,applyTo:O,isCSSVariable:C}=kd[_],T=m==="none"?p[_]:E(p[_],h);if(O){const A=O.length;for(let k=0;k<A;k++)l[O[k]]=T}else C?this.options.visualElement.renderState.vars[_]=T:l[_]=T}this.options.layoutId&&(l.pointerEvents=h===this?Rm(u?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(l=>l.currentAnimation?.stop()),this.root.nodes.forEach(LT),this.root.sharedNodes.clear()}}}function N$(e){e.updateLayout()}function j$(e){const t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:i}=e.layout,{animationType:a}=e.options,o=t.source!==e.layout.source;a==="size"?Qi(p=>{const m=o?t.measuredBox[p]:t.layoutBox[p],b=Wn(m);m.min=n[p].min,m.max=m.min+b}):c5(a,t.layoutBox,n)&&Qi(p=>{const m=o?t.measuredBox[p]:t.layoutBox[p],b=Wn(n[p]);m.max=m.min+b,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[p].max=e.relativeTarget[p].min+b)});const l=Jc();Ad(l,n,t.layoutBox);const u=Jc();o?Ad(u,e.applyTransform(i,!0),t.measuredBox):Ad(u,n,t.layoutBox);const f=!a5(l);let h=!1;if(!e.resumeFrom){const p=e.getClosestProjectingParent();if(p&&!p.resumeFrom){const{snapshot:m,layout:b}=p;if(m&&b){const w=Wt();Cd(w,t.layoutBox,m.layoutBox);const _=Wt();Cd(_,n,b.layoutBox),s5(w,_)||(h=!0),p.options.layoutRoot&&(e.relativeTarget=_,e.relativeTargetOrigin=w,e.relativeParent=p)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:t,delta:u,layoutDelta:l,hasLayoutChanged:f,hasRelativeLayoutChanged:h})}else if(e.isLead()){const{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function D$(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 P$(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function L$(e){e.clearSnapshot()}function LT(e){e.clearMeasurements()}function kT(e){e.isLayoutDirty=!1}function k$(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function RT(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function R$(e){e.resolveTargetDelta()}function z$(e){e.calcProjection()}function I$(e){e.resetSkewAndRotation()}function $$(e){e.removeLeadSnapshot()}function zT(e,t,n){e.translate=$t(t.translate,0,n),e.scale=$t(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function IT(e,t,n,i){e.min=$t(t.min,n.min,i),e.max=$t(t.max,n.max,i)}function B$(e,t,n,i){IT(e.x,t.x,n.x,i),IT(e.y,t.y,n.y,i)}function V$(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const H$={duration:.45,ease:[.4,0,.1,1]},$T=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),BT=$T("applewebkit/")&&!$T("chrome/")?Math.round:tr;function VT(e){e.min=BT(e.min),e.max=BT(e.max)}function q$(e){VT(e.x),VT(e.y)}function c5(e,t,n){return e==="position"||e==="preserve-aspect"&&!WI(DT(t),DT(n),.2)}function U$(e){return e!==e.root&&e.scroll?.wasRoot}const F$=l5({attachResizeListener:(e,t)=>Rd(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Ny={current:void 0},u5=l5({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Ny.current){const e=new F$({});e.mount(window),e.setOptions({layoutScroll:!0}),Ny.current=e}return Ny.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),G$={pan:{Feature:u$},drag:{Feature:c$,ProjectionNode:u5,MeasureLayout:n5}};function HT(e,t,n){const{props:i}=e;e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",n==="Start");const a="onHover"+n,o=i[a];o&&Pt.postRender(()=>o(t,th(t)))}class Y$ extends So{mount(){const{current:t}=this.node;t&&(this.unmount=bz(t,(n,i)=>(HT(this.node,i,"Start"),a=>HT(this.node,a,"End"))))}unmount(){}}class K$ extends So{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Zd(Rd(this.node.current,"focus",()=>this.onFocus()),Rd(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function qT(e,t,n){const{props:i}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&i.whileTap&&e.animationState.setActive("whileTap",n==="Start");const a="onTap"+(n==="End"?"":n),o=i[a];o&&Pt.postRender(()=>o(t,th(t)))}class W$ extends So{mount(){const{current:t}=this.node;t&&(this.unmount=Ez(t,(n,i)=>(qT(this.node,i,"Start"),(a,{success:o})=>qT(this.node,a,o?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Db=new WeakMap,jy=new WeakMap,X$=e=>{const t=Db.get(e.target);t&&t(e)},Q$=e=>{e.forEach(X$)};function Z$({root:e,...t}){const n=e||document;jy.has(n)||jy.set(n,{});const i=jy.get(n),a=JSON.stringify(t);return i[a]||(i[a]=new IntersectionObserver(Q$,{root:e,...t})),i[a]}function J$(e,t,n){const i=Z$(t);return Db.set(e,n),i.observe(e),()=>{Db.delete(e),i.unobserve(e)}}const eB={some:0,all:1};class tB extends So{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:i,amount:a="some",once:o}=t,l={root:n?n.current:void 0,rootMargin:i,threshold:typeof a=="number"?a:eB[a]},u=f=>{const{isIntersecting:h}=f;if(this.isInView===h||(this.isInView=h,o&&!h&&this.hasEnteredView))return;h&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",h);const{onViewportEnter:p,onViewportLeave:m}=this.node.getProps(),b=h?p:m;b&&b(f)};return J$(this.node.current,l,u)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(nB(t,n))&&this.startObserver()}unmount(){}}function nB({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const iB={inView:{Feature:tB},tap:{Feature:W$},focus:{Feature:K$},hover:{Feature:Y$}},rB={layout:{ProjectionNode:u5,MeasureLayout:n5}},aB={...qI,...iB,...G$,...rB},Qr=aI(aB,yI),sB=()=>{const{openEnquiry:e}=KO();return v.jsx("section",{className:"hero-section",children:v.jsx("div",{className:"container",children:v.jsxs("div",{className:"row hero-content",children:[v.jsx("div",{className:"col-lg-6 order-2 order-md-1",children:v.jsxs(Qr.div,{className:"hero-content",initial:{opacity:0,x:-50},animate:{opacity:1,x:0},transition:{duration:.8},children:[v.jsx(Qr.h5,{className:"hero-subtitle",initial:{opacity:0,y:-20},animate:{opacity:1,y:0},transition:{delay:.2,duration:.6},children:"Your Gateway to Global Education"}),v.jsxs(Qr.h1,{className:"hero-title",initial:{opacity:0,y:-30},animate:{opacity:1,y:0},transition:{delay:.4,duration:.8},children:["Study Abroad With ",v.jsx("span",{className:"text-primary-color",children:"UC Global"})]}),v.jsx(Qr.p,{className:"hero-description",initial:{opacity:0},animate:{opacity:1},transition:{delay:.6,duration:.8},children:"We provide expert guidance to help you achieve your dreams of studying abroad. With personalized counseling and end-to-end support, we make your journey to international education seamless and successful."}),v.jsx(Qr.div,{className:"hero-cta",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.8,duration:.8},children:v.jsx(Qr.button,{className:"btn btn-consultancy mb-4",whileHover:{scale:1.05},whileTap:{scale:.95},onClick:e,children:"Free Consultation"})})]})}),v.jsx("div",{className:"col-lg-6 order-1 order-md-2 imagebox",children:v.jsxs(Qr.div,{className:"hero-image-container",initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{delay:1,duration:.8},children:[v.jsx("img",{src:CR,alt:"Students studying abroad",className:"hero-image"}),v.jsx(Qr.div,{className:"floating-svg svg-1",animate:{y:[0,-15,0]},transition:{duration:3,repeat:1/0},children:v.jsx(ob,{size:35,color:"#016eb6"})}),v.jsx(Qr.div,{className:"floating-svg svg-2",animate:{y:[0,-20,0]},transition:{duration:4,repeat:1/0},children:v.jsx(a4,{size:35,color:"#016eb6"})}),v.jsx(Qr.div,{className:"floating-svg svg-3",animate:{y:[0,-18,0]},transition:{duration:3.5,repeat:1/0},children:v.jsx(n4,{size:35,color:"#016eb6"})})]})})]})})})};var Im={exports:{}},oB=Im.exports,UT;function lB(){return UT||(UT=1,(function(e,t){(function(n,i){e.exports=i()})(oB,function(){return(function(n){function i(o){if(a[o])return a[o].exports;var l=a[o]={exports:{},id:o,loaded:!1};return n[o].call(l.exports,l,l.exports,i),l.loaded=!0,l.exports}var a={};return i.m=n,i.c=a,i.p="dist/",i(0)})([function(n,i,a){function o(ce){return ce&&ce.__esModule?ce:{default:ce}}var l=Object.assign||function(ce){for(var ge=1;ge<arguments.length;ge++){var q=arguments[ge];for(var te in q)Object.prototype.hasOwnProperty.call(q,te)&&(ce[te]=q[te])}return ce},u=a(1),f=(o(u),a(6)),h=o(f),p=a(7),m=o(p),b=a(8),w=o(b),_=a(9),E=o(_),O=a(10),C=o(O),T=a(11),A=o(T),k=a(14),D=o(k),R=[],B=!1,$={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,startEvent:"DOMContentLoaded",throttleDelay:99,debounceDelay:50,disableMutationObserver:!1},F=function(){var ce=arguments.length>0&&arguments[0]!==void 0&&arguments[0];if(ce&&(B=!0),B)return R=(0,A.default)(R,$),(0,C.default)(R,$.once),R},X=function(){R=(0,D.default)(),F()},H=function(){R.forEach(function(ce,ge){ce.node.removeAttribute("data-aos"),ce.node.removeAttribute("data-aos-easing"),ce.node.removeAttribute("data-aos-duration"),ce.node.removeAttribute("data-aos-delay")})},U=function(ce){return ce===!0||ce==="mobile"&&E.default.mobile()||ce==="phone"&&E.default.phone()||ce==="tablet"&&E.default.tablet()||typeof ce=="function"&&ce()===!0},se=function(ce){$=l($,ce),R=(0,D.default)();var ge=document.all&&!window.atob;return U($.disable)||ge?H():($.disableMutationObserver||w.default.isSupported()||(console.info(` aos: MutationObserver is not supported on this browser, code mutations observing has been disabled. You may have to call "refreshHard()" by yourself. `),$.disableMutationObserver=!0),document.querySelector("body").setAttribute("data-aos-easing",$.easing),document.querySelector("body").setAttribute("data-aos-duration",$.duration),document.querySelector("body").setAttribute("data-aos-delay",$.delay),$.startEvent==="DOMContentLoaded"&&["complete","interactive"].indexOf(document.readyState)>-1?F(!0):$.startEvent==="load"?window.addEventListener($.startEvent,function(){F(!0)}):document.addEventListener($.startEvent,function(){F(!0)}),window.addEventListener("resize",(0,m.default)(F,$.debounceDelay,!0)),window.addEventListener("orientationchange",(0,m.default)(F,$.debounceDelay,!0)),window.addEventListener("scroll",(0,h.default)(function(){(0,C.default)(R,$.once)},$.throttleDelay)),$.disableMutationObserver||w.default.ready("[data-aos]",X),R)};n.exports={init:se,refresh:F,refreshHard:X}},function(n,i){},,,,,function(n,i){(function(a){function o(U,se,ce){function ge(Te){var tt=we,at=Ce;return we=Ce=void 0,De=Te,Ie=U.apply(at,tt)}function q(Te){return De=Te,Ne=setTimeout(pe,se),Pe?ge(Te):Ie}function te(Te){var tt=Te-ne,at=Te-De,ct=se-tt;return he?X(ct,Ee-at):ct}function re(Te){var tt=Te-ne,at=Te-De;return ne===void 0||tt>=se||tt<0||he&&at>=Ee}function pe(){var Te=H();return re(Te)?z(Te):void(Ne=setTimeout(pe,te(Te)))}function z(Te){return Ne=void 0,Ue&&we?ge(Te):(we=Ce=void 0,Ie)}function V(){Ne!==void 0&&clearTimeout(Ne),De=0,we=ne=Ce=Ne=void 0}function oe(){return Ne===void 0?Ie:z(H())}function ve(){var Te=H(),tt=re(Te);if(we=arguments,Ce=this,ne=Te,tt){if(Ne===void 0)return q(ne);if(he)return Ne=setTimeout(pe,se),ge(ne)}return Ne===void 0&&(Ne=setTimeout(pe,se)),Ie}var we,Ce,Ee,Ie,Ne,ne,De=0,Pe=!1,he=!1,Ue=!0;if(typeof U!="function")throw new TypeError(b);return se=p(se)||0,u(ce)&&(Pe=!!ce.leading,he="maxWait"in ce,Ee=he?F(p(ce.maxWait)||0,se):Ee,Ue="trailing"in ce?!!ce.trailing:Ue),ve.cancel=V,ve.flush=oe,ve}function l(U,se,ce){var ge=!0,q=!0;if(typeof U!="function")throw new TypeError(b);return u(ce)&&(ge="leading"in ce?!!ce.leading:ge,q="trailing"in ce?!!ce.trailing:q),o(U,se,{leading:ge,maxWait:se,trailing:q})}function u(U){var se=typeof U>"u"?"undefined":m(U);return!!U&&(se=="object"||se=="function")}function f(U){return!!U&&(typeof U>"u"?"undefined":m(U))=="object"}function h(U){return(typeof U>"u"?"undefined":m(U))=="symbol"||f(U)&&$.call(U)==_}function p(U){if(typeof U=="number")return U;if(h(U))return w;if(u(U)){var se=typeof U.valueOf=="function"?U.valueOf():U;U=u(se)?se+"":se}if(typeof U!="string")return U===0?U:+U;U=U.replace(E,"");var ce=C.test(U);return ce||T.test(U)?A(U.slice(2),ce?2:8):O.test(U)?w:+U}var m=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(U){return typeof U}:function(U){return U&&typeof Symbol=="function"&&U.constructor===Symbol&&U!==Symbol.prototype?"symbol":typeof U},b="Expected a function",w=NaN,_="[object Symbol]",E=/^\s+|\s+$/g,O=/^[-+]0x[0-9a-f]+$/i,C=/^0b[01]+$/i,T=/^0o[0-7]+$/i,A=parseInt,k=(typeof a>"u"?"undefined":m(a))=="object"&&a&&a.Object===Object&&a,D=(typeof self>"u"?"undefined":m(self))=="object"&&self&&self.Object===Object&&self,R=k||D||Function("return this")(),B=Object.prototype,$=B.toString,F=Math.max,X=Math.min,H=function(){return R.Date.now()};n.exports=l}).call(i,(function(){return this})())},function(n,i){(function(a){function o(H,U,se){function ce(Ue){var Te=ve,tt=we;return ve=we=void 0,ne=Ue,Ee=H.apply(tt,Te)}function ge(Ue){return ne=Ue,Ie=setTimeout(re,U),De?ce(Ue):Ee}function q(Ue){var Te=Ue-Ne,tt=Ue-ne,at=U-Te;return Pe?F(at,Ce-tt):at}function te(Ue){var Te=Ue-Ne,tt=Ue-ne;return Ne===void 0||Te>=U||Te<0||Pe&&tt>=Ce}function re(){var Ue=X();return te(Ue)?pe(Ue):void(Ie=setTimeout(re,q(Ue)))}function pe(Ue){return Ie=void 0,he&&ve?ce(Ue):(ve=we=void 0,Ee)}function z(){Ie!==void 0&&clearTimeout(Ie),ne=0,ve=Ne=we=Ie=void 0}function V(){return Ie===void 0?Ee:pe(X())}function oe(){var Ue=X(),Te=te(Ue);if(ve=arguments,we=this,Ne=Ue,Te){if(Ie===void 0)return ge(Ne);if(Pe)return Ie=setTimeout(re,U),ce(Ne)}return Ie===void 0&&(Ie=setTimeout(re,U)),Ee}var ve,we,Ce,Ee,Ie,Ne,ne=0,De=!1,Pe=!1,he=!0;if(typeof H!="function")throw new TypeError(m);return U=h(U)||0,l(se)&&(De=!!se.leading,Pe="maxWait"in se,Ce=Pe?$(h(se.maxWait)||0,U):Ce,he="trailing"in se?!!se.trailing:he),oe.cancel=z,oe.flush=V,oe}function l(H){var U=typeof H>"u"?"undefined":p(H);return!!H&&(U=="object"||U=="function")}function u(H){return!!H&&(typeof H>"u"?"undefined":p(H))=="object"}function f(H){return(typeof H>"u"?"undefined":p(H))=="symbol"||u(H)&&B.call(H)==w}function h(H){if(typeof H=="number")return H;if(f(H))return b;if(l(H)){var U=typeof H.valueOf=="function"?H.valueOf():H;H=l(U)?U+"":U}if(typeof H!="string")return H===0?H:+H;H=H.replace(_,"");var se=O.test(H);return se||C.test(H)?T(H.slice(2),se?2:8):E.test(H)?b:+H}var p=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(H){return typeof H}:function(H){return H&&typeof Symbol=="function"&&H.constructor===Symbol&&H!==Symbol.prototype?"symbol":typeof H},m="Expected a function",b=NaN,w="[object Symbol]",_=/^\s+|\s+$/g,E=/^[-+]0x[0-9a-f]+$/i,O=/^0b[01]+$/i,C=/^0o[0-7]+$/i,T=parseInt,A=(typeof a>"u"?"undefined":p(a))=="object"&&a&&a.Object===Object&&a,k=(typeof self>"u"?"undefined":p(self))=="object"&&self&&self.Object===Object&&self,D=A||k||Function("return this")(),R=Object.prototype,B=R.toString,$=Math.max,F=Math.min,X=function(){return D.Date.now()};n.exports=o}).call(i,(function(){return this})())},function(n,i){function a(p){var m=void 0,b=void 0;for(m=0;m<p.length;m+=1)if(b=p[m],b.dataset&&b.dataset.aos||b.children&&a(b.children))return!0;return!1}function o(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function l(){return!!o()}function u(p,m){var b=window.document,w=o(),_=new w(f);h=m,_.observe(b.documentElement,{childList:!0,subtree:!0,removedNodes:!0})}function f(p){p&&p.forEach(function(m){var b=Array.prototype.slice.call(m.addedNodes),w=Array.prototype.slice.call(m.removedNodes),_=b.concat(w);if(a(_))return h()})}Object.defineProperty(i,"__esModule",{value:!0});var h=function(){};i.default={isSupported:l,ready:u}},function(n,i){function a(b,w){if(!(b instanceof w))throw new TypeError("Cannot call a class as a function")}function o(){return navigator.userAgent||navigator.vendor||window.opera||""}Object.defineProperty(i,"__esModule",{value:!0});var l=(function(){function b(w,_){for(var E=0;E<_.length;E++){var O=_[E];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(w,O.key,O)}}return function(w,_,E){return _&&b(w.prototype,_),E&&b(w,E),w}})(),u=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,f=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,h=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,p=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,m=(function(){function b(){a(this,b)}return l(b,[{key:"phone",value:function(){var w=o();return!(!u.test(w)&&!f.test(w.substr(0,4)))}},{key:"mobile",value:function(){var w=o();return!(!h.test(w)&&!p.test(w.substr(0,4)))}},{key:"tablet",value:function(){return this.mobile()&&!this.phone()}}]),b})();i.default=new m},function(n,i){Object.defineProperty(i,"__esModule",{value:!0});var a=function(l,u,f){var h=l.node.getAttribute("data-aos-once");u>l.position?l.node.classList.add("aos-animate"):typeof h<"u"&&(h==="false"||!f&&h!=="true")&&l.node.classList.remove("aos-animate")},o=function(l,u){var f=window.pageYOffset,h=window.innerHeight;l.forEach(function(p,m){a(p,h+f,u)})};i.default=o},function(n,i,a){function o(h){return h&&h.__esModule?h:{default:h}}Object.defineProperty(i,"__esModule",{value:!0});var l=a(12),u=o(l),f=function(h,p){return h.forEach(function(m,b){m.node.classList.add("aos-init"),m.position=(0,u.default)(m.node,p.offset)}),h};i.default=f},function(n,i,a){function o(h){return h&&h.__esModule?h:{default:h}}Object.defineProperty(i,"__esModule",{value:!0});var l=a(13),u=o(l),f=function(h,p){var m=0,b=0,w=window.innerHeight,_={offset:h.getAttribute("data-aos-offset"),anchor:h.getAttribute("data-aos-anchor"),anchorPlacement:h.getAttribute("data-aos-anchor-placement")};switch(_.offset&&!isNaN(_.offset)&&(b=parseInt(_.offset)),_.anchor&&document.querySelectorAll(_.anchor)&&(h=document.querySelectorAll(_.anchor)[0]),m=(0,u.default)(h).top,_.anchorPlacement){case"top-bottom":break;case"center-bottom":m+=h.offsetHeight/2;break;case"bottom-bottom":m+=h.offsetHeight;break;case"top-center":m+=w/2;break;case"bottom-center":m+=w/2+h.offsetHeight;break;case"center-center":m+=w/2+h.offsetHeight/2;break;case"top-top":m+=w;break;case"bottom-top":m+=h.offsetHeight+w;break;case"center-top":m+=h.offsetHeight/2+w}return _.anchorPlacement||_.offset||isNaN(p)||(b=p),m+b};i.default=f},function(n,i){Object.defineProperty(i,"__esModule",{value:!0});var a=function(o){for(var l=0,u=0;o&&!isNaN(o.offsetLeft)&&!isNaN(o.offsetTop);)l+=o.offsetLeft-(o.tagName!="BODY"?o.scrollLeft:0),u+=o.offsetTop-(o.tagName!="BODY"?o.scrollTop:0),o=o.offsetParent;return{top:u,left:l}};i.default=a},function(n,i){Object.defineProperty(i,"__esModule",{value:!0});var a=function(o){return o=o||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(o,function(l){return{node:l}})};i.default=a}])})})(Im)),Im.exports}var cB=lB();const zd=os(cB),uB=()=>{j.useEffect(()=>{zd.init({duration:1e3,once:!1,mirror:!0,offset:120})},[]);const e=[{id:1,icon:v.jsx(lb,{}),title:"Study Abroad Consultation",description:"Comprehensive guidance for selecting the right university and program based on your academic.",features:["University Selection","Program Matching","Country Recommendation"]},{id:2,icon:v.jsx(jm,{}),title:"Admission Processing",description:"End-to-end support with application procedures, documentation, and meeting all admission requirements.",features:["Application Assistance","Document Preparation","Deadline Management"]},{id:3,icon:v.jsx(Dm,{}),title:"Visa Assistance",description:"Expert guidance through the complex visa application process to maximize your chances of approval.",features:["Visa Documentation","Interview Preparation","Follow-up Support"]},{id:4,icon:v.jsx(i4,{}),title:"Accommodation Support",description:"Help finding suitable accommodation options in your destination country for a smooth transition.",features:["Housing Options","Location Guidance","Booking Assistance"]},{id:5,icon:v.jsx(oL,{}),title:"Pre-Departure Briefing",description:"Comprehensive orientation sessions to prepare you for academic and cultural life abroad.",features:["Cultural Orientation","Travel Planning","Essential Guidelines"]},{id:6,icon:v.jsx(tL,{}),title:"Post-Arrival Support",description:"Continuous assistance after you reach your destination to ensure a smooth settling-in process.",features:["Airport Pickup","Bank Account Setup","Local Integration"]}];return v.jsxs("section",{className:"services-section container",id:"services",children:[v.jsxs("div",{className:"services-header","data-aos":"fade-up",children:[v.jsxs("h2",{children:["Our ",v.jsx("span",{className:"accent",children:"Services"})]}),v.jsx("p",{className:"subtitle",children:"Comprehensive solutions for your global education journey"})]}),v.jsx("div",{className:"row",children:e.map((t,n)=>v.jsx("div",{className:"service-card col-md-4","data-aos":"fade-up","data-aos-delay":n*150,children:v.jsxs("div",{className:"card-inner",children:[v.jsxs("div",{className:"card-front",children:[v.jsx("div",{className:"service-icon text-3xl",children:t.icon}),v.jsx("h3",{children:t.title}),v.jsx("p",{children:t.description}),v.jsxs("a",{className:"view-details",href:"#",children:["View Details ",v.jsx(ui,{})]})]}),v.jsxs("div",{className:"card-back",children:[v.jsx("h4",{children:"What's Included:"}),v.jsx("ul",{children:t.features.map((i,a)=>v.jsxs("li",{children:["✓ ",i]},a))}),v.jsx("button",{className:"service-cta",children:"Get Started"})]})]})},t.id))})]})};function fB(){j.useEffect(()=>{zd.init({duration:1e3,once:!1,mirror:!0,offset:120})},[]);const[e,t]=j.useState(null),n=[{id:1,name:"John Doe",university:"Harvard University",image:"https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=774&q=80",banner:"https://images.unsplash.com/photo-1541339907198-e08756dedf3f?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1170&q=80",video:"https://www.youtube.com/embed/dQw4w9WgXcQ"},{id:2,name:"Jane Smith",university:"Stanford University",image:"https://images.unsplash.com/photo-1552058544-f2b08422138a?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=798&q=80",banner:"https://images.unsplash.com/photo-1541339907198-e08756dedf3f?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1170&q=80",video:"https://www.youtube.com/embed/dQw4w9WgXcQ"},{id:3,name:"Michael Brown",university:"MIT",image:"https://images.unsplash.com/photo-1560250097-0b93528c311a?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=774&q=80",banner:"https://images.unsplash.com/photo-1523580494863-6f3031224c94?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1170&q=80",video:"https://www.youtube.com/embed/dQw4w9WgXcQ"},{id:4,name:"Emily Davis",university:"Oxford University",image:"https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=776&q=80",banner:"https://images.unsplash.com/photo-1541339907198-e08756dedf3f?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1170&q=80",video:"https://www.youtube.com/embed/dQw4w9WgXcQ"}],i=(o,l)=>{o.preventDefault(),t(l)},a=()=>{t(null)};return v.jsxs("section",{className:"testimonial-section container",children:[v.jsxs("div",{className:"services-header","data-aos":"fade-up",children:[v.jsxs("h2",{children:["Student ",v.jsx("span",{className:"accent",children:"Success Stories"})]}),v.jsx("p",{className:"subtitle",children:"See how we've helped students achieve their academic dreams"})]}),v.jsx("div",{className:"slider-container",children:v.jsx(Cx,{modules:[P4,D4],autoplay:{delay:5e3,disableOnInteraction:!1},pagination:{clickable:!0},spaceBetween:20,slidesPerView:3,loop:!0,breakpoints:{1024:{slidesPerView:3},768:{slidesPerView:2},0:{slidesPerView:1}},className:"testimonial-slider",children:n.map(o=>v.jsx(Ox,{children:v.jsx("div",{className:"testimonial-card-wrapper",children:v.jsxs("div",{className:"testimonial-card",children:[v.jsxs("div",{className:"testimonial-banner",children:[v.jsx("img",{src:o.banner,alt:o.name,className:"banner-image"}),v.jsx("div",{className:"play-overlay",children:v.jsx("button",{onClick:l=>i(l,o.video),className:"play-button","aria-label":"Play video testimonial",children:v.jsx(IL,{size:24})})})]}),v.jsx("div",{className:"testimonial-content",children:v.jsxs("div",{className:"profile-info",children:[v.jsx("img",{src:o.image,alt:o.name,className:"profile-image"}),v.jsxs("div",{className:"profile-details",children:[v.jsx("h5",{className:"profile-name",children:o.name}),v.jsx("p",{className:"profile-university",children:o.university})]})]})})]})})},o.id))})}),e&&v.jsx("div",{className:"video-modal",onClick:a,children:v.jsxs("div",{className:"modal-content",onClick:o=>o.stopPropagation(),children:[v.jsx("button",{className:"close-button",onClick:a,"aria-label":"Close video",children:v.jsx(GL,{size:24})}),v.jsx("div",{className:"video-container",children:v.jsx("iframe",{src:e,className:"video-iframe",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,title:"Testimonial video"})})]})}),v.jsx("style",{jsx:!0,children:` .testimonial-section { padding: 5rem 0; } .slider-container { padding: 0 10px; } .services-header { text-align: center; margin-bottom: 3rem; } .services-header h2 { font-size: 2.5rem; font-weight: 700; color: #2d3748; margin-bottom: 0.5rem; } .accent { color: #3182ce; } .subtitle { font-size: 1.1rem; color: #718096; max-width: 600px; margin: 0 auto; } .testimonial-card-wrapper { padding: 10px; } .testimonial-card { background: white; border-radius: 12px; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; } .testimonial-card:hover { transform: translateY(-5px); } .testimonial-banner { position: relative; height: 300px; overflow: hidden; } .banner-image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; } .testimonial-card:hover .banner-image { transform: scale(1.05); } .play-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.4); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; } .testimonial-card:hover .play-overlay { opacity: 1; } .play-button { background: #3182ce; color: white; border: none; border-radius: 50%; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; } .play-button:hover { background: #2c5282; transform: scale(1.1); } .testimonial-content { padding: 20px; } .profile-info { display: flex; align-items: center; } .profile-image { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 3px solid #e2e8f0; } .profile-details { margin-left: 15px; } .profile-name { font-size: 1.1rem; font-weight: 600; color: #2d3748; margin: 0 0 5px 0; } .profile-university { font-size: 0.9rem; color: #3182ce; font-weight: 500; margin: 0; } .video-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.85); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 20px; } .modal-content { position: relative; width: 100%; max-width: 800px; } .close-button { position: absolute; top: -40px; right: 0; background: none; border: none; color: white; cursor: pointer; z-index: 1001; } .close-button:hover { color: #e53e3e; } .video-container { position: relative; padding-top: 56.25%; border-radius: 8px; overflow: hidden; } .video-iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 8px; } /* Swiper overrides */ :global(.swiper-pagination-bullet) { background: #cbd5e0; opacity: 1; } :global(.swiper-pagination-bullet-active) { background: #3182ce; } @media (max-width: 768px) { .services-header h2 { font-size: 2rem; } .testimonial-banner { height: 180px; } .testimonial-card-wrapper { padding: 5px; } } `})]})}function dB(){return v.jsxs(v.Fragment,{children:[v.jsx(sB,{}),v.jsx(fB,{}),v.jsx(XL,{}),v.jsx(uB,{}),v.jsx(d4,{}),v.jsx(h4,{}),v.jsx(AR,{}),v.jsx(p4,{})]})}function ow({pageName:e}){const t=[{name:"Home",path:"/"},{name:e,path:null}];return v.jsxs("div",{className:"breadcrumb-section","data-aos":"fade-down",children:[v.jsxs("div",{className:"container",children:[v.jsx("nav",{className:"breadcrumb-nav","aria-label":"Breadcrumb","data-aos":"fade-right","data-aos-delay":"200",children:v.jsx("ol",{className:"breadcrumb-list",children:t.map((n,i)=>v.jsxs("li",{className:"breadcrumb-item","data-aos":"zoom-in","data-aos-delay":i*150,children:[i<t.length-1?v.jsxs("a",{href:n.path,className:"breadcrumb-link",children:[i===0&&v.jsx(NL,{size:16}),i!==0&&n.name]}):v.jsx("span",{className:"breadcrumb-current",children:n.name}),i<t.length-1&&v.jsx("span",{className:"breadcrumb-separator",children:v.jsx(TL,{size:16})})]},i))})}),v.jsxs("div",{className:"page-header","data-aos":"fade-up","data-aos-delay":"400",children:[v.jsx("h1",{children:e}),v.jsx("p",{children:"Your journey to global education starts here"})]})]}),v.jsx("style",{jsx:!0,children:` .breadcrumb-section { padding: 2rem 0 1.5rem; background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; position: relative; overflow: hidden; } .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; } .breadcrumb-nav { margin-bottom: 1.5rem; } .breadcrumb-list { display: flex; align-items: center; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; } .breadcrumb-item { display: flex; align-items: center; color: #64748b; font-size: 0.875rem; } .breadcrumb-link { display: flex; align-items: center; gap: 0.25rem; color: #64748b; text-decoration: none; transition: all 0.3s ease; padding: 0.5rem 0.25rem; border-radius: 6px; } .breadcrumb-link:hover { color: #57b1e3; background: rgba(87, 177, 227, 0.1); } .breadcrumb-current { color: #016eb6; font-weight: 600; padding: 0.5rem 0.75rem; background: rgba(1, 110, 182, 0.1); border-radius: 6px; margin-left: 20px; } .breadcrumb-separator { display: flex; align-items: center; margin: 0 0.5rem; color: #94a3b8; } .page-header { padding: 1.5rem 0; } .page-header h1 { font-size: 2.5rem; font-weight: 800; color: #1e293b; margin: 0 0 0.5rem 0; position: relative; display: inline-block; } .page-header h1:after { content: ''; position: absolute; left: 0; bottom: -5px; width: 60px; height: 4px; background: linear-gradient(90deg, #57b1e3, #016eb6); border-radius: 2px; } .page-header p { color: #64748b; font-size: 1.125rem; margin: 1rem 0 0 0; max-width: 600px; } /* Animation for breadcrumb items */ .breadcrumb-item { animation: fadeInUp 0.5s ease forwards; opacity: 0; transform: translateY(10px); } .breadcrumb-item:nth-child(1) { animation-delay: 0.1s; } .breadcrumb-item:nth-child(2) { animation-delay: 0.2s; } .breadcrumb-item:nth-child(3) { animation-delay: 0.3s; } @keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } } /* Responsive adjustments */ @media (max-width: 768px) { .breadcrumb-section { padding: 1.5rem 0 1rem; } .page-header h1 { font-size: 2rem; } .page-header p { font-size: 1rem; } } @media (max-width: 480px) { .breadcrumb-list { gap: 0.25rem; } .breadcrumb-separator { margin: 0 0.25rem; } .page-header h1 { font-size: 1.75rem; } } `})]})}function hB(){return v.jsxs(v.Fragment,{children:[v.jsx(ow,{pageName:"About Us"}),v.jsx(d4,{}),v.jsx(p4,{})]})}function pB(){return v.jsxs("div",{className:"container mt-5",children:[v.jsx("h1",{children:"Contact Us"}),v.jsx("p",{children:"Email: contact@mywebsite.com"})]})}const mB="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAJDSURBVHja7JfNaxNBGIef2WwalaahhaaYUm1ta4tivViUHqxSRISeBG/SP0vwVPDkTfAiqIh4ED8OORRrFT8qghZrpYkxu9mdmddDYhtFwak4ufQHy+zC7Mwz837MO0pE6KQCOqxdAAVkgFyr9SkDNEKgp7J4+YsEfudXKqCwsNgXAgUJFNlDM36X/+klQCEEclgLOkHiKiBt1qHtu91q8pv3X/vwx35qTw+iGwC5EABrER0hOvazfB2DNQC0ADSkcfPxoUwWbPozgCR1JI08BX8GTBuAWIM0akhS9+eFOtnyjgkRWXH9vx5r3n+oYrAMFvMUunM7CEU1Ge4E/tmrz9x7tMrxyQEA7j95x5HRImemh/5/Ko6TlBt3XnDp/CTfooRKrcHFuQnKz9f4uF7bUSp2MkF5eY2NzYgktdx9vEqlGnNuZoSxA72srdeYPzvuZALnHWikBhGIE009SqnVU+qxBiBqtc4mcClKjo73c/vhW05OlZg9McSF06PMnRrm1oM3TE+V/nqcH3M6A+T3dTE/O8aV62X29+cZKRW4dnOJsYO9DA8WnAEUMJGm6UoYugXExmbE8usNjLEcHu6jVOx2SwNak81mm2E4fnUByQQkrezkrKdu3bsyWYLmUdDMhNoYwjBA8FOgKgXa6m0Aay2Imy/8kwSs0dtOaI1BKZ/VEFjTHgVWUPgjUKjmrm+dhghKKbq79nqDsLINYESE6malE1W5UcAAcAzo9zz5OrCkWneCfKv1qQbwVe1eTjsN8H0AbQf7MRxAQMIAAAAASUVORK5CYII=",gB="/assets/us-Bq_j6LY1.png",vB="/assets/gb-B4tQMAzT.png",yB="/assets/ca-GJCJmV-U.png",bB="/assets/au-CGECR8xR.png";function xB(){const[e,t]=j.useState(""),[n,i]=j.useState("USD"),[a,o]=j.useState(82.65),[l,u]=j.useState(0),[f,h]=j.useState(0),[p,m]=j.useState(!1),[b,w]=j.useState({}),_=[{code:"USD",name:"United States",flag:gB},{code:"GBP",name:"United Kingdom",flag:vB},{code:"CAD",name:"Canada",flag:yB},{code:"AUD",name:"Australia",flag:bB}];j.useEffect(()=>{(async()=>{try{const B=await(await fetch("https://api.exchangerate.host/latest?base=INR")).json();w(B.rates),B.rates[n]&&o(1/B.rates[n])}catch(R){console.error("Error fetching rates:",R)}})()},[n]);const E=D=>{i(D),b[D]&&o(1/b[D]),m(!1)},O=D=>{const R=D.target.value.replace(/,/g,"");if(!isNaN(R)&&R!==""){const B=parseInt(R);t(B);const $=B*.05,F=B*.02;u($),h(F)}else t(""),u(0),h(0)},C=(D,R="INR")=>new Intl.NumberFormat("en-IN",{style:"currency",currency:R,minimumFractionDigits:2,maximumFractionDigits:2}).format(D),T=D=>new Intl.NumberFormat("en-IN").format(D),A=()=>{if(!e)return"0.00";const D=l+f;return((e-D)/a).toFixed(2)},k=_.find(D=>D.code===n);return v.jsxs(v.Fragment,{children:[v.jsx("section",{className:"hero-section","data-aos":"fade-up",children:v.jsx("div",{className:"container",children:v.jsxs("div",{className:"row align-items-center justify-content-between",children:[v.jsx("div",{className:"col-lg-4","data-aos":"fade-right",children:v.jsxs("div",{className:"hero-content",children:[v.jsx("h5",{className:"hero-subtitle",children:"Fast • Secure • Reliable"}),v.jsxs("h1",{className:"hero-title",children:["Send Money Abroad with"," ",v.jsx("span",{className:"text-primary-color",children:"Fly Forex"})]}),v.jsx("p",{className:"hero-description",children:"Fly Forex makes international money transfers seamless and affordable. Get the best live exchange rates, low transfer fees, and instant support — making your global payments easier than ever."})]})}),v.jsxs("div",{className:"forex-card col-lg-6","data-aos":"zoom-in",children:[v.jsxs("div",{className:"transfer-section",children:[v.jsxs("div",{className:"amount-section",children:[v.jsxs("div",{className:"currency-input",children:[v.jsx("label",{children:"You send"}),v.jsxs("div",{className:"input-wrapper",children:[v.jsx("span",{className:"currency-flag",children:v.jsx("img",{src:mB,alt:"Indian Flag",className:"flag-image"})}),v.jsx("input",{type:"text",value:e?T(e):"",onChange:O,className:"amount-input",placeholder:"Enter amount"})]})]}),v.jsxs("div",{className:"currency-output",children:[v.jsx("label",{children:"Recipient gets"}),v.jsxs("div",{className:"output-wrapper",children:[v.jsx("span",{className:"currency-flag",children:v.jsx("img",{src:k?.flag,alt:`${k?.name} Flag`,className:"flag-image"})}),v.jsx("div",{className:"amount-output",children:A()}),v.jsxs("div",{className:"country-selector",children:[v.jsxs("button",{className:"country-dropdown-trigger",onClick:()=>m(!p),children:[n,v.jsx(EL,{size:16})]}),p&&v.jsx("div",{className:"country-dropdown",children:_.map(D=>v.jsxs("div",{className:"country-option",onClick:()=>E(D.code),children:[v.jsx("img",{src:D.flag,alt:`${D.name} Flag`,className:"flag-image-small"}),v.jsx("span",{children:D.code})]},D.code))})]})]})]})]}),v.jsxs("div",{className:"rate-display",children:[v.jsx("span",{className:"rate-label",children:"Live exchange rate:"}),v.jsxs("span",{className:"rate-value",children:["1 ",n," = ",a.toFixed(2)," INR"]})]})]}),v.jsx("div",{className:"divider"}),v.jsxs("div",{className:"fee-breakdown",children:[v.jsx("h4",{children:"Fee breakdown"}),v.jsxs("div",{className:"fee-item",children:[v.jsx("div",{className:"fee-label",children:"Bank transfer fee (5%)"}),v.jsx("div",{className:"fee-value",children:C(l)})]}),v.jsxs("div",{className:"fee-item",children:[v.jsx("div",{className:"fee-label",children:"Our fee (2%)"}),v.jsx("div",{className:"fee-value",children:C(f)})]}),v.jsxs("div",{className:"fee-item total-fees",children:[v.jsx("div",{className:"fee-label",children:"Total fees (7%)"}),v.jsx("div",{className:"fee-value",children:C(l+f)})]}),v.jsxs("div",{className:"fee-item",children:[v.jsx("div",{className:"fee-label",children:"Amount converted"}),v.jsx("div",{className:"fee-value",children:C(e?e-(l+f):0)})]})]}),v.jsxs("button",{className:"send-button",disabled:!e,children:[v.jsx(Sx,{size:18})," Send Money Now"]})]})]})})}),v.jsx("section",{className:"features-section","data-aos":"fade-up",children:v.jsxs("div",{className:"container",children:[v.jsxs("div",{className:"section-header","data-aos":"fade-down",children:[v.jsxs("h2",{children:["Why Choose ",v.jsx("span",{className:"text-primary-color",children:"Fly Forex"}),"?"]}),v.jsx("p",{children:"Experience the difference with our premium forex services"})]}),v.jsxs("div",{className:"features-grid",children:[v.jsxs("div",{className:"feature-card","data-aos":"flip-left","data-aos-delay":"100",children:[v.jsx("div",{className:"feature-icon",children:v.jsx(f4,{size:32})}),v.jsx("h3",{children:"Lightning Fast Transfers"}),v.jsx("p",{children:"Most transfers completed within 24 hours, so your money reaches faster than traditional banks."})]}),v.jsxs("div",{className:"feature-card","data-aos":"flip-left","data-aos-delay":"200",children:[v.jsx("div",{className:"feature-icon",children:v.jsx(VL,{size:32})}),v.jsx("h3",{children:"Bank-Level Security"}),v.jsx("p",{children:"Your money is protected with industry-leading encryption and security protocols."})]}),v.jsxs("div",{className:"feature-card","data-aos":"flip-left","data-aos-delay":"200",children:[v.jsx("div",{className:"feature-icon",children:v.jsx(o4,{size:32})}),v.jsx("h3",{children:"Best Exchange Rates"}),v.jsx("p",{children:"Get real-time rates that are often better than banks with no hidden charges."})]}),v.jsxs("div",{className:"feature-card","data-aos":"flip-left","data-aos-delay":"200",children:[v.jsx("div",{className:"feature-icon",children:v.jsx(c4,{size:32})}),v.jsx("h3",{children:"Global Coverage"}),v.jsx("p",{children:"Send money to over 50 countries with our extensive network of banking partners."})]}),v.jsxs("div",{className:"feature-card","data-aos":"flip-left","data-aos-delay":"200",children:[v.jsx("div",{className:"feature-icon",children:v.jsx(u4,{size:32})}),v.jsx("h3",{children:"24/7 Customer Support"}),v.jsx("p",{children:"Our dedicated team is always available to assist you with any queries or issues."})]}),v.jsxs("div",{className:"feature-card","data-aos":"flip-left","data-aos-delay":"200",children:[v.jsx("div",{className:"feature-icon",children:v.jsx(CL,{size:32})}),v.jsx("h3",{children:"Track Your Transfer"}),v.jsx("p",{children:"Monitor your transfer in real-time with our advanced tracking system."})]})]})]})}),v.jsx("section",{className:"process-section","data-aos":"fade-up",children:v.jsxs("div",{className:"container",children:[v.jsxs("div",{className:"section-header",children:[v.jsxs("h2",{children:["How ",v.jsx("span",{className:"text-primary-color",children:"Fly Forex"})," Works"]}),v.jsx("p",{children:"Send money abroad in just three simple steps"})]}),v.jsxs("div",{className:"process-steps",children:[v.jsxs("div",{className:"process-step",children:[v.jsx("div",{className:"step-number",children:"1"}),v.jsxs("div",{className:"step-content",children:[v.jsx("h3",{children:"Create Your Transfer"}),v.jsx("p",{children:"Enter the amount you want to send and select the destination country."})]})]}),v.jsxs("div",{className:"process-step",children:[v.jsx("div",{className:"step-number",children:"2"}),v.jsxs("div",{className:"step-content",children:[v.jsx("h3",{children:"Review & Confirm"}),v.jsx("p",{children:"Check the exchange rate and fees, then provide recipient details."})]})]}),v.jsxs("div",{className:"process-step",children:[v.jsx("div",{className:"step-number",children:"3"}),v.jsxs("div",{className:"step-content",children:[v.jsx("h3",{children:"Send & Track"}),v.jsx("p",{children:"Complete your payment and track your transfer in real-time."})]})]})]}),v.jsx("div",{className:"process-cta",children:v.jsxs("button",{className:"btn-primary",children:["Get Started ",v.jsx(wd,{size:18})]})})]})}),v.jsx("style",{jsx:!0,children:` /* Hero Section Styles */ .hero-section { padding: 4rem 0; } .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; } .row { display: flex; flex-wrap: wrap; margin: 0 -15px; } .col-lg-4, .col-lg-6 { padding: 0 15px; flex: 0 0 auto; width: 100%; } @media (min-width: 992px) { .col-lg-4 { width: 33.333333%; } .col-lg-6 { width: 50%; } } .hero-content { padding-right: 2rem; } .hero-subtitle { color: var(--primary-color); font-weight: 600; margin-bottom: 1rem; font-size: 1.1rem; } .hero-title { font-size: 2.5rem; font-weight: 800; color: var(--text-dark); margin-bottom: 1.5rem; line-height: 1.2; } .text-primary-color { color: var(--primary-color); } .hero-description { font-size: 1.1rem; color: var(--secondary-color); line-height: 1.6; margin-bottom: 2rem; } /* Forex Card Styles */ .forex-card { background: var(--background-light); border-radius: 16px; padding: 2rem; box-shadow: var(--shadow); border: 1px solid #e2e8f0; } .transfer-section h3 { font-size: 1.25rem; font-weight: 600; color: var(--text-dark); margin-bottom: 1.5rem; } .amount-section { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 1.5rem; } .currency-input, .currency-output { display: flex; flex-direction: column; gap: 0.5rem; } .currency-input label, .currency-output label { font-size: 0.875rem; font-weight: 500; color: #64748b; } .input-wrapper, .output-wrapper { display: flex; align-items: center; border: 2px solid #e2e8f0; border-radius: 12px; padding: 0.75rem 1rem; transition: var(--transition); } .input-wrapper:focus-within { border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(87, 177, 227, 0.1); } .currency-flag { display: flex; align-items: center; margin-right: 0.75rem; } .flag-image { width: 40px; height: 24px; object-fit: cover; } .flag-image-small { width: 30px; height: 18px; object-fit: cover; margin-right: 0.5rem; } .amount-input { flex: 1; border: none; outline: none; font-size: 1.25rem; font-weight: 600; color: var(--text-dark); background: transparent; } .amount-output { flex: 1; font-size: 1.25rem; font-weight: 600; color: var(--text-dark); } .country-selector { position: relative; margin-left: 0.5rem; } .country-dropdown-trigger { display: flex; align-items: center; gap: 0.25rem; border: 1px solid #e2e8f0; border-radius: 6px; padding: 0.5rem 0.75rem; font-size: 0.875rem; background: white; cursor: pointer; font-weight: 600; color: var(--text-dark); } .country-dropdown-trigger:hover { border-color: var(--primary-color); } .country-dropdown { position: absolute; top: 100%; right: 0; background: white; border: 1px solid #e2e8f0; border-radius: 8px; padding: 0.5rem; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); z-index: 10; min-width: 120px; margin-top: 0.25rem; } .country-option { display: flex; align-items: center; padding: 0.5rem 0.75rem; border-radius: 6px; cursor: pointer; font-size: 0.875rem; } .country-option:hover { background: #f1f5f9; } .rate-display { display: flex; justify-content: center; align-items: center; gap: 0.5rem; border-radius: 8px; font-size: 0.875rem; } .rate-label { color: #64748b; } .rate-value { font-weight: 600; color: #16a34a; } .divider { height: 1px; background: #e2e8f0; margin: 1.5rem 0; } .fee-breakdown h4 { font-size: 1rem; font-weight: 600; color: var(--text-dark); margin-bottom: 1rem; } .fee-item { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 0; border-bottom: 1px solid #f1f5f9; } .fee-item:last-child { border-bottom: none; } .total-fees { border-top: 2px solid #e2e8f0; border-bottom: none; font-weight: 600; margin-top: 0.5rem; padding-top: 1rem; } .fee-label { color: #64748b; } .fee-value { font-weight: 600; color: var(--text-dark); } .send-button { width: 100%; padding: 1rem 1.5rem; background: linear-gradient(135deg, var(--primary-color), var(--primary-dark-color)); color: var(--text-light); border: none; border-radius: 12px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: 0.5rem; } .send-button:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(87, 177, 227, 0.3); } .send-button:disabled { opacity: 0.7; cursor: not-allowed; } /* Features Section */ .features-section { padding: 5rem 0; background: var(--background-light); } .section-header { text-align: center; margin-bottom: 3rem; } .section-header h2 { font-size: 2.5rem; font-weight: 700; color: var(--text-dark); margin-bottom: 1rem; } .section-header p { font-size: 1.1rem; color: var(--secondary-color); max-width: 600px; margin: 0 auto; } .features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; } .feature-card { background: var(--background-light); border-radius: 12px; padding: 2rem; box-shadow: var(--shadow); border: 1px solid #f1f5f9; transition: var(--transition); text-align: center; } .feature-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); } .feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 70px; height: 70px; background: var(--primary-light); color: var(--primary-color); border-radius: 50%; margin-bottom: 1.5rem; } .feature-card h3 { font-size: 1.25rem; font-weight: 600; color: var(--text-dark); margin-bottom: 1rem; } .feature-card p { color: var(--secondary-color); line-height: 1.6; } /* Process Section */ .process-section { padding: 5rem 0; background: #f8fafc; } .process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-bottom: 3rem; } .process-step { display: flex; align-items: flex-start; gap: 1.5rem; } .step-number { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; background: var(--primary-color); color: white; border-radius: 50%; font-size: 1.5rem; font-weight: 700; flex-shrink: 0; } .step-content h3 { font-size: 1.25rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.5rem; } .step-content p { color: var(--secondary-color); line-height: 1.6; } .process-cta { text-align: center; } .btn-primary { display: inline-flex; align-items: center; gap: 0.5rem; background: linear-gradient(135deg, var(--primary-color), var(--primary-dark-color)); color: white; border: none; border-radius: 8px; padding: 1rem 2rem; font-size: 1.1rem; font-weight: 600; cursor: pointer; transition: var(--transition); } .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(87, 177, 227, 0.3); } /* Testimonials Section */ .testimonials-section { padding: 5rem 0; background: var(--background-light); } .testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; } .testimonial-card { background: var(--background-light); border-radius: 12px; padding: 2rem; box-shadow: var(--shadow); border: 1px solid #f1f5f9; } .testimonial-content { margin-bottom: 1.5rem; } .testimonial-content p { color: var(--secondary-color); line-height: 1.6; font-style: italic; } .testimonial-author h4 { font-size: 1.1rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.25rem; } .testimonial-author p { color: var(--primary-color); font-size: 0.9rem; font-weight: 500; } /* Responsive Styles */ @media (max-width: 992px) { .hero-content { padding-right: 0; margin-bottom: 2rem; text-align: center; } .hero-title { font-size: 2rem; } } @media (max-width: 768px) { .hero-section { padding: 2rem 0; } .features-section, .process-section, .testimonials-section { padding: 3rem 0; } .section-header h2 { font-size: 2rem; } .forex-card { padding: 1.5rem; } } @media (max-width: 576px) { .input-wrapper, .output-wrapper { padding: 0.5rem 0.75rem; } .amount-input, .amount-output { font-size: 1.1rem; } .features-grid, .testimonials-grid { grid-template-columns: 1fr; } } `})]})}function wB(){return v.jsxs(v.Fragment,{children:[v.jsx(ow,{pageName:"Fly Forex"}),v.jsx(xB,{}),v.jsx("div",{className:"container mt-5"})]})}function f5(e){var t,n,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(n=f5(e[t]))&&(i&&(i+=" "),i+=n)}else for(n in e)e[n]&&(i&&(i+=" "),i+=n);return i}function Li(){for(var e,t,n=0,i="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=f5(e))&&(i&&(i+=" "),i+=t);return i}var Dy={},Py={},FT;function _B(){return FT||(FT=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return n==="__proto__"}e.isUnsafeProperty=t})(Py)),Py}var Ly={},GT;function EB(){return GT||(GT=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){switch(typeof n){case"number":case"symbol":return!1;case"string":return n.includes(".")||n.includes("[")||n.includes("]")}}e.isDeepKey=t})(Ly)),Ly}var ky={},YT;function SB(){return YT||(YT=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return typeof n=="string"||typeof n=="symbol"?n:Object.is(n?.valueOf?.(),-0)?"-0":String(n)}e.toKey=t})(ky)),ky}var Ry={},KT;function d5(){return KT||(KT=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){const i=[],a=n.length;if(a===0)return i;let o=0,l="",u="",f=!1;for(n.charCodeAt(0)===46&&(i.push(""),o++);o<a;){const h=n[o];u?h==="\\"&&o+1<a?(o++,l+=n[o]):h===u?u="":l+=h:f?h==='"'||h==="'"?u=h:h==="]"?(f=!1,i.push(l),l=""):l+=h:h==="["?(f=!0,l&&(i.push(l),l="")):h==="."?l&&(i.push(l),l=""):l+=h,o++}return l&&i.push(l),i}e.toPath=t})(Ry)),Ry}var WT;function TB(){return WT||(WT=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=_B(),n=EB(),i=SB(),a=d5();function o(u,f,h){if(u==null)return h;switch(typeof f){case"string":{if(t.isUnsafeProperty(f))return h;const p=u[f];return p===void 0?n.isDeepKey(f)?o(u,a.toPath(f),h):h:p}case"number":case"symbol":{typeof f=="number"&&(f=i.toKey(f));const p=u[f];return p===void 0?h:p}default:{if(Array.isArray(f))return l(u,f,h);if(Object.is(f?.valueOf(),-0)?f="-0":f=String(f),t.isUnsafeProperty(f))return h;const p=u[f];return p===void 0?h:p}}}function l(u,f,h){if(f.length===0)return h;let p=u;for(let m=0;m<f.length;m++){if(p==null||t.isUnsafeProperty(f[m]))return h;p=p[f[m]]}return p===void 0?h:p}e.get=o})(Dy)),Dy}var zy,XT;function AB(){return XT||(XT=1,zy=TB().get),zy}var CB=AB();const lu=os(CB);var Iy={exports:{}},bt={};/** * @license React * react-is.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 QT;function OB(){if(QT)return bt;QT=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),b=Symbol.for("react.view_transition"),w=Symbol.for("react.client.reference");function _(E){if(typeof E=="object"&&E!==null){var O=E.$$typeof;switch(O){case e:switch(E=E.type,E){case n:case a:case i:case f:case h:case b:return E;default:switch(E=E&&E.$$typeof,E){case l:case u:case m:case p:return E;case o:return E;default:return O}}case t:return O}}}return bt.ContextConsumer=o,bt.ContextProvider=l,bt.Element=e,bt.ForwardRef=u,bt.Fragment=n,bt.Lazy=m,bt.Memo=p,bt.Portal=t,bt.Profiler=a,bt.StrictMode=i,bt.Suspense=f,bt.SuspenseList=h,bt.isContextConsumer=function(E){return _(E)===o},bt.isContextProvider=function(E){return _(E)===l},bt.isElement=function(E){return typeof E=="object"&&E!==null&&E.$$typeof===e},bt.isForwardRef=function(E){return _(E)===u},bt.isFragment=function(E){return _(E)===n},bt.isLazy=function(E){return _(E)===m},bt.isMemo=function(E){return _(E)===p},bt.isPortal=function(E){return _(E)===t},bt.isProfiler=function(E){return _(E)===a},bt.isStrictMode=function(E){return _(E)===i},bt.isSuspense=function(E){return _(E)===f},bt.isSuspenseList=function(E){return _(E)===h},bt.isValidElementType=function(E){return typeof E=="string"||typeof E=="function"||E===n||E===a||E===i||E===f||E===h||typeof E=="object"&&E!==null&&(E.$$typeof===m||E.$$typeof===p||E.$$typeof===l||E.$$typeof===o||E.$$typeof===u||E.$$typeof===w||E.getModuleId!==void 0)},bt.typeOf=_,bt}var ZT;function MB(){return ZT||(ZT=1,Iy.exports=OB()),Iy.exports}var NB=MB(),Oi=e=>e===0?0:e>0?1:-1,Cr=e=>typeof e=="number"&&e!=+e,yd=e=>typeof e=="string"&&e.indexOf("%")===e.length-1,tn=e=>(typeof e=="number"||e instanceof Number)&&!Cr(e),Id=e=>tn(e)||typeof e=="string",jB=0,rg=e=>{var t=++jB;return"".concat(e||"").concat(t)},ra=function(t,n){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(!tn(t)&&typeof t!="string")return i;var o;if(yd(t)){if(n==null)return i;var l=t.indexOf("%");o=n*parseFloat(t.slice(0,l))/100}else o=+t;return Cr(o)&&(o=i),a&&n!=null&&o>n&&(o=n),o},h5=e=>{if(!Array.isArray(e))return!1;for(var t=e.length,n={},i=0;i<t;i++)if(!n[e[i]])n[e[i]]=!0;else return!0;return!1},JT=(e,t)=>tn(e)&&tn(t)?n=>e+n*(t-e):()=>t;function DB(e,t,n){if(!(!e||!e.length))return e.find(i=>i&&(typeof t=="function"?t(i):lu(i,t))===n)}var cu=e=>e===null||typeof e>"u",nh=e=>cu(e)?e:"".concat(e.charAt(0).toUpperCase()).concat(e.slice(1)),PB=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"];function lw(e){if(typeof e!="string")return!1;var t=PB;return t.includes(e)}var LB=["viewBox","children"],eA=["points","pathLength"],$y={svg:LB,polygon:eA,polyline:eA},kB=(e,t)=>{if(!e||typeof e=="function"||typeof e=="boolean")return null;var n=e;if(j.isValidElement(e)&&(n=e.props),typeof n!="object"&&typeof n!="function")return null;var i={};return Object.keys(n).forEach(a=>{lw(a)&&(i[a]=(o=>n[a](n,o)))}),i},RB=(e,t,n)=>i=>(e(t,n,i),null),zB=(e,t,n)=>{if(e===null||typeof e!="object"&&typeof e!="function")return null;var i=null;return Object.keys(e).forEach(a=>{var o=e[a];lw(a)&&typeof o=="function"&&(i||(i={}),i[a]=RB(o,t,n))}),i},IB=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","className","color","height","id","lang","max","media","method","min","name","style","target","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"];function p5(e){if(typeof e!="string")return!1;var t=IB;return t.includes(e)}function Wg(e){var t=Object.entries(e).filter(n=>{var[i]=n;return p5(i)});return Object.fromEntries(t)}var tA=e=>typeof e=="string"?e:e?e.displayName||e.name||"Component":"",nA=null,By=null,m5=e=>{if(e===nA&&Array.isArray(By))return By;var t=[];return j.Children.forEach(e,n=>{cu(n)||(NB.isFragment(n)?t=t.concat(m5(n.props.children)):t.push(n))}),By=t,nA=e,t};function g5(e,t){var n=[],i=[];return Array.isArray(t)?i=t.map(a=>tA(a)):i=[tA(t)],m5(e).forEach(a=>{var o=lu(a,"type.displayName")||lu(a,"type.name");i.indexOf(o)!==-1&&n.push(a)}),n}var $B=(e,t,n,i)=>{var a;if(typeof t=="symbol"||typeof t=="number")return!0;var o=(a=i&&$y?.[i])!==null&&a!==void 0?a:[],l=t.startsWith("data-"),u=typeof e!="function"&&(!!i&&o.includes(t)||p5(t)),f=!!n&&lw(t);return l||u||f},Or=(e,t,n)=>{if(!e||typeof e=="function"||typeof e=="boolean")return null;var i=e;if(j.isValidElement(e)&&(i=e.props),typeof i!="object"&&typeof i!="function")return null;var a={};return Object.keys(i).forEach(o=>{var l;$B((l=i)===null||l===void 0?void 0:l[o],o,t,n)&&(a[o]=i[o])}),a},BB=["children","width","height","viewBox","className","style","title","desc"];function Pb(){return Pb=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Pb.apply(null,arguments)}function VB(e,t){if(e==null)return{};var n,i,a=HB(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function HB(e,t){if(e==null)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(t.indexOf(i)!==-1)continue;n[i]=e[i]}return n}var v5=j.forwardRef((e,t)=>{var{children:n,width:i,height:a,viewBox:o,className:l,style:u,title:f,desc:h}=e,p=VB(e,BB),m=o||{width:i,height:a,x:0,y:0},b=Li("recharts-surface",l);return j.createElement("svg",Pb({},Or(p,!0,"svg"),{className:b,width:i,height:a,style:u,viewBox:"".concat(m.x," ").concat(m.y," ").concat(m.width," ").concat(m.height),ref:t}),j.createElement("title",null,f),j.createElement("desc",null,h),n)}),qB=["children","className"];function Lb(){return Lb=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Lb.apply(null,arguments)}function UB(e,t){if(e==null)return{};var n,i,a=FB(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function FB(e,t){if(e==null)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(t.indexOf(i)!==-1)continue;n[i]=e[i]}return n}var uu=j.forwardRef((e,t)=>{var{children:n,className:i}=e,a=UB(e,qB),o=Li("recharts-layer",i);return j.createElement("g",Lb({className:o},Or(a,!0),{ref:t}),n)}),GB=j.createContext(null);function Ct(e){return function(){return e}}const y5=Math.cos,ag=Math.sin,Nr=Math.sqrt,sg=Math.PI,Xg=2*sg,kb=Math.PI,Rb=2*kb,ul=1e-6,YB=Rb-ul;function b5(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}function KB(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return b5;const n=10**t;return function(i){this._+=i[0];for(let a=1,o=i.length;a<o;++a)this._+=Math.round(arguments[a]*n)/n+i[a]}}class WB{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=t==null?b5:KB(t)}moveTo(t,n){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,n){this._append`L${this._x1=+t},${this._y1=+n}`}quadraticCurveTo(t,n,i,a){this._append`Q${+t},${+n},${this._x1=+i},${this._y1=+a}`}bezierCurveTo(t,n,i,a,o,l){this._append`C${+t},${+n},${+i},${+a},${this._x1=+o},${this._y1=+l}`}arcTo(t,n,i,a,o){if(t=+t,n=+n,i=+i,a=+a,o=+o,o<0)throw new Error(`negative radius: ${o}`);let l=this._x1,u=this._y1,f=i-t,h=a-n,p=l-t,m=u-n,b=p*p+m*m;if(this._x1===null)this._append`M${this._x1=t},${this._y1=n}`;else if(b>ul)if(!(Math.abs(m*f-h*p)>ul)||!o)this._append`L${this._x1=t},${this._y1=n}`;else{let w=i-l,_=a-u,E=f*f+h*h,O=w*w+_*_,C=Math.sqrt(E),T=Math.sqrt(b),A=o*Math.tan((kb-Math.acos((E+b-O)/(2*C*T)))/2),k=A/T,D=A/C;Math.abs(k-1)>ul&&this._append`L${t+k*p},${n+k*m}`,this._append`A${o},${o},0,0,${+(m*w>p*_)},${this._x1=t+D*f},${this._y1=n+D*h}`}}arc(t,n,i,a,o,l){if(t=+t,n=+n,i=+i,l=!!l,i<0)throw new Error(`negative radius: ${i}`);let u=i*Math.cos(a),f=i*Math.sin(a),h=t+u,p=n+f,m=1^l,b=l?a-o:o-a;this._x1===null?this._append`M${h},${p}`:(Math.abs(this._x1-h)>ul||Math.abs(this._y1-p)>ul)&&this._append`L${h},${p}`,i&&(b<0&&(b=b%Rb+Rb),b>YB?this._append`A${i},${i},0,1,${m},${t-u},${n-f}A${i},${i},0,1,${m},${this._x1=h},${this._y1=p}`:b>ul&&this._append`A${i},${i},0,${+(b>=kb)},${m},${this._x1=t+i*Math.cos(o)},${this._y1=n+i*Math.sin(o)}`)}rect(t,n,i,a){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}h${i=+i}v${+a}h${-i}Z`}toString(){return this._}}function cw(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(n==null)t=null;else{const i=Math.floor(n);if(!(i>=0))throw new RangeError(`invalid digits: ${n}`);t=i}return e},()=>new WB(t)}function uw(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function x5(e){this._context=e}x5.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t);break}}};function Qg(e){return new x5(e)}function w5(e){return e[0]}function _5(e){return e[1]}function E5(e,t){var n=Ct(!0),i=null,a=Qg,o=null,l=cw(u);e=typeof e=="function"?e:e===void 0?w5:Ct(e),t=typeof t=="function"?t:t===void 0?_5:Ct(t);function u(f){var h,p=(f=uw(f)).length,m,b=!1,w;for(i==null&&(o=a(w=l())),h=0;h<=p;++h)!(h<p&&n(m=f[h],h,f))===b&&((b=!b)?o.lineStart():o.lineEnd()),b&&o.point(+e(m,h,f),+t(m,h,f));if(w)return o=null,w+""||null}return u.x=function(f){return arguments.length?(e=typeof f=="function"?f:Ct(+f),u):e},u.y=function(f){return arguments.length?(t=typeof f=="function"?f:Ct(+f),u):t},u.defined=function(f){return arguments.length?(n=typeof f=="function"?f:Ct(!!f),u):n},u.curve=function(f){return arguments.length?(a=f,i!=null&&(o=a(i)),u):a},u.context=function(f){return arguments.length?(f==null?i=o=null:o=a(i=f),u):i},u}function um(e,t,n){var i=null,a=Ct(!0),o=null,l=Qg,u=null,f=cw(h);e=typeof e=="function"?e:e===void 0?w5:Ct(+e),t=typeof t=="function"?t:Ct(t===void 0?0:+t),n=typeof n=="function"?n:n===void 0?_5:Ct(+n);function h(m){var b,w,_,E=(m=uw(m)).length,O,C=!1,T,A=new Array(E),k=new Array(E);for(o==null&&(u=l(T=f())),b=0;b<=E;++b){if(!(b<E&&a(O=m[b],b,m))===C)if(C=!C)w=b,u.areaStart(),u.lineStart();else{for(u.lineEnd(),u.lineStart(),_=b-1;_>=w;--_)u.point(A[_],k[_]);u.lineEnd(),u.areaEnd()}C&&(A[b]=+e(O,b,m),k[b]=+t(O,b,m),u.point(i?+i(O,b,m):A[b],n?+n(O,b,m):k[b]))}if(T)return u=null,T+""||null}function p(){return E5().defined(a).curve(l).context(o)}return h.x=function(m){return arguments.length?(e=typeof m=="function"?m:Ct(+m),i=null,h):e},h.x0=function(m){return arguments.length?(e=typeof m=="function"?m:Ct(+m),h):e},h.x1=function(m){return arguments.length?(i=m==null?null:typeof m=="function"?m:Ct(+m),h):i},h.y=function(m){return arguments.length?(t=typeof m=="function"?m:Ct(+m),n=null,h):t},h.y0=function(m){return arguments.length?(t=typeof m=="function"?m:Ct(+m),h):t},h.y1=function(m){return arguments.length?(n=m==null?null:typeof m=="function"?m:Ct(+m),h):n},h.lineX0=h.lineY0=function(){return p().x(e).y(t)},h.lineY1=function(){return p().x(e).y(n)},h.lineX1=function(){return p().x(i).y(t)},h.defined=function(m){return arguments.length?(a=typeof m=="function"?m:Ct(!!m),h):a},h.curve=function(m){return arguments.length?(l=m,o!=null&&(u=l(o)),h):l},h.context=function(m){return arguments.length?(m==null?o=u=null:u=l(o=m),h):o},h}class S5{constructor(t,n){this._context=t,this._x=n}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(t,n){switch(t=+t,n=+n,this._point){case 0:{this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,n,t,n):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+n)/2,t,this._y0,t,n);break}}this._x0=t,this._y0=n}}function XB(e){return new S5(e,!0)}function QB(e){return new S5(e,!1)}const fw={draw(e,t){const n=Nr(t/sg);e.moveTo(n,0),e.arc(0,0,n,0,Xg)}},ZB={draw(e,t){const n=Nr(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},T5=Nr(1/3),JB=T5*2,eV={draw(e,t){const n=Nr(t/JB),i=n*T5;e.moveTo(0,-n),e.lineTo(i,0),e.lineTo(0,n),e.lineTo(-i,0),e.closePath()}},tV={draw(e,t){const n=Nr(t),i=-n/2;e.rect(i,i,n,n)}},nV=.8908130915292852,A5=ag(sg/10)/ag(7*sg/10),iV=ag(Xg/10)*A5,rV=-y5(Xg/10)*A5,aV={draw(e,t){const n=Nr(t*nV),i=iV*n,a=rV*n;e.moveTo(0,-n),e.lineTo(i,a);for(let o=1;o<5;++o){const l=Xg*o/5,u=y5(l),f=ag(l);e.lineTo(f*n,-u*n),e.lineTo(u*i-f*a,f*i+u*a)}e.closePath()}},Vy=Nr(3),sV={draw(e,t){const n=-Nr(t/(Vy*3));e.moveTo(0,n*2),e.lineTo(-Vy*n,-n),e.lineTo(Vy*n,-n),e.closePath()}},Ki=-.5,Wi=Nr(3)/2,zb=1/Nr(12),oV=(zb/2+1)*3,lV={draw(e,t){const n=Nr(t/oV),i=n/2,a=n*zb,o=i,l=n*zb+n,u=-o,f=l;e.moveTo(i,a),e.lineTo(o,l),e.lineTo(u,f),e.lineTo(Ki*i-Wi*a,Wi*i+Ki*a),e.lineTo(Ki*o-Wi*l,Wi*o+Ki*l),e.lineTo(Ki*u-Wi*f,Wi*u+Ki*f),e.lineTo(Ki*i+Wi*a,Ki*a-Wi*i),e.lineTo(Ki*o+Wi*l,Ki*l-Wi*o),e.lineTo(Ki*u+Wi*f,Ki*f-Wi*u),e.closePath()}};function cV(e,t){let n=null,i=cw(a);e=typeof e=="function"?e:Ct(e||fw),t=typeof t=="function"?t:Ct(t===void 0?64:+t);function a(){let o;if(n||(n=o=i()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),o)return n=null,o+""||null}return a.type=function(o){return arguments.length?(e=typeof o=="function"?o:Ct(o),a):e},a.size=function(o){return arguments.length?(t=typeof o=="function"?o:Ct(+o),a):t},a.context=function(o){return arguments.length?(n=o??null,a):n},a}function og(){}function lg(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function C5(e){this._context=e}C5.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:lg(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:lg(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function uV(e){return new C5(e)}function O5(e){this._context=e}O5.prototype={areaStart:og,areaEnd:og,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:lg(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function fV(e){return new O5(e)}function M5(e){this._context=e}M5.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,i=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,i):this._context.moveTo(n,i);break;case 3:this._point=4;default:lg(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function dV(e){return new M5(e)}function N5(e){this._context=e}N5.prototype={areaStart:og,areaEnd:og,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function hV(e){return new N5(e)}function iA(e){return e<0?-1:1}function rA(e,t,n){var i=e._x1-e._x0,a=t-e._x1,o=(e._y1-e._y0)/(i||a<0&&-0),l=(n-e._y1)/(a||i<0&&-0),u=(o*a+l*i)/(i+a);return(iA(o)+iA(l))*Math.min(Math.abs(o),Math.abs(l),.5*Math.abs(u))||0}function aA(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function Hy(e,t,n){var i=e._x0,a=e._y0,o=e._x1,l=e._y1,u=(o-i)/3;e._context.bezierCurveTo(i+u,a+u*t,o-u,l-u*n,o,l)}function cg(e){this._context=e}cg.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Hy(this,this._t0,aA(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(e=+e,t=+t,!(e===this._x1&&t===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,Hy(this,aA(this,n=rA(this,e,t)),n);break;default:Hy(this,this._t0,n=rA(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}};function j5(e){this._context=new D5(e)}(j5.prototype=Object.create(cg.prototype)).point=function(e,t){cg.prototype.point.call(this,t,e)};function D5(e){this._context=e}D5.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,i,a,o){this._context.bezierCurveTo(t,e,i,n,o,a)}};function pV(e){return new cg(e)}function mV(e){return new j5(e)}function P5(e){this._context=e}P5.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),n===2)this._context.lineTo(e[1],t[1]);else for(var i=sA(e),a=sA(t),o=0,l=1;l<n;++o,++l)this._context.bezierCurveTo(i[0][o],a[0][o],i[1][o],a[1][o],e[l],t[l]);(this._line||this._line!==0&&n===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}};function sA(e){var t,n=e.length-1,i,a=new Array(n),o=new Array(n),l=new Array(n);for(a[0]=0,o[0]=2,l[0]=e[0]+2*e[1],t=1;t<n-1;++t)a[t]=1,o[t]=4,l[t]=4*e[t]+2*e[t+1];for(a[n-1]=2,o[n-1]=7,l[n-1]=8*e[n-1]+e[n],t=1;t<n;++t)i=a[t]/o[t-1],o[t]-=i,l[t]-=i*l[t-1];for(a[n-1]=l[n-1]/o[n-1],t=n-2;t>=0;--t)a[t]=(l[t]-a[t+1])/o[t];for(o[n-1]=(e[n]+a[n-1])/2,t=0;t<n-1;++t)o[t]=2*e[t+1]-a[t+1];return[a,o]}function gV(e){return new P5(e)}function Zg(e,t){this._context=e,this._t=t}Zg.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}break}}this._x=e,this._y=t}};function vV(e){return new Zg(e,.5)}function yV(e){return new Zg(e,0)}function bV(e){return new Zg(e,1)}function fu(e,t){if((l=e.length)>1)for(var n=1,i,a,o=e[t[0]],l,u=o.length;n<l;++n)for(a=o,o=e[t[n]],i=0;i<u;++i)o[i][1]+=o[i][0]=isNaN(a[i][1])?a[i][0]:a[i][1]}function Ib(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n}function xV(e,t){return e[t]}function wV(e){const t=[];return t.key=e,t}function _V(){var e=Ct([]),t=Ib,n=fu,i=xV;function a(o){var l=Array.from(e.apply(this,arguments),wV),u,f=l.length,h=-1,p;for(const m of o)for(u=0,++h;u<f;++u)(l[u][h]=[0,+i(m,l[u].key,h,o)]).data=m;for(u=0,p=uw(t(l));u<f;++u)l[p[u]].index=u;return n(l,p),l}return a.keys=function(o){return arguments.length?(e=typeof o=="function"?o:Ct(Array.from(o)),a):e},a.value=function(o){return arguments.length?(i=typeof o=="function"?o:Ct(+o),a):i},a.order=function(o){return arguments.length?(t=o==null?Ib:typeof o=="function"?o:Ct(Array.from(o)),a):t},a.offset=function(o){return arguments.length?(n=o??fu,a):n},a}function EV(e,t){if((i=e.length)>0){for(var n,i,a=0,o=e[0].length,l;a<o;++a){for(l=n=0;n<i;++n)l+=e[n][a][1]||0;if(l)for(n=0;n<i;++n)e[n][a][1]/=l}fu(e,t)}}function SV(e,t){if((a=e.length)>0){for(var n=0,i=e[t[0]],a,o=i.length;n<o;++n){for(var l=0,u=0;l<a;++l)u+=e[l][n][1]||0;i[n][1]+=i[n][0]=-u/2}fu(e,t)}}function TV(e,t){if(!(!((l=e.length)>0)||!((o=(a=e[t[0]]).length)>0))){for(var n=0,i=1,a,o,l;i<o;++i){for(var u=0,f=0,h=0;u<l;++u){for(var p=e[t[u]],m=p[i][1]||0,b=p[i-1][1]||0,w=(m-b)/2,_=0;_<u;++_){var E=e[t[_]],O=E[i][1]||0,C=E[i-1][1]||0;w+=O-C}f+=m,h+=w*m}a[i-1][1]+=a[i-1][0]=n,f&&(n-=h/f)}a[i-1][1]+=a[i-1][0]=n,fu(e,t)}}var AV=["type","size","sizeType"];function $b(){return $b=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},$b.apply(null,arguments)}function oA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,i)}return n}function lA(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?oA(Object(n),!0).forEach(function(i){CV(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oA(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function CV(e,t,n){return(t=OV(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function OV(e){var t=MV(e,"string");return typeof t=="symbol"?t:t+""}function MV(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function NV(e,t){if(e==null)return{};var n,i,a=jV(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function jV(e,t){if(e==null)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(t.indexOf(i)!==-1)continue;n[i]=e[i]}return n}var L5={symbolCircle:fw,symbolCross:ZB,symbolDiamond:eV,symbolSquare:tV,symbolStar:aV,symbolTriangle:sV,symbolWye:lV},DV=Math.PI/180,PV=e=>{var t="symbol".concat(nh(e));return L5[t]||fw},LV=(e,t,n)=>{if(t==="area")return e;switch(n){case"cross":return 5*e*e/9;case"diamond":return .5*e*e/Math.sqrt(3);case"square":return e*e;case"star":{var i=18*DV;return 1.25*e*e*(Math.tan(i)-Math.tan(i*2)*Math.tan(i)**2)}case"triangle":return Math.sqrt(3)*e*e/4;case"wye":return(21-10*Math.sqrt(3))*e*e/8;default:return Math.PI*e*e/4}},kV=(e,t)=>{L5["symbol".concat(nh(e))]=t},k5=e=>{var{type:t="circle",size:n=64,sizeType:i="area"}=e,a=NV(e,AV),o=lA(lA({},a),{},{type:t,size:n,sizeType:i}),l=()=>{var m=PV(t),b=cV().type(m).size(LV(n,i,t));return b()},{className:u,cx:f,cy:h}=o,p=Or(o,!0);return f===+f&&h===+h&&n===+n?j.createElement("path",$b({},p,{className:Li("recharts-symbols",u),transform:"translate(".concat(f,", ").concat(h,")"),d:l()})):null};k5.registerSymbol=kV;var qy={},Uy={},cA;function RV(){return cA||(cA=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return Number.isSafeInteger(n)&&n>=0}e.isLength=t})(Uy)),Uy}var uA;function zV(){return uA||(uA=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=RV();function n(i){return i!=null&&typeof i!="function"&&t.isLength(i.length)}e.isArrayLike=n})(qy)),qy}var Fy={},fA;function IV(){return fA||(fA=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return n!==null&&(typeof n=="object"||typeof n=="function")}e.isObject=t})(Fy)),Fy}var Gy={},dA;function R5(){return dA||(dA=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n,i){return n===i||Number.isNaN(n)&&Number.isNaN(i)}e.eq=t})(Gy)),Gy}var Yy={},hA;function $V(){return hA||(hA=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return Object.getOwnPropertySymbols(n).filter(i=>Object.prototype.propertyIsEnumerable.call(n,i))}e.getSymbols=t})(Yy)),Yy}var Ky={},pA;function BV(){return pA||(pA=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return n==null?n===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(n)}e.getTag=t})(Ky)),Ky}var Wy={},mA;function VV(){return mA||(mA=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t="[object RegExp]",n="[object String]",i="[object Number]",a="[object Boolean]",o="[object Arguments]",l="[object Symbol]",u="[object Date]",f="[object Map]",h="[object Set]",p="[object Array]",m="[object Function]",b="[object ArrayBuffer]",w="[object Object]",_="[object Error]",E="[object DataView]",O="[object Uint8Array]",C="[object Uint8ClampedArray]",T="[object Uint16Array]",A="[object Uint32Array]",k="[object BigUint64Array]",D="[object Int8Array]",R="[object Int16Array]",B="[object Int32Array]",$="[object BigInt64Array]",F="[object Float32Array]",X="[object Float64Array]";e.argumentsTag=o,e.arrayBufferTag=b,e.arrayTag=p,e.bigInt64ArrayTag=$,e.bigUint64ArrayTag=k,e.booleanTag=a,e.dataViewTag=E,e.dateTag=u,e.errorTag=_,e.float32ArrayTag=F,e.float64ArrayTag=X,e.functionTag=m,e.int16ArrayTag=R,e.int32ArrayTag=B,e.int8ArrayTag=D,e.mapTag=f,e.numberTag=i,e.objectTag=w,e.regexpTag=t,e.setTag=h,e.stringTag=n,e.symbolTag=l,e.uint16ArrayTag=T,e.uint32ArrayTag=A,e.uint8ArrayTag=O,e.uint8ClampedArrayTag=C})(Wy)),Wy}var Xy={},gA;function HV(){return gA||(gA=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=/^(?:0|[1-9]\d*)$/;function n(i,a=Number.MAX_SAFE_INTEGER){switch(typeof i){case"number":return Number.isInteger(i)&&i>=0&&i<a;case"symbol":return!1;case"string":return t.test(i)}}e.isIndex=n})(Xy)),Xy}var Qy={exports:{}},Zy={},Jy={exports:{}},e1={};/** * @license React * use-sync-external-store-shim.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var vA;function qV(){if(vA)return e1;vA=1;var e=Eu();function t(m,b){return m===b&&(m!==0||1/m===1/b)||m!==m&&b!==b}var n=typeof Object.is=="function"?Object.is:t,i=e.useState,a=e.useEffect,o=e.useLayoutEffect,l=e.useDebugValue;function u(m,b){var w=b(),_=i({inst:{value:w,getSnapshot:b}}),E=_[0].inst,O=_[1];return o(function(){E.value=w,E.getSnapshot=b,f(E)&&O({inst:E})},[m,w,b]),a(function(){return f(E)&&O({inst:E}),m(function(){f(E)&&O({inst:E})})},[m]),l(w),w}function f(m){var b=m.getSnapshot;m=m.value;try{var w=b();return!n(m,w)}catch{return!0}}function h(m,b){return b()}var p=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?h:u;return e1.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:p,e1}var yA;function UV(){return yA||(yA=1,Jy.exports=qV()),Jy.exports}/** * @license React * use-sync-external-store-shim/with-selector.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var bA;function FV(){if(bA)return Zy;bA=1;var e=Eu(),t=UV();function n(h,p){return h===p&&(h!==0||1/h===1/p)||h!==h&&p!==p}var i=typeof Object.is=="function"?Object.is:n,a=t.useSyncExternalStore,o=e.useRef,l=e.useEffect,u=e.useMemo,f=e.useDebugValue;return Zy.useSyncExternalStoreWithSelector=function(h,p,m,b,w){var _=o(null);if(_.current===null){var E={hasValue:!1,value:null};_.current=E}else E=_.current;_=u(function(){function C(R){if(!T){if(T=!0,A=R,R=b(R),w!==void 0&&E.hasValue){var B=E.value;if(w(B,R))return k=B}return k=R}if(B=k,i(A,R))return B;var $=b(R);return w!==void 0&&w(B,$)?(A=R,B):(A=R,k=$)}var T=!1,A,k,D=m===void 0?null:m;return[function(){return C(p())},D===null?void 0:function(){return C(D())}]},[p,m,b,w]);var O=a(h,_[0],_[1]);return l(function(){E.hasValue=!0,E.value=O},[O]),f(O),O},Zy}var xA;function GV(){return xA||(xA=1,Qy.exports=FV()),Qy.exports}var YV=GV(),dw=j.createContext(null),KV=e=>e,ei=()=>{var e=j.useContext(dw);return e?e.store.dispatch:KV},$m=()=>{},WV=()=>$m,XV=(e,t)=>e===t;function Xt(e){var t=j.useContext(dw);return YV.useSyncExternalStoreWithSelector(t?t.subscription.addNestedSub:WV,t?t.store.getState:$m,t?t.store.getState:$m,t?e:$m,XV)}function QV(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!="function")throw new TypeError(t)}function ZV(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!="object")throw new TypeError(t)}function JV(e,t="expected all items to be functions, instead received the following types: "){if(!e.every(n=>typeof n=="function")){const n=e.map(i=>typeof i=="function"?`function ${i.name||"unnamed"}()`:typeof i).join(", ");throw new TypeError(`${t}[${n}]`)}}var wA=e=>Array.isArray(e)?e:[e];function eH(e){const t=Array.isArray(e[0])?e[0]:e;return JV(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function tH(e,t){const n=[],{length:i}=e;for(let a=0;a<i;a++)n.push(e[a].apply(null,t));return n}var nH=class{constructor(e){this.value=e}deref(){return this.value}},iH=typeof WeakRef<"u"?WeakRef:nH,rH=0,_A=1;function fm(){return{s:rH,v:void 0,o:null,p:null}}function z5(e,t={}){let n=fm();const{resultEqualityCheck:i}=t;let a,o=0;function l(){let u=n;const{length:f}=arguments;for(let m=0,b=f;m<b;m++){const w=arguments[m];if(typeof w=="function"||typeof w=="object"&&w!==null){let _=u.o;_===null&&(u.o=_=new WeakMap);const E=_.get(w);E===void 0?(u=fm(),_.set(w,u)):u=E}else{let _=u.p;_===null&&(u.p=_=new Map);const E=_.get(w);E===void 0?(u=fm(),_.set(w,u)):u=E}}const h=u;let p;if(u.s===_A)p=u.v;else if(p=e.apply(null,arguments),o++,i){const m=a?.deref?.()??a;m!=null&&i(m,p)&&(p=m,o!==0&&o--),a=typeof p=="object"&&p!==null||typeof p=="function"?new iH(p):p}return h.s=_A,h.v=p,p}return l.clearCache=()=>{n=fm(),l.resetResultsCount()},l.resultsCount=()=>o,l.resetResultsCount=()=>{o=0},l}function aH(e,...t){const n=typeof e=="function"?{memoize:e,memoizeOptions:t}:e,i=(...a)=>{let o=0,l=0,u,f={},h=a.pop();typeof h=="object"&&(f=h,h=a.pop()),QV(h,`createSelector expects an output function after the inputs, but received: [${typeof h}]`);const p={...n,...f},{memoize:m,memoizeOptions:b=[],argsMemoize:w=z5,argsMemoizeOptions:_=[]}=p,E=wA(b),O=wA(_),C=eH(a),T=m(function(){return o++,h.apply(null,arguments)},...E),A=w(function(){l++;const D=tH(C,arguments);return u=T.apply(null,D),u},...O);return Object.assign(A,{resultFunc:h,memoizedResultFunc:T,dependencies:C,dependencyRecomputations:()=>l,resetDependencyRecomputations:()=>{l=0},lastResult:()=>u,recomputations:()=>o,resetRecomputations:()=>{o=0},memoize:m,argsMemoize:w})};return Object.assign(i,{withTypes:()=>i}),i}var ae=aH(z5),sH=Object.assign((e,t=ae)=>{ZV(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);const n=Object.keys(e),i=n.map(o=>e[o]);return t(i,(...o)=>o.reduce((l,u,f)=>(l[n[f]]=u,l),{}))},{withTypes:()=>sH}),t1={},n1={},i1={},EA;function oH(){return EA||(EA=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(i){return typeof i=="symbol"?1:i===null?2:i===void 0?3:i!==i?4:0}const n=(i,a,o)=>{if(i!==a){const l=t(i),u=t(a);if(l===u&&l===0){if(i<a)return o==="desc"?1:-1;if(i>a)return o==="desc"?-1:1}return o==="desc"?u-l:l-u}return 0};e.compareValues=n})(i1)),i1}var r1={},a1={},SA;function I5(){return SA||(SA=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return typeof n=="symbol"||n instanceof Symbol}e.isSymbol=t})(a1)),a1}var TA;function lH(){return TA||(TA=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=I5(),n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;function a(o,l){return Array.isArray(o)?!1:typeof o=="number"||typeof o=="boolean"||o==null||t.isSymbol(o)?!0:typeof o=="string"&&(i.test(o)||!n.test(o))||l!=null&&Object.hasOwn(l,o)}e.isKey=a})(r1)),r1}var AA;function cH(){return AA||(AA=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=oH(),n=lH(),i=d5();function a(o,l,u,f){if(o==null)return[];u=f?void 0:u,Array.isArray(o)||(o=Object.values(o)),Array.isArray(l)||(l=l==null?[null]:[l]),l.length===0&&(l=[null]),Array.isArray(u)||(u=u==null?[]:[u]),u=u.map(w=>String(w));const h=(w,_)=>{let E=w;for(let O=0;O<_.length&&E!=null;++O)E=E[_[O]];return E},p=(w,_)=>_==null||w==null?_:typeof w=="object"&&"key"in w?Object.hasOwn(_,w.key)?_[w.key]:h(_,w.path):typeof w=="function"?w(_):Array.isArray(w)?h(_,w):typeof _=="object"?_[w]:_,m=l.map(w=>(Array.isArray(w)&&w.length===1&&(w=w[0]),w==null||typeof w=="function"||Array.isArray(w)||n.isKey(w)?w:{key:w,path:i.toPath(w)}));return o.map(w=>({original:w,criteria:m.map(_=>p(_,w))})).slice().sort((w,_)=>{for(let E=0;E<m.length;E++){const O=t.compareValues(w.criteria[E],_.criteria[E],u[E]);if(O!==0)return O}return 0}).map(w=>w.original)}e.orderBy=a})(n1)),n1}var s1={},CA;function uH(){return CA||(CA=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n,i=1){const a=[],o=Math.floor(i),l=(u,f)=>{for(let h=0;h<u.length;h++){const p=u[h];Array.isArray(p)&&f<o?l(p,f+1):a.push(p)}};return l(n,0),a}e.flatten=t})(s1)),s1}var o1={},OA;function $5(){return OA||(OA=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=HV(),n=zV(),i=IV(),a=R5();function o(l,u,f){return i.isObject(f)&&(typeof u=="number"&&n.isArrayLike(f)&&t.isIndex(u)&&u<f.length||typeof u=="string"&&u in f)?a.eq(f[u],l):!1}e.isIterateeCall=o})(o1)),o1}var MA;function fH(){return MA||(MA=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=cH(),n=uH(),i=$5();function a(o,...l){const u=l.length;return u>1&&i.isIterateeCall(o,l[0],l[1])?l=[]:u>2&&i.isIterateeCall(l[0],l[1],l[2])&&(l=[l[0]]),t.orderBy(o,n.flatten(l),["asc"])}e.sortBy=a})(t1)),t1}var l1,NA;function dH(){return NA||(NA=1,l1=fH().sortBy),l1}var hH=dH();const B5=os(hH);var V5=e=>e.legend.settings,pH=e=>e.legend.size,mH=e=>e.legend.payload;ae([mH,V5],(e,t)=>{var{itemSorter:n}=t,i=e.flat(1);return n?B5(i,n):i});function On(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var gH=typeof Symbol=="function"&&Symbol.observable||"@@observable",jA=gH,c1=()=>Math.random().toString(36).substring(7).split("").join("."),vH={INIT:`@@redux/INIT${c1()}`,REPLACE:`@@redux/REPLACE${c1()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${c1()}`},ug=vH;function hw(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function H5(e,t,n){if(typeof e!="function")throw new Error(On(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(On(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(On(1));return n(H5)(e,t)}let i=e,a=t,o=new Map,l=o,u=0,f=!1;function h(){l===o&&(l=new Map,o.forEach((O,C)=>{l.set(C,O)}))}function p(){if(f)throw new Error(On(3));return a}function m(O){if(typeof O!="function")throw new Error(On(4));if(f)throw new Error(On(5));let C=!0;h();const T=u++;return l.set(T,O),function(){if(C){if(f)throw new Error(On(6));C=!1,h(),l.delete(T),o=null}}}function b(O){if(!hw(O))throw new Error(On(7));if(typeof O.type>"u")throw new Error(On(8));if(typeof O.type!="string")throw new Error(On(17));if(f)throw new Error(On(9));try{f=!0,a=i(a,O)}finally{f=!1}return(o=l).forEach(T=>{T()}),O}function w(O){if(typeof O!="function")throw new Error(On(10));i=O,b({type:ug.REPLACE})}function _(){const O=m;return{subscribe(C){if(typeof C!="object"||C===null)throw new Error(On(11));function T(){const k=C;k.next&&k.next(p())}return T(),{unsubscribe:O(T)}},[jA](){return this}}}return b({type:ug.INIT}),{dispatch:b,subscribe:m,getState:p,replaceReducer:w,[jA]:_}}function yH(e){Object.keys(e).forEach(t=>{const n=e[t];if(typeof n(void 0,{type:ug.INIT})>"u")throw new Error(On(12));if(typeof n(void 0,{type:ug.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(On(13))})}function q5(e){const t=Object.keys(e),n={};for(let o=0;o<t.length;o++){const l=t[o];typeof e[l]=="function"&&(n[l]=e[l])}const i=Object.keys(n);let a;try{yH(n)}catch(o){a=o}return function(l={},u){if(a)throw a;let f=!1;const h={};for(let p=0;p<i.length;p++){const m=i[p],b=n[m],w=l[m],_=b(w,u);if(typeof _>"u")throw u&&u.type,new Error(On(14));h[m]=_,f=f||_!==w}return f=f||i.length!==Object.keys(l).length,f?h:l}}function fg(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...i)=>t(n(...i)))}function bH(...e){return t=>(n,i)=>{const a=t(n,i);let o=()=>{throw new Error(On(15))};const l={getState:a.getState,dispatch:(f,...h)=>o(f,...h)},u=e.map(f=>f(l));return o=fg(...u)(a.dispatch),{...a,dispatch:o}}}function U5(e){return hw(e)&&"type"in e&&typeof e.type=="string"}var F5=Symbol.for("immer-nothing"),DA=Symbol.for("immer-draftable"),Ni=Symbol.for("immer-state");function Tr(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var du=Object.getPrototypeOf;function Ol(e){return!!e&&!!e[Ni]}function ts(e){return e?G5(e)||Array.isArray(e)||!!e[DA]||!!e.constructor?.[DA]||ih(e)||ev(e):!1}var xH=Object.prototype.constructor.toString();function G5(e){if(!e||typeof e!="object")return!1;const t=du(e);if(t===null)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object?!0:typeof n=="function"&&Function.toString.call(n)===xH}function dg(e,t){Jg(e)===0?Reflect.ownKeys(e).forEach(n=>{t(n,e[n],e)}):e.forEach((n,i)=>t(i,n,e))}function Jg(e){const t=e[Ni];return t?t.type_:Array.isArray(e)?1:ih(e)?2:ev(e)?3:0}function Bb(e,t){return Jg(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Y5(e,t,n){const i=Jg(e);i===2?e.set(t,n):i===3?e.add(n):e[t]=n}function wH(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function ih(e){return e instanceof Map}function ev(e){return e instanceof Set}function fl(e){return e.copy_||e.base_}function Vb(e,t){if(ih(e))return new Map(e);if(ev(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const n=G5(e);if(t===!0||t==="class_only"&&!n){const i=Object.getOwnPropertyDescriptors(e);delete i[Ni];let a=Reflect.ownKeys(i);for(let o=0;o<a.length;o++){const l=a[o],u=i[l];u.writable===!1&&(u.writable=!0,u.configurable=!0),(u.get||u.set)&&(i[l]={configurable:!0,writable:!0,enumerable:u.enumerable,value:e[l]})}return Object.create(du(e),i)}else{const i=du(e);if(i!==null&&n)return{...e};const a=Object.create(i);return Object.assign(a,e)}}function pw(e,t=!1){return tv(e)||Ol(e)||!ts(e)||(Jg(e)>1&&Object.defineProperties(e,{set:{value:dm},add:{value:dm},clear:{value:dm},delete:{value:dm}}),Object.freeze(e),t&&Object.values(e).forEach(n=>pw(n,!0))),e}function dm(){Tr(2)}function tv(e){return Object.isFrozen(e)}var _H={};function Ml(e){const t=_H[e];return t||Tr(0,e),t}var $d;function K5(){return $d}function EH(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function PA(e,t){t&&(Ml("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Hb(e){qb(e),e.drafts_.forEach(SH),e.drafts_=null}function qb(e){e===$d&&($d=e.parent_)}function LA(e){return $d=EH($d,e)}function SH(e){const t=e[Ni];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function kA(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[Ni].modified_&&(Hb(t),Tr(4)),ts(e)&&(e=hg(t,e),t.parent_||pg(t,e)),t.patches_&&Ml("Patches").generateReplacementPatches_(n[Ni].base_,e,t.patches_,t.inversePatches_)):e=hg(t,n,[]),Hb(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==F5?e:void 0}function hg(e,t,n){if(tv(t))return t;const i=t[Ni];if(!i)return dg(t,(a,o)=>RA(e,i,t,a,o,n)),t;if(i.scope_!==e)return t;if(!i.modified_)return pg(e,i.base_,!0),i.base_;if(!i.finalized_){i.finalized_=!0,i.scope_.unfinalizedDrafts_--;const a=i.copy_;let o=a,l=!1;i.type_===3&&(o=new Set(a),a.clear(),l=!0),dg(o,(u,f)=>RA(e,i,a,u,f,n,l)),pg(e,a,!1),n&&e.patches_&&Ml("Patches").generatePatches_(i,n,e.patches_,e.inversePatches_)}return i.copy_}function RA(e,t,n,i,a,o,l){if(Ol(a)){const u=o&&t&&t.type_!==3&&!Bb(t.assigned_,i)?o.concat(i):void 0,f=hg(e,a,u);if(Y5(n,i,f),Ol(f))e.canAutoFreeze_=!1;else return}else l&&n.add(a);if(ts(a)&&!tv(a)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;hg(e,a),(!t||!t.scope_.parent_)&&typeof i!="symbol"&&(ih(n)?n.has(i):Object.prototype.propertyIsEnumerable.call(n,i))&&pg(e,a)}}function pg(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&pw(t,n)}function TH(e,t){const n=Array.isArray(e),i={type_:n?1:0,scope_:t?t.scope_:K5(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let a=i,o=mw;n&&(a=[i],o=Bd);const{revoke:l,proxy:u}=Proxy.revocable(a,o);return i.draft_=u,i.revoke_=l,u}var mw={get(e,t){if(t===Ni)return e;const n=fl(e);if(!Bb(n,t))return AH(e,n,t);const i=n[t];return e.finalized_||!ts(i)?i:i===u1(e.base_,t)?(f1(e),e.copy_[t]=Fb(i,e)):i},has(e,t){return t in fl(e)},ownKeys(e){return Reflect.ownKeys(fl(e))},set(e,t,n){const i=W5(fl(e),t);if(i?.set)return i.set.call(e.draft_,n),!0;if(!e.modified_){const a=u1(fl(e),t),o=a?.[Ni];if(o&&o.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(wH(n,a)&&(n!==void 0||Bb(e.base_,t)))return!0;f1(e),Ub(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty(e,t){return u1(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,f1(e),Ub(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=fl(e),i=Reflect.getOwnPropertyDescriptor(n,t);return i&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:i.enumerable,value:n[t]}},defineProperty(){Tr(11)},getPrototypeOf(e){return du(e.base_)},setPrototypeOf(){Tr(12)}},Bd={};dg(mw,(e,t)=>{Bd[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});Bd.deleteProperty=function(e,t){return Bd.set.call(this,e,t,void 0)};Bd.set=function(e,t,n){return mw.set.call(this,e[0],t,n,e[0])};function u1(e,t){const n=e[Ni];return(n?fl(n):e)[t]}function AH(e,t,n){const i=W5(t,n);return i?"value"in i?i.value:i.get?.call(e.draft_):void 0}function W5(e,t){if(!(t in e))return;let n=du(e);for(;n;){const i=Object.getOwnPropertyDescriptor(n,t);if(i)return i;n=du(n)}}function Ub(e){e.modified_||(e.modified_=!0,e.parent_&&Ub(e.parent_))}function f1(e){e.copy_||(e.copy_=Vb(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var CH=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,n,i)=>{if(typeof t=="function"&&typeof n!="function"){const o=n;n=t;const l=this;return function(f=o,...h){return l.produce(f,p=>n.call(this,p,...h))}}typeof n!="function"&&Tr(6),i!==void 0&&typeof i!="function"&&Tr(7);let a;if(ts(t)){const o=LA(this),l=Fb(t,void 0);let u=!0;try{a=n(l),u=!1}finally{u?Hb(o):qb(o)}return PA(o,i),kA(a,o)}else if(!t||typeof t!="object"){if(a=n(t),a===void 0&&(a=t),a===F5&&(a=void 0),this.autoFreeze_&&pw(a,!0),i){const o=[],l=[];Ml("Patches").generateReplacementPatches_(t,a,o,l),i(o,l)}return a}else Tr(1,t)},this.produceWithPatches=(t,n)=>{if(typeof t=="function")return(l,...u)=>this.produceWithPatches(l,f=>t(f,...u));let i,a;return[this.produce(t,n,(l,u)=>{i=l,a=u}),i,a]},typeof e?.autoFreeze=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof e?.useStrictShallowCopy=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){ts(e)||Tr(8),Ol(e)&&(e=Ka(e));const t=LA(this),n=Fb(e,void 0);return n[Ni].isManual_=!0,qb(t),n}finishDraft(e,t){const n=e&&e[Ni];(!n||!n.isManual_)&&Tr(9);const{scope_:i}=n;return PA(i,t),kA(void 0,i)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const a=t[n];if(a.path.length===0&&a.op==="replace"){e=a.value;break}}n>-1&&(t=t.slice(n+1));const i=Ml("Patches").applyPatches_;return Ol(e)?i(e,t):this.produce(e,a=>i(a,t))}};function Fb(e,t){const n=ih(e)?Ml("MapSet").proxyMap_(e,t):ev(e)?Ml("MapSet").proxySet_(e,t):TH(e,t);return(t?t.scope_:K5()).drafts_.push(n),n}function Ka(e){return Ol(e)||Tr(10,e),X5(e)}function X5(e){if(!ts(e)||tv(e))return e;const t=e[Ni];let n;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=Vb(e,t.scope_.immer_.useStrictShallowCopy_)}else n=Vb(e,!0);return dg(n,(i,a)=>{Y5(n,i,X5(a))}),t&&(t.finalized_=!1),n}var OH=new CH,Q5=OH.produce;function Z5(e){return({dispatch:n,getState:i})=>a=>o=>typeof o=="function"?o(n,i,e):a(o)}var MH=Z5(),NH=Z5,jH=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?fg:fg.apply(null,arguments)};function ir(e,t){function n(...i){if(t){let a=t(...i);if(!a)throw new Error(Mi(0));return{type:e,payload:a.payload,..."meta"in a&&{meta:a.meta},..."error"in a&&{error:a.error}}}return{type:e,payload:i[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=i=>U5(i)&&i.type===e,n}var J5=class bd extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,bd.prototype)}static get[Symbol.species](){return bd}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new bd(...t[0].concat(this)):new bd(...t.concat(this))}};function zA(e){return ts(e)?Q5(e,()=>{}):e}function hm(e,t,n){return e.has(t)?e.get(t):e.set(t,n(t)).get(t)}function DH(e){return typeof e=="boolean"}var PH=()=>function(t){const{thunk:n=!0,immutableCheck:i=!0,serializableCheck:a=!0,actionCreatorCheck:o=!0}=t??{};let l=new J5;return n&&(DH(n)?l.push(MH):l.push(NH(n.extraArgument))),l},LH="RTK_autoBatch",IA=e=>t=>{setTimeout(t,e)},kH=(e={type:"raf"})=>t=>(...n)=>{const i=t(...n);let a=!0,o=!1,l=!1;const u=new Set,f=e.type==="tick"?queueMicrotask:e.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:IA(10):e.type==="callback"?e.queueNotification:IA(e.timeout),h=()=>{l=!1,o&&(o=!1,u.forEach(p=>p()))};return Object.assign({},i,{subscribe(p){const m=()=>a&&p(),b=i.subscribe(m);return u.add(p),()=>{b(),u.delete(p)}},dispatch(p){try{return a=!p?.meta?.[LH],o=!a,o&&(l||(l=!0,f(h))),i.dispatch(p)}finally{a=!0}}})},RH=e=>function(n){const{autoBatch:i=!0}=n??{};let a=new J5(e);return i&&a.push(kH(typeof i=="object"?i:void 0)),a};function zH(e){const t=PH(),{reducer:n=void 0,middleware:i,devTools:a=!0,preloadedState:o=void 0,enhancers:l=void 0}=e||{};let u;if(typeof n=="function")u=n;else if(hw(n))u=q5(n);else throw new Error(Mi(1));let f;typeof i=="function"?f=i(t):f=t();let h=fg;a&&(h=jH({trace:!1,...typeof a=="object"&&a}));const p=bH(...f),m=RH(p);let b=typeof l=="function"?l(m):m();const w=h(...b);return H5(u,o,w)}function eN(e){const t={},n=[];let i;const a={addCase(o,l){const u=typeof o=="string"?o:o.type;if(!u)throw new Error(Mi(28));if(u in t)throw new Error(Mi(29));return t[u]=l,a},addAsyncThunk(o,l){return l.pending&&(t[o.pending.type]=l.pending),l.rejected&&(t[o.rejected.type]=l.rejected),l.fulfilled&&(t[o.fulfilled.type]=l.fulfilled),l.settled&&n.push({matcher:o.settled,reducer:l.settled}),a},addMatcher(o,l){return n.push({matcher:o,reducer:l}),a},addDefaultCase(o){return i=o,a}};return e(a),[t,n,i]}function IH(e){return typeof e=="function"}function $H(e,t){let[n,i,a]=eN(t),o;if(IH(e))o=()=>zA(e());else{const u=zA(e);o=()=>u}function l(u=o(),f){let h=[n[f.type],...i.filter(({matcher:p})=>p(f)).map(({reducer:p})=>p)];return h.filter(p=>!!p).length===0&&(h=[a]),h.reduce((p,m)=>{if(m)if(Ol(p)){const w=m(p,f);return w===void 0?p:w}else{if(ts(p))return Q5(p,b=>m(b,f));{const b=m(p,f);if(b===void 0){if(p===null)return p;throw Error("A case reducer on a non-draftable value must not return undefined")}return b}}return p},u)}return l.getInitialState=o,l}var BH="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",VH=(e=21)=>{let t="",n=e;for(;n--;)t+=BH[Math.random()*64|0];return t},HH=Symbol.for("rtk-slice-createasyncthunk");function qH(e,t){return`${e}/${t}`}function UH({creators:e}={}){const t=e?.asyncThunk?.[HH];return function(i){const{name:a,reducerPath:o=a}=i;if(!a)throw new Error(Mi(11));const l=(typeof i.reducers=="function"?i.reducers(GH()):i.reducers)||{},u=Object.keys(l),f={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},h={addCase(A,k){const D=typeof A=="string"?A:A.type;if(!D)throw new Error(Mi(12));if(D in f.sliceCaseReducersByType)throw new Error(Mi(13));return f.sliceCaseReducersByType[D]=k,h},addMatcher(A,k){return f.sliceMatchers.push({matcher:A,reducer:k}),h},exposeAction(A,k){return f.actionCreators[A]=k,h},exposeCaseReducer(A,k){return f.sliceCaseReducersByName[A]=k,h}};u.forEach(A=>{const k=l[A],D={reducerName:A,type:qH(a,A),createNotation:typeof i.reducers=="function"};KH(k)?XH(D,k,h,t):YH(D,k,h)});function p(){const[A={},k=[],D=void 0]=typeof i.extraReducers=="function"?eN(i.extraReducers):[i.extraReducers],R={...A,...f.sliceCaseReducersByType};return $H(i.initialState,B=>{for(let $ in R)B.addCase($,R[$]);for(let $ of f.sliceMatchers)B.addMatcher($.matcher,$.reducer);for(let $ of k)B.addMatcher($.matcher,$.reducer);D&&B.addDefaultCase(D)})}const m=A=>A,b=new Map,w=new WeakMap;let _;function E(A,k){return _||(_=p()),_(A,k)}function O(){return _||(_=p()),_.getInitialState()}function C(A,k=!1){function D(B){let $=B[A];return typeof $>"u"&&k&&($=hm(w,D,O)),$}function R(B=m){const $=hm(b,k,()=>new WeakMap);return hm($,B,()=>{const F={};for(const[X,H]of Object.entries(i.selectors??{}))F[X]=FH(H,B,()=>hm(w,B,O),k);return F})}return{reducerPath:A,getSelectors:R,get selectors(){return R(D)},selectSlice:D}}const T={name:a,reducer:E,actions:f.actionCreators,caseReducers:f.sliceCaseReducersByName,getInitialState:O,...C(o),injectInto(A,{reducerPath:k,...D}={}){const R=k??o;return A.inject({reducerPath:R,reducer:E},D),{...T,...C(R,!0)}}};return T}}function FH(e,t,n,i){function a(o,...l){let u=t(o);return typeof u>"u"&&i&&(u=n()),e(u,...l)}return a.unwrapped=e,a}var ki=UH();function GH(){function e(t,n){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...n}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...n){return t(...n)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,n){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:n}},asyncThunk:e}}function YH({type:e,reducerName:t,createNotation:n},i,a){let o,l;if("reducer"in i){if(n&&!WH(i))throw new Error(Mi(17));o=i.reducer,l=i.prepare}else o=i;a.addCase(e,o).exposeCaseReducer(t,o).exposeAction(t,l?ir(e,l):ir(e))}function KH(e){return e._reducerDefinitionType==="asyncThunk"}function WH(e){return e._reducerDefinitionType==="reducerWithPrepare"}function XH({type:e,reducerName:t},n,i,a){if(!a)throw new Error(Mi(18));const{payloadCreator:o,fulfilled:l,pending:u,rejected:f,settled:h,options:p}=n,m=a(e,o,p);i.exposeAction(t,m),l&&i.addCase(m.fulfilled,l),u&&i.addCase(m.pending,u),f&&i.addCase(m.rejected,f),h&&i.addMatcher(m.settled,h),i.exposeCaseReducer(t,{fulfilled:l||pm,pending:u||pm,rejected:f||pm,settled:h||pm})}function pm(){}var QH="task",tN="listener",nN="completed",gw="cancelled",ZH=`task-${gw}`,JH=`task-${nN}`,Gb=`${tN}-${gw}`,eq=`${tN}-${nN}`,nv=class{constructor(e){this.code=e,this.message=`${QH} ${gw} (reason: ${e})`}name="TaskAbortError";message},vw=(e,t)=>{if(typeof e!="function")throw new TypeError(Mi(32))},mg=()=>{},iN=(e,t=mg)=>(e.catch(t),e),rN=(e,t)=>(e.addEventListener("abort",t,{once:!0}),()=>e.removeEventListener("abort",t)),_l=(e,t)=>{const n=e.signal;n.aborted||("reason"in n||Object.defineProperty(n,"reason",{enumerable:!0,value:t,configurable:!0,writable:!0}),e.abort(t))},El=e=>{if(e.aborted){const{reason:t}=e;throw new nv(t)}};function aN(e,t){let n=mg;return new Promise((i,a)=>{const o=()=>a(new nv(e.reason));if(e.aborted){o();return}n=rN(e,o),t.finally(()=>n()).then(i,a)}).finally(()=>{n=mg})}var tq=async(e,t)=>{try{return await Promise.resolve(),{status:"ok",value:await e()}}catch(n){return{status:n instanceof nv?"cancelled":"rejected",error:n}}finally{t?.()}},gg=e=>t=>iN(aN(e,t).then(n=>(El(e),n))),sN=e=>{const t=gg(e);return n=>t(new Promise(i=>setTimeout(i,n)))},{assign:ru}=Object,$A={},iv="listenerMiddleware",nq=(e,t)=>{const n=i=>rN(e,()=>_l(i,e.reason));return(i,a)=>{vw(i);const o=new AbortController;n(o);const l=tq(async()=>{El(e),El(o.signal);const u=await i({pause:gg(o.signal),delay:sN(o.signal),signal:o.signal});return El(o.signal),u},()=>_l(o,JH));return a?.autoJoin&&t.push(l.catch(mg)),{result:gg(e)(l),cancel(){_l(o,ZH)}}}},iq=(e,t)=>{const n=async(i,a)=>{El(t);let o=()=>{};const u=[new Promise((f,h)=>{let p=e({predicate:i,effect:(m,b)=>{b.unsubscribe(),f([m,b.getState(),b.getOriginalState()])}});o=()=>{p(),h()}})];a!=null&&u.push(new Promise(f=>setTimeout(f,a,null)));try{const f=await aN(t,Promise.race(u));return El(t),f}finally{o()}};return(i,a)=>iN(n(i,a))},oN=e=>{let{type:t,actionCreator:n,matcher:i,predicate:a,effect:o}=e;if(t)a=ir(t).match;else if(n)t=n.type,a=n.match;else if(i)a=i;else if(!a)throw new Error(Mi(21));return vw(o),{predicate:a,type:t,effect:o}},lN=ru(e=>{const{type:t,predicate:n,effect:i}=oN(e);return{id:VH(),effect:i,type:t,predicate:n,pending:new Set,unsubscribe:()=>{throw new Error(Mi(22))}}},{withTypes:()=>lN}),BA=(e,t)=>{const{type:n,effect:i,predicate:a}=oN(t);return Array.from(e.values()).find(o=>(typeof n=="string"?o.type===n:o.predicate===a)&&o.effect===i)},Yb=e=>{e.pending.forEach(t=>{_l(t,Gb)})},rq=e=>()=>{e.forEach(Yb),e.clear()},VA=(e,t,n)=>{try{e(t,n)}catch(i){setTimeout(()=>{throw i},0)}},cN=ru(ir(`${iv}/add`),{withTypes:()=>cN}),aq=ir(`${iv}/removeAll`),uN=ru(ir(`${iv}/remove`),{withTypes:()=>uN}),sq=(...e)=>{console.error(`${iv}/error`,...e)},rh=(e={})=>{const t=new Map,{extra:n,onError:i=sq}=e;vw(i);const a=p=>(p.unsubscribe=()=>t.delete(p.id),t.set(p.id,p),m=>{p.unsubscribe(),m?.cancelActive&&Yb(p)}),o=p=>{const m=BA(t,p)??lN(p);return a(m)};ru(o,{withTypes:()=>o});const l=p=>{const m=BA(t,p);return m&&(m.unsubscribe(),p.cancelActive&&Yb(m)),!!m};ru(l,{withTypes:()=>l});const u=async(p,m,b,w)=>{const _=new AbortController,E=iq(o,_.signal),O=[];try{p.pending.add(_),await Promise.resolve(p.effect(m,ru({},b,{getOriginalState:w,condition:(C,T)=>E(C,T).then(Boolean),take:E,delay:sN(_.signal),pause:gg(_.signal),extra:n,signal:_.signal,fork:nq(_.signal,O),unsubscribe:p.unsubscribe,subscribe:()=>{t.set(p.id,p)},cancelActiveListeners:()=>{p.pending.forEach((C,T,A)=>{C!==_&&(_l(C,Gb),A.delete(C))})},cancel:()=>{_l(_,Gb),p.pending.delete(_)},throwIfCancelled:()=>{El(_.signal)}})))}catch(C){C instanceof nv||VA(i,C,{raisedBy:"effect"})}finally{await Promise.all(O),_l(_,eq),p.pending.delete(_)}},f=rq(t);return{middleware:p=>m=>b=>{if(!U5(b))return m(b);if(cN.match(b))return o(b.payload);if(aq.match(b)){f();return}if(uN.match(b))return l(b.payload);let w=p.getState();const _=()=>{if(w===$A)throw new Error(Mi(23));return w};let E;try{if(E=m(b),t.size>0){const O=p.getState(),C=Array.from(t.values());for(const T of C){let A=!1;try{A=T.predicate(b,O,w)}catch(k){A=!1,VA(i,k,{raisedBy:"predicate"})}A&&u(T,b,p,_)}}}finally{w=$A}return E},startListening:o,stopListening:l,clearListeners:f}};function Mi(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var oq={layoutType:"horizontal",width:0,height:0,margin:{top:5,right:5,bottom:5,left:5},scale:1},fN=ki({name:"chartLayout",initialState:oq,reducers:{setLayout(e,t){e.layoutType=t.payload},setChartSize(e,t){e.width=t.payload.width,e.height=t.payload.height},setMargin(e,t){e.margin.top=t.payload.top,e.margin.right=t.payload.right,e.margin.bottom=t.payload.bottom,e.margin.left=t.payload.left},setScale(e,t){e.scale=t.payload}}}),{setMargin:lq,setLayout:cq,setChartSize:uq,setScale:fq}=fN.actions,dq=fN.reducer;function HA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,i)}return n}function qA(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?HA(Object(n),!0).forEach(function(i){hq(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):HA(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function hq(e,t,n){return(t=pq(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pq(e){var t=mq(e,"string");return typeof t=="symbol"?t:t+""}function mq(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var vg=Math.PI/180,gq=e=>e*180/Math.PI,Ji=(e,t,n,i)=>({x:e+Math.cos(-vg*i)*n,y:t+Math.sin(-vg*i)*n}),dN=function(t,n){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{top:0,right:0,bottom:0,left:0};return Math.min(Math.abs(t-(i.left||0)-(i.right||0)),Math.abs(n-(i.top||0)-(i.bottom||0)))/2},vq=(e,t)=>{var{x:n,y:i}=e,{x:a,y:o}=t;return Math.sqrt((n-a)**2+(i-o)**2)},yq=(e,t)=>{var{x:n,y:i}=e,{cx:a,cy:o}=t,l=vq({x:n,y:i},{x:a,y:o});if(l<=0)return{radius:l,angle:0};var u=(n-a)/l,f=Math.acos(u);return i>o&&(f=2*Math.PI-f),{radius:l,angle:gq(f),angleInRadian:f}},bq=e=>{var{startAngle:t,endAngle:n}=e,i=Math.floor(t/360),a=Math.floor(n/360),o=Math.min(i,a);return{startAngle:t-o*360,endAngle:n-o*360}},xq=(e,t)=>{var{startAngle:n,endAngle:i}=t,a=Math.floor(n/360),o=Math.floor(i/360),l=Math.min(a,o);return e+l*360},wq=(e,t)=>{var{x:n,y:i}=e,{radius:a,angle:o}=yq({x:n,y:i},t),{innerRadius:l,outerRadius:u}=t;if(a<l||a>u||a===0)return null;var{startAngle:f,endAngle:h}=bq(t),p=o,m;if(f<=h){for(;p>h;)p-=360;for(;p<f;)p+=360;m=p>=f&&p<=h}else{for(;p>f;)p-=360;for(;p<h;)p+=360;m=p>=h&&p<=f}return m?qA(qA({},t),{},{radius:a,angle:xq(p,t)}):null};function hN(e,t,n){return Array.isArray(e)&&e&&t+n!==0?e.slice(t,n+1):e}function UA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,i)}return n}function Zi(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?UA(Object(n),!0).forEach(function(i){_q(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):UA(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function _q(e,t,n){return(t=Eq(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Eq(e){var t=Sq(e,"string");return typeof t=="symbol"?t:t+""}function Sq(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function en(e,t,n){return cu(e)||cu(t)?n:Id(t)?lu(e,t,n):typeof t=="function"?t(e):n}var Tq=(e,t,n,i,a)=>{var o,l=-1,u=(o=t?.length)!==null&&o!==void 0?o:0;if(u<=1||e==null)return 0;if(i==="angleAxis"&&a!=null&&Math.abs(Math.abs(a[1]-a[0])-360)<=1e-6)for(var f=0;f<u;f++){var h=f>0?n[f-1].coordinate:n[u-1].coordinate,p=n[f].coordinate,m=f>=u-1?n[0].coordinate:n[f+1].coordinate,b=void 0;if(Oi(p-h)!==Oi(m-p)){var w=[];if(Oi(m-p)===Oi(a[1]-a[0])){b=m;var _=p+a[1]-a[0];w[0]=Math.min(_,(_+h)/2),w[1]=Math.max(_,(_+h)/2)}else{b=h;var E=m+a[1]-a[0];w[0]=Math.min(p,(E+p)/2),w[1]=Math.max(p,(E+p)/2)}var O=[Math.min(p,(b+p)/2),Math.max(p,(b+p)/2)];if(e>O[0]&&e<=O[1]||e>=w[0]&&e<=w[1]){({index:l}=n[f]);break}}else{var C=Math.min(h,m),T=Math.max(h,m);if(e>(C+p)/2&&e<=(T+p)/2){({index:l}=n[f]);break}}}else if(t){for(var A=0;A<u;A++)if(A===0&&e<=(t[A].coordinate+t[A+1].coordinate)/2||A>0&&A<u-1&&e>(t[A].coordinate+t[A-1].coordinate)/2&&e<=(t[A].coordinate+t[A+1].coordinate)/2||A===u-1&&e>(t[A].coordinate+t[A-1].coordinate)/2){({index:l}=t[A]);break}}return l},Aq=(e,t,n)=>{if(t&&n){var{width:i,height:a}=n,{align:o,verticalAlign:l,layout:u}=t;if((u==="vertical"||u==="horizontal"&&l==="middle")&&o!=="center"&&tn(e[o]))return Zi(Zi({},e),{},{[o]:e[o]+(i||0)});if((u==="horizontal"||u==="vertical"&&o==="center")&&l!=="middle"&&tn(e[l]))return Zi(Zi({},e),{},{[l]:e[l]+(a||0)})}return e},kl=(e,t)=>e==="horizontal"&&t==="xAxis"||e==="vertical"&&t==="yAxis"||e==="centric"&&t==="angleAxis"||e==="radial"&&t==="radiusAxis",FA=1e-4,Cq=e=>{var t=e.domain();if(!(!t||t.length<=2)){var n=t.length,i=e.range(),a=Math.min(i[0],i[1])-FA,o=Math.max(i[0],i[1])+FA,l=e(t[0]),u=e(t[n-1]);(l<a||l>o||u<a||u>o)&&e.domain([t[0],t[n-1]])}},Oq=e=>{var t=e.length;if(!(t<=0))for(var n=0,i=e[0].length;n<i;++n)for(var a=0,o=0,l=0;l<t;++l){var u=Cr(e[l][n][1])?e[l][n][0]:e[l][n][1];u>=0?(e[l][n][0]=a,e[l][n][1]=a+u,a=e[l][n][1]):(e[l][n][0]=o,e[l][n][1]=o+u,o=e[l][n][1])}},Mq=e=>{var t=e.length;if(!(t<=0))for(var n=0,i=e[0].length;n<i;++n)for(var a=0,o=0;o<t;++o){var l=Cr(e[o][n][1])?e[o][n][0]:e[o][n][1];l>=0?(e[o][n][0]=a,e[o][n][1]=a+l,a=e[o][n][1]):(e[o][n][0]=0,e[o][n][1]=0)}},Nq={sign:Oq,expand:EV,none:fu,silhouette:SV,wiggle:TV,positive:Mq},jq=(e,t,n)=>{var i=Nq[n],a=_V().keys(t).value((o,l)=>+en(o,l,0)).order(Ib).offset(i);return a(e)},Dq=e=>{var t=e.flat(2).filter(tn);return[Math.min(...t),Math.max(...t)]},Pq=e=>[e[0]===1/0?0:e[0],e[1]===-1/0?0:e[1]],Lq=(e,t,n)=>{if(e!=null)return Pq(Object.keys(e).reduce((i,a)=>{var o=e[a],{stackedData:l}=o,u=l.reduce((f,h)=>{var p=hN(h,t,n),m=Dq(p);return[Math.min(f[0],m[0]),Math.max(f[1],m[1])]},[1/0,-1/0]);return[Math.min(u[0],i[0]),Math.max(u[1],i[1])]},[1/0,-1/0]))},GA=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,YA=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/;function KA(e){var{tooltipEntrySettings:t,dataKey:n,payload:i,value:a,name:o}=e;return Zi(Zi({},t),{},{dataKey:n,payload:i,value:a,name:o})}function pN(e,t){if(e)return String(e);if(typeof t=="string")return t}function kq(e,t,n,i,a){if(n==="horizontal"||n==="vertical"){var o=e>=a.left&&e<=a.left+a.width&&t>=a.top&&t<=a.top+a.height;return o?{x:e,y:t}:null}return i?wq({x:e,y:t},i):null}var Rq=(e,t,n,i)=>{var a=t.find(h=>h&&h.index===n);if(a){if(e==="horizontal")return{x:a.coordinate,y:i.y};if(e==="vertical")return{x:i.x,y:a.coordinate};if(e==="centric"){var o=a.coordinate,{radius:l}=i;return Zi(Zi(Zi({},i),Ji(i.cx,i.cy,l,o)),{},{angle:o,radius:l})}var u=a.coordinate,{angle:f}=i;return Zi(Zi(Zi({},i),Ji(i.cx,i.cy,u,f)),{},{angle:f,radius:u})}return{x:0,y:0}},zq=(e,t)=>t==="horizontal"?e.x:t==="vertical"?e.y:t==="centric"?e.angle:e.radius,ls=e=>e.layout.width,cs=e=>e.layout.height,Iq=e=>e.layout.scale,mN=e=>e.layout.margin,yw=ae(e=>e.cartesianAxis.xAxis,e=>Object.values(e)),bw=ae(e=>e.cartesianAxis.yAxis,e=>Object.values(e)),gN="data-recharts-item-index",vN="data-recharts-item-data-key",rv=60;function WA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,i)}return n}function co(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?WA(Object(n),!0).forEach(function(i){$q(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):WA(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function $q(e,t,n){return(t=Bq(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bq(e){var t=Vq(e,"string");return typeof t=="symbol"?t:t+""}function Vq(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Hq=e=>e.brush.height,ti=ae([ls,cs,mN,Hq,yw,bw,V5,pH],(e,t,n,i,a,o,l,u)=>{var f=o.reduce((_,E)=>{var{orientation:O}=E;if(!E.mirror&&!E.hide){var C=typeof E.width=="number"?E.width:rv;return co(co({},_),{},{[O]:_[O]+C})}return _},{left:n.left||0,right:n.right||0}),h=a.reduce((_,E)=>{var{orientation:O}=E;return!E.mirror&&!E.hide?co(co({},_),{},{[O]:lu(_,"".concat(O))+E.height}):_},{top:n.top||0,bottom:n.bottom||0}),p=co(co({},h),f),m=p.bottom;p.bottom+=i,p=Aq(p,l,u);var b=e-p.left-p.right,w=t-p.top-p.bottom;return co(co({brushBottom:m},p),{},{width:Math.max(b,0),height:Math.max(w,0)})}),qq=ae(ti,e=>({x:e.left,y:e.top,width:e.width,height:e.height}));ae(ls,cs,(e,t)=>({x:0,y:0,width:e,height:t}));var Uq=j.createContext(null),Mu=()=>j.useContext(Uq)!=null,av=e=>e.brush,sv=ae([av,ti,mN],(e,t,n)=>({height:e.height,x:tn(e.x)?e.x:t.left,y:tn(e.y)?e.y:t.top+t.height+t.brushBottom-(n?.bottom||0),width:tn(e.width)?e.width:t.width})),Fq=()=>{var e,t=Mu(),n=Xt(qq),i=Xt(sv),a=(e=Xt(av))===null||e===void 0?void 0:e.padding;return!t||!i||!a?n:{width:i.width-a.left-a.right,height:i.height-a.top-a.bottom,x:a.left,y:a.top}},Gq=()=>Xt(ls),Yq=()=>Xt(cs),Ot=e=>e.layout.layoutType,Kq=()=>Xt(Ot),Wq={settings:{layout:"horizontal",align:"center",verticalAlign:"middle",itemSorter:"value"},size:{width:0,height:0},payload:[]},yN=ki({name:"legend",initialState:Wq,reducers:{setLegendSize(e,t){e.size.width=t.payload.width,e.size.height=t.payload.height},setLegendSettings(e,t){e.settings.align=t.payload.align,e.settings.layout=t.payload.layout,e.settings.verticalAlign=t.payload.verticalAlign,e.settings.itemSorter=t.payload.itemSorter},addLegendPayload(e,t){e.payload.push(t.payload)},removeLegendPayload(e,t){var n=Ka(e).payload.indexOf(t.payload);n>-1&&e.payload.splice(n,1)}}}),{setLegendSize:Ere,setLegendSettings:Sre,addLegendPayload:Xq,removeLegendPayload:Qq}=yN.actions,Zq=yN.reducer,Jq=()=>!(typeof window<"u"&&window.document&&window.document.createElement&&window.setTimeout),xw={isSsr:Jq()},eU=()=>Xt(e=>e.rootProps.accessibilityLayer);function Mr(e){return Number.isFinite(e)}function yg(e){return typeof e=="number"&&e>0&&Number.isFinite(e)}function Kb(){return Kb=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Kb.apply(null,arguments)}function XA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,i)}return n}function QA(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?XA(Object(n),!0).forEach(function(i){tU(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):XA(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function tU(e,t,n){return(t=nU(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nU(e){var t=iU(e,"string");return typeof t=="symbol"?t:t+""}function iU(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var ZA={curveBasisClosed:fV,curveBasisOpen:dV,curveBasis:uV,curveBumpX:XB,curveBumpY:QB,curveLinearClosed:hV,curveLinear:Qg,curveMonotoneX:pV,curveMonotoneY:mV,curveNatural:gV,curveStep:vV,curveStepAfter:bV,curveStepBefore:yV},mm=e=>Mr(e.x)&&Mr(e.y),cd=e=>e.x,ud=e=>e.y,rU=(e,t)=>{if(typeof e=="function")return e;var n="curve".concat(nh(e));return(n==="curveMonotone"||n==="curveBump")&&t?ZA["".concat(n).concat(t==="vertical"?"Y":"X")]:ZA[n]||Qg},aU=e=>{var{type:t="linear",points:n=[],baseLine:i,layout:a,connectNulls:o=!1}=e,l=rU(t,a),u=o?n.filter(mm):n,f;if(Array.isArray(i)){var h=o?i.filter(m=>mm(m)):i,p=u.map((m,b)=>QA(QA({},m),{},{base:h[b]}));return a==="vertical"?f=um().y(ud).x1(cd).x0(m=>m.base.x):f=um().x(cd).y1(ud).y0(m=>m.base.y),f.defined(mm).curve(l),f(p)}return a==="vertical"&&tn(i)?f=um().y(ud).x1(cd).x0(i):tn(i)?f=um().x(cd).y1(ud).y0(i):f=E5().x(cd).y(ud),f.defined(mm).curve(l),f(u)},sU=e=>{var{className:t,points:n,path:i,pathRef:a}=e;if((!n||!n.length)&&!i)return null;var o=n&&n.length?aU(e):i;return j.createElement("path",Kb({},Wg(e),kB(e),{className:Li("recharts-curve",t),d:o===null?void 0:o,ref:a}))};function JA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,i)}return n}function oU(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?JA(Object(n),!0).forEach(function(i){lU(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):JA(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function lU(e,t,n){return(t=cU(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cU(e){var t=uU(e,"string");return typeof t=="symbol"?t:t+""}function uU(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Rl(e,t){var n=oU({},e),i=t,a=Object.keys(t),o=a.reduce((l,u)=>(l[u]===void 0&&i[u]!==void 0&&(l[u]=i[u]),l),n);return o}var d1={},h1={},p1={},eC;function fU(){return eC||(eC=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){if(!n||typeof n!="object")return!1;const i=Object.getPrototypeOf(n);return i===null||i===Object.prototype||Object.getPrototypeOf(i)===null?Object.prototype.toString.call(n)==="[object Object]":!1}e.isPlainObject=t})(p1)),p1}var tC;function dU(){return tC||(tC=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=fU(),n=$V(),i=BV(),a=VV(),o=R5();function l(h,p,m){return u(h,p,void 0,void 0,void 0,void 0,m)}function u(h,p,m,b,w,_,E){const O=E(h,p,m,b,w,_);if(O!==void 0)return O;if(typeof h==typeof p)switch(typeof h){case"bigint":case"string":case"boolean":case"symbol":case"undefined":return h===p;case"number":return h===p||Object.is(h,p);case"function":return h===p;case"object":return f(h,p,_,E)}return f(h,p,_,E)}function f(h,p,m,b){if(Object.is(h,p))return!0;let w=i.getTag(h),_=i.getTag(p);if(w===a.argumentsTag&&(w=a.objectTag),_===a.argumentsTag&&(_=a.objectTag),w!==_)return!1;switch(w){case a.stringTag:return h.toString()===p.toString();case a.numberTag:{const C=h.valueOf(),T=p.valueOf();return o.eq(C,T)}case a.booleanTag:case a.dateTag:case a.symbolTag:return Object.is(h.valueOf(),p.valueOf());case a.regexpTag:return h.source===p.source&&h.flags===p.flags;case a.functionTag:return h===p}m=m??new Map;const E=m.get(h),O=m.get(p);if(E!=null&&O!=null)return E===p;m.set(h,p),m.set(p,h);try{switch(w){case a.mapTag:{if(h.size!==p.size)return!1;for(const[C,T]of h.entries())if(!p.has(C)||!u(T,p.get(C),C,h,p,m,b))return!1;return!0}case a.setTag:{if(h.size!==p.size)return!1;const C=Array.from(h.values()),T=Array.from(p.values());for(let A=0;A<C.length;A++){const k=C[A],D=T.findIndex(R=>u(k,R,void 0,h,p,m,b));if(D===-1)return!1;T.splice(D,1)}return!0}case a.arrayTag:case a.uint8ArrayTag:case a.uint8ClampedArrayTag:case a.uint16ArrayTag:case a.uint32ArrayTag:case a.bigUint64ArrayTag:case a.int8ArrayTag:case a.int16ArrayTag:case a.int32ArrayTag:case a.bigInt64ArrayTag:case a.float32ArrayTag:case a.float64ArrayTag:{if(typeof Buffer<"u"&&Buffer.isBuffer(h)!==Buffer.isBuffer(p)||h.length!==p.length)return!1;for(let C=0;C<h.length;C++)if(!u(h[C],p[C],C,h,p,m,b))return!1;return!0}case a.arrayBufferTag:return h.byteLength!==p.byteLength?!1:f(new Uint8Array(h),new Uint8Array(p),m,b);case a.dataViewTag:return h.byteLength!==p.byteLength||h.byteOffset!==p.byteOffset?!1:f(new Uint8Array(h),new Uint8Array(p),m,b);case a.errorTag:return h.name===p.name&&h.message===p.message;case a.objectTag:{if(!(f(h.constructor,p.constructor,m,b)||t.isPlainObject(h)&&t.isPlainObject(p)))return!1;const T=[...Object.keys(h),...n.getSymbols(h)],A=[...Object.keys(p),...n.getSymbols(p)];if(T.length!==A.length)return!1;for(let k=0;k<T.length;k++){const D=T[k],R=h[D];if(!Object.hasOwn(p,D))return!1;const B=p[D];if(!u(R,B,D,h,p,m,b))return!1}return!0}default:return!1}}finally{m.delete(h),m.delete(p)}}e.isEqualWith=l})(h1)),h1}var m1={},nC;function hU(){return nC||(nC=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(){}e.noop=t})(m1)),m1}var iC;function pU(){return iC||(iC=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=dU(),n=hU();function i(a,o){return t.isEqualWith(a,o,n.noop)}e.isEqual=i})(d1)),d1}var g1,rC;function mU(){return rC||(rC=1,g1=pU().isEqual),g1}var gU=mU();const vU=os(gU);var bg=1e-4,bN=(e,t)=>[0,3*e,3*t-6*e,3*e-3*t+1],xN=(e,t)=>e.map((n,i)=>n*t**i).reduce((n,i)=>n+i),aC=(e,t)=>n=>{var i=bN(e,t);return xN(i,n)},yU=(e,t)=>n=>{var i=bN(e,t),a=[...i.map((o,l)=>o*l).slice(1),0];return xN(a,n)},sC=function(){for(var t,n,i,a,o=arguments.length,l=new Array(o),u=0;u<o;u++)l[u]=arguments[u];if(l.length===1)switch(l[0]){case"linear":[t,i,n,a]=[0,0,1,1];break;case"ease":[t,i,n,a]=[.25,.1,.25,1];break;case"ease-in":[t,i,n,a]=[.42,0,1,1];break;case"ease-out":[t,i,n,a]=[.42,0,.58,1];break;case"ease-in-out":[t,i,n,a]=[0,0,.58,1];break;default:{var f=l[0].split("(");f[0]==="cubic-bezier"&&f[1].split(")")[0].split(",").length===4&&([t,i,n,a]=f[1].split(")")[0].split(",").map(_=>parseFloat(_)))}}else l.length===4&&([t,i,n,a]=l);var h=aC(t,n),p=aC(i,a),m=yU(t,n),b=_=>_>1?1:_<0?0:_,w=_=>{for(var E=_>1?1:_,O=E,C=0;C<8;++C){var T=h(O)-E,A=m(O);if(Math.abs(T-E)<bg||A<bg)return p(O);O=b(O-T/A)}return p(O)};return w.isStepper=!1,w},bU=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{stiff:n=100,damping:i=8,dt:a=17}=t,o=(l,u,f)=>{var h=-(l-u)*n,p=f*i,m=f+(h-p)*a/1e3,b=f*a/1e3+l;return Math.abs(b-u)<bg&&Math.abs(m)<bg?[u,0]:[b,m]};return o.isStepper=!0,o.dt=a,o},wN=e=>{if(typeof e=="string")switch(e){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return sC(e);case"spring":return bU();default:if(e.split("(")[0]==="cubic-bezier")return sC(e)}return typeof e=="function"?e:null};function oC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,i)}return n}function lC(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?oC(Object(n),!0).forEach(function(i){xU(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oC(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function xU(e,t,n){return(t=wU(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wU(e){var t=_U(e,"string");return typeof t=="symbol"?t:t+""}function _U(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var EU=e=>e.replace(/([A-Z])/g,t=>"-".concat(t.toLowerCase())),SU=(e,t,n)=>e.map(i=>"".concat(EU(i)," ").concat(t,"ms ").concat(n)).join(","),TU=(e,t)=>[Object.keys(e),Object.keys(t)].reduce((n,i)=>n.filter(a=>i.includes(a))),Vd=(e,t)=>Object.keys(t).reduce((n,i)=>lC(lC({},n),{},{[i]:e(i,t[i])}),{});function cC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,i)}return n}function jn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?cC(Object(n),!0).forEach(function(i){AU(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cC(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function AU(e,t,n){return(t=CU(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function CU(e){var t=OU(e,"string");return typeof t=="symbol"?t:t+""}function OU(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var xg=(e,t,n)=>e+(t-e)*n,Wb=e=>{var{from:t,to:n}=e;return t!==n},_N=(e,t,n)=>{var i=Vd((a,o)=>{if(Wb(o)){var[l,u]=e(o.from,o.to,o.velocity);return jn(jn({},o),{},{from:l,velocity:u})}return o},t);return n<1?Vd((a,o)=>Wb(o)?jn(jn({},o),{},{velocity:xg(o.velocity,i[a].velocity,n),from:xg(o.from,i[a].from,n)}):o,t):_N(e,i,n-1)};function MU(e,t,n,i,a,o){var l,u=i.reduce((b,w)=>jn(jn({},b),{},{[w]:{from:e[w],velocity:0,to:t[w]}}),{}),f=()=>Vd((b,w)=>w.from,u),h=()=>!Object.values(u).filter(Wb).length,p=null,m=b=>{l||(l=b);var w=b-l,_=w/n.dt;u=_N(n,u,_),a(jn(jn(jn({},e),t),f())),l=b,h()||(p=o.setTimeout(m))};return()=>(p=o.setTimeout(m),()=>{p()})}function NU(e,t,n,i,a,o,l){var u=null,f=a.reduce((m,b)=>jn(jn({},m),{},{[b]:[e[b],t[b]]}),{}),h,p=m=>{h||(h=m);var b=(m-h)/i,w=Vd((E,O)=>xg(...O,n(b)),f);if(o(jn(jn(jn({},e),t),w)),b<1)u=l.setTimeout(p);else{var _=Vd((E,O)=>xg(...O,n(1)),f);o(jn(jn(jn({},e),t),_))}};return()=>(u=l.setTimeout(p),()=>{u()})}const EN=(e,t,n,i,a,o)=>{var l=TU(e,t);return n.isStepper===!0?MU(e,t,n,l,a,o):NU(e,t,n,i,l,a,o)};function jU(e){var t,n=()=>null,i=!1,a=null,o=l=>{if(!i){if(Array.isArray(l)){if(!l.length)return;var u=l,[f,...h]=u;if(typeof f=="number"){a=e.setTimeout(o.bind(null,h),f);return}o(f),a=e.setTimeout(o.bind(null,h));return}typeof l=="string"&&(t=l,n(t)),typeof l=="object"&&(t=l,n(t)),typeof l=="function"&&l()}};return{stop:()=>{i=!0},start:l=>{i=!1,a&&(a(),a=null),o(l)},subscribe:l=>(n=l,()=>{n=()=>null}),getTimeoutController:()=>e}}class DU{setTimeout(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,i=performance.now(),a=null,o=l=>{l-i>=n?t(l):typeof requestAnimationFrame=="function"&&(a=requestAnimationFrame(o))};return a=requestAnimationFrame(o),()=>{cancelAnimationFrame(a)}}}function PU(){return jU(new DU)}var LU=j.createContext(PU);function SN(e,t){var n=j.useContext(LU);return j.useMemo(()=>t??n(e),[e,t,n])}var kU=["children","begin","duration","attributeName","easing","isActive","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart","animationManager"];function Xb(){return Xb=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Xb.apply(null,arguments)}function RU(e,t){if(e==null)return{};var n,i,a=zU(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function zU(e,t){if(e==null)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(t.indexOf(i)!==-1)continue;n[i]=e[i]}return n}function uC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,i)}return n}function uo(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?uC(Object(n),!0).forEach(function(i){ml(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):uC(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function ml(e,t,n){return(t=IU(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function IU(e){var t=$U(e,"string");return typeof t=="symbol"?t:t+""}function $U(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}class ww extends j.PureComponent{constructor(t,n){super(t,n),ml(this,"mounted",!1),ml(this,"manager",void 0),ml(this,"stopJSAnimation",null),ml(this,"unSubscribe",null);var{isActive:i,attributeName:a,from:o,to:l,children:u,duration:f,animationManager:h}=this.props;if(this.manager=h,this.handleStyleChange=this.handleStyleChange.bind(this),this.changeStyle=this.changeStyle.bind(this),!i||f<=0){this.state={style:{}},typeof u=="function"&&(this.state={style:l});return}if(o){if(typeof u=="function"){this.state={style:o};return}this.state={style:a?{[a]:o}:o}}else this.state={style:{}}}componentDidMount(){var{isActive:t,canBegin:n}=this.props;this.mounted=!0,!(!t||!n)&&this.runAnimation(this.props)}componentDidUpdate(t){var{isActive:n,canBegin:i,attributeName:a,shouldReAnimate:o,to:l,from:u}=this.props,{style:f}=this.state;if(i){if(!n){var h={style:a?{[a]:l}:l};this.state&&f&&(a&&f[a]!==l||!a&&f!==l)&&this.setState(h);return}if(!(vU(t.to,l)&&t.canBegin&&t.isActive)){var p=!t.canBegin||!t.isActive;this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var m=p||o?u:t.to;if(this.state&&f){var b={style:a?{[a]:m}:m};(a&&f[a]!==m||!a&&f!==m)&&this.setState(b)}this.runAnimation(uo(uo({},this.props),{},{from:m,begin:0}))}}}componentWillUnmount(){this.mounted=!1;var{onAnimationEnd:t}=this.props;this.unSubscribe&&this.unSubscribe(),this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation(),t&&t()}handleStyleChange(t){this.changeStyle(t)}changeStyle(t){this.mounted&&this.setState({style:t})}runJSAnimation(t){var{from:n,to:i,duration:a,easing:o,begin:l,onAnimationEnd:u,onAnimationStart:f}=t,h=EN(n,i,wN(o),a,this.changeStyle,this.manager.getTimeoutController()),p=()=>{this.stopJSAnimation=h()};this.manager.start([f,l,p,a,u])}runAnimation(t){var{begin:n,duration:i,attributeName:a,to:o,easing:l,onAnimationStart:u,onAnimationEnd:f,children:h}=t;if(this.unSubscribe=this.manager.subscribe(this.handleStyleChange),typeof l=="function"||typeof h=="function"||l==="spring"){this.runJSAnimation(t);return}var p=a?{[a]:o}:o,m=SU(Object.keys(p),i,l);this.manager.start([u,n,uo(uo({},p),{},{transition:m}),i,f])}render(){var t=this.props,{children:n,begin:i,duration:a,attributeName:o,easing:l,isActive:u,from:f,to:h,canBegin:p,onAnimationEnd:m,shouldReAnimate:b,onAnimationReStart:w,animationManager:_}=t,E=RU(t,kU),O=j.Children.count(n),C=this.state.style;if(typeof n=="function")return n(C);if(!u||O===0||a<=0)return n;var T=A=>{var{style:k={},className:D}=A.props,R=j.cloneElement(A,uo(uo({},E),{},{style:uo(uo({},k),C),className:D}));return R};return O===1?T(j.Children.only(n)):j.createElement("div",null,j.Children.map(n,A=>T(A)))}}ml(ww,"displayName","Animate");ml(ww,"defaultProps",{begin:0,duration:1e3,attributeName:"",easing:"ease",isActive:!0,canBegin:!0,onAnimationEnd:()=>{},onAnimationStart:()=>{}});function wg(e){var t,n=SN((t=e.attributeName)!==null&&t!==void 0?t:Object.keys(e.to).join(","),e.animationManager);return j.createElement(ww,Xb({},e,{animationManager:n}))}function _g(){return _g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},_g.apply(null,arguments)}var fC=(e,t,n,i,a)=>{var o=Math.min(Math.abs(n)/2,Math.abs(i)/2),l=i>=0?1:-1,u=n>=0?1:-1,f=i>=0&&n>=0||i<0&&n<0?1:0,h;if(o>0&&a instanceof Array){for(var p=[0,0,0,0],m=0,b=4;m<b;m++)p[m]=a[m]>o?o:a[m];h="M".concat(e,",").concat(t+l*p[0]),p[0]>0&&(h+="A ".concat(p[0],",").concat(p[0],",0,0,").concat(f,",").concat(e+u*p[0],",").concat(t)),h+="L ".concat(e+n-u*p[1],",").concat(t),p[1]>0&&(h+="A ".concat(p[1],",").concat(p[1],",0,0,").concat(f,`, `).concat(e+n,",").concat(t+l*p[1])),h+="L ".concat(e+n,",").concat(t+i-l*p[2]),p[2]>0&&(h+="A ".concat(p[2],",").concat(p[2],",0,0,").concat(f,`, `).concat(e+n-u*p[2],",").concat(t+i)),h+="L ".concat(e+u*p[3],",").concat(t+i),p[3]>0&&(h+="A ".concat(p[3],",").concat(p[3],",0,0,").concat(f,`, `).concat(e,",").concat(t+i-l*p[3])),h+="Z"}else if(o>0&&a===+a&&a>0){var w=Math.min(o,a);h="M ".concat(e,",").concat(t+l*w,` A `).concat(w,",").concat(w,",0,0,").concat(f,",").concat(e+u*w,",").concat(t,` L `).concat(e+n-u*w,",").concat(t,` A `).concat(w,",").concat(w,",0,0,").concat(f,",").concat(e+n,",").concat(t+l*w,` L `).concat(e+n,",").concat(t+i-l*w,` A `).concat(w,",").concat(w,",0,0,").concat(f,",").concat(e+n-u*w,",").concat(t+i,` L `).concat(e+u*w,",").concat(t+i,` A `).concat(w,",").concat(w,",0,0,").concat(f,",").concat(e,",").concat(t+i-l*w," Z")}else h="M ".concat(e,",").concat(t," h ").concat(n," v ").concat(i," h ").concat(-n," Z");return h},BU={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},VU=e=>{var t=Rl(e,BU),n=j.useRef(null),[i,a]=j.useState(-1);j.useEffect(()=>{if(n.current&&n.current.getTotalLength)try{var C=n.current.getTotalLength();C&&a(C)}catch{}},[]);var{x:o,y:l,width:u,height:f,radius:h,className:p}=t,{animationEasing:m,animationDuration:b,animationBegin:w,isAnimationActive:_,isUpdateAnimationActive:E}=t;if(o!==+o||l!==+l||u!==+u||f!==+f||u===0||f===0)return null;var O=Li("recharts-rectangle",p);return E?j.createElement(wg,{canBegin:i>0,from:{width:u,height:f,x:o,y:l},to:{width:u,height:f,x:o,y:l},duration:b,animationEasing:m,isActive:E},C=>{var{width:T,height:A,x:k,y:D}=C;return j.createElement(wg,{canBegin:i>0,from:"0px ".concat(i===-1?1:i,"px"),to:"".concat(i,"px 0px"),attributeName:"strokeDasharray",begin:w,duration:b,isActive:_,easing:m},j.createElement("path",_g({},Or(t,!0),{className:O,d:fC(k,D,T,A,h),ref:n})))}):j.createElement("path",_g({},Or(t,!0),{className:O,d:fC(o,l,u,f,h)}))};function Qb(){return Qb=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Qb.apply(null,arguments)}var HU=(e,t)=>{var n=Oi(t-e),i=Math.min(Math.abs(t-e),359.999);return n*i},gm=e=>{var{cx:t,cy:n,radius:i,angle:a,sign:o,isExternal:l,cornerRadius:u,cornerIsExternal:f}=e,h=u*(l?1:-1)+i,p=Math.asin(u/h)/vg,m=f?a:a+o*p,b=Ji(t,n,h,m),w=Ji(t,n,i,m),_=f?a-o*p:a,E=Ji(t,n,h*Math.cos(p*vg),_);return{center:b,circleTangency:w,lineTangency:E,theta:p}},TN=e=>{var{cx:t,cy:n,innerRadius:i,outerRadius:a,startAngle:o,endAngle:l}=e,u=HU(o,l),f=o+u,h=Ji(t,n,a,o),p=Ji(t,n,a,f),m="M ".concat(h.x,",").concat(h.y,` A `).concat(a,",").concat(a,`,0, `).concat(+(Math.abs(u)>180),",").concat(+(o>f),`, `).concat(p.x,",").concat(p.y,` `);if(i>0){var b=Ji(t,n,i,o),w=Ji(t,n,i,f);m+="L ".concat(w.x,",").concat(w.y,` A `).concat(i,",").concat(i,`,0, `).concat(+(Math.abs(u)>180),",").concat(+(o<=f),`, `).concat(b.x,",").concat(b.y," Z")}else m+="L ".concat(t,",").concat(n," Z");return m},qU=e=>{var{cx:t,cy:n,innerRadius:i,outerRadius:a,cornerRadius:o,forceCornerRadius:l,cornerIsExternal:u,startAngle:f,endAngle:h}=e,p=Oi(h-f),{circleTangency:m,lineTangency:b,theta:w}=gm({cx:t,cy:n,radius:a,angle:f,sign:p,cornerRadius:o,cornerIsExternal:u}),{circleTangency:_,lineTangency:E,theta:O}=gm({cx:t,cy:n,radius:a,angle:h,sign:-p,cornerRadius:o,cornerIsExternal:u}),C=u?Math.abs(f-h):Math.abs(f-h)-w-O;if(C<0)return l?"M ".concat(b.x,",").concat(b.y,` a`).concat(o,",").concat(o,",0,0,1,").concat(o*2,`,0 a`).concat(o,",").concat(o,",0,0,1,").concat(-o*2,`,0 `):TN({cx:t,cy:n,innerRadius:i,outerRadius:a,startAngle:f,endAngle:h});var T="M ".concat(b.x,",").concat(b.y,` A`).concat(o,",").concat(o,",0,0,").concat(+(p<0),",").concat(m.x,",").concat(m.y,` A`).concat(a,",").concat(a,",0,").concat(+(C>180),",").concat(+(p<0),",").concat(_.x,",").concat(_.y,` A`).concat(o,",").concat(o,",0,0,").concat(+(p<0),",").concat(E.x,",").concat(E.y,` `);if(i>0){var{circleTangency:A,lineTangency:k,theta:D}=gm({cx:t,cy:n,radius:i,angle:f,sign:p,isExternal:!0,cornerRadius:o,cornerIsExternal:u}),{circleTangency:R,lineTangency:B,theta:$}=gm({cx:t,cy:n,radius:i,angle:h,sign:-p,isExternal:!0,cornerRadius:o,cornerIsExternal:u}),F=u?Math.abs(f-h):Math.abs(f-h)-D-$;if(F<0&&o===0)return"".concat(T,"L").concat(t,",").concat(n,"Z");T+="L".concat(B.x,",").concat(B.y,` A`).concat(o,",").concat(o,",0,0,").concat(+(p<0),",").concat(R.x,",").concat(R.y,` A`).concat(i,",").concat(i,",0,").concat(+(F>180),",").concat(+(p>0),",").concat(A.x,",").concat(A.y,` A`).concat(o,",").concat(o,",0,0,").concat(+(p<0),",").concat(k.x,",").concat(k.y,"Z")}else T+="L".concat(t,",").concat(n,"Z");return T},UU={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},FU=e=>{var t=Rl(e,UU),{cx:n,cy:i,innerRadius:a,outerRadius:o,cornerRadius:l,forceCornerRadius:u,cornerIsExternal:f,startAngle:h,endAngle:p,className:m}=t;if(o<a||h===p)return null;var b=Li("recharts-sector",m),w=o-a,_=ra(l,w,0,!0),E;return _>0&&Math.abs(h-p)<360?E=qU({cx:n,cy:i,innerRadius:a,outerRadius:o,cornerRadius:Math.min(_,w/2),forceCornerRadius:u,cornerIsExternal:f,startAngle:h,endAngle:p}):E=TN({cx:n,cy:i,innerRadius:a,outerRadius:o,startAngle:h,endAngle:p}),j.createElement("path",Qb({},Or(t,!0),{className:b,d:E}))},v1={},y1={},b1={},dC;function GU(){return dC||(dC=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=I5();function n(i){return t.isSymbol(i)?NaN:Number(i)}e.toNumber=n})(b1)),b1}var hC;function YU(){return hC||(hC=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=GU();function n(i){return i?(i=t.toNumber(i),i===1/0||i===-1/0?(i<0?-1:1)*Number.MAX_VALUE:i===i?i:0):i===0?i:0}e.toFinite=n})(y1)),y1}var pC;function KU(){return pC||(pC=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=$5(),n=YU();function i(a,o,l){l&&typeof l!="number"&&t.isIterateeCall(a,o,l)&&(o=l=void 0),a=n.toFinite(a),o===void 0?(o=a,a=0):o=n.toFinite(o),l=l===void 0?a<o?1:-1:n.toFinite(l);const u=Math.max(Math.ceil((o-a)/(l||1)),0),f=new Array(u);for(let h=0;h<u;h++)f[h]=a,a+=l;return f}e.range=i})(v1)),v1}var x1,mC;function WU(){return mC||(mC=1,x1=KU().range),x1}var XU=WU();const AN=os(XU);function yo(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function QU(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function _w(e){let t,n,i;e.length!==2?(t=yo,n=(u,f)=>yo(e(u),f),i=(u,f)=>e(u)-f):(t=e===yo||e===QU?e:ZU,n=e,i=e);function a(u,f,h=0,p=u.length){if(h<p){if(t(f,f)!==0)return p;do{const m=h+p>>>1;n(u[m],f)<0?h=m+1:p=m}while(h<p)}return h}function o(u,f,h=0,p=u.length){if(h<p){if(t(f,f)!==0)return p;do{const m=h+p>>>1;n(u[m],f)<=0?h=m+1:p=m}while(h<p)}return h}function l(u,f,h=0,p=u.length){const m=a(u,f,h,p-1);return m>h&&i(u[m-1],f)>-i(u[m],f)?m-1:m}return{left:a,center:l,right:o}}function ZU(){return 0}function CN(e){return e===null?NaN:+e}function*JU(e,t){for(let n of e)n!=null&&(n=+n)>=n&&(yield n)}const eF=_w(yo),ah=eF.right;_w(CN).center;class gC extends Map{constructor(t,n=iF){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),t!=null)for(const[i,a]of t)this.set(i,a)}get(t){return super.get(vC(this,t))}has(t){return super.has(vC(this,t))}set(t,n){return super.set(tF(this,t),n)}delete(t){return super.delete(nF(this,t))}}function vC({_intern:e,_key:t},n){const i=t(n);return e.has(i)?e.get(i):n}function tF({_intern:e,_key:t},n){const i=t(n);return e.has(i)?e.get(i):(e.set(i,n),n)}function nF({_intern:e,_key:t},n){const i=t(n);return e.has(i)&&(n=e.get(i),e.delete(i)),n}function iF(e){return e!==null&&typeof e=="object"?e.valueOf():e}function rF(e=yo){if(e===yo)return ON;if(typeof e!="function")throw new TypeError("compare is not a function");return(t,n)=>{const i=e(t,n);return i||i===0?i:(e(n,n)===0)-(e(t,t)===0)}}function ON(e,t){return(e==null||!(e>=e))-(t==null||!(t>=t))||(e<t?-1:e>t?1:0)}const aF=Math.sqrt(50),sF=Math.sqrt(10),oF=Math.sqrt(2);function Eg(e,t,n){const i=(t-e)/Math.max(0,n),a=Math.floor(Math.log10(i)),o=i/Math.pow(10,a),l=o>=aF?10:o>=sF?5:o>=oF?2:1;let u,f,h;return a<0?(h=Math.pow(10,-a)/l,u=Math.round(e*h),f=Math.round(t*h),u/h<e&&++u,f/h>t&&--f,h=-h):(h=Math.pow(10,a)*l,u=Math.round(e/h),f=Math.round(t/h),u*h<e&&++u,f*h>t&&--f),f<u&&.5<=n&&n<2?Eg(e,t,n*2):[u,f,h]}function Zb(e,t,n){if(t=+t,e=+e,n=+n,!(n>0))return[];if(e===t)return[e];const i=t<e,[a,o,l]=i?Eg(t,e,n):Eg(e,t,n);if(!(o>=a))return[];const u=o-a+1,f=new Array(u);if(i)if(l<0)for(let h=0;h<u;++h)f[h]=(o-h)/-l;else for(let h=0;h<u;++h)f[h]=(o-h)*l;else if(l<0)for(let h=0;h<u;++h)f[h]=(a+h)/-l;else for(let h=0;h<u;++h)f[h]=(a+h)*l;return f}function Jb(e,t,n){return t=+t,e=+e,n=+n,Eg(e,t,n)[2]}function ex(e,t,n){t=+t,e=+e,n=+n;const i=t<e,a=i?Jb(t,e,n):Jb(e,t,n);return(i?-1:1)*(a<0?1/-a:a)}function yC(e,t){let n;for(const i of e)i!=null&&(n<i||n===void 0&&i>=i)&&(n=i);return n}function bC(e,t){let n;for(const i of e)i!=null&&(n>i||n===void 0&&i>=i)&&(n=i);return n}function MN(e,t,n=0,i=1/0,a){if(t=Math.floor(t),n=Math.floor(Math.max(0,n)),i=Math.floor(Math.min(e.length-1,i)),!(n<=t&&t<=i))return e;for(a=a===void 0?ON:rF(a);i>n;){if(i-n>600){const f=i-n+1,h=t-n+1,p=Math.log(f),m=.5*Math.exp(2*p/3),b=.5*Math.sqrt(p*m*(f-m)/f)*(h-f/2<0?-1:1),w=Math.max(n,Math.floor(t-h*m/f+b)),_=Math.min(i,Math.floor(t+(f-h)*m/f+b));MN(e,t,w,_,a)}const o=e[t];let l=n,u=i;for(fd(e,n,t),a(e[i],o)>0&&fd(e,n,i);l<u;){for(fd(e,l,u),++l,--u;a(e[l],o)<0;)++l;for(;a(e[u],o)>0;)--u}a(e[n],o)===0?fd(e,n,u):(++u,fd(e,u,i)),u<=t&&(n=u+1),t<=u&&(i=u-1)}return e}function fd(e,t,n){const i=e[t];e[t]=e[n],e[n]=i}function lF(e,t,n){if(e=Float64Array.from(JU(e)),!(!(i=e.length)||isNaN(t=+t))){if(t<=0||i<2)return bC(e);if(t>=1)return yC(e);var i,a=(i-1)*t,o=Math.floor(a),l=yC(MN(e,o).subarray(0,o+1)),u=bC(e.subarray(o+1));return l+(u-l)*(a-o)}}function cF(e,t,n=CN){if(!(!(i=e.length)||isNaN(t=+t))){if(t<=0||i<2)return+n(e[0],0,e);if(t>=1)return+n(e[i-1],i-1,e);var i,a=(i-1)*t,o=Math.floor(a),l=+n(e[o],o,e),u=+n(e[o+1],o+1,e);return l+(u-l)*(a-o)}}function uF(e,t,n){e=+e,t=+t,n=(a=arguments.length)<2?(t=e,e=0,1):a<3?1:+n;for(var i=-1,a=Math.max(0,Math.ceil((t-e)/n))|0,o=new Array(a);++i<a;)o[i]=e+i*n;return o}function or(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}function us(e,t){switch(arguments.length){case 0:break;case 1:{typeof e=="function"?this.interpolator(e):this.range(e);break}default:{this.domain(e),typeof t=="function"?this.interpolator(t):this.range(t);break}}return this}const tx=Symbol("implicit");function Ew(){var e=new gC,t=[],n=[],i=tx;function a(o){let l=e.get(o);if(l===void 0){if(i!==tx)return i;e.set(o,l=t.push(o)-1)}return n[l%n.length]}return a.domain=function(o){if(!arguments.length)return t.slice();t=[],e=new gC;for(const l of o)e.has(l)||e.set(l,t.push(l)-1);return a},a.range=function(o){return arguments.length?(n=Array.from(o),a):n.slice()},a.unknown=function(o){return arguments.length?(i=o,a):i},a.copy=function(){return Ew(t,n).unknown(i)},or.apply(a,arguments),a}function Sw(){var e=Ew().unknown(void 0),t=e.domain,n=e.range,i=0,a=1,o,l,u=!1,f=0,h=0,p=.5;delete e.unknown;function m(){var b=t().length,w=a<i,_=w?a:i,E=w?i:a;o=(E-_)/Math.max(1,b-f+h*2),u&&(o=Math.floor(o)),_+=(E-_-o*(b-f))*p,l=o*(1-f),u&&(_=Math.round(_),l=Math.round(l));var O=uF(b).map(function(C){return _+o*C});return n(w?O.reverse():O)}return e.domain=function(b){return arguments.length?(t(b),m()):t()},e.range=function(b){return arguments.length?([i,a]=b,i=+i,a=+a,m()):[i,a]},e.rangeRound=function(b){return[i,a]=b,i=+i,a=+a,u=!0,m()},e.bandwidth=function(){return l},e.step=function(){return o},e.round=function(b){return arguments.length?(u=!!b,m()):u},e.padding=function(b){return arguments.length?(f=Math.min(1,h=+b),m()):f},e.paddingInner=function(b){return arguments.length?(f=Math.min(1,b),m()):f},e.paddingOuter=function(b){return arguments.length?(h=+b,m()):h},e.align=function(b){return arguments.length?(p=Math.max(0,Math.min(1,b)),m()):p},e.copy=function(){return Sw(t(),[i,a]).round(u).paddingInner(f).paddingOuter(h).align(p)},or.apply(m(),arguments)}function NN(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return NN(t())},e}function fF(){return NN(Sw.apply(null,arguments).paddingInner(1))}function Tw(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function jN(e,t){var n=Object.create(e.prototype);for(var i in t)n[i]=t[i];return n}function sh(){}var Hd=.7,Sg=1/Hd,au="\\s*([+-]?\\d+)\\s*",qd="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",aa="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",dF=/^#([0-9a-f]{3,8})$/,hF=new RegExp(`^rgb\\(${au},${au},${au}\\)$`),pF=new RegExp(`^rgb\\(${aa},${aa},${aa}\\)$`),mF=new RegExp(`^rgba\\(${au},${au},${au},${qd}\\)$`),gF=new RegExp(`^rgba\\(${aa},${aa},${aa},${qd}\\)$`),vF=new RegExp(`^hsl\\(${qd},${aa},${aa}\\)$`),yF=new RegExp(`^hsla\\(${qd},${aa},${aa},${qd}\\)$`),xC={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};Tw(sh,Ud,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:wC,formatHex:wC,formatHex8:bF,formatHsl:xF,formatRgb:_C,toString:_C});function wC(){return this.rgb().formatHex()}function bF(){return this.rgb().formatHex8()}function xF(){return DN(this).formatHsl()}function _C(){return this.rgb().formatRgb()}function Ud(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=dF.exec(e))?(n=t[1].length,t=parseInt(t[1],16),n===6?EC(t):n===3?new pi(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?vm(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?vm(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=hF.exec(e))?new pi(t[1],t[2],t[3],1):(t=pF.exec(e))?new pi(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=mF.exec(e))?vm(t[1],t[2],t[3],t[4]):(t=gF.exec(e))?vm(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=vF.exec(e))?AC(t[1],t[2]/100,t[3]/100,1):(t=yF.exec(e))?AC(t[1],t[2]/100,t[3]/100,t[4]):xC.hasOwnProperty(e)?EC(xC[e]):e==="transparent"?new pi(NaN,NaN,NaN,0):null}function EC(e){return new pi(e>>16&255,e>>8&255,e&255,1)}function vm(e,t,n,i){return i<=0&&(e=t=n=NaN),new pi(e,t,n,i)}function wF(e){return e instanceof sh||(e=Ud(e)),e?(e=e.rgb(),new pi(e.r,e.g,e.b,e.opacity)):new pi}function nx(e,t,n,i){return arguments.length===1?wF(e):new pi(e,t,n,i??1)}function pi(e,t,n,i){this.r=+e,this.g=+t,this.b=+n,this.opacity=+i}Tw(pi,nx,jN(sh,{brighter(e){return e=e==null?Sg:Math.pow(Sg,e),new pi(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?Hd:Math.pow(Hd,e),new pi(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new pi(Sl(this.r),Sl(this.g),Sl(this.b),Tg(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:SC,formatHex:SC,formatHex8:_F,formatRgb:TC,toString:TC}));function SC(){return`#${gl(this.r)}${gl(this.g)}${gl(this.b)}`}function _F(){return`#${gl(this.r)}${gl(this.g)}${gl(this.b)}${gl((isNaN(this.opacity)?1:this.opacity)*255)}`}function TC(){const e=Tg(this.opacity);return`${e===1?"rgb(":"rgba("}${Sl(this.r)}, ${Sl(this.g)}, ${Sl(this.b)}${e===1?")":`, ${e})`}`}function Tg(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Sl(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function gl(e){return e=Sl(e),(e<16?"0":"")+e.toString(16)}function AC(e,t,n,i){return i<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Ar(e,t,n,i)}function DN(e){if(e instanceof Ar)return new Ar(e.h,e.s,e.l,e.opacity);if(e instanceof sh||(e=Ud(e)),!e)return new Ar;if(e instanceof Ar)return e;e=e.rgb();var t=e.r/255,n=e.g/255,i=e.b/255,a=Math.min(t,n,i),o=Math.max(t,n,i),l=NaN,u=o-a,f=(o+a)/2;return u?(t===o?l=(n-i)/u+(n<i)*6:n===o?l=(i-t)/u+2:l=(t-n)/u+4,u/=f<.5?o+a:2-o-a,l*=60):u=f>0&&f<1?0:l,new Ar(l,u,f,e.opacity)}function EF(e,t,n,i){return arguments.length===1?DN(e):new Ar(e,t,n,i??1)}function Ar(e,t,n,i){this.h=+e,this.s=+t,this.l=+n,this.opacity=+i}Tw(Ar,EF,jN(sh,{brighter(e){return e=e==null?Sg:Math.pow(Sg,e),new Ar(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?Hd:Math.pow(Hd,e),new Ar(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,i=n+(n<.5?n:1-n)*t,a=2*n-i;return new pi(w1(e>=240?e-240:e+120,a,i),w1(e,a,i),w1(e<120?e+240:e-120,a,i),this.opacity)},clamp(){return new Ar(CC(this.h),ym(this.s),ym(this.l),Tg(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=Tg(this.opacity);return`${e===1?"hsl(":"hsla("}${CC(this.h)}, ${ym(this.s)*100}%, ${ym(this.l)*100}%${e===1?")":`, ${e})`}`}}));function CC(e){return e=(e||0)%360,e<0?e+360:e}function ym(e){return Math.max(0,Math.min(1,e||0))}function w1(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}const Aw=e=>()=>e;function SF(e,t){return function(n){return e+n*t}}function TF(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(i){return Math.pow(e+i*t,n)}}function AF(e){return(e=+e)==1?PN:function(t,n){return n-t?TF(t,n,e):Aw(isNaN(t)?n:t)}}function PN(e,t){var n=t-e;return n?SF(e,n):Aw(isNaN(e)?t:e)}const OC=(function e(t){var n=AF(t);function i(a,o){var l=n((a=nx(a)).r,(o=nx(o)).r),u=n(a.g,o.g),f=n(a.b,o.b),h=PN(a.opacity,o.opacity);return function(p){return a.r=l(p),a.g=u(p),a.b=f(p),a.opacity=h(p),a+""}}return i.gamma=e,i})(1);function CF(e,t){t||(t=[]);var n=e?Math.min(t.length,e.length):0,i=t.slice(),a;return function(o){for(a=0;a<n;++a)i[a]=e[a]*(1-o)+t[a]*o;return i}}function OF(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function MF(e,t){var n=t?t.length:0,i=e?Math.min(n,e.length):0,a=new Array(i),o=new Array(n),l;for(l=0;l<i;++l)a[l]=Nu(e[l],t[l]);for(;l<n;++l)o[l]=t[l];return function(u){for(l=0;l<i;++l)o[l]=a[l](u);return o}}function NF(e,t){var n=new Date;return e=+e,t=+t,function(i){return n.setTime(e*(1-i)+t*i),n}}function Ag(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function jF(e,t){var n={},i={},a;(e===null||typeof e!="object")&&(e={}),(t===null||typeof t!="object")&&(t={});for(a in t)a in e?n[a]=Nu(e[a],t[a]):i[a]=t[a];return function(o){for(a in n)i[a]=n[a](o);return i}}var ix=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,_1=new RegExp(ix.source,"g");function DF(e){return function(){return e}}function PF(e){return function(t){return e(t)+""}}function LF(e,t){var n=ix.lastIndex=_1.lastIndex=0,i,a,o,l=-1,u=[],f=[];for(e=e+"",t=t+"";(i=ix.exec(e))&&(a=_1.exec(t));)(o=a.index)>n&&(o=t.slice(n,o),u[l]?u[l]+=o:u[++l]=o),(i=i[0])===(a=a[0])?u[l]?u[l]+=a:u[++l]=a:(u[++l]=null,f.push({i:l,x:Ag(i,a)})),n=_1.lastIndex;return n<t.length&&(o=t.slice(n),u[l]?u[l]+=o:u[++l]=o),u.length<2?f[0]?PF(f[0].x):DF(t):(t=f.length,function(h){for(var p=0,m;p<t;++p)u[(m=f[p]).i]=m.x(h);return u.join("")})}function Nu(e,t){var n=typeof t,i;return t==null||n==="boolean"?Aw(t):(n==="number"?Ag:n==="string"?(i=Ud(t))?(t=i,OC):LF:t instanceof Ud?OC:t instanceof Date?NF:OF(t)?CF:Array.isArray(t)?MF:typeof t.valueOf!="function"&&typeof t.toString!="function"||isNaN(t)?jF:Ag)(e,t)}function Cw(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function kF(e,t){t===void 0&&(t=e,e=Nu);for(var n=0,i=t.length-1,a=t[0],o=new Array(i<0?0:i);n<i;)o[n]=e(a,a=t[++n]);return function(l){var u=Math.max(0,Math.min(i-1,Math.floor(l*=i)));return o[u](l-u)}}function RF(e){return function(){return e}}function Cg(e){return+e}var MC=[0,1];function Xn(e){return e}function rx(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:RF(isNaN(t)?NaN:.5)}function zF(e,t){var n;return e>t&&(n=e,e=t,t=n),function(i){return Math.max(e,Math.min(t,i))}}function IF(e,t,n){var i=e[0],a=e[1],o=t[0],l=t[1];return a<i?(i=rx(a,i),o=n(l,o)):(i=rx(i,a),o=n(o,l)),function(u){return o(i(u))}}function $F(e,t,n){var i=Math.min(e.length,t.length)-1,a=new Array(i),o=new Array(i),l=-1;for(e[i]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++l<i;)a[l]=rx(e[l],e[l+1]),o[l]=n(t[l],t[l+1]);return function(u){var f=ah(e,u,1,i)-1;return o[f](a[f](u))}}function oh(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function ov(){var e=MC,t=MC,n=Nu,i,a,o,l=Xn,u,f,h;function p(){var b=Math.min(e.length,t.length);return l!==Xn&&(l=zF(e[0],e[b-1])),u=b>2?$F:IF,f=h=null,m}function m(b){return b==null||isNaN(b=+b)?o:(f||(f=u(e.map(i),t,n)))(i(l(b)))}return m.invert=function(b){return l(a((h||(h=u(t,e.map(i),Ag)))(b)))},m.domain=function(b){return arguments.length?(e=Array.from(b,Cg),p()):e.slice()},m.range=function(b){return arguments.length?(t=Array.from(b),p()):t.slice()},m.rangeRound=function(b){return t=Array.from(b),n=Cw,p()},m.clamp=function(b){return arguments.length?(l=b?!0:Xn,p()):l!==Xn},m.interpolate=function(b){return arguments.length?(n=b,p()):n},m.unknown=function(b){return arguments.length?(o=b,m):o},function(b,w){return i=b,a=w,p()}}function Ow(){return ov()(Xn,Xn)}function BF(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function Og(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,i=e.slice(0,n);return[i.length>1?i[0]+i.slice(2):i,+e.slice(n+1)]}function hu(e){return e=Og(Math.abs(e)),e?e[1]:NaN}function VF(e,t){return function(n,i){for(var a=n.length,o=[],l=0,u=e[0],f=0;a>0&&u>0&&(f+u+1>i&&(u=Math.max(1,i-f)),o.push(n.substring(a-=u,a+u)),!((f+=u+1)>i));)u=e[l=(l+1)%e.length];return o.reverse().join(t)}}function HF(e){return function(t){return t.replace(/[0-9]/g,function(n){return e[+n]})}}var qF=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Fd(e){if(!(t=qF.exec(e)))throw new Error("invalid format: "+e);var t;return new Mw({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}Fd.prototype=Mw.prototype;function Mw(e){this.fill=e.fill===void 0?" ":e.fill+"",this.align=e.align===void 0?">":e.align+"",this.sign=e.sign===void 0?"-":e.sign+"",this.symbol=e.symbol===void 0?"":e.symbol+"",this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?"":e.type+""}Mw.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function UF(e){e:for(var t=e.length,n=1,i=-1,a;n<t;++n)switch(e[n]){case".":i=a=n;break;case"0":i===0&&(i=n),a=n;break;default:if(!+e[n])break e;i>0&&(i=0);break}return i>0?e.slice(0,i)+e.slice(a+1):e}var LN;function FF(e,t){var n=Og(e,t);if(!n)return e+"";var i=n[0],a=n[1],o=a-(LN=Math.max(-8,Math.min(8,Math.floor(a/3)))*3)+1,l=i.length;return o===l?i:o>l?i+new Array(o-l+1).join("0"):o>0?i.slice(0,o)+"."+i.slice(o):"0."+new Array(1-o).join("0")+Og(e,Math.max(0,t+o-1))[0]}function NC(e,t){var n=Og(e,t);if(!n)return e+"";var i=n[0],a=n[1];return a<0?"0."+new Array(-a).join("0")+i:i.length>a+1?i.slice(0,a+1)+"."+i.slice(a+1):i+new Array(a-i.length+2).join("0")}const jC={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:BF,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>NC(e*100,t),r:NC,s:FF,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function DC(e){return e}var PC=Array.prototype.map,LC=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function GF(e){var t=e.grouping===void 0||e.thousands===void 0?DC:VF(PC.call(e.grouping,Number),e.thousands+""),n=e.currency===void 0?"":e.currency[0]+"",i=e.currency===void 0?"":e.currency[1]+"",a=e.decimal===void 0?".":e.decimal+"",o=e.numerals===void 0?DC:HF(PC.call(e.numerals,String)),l=e.percent===void 0?"%":e.percent+"",u=e.minus===void 0?"−":e.minus+"",f=e.nan===void 0?"NaN":e.nan+"";function h(m){m=Fd(m);var b=m.fill,w=m.align,_=m.sign,E=m.symbol,O=m.zero,C=m.width,T=m.comma,A=m.precision,k=m.trim,D=m.type;D==="n"?(T=!0,D="g"):jC[D]||(A===void 0&&(A=12),k=!0,D="g"),(O||b==="0"&&w==="=")&&(O=!0,b="0",w="=");var R=E==="$"?n:E==="#"&&/[boxX]/.test(D)?"0"+D.toLowerCase():"",B=E==="$"?i:/[%p]/.test(D)?l:"",$=jC[D],F=/[defgprs%]/.test(D);A=A===void 0?6:/[gprs]/.test(D)?Math.max(1,Math.min(21,A)):Math.max(0,Math.min(20,A));function X(H){var U=R,se=B,ce,ge,q;if(D==="c")se=$(H)+se,H="";else{H=+H;var te=H<0||1/H<0;if(H=isNaN(H)?f:$(Math.abs(H),A),k&&(H=UF(H)),te&&+H==0&&_!=="+"&&(te=!1),U=(te?_==="("?_:u:_==="-"||_==="("?"":_)+U,se=(D==="s"?LC[8+LN/3]:"")+se+(te&&_==="("?")":""),F){for(ce=-1,ge=H.length;++ce<ge;)if(q=H.charCodeAt(ce),48>q||q>57){se=(q===46?a+H.slice(ce+1):H.slice(ce))+se,H=H.slice(0,ce);break}}}T&&!O&&(H=t(H,1/0));var re=U.length+H.length+se.length,pe=re<C?new Array(C-re+1).join(b):"";switch(T&&O&&(H=t(pe+H,pe.length?C-se.length:1/0),pe=""),w){case"<":H=U+H+se+pe;break;case"=":H=U+pe+H+se;break;case"^":H=pe.slice(0,re=pe.length>>1)+U+H+se+pe.slice(re);break;default:H=pe+U+H+se;break}return o(H)}return X.toString=function(){return m+""},X}function p(m,b){var w=h((m=Fd(m),m.type="f",m)),_=Math.max(-8,Math.min(8,Math.floor(hu(b)/3)))*3,E=Math.pow(10,-_),O=LC[8+_/3];return function(C){return w(E*C)+O}}return{format:h,formatPrefix:p}}var bm,Nw,kN;YF({thousands:",",grouping:[3],currency:["$",""]});function YF(e){return bm=GF(e),Nw=bm.format,kN=bm.formatPrefix,bm}function KF(e){return Math.max(0,-hu(Math.abs(e)))}function WF(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(hu(t)/3)))*3-hu(Math.abs(e)))}function XF(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,hu(t)-hu(e))+1}function RN(e,t,n,i){var a=ex(e,t,n),o;switch(i=Fd(i??",f"),i.type){case"s":{var l=Math.max(Math.abs(e),Math.abs(t));return i.precision==null&&!isNaN(o=WF(a,l))&&(i.precision=o),kN(i,l)}case"":case"e":case"g":case"p":case"r":{i.precision==null&&!isNaN(o=XF(a,Math.max(Math.abs(e),Math.abs(t))))&&(i.precision=o-(i.type==="e"));break}case"f":case"%":{i.precision==null&&!isNaN(o=KF(a))&&(i.precision=o-(i.type==="%")*2);break}}return Nw(i)}function To(e){var t=e.domain;return e.ticks=function(n){var i=t();return Zb(i[0],i[i.length-1],n??10)},e.tickFormat=function(n,i){var a=t();return RN(a[0],a[a.length-1],n??10,i)},e.nice=function(n){n==null&&(n=10);var i=t(),a=0,o=i.length-1,l=i[a],u=i[o],f,h,p=10;for(u<l&&(h=l,l=u,u=h,h=a,a=o,o=h);p-- >0;){if(h=Jb(l,u,n),h===f)return i[a]=l,i[o]=u,t(i);if(h>0)l=Math.floor(l/h)*h,u=Math.ceil(u/h)*h;else if(h<0)l=Math.ceil(l*h)/h,u=Math.floor(u*h)/h;else break;f=h}return e},e}function zN(){var e=Ow();return e.copy=function(){return oh(e,zN())},or.apply(e,arguments),To(e)}function IN(e){var t;function n(i){return i==null||isNaN(i=+i)?t:i}return n.invert=n,n.domain=n.range=function(i){return arguments.length?(e=Array.from(i,Cg),n):e.slice()},n.unknown=function(i){return arguments.length?(t=i,n):t},n.copy=function(){return IN(e).unknown(t)},e=arguments.length?Array.from(e,Cg):[0,1],To(n)}function $N(e,t){e=e.slice();var n=0,i=e.length-1,a=e[n],o=e[i],l;return o<a&&(l=n,n=i,i=l,l=a,a=o,o=l),e[n]=t.floor(a),e[i]=t.ceil(o),e}function kC(e){return Math.log(e)}function RC(e){return Math.exp(e)}function QF(e){return-Math.log(-e)}function ZF(e){return-Math.exp(-e)}function JF(e){return isFinite(e)?+("1e"+e):e<0?0:e}function eG(e){return e===10?JF:e===Math.E?Math.exp:t=>Math.pow(e,t)}function tG(e){return e===Math.E?Math.log:e===10&&Math.log10||e===2&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}function zC(e){return(t,n)=>-e(-t,n)}function jw(e){const t=e(kC,RC),n=t.domain;let i=10,a,o;function l(){return a=tG(i),o=eG(i),n()[0]<0?(a=zC(a),o=zC(o),e(QF,ZF)):e(kC,RC),t}return t.base=function(u){return arguments.length?(i=+u,l()):i},t.domain=function(u){return arguments.length?(n(u),l()):n()},t.ticks=u=>{const f=n();let h=f[0],p=f[f.length-1];const m=p<h;m&&([h,p]=[p,h]);let b=a(h),w=a(p),_,E;const O=u==null?10:+u;let C=[];if(!(i%1)&&w-b<O){if(b=Math.floor(b),w=Math.ceil(w),h>0){for(;b<=w;++b)for(_=1;_<i;++_)if(E=b<0?_/o(-b):_*o(b),!(E<h)){if(E>p)break;C.push(E)}}else for(;b<=w;++b)for(_=i-1;_>=1;--_)if(E=b>0?_/o(-b):_*o(b),!(E<h)){if(E>p)break;C.push(E)}C.length*2<O&&(C=Zb(h,p,O))}else C=Zb(b,w,Math.min(w-b,O)).map(o);return m?C.reverse():C},t.tickFormat=(u,f)=>{if(u==null&&(u=10),f==null&&(f=i===10?"s":","),typeof f!="function"&&(!(i%1)&&(f=Fd(f)).precision==null&&(f.trim=!0),f=Nw(f)),u===1/0)return f;const h=Math.max(1,i*u/t.ticks().length);return p=>{let m=p/o(Math.round(a(p)));return m*i<i-.5&&(m*=i),m<=h?f(p):""}},t.nice=()=>n($N(n(),{floor:u=>o(Math.floor(a(u))),ceil:u=>o(Math.ceil(a(u)))})),t}function BN(){const e=jw(ov()).domain([1,10]);return e.copy=()=>oh(e,BN()).base(e.base()),or.apply(e,arguments),e}function IC(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function $C(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function Dw(e){var t=1,n=e(IC(t),$C(t));return n.constant=function(i){return arguments.length?e(IC(t=+i),$C(t)):t},To(n)}function VN(){var e=Dw(ov());return e.copy=function(){return oh(e,VN()).constant(e.constant())},or.apply(e,arguments)}function BC(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function nG(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function iG(e){return e<0?-e*e:e*e}function Pw(e){var t=e(Xn,Xn),n=1;function i(){return n===1?e(Xn,Xn):n===.5?e(nG,iG):e(BC(n),BC(1/n))}return t.exponent=function(a){return arguments.length?(n=+a,i()):n},To(t)}function Lw(){var e=Pw(ov());return e.copy=function(){return oh(e,Lw()).exponent(e.exponent())},or.apply(e,arguments),e}function rG(){return Lw.apply(null,arguments).exponent(.5)}function VC(e){return Math.sign(e)*e*e}function aG(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function HN(){var e=Ow(),t=[0,1],n=!1,i;function a(o){var l=aG(e(o));return isNaN(l)?i:n?Math.round(l):l}return a.invert=function(o){return e.invert(VC(o))},a.domain=function(o){return arguments.length?(e.domain(o),a):e.domain()},a.range=function(o){return arguments.length?(e.range((t=Array.from(o,Cg)).map(VC)),a):t.slice()},a.rangeRound=function(o){return a.range(o).round(!0)},a.round=function(o){return arguments.length?(n=!!o,a):n},a.clamp=function(o){return arguments.length?(e.clamp(o),a):e.clamp()},a.unknown=function(o){return arguments.length?(i=o,a):i},a.copy=function(){return HN(e.domain(),t).round(n).clamp(e.clamp()).unknown(i)},or.apply(a,arguments),To(a)}function qN(){var e=[],t=[],n=[],i;function a(){var l=0,u=Math.max(1,t.length);for(n=new Array(u-1);++l<u;)n[l-1]=cF(e,l/u);return o}function o(l){return l==null||isNaN(l=+l)?i:t[ah(n,l)]}return o.invertExtent=function(l){var u=t.indexOf(l);return u<0?[NaN,NaN]:[u>0?n[u-1]:e[0],u<n.length?n[u]:e[e.length-1]]},o.domain=function(l){if(!arguments.length)return e.slice();e=[];for(let u of l)u!=null&&!isNaN(u=+u)&&e.push(u);return e.sort(yo),a()},o.range=function(l){return arguments.length?(t=Array.from(l),a()):t.slice()},o.unknown=function(l){return arguments.length?(i=l,o):i},o.quantiles=function(){return n.slice()},o.copy=function(){return qN().domain(e).range(t).unknown(i)},or.apply(o,arguments)}function UN(){var e=0,t=1,n=1,i=[.5],a=[0,1],o;function l(f){return f!=null&&f<=f?a[ah(i,f,0,n)]:o}function u(){var f=-1;for(i=new Array(n);++f<n;)i[f]=((f+1)*t-(f-n)*e)/(n+1);return l}return l.domain=function(f){return arguments.length?([e,t]=f,e=+e,t=+t,u()):[e,t]},l.range=function(f){return arguments.length?(n=(a=Array.from(f)).length-1,u()):a.slice()},l.invertExtent=function(f){var h=a.indexOf(f);return h<0?[NaN,NaN]:h<1?[e,i[0]]:h>=n?[i[n-1],t]:[i[h-1],i[h]]},l.unknown=function(f){return arguments.length&&(o=f),l},l.thresholds=function(){return i.slice()},l.copy=function(){return UN().domain([e,t]).range(a).unknown(o)},or.apply(To(l),arguments)}function FN(){var e=[.5],t=[0,1],n,i=1;function a(o){return o!=null&&o<=o?t[ah(e,o,0,i)]:n}return a.domain=function(o){return arguments.length?(e=Array.from(o),i=Math.min(e.length,t.length-1),a):e.slice()},a.range=function(o){return arguments.length?(t=Array.from(o),i=Math.min(e.length,t.length-1),a):t.slice()},a.invertExtent=function(o){var l=t.indexOf(o);return[e[l-1],e[l]]},a.unknown=function(o){return arguments.length?(n=o,a):n},a.copy=function(){return FN().domain(e).range(t).unknown(n)},or.apply(a,arguments)}const E1=new Date,S1=new Date;function on(e,t,n,i){function a(o){return e(o=arguments.length===0?new Date:new Date(+o)),o}return a.floor=o=>(e(o=new Date(+o)),o),a.ceil=o=>(e(o=new Date(o-1)),t(o,1),e(o),o),a.round=o=>{const l=a(o),u=a.ceil(o);return o-l<u-o?l:u},a.offset=(o,l)=>(t(o=new Date(+o),l==null?1:Math.floor(l)),o),a.range=(o,l,u)=>{const f=[];if(o=a.ceil(o),u=u==null?1:Math.floor(u),!(o<l)||!(u>0))return f;let h;do f.push(h=new Date(+o)),t(o,u),e(o);while(h<o&&o<l);return f},a.filter=o=>on(l=>{if(l>=l)for(;e(l),!o(l);)l.setTime(l-1)},(l,u)=>{if(l>=l)if(u<0)for(;++u<=0;)for(;t(l,-1),!o(l););else for(;--u>=0;)for(;t(l,1),!o(l););}),n&&(a.count=(o,l)=>(E1.setTime(+o),S1.setTime(+l),e(E1),e(S1),Math.floor(n(E1,S1))),a.every=o=>(o=Math.floor(o),!isFinite(o)||!(o>0)?null:o>1?a.filter(i?l=>i(l)%o===0:l=>a.count(0,l)%o===0):a)),a}const Mg=on(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);Mg.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?on(t=>{t.setTime(Math.floor(t/e)*e)},(t,n)=>{t.setTime(+t+n*e)},(t,n)=>(n-t)/e):Mg);Mg.range;const Fa=1e3,er=Fa*60,Ga=er*60,ns=Ga*24,kw=ns*7,HC=ns*30,T1=ns*365,vl=on(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*Fa)},(e,t)=>(t-e)/Fa,e=>e.getUTCSeconds());vl.range;const Rw=on(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Fa)},(e,t)=>{e.setTime(+e+t*er)},(e,t)=>(t-e)/er,e=>e.getMinutes());Rw.range;const zw=on(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*er)},(e,t)=>(t-e)/er,e=>e.getUTCMinutes());zw.range;const Iw=on(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Fa-e.getMinutes()*er)},(e,t)=>{e.setTime(+e+t*Ga)},(e,t)=>(t-e)/Ga,e=>e.getHours());Iw.range;const $w=on(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*Ga)},(e,t)=>(t-e)/Ga,e=>e.getUTCHours());$w.range;const lh=on(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*er)/ns,e=>e.getDate()-1);lh.range;const lv=on(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/ns,e=>e.getUTCDate()-1);lv.range;const GN=on(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/ns,e=>Math.floor(e/ns));GN.range;function zl(e){return on(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(t,n)=>{t.setDate(t.getDate()+n*7)},(t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*er)/kw)}const cv=zl(0),Ng=zl(1),sG=zl(2),oG=zl(3),pu=zl(4),lG=zl(5),cG=zl(6);cv.range;Ng.range;sG.range;oG.range;pu.range;lG.range;cG.range;function Il(e){return on(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCDate(t.getUTCDate()+n*7)},(t,n)=>(n-t)/kw)}const uv=Il(0),jg=Il(1),uG=Il(2),fG=Il(3),mu=Il(4),dG=Il(5),hG=Il(6);uv.range;jg.range;uG.range;fG.range;mu.range;dG.range;hG.range;const Bw=on(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());Bw.range;const Vw=on(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());Vw.range;const is=on(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());is.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:on(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n*e)});is.range;const rs=on(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());rs.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:on(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)});rs.range;function YN(e,t,n,i,a,o){const l=[[vl,1,Fa],[vl,5,5*Fa],[vl,15,15*Fa],[vl,30,30*Fa],[o,1,er],[o,5,5*er],[o,15,15*er],[o,30,30*er],[a,1,Ga],[a,3,3*Ga],[a,6,6*Ga],[a,12,12*Ga],[i,1,ns],[i,2,2*ns],[n,1,kw],[t,1,HC],[t,3,3*HC],[e,1,T1]];function u(h,p,m){const b=p<h;b&&([h,p]=[p,h]);const w=m&&typeof m.range=="function"?m:f(h,p,m),_=w?w.range(h,+p+1):[];return b?_.reverse():_}function f(h,p,m){const b=Math.abs(p-h)/m,w=_w(([,,O])=>O).right(l,b);if(w===l.length)return e.every(ex(h/T1,p/T1,m));if(w===0)return Mg.every(Math.max(ex(h,p,m),1));const[_,E]=l[b/l[w-1][2]<l[w][2]/b?w-1:w];return _.every(E)}return[u,f]}const[pG,mG]=YN(rs,Vw,uv,GN,$w,zw),[gG,vG]=YN(is,Bw,cv,lh,Iw,Rw);function A1(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function C1(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function dd(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function yG(e){var t=e.dateTime,n=e.date,i=e.time,a=e.periods,o=e.days,l=e.shortDays,u=e.months,f=e.shortMonths,h=hd(a),p=pd(a),m=hd(o),b=pd(o),w=hd(l),_=pd(l),E=hd(u),O=pd(u),C=hd(f),T=pd(f),A={a:te,A:re,b:pe,B:z,c:null,d:KC,e:KC,f:VG,g:QG,G:JG,H:IG,I:$G,j:BG,L:KN,m:HG,M:qG,p:V,q:oe,Q:QC,s:ZC,S:UG,u:FG,U:GG,V:YG,w:KG,W:WG,x:null,X:null,y:XG,Y:ZG,Z:eY,"%":XC},k={a:ve,A:we,b:Ce,B:Ee,c:null,d:WC,e:WC,f:rY,g:pY,G:gY,H:tY,I:nY,j:iY,L:XN,m:aY,M:sY,p:Ie,q:Ne,Q:QC,s:ZC,S:oY,u:lY,U:cY,V:uY,w:fY,W:dY,x:null,X:null,y:hY,Y:mY,Z:vY,"%":XC},D={a:X,A:H,b:U,B:se,c:ce,d:GC,e:GC,f:LG,g:FC,G:UC,H:YC,I:YC,j:NG,L:PG,m:MG,M:jG,p:F,q:OG,Q:RG,s:zG,S:DG,u:EG,U:SG,V:TG,w:_G,W:AG,x:ge,X:q,y:FC,Y:UC,Z:CG,"%":kG};A.x=R(n,A),A.X=R(i,A),A.c=R(t,A),k.x=R(n,k),k.X=R(i,k),k.c=R(t,k);function R(ne,De){return function(Pe){var he=[],Ue=-1,Te=0,tt=ne.length,at,ct,ds;for(Pe instanceof Date||(Pe=new Date(+Pe));++Ue<tt;)ne.charCodeAt(Ue)===37&&(he.push(ne.slice(Te,Ue)),(ct=qC[at=ne.charAt(++Ue)])!=null?at=ne.charAt(++Ue):ct=at==="e"?" ":"0",(ds=De[at])&&(at=ds(Pe,ct)),he.push(at),Te=Ue+1);return he.push(ne.slice(Te,Ue)),he.join("")}}function B(ne,De){return function(Pe){var he=dd(1900,void 0,1),Ue=$(he,ne,Pe+="",0),Te,tt;if(Ue!=Pe.length)return null;if("Q"in he)return new Date(he.Q);if("s"in he)return new Date(he.s*1e3+("L"in he?he.L:0));if(De&&!("Z"in he)&&(he.Z=0),"p"in he&&(he.H=he.H%12+he.p*12),he.m===void 0&&(he.m="q"in he?he.q:0),"V"in he){if(he.V<1||he.V>53)return null;"w"in he||(he.w=1),"Z"in he?(Te=C1(dd(he.y,0,1)),tt=Te.getUTCDay(),Te=tt>4||tt===0?jg.ceil(Te):jg(Te),Te=lv.offset(Te,(he.V-1)*7),he.y=Te.getUTCFullYear(),he.m=Te.getUTCMonth(),he.d=Te.getUTCDate()+(he.w+6)%7):(Te=A1(dd(he.y,0,1)),tt=Te.getDay(),Te=tt>4||tt===0?Ng.ceil(Te):Ng(Te),Te=lh.offset(Te,(he.V-1)*7),he.y=Te.getFullYear(),he.m=Te.getMonth(),he.d=Te.getDate()+(he.w+6)%7)}else("W"in he||"U"in he)&&("w"in he||(he.w="u"in he?he.u%7:"W"in he?1:0),tt="Z"in he?C1(dd(he.y,0,1)).getUTCDay():A1(dd(he.y,0,1)).getDay(),he.m=0,he.d="W"in he?(he.w+6)%7+he.W*7-(tt+5)%7:he.w+he.U*7-(tt+6)%7);return"Z"in he?(he.H+=he.Z/100|0,he.M+=he.Z%100,C1(he)):A1(he)}}function $(ne,De,Pe,he){for(var Ue=0,Te=De.length,tt=Pe.length,at,ct;Ue<Te;){if(he>=tt)return-1;if(at=De.charCodeAt(Ue++),at===37){if(at=De.charAt(Ue++),ct=D[at in qC?De.charAt(Ue++):at],!ct||(he=ct(ne,Pe,he))<0)return-1}else if(at!=Pe.charCodeAt(he++))return-1}return he}function F(ne,De,Pe){var he=h.exec(De.slice(Pe));return he?(ne.p=p.get(he[0].toLowerCase()),Pe+he[0].length):-1}function X(ne,De,Pe){var he=w.exec(De.slice(Pe));return he?(ne.w=_.get(he[0].toLowerCase()),Pe+he[0].length):-1}function H(ne,De,Pe){var he=m.exec(De.slice(Pe));return he?(ne.w=b.get(he[0].toLowerCase()),Pe+he[0].length):-1}function U(ne,De,Pe){var he=C.exec(De.slice(Pe));return he?(ne.m=T.get(he[0].toLowerCase()),Pe+he[0].length):-1}function se(ne,De,Pe){var he=E.exec(De.slice(Pe));return he?(ne.m=O.get(he[0].toLowerCase()),Pe+he[0].length):-1}function ce(ne,De,Pe){return $(ne,t,De,Pe)}function ge(ne,De,Pe){return $(ne,n,De,Pe)}function q(ne,De,Pe){return $(ne,i,De,Pe)}function te(ne){return l[ne.getDay()]}function re(ne){return o[ne.getDay()]}function pe(ne){return f[ne.getMonth()]}function z(ne){return u[ne.getMonth()]}function V(ne){return a[+(ne.getHours()>=12)]}function oe(ne){return 1+~~(ne.getMonth()/3)}function ve(ne){return l[ne.getUTCDay()]}function we(ne){return o[ne.getUTCDay()]}function Ce(ne){return f[ne.getUTCMonth()]}function Ee(ne){return u[ne.getUTCMonth()]}function Ie(ne){return a[+(ne.getUTCHours()>=12)]}function Ne(ne){return 1+~~(ne.getUTCMonth()/3)}return{format:function(ne){var De=R(ne+="",A);return De.toString=function(){return ne},De},parse:function(ne){var De=B(ne+="",!1);return De.toString=function(){return ne},De},utcFormat:function(ne){var De=R(ne+="",k);return De.toString=function(){return ne},De},utcParse:function(ne){var De=B(ne+="",!0);return De.toString=function(){return ne},De}}}var qC={"-":"",_:" ",0:"0"},bn=/^\s*\d+/,bG=/^%/,xG=/[\\^$*+?|[\]().{}]/g;function lt(e,t,n){var i=e<0?"-":"",a=(i?-e:e)+"",o=a.length;return i+(o<n?new Array(n-o+1).join(t)+a:a)}function wG(e){return e.replace(xG,"\\$&")}function hd(e){return new RegExp("^(?:"+e.map(wG).join("|")+")","i")}function pd(e){return new Map(e.map((t,n)=>[t.toLowerCase(),n]))}function _G(e,t,n){var i=bn.exec(t.slice(n,n+1));return i?(e.w=+i[0],n+i[0].length):-1}function EG(e,t,n){var i=bn.exec(t.slice(n,n+1));return i?(e.u=+i[0],n+i[0].length):-1}function SG(e,t,n){var i=bn.exec(t.slice(n,n+2));return i?(e.U=+i[0],n+i[0].length):-1}function TG(e,t,n){var i=bn.exec(t.slice(n,n+2));return i?(e.V=+i[0],n+i[0].length):-1}function AG(e,t,n){var i=bn.exec(t.slice(n,n+2));return i?(e.W=+i[0],n+i[0].length):-1}function UC(e,t,n){var i=bn.exec(t.slice(n,n+4));return i?(e.y=+i[0],n+i[0].length):-1}function FC(e,t,n){var i=bn.exec(t.slice(n,n+2));return i?(e.y=+i[0]+(+i[0]>68?1900:2e3),n+i[0].length):-1}function CG(e,t,n){var i=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return i?(e.Z=i[1]?0:-(i[2]+(i[3]||"00")),n+i[0].length):-1}function OG(e,t,n){var i=bn.exec(t.slice(n,n+1));return i?(e.q=i[0]*3-3,n+i[0].length):-1}function MG(e,t,n){var i=bn.exec(t.slice(n,n+2));return i?(e.m=i[0]-1,n+i[0].length):-1}function GC(e,t,n){var i=bn.exec(t.slice(n,n+2));return i?(e.d=+i[0],n+i[0].length):-1}function NG(e,t,n){var i=bn.exec(t.slice(n,n+3));return i?(e.m=0,e.d=+i[0],n+i[0].length):-1}function YC(e,t,n){var i=bn.exec(t.slice(n,n+2));return i?(e.H=+i[0],n+i[0].length):-1}function jG(e,t,n){var i=bn.exec(t.slice(n,n+2));return i?(e.M=+i[0],n+i[0].length):-1}function DG(e,t,n){var i=bn.exec(t.slice(n,n+2));return i?(e.S=+i[0],n+i[0].length):-1}function PG(e,t,n){var i=bn.exec(t.slice(n,n+3));return i?(e.L=+i[0],n+i[0].length):-1}function LG(e,t,n){var i=bn.exec(t.slice(n,n+6));return i?(e.L=Math.floor(i[0]/1e3),n+i[0].length):-1}function kG(e,t,n){var i=bG.exec(t.slice(n,n+1));return i?n+i[0].length:-1}function RG(e,t,n){var i=bn.exec(t.slice(n));return i?(e.Q=+i[0],n+i[0].length):-1}function zG(e,t,n){var i=bn.exec(t.slice(n));return i?(e.s=+i[0],n+i[0].length):-1}function KC(e,t){return lt(e.getDate(),t,2)}function IG(e,t){return lt(e.getHours(),t,2)}function $G(e,t){return lt(e.getHours()%12||12,t,2)}function BG(e,t){return lt(1+lh.count(is(e),e),t,3)}function KN(e,t){return lt(e.getMilliseconds(),t,3)}function VG(e,t){return KN(e,t)+"000"}function HG(e,t){return lt(e.getMonth()+1,t,2)}function qG(e,t){return lt(e.getMinutes(),t,2)}function UG(e,t){return lt(e.getSeconds(),t,2)}function FG(e){var t=e.getDay();return t===0?7:t}function GG(e,t){return lt(cv.count(is(e)-1,e),t,2)}function WN(e){var t=e.getDay();return t>=4||t===0?pu(e):pu.ceil(e)}function YG(e,t){return e=WN(e),lt(pu.count(is(e),e)+(is(e).getDay()===4),t,2)}function KG(e){return e.getDay()}function WG(e,t){return lt(Ng.count(is(e)-1,e),t,2)}function XG(e,t){return lt(e.getFullYear()%100,t,2)}function QG(e,t){return e=WN(e),lt(e.getFullYear()%100,t,2)}function ZG(e,t){return lt(e.getFullYear()%1e4,t,4)}function JG(e,t){var n=e.getDay();return e=n>=4||n===0?pu(e):pu.ceil(e),lt(e.getFullYear()%1e4,t,4)}function eY(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+lt(t/60|0,"0",2)+lt(t%60,"0",2)}function WC(e,t){return lt(e.getUTCDate(),t,2)}function tY(e,t){return lt(e.getUTCHours(),t,2)}function nY(e,t){return lt(e.getUTCHours()%12||12,t,2)}function iY(e,t){return lt(1+lv.count(rs(e),e),t,3)}function XN(e,t){return lt(e.getUTCMilliseconds(),t,3)}function rY(e,t){return XN(e,t)+"000"}function aY(e,t){return lt(e.getUTCMonth()+1,t,2)}function sY(e,t){return lt(e.getUTCMinutes(),t,2)}function oY(e,t){return lt(e.getUTCSeconds(),t,2)}function lY(e){var t=e.getUTCDay();return t===0?7:t}function cY(e,t){return lt(uv.count(rs(e)-1,e),t,2)}function QN(e){var t=e.getUTCDay();return t>=4||t===0?mu(e):mu.ceil(e)}function uY(e,t){return e=QN(e),lt(mu.count(rs(e),e)+(rs(e).getUTCDay()===4),t,2)}function fY(e){return e.getUTCDay()}function dY(e,t){return lt(jg.count(rs(e)-1,e),t,2)}function hY(e,t){return lt(e.getUTCFullYear()%100,t,2)}function pY(e,t){return e=QN(e),lt(e.getUTCFullYear()%100,t,2)}function mY(e,t){return lt(e.getUTCFullYear()%1e4,t,4)}function gY(e,t){var n=e.getUTCDay();return e=n>=4||n===0?mu(e):mu.ceil(e),lt(e.getUTCFullYear()%1e4,t,4)}function vY(){return"+0000"}function XC(){return"%"}function QC(e){return+e}function ZC(e){return Math.floor(+e/1e3)}var qc,ZN,JN;yY({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function yY(e){return qc=yG(e),ZN=qc.format,qc.parse,JN=qc.utcFormat,qc.utcParse,qc}function bY(e){return new Date(e)}function xY(e){return e instanceof Date?+e:+new Date(+e)}function Hw(e,t,n,i,a,o,l,u,f,h){var p=Ow(),m=p.invert,b=p.domain,w=h(".%L"),_=h(":%S"),E=h("%I:%M"),O=h("%I %p"),C=h("%a %d"),T=h("%b %d"),A=h("%B"),k=h("%Y");function D(R){return(f(R)<R?w:u(R)<R?_:l(R)<R?E:o(R)<R?O:i(R)<R?a(R)<R?C:T:n(R)<R?A:k)(R)}return p.invert=function(R){return new Date(m(R))},p.domain=function(R){return arguments.length?b(Array.from(R,xY)):b().map(bY)},p.ticks=function(R){var B=b();return e(B[0],B[B.length-1],R??10)},p.tickFormat=function(R,B){return B==null?D:h(B)},p.nice=function(R){var B=b();return(!R||typeof R.range!="function")&&(R=t(B[0],B[B.length-1],R??10)),R?b($N(B,R)):p},p.copy=function(){return oh(p,Hw(e,t,n,i,a,o,l,u,f,h))},p}function wY(){return or.apply(Hw(gG,vG,is,Bw,cv,lh,Iw,Rw,vl,ZN).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function _Y(){return or.apply(Hw(pG,mG,rs,Vw,uv,lv,$w,zw,vl,JN).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function fv(){var e=0,t=1,n,i,a,o,l=Xn,u=!1,f;function h(m){return m==null||isNaN(m=+m)?f:l(a===0?.5:(m=(o(m)-n)*a,u?Math.max(0,Math.min(1,m)):m))}h.domain=function(m){return arguments.length?([e,t]=m,n=o(e=+e),i=o(t=+t),a=n===i?0:1/(i-n),h):[e,t]},h.clamp=function(m){return arguments.length?(u=!!m,h):u},h.interpolator=function(m){return arguments.length?(l=m,h):l};function p(m){return function(b){var w,_;return arguments.length?([w,_]=b,l=m(w,_),h):[l(0),l(1)]}}return h.range=p(Nu),h.rangeRound=p(Cw),h.unknown=function(m){return arguments.length?(f=m,h):f},function(m){return o=m,n=m(e),i=m(t),a=n===i?0:1/(i-n),h}}function Ao(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function ej(){var e=To(fv()(Xn));return e.copy=function(){return Ao(e,ej())},us.apply(e,arguments)}function tj(){var e=jw(fv()).domain([1,10]);return e.copy=function(){return Ao(e,tj()).base(e.base())},us.apply(e,arguments)}function nj(){var e=Dw(fv());return e.copy=function(){return Ao(e,nj()).constant(e.constant())},us.apply(e,arguments)}function qw(){var e=Pw(fv());return e.copy=function(){return Ao(e,qw()).exponent(e.exponent())},us.apply(e,arguments)}function EY(){return qw.apply(null,arguments).exponent(.5)}function ij(){var e=[],t=Xn;function n(i){if(i!=null&&!isNaN(i=+i))return t((ah(e,i,1)-1)/(e.length-1))}return n.domain=function(i){if(!arguments.length)return e.slice();e=[];for(let a of i)a!=null&&!isNaN(a=+a)&&e.push(a);return e.sort(yo),n},n.interpolator=function(i){return arguments.length?(t=i,n):t},n.range=function(){return e.map((i,a)=>t(a/(e.length-1)))},n.quantiles=function(i){return Array.from({length:i+1},(a,o)=>lF(e,o/i))},n.copy=function(){return ij(t).domain(e)},us.apply(n,arguments)}function dv(){var e=0,t=.5,n=1,i=1,a,o,l,u,f,h=Xn,p,m=!1,b;function w(E){return isNaN(E=+E)?b:(E=.5+((E=+p(E))-o)*(i*E<i*o?u:f),h(m?Math.max(0,Math.min(1,E)):E))}w.domain=function(E){return arguments.length?([e,t,n]=E,a=p(e=+e),o=p(t=+t),l=p(n=+n),u=a===o?0:.5/(o-a),f=o===l?0:.5/(l-o),i=o<a?-1:1,w):[e,t,n]},w.clamp=function(E){return arguments.length?(m=!!E,w):m},w.interpolator=function(E){return arguments.length?(h=E,w):h};function _(E){return function(O){var C,T,A;return arguments.length?([C,T,A]=O,h=kF(E,[C,T,A]),w):[h(0),h(.5),h(1)]}}return w.range=_(Nu),w.rangeRound=_(Cw),w.unknown=function(E){return arguments.length?(b=E,w):b},function(E){return p=E,a=E(e),o=E(t),l=E(n),u=a===o?0:.5/(o-a),f=o===l?0:.5/(l-o),i=o<a?-1:1,w}}function rj(){var e=To(dv()(Xn));return e.copy=function(){return Ao(e,rj())},us.apply(e,arguments)}function aj(){var e=jw(dv()).domain([.1,1,10]);return e.copy=function(){return Ao(e,aj()).base(e.base())},us.apply(e,arguments)}function sj(){var e=Dw(dv());return e.copy=function(){return Ao(e,sj()).constant(e.constant())},us.apply(e,arguments)}function Uw(){var e=Pw(dv());return e.copy=function(){return Ao(e,Uw()).exponent(e.exponent())},us.apply(e,arguments)}function SY(){return Uw.apply(null,arguments).exponent(.5)}const xd=Object.freeze(Object.defineProperty({__proto__:null,scaleBand:Sw,scaleDiverging:rj,scaleDivergingLog:aj,scaleDivergingPow:Uw,scaleDivergingSqrt:SY,scaleDivergingSymlog:sj,scaleIdentity:IN,scaleImplicit:tx,scaleLinear:zN,scaleLog:BN,scaleOrdinal:Ew,scalePoint:fF,scalePow:Lw,scaleQuantile:qN,scaleQuantize:UN,scaleRadial:HN,scaleSequential:ej,scaleSequentialLog:tj,scaleSequentialPow:qw,scaleSequentialQuantile:ij,scaleSequentialSqrt:EY,scaleSequentialSymlog:nj,scaleSqrt:rG,scaleSymlog:VN,scaleThreshold:FN,scaleTime:wY,scaleUtc:_Y,tickFormat:RN},Symbol.toStringTag,{value:"Module"}));var Co=e=>e.chartData,Fw=ae([Co],e=>{var t=e.chartData!=null?e.chartData.length-1:0;return{chartData:e.chartData,computedData:e.computedData,dataEndIndex:t,dataStartIndex:0}}),oj=(e,t,n,i)=>i?Fw(e):Co(e);function gu(e){if(Array.isArray(e)&&e.length===2){var[t,n]=e;if(Mr(t)&&Mr(n))return!0}return!1}function JC(e,t,n){return n?e:[Math.min(e[0],t[0]),Math.max(e[1],t[1])]}function TY(e,t){if(t&&typeof e!="function"&&Array.isArray(e)&&e.length===2){var[n,i]=e,a,o;if(Mr(n))a=n;else if(typeof n=="function")return;if(Mr(i))o=i;else if(typeof i=="function")return;var l=[a,o];if(gu(l))return l}}function AY(e,t,n){if(!(!n&&t==null)){if(typeof e=="function"&&t!=null)try{var i=e(t,n);if(gu(i))return JC(i,t,n)}catch{}if(Array.isArray(e)&&e.length===2){var[a,o]=e,l,u;if(a==="auto")t!=null&&(l=Math.min(...t));else if(tn(a))l=a;else if(typeof a=="function")try{t!=null&&(l=a(t?.[0]))}catch{}else if(typeof a=="string"&&GA.test(a)){var f=GA.exec(a);if(f==null||t==null)l=void 0;else{var h=+f[1];l=t[0]-h}}else l=t?.[0];if(o==="auto")t!=null&&(u=Math.max(...t));else if(tn(o))u=o;else if(typeof o=="function")try{t!=null&&(u=o(t?.[1]))}catch{}else if(typeof o=="string"&&YA.test(o)){var p=YA.exec(o);if(p==null||t==null)u=void 0;else{var m=+p[1];u=t[1]+m}}else u=t?.[1];var b=[l,u];if(gu(b))return t==null?b:JC(b,t,n)}}}var ju=1e9,CY={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},Yw,Lt=!0,rr="[DecimalError] ",Tl=rr+"Invalid argument: ",Gw=rr+"Exponent out of range: ",Du=Math.floor,dl=Math.pow,OY=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,Ci,vn=1e7,jt=7,lj=9007199254740991,Dg=Du(lj/jt),Ae={};Ae.absoluteValue=Ae.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e};Ae.comparedTo=Ae.cmp=function(e){var t,n,i,a,o=this;if(e=new o.constructor(e),o.s!==e.s)return o.s||-e.s;if(o.e!==e.e)return o.e>e.e^o.s<0?1:-1;for(i=o.d.length,a=e.d.length,t=0,n=i<a?i:a;t<n;++t)if(o.d[t]!==e.d[t])return o.d[t]>e.d[t]^o.s<0?1:-1;return i===a?0:i>a^o.s<0?1:-1};Ae.decimalPlaces=Ae.dp=function(){var e=this,t=e.d.length-1,n=(t-e.e)*jt;if(t=e.d[t],t)for(;t%10==0;t/=10)n--;return n<0?0:n};Ae.dividedBy=Ae.div=function(e){return Wa(this,new this.constructor(e))};Ae.dividedToIntegerBy=Ae.idiv=function(e){var t=this,n=t.constructor;return Et(Wa(t,new n(e),0,1),n.precision)};Ae.equals=Ae.eq=function(e){return!this.cmp(e)};Ae.exponent=function(){return nn(this)};Ae.greaterThan=Ae.gt=function(e){return this.cmp(e)>0};Ae.greaterThanOrEqualTo=Ae.gte=function(e){return this.cmp(e)>=0};Ae.isInteger=Ae.isint=function(){return this.e>this.d.length-2};Ae.isNegative=Ae.isneg=function(){return this.s<0};Ae.isPositive=Ae.ispos=function(){return this.s>0};Ae.isZero=function(){return this.s===0};Ae.lessThan=Ae.lt=function(e){return this.cmp(e)<0};Ae.lessThanOrEqualTo=Ae.lte=function(e){return this.cmp(e)<1};Ae.logarithm=Ae.log=function(e){var t,n=this,i=n.constructor,a=i.precision,o=a+5;if(e===void 0)e=new i(10);else if(e=new i(e),e.s<1||e.eq(Ci))throw Error(rr+"NaN");if(n.s<1)throw Error(rr+(n.s?"NaN":"-Infinity"));return n.eq(Ci)?new i(0):(Lt=!1,t=Wa(Gd(n,o),Gd(e,o),o),Lt=!0,Et(t,a))};Ae.minus=Ae.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?fj(t,e):cj(t,(e.s=-e.s,e))};Ae.modulo=Ae.mod=function(e){var t,n=this,i=n.constructor,a=i.precision;if(e=new i(e),!e.s)throw Error(rr+"NaN");return n.s?(Lt=!1,t=Wa(n,e,0,1).times(e),Lt=!0,n.minus(t)):Et(new i(n),a)};Ae.naturalExponential=Ae.exp=function(){return uj(this)};Ae.naturalLogarithm=Ae.ln=function(){return Gd(this)};Ae.negated=Ae.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e};Ae.plus=Ae.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?cj(t,e):fj(t,(e.s=-e.s,e))};Ae.precision=Ae.sd=function(e){var t,n,i,a=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(Tl+e);if(t=nn(a)+1,i=a.d.length-1,n=i*jt+1,i=a.d[i],i){for(;i%10==0;i/=10)n--;for(i=a.d[0];i>=10;i/=10)n++}return e&&t>n?t:n};Ae.squareRoot=Ae.sqrt=function(){var e,t,n,i,a,o,l,u=this,f=u.constructor;if(u.s<1){if(!u.s)return new f(0);throw Error(rr+"NaN")}for(e=nn(u),Lt=!1,a=Math.sqrt(+u),a==0||a==1/0?(t=Jr(u.d),(t.length+e)%2==0&&(t+="0"),a=Math.sqrt(t),e=Du((e+1)/2)-(e<0||e%2),a==1/0?t="5e"+e:(t=a.toExponential(),t=t.slice(0,t.indexOf("e")+1)+e),i=new f(t)):i=new f(a.toString()),n=f.precision,a=l=n+3;;)if(o=i,i=o.plus(Wa(u,o,l+2)).times(.5),Jr(o.d).slice(0,l)===(t=Jr(i.d)).slice(0,l)){if(t=t.slice(l-3,l+1),a==l&&t=="4999"){if(Et(o,n+1,0),o.times(o).eq(u)){i=o;break}}else if(t!="9999")break;l+=4}return Lt=!0,Et(i,n)};Ae.times=Ae.mul=function(e){var t,n,i,a,o,l,u,f,h,p=this,m=p.constructor,b=p.d,w=(e=new m(e)).d;if(!p.s||!e.s)return new m(0);for(e.s*=p.s,n=p.e+e.e,f=b.length,h=w.length,f<h&&(o=b,b=w,w=o,l=f,f=h,h=l),o=[],l=f+h,i=l;i--;)o.push(0);for(i=h;--i>=0;){for(t=0,a=f+i;a>i;)u=o[a]+w[i]*b[a-i-1]+t,o[a--]=u%vn|0,t=u/vn|0;o[a]=(o[a]+t)%vn|0}for(;!o[--l];)o.pop();return t?++n:o.shift(),e.d=o,e.e=n,Lt?Et(e,m.precision):e};Ae.toDecimalPlaces=Ae.todp=function(e,t){var n=this,i=n.constructor;return n=new i(n),e===void 0?n:(ca(e,0,ju),t===void 0?t=i.rounding:ca(t,0,8),Et(n,e+nn(n)+1,t))};Ae.toExponential=function(e,t){var n,i=this,a=i.constructor;return e===void 0?n=Nl(i,!0):(ca(e,0,ju),t===void 0?t=a.rounding:ca(t,0,8),i=Et(new a(i),e+1,t),n=Nl(i,!0,e+1)),n};Ae.toFixed=function(e,t){var n,i,a=this,o=a.constructor;return e===void 0?Nl(a):(ca(e,0,ju),t===void 0?t=o.rounding:ca(t,0,8),i=Et(new o(a),e+nn(a)+1,t),n=Nl(i.abs(),!1,e+nn(i)+1),a.isneg()&&!a.isZero()?"-"+n:n)};Ae.toInteger=Ae.toint=function(){var e=this,t=e.constructor;return Et(new t(e),nn(e)+1,t.rounding)};Ae.toNumber=function(){return+this};Ae.toPower=Ae.pow=function(e){var t,n,i,a,o,l,u=this,f=u.constructor,h=12,p=+(e=new f(e));if(!e.s)return new f(Ci);if(u=new f(u),!u.s){if(e.s<1)throw Error(rr+"Infinity");return u}if(u.eq(Ci))return u;if(i=f.precision,e.eq(Ci))return Et(u,i);if(t=e.e,n=e.d.length-1,l=t>=n,o=u.s,l){if((n=p<0?-p:p)<=lj){for(a=new f(Ci),t=Math.ceil(i/jt+4),Lt=!1;n%2&&(a=a.times(u),t3(a.d,t)),n=Du(n/2),n!==0;)u=u.times(u),t3(u.d,t);return Lt=!0,e.s<0?new f(Ci).div(a):Et(a,i)}}else if(o<0)throw Error(rr+"NaN");return o=o<0&&e.d[Math.max(t,n)]&1?-1:1,u.s=1,Lt=!1,a=e.times(Gd(u,i+h)),Lt=!0,a=uj(a),a.s=o,a};Ae.toPrecision=function(e,t){var n,i,a=this,o=a.constructor;return e===void 0?(n=nn(a),i=Nl(a,n<=o.toExpNeg||n>=o.toExpPos)):(ca(e,1,ju),t===void 0?t=o.rounding:ca(t,0,8),a=Et(new o(a),e,t),n=nn(a),i=Nl(a,e<=n||n<=o.toExpNeg,e)),i};Ae.toSignificantDigits=Ae.tosd=function(e,t){var n=this,i=n.constructor;return e===void 0?(e=i.precision,t=i.rounding):(ca(e,1,ju),t===void 0?t=i.rounding:ca(t,0,8)),Et(new i(n),e,t)};Ae.toString=Ae.valueOf=Ae.val=Ae.toJSON=Ae[Symbol.for("nodejs.util.inspect.custom")]=function(){var e=this,t=nn(e),n=e.constructor;return Nl(e,t<=n.toExpNeg||t>=n.toExpPos)};function cj(e,t){var n,i,a,o,l,u,f,h,p=e.constructor,m=p.precision;if(!e.s||!t.s)return t.s||(t=new p(e)),Lt?Et(t,m):t;if(f=e.d,h=t.d,l=e.e,a=t.e,f=f.slice(),o=l-a,o){for(o<0?(i=f,o=-o,u=h.length):(i=h,a=l,u=f.length),l=Math.ceil(m/jt),u=l>u?l+1:u+1,o>u&&(o=u,i.length=1),i.reverse();o--;)i.push(0);i.reverse()}for(u=f.length,o=h.length,u-o<0&&(o=u,i=h,h=f,f=i),n=0;o;)n=(f[--o]=f[o]+h[o]+n)/vn|0,f[o]%=vn;for(n&&(f.unshift(n),++a),u=f.length;f[--u]==0;)f.pop();return t.d=f,t.e=a,Lt?Et(t,m):t}function ca(e,t,n){if(e!==~~e||e<t||e>n)throw Error(Tl+e)}function Jr(e){var t,n,i,a=e.length-1,o="",l=e[0];if(a>0){for(o+=l,t=1;t<a;t++)i=e[t]+"",n=jt-i.length,n&&(o+=mo(n)),o+=i;l=e[t],i=l+"",n=jt-i.length,n&&(o+=mo(n))}else if(l===0)return"0";for(;l%10===0;)l/=10;return o+l}var Wa=(function(){function e(i,a){var o,l=0,u=i.length;for(i=i.slice();u--;)o=i[u]*a+l,i[u]=o%vn|0,l=o/vn|0;return l&&i.unshift(l),i}function t(i,a,o,l){var u,f;if(o!=l)f=o>l?1:-1;else for(u=f=0;u<o;u++)if(i[u]!=a[u]){f=i[u]>a[u]?1:-1;break}return f}function n(i,a,o){for(var l=0;o--;)i[o]-=l,l=i[o]<a[o]?1:0,i[o]=l*vn+i[o]-a[o];for(;!i[0]&&i.length>1;)i.shift()}return function(i,a,o,l){var u,f,h,p,m,b,w,_,E,O,C,T,A,k,D,R,B,$,F=i.constructor,X=i.s==a.s?1:-1,H=i.d,U=a.d;if(!i.s)return new F(i);if(!a.s)throw Error(rr+"Division by zero");for(f=i.e-a.e,B=U.length,D=H.length,w=new F(X),_=w.d=[],h=0;U[h]==(H[h]||0);)++h;if(U[h]>(H[h]||0)&&--f,o==null?T=o=F.precision:l?T=o+(nn(i)-nn(a))+1:T=o,T<0)return new F(0);if(T=T/jt+2|0,h=0,B==1)for(p=0,U=U[0],T++;(h<D||p)&&T--;h++)A=p*vn+(H[h]||0),_[h]=A/U|0,p=A%U|0;else{for(p=vn/(U[0]+1)|0,p>1&&(U=e(U,p),H=e(H,p),B=U.length,D=H.length),k=B,E=H.slice(0,B),O=E.length;O<B;)E[O++]=0;$=U.slice(),$.unshift(0),R=U[0],U[1]>=vn/2&&++R;do p=0,u=t(U,E,B,O),u<0?(C=E[0],B!=O&&(C=C*vn+(E[1]||0)),p=C/R|0,p>1?(p>=vn&&(p=vn-1),m=e(U,p),b=m.length,O=E.length,u=t(m,E,b,O),u==1&&(p--,n(m,B<b?$:U,b))):(p==0&&(u=p=1),m=U.slice()),b=m.length,b<O&&m.unshift(0),n(E,m,O),u==-1&&(O=E.length,u=t(U,E,B,O),u<1&&(p++,n(E,B<O?$:U,O))),O=E.length):u===0&&(p++,E=[0]),_[h++]=p,u&&E[0]?E[O++]=H[k]||0:(E=[H[k]],O=1);while((k++<D||E[0]!==void 0)&&T--)}return _[0]||_.shift(),w.e=f,Et(w,l?o+nn(w)+1:o)}})();function uj(e,t){var n,i,a,o,l,u,f=0,h=0,p=e.constructor,m=p.precision;if(nn(e)>16)throw Error(Gw+nn(e));if(!e.s)return new p(Ci);for(Lt=!1,u=m,l=new p(.03125);e.abs().gte(.1);)e=e.times(l),h+=5;for(i=Math.log(dl(2,h))/Math.LN10*2+5|0,u+=i,n=a=o=new p(Ci),p.precision=u;;){if(a=Et(a.times(e),u),n=n.times(++f),l=o.plus(Wa(a,n,u)),Jr(l.d).slice(0,u)===Jr(o.d).slice(0,u)){for(;h--;)o=Et(o.times(o),u);return p.precision=m,t==null?(Lt=!0,Et(o,m)):o}o=l}}function nn(e){for(var t=e.e*jt,n=e.d[0];n>=10;n/=10)t++;return t}function O1(e,t,n){if(t>e.LN10.sd())throw Lt=!0,n&&(e.precision=n),Error(rr+"LN10 precision limit exceeded");return Et(new e(e.LN10),t)}function mo(e){for(var t="";e--;)t+="0";return t}function Gd(e,t){var n,i,a,o,l,u,f,h,p,m=1,b=10,w=e,_=w.d,E=w.constructor,O=E.precision;if(w.s<1)throw Error(rr+(w.s?"NaN":"-Infinity"));if(w.eq(Ci))return new E(0);if(t==null?(Lt=!1,h=O):h=t,w.eq(10))return t==null&&(Lt=!0),O1(E,h);if(h+=b,E.precision=h,n=Jr(_),i=n.charAt(0),o=nn(w),Math.abs(o)<15e14){for(;i<7&&i!=1||i==1&&n.charAt(1)>3;)w=w.times(e),n=Jr(w.d),i=n.charAt(0),m++;o=nn(w),i>1?(w=new E("0."+n),o++):w=new E(i+"."+n.slice(1))}else return f=O1(E,h+2,O).times(o+""),w=Gd(new E(i+"."+n.slice(1)),h-b).plus(f),E.precision=O,t==null?(Lt=!0,Et(w,O)):w;for(u=l=w=Wa(w.minus(Ci),w.plus(Ci),h),p=Et(w.times(w),h),a=3;;){if(l=Et(l.times(p),h),f=u.plus(Wa(l,new E(a),h)),Jr(f.d).slice(0,h)===Jr(u.d).slice(0,h))return u=u.times(2),o!==0&&(u=u.plus(O1(E,h+2,O).times(o+""))),u=Wa(u,new E(m),h),E.precision=O,t==null?(Lt=!0,Et(u,O)):u;u=f,a+=2}}function e3(e,t){var n,i,a;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(i=t.search(/e/i))>0?(n<0&&(n=i),n+=+t.slice(i+1),t=t.substring(0,i)):n<0&&(n=t.length),i=0;t.charCodeAt(i)===48;)++i;for(a=t.length;t.charCodeAt(a-1)===48;)--a;if(t=t.slice(i,a),t){if(a-=i,n=n-i-1,e.e=Du(n/jt),e.d=[],i=(n+1)%jt,n<0&&(i+=jt),i<a){for(i&&e.d.push(+t.slice(0,i)),a-=jt;i<a;)e.d.push(+t.slice(i,i+=jt));t=t.slice(i),i=jt-t.length}else i-=a;for(;i--;)t+="0";if(e.d.push(+t),Lt&&(e.e>Dg||e.e<-Dg))throw Error(Gw+n)}else e.s=0,e.e=0,e.d=[0];return e}function Et(e,t,n){var i,a,o,l,u,f,h,p,m=e.d;for(l=1,o=m[0];o>=10;o/=10)l++;if(i=t-l,i<0)i+=jt,a=t,h=m[p=0];else{if(p=Math.ceil((i+1)/jt),o=m.length,p>=o)return e;for(h=o=m[p],l=1;o>=10;o/=10)l++;i%=jt,a=i-jt+l}if(n!==void 0&&(o=dl(10,l-a-1),u=h/o%10|0,f=t<0||m[p+1]!==void 0||h%o,f=n<4?(u||f)&&(n==0||n==(e.s<0?3:2)):u>5||u==5&&(n==4||f||n==6&&(i>0?a>0?h/dl(10,l-a):0:m[p-1])%10&1||n==(e.s<0?8:7))),t<1||!m[0])return f?(o=nn(e),m.length=1,t=t-o-1,m[0]=dl(10,(jt-t%jt)%jt),e.e=Du(-t/jt)||0):(m.length=1,m[0]=e.e=e.s=0),e;if(i==0?(m.length=p,o=1,p--):(m.length=p+1,o=dl(10,jt-i),m[p]=a>0?(h/dl(10,l-a)%dl(10,a)|0)*o:0),f)for(;;)if(p==0){(m[0]+=o)==vn&&(m[0]=1,++e.e);break}else{if(m[p]+=o,m[p]!=vn)break;m[p--]=0,o=1}for(i=m.length;m[--i]===0;)m.pop();if(Lt&&(e.e>Dg||e.e<-Dg))throw Error(Gw+nn(e));return e}function fj(e,t){var n,i,a,o,l,u,f,h,p,m,b=e.constructor,w=b.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new b(e),Lt?Et(t,w):t;if(f=e.d,m=t.d,i=t.e,h=e.e,f=f.slice(),l=h-i,l){for(p=l<0,p?(n=f,l=-l,u=m.length):(n=m,i=h,u=f.length),a=Math.max(Math.ceil(w/jt),u)+2,l>a&&(l=a,n.length=1),n.reverse(),a=l;a--;)n.push(0);n.reverse()}else{for(a=f.length,u=m.length,p=a<u,p&&(u=a),a=0;a<u;a++)if(f[a]!=m[a]){p=f[a]<m[a];break}l=0}for(p&&(n=f,f=m,m=n,t.s=-t.s),u=f.length,a=m.length-u;a>0;--a)f[u++]=0;for(a=m.length;a>l;){if(f[--a]<m[a]){for(o=a;o&&f[--o]===0;)f[o]=vn-1;--f[o],f[a]+=vn}f[a]-=m[a]}for(;f[--u]===0;)f.pop();for(;f[0]===0;f.shift())--i;return f[0]?(t.d=f,t.e=i,Lt?Et(t,w):t):new b(0)}function Nl(e,t,n){var i,a=nn(e),o=Jr(e.d),l=o.length;return t?(n&&(i=n-l)>0?o=o.charAt(0)+"."+o.slice(1)+mo(i):l>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(a<0?"e":"e+")+a):a<0?(o="0."+mo(-a-1)+o,n&&(i=n-l)>0&&(o+=mo(i))):a>=l?(o+=mo(a+1-l),n&&(i=n-a-1)>0&&(o=o+"."+mo(i))):((i=a+1)<l&&(o=o.slice(0,i)+"."+o.slice(i)),n&&(i=n-l)>0&&(a+1===l&&(o+="."),o+=mo(i))),e.s<0?"-"+o:o}function t3(e,t){if(e.length>t)return e.length=t,!0}function dj(e){var t,n,i;function a(o){var l=this;if(!(l instanceof a))return new a(o);if(l.constructor=a,o instanceof a){l.s=o.s,l.e=o.e,l.d=(o=o.d)?o.slice():o;return}if(typeof o=="number"){if(o*0!==0)throw Error(Tl+o);if(o>0)l.s=1;else if(o<0)o=-o,l.s=-1;else{l.s=0,l.e=0,l.d=[0];return}if(o===~~o&&o<1e7){l.e=0,l.d=[o];return}return e3(l,o.toString())}else if(typeof o!="string")throw Error(Tl+o);if(o.charCodeAt(0)===45?(o=o.slice(1),l.s=-1):l.s=1,OY.test(o))e3(l,o);else throw Error(Tl+o)}if(a.prototype=Ae,a.ROUND_UP=0,a.ROUND_DOWN=1,a.ROUND_CEIL=2,a.ROUND_FLOOR=3,a.ROUND_HALF_UP=4,a.ROUND_HALF_DOWN=5,a.ROUND_HALF_EVEN=6,a.ROUND_HALF_CEIL=7,a.ROUND_HALF_FLOOR=8,a.clone=dj,a.config=a.set=MY,e===void 0&&(e={}),e)for(i=["precision","rounding","toExpNeg","toExpPos","LN10"],t=0;t<i.length;)e.hasOwnProperty(n=i[t++])||(e[n]=this[n]);return a.config(e),a}function MY(e){if(!e||typeof e!="object")throw Error(rr+"Object expected");var t,n,i,a=["precision",1,ju,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t<a.length;t+=3)if((i=e[n=a[t]])!==void 0)if(Du(i)===i&&i>=a[t+1]&&i<=a[t+2])this[n]=i;else throw Error(Tl+n+": "+i);if((i=e[n="LN10"])!==void 0)if(i==Math.LN10)this[n]=new this(i);else throw Error(Tl+n+": "+i);return this}var Yw=dj(CY);Ci=new Yw(1);const gt=Yw;var NY=e=>e,hj={},pj=e=>e===hj,n3=e=>function t(){return arguments.length===0||arguments.length===1&&pj(arguments.length<=0?void 0:arguments[0])?t:e(...arguments)},mj=(e,t)=>e===1?t:n3(function(){for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];var o=i.filter(l=>l!==hj).length;return o>=e?t(...i):mj(e-o,n3(function(){for(var l=arguments.length,u=new Array(l),f=0;f<l;f++)u[f]=arguments[f];var h=i.map(p=>pj(p)?u.shift():p);return t(...h,...u)}))}),hv=e=>mj(e.length,e),ax=(e,t)=>{for(var n=[],i=e;i<t;++i)n[i-e]=i;return n},jY=hv((e,t)=>Array.isArray(t)?t.map(e):Object.keys(t).map(n=>t[n]).map(e)),DY=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];if(!n.length)return NY;var a=n.reverse(),o=a[0],l=a.slice(1);return function(){return l.reduce((u,f)=>f(u),o(...arguments))}},sx=e=>Array.isArray(e)?e.reverse():e.split("").reverse().join(""),gj=e=>{var t=null,n=null;return function(){for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return t&&a.every((l,u)=>{var f;return l===((f=t)===null||f===void 0?void 0:f[u])})||(t=a,n=e(...a)),n}};function vj(e){var t;return e===0?t=1:t=Math.floor(new gt(e).abs().log(10).toNumber())+1,t}function yj(e,t,n){for(var i=new gt(e),a=0,o=[];i.lt(t)&&a<1e5;)o.push(i.toNumber()),i=i.add(n),a++;return o}hv((e,t,n)=>{var i=+e,a=+t;return i+n*(a-i)});hv((e,t,n)=>{var i=t-+e;return i=i||1/0,(n-e)/i});hv((e,t,n)=>{var i=t-+e;return i=i||1/0,Math.max(0,Math.min(1,(n-e)/i))});var bj=e=>{var[t,n]=e,[i,a]=[t,n];return t>n&&([i,a]=[n,t]),[i,a]},xj=(e,t,n)=>{if(e.lte(0))return new gt(0);var i=vj(e.toNumber()),a=new gt(10).pow(i),o=e.div(a),l=i!==1?.05:.1,u=new gt(Math.ceil(o.div(l).toNumber())).add(n).mul(l),f=u.mul(a);return t?new gt(f.toNumber()):new gt(Math.ceil(f.toNumber()))},PY=(e,t,n)=>{var i=new gt(1),a=new gt(e);if(!a.isint()&&n){var o=Math.abs(e);o<1?(i=new gt(10).pow(vj(e)-1),a=new gt(Math.floor(a.div(i).toNumber())).mul(i)):o>1&&(a=new gt(Math.floor(e)))}else e===0?a=new gt(Math.floor((t-1)/2)):n||(a=new gt(Math.floor(e)));var l=Math.floor((t-1)/2),u=DY(jY(f=>a.add(new gt(f-l).mul(i)).toNumber()),ax);return u(0,t)},wj=function(t,n,i,a){var o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0;if(!Number.isFinite((n-t)/(i-1)))return{step:new gt(0),tickMin:new gt(0),tickMax:new gt(0)};var l=xj(new gt(n).sub(t).div(i-1),a,o),u;t<=0&&n>=0?u=new gt(0):(u=new gt(t).add(n).div(2),u=u.sub(new gt(u).mod(l)));var f=Math.ceil(u.sub(t).div(l).toNumber()),h=Math.ceil(new gt(n).sub(u).div(l).toNumber()),p=f+h+1;return p>i?wj(t,n,i,a,o+1):(p<i&&(h=n>0?h+(i-p):h,f=n>0?f:f+(i-p)),{step:l,tickMin:u.sub(new gt(f).mul(l)),tickMax:u.add(new gt(h).mul(l))})};function LY(e){var[t,n]=e,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:6,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,o=Math.max(i,2),[l,u]=bj([t,n]);if(l===-1/0||u===1/0){var f=u===1/0?[l,...ax(0,i-1).map(()=>1/0)]:[...ax(0,i-1).map(()=>-1/0),u];return t>n?sx(f):f}if(l===u)return PY(l,i,a);var{step:h,tickMin:p,tickMax:m}=wj(l,u,o,a,0),b=yj(p,m.add(new gt(.1).mul(h)),h);return t>n?sx(b):b}function kY(e,t){var[n,i]=e,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,[o,l]=bj([n,i]);if(o===-1/0||l===1/0)return[n,i];if(o===l)return[o];var u=Math.max(t,2),f=xj(new gt(l).sub(o).div(u-1),a,0),h=[...yj(new gt(o),new gt(l),f),l];return a===!1&&(h=h.map(p=>Math.round(p))),n>i?sx(h):h}var RY=gj(LY),zY=gj(kY),IY=e=>e.rootProps.barCategoryGap,ch=e=>e.rootProps.stackOffset,_j=e=>e.options.chartName,Ej=e=>e.rootProps.syncId,$Y=e=>e.rootProps.syncMethod,Sj=e=>e.options.eventEmitter,Ua={allowDuplicatedCategory:!0,angleAxisId:0,reversed:!1,scale:"auto",tick:!0,type:"category"},Ai={allowDataOverflow:!1,allowDuplicatedCategory:!0,radiusAxisId:0,scale:"auto",tick:!0,tickCount:5,type:"number"},pv=(e,t)=>{if(!(!e||!t))return e!=null&&e.reversed?[t[1],t[0]]:t},BY={allowDataOverflow:!1,allowDecimals:!1,allowDuplicatedCategory:!1,dataKey:void 0,domain:void 0,id:Ua.angleAxisId,includeHidden:!1,name:void 0,reversed:Ua.reversed,scale:Ua.scale,tick:Ua.tick,tickCount:void 0,ticks:void 0,type:Ua.type,unit:void 0},VY={allowDataOverflow:Ai.allowDataOverflow,allowDecimals:!1,allowDuplicatedCategory:Ai.allowDuplicatedCategory,dataKey:void 0,domain:void 0,id:Ai.radiusAxisId,includeHidden:!1,name:void 0,reversed:!1,scale:Ai.scale,tick:Ai.tick,tickCount:Ai.tickCount,ticks:void 0,type:Ai.type,unit:void 0},HY={allowDataOverflow:!1,allowDecimals:!1,allowDuplicatedCategory:Ua.allowDuplicatedCategory,dataKey:void 0,domain:void 0,id:Ua.angleAxisId,includeHidden:!1,name:void 0,reversed:!1,scale:Ua.scale,tick:Ua.tick,tickCount:void 0,ticks:void 0,type:"number",unit:void 0},qY={allowDataOverflow:Ai.allowDataOverflow,allowDecimals:!1,allowDuplicatedCategory:Ai.allowDuplicatedCategory,dataKey:void 0,domain:void 0,id:Ai.radiusAxisId,includeHidden:!1,name:void 0,reversed:!1,scale:Ai.scale,tick:Ai.tick,tickCount:Ai.tickCount,ticks:void 0,type:"category",unit:void 0},Kw=(e,t)=>e.polarAxis.angleAxis[t]!=null?e.polarAxis.angleAxis[t]:e.layout.layoutType==="radial"?HY:BY,Ww=(e,t)=>e.polarAxis.radiusAxis[t]!=null?e.polarAxis.radiusAxis[t]:e.layout.layoutType==="radial"?qY:VY,mv=e=>e.polarOptions,Xw=ae([ls,cs,ti],dN),Tj=ae([mv,Xw],(e,t)=>{if(e!=null)return ra(e.innerRadius,t,0)}),Aj=ae([mv,Xw],(e,t)=>{if(e!=null)return ra(e.outerRadius,t,t*.8)}),UY=e=>{if(e==null)return[0,0];var{startAngle:t,endAngle:n}=e;return[t,n]},Cj=ae([mv],UY);ae([Kw,Cj],pv);var Oj=ae([Xw,Tj,Aj],(e,t,n)=>{if(!(e==null||t==null||n==null))return[t,n]});ae([Ww,Oj],pv);var FY=ae([Ot,mv,Tj,Aj,ls,cs],(e,t,n,i,a,o)=>{if(!(e!=="centric"&&e!=="radial"||t==null||n==null||i==null)){var{cx:l,cy:u,startAngle:f,endAngle:h}=t;return{cx:ra(l,a,a/2),cy:ra(u,o,o/2),innerRadius:n,outerRadius:i,startAngle:f,endAngle:h,clockWise:!1}}}),kt=(e,t)=>t,uh=(e,t,n)=>n;function Mj(e){return e?.id}var ln=e=>{var t=Ot(e);return t==="horizontal"?"xAxis":t==="vertical"?"yAxis":t==="centric"?"angleAxis":"radiusAxis"},Pu=e=>e.tooltip.settings.axisId,xn=e=>{var t=ln(e),n=Pu(e);return fh(e,t,n)};function Nj(e,t,n){var{chartData:i=[]}=t,a=n?.dataKey,o=new Map;return e.forEach(l=>{var u,f=(u=l.data)!==null&&u!==void 0?u:i;if(!(f==null||f.length===0)){var h=Mj(l);f.forEach((p,m)=>{var b=a==null?m:String(en(p,a,null)),w=en(p,l.dataKey,0),_;o.has(b)?_=o.get(b):_={},Object.assign(_,{[h]:w}),o.set(b,_)})}}),Array.from(o.values())}function Qw(e){return e.stackId!=null&&e.dataKey!=null}function i3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,i)}return n}function Pg(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?i3(Object(n),!0).forEach(function(i){GY(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i3(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function GY(e,t,n){return(t=YY(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function YY(e){var t=KY(e,"string");return typeof t=="symbol"?t:t+""}function KY(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var ox=[0,"auto"],WY={allowDataOverflow:!1,allowDecimals:!0,allowDuplicatedCategory:!0,angle:0,dataKey:void 0,domain:void 0,height:30,hide:!0,id:0,includeHidden:!1,interval:"preserveEnd",minTickGap:5,mirror:!1,name:void 0,orientation:"bottom",padding:{left:0,right:0},reversed:!1,scale:"auto",tick:!0,tickCount:5,tickFormatter:void 0,ticks:void 0,type:"category",unit:void 0},Lu=(e,t)=>{var n=e.cartesianAxis.xAxis[t];return n??WY},XY={allowDataOverflow:!1,allowDecimals:!0,allowDuplicatedCategory:!0,angle:0,dataKey:void 0,domain:ox,hide:!0,id:0,includeHidden:!1,interval:"preserveEnd",minTickGap:5,mirror:!1,name:void 0,orientation:"left",padding:{top:0,bottom:0},reversed:!1,scale:"auto",tick:!0,tickCount:5,tickFormatter:void 0,ticks:void 0,type:"number",unit:void 0,width:rv},ku=(e,t)=>{var n=e.cartesianAxis.yAxis[t];return n??XY},QY={domain:[0,"auto"],includeHidden:!1,reversed:!1,allowDataOverflow:!1,allowDuplicatedCategory:!1,dataKey:void 0,id:0,name:"",range:[64,64],scale:"auto",type:"number",unit:""},Zw=(e,t)=>{var n=e.cartesianAxis.zAxis[t];return n??QY},Qt=(e,t,n)=>{switch(t){case"xAxis":return Lu(e,n);case"yAxis":return ku(e,n);case"zAxis":return Zw(e,n);case"angleAxis":return Kw(e,n);case"radiusAxis":return Ww(e,n);default:throw new Error("Unexpected axis type: ".concat(t))}},ZY=(e,t,n)=>{switch(t){case"xAxis":return Lu(e,n);case"yAxis":return ku(e,n);default:throw new Error("Unexpected axis type: ".concat(t))}},fh=(e,t,n)=>{switch(t){case"xAxis":return Lu(e,n);case"yAxis":return ku(e,n);case"angleAxis":return Kw(e,n);case"radiusAxis":return Ww(e,n);default:throw new Error("Unexpected axis type: ".concat(t))}},jj=e=>e.graphicalItems.cartesianItems.some(t=>t.type==="bar")||e.graphicalItems.polarItems.some(t=>t.type==="radialBar");function Jw(e,t){return n=>{switch(e){case"xAxis":return"xAxisId"in n&&n.xAxisId===t;case"yAxis":return"yAxisId"in n&&n.yAxisId===t;case"zAxis":return"zAxisId"in n&&n.zAxisId===t;case"angleAxis":return"angleAxisId"in n&&n.angleAxisId===t;case"radiusAxis":return"radiusAxisId"in n&&n.radiusAxisId===t;default:return!1}}}var JY=e=>e.graphicalItems.cartesianItems,eK=ae([kt,uh],Jw),e2=(e,t,n)=>e.filter(n).filter(i=>t?.includeHidden===!0?!0:!i.hide),dh=ae([JY,Qt,eK],e2),Dj=ae([dh],e=>e.filter(t=>t.type==="area"||t.type==="bar").filter(Qw)),Pj=e=>e.filter(t=>!("stackId"in t)||t.stackId===void 0),Lj=ae([dh],Pj),t2=e=>e.map(t=>t.data).filter(Boolean).flat(1),tK=ae([dh],t2),n2=(e,t)=>{var{chartData:n=[],dataStartIndex:i,dataEndIndex:a}=t;return e.length>0?e:n.slice(i,a+1)},i2=ae([tK,oj],n2),r2=(e,t,n)=>t?.dataKey!=null?e.map(i=>({value:en(i,t.dataKey)})):n.length>0?n.map(i=>i.dataKey).flatMap(i=>e.map(a=>({value:en(a,i)}))):e.map(i=>({value:i})),gv=ae([i2,Qt,dh],r2);function kj(e,t){switch(e){case"xAxis":return t.direction==="x";case"yAxis":return t.direction==="y";default:return!1}}function $l(e){return e.filter(t=>Id(t)||t instanceof Date).map(Number).filter(t=>Cr(t)===!1)}function nK(e,t,n){return!n||typeof t!="number"||Cr(t)?[]:n.length?$l(n.flatMap(i=>{var a=en(e,i.dataKey),o,l;if(Array.isArray(a)?[o,l]=a:o=l=a,!(!Mr(o)||!Mr(l)))return[t-o,t+l]})):[]}var iK=ae([Dj,oj,xn],Nj),Rj=(e,t,n)=>{var i={},a=t.reduce((o,l)=>(l.stackId==null||(o[l.stackId]==null&&(o[l.stackId]=[]),o[l.stackId].push(l)),o),i);return Object.fromEntries(Object.entries(a).map(o=>{var[l,u]=o,f=u.map(Mj);return[l,{stackedData:jq(e,f,n),graphicalItems:u}]}))},rK=ae([iK,Dj,ch],Rj),zj=(e,t,n)=>{var{dataStartIndex:i,dataEndIndex:a}=t;if(n!=="zAxis"){var o=Lq(e,i,a);if(!(o!=null&&o[0]===0&&o[1]===0))return o}},aK=ae([rK,Co,kt],zj),Ij=(e,t,n,i,a)=>n.length>0?e.flatMap(o=>n.flatMap(l=>{var u,f,h=(u=i[l.id])===null||u===void 0?void 0:u.filter(m=>kj(a,m)),p=en(o,(f=t.dataKey)!==null&&f!==void 0?f:l.dataKey);return{value:p,errorDomain:nK(o,p,h)}})).filter(Boolean):t?.dataKey!=null?e.map(o=>({value:en(o,t.dataKey),errorDomain:[]})):e.map(o=>({value:o,errorDomain:[]})),vv=e=>e.errorBars,$j=(e,t,n)=>e.flatMap(i=>t[i.id]).filter(Boolean).filter(i=>kj(n,i));ae([Lj,vv,kt],$j);var sK=ae([i2,Qt,Lj,vv,kt],Ij);function oK(e){var{value:t}=e;if(Id(t)||t instanceof Date)return t}var r3=e=>{var t=e.flatMap(i=>[i.value,i.errorDomain]).flat(1),n=$l(t);if(n.length!==0)return[Math.min(...n),Math.max(...n)]},lK=(e,t,n)=>{var i=e.map(oK).filter(a=>a!=null);return n&&(t.dataKey==null||t.allowDuplicatedCategory&&h5(i))?AN(0,e.length):t.allowDuplicatedCategory?i:Array.from(new Set(i))},a2=e=>{var t;if(e==null||!("domain"in e))return ox;if(e.domain!=null)return e.domain;if(e.ticks!=null){if(e.type==="number"){var n=$l(e.ticks);return[Math.min(...n),Math.max(...n)]}if(e.type==="category")return e.ticks.map(String)}return(t=e?.domain)!==null&&t!==void 0?t:ox},Lg=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];var a=n.filter(Boolean);if(a.length!==0){var o=a.flat(),l=Math.min(...o),u=Math.max(...o);return[l,u]}},Bj=e=>e.referenceElements.dots,Ru=(e,t,n)=>e.filter(i=>i.ifOverflow==="extendDomain").filter(i=>t==="xAxis"?i.xAxisId===n:i.yAxisId===n),cK=ae([Bj,kt,uh],Ru),Vj=e=>e.referenceElements.areas,uK=ae([Vj,kt,uh],Ru),Hj=e=>e.referenceElements.lines,fK=ae([Hj,kt,uh],Ru),qj=(e,t)=>{var n=$l(e.map(i=>t==="xAxis"?i.x:i.y));if(n.length!==0)return[Math.min(...n),Math.max(...n)]},dK=ae(cK,kt,qj),Uj=(e,t)=>{var n=$l(e.flatMap(i=>[t==="xAxis"?i.x1:i.y1,t==="xAxis"?i.x2:i.y2]));if(n.length!==0)return[Math.min(...n),Math.max(...n)]},hK=ae([uK,kt],Uj),Fj=(e,t)=>{var n=$l(e.map(i=>t==="xAxis"?i.x:i.y));if(n.length!==0)return[Math.min(...n),Math.max(...n)]},pK=ae(fK,kt,Fj),mK=ae(dK,pK,hK,(e,t,n)=>Lg(e,n,t)),Gj=ae([Qt],a2),s2=(e,t,n,i,a,o,l)=>{var u=TY(t,e.allowDataOverflow);if(u!=null)return u;var f=o==="vertical"&&l==="xAxis"||o==="horizontal"&&l==="yAxis",h=f?Lg(n,a,r3(i)):Lg(a,r3(i));return AY(t,h,e.allowDataOverflow)},gK=ae([Qt,Gj,aK,sK,mK,Ot,kt],s2),vK=[0,1],o2=(e,t,n,i,a,o,l)=>{if(!((e==null||n==null||n.length===0)&&l===void 0)){var{dataKey:u,type:f}=e,h=kl(t,o);return h&&u==null?AN(0,n.length):f==="category"?lK(i,e,h):a==="expand"?vK:l}},l2=ae([Qt,Ot,i2,gv,ch,kt,gK],o2),Yj=(e,t,n,i,a)=>{if(e!=null){var{scale:o,type:l}=e;if(o==="auto")return t==="radial"&&a==="radiusAxis"?"band":t==="radial"&&a==="angleAxis"?"linear":l==="category"&&i&&(i.indexOf("LineChart")>=0||i.indexOf("AreaChart")>=0||i.indexOf("ComposedChart")>=0&&!n)?"point":l==="category"?"band":"linear";if(typeof o=="string"){var u="scale".concat(nh(o));return u in xd?u:"point"}}},zu=ae([Qt,Ot,jj,_j,kt],Yj);function yK(e){if(e!=null){if(e in xd)return xd[e]();var t="scale".concat(nh(e));if(t in xd)return xd[t]()}}function c2(e,t,n,i){if(!(n==null||i==null)){if(typeof e.scale=="function")return e.scale.copy().domain(n).range(i);var a=yK(t);if(a!=null){var o=a.domain(n).range(i);return Cq(o),o}}}var u2=(e,t,n)=>{var i=a2(t);if(!(n!=="auto"&&n!=="linear")){if(t!=null&&t.tickCount&&Array.isArray(i)&&(i[0]==="auto"||i[1]==="auto")&&gu(e))return RY(e,t.tickCount,t.allowDecimals);if(t!=null&&t.tickCount&&t.type==="number"&&gu(e))return zY(e,t.tickCount,t.allowDecimals)}},f2=ae([l2,fh,zu],u2),d2=(e,t,n,i)=>{if(i!=="angleAxis"&&e?.type==="number"&&gu(t)&&Array.isArray(n)&&n.length>0){var a=t[0],o=n[0],l=t[1],u=n[n.length-1];return[Math.min(a,o),Math.max(l,u)]}return t},bK=ae([Qt,l2,f2,kt],d2),xK=ae(gv,Qt,(e,t)=>{if(!(!t||t.type!=="number")){var n=1/0,i=Array.from($l(e.map(u=>u.value))).sort((u,f)=>u-f);if(i.length<2)return 1/0;var a=i[i.length-1]-i[0];if(a===0)return 1/0;for(var o=0;o<i.length-1;o++){var l=i[o+1]-i[o];n=Math.min(n,l)}return n/a}}),Kj=ae(xK,Ot,IY,ti,(e,t,n,i)=>i,(e,t,n,i,a)=>{if(!Mr(e))return 0;var o=t==="vertical"?i.height:i.width;if(a==="gap")return e*o/2;if(a==="no-gap"){var l=ra(n,e*o),u=e*o/2;return u-l-(u-l)/o*l}return 0}),wK=(e,t)=>{var n=Lu(e,t);return n==null||typeof n.padding!="string"?0:Kj(e,"xAxis",t,n.padding)},_K=(e,t)=>{var n=ku(e,t);return n==null||typeof n.padding!="string"?0:Kj(e,"yAxis",t,n.padding)},EK=ae(Lu,wK,(e,t)=>{var n,i;if(e==null)return{left:0,right:0};var{padding:a}=e;return typeof a=="string"?{left:t,right:t}:{left:((n=a.left)!==null&&n!==void 0?n:0)+t,right:((i=a.right)!==null&&i!==void 0?i:0)+t}}),SK=ae(ku,_K,(e,t)=>{var n,i;if(e==null)return{top:0,bottom:0};var{padding:a}=e;return typeof a=="string"?{top:t,bottom:t}:{top:((n=a.top)!==null&&n!==void 0?n:0)+t,bottom:((i=a.bottom)!==null&&i!==void 0?i:0)+t}}),TK=ae([ti,EK,sv,av,(e,t,n)=>n],(e,t,n,i,a)=>{var{padding:o}=i;return a?[o.left,n.width-o.right]:[e.left+t.left,e.left+e.width-t.right]}),AK=ae([ti,Ot,SK,sv,av,(e,t,n)=>n],(e,t,n,i,a,o)=>{var{padding:l}=a;return o?[i.height-l.bottom,l.top]:t==="horizontal"?[e.top+e.height-n.bottom,e.top+n.top]:[e.top+n.top,e.top+e.height-n.bottom]}),hh=(e,t,n,i)=>{var a;switch(t){case"xAxis":return TK(e,n,i);case"yAxis":return AK(e,n,i);case"zAxis":return(a=Zw(e,n))===null||a===void 0?void 0:a.range;case"angleAxis":return Cj(e);case"radiusAxis":return Oj(e,n);default:return}},Wj=ae([Qt,hh],pv),yv=ae([Qt,zu,bK,Wj],c2);ae([dh,vv,kt],$j);function Xj(e,t){return e.id<t.id?-1:e.id>t.id?1:0}var bv=(e,t)=>t,xv=(e,t,n)=>n,CK=ae(yw,bv,xv,(e,t,n)=>e.filter(i=>i.orientation===t).filter(i=>i.mirror===n).sort(Xj)),OK=ae(bw,bv,xv,(e,t,n)=>e.filter(i=>i.orientation===t).filter(i=>i.mirror===n).sort(Xj)),Qj=(e,t)=>({width:e.width,height:t.height}),MK=(e,t)=>{var n=typeof t.width=="number"?t.width:rv;return{width:n,height:e.height}};ae(ti,Lu,Qj);var NK=(e,t,n)=>{switch(t){case"top":return e.top;case"bottom":return n-e.bottom;default:return 0}},jK=(e,t,n)=>{switch(t){case"left":return e.left;case"right":return n-e.right;default:return 0}};ae(cs,ti,CK,bv,xv,(e,t,n,i,a)=>{var o={},l;return n.forEach(u=>{var f=Qj(t,u);l==null&&(l=NK(t,i,e));var h=i==="top"&&!a||i==="bottom"&&a;o[u.id]=l-Number(h)*f.height,l+=(h?-1:1)*f.height}),o});ae(ls,ti,OK,bv,xv,(e,t,n,i,a)=>{var o={},l;return n.forEach(u=>{var f=MK(t,u);l==null&&(l=jK(t,i,e));var h=i==="left"&&!a||i==="right"&&a;o[u.id]=l-Number(h)*f.width,l+=(h?-1:1)*f.width}),o});ae(ti,ku,(e,t)=>{var n=typeof t.width=="number"?t.width:rv;return{width:n,height:e.height}});var Zj=(e,t,n,i)=>{if(n!=null){var{allowDuplicatedCategory:a,type:o,dataKey:l}=n,u=kl(e,i),f=t.map(h=>h.value);if(l&&u&&o==="category"&&a&&h5(f))return f}},h2=ae([Ot,gv,Qt,kt],Zj),Jj=(e,t,n,i)=>{if(!(n==null||n.dataKey==null)){var{type:a,scale:o}=n,l=kl(e,i);if(l&&(a==="number"||o!=="auto"))return t.map(u=>u.value)}},p2=ae([Ot,gv,fh,kt],Jj);ae([Ot,ZY,zu,yv,h2,p2,hh,f2,kt],(e,t,n,i,a,o,l,u,f)=>{if(t==null)return null;var h=kl(e,f);return{angle:t.angle,interval:t.interval,minTickGap:t.minTickGap,orientation:t.orientation,tick:t.tick,tickCount:t.tickCount,tickFormatter:t.tickFormatter,ticks:t.ticks,type:t.type,unit:t.unit,axisType:f,categoricalDomain:o,duplicateDomain:a,isCategorical:h,niceTicks:u,range:l,realScaleType:n,scale:i}});var DK=(e,t,n,i,a,o,l,u,f)=>{if(!(t==null||i==null)){var h=kl(e,f),{type:p,ticks:m,tickCount:b}=t,w=n==="scaleBand"&&typeof i.bandwidth=="function"?i.bandwidth()/2:2,_=p==="category"&&i.bandwidth?i.bandwidth()/w:0;_=f==="angleAxis"&&o!=null&&o.length>=2?Oi(o[0]-o[1])*2*_:_;var E=m||a;if(E){var O=E.map((C,T)=>{var A=l?l.indexOf(C):C;return{index:T,coordinate:i(A)+_,value:C,offset:_}});return O.filter(C=>!Cr(C.coordinate))}return h&&u?u.map((C,T)=>({coordinate:i(C)+_,value:C,index:T,offset:_})):i.ticks?i.ticks(b).map(C=>({coordinate:i(C)+_,value:C,offset:_})):i.domain().map((C,T)=>({coordinate:i(C)+_,value:l?l[C]:C,index:T,offset:_}))}};ae([Ot,fh,zu,yv,f2,hh,h2,p2,kt],DK);var PK=(e,t,n,i,a,o,l)=>{if(!(t==null||n==null||i==null||i[0]===i[1])){var u=kl(e,l),{tickCount:f}=t,h=0;return h=l==="angleAxis"&&i?.length>=2?Oi(i[0]-i[1])*2*h:h,u&&o?o.map((p,m)=>({coordinate:n(p)+h,value:p,index:m,offset:h})):n.ticks?n.ticks(f).map(p=>({coordinate:n(p)+h,value:p,offset:h})):n.domain().map((p,m)=>({coordinate:n(p)+h,value:a?a[p]:p,index:m,offset:h}))}};ae([Ot,fh,yv,hh,h2,p2,kt],PK);ae(Qt,yv,(e,t)=>{if(!(e==null||t==null))return Pg(Pg({},e),{},{scale:t})});var LK=ae([Qt,zu,l2,Wj],c2);ae((e,t,n)=>Zw(e,n),LK,(e,t)=>{if(!(e==null||t==null))return Pg(Pg({},e),{},{scale:t})});var kK=ae([Ot,yw,bw],(e,t,n)=>{switch(e){case"horizontal":return t.some(i=>i.reversed)?"right-to-left":"left-to-right";case"vertical":return n.some(i=>i.reversed)?"bottom-to-top":"top-to-bottom";case"centric":case"radial":return"left-to-right";default:return}}),e6=e=>e.options.defaultTooltipEventType,t6=e=>e.options.validateTooltipEventTypes;function n6(e,t,n){if(e==null)return t;var i=e?"axis":"item";return n==null?t:n.includes(i)?i:t}function i6(e,t){var n=e6(e),i=t6(e);return n6(t,n,i)}var r6=(e,t)=>{var n,i=Number(t);if(!(Cr(i)||t==null))return i>=0?e==null||(n=e[i])===null||n===void 0?void 0:n.value:void 0},RK=e=>e.tooltip.settings,go={active:!1,index:null,dataKey:void 0,coordinate:void 0},zK={itemInteraction:{click:go,hover:go},axisInteraction:{click:go,hover:go},keyboardInteraction:go,syncInteraction:{active:!1,index:null,dataKey:void 0,label:void 0,coordinate:void 0},tooltipItemPayloads:[],settings:{shared:void 0,trigger:"hover",axisId:0,active:!1,defaultIndex:void 0}},a6=ki({name:"tooltip",initialState:zK,reducers:{addTooltipEntrySettings(e,t){e.tooltipItemPayloads.push(t.payload)},removeTooltipEntrySettings(e,t){var n=Ka(e).tooltipItemPayloads.indexOf(t.payload);n>-1&&e.tooltipItemPayloads.splice(n,1)},setTooltipSettingsState(e,t){e.settings=t.payload},setActiveMouseOverItemIndex(e,t){e.syncInteraction.active=!1,e.keyboardInteraction.active=!1,e.itemInteraction.hover.active=!0,e.itemInteraction.hover.index=t.payload.activeIndex,e.itemInteraction.hover.dataKey=t.payload.activeDataKey,e.itemInteraction.hover.coordinate=t.payload.activeCoordinate},mouseLeaveChart(e){e.itemInteraction.hover.active=!1,e.axisInteraction.hover.active=!1},mouseLeaveItem(e){e.itemInteraction.hover.active=!1},setActiveClickItemIndex(e,t){e.syncInteraction.active=!1,e.itemInteraction.click.active=!0,e.keyboardInteraction.active=!1,e.itemInteraction.click.index=t.payload.activeIndex,e.itemInteraction.click.dataKey=t.payload.activeDataKey,e.itemInteraction.click.coordinate=t.payload.activeCoordinate},setMouseOverAxisIndex(e,t){e.syncInteraction.active=!1,e.axisInteraction.hover.active=!0,e.keyboardInteraction.active=!1,e.axisInteraction.hover.index=t.payload.activeIndex,e.axisInteraction.hover.dataKey=t.payload.activeDataKey,e.axisInteraction.hover.coordinate=t.payload.activeCoordinate},setMouseClickAxisIndex(e,t){e.syncInteraction.active=!1,e.keyboardInteraction.active=!1,e.axisInteraction.click.active=!0,e.axisInteraction.click.index=t.payload.activeIndex,e.axisInteraction.click.dataKey=t.payload.activeDataKey,e.axisInteraction.click.coordinate=t.payload.activeCoordinate},setSyncInteraction(e,t){e.syncInteraction=t.payload},setKeyboardInteraction(e,t){e.keyboardInteraction.active=t.payload.active,e.keyboardInteraction.index=t.payload.activeIndex,e.keyboardInteraction.coordinate=t.payload.activeCoordinate,e.keyboardInteraction.dataKey=t.payload.activeDataKey}}}),{addTooltipEntrySettings:IK,removeTooltipEntrySettings:$K,setTooltipSettingsState:Tre,setActiveMouseOverItemIndex:s6,mouseLeaveItem:BK,mouseLeaveChart:o6,setActiveClickItemIndex:VK,setMouseOverAxisIndex:l6,setMouseClickAxisIndex:HK,setSyncInteraction:a3,setKeyboardInteraction:lx}=a6.actions,qK=a6.reducer;function s3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,i)}return n}function xm(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?s3(Object(n),!0).forEach(function(i){UK(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s3(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function UK(e,t,n){return(t=FK(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function FK(e){var t=GK(e,"string");return typeof t=="symbol"?t:t+""}function GK(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function YK(e,t,n){return t==="axis"?n==="click"?e.axisInteraction.click:e.axisInteraction.hover:n==="click"?e.itemInteraction.click:e.itemInteraction.hover}function KK(e){return e.index!=null}var c6=(e,t,n,i)=>{if(t==null)return go;var a=YK(e,t,n);if(a==null)return go;if(a.active)return a;if(e.keyboardInteraction.active)return e.keyboardInteraction;if(e.syncInteraction.active&&e.syncInteraction.index!=null)return e.syncInteraction;var o=e.settings.active===!0;if(KK(a)){if(o)return xm(xm({},a),{},{active:!0})}else if(i!=null)return{active:!0,coordinate:void 0,dataKey:void 0,index:i};return xm(xm({},go),{},{coordinate:a.coordinate})},m2=(e,t)=>{var n=e?.index;if(n==null)return null;var i=Number(n);if(!Mr(i))return n;var a=0,o=1/0;return t.length>0&&(o=t.length-1),String(Math.max(a,Math.min(i,o)))},u6=(e,t,n,i,a,o,l,u)=>{if(!(o==null||u==null)){var f=l[0],h=f==null?void 0:u(f.positions,o);if(h!=null)return h;var p=a?.[Number(o)];if(p)switch(n){case"horizontal":return{x:p.coordinate,y:(i.top+t)/2};default:return{x:(i.left+e)/2,y:p.coordinate}}}},f6=(e,t,n,i)=>{if(t==="axis")return e.tooltipItemPayloads;if(e.tooltipItemPayloads.length===0)return[];var a;return n==="hover"?a=e.itemInteraction.hover.dataKey:a=e.itemInteraction.click.dataKey,a==null&&i!=null?[e.tooltipItemPayloads[0]]:e.tooltipItemPayloads.filter(o=>{var l;return((l=o.settings)===null||l===void 0?void 0:l.dataKey)===a})},ph=e=>e.options.tooltipPayloadSearcher,mh=e=>e.tooltip;function o3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,i)}return n}function l3(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?o3(Object(n),!0).forEach(function(i){WK(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o3(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function WK(e,t,n){return(t=XK(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function XK(e){var t=QK(e,"string");return typeof t=="symbol"?t:t+""}function QK(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function ZK(e,t){return e??t}var d6=(e,t,n,i,a,o,l)=>{if(!(t==null||o==null)){var{chartData:u,computedData:f,dataStartIndex:h,dataEndIndex:p}=n,m=[];return e.reduce((b,w)=>{var _,{dataDefinedOnItem:E,settings:O}=w,C=ZK(E,u),T=Array.isArray(C)?hN(C,h,p):C,A=(_=O?.dataKey)!==null&&_!==void 0?_:i?.dataKey,k=O?.nameKey,D;if(i!=null&&i.dataKey&&Array.isArray(T)&&!Array.isArray(T[0])&&l==="axis"?D=DB(T,i.dataKey,a):D=o(T,t,f,k),Array.isArray(D))D.forEach(B=>{var $=l3(l3({},O),{},{name:B.name,unit:B.unit,color:void 0,fill:void 0});b.push(KA({tooltipEntrySettings:$,dataKey:B.dataKey,payload:B.payload,value:en(B.payload,B.dataKey),name:B.name}))});else{var R;b.push(KA({tooltipEntrySettings:O,dataKey:A,payload:D,value:en(D,A),name:(R=en(D,k))!==null&&R!==void 0?R:O?.name}))}return b},m)}},g2=ae([xn,Ot,jj,_j,ln],Yj),JK=ae([e=>e.graphicalItems.cartesianItems,e=>e.graphicalItems.polarItems],(e,t)=>[...e,...t]),eW=ae([ln,Pu],Jw),gh=ae([JK,xn,eW],e2),tW=ae([gh],e=>e.filter(Qw)),nW=ae([gh],t2),Iu=ae([nW,Co],n2),iW=ae([tW,Co,xn],Nj),v2=ae([Iu,xn,gh],r2),rW=ae([xn],a2),aW=ae([gh],e=>e.filter(Qw)),sW=ae([iW,aW,ch],Rj),oW=ae([sW,Co,ln],zj),lW=ae([gh],Pj),cW=ae([Iu,xn,lW,vv,ln],Ij),uW=ae([Bj,ln,Pu],Ru),fW=ae([uW,ln],qj),dW=ae([Vj,ln,Pu],Ru),hW=ae([dW,ln],Uj),pW=ae([Hj,ln,Pu],Ru),mW=ae([pW,ln],Fj),gW=ae([fW,mW,hW],Lg),vW=ae([xn,rW,oW,cW,gW,Ot,ln],s2),h6=ae([xn,Ot,Iu,v2,ch,ln,vW],o2),yW=ae([h6,xn,g2],u2),bW=ae([xn,h6,yW,ln],d2),p6=e=>{var t=ln(e),n=Pu(e),i=!1;return hh(e,t,n,i)},m6=ae([xn,p6],pv),xW=ae([xn,g2,bW,m6],c2),wW=ae([Ot,v2,xn,ln],Zj),_W=ae([Ot,v2,xn,ln],Jj),EW=(e,t,n,i,a,o,l,u)=>{if(t){var{type:f}=t,h=kl(e,u);if(i){var p=n==="scaleBand"&&i.bandwidth?i.bandwidth()/2:2,m=f==="category"&&i.bandwidth?i.bandwidth()/p:0;return m=u==="angleAxis"&&a!=null&&a?.length>=2?Oi(a[0]-a[1])*2*m:m,h&&l?l.map((b,w)=>({coordinate:i(b)+m,value:b,index:w,offset:m})):i.domain().map((b,w)=>({coordinate:i(b)+m,value:o?o[b]:b,index:w,offset:m}))}}},Oo=ae([Ot,xn,g2,xW,p6,wW,_W,ln],EW),y2=ae([e6,t6,RK],(e,t,n)=>n6(n.shared,e,t)),g6=e=>e.tooltip.settings.trigger,b2=e=>e.tooltip.settings.defaultIndex,wv=ae([mh,y2,g6,b2],c6),Yd=ae([wv,Iu],m2),v6=ae([Oo,Yd],r6),SW=ae([wv],e=>{if(e)return e.dataKey}),y6=ae([mh,y2,g6,b2],f6),TW=ae([ls,cs,Ot,ti,Oo,b2,y6,ph],u6),AW=ae([wv,TW],(e,t)=>e!=null&&e.coordinate?e.coordinate:t),CW=ae([wv],e=>e.active),OW=ae([y6,Yd,Co,xn,v6,ph,y2],d6);ae([OW],e=>{if(e!=null){var t=e.map(n=>n.payload).filter(n=>n!=null);return Array.from(new Set(t))}});var x2=(e,t)=>t,b6=(e,t,n)=>n,w2=(e,t,n,i)=>i,MW=ae(Oo,e=>B5(e,t=>t.coordinate)),_2=ae([mh,x2,b6,w2],c6),x6=ae([_2,Iu],m2),w6=ae([mh,x2,b6,w2],f6),kg=ae([ls,cs,Ot,ti,Oo,w2,w6,ph],u6);ae([_2,kg],(e,t)=>{var n;return(n=e.coordinate)!==null&&n!==void 0?n:t});var NW=ae(Oo,x6,r6);ae([w6,x6,Co,xn,NW,ph,x2],d6);ae([_2],e=>({isActive:e.active,activeIndex:e.index}));var jW=(e,t,n,i,a,o,l,u)=>{if(!(!e||!t||!i||!a||!o)){var f=kq(e.chartX,e.chartY,t,n,u);if(f){var h=zq(f,t),p=Tq(h,l,o,i,a),m=Rq(t,o,p,f);return{activeIndex:String(p),activeCoordinate:m}}}},DW=j.createContext(null),M1={exports:{}},c3;function PW(){return c3||(c3=1,(function(e){var t=Object.prototype.hasOwnProperty,n="~";function i(){}Object.create&&(i.prototype=Object.create(null),new i().__proto__||(n=!1));function a(f,h,p){this.fn=f,this.context=h,this.once=p||!1}function o(f,h,p,m,b){if(typeof p!="function")throw new TypeError("The listener must be a function");var w=new a(p,m||f,b),_=n?n+h:h;return f._events[_]?f._events[_].fn?f._events[_]=[f._events[_],w]:f._events[_].push(w):(f._events[_]=w,f._eventsCount++),f}function l(f,h){--f._eventsCount===0?f._events=new i:delete f._events[h]}function u(){this._events=new i,this._eventsCount=0}u.prototype.eventNames=function(){var h=[],p,m;if(this._eventsCount===0)return h;for(m in p=this._events)t.call(p,m)&&h.push(n?m.slice(1):m);return Object.getOwnPropertySymbols?h.concat(Object.getOwnPropertySymbols(p)):h},u.prototype.listeners=function(h){var p=n?n+h:h,m=this._events[p];if(!m)return[];if(m.fn)return[m.fn];for(var b=0,w=m.length,_=new Array(w);b<w;b++)_[b]=m[b].fn;return _},u.prototype.listenerCount=function(h){var p=n?n+h:h,m=this._events[p];return m?m.fn?1:m.length:0},u.prototype.emit=function(h,p,m,b,w,_){var E=n?n+h:h;if(!this._events[E])return!1;var O=this._events[E],C=arguments.length,T,A;if(O.fn){switch(O.once&&this.removeListener(h,O.fn,void 0,!0),C){case 1:return O.fn.call(O.context),!0;case 2:return O.fn.call(O.context,p),!0;case 3:return O.fn.call(O.context,p,m),!0;case 4:return O.fn.call(O.context,p,m,b),!0;case 5:return O.fn.call(O.context,p,m,b,w),!0;case 6:return O.fn.call(O.context,p,m,b,w,_),!0}for(A=1,T=new Array(C-1);A<C;A++)T[A-1]=arguments[A];O.fn.apply(O.context,T)}else{var k=O.length,D;for(A=0;A<k;A++)switch(O[A].once&&this.removeListener(h,O[A].fn,void 0,!0),C){case 1:O[A].fn.call(O[A].context);break;case 2:O[A].fn.call(O[A].context,p);break;case 3:O[A].fn.call(O[A].context,p,m);break;case 4:O[A].fn.call(O[A].context,p,m,b);break;default:if(!T)for(D=1,T=new Array(C-1);D<C;D++)T[D-1]=arguments[D];O[A].fn.apply(O[A].context,T)}}return!0},u.prototype.on=function(h,p,m){return o(this,h,p,m,!1)},u.prototype.once=function(h,p,m){return o(this,h,p,m,!0)},u.prototype.removeListener=function(h,p,m,b){var w=n?n+h:h;if(!this._events[w])return this;if(!p)return l(this,w),this;var _=this._events[w];if(_.fn)_.fn===p&&(!b||_.once)&&(!m||_.context===m)&&l(this,w);else{for(var E=0,O=[],C=_.length;E<C;E++)(_[E].fn!==p||b&&!_[E].once||m&&_[E].context!==m)&&O.push(_[E]);O.length?this._events[w]=O.length===1?O[0]:O:l(this,w)}return this},u.prototype.removeAllListeners=function(h){var p;return h?(p=n?n+h:h,this._events[p]&&l(this,p)):(this._events=new i,this._eventsCount=0),this},u.prototype.off=u.prototype.removeListener,u.prototype.addListener=u.prototype.on,u.prefixed=n,u.EventEmitter=u,e.exports=u})(M1)),M1.exports}var LW=PW();const kW=os(LW);var Rg=new kW,u3="recharts.syncEvent.tooltip",f3="recharts.syncEvent.brush";function RW(e,t){if(t){var n=Number.parseInt(t,10);if(!Cr(n))return e?.[n]}}var zW={chartName:"",tooltipPayloadSearcher:void 0,eventEmitter:void 0,defaultTooltipEventType:"axis"},_6=ki({name:"options",initialState:zW,reducers:{createEventEmitter:e=>{e.eventEmitter==null&&(e.eventEmitter=Symbol("rechartsEventEmitter"))}}}),IW=_6.reducer,{createEventEmitter:$W}=_6.actions,BW={chartData:void 0,computedData:void 0,dataStartIndex:0,dataEndIndex:0},E6=ki({name:"chartData",initialState:BW,reducers:{setChartData(e,t){if(e.chartData=t.payload,t.payload==null){e.dataStartIndex=0,e.dataEndIndex=0;return}t.payload.length>0&&e.dataEndIndex!==t.payload.length-1&&(e.dataEndIndex=t.payload.length-1)},setComputedData(e,t){e.computedData=t.payload},setDataStartEndIndexes(e,t){var{startIndex:n,endIndex:i}=t.payload;n!=null&&(e.dataStartIndex=n),i!=null&&(e.dataEndIndex=i)}}}),{setChartData:d3,setDataStartEndIndexes:VW,setComputedData:Are}=E6.actions,HW=E6.reducer,S6=()=>{};function qW(){var e=Xt(Ej),t=Xt(Sj),n=ei(),i=Xt($Y),a=Xt(Oo),o=Kq(),l=Fq(),u=Xt(f=>f.rootProps.className);j.useEffect(()=>{if(e==null)return S6;var f=(h,p,m)=>{if(t!==m&&e===h){if(i==="index"){n(p);return}if(a!=null){var b;if(typeof i=="function"){var w={activeTooltipIndex:p.payload.index==null?void 0:Number(p.payload.index),isTooltipActive:p.payload.active,activeIndex:p.payload.index==null?void 0:Number(p.payload.index),activeLabel:p.payload.label,activeDataKey:p.payload.dataKey,activeCoordinate:p.payload.coordinate},_=i(a,w);b=a[_]}else i==="value"&&(b=a.find(R=>String(R.value)===p.payload.label));var{coordinate:E}=p.payload;if(b==null||p.payload.active===!1||E==null||l==null){n(a3({active:!1,coordinate:void 0,dataKey:void 0,index:null,label:void 0}));return}var{x:O,y:C}=E,T=Math.min(O,l.x+l.width),A=Math.min(C,l.y+l.height),k={x:o==="horizontal"?b.coordinate:T,y:o==="horizontal"?A:b.coordinate},D=a3({active:p.payload.active,coordinate:k,dataKey:p.payload.dataKey,index:String(b.index),label:p.payload.label});n(D)}}};return Rg.on(u3,f),()=>{Rg.off(u3,f)}},[u,n,t,e,i,a,o,l])}function UW(){var e=Xt(Ej),t=Xt(Sj),n=ei();j.useEffect(()=>{if(e==null)return S6;var i=(a,o,l)=>{t!==l&&e===a&&n(VW(o))};return Rg.on(f3,i),()=>{Rg.off(f3,i)}},[n,t,e])}function FW(){var e=ei();j.useEffect(()=>{e($W())},[e]),qW(),UW()}var N1={},j1={},D1={},h3;function GW(){return h3||(h3=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n,i,{signal:a,edges:o}={}){let l,u=null;const f=o!=null&&o.includes("leading"),h=o==null||o.includes("trailing"),p=()=>{u!==null&&(n.apply(l,u),l=void 0,u=null)},m=()=>{h&&p(),E()};let b=null;const w=()=>{b!=null&&clearTimeout(b),b=setTimeout(()=>{b=null,m()},i)},_=()=>{b!==null&&(clearTimeout(b),b=null)},E=()=>{_(),l=void 0,u=null},O=()=>{p()},C=function(...T){if(a?.aborted)return;l=this,u=T;const A=b==null;w(),f&&A&&p()};return C.schedule=w,C.cancel=E,C.flush=O,a?.addEventListener("abort",E,{once:!0}),C}e.debounce=t})(D1)),D1}var p3;function YW(){return p3||(p3=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=GW();function n(i,a=0,o={}){typeof o!="object"&&(o={});const{leading:l=!1,trailing:u=!0,maxWait:f}=o,h=Array(2);l&&(h[0]="leading"),u&&(h[1]="trailing");let p,m=null;const b=t.debounce(function(...E){p=i.apply(this,E),m=null},a,{edges:h}),w=function(...E){return f!=null&&(m===null&&(m=Date.now()),Date.now()-m>=f)?(p=i.apply(this,E),m=Date.now(),b.cancel(),b.schedule(),p):(b.apply(this,E),p)},_=()=>(b.flush(),p);return w.cancel=b.cancel,w.flush=_,w}e.debounce=n})(j1)),j1}var m3;function KW(){return m3||(m3=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=YW();function n(i,a=0,o={}){const{leading:l=!0,trailing:u=!0}=o;return t.debounce(i,a,{leading:l,maxWait:a,trailing:u})}e.throttle=n})(N1)),N1}var P1,g3;function WW(){return g3||(g3=1,P1=KW().throttle),P1}var XW=WW();const QW=os(XW);var L1=function(t,n){for(var i=arguments.length,a=new Array(i>2?i-2:0),o=2;o<i;o++)a[o-2]=arguments[o]};function v3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,i)}return n}function k1(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?v3(Object(n),!0).forEach(function(i){ZW(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v3(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function ZW(e,t,n){return(t=JW(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function JW(e){var t=eX(e,"string");return typeof t=="symbol"?t:t+""}function eX(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var tX=j.forwardRef((e,t)=>{var{aspect:n,initialDimension:i={width:-1,height:-1},width:a="100%",height:o="100%",minWidth:l=0,minHeight:u,maxHeight:f,children:h,debounce:p=0,id:m,className:b,onResize:w,style:_={}}=e,E=j.useRef(null),O=j.useRef();O.current=w,j.useImperativeHandle(t,()=>E.current);var[C,T]=j.useState({containerWidth:i.width,containerHeight:i.height}),A=j.useCallback((D,R)=>{T(B=>{var $=Math.round(D),F=Math.round(R);return B.containerWidth===$&&B.containerHeight===F?B:{containerWidth:$,containerHeight:F}})},[]);j.useEffect(()=>{var D=F=>{var X,{width:H,height:U}=F[0].contentRect;A(H,U),(X=O.current)===null||X===void 0||X.call(O,H,U)};p>0&&(D=QW(D,p,{trailing:!0,leading:!1}));var R=new ResizeObserver(D),{width:B,height:$}=E.current.getBoundingClientRect();return A(B,$),R.observe(E.current),()=>{R.disconnect()}},[A,p]);var k=j.useMemo(()=>{var{containerWidth:D,containerHeight:R}=C;if(D<0||R<0)return null;L1(yd(a)||yd(o),`The width(%s) and height(%s) are both fixed numbers, maybe you don't need to use a ResponsiveContainer.`,a,o),L1(!n||n>0,"The aspect(%s) must be greater than zero.",n);var B=yd(a)?D:a,$=yd(o)?R:o;return n&&n>0&&(B?$=B/n:$&&(B=$*n),f&&$>f&&($=f)),L1(B>0||$>0,`The width(%s) and height(%s) of chart should be greater than 0, please check the style of container, or the props width(%s) and height(%s), or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the height and width.`,B,$,a,o,l,u,n),j.Children.map(h,F=>j.cloneElement(F,{width:B,height:$,style:k1({width:B,height:$},F.props.style)}))},[n,h,o,f,u,l,C,a]);return j.createElement("div",{id:m?"".concat(m):void 0,className:Li("recharts-responsive-container",b),style:k1(k1({},_),{},{width:a,height:o,minWidth:l,minHeight:u,maxHeight:f}),ref:E},j.createElement("div",{style:{width:0,height:0,overflow:"visible"}},k))}),_v=e=>null;_v.displayName="Cell";function nX(e,t,n){return(t=iX(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function iX(e){var t=rX(e,"string");return typeof t=="symbol"?t:t+""}function rX(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}class aX{constructor(t){nX(this,"cache",new Map),this.maxSize=t}get(t){var n=this.cache.get(t);return n!==void 0&&(this.cache.delete(t),this.cache.set(t,n)),n}set(t,n){if(this.cache.has(t))this.cache.delete(t);else if(this.cache.size>=this.maxSize){var i=this.cache.keys().next().value;this.cache.delete(i)}this.cache.set(t,n)}clear(){this.cache.clear()}size(){return this.cache.size}}function y3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,i)}return n}function sX(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?y3(Object(n),!0).forEach(function(i){oX(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y3(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function oX(e,t,n){return(t=lX(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lX(e){var t=cX(e,"string");return typeof t=="symbol"?t:t+""}function cX(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var uX={cacheSize:2e3,enableCache:!0},T6=sX({},uX),b3=new aX(T6.cacheSize),fX={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},x3="recharts_measurement_span";function dX(e,t){var n=t.fontSize||"",i=t.fontFamily||"",a=t.fontWeight||"",o=t.fontStyle||"",l=t.letterSpacing||"",u=t.textTransform||"";return"".concat(e,"|").concat(n,"|").concat(i,"|").concat(a,"|").concat(o,"|").concat(l,"|").concat(u)}var w3=(e,t)=>{try{var n=document.getElementById(x3);n||(n=document.createElement("span"),n.setAttribute("id",x3),n.setAttribute("aria-hidden","true"),document.body.appendChild(n)),Object.assign(n.style,fX,t),n.textContent="".concat(e);var i=n.getBoundingClientRect();return{width:i.width,height:i.height}}catch{return{width:0,height:0}}},_3=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t==null||xw.isSsr)return{width:0,height:0};if(!T6.enableCache)return w3(t,n);var i=dX(t,n),a=b3.get(i);if(a)return a;var o=w3(t,n);return b3.set(i,o),o},E3=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,S3=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,hX=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,pX=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,A6={cm:96/2.54,mm:96/25.4,pt:96/72,pc:96/6,in:96,Q:96/(2.54*40),px:1},mX=Object.keys(A6),eu="NaN";function gX(e,t){return e*A6[t]}class fi{static parse(t){var n,[,i,a]=(n=pX.exec(t))!==null&&n!==void 0?n:[];return new fi(parseFloat(i),a??"")}constructor(t,n){this.num=t,this.unit=n,this.num=t,this.unit=n,Cr(t)&&(this.unit=""),n!==""&&!hX.test(n)&&(this.num=NaN,this.unit=""),mX.includes(n)&&(this.num=gX(t,n),this.unit="px")}add(t){return this.unit!==t.unit?new fi(NaN,""):new fi(this.num+t.num,this.unit)}subtract(t){return this.unit!==t.unit?new fi(NaN,""):new fi(this.num-t.num,this.unit)}multiply(t){return this.unit!==""&&t.unit!==""&&this.unit!==t.unit?new fi(NaN,""):new fi(this.num*t.num,this.unit||t.unit)}divide(t){return this.unit!==""&&t.unit!==""&&this.unit!==t.unit?new fi(NaN,""):new fi(this.num/t.num,this.unit||t.unit)}toString(){return"".concat(this.num).concat(this.unit)}isNaN(){return Cr(this.num)}}function C6(e){if(e.includes(eu))return eu;for(var t=e;t.includes("*")||t.includes("/");){var n,[,i,a,o]=(n=E3.exec(t))!==null&&n!==void 0?n:[],l=fi.parse(i??""),u=fi.parse(o??""),f=a==="*"?l.multiply(u):l.divide(u);if(f.isNaN())return eu;t=t.replace(E3,f.toString())}for(;t.includes("+")||/.-\d+(?:\.\d+)?/.test(t);){var h,[,p,m,b]=(h=S3.exec(t))!==null&&h!==void 0?h:[],w=fi.parse(p??""),_=fi.parse(b??""),E=m==="+"?w.add(_):w.subtract(_);if(E.isNaN())return eu;t=t.replace(S3,E.toString())}return t}var T3=/\(([^()]*)\)/;function vX(e){for(var t=e,n;(n=T3.exec(t))!=null;){var[,i]=n;t=t.replace(T3,C6(i))}return t}function yX(e){var t=e.replace(/\s+/g,"");return t=vX(t),t=C6(t),t}function bX(e){try{return yX(e)}catch{return eu}}function R1(e){var t=bX(e.slice(5,-1));return t===eu?"":t}var xX=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],wX=["dx","dy","angle","className","breakAll"];function cx(){return cx=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},cx.apply(null,arguments)}function A3(e,t){if(e==null)return{};var n,i,a=_X(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function _X(e,t){if(e==null)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(t.indexOf(i)!==-1)continue;n[i]=e[i]}return n}var O6=/[ \f\n\r\t\v\u2028\u2029]+/,M6=e=>{var{children:t,breakAll:n,style:i}=e;try{var a=[];cu(t)||(n?a=t.toString().split(""):a=t.toString().split(O6));var o=a.map(u=>({word:u,width:_3(u,i).width})),l=n?0:_3(" ",i).width;return{wordsWithComputedWidth:o,spaceWidth:l}}catch{return null}},EX=(e,t,n,i,a)=>{var{maxLines:o,children:l,style:u,breakAll:f}=e,h=tn(o),p=l,m=function(){var H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return H.reduce((U,se)=>{var{word:ce,width:ge}=se,q=U[U.length-1];if(q&&(i==null||a||q.width+ge+n<Number(i)))q.words.push(ce),q.width+=ge+n;else{var te={words:[ce],width:ge};U.push(te)}return U},[])},b=m(t),w=X=>X.reduce((H,U)=>H.width>U.width?H:U);if(!h||a)return b;var _=b.length>o||w(b).width>Number(i);if(!_)return b;for(var E="…",O=X=>{var H=p.slice(0,X),U=M6({breakAll:f,style:u,children:H+E}).wordsWithComputedWidth,se=m(U),ce=se.length>o||w(se).width>Number(i);return[ce,se]},C=0,T=p.length-1,A=0,k;C<=T&&A<=p.length-1;){var D=Math.floor((C+T)/2),R=D-1,[B,$]=O(R),[F]=O(D);if(!B&&!F&&(C=D+1),B&&F&&(T=D-1),!B&&F){k=$;break}A++}return k||b},C3=e=>{var t=cu(e)?[]:e.toString().split(O6);return[{words:t}]},SX=e=>{var{width:t,scaleToFit:n,children:i,style:a,breakAll:o,maxLines:l}=e;if((t||n)&&!xw.isSsr){var u,f,h=M6({breakAll:o,children:i,style:a});if(h){var{wordsWithComputedWidth:p,spaceWidth:m}=h;u=p,f=m}else return C3(i);return EX({breakAll:o,children:i,maxLines:l,style:a},u,f,t,n)}return C3(i)},O3="#808080",N6=j.forwardRef((e,t)=>{var{x:n=0,y:i=0,lineHeight:a="1em",capHeight:o="0.71em",scaleToFit:l=!1,textAnchor:u="start",verticalAnchor:f="end",fill:h=O3}=e,p=A3(e,xX),m=j.useMemo(()=>SX({breakAll:p.breakAll,children:p.children,maxLines:p.maxLines,scaleToFit:l,style:p.style,width:p.width}),[p.breakAll,p.children,p.maxLines,l,p.style,p.width]),{dx:b,dy:w,angle:_,className:E,breakAll:O}=p,C=A3(p,wX);if(!Id(n)||!Id(i))return null;var T=n+(tn(b)?b:0),A=i+(tn(w)?w:0),k;switch(f){case"start":k=R1("calc(".concat(o,")"));break;case"middle":k=R1("calc(".concat((m.length-1)/2," * -").concat(a," + (").concat(o," / 2))"));break;default:k=R1("calc(".concat(m.length-1," * -").concat(a,")"));break}var D=[];if(l){var R=m[0].width,{width:B}=p;D.push("scale(".concat(tn(B)?B/R:1,")"))}return _&&D.push("rotate(".concat(_,", ").concat(T,", ").concat(A,")")),D.length&&(C.transform=D.join(" ")),j.createElement("text",cx({},Or(C,!0),{ref:t,x:T,y:A,className:Li("recharts-text",E),textAnchor:u,fill:h.includes("url")?O3:h}),m.map(($,F)=>{var X=$.words.join(O?"":" ");return j.createElement("tspan",{x:T,dy:F===0?k:a,key:"".concat(X,"-").concat(F)},X)}))});N6.displayName="Text";var j6=e=>e.graphicalItems.polarItems,TX=ae([kt,uh],Jw),E2=ae([j6,Qt,TX],e2),AX=ae([E2],t2),S2=ae([AX,Fw],n2),CX=ae([S2,Qt,E2],r2),OX=ae([S2,Qt,E2],(e,t,n)=>n.length>0?e.flatMap(i=>n.flatMap(a=>{var o,l=en(i,(o=t.dataKey)!==null&&o!==void 0?o:a.dataKey);return{value:l,errorDomain:[]}})).filter(Boolean):t?.dataKey!=null?e.map(i=>({value:en(i,t.dataKey),errorDomain:[]})):e.map(i=>({value:i,errorDomain:[]}))),M3=()=>{},MX=ae([Qt,Gj,M3,OX,M3,Ot,kt],s2),D6=ae([Qt,Ot,S2,CX,ch,kt,MX],o2),NX=ae([D6,Qt,zu],u2);ae([Qt,D6,NX,kt],d2);var jX={radiusAxis:{},angleAxis:{}},P6=ki({name:"polarAxis",initialState:jX,reducers:{addRadiusAxis(e,t){e.radiusAxis[t.payload.id]=t.payload},removeRadiusAxis(e,t){delete e.radiusAxis[t.payload.id]},addAngleAxis(e,t){e.angleAxis[t.payload.id]=t.payload},removeAngleAxis(e,t){delete e.angleAxis[t.payload.id]}}}),{addRadiusAxis:Cre,removeRadiusAxis:Ore,addAngleAxis:Mre,removeAngleAxis:Nre}=P6.actions,DX=P6.reducer;function N3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,i)}return n}function j3(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?N3(Object(n),!0).forEach(function(i){PX(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N3(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function PX(e,t,n){return(t=LX(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function LX(e){var t=kX(e,"string");return typeof t=="symbol"?t:t+""}function kX(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var RX=(e,t)=>t,T2=ae([j6,RX],(e,t)=>e.filter(n=>n.type==="pie").find(n=>n.id===t)),zX=[],A2=(e,t,n)=>n?.length===0?zX:n,L6=ae([Fw,T2,A2],(e,t,n)=>{var{chartData:i}=e;if(t!=null){var a;if(t?.data!=null&&t.data.length>0?a=t.data:a=i,(!a||!a.length)&&n!=null&&(a=n.map(o=>j3(j3({},t.presentationProps),o.props))),a!=null)return a}}),IX=ae([L6,T2,A2],(e,t,n)=>{if(!(e==null||t==null))return e.map((i,a)=>{var o,l=en(i,t.nameKey,t.name),u;return n!=null&&(o=n[a])!==null&&o!==void 0&&(o=o.props)!==null&&o!==void 0&&o.fill?u=n[a].props.fill:typeof i=="object"&&i!=null&&"fill"in i?u=i.fill:u=t.fill,{value:pN(l,t.dataKey),color:u,payload:i,type:t.legendType}})}),$X=ae([L6,T2,A2,ti],(e,t,n,i)=>{if(!(t==null||e==null))return IQ({offset:i,pieSettings:t,displayedData:e,cells:n})}),z1={},D3;function BX(){return D3||(D3=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){if(typeof n!="object"||n==null)return!1;if(Object.getPrototypeOf(n)===null)return!0;if(Object.prototype.toString.call(n)!=="[object Object]"){const a=n[Symbol.toStringTag];return a==null||!Object.getOwnPropertyDescriptor(n,Symbol.toStringTag)?.writable?!1:n.toString()===`[object ${a}]`}let i=n;for(;Object.getPrototypeOf(i)!==null;)i=Object.getPrototypeOf(i);return Object.getPrototypeOf(n)===i}e.isPlainObject=t})(z1)),z1}var I1,P3;function VX(){return P3||(P3=1,I1=BX().isPlainObject),I1}var HX=VX();const qX=os(HX);function zg(){return zg=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},zg.apply(null,arguments)}var L3=(e,t,n,i,a)=>{var o=n-i,l;return l="M ".concat(e,",").concat(t),l+="L ".concat(e+n,",").concat(t),l+="L ".concat(e+n-o/2,",").concat(t+a),l+="L ".concat(e+n-o/2-i,",").concat(t+a),l+="L ".concat(e,",").concat(t," Z"),l},UX={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},FX=e=>{var t=Rl(e,UX),n=j.useRef(),[i,a]=j.useState(-1);j.useEffect(()=>{if(n.current&&n.current.getTotalLength)try{var O=n.current.getTotalLength();O&&a(O)}catch{}},[]);var{x:o,y:l,upperWidth:u,lowerWidth:f,height:h,className:p}=t,{animationEasing:m,animationDuration:b,animationBegin:w,isUpdateAnimationActive:_}=t;if(o!==+o||l!==+l||u!==+u||f!==+f||h!==+h||u===0&&f===0||h===0)return null;var E=Li("recharts-trapezoid",p);return _?j.createElement(wg,{canBegin:i>0,from:{upperWidth:0,lowerWidth:0,height:h,x:o,y:l},to:{upperWidth:u,lowerWidth:f,height:h,x:o,y:l},duration:b,animationEasing:m,isActive:_},O=>{var{upperWidth:C,lowerWidth:T,height:A,x:k,y:D}=O;return j.createElement(wg,{canBegin:i>0,from:"0px ".concat(i===-1?1:i,"px"),to:"".concat(i,"px 0px"),attributeName:"strokeDasharray",begin:w,duration:b,easing:m},j.createElement("path",zg({},Or(t,!0),{className:E,d:L3(k,D,C,T,A),ref:n})))}):j.createElement("g",null,j.createElement("path",zg({},Or(t,!0),{className:E,d:L3(o,l,u,f,h)})))},GX=["option","shapeType","propTransformer","activeClassName","isActive"];function YX(e,t){if(e==null)return{};var n,i,a=KX(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function KX(e,t){if(e==null)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(t.indexOf(i)!==-1)continue;n[i]=e[i]}return n}function k3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,i)}return n}function Ig(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?k3(Object(n),!0).forEach(function(i){WX(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k3(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function WX(e,t,n){return(t=XX(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function XX(e){var t=QX(e,"string");return typeof t=="symbol"?t:t+""}function QX(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function ZX(e,t){return Ig(Ig({},t),e)}function JX(e,t){return e==="symbols"}function R3(e){var{shapeType:t,elementProps:n}=e;switch(t){case"rectangle":return j.createElement(VU,n);case"trapezoid":return j.createElement(FX,n);case"sector":return j.createElement(FU,n);case"symbols":if(JX(t))return j.createElement(k5,n);break;default:return null}}function eQ(e){return j.isValidElement(e)?e.props:e}function tQ(e){var{option:t,shapeType:n,propTransformer:i=ZX,activeClassName:a="recharts-active-shape",isActive:o}=e,l=YX(e,GX),u;if(j.isValidElement(t))u=j.cloneElement(t,Ig(Ig({},l),eQ(t)));else if(typeof t=="function")u=t(l);else if(qX(t)&&typeof t!="boolean"){var f=i(t,l);u=j.createElement(R3,{shapeType:n,elementProps:f})}else{var h=l;u=j.createElement(R3,{shapeType:n,elementProps:h})}return o?j.createElement(uu,{className:a},u):u}var nQ=(e,t)=>{var n=ei();return(i,a)=>o=>{e?.(i,a,o),n(s6({activeIndex:String(a),activeDataKey:t,activeCoordinate:i.tooltipPosition}))}},iQ=e=>{var t=ei();return(n,i)=>a=>{e?.(n,i,a),t(BK())}},rQ=(e,t)=>{var n=ei();return(i,a)=>o=>{e?.(i,a,o),n(VK({activeIndex:String(a),activeDataKey:t,activeCoordinate:i.tooltipPosition}))}};function aQ(e){var{fn:t,args:n}=e,i=ei(),a=Mu();return j.useEffect(()=>{if(!a){var o=t(n);return i(IK(o)),()=>{i($K(o))}}},[t,n,i,a]),null}var sQ=()=>{};function oQ(e){var{legendPayload:t}=e,n=ei(),i=Xt(Ot);return j.useEffect(()=>i!=="centric"&&i!=="radial"?sQ:(n(Xq(t)),()=>{n(Qq(t))}),[n,i,t]),null}function lQ(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"animation-",n=j.useRef(rg(t)),i=j.useRef(e);return i.current!==e&&(n.current=rg(t),i.current=e),n.current}var $1,cQ=()=>{var[e]=j.useState(()=>rg("uid-"));return e},uQ=($1=lP.useId)!==null&&$1!==void 0?$1:cQ;function fQ(e,t){var n=uQ();return t||(e?"".concat(e,"-").concat(n):n)}var dQ=j.createContext(void 0),hQ=e=>{var{id:t,type:n,children:i}=e,a=fQ("recharts-".concat(n),t);return j.createElement(dQ.Provider,{value:a},i(a))},pQ={cartesianItems:[],polarItems:[]},k6=ki({name:"graphicalItems",initialState:pQ,reducers:{addCartesianGraphicalItem(e,t){e.cartesianItems.push(t.payload)},replaceCartesianGraphicalItem(e,t){var{prev:n,next:i}=t.payload,a=Ka(e).cartesianItems.indexOf(n);a>-1&&(e.cartesianItems[a]=i)},removeCartesianGraphicalItem(e,t){var n=Ka(e).cartesianItems.indexOf(t.payload);n>-1&&e.cartesianItems.splice(n,1)},addPolarGraphicalItem(e,t){e.polarItems.push(t.payload)},removePolarGraphicalItem(e,t){var n=Ka(e).polarItems.indexOf(t.payload);n>-1&&e.polarItems.splice(n,1)}}}),{addCartesianGraphicalItem:jre,replaceCartesianGraphicalItem:Dre,removeCartesianGraphicalItem:Pre,addPolarGraphicalItem:mQ,removePolarGraphicalItem:gQ}=k6.actions,vQ=k6.reducer;function yQ(e){var t=ei();return j.useEffect(()=>(t(mQ(e)),()=>{t(gQ(e))}),[t,e]),null}function bQ(){}var xQ={begin:0,duration:1e3,easing:"ease",isActive:!0,canBegin:!0,onAnimationEnd:()=>{},onAnimationStart:()=>{}},z3={t:0},B1={t:1};function wQ(e){var t=Rl(e,xQ),{isActive:n,canBegin:i,duration:a,easing:o,begin:l,onAnimationEnd:u,onAnimationStart:f,children:h}=t,p=SN("JavascriptAnimate",t.animationManager),[m,b]=j.useState(n?z3:B1),w=j.useRef(null);return j.useEffect(()=>{n||b(B1)},[n]),j.useEffect(()=>{if(!n||!i)return bQ;var _=EN(z3,B1,wN(o),a,b,p.getTimeoutController()),E=()=>{w.current=_()};return p.start([f,l,E,a,u]),()=>{p.stop(),w.current&&w.current(),u()}},[n,i,a,o,l,f,u,p]),h(m.t)}var _Q=["onMouseEnter","onClick","onMouseLeave"],EQ=["id"],SQ=["id"];function C2(e,t){if(e==null)return{};var n,i,a=TQ(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function TQ(e,t){if(e==null)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(t.indexOf(i)!==-1)continue;n[i]=e[i]}return n}function I3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,i)}return n}function Gt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?I3(Object(n),!0).forEach(function(i){AQ(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I3(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function AQ(e,t,n){return(t=CQ(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function CQ(e){var t=OQ(e,"string");return typeof t=="symbol"?t:t+""}function OQ(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function as(){return as=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},as.apply(null,arguments)}function MQ(e){var t=j.useMemo(()=>g5(e.children,_v),[e.children]),n=Xt(i=>IX(i,e.id,t));return n==null?null:j.createElement(oQ,{legendPayload:n})}function NQ(e){var{dataKey:t,nameKey:n,sectors:i,stroke:a,strokeWidth:o,fill:l,name:u,hide:f,tooltipType:h}=e;return{dataDefinedOnItem:i?.map(p=>p.tooltipPayload),positions:i?.map(p=>p.tooltipPosition),settings:{stroke:a,strokeWidth:o,fill:l,dataKey:t,nameKey:n,name:pN(u,t),hide:f,type:h,color:l,unit:""}}}var jQ=(e,t)=>e>t?"start":e<t?"end":"middle",DQ=(e,t,n)=>typeof t=="function"?t(e):ra(t,n,n*.8),PQ=(e,t,n)=>{var{top:i,left:a,width:o,height:l}=t,u=dN(o,l),f=a+ra(e.cx,o,o/2),h=i+ra(e.cy,l,l/2),p=ra(e.innerRadius,u,0),m=DQ(n,e.outerRadius,u),b=e.maxRadius||Math.sqrt(o*o+l*l)/2;return{cx:f,cy:h,innerRadius:p,outerRadius:m,maxRadius:b}},LQ=(e,t)=>{var n=Oi(t-e),i=Math.min(Math.abs(t-e),360);return n*i},kQ=(e,t)=>{if(j.isValidElement(e))return j.cloneElement(e,t);if(typeof e=="function")return e(t);var n=Li("recharts-pie-label-line",typeof e!="boolean"?e.className:"");return j.createElement(sU,as({},t,{type:"linear",className:n}))},RQ=(e,t,n)=>{if(j.isValidElement(e))return j.cloneElement(e,t);var i=n;if(typeof e=="function"&&(i=e(t),j.isValidElement(i)))return i;var a=Li("recharts-pie-label-text",typeof e!="boolean"&&typeof e!="function"?e.className:"");return j.createElement(N6,as({},t,{alignmentBaseline:"middle",className:a}),i)};function zQ(e){var{sectors:t,props:n,showLabels:i}=e,{label:a,labelLine:o,dataKey:l}=n;if(!i||!a||!t)return null;var u=Wg(n),f=Or(a,!1),h=Or(o,!1),p=typeof a=="object"&&"offsetRadius"in a&&a.offsetRadius||20,m=t.map((b,w)=>{var _=(b.startAngle+b.endAngle)/2,E=Ji(b.cx,b.cy,b.outerRadius+p,_),O=Gt(Gt(Gt(Gt({},u),b),{},{stroke:"none"},f),{},{index:w,textAnchor:jQ(E.x,b.cx)},E),C=Gt(Gt(Gt(Gt({},u),b),{},{fill:"none",stroke:b.fill},h),{},{index:w,points:[Ji(b.cx,b.cy,b.outerRadius,_),E],key:"line"});return j.createElement(uu,{key:"label-".concat(b.startAngle,"-").concat(b.endAngle,"-").concat(b.midAngle,"-").concat(w)},o&&kQ(o,C),RQ(a,O,en(b,l)))});return j.createElement(uu,{className:"recharts-pie-labels"},m)}function R6(e){var{sectors:t,activeShape:n,inactiveShape:i,allOtherPieProps:a,showLabels:o}=e,l=Xt(Yd),{onMouseEnter:u,onClick:f,onMouseLeave:h}=a,p=C2(a,_Q),m=nQ(u,a.dataKey),b=iQ(h),w=rQ(f,a.dataKey);return t==null?null:j.createElement(j.Fragment,null,t.map((_,E)=>{if(_?.startAngle===0&&_?.endAngle===0&&t.length!==1)return null;var O=n&&String(E)===l,C=l?i:null,T=O?n:C,A=Gt(Gt({},_),{},{stroke:_.stroke,tabIndex:-1,[gN]:E,[vN]:a.dataKey});return j.createElement(uu,as({tabIndex:-1,className:"recharts-pie-sector"},zB(p,_,E),{onMouseEnter:m(_,E),onMouseLeave:b(_,E),onClick:w(_,E),key:"sector-".concat(_?.startAngle,"-").concat(_?.endAngle,"-").concat(_.midAngle,"-").concat(E)}),j.createElement(tQ,as({option:T,isActive:O,shapeType:"sector"},A)))}),j.createElement(zQ,{sectors:t,props:a,showLabels:o}))}function IQ(e){var t,{pieSettings:n,displayedData:i,cells:a,offset:o}=e,{cornerRadius:l,startAngle:u,endAngle:f,dataKey:h,nameKey:p,tooltipType:m}=n,b=Math.abs(n.minAngle),w=LQ(u,f),_=Math.abs(w),E=i.length<=1?0:(t=n.paddingAngle)!==null&&t!==void 0?t:0,O=i.filter(R=>en(R,h,0)!==0).length,C=(_>=360?O:O-1)*E,T=_-O*b-C,A=i.reduce((R,B)=>{var $=en(B,h,0);return R+(tn($)?$:0)},0),k;if(A>0){var D;k=i.map((R,B)=>{var $=en(R,h,0),F=en(R,p,B),X=PQ(n,o,R),H=(tn($)?$:0)/A,U,se=Gt(Gt({},R),a&&a[B]&&a[B].props);B?U=D.endAngle+Oi(w)*E*($!==0?1:0):U=u;var ce=U+Oi(w)*(($!==0?b:0)+H*T),ge=(U+ce)/2,q=(X.innerRadius+X.outerRadius)/2,te=[{name:F,value:$,payload:se,dataKey:h,type:m}],re=Ji(X.cx,X.cy,q,ge);return D=Gt(Gt(Gt(Gt({},n.presentationProps),{},{percent:H,cornerRadius:l,name:F,tooltipPayload:te,midAngle:ge,middleRadius:q,tooltipPosition:re},se),X),{},{value:en(R,h),startAngle:U,endAngle:ce,payload:se,paddingAngle:Oi(w)*E}),D})}return k}function $Q(e){var{props:t,previousSectorsRef:n}=e,{sectors:i,isAnimationActive:a,animationBegin:o,animationDuration:l,animationEasing:u,activeShape:f,inactiveShape:h,onAnimationStart:p,onAnimationEnd:m}=t,b=lQ(t,"recharts-pie-"),w=n.current,[_,E]=j.useState(!0),O=j.useCallback(()=>{typeof m=="function"&&m(),E(!1)},[m]),C=j.useCallback(()=>{typeof p=="function"&&p(),E(!0)},[p]);return j.createElement(wQ,{begin:o,duration:l,isActive:a,easing:u,onAnimationStart:C,onAnimationEnd:O,key:b},T=>{var A=[],k=i&&i[0],D=k.startAngle;return i.forEach((R,B)=>{var $=w&&w[B],F=B>0?lu(R,"paddingAngle",0):0;if($){var X=JT($.endAngle-$.startAngle,R.endAngle-R.startAngle),H=Gt(Gt({},R),{},{startAngle:D+F,endAngle:D+X(T)+F});A.push(H),D=H.endAngle}else{var{endAngle:U,startAngle:se}=R,ce=JT(0,U-se),ge=ce(T),q=Gt(Gt({},R),{},{startAngle:D+F,endAngle:D+ge+F});A.push(q),D=q.endAngle}}),n.current=A,j.createElement(uu,null,j.createElement(R6,{sectors:A,activeShape:f,inactiveShape:h,allOtherPieProps:t,showLabels:!_}))})}function BQ(e){var{sectors:t,isAnimationActive:n,activeShape:i,inactiveShape:a}=e,o=j.useRef(null),l=o.current;return n&&t&&t.length&&(!l||l!==t)?j.createElement($Q,{props:e,previousSectorsRef:o}):j.createElement(R6,{sectors:t,activeShape:i,inactiveShape:a,allOtherPieProps:e,showLabels:!0})}function VQ(e){var{hide:t,className:n,rootTabIndex:i}=e,a=Li("recharts-pie",n);return t?null:j.createElement(uu,{tabIndex:i,className:a},j.createElement(BQ,e))}var HQ={animationBegin:400,animationDuration:1500,animationEasing:"ease",cx:"50%",cy:"50%",dataKey:"value",endAngle:360,fill:"#808080",hide:!1,innerRadius:0,isAnimationActive:!xw.isSsr,labelLine:!0,legendType:"rect",minAngle:0,nameKey:"name",outerRadius:"80%",paddingAngle:0,rootTabIndex:0,startAngle:0,stroke:"#fff"};function qQ(e){var{id:t}=e,n=C2(e,EQ),i=j.useMemo(()=>g5(e.children,_v),[e.children]),a=Xt(o=>$X(o,t,i));return j.createElement(j.Fragment,null,j.createElement(aQ,{fn:NQ,args:Gt(Gt({},e),{},{sectors:a})}),j.createElement(VQ,as({},n,{sectors:a})))}function z6(e){var t=Rl(e,HQ),{id:n}=t,i=C2(t,SQ),a=Wg(i);return j.createElement(hQ,{id:n,type:"pie"},o=>j.createElement(j.Fragment,null,j.createElement(yQ,{type:"pie",id:o,data:i.data,dataKey:i.dataKey,hide:i.hide,angleAxisId:0,radiusAxisId:0,name:i.name,nameKey:i.nameKey,tooltipType:i.tooltipType,legendType:i.legendType,fill:i.fill,cx:i.cx,cy:i.cy,startAngle:i.startAngle,endAngle:i.endAngle,paddingAngle:i.paddingAngle,minAngle:i.minAngle,innerRadius:i.innerRadius,outerRadius:i.outerRadius,cornerRadius:i.cornerRadius,presentationProps:a}),j.createElement(MQ,as({},i,{id:o})),j.createElement(qQ,as({},i,{id:o})),i.children))}z6.displayName="Pie";var UQ=ae([ti],e=>{if(e)return{top:e.top,bottom:e.bottom,left:e.left,right:e.right}}),FQ=ae([UQ,ls,cs],(e,t,n)=>{if(!(!e||t==null||n==null))return{x:e.left,y:e.top,width:Math.max(0,t-e.left-e.right),height:Math.max(0,n-e.top-e.bottom)}}),GQ=()=>Xt(FQ),YQ={},I6=ki({name:"errorBars",initialState:YQ,reducers:{addErrorBar:(e,t)=>{var{itemId:n,errorBar:i}=t.payload;e[n]||(e[n]=[]),e[n].push(i)},removeErrorBar:(e,t)=>{var{itemId:n,errorBar:i}=t.payload;e[n]&&(e[n]=e[n].filter(a=>a.dataKey!==i.dataKey||a.direction!==i.direction))}}}),{addErrorBar:Lre,removeErrorBar:kre}=I6.actions,KQ=I6.reducer,WQ=e=>{var{chartData:t}=e,n=ei(),i=Mu();return j.useEffect(()=>i?()=>{}:(n(d3(t)),()=>{n(d3(void 0))}),[t,n,i]),null},$3={x:0,y:0,width:0,height:0,padding:{top:0,right:0,bottom:0,left:0}},$6=ki({name:"brush",initialState:$3,reducers:{setBrushSettings(e,t){return t.payload==null?$3:t.payload}}}),{setBrushSettings:Rre}=$6.actions,XQ=$6.reducer,QQ={dots:[],areas:[],lines:[]},B6=ki({name:"referenceElements",initialState:QQ,reducers:{addDot:(e,t)=>{e.dots.push(t.payload)},removeDot:(e,t)=>{var n=Ka(e).dots.findIndex(i=>i===t.payload);n!==-1&&e.dots.splice(n,1)},addArea:(e,t)=>{e.areas.push(t.payload)},removeArea:(e,t)=>{var n=Ka(e).areas.findIndex(i=>i===t.payload);n!==-1&&e.areas.splice(n,1)},addLine:(e,t)=>{e.lines.push(t.payload)},removeLine:(e,t)=>{var n=Ka(e).lines.findIndex(i=>i===t.payload);n!==-1&&e.lines.splice(n,1)}}}),{addDot:zre,removeDot:Ire,addArea:$re,removeArea:Bre,addLine:Vre,removeLine:Hre}=B6.actions,ZQ=B6.reducer,JQ=j.createContext(void 0),eZ=e=>{var{children:t}=e,[n]=j.useState("".concat(rg("recharts"),"-clip")),i=GQ();if(i==null)return null;var{x:a,y:o,width:l,height:u}=i;return j.createElement(JQ.Provider,{value:n},j.createElement("defs",null,j.createElement("clipPath",{id:n},j.createElement("rect",{x:a,y:o,height:u,width:l}))),t)};function B3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,i)}return n}function V3(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?B3(Object(n),!0).forEach(function(i){tZ(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):B3(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function tZ(e,t,n){return(t=nZ(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nZ(e){var t=iZ(e,"string");return typeof t=="symbol"?t:t+""}function iZ(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var rZ={xAxis:{},yAxis:{},zAxis:{}},V6=ki({name:"cartesianAxis",initialState:rZ,reducers:{addXAxis(e,t){e.xAxis[t.payload.id]=t.payload},removeXAxis(e,t){delete e.xAxis[t.payload.id]},addYAxis(e,t){e.yAxis[t.payload.id]=t.payload},removeYAxis(e,t){delete e.yAxis[t.payload.id]},addZAxis(e,t){e.zAxis[t.payload.id]=t.payload},removeZAxis(e,t){delete e.zAxis[t.payload.id]},updateYAxisWidth(e,t){var{id:n,width:i}=t.payload;e.yAxis[n]&&(e.yAxis[n]=V3(V3({},e.yAxis[n]),{},{width:i}))}}}),{addXAxis:qre,removeXAxis:Ure,addYAxis:Fre,removeYAxis:Gre,addZAxis:Yre,removeZAxis:Kre,updateYAxisWidth:Wre}=V6.actions,aZ=V6.reducer,V1={exports:{}},H1={};/** * @license React * use-sync-external-store-with-selector.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var H3;function sZ(){if(H3)return H1;H3=1;var e=Eu();function t(f,h){return f===h&&(f!==0||1/f===1/h)||f!==f&&h!==h}var n=typeof Object.is=="function"?Object.is:t,i=e.useSyncExternalStore,a=e.useRef,o=e.useEffect,l=e.useMemo,u=e.useDebugValue;return H1.useSyncExternalStoreWithSelector=function(f,h,p,m,b){var w=a(null);if(w.current===null){var _={hasValue:!1,value:null};w.current=_}else _=w.current;w=l(function(){function O(D){if(!C){if(C=!0,T=D,D=m(D),b!==void 0&&_.hasValue){var R=_.value;if(b(R,D))return A=R}return A=D}if(R=A,n(T,D))return R;var B=m(D);return b!==void 0&&b(R,B)?(T=D,R):(T=D,A=B)}var C=!1,T,A,k=p===void 0?null:p;return[function(){return O(h())},k===null?void 0:function(){return O(k())}]},[h,p,m,b]);var E=i(f,w[0],w[1]);return o(function(){_.hasValue=!0,_.value=E},[E]),u(E),E},H1}var q3;function oZ(){return q3||(q3=1,V1.exports=sZ()),V1.exports}oZ();function lZ(e){e()}function cZ(){let e=null,t=null;return{clear(){e=null,t=null},notify(){lZ(()=>{let n=e;for(;n;)n.callback(),n=n.next})},get(){const n=[];let i=e;for(;i;)n.push(i),i=i.next;return n},subscribe(n){let i=!0;const a=t={callback:n,next:null,prev:t};return a.prev?a.prev.next=a:e=a,function(){!i||e===null||(i=!1,a.next?a.next.prev=a.prev:t=a.prev,a.prev?a.prev.next=a.next:e=a.next)}}}}var U3={notify(){},get:()=>[]};function uZ(e,t){let n,i=U3,a=0,o=!1;function l(E){p();const O=i.subscribe(E);let C=!1;return()=>{C||(C=!0,O(),m())}}function u(){i.notify()}function f(){_.onStateChange&&_.onStateChange()}function h(){return o}function p(){a++,n||(n=e.subscribe(f),i=cZ())}function m(){a--,n&&a===0&&(n(),n=void 0,i.clear(),i=U3)}function b(){o||(o=!0,p())}function w(){o&&(o=!1,m())}const _={addNestedSub:l,notifyNestedSubs:u,handleChangeWrapper:f,isSubscribed:h,trySubscribe:b,tryUnsubscribe:w,getListeners:()=>i};return _}var fZ=()=>typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",dZ=fZ(),hZ=()=>typeof navigator<"u"&&navigator.product==="ReactNative",pZ=hZ(),mZ=()=>dZ||pZ?j.useLayoutEffect:j.useEffect,gZ=mZ(),vZ=Symbol.for("react-redux-context"),yZ=typeof globalThis<"u"?globalThis:{};function bZ(){if(!j.createContext)return{};const e=yZ[vZ]??=new Map;let t=e.get(j.createContext);return t||(t=j.createContext(null),e.set(j.createContext,t)),t}var xZ=bZ();function wZ(e){const{children:t,context:n,serverState:i,store:a}=e,o=j.useMemo(()=>{const f=uZ(a);return{store:a,subscription:f,getServerState:i?()=>i:void 0}},[a,i]),l=j.useMemo(()=>a.getState(),[a]);gZ(()=>{const{subscription:f}=o;return f.onStateChange=f.notifyNestedSubs,f.trySubscribe(),l!==a.getState()&&f.notifyNestedSubs(),()=>{f.tryUnsubscribe(),f.onStateChange=void 0}},[o,l]);const u=n||xZ;return j.createElement(u.Provider,{value:o},t)}var _Z=wZ,EZ=(e,t)=>t,O2=ae([EZ,Ot,FY,ln,m6,Oo,MW,ti],jW),M2=e=>{var t=e.currentTarget.getBoundingClientRect(),n=t.width/e.currentTarget.offsetWidth,i=t.height/e.currentTarget.offsetHeight;return{chartX:Math.round((e.clientX-t.left)/n),chartY:Math.round((e.clientY-t.top)/i)}},H6=ir("mouseClick"),q6=rh();q6.startListening({actionCreator:H6,effect:(e,t)=>{var n=e.payload,i=O2(t.getState(),M2(n));i?.activeIndex!=null&&t.dispatch(HK({activeIndex:i.activeIndex,activeDataKey:void 0,activeCoordinate:i.activeCoordinate}))}});var ux=ir("mouseMove"),U6=rh();U6.startListening({actionCreator:ux,effect:(e,t)=>{var n=e.payload,i=t.getState(),a=i6(i,i.tooltip.settings.shared),o=O2(i,M2(n));a==="axis"&&(o?.activeIndex!=null?t.dispatch(l6({activeIndex:o.activeIndex,activeDataKey:void 0,activeCoordinate:o.activeCoordinate})):t.dispatch(o6()))}});function SZ(e,t){return t instanceof HTMLElement?"HTMLElement <".concat(t.tagName,' class="').concat(t.className,'">'):t===window?"global.window":t}var F3={accessibilityLayer:!0,barCategoryGap:"10%",barGap:4,barSize:void 0,className:void 0,maxBarSize:void 0,stackOffset:"none",syncId:void 0,syncMethod:"index"},F6=ki({name:"rootProps",initialState:F3,reducers:{updateOptions:(e,t)=>{var n;e.accessibilityLayer=t.payload.accessibilityLayer,e.barCategoryGap=t.payload.barCategoryGap,e.barGap=(n=t.payload.barGap)!==null&&n!==void 0?n:F3.barGap,e.barSize=t.payload.barSize,e.maxBarSize=t.payload.maxBarSize,e.stackOffset=t.payload.stackOffset,e.syncId=t.payload.syncId,e.syncMethod=t.payload.syncMethod,e.className=t.payload.className}}}),TZ=F6.reducer,{updateOptions:AZ}=F6.actions,G6=ki({name:"polarOptions",initialState:null,reducers:{updatePolarOptions:(e,t)=>t.payload}}),{updatePolarOptions:CZ}=G6.actions,OZ=G6.reducer,Y6=ir("keyDown"),K6=ir("focus"),N2=rh();N2.startListening({actionCreator:Y6,effect:(e,t)=>{var n=t.getState(),i=n.rootProps.accessibilityLayer!==!1;if(i){var{keyboardInteraction:a}=n.tooltip,o=e.payload;if(!(o!=="ArrowRight"&&o!=="ArrowLeft"&&o!=="Enter")){var l=Number(m2(a,Iu(n))),u=Oo(n);if(o==="Enter"){var f=kg(n,"axis","hover",String(a.index));t.dispatch(lx({active:!a.active,activeIndex:a.index,activeDataKey:a.dataKey,activeCoordinate:f}));return}var h=kK(n),p=h==="left-to-right"?1:-1,m=o==="ArrowRight"?1:-1,b=l+m*p;if(!(u==null||b>=u.length||b<0)){var w=kg(n,"axis","hover",String(b));t.dispatch(lx({active:!0,activeIndex:b.toString(),activeDataKey:void 0,activeCoordinate:w}))}}}}});N2.startListening({actionCreator:K6,effect:(e,t)=>{var n=t.getState(),i=n.rootProps.accessibilityLayer!==!1;if(i){var{keyboardInteraction:a}=n.tooltip;if(!a.active&&a.index==null){var o="0",l=kg(n,"axis","hover",String(o));t.dispatch(lx({activeDataKey:void 0,active:!0,activeIndex:o,activeCoordinate:l}))}}}});var Xi=ir("externalEvent"),W6=rh();W6.startListening({actionCreator:Xi,effect:(e,t)=>{if(e.payload.handler!=null){var n=t.getState(),i={activeCoordinate:AW(n),activeDataKey:SW(n),activeIndex:Yd(n),activeLabel:v6(n),activeTooltipIndex:Yd(n),isTooltipActive:CW(n)};e.payload.handler(i,e.payload.reactEvent)}}});var MZ=ae([mh],e=>e.tooltipItemPayloads),NZ=ae([MZ,ph,(e,t,n)=>t,(e,t,n)=>n],(e,t,n,i)=>{var a=e.find(u=>u.settings.dataKey===i);if(a!=null){var{positions:o}=a;if(o!=null){var l=t(o,n);return l}}}),X6=ir("touchMove"),Q6=rh();Q6.startListening({actionCreator:X6,effect:(e,t)=>{var n=e.payload,i=t.getState(),a=i6(i,i.tooltip.settings.shared);if(a==="axis"){var o=O2(i,M2({clientX:n.touches[0].clientX,clientY:n.touches[0].clientY,currentTarget:n.currentTarget}));o?.activeIndex!=null&&t.dispatch(l6({activeIndex:o.activeIndex,activeDataKey:void 0,activeCoordinate:o.activeCoordinate}))}else if(a==="item"){var l,u=n.touches[0],f=document.elementFromPoint(u.clientX,u.clientY);if(!f||!f.getAttribute)return;var h=f.getAttribute(gN),p=(l=f.getAttribute(vN))!==null&&l!==void 0?l:void 0,m=NZ(t.getState(),h,p);t.dispatch(s6({activeDataKey:p,activeIndex:h,activeCoordinate:m}))}}});var jZ=q5({brush:XQ,cartesianAxis:aZ,chartData:HW,errorBars:KQ,graphicalItems:vQ,layout:dq,legend:Zq,options:IW,polarAxis:DX,polarOptions:OZ,referenceElements:ZQ,rootProps:TZ,tooltip:qK}),DZ=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"Chart";return zH({reducer:jZ,preloadedState:t,middleware:i=>i({serializableCheck:!1}).concat([q6.middleware,U6.middleware,N2.middleware,W6.middleware,Q6.middleware]),devTools:{serialize:{replacer:SZ},name:"recharts-".concat(n)}})};function PZ(e){var{preloadedState:t,children:n,reduxStoreName:i}=e,a=Mu(),o=j.useRef(null);if(a)return n;o.current==null&&(o.current=DZ(t,i));var l=dw;return j.createElement(_Z,{context:l,store:o.current},n)}function LZ(e){var{layout:t,width:n,height:i,margin:a}=e,o=ei(),l=Mu();return j.useEffect(()=>{l||(o(cq(t)),o(uq({width:n,height:i})),o(lq(a)))},[o,l,t,n,i,a]),null}function kZ(e){var t=ei();return j.useEffect(()=>{t(AZ(e))},[t,e]),null}var RZ=["children"];function zZ(e,t){if(e==null)return{};var n,i,a=IZ(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function IZ(e,t){if(e==null)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(t.indexOf(i)!==-1)continue;n[i]=e[i]}return n}function $g(){return $g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},$g.apply(null,arguments)}var $Z={width:"100%",height:"100%"},BZ=j.forwardRef((e,t)=>{var n=Gq(),i=Yq(),a=eU();if(!yg(n)||!yg(i))return null;var{children:o,otherAttributes:l,title:u,desc:f}=e,h,p;return typeof l.tabIndex=="number"?h=l.tabIndex:h=a?0:void 0,typeof l.role=="string"?p=l.role:p=a?"application":void 0,j.createElement(v5,$g({},l,{title:u,desc:f,role:p,tabIndex:h,width:n,height:i,style:$Z,ref:t}),o)}),VZ=e=>{var{children:t}=e,n=Xt(sv);if(!n)return null;var{width:i,height:a,y:o,x:l}=n;return j.createElement(v5,{width:i,height:a,x:l,y:o},t)},G3=j.forwardRef((e,t)=>{var{children:n}=e,i=zZ(e,RZ),a=Mu();return a?j.createElement(VZ,null,n):j.createElement(BZ,$g({ref:t},i),n)});function HZ(){var e=ei(),[t,n]=j.useState(null),i=Xt(Iq);return j.useEffect(()=>{if(t!=null){var a=t.getBoundingClientRect(),o=a.width/t.offsetWidth;Mr(o)&&o!==i&&e(fq(o))}},[t,e,i]),n}function Y3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,i)}return n}function qZ(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Y3(Object(n),!0).forEach(function(i){UZ(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Y3(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function UZ(e,t,n){return(t=FZ(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function FZ(e){var t=GZ(e,"string");return typeof t=="symbol"?t:t+""}function GZ(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var YZ=j.forwardRef((e,t)=>{var{children:n,className:i,height:a,onClick:o,onContextMenu:l,onDoubleClick:u,onMouseDown:f,onMouseEnter:h,onMouseLeave:p,onMouseMove:m,onMouseUp:b,onTouchEnd:w,onTouchMove:_,onTouchStart:E,style:O,width:C}=e,T=ei(),[A,k]=j.useState(null),[D,R]=j.useState(null);FW();var B=HZ(),$=j.useCallback(oe=>{B(oe),typeof t=="function"&&t(oe),k(oe),R(oe)},[B,t,k,R]),F=j.useCallback(oe=>{T(H6(oe)),T(Xi({handler:o,reactEvent:oe}))},[T,o]),X=j.useCallback(oe=>{T(ux(oe)),T(Xi({handler:h,reactEvent:oe}))},[T,h]),H=j.useCallback(oe=>{T(o6()),T(Xi({handler:p,reactEvent:oe}))},[T,p]),U=j.useCallback(oe=>{T(ux(oe)),T(Xi({handler:m,reactEvent:oe}))},[T,m]),se=j.useCallback(()=>{T(K6())},[T]),ce=j.useCallback(oe=>{T(Y6(oe.key))},[T]),ge=j.useCallback(oe=>{T(Xi({handler:l,reactEvent:oe}))},[T,l]),q=j.useCallback(oe=>{T(Xi({handler:u,reactEvent:oe}))},[T,u]),te=j.useCallback(oe=>{T(Xi({handler:f,reactEvent:oe}))},[T,f]),re=j.useCallback(oe=>{T(Xi({handler:b,reactEvent:oe}))},[T,b]),pe=j.useCallback(oe=>{T(Xi({handler:E,reactEvent:oe}))},[T,E]),z=j.useCallback(oe=>{T(X6(oe)),T(Xi({handler:_,reactEvent:oe}))},[T,_]),V=j.useCallback(oe=>{T(Xi({handler:w,reactEvent:oe}))},[T,w]);return j.createElement(DW.Provider,{value:A},j.createElement(GB.Provider,{value:D},j.createElement("div",{className:Li("recharts-wrapper",i),style:qZ({position:"relative",cursor:"default",width:C,height:a},O),onClick:F,onContextMenu:ge,onDoubleClick:q,onFocus:se,onKeyDown:ce,onMouseDown:te,onMouseEnter:X,onMouseLeave:H,onMouseMove:U,onMouseUp:re,onTouchEnd:V,onTouchMove:z,onTouchStart:pe,ref:$},n)))}),KZ=["children","className","width","height","style","compact","title","desc"];function WZ(e,t){if(e==null)return{};var n,i,a=XZ(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function XZ(e,t){if(e==null)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(t.indexOf(i)!==-1)continue;n[i]=e[i]}return n}var QZ=j.forwardRef((e,t)=>{var{children:n,className:i,width:a,height:o,style:l,compact:u,title:f,desc:h}=e,p=WZ(e,KZ),m=Wg(p);return u?j.createElement(G3,{otherAttributes:m,title:f,desc:h},n):j.createElement(YZ,{className:i,style:l,width:a,height:o,onClick:e.onClick,onMouseLeave:e.onMouseLeave,onMouseEnter:e.onMouseEnter,onMouseMove:e.onMouseMove,onMouseDown:e.onMouseDown,onMouseUp:e.onMouseUp,onContextMenu:e.onContextMenu,onDoubleClick:e.onDoubleClick,onTouchStart:e.onTouchStart,onTouchMove:e.onTouchMove,onTouchEnd:e.onTouchEnd},j.createElement(G3,{otherAttributes:m,title:f,desc:h,ref:t},j.createElement(eZ,null,n)))});function ZZ(e){var t=ei();return j.useEffect(()=>{t(CZ(e))},[t,e]),null}var JZ=["width","height","layout"];function fx(){return fx=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},fx.apply(null,arguments)}function eJ(e,t){if(e==null)return{};var n,i,a=tJ(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function tJ(e,t){if(e==null)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(t.indexOf(i)!==-1)continue;n[i]=e[i]}return n}var nJ={top:5,right:5,bottom:5,left:5},iJ={accessibilityLayer:!0,stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:nJ,reverseStackOrder:!1,syncMethod:"index",layout:"radial"},rJ=j.forwardRef(function(t,n){var i,a=Rl(t.categoricalChartProps,iJ),{width:o,height:l,layout:u}=a,f=eJ(a,JZ);if(!yg(o)||!yg(l))return null;var{chartName:h,defaultTooltipEventType:p,validateTooltipEventTypes:m,tooltipPayloadSearcher:b}=t,w={chartName:h,defaultTooltipEventType:p,validateTooltipEventTypes:m,tooltipPayloadSearcher:b,eventEmitter:void 0};return j.createElement(PZ,{preloadedState:{options:w},reduxStoreName:(i=a.id)!==null&&i!==void 0?i:h},j.createElement(WQ,{chartData:a.data}),j.createElement(LZ,{width:o,height:l,layout:u,margin:a.margin}),j.createElement(kZ,{accessibilityLayer:a.accessibilityLayer,barCategoryGap:a.barCategoryGap,maxBarSize:a.maxBarSize,stackOffset:a.stackOffset,barGap:a.barGap,barSize:a.barSize,syncId:a.syncId,syncMethod:a.syncMethod,className:a.className}),j.createElement(ZZ,{cx:a.cx,cy:a.cy,startAngle:a.startAngle,endAngle:a.endAngle,innerRadius:a.innerRadius,outerRadius:a.outerRadius}),j.createElement(QZ,fx({width:o,height:l},f,{ref:n})))}),aJ=["item"],sJ={layout:"centric",startAngle:0,endAngle:360,cx:"50%",cy:"50%",innerRadius:0,outerRadius:"80%"},oJ=j.forwardRef((e,t)=>{var n=Rl(e,sJ);return j.createElement(rJ,{chartName:"PieChart",defaultTooltipEventType:"item",validateTooltipEventTypes:aJ,tooltipPayloadSearcher:RW,categoricalChartProps:n,ref:t})});function lJ(){const[e,t]=j.useState({loanAmount:25e5,interestRate:8.4,loanPeriod:84,courseDuration:24,moratoriumPeriod:30,paymentDuringMoratorium:"Moratorium"}),[n,i]=j.useState({principal:25e5,interest:1315835,totalAmount:3815835,emiDuringMoratorium:0,emiPostMoratorium:70664}),[a,o]=j.useState([]),l=["#57b1e3","#016eb6"],u=()=>{const{loanAmount:p,interestRate:m,loanPeriod:b,moratoriumPeriod:w}=e,_=m/12/100,E=p*_*Math.pow(1+_,b)/(Math.pow(1+_,b)-1),O=E*b-p,C=p+O,T=[];let A=p;for(let k=1;k<=12;k++){const D=A*_,R=E-D;A-=R,T.push({month:k,emi:Math.round(E),principal:Math.round(R),interest:Math.round(D),balance:Math.round(A>0?A:0)})}o(T),i({principal:p,interest:Math.round(O),totalAmount:Math.round(C),emiDuringMoratorium:0,emiPostMoratorium:Math.round(E)})};j.useEffect(()=>{u()},[e]),a.slice(0,12).map(p=>({name:`Month ${p.month}`,principal:p.principal,interest:p.interest}));const f=[{icon:"🎓",title:"Wide Course Coverage",description:"We provide loans for a wide range of courses including engineering, medicine, management, and more."},{icon:"💳",title:"Flexible Repayment",description:"Choose from various repayment plans with moratorium period until course completion."},{icon:"🏦",title:"Competitive Interest Rates",description:"Enjoy interest rates starting from 8.5% with special discounts for female students."},{icon:"⚡",title:"Quick Processing",description:"Get loan approval within 72 hours with minimal documentation."}],h=[{question:"What is a moratorium period?",answer:"The moratorium period is the time during which you don't have to make any EMI payments. This usually includes your course duration plus an additional 6-12 months after course completion."},{question:"What documents are required for an education loan?",answer:"Typically, you need admission letter, academic records, identity proof, address proof, income proof of co-applicant, and collateral documents (if applicable)."},{question:"Can I get an education loan without collateral?",answer:"Yes, we offer education loans without collateral for amounts up to ₹7.5 lakhs. For higher amounts, collateral or a third-party guarantee may be required."}];return v.jsxs(v.Fragment,{children:[v.jsx(ow,{pageName:"Fly Loan"}),v.jsxs("div",{className:"container mt-5 fly-loan-calculator",children:[v.jsxs("div",{className:"calculator-header text-center mb-5",children:[v.jsx("h1",{className:"mb-3",children:"EDUCATION LOANS JUST A TAP AWAY"}),v.jsx("p",{className:"subtitle",children:"Education Loan EMI Calculator"})]}),v.jsxs("div",{className:"row align-items-center mb-5",children:[v.jsxs("div",{className:"col-md-7",children:[v.jsxs("div",{className:"input-group-modern mb-4",children:[v.jsx("label",{className:"input-label",children:"Loan amount"}),v.jsx("input",{type:"range",className:"form-range-modern",min:"50000",max:"5000000",step:"10000",value:e.loanAmount,onChange:p=>t({...e,loanAmount:+p.target.value})}),v.jsxs("div",{className:"input-value",children:["₹ ",e.loanAmount.toLocaleString("en-IN")]})]}),v.jsxs("div",{className:"input-group-modern mb-4",children:[v.jsx("label",{className:"input-label",children:"Interest rate"}),v.jsx("input",{type:"range",className:"form-range-modern",min:"1",max:"20",step:"0.1",value:e.interestRate,onChange:p=>t({...e,interestRate:+p.target.value})}),v.jsxs("div",{className:"input-value",children:[e.interestRate,"%"]})]}),v.jsxs("div",{className:"input-group-modern mb-4",children:[v.jsx("label",{className:"input-label",children:"Loan period"}),v.jsx("input",{type:"range",className:"form-range-modern",min:"12",max:"240",step:"12",value:e.loanPeriod,onChange:p=>t({...e,loanPeriod:+p.target.value})}),v.jsxs("div",{className:"input-value",children:[e.loanPeriod," months"]})]}),v.jsxs("div",{className:"input-group-modern mb-4",children:[v.jsx("label",{className:"input-label",children:"Course duration"}),v.jsx("input",{type:"range",className:"form-range-modern",min:"6",max:"60",step:"6",value:e.courseDuration,onChange:p=>t({...e,courseDuration:+p.target.value})}),v.jsxs("div",{className:"input-value",children:[e.courseDuration," months"]})]}),v.jsxs("div",{className:"input-group-modern mb-4",children:[v.jsx("label",{className:"input-label",children:"Moratorium period"}),v.jsx("input",{type:"range",className:"form-range-modern",min:"0",max:"60",step:"6",value:e.moratoriumPeriod,onChange:p=>t({...e,moratoriumPeriod:+p.target.value})}),v.jsxs("div",{className:"input-value",children:[e.moratoriumPeriod," months"]}),v.jsx("small",{className:"input-note",children:"During moratorium period no amount has to be paid"})]})]}),v.jsxs("div",{className:"col-md-5 text-center",children:[v.jsx("div",{className:"pie-chart-container",children:v.jsx(tX,{width:"100%",height:200,children:v.jsx(oJ,{children:v.jsx(z6,{data:[{name:"Principal",value:n.principal},{name:"Interest",value:n.interest}],cx:"50%",cy:"50%",innerRadius:50,outerRadius:80,dataKey:"value",children:l.map((p,m)=>v.jsx(_v,{fill:p},`cell-${m}`))})})})}),v.jsxs("div",{className:"results-container mt-4",children:[v.jsxs("div",{className:"result-item",children:[v.jsx("span",{className:"result-label",children:"Principal:"}),v.jsxs("span",{className:"result-value",children:["₹",n.principal.toLocaleString("en-IN")]})]}),v.jsxs("div",{className:"result-item",children:[v.jsx("span",{className:"result-label",children:"Interest:"}),v.jsxs("span",{className:"result-value",children:["₹",n.interest.toLocaleString("en-IN")]})]}),v.jsxs("div",{className:"result-item total",children:[v.jsx("span",{className:"result-label",children:"Total:"}),v.jsxs("span",{className:"result-value",children:["₹",n.totalAmount.toLocaleString("en-IN")]})]}),v.jsxs("div",{className:"emi-results mt-4",children:[v.jsxs("div",{className:"emi-item",children:[v.jsx("span",{className:"emi-label",children:"EMI during moratorium:"}),v.jsxs("span",{className:"emi-value",children:["₹",n.emiDuringMoratorium.toLocaleString("en-IN")]})]}),v.jsxs("div",{className:"emi-item",children:[v.jsx("span",{className:"emi-label",children:"EMI post moratorium:"}),v.jsxs("span",{className:"emi-value",children:["₹",n.emiPostMoratorium.toLocaleString("en-IN")]})]})]}),v.jsx("button",{className:"btn-eligibility mt-4",children:"Check eligibility"})]})]})]}),v.jsx("div",{className:"row mb-5",children:v.jsxs("div",{className:"col-12",children:[v.jsxs("div",{className:"section-header",children:[v.jsx("h2",{children:"Why Choose Our Education Loans?"}),v.jsx("p",{children:"Benefits that make us stand out"})]}),v.jsx("div",{className:"row",children:f.map((p,m)=>v.jsx("div",{className:"col-md-6 col-lg-3 mb-4",children:v.jsxs("div",{className:"feature-card",children:[v.jsx("div",{className:"feature-icon",children:p.icon}),v.jsx("h4",{children:p.title}),v.jsx("p",{children:p.description})]})},m))})]})}),v.jsx("div",{className:"row",children:v.jsxs("div",{className:"col-12",children:[v.jsxs("div",{className:"section-header",children:[v.jsx("h2",{children:"Frequently Asked Questions"}),v.jsx("p",{children:"Get answers to common questions about education loans"})]}),v.jsx("div",{className:"accordion",id:"faqAccordion",children:h.map((p,m)=>v.jsxs("div",{className:"accordion-item",children:[v.jsx("h2",{className:"accordion-header",children:v.jsx("button",{className:`accordion-button ${m===0?"":"collapsed"}`,type:"button","data-bs-toggle":"collapse","data-bs-target":`#faq${m}`,children:p.question})}),v.jsx("div",{id:`faq${m}`,className:`accordion-collapse collapse ${m===0?"show":""}`,"data-bs-parent":"#faqAccordion",children:v.jsx("div",{className:"accordion-body",children:p.answer})})]},m))}),v.jsx("div",{className:"contact-support mt-4 text-center",children:v.jsxs("p",{children:["Still have questions? Contact our education loan specialists at ",v.jsx("strong",{children:"1800-123-4567"})]})})]})}),v.jsx("style",{jsx:!0,children:` :root { --primary-color: #57b1e3; --primary-dark-color: #016eb6; --secondary-color: #685873; --primary-light: rgba(87, 177, 227, 0.1); --text-dark: #333333; --text-light: #ffffff; --background-light: #ffffff; --shadow: 0 5px 20px rgba(0, 0, 0, 0.08); --transition: all 0.3s ease; } .fly-loan-calculator { padding-bottom: 3rem; } .calculator-header h1 { color: var(--primary-dark-color); font-weight: 800; font-size: 2.5rem; letter-spacing: -0.5px; } .subtitle { color: var(--secondary-color); font-size: 1.4rem; font-weight: 500; } .section-header { text-align: center; margin-bottom: 2.5rem; } .section-header h2 { color: var(--primary-dark-color); font-weight: 700; margin-bottom: 0.5rem; } .section-header p { color: var(--secondary-color); font-size: 1.1rem; } /* Input Styles */ .input-group-modern { padding: 1rem 1.5rem; background: var(--background-light); border-radius: 12px; box-shadow: var(--shadow); transition: var(--transition); } .input-group-modern:hover { box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12); } .input-label { display: block; font-weight: 600; color: var(--text-dark); margin-bottom: 0.8rem; font-size: 1.1rem; } .form-range-modern { width: 100%; height: 8px; border-radius: 4px; background: #e9ecef; outline: none; -webkit-appearance: none; transition: var(--transition); } .form-range-modern::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--primary-color); cursor: pointer; border: 3px solid white; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); transition: var(--transition); } .form-range-modern::-webkit-slider-thumb:hover { background: var(--primary-dark-color); transform: scale(1.1); } .input-value { margin-top: 0.8rem; font-weight: 600; color: var(--primary-dark-color); font-size: 1.1rem; } .input-note { display: block; margin-top: 0.5rem; color: #6c757d; font-size: 0.85rem; font-style: italic; } /* Results Styles */ .pie-chart-container { background: var(--background-light); border-radius: 12px; padding: 1.5rem; box-shadow: var(--shadow); } .results-container { background: var(--background-light); border-radius: 12px; padding: 1.5rem; box-shadow: var(--shadow); } .result-item { display: flex; justify-content: space-between; padding: 0.6rem 0; border-bottom: 1px solid #f0f0f0; } .result-item.total { border-top: 2px solid var(--primary-color); border-bottom: none; font-weight: 700; margin-top: 0.5rem; padding-top: 1rem; } .result-label { color: var(--text-dark); } .result-value { font-weight: 600; color: var(--primary-dark-color); } .emi-results { padding: 1rem; background: var(--primary-light); border-radius: 10px; } .emi-item { display: flex; justify-content: space-between; margin-bottom: 0.5rem; } .emi-item:last-child { margin-bottom: 0; } .emi-label { color: var(--text-dark); } .emi-value { font-weight: 700; color: var(--primary-dark-color); } .btn-eligibility { background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark-color) 100%); color: white; border: none; padding: 1rem 2rem; font-weight: 600; border-radius: 8px; width: 100%; transition: var(--transition); box-shadow: 0 4px 12px rgba(1, 110, 182, 0.3); } .btn-eligibility:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(1, 110, 182, 0.4); } /* Schedule Table */ .schedule-table-container { max-height: 400px; overflow-y: auto; border-radius: 8px; box-shadow: var(--shadow); } /* Feature Cards */ .feature-card { background: var(--background-light); border-radius: 12px; padding: 1.5rem; box-shadow: var(--shadow); height: 100%; transition: var(--transition); text-align: center; } .feature-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); } .feature-icon { font-size: 2.5rem; margin-bottom: 1rem; } .feature-card h4 { color: var(--primary-dark-color); margin-bottom: 1rem; font-size: 1.2rem; font-weight: 600; } /* Accordion Styles */ .accordion-button { font-weight: 600; color: var(--text-dark); } .accordion-button:not(.collapsed) { background-color: var(--primary-light); color: var(--primary-dark-color); } .contact-support { background: var(--primary-light); padding: 1.5rem; border-radius: 12px; } @media (max-width: 768px) { .calculator-header h1 { font-size: 2rem; } .subtitle { font-size: 1.2rem; } .input-group-modern { padding: 0.8rem 1rem; } } `})]})]})}const cJ="/assets/usa-B7bT2DfV.webp";function uJ(){const{slug:e}=GP(),[t,n]=j.useState("why"),[i,a]=j.useState(null);j.useEffect(()=>{zd.init({duration:800,easing:"ease-in-out",once:!0,offset:100})},[]),j.useEffect(()=>{zd.refresh()},[t]);const o=[{name:"Fulbright-Nehru Fellowships",type:"Government-funded",coverage:"Full tuition + living",deadline:"Oct 15"},{name:"Hubert Humphrey Fellowship",type:"Government-funded",coverage:"10-month program",deadline:"Apr 30"},{name:"#YouAreWelcomeHere",type:"Non-Government",coverage:"Partial tuition",deadline:"Jan 15"},{name:"UEFA Scholarships",type:"Non-Government",coverage:"Summer program",deadline:"Mar 1"},{name:"AAUW Fellowships",type:"Non-Government",coverage:"Women students",deadline:"Nov 15"}],l=[{type:"F-1 Student Visa",description:"For accredited US colleges/universities",processing:"3-5 weeks"},{type:"J Exchange Visa (J-1)",description:"For exchange programs",processing:"4-6 weeks"},{type:"M Student Visa (M1)",description:"For vocational study/training",processing:"5-7 weeks"}],u=[{item:"Books and Stationery",cost:"$500 - $1,000",icon:v.jsx(ob,{})},{item:"Travelling",cost:"$500 - $1,200",icon:v.jsx(K7,{})},{item:"Food",cost:"$2,500",icon:v.jsx(nL,{})},{item:"Clothes and footwear",cost:"$500",icon:v.jsx(lL,{})},{item:"Miscellaneous",cost:"$2,000",icon:v.jsx(eL,{})}],f=[{question:"How much will it cost to study in USA?",answer:"Tuition fees range from $8,000 to $55,000 (USD) per year depending on the program and institution type."},{question:"What is the duration of foundation or diploma programs in the US?",answer:"Typically one year, with most programs starting in September."},{question:"Can I work in USA during and after studies?",answer:"Yes, with proper authorization through CPT, OPT, or on-campus employment options."},{question:"What are the popular scholarships to study in the US?",answer:"Fulbright-Nehru Fellowships, Hubert Humphrey Fellowship, #YouAreWelcomeHere, IEFA, and AAUW International Fellowships."},{question:"How can I go to US for studies?",answer:"Research courses and universities, then contact education experts for guidance on the application process."}],h=[{icon:v.jsx(Dm,{}),text:"Copy of a valid passport"},{icon:v.jsx(TS,{}),text:"Proof of English proficiency (TOEFL/IELTS test scores)"},{icon:v.jsx(n4,{}),text:"ACT/SAT/LSAT for UG programs, GMAT/GRE scores for PG programs"},{icon:v.jsx(jm,{}),text:"Academic Transcripts from the previous study"},{icon:v.jsx(cL,{}),text:"Academic Reference Letters"},{icon:v.jsx(SS,{}),text:"Letters of recommendation from the employer/manager (if applicable)"},{icon:v.jsx(jm,{}),text:"CV/Resume"},{icon:v.jsx(ob,{}),text:"Statement of Purpose (SOP)"},{icon:v.jsx(jm,{}),text:"Essays (if demanded by the university)"},{icon:v.jsx(sL,{}),text:"Portfolio (for specific courses)"},{icon:v.jsx(W7,{}),text:"Certificates of extracurricular activities"},{icon:v.jsx(aL,{}),text:"Evidence of funds"}],p=[{stage:"Research & Shortlisting",duration:"12-18 months before",description:"Research universities and programs that match your profile"},{stage:"Exam Preparation",duration:"10-12 months before",description:"Prepare for required exams (TOEFL/IELTS, GRE/GMAT)"},{stage:"Applications",duration:"8-10 months before",description:"Submit applications to selected universities"},{stage:"Acceptance",duration:"4-6 months before",description:"Receive acceptance letters from universities"},{stage:"Visa Application",duration:"3-4 months before",description:"Apply for student visa after receiving I-20"},{stage:"Pre-departure",duration:"1-2 months before",description:"Book flights, arrange accommodation, and prepare for departure"}],m=["Finance","Marketing","International Business","Consulting","Strategy","IT Management","Entrepreneurship"],b=w=>{a(i===w?null:w)};return v.jsxs("div",{className:"destination",children:[v.jsx("section",{className:"destination-hero",children:v.jsx("div",{className:"destination-container",children:v.jsxs("div",{className:"destination-hero-content",children:[v.jsxs("div",{className:"destination-hero-text","data-aos":"fade-right",children:[v.jsxs("h1",{children:["Study in the"," ",v.jsx("span",{className:"destination-text-gradient",children:"USA"})]}),v.jsx("p",{children:"Explore diverse academic opportunities and vibrant culture in the USA, a global hub for higher education and personal growth."}),v.jsxs("div",{className:"destination-hero-stats","data-aos":"fade-up","data-aos-delay":"200",children:[v.jsxs("div",{className:"destination-stat",children:[v.jsx("div",{className:"destination-stat-number",children:"10"}),v.jsx("div",{className:"destination-stat-label",children:"Top 20 Global Universities"})]}),v.jsxs("div",{className:"destination-stat",children:[v.jsx("div",{className:"destination-stat-number",children:"4000+"}),v.jsx("div",{className:"destination-stat-label",children:"Institutions"})]}),v.jsxs("div",{className:"destination-stat",children:[v.jsx("div",{className:"destination-stat-number",children:"1M+"}),v.jsx("div",{className:"destination-stat-label",children:"International Students"})]})]}),v.jsxs("button",{className:"destination-cta-button","data-aos":"fade-up","data-aos-delay":"400",children:["Avail FREE Counselling ",v.jsx(ui,{})]})]}),v.jsx("div",{className:"destination-hero-visual","data-aos":"fade-left",children:v.jsx("div",{className:"destination-main-hero-image","data-aos":"zoom-in","data-aos-delay":"800",children:v.jsx("img",{className:"destination-image-placeholder",src:cJ,alt:"USA"})})})]})})}),v.jsx("section",{className:"destination-tabs-section",children:v.jsx("div",{className:"destination-container",children:v.jsxs("div",{className:"destination-tabs",children:[v.jsx("button",{className:`destination-tab ${t==="why"?"destination-tab-active":""}`,onClick:()=>n("why"),children:"Why USA?"}),v.jsx("button",{className:`destination-tab ${t==="admission"?"destination-tab-active":""}`,onClick:()=>n("admission"),children:"Admission"}),v.jsx("button",{className:`destination-tab ${t==="cost"?"destination-tab-active":""}`,onClick:()=>n("cost"),children:"Cost & Scholarships"}),v.jsx("button",{className:`destination-tab ${t==="visa"?"destination-tab-active":""}`,onClick:()=>n("visa"),children:"Visa Process"})]})})}),t==="why"&&v.jsx("section",{className:"destination-why-section",children:v.jsxs("div",{className:"destination-container",children:[v.jsxs("h2",{"data-aos":"fade-up",children:["Why Indian Students Choose the"," ",v.jsx("span",{className:"destination-text-gradient",children:"USA"})]}),v.jsx("p",{className:"destination-section-subtitle","data-aos":"fade-up","data-aos-delay":"100",children:"The United States stands as the premier destination for Indian students globally, offering unparalleled opportunities for growth."}),v.jsx("div",{className:"destination-features-grid",children:[{icon:v.jsx(lb,{}),title:"Global Leadership",description:"Home to 10 of the top 20 universities worldwide according to QS Rankings 2025"},{icon:v.jsx(J7,{}),title:"Research & Innovation",description:"World leader in R&D spending with cutting-edge facilities and research opportunities"},{icon:v.jsx(TS,{}),title:"Cultural Diversity",description:"Hosts more Indian students than any other country with vibrant multicultural communities"},{icon:v.jsx(SS,{}),title:"Career Opportunities",description:"Industry-aligned programs with internships at leading global corporations"},{icon:v.jsx(Z7,{}),title:"Flexible Curriculum",description:"Tailor your studies to specific interests and career goals with interdisciplinary options"},{icon:v.jsx(iL,{}),title:"Student Support",description:"Robust support systems including orientation programs and visa assistance"}].map((w,_)=>v.jsxs("div",{className:"destination-feature-card","data-aos":"fade-up","data-aos-delay":_*100,children:[v.jsx("div",{className:"destination-feature-icon",children:w.icon}),v.jsx("h3",{children:w.title}),v.jsx("p",{children:w.description})]},_))}),v.jsxs("div",{className:"destination-courses-section","data-aos":"fade-up","data-aos-delay":"200",children:[v.jsx("h3",{children:"Popular Fields of Study"}),v.jsx("div",{className:"destination-courses-chart",children:[{percentage:"85%",field:"Engineering & CS"},{percentage:"70%",field:"Business Management"},{percentage:"60%",field:"Life Sciences"},{percentage:"45%",field:"Other Fields"}].map((w,_)=>v.jsxs("div",{className:"destination-course-category","data-aos":"slide-right","data-aos-delay":_*100,children:[v.jsx("div",{className:"destination-course-progress",style:{"--progress":w.percentage},children:v.jsx("span",{children:w.percentage})}),v.jsx("h4",{children:w.field})]},_))})]})]})}),t==="cost"&&v.jsx("section",{className:"destination-cost-section",children:v.jsxs("div",{className:"destination-container",children:[v.jsxs("h2",{"data-aos":"fade-up",children:["Cost of Education &"," ",v.jsx("span",{className:"destination-text-gradient",children:"Scholarships"})," "]}),v.jsxs("div",{className:"destination-cost-comparison","data-aos":"fade-up","data-aos-delay":"200",children:[v.jsx("h3",{children:"Average Annual Tuition Fees"}),v.jsx("div",{className:"destination-cost-bars",children:[{label:"Community Colleges",width:"30%",amount:"$6K-20K"},{label:"Undergraduate Programs",width:"50%",amount:"$20K-40K"},{label:"Graduate Programs",width:"60%",amount:"$20K-45K"},{label:"Doctoral Degrees",width:"80%",amount:"$28K-55K"}].map((w,_)=>v.jsxs("div",{className:"destination-cost-item","data-aos":"slide-right","data-aos-delay":_*100,children:[v.jsx("span",{className:"destination-cost-label",children:w.label}),v.jsx("div",{className:"destination-cost-bar",children:v.jsx("div",{className:"destination-cost-amount",style:{width:w.width},children:w.amount})})]},_))})]}),v.jsxs("div",{className:"destination-scholarships-section","data-aos":"fade-up","data-aos-delay":"300",children:[v.jsx("h3",{children:"Scholarships for Indian Students"}),v.jsx("div",{className:"destination-scholarships-grid",children:o.map((w,_)=>v.jsxs("div",{className:"destination-scholarship-card","data-aos":"zoom-in","data-aos-delay":_*100,children:[v.jsxs("div",{className:"destination-scholarship-header",children:[v.jsx("h4",{children:w.name}),v.jsxs("span",{className:"destination-deadline",children:[" ",w.deadline]})]}),v.jsx("p",{className:"destination-scholarship-type",children:w.type}),v.jsx("p",{className:"destination-scholarship-coverage",children:w.coverage}),v.jsx("button",{className:"destination-card-button",children:"Apply Now"})]},_))})]}),v.jsxs("div",{className:"destination-living-costs","data-aos":"fade-up","data-aos-delay":"400",children:[v.jsx("h3",{children:"Cost of Living (Annual)"}),v.jsx("div",{className:"destination-costs-grid",children:u.map((w,_)=>v.jsxs("div",{className:"destination-cost-item-card","data-aos":"flip-up","data-aos-delay":_*100,children:[v.jsx("div",{className:"destination-cost-icon",children:w.icon}),v.jsx("h4",{children:w.item}),v.jsx("p",{children:w.cost})]},_))})]})]})}),t==="admission"&&v.jsx("section",{className:"destination-admission-section",children:v.jsxs("div",{className:"destination-container",children:[v.jsxs("h2",{"data-aos":"fade-up",children:["Admission Requirements for"," ",v.jsx("span",{className:"destination-text-gradient",children:" US Study"})," "]}),v.jsx("p",{className:"destination-section-subtitle","data-aos":"fade-up","data-aos-delay":"100",children:"Essential documents and qualifications needed for your US university application"}),v.jsx("div",{className:"destination-requirements-grid",children:h.map((w,_)=>v.jsxs("div",{className:"destination-requirement-card","data-aos":"zoom-in","data-aos-delay":_*50,children:[v.jsx("div",{className:"destination-requirement-icon",children:w.icon}),v.jsx("p",{children:w.text})]},_))}),v.jsxs("div",{className:"destination-admission-timeline","data-aos":"fade-up","data-aos-delay":"300",children:[v.jsx("h3",{children:"Admission Timeline"}),v.jsx("div",{className:"destination-timeline",children:p.map((w,_)=>v.jsxs("div",{className:"destination-timeline-item","data-aos":"fade-right","data-aos-delay":_*100,children:[v.jsxs("div",{className:"destination-timeline-marker",children:[v.jsx("div",{className:"destination-timeline-dot"}),_<p.length-1&&v.jsx("div",{className:"destination-timeline-line"})]}),v.jsxs("div",{className:"destination-timeline-content",children:[v.jsx("h4",{children:w.stage}),v.jsx("p",{className:"destination-timeline-duration",children:w.duration}),v.jsx("p",{children:w.description})]})]},_))})]}),v.jsxs("div",{className:"destination-mba-programs","data-aos":"fade-up","data-aos-delay":"400",children:[v.jsx("h3",{children:"Popular MBA Specializations"}),v.jsx("div",{className:"destination-programs-grid",children:m.map((w,_)=>v.jsx("div",{className:"destination-program-card","data-aos":"zoom-in","data-aos-delay":_*100,children:v.jsx("h4",{children:w})},_))}),v.jsxs("div",{className:"destination-mba-info","data-aos":"fade-up","data-aos-delay":"500",children:[v.jsxs("div",{className:"destination-info-card",children:[v.jsx("h4",{children:"How to Apply"}),v.jsx("p",{children:"MBA applications are submitted directly to the universities through their online portals."})]}),v.jsxs("div",{className:"destination-info-card",children:[v.jsx("h4",{children:"Cost Estimate"}),v.jsxs("p",{className:"destination-cost-estimate",children:["$60,000 - $48,000 ",v.jsx("br",{}),"(₹44,61,864 - ₹35,69,491) per year"]})]})]})]}),v.jsxs("div",{className:"destination-additional-info","data-aos":"fade-up","data-aos-delay":"600",children:[v.jsx("h3",{children:"Post-Admission Process"}),v.jsx("div",{className:"destination-info-grid",children:[{icon:v.jsx(lb,{}),title:"University Acceptance",description:"Receive your I-20 form after accepting an offer from a university"},{icon:v.jsx(Dm,{}),title:"Visa Application",description:"Apply for your student visa with the I-20 and other required documents"},{icon:v.jsx(i4,{}),title:"Accommodation",description:"Arrange for on-campus or off-campus housing before your arrival"},{icon:v.jsx(Q7,{}),title:"Orientation",description:"Attend international student orientation programs upon arrival"}].map((w,_)=>v.jsxs("div",{className:"destination-info-item","data-aos":"flip-left","data-aos-delay":_*100,children:[v.jsx("div",{className:"destination-info-icon",children:w.icon}),v.jsx("h4",{children:w.title}),v.jsx("p",{children:w.description})]},_))})]})]})}),t==="visa"&&v.jsx("section",{className:"destination-visa-section",children:v.jsxs("div",{className:"destination-container",children:[v.jsxs("h2",{"data-aos":"fade-up",children:["Student ",v.jsx("span",{className:"destination-text-gradient",children:" Visa Process"})]}),v.jsx("div",{className:"destination-visa-types",children:l.map((w,_)=>v.jsxs("div",{className:"destination-visa-card","data-aos":"zoom-in","data-aos-delay":_*150,children:[v.jsx("div",{className:"destination-visa-icon",children:v.jsx(Dm,{})}),v.jsx("h3",{children:w.type}),v.jsx("p",{children:w.description}),v.jsxs("div",{className:"destination-processing-time",children:["Processing: ",w.processing]})]},_))}),v.jsxs("div",{className:"destination-process-steps","data-aos":"fade-up","data-aos-delay":"300",children:[v.jsx("h3",{children:"Application Process"}),v.jsx("div",{className:"destination-steps",children:[{title:"Get Accepted",description:"Receive acceptance from a SEVP-approved school"},{title:"Pay SEVIS Fee",description:"Pay the I-901 SEVIS fee and obtain receipt"},{title:"Complete DS-160",description:"Fill out the Online Nonimmigrant Visa Application"},{title:"Schedule Interview",description:"Book appointment at US Embassy or Consulate"},{title:"Attend Interview",description:"Bring required documents and answer questions"}].map((w,_)=>v.jsxs("div",{className:"destination-step","data-aos":"fade-right","data-aos-delay":_*100,children:[v.jsx("div",{className:"destination-step-number",children:_+1}),v.jsx("h4",{children:w.title}),v.jsx("p",{children:w.description})]},_))})]}),v.jsxs("div",{className:"destination-faq-section","data-aos":"fade-up","data-aos-delay":"400",children:[v.jsx("h3",{children:"Frequently Asked Questions"}),v.jsx("div",{className:"destination-faqs",children:f.map((w,_)=>v.jsxs("div",{className:"destination-faq-item","data-aos":"fade-up","data-aos-delay":_*100,children:[v.jsxs("div",{className:"destination-faq-question",onClick:()=>b(_),children:[v.jsx("h4",{children:w.question}),i===_?v.jsx(X7,{}):v.jsx(Nm,{})]}),i===_&&v.jsx("div",{className:"destination-faq-answer","data-aos":"fade-down",children:v.jsx("p",{children:w.answer})})]},_))})]})]})}),v.jsx("div",{"data-aos":"fade-up",children:v.jsx(h4,{})})]})}function fJ(){return j.useEffect(()=>{window._aw||(window._aw=function(){(window._aw.q=window._aw.q||[]).push(arguments)});const e=document.createElement("script");return e.src="https://d341zbz41jo7w1.cloudfront.net/widget/list/3.1.0.js",e.async=!0,document.body.appendChild(e),e.onload=()=>{window._aw("init",{element:document.getElementById("amber-widget"),location:"london",partnerId:"uc-global--590be3c9",fontFamily:"",sort:"Recommended",numListings:6})},document.body.appendChild(e),()=>{document.body.removeChild(e)}},[]),v.jsxs("div",{children:[v.jsx("div",{id:"amber-widget"}),v.jsx("div",{className:"amber-link",style:{textAlign:"center"}})]})}function dJ(e){return Xe({attr:{viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{d:"M9 2a1 1 0 000 2h2a1 1 0 100-2H9z"},child:[]},{tag:"path",attr:{fillRule:"evenodd",d:"M4 5a2 2 0 012-2 3 3 0 003 3h2a3 3 0 003-3 2 2 0 012 2v11a2 2 0 01-2 2H6a2 2 0 01-2-2V5zm3 4a1 1 0 000 2h.01a1 1 0 100-2H7zm3 0a1 1 0 000 2h3a1 1 0 100-2h-3zm-3 4a1 1 0 100 2h.01a1 1 0 100-2H7zm3 0a1 1 0 100 2h3a1 1 0 100-2h-3z",clipRule:"evenodd"},child:[]}]})(e)}function hJ(e){return Xe({attr:{viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{d:"M8.433 7.418c.155-.103.346-.196.567-.267v1.698a2.305 2.305 0 01-.567-.267C8.07 8.34 8 8.114 8 8c0-.114.07-.34.433-.582zM11 12.849v-1.698c.22.071.412.164.567.267.364.243.433.468.433.582 0 .114-.07.34-.433.582a2.305 2.305 0 01-.567.267z"},child:[]},{tag:"path",attr:{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm1-13a1 1 0 10-2 0v.092a4.535 4.535 0 00-1.676.662C6.602 6.234 6 7.009 6 8c0 .99.602 1.765 1.324 2.246.48.32 1.054.545 1.676.662v1.941c-.391-.127-.68-.317-.843-.504a1 1 0 10-1.51 1.31c.562.649 1.413 1.076 2.353 1.253V15a1 1 0 102 0v-.092a4.535 4.535 0 001.676-.662C13.398 13.766 14 12.991 14 12c0-.99-.602-1.765-1.324-2.246A4.535 4.535 0 0011 9.092V7.151c.391.127.68.317.843.504a1 1 0 101.511-1.31c-.563-.649-1.413-1.076-2.354-1.253V5z",clipRule:"evenodd"},child:[]}]})(e)}function pJ(e){return Xe({attr:{viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{d:"M10 6a2 2 0 110-4 2 2 0 010 4zM10 12a2 2 0 110-4 2 2 0 010 4zM10 18a2 2 0 110-4 2 2 0 010 4z"},child:[]}]})(e)}function mJ(e){return Xe({attr:{viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{d:"M10.707 2.293a1 1 0 00-1.414 0l-7 7a1 1 0 001.414 1.414L4 10.414V17a1 1 0 001 1h2a1 1 0 001-1v-2a1 1 0 011-1h2a1 1 0 011 1v2a1 1 0 001 1h2a1 1 0 001-1v-6.586l.293.293a1 1 0 001.414-1.414l-7-7z"},child:[]}]})(e)}function gJ(e){return Xe({attr:{viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M12 1.586l-4 4v12.828l4-4V1.586zM3.707 3.293A1 1 0 002 4v10a1 1 0 00.293.707L6 18.414V5.586L3.707 3.293zM17.707 5.293L14 1.586v12.828l2.293 2.293A1 1 0 0018 16V6a1 1 0 00-.293-.707z",clipRule:"evenodd"},child:[]}]})(e)}function vJ(e){return Xe({attr:{viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M4 4a2 2 0 012-2h8a2 2 0 012 2v12a1 1 0 110 2h-3a1 1 0 01-1-1v-2a1 1 0 00-1-1H9a1 1 0 00-1 1v2a1 1 0 01-1 1H4a1 1 0 110-2V4zm3 1h2v2H7V5zm2 4H7v2h2V9zm2-4h2v2h-2V5zm2 4h-2v2h2V9z",clipRule:"evenodd"},child:[]}]})(e)}var Qn="top",ji="bottom",Di="right",Zn="left",Ev="auto",$u=[Qn,ji,Di,Zn],jl="start",vu="end",Z6="clippingParents",j2="viewport",Gc="popper",J6="reference",dx=$u.reduce(function(e,t){return e.concat([t+"-"+jl,t+"-"+vu])},[]),D2=[].concat($u,[Ev]).reduce(function(e,t){return e.concat([t,t+"-"+jl,t+"-"+vu])},[]),eD="beforeRead",tD="read",nD="afterRead",iD="beforeMain",rD="main",aD="afterMain",sD="beforeWrite",oD="write",lD="afterWrite",cD=[eD,tD,nD,iD,rD,aD,sD,oD,lD];function ua(e){return e?(e.nodeName||"").toLowerCase():null}function Pi(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Dl(e){var t=Pi(e).Element;return e instanceof t||e instanceof Element}function nr(e){var t=Pi(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function P2(e){if(typeof ShadowRoot>"u")return!1;var t=Pi(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function yJ(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var i=t.styles[n]||{},a=t.attributes[n]||{},o=t.elements[n];!nr(o)||!ua(o)||(Object.assign(o.style,i),Object.keys(a).forEach(function(l){var u=a[l];u===!1?o.removeAttribute(l):o.setAttribute(l,u===!0?"":u)}))})}function bJ(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(i){var a=t.elements[i],o=t.attributes[i]||{},l=Object.keys(t.styles.hasOwnProperty(i)?t.styles[i]:n[i]),u=l.reduce(function(f,h){return f[h]="",f},{});!nr(a)||!ua(a)||(Object.assign(a.style,u),Object.keys(o).forEach(function(f){a.removeAttribute(f)}))})}}const L2={name:"applyStyles",enabled:!0,phase:"write",fn:yJ,effect:bJ,requires:["computeStyles"]};function sa(e){return e.split("-")[0]}var Al=Math.max,Bg=Math.min,yu=Math.round;function hx(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function uD(){return!/^((?!chrome|android).)*safari/i.test(hx())}function bu(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var i=e.getBoundingClientRect(),a=1,o=1;t&&nr(e)&&(a=e.offsetWidth>0&&yu(i.width)/e.offsetWidth||1,o=e.offsetHeight>0&&yu(i.height)/e.offsetHeight||1);var l=Dl(e)?Pi(e):window,u=l.visualViewport,f=!uD()&&n,h=(i.left+(f&&u?u.offsetLeft:0))/a,p=(i.top+(f&&u?u.offsetTop:0))/o,m=i.width/a,b=i.height/o;return{width:m,height:b,top:p,right:h+m,bottom:p+b,left:h,x:h,y:p}}function k2(e){var t=bu(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function fD(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&P2(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function ss(e){return Pi(e).getComputedStyle(e)}function xJ(e){return["table","td","th"].indexOf(ua(e))>=0}function Mo(e){return((Dl(e)?e.ownerDocument:e.document)||window.document).documentElement}function Sv(e){return ua(e)==="html"?e:e.assignedSlot||e.parentNode||(P2(e)?e.host:null)||Mo(e)}function K3(e){return!nr(e)||ss(e).position==="fixed"?null:e.offsetParent}function wJ(e){var t=/firefox/i.test(hx()),n=/Trident/i.test(hx());if(n&&nr(e)){var i=ss(e);if(i.position==="fixed")return null}var a=Sv(e);for(P2(a)&&(a=a.host);nr(a)&&["html","body"].indexOf(ua(a))<0;){var o=ss(a);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return a;a=a.parentNode}return null}function vh(e){for(var t=Pi(e),n=K3(e);n&&xJ(n)&&ss(n).position==="static";)n=K3(n);return n&&(ua(n)==="html"||ua(n)==="body"&&ss(n).position==="static")?t:n||wJ(e)||t}function R2(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Od(e,t,n){return Al(e,Bg(t,n))}function _J(e,t,n){var i=Od(e,t,n);return i>n?n:i}function dD(){return{top:0,right:0,bottom:0,left:0}}function hD(e){return Object.assign({},dD(),e)}function pD(e,t){return t.reduce(function(n,i){return n[i]=e,n},{})}var EJ=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,hD(typeof t!="number"?t:pD(t,$u))};function SJ(e){var t,n=e.state,i=e.name,a=e.options,o=n.elements.arrow,l=n.modifiersData.popperOffsets,u=sa(n.placement),f=R2(u),h=[Zn,Di].indexOf(u)>=0,p=h?"height":"width";if(!(!o||!l)){var m=EJ(a.padding,n),b=k2(o),w=f==="y"?Qn:Zn,_=f==="y"?ji:Di,E=n.rects.reference[p]+n.rects.reference[f]-l[f]-n.rects.popper[p],O=l[f]-n.rects.reference[f],C=vh(o),T=C?f==="y"?C.clientHeight||0:C.clientWidth||0:0,A=E/2-O/2,k=m[w],D=T-b[p]-m[_],R=T/2-b[p]/2+A,B=Od(k,R,D),$=f;n.modifiersData[i]=(t={},t[$]=B,t.centerOffset=B-R,t)}}function TJ(e){var t=e.state,n=e.options,i=n.element,a=i===void 0?"[data-popper-arrow]":i;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||fD(t.elements.popper,a)&&(t.elements.arrow=a))}const mD={name:"arrow",enabled:!0,phase:"main",fn:SJ,effect:TJ,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function xu(e){return e.split("-")[1]}var AJ={top:"auto",right:"auto",bottom:"auto",left:"auto"};function CJ(e,t){var n=e.x,i=e.y,a=t.devicePixelRatio||1;return{x:yu(n*a)/a||0,y:yu(i*a)/a||0}}function W3(e){var t,n=e.popper,i=e.popperRect,a=e.placement,o=e.variation,l=e.offsets,u=e.position,f=e.gpuAcceleration,h=e.adaptive,p=e.roundOffsets,m=e.isFixed,b=l.x,w=b===void 0?0:b,_=l.y,E=_===void 0?0:_,O=typeof p=="function"?p({x:w,y:E}):{x:w,y:E};w=O.x,E=O.y;var C=l.hasOwnProperty("x"),T=l.hasOwnProperty("y"),A=Zn,k=Qn,D=window;if(h){var R=vh(n),B="clientHeight",$="clientWidth";if(R===Pi(n)&&(R=Mo(n),ss(R).position!=="static"&&u==="absolute"&&(B="scrollHeight",$="scrollWidth")),R=R,a===Qn||(a===Zn||a===Di)&&o===vu){k=ji;var F=m&&R===D&&D.visualViewport?D.visualViewport.height:R[B];E-=F-i.height,E*=f?1:-1}if(a===Zn||(a===Qn||a===ji)&&o===vu){A=Di;var X=m&&R===D&&D.visualViewport?D.visualViewport.width:R[$];w-=X-i.width,w*=f?1:-1}}var H=Object.assign({position:u},h&&AJ),U=p===!0?CJ({x:w,y:E},Pi(n)):{x:w,y:E};if(w=U.x,E=U.y,f){var se;return Object.assign({},H,(se={},se[k]=T?"0":"",se[A]=C?"0":"",se.transform=(D.devicePixelRatio||1)<=1?"translate("+w+"px, "+E+"px)":"translate3d("+w+"px, "+E+"px, 0)",se))}return Object.assign({},H,(t={},t[k]=T?E+"px":"",t[A]=C?w+"px":"",t.transform="",t))}function OJ(e){var t=e.state,n=e.options,i=n.gpuAcceleration,a=i===void 0?!0:i,o=n.adaptive,l=o===void 0?!0:o,u=n.roundOffsets,f=u===void 0?!0:u,h={placement:sa(t.placement),variation:xu(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,W3(Object.assign({},h,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:f})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,W3(Object.assign({},h,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const z2={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:OJ,data:{}};var wm={passive:!0};function MJ(e){var t=e.state,n=e.instance,i=e.options,a=i.scroll,o=a===void 0?!0:a,l=i.resize,u=l===void 0?!0:l,f=Pi(t.elements.popper),h=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&h.forEach(function(p){p.addEventListener("scroll",n.update,wm)}),u&&f.addEventListener("resize",n.update,wm),function(){o&&h.forEach(function(p){p.removeEventListener("scroll",n.update,wm)}),u&&f.removeEventListener("resize",n.update,wm)}}const I2={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:MJ,data:{}};var NJ={left:"right",right:"left",bottom:"top",top:"bottom"};function Bm(e){return e.replace(/left|right|bottom|top/g,function(t){return NJ[t]})}var jJ={start:"end",end:"start"};function X3(e){return e.replace(/start|end/g,function(t){return jJ[t]})}function $2(e){var t=Pi(e),n=t.pageXOffset,i=t.pageYOffset;return{scrollLeft:n,scrollTop:i}}function B2(e){return bu(Mo(e)).left+$2(e).scrollLeft}function DJ(e,t){var n=Pi(e),i=Mo(e),a=n.visualViewport,o=i.clientWidth,l=i.clientHeight,u=0,f=0;if(a){o=a.width,l=a.height;var h=uD();(h||!h&&t==="fixed")&&(u=a.offsetLeft,f=a.offsetTop)}return{width:o,height:l,x:u+B2(e),y:f}}function PJ(e){var t,n=Mo(e),i=$2(e),a=(t=e.ownerDocument)==null?void 0:t.body,o=Al(n.scrollWidth,n.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),l=Al(n.scrollHeight,n.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),u=-i.scrollLeft+B2(e),f=-i.scrollTop;return ss(a||n).direction==="rtl"&&(u+=Al(n.clientWidth,a?a.clientWidth:0)-o),{width:o,height:l,x:u,y:f}}function V2(e){var t=ss(e),n=t.overflow,i=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+i)}function gD(e){return["html","body","#document"].indexOf(ua(e))>=0?e.ownerDocument.body:nr(e)&&V2(e)?e:gD(Sv(e))}function Md(e,t){var n;t===void 0&&(t=[]);var i=gD(e),a=i===((n=e.ownerDocument)==null?void 0:n.body),o=Pi(i),l=a?[o].concat(o.visualViewport||[],V2(i)?i:[]):i,u=t.concat(l);return a?u:u.concat(Md(Sv(l)))}function px(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function LJ(e,t){var n=bu(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Q3(e,t,n){return t===j2?px(DJ(e,n)):Dl(t)?LJ(t,n):px(PJ(Mo(e)))}function kJ(e){var t=Md(Sv(e)),n=["absolute","fixed"].indexOf(ss(e).position)>=0,i=n&&nr(e)?vh(e):e;return Dl(i)?t.filter(function(a){return Dl(a)&&fD(a,i)&&ua(a)!=="body"}):[]}function RJ(e,t,n,i){var a=t==="clippingParents"?kJ(e):[].concat(t),o=[].concat(a,[n]),l=o[0],u=o.reduce(function(f,h){var p=Q3(e,h,i);return f.top=Al(p.top,f.top),f.right=Bg(p.right,f.right),f.bottom=Bg(p.bottom,f.bottom),f.left=Al(p.left,f.left),f},Q3(e,l,i));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function vD(e){var t=e.reference,n=e.element,i=e.placement,a=i?sa(i):null,o=i?xu(i):null,l=t.x+t.width/2-n.width/2,u=t.y+t.height/2-n.height/2,f;switch(a){case Qn:f={x:l,y:t.y-n.height};break;case ji:f={x:l,y:t.y+t.height};break;case Di:f={x:t.x+t.width,y:u};break;case Zn:f={x:t.x-n.width,y:u};break;default:f={x:t.x,y:t.y}}var h=a?R2(a):null;if(h!=null){var p=h==="y"?"height":"width";switch(o){case jl:f[h]=f[h]-(t[p]/2-n[p]/2);break;case vu:f[h]=f[h]+(t[p]/2-n[p]/2);break}}return f}function wu(e,t){t===void 0&&(t={});var n=t,i=n.placement,a=i===void 0?e.placement:i,o=n.strategy,l=o===void 0?e.strategy:o,u=n.boundary,f=u===void 0?Z6:u,h=n.rootBoundary,p=h===void 0?j2:h,m=n.elementContext,b=m===void 0?Gc:m,w=n.altBoundary,_=w===void 0?!1:w,E=n.padding,O=E===void 0?0:E,C=hD(typeof O!="number"?O:pD(O,$u)),T=b===Gc?J6:Gc,A=e.rects.popper,k=e.elements[_?T:b],D=RJ(Dl(k)?k:k.contextElement||Mo(e.elements.popper),f,p,l),R=bu(e.elements.reference),B=vD({reference:R,element:A,placement:a}),$=px(Object.assign({},A,B)),F=b===Gc?$:R,X={top:D.top-F.top+C.top,bottom:F.bottom-D.bottom+C.bottom,left:D.left-F.left+C.left,right:F.right-D.right+C.right},H=e.modifiersData.offset;if(b===Gc&&H){var U=H[a];Object.keys(X).forEach(function(se){var ce=[Di,ji].indexOf(se)>=0?1:-1,ge=[Qn,ji].indexOf(se)>=0?"y":"x";X[se]+=U[ge]*ce})}return X}function zJ(e,t){t===void 0&&(t={});var n=t,i=n.placement,a=n.boundary,o=n.rootBoundary,l=n.padding,u=n.flipVariations,f=n.allowedAutoPlacements,h=f===void 0?D2:f,p=xu(i),m=p?u?dx:dx.filter(function(_){return xu(_)===p}):$u,b=m.filter(function(_){return h.indexOf(_)>=0});b.length===0&&(b=m);var w=b.reduce(function(_,E){return _[E]=wu(e,{placement:E,boundary:a,rootBoundary:o,padding:l})[sa(E)],_},{});return Object.keys(w).sort(function(_,E){return w[_]-w[E]})}function IJ(e){if(sa(e)===Ev)return[];var t=Bm(e);return[X3(e),t,X3(t)]}function $J(e){var t=e.state,n=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var a=n.mainAxis,o=a===void 0?!0:a,l=n.altAxis,u=l===void 0?!0:l,f=n.fallbackPlacements,h=n.padding,p=n.boundary,m=n.rootBoundary,b=n.altBoundary,w=n.flipVariations,_=w===void 0?!0:w,E=n.allowedAutoPlacements,O=t.options.placement,C=sa(O),T=C===O,A=f||(T||!_?[Bm(O)]:IJ(O)),k=[O].concat(A).reduce(function(we,Ce){return we.concat(sa(Ce)===Ev?zJ(t,{placement:Ce,boundary:p,rootBoundary:m,padding:h,flipVariations:_,allowedAutoPlacements:E}):Ce)},[]),D=t.rects.reference,R=t.rects.popper,B=new Map,$=!0,F=k[0],X=0;X<k.length;X++){var H=k[X],U=sa(H),se=xu(H)===jl,ce=[Qn,ji].indexOf(U)>=0,ge=ce?"width":"height",q=wu(t,{placement:H,boundary:p,rootBoundary:m,altBoundary:b,padding:h}),te=ce?se?Di:Zn:se?ji:Qn;D[ge]>R[ge]&&(te=Bm(te));var re=Bm(te),pe=[];if(o&&pe.push(q[U]<=0),u&&pe.push(q[te]<=0,q[re]<=0),pe.every(function(we){return we})){F=H,$=!1;break}B.set(H,pe)}if($)for(var z=_?3:1,V=function(Ce){var Ee=k.find(function(Ie){var Ne=B.get(Ie);if(Ne)return Ne.slice(0,Ce).every(function(ne){return ne})});if(Ee)return F=Ee,"break"},oe=z;oe>0;oe--){var ve=V(oe);if(ve==="break")break}t.placement!==F&&(t.modifiersData[i]._skip=!0,t.placement=F,t.reset=!0)}}const yD={name:"flip",enabled:!0,phase:"main",fn:$J,requiresIfExists:["offset"],data:{_skip:!1}};function Z3(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function J3(e){return[Qn,Di,ji,Zn].some(function(t){return e[t]>=0})}function BJ(e){var t=e.state,n=e.name,i=t.rects.reference,a=t.rects.popper,o=t.modifiersData.preventOverflow,l=wu(t,{elementContext:"reference"}),u=wu(t,{altBoundary:!0}),f=Z3(l,i),h=Z3(u,a,o),p=J3(f),m=J3(h);t.modifiersData[n]={referenceClippingOffsets:f,popperEscapeOffsets:h,isReferenceHidden:p,hasPopperEscaped:m},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":m})}const bD={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:BJ};function VJ(e,t,n){var i=sa(e),a=[Zn,Qn].indexOf(i)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,l=o[0],u=o[1];return l=l||0,u=(u||0)*a,[Zn,Di].indexOf(i)>=0?{x:u,y:l}:{x:l,y:u}}function HJ(e){var t=e.state,n=e.options,i=e.name,a=n.offset,o=a===void 0?[0,0]:a,l=D2.reduce(function(p,m){return p[m]=VJ(m,t.rects,o),p},{}),u=l[t.placement],f=u.x,h=u.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=h),t.modifiersData[i]=l}const xD={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:HJ};function qJ(e){var t=e.state,n=e.name;t.modifiersData[n]=vD({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const H2={name:"popperOffsets",enabled:!0,phase:"read",fn:qJ,data:{}};function UJ(e){return e==="x"?"y":"x"}function FJ(e){var t=e.state,n=e.options,i=e.name,a=n.mainAxis,o=a===void 0?!0:a,l=n.altAxis,u=l===void 0?!1:l,f=n.boundary,h=n.rootBoundary,p=n.altBoundary,m=n.padding,b=n.tether,w=b===void 0?!0:b,_=n.tetherOffset,E=_===void 0?0:_,O=wu(t,{boundary:f,rootBoundary:h,padding:m,altBoundary:p}),C=sa(t.placement),T=xu(t.placement),A=!T,k=R2(C),D=UJ(k),R=t.modifiersData.popperOffsets,B=t.rects.reference,$=t.rects.popper,F=typeof E=="function"?E(Object.assign({},t.rects,{placement:t.placement})):E,X=typeof F=="number"?{mainAxis:F,altAxis:F}:Object.assign({mainAxis:0,altAxis:0},F),H=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,U={x:0,y:0};if(R){if(o){var se,ce=k==="y"?Qn:Zn,ge=k==="y"?ji:Di,q=k==="y"?"height":"width",te=R[k],re=te+O[ce],pe=te-O[ge],z=w?-$[q]/2:0,V=T===jl?B[q]:$[q],oe=T===jl?-$[q]:-B[q],ve=t.elements.arrow,we=w&&ve?k2(ve):{width:0,height:0},Ce=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:dD(),Ee=Ce[ce],Ie=Ce[ge],Ne=Od(0,B[q],we[q]),ne=A?B[q]/2-z-Ne-Ee-X.mainAxis:V-Ne-Ee-X.mainAxis,De=A?-B[q]/2+z+Ne+Ie+X.mainAxis:oe+Ne+Ie+X.mainAxis,Pe=t.elements.arrow&&vh(t.elements.arrow),he=Pe?k==="y"?Pe.clientTop||0:Pe.clientLeft||0:0,Ue=(se=H?.[k])!=null?se:0,Te=te+ne-Ue-he,tt=te+De-Ue,at=Od(w?Bg(re,Te):re,te,w?Al(pe,tt):pe);R[k]=at,U[k]=at-te}if(u){var ct,ds=k==="x"?Qn:Zn,Hl=k==="x"?ji:Di,Ri=R[D],cr=D==="y"?"height":"width",ql=Ri+O[ds],Do=Ri-O[Hl],Po=[Qn,Zn].indexOf(C)!==-1,ha=(ct=H?.[D])!=null?ct:0,wn=Po?ql:Ri-B[cr]-$[cr]-ha+X.altAxis,rn=Po?Ri+B[cr]+$[cr]-ha-X.altAxis:Do,mi=w&&Po?_J(wn,Ri,rn):Od(w?wn:ql,Ri,w?rn:Do);R[D]=mi,U[D]=mi-Ri}t.modifiersData[i]=U}}const wD={name:"preventOverflow",enabled:!0,phase:"main",fn:FJ,requiresIfExists:["offset"]};function GJ(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function YJ(e){return e===Pi(e)||!nr(e)?$2(e):GJ(e)}function KJ(e){var t=e.getBoundingClientRect(),n=yu(t.width)/e.offsetWidth||1,i=yu(t.height)/e.offsetHeight||1;return n!==1||i!==1}function WJ(e,t,n){n===void 0&&(n=!1);var i=nr(t),a=nr(t)&&KJ(t),o=Mo(t),l=bu(e,a,n),u={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(i||!i&&!n)&&((ua(t)!=="body"||V2(o))&&(u=YJ(t)),nr(t)?(f=bu(t,!0),f.x+=t.clientLeft,f.y+=t.clientTop):o&&(f.x=B2(o))),{x:l.left+u.scrollLeft-f.x,y:l.top+u.scrollTop-f.y,width:l.width,height:l.height}}function XJ(e){var t=new Map,n=new Set,i=[];e.forEach(function(o){t.set(o.name,o)});function a(o){n.add(o.name);var l=[].concat(o.requires||[],o.requiresIfExists||[]);l.forEach(function(u){if(!n.has(u)){var f=t.get(u);f&&a(f)}}),i.push(o)}return e.forEach(function(o){n.has(o.name)||a(o)}),i}function QJ(e){var t=XJ(e);return cD.reduce(function(n,i){return n.concat(t.filter(function(a){return a.phase===i}))},[])}function ZJ(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function JJ(e){var t=e.reduce(function(n,i){var a=n[i.name];return n[i.name]=a?Object.assign({},a,i,{options:Object.assign({},a.options,i.options),data:Object.assign({},a.data,i.data)}):i,n},{});return Object.keys(t).map(function(n){return t[n]})}var eO={placement:"bottom",modifiers:[],strategy:"absolute"};function tO(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(i){return!(i&&typeof i.getBoundingClientRect=="function")})}function Tv(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,i=n===void 0?[]:n,a=t.defaultOptions,o=a===void 0?eO:a;return function(u,f,h){h===void 0&&(h=o);var p={placement:"bottom",orderedModifiers:[],options:Object.assign({},eO,o),modifiersData:{},elements:{reference:u,popper:f},attributes:{},styles:{}},m=[],b=!1,w={state:p,setOptions:function(C){var T=typeof C=="function"?C(p.options):C;E(),p.options=Object.assign({},o,p.options,T),p.scrollParents={reference:Dl(u)?Md(u):u.contextElement?Md(u.contextElement):[],popper:Md(f)};var A=QJ(JJ([].concat(i,p.options.modifiers)));return p.orderedModifiers=A.filter(function(k){return k.enabled}),_(),w.update()},forceUpdate:function(){if(!b){var C=p.elements,T=C.reference,A=C.popper;if(tO(T,A)){p.rects={reference:WJ(T,vh(A),p.options.strategy==="fixed"),popper:k2(A)},p.reset=!1,p.placement=p.options.placement,p.orderedModifiers.forEach(function(X){return p.modifiersData[X.name]=Object.assign({},X.data)});for(var k=0;k<p.orderedModifiers.length;k++){if(p.reset===!0){p.reset=!1,k=-1;continue}var D=p.orderedModifiers[k],R=D.fn,B=D.options,$=B===void 0?{}:B,F=D.name;typeof R=="function"&&(p=R({state:p,options:$,name:F,instance:w})||p)}}}},update:ZJ(function(){return new Promise(function(O){w.forceUpdate(),O(p)})}),destroy:function(){E(),b=!0}};if(!tO(u,f))return w;w.setOptions(h).then(function(O){!b&&h.onFirstUpdate&&h.onFirstUpdate(O)});function _(){p.orderedModifiers.forEach(function(O){var C=O.name,T=O.options,A=T===void 0?{}:T,k=O.effect;if(typeof k=="function"){var D=k({state:p,name:C,instance:w,options:A}),R=function(){};m.push(D||R)}})}function E(){m.forEach(function(O){return O()}),m=[]}return w}}var eee=Tv(),tee=[I2,H2,z2,L2],nee=Tv({defaultModifiers:tee}),iee=[I2,H2,z2,L2,xD,yD,wD,mD,bD],q2=Tv({defaultModifiers:iee});const _D=Object.freeze(Object.defineProperty({__proto__:null,afterMain:aD,afterRead:nD,afterWrite:lD,applyStyles:L2,arrow:mD,auto:Ev,basePlacements:$u,beforeMain:iD,beforeRead:eD,beforeWrite:sD,bottom:ji,clippingParents:Z6,computeStyles:z2,createPopper:q2,createPopperBase:eee,createPopperLite:nee,detectOverflow:wu,end:vu,eventListeners:I2,flip:yD,hide:bD,left:Zn,main:rD,modifierPhases:cD,offset:xD,placements:D2,popper:Gc,popperGenerator:Tv,popperOffsets:H2,preventOverflow:wD,read:tD,reference:J6,right:Di,start:jl,top:Qn,variationPlacements:dx,viewport:j2,write:oD},Symbol.toStringTag,{value:"Module"}));/*! * Bootstrap v5.3.8 (https://getbootstrap.com/) * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) */const fo=new Map,q1={set(e,t,n){fo.has(e)||fo.set(e,new Map);const i=fo.get(e);if(!i.has(t)&&i.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(i.keys())[0]}.`);return}i.set(t,n)},get(e,t){return fo.has(e)&&fo.get(e).get(t)||null},remove(e,t){if(!fo.has(e))return;const n=fo.get(e);n.delete(t),n.size===0&&fo.delete(e)}},ree=1e6,aee=1e3,mx="transitionend",ED=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(t,n)=>`#${CSS.escape(n)}`)),e),see=e=>e==null?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),oee=e=>{do e+=Math.floor(Math.random()*ree);while(document.getElementById(e));return e},lee=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const i=Number.parseFloat(t),a=Number.parseFloat(n);return!i&&!a?0:(t=t.split(",")[0],n=n.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(n))*aee)},SD=e=>{e.dispatchEvent(new Event(mx))},Xa=e=>!e||typeof e!="object"?!1:(typeof e.jquery<"u"&&(e=e[0]),typeof e.nodeType<"u"),wo=e=>Xa(e)?e.jquery?e[0]:e:typeof e=="string"&&e.length>0?document.querySelector(ED(e)):null,Bu=e=>{if(!Xa(e)||e.getClientRects().length===0)return!1;const t=getComputedStyle(e).getPropertyValue("visibility")==="visible",n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const i=e.closest("summary");if(i&&i.parentNode!==n||i===null)return!1}return t},_o=e=>!e||e.nodeType!==Node.ELEMENT_NODE||e.classList.contains("disabled")?!0:typeof e.disabled<"u"?e.disabled:e.hasAttribute("disabled")&&e.getAttribute("disabled")!=="false",TD=e=>{if(!document.documentElement.attachShadow)return null;if(typeof e.getRootNode=="function"){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?TD(e.parentNode):null},Vg=()=>{},yh=e=>{e.offsetHeight},AD=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,U1=[],cee=e=>{document.readyState==="loading"?(U1.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of U1)t()}),U1.push(e)):e()},ar=()=>document.documentElement.dir==="rtl",lr=e=>{cee(()=>{const t=AD();if(t){const n=e.NAME,i=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=i,e.jQueryInterface)}})},di=(e,t=[],n=e)=>typeof e=="function"?e.call(...t):n,CD=(e,t,n=!0)=>{if(!n){di(e);return}const a=lee(t)+5;let o=!1;const l=({target:u})=>{u===t&&(o=!0,t.removeEventListener(mx,l),di(e))};t.addEventListener(mx,l),setTimeout(()=>{o||SD(t)},a)},U2=(e,t,n,i)=>{const a=e.length;let o=e.indexOf(t);return o===-1?!n&&i?e[a-1]:e[0]:(o+=n?1:-1,i&&(o=(o+a)%a),e[Math.max(0,Math.min(o,a-1))])},uee=/[^.]*(?=\..*)\.|.*/,fee=/\..*/,dee=/::\d+$/,F1={};let nO=1;const OD={mouseenter:"mouseover",mouseleave:"mouseout"},hee=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function MD(e,t){return t&&`${t}::${nO++}`||e.uidEvent||nO++}function ND(e){const t=MD(e);return e.uidEvent=t,F1[t]=F1[t]||{},F1[t]}function pee(e,t){return function n(i){return F2(i,{delegateTarget:e}),n.oneOff&&me.off(e,i.type,t),t.apply(e,[i])}}function mee(e,t,n){return function i(a){const o=e.querySelectorAll(t);for(let{target:l}=a;l&&l!==this;l=l.parentNode)for(const u of o)if(u===l)return F2(a,{delegateTarget:l}),i.oneOff&&me.off(e,a.type,t,n),n.apply(l,[a])}}function jD(e,t,n=null){return Object.values(e).find(i=>i.callable===t&&i.delegationSelector===n)}function DD(e,t,n){const i=typeof t=="string",a=i?n:t||n;let o=PD(e);return hee.has(o)||(o=e),[i,a,o]}function iO(e,t,n,i,a){if(typeof t!="string"||!e)return;let[o,l,u]=DD(t,n,i);t in OD&&(l=(_=>function(E){if(!E.relatedTarget||E.relatedTarget!==E.delegateTarget&&!E.delegateTarget.contains(E.relatedTarget))return _.call(this,E)})(l));const f=ND(e),h=f[u]||(f[u]={}),p=jD(h,l,o?n:null);if(p){p.oneOff=p.oneOff&&a;return}const m=MD(l,t.replace(uee,"")),b=o?mee(e,n,l):pee(e,l);b.delegationSelector=o?n:null,b.callable=l,b.oneOff=a,b.uidEvent=m,h[m]=b,e.addEventListener(u,b,o)}function gx(e,t,n,i,a){const o=jD(t[n],i,a);o&&(e.removeEventListener(n,o,!!a),delete t[n][o.uidEvent])}function gee(e,t,n,i){const a=t[n]||{};for(const[o,l]of Object.entries(a))o.includes(i)&&gx(e,t,n,l.callable,l.delegationSelector)}function PD(e){return e=e.replace(fee,""),OD[e]||e}const me={on(e,t,n,i){iO(e,t,n,i,!1)},one(e,t,n,i){iO(e,t,n,i,!0)},off(e,t,n,i){if(typeof t!="string"||!e)return;const[a,o,l]=DD(t,n,i),u=l!==t,f=ND(e),h=f[l]||{},p=t.startsWith(".");if(typeof o<"u"){if(!Object.keys(h).length)return;gx(e,f,l,o,a?n:null);return}if(p)for(const m of Object.keys(f))gee(e,f,m,t.slice(1));for(const[m,b]of Object.entries(h)){const w=m.replace(dee,"");(!u||t.includes(w))&&gx(e,f,l,b.callable,b.delegationSelector)}},trigger(e,t,n){if(typeof t!="string"||!e)return null;const i=AD(),a=PD(t),o=t!==a;let l=null,u=!0,f=!0,h=!1;o&&i&&(l=i.Event(t,n),i(e).trigger(l),u=!l.isPropagationStopped(),f=!l.isImmediatePropagationStopped(),h=l.isDefaultPrevented());const p=F2(new Event(t,{bubbles:u,cancelable:!0}),n);return h&&p.preventDefault(),f&&e.dispatchEvent(p),p.defaultPrevented&&l&&l.preventDefault(),p}};function F2(e,t={}){for(const[n,i]of Object.entries(t))try{e[n]=i}catch{Object.defineProperty(e,n,{configurable:!0,get(){return i}})}return e}function rO(e){if(e==="true")return!0;if(e==="false")return!1;if(e===Number(e).toString())return Number(e);if(e===""||e==="null")return null;if(typeof e!="string")return e;try{return JSON.parse(decodeURIComponent(e))}catch{return e}}function G1(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const Qa={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${G1(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${G1(t)}`)},getDataAttributes(e){if(!e)return{};const t={},n=Object.keys(e.dataset).filter(i=>i.startsWith("bs")&&!i.startsWith("bsConfig"));for(const i of n){let a=i.replace(/^bs/,"");a=a.charAt(0).toLowerCase()+a.slice(1),t[a]=rO(e.dataset[i])}return t},getDataAttribute(e,t){return rO(e.getAttribute(`data-bs-${G1(t)}`))}};class bh{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,n){const i=Xa(n)?Qa.getDataAttribute(n,"config"):{};return{...this.constructor.Default,...typeof i=="object"?i:{},...Xa(n)?Qa.getDataAttributes(n):{},...typeof t=="object"?t:{}}}_typeCheckConfig(t,n=this.constructor.DefaultType){for(const[i,a]of Object.entries(n)){const o=t[i],l=Xa(o)?"element":see(o);if(!new RegExp(a).test(l))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${i}" provided type "${l}" but expected type "${a}".`)}}}const vee="5.3.8";class jr extends bh{constructor(t,n){super(),t=wo(t),t&&(this._element=t,this._config=this._getConfig(n),q1.set(this._element,this.constructor.DATA_KEY,this))}dispose(){q1.remove(this._element,this.constructor.DATA_KEY),me.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,n,i=!0){CD(t,n,i)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return q1.get(wo(t),this.DATA_KEY)}static getOrCreateInstance(t,n={}){return this.getInstance(t)||new this(t,typeof n=="object"?n:null)}static get VERSION(){return vee}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const Y1=e=>{let t=e.getAttribute("data-bs-target");if(!t||t==="#"){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&n!=="#"?n.trim():null}return t?t.split(",").map(n=>ED(n)).join(","):null},ke={find(e,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e,t=document.documentElement){return Element.prototype.querySelector.call(t,e)},children(e,t){return[].concat(...e.children).filter(n=>n.matches(t))},parents(e,t){const n=[];let i=e.parentNode.closest(t);for(;i;)n.push(i),i=i.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(n=>`${n}:not([tabindex^="-"])`).join(",");return this.find(t,e).filter(n=>!_o(n)&&Bu(n))},getSelectorFromElement(e){const t=Y1(e);return t&&ke.findOne(t)?t:null},getElementFromSelector(e){const t=Y1(e);return t?ke.findOne(t):null},getMultipleElementsFromSelector(e){const t=Y1(e);return t?ke.find(t):[]}},Av=(e,t="hide")=>{const n=`click.dismiss${e.EVENT_KEY}`,i=e.NAME;me.on(document,n,`[data-bs-dismiss="${i}"]`,function(a){if(["A","AREA"].includes(this.tagName)&&a.preventDefault(),_o(this))return;const o=ke.getElementFromSelector(this)||this.closest(`.${i}`);e.getOrCreateInstance(o)[t]()})},yee="alert",bee="bs.alert",LD=`.${bee}`,xee=`close${LD}`,wee=`closed${LD}`,_ee="fade",Eee="show";class Cv extends jr{static get NAME(){return yee}close(){if(me.trigger(this._element,xee).defaultPrevented)return;this._element.classList.remove(Eee);const n=this._element.classList.contains(_ee);this._queueCallback(()=>this._destroyElement(),this._element,n)}_destroyElement(){this._element.remove(),me.trigger(this._element,wee),this.dispose()}static jQueryInterface(t){return this.each(function(){const n=Cv.getOrCreateInstance(this);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}Av(Cv,"close");lr(Cv);const See="button",Tee="bs.button",Aee=`.${Tee}`,Cee=".data-api",Oee="active",aO='[data-bs-toggle="button"]',Mee=`click${Aee}${Cee}`;class Ov extends jr{static get NAME(){return See}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(Oee))}static jQueryInterface(t){return this.each(function(){const n=Ov.getOrCreateInstance(this);t==="toggle"&&n[t]()})}}me.on(document,Mee,aO,e=>{e.preventDefault();const t=e.target.closest(aO);Ov.getOrCreateInstance(t).toggle()});lr(Ov);const Nee="swipe",Vu=".bs.swipe",jee=`touchstart${Vu}`,Dee=`touchmove${Vu}`,Pee=`touchend${Vu}`,Lee=`pointerdown${Vu}`,kee=`pointerup${Vu}`,Ree="touch",zee="pen",Iee="pointer-event",$ee=40,Bee={endCallback:null,leftCallback:null,rightCallback:null},Vee={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Hg extends bh{constructor(t,n){super(),this._element=t,!(!t||!Hg.isSupported())&&(this._config=this._getConfig(n),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return Bee}static get DefaultType(){return Vee}static get NAME(){return Nee}dispose(){me.off(this._element,Vu)}_start(t){if(!this._supportPointerEvents){this._deltaX=t.touches[0].clientX;return}this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX)}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),di(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=$ee)return;const n=t/this._deltaX;this._deltaX=0,n&&di(n>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(me.on(this._element,Lee,t=>this._start(t)),me.on(this._element,kee,t=>this._end(t)),this._element.classList.add(Iee)):(me.on(this._element,jee,t=>this._start(t)),me.on(this._element,Dee,t=>this._move(t)),me.on(this._element,Pee,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType===zee||t.pointerType===Ree)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Hee="carousel",qee="bs.carousel",No=`.${qee}`,kD=".data-api",Uee="ArrowLeft",Fee="ArrowRight",Gee=500,md="next",Uc="prev",Yc="left",Vm="right",Yee=`slide${No}`,K1=`slid${No}`,Kee=`keydown${No}`,Wee=`mouseenter${No}`,Xee=`mouseleave${No}`,Qee=`dragstart${No}`,Zee=`load${No}${kD}`,Jee=`click${No}${kD}`,RD="carousel",_m="active",ete="slide",tte="carousel-item-end",nte="carousel-item-start",ite="carousel-item-next",rte="carousel-item-prev",zD=".active",ID=".carousel-item",ate=zD+ID,ste=".carousel-item img",ote=".carousel-indicators",lte="[data-bs-slide], [data-bs-slide-to]",cte='[data-bs-ride="carousel"]',ute={[Uee]:Vm,[Fee]:Yc},fte={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},dte={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class xh extends jr{constructor(t,n){super(t,n),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=ke.findOne(ote,this._element),this._addEventListeners(),this._config.ride===RD&&this.cycle()}static get Default(){return fte}static get DefaultType(){return dte}static get NAME(){return Hee}next(){this._slide(md)}nextWhenVisible(){!document.hidden&&Bu(this._element)&&this.next()}prev(){this._slide(Uc)}pause(){this._isSliding&&SD(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){me.one(this._element,K1,()=>this.cycle());return}this.cycle()}}to(t){const n=this._getItems();if(t>n.length-1||t<0)return;if(this._isSliding){me.one(this._element,K1,()=>this.to(t));return}const i=this._getItemIndex(this._getActive());if(i===t)return;const a=t>i?md:Uc;this._slide(a,n[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&me.on(this._element,Kee,t=>this._keydown(t)),this._config.pause==="hover"&&(me.on(this._element,Wee,()=>this.pause()),me.on(this._element,Xee,()=>this._maybeEnableCycle())),this._config.touch&&Hg.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const i of ke.find(ste,this._element))me.on(i,Qee,a=>a.preventDefault());const n={leftCallback:()=>this._slide(this._directionToOrder(Yc)),rightCallback:()=>this._slide(this._directionToOrder(Vm)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),Gee+this._config.interval))}};this._swipeHelper=new Hg(this._element,n)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const n=ute[t.key];n&&(t.preventDefault(),this._slide(this._directionToOrder(n)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const n=ke.findOne(zD,this._indicatorsElement);n.classList.remove(_m),n.removeAttribute("aria-current");const i=ke.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);i&&(i.classList.add(_m),i.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const n=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=n||this._config.defaultInterval}_slide(t,n=null){if(this._isSliding)return;const i=this._getActive(),a=t===md,o=n||U2(this._getItems(),i,a,this._config.wrap);if(o===i)return;const l=this._getItemIndex(o),u=w=>me.trigger(this._element,w,{relatedTarget:o,direction:this._orderToDirection(t),from:this._getItemIndex(i),to:l});if(u(Yee).defaultPrevented||!i||!o)return;const h=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(l),this._activeElement=o;const p=a?nte:tte,m=a?ite:rte;o.classList.add(m),yh(o),i.classList.add(p),o.classList.add(p);const b=()=>{o.classList.remove(p,m),o.classList.add(_m),i.classList.remove(_m,m,p),this._isSliding=!1,u(K1)};this._queueCallback(b,i,this._isAnimated()),h&&this.cycle()}_isAnimated(){return this._element.classList.contains(ete)}_getActive(){return ke.findOne(ate,this._element)}_getItems(){return ke.find(ID,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return ar()?t===Yc?Uc:md:t===Yc?md:Uc}_orderToDirection(t){return ar()?t===Uc?Yc:Vm:t===Uc?Vm:Yc}static jQueryInterface(t){return this.each(function(){const n=xh.getOrCreateInstance(this,t);if(typeof t=="number"){n.to(t);return}if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t]()}})}}me.on(document,Jee,lte,function(e){const t=ke.getElementFromSelector(this);if(!t||!t.classList.contains(RD))return;e.preventDefault();const n=xh.getOrCreateInstance(t),i=this.getAttribute("data-bs-slide-to");if(i){n.to(i),n._maybeEnableCycle();return}if(Qa.getDataAttribute(this,"slide")==="next"){n.next(),n._maybeEnableCycle();return}n.prev(),n._maybeEnableCycle()});me.on(window,Zee,()=>{const e=ke.find(cte);for(const t of e)xh.getOrCreateInstance(t)});lr(xh);const hte="collapse",pte="bs.collapse",wh=`.${pte}`,mte=".data-api",gte=`show${wh}`,vte=`shown${wh}`,yte=`hide${wh}`,bte=`hidden${wh}`,xte=`click${wh}${mte}`,W1="show",tu="collapse",Em="collapsing",wte="collapsed",_te=`:scope .${tu} .${tu}`,Ete="collapse-horizontal",Ste="width",Tte="height",Ate=".collapse.show, .collapse.collapsing",vx='[data-bs-toggle="collapse"]',Cte={parent:null,toggle:!0},Ote={parent:"(null|element)",toggle:"boolean"};class Kd extends jr{constructor(t,n){super(t,n),this._isTransitioning=!1,this._triggerArray=[];const i=ke.find(vx);for(const a of i){const o=ke.getSelectorFromElement(a),l=ke.find(o).filter(u=>u===this._element);o!==null&&l.length&&this._triggerArray.push(a)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Cte}static get DefaultType(){return Ote}static get NAME(){return hte}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(Ate).filter(u=>u!==this._element).map(u=>Kd.getOrCreateInstance(u,{toggle:!1}))),t.length&&t[0]._isTransitioning||me.trigger(this._element,gte).defaultPrevented)return;for(const u of t)u.hide();const i=this._getDimension();this._element.classList.remove(tu),this._element.classList.add(Em),this._element.style[i]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const a=()=>{this._isTransitioning=!1,this._element.classList.remove(Em),this._element.classList.add(tu,W1),this._element.style[i]="",me.trigger(this._element,vte)},l=`scroll${i[0].toUpperCase()+i.slice(1)}`;this._queueCallback(a,this._element,!0),this._element.style[i]=`${this._element[l]}px`}hide(){if(this._isTransitioning||!this._isShown()||me.trigger(this._element,yte).defaultPrevented)return;const n=this._getDimension();this._element.style[n]=`${this._element.getBoundingClientRect()[n]}px`,yh(this._element),this._element.classList.add(Em),this._element.classList.remove(tu,W1);for(const a of this._triggerArray){const o=ke.getElementFromSelector(a);o&&!this._isShown(o)&&this._addAriaAndCollapsedClass([a],!1)}this._isTransitioning=!0;const i=()=>{this._isTransitioning=!1,this._element.classList.remove(Em),this._element.classList.add(tu),me.trigger(this._element,bte)};this._element.style[n]="",this._queueCallback(i,this._element,!0)}_isShown(t=this._element){return t.classList.contains(W1)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=wo(t.parent),t}_getDimension(){return this._element.classList.contains(Ete)?Ste:Tte}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(vx);for(const n of t){const i=ke.getElementFromSelector(n);i&&this._addAriaAndCollapsedClass([n],this._isShown(i))}}_getFirstLevelChildren(t){const n=ke.find(_te,this._config.parent);return ke.find(t,this._config.parent).filter(i=>!n.includes(i))}_addAriaAndCollapsedClass(t,n){if(t.length)for(const i of t)i.classList.toggle(wte,!n),i.setAttribute("aria-expanded",n)}static jQueryInterface(t){const n={};return typeof t=="string"&&/show|hide/.test(t)&&(n.toggle=!1),this.each(function(){const i=Kd.getOrCreateInstance(this,n);if(typeof t=="string"){if(typeof i[t]>"u")throw new TypeError(`No method named "${t}"`);i[t]()}})}}me.on(document,xte,vx,function(e){(e.target.tagName==="A"||e.delegateTarget&&e.delegateTarget.tagName==="A")&&e.preventDefault();for(const t of ke.getMultipleElementsFromSelector(this))Kd.getOrCreateInstance(t,{toggle:!1}).toggle()});lr(Kd);const sO="dropdown",Mte="bs.dropdown",Bl=`.${Mte}`,G2=".data-api",Nte="Escape",oO="Tab",jte="ArrowUp",lO="ArrowDown",Dte=2,Pte=`hide${Bl}`,Lte=`hidden${Bl}`,kte=`show${Bl}`,Rte=`shown${Bl}`,$D=`click${Bl}${G2}`,BD=`keydown${Bl}${G2}`,zte=`keyup${Bl}${G2}`,Kc="show",Ite="dropup",$te="dropend",Bte="dropstart",Vte="dropup-center",Hte="dropdown-center",yl='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',qte=`${yl}.${Kc}`,Hm=".dropdown-menu",Ute=".navbar",Fte=".navbar-nav",Gte=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Yte=ar()?"top-end":"top-start",Kte=ar()?"top-start":"top-end",Wte=ar()?"bottom-end":"bottom-start",Xte=ar()?"bottom-start":"bottom-end",Qte=ar()?"left-start":"right-start",Zte=ar()?"right-start":"left-start",Jte="top",ene="bottom",tne={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},nne={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class oa extends jr{constructor(t,n){super(t,n),this._popper=null,this._parent=this._element.parentNode,this._menu=ke.next(this._element,Hm)[0]||ke.prev(this._element,Hm)[0]||ke.findOne(Hm,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return tne}static get DefaultType(){return nne}static get NAME(){return sO}toggle(){return this._isShown()?this.hide():this.show()}show(){if(_o(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!me.trigger(this._element,kte,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(Fte))for(const i of[].concat(...document.body.children))me.on(i,"mouseover",Vg);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Kc),this._element.classList.add(Kc),me.trigger(this._element,Rte,t)}}hide(){if(_o(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!me.trigger(this._element,Pte,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))me.off(i,"mouseover",Vg);this._popper&&this._popper.destroy(),this._menu.classList.remove(Kc),this._element.classList.remove(Kc),this._element.setAttribute("aria-expanded","false"),Qa.removeDataAttribute(this._menu,"popper"),me.trigger(this._element,Lte,t)}}_getConfig(t){if(t=super._getConfig(t),typeof t.reference=="object"&&!Xa(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${sO.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(typeof _D>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org/docs/v2/)");let t=this._element;this._config.reference==="parent"?t=this._parent:Xa(this._config.reference)?t=wo(this._config.reference):typeof this._config.reference=="object"&&(t=this._config.reference);const n=this._getPopperConfig();this._popper=q2(t,this._menu,n)}_isShown(){return this._menu.classList.contains(Kc)}_getPlacement(){const t=this._parent;if(t.classList.contains($te))return Qte;if(t.classList.contains(Bte))return Zte;if(t.classList.contains(Vte))return Jte;if(t.classList.contains(Hte))return ene;const n=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return t.classList.contains(Ite)?n?Kte:Yte:n?Xte:Wte}_detectNavbar(){return this._element.closest(Ute)!==null}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(n=>Number.parseInt(n,10)):typeof t=="function"?n=>t(n,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(Qa.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...di(this._config.popperConfig,[void 0,t])}}_selectMenuItem({key:t,target:n}){const i=ke.find(Gte,this._menu).filter(a=>Bu(a));i.length&&U2(i,n,t===lO,!i.includes(n)).focus()}static jQueryInterface(t){return this.each(function(){const n=oa.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}static clearMenus(t){if(t.button===Dte||t.type==="keyup"&&t.key!==oO)return;const n=ke.find(qte);for(const i of n){const a=oa.getInstance(i);if(!a||a._config.autoClose===!1)continue;const o=t.composedPath(),l=o.includes(a._menu);if(o.includes(a._element)||a._config.autoClose==="inside"&&!l||a._config.autoClose==="outside"&&l||a._menu.contains(t.target)&&(t.type==="keyup"&&t.key===oO||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const u={relatedTarget:a._element};t.type==="click"&&(u.clickEvent=t),a._completeHide(u)}}static dataApiKeydownHandler(t){const n=/input|textarea/i.test(t.target.tagName),i=t.key===Nte,a=[jte,lO].includes(t.key);if(!a&&!i||n&&!i)return;t.preventDefault();const o=this.matches(yl)?this:ke.prev(this,yl)[0]||ke.next(this,yl)[0]||ke.findOne(yl,t.delegateTarget.parentNode),l=oa.getOrCreateInstance(o);if(a){t.stopPropagation(),l.show(),l._selectMenuItem(t);return}l._isShown()&&(t.stopPropagation(),l.hide(),o.focus())}}me.on(document,BD,yl,oa.dataApiKeydownHandler);me.on(document,BD,Hm,oa.dataApiKeydownHandler);me.on(document,$D,oa.clearMenus);me.on(document,zte,oa.clearMenus);me.on(document,$D,yl,function(e){e.preventDefault(),oa.getOrCreateInstance(this).toggle()});lr(oa);const VD="backdrop",ine="fade",cO="show",uO=`mousedown.bs.${VD}`,rne={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},ane={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class HD extends bh{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return rne}static get DefaultType(){return ane}static get NAME(){return VD}show(t){if(!this._config.isVisible){di(t);return}this._append();const n=this._getElement();this._config.isAnimated&&yh(n),n.classList.add(cO),this._emulateAnimation(()=>{di(t)})}hide(t){if(!this._config.isVisible){di(t);return}this._getElement().classList.remove(cO),this._emulateAnimation(()=>{this.dispose(),di(t)})}dispose(){this._isAppended&&(me.off(this._element,uO),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add(ine),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=wo(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),me.on(t,uO,()=>{di(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){CD(t,this._getElement(),this._config.isAnimated)}}const sne="focustrap",one="bs.focustrap",qg=`.${one}`,lne=`focusin${qg}`,cne=`keydown.tab${qg}`,une="Tab",fne="forward",fO="backward",dne={autofocus:!0,trapElement:null},hne={autofocus:"boolean",trapElement:"element"};class qD extends bh{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return dne}static get DefaultType(){return hne}static get NAME(){return sne}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),me.off(document,qg),me.on(document,lne,t=>this._handleFocusin(t)),me.on(document,cne,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,me.off(document,qg))}_handleFocusin(t){const{trapElement:n}=this._config;if(t.target===document||t.target===n||n.contains(t.target))return;const i=ke.focusableChildren(n);i.length===0?n.focus():this._lastTabNavDirection===fO?i[i.length-1].focus():i[0].focus()}_handleKeydown(t){t.key===une&&(this._lastTabNavDirection=t.shiftKey?fO:fne)}}const dO=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",hO=".sticky-top",Sm="padding-right",pO="margin-right";class yx{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Sm,n=>n+t),this._setElementAttributes(dO,Sm,n=>n+t),this._setElementAttributes(hO,pO,n=>n-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Sm),this._resetElementAttributes(dO,Sm),this._resetElementAttributes(hO,pO)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,n,i){const a=this.getWidth(),o=l=>{if(l!==this._element&&window.innerWidth>l.clientWidth+a)return;this._saveInitialAttribute(l,n);const u=window.getComputedStyle(l).getPropertyValue(n);l.style.setProperty(n,`${i(Number.parseFloat(u))}px`)};this._applyManipulationCallback(t,o)}_saveInitialAttribute(t,n){const i=t.style.getPropertyValue(n);i&&Qa.setDataAttribute(t,n,i)}_resetElementAttributes(t,n){const i=a=>{const o=Qa.getDataAttribute(a,n);if(o===null){a.style.removeProperty(n);return}Qa.removeDataAttribute(a,n),a.style.setProperty(n,o)};this._applyManipulationCallback(t,i)}_applyManipulationCallback(t,n){if(Xa(t)){n(t);return}for(const i of ke.find(t,this._element))n(i)}}const pne="modal",mne="bs.modal",sr=`.${mne}`,gne=".data-api",vne="Escape",yne=`hide${sr}`,bne=`hidePrevented${sr}`,UD=`hidden${sr}`,FD=`show${sr}`,xne=`shown${sr}`,wne=`resize${sr}`,_ne=`click.dismiss${sr}`,Ene=`mousedown.dismiss${sr}`,Sne=`keydown.dismiss${sr}`,Tne=`click${sr}${gne}`,mO="modal-open",Ane="fade",gO="show",X1="modal-static",Cne=".modal.show",One=".modal-dialog",Mne=".modal-body",Nne='[data-bs-toggle="modal"]',jne={backdrop:!0,focus:!0,keyboard:!0},Dne={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Pl extends jr{constructor(t,n){super(t,n),this._dialog=ke.findOne(One,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new yx,this._addEventListeners()}static get Default(){return jne}static get DefaultType(){return Dne}static get NAME(){return pne}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||me.trigger(this._element,FD,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(mO),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||me.trigger(this._element,yne).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(gO),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){me.off(window,sr),me.off(this._dialog,sr),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new HD({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new qD({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const n=ke.findOne(Mne,this._dialog);n&&(n.scrollTop=0),yh(this._element),this._element.classList.add(gO);const i=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,me.trigger(this._element,xne,{relatedTarget:t})};this._queueCallback(i,this._dialog,this._isAnimated())}_addEventListeners(){me.on(this._element,Sne,t=>{if(t.key===vne){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),me.on(window,wne,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),me.on(this._element,Ene,t=>{me.one(this._element,_ne,n=>{if(!(this._element!==t.target||this._element!==n.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(mO),this._resetAdjustments(),this._scrollBar.reset(),me.trigger(this._element,UD)})}_isAnimated(){return this._element.classList.contains(Ane)}_triggerBackdropTransition(){if(me.trigger(this._element,bne).defaultPrevented)return;const n=this._element.scrollHeight>document.documentElement.clientHeight,i=this._element.style.overflowY;i==="hidden"||this._element.classList.contains(X1)||(n||(this._element.style.overflowY="hidden"),this._element.classList.add(X1),this._queueCallback(()=>{this._element.classList.remove(X1),this._queueCallback(()=>{this._element.style.overflowY=i},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,n=this._scrollBar.getWidth(),i=n>0;if(i&&!t){const a=ar()?"paddingLeft":"paddingRight";this._element.style[a]=`${n}px`}if(!i&&t){const a=ar()?"paddingRight":"paddingLeft";this._element.style[a]=`${n}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,n){return this.each(function(){const i=Pl.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof i[t]>"u")throw new TypeError(`No method named "${t}"`);i[t](n)}})}}me.on(document,Tne,Nne,function(e){const t=ke.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),me.one(t,FD,a=>{a.defaultPrevented||me.one(t,UD,()=>{Bu(this)&&this.focus()})});const n=ke.findOne(Cne);n&&Pl.getInstance(n).hide(),Pl.getOrCreateInstance(t).toggle(this)});Av(Pl);lr(Pl);const Pne="offcanvas",Lne="bs.offcanvas",fs=`.${Lne}`,GD=".data-api",kne=`load${fs}${GD}`,Rne="Escape",vO="show",yO="showing",bO="hiding",zne="offcanvas-backdrop",YD=".offcanvas.show",Ine=`show${fs}`,$ne=`shown${fs}`,Bne=`hide${fs}`,xO=`hidePrevented${fs}`,KD=`hidden${fs}`,Vne=`resize${fs}`,Hne=`click${fs}${GD}`,qne=`keydown.dismiss${fs}`,Une='[data-bs-toggle="offcanvas"]',Fne={backdrop:!0,keyboard:!0,scroll:!1},Gne={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Eo extends jr{constructor(t,n){super(t,n),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Fne}static get DefaultType(){return Gne}static get NAME(){return Pne}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||me.trigger(this._element,Ine,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new yx().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(yO);const i=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(vO),this._element.classList.remove(yO),me.trigger(this._element,$ne,{relatedTarget:t})};this._queueCallback(i,this._element,!0)}hide(){if(!this._isShown||me.trigger(this._element,Bne).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(bO),this._backdrop.hide();const n=()=>{this._element.classList.remove(vO,bO),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new yx().reset(),me.trigger(this._element,KD)};this._queueCallback(n,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=()=>{if(this._config.backdrop==="static"){me.trigger(this._element,xO);return}this.hide()},n=!!this._config.backdrop;return new HD({className:zne,isVisible:n,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:n?t:null})}_initializeFocusTrap(){return new qD({trapElement:this._element})}_addEventListeners(){me.on(this._element,qne,t=>{if(t.key===Rne){if(this._config.keyboard){this.hide();return}me.trigger(this._element,xO)}})}static jQueryInterface(t){return this.each(function(){const n=Eo.getOrCreateInstance(this,t);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}me.on(document,Hne,Une,function(e){const t=ke.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),_o(this))return;me.one(t,KD,()=>{Bu(this)&&this.focus()});const n=ke.findOne(YD);n&&n!==t&&Eo.getInstance(n).hide(),Eo.getOrCreateInstance(t).toggle(this)});me.on(window,kne,()=>{for(const e of ke.find(YD))Eo.getOrCreateInstance(e).show()});me.on(window,Vne,()=>{for(const e of ke.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(e).position!=="fixed"&&Eo.getOrCreateInstance(e).hide()});Av(Eo);lr(Eo);const Yne=/^aria-[\w-]*$/i,WD={"*":["class","dir","id","lang","role",Yne],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Kne=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Wne=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Xne=(e,t)=>{const n=e.nodeName.toLowerCase();return t.includes(n)?Kne.has(n)?!!Wne.test(e.nodeValue):!0:t.filter(i=>i instanceof RegExp).some(i=>i.test(n))};function Qne(e,t,n){if(!e.length)return e;if(n&&typeof n=="function")return n(e);const a=new window.DOMParser().parseFromString(e,"text/html"),o=[].concat(...a.body.querySelectorAll("*"));for(const l of o){const u=l.nodeName.toLowerCase();if(!Object.keys(t).includes(u)){l.remove();continue}const f=[].concat(...l.attributes),h=[].concat(t["*"]||[],t[u]||[]);for(const p of f)Xne(p,h)||l.removeAttribute(p.nodeName)}return a.body.innerHTML}const Zne="TemplateFactory",Jne={allowList:WD,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},eie={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},tie={entry:"(string|element|function|null)",selector:"(string|element)"};class nie extends bh{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return Jne}static get DefaultType(){return eie}static get NAME(){return Zne}getContent(){return Object.values(this._config.content).map(t=>this._resolvePossibleFunction(t)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[a,o]of Object.entries(this._config.content))this._setContent(t,o,a);const n=t.children[0],i=this._resolvePossibleFunction(this._config.extraClass);return i&&n.classList.add(...i.split(" ")),n}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[n,i]of Object.entries(t))super._typeCheckConfig({selector:n,entry:i},tie)}_setContent(t,n,i){const a=ke.findOne(i,t);if(a){if(n=this._resolvePossibleFunction(n),!n){a.remove();return}if(Xa(n)){this._putElementInTemplate(wo(n),a);return}if(this._config.html){a.innerHTML=this._maybeSanitize(n);return}a.textContent=n}}_maybeSanitize(t){return this._config.sanitize?Qne(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return di(t,[void 0,this])}_putElementInTemplate(t,n){if(this._config.html){n.innerHTML="",n.append(t);return}n.textContent=t.textContent}}const iie="tooltip",rie=new Set(["sanitize","allowList","sanitizeFn"]),Q1="fade",aie="modal",Tm="show",sie=".tooltip-inner",wO=`.${aie}`,_O="hide.bs.modal",gd="hover",Z1="focus",J1="click",oie="manual",lie="hide",cie="hidden",uie="show",fie="shown",die="inserted",hie="click",pie="focusin",mie="focusout",gie="mouseenter",vie="mouseleave",yie={AUTO:"auto",TOP:"top",RIGHT:ar()?"left":"right",BOTTOM:"bottom",LEFT:ar()?"right":"left"},bie={allowList:WD,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},xie={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class Hu extends jr{constructor(t,n){if(typeof _D>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)");super(t,n),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return bie}static get DefaultType(){return xie}static get NAME(){return iie}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),me.off(this._element.closest(wO),_O,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const t=me.trigger(this._element,this.constructor.eventName(uie)),i=(TD(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!i)return;this._disposePopper();const a=this._getTipElement();this._element.setAttribute("aria-describedby",a.getAttribute("id"));const{container:o}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(o.append(a),me.trigger(this._element,this.constructor.eventName(die))),this._popper=this._createPopper(a),a.classList.add(Tm),"ontouchstart"in document.documentElement)for(const u of[].concat(...document.body.children))me.on(u,"mouseover",Vg);const l=()=>{me.trigger(this._element,this.constructor.eventName(fie)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(l,this.tip,this._isAnimated())}hide(){if(!this._isShown()||me.trigger(this._element,this.constructor.eventName(lie)).defaultPrevented)return;if(this._getTipElement().classList.remove(Tm),"ontouchstart"in document.documentElement)for(const a of[].concat(...document.body.children))me.off(a,"mouseover",Vg);this._activeTrigger[J1]=!1,this._activeTrigger[Z1]=!1,this._activeTrigger[gd]=!1,this._isHovered=null;const i=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),me.trigger(this._element,this.constructor.eventName(cie)))};this._queueCallback(i,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const n=this._getTemplateFactory(t).toHtml();if(!n)return null;n.classList.remove(Q1,Tm),n.classList.add(`bs-${this.constructor.NAME}-auto`);const i=oee(this.constructor.NAME).toString();return n.setAttribute("id",i),this._isAnimated()&&n.classList.add(Q1),n}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new nie({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[sie]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Q1)}_isShown(){return this.tip&&this.tip.classList.contains(Tm)}_createPopper(t){const n=di(this._config.placement,[this,t,this._element]),i=yie[n.toUpperCase()];return q2(this._element,t,this._getPopperConfig(i))}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(n=>Number.parseInt(n,10)):typeof t=="function"?n=>t(n,this._element):t}_resolvePossibleFunction(t){return di(t,[this._element,this._element])}_getPopperConfig(t){const n={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:i=>{this._getTipElement().setAttribute("data-popper-placement",i.state.placement)}}]};return{...n,...di(this._config.popperConfig,[void 0,n])}}_setListeners(){const t=this._config.trigger.split(" ");for(const n of t)if(n==="click")me.on(this._element,this.constructor.eventName(hie),this._config.selector,i=>{const a=this._initializeOnDelegatedTarget(i);a._activeTrigger[J1]=!(a._isShown()&&a._activeTrigger[J1]),a.toggle()});else if(n!==oie){const i=n===gd?this.constructor.eventName(gie):this.constructor.eventName(pie),a=n===gd?this.constructor.eventName(vie):this.constructor.eventName(mie);me.on(this._element,i,this._config.selector,o=>{const l=this._initializeOnDelegatedTarget(o);l._activeTrigger[o.type==="focusin"?Z1:gd]=!0,l._enter()}),me.on(this._element,a,this._config.selector,o=>{const l=this._initializeOnDelegatedTarget(o);l._activeTrigger[o.type==="focusout"?Z1:gd]=l._element.contains(o.relatedTarget),l._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},me.on(this._element.closest(wO),_O,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(t,n){clearTimeout(this._timeout),this._timeout=setTimeout(t,n)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const n=Qa.getDataAttributes(this._element);for(const i of Object.keys(n))rie.has(i)&&delete n[i];return t={...n,...typeof t=="object"&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=t.container===!1?document.body:wo(t.container),typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),typeof t.title=="number"&&(t.title=t.title.toString()),typeof t.content=="number"&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[n,i]of Object.entries(this._config))this.constructor.Default[n]!==i&&(t[n]=i);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){const n=Hu.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}lr(Hu);const wie="popover",_ie=".popover-header",Eie=".popover-body",Sie={...Hu.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},Tie={...Hu.DefaultType,content:"(null|string|element|function)"};class Y2 extends Hu{static get Default(){return Sie}static get DefaultType(){return Tie}static get NAME(){return wie}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[_ie]:this._getTitle(),[Eie]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const n=Y2.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}lr(Y2);const Aie="scrollspy",Cie="bs.scrollspy",K2=`.${Cie}`,Oie=".data-api",Mie=`activate${K2}`,EO=`click${K2}`,Nie=`load${K2}${Oie}`,jie="dropdown-item",Fc="active",Die='[data-bs-spy="scroll"]',eb="[href]",Pie=".nav, .list-group",SO=".nav-link",Lie=".nav-item",kie=".list-group-item",Rie=`${SO}, ${Lie} > ${SO}, ${kie}`,zie=".dropdown",Iie=".dropdown-toggle",$ie={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Bie={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Mv extends jr{constructor(t,n){super(t,n),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return $ie}static get DefaultType(){return Bie}static get NAME(){return Aie}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=wo(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,typeof t.threshold=="string"&&(t.threshold=t.threshold.split(",").map(n=>Number.parseFloat(n))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(me.off(this._config.target,EO),me.on(this._config.target,EO,eb,t=>{const n=this._observableSections.get(t.target.hash);if(n){t.preventDefault();const i=this._rootElement||window,a=n.offsetTop-this._element.offsetTop;if(i.scrollTo){i.scrollTo({top:a,behavior:"smooth"});return}i.scrollTop=a}}))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(n=>this._observerCallback(n),t)}_observerCallback(t){const n=l=>this._targetLinks.get(`#${l.target.id}`),i=l=>{this._previousScrollData.visibleEntryTop=l.target.offsetTop,this._process(n(l))},a=(this._rootElement||document.documentElement).scrollTop,o=a>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=a;for(const l of t){if(!l.isIntersecting){this._activeTarget=null,this._clearActiveClass(n(l));continue}const u=l.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(o&&u){if(i(l),!a)return;continue}!o&&!u&&i(l)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=ke.find(eb,this._config.target);for(const n of t){if(!n.hash||_o(n))continue;const i=ke.findOne(decodeURI(n.hash),this._element);Bu(i)&&(this._targetLinks.set(decodeURI(n.hash),n),this._observableSections.set(n.hash,i))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(Fc),this._activateParents(t),me.trigger(this._element,Mie,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains(jie)){ke.findOne(Iie,t.closest(zie)).classList.add(Fc);return}for(const n of ke.parents(t,Pie))for(const i of ke.prev(n,Rie))i.classList.add(Fc)}_clearActiveClass(t){t.classList.remove(Fc);const n=ke.find(`${eb}.${Fc}`,t);for(const i of n)i.classList.remove(Fc)}static jQueryInterface(t){return this.each(function(){const n=Mv.getOrCreateInstance(this,t);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t]()}})}}me.on(window,Nie,()=>{for(const e of ke.find(Die))Mv.getOrCreateInstance(e)});lr(Mv);const Vie="tab",Hie="bs.tab",Vl=`.${Hie}`,qie=`hide${Vl}`,Uie=`hidden${Vl}`,Fie=`show${Vl}`,Gie=`shown${Vl}`,Yie=`click${Vl}`,Kie=`keydown${Vl}`,Wie=`load${Vl}`,Xie="ArrowLeft",TO="ArrowRight",Qie="ArrowUp",AO="ArrowDown",tb="Home",CO="End",bl="active",OO="fade",nb="show",Zie="dropdown",XD=".dropdown-toggle",Jie=".dropdown-menu",ib=`:not(${XD})`,ere='.list-group, .nav, [role="tablist"]',tre=".nav-item, .list-group-item",nre=`.nav-link${ib}, .list-group-item${ib}, [role="tab"]${ib}`,QD='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',rb=`${nre}, ${QD}`,ire=`.${bl}[data-bs-toggle="tab"], .${bl}[data-bs-toggle="pill"], .${bl}[data-bs-toggle="list"]`;class _u extends jr{constructor(t){super(t),this._parent=this._element.closest(ere),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),me.on(this._element,Kie,n=>this._keydown(n)))}static get NAME(){return Vie}show(){const t=this._element;if(this._elemIsActive(t))return;const n=this._getActiveElem(),i=n?me.trigger(n,qie,{relatedTarget:t}):null;me.trigger(t,Fie,{relatedTarget:n}).defaultPrevented||i&&i.defaultPrevented||(this._deactivate(n,t),this._activate(t,n))}_activate(t,n){if(!t)return;t.classList.add(bl),this._activate(ke.getElementFromSelector(t));const i=()=>{if(t.getAttribute("role")!=="tab"){t.classList.add(nb);return}t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),me.trigger(t,Gie,{relatedTarget:n})};this._queueCallback(i,t,t.classList.contains(OO))}_deactivate(t,n){if(!t)return;t.classList.remove(bl),t.blur(),this._deactivate(ke.getElementFromSelector(t));const i=()=>{if(t.getAttribute("role")!=="tab"){t.classList.remove(nb);return}t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),me.trigger(t,Uie,{relatedTarget:n})};this._queueCallback(i,t,t.classList.contains(OO))}_keydown(t){if(![Xie,TO,Qie,AO,tb,CO].includes(t.key))return;t.stopPropagation(),t.preventDefault();const n=this._getChildren().filter(a=>!_o(a));let i;if([tb,CO].includes(t.key))i=n[t.key===tb?0:n.length-1];else{const a=[TO,AO].includes(t.key);i=U2(n,t.target,a,!0)}i&&(i.focus({preventScroll:!0}),_u.getOrCreateInstance(i).show())}_getChildren(){return ke.find(rb,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,n){this._setAttributeIfNotExists(t,"role","tablist");for(const i of n)this._setInitialAttributesOnChild(i)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const n=this._elemIsActive(t),i=this._getOuterElement(t);t.setAttribute("aria-selected",n),i!==t&&this._setAttributeIfNotExists(i,"role","presentation"),n||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const n=ke.getElementFromSelector(t);n&&(this._setAttributeIfNotExists(n,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(n,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,n){const i=this._getOuterElement(t);if(!i.classList.contains(Zie))return;const a=(o,l)=>{const u=ke.findOne(o,i);u&&u.classList.toggle(l,n)};a(XD,bl),a(Jie,nb),i.setAttribute("aria-expanded",n)}_setAttributeIfNotExists(t,n,i){t.hasAttribute(n)||t.setAttribute(n,i)}_elemIsActive(t){return t.classList.contains(bl)}_getInnerElement(t){return t.matches(rb)?t:ke.findOne(rb,t)}_getOuterElement(t){return t.closest(tre)||t}static jQueryInterface(t){return this.each(function(){const n=_u.getOrCreateInstance(this);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t]()}})}}me.on(document,Yie,QD,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),!_o(this)&&_u.getOrCreateInstance(this).show()});me.on(window,Wie,()=>{for(const e of ke.find(ire))_u.getOrCreateInstance(e)});lr(_u);const rre="toast",are="bs.toast",jo=`.${are}`,sre=`mouseover${jo}`,ore=`mouseout${jo}`,lre=`focusin${jo}`,cre=`focusout${jo}`,ure=`hide${jo}`,fre=`hidden${jo}`,dre=`show${jo}`,hre=`shown${jo}`,pre="fade",MO="hide",Am="show",Cm="showing",mre={animation:"boolean",autohide:"boolean",delay:"number"},gre={animation:!0,autohide:!0,delay:5e3};class Nv extends jr{constructor(t,n){super(t,n),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return gre}static get DefaultType(){return mre}static get NAME(){return rre}show(){if(me.trigger(this._element,dre).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(pre);const n=()=>{this._element.classList.remove(Cm),me.trigger(this._element,hre),this._maybeScheduleHide()};this._element.classList.remove(MO),yh(this._element),this._element.classList.add(Am,Cm),this._queueCallback(n,this._element,this._config.animation)}hide(){if(!this.isShown()||me.trigger(this._element,ure).defaultPrevented)return;const n=()=>{this._element.classList.add(MO),this._element.classList.remove(Cm,Am),me.trigger(this._element,fre)};this._element.classList.add(Cm),this._queueCallback(n,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Am),super.dispose()}isShown(){return this._element.classList.contains(Am)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,n){switch(t.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=n;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=n;break}}if(n){this._clearTimeout();return}const i=t.relatedTarget;this._element===i||this._element.contains(i)||this._maybeScheduleHide()}_setListeners(){me.on(this._element,sre,t=>this._onInteraction(t,!0)),me.on(this._element,ore,t=>this._onInteraction(t,!1)),me.on(this._element,lre,t=>this._onInteraction(t,!0)),me.on(this._element,cre,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const n=Nv.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}Av(Nv);lr(Nv);function vre(){const[e,t]=j.useState("home"),[n,i]=j.useState(!1),a=[{id:"home",label:"Home",icon:mJ,path:"/"},{id:"destination",label:"Destination",icon:gJ,modal:"destination"},{id:"test",label:"Test",icon:dJ,modal:"test"},{id:"finance",label:"Finance",icon:hJ,modal:"finance"},{id:"stay",label:"Stay",icon:vJ,path:"/accommodation"}],o=[{name:"IELTS",path:"/test/ielts"},{name:"TOEFL",path:"/test/toefl"},{name:"PTE",path:"/test/pte"},{name:"GRE",path:"/test/gre"},{name:"GMAT",path:"/test/gmat"}],l=[{name:"Fly Forex",path:"/finance/fly-forex"},{name:"Fly Loan",path:"/finance/fly-loan"}],u=[{name:"Austria",flag:"https://hwp.creativegigstf.com/visim/assets/img/media/austria.jpg"},{name:"New Zealand",flag:"https://hwp.creativegigstf.com/visim/assets/img/media/new.jpg"},{name:"China",flag:"https://hwp.creativegigstf.com/visim/assets/img/media/china.jpg"},{name:"Afghanistan",flag:"https://hwp.creativegigstf.com/visim/assets/img/media/afg.jpg"},{name:"Brazil",flag:"https://hwp.creativegigstf.com/visim/assets/img/media/bra.svg"},{name:"Australia",flag:"https://hwp.creativegigstf.com/visim/assets/img/media/aus.jpg"},{name:"Colombia",flag:"https://hwp.creativegigstf.com/visim/assets/img/media/colum.jpg"},{name:"Malaysia",flag:"https://hwp.creativegigstf.com/visim/assets/img/media/malaysia.jpg"},{name:"Thailand",flag:"https://hwp.creativegigstf.com/visim/assets/img/media/thailand.jpg"},{name:"Cambodia",flag:"https://hwp.creativegigstf.com/visim/assets/img/media/cambodia.svg"},{name:"Belgium",flag:"https://hwp.creativegigstf.com/visim/assets/img/media/blezium.jpg"},{name:"Bulgaria",flag:"https://hwp.creativegigstf.com/visim/assets/img/media/bulgaria.jpg"},{name:"Canada",flag:"https://hwp.creativegigstf.com/visim/assets/img/media/canada.jpg"},{name:"Germany",flag:"https://hwp.creativegigstf.com/visim/assets/img/media/german.jpg"}],f=[{id:"settings",label:"Settings"},{id:"profile",label:"Profile"},{id:"help",label:"Help"},{id:"about",label:"About"}],h=m=>{if(t(m.id),m.modal){const b=`${m.modal}Modal`,w=document.getElementById(b);w&&new Pl(w).show()}else m.path&&(window.location.href=m.path)},p=()=>{i(!n)};return v.jsxs(v.Fragment,{children:[n&&v.jsx("div",{className:"menu-overlay",onClick:()=>i(!1)}),v.jsxs("div",{className:"mobile-menu",children:[a.map(m=>{const b=m.icon;return v.jsxs("button",{className:`menu-item ${e===m.id?"active":""}`,onClick:()=>h(m),children:[v.jsx(b,{className:"menu-icon"}),v.jsx("span",{className:"menu-label",children:m.label})]},m.id)}),v.jsxs("div",{className:"more-menu-container",children:[v.jsxs("button",{className:`menu-item ${n?"active":""}`,onClick:p,children:[v.jsx(pJ,{className:"menu-icon"}),v.jsx("span",{className:"menu-label",children:"More"})]}),n&&v.jsx("div",{className:"more-dropdown",children:f.map(m=>v.jsx("button",{className:"more-item",onClick:()=>h(m.id),children:m.label},m.id))})]})]}),v.jsx("div",{className:"modal fade",id:"destinationModal",tabIndex:"-1","aria-labelledby":"destinationModalLabel","aria-hidden":"true",children:v.jsx("div",{className:"modal-dialog modal-dialog-centered",children:v.jsxs("div",{className:"modal-content",children:[v.jsxs("div",{className:"modal-header",children:[v.jsx("h5",{className:"modal-title",id:"destinationModalLabel",children:"Choose Destination"}),v.jsx("button",{type:"button",className:"btn-close","data-bs-dismiss":"modal","aria-label":"Close"})]}),v.jsx("div",{className:"modal-body",children:v.jsx("div",{className:"destination-grid",children:u.map((m,b)=>v.jsxs(Mn,{to:`/country-of-study/${m.name.toLowerCase()}`,className:"destination-item","data-bs-dismiss":"modal",children:[v.jsx("img",{src:m.flag,alt:m.name}),v.jsx("span",{children:m.name})]},b))})})]})})}),v.jsx("div",{className:"modal fade",id:"financeModal",tabIndex:"-1","aria-labelledby":"financeModalLabel","aria-hidden":"true",children:v.jsx("div",{className:"modal-dialog modal-dialog-centered",children:v.jsxs("div",{className:"modal-content",children:[v.jsxs("div",{className:"modal-header",children:[v.jsx("h5",{className:"modal-title",id:"financeModalLabel",children:"Financial Services"}),v.jsx("button",{type:"button",className:"btn-close","data-bs-dismiss":"modal","aria-label":"Close"})]}),v.jsx("div",{className:"modal-body",children:v.jsx("div",{className:"option-list",children:l.map((m,b)=>v.jsxs(Mn,{to:m.path,className:"option-item","data-bs-dismiss":"modal",children:[v.jsx("i",{className:"option-icon",children:"💰"}),v.jsx("span",{children:m.name})]},b))})})]})})}),v.jsx("div",{className:"modal fade",id:"testModal",tabIndex:"-1","aria-labelledby":"testModalLabel","aria-hidden":"true",children:v.jsx("div",{className:"modal-dialog modal-dialog-centered",children:v.jsxs("div",{className:"modal-content",children:[v.jsxs("div",{className:"modal-header",children:[v.jsx("h5",{className:"modal-title",id:"testModalLabel",children:"Test Preparation"}),v.jsx("button",{type:"button",className:"btn-close","data-bs-dismiss":"modal","aria-label":"Close"})]}),v.jsx("div",{className:"modal-body",children:v.jsx("div",{className:"option-list",children:o.map((m,b)=>v.jsxs(Mn,{to:m.path,className:"option-item","data-bs-dismiss":"modal",children:[v.jsx("i",{className:"option-icon",children:"📝"}),v.jsx("span",{children:m.name})]},b))})})]})})})]})}function yre(){const{showEnquiry:e,closeEnquiry:t,openEnquiry:n}=KO();return j.useEffect(()=>{zd.init({duration:1e3,once:!1,mirror:!0,offset:120})},[]),v.jsxs(N7,{children:[v.jsx(dL,{}),v.jsx(vre,{}),v.jsx("main",{style:{minHeight:"80vh"},children:v.jsxs(o7,{children:[v.jsx(ho,{path:"/",element:v.jsx(dB,{})}),v.jsx(ho,{path:"/about",element:v.jsx(hB,{})}),v.jsx(ho,{path:"/contact",element:v.jsx(pB,{})}),v.jsx(ho,{path:"/accommodation",element:v.jsx(fJ,{})}),v.jsx(ho,{path:"/country-of-study/:slug",element:v.jsx(uJ,{})}),v.jsx(ho,{path:"/finance/fly-forex",element:v.jsx(wB,{})}),v.jsx(ho,{path:"/finance/fly-loan",element:v.jsx(lJ,{})})]})}),v.jsx(hL,{}),v.jsx(KL,{isOpen:e,onClose:t})]})}function bre(){return v.jsx(B7,{children:v.jsx(yre,{})})}var qm={exports:{}};/*! * Bootstrap v5.3.8 (https://getbootstrap.com/) * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) */var xre=qm.exports,NO;function wre(){return NO||(NO=1,(function(e,t){(function(n,i){e.exports=i()})(xre,function(){const n=new Map,i={set(N,y,S){n.has(N)||n.set(N,new Map);const L=n.get(N);L.has(y)||L.size===0?L.set(y,S):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(L.keys())[0]}.`)},get:(N,y)=>n.has(N)&&n.get(N).get(y)||null,remove(N,y){if(!n.has(N))return;const S=n.get(N);S.delete(y),S.size===0&&n.delete(N)}},a="transitionend",o=N=>(N&&window.CSS&&window.CSS.escape&&(N=N.replace(/#([^\s"#']+)/g,(y,S)=>`#${CSS.escape(S)}`)),N),l=N=>N==null?`${N}`:Object.prototype.toString.call(N).match(/\s([a-z]+)/i)[1].toLowerCase(),u=N=>{N.dispatchEvent(new Event(a))},f=N=>!(!N||typeof N!="object")&&(N.jquery!==void 0&&(N=N[0]),N.nodeType!==void 0),h=N=>f(N)?N.jquery?N[0]:N:typeof N=="string"&&N.length>0?document.querySelector(o(N)):null,p=N=>{if(!f(N)||N.getClientRects().length===0)return!1;const y=getComputedStyle(N).getPropertyValue("visibility")==="visible",S=N.closest("details:not([open])");if(!S)return y;if(S!==N){const L=N.closest("summary");if(L&&L.parentNode!==S||L===null)return!1}return y},m=N=>!N||N.nodeType!==Node.ELEMENT_NODE||!!N.classList.contains("disabled")||(N.disabled!==void 0?N.disabled:N.hasAttribute("disabled")&&N.getAttribute("disabled")!=="false"),b=N=>{if(!document.documentElement.attachShadow)return null;if(typeof N.getRootNode=="function"){const y=N.getRootNode();return y instanceof ShadowRoot?y:null}return N instanceof ShadowRoot?N:N.parentNode?b(N.parentNode):null},w=()=>{},_=N=>{N.offsetHeight},E=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,O=[],C=()=>document.documentElement.dir==="rtl",T=N=>{var y;y=()=>{const S=E();if(S){const L=N.NAME,Y=S.fn[L];S.fn[L]=N.jQueryInterface,S.fn[L].Constructor=N,S.fn[L].noConflict=()=>(S.fn[L]=Y,N.jQueryInterface)}},document.readyState==="loading"?(O.length||document.addEventListener("DOMContentLoaded",()=>{for(const S of O)S()}),O.push(y)):y()},A=(N,y=[],S=N)=>typeof N=="function"?N.call(...y):S,k=(N,y,S=!0)=>{if(!S)return void A(N);const L=(ie=>{if(!ie)return 0;let{transitionDuration:fe,transitionDelay:ye}=window.getComputedStyle(ie);const _e=Number.parseFloat(fe),Se=Number.parseFloat(ye);return _e||Se?(fe=fe.split(",")[0],ye=ye.split(",")[0],1e3*(Number.parseFloat(fe)+Number.parseFloat(ye))):0})(y)+5;let Y=!1;const K=({target:ie})=>{ie===y&&(Y=!0,y.removeEventListener(a,K),A(N))};y.addEventListener(a,K),setTimeout(()=>{Y||u(y)},L)},D=(N,y,S,L)=>{const Y=N.length;let K=N.indexOf(y);return K===-1?!S&&L?N[Y-1]:N[0]:(K+=S?1:-1,L&&(K=(K+Y)%Y),N[Math.max(0,Math.min(K,Y-1))])},R=/[^.]*(?=\..*)\.|.*/,B=/\..*/,$=/::\d+$/,F={};let X=1;const H={mouseenter:"mouseover",mouseleave:"mouseout"},U=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function se(N,y){return y&&`${y}::${X++}`||N.uidEvent||X++}function ce(N){const y=se(N);return N.uidEvent=y,F[y]=F[y]||{},F[y]}function ge(N,y,S=null){return Object.values(N).find(L=>L.callable===y&&L.delegationSelector===S)}function q(N,y,S){const L=typeof y=="string",Y=L?S:y||S;let K=z(N);return U.has(K)||(K=N),[L,Y,K]}function te(N,y,S,L,Y){if(typeof y!="string"||!N)return;let[K,ie,fe]=q(y,S,L);y in H&&(ie=(Ge=>function(Le){if(!Le.relatedTarget||Le.relatedTarget!==Le.delegateTarget&&!Le.delegateTarget.contains(Le.relatedTarget))return Ge.call(this,Le)})(ie));const ye=ce(N),_e=ye[fe]||(ye[fe]={}),Se=ge(_e,ie,K?S:null);if(Se)return void(Se.oneOff=Se.oneOff&&Y);const xe=se(ie,y.replace(R,"")),Fe=K?(function(Re,Ge,Le){return function Ve(ut){const dt=Re.querySelectorAll(Ge);for(let{target:Ye}=ut;Ye&&Ye!==this;Ye=Ye.parentNode)for(const We of dt)if(We===Ye)return oe(ut,{delegateTarget:Ye}),Ve.oneOff&&V.off(Re,ut.type,Ge,Le),Le.apply(Ye,[ut])}})(N,S,ie):(function(Re,Ge){return function Le(Ve){return oe(Ve,{delegateTarget:Re}),Le.oneOff&&V.off(Re,Ve.type,Ge),Ge.apply(Re,[Ve])}})(N,ie);Fe.delegationSelector=K?S:null,Fe.callable=ie,Fe.oneOff=Y,Fe.uidEvent=xe,_e[xe]=Fe,N.addEventListener(fe,Fe,K)}function re(N,y,S,L,Y){const K=ge(y[S],L,Y);K&&(N.removeEventListener(S,K,!!Y),delete y[S][K.uidEvent])}function pe(N,y,S,L){const Y=y[S]||{};for(const[K,ie]of Object.entries(Y))K.includes(L)&&re(N,y,S,ie.callable,ie.delegationSelector)}function z(N){return N=N.replace(B,""),H[N]||N}const V={on(N,y,S,L){te(N,y,S,L,!1)},one(N,y,S,L){te(N,y,S,L,!0)},off(N,y,S,L){if(typeof y!="string"||!N)return;const[Y,K,ie]=q(y,S,L),fe=ie!==y,ye=ce(N),_e=ye[ie]||{},Se=y.startsWith(".");if(K===void 0){if(Se)for(const xe of Object.keys(ye))pe(N,ye,xe,y.slice(1));for(const[xe,Fe]of Object.entries(_e)){const Re=xe.replace($,"");fe&&!y.includes(Re)||re(N,ye,ie,Fe.callable,Fe.delegationSelector)}}else{if(!Object.keys(_e).length)return;re(N,ye,ie,K,Y?S:null)}},trigger(N,y,S){if(typeof y!="string"||!N)return null;const L=E();let Y=null,K=!0,ie=!0,fe=!1;y!==z(y)&&L&&(Y=L.Event(y,S),L(N).trigger(Y),K=!Y.isPropagationStopped(),ie=!Y.isImmediatePropagationStopped(),fe=Y.isDefaultPrevented());const ye=oe(new Event(y,{bubbles:K,cancelable:!0}),S);return fe&&ye.preventDefault(),ie&&N.dispatchEvent(ye),ye.defaultPrevented&&Y&&Y.preventDefault(),ye}};function oe(N,y={}){for(const[S,L]of Object.entries(y))try{N[S]=L}catch{Object.defineProperty(N,S,{configurable:!0,get:()=>L})}return N}function ve(N){if(N==="true")return!0;if(N==="false")return!1;if(N===Number(N).toString())return Number(N);if(N===""||N==="null")return null;if(typeof N!="string")return N;try{return JSON.parse(decodeURIComponent(N))}catch{return N}}function we(N){return N.replace(/[A-Z]/g,y=>`-${y.toLowerCase()}`)}const Ce={setDataAttribute(N,y,S){N.setAttribute(`data-bs-${we(y)}`,S)},removeDataAttribute(N,y){N.removeAttribute(`data-bs-${we(y)}`)},getDataAttributes(N){if(!N)return{};const y={},S=Object.keys(N.dataset).filter(L=>L.startsWith("bs")&&!L.startsWith("bsConfig"));for(const L of S){let Y=L.replace(/^bs/,"");Y=Y.charAt(0).toLowerCase()+Y.slice(1),y[Y]=ve(N.dataset[L])}return y},getDataAttribute:(N,y)=>ve(N.getAttribute(`data-bs-${we(y)}`))};class Ee{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(y){return y=this._mergeConfigObj(y),y=this._configAfterMerge(y),this._typeCheckConfig(y),y}_configAfterMerge(y){return y}_mergeConfigObj(y,S){const L=f(S)?Ce.getDataAttribute(S,"config"):{};return{...this.constructor.Default,...typeof L=="object"?L:{},...f(S)?Ce.getDataAttributes(S):{},...typeof y=="object"?y:{}}}_typeCheckConfig(y,S=this.constructor.DefaultType){for(const[L,Y]of Object.entries(S)){const K=y[L],ie=f(K)?"element":l(K);if(!new RegExp(Y).test(ie))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${L}" provided type "${ie}" but expected type "${Y}".`)}}}class Ie extends Ee{constructor(y,S){super(),(y=h(y))&&(this._element=y,this._config=this._getConfig(S),i.set(this._element,this.constructor.DATA_KEY,this))}dispose(){i.remove(this._element,this.constructor.DATA_KEY),V.off(this._element,this.constructor.EVENT_KEY);for(const y of Object.getOwnPropertyNames(this))this[y]=null}_queueCallback(y,S,L=!0){k(y,S,L)}_getConfig(y){return y=this._mergeConfigObj(y,this._element),y=this._configAfterMerge(y),this._typeCheckConfig(y),y}static getInstance(y){return i.get(h(y),this.DATA_KEY)}static getOrCreateInstance(y,S={}){return this.getInstance(y)||new this(y,typeof S=="object"?S:null)}static get VERSION(){return"5.3.8"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(y){return`${y}${this.EVENT_KEY}`}}const Ne=N=>{let y=N.getAttribute("data-bs-target");if(!y||y==="#"){let S=N.getAttribute("href");if(!S||!S.includes("#")&&!S.startsWith("."))return null;S.includes("#")&&!S.startsWith("#")&&(S=`#${S.split("#")[1]}`),y=S&&S!=="#"?S.trim():null}return y?y.split(",").map(S=>o(S)).join(","):null},ne={find:(N,y=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(y,N)),findOne:(N,y=document.documentElement)=>Element.prototype.querySelector.call(y,N),children:(N,y)=>[].concat(...N.children).filter(S=>S.matches(y)),parents(N,y){const S=[];let L=N.parentNode.closest(y);for(;L;)S.push(L),L=L.parentNode.closest(y);return S},prev(N,y){let S=N.previousElementSibling;for(;S;){if(S.matches(y))return[S];S=S.previousElementSibling}return[]},next(N,y){let S=N.nextElementSibling;for(;S;){if(S.matches(y))return[S];S=S.nextElementSibling}return[]},focusableChildren(N){const y=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(S=>`${S}:not([tabindex^="-"])`).join(",");return this.find(y,N).filter(S=>!m(S)&&p(S))},getSelectorFromElement(N){const y=Ne(N);return y&&ne.findOne(y)?y:null},getElementFromSelector(N){const y=Ne(N);return y?ne.findOne(y):null},getMultipleElementsFromSelector(N){const y=Ne(N);return y?ne.find(y):[]}},De=(N,y="hide")=>{const S=`click.dismiss${N.EVENT_KEY}`,L=N.NAME;V.on(document,S,`[data-bs-dismiss="${L}"]`,function(Y){if(["A","AREA"].includes(this.tagName)&&Y.preventDefault(),m(this))return;const K=ne.getElementFromSelector(this)||this.closest(`.${L}`);N.getOrCreateInstance(K)[y]()})},Pe=".bs.alert",he=`close${Pe}`,Ue=`closed${Pe}`;class Te extends Ie{static get NAME(){return"alert"}close(){if(V.trigger(this._element,he).defaultPrevented)return;this._element.classList.remove("show");const y=this._element.classList.contains("fade");this._queueCallback(()=>this._destroyElement(),this._element,y)}_destroyElement(){this._element.remove(),V.trigger(this._element,Ue),this.dispose()}static jQueryInterface(y){return this.each(function(){const S=Te.getOrCreateInstance(this);if(typeof y=="string"){if(S[y]===void 0||y.startsWith("_")||y==="constructor")throw new TypeError(`No method named "${y}"`);S[y](this)}})}}De(Te,"close"),T(Te);const tt='[data-bs-toggle="button"]';class at extends Ie{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(y){return this.each(function(){const S=at.getOrCreateInstance(this);y==="toggle"&&S[y]()})}}V.on(document,"click.bs.button.data-api",tt,N=>{N.preventDefault();const y=N.target.closest(tt);at.getOrCreateInstance(y).toggle()}),T(at);const ct=".bs.swipe",ds=`touchstart${ct}`,Hl=`touchmove${ct}`,Ri=`touchend${ct}`,cr=`pointerdown${ct}`,ql=`pointerup${ct}`,Do={endCallback:null,leftCallback:null,rightCallback:null},Po={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class ha extends Ee{constructor(y,S){super(),this._element=y,y&&ha.isSupported()&&(this._config=this._getConfig(S),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return Do}static get DefaultType(){return Po}static get NAME(){return"swipe"}dispose(){V.off(this._element,ct)}_start(y){this._supportPointerEvents?this._eventIsPointerPenTouch(y)&&(this._deltaX=y.clientX):this._deltaX=y.touches[0].clientX}_end(y){this._eventIsPointerPenTouch(y)&&(this._deltaX=y.clientX-this._deltaX),this._handleSwipe(),A(this._config.endCallback)}_move(y){this._deltaX=y.touches&&y.touches.length>1?0:y.touches[0].clientX-this._deltaX}_handleSwipe(){const y=Math.abs(this._deltaX);if(y<=40)return;const S=y/this._deltaX;this._deltaX=0,S&&A(S>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(V.on(this._element,cr,y=>this._start(y)),V.on(this._element,ql,y=>this._end(y)),this._element.classList.add("pointer-event")):(V.on(this._element,ds,y=>this._start(y)),V.on(this._element,Hl,y=>this._move(y)),V.on(this._element,Ri,y=>this._end(y)))}_eventIsPointerPenTouch(y){return this._supportPointerEvents&&(y.pointerType==="pen"||y.pointerType==="touch")}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const wn=".bs.carousel",rn=".data-api",mi="ArrowLeft",Vn="ArrowRight",Lo="next",hs="prev",ps="left",pa="right",Ul=`slide${wn}`,ur=`slid${wn}`,Fl=`keydown${wn}`,ko=`mouseenter${wn}`,jv=`mouseleave${wn}`,_h=`dragstart${wn}`,Eh=`load${wn}${rn}`,qu=`click${wn}${rn}`,ms="carousel",Gl="active",Uu=".active",Fu=".carousel-item",Gu=Uu+Fu,Yu={[mi]:pa,[Vn]:ps},Sh={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Dv={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Hn extends Ie{constructor(y,S){super(y,S),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=ne.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===ms&&this.cycle()}static get Default(){return Sh}static get DefaultType(){return Dv}static get NAME(){return"carousel"}next(){this._slide(Lo)}nextWhenVisible(){!document.hidden&&p(this._element)&&this.next()}prev(){this._slide(hs)}pause(){this._isSliding&&u(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?V.one(this._element,ur,()=>this.cycle()):this.cycle())}to(y){const S=this._getItems();if(y>S.length-1||y<0)return;if(this._isSliding)return void V.one(this._element,ur,()=>this.to(y));const L=this._getItemIndex(this._getActive());if(L===y)return;const Y=y>L?Lo:hs;this._slide(Y,S[y])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(y){return y.defaultInterval=y.interval,y}_addEventListeners(){this._config.keyboard&&V.on(this._element,Fl,y=>this._keydown(y)),this._config.pause==="hover"&&(V.on(this._element,ko,()=>this.pause()),V.on(this._element,jv,()=>this._maybeEnableCycle())),this._config.touch&&ha.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const S of ne.find(".carousel-item img",this._element))V.on(S,_h,L=>L.preventDefault());const y={leftCallback:()=>this._slide(this._directionToOrder(ps)),rightCallback:()=>this._slide(this._directionToOrder(pa)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}};this._swipeHelper=new ha(this._element,y)}_keydown(y){if(/input|textarea/i.test(y.target.tagName))return;const S=Yu[y.key];S&&(y.preventDefault(),this._slide(this._directionToOrder(S)))}_getItemIndex(y){return this._getItems().indexOf(y)}_setActiveIndicatorElement(y){if(!this._indicatorsElement)return;const S=ne.findOne(Uu,this._indicatorsElement);S.classList.remove(Gl),S.removeAttribute("aria-current");const L=ne.findOne(`[data-bs-slide-to="${y}"]`,this._indicatorsElement);L&&(L.classList.add(Gl),L.setAttribute("aria-current","true"))}_updateInterval(){const y=this._activeElement||this._getActive();if(!y)return;const S=Number.parseInt(y.getAttribute("data-bs-interval"),10);this._config.interval=S||this._config.defaultInterval}_slide(y,S=null){if(this._isSliding)return;const L=this._getActive(),Y=y===Lo,K=S||D(this._getItems(),L,Y,this._config.wrap);if(K===L)return;const ie=this._getItemIndex(K),fe=xe=>V.trigger(this._element,xe,{relatedTarget:K,direction:this._orderToDirection(y),from:this._getItemIndex(L),to:ie});if(fe(Ul).defaultPrevented||!L||!K)return;const ye=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(ie),this._activeElement=K;const _e=Y?"carousel-item-start":"carousel-item-end",Se=Y?"carousel-item-next":"carousel-item-prev";K.classList.add(Se),_(K),L.classList.add(_e),K.classList.add(_e),this._queueCallback(()=>{K.classList.remove(_e,Se),K.classList.add(Gl),L.classList.remove(Gl,Se,_e),this._isSliding=!1,fe(ur)},L,this._isAnimated()),ye&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return ne.findOne(Gu,this._element)}_getItems(){return ne.find(Fu,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(y){return C()?y===ps?hs:Lo:y===ps?Lo:hs}_orderToDirection(y){return C()?y===hs?ps:pa:y===hs?pa:ps}static jQueryInterface(y){return this.each(function(){const S=Hn.getOrCreateInstance(this,y);if(typeof y!="number"){if(typeof y=="string"){if(S[y]===void 0||y.startsWith("_")||y==="constructor")throw new TypeError(`No method named "${y}"`);S[y]()}}else S.to(y)})}}V.on(document,qu,"[data-bs-slide], [data-bs-slide-to]",function(N){const y=ne.getElementFromSelector(this);if(!y||!y.classList.contains(ms))return;N.preventDefault();const S=Hn.getOrCreateInstance(y),L=this.getAttribute("data-bs-slide-to");return L?(S.to(L),void S._maybeEnableCycle()):Ce.getDataAttribute(this,"slide")==="next"?(S.next(),void S._maybeEnableCycle()):(S.prev(),void S._maybeEnableCycle())}),V.on(window,Eh,()=>{const N=ne.find('[data-bs-ride="carousel"]');for(const y of N)Hn.getOrCreateInstance(y)}),T(Hn);const Vt=".bs.collapse",Dn=`show${Vt}`,gs=`shown${Vt}`,Ku=`hide${Vt}`,Pv=`hidden${Vt}`,Lv=`click${Vt}.data-api`,Yl="show",zi="collapse",vs="collapsing",ys=`:scope .${zi} .${zi}`,Dr='[data-bs-toggle="collapse"]',Ro={parent:null,toggle:!0},bs={parent:"(null|element)",toggle:"boolean"};class Mt extends Ie{constructor(y,S){super(y,S),this._isTransitioning=!1,this._triggerArray=[];const L=ne.find(Dr);for(const Y of L){const K=ne.getSelectorFromElement(Y),ie=ne.find(K).filter(fe=>fe===this._element);K!==null&&ie.length&&this._triggerArray.push(Y)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Ro}static get DefaultType(){return bs}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let y=[];if(this._config.parent&&(y=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(Y=>Y!==this._element).map(Y=>Mt.getOrCreateInstance(Y,{toggle:!1}))),y.length&&y[0]._isTransitioning||V.trigger(this._element,Dn).defaultPrevented)return;for(const Y of y)Y.hide();const S=this._getDimension();this._element.classList.remove(zi),this._element.classList.add(vs),this._element.style[S]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const L=`scroll${S[0].toUpperCase()+S.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(vs),this._element.classList.add(zi,Yl),this._element.style[S]="",V.trigger(this._element,gs)},this._element,!0),this._element.style[S]=`${this._element[L]}px`}hide(){if(this._isTransitioning||!this._isShown()||V.trigger(this._element,Ku).defaultPrevented)return;const y=this._getDimension();this._element.style[y]=`${this._element.getBoundingClientRect()[y]}px`,_(this._element),this._element.classList.add(vs),this._element.classList.remove(zi,Yl);for(const S of this._triggerArray){const L=ne.getElementFromSelector(S);L&&!this._isShown(L)&&this._addAriaAndCollapsedClass([S],!1)}this._isTransitioning=!0,this._element.style[y]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(vs),this._element.classList.add(zi),V.trigger(this._element,Pv)},this._element,!0)}_isShown(y=this._element){return y.classList.contains(Yl)}_configAfterMerge(y){return y.toggle=!!y.toggle,y.parent=h(y.parent),y}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const y=this._getFirstLevelChildren(Dr);for(const S of y){const L=ne.getElementFromSelector(S);L&&this._addAriaAndCollapsedClass([S],this._isShown(L))}}_getFirstLevelChildren(y){const S=ne.find(ys,this._config.parent);return ne.find(y,this._config.parent).filter(L=>!S.includes(L))}_addAriaAndCollapsedClass(y,S){if(y.length)for(const L of y)L.classList.toggle("collapsed",!S),L.setAttribute("aria-expanded",S)}static jQueryInterface(y){const S={};return typeof y=="string"&&/show|hide/.test(y)&&(S.toggle=!1),this.each(function(){const L=Mt.getOrCreateInstance(this,S);if(typeof y=="string"){if(L[y]===void 0)throw new TypeError(`No method named "${y}"`);L[y]()}})}}V.on(document,Lv,Dr,function(N){(N.target.tagName==="A"||N.delegateTarget&&N.delegateTarget.tagName==="A")&&N.preventDefault();for(const y of ne.getMultipleElementsFromSelector(this))Mt.getOrCreateInstance(y,{toggle:!1}).toggle()}),T(Mt);var cn="top",Pn="bottom",Yt="right",Ht="left",Kl="auto",ma=[cn,Pn,Yt,Ht],Pr="start",xs="end",zo="clippingParents",ws="viewport",Ln="popper",Wl="reference",Xl=ma.reduce(function(N,y){return N.concat([y+"-"+Pr,y+"-"+xs])},[]),Lr=[].concat(ma,[Kl]).reduce(function(N,y){return N.concat([y,y+"-"+Pr,y+"-"+xs])},[]),Ql="beforeRead",Zl="read",Th="afterRead",Wu="beforeMain",qn="main",Xu="afterMain",Ah="beforeWrite",Io="write",Qu="afterWrite",$o=[Ql,Zl,Th,Wu,qn,Xu,Ah,Io,Qu];function Ii(N){return N?(N.nodeName||"").toLowerCase():null}function St(N){if(N==null)return window;if(N.toString()!=="[object Window]"){var y=N.ownerDocument;return y&&y.defaultView||window}return N}function fr(N){return N instanceof St(N).Element||N instanceof Element}function Un(N){return N instanceof St(N).HTMLElement||N instanceof HTMLElement}function Bo(N){return typeof ShadowRoot<"u"&&(N instanceof St(N).ShadowRoot||N instanceof ShadowRoot)}const kr={name:"applyStyles",enabled:!0,phase:"write",fn:function(N){var y=N.state;Object.keys(y.elements).forEach(function(S){var L=y.styles[S]||{},Y=y.attributes[S]||{},K=y.elements[S];Un(K)&&Ii(K)&&(Object.assign(K.style,L),Object.keys(Y).forEach(function(ie){var fe=Y[ie];fe===!1?K.removeAttribute(ie):K.setAttribute(ie,fe===!0?"":fe)}))})},effect:function(N){var y=N.state,S={popper:{position:y.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(y.elements.popper.style,S.popper),y.styles=S,y.elements.arrow&&Object.assign(y.elements.arrow.style,S.arrow),function(){Object.keys(y.elements).forEach(function(L){var Y=y.elements[L],K=y.attributes[L]||{},ie=Object.keys(y.styles.hasOwnProperty(L)?y.styles[L]:S[L]).reduce(function(fe,ye){return fe[ye]="",fe},{});Un(Y)&&Ii(Y)&&(Object.assign(Y.style,ie),Object.keys(K).forEach(function(fe){Y.removeAttribute(fe)}))})}},requires:["computeStyles"]};function gi(N){return N.split("-")[0]}var Rr=Math.max,dr=Math.min,_s=Math.round;function Jl(){var N=navigator.userAgentData;return N!=null&&N.brands&&Array.isArray(N.brands)?N.brands.map(function(y){return y.brand+"/"+y.version}).join(" "):navigator.userAgent}function Zu(){return!/^((?!chrome|android).)*safari/i.test(Jl())}function zr(N,y,S){y===void 0&&(y=!1),S===void 0&&(S=!1);var L=N.getBoundingClientRect(),Y=1,K=1;y&&Un(N)&&(Y=N.offsetWidth>0&&_s(L.width)/N.offsetWidth||1,K=N.offsetHeight>0&&_s(L.height)/N.offsetHeight||1);var ie=(fr(N)?St(N):window).visualViewport,fe=!Zu()&&S,ye=(L.left+(fe&&ie?ie.offsetLeft:0))/Y,_e=(L.top+(fe&&ie?ie.offsetTop:0))/K,Se=L.width/Y,xe=L.height/K;return{width:Se,height:xe,top:_e,right:ye+Se,bottom:_e+xe,left:ye,x:ye,y:_e}}function Ju(N){var y=zr(N),S=N.offsetWidth,L=N.offsetHeight;return Math.abs(y.width-S)<=1&&(S=y.width),Math.abs(y.height-L)<=1&&(L=y.height),{x:N.offsetLeft,y:N.offsetTop,width:S,height:L}}function Ch(N,y){var S=y.getRootNode&&y.getRootNode();if(N.contains(y))return!0;if(S&&Bo(S)){var L=y;do{if(L&&N.isSameNode(L))return!0;L=L.parentNode||L.host}while(L)}return!1}function ni(N){return St(N).getComputedStyle(N)}function ef(N){return["table","td","th"].indexOf(Ii(N))>=0}function $i(N){return((fr(N)?N.ownerDocument:N.document)||window.document).documentElement}function hr(N){return Ii(N)==="html"?N:N.assignedSlot||N.parentNode||(Bo(N)?N.host:null)||$i(N)}function ga(N){return Un(N)&&ni(N).position!=="fixed"?N.offsetParent:null}function Es(N){for(var y=St(N),S=ga(N);S&&ef(S)&&ni(S).position==="static";)S=ga(S);return S&&(Ii(S)==="html"||Ii(S)==="body"&&ni(S).position==="static")?y:S||(function(L){var Y=/firefox/i.test(Jl());if(/Trident/i.test(Jl())&&Un(L)&&ni(L).position==="fixed")return null;var K=hr(L);for(Bo(K)&&(K=K.host);Un(K)&&["html","body"].indexOf(Ii(K))<0;){var ie=ni(K);if(ie.transform!=="none"||ie.perspective!=="none"||ie.contain==="paint"||["transform","perspective"].indexOf(ie.willChange)!==-1||Y&&ie.willChange==="filter"||Y&&ie.filter&&ie.filter!=="none")return K;K=K.parentNode}return null})(N)||y}function Vo(N){return["top","bottom"].indexOf(N)>=0?"x":"y"}function Ss(N,y,S){return Rr(N,dr(y,S))}function Ts(N){return Object.assign({},{top:0,right:0,bottom:0,left:0},N)}function Bi(N,y){return y.reduce(function(S,L){return S[L]=N,S},{})}const ec={name:"arrow",enabled:!0,phase:"main",fn:function(N){var y,S=N.state,L=N.name,Y=N.options,K=S.elements.arrow,ie=S.modifiersData.popperOffsets,fe=gi(S.placement),ye=Vo(fe),_e=[Ht,Yt].indexOf(fe)>=0?"height":"width";if(K&&ie){var Se=(function(st,et){return Ts(typeof(st=typeof st=="function"?st(Object.assign({},et.rects,{placement:et.placement})):st)!="number"?st:Bi(st,ma))})(Y.padding,S),xe=Ju(K),Fe=ye==="y"?cn:Ht,Re=ye==="y"?Pn:Yt,Ge=S.rects.reference[_e]+S.rects.reference[ye]-ie[ye]-S.rects.popper[_e],Le=ie[ye]-S.rects.reference[ye],Ve=Es(K),ut=Ve?ye==="y"?Ve.clientHeight||0:Ve.clientWidth||0:0,dt=Ge/2-Le/2,Ye=Se[Fe],We=ut-xe[_e]-Se[Re],be=ut/2-xe[_e]/2+dt,Oe=Ss(Ye,be,We),$e=ye;S.modifiersData[L]=((y={})[$e]=Oe,y.centerOffset=Oe-be,y)}},effect:function(N){var y=N.state,S=N.options.element,L=S===void 0?"[data-popper-arrow]":S;L!=null&&(typeof L!="string"||(L=y.elements.popper.querySelector(L)))&&Ch(y.elements.popper,L)&&(y.elements.arrow=L)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Vi(N){return N.split("-")[1]}var Ir={top:"auto",right:"auto",bottom:"auto",left:"auto"};function tc(N){var y,S=N.popper,L=N.popperRect,Y=N.placement,K=N.variation,ie=N.offsets,fe=N.position,ye=N.gpuAcceleration,_e=N.adaptive,Se=N.roundOffsets,xe=N.isFixed,Fe=ie.x,Re=Fe===void 0?0:Fe,Ge=ie.y,Le=Ge===void 0?0:Ge,Ve=typeof Se=="function"?Se({x:Re,y:Le}):{x:Re,y:Le};Re=Ve.x,Le=Ve.y;var ut=ie.hasOwnProperty("x"),dt=ie.hasOwnProperty("y"),Ye=Ht,We=cn,be=window;if(_e){var Oe=Es(S),$e="clientHeight",st="clientWidth";Oe===St(S)&&ni(Oe=$i(S)).position!=="static"&&fe==="absolute"&&($e="scrollHeight",st="scrollWidth"),(Y===cn||(Y===Ht||Y===Yt)&&K===xs)&&(We=Pn,Le-=(xe&&Oe===be&&be.visualViewport?be.visualViewport.height:Oe[$e])-L.height,Le*=ye?1:-1),Y!==Ht&&(Y!==cn&&Y!==Pn||K!==xs)||(Ye=Yt,Re-=(xe&&Oe===be&&be.visualViewport?be.visualViewport.width:Oe[st])-L.width,Re*=ye?1:-1)}var et,ht=Object.assign({position:fe},_e&&Ir),dn=Se===!0?(function(Sn,qt){var si=Sn.x,it=Sn.y,Tt=qt.devicePixelRatio||1;return{x:_s(si*Tt)/Tt||0,y:_s(it*Tt)/Tt||0}})({x:Re,y:Le},St(S)):{x:Re,y:Le};return Re=dn.x,Le=dn.y,ye?Object.assign({},ht,((et={})[We]=dt?"0":"",et[Ye]=ut?"0":"",et.transform=(be.devicePixelRatio||1)<=1?"translate("+Re+"px, "+Le+"px)":"translate3d("+Re+"px, "+Le+"px, 0)",et)):Object.assign({},ht,((y={})[We]=dt?Le+"px":"",y[Ye]=ut?Re+"px":"",y.transform="",y))}const As={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(N){var y=N.state,S=N.options,L=S.gpuAcceleration,Y=L===void 0||L,K=S.adaptive,ie=K===void 0||K,fe=S.roundOffsets,ye=fe===void 0||fe,_e={placement:gi(y.placement),variation:Vi(y.placement),popper:y.elements.popper,popperRect:y.rects.popper,gpuAcceleration:Y,isFixed:y.options.strategy==="fixed"};y.modifiersData.popperOffsets!=null&&(y.styles.popper=Object.assign({},y.styles.popper,tc(Object.assign({},_e,{offsets:y.modifiersData.popperOffsets,position:y.options.strategy,adaptive:ie,roundOffsets:ye})))),y.modifiersData.arrow!=null&&(y.styles.arrow=Object.assign({},y.styles.arrow,tc(Object.assign({},_e,{offsets:y.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:ye})))),y.attributes.popper=Object.assign({},y.attributes.popper,{"data-popper-placement":y.placement})},data:{}};var Ho={passive:!0};const Cs={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(N){var y=N.state,S=N.instance,L=N.options,Y=L.scroll,K=Y===void 0||Y,ie=L.resize,fe=ie===void 0||ie,ye=St(y.elements.popper),_e=[].concat(y.scrollParents.reference,y.scrollParents.popper);return K&&_e.forEach(function(Se){Se.addEventListener("scroll",S.update,Ho)}),fe&&ye.addEventListener("resize",S.update,Ho),function(){K&&_e.forEach(function(Se){Se.removeEventListener("scroll",S.update,Ho)}),fe&&ye.removeEventListener("resize",S.update,Ho)}},data:{}};var nc={left:"right",right:"left",bottom:"top",top:"bottom"};function qo(N){return N.replace(/left|right|bottom|top/g,function(y){return nc[y]})}var kn={start:"end",end:"start"};function $r(N){return N.replace(/start|end/g,function(y){return kn[y]})}function Os(N){var y=St(N);return{scrollLeft:y.pageXOffset,scrollTop:y.pageYOffset}}function va(N){return zr($i(N)).left+Os(N).scrollLeft}function tf(N){var y=ni(N),S=y.overflow,L=y.overflowX,Y=y.overflowY;return/auto|scroll|overlay|hidden/.test(S+Y+L)}function ic(N){return["html","body","#document"].indexOf(Ii(N))>=0?N.ownerDocument.body:Un(N)&&tf(N)?N:ic(hr(N))}function ya(N,y){var S;y===void 0&&(y=[]);var L=ic(N),Y=L===((S=N.ownerDocument)==null?void 0:S.body),K=St(L),ie=Y?[K].concat(K.visualViewport||[],tf(L)?L:[]):L,fe=y.concat(ie);return Y?fe:fe.concat(ya(hr(ie)))}function ba(N){return Object.assign({},N,{left:N.x,top:N.y,right:N.x+N.width,bottom:N.y+N.height})}function Uo(N,y,S){return y===ws?ba((function(L,Y){var K=St(L),ie=$i(L),fe=K.visualViewport,ye=ie.clientWidth,_e=ie.clientHeight,Se=0,xe=0;if(fe){ye=fe.width,_e=fe.height;var Fe=Zu();(Fe||!Fe&&Y==="fixed")&&(Se=fe.offsetLeft,xe=fe.offsetTop)}return{width:ye,height:_e,x:Se+va(L),y:xe}})(N,S)):fr(y)?(function(L,Y){var K=zr(L,!1,Y==="fixed");return K.top=K.top+L.clientTop,K.left=K.left+L.clientLeft,K.bottom=K.top+L.clientHeight,K.right=K.left+L.clientWidth,K.width=L.clientWidth,K.height=L.clientHeight,K.x=K.left,K.y=K.top,K})(y,S):ba((function(L){var Y,K=$i(L),ie=Os(L),fe=(Y=L.ownerDocument)==null?void 0:Y.body,ye=Rr(K.scrollWidth,K.clientWidth,fe?fe.scrollWidth:0,fe?fe.clientWidth:0),_e=Rr(K.scrollHeight,K.clientHeight,fe?fe.scrollHeight:0,fe?fe.clientHeight:0),Se=-ie.scrollLeft+va(L),xe=-ie.scrollTop;return ni(fe||K).direction==="rtl"&&(Se+=Rr(K.clientWidth,fe?fe.clientWidth:0)-ye),{width:ye,height:_e,x:Se,y:xe}})($i(N)))}function nf(N){var y,S=N.reference,L=N.element,Y=N.placement,K=Y?gi(Y):null,ie=Y?Vi(Y):null,fe=S.x+S.width/2-L.width/2,ye=S.y+S.height/2-L.height/2;switch(K){case cn:y={x:fe,y:S.y-L.height};break;case Pn:y={x:fe,y:S.y+S.height};break;case Yt:y={x:S.x+S.width,y:ye};break;case Ht:y={x:S.x-L.width,y:ye};break;default:y={x:S.x,y:S.y}}var _e=K?Vo(K):null;if(_e!=null){var Se=_e==="y"?"height":"width";switch(ie){case Pr:y[_e]=y[_e]-(S[Se]/2-L[Se]/2);break;case xs:y[_e]=y[_e]+(S[Se]/2-L[Se]/2)}}return y}function Ms(N,y){y===void 0&&(y={});var S=y,L=S.placement,Y=L===void 0?N.placement:L,K=S.strategy,ie=K===void 0?N.strategy:K,fe=S.boundary,ye=fe===void 0?zo:fe,_e=S.rootBoundary,Se=_e===void 0?ws:_e,xe=S.elementContext,Fe=xe===void 0?Ln:xe,Re=S.altBoundary,Ge=Re!==void 0&&Re,Le=S.padding,Ve=Le===void 0?0:Le,ut=Ts(typeof Ve!="number"?Ve:Bi(Ve,ma)),dt=Fe===Ln?Wl:Ln,Ye=N.rects.popper,We=N.elements[Ge?dt:Fe],be=(function(qt,si,it,Tt){var oi=si==="clippingParents"?(function(ft){var an=ya(hr(ft)),In=["absolute","fixed"].indexOf(ni(ft).position)>=0&&Un(ft)?Es(ft):ft;return fr(In)?an.filter(function(zt){return fr(zt)&&Ch(zt,In)&&Ii(zt)!=="body"}):[]})(qt):[].concat(si),bi=[].concat(oi,[it]),La=bi[0],Zt=bi.reduce(function(ft,an){var In=Uo(qt,an,Tt);return ft.top=Rr(In.top,ft.top),ft.right=dr(In.right,ft.right),ft.bottom=dr(In.bottom,ft.bottom),ft.left=Rr(In.left,ft.left),ft},Uo(qt,La,Tt));return Zt.width=Zt.right-Zt.left,Zt.height=Zt.bottom-Zt.top,Zt.x=Zt.left,Zt.y=Zt.top,Zt})(fr(We)?We:We.contextElement||$i(N.elements.popper),ye,Se,ie),Oe=zr(N.elements.reference),$e=nf({reference:Oe,element:Ye,placement:Y}),st=ba(Object.assign({},Ye,$e)),et=Fe===Ln?st:Oe,ht={top:be.top-et.top+ut.top,bottom:et.bottom-be.bottom+ut.bottom,left:be.left-et.left+ut.left,right:et.right-be.right+ut.right},dn=N.modifiersData.offset;if(Fe===Ln&&dn){var Sn=dn[Y];Object.keys(ht).forEach(function(qt){var si=[Yt,Pn].indexOf(qt)>=0?1:-1,it=[cn,Pn].indexOf(qt)>=0?"y":"x";ht[qt]+=Sn[it]*si})}return ht}function kv(N,y){y===void 0&&(y={});var S=y,L=S.placement,Y=S.boundary,K=S.rootBoundary,ie=S.padding,fe=S.flipVariations,ye=S.allowedAutoPlacements,_e=ye===void 0?Lr:ye,Se=Vi(L),xe=Se?fe?Xl:Xl.filter(function(Ge){return Vi(Ge)===Se}):ma,Fe=xe.filter(function(Ge){return _e.indexOf(Ge)>=0});Fe.length===0&&(Fe=xe);var Re=Fe.reduce(function(Ge,Le){return Ge[Le]=Ms(N,{placement:Le,boundary:Y,rootBoundary:K,padding:ie})[gi(Le)],Ge},{});return Object.keys(Re).sort(function(Ge,Le){return Re[Ge]-Re[Le]})}const Oh={name:"flip",enabled:!0,phase:"main",fn:function(N){var y=N.state,S=N.options,L=N.name;if(!y.modifiersData[L]._skip){for(var Y=S.mainAxis,K=Y===void 0||Y,ie=S.altAxis,fe=ie===void 0||ie,ye=S.fallbackPlacements,_e=S.padding,Se=S.boundary,xe=S.rootBoundary,Fe=S.altBoundary,Re=S.flipVariations,Ge=Re===void 0||Re,Le=S.allowedAutoPlacements,Ve=y.options.placement,ut=gi(Ve),dt=ye||(ut!==Ve&&Ge?(function(ft){if(gi(ft)===Kl)return[];var an=qo(ft);return[$r(ft),an,$r(an)]})(Ve):[qo(Ve)]),Ye=[Ve].concat(dt).reduce(function(ft,an){return ft.concat(gi(an)===Kl?kv(y,{placement:an,boundary:Se,rootBoundary:xe,padding:_e,flipVariations:Ge,allowedAutoPlacements:Le}):an)},[]),We=y.rects.reference,be=y.rects.popper,Oe=new Map,$e=!0,st=Ye[0],et=0;et<Ye.length;et++){var ht=Ye[et],dn=gi(ht),Sn=Vi(ht)===Pr,qt=[cn,Pn].indexOf(dn)>=0,si=qt?"width":"height",it=Ms(y,{placement:ht,boundary:Se,rootBoundary:xe,altBoundary:Fe,padding:_e}),Tt=qt?Sn?Yt:Ht:Sn?Pn:cn;We[si]>be[si]&&(Tt=qo(Tt));var oi=qo(Tt),bi=[];if(K&&bi.push(it[dn]<=0),fe&&bi.push(it[Tt]<=0,it[oi]<=0),bi.every(function(ft){return ft})){st=ht,$e=!1;break}Oe.set(ht,bi)}if($e)for(var La=function(ft){var an=Ye.find(function(In){var zt=Oe.get(In);if(zt)return zt.slice(0,ft).every(function(Nt){return Nt})});if(an)return st=an,"break"},Zt=Ge?3:1;Zt>0&&La(Zt)!=="break";Zt--);y.placement!==st&&(y.modifiersData[L]._skip=!0,y.placement=st,y.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function rc(N,y,S){return S===void 0&&(S={x:0,y:0}),{top:N.top-y.height-S.y,right:N.right-y.width+S.x,bottom:N.bottom-y.height+S.y,left:N.left-y.width-S.x}}function Mh(N){return[cn,Yt,Pn,Ht].some(function(y){return N[y]>=0})}const Nh={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(N){var y=N.state,S=N.name,L=y.rects.reference,Y=y.rects.popper,K=y.modifiersData.preventOverflow,ie=Ms(y,{elementContext:"reference"}),fe=Ms(y,{altBoundary:!0}),ye=rc(ie,L),_e=rc(fe,Y,K),Se=Mh(ye),xe=Mh(_e);y.modifiersData[S]={referenceClippingOffsets:ye,popperEscapeOffsets:_e,isReferenceHidden:Se,hasPopperEscaped:xe},y.attributes.popper=Object.assign({},y.attributes.popper,{"data-popper-reference-hidden":Se,"data-popper-escaped":xe})}},jh={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(N){var y=N.state,S=N.options,L=N.name,Y=S.offset,K=Y===void 0?[0,0]:Y,ie=Lr.reduce(function(Se,xe){return Se[xe]=(function(Fe,Re,Ge){var Le=gi(Fe),Ve=[Ht,cn].indexOf(Le)>=0?-1:1,ut=typeof Ge=="function"?Ge(Object.assign({},Re,{placement:Fe})):Ge,dt=ut[0],Ye=ut[1];return dt=dt||0,Ye=(Ye||0)*Ve,[Ht,Yt].indexOf(Le)>=0?{x:Ye,y:dt}:{x:dt,y:Ye}})(xe,y.rects,K),Se},{}),fe=ie[y.placement],ye=fe.x,_e=fe.y;y.modifiersData.popperOffsets!=null&&(y.modifiersData.popperOffsets.x+=ye,y.modifiersData.popperOffsets.y+=_e),y.modifiersData[L]=ie}},rf={name:"popperOffsets",enabled:!0,phase:"read",fn:function(N){var y=N.state,S=N.name;y.modifiersData[S]=nf({reference:y.rects.reference,element:y.rects.popper,placement:y.placement})},data:{}},Dh={name:"preventOverflow",enabled:!0,phase:"main",fn:function(N){var y=N.state,S=N.options,L=N.name,Y=S.mainAxis,K=Y===void 0||Y,ie=S.altAxis,fe=ie!==void 0&&ie,ye=S.boundary,_e=S.rootBoundary,Se=S.altBoundary,xe=S.padding,Fe=S.tether,Re=Fe===void 0||Fe,Ge=S.tetherOffset,Le=Ge===void 0?0:Ge,Ve=Ms(y,{boundary:ye,rootBoundary:_e,padding:xe,altBoundary:Se}),ut=gi(y.placement),dt=Vi(y.placement),Ye=!dt,We=Vo(ut),be=We==="x"?"y":"x",Oe=y.modifiersData.popperOffsets,$e=y.rects.reference,st=y.rects.popper,et=typeof Le=="function"?Le(Object.assign({},y.rects,{placement:y.placement})):Le,ht=typeof et=="number"?{mainAxis:et,altAxis:et}:Object.assign({mainAxis:0,altAxis:0},et),dn=y.modifiersData.offset?y.modifiersData.offset[y.placement]:null,Sn={x:0,y:0};if(Oe){if(K){var qt,si=We==="y"?cn:Ht,it=We==="y"?Pn:Yt,Tt=We==="y"?"height":"width",oi=Oe[We],bi=oi+Ve[si],La=oi-Ve[it],Zt=Re?-st[Tt]/2:0,ft=dt===Pr?$e[Tt]:st[Tt],an=dt===Pr?-st[Tt]:-$e[Tt],In=y.elements.arrow,zt=Re&&In?Ju(In):{width:0,height:0},Nt=y.modifiersData["arrow#persistent"]?y.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},_c=Nt[si],Us=Nt[it],ka=Ss(0,$e[Tt],zt[Tt]),Tf=Ye?$e[Tt]/2-Zt-ka-_c-ht.mainAxis:ft-ka-_c-ht.mainAxis,wr=Ye?-$e[Tt]/2+Zt+ka+Us+ht.mainAxis:an+ka+Us+ht.mainAxis,Fs=y.elements.arrow&&Es(y.elements.arrow),Af=Fs?We==="y"?Fs.clientTop||0:Fs.clientLeft||0:0,Ec=(qt=dn?.[We])!=null?qt:0,mp=oi+wr-Ec,Cf=Ss(Re?dr(bi,oi+Tf-Ec-Af):bi,oi,Re?Rr(La,mp):La);Oe[We]=Cf,Sn[We]=Cf-oi}if(fe){var Of,gp=We==="x"?cn:Ht,vp=We==="x"?Pn:Yt,Gr=Oe[be],Gs=be==="y"?"height":"width",Mf=Gr+Ve[gp],yp=Gr-Ve[vp],Sc=[cn,Ht].indexOf(ut)!==-1,Nf=(Of=dn?.[be])!=null?Of:0,jf=Sc?Mf:Gr-$e[Gs]-st[Gs]-Nf+ht.altAxis,Tc=Sc?Gr+$e[Gs]+st[Gs]-Nf-ht.altAxis:yp,Df=Re&&Sc?(function(bp,xp,Ac){var Pf=Ss(bp,xp,Ac);return Pf>Ac?Ac:Pf})(jf,Gr,Tc):Ss(Re?jf:Mf,Gr,Re?Tc:yp);Oe[be]=Df,Sn[be]=Df-Gr}y.modifiersData[L]=Sn}},requiresIfExists:["offset"]};function Ph(N,y,S){S===void 0&&(S=!1);var L,Y,K=Un(y),ie=Un(y)&&(function(xe){var Fe=xe.getBoundingClientRect(),Re=_s(Fe.width)/xe.offsetWidth||1,Ge=_s(Fe.height)/xe.offsetHeight||1;return Re!==1||Ge!==1})(y),fe=$i(y),ye=zr(N,ie,S),_e={scrollLeft:0,scrollTop:0},Se={x:0,y:0};return(K||!K&&!S)&&((Ii(y)!=="body"||tf(fe))&&(_e=(L=y)!==St(L)&&Un(L)?{scrollLeft:(Y=L).scrollLeft,scrollTop:Y.scrollTop}:Os(L)),Un(y)?((Se=zr(y,!0)).x+=y.clientLeft,Se.y+=y.clientTop):fe&&(Se.x=va(fe))),{x:ye.left+_e.scrollLeft-Se.x,y:ye.top+_e.scrollTop-Se.y,width:ye.width,height:ye.height}}function Rv(N){var y=new Map,S=new Set,L=[];function Y(K){S.add(K.name),[].concat(K.requires||[],K.requiresIfExists||[]).forEach(function(ie){if(!S.has(ie)){var fe=y.get(ie);fe&&Y(fe)}}),L.push(K)}return N.forEach(function(K){y.set(K.name,K)}),N.forEach(function(K){S.has(K.name)||Y(K)}),L}var Lh={placement:"bottom",modifiers:[],strategy:"absolute"};function kh(){for(var N=arguments.length,y=new Array(N),S=0;S<N;S++)y[S]=arguments[S];return!y.some(function(L){return!(L&&typeof L.getBoundingClientRect=="function")})}function ac(N){N===void 0&&(N={});var y=N,S=y.defaultModifiers,L=S===void 0?[]:S,Y=y.defaultOptions,K=Y===void 0?Lh:Y;return function(ie,fe,ye){ye===void 0&&(ye=K);var _e,Se,xe={placement:"bottom",orderedModifiers:[],options:Object.assign({},Lh,K),modifiersData:{},elements:{reference:ie,popper:fe},attributes:{},styles:{}},Fe=[],Re=!1,Ge={state:xe,setOptions:function(Ve){var ut=typeof Ve=="function"?Ve(xe.options):Ve;Le(),xe.options=Object.assign({},K,xe.options,ut),xe.scrollParents={reference:fr(ie)?ya(ie):ie.contextElement?ya(ie.contextElement):[],popper:ya(fe)};var dt,Ye,We=(function(be){var Oe=Rv(be);return $o.reduce(function($e,st){return $e.concat(Oe.filter(function(et){return et.phase===st}))},[])})((dt=[].concat(L,xe.options.modifiers),Ye=dt.reduce(function(be,Oe){var $e=be[Oe.name];return be[Oe.name]=$e?Object.assign({},$e,Oe,{options:Object.assign({},$e.options,Oe.options),data:Object.assign({},$e.data,Oe.data)}):Oe,be},{}),Object.keys(Ye).map(function(be){return Ye[be]})));return xe.orderedModifiers=We.filter(function(be){return be.enabled}),xe.orderedModifiers.forEach(function(be){var Oe=be.name,$e=be.options,st=$e===void 0?{}:$e,et=be.effect;if(typeof et=="function"){var ht=et({state:xe,name:Oe,instance:Ge,options:st});Fe.push(ht||function(){})}}),Ge.update()},forceUpdate:function(){if(!Re){var Ve=xe.elements,ut=Ve.reference,dt=Ve.popper;if(kh(ut,dt)){xe.rects={reference:Ph(ut,Es(dt),xe.options.strategy==="fixed"),popper:Ju(dt)},xe.reset=!1,xe.placement=xe.options.placement,xe.orderedModifiers.forEach(function(et){return xe.modifiersData[et.name]=Object.assign({},et.data)});for(var Ye=0;Ye<xe.orderedModifiers.length;Ye++)if(xe.reset!==!0){var We=xe.orderedModifiers[Ye],be=We.fn,Oe=We.options,$e=Oe===void 0?{}:Oe,st=We.name;typeof be=="function"&&(xe=be({state:xe,options:$e,name:st,instance:Ge})||xe)}else xe.reset=!1,Ye=-1}}},update:(_e=function(){return new Promise(function(Ve){Ge.forceUpdate(),Ve(xe)})},function(){return Se||(Se=new Promise(function(Ve){Promise.resolve().then(function(){Se=void 0,Ve(_e())})})),Se}),destroy:function(){Le(),Re=!0}};if(!kh(ie,fe))return Ge;function Le(){Fe.forEach(function(Ve){return Ve()}),Fe=[]}return Ge.setOptions(ye).then(function(Ve){!Re&&ye.onFirstUpdate&&ye.onFirstUpdate(Ve)}),Ge}}var af=ac(),zv=ac({defaultModifiers:[Cs,rf,As,kr]}),sf=ac({defaultModifiers:[Cs,rf,As,kr,jh,Oh,Dh,ec,Nh]});const Rh=Object.freeze(Object.defineProperty({__proto__:null,afterMain:Xu,afterRead:Th,afterWrite:Qu,applyStyles:kr,arrow:ec,auto:Kl,basePlacements:ma,beforeMain:Wu,beforeRead:Ql,beforeWrite:Ah,bottom:Pn,clippingParents:zo,computeStyles:As,createPopper:sf,createPopperBase:af,createPopperLite:zv,detectOverflow:Ms,end:xs,eventListeners:Cs,flip:Oh,hide:Nh,left:Ht,main:qn,modifierPhases:$o,offset:jh,placements:Lr,popper:Ln,popperGenerator:ac,popperOffsets:rf,preventOverflow:Dh,read:Zl,reference:Wl,right:Yt,start:Pr,top:cn,variationPlacements:Xl,viewport:ws,write:Io},Symbol.toStringTag,{value:"Module"})),of="dropdown",xa=".bs.dropdown",lf=".data-api",Iv="ArrowUp",zh="ArrowDown",$v=`hide${xa}`,Bv=`hidden${xa}`,Vv=`show${xa}`,Hv=`shown${xa}`,Ih=`click${xa}${lf}`,sc=`keydown${xa}${lf}`,Fo=`keyup${xa}${lf}`,Ns="show",Br='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',$h=`${Br}.${Ns}`,Go=".dropdown-menu",Bh=C()?"top-end":"top-start",Vh=C()?"top-start":"top-end",js=C()?"bottom-end":"bottom-start",qv=C()?"bottom-start":"bottom-end",Uv=C()?"left-start":"right-start",Fv=C()?"right-start":"left-start",Hh={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},qh={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class _n extends Ie{constructor(y,S){super(y,S),this._popper=null,this._parent=this._element.parentNode,this._menu=ne.next(this._element,Go)[0]||ne.prev(this._element,Go)[0]||ne.findOne(Go,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Hh}static get DefaultType(){return qh}static get NAME(){return of}toggle(){return this._isShown()?this.hide():this.show()}show(){if(m(this._element)||this._isShown())return;const y={relatedTarget:this._element};if(!V.trigger(this._element,Vv,y).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const S of[].concat(...document.body.children))V.on(S,"mouseover",w);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Ns),this._element.classList.add(Ns),V.trigger(this._element,Hv,y)}}hide(){if(m(this._element)||!this._isShown())return;const y={relatedTarget:this._element};this._completeHide(y)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(y){if(!V.trigger(this._element,$v,y).defaultPrevented){if("ontouchstart"in document.documentElement)for(const S of[].concat(...document.body.children))V.off(S,"mouseover",w);this._popper&&this._popper.destroy(),this._menu.classList.remove(Ns),this._element.classList.remove(Ns),this._element.setAttribute("aria-expanded","false"),Ce.removeDataAttribute(this._menu,"popper"),V.trigger(this._element,Bv,y)}}_getConfig(y){if(typeof(y=super._getConfig(y)).reference=="object"&&!f(y.reference)&&typeof y.reference.getBoundingClientRect!="function")throw new TypeError(`${of.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return y}_createPopper(){if(Rh===void 0)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org/docs/v2/)");let y=this._element;this._config.reference==="parent"?y=this._parent:f(this._config.reference)?y=h(this._config.reference):typeof this._config.reference=="object"&&(y=this._config.reference);const S=this._getPopperConfig();this._popper=sf(y,this._menu,S)}_isShown(){return this._menu.classList.contains(Ns)}_getPlacement(){const y=this._parent;if(y.classList.contains("dropend"))return Uv;if(y.classList.contains("dropstart"))return Fv;if(y.classList.contains("dropup-center"))return"top";if(y.classList.contains("dropdown-center"))return"bottom";const S=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return y.classList.contains("dropup")?S?Vh:Bh:S?qv:js}_detectNavbar(){return this._element.closest(".navbar")!==null}_getOffset(){const{offset:y}=this._config;return typeof y=="string"?y.split(",").map(S=>Number.parseInt(S,10)):typeof y=="function"?S=>y(S,this._element):y}_getPopperConfig(){const y={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(Ce.setDataAttribute(this._menu,"popper","static"),y.modifiers=[{name:"applyStyles",enabled:!1}]),{...y,...A(this._config.popperConfig,[void 0,y])}}_selectMenuItem({key:y,target:S}){const L=ne.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(Y=>p(Y));L.length&&D(L,S,y===zh,!L.includes(S)).focus()}static jQueryInterface(y){return this.each(function(){const S=_n.getOrCreateInstance(this,y);if(typeof y=="string"){if(S[y]===void 0)throw new TypeError(`No method named "${y}"`);S[y]()}})}static clearMenus(y){if(y.button===2||y.type==="keyup"&&y.key!=="Tab")return;const S=ne.find($h);for(const L of S){const Y=_n.getInstance(L);if(!Y||Y._config.autoClose===!1)continue;const K=y.composedPath(),ie=K.includes(Y._menu);if(K.includes(Y._element)||Y._config.autoClose==="inside"&&!ie||Y._config.autoClose==="outside"&&ie||Y._menu.contains(y.target)&&(y.type==="keyup"&&y.key==="Tab"||/input|select|option|textarea|form/i.test(y.target.tagName)))continue;const fe={relatedTarget:Y._element};y.type==="click"&&(fe.clickEvent=y),Y._completeHide(fe)}}static dataApiKeydownHandler(y){const S=/input|textarea/i.test(y.target.tagName),L=y.key==="Escape",Y=[Iv,zh].includes(y.key);if(!Y&&!L||S&&!L)return;y.preventDefault();const K=this.matches(Br)?this:ne.prev(this,Br)[0]||ne.next(this,Br)[0]||ne.findOne(Br,y.delegateTarget.parentNode),ie=_n.getOrCreateInstance(K);if(Y)return y.stopPropagation(),ie.show(),void ie._selectMenuItem(y);ie._isShown()&&(y.stopPropagation(),ie.hide(),K.focus())}}V.on(document,sc,Br,_n.dataApiKeydownHandler),V.on(document,sc,Go,_n.dataApiKeydownHandler),V.on(document,Ih,_n.clearMenus),V.on(document,Fo,_n.clearMenus),V.on(document,Ih,Br,function(N){N.preventDefault(),_n.getOrCreateInstance(this).toggle()}),T(_n);const Ds="backdrop",Uh="show",Yo=`mousedown.bs.${Ds}`,Fh={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Gh={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class oc extends Ee{constructor(y){super(),this._config=this._getConfig(y),this._isAppended=!1,this._element=null}static get Default(){return Fh}static get DefaultType(){return Gh}static get NAME(){return Ds}show(y){if(!this._config.isVisible)return void A(y);this._append();const S=this._getElement();this._config.isAnimated&&_(S),S.classList.add(Uh),this._emulateAnimation(()=>{A(y)})}hide(y){this._config.isVisible?(this._getElement().classList.remove(Uh),this._emulateAnimation(()=>{this.dispose(),A(y)})):A(y)}dispose(){this._isAppended&&(V.off(this._element,Yo),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const y=document.createElement("div");y.className=this._config.className,this._config.isAnimated&&y.classList.add("fade"),this._element=y}return this._element}_configAfterMerge(y){return y.rootElement=h(y.rootElement),y}_append(){if(this._isAppended)return;const y=this._getElement();this._config.rootElement.append(y),V.on(y,Yo,()=>{A(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(y){k(y,this._getElement(),this._config.isAnimated)}}const Ps=".bs.focustrap",Yh=`focusin${Ps}`,Kh=`keydown.tab${Ps}`,cf="backward",Gv={autofocus:!0,trapElement:null},Yv={autofocus:"boolean",trapElement:"element"};class Wh extends Ee{constructor(y){super(),this._config=this._getConfig(y),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Gv}static get DefaultType(){return Yv}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),V.off(document,Ps),V.on(document,Yh,y=>this._handleFocusin(y)),V.on(document,Kh,y=>this._handleKeydown(y)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,V.off(document,Ps))}_handleFocusin(y){const{trapElement:S}=this._config;if(y.target===document||y.target===S||S.contains(y.target))return;const L=ne.focusableChildren(S);L.length===0?S.focus():this._lastTabNavDirection===cf?L[L.length-1].focus():L[0].focus()}_handleKeydown(y){y.key==="Tab"&&(this._lastTabNavDirection=y.shiftKey?cf:"forward")}}const Xh=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Qh=".sticky-top",un="padding-right",Ls="margin-right";class lc{constructor(){this._element=document.body}getWidth(){const y=document.documentElement.clientWidth;return Math.abs(window.innerWidth-y)}hide(){const y=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,un,S=>S+y),this._setElementAttributes(Xh,un,S=>S+y),this._setElementAttributes(Qh,Ls,S=>S-y)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,un),this._resetElementAttributes(Xh,un),this._resetElementAttributes(Qh,Ls)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(y,S,L){const Y=this.getWidth();this._applyManipulationCallback(y,K=>{if(K!==this._element&&window.innerWidth>K.clientWidth+Y)return;this._saveInitialAttribute(K,S);const ie=window.getComputedStyle(K).getPropertyValue(S);K.style.setProperty(S,`${L(Number.parseFloat(ie))}px`)})}_saveInitialAttribute(y,S){const L=y.style.getPropertyValue(S);L&&Ce.setDataAttribute(y,S,L)}_resetElementAttributes(y,S){this._applyManipulationCallback(y,L=>{const Y=Ce.getDataAttribute(L,S);Y!==null?(Ce.removeDataAttribute(L,S),L.style.setProperty(S,Y)):L.style.removeProperty(S)})}_applyManipulationCallback(y,S){if(f(y))S(y);else for(const L of ne.find(y,this._element))S(L)}}const Fn=".bs.modal",Zh=`hide${Fn}`,Jh=`hidePrevented${Fn}`,cc=`hidden${Fn}`,ep=`show${Fn}`,ks=`shown${Fn}`,uf=`resize${Fn}`,Ko=`click.dismiss${Fn}`,ff=`mousedown.dismiss${Fn}`,tp=`keydown.dismiss${Fn}`,wa=`click${Fn}.data-api`,_a="modal-open",uc="show",fc="modal-static",Ea={backdrop:!0,focus:!0,keyboard:!0},np={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Vr extends Ie{constructor(y,S){super(y,S),this._dialog=ne.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new lc,this._addEventListeners()}static get Default(){return Ea}static get DefaultType(){return np}static get NAME(){return"modal"}toggle(y){return this._isShown?this.hide():this.show(y)}show(y){this._isShown||this._isTransitioning||V.trigger(this._element,ep,{relatedTarget:y}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(_a),this._adjustDialog(),this._backdrop.show(()=>this._showElement(y)))}hide(){this._isShown&&!this._isTransitioning&&(V.trigger(this._element,Zh).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(uc),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())))}dispose(){V.off(window,Fn),V.off(this._dialog,Fn),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new oc({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Wh({trapElement:this._element})}_showElement(y){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const S=ne.findOne(".modal-body",this._dialog);S&&(S.scrollTop=0),_(this._element),this._element.classList.add(uc),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,V.trigger(this._element,ks,{relatedTarget:y})},this._dialog,this._isAnimated())}_addEventListeners(){V.on(this._element,tp,y=>{y.key==="Escape"&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),V.on(window,uf,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),V.on(this._element,ff,y=>{V.one(this._element,Ko,S=>{this._element===y.target&&this._element===S.target&&(this._config.backdrop!=="static"?this._config.backdrop&&this.hide():this._triggerBackdropTransition())})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(_a),this._resetAdjustments(),this._scrollBar.reset(),V.trigger(this._element,cc)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(V.trigger(this._element,Jh).defaultPrevented)return;const y=this._element.scrollHeight>document.documentElement.clientHeight,S=this._element.style.overflowY;S==="hidden"||this._element.classList.contains(fc)||(y||(this._element.style.overflowY="hidden"),this._element.classList.add(fc),this._queueCallback(()=>{this._element.classList.remove(fc),this._queueCallback(()=>{this._element.style.overflowY=S},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const y=this._element.scrollHeight>document.documentElement.clientHeight,S=this._scrollBar.getWidth(),L=S>0;if(L&&!y){const Y=C()?"paddingLeft":"paddingRight";this._element.style[Y]=`${S}px`}if(!L&&y){const Y=C()?"paddingRight":"paddingLeft";this._element.style[Y]=`${S}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(y,S){return this.each(function(){const L=Vr.getOrCreateInstance(this,y);if(typeof y=="string"){if(L[y]===void 0)throw new TypeError(`No method named "${y}"`);L[y](S)}})}}V.on(document,wa,'[data-bs-toggle="modal"]',function(N){const y=ne.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&N.preventDefault(),V.one(y,ep,L=>{L.defaultPrevented||V.one(y,cc,()=>{p(this)&&this.focus()})});const S=ne.findOne(".modal.show");S&&Vr.getInstance(S).hide(),Vr.getOrCreateInstance(y).toggle(this)}),De(Vr),T(Vr);const Hi=".bs.offcanvas",ip=".data-api",Kv=`load${Hi}${ip}`,rp="show",df="showing",hf="hiding",dc=".offcanvas.show",vi=`show${Hi}`,ap=`shown${Hi}`,ii=`hide${Hi}`,Gn=`hidePrevented${Hi}`,Sa=`hidden${Hi}`,pf=`resize${Hi}`,hc=`click${Hi}${ip}`,pc=`keydown.dismiss${Hi}`,mf={backdrop:!0,keyboard:!0,scroll:!1},Rs={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class qi extends Ie{constructor(y,S){super(y,S),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return mf}static get DefaultType(){return Rs}static get NAME(){return"offcanvas"}toggle(y){return this._isShown?this.hide():this.show(y)}show(y){this._isShown||V.trigger(this._element,vi,{relatedTarget:y}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||new lc().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(df),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(rp),this._element.classList.remove(df),V.trigger(this._element,ap,{relatedTarget:y})},this._element,!0))}hide(){this._isShown&&(V.trigger(this._element,ii).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(hf),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove(rp,hf),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new lc().reset(),V.trigger(this._element,Sa)},this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const y=!!this._config.backdrop;return new oc({className:"offcanvas-backdrop",isVisible:y,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:y?()=>{this._config.backdrop!=="static"?this.hide():V.trigger(this._element,Gn)}:null})}_initializeFocusTrap(){return new Wh({trapElement:this._element})}_addEventListeners(){V.on(this._element,pc,y=>{y.key==="Escape"&&(this._config.keyboard?this.hide():V.trigger(this._element,Gn))})}static jQueryInterface(y){return this.each(function(){const S=qi.getOrCreateInstance(this,y);if(typeof y=="string"){if(S[y]===void 0||y.startsWith("_")||y==="constructor")throw new TypeError(`No method named "${y}"`);S[y](this)}})}}V.on(document,hc,'[data-bs-toggle="offcanvas"]',function(N){const y=ne.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&N.preventDefault(),m(this))return;V.one(y,Sa,()=>{p(this)&&this.focus()});const S=ne.findOne(dc);S&&S!==y&&qi.getInstance(S).hide(),qi.getOrCreateInstance(y).toggle(this)}),V.on(window,Kv,()=>{for(const N of ne.find(dc))qi.getOrCreateInstance(N).show()}),V.on(window,pf,()=>{for(const N of ne.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(N).position!=="fixed"&&qi.getOrCreateInstance(N).hide()}),De(qi),T(qi);const Wo={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},zs=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Wv=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Yn=(N,y)=>{const S=N.nodeName.toLowerCase();return y.includes(S)?!zs.has(S)||!!Wv.test(N.nodeValue):y.filter(L=>L instanceof RegExp).some(L=>L.test(S))},gf={allowList:Wo,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},pr={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},sp={entry:"(string|element|function|null)",selector:"(string|element)"};class mc extends Ee{constructor(y){super(),this._config=this._getConfig(y)}static get Default(){return gf}static get DefaultType(){return pr}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(y=>this._resolvePossibleFunction(y)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(y){return this._checkContent(y),this._config.content={...this._config.content,...y},this}toHtml(){const y=document.createElement("div");y.innerHTML=this._maybeSanitize(this._config.template);for(const[Y,K]of Object.entries(this._config.content))this._setContent(y,K,Y);const S=y.children[0],L=this._resolvePossibleFunction(this._config.extraClass);return L&&S.classList.add(...L.split(" ")),S}_typeCheckConfig(y){super._typeCheckConfig(y),this._checkContent(y.content)}_checkContent(y){for(const[S,L]of Object.entries(y))super._typeCheckConfig({selector:S,entry:L},sp)}_setContent(y,S,L){const Y=ne.findOne(L,y);Y&&((S=this._resolvePossibleFunction(S))?f(S)?this._putElementInTemplate(h(S),Y):this._config.html?Y.innerHTML=this._maybeSanitize(S):Y.textContent=S:Y.remove())}_maybeSanitize(y){return this._config.sanitize?(function(S,L,Y){if(!S.length)return S;if(Y&&typeof Y=="function")return Y(S);const K=new window.DOMParser().parseFromString(S,"text/html"),ie=[].concat(...K.body.querySelectorAll("*"));for(const fe of ie){const ye=fe.nodeName.toLowerCase();if(!Object.keys(L).includes(ye)){fe.remove();continue}const _e=[].concat(...fe.attributes),Se=[].concat(L["*"]||[],L[ye]||[]);for(const xe of _e)Yn(xe,Se)||fe.removeAttribute(xe.nodeName)}return K.body.innerHTML})(y,this._config.allowList,this._config.sanitizeFn):y}_resolvePossibleFunction(y){return A(y,[void 0,this])}_putElementInTemplate(y,S){if(this._config.html)return S.innerHTML="",void S.append(y);S.textContent=y.textContent}}const Ta=new Set(["sanitize","allowList","sanitizeFn"]),Xo="fade",Is="show",$s=".tooltip-inner",Aa=".modal",Qo="hide.bs.modal",Hr="hover",Rn="focus",zn="click",Ca={AUTO:"auto",TOP:"top",RIGHT:C()?"left":"right",BOTTOM:"bottom",LEFT:C()?"right":"left"},mr={allowList:Wo,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},gr={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class Kn extends Ie{constructor(y,S){if(Rh===void 0)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)");super(y,S),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return mr}static get DefaultType(){return gr}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),V.off(this._element.closest(Aa),Qo,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const y=V.trigger(this._element,this.constructor.eventName("show")),S=(b(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(y.defaultPrevented||!S)return;this._disposePopper();const L=this._getTipElement();this._element.setAttribute("aria-describedby",L.getAttribute("id"));const{container:Y}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(Y.append(L),V.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(L),L.classList.add(Is),"ontouchstart"in document.documentElement)for(const K of[].concat(...document.body.children))V.on(K,"mouseover",w);this._queueCallback(()=>{V.trigger(this._element,this.constructor.eventName("shown")),this._isHovered===!1&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}hide(){if(this._isShown()&&!V.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(Is),"ontouchstart"in document.documentElement)for(const y of[].concat(...document.body.children))V.off(y,"mouseover",w);this._activeTrigger[zn]=!1,this._activeTrigger[Rn]=!1,this._activeTrigger[Hr]=!1,this._isHovered=null,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),V.trigger(this._element,this.constructor.eventName("hidden")))},this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(y){const S=this._getTemplateFactory(y).toHtml();if(!S)return null;S.classList.remove(Xo,Is),S.classList.add(`bs-${this.constructor.NAME}-auto`);const L=(Y=>{do Y+=Math.floor(1e6*Math.random());while(document.getElementById(Y));return Y})(this.constructor.NAME).toString();return S.setAttribute("id",L),this._isAnimated()&&S.classList.add(Xo),S}setContent(y){this._newContent=y,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(y){return this._templateFactory?this._templateFactory.changeContent(y):this._templateFactory=new mc({...this._config,content:y,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[$s]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(y){return this.constructor.getOrCreateInstance(y.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Xo)}_isShown(){return this.tip&&this.tip.classList.contains(Is)}_createPopper(y){const S=A(this._config.placement,[this,y,this._element]),L=Ca[S.toUpperCase()];return sf(this._element,y,this._getPopperConfig(L))}_getOffset(){const{offset:y}=this._config;return typeof y=="string"?y.split(",").map(S=>Number.parseInt(S,10)):typeof y=="function"?S=>y(S,this._element):y}_resolvePossibleFunction(y){return A(y,[this._element,this._element])}_getPopperConfig(y){const S={placement:y,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:L=>{this._getTipElement().setAttribute("data-popper-placement",L.state.placement)}}]};return{...S,...A(this._config.popperConfig,[void 0,S])}}_setListeners(){const y=this._config.trigger.split(" ");for(const S of y)if(S==="click")V.on(this._element,this.constructor.eventName("click"),this._config.selector,L=>{const Y=this._initializeOnDelegatedTarget(L);Y._activeTrigger[zn]=!(Y._isShown()&&Y._activeTrigger[zn]),Y.toggle()});else if(S!=="manual"){const L=S===Hr?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),Y=S===Hr?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");V.on(this._element,L,this._config.selector,K=>{const ie=this._initializeOnDelegatedTarget(K);ie._activeTrigger[K.type==="focusin"?Rn:Hr]=!0,ie._enter()}),V.on(this._element,Y,this._config.selector,K=>{const ie=this._initializeOnDelegatedTarget(K);ie._activeTrigger[K.type==="focusout"?Rn:Hr]=ie._element.contains(K.relatedTarget),ie._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},V.on(this._element.closest(Aa),Qo,this._hideModalHandler)}_fixTitle(){const y=this._element.getAttribute("title");y&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",y),this._element.setAttribute("data-bs-original-title",y),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(y,S){clearTimeout(this._timeout),this._timeout=setTimeout(y,S)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(y){const S=Ce.getDataAttributes(this._element);for(const L of Object.keys(S))Ta.has(L)&&delete S[L];return y={...S,...typeof y=="object"&&y?y:{}},y=this._mergeConfigObj(y),y=this._configAfterMerge(y),this._typeCheckConfig(y),y}_configAfterMerge(y){return y.container=y.container===!1?document.body:h(y.container),typeof y.delay=="number"&&(y.delay={show:y.delay,hide:y.delay}),typeof y.title=="number"&&(y.title=y.title.toString()),typeof y.content=="number"&&(y.content=y.content.toString()),y}_getDelegateConfig(){const y={};for(const[S,L]of Object.entries(this._config))this.constructor.Default[S]!==L&&(y[S]=L);return y.selector=!1,y.trigger="manual",y}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(y){return this.each(function(){const S=Kn.getOrCreateInstance(this,y);if(typeof y=="string"){if(S[y]===void 0)throw new TypeError(`No method named "${y}"`);S[y]()}})}}T(Kn);const op=".popover-header",vf=".popover-body",yf={...Kn.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},En={...Kn.DefaultType,content:"(null|string|element|function)"};class xt extends Kn{static get Default(){return yf}static get DefaultType(){return En}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[op]:this._getTitle(),[vf]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(y){return this.each(function(){const S=xt.getOrCreateInstance(this,y);if(typeof y=="string"){if(S[y]===void 0)throw new TypeError(`No method named "${y}"`);S[y]()}})}}T(xt);const nt=".bs.scrollspy",Oa=`activate${nt}`,yi=`click${nt}`,bf=`load${nt}.data-api`,ri="active",gc="[href]",xf=".nav-link",Zo=`${xf}, .nav-item > ${xf}, .list-group-item`,Jo={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},lp={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class vr extends Ie{constructor(y,S){super(y,S),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Jo}static get DefaultType(){return lp}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const y of this._observableSections.values())this._observer.observe(y)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(y){return y.target=h(y.target)||document.body,y.rootMargin=y.offset?`${y.offset}px 0px -30%`:y.rootMargin,typeof y.threshold=="string"&&(y.threshold=y.threshold.split(",").map(S=>Number.parseFloat(S))),y}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(V.off(this._config.target,yi),V.on(this._config.target,yi,gc,y=>{const S=this._observableSections.get(y.target.hash);if(S){y.preventDefault();const L=this._rootElement||window,Y=S.offsetTop-this._element.offsetTop;if(L.scrollTo)return void L.scrollTo({top:Y,behavior:"smooth"});L.scrollTop=Y}}))}_getNewObserver(){const y={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(S=>this._observerCallback(S),y)}_observerCallback(y){const S=ie=>this._targetLinks.get(`#${ie.target.id}`),L=ie=>{this._previousScrollData.visibleEntryTop=ie.target.offsetTop,this._process(S(ie))},Y=(this._rootElement||document.documentElement).scrollTop,K=Y>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=Y;for(const ie of y){if(!ie.isIntersecting){this._activeTarget=null,this._clearActiveClass(S(ie));continue}const fe=ie.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(K&&fe){if(L(ie),!Y)return}else K||fe||L(ie)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const y=ne.find(gc,this._config.target);for(const S of y){if(!S.hash||m(S))continue;const L=ne.findOne(decodeURI(S.hash),this._element);p(L)&&(this._targetLinks.set(decodeURI(S.hash),S),this._observableSections.set(S.hash,L))}}_process(y){this._activeTarget!==y&&(this._clearActiveClass(this._config.target),this._activeTarget=y,y.classList.add(ri),this._activateParents(y),V.trigger(this._element,Oa,{relatedTarget:y}))}_activateParents(y){if(y.classList.contains("dropdown-item"))ne.findOne(".dropdown-toggle",y.closest(".dropdown")).classList.add(ri);else for(const S of ne.parents(y,".nav, .list-group"))for(const L of ne.prev(S,Zo))L.classList.add(ri)}_clearActiveClass(y){y.classList.remove(ri);const S=ne.find(`${gc}.${ri}`,y);for(const L of S)L.classList.remove(ri)}static jQueryInterface(y){return this.each(function(){const S=vr.getOrCreateInstance(this,y);if(typeof y=="string"){if(S[y]===void 0||y.startsWith("_")||y==="constructor")throw new TypeError(`No method named "${y}"`);S[y]()}})}}V.on(window,bf,()=>{for(const N of ne.find('[data-bs-spy="scroll"]'))vr.getOrCreateInstance(N)}),T(vr);const yr=".bs.tab",Ma=`hide${yr}`,br=`hidden${yr}`,qr=`show${yr}`,xr=`shown${yr}`,wf=`click${yr}`,_f=`keydown${yr}`,el=`load${yr}`,vc="ArrowLeft",Ur="ArrowRight",fn="ArrowUp",tl="ArrowDown",yc="Home",cp="End",Na="active",up="fade",Rt="show",bc=".dropdown-toggle",ja=`:not(${bc})`,Bs='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',nl=`.nav-link${ja}, .list-group-item${ja}, [role="tab"]${ja}, ${Bs}`,Vs=`.${Na}[data-bs-toggle="tab"], .${Na}[data-bs-toggle="pill"], .${Na}[data-bs-toggle="list"]`;class ai extends Ie{constructor(y){super(y),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),V.on(this._element,_f,S=>this._keydown(S)))}static get NAME(){return"tab"}show(){const y=this._element;if(this._elemIsActive(y))return;const S=this._getActiveElem(),L=S?V.trigger(S,Ma,{relatedTarget:y}):null;V.trigger(y,qr,{relatedTarget:S}).defaultPrevented||L&&L.defaultPrevented||(this._deactivate(S,y),this._activate(y,S))}_activate(y,S){y&&(y.classList.add(Na),this._activate(ne.getElementFromSelector(y)),this._queueCallback(()=>{y.getAttribute("role")==="tab"?(y.removeAttribute("tabindex"),y.setAttribute("aria-selected",!0),this._toggleDropDown(y,!0),V.trigger(y,xr,{relatedTarget:S})):y.classList.add(Rt)},y,y.classList.contains(up)))}_deactivate(y,S){y&&(y.classList.remove(Na),y.blur(),this._deactivate(ne.getElementFromSelector(y)),this._queueCallback(()=>{y.getAttribute("role")==="tab"?(y.setAttribute("aria-selected",!1),y.setAttribute("tabindex","-1"),this._toggleDropDown(y,!1),V.trigger(y,br,{relatedTarget:S})):y.classList.remove(Rt)},y,y.classList.contains(up)))}_keydown(y){if(![vc,Ur,fn,tl,yc,cp].includes(y.key))return;y.stopPropagation(),y.preventDefault();const S=this._getChildren().filter(Y=>!m(Y));let L;if([yc,cp].includes(y.key))L=S[y.key===yc?0:S.length-1];else{const Y=[Ur,tl].includes(y.key);L=D(S,y.target,Y,!0)}L&&(L.focus({preventScroll:!0}),ai.getOrCreateInstance(L).show())}_getChildren(){return ne.find(nl,this._parent)}_getActiveElem(){return this._getChildren().find(y=>this._elemIsActive(y))||null}_setInitialAttributes(y,S){this._setAttributeIfNotExists(y,"role","tablist");for(const L of S)this._setInitialAttributesOnChild(L)}_setInitialAttributesOnChild(y){y=this._getInnerElement(y);const S=this._elemIsActive(y),L=this._getOuterElement(y);y.setAttribute("aria-selected",S),L!==y&&this._setAttributeIfNotExists(L,"role","presentation"),S||y.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(y,"role","tab"),this._setInitialAttributesOnTargetPanel(y)}_setInitialAttributesOnTargetPanel(y){const S=ne.getElementFromSelector(y);S&&(this._setAttributeIfNotExists(S,"role","tabpanel"),y.id&&this._setAttributeIfNotExists(S,"aria-labelledby",`${y.id}`))}_toggleDropDown(y,S){const L=this._getOuterElement(y);if(!L.classList.contains("dropdown"))return;const Y=(K,ie)=>{const fe=ne.findOne(K,L);fe&&fe.classList.toggle(ie,S)};Y(bc,Na),Y(".dropdown-menu",Rt),L.setAttribute("aria-expanded",S)}_setAttributeIfNotExists(y,S,L){y.hasAttribute(S)||y.setAttribute(S,L)}_elemIsActive(y){return y.classList.contains(Na)}_getInnerElement(y){return y.matches(nl)?y:ne.findOne(nl,y)}_getOuterElement(y){return y.closest(".nav-item, .list-group-item")||y}static jQueryInterface(y){return this.each(function(){const S=ai.getOrCreateInstance(this);if(typeof y=="string"){if(S[y]===void 0||y.startsWith("_")||y==="constructor")throw new TypeError(`No method named "${y}"`);S[y]()}})}}V.on(document,wf,Bs,function(N){["A","AREA"].includes(this.tagName)&&N.preventDefault(),m(this)||ai.getOrCreateInstance(this).show()}),V.on(window,el,()=>{for(const N of ne.find(Vs))ai.getOrCreateInstance(N)}),T(ai);const Fr=".bs.toast",fp=`mouseover${Fr}`,Xv=`mouseout${Fr}`,dp=`focusin${Fr}`,Da=`focusout${Fr}`,Ef=`hide${Fr}`,xc=`hidden${Fr}`,hp=`show${Fr}`,il=`shown${Fr}`,Sf="hide",Pa="show",Hs="showing",pp={animation:"boolean",autohide:"boolean",delay:"number"},wc={animation:!0,autohide:!0,delay:5e3};class qs extends Ie{constructor(y,S){super(y,S),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return wc}static get DefaultType(){return pp}static get NAME(){return"toast"}show(){V.trigger(this._element,hp).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(Sf),_(this._element),this._element.classList.add(Pa,Hs),this._queueCallback(()=>{this._element.classList.remove(Hs),V.trigger(this._element,il),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&(V.trigger(this._element,Ef).defaultPrevented||(this._element.classList.add(Hs),this._queueCallback(()=>{this._element.classList.add(Sf),this._element.classList.remove(Hs,Pa),V.trigger(this._element,xc)},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Pa),super.dispose()}isShown(){return this._element.classList.contains(Pa)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(y,S){switch(y.type){case"mouseover":case"mouseout":this._hasMouseInteraction=S;break;case"focusin":case"focusout":this._hasKeyboardInteraction=S}if(S)return void this._clearTimeout();const L=y.relatedTarget;this._element===L||this._element.contains(L)||this._maybeScheduleHide()}_setListeners(){V.on(this._element,fp,y=>this._onInteraction(y,!0)),V.on(this._element,Xv,y=>this._onInteraction(y,!1)),V.on(this._element,dp,y=>this._onInteraction(y,!0)),V.on(this._element,Da,y=>this._onInteraction(y,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(y){return this.each(function(){const S=qs.getOrCreateInstance(this,y);if(typeof y=="string"){if(S[y]===void 0)throw new TypeError(`No method named "${y}"`);S[y](this)}})}}return De(qs),T(qs),{Alert:Te,Button:at,Carousel:Hn,Collapse:Mt,Dropdown:_n,Modal:Vr,Offcanvas:qi,Popover:xt,ScrollSpy:vr,Tab:ai,Toast:qs,Tooltip:Kn}})})(qm)),qm.exports}wre();mP.createRoot(document.getElementById("root")).render(v.jsx(j.StrictMode,{children:v.jsx(bre,{})}));