import{r as dg,g as hg,a as mg}from"./react-vendors-DbHEDQBy.js";import{r as Uy}from"./leaflet-DYDK0jU3.js";import{C as Pd,L as Hy,a as ky,P as By,b as qy,c as Yy,i as Xy}from"./chartjs-C6LAl0aW.js";(function(){const u=document.createElement("link").relList;if(u&&u.supports&&u.supports("modulepreload"))return;for(const f of document.querySelectorAll('link[rel="modulepreload"]'))c(f);new MutationObserver(f=>{for(const m of f)if(m.type==="childList")for(const y of m.addedNodes)y.tagName==="LINK"&&y.rel==="modulepreload"&&c(y)}).observe(document,{childList:!0,subtree:!0});function o(f){const m={};return f.integrity&&(m.integrity=f.integrity),f.referrerPolicy&&(m.referrerPolicy=f.referrerPolicy),f.crossOrigin==="use-credentials"?m.credentials="include":f.crossOrigin==="anonymous"?m.credentials="omit":m.credentials="same-origin",m}function c(f){if(f.ep)return;f.ep=!0;const m=o(f);fetch(f.href,m)}})();var pd={exports:{}},vu={};/**
 * @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 yp;function Gy(){if(yp)return vu;yp=1;var l=Symbol.for("react.transitional.element"),u=Symbol.for("react.fragment");function o(c,f,m){var y=null;if(m!==void 0&&(y=""+m),f.key!==void 0&&(y=""+f.key),"key"in f){m={};for(var b in f)b!=="key"&&(m[b]=f[b])}else m=f;return f=m.ref,{$$typeof:l,type:c,key:y,ref:f!==void 0?f:null,props:m}}return vu.Fragment=u,vu.jsx=o,vu.jsxs=o,vu}var bp;function Vy(){return bp||(bp=1,pd.exports=Gy()),pd.exports}var G=Vy(),w=dg();const Bi=hg(w);var gd={exports:{}},yu={},vd={exports:{}},yd={};/**
 * @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 _p;function Qy(){return _p||(_p=1,function(l){function u(tt,gt){var mt=tt.length;tt.push(gt);t:for(;0<mt;){var Bt=mt-1>>>1,k=tt[Bt];if(0<f(k,gt))tt[Bt]=gt,tt[mt]=k,mt=Bt;else break t}}function o(tt){return tt.length===0?null:tt[0]}function c(tt){if(tt.length===0)return null;var gt=tt[0],mt=tt.pop();if(mt!==gt){tt[0]=mt;t:for(var Bt=0,k=tt.length,Pn=k>>>1;Bt<Pn;){var In=2*(Bt+1)-1,an=tt[In],_t=In+1,me=tt[_t];if(0>f(an,mt))_t<k&&0>f(me,an)?(tt[Bt]=me,tt[_t]=mt,Bt=_t):(tt[Bt]=an,tt[In]=mt,Bt=In);else if(_t<k&&0>f(me,mt))tt[Bt]=me,tt[_t]=mt,Bt=_t;else break t}}return gt}function f(tt,gt){var mt=tt.sortIndex-gt.sortIndex;return mt!==0?mt:tt.id-gt.id}if(l.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var m=performance;l.unstable_now=function(){return m.now()}}else{var y=Date,b=y.now();l.unstable_now=function(){return y.now()-b}}var S=[],E=[],D=1,j=null,z=3,q=!1,L=!1,I=!1,Q=typeof setTimeout=="function"?setTimeout:null,H=typeof clearTimeout=="function"?clearTimeout:null,W=typeof setImmediate<"u"?setImmediate:null;function P(tt){for(var gt=o(E);gt!==null;){if(gt.callback===null)c(E);else if(gt.startTime<=tt)c(E),gt.sortIndex=gt.expirationTime,u(S,gt);else break;gt=o(E)}}function bt(tt){if(I=!1,P(tt),!L)if(o(S)!==null)L=!0,Jn();else{var gt=o(E);gt!==null&&Wn(bt,gt.startTime-tt)}}var Ot=!1,It=-1,de=5,ue=-1;function lt(){return!(l.unstable_now()-ue<de)}function St(){if(Ot){var tt=l.unstable_now();ue=tt;var gt=!0;try{t:{L=!1,I&&(I=!1,H(It),It=-1),q=!0;var mt=z;try{e:{for(P(tt),j=o(S);j!==null&&!(j.expirationTime>tt&&lt());){var Bt=j.callback;if(typeof Bt=="function"){j.callback=null,z=j.priorityLevel;var k=Bt(j.expirationTime<=tt);if(tt=l.unstable_now(),typeof k=="function"){j.callback=k,P(tt),gt=!0;break e}j===o(S)&&c(S),P(tt)}else c(S);j=o(S)}if(j!==null)gt=!0;else{var Pn=o(E);Pn!==null&&Wn(bt,Pn.startTime-tt),gt=!1}}break t}finally{j=null,z=mt,q=!1}gt=void 0}}finally{gt?$e():Ot=!1}}}var $e;if(typeof W=="function")$e=function(){W(St)};else if(typeof MessageChannel<"u"){var il=new MessageChannel,Fn=il.port2;il.port1.onmessage=St,$e=function(){Fn.postMessage(null)}}else $e=function(){Q(St,0)};function Jn(){Ot||(Ot=!0,$e())}function Wn(tt,gt){It=Q(function(){tt(l.unstable_now())},gt)}l.unstable_IdlePriority=5,l.unstable_ImmediatePriority=1,l.unstable_LowPriority=4,l.unstable_NormalPriority=3,l.unstable_Profiling=null,l.unstable_UserBlockingPriority=2,l.unstable_cancelCallback=function(tt){tt.callback=null},l.unstable_continueExecution=function(){L||q||(L=!0,Jn())},l.unstable_forceFrameRate=function(tt){0>tt||125<tt?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):de=0<tt?Math.floor(1e3/tt):5},l.unstable_getCurrentPriorityLevel=function(){return z},l.unstable_getFirstCallbackNode=function(){return o(S)},l.unstable_next=function(tt){switch(z){case 1:case 2:case 3:var gt=3;break;default:gt=z}var mt=z;z=gt;try{return tt()}finally{z=mt}},l.unstable_pauseExecution=function(){},l.unstable_requestPaint=function(){},l.unstable_runWithPriority=function(tt,gt){switch(tt){case 1:case 2:case 3:case 4:case 5:break;default:tt=3}var mt=z;z=tt;try{return gt()}finally{z=mt}},l.unstable_scheduleCallback=function(tt,gt,mt){var Bt=l.unstable_now();switch(typeof mt=="object"&&mt!==null?(mt=mt.delay,mt=typeof mt=="number"&&0<mt?Bt+mt:Bt):mt=Bt,tt){case 1:var k=-1;break;case 2:k=250;break;case 5:k=1073741823;break;case 4:k=1e4;break;default:k=5e3}return k=mt+k,tt={id:D++,callback:gt,priorityLevel:tt,startTime:mt,expirationTime:k,sortIndex:-1},mt>Bt?(tt.sortIndex=mt,u(E,tt),o(S)===null&&tt===o(E)&&(I?(H(It),It=-1):I=!0,Wn(bt,mt-Bt))):(tt.sortIndex=k,u(S,tt),L||q||(L=!0,Jn())),tt},l.unstable_shouldYield=lt,l.unstable_wrapCallback=function(tt){var gt=z;return function(){var mt=z;z=gt;try{return tt.apply(this,arguments)}finally{z=mt}}}}(yd)),yd}var Sp;function Zy(){return Sp||(Sp=1,vd.exports=Qy()),vd.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 Ep;function Ky(){if(Ep)return yu;Ep=1;var l=Zy(),u=dg(),o=mg();function c(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function f(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}var m=Symbol.for("react.element"),y=Symbol.for("react.transitional.element"),b=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),D=Symbol.for("react.profiler"),j=Symbol.for("react.provider"),z=Symbol.for("react.consumer"),q=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),I=Symbol.for("react.suspense"),Q=Symbol.for("react.suspense_list"),H=Symbol.for("react.memo"),W=Symbol.for("react.lazy"),P=Symbol.for("react.offscreen"),bt=Symbol.for("react.memo_cache_sentinel"),Ot=Symbol.iterator;function It(t){return t===null||typeof t!="object"?null:(t=Ot&&t[Ot]||t["@@iterator"],typeof t=="function"?t:null)}var de=Symbol.for("react.client.reference");function ue(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===de?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case S:return"Fragment";case b:return"Portal";case D:return"Profiler";case E:return"StrictMode";case I:return"Suspense";case Q:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case q:return(t.displayName||"Context")+".Provider";case z:return(t._context.displayName||"Context")+".Consumer";case L:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case H:return e=t.displayName||null,e!==null?e:ue(t.type)||"Memo";case W:e=t._payload,t=t._init;try{return ue(t(e))}catch{}}return null}var lt=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,St=Object.assign,$e,il;function Fn(t){if($e===void 0)try{throw Error()}catch(n){var e=n.stack.trim().match(/\n( *(at )?)/);$e=e&&e[1]||"",il=-1<n.stack.indexOf(`
    at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
`+$e+t+il}var Jn=!1;function Wn(t,e){if(!t||Jn)return"";Jn=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(e){var Z=function(){throw Error()};if(Object.defineProperty(Z.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Z,[])}catch(U){var N=U}Reflect.construct(t,[],Z)}else{try{Z.call()}catch(U){N=U}t.call(Z.prototype)}}else{try{throw Error()}catch(U){N=U}(Z=t())&&typeof Z.catch=="function"&&Z.catch(function(){})}}catch(U){if(U&&N&&typeof U.stack=="string")return[U.stack,N.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var i=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");i&&i.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var s=a.DetermineComponentFrameRoot(),h=s[0],g=s[1];if(h&&g){var _=h.split(`
`),T=g.split(`
`);for(i=a=0;a<_.length&&!_[a].includes("DetermineComponentFrameRoot");)a++;for(;i<T.length&&!T[i].includes("DetermineComponentFrameRoot");)i++;if(a===_.length||i===T.length)for(a=_.length-1,i=T.length-1;1<=a&&0<=i&&_[a]!==T[i];)i--;for(;1<=a&&0<=i;a--,i--)if(_[a]!==T[i]){if(a!==1||i!==1)do if(a--,i--,0>i||_[a]!==T[i]){var B=`
`+_[a].replace(" at new "," at ");return t.displayName&&B.includes("<anonymous>")&&(B=B.replace("<anonymous>",t.displayName)),B}while(1<=a&&0<=i);break}}}finally{Jn=!1,Error.prepareStackTrace=n}return(n=t?t.displayName||t.name:"")?Fn(n):""}function tt(t){switch(t.tag){case 26:case 27:case 5:return Fn(t.type);case 16:return Fn("Lazy");case 13:return Fn("Suspense");case 19:return Fn("SuspenseList");case 0:case 15:return t=Wn(t.type,!1),t;case 11:return t=Wn(t.type.render,!1),t;case 1:return t=Wn(t.type,!0),t;default:return""}}function gt(t){try{var e="";do e+=tt(t),t=t.return;while(t);return e}catch(n){return`
Error generating stack: `+n.message+`
`+n.stack}}function mt(t){var e=t,n=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(n=e.return),t=e.return;while(t)}return e.tag===3?n:null}function Bt(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function k(t){if(mt(t)!==t)throw Error(c(188))}function Pn(t){var e=t.alternate;if(!e){if(e=mt(t),e===null)throw Error(c(188));return e!==t?null:t}for(var n=t,a=e;;){var i=n.return;if(i===null)break;var s=i.alternate;if(s===null){if(a=i.return,a!==null){n=a;continue}break}if(i.child===s.child){for(s=i.child;s;){if(s===n)return k(i),t;if(s===a)return k(i),e;s=s.sibling}throw Error(c(188))}if(n.return!==a.return)n=i,a=s;else{for(var h=!1,g=i.child;g;){if(g===n){h=!0,n=i,a=s;break}if(g===a){h=!0,a=i,n=s;break}g=g.sibling}if(!h){for(g=s.child;g;){if(g===n){h=!0,n=s,a=i;break}if(g===a){h=!0,a=s,n=i;break}g=g.sibling}if(!h)throw Error(c(189))}}if(n.alternate!==a)throw Error(c(190))}if(n.tag!==3)throw Error(c(188));return n.stateNode.current===n?t:e}function In(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=In(t),e!==null)return e;t=t.sibling}return null}var an=Array.isArray,_t=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,me={pending:!1,data:null,method:null,action:null},He=[],ta=-1;function nt(t){return{current:t}}function Ft(t){0>ta||(t.current=He[ta],He[ta]=null,ta--)}function qt(t,e){ta++,He[ta]=t.current,t.current=e}var vn=nt(null),Wl=nt(null),Fe=nt(null),Pl=nt(null);function ea(t,e){switch(qt(Fe,e),qt(Wl,t),qt(vn,null),t=e.nodeType,t){case 9:case 11:e=(e=e.documentElement)&&(e=e.namespaceURI)?Km(e):0;break;default:if(t=t===8?e.parentNode:e,e=t.tagName,t=t.namespaceURI)t=Km(t),e=$m(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}Ft(vn),qt(vn,e)}function ln(){Ft(vn),Ft(Wl),Ft(Fe)}function Wr(t){t.memoizedState!==null&&qt(Pl,t);var e=vn.current,n=$m(e,t.type);e!==n&&(qt(Wl,t),qt(vn,n))}function Gi(t){Wl.current===t&&(Ft(vn),Ft(Wl)),Pl.current===t&&(Ft(Pl),du._currentValue=me)}var Pr=Object.prototype.hasOwnProperty,Ir=l.unstable_scheduleCallback,ts=l.unstable_cancelCallback,Cc=l.unstable_shouldYield,wc=l.unstable_requestPaint,ke=l.unstable_now,na=l.unstable_getCurrentPriorityLevel,es=l.unstable_ImmediatePriority,rl=l.unstable_UserBlockingPriority,Ln=l.unstable_NormalPriority,sl=l.unstable_LowPriority,Il=l.unstable_IdlePriority,Dc=l.log,ns=l.unstable_setDisableYieldValue,ti=null,Be=null;function Mc(t){if(Be&&typeof Be.onCommitFiberRoot=="function")try{Be.onCommitFiberRoot(ti,t,void 0,(t.current.flags&128)===128)}catch{}}function aa(t){if(typeof Dc=="function"&&ns(t),Be&&typeof Be.setStrictMode=="function")try{Be.setStrictMode(ti,t)}catch{}}var qe=Math.clz32?Math.clz32:Vi,Nc=Math.log,Lu=Math.LN2;function Vi(t){return t>>>=0,t===0?32:31-(Nc(t)/Lu|0)|0}var ei=128,ni=4194304;function Ca(t){var e=t&42;if(e!==0)return e;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t&4194176;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Qi(t,e){var n=t.pendingLanes;if(n===0)return 0;var a=0,i=t.suspendedLanes,s=t.pingedLanes,h=t.warmLanes;t=t.finishedLanes!==0;var g=n&134217727;return g!==0?(n=g&~i,n!==0?a=Ca(n):(s&=g,s!==0?a=Ca(s):t||(h=g&~h,h!==0&&(a=Ca(h))))):(g=n&~i,g!==0?a=Ca(g):s!==0?a=Ca(s):t||(h=n&~h,h!==0&&(a=Ca(h)))),a===0?0:e!==0&&e!==a&&(e&i)===0&&(i=a&-a,h=e&-e,i>=h||i===32&&(h&4194176)!==0)?e:a}function ai(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function zc(t,e){switch(t){case 1:case 2:case 4:case 8:return e+250;case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+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 wa(){var t=ei;return ei<<=1,(ei&4194176)===0&&(ei=128),t}function ul(){var t=ni;return ni<<=1,(ni&62914560)===0&&(ni=4194304),t}function as(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function li(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Rc(t,e,n,a,i,s){var h=t.pendingLanes;t.pendingLanes=n,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=n,t.entangledLanes&=n,t.errorRecoveryDisabledLanes&=n,t.shellSuspendCounter=0;var g=t.entanglements,_=t.expirationTimes,T=t.hiddenUpdates;for(n=h&~n;0<n;){var B=31-qe(n),Z=1<<B;g[B]=0,_[B]=-1;var N=T[B];if(N!==null)for(T[B]=null,B=0;B<N.length;B++){var U=N[B];U!==null&&(U.lane&=-536870913)}n&=~Z}a!==0&&ju(t,a,0),s!==0&&i===0&&t.tag!==0&&(t.suspendedLanes|=s&~(h&~e))}function ju(t,e,n){t.pendingLanes|=e,t.suspendedLanes&=~e;var a=31-qe(e);t.entangledLanes|=e,t.entanglements[a]=t.entanglements[a]|1073741824|n&4194218}function Uu(t,e){var n=t.entangledLanes|=e;for(t=t.entanglements;n;){var a=31-qe(n),i=1<<a;i&e|t[a]&e&&(t[a]|=e),n&=~i}}function Zi(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Da(){var t=_t.p;return t!==0?t:(t=window.event,t===void 0?32:dp(t.type))}function Ki(t,e){var n=_t.p;try{return _t.p=t,e()}finally{_t.p=n}}var la=Math.random().toString(36).slice(2),oe="__reactFiber$"+la,Me="__reactProps$"+la,ol="__reactContainer$"+la,ia="__reactEvents$"+la,Ee="__reactListeners$"+la,Ye="__reactHandles$"+la,Ne="__reactResources$"+la,ie="__reactMarker$"+la;function cl(t){delete t[oe],delete t[Me],delete t[ia],delete t[Ee],delete t[Ye]}function Je(t){var e=t[oe];if(e)return e;for(var n=t.parentNode;n;){if(e=n[ol]||n[oe]){if(n=e.alternate,e.child!==null||n!==null&&n.child!==null)for(t=Wm(t);t!==null;){if(n=t[oe])return n;t=Wm(t)}return e}t=n,n=t.parentNode}return null}function We(t){if(t=t[oe]||t[ol]){var e=t.tag;if(e===5||e===6||e===13||e===26||e===27||e===3)return t}return null}function yn(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(c(33))}function Ma(t){var e=t[Ne];return e||(e=t[Ne]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function te(t){t[ie]=!0}var Na=new Set,ls={};function jn(t,e){ra(t,e),ra(t+"Capture",e)}function ra(t,e){for(ls[t]=e,t=0;t<e.length;t++)Na.add(e[t])}var bn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Hu=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]*$"),is={},rs={};function ku(t){return Pr.call(rs,t)?!0:Pr.call(is,t)?!1:Hu.test(t)?rs[t]=!0:(is[t]=!0,!1)}function ii(t,e,n){if(ku(e))if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var a=e.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+n)}}function ri(t,e,n){if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+n)}}function _n(t,e,n,a){if(a===null)t.removeAttribute(n);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(n);return}t.setAttributeNS(e,n,""+a)}}function Xe(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function ss(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function Sn(t){var e=ss(t)?"checked":"value",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),a=""+t[e];if(!t.hasOwnProperty(e)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,s=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return i.call(this)},set:function(h){a=""+h,s.call(this,h)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return a},setValue:function(h){a=""+h},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function pe(t){t._valueTracker||(t._valueTracker=Sn(t))}function sa(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),a="";return t&&(a=ss(t)?t.checked?"true":"false":t.value),t=a,t!==n?(e.setValue(t),!0):!1}function Ae(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var us=/[\n"\\]/g;function ze(t){return t.replace(us,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Pe(t,e,n,a,i,s,h,g){t.name="",h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"?t.type=h:t.removeAttribute("type"),e!=null?h==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Xe(e)):t.value!==""+Xe(e)&&(t.value=""+Xe(e)):h!=="submit"&&h!=="reset"||t.removeAttribute("value"),e!=null?fl(t,h,Xe(e)):n!=null?fl(t,h,Xe(n)):a!=null&&t.removeAttribute("value"),i==null&&s!=null&&(t.defaultChecked=!!s),i!=null&&(t.checked=i&&typeof i!="function"&&typeof i!="symbol"),g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"?t.name=""+Xe(g):t.removeAttribute("name")}function ua(t,e,n,a,i,s,h,g){if(s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"&&(t.type=s),e!=null||n!=null){if(!(s!=="submit"&&s!=="reset"||e!=null))return;n=n!=null?""+Xe(n):"",e=e!=null?""+Xe(e):n,g||e===t.value||(t.value=e),t.defaultValue=e}a=a??i,a=typeof a!="function"&&typeof a!="symbol"&&!!a,t.checked=g?t.checked:!!a,t.defaultChecked=!!a,h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"&&(t.name=h)}function fl(t,e,n){e==="number"&&Ae(t.ownerDocument)===t||t.defaultValue===""+n||(t.defaultValue=""+n)}function rn(t,e,n,a){if(t=t.options,e){e={};for(var i=0;i<n.length;i++)e["$"+n[i]]=!0;for(n=0;n<t.length;n++)i=e.hasOwnProperty("$"+t[n].value),t[n].selected!==i&&(t[n].selected=i),i&&a&&(t[n].defaultSelected=!0)}else{for(n=""+Xe(n),e=null,i=0;i<t.length;i++){if(t[i].value===n){t[i].selected=!0,a&&(t[i].defaultSelected=!0);return}e!==null||t[i].disabled||(e=t[i])}e!==null&&(e.selected=!0)}}function $i(t,e,n){if(e!=null&&(e=""+Xe(e),e!==t.value&&(t.value=e),n==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=n!=null?""+Xe(n):""}function os(t,e,n,a){if(e==null){if(a!=null){if(n!=null)throw Error(c(92));if(an(a)){if(1<a.length)throw Error(c(93));a=a[0]}n=a}n==null&&(n=""),e=n}n=Xe(e),t.defaultValue=n,a=t.textContent,a===n&&a!==""&&a!==null&&(t.value=a)}function sn(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var cs=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 fs(t,e,n){var a=e.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?a?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":a?t.setProperty(e,n):typeof n!="number"||n===0||cs.has(e)?e==="float"?t.cssFloat=n:t[e]=(""+n).trim():t[e]=n+"px"}function En(t,e,n){if(e!=null&&typeof e!="object")throw Error(c(62));if(t=t.style,n!=null){for(var a in n)!n.hasOwnProperty(a)||e!=null&&e.hasOwnProperty(a)||(a.indexOf("--")===0?t.setProperty(a,""):a==="float"?t.cssFloat="":t[a]="");for(var i in e)a=e[i],e.hasOwnProperty(i)&&n[i]!==a&&fs(t,i,a)}else for(var s in e)e.hasOwnProperty(s)&&fs(t,s,e[s])}function ds(t){if(t.indexOf("-")===-1)return!1;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var oa=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"]]),Fi=/^[\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 si(t){return Fi.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}var za=null;function ui(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var An=null,Ra=null;function hs(t){var e=We(t);if(e&&(t=e.stateNode)){var n=t[Me]||null;t:switch(t=e.stateNode,e.type){case"input":if(Pe(t,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),e=n.name,n.type==="radio"&&e!=null){for(n=t;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+ze(""+e)+'"][type="radio"]'),e=0;e<n.length;e++){var a=n[e];if(a!==t&&a.form===t.form){var i=a[Me]||null;if(!i)throw Error(c(90));Pe(a,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name)}}for(e=0;e<n.length;e++)a=n[e],a.form===t.form&&sa(a)}break t;case"textarea":$i(t,n.value,n.defaultValue);break t;case"select":e=n.value,e!=null&&rn(t,!!n.multiple,e,!1)}}}var Ji=!1;function La(t,e,n){if(Ji)return t(e,n);Ji=!0;try{var a=t(e);return a}finally{if(Ji=!1,(An!==null||Ra!==null)&&(ko(),An&&(e=An,t=Ra,Ra=An=null,hs(e),t)))for(e=0;e<t.length;e++)hs(t[e])}}function oi(t,e){var n=t.stateNode;if(n===null)return null;var a=n[Me]||null;if(a===null)return null;n=a[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(t=t.type,a=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!a;break t;default:t=!1}if(t)return null;if(n&&typeof n!="function")throw Error(c(231,e,typeof n));return n}var Wi=!1;if(bn)try{var ja={};Object.defineProperty(ja,"passive",{get:function(){Wi=!0}}),window.addEventListener("test",ja,ja),window.removeEventListener("test",ja,ja)}catch{Wi=!1}var un=null,ci=null,Pi=null;function fi(){if(Pi)return Pi;var t,e=ci,n=e.length,a,i="value"in un?un.value:un.textContent,s=i.length;for(t=0;t<n&&e[t]===i[t];t++);var h=n-t;for(a=1;a<=h&&e[n-a]===i[s-a];a++);return Pi=i.slice(t,1<a?1-a:void 0)}function Ii(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function di(){return!0}function tr(){return!1}function ge(t){function e(n,a,i,s,h){this._reactName=n,this._targetInst=i,this.type=a,this.nativeEvent=s,this.target=h,this.currentTarget=null;for(var g in t)t.hasOwnProperty(g)&&(n=t[g],this[g]=n?n(s):s[g]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?di:tr,this.isPropagationStopped=tr,this}return St(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=di)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=di)},persist:function(){},isPersistent:di}),e}var Un={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},hi=ge(Un),Hn=St({},Un,{view:0,detail:0}),ms=ge(Hn),er,nr,xn,ar=St({},Hn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:rr,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==xn&&(xn&&t.type==="mousemove"?(er=t.screenX-xn.screenX,nr=t.screenY-xn.screenY):nr=er=0,xn=t),er)},movementY:function(t){return"movementY"in t?t.movementY:nr}}),ps=ge(ar),Bu=St({},ar,{dataTransfer:0}),qu=ge(Bu),Yu=St({},Hn,{relatedTarget:0}),lr=ge(Yu),gs=St({},Un,{animationName:0,elapsedTime:0,pseudoElement:0}),Xu=ge(gs),Lc=St({},Un,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),jc=ge(Lc),Gu=St({},Un,{data:0}),vs=ge(Gu),ir={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Uc={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"},Hc={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ys(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=Hc[t])?!!e[t]:!1}function rr(){return ys}var Vu=St({},Hn,{key:function(t){if(t.key){var e=ir[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=Ii(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?Uc[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:rr,charCode:function(t){return t.type==="keypress"?Ii(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Ii(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),Ua=ge(Vu),bs=St({},ar,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Qu=ge(bs),Zu=St({},Hn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:rr}),kc=ge(Zu),Bc=St({},Un,{propertyName:0,elapsedTime:0,pseudoElement:0}),qc=ge(Bc),Yc=St({},ar,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),Ku=ge(Yc),$u=St({},Un,{newState:0,oldState:0}),Xc=ge($u),dl=[9,13,27,32],kn=bn&&"CompositionEvent"in window,mi=null;bn&&"documentMode"in document&&(mi=document.documentMode);var sr=bn&&"TextEvent"in window&&!mi,Fu=bn&&(!kn||mi&&8<mi&&11>=mi),Ju=" ",Wu=!1;function Pu(t,e){switch(t){case"keyup":return dl.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Iu(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var hl=!1;function Gc(t,e){switch(t){case"compositionend":return Iu(e);case"keypress":return e.which!==32?null:(Wu=!0,Ju);case"textInput":return t=e.data,t===Ju&&Wu?null:t;default:return null}}function Vc(t,e){if(hl)return t==="compositionend"||!kn&&Pu(t,e)?(t=fi(),Pi=ci=un=null,hl=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return Fu&&e.locale!=="ko"?null:e.data;default:return null}}var on={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 _s(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!on[t.type]:e==="textarea"}function Ss(t,e,n,a){An?Ra?Ra.push(a):Ra=[a]:An=a,e=Go(e,"onChange"),0<e.length&&(n=new hi("onChange","change",null,n,a),t.push({event:n,listeners:e}))}var ml=null,pi=null;function Qc(t){Xm(t,0)}function gi(t){var e=yn(t);if(sa(e))return t}function vi(t,e){if(t==="change")return e}var to=!1;if(bn){var Es;if(bn){var ur="oninput"in document;if(!ur){var eo=document.createElement("div");eo.setAttribute("oninput","return;"),ur=typeof eo.oninput=="function"}Es=ur}else Es=!1;to=Es&&(!document.documentMode||9<document.documentMode)}function no(){ml&&(ml.detachEvent("onpropertychange",As),pi=ml=null)}function As(t){if(t.propertyName==="value"&&gi(pi)){var e=[];Ss(e,pi,t,ui(t)),La(Qc,e)}}function ao(t,e,n){t==="focusin"?(no(),ml=e,pi=n,ml.attachEvent("onpropertychange",As)):t==="focusout"&&no()}function lo(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return gi(pi)}function or(t,e){if(t==="click")return gi(e)}function io(t,e){if(t==="input"||t==="change")return gi(e)}function xs(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var Gt=typeof Object.is=="function"?Object.is:xs;function yi(t,e){if(Gt(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var n=Object.keys(t),a=Object.keys(e);if(n.length!==a.length)return!1;for(a=0;a<n.length;a++){var i=n[a];if(!Pr.call(e,i)||!Gt(t[i],e[i]))return!1}return!0}function ro(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Ts(t,e){var n=ro(t);t=0;for(var a;n;){if(n.nodeType===3){if(a=t+n.textContent.length,t<=e&&a>=e)return{node:n,offset:e-t};t=a}t:{for(;n;){if(n.nextSibling){n=n.nextSibling;break t}n=n.parentNode}n=void 0}n=ro(n)}}function Os(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Os(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function so(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=Ae(t.document);e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch{n=!1}if(n)t=e.contentWindow;else break;e=Ae(t.document)}return e}function Cs(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}function Zc(t,e){var n=so(e);e=t.focusedElem;var a=t.selectionRange;if(n!==e&&e&&e.ownerDocument&&Os(e.ownerDocument.documentElement,e)){if(a!==null&&Cs(e)){if(t=a.start,n=a.end,n===void 0&&(n=t),"selectionStart"in e)e.selectionStart=t,e.selectionEnd=Math.min(n,e.value.length);else if(n=(t=e.ownerDocument||document)&&t.defaultView||window,n.getSelection){n=n.getSelection();var i=e.textContent.length,s=Math.min(a.start,i);a=a.end===void 0?s:Math.min(a.end,i),!n.extend&&s>a&&(i=a,a=s,s=i),i=Ts(e,s);var h=Ts(e,a);i&&h&&(n.rangeCount!==1||n.anchorNode!==i.node||n.anchorOffset!==i.offset||n.focusNode!==h.node||n.focusOffset!==h.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),n.removeAllRanges(),s>a?(n.addRange(t),n.extend(h.node,h.offset)):(t.setEnd(h.node,h.offset),n.addRange(t)))}}for(t=[],n=e;n=n.parentNode;)n.nodeType===1&&t.push({element:n,left:n.scrollLeft,top:n.scrollTop});for(typeof e.focus=="function"&&e.focus(),e=0;e<t.length;e++)n=t[e],n.element.scrollLeft=n.left,n.element.scrollTop=n.top}}var Kc=bn&&"documentMode"in document&&11>=document.documentMode,pl=null,ws=null,gl=null,cr=!1;function fr(t,e,n){var a=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;cr||pl==null||pl!==Ae(a)||(a=pl,"selectionStart"in a&&Cs(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),gl&&yi(gl,a)||(gl=a,a=Go(ws,"onSelect"),0<a.length&&(e=new hi("onSelect","select",null,e,n),t.push({event:e,listeners:a}),e.target=pl)))}function Ha(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var vl={animationend:Ha("Animation","AnimationEnd"),animationiteration:Ha("Animation","AnimationIteration"),animationstart:Ha("Animation","AnimationStart"),transitionrun:Ha("Transition","TransitionRun"),transitionstart:Ha("Transition","TransitionStart"),transitioncancel:Ha("Transition","TransitionCancel"),transitionend:Ha("Transition","TransitionEnd")},Bn={},Tn={};bn&&(Tn=document.createElement("div").style,"AnimationEvent"in window||(delete vl.animationend.animation,delete vl.animationiteration.animation,delete vl.animationstart.animation),"TransitionEvent"in window||delete vl.transitionend.transition);function ca(t){if(Bn[t])return Bn[t];if(!vl[t])return t;var e=vl[t],n;for(n in e)if(e.hasOwnProperty(n)&&n in Tn)return Bn[t]=e[n];return t}var uo=ca("animationend"),Ds=ca("animationiteration"),Ms=ca("animationstart"),oo=ca("transitionrun"),co=ca("transitionstart"),$c=ca("transitioncancel"),fo=ca("transitionend"),ho=new Map,Ns="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll scrollEnd toggle touchMove waiting wheel".split(" ");function Ie(t,e){ho.set(t,e),jn(e,[t])}var tn=[],yl=0,zs=0;function dr(){for(var t=yl,e=zs=yl=0;e<t;){var n=tn[e];tn[e++]=null;var a=tn[e];tn[e++]=null;var i=tn[e];tn[e++]=null;var s=tn[e];if(tn[e++]=null,a!==null&&i!==null){var h=a.pending;h===null?i.next=i:(i.next=h.next,h.next=i),a.pending=i}s!==0&&mo(n,i,s)}}function hr(t,e,n,a){tn[yl++]=t,tn[yl++]=e,tn[yl++]=n,tn[yl++]=a,zs|=a,t.lanes|=a,t=t.alternate,t!==null&&(t.lanes|=a)}function cn(t,e,n,a){return hr(t,e,n,a),mr(t)}function qn(t,e){return hr(t,null,null,e),mr(t)}function mo(t,e,n){t.lanes|=n;var a=t.alternate;a!==null&&(a.lanes|=n);for(var i=!1,s=t.return;s!==null;)s.childLanes|=n,a=s.alternate,a!==null&&(a.childLanes|=n),s.tag===22&&(t=s.stateNode,t===null||t._visibility&1||(i=!0)),t=s,s=s.return;i&&e!==null&&t.tag===3&&(s=t.stateNode,i=31-qe(n),s=s.hiddenUpdates,t=s[i],t===null?s[i]=[e]:t.push(e),e.lane=n|536870912)}function mr(t){if(50<iu)throw iu=0,Bf=null,Error(c(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var bl={},po=new WeakMap;function en(t,e){if(typeof t=="object"&&t!==null){var n=po.get(t);return n!==void 0?n:(e={value:t,source:e,stack:gt(e)},po.set(t,e),e)}return{value:t,source:e,stack:gt(e)}}var _l=[],Sl=0,pr=null,El=0,xe=[],Ge=0,fa=null,Ve=1,fn="";function ka(t,e){_l[Sl++]=El,_l[Sl++]=pr,pr=t,El=e}function go(t,e,n){xe[Ge++]=Ve,xe[Ge++]=fn,xe[Ge++]=fa,fa=t;var a=Ve;t=fn;var i=32-qe(a)-1;a&=~(1<<i),n+=1;var s=32-qe(e)+i;if(30<s){var h=i-i%5;s=(a&(1<<h)-1).toString(32),a>>=h,i-=h,Ve=1<<32-qe(e)+i|n<<i|a,fn=s+t}else Ve=1<<s|n<<i|a,fn=t}function Rs(t){t.return!==null&&(ka(t,1),go(t,1,0))}function Yn(t){for(;t===pr;)pr=_l[--Sl],_l[Sl]=null,El=_l[--Sl],_l[Sl]=null;for(;t===fa;)fa=xe[--Ge],xe[Ge]=null,fn=xe[--Ge],xe[Ge]=null,Ve=xe[--Ge],xe[Ge]=null}var Te=null,he=null,xt=!1,Qe=null,On=!1,gr=Error(c(519));function Ba(t){var e=Error(c(418,""));throw _i(en(e,t)),gr}function qa(t){var e=t.stateNode,n=t.type,a=t.memoizedProps;switch(e[oe]=t,e[Me]=a,n){case"dialog":Mt("cancel",e),Mt("close",e);break;case"iframe":case"object":case"embed":Mt("load",e);break;case"video":case"audio":for(n=0;n<su.length;n++)Mt(su[n],e);break;case"source":Mt("error",e);break;case"img":case"image":case"link":Mt("error",e),Mt("load",e);break;case"details":Mt("toggle",e);break;case"input":Mt("invalid",e),ua(e,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0),pe(e);break;case"select":Mt("invalid",e);break;case"textarea":Mt("invalid",e),os(e,a.value,a.defaultValue,a.children),pe(e)}n=a.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||e.textContent===""+n||a.suppressHydrationWarning===!0||Zm(e.textContent,n)?(a.popover!=null&&(Mt("beforetoggle",e),Mt("toggle",e)),a.onScroll!=null&&Mt("scroll",e),a.onScrollEnd!=null&&Mt("scrollend",e),a.onClick!=null&&(e.onclick=Vo),e=!0):e=!1,e||Ba(t)}function vr(t){for(Te=t.return;Te;)switch(Te.tag){case 3:case 27:On=!0;return;case 5:case 13:On=!1;return;default:Te=Te.return}}function Al(t){if(t!==Te)return!1;if(!xt)return vr(t),xt=!0,!1;var e=!1,n;if((n=t.tag!==3&&t.tag!==27)&&((n=t.tag===5)&&(n=t.type,n=!(n!=="form"&&n!=="button")||nd(t.type,t.memoizedProps)),n=!n),n&&(e=!0),e&&he&&Ba(t),vr(t),t.tag===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(c(317));t:{for(t=t.nextSibling,e=0;t;){if(t.nodeType===8)if(n=t.data,n==="/$"){if(e===0){he=$n(t.nextSibling);break t}e--}else n!=="$"&&n!=="$!"&&n!=="$?"||e++;t=t.nextSibling}he=null}}else he=Te?$n(t.stateNode.nextSibling):null;return!0}function bi(){he=Te=null,xt=!1}function _i(t){Qe===null?Qe=[t]:Qe.push(t)}var Si=Error(c(460)),xl=Error(c(474)),Xn={then:function(){}};function vo(t){return t=t.status,t==="fulfilled"||t==="rejected"}function yr(){}function yo(t,e,n){switch(n=t[n],n===void 0?t.push(e):n!==e&&(e.then(yr,yr),e=n),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,t===Si?Error(c(483)):t;default:if(typeof e.status=="string")e.then(yr,yr);else{if(t=Qt,t!==null&&100<t.shellSuspendCounter)throw Error(c(482));t=e,t.status="pending",t.then(function(a){if(e.status==="pending"){var i=e;i.status="fulfilled",i.value=a}},function(a){if(e.status==="pending"){var i=e;i.status="rejected",i.reason=a}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,t===Si?Error(c(483)):t}throw Ei=e,Si}}var Ei=null;function bo(){if(Ei===null)throw Error(c(459));var t=Ei;return Ei=null,t}var Tl=null,Ai=0;function br(t){var e=Ai;return Ai+=1,Tl===null&&(Tl=[]),yo(Tl,t,e)}function Ol(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function _r(t,e){throw e.$$typeof===m?Error(c(525)):(t=Object.prototype.toString.call(e),Error(c(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function Ls(t){var e=t._init;return e(t._payload)}function Sr(t){function e(C,x){if(t){var M=C.deletions;M===null?(C.deletions=[x],C.flags|=16):M.push(x)}}function n(C,x){if(!t)return null;for(;x!==null;)e(C,x),x=x.sibling;return null}function a(C){for(var x=new Map;C!==null;)C.key!==null?x.set(C.key,C):x.set(C.index,C),C=C.sibling;return x}function i(C,x){return C=kl(C,x),C.index=0,C.sibling=null,C}function s(C,x,M){return C.index=M,t?(M=C.alternate,M!==null?(M=M.index,M<x?(C.flags|=33554434,x):M):(C.flags|=33554434,x)):(C.flags|=1048576,x)}function h(C){return t&&C.alternate===null&&(C.flags|=33554434),C}function g(C,x,M,Y){return x===null||x.tag!==6?(x=Nf(M,C.mode,Y),x.return=C,x):(x=i(x,M),x.return=C,x)}function _(C,x,M,Y){var at=M.type;return at===S?B(C,x,M.props.children,Y,M.key):x!==null&&(x.elementType===at||typeof at=="object"&&at!==null&&at.$$typeof===W&&Ls(at)===x.type)?(x=i(x,M.props),Ol(x,M),x.return=C,x):(x=Ro(M.type,M.key,M.props,null,C.mode,Y),Ol(x,M),x.return=C,x)}function T(C,x,M,Y){return x===null||x.tag!==4||x.stateNode.containerInfo!==M.containerInfo||x.stateNode.implementation!==M.implementation?(x=zf(M,C.mode,Y),x.return=C,x):(x=i(x,M.children||[]),x.return=C,x)}function B(C,x,M,Y,at){return x===null||x.tag!==7?(x=Li(M,C.mode,Y,at),x.return=C,x):(x=i(x,M),x.return=C,x)}function Z(C,x,M){if(typeof x=="string"&&x!==""||typeof x=="number"||typeof x=="bigint")return x=Nf(""+x,C.mode,M),x.return=C,x;if(typeof x=="object"&&x!==null){switch(x.$$typeof){case y:return M=Ro(x.type,x.key,x.props,null,C.mode,M),Ol(M,x),M.return=C,M;case b:return x=zf(x,C.mode,M),x.return=C,x;case W:var Y=x._init;return x=Y(x._payload),Z(C,x,M)}if(an(x)||It(x))return x=Li(x,C.mode,M,null),x.return=C,x;if(typeof x.then=="function")return Z(C,br(x),M);if(x.$$typeof===q)return Z(C,Mo(C,x),M);_r(C,x)}return null}function N(C,x,M,Y){var at=x!==null?x.key:null;if(typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint")return at!==null?null:g(C,x,""+M,Y);if(typeof M=="object"&&M!==null){switch(M.$$typeof){case y:return M.key===at?_(C,x,M,Y):null;case b:return M.key===at?T(C,x,M,Y):null;case W:return at=M._init,M=at(M._payload),N(C,x,M,Y)}if(an(M)||It(M))return at!==null?null:B(C,x,M,Y,null);if(typeof M.then=="function")return N(C,x,br(M),Y);if(M.$$typeof===q)return N(C,x,Mo(C,M),Y);_r(C,M)}return null}function U(C,x,M,Y,at){if(typeof Y=="string"&&Y!==""||typeof Y=="number"||typeof Y=="bigint")return C=C.get(M)||null,g(x,C,""+Y,at);if(typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case y:return C=C.get(Y.key===null?M:Y.key)||null,_(x,C,Y,at);case b:return C=C.get(Y.key===null?M:Y.key)||null,T(x,C,Y,at);case W:var At=Y._init;return Y=At(Y._payload),U(C,x,M,Y,at)}if(an(Y)||It(Y))return C=C.get(M)||null,B(x,C,Y,at,null);if(typeof Y.then=="function")return U(C,x,M,br(Y),at);if(Y.$$typeof===q)return U(C,x,M,Mo(x,Y),at);_r(x,Y)}return null}function rt(C,x,M,Y){for(var at=null,At=null,ot=x,ht=x=0,Se=null;ot!==null&&ht<M.length;ht++){ot.index>ht?(Se=ot,ot=null):Se=ot.sibling;var Lt=N(C,ot,M[ht],Y);if(Lt===null){ot===null&&(ot=Se);break}t&&ot&&Lt.alternate===null&&e(C,ot),x=s(Lt,x,ht),At===null?at=Lt:At.sibling=Lt,At=Lt,ot=Se}if(ht===M.length)return n(C,ot),xt&&ka(C,ht),at;if(ot===null){for(;ht<M.length;ht++)ot=Z(C,M[ht],Y),ot!==null&&(x=s(ot,x,ht),At===null?at=ot:At.sibling=ot,At=ot);return xt&&ka(C,ht),at}for(ot=a(ot);ht<M.length;ht++)Se=U(ot,C,ht,M[ht],Y),Se!==null&&(t&&Se.alternate!==null&&ot.delete(Se.key===null?ht:Se.key),x=s(Se,x,ht),At===null?at=Se:At.sibling=Se,At=Se);return t&&ot.forEach(function(Ql){return e(C,Ql)}),xt&&ka(C,ht),at}function yt(C,x,M,Y){if(M==null)throw Error(c(151));for(var at=null,At=null,ot=x,ht=x=0,Se=null,Lt=M.next();ot!==null&&!Lt.done;ht++,Lt=M.next()){ot.index>ht?(Se=ot,ot=null):Se=ot.sibling;var Ql=N(C,ot,Lt.value,Y);if(Ql===null){ot===null&&(ot=Se);break}t&&ot&&Ql.alternate===null&&e(C,ot),x=s(Ql,x,ht),At===null?at=Ql:At.sibling=Ql,At=Ql,ot=Se}if(Lt.done)return n(C,ot),xt&&ka(C,ht),at;if(ot===null){for(;!Lt.done;ht++,Lt=M.next())Lt=Z(C,Lt.value,Y),Lt!==null&&(x=s(Lt,x,ht),At===null?at=Lt:At.sibling=Lt,At=Lt);return xt&&ka(C,ht),at}for(ot=a(ot);!Lt.done;ht++,Lt=M.next())Lt=U(ot,C,ht,Lt.value,Y),Lt!==null&&(t&&Lt.alternate!==null&&ot.delete(Lt.key===null?ht:Lt.key),x=s(Lt,x,ht),At===null?at=Lt:At.sibling=Lt,At=Lt);return t&&ot.forEach(function(jy){return e(C,jy)}),xt&&ka(C,ht),at}function le(C,x,M,Y){if(typeof M=="object"&&M!==null&&M.type===S&&M.key===null&&(M=M.props.children),typeof M=="object"&&M!==null){switch(M.$$typeof){case y:t:{for(var at=M.key;x!==null;){if(x.key===at){if(at=M.type,at===S){if(x.tag===7){n(C,x.sibling),Y=i(x,M.props.children),Y.return=C,C=Y;break t}}else if(x.elementType===at||typeof at=="object"&&at!==null&&at.$$typeof===W&&Ls(at)===x.type){n(C,x.sibling),Y=i(x,M.props),Ol(Y,M),Y.return=C,C=Y;break t}n(C,x);break}else e(C,x);x=x.sibling}M.type===S?(Y=Li(M.props.children,C.mode,Y,M.key),Y.return=C,C=Y):(Y=Ro(M.type,M.key,M.props,null,C.mode,Y),Ol(Y,M),Y.return=C,C=Y)}return h(C);case b:t:{for(at=M.key;x!==null;){if(x.key===at)if(x.tag===4&&x.stateNode.containerInfo===M.containerInfo&&x.stateNode.implementation===M.implementation){n(C,x.sibling),Y=i(x,M.children||[]),Y.return=C,C=Y;break t}else{n(C,x);break}else e(C,x);x=x.sibling}Y=zf(M,C.mode,Y),Y.return=C,C=Y}return h(C);case W:return at=M._init,M=at(M._payload),le(C,x,M,Y)}if(an(M))return rt(C,x,M,Y);if(It(M)){if(at=It(M),typeof at!="function")throw Error(c(150));return M=at.call(M),yt(C,x,M,Y)}if(typeof M.then=="function")return le(C,x,br(M),Y);if(M.$$typeof===q)return le(C,x,Mo(C,M),Y);_r(C,M)}return typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint"?(M=""+M,x!==null&&x.tag===6?(n(C,x.sibling),Y=i(x,M),Y.return=C,C=Y):(n(C,x),Y=Nf(M,C.mode,Y),Y.return=C,C=Y),h(C)):n(C,x)}return function(C,x,M,Y){try{Ai=0;var at=le(C,x,M,Y);return Tl=null,at}catch(ot){if(ot===Si)throw ot;var At=Nn(29,ot,null,C.mode);return At.lanes=Y,At.return=C,At}finally{}}}var da=Sr(!0),ha=Sr(!1),Ya=nt(null),Cl=nt(0);function js(t,e){t=Wa,qt(Cl,t),qt(Ya,e),Wa=t|e.baseLanes}function xi(){qt(Cl,Wa),qt(Ya,Ya.current)}function Er(){Wa=Cl.current,Ft(Ya),Ft(Cl)}var Re=nt(null),Cn=null;function Le(t){var e=t.alternate;qt(re,re.current&1),qt(Re,t),Cn===null&&(e===null||Ya.current!==null||e.memoizedState!==null)&&(Cn=t)}function Gn(t){if(t.tag===22){if(qt(re,re.current),qt(Re,t),Cn===null){var e=t.alternate;e!==null&&e.memoizedState!==null&&(Cn=t)}}else ma()}function ma(){qt(re,re.current),qt(Re,Re.current)}function Vn(t){Ft(Re),Cn===t&&(Cn=null),Ft(re)}var re=nt(0);function Ar(t){for(var e=t;e!==null;){if(e.tag===13){var n=e.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var Fc=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(n,a){t.push(a)}};this.abort=function(){e.aborted=!0,t.forEach(function(n){return n()})}},Jc=l.unstable_scheduleCallback,Wc=l.unstable_NormalPriority,se={$$typeof:q,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function xr(){return{controller:new Fc,data:new Map,refCount:0}}function pa(t){t.refCount--,t.refCount===0&&Jc(Wc,function(){t.controller.abort()})}var ga=null,Us=0,wl=0,wn=null;function p(t,e){if(ga===null){var n=ga=[];Us=0,wl=Kf(),wn={status:"pending",value:void 0,then:function(a){n.push(a)}}}return Us++,e.then(r,r),e}function r(){if(--Us===0&&ga!==null){wn!==null&&(wn.status="fulfilled");var t=ga;ga=null,wl=0,wn=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function d(t,e){var n=[],a={status:"pending",value:null,reason:null,then:function(i){n.push(i)}};return t.then(function(){a.status="fulfilled",a.value=e;for(var i=0;i<n.length;i++)(0,n[i])(e)},function(i){for(a.status="rejected",a.reason=i,i=0;i<n.length;i++)(0,n[i])(void 0)}),a}var v=lt.S;lt.S=function(t,e){typeof e=="object"&&e!==null&&typeof e.then=="function"&&p(t,e),v!==null&&v(t,e)};var A=nt(null);function O(){var t=A.current;return t!==null?t:Qt.pooledCache}function R(t,e){e===null?qt(A,A.current):qt(A,e.pool)}function X(){var t=O();return t===null?null:{parent:se._currentValue,pool:t}}var J=0,V=null,K=null,$=null,pt=!1,ut=!1,ct=!1,ft=0,dt=0,wt=null,Ht=0;function it(){throw Error(c(321))}function Dt(t,e){if(e===null)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(!Gt(t[n],e[n]))return!1;return!0}function vt(t,e,n,a,i,s){return J=s,V=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,lt.H=t===null||t.memoizedState===null?wi:Ml,ct=!1,s=n(a,i),ct=!1,ut&&(s=Rt(e,n,a,i)),Et(t),s}function Et(t){lt.H=ya;var e=K!==null&&K.next!==null;if(J=0,$=K=V=null,pt=!1,dt=0,wt=null,e)throw Error(c(300));t===null||be||(t=t.dependencies,t!==null&&Do(t)&&(be=!0))}function Rt(t,e,n,a){V=t;var i=0;do{if(ut&&(wt=null),dt=0,ut=!1,25<=i)throw Error(c(301));if(i+=1,$=K=null,t.updateQueue!=null){var s=t.updateQueue;s.lastEffect=null,s.events=null,s.stores=null,s.memoCache!=null&&(s.memoCache.index=0)}lt.H=Di,s=e(n,a)}while(ut);return s}function Ut(){var t=lt.H,e=t.useState()[0];return e=typeof e.then=="function"?ve(e):e,t=t.useState()[0],(K!==null?K.memoizedState:null)!==t&&(V.flags|=1024),e}function zt(){var t=ft!==0;return ft=0,t}function Kt(t,e,n){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~n}function Oe(t){if(pt){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}pt=!1}J=0,$=K=V=null,ut=!1,dt=ft=0,wt=null}function Vt(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return $===null?V.memoizedState=$=t:$=$.next=t,$}function Ct(){if(K===null){var t=V.alternate;t=t!==null?t.memoizedState:null}else t=K.next;var e=$===null?V.memoizedState:$.next;if(e!==null)$=e,K=t;else{if(t===null)throw V.alternate===null?Error(c(467)):Error(c(310));K=t,t={memoizedState:K.memoizedState,baseState:K.baseState,baseQueue:K.baseQueue,queue:K.queue,next:null},$===null?V.memoizedState=$=t:$=$.next=t}return $}var Ce;Ce=function(){return{lastEffect:null,events:null,stores:null,memoCache:null}};function ve(t){var e=dt;return dt+=1,wt===null&&(wt=[]),t=yo(wt,t,e),e=V,($===null?e.memoizedState:$.next)===null&&(e=e.alternate,lt.H=e===null||e.memoizedState===null?wi:Ml),t}function Yt(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return ve(t);if(t.$$typeof===q)return je(t)}throw Error(c(438,String(t)))}function nn(t){var e=null,n=V.updateQueue;if(n!==null&&(e=n.memoCache),e==null){var a=V.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(e={data:a.data.map(function(i){return i.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),n===null&&(n=Ce(),V.updateQueue=n),n.memoCache=e,n=e.data[e.index],n===void 0)for(n=e.data[e.index]=Array(t),a=0;a<t;a++)n[a]=bt;return e.index++,n}function ce(t,e){return typeof e=="function"?e(t):e}function Qn(t){var e=Ct();return ee(e,K,t)}function ee(t,e,n){var a=t.queue;if(a===null)throw Error(c(311));a.lastRenderedReducer=n;var i=t.baseQueue,s=a.pending;if(s!==null){if(i!==null){var h=i.next;i.next=s.next,s.next=h}e.baseQueue=i=s,a.pending=null}if(s=t.baseState,i===null)t.memoizedState=s;else{e=i.next;var g=h=null,_=null,T=e,B=!1;do{var Z=T.lane&-536870913;if(Z!==T.lane?(Nt&Z)===Z:(J&Z)===Z){var N=T.revertLane;if(N===0)_!==null&&(_=_.next={lane:0,revertLane:0,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null}),Z===wl&&(B=!0);else if((J&N)===N){T=T.next,N===wl&&(B=!0);continue}else Z={lane:0,revertLane:T.revertLane,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null},_===null?(g=_=Z,h=s):_=_.next=Z,V.lanes|=N,Bl|=N;Z=T.action,ct&&n(s,Z),s=T.hasEagerState?T.eagerState:n(s,Z)}else N={lane:Z,revertLane:T.revertLane,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null},_===null?(g=_=N,h=s):_=_.next=N,V.lanes|=Z,Bl|=Z;T=T.next}while(T!==null&&T!==e);if(_===null?h=s:_.next=g,!Gt(s,t.memoizedState)&&(be=!0,B&&(n=wn,n!==null)))throw n;t.memoizedState=s,t.baseState=h,t.baseQueue=_,a.lastRenderedState=s}return i===null&&(a.lanes=0),[t.memoizedState,a.dispatch]}function jt(t){var e=Ct(),n=e.queue;if(n===null)throw Error(c(311));n.lastRenderedReducer=t;var a=n.dispatch,i=n.pending,s=e.memoizedState;if(i!==null){n.pending=null;var h=i=i.next;do s=t(s,h.action),h=h.next;while(h!==i);Gt(s,e.memoizedState)||(be=!0),e.memoizedState=s,e.baseQueue===null&&(e.baseState=s),n.lastRenderedState=s}return[s,a]}function ye(t,e,n){var a=V,i=Ct(),s=xt;if(s){if(n===void 0)throw Error(c(407));n=n()}else n=e();var h=!Gt((K||i).memoizedState,n);if(h&&(i.memoizedState=n,be=!0),i=i.queue,wr(Ti.bind(null,a,i,t),[t]),i.getSnapshot!==e||h||$!==null&&$.memoizedState.tag&1){if(a.flags|=2048,Xa(9,Zn.bind(null,a,i,n,e),{destroy:void 0},null),Qt===null)throw Error(c(349));s||(J&60)!==0||Ze(a,e,n)}return n}function Ze(t,e,n){t.flags|=16384,t={getSnapshot:e,value:n},e=V.updateQueue,e===null?(e=Ce(),V.updateQueue=e,e.stores=[t]):(n=e.stores,n===null?e.stores=[t]:n.push(t))}function Zn(t,e,n,a){e.value=n,e.getSnapshot=a,Hs(e)&&ks(t)}function Ti(t,e,n){return n(function(){Hs(e)&&ks(t)})}function Hs(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!Gt(t,n)}catch{return!0}}function ks(t){var e=qn(t,2);e!==null&&Ke(e,t,2)}function Dl(t){var e=Vt();if(typeof t=="function"){var n=t;if(t=n(),ct){aa(!0);try{n()}finally{aa(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ce,lastRenderedState:t},e}function _o(t,e,n,a){return t.baseState=n,ee(t,K,typeof a=="function"?a:ce)}function Pc(t,e,n,a,i){if(Oo(t))throw Error(c(485));if(t=e.action,t!==null){var s={payload:i,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(h){s.listeners.push(h)}};lt.T!==null?n(!0):s.isTransition=!1,a(s),n=e.pending,n===null?(s.next=e.pending=s,Tr(e,s)):(s.next=n.next,e.pending=n.next=s)}}function Tr(t,e){var n=e.action,a=e.payload,i=t.state;if(e.isTransition){var s=lt.T,h={};lt.T=h;try{var g=n(i,a),_=lt.S;_!==null&&_(h,g),So(t,e,g)}catch(T){qs(t,e,T)}finally{lt.T=s}}else try{s=n(i,a),So(t,e,s)}catch(T){qs(t,e,T)}}function So(t,e,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(a){Bs(t,e,a)},function(a){return qs(t,e,a)}):Bs(t,e,n)}function Bs(t,e,n){e.status="fulfilled",e.value=n,Ys(e),t.state=n,e=t.pending,e!==null&&(n=e.next,n===e?t.pending=null:(n=n.next,e.next=n,Tr(t,n)))}function qs(t,e,n){var a=t.pending;if(t.pending=null,a!==null){a=a.next;do e.status="rejected",e.reason=n,Ys(e),e=e.next;while(e!==a)}t.action=null}function Ys(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function Xs(t,e){return e}function Eo(t,e){if(xt){var n=Qt.formState;if(n!==null){t:{var a=V;if(xt){if(he){e:{for(var i=he,s=On;i.nodeType!==8;){if(!s){i=null;break e}if(i=$n(i.nextSibling),i===null){i=null;break e}}s=i.data,i=s==="F!"||s==="F"?i:null}if(i){he=$n(i.nextSibling),a=i.data==="F!";break t}}Ba(a)}a=!1}a&&(e=n[0])}}return n=Vt(),n.memoizedState=n.baseState=e,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Xs,lastRenderedState:e},n.queue=a,n=Dh.bind(null,V,a),a.dispatch=n,a=Dl(!1),s=af.bind(null,V,!1,a.queue),a=Vt(),i={state:e,dispatch:null,action:t,pending:null},a.queue=i,n=Pc.bind(null,V,i,s,n),i.dispatch=n,a.memoizedState=t,[e,n,!1]}function Ao(t){var e=Ct();return va(e,K,t)}function va(t,e,n){e=ee(t,e,Xs)[0],t=Qn(ce)[0],e=typeof e=="object"&&e!==null&&typeof e.then=="function"?ve(e):e;var a=Ct(),i=a.queue,s=i.dispatch;return n!==a.memoizedState&&(V.flags|=2048,Xa(9,Or.bind(null,i,n),{destroy:void 0},null)),[e,s,t]}function Or(t,e){t.action=e}function Gs(t){var e=Ct(),n=K;if(n!==null)return va(e,n,t);Ct(),e=e.memoizedState,n=Ct();var a=n.queue.dispatch;return n.memoizedState=t,[e,a,!1]}function Xa(t,e,n,a){return t={tag:t,create:e,inst:n,deps:a,next:null},e=V.updateQueue,e===null&&(e=Ce(),V.updateQueue=e),n=e.lastEffect,n===null?e.lastEffect=t.next=t:(a=n.next,n.next=t,t.next=a,e.lastEffect=t),t}function Cr(){return Ct().memoizedState}function Oi(t,e,n,a){var i=Vt();V.flags|=t,i.memoizedState=Xa(1|e,n,{destroy:void 0},a===void 0?null:a)}function Ci(t,e,n,a){var i=Ct();a=a===void 0?null:a;var s=i.memoizedState.inst;K!==null&&a!==null&&Dt(a,K.memoizedState.deps)?i.memoizedState=Xa(e,n,s,a):(V.flags|=t,i.memoizedState=Xa(1|e,n,s,a))}function Vs(t,e){Oi(8390656,8,t,e)}function wr(t,e){Ci(2048,8,t,e)}function xo(t,e){return Ci(4,2,t,e)}function To(t,e){return Ci(4,4,t,e)}function Dr(t,e){if(typeof e=="function"){t=t();var n=e(t);return function(){typeof n=="function"?n():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function Qs(t,e,n){n=n!=null?n.concat([t]):null,Ci(4,4,Dr.bind(null,e,t),n)}function Ic(){}function Sh(t,e){var n=Ct();e=e===void 0?null:e;var a=n.memoizedState;return e!==null&&Dt(e,a[1])?a[0]:(n.memoizedState=[t,e],t)}function Eh(t,e){var n=Ct();e=e===void 0?null:e;var a=n.memoizedState;if(e!==null&&Dt(e,a[1]))return a[0];if(a=t(),ct){aa(!0);try{t()}finally{aa(!1)}}return n.memoizedState=[a,e],a}function tf(t,e,n){return n===void 0||(J&1073741824)!==0?t.memoizedState=e:(t.memoizedState=n,t=xm(),V.lanes|=t,Bl|=t,n)}function Ah(t,e,n,a){return Gt(n,e)?n:Ya.current!==null?(t=tf(t,n,a),Gt(t,e)||(be=!0),t):(J&42)===0?(be=!0,t.memoizedState=n):(t=xm(),V.lanes|=t,Bl|=t,e)}function xh(t,e,n,a,i){var s=_t.p;_t.p=s!==0&&8>s?s:8;var h=lt.T,g={};lt.T=g,af(t,!1,e,n);try{var _=i(),T=lt.S;if(T!==null&&T(g,_),_!==null&&typeof _=="object"&&typeof _.then=="function"){var B=d(_,a);Zs(t,e,B,pn(t))}else Zs(t,e,a,pn(t))}catch(Z){Zs(t,e,{then:function(){},status:"rejected",reason:Z},pn())}finally{_t.p=s,lt.T=h}}function Nv(){}function ef(t,e,n,a){if(t.tag!==5)throw Error(c(476));var i=Th(t).queue;xh(t,i,e,me,n===null?Nv:function(){return Oh(t),n(a)})}function Th(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:me,baseState:me,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ce,lastRenderedState:me},next:null};var n={};return e.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ce,lastRenderedState:n},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function Oh(t){var e=Th(t).next.queue;Zs(t,e,{},pn())}function nf(){return je(du)}function Ch(){return Ct().memoizedState}function wh(){return Ct().memoizedState}function zv(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var n=pn();t=Rl(n);var a=Ll(e,t,n);a!==null&&(Ke(a,e,n),Fs(a,e,n)),e={cache:xr()},t.payload=e;return}e=e.return}}function Rv(t,e,n){var a=pn();n={lane:a,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null},Oo(t)?Mh(e,n):(n=cn(t,e,n,a),n!==null&&(Ke(n,t,a),Nh(n,e,a)))}function Dh(t,e,n){var a=pn();Zs(t,e,n,a)}function Zs(t,e,n,a){var i={lane:a,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};if(Oo(t))Mh(e,i);else{var s=t.alternate;if(t.lanes===0&&(s===null||s.lanes===0)&&(s=e.lastRenderedReducer,s!==null))try{var h=e.lastRenderedState,g=s(h,n);if(i.hasEagerState=!0,i.eagerState=g,Gt(g,h))return hr(t,e,i,0),Qt===null&&dr(),!1}catch{}finally{}if(n=cn(t,e,i,a),n!==null)return Ke(n,t,a),Nh(n,e,a),!0}return!1}function af(t,e,n,a){if(a={lane:2,revertLane:Kf(),action:a,hasEagerState:!1,eagerState:null,next:null},Oo(t)){if(e)throw Error(c(479))}else e=cn(t,n,a,2),e!==null&&Ke(e,t,2)}function Oo(t){var e=t.alternate;return t===V||e!==null&&e===V}function Mh(t,e){ut=pt=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function Nh(t,e,n){if((n&4194176)!==0){var a=e.lanes;a&=t.pendingLanes,n|=a,e.lanes=n,Uu(t,n)}}var ya={readContext:je,use:Yt,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};ya.useCacheRefresh=it,ya.useMemoCache=it,ya.useHostTransitionStatus=it,ya.useFormState=it,ya.useActionState=it,ya.useOptimistic=it;var wi={readContext:je,use:Yt,useCallback:function(t,e){return Vt().memoizedState=[t,e===void 0?null:e],t},useContext:je,useEffect:Vs,useImperativeHandle:function(t,e,n){n=n!=null?n.concat([t]):null,Oi(4194308,4,Dr.bind(null,e,t),n)},useLayoutEffect:function(t,e){return Oi(4194308,4,t,e)},useInsertionEffect:function(t,e){Oi(4,2,t,e)},useMemo:function(t,e){var n=Vt();e=e===void 0?null:e;var a=t();if(ct){aa(!0);try{t()}finally{aa(!1)}}return n.memoizedState=[a,e],a},useReducer:function(t,e,n){var a=Vt();if(n!==void 0){var i=n(e);if(ct){aa(!0);try{n(e)}finally{aa(!1)}}}else i=e;return a.memoizedState=a.baseState=i,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:i},a.queue=t,t=t.dispatch=Rv.bind(null,V,t),[a.memoizedState,t]},useRef:function(t){var e=Vt();return t={current:t},e.memoizedState=t},useState:function(t){t=Dl(t);var e=t.queue,n=Dh.bind(null,V,e);return e.dispatch=n,[t.memoizedState,n]},useDebugValue:Ic,useDeferredValue:function(t,e){var n=Vt();return tf(n,t,e)},useTransition:function(){var t=Dl(!1);return t=xh.bind(null,V,t.queue,!0,!1),Vt().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,n){var a=V,i=Vt();if(xt){if(n===void 0)throw Error(c(407));n=n()}else{if(n=e(),Qt===null)throw Error(c(349));(Nt&60)!==0||Ze(a,e,n)}i.memoizedState=n;var s={value:n,getSnapshot:e};return i.queue=s,Vs(Ti.bind(null,a,s,t),[t]),a.flags|=2048,Xa(9,Zn.bind(null,a,s,n,e),{destroy:void 0},null),n},useId:function(){var t=Vt(),e=Qt.identifierPrefix;if(xt){var n=fn,a=Ve;n=(a&~(1<<32-qe(a)-1)).toString(32)+n,e=":"+e+"R"+n,n=ft++,0<n&&(e+="H"+n.toString(32)),e+=":"}else n=Ht++,e=":"+e+"r"+n.toString(32)+":";return t.memoizedState=e},useCacheRefresh:function(){return Vt().memoizedState=zv.bind(null,V)}};wi.useMemoCache=nn,wi.useHostTransitionStatus=nf,wi.useFormState=Eo,wi.useActionState=Eo,wi.useOptimistic=function(t){var e=Vt();e.memoizedState=e.baseState=t;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=n,e=af.bind(null,V,!0,n),n.dispatch=e,[t,e]};var Ml={readContext:je,use:Yt,useCallback:Sh,useContext:je,useEffect:wr,useImperativeHandle:Qs,useInsertionEffect:xo,useLayoutEffect:To,useMemo:Eh,useReducer:Qn,useRef:Cr,useState:function(){return Qn(ce)},useDebugValue:Ic,useDeferredValue:function(t,e){var n=Ct();return Ah(n,K.memoizedState,t,e)},useTransition:function(){var t=Qn(ce)[0],e=Ct().memoizedState;return[typeof t=="boolean"?t:ve(t),e]},useSyncExternalStore:ye,useId:Ch};Ml.useCacheRefresh=wh,Ml.useMemoCache=nn,Ml.useHostTransitionStatus=nf,Ml.useFormState=Ao,Ml.useActionState=Ao,Ml.useOptimistic=function(t,e){var n=Ct();return _o(n,K,t,e)};var Di={readContext:je,use:Yt,useCallback:Sh,useContext:je,useEffect:wr,useImperativeHandle:Qs,useInsertionEffect:xo,useLayoutEffect:To,useMemo:Eh,useReducer:jt,useRef:Cr,useState:function(){return jt(ce)},useDebugValue:Ic,useDeferredValue:function(t,e){var n=Ct();return K===null?tf(n,t,e):Ah(n,K.memoizedState,t,e)},useTransition:function(){var t=jt(ce)[0],e=Ct().memoizedState;return[typeof t=="boolean"?t:ve(t),e]},useSyncExternalStore:ye,useId:Ch};Di.useCacheRefresh=wh,Di.useMemoCache=nn,Di.useHostTransitionStatus=nf,Di.useFormState=Gs,Di.useActionState=Gs,Di.useOptimistic=function(t,e){var n=Ct();return K!==null?_o(n,K,t,e):(n.baseState=t,[t,n.queue.dispatch])};function lf(t,e,n,a){e=t.memoizedState,n=n(a,e),n=n==null?e:St({},e,n),t.memoizedState=n,t.lanes===0&&(t.updateQueue.baseState=n)}var rf={isMounted:function(t){return(t=t._reactInternals)?mt(t)===t:!1},enqueueSetState:function(t,e,n){t=t._reactInternals;var a=pn(),i=Rl(a);i.payload=e,n!=null&&(i.callback=n),e=Ll(t,i,a),e!==null&&(Ke(e,t,a),Fs(e,t,a))},enqueueReplaceState:function(t,e,n){t=t._reactInternals;var a=pn(),i=Rl(a);i.tag=1,i.payload=e,n!=null&&(i.callback=n),e=Ll(t,i,a),e!==null&&(Ke(e,t,a),Fs(e,t,a))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var n=pn(),a=Rl(n);a.tag=2,e!=null&&(a.callback=e),e=Ll(t,a,n),e!==null&&(Ke(e,t,n),Fs(e,t,n))}};function zh(t,e,n,a,i,s,h){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(a,s,h):e.prototype&&e.prototype.isPureReactComponent?!yi(n,a)||!yi(i,s):!0}function Rh(t,e,n,a){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(n,a),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(n,a),e.state!==t&&rf.enqueueReplaceState(e,e.state,null)}function Mi(t,e){var n=e;if("ref"in e){n={};for(var a in e)a!=="ref"&&(n[a]=e[a])}if(t=t.defaultProps){n===e&&(n=St({},n));for(var i in t)n[i]===void 0&&(n[i]=t[i])}return n}var Co=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)};function Lh(t){Co(t)}function jh(t){console.error(t)}function Uh(t){Co(t)}function wo(t,e){try{var n=t.onUncaughtError;n(e.value,{componentStack:e.stack})}catch(a){setTimeout(function(){throw a})}}function Hh(t,e,n){try{var a=t.onCaughtError;a(n.value,{componentStack:n.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(i){setTimeout(function(){throw i})}}function sf(t,e,n){return n=Rl(n),n.tag=3,n.payload={element:null},n.callback=function(){wo(t,e)},n}function kh(t){return t=Rl(t),t.tag=3,t}function Bh(t,e,n,a){var i=n.type.getDerivedStateFromError;if(typeof i=="function"){var s=a.value;t.payload=function(){return i(s)},t.callback=function(){Hh(e,n,a)}}var h=n.stateNode;h!==null&&typeof h.componentDidCatch=="function"&&(t.callback=function(){Hh(e,n,a),typeof i!="function"&&(ql===null?ql=new Set([this]):ql.add(this));var g=a.stack;this.componentDidCatch(a.value,{componentStack:g!==null?g:""})})}function Lv(t,e,n,a,i){if(n.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(e=n.alternate,e!==null&&$s(e,n,i,!0),n=Re.current,n!==null){switch(n.tag){case 13:return Cn===null?Xf():n.alternate===null&&ae===0&&(ae=3),n.flags&=-257,n.flags|=65536,n.lanes=i,a===Xn?n.flags|=16384:(e=n.updateQueue,e===null?n.updateQueue=new Set([a]):e.add(a),Vf(t,a,i)),!1;case 22:return n.flags|=65536,a===Xn?n.flags|=16384:(e=n.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([a])},n.updateQueue=e):(n=e.retryQueue,n===null?e.retryQueue=new Set([a]):n.add(a)),Vf(t,a,i)),!1}throw Error(c(435,n.tag))}return Vf(t,a,i),Xf(),!1}if(xt)return e=Re.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=i,a!==gr&&(t=Error(c(422),{cause:a}),_i(en(t,n)))):(a!==gr&&(e=Error(c(423),{cause:a}),_i(en(e,n))),t=t.current.alternate,t.flags|=65536,i&=-i,t.lanes|=i,a=en(a,n),i=sf(t.stateNode,a,i),Ef(t,i),ae!==4&&(ae=2)),!1;var s=Error(c(520),{cause:a});if(s=en(s,n),au===null?au=[s]:au.push(s),ae!==4&&(ae=2),e===null)return!0;a=en(a,n),n=e;do{switch(n.tag){case 3:return n.flags|=65536,t=i&-i,n.lanes|=t,t=sf(n.stateNode,a,t),Ef(n,t),!1;case 1:if(e=n.type,s=n.stateNode,(n.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||s!==null&&typeof s.componentDidCatch=="function"&&(ql===null||!ql.has(s))))return n.flags|=65536,i&=-i,n.lanes|=i,i=kh(i),Bh(i,t,n,a),Ef(n,i),!1}n=n.return}while(n!==null);return!1}var qh=Error(c(461)),be=!1;function we(t,e,n,a){e.child=t===null?ha(e,null,n,a):da(e,t.child,n,a)}function Yh(t,e,n,a,i){n=n.render;var s=e.ref;if("ref"in a){var h={};for(var g in a)g!=="ref"&&(h[g]=a[g])}else h=a;return zi(e),a=vt(t,e,n,h,s,i),g=zt(),t!==null&&!be?(Kt(t,e,i),Ga(t,e,i)):(xt&&g&&Rs(e),e.flags|=1,we(t,e,a,i),e.child)}function Xh(t,e,n,a,i){if(t===null){var s=n.type;return typeof s=="function"&&!Mf(s)&&s.defaultProps===void 0&&n.compare===null?(e.tag=15,e.type=s,Gh(t,e,s,a,i)):(t=Ro(n.type,null,a,e,e.mode,i),t.ref=e.ref,t.return=e,e.child=t)}if(s=t.child,!gf(t,i)){var h=s.memoizedProps;if(n=n.compare,n=n!==null?n:yi,n(h,a)&&t.ref===e.ref)return Ga(t,e,i)}return e.flags|=1,t=kl(s,a),t.ref=e.ref,t.return=e,e.child=t}function Gh(t,e,n,a,i){if(t!==null){var s=t.memoizedProps;if(yi(s,a)&&t.ref===e.ref)if(be=!1,e.pendingProps=a=s,gf(t,i))(t.flags&131072)!==0&&(be=!0);else return e.lanes=t.lanes,Ga(t,e,i)}return uf(t,e,n,a,i)}function Vh(t,e,n){var a=e.pendingProps,i=a.children,s=(e.stateNode._pendingVisibility&2)!==0,h=t!==null?t.memoizedState:null;if(Ks(t,e),a.mode==="hidden"||s){if((e.flags&128)!==0){if(a=h!==null?h.baseLanes|n:n,t!==null){for(i=e.child=t.child,s=0;i!==null;)s=s|i.lanes|i.childLanes,i=i.sibling;e.childLanes=s&~a}else e.childLanes=0,e.child=null;return Qh(t,e,a,n)}if((n&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&R(e,h!==null?h.cachePool:null),h!==null?js(e,h):xi(),Gn(e);else return e.lanes=e.childLanes=536870912,Qh(t,e,h!==null?h.baseLanes|n:n,n)}else h!==null?(R(e,h.cachePool),js(e,h),ma(),e.memoizedState=null):(t!==null&&R(e,null),xi(),ma());return we(t,e,i,n),e.child}function Qh(t,e,n,a){var i=O();return i=i===null?null:{parent:se._currentValue,pool:i},e.memoizedState={baseLanes:n,cachePool:i},t!==null&&R(e,null),xi(),Gn(e),t!==null&&$s(t,e,a,!0),null}function Ks(t,e){var n=e.ref;if(n===null)t!==null&&t.ref!==null&&(e.flags|=2097664);else{if(typeof n!="function"&&typeof n!="object")throw Error(c(284));(t===null||t.ref!==n)&&(e.flags|=2097664)}}function uf(t,e,n,a,i){return zi(e),n=vt(t,e,n,a,void 0,i),a=zt(),t!==null&&!be?(Kt(t,e,i),Ga(t,e,i)):(xt&&a&&Rs(e),e.flags|=1,we(t,e,n,i),e.child)}function Zh(t,e,n,a,i,s){return zi(e),e.updateQueue=null,n=Rt(e,a,n,i),Et(t),a=zt(),t!==null&&!be?(Kt(t,e,s),Ga(t,e,s)):(xt&&a&&Rs(e),e.flags|=1,we(t,e,n,s),e.child)}function Kh(t,e,n,a,i){if(zi(e),e.stateNode===null){var s=bl,h=n.contextType;typeof h=="object"&&h!==null&&(s=je(h)),s=new n(a,s),e.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,s.updater=rf,e.stateNode=s,s._reactInternals=e,s=e.stateNode,s.props=a,s.state=e.memoizedState,s.refs={},_f(e),h=n.contextType,s.context=typeof h=="object"&&h!==null?je(h):bl,s.state=e.memoizedState,h=n.getDerivedStateFromProps,typeof h=="function"&&(lf(e,n,h,a),s.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(h=s.state,typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),h!==s.state&&rf.enqueueReplaceState(s,s.state,null),Ws(e,a,s,i),Js(),s.state=e.memoizedState),typeof s.componentDidMount=="function"&&(e.flags|=4194308),a=!0}else if(t===null){s=e.stateNode;var g=e.memoizedProps,_=Mi(n,g);s.props=_;var T=s.context,B=n.contextType;h=bl,typeof B=="object"&&B!==null&&(h=je(B));var Z=n.getDerivedStateFromProps;B=typeof Z=="function"||typeof s.getSnapshotBeforeUpdate=="function",g=e.pendingProps!==g,B||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(g||T!==h)&&Rh(e,s,a,h),zl=!1;var N=e.memoizedState;s.state=N,Ws(e,a,s,i),Js(),T=e.memoizedState,g||N!==T||zl?(typeof Z=="function"&&(lf(e,n,Z,a),T=e.memoizedState),(_=zl||zh(e,n,_,a,N,T,h))?(B||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(e.flags|=4194308)):(typeof s.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=a,e.memoizedState=T),s.props=a,s.state=T,s.context=h,a=_):(typeof s.componentDidMount=="function"&&(e.flags|=4194308),a=!1)}else{s=e.stateNode,Sf(t,e),h=e.memoizedProps,B=Mi(n,h),s.props=B,Z=e.pendingProps,N=s.context,T=n.contextType,_=bl,typeof T=="object"&&T!==null&&(_=je(T)),g=n.getDerivedStateFromProps,(T=typeof g=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(h!==Z||N!==_)&&Rh(e,s,a,_),zl=!1,N=e.memoizedState,s.state=N,Ws(e,a,s,i),Js();var U=e.memoizedState;h!==Z||N!==U||zl||t!==null&&t.dependencies!==null&&Do(t.dependencies)?(typeof g=="function"&&(lf(e,n,g,a),U=e.memoizedState),(B=zl||zh(e,n,B,a,N,U,_)||t!==null&&t.dependencies!==null&&Do(t.dependencies))?(T||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(a,U,_),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(a,U,_)),typeof s.componentDidUpdate=="function"&&(e.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof s.componentDidUpdate!="function"||h===t.memoizedProps&&N===t.memoizedState||(e.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||h===t.memoizedProps&&N===t.memoizedState||(e.flags|=1024),e.memoizedProps=a,e.memoizedState=U),s.props=a,s.state=U,s.context=_,a=B):(typeof s.componentDidUpdate!="function"||h===t.memoizedProps&&N===t.memoizedState||(e.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||h===t.memoizedProps&&N===t.memoizedState||(e.flags|=1024),a=!1)}return s=a,Ks(t,e),a=(e.flags&128)!==0,s||a?(s=e.stateNode,n=a&&typeof n.getDerivedStateFromError!="function"?null:s.render(),e.flags|=1,t!==null&&a?(e.child=da(e,t.child,null,i),e.child=da(e,null,n,i)):we(t,e,n,i),e.memoizedState=s.state,t=e.child):t=Ga(t,e,i),t}function $h(t,e,n,a){return bi(),e.flags|=256,we(t,e,n,a),e.child}var of={dehydrated:null,treeContext:null,retryLane:0};function cf(t){return{baseLanes:t,cachePool:X()}}function ff(t,e,n){return t=t!==null?t.childLanes&~n:0,e&&(t|=zn),t}function Fh(t,e,n){var a=e.pendingProps,i=!1,s=(e.flags&128)!==0,h;if((h=s)||(h=t!==null&&t.memoizedState===null?!1:(re.current&2)!==0),h&&(i=!0,e.flags&=-129),h=(e.flags&32)!==0,e.flags&=-33,t===null){if(xt){if(i?Le(e):ma(),xt){var g=he,_;if(_=g){t:{for(_=g,g=On;_.nodeType!==8;){if(!g){g=null;break t}if(_=$n(_.nextSibling),_===null){g=null;break t}}g=_}g!==null?(e.memoizedState={dehydrated:g,treeContext:fa!==null?{id:Ve,overflow:fn}:null,retryLane:536870912},_=Nn(18,null,null,0),_.stateNode=g,_.return=e,e.child=_,Te=e,he=null,_=!0):_=!1}_||Ba(e)}if(g=e.memoizedState,g!==null&&(g=g.dehydrated,g!==null))return g.data==="$!"?e.lanes=16:e.lanes=536870912,null;Vn(e)}return g=a.children,a=a.fallback,i?(ma(),i=e.mode,g=hf({mode:"hidden",children:g},i),a=Li(a,i,n,null),g.return=e,a.return=e,g.sibling=a,e.child=g,i=e.child,i.memoizedState=cf(n),i.childLanes=ff(t,h,n),e.memoizedState=of,a):(Le(e),df(e,g))}if(_=t.memoizedState,_!==null&&(g=_.dehydrated,g!==null)){if(s)e.flags&256?(Le(e),e.flags&=-257,e=mf(t,e,n)):e.memoizedState!==null?(ma(),e.child=t.child,e.flags|=128,e=null):(ma(),i=a.fallback,g=e.mode,a=hf({mode:"visible",children:a.children},g),i=Li(i,g,n,null),i.flags|=2,a.return=e,i.return=e,a.sibling=i,e.child=a,da(e,t.child,null,n),a=e.child,a.memoizedState=cf(n),a.childLanes=ff(t,h,n),e.memoizedState=of,e=i);else if(Le(e),g.data==="$!"){if(h=g.nextSibling&&g.nextSibling.dataset,h)var T=h.dgst;h=T,a=Error(c(419)),a.stack="",a.digest=h,_i({value:a,source:null,stack:null}),e=mf(t,e,n)}else if(be||$s(t,e,n,!1),h=(n&t.childLanes)!==0,be||h){if(h=Qt,h!==null){if(a=n&-n,(a&42)!==0)a=1;else switch(a){case 2:a=1;break;case 8:a=4;break;case 32:a=16;break;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:a=64;break;case 268435456:a=134217728;break;default:a=0}if(a=(a&(h.suspendedLanes|n))!==0?0:a,a!==0&&a!==_.retryLane)throw _.retryLane=a,qn(t,a),Ke(h,t,a),qh}g.data==="$?"||Xf(),e=mf(t,e,n)}else g.data==="$?"?(e.flags|=128,e.child=t.child,e=Fv.bind(null,t),g._reactRetry=e,e=null):(t=_.treeContext,he=$n(g.nextSibling),Te=e,xt=!0,Qe=null,On=!1,t!==null&&(xe[Ge++]=Ve,xe[Ge++]=fn,xe[Ge++]=fa,Ve=t.id,fn=t.overflow,fa=e),e=df(e,a.children),e.flags|=4096);return e}return i?(ma(),i=a.fallback,g=e.mode,_=t.child,T=_.sibling,a=kl(_,{mode:"hidden",children:a.children}),a.subtreeFlags=_.subtreeFlags&31457280,T!==null?i=kl(T,i):(i=Li(i,g,n,null),i.flags|=2),i.return=e,a.return=e,a.sibling=i,e.child=a,a=i,i=e.child,g=t.child.memoizedState,g===null?g=cf(n):(_=g.cachePool,_!==null?(T=se._currentValue,_=_.parent!==T?{parent:T,pool:T}:_):_=X(),g={baseLanes:g.baseLanes|n,cachePool:_}),i.memoizedState=g,i.childLanes=ff(t,h,n),e.memoizedState=of,a):(Le(e),n=t.child,t=n.sibling,n=kl(n,{mode:"visible",children:a.children}),n.return=e,n.sibling=null,t!==null&&(h=e.deletions,h===null?(e.deletions=[t],e.flags|=16):h.push(t)),e.child=n,e.memoizedState=null,n)}function df(t,e){return e=hf({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function hf(t,e){return Sm(t,e,0,null)}function mf(t,e,n){return da(e,t.child,null,n),t=df(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function Jh(t,e,n){t.lanes|=e;var a=t.alternate;a!==null&&(a.lanes|=e),yf(t.return,e,n)}function pf(t,e,n,a,i){var s=t.memoizedState;s===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:a,tail:n,tailMode:i}:(s.isBackwards=e,s.rendering=null,s.renderingStartTime=0,s.last=a,s.tail=n,s.tailMode=i)}function Wh(t,e,n){var a=e.pendingProps,i=a.revealOrder,s=a.tail;if(we(t,e,a.children,n),a=re.current,(a&2)!==0)a=a&1|2,e.flags|=128;else{if(t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Jh(t,n,e);else if(t.tag===19)Jh(t,n,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}a&=1}switch(qt(re,a),i){case"forwards":for(n=e.child,i=null;n!==null;)t=n.alternate,t!==null&&Ar(t)===null&&(i=n),n=n.sibling;n=i,n===null?(i=e.child,e.child=null):(i=n.sibling,n.sibling=null),pf(e,!1,i,n,s);break;case"backwards":for(n=null,i=e.child,e.child=null;i!==null;){if(t=i.alternate,t!==null&&Ar(t)===null){e.child=i;break}t=i.sibling,i.sibling=n,n=i,i=t}pf(e,!0,n,null,s);break;case"together":pf(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function Ga(t,e,n){if(t!==null&&(e.dependencies=t.dependencies),Bl|=e.lanes,(n&e.childLanes)===0)if(t!==null){if($s(t,e,n,!1),(n&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(c(153));if(e.child!==null){for(t=e.child,n=kl(t,t.pendingProps),e.child=n,n.return=e;t.sibling!==null;)t=t.sibling,n=n.sibling=kl(t,t.pendingProps),n.return=e;n.sibling=null}return e.child}function gf(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&Do(t)))}function jv(t,e,n){switch(e.tag){case 3:ea(e,e.stateNode.containerInfo),Nl(e,se,t.memoizedState.cache),bi();break;case 27:case 5:Wr(e);break;case 4:ea(e,e.stateNode.containerInfo);break;case 10:Nl(e,e.type,e.memoizedProps.value);break;case 13:var a=e.memoizedState;if(a!==null)return a.dehydrated!==null?(Le(e),e.flags|=128,null):(n&e.child.childLanes)!==0?Fh(t,e,n):(Le(e),t=Ga(t,e,n),t!==null?t.sibling:null);Le(e);break;case 19:var i=(t.flags&128)!==0;if(a=(n&e.childLanes)!==0,a||($s(t,e,n,!1),a=(n&e.childLanes)!==0),i){if(a)return Wh(t,e,n);e.flags|=128}if(i=e.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),qt(re,re.current),a)break;return null;case 22:case 23:return e.lanes=0,Vh(t,e,n);case 24:Nl(e,se,t.memoizedState.cache)}return Ga(t,e,n)}function Ph(t,e,n){if(t!==null)if(t.memoizedProps!==e.pendingProps)be=!0;else{if(!gf(t,n)&&(e.flags&128)===0)return be=!1,jv(t,e,n);be=(t.flags&131072)!==0}else be=!1,xt&&(e.flags&1048576)!==0&&go(e,El,e.index);switch(e.lanes=0,e.tag){case 16:t:{t=e.pendingProps;var a=e.elementType,i=a._init;if(a=i(a._payload),e.type=a,typeof a=="function")Mf(a)?(t=Mi(a,t),e.tag=1,e=Kh(null,e,a,t,n)):(e.tag=0,e=uf(null,e,a,t,n));else{if(a!=null){if(i=a.$$typeof,i===L){e.tag=11,e=Yh(null,e,a,t,n);break t}else if(i===H){e.tag=14,e=Xh(null,e,a,t,n);break t}}throw e=ue(a)||a,Error(c(306,e,""))}}return e;case 0:return uf(t,e,e.type,e.pendingProps,n);case 1:return a=e.type,i=Mi(a,e.pendingProps),Kh(t,e,a,i,n);case 3:t:{if(ea(e,e.stateNode.containerInfo),t===null)throw Error(c(387));var s=e.pendingProps;i=e.memoizedState,a=i.element,Sf(t,e),Ws(e,s,null,n);var h=e.memoizedState;if(s=h.cache,Nl(e,se,s),s!==i.cache&&bf(e,[se],n,!0),Js(),s=h.element,i.isDehydrated)if(i={element:s,isDehydrated:!1,cache:h.cache},e.updateQueue.baseState=i,e.memoizedState=i,e.flags&256){e=$h(t,e,s,n);break t}else if(s!==a){a=en(Error(c(424)),e),_i(a),e=$h(t,e,s,n);break t}else for(he=$n(e.stateNode.containerInfo.firstChild),Te=e,xt=!0,Qe=null,On=!0,n=ha(e,null,s,n),e.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(bi(),s===a){e=Ga(t,e,n);break t}we(t,e,s,n)}e=e.child}return e;case 26:return Ks(t,e),t===null?(n=ep(e.type,null,e.pendingProps,null))?e.memoizedState=n:xt||(n=e.type,t=e.pendingProps,a=Qo(Fe.current).createElement(n),a[oe]=e,a[Me]=t,De(a,n,t),te(a),e.stateNode=a):e.memoizedState=ep(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return Wr(e),t===null&&xt&&(a=e.stateNode=Pm(e.type,e.pendingProps,Fe.current),Te=e,On=!0,he=$n(a.firstChild)),a=e.pendingProps.children,t!==null||xt?we(t,e,a,n):e.child=da(e,null,a,n),Ks(t,e),e.child;case 5:return t===null&&xt&&((i=a=he)&&(a=fy(a,e.type,e.pendingProps,On),a!==null?(e.stateNode=a,Te=e,he=$n(a.firstChild),On=!1,i=!0):i=!1),i||Ba(e)),Wr(e),i=e.type,s=e.pendingProps,h=t!==null?t.memoizedProps:null,a=s.children,nd(i,s)?a=null:h!==null&&nd(i,h)&&(e.flags|=32),e.memoizedState!==null&&(i=vt(t,e,Ut,null,null,n),du._currentValue=i),Ks(t,e),we(t,e,a,n),e.child;case 6:return t===null&&xt&&((t=n=he)&&(n=dy(n,e.pendingProps,On),n!==null?(e.stateNode=n,Te=e,he=null,t=!0):t=!1),t||Ba(e)),null;case 13:return Fh(t,e,n);case 4:return ea(e,e.stateNode.containerInfo),a=e.pendingProps,t===null?e.child=da(e,null,a,n):we(t,e,a,n),e.child;case 11:return Yh(t,e,e.type,e.pendingProps,n);case 7:return we(t,e,e.pendingProps,n),e.child;case 8:return we(t,e,e.pendingProps.children,n),e.child;case 12:return we(t,e,e.pendingProps.children,n),e.child;case 10:return a=e.pendingProps,Nl(e,e.type,a.value),we(t,e,a.children,n),e.child;case 9:return i=e.type._context,a=e.pendingProps.children,zi(e),i=je(i),a=a(i),e.flags|=1,we(t,e,a,n),e.child;case 14:return Xh(t,e,e.type,e.pendingProps,n);case 15:return Gh(t,e,e.type,e.pendingProps,n);case 19:return Wh(t,e,n);case 22:return Vh(t,e,n);case 24:return zi(e),a=je(se),t===null?(i=O(),i===null&&(i=Qt,s=xr(),i.pooledCache=s,s.refCount++,s!==null&&(i.pooledCacheLanes|=n),i=s),e.memoizedState={parent:a,cache:i},_f(e),Nl(e,se,i)):((t.lanes&n)!==0&&(Sf(t,e),Ws(e,null,null,n),Js()),i=t.memoizedState,s=e.memoizedState,i.parent!==a?(i={parent:a,cache:a},e.memoizedState=i,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=i),Nl(e,se,a)):(a=s.cache,Nl(e,se,a),a!==i.cache&&bf(e,[se],n,!0))),we(t,e,e.pendingProps.children,n),e.child;case 29:throw e.pendingProps}throw Error(c(156,e.tag))}var vf=nt(null),Ni=null,Va=null;function Nl(t,e,n){qt(vf,e._currentValue),e._currentValue=n}function Qa(t){t._currentValue=vf.current,Ft(vf)}function yf(t,e,n){for(;t!==null;){var a=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,a!==null&&(a.childLanes|=e)):a!==null&&(a.childLanes&e)!==e&&(a.childLanes|=e),t===n)break;t=t.return}}function bf(t,e,n,a){var i=t.child;for(i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){var h=i.child;s=s.firstContext;t:for(;s!==null;){var g=s;s=i;for(var _=0;_<e.length;_++)if(g.context===e[_]){s.lanes|=n,g=s.alternate,g!==null&&(g.lanes|=n),yf(s.return,n,t),a||(h=null);break t}s=g.next}}else if(i.tag===18){if(h=i.return,h===null)throw Error(c(341));h.lanes|=n,s=h.alternate,s!==null&&(s.lanes|=n),yf(h,n,t),h=null}else h=i.child;if(h!==null)h.return=i;else for(h=i;h!==null;){if(h===t){h=null;break}if(i=h.sibling,i!==null){i.return=h.return,h=i;break}h=h.return}i=h}}function $s(t,e,n,a){t=null;for(var i=e,s=!1;i!==null;){if(!s){if((i.flags&524288)!==0)s=!0;else if((i.flags&262144)!==0)break}if(i.tag===10){var h=i.alternate;if(h===null)throw Error(c(387));if(h=h.memoizedProps,h!==null){var g=i.type;Gt(i.pendingProps.value,h.value)||(t!==null?t.push(g):t=[g])}}else if(i===Pl.current){if(h=i.alternate,h===null)throw Error(c(387));h.memoizedState.memoizedState!==i.memoizedState.memoizedState&&(t!==null?t.push(du):t=[du])}i=i.return}t!==null&&bf(e,t,n,a),e.flags|=262144}function Do(t){for(t=t.firstContext;t!==null;){if(!Gt(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function zi(t){Ni=t,Va=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function je(t){return Ih(Ni,t)}function Mo(t,e){return Ni===null&&zi(t),Ih(t,e)}function Ih(t,e){var n=e._currentValue;if(e={context:e,memoizedValue:n,next:null},Va===null){if(t===null)throw Error(c(308));Va=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else Va=Va.next=e;return n}var zl=!1;function _f(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Sf(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function Rl(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function Ll(t,e,n){var a=t.updateQueue;if(a===null)return null;if(a=a.shared,(Wt&2)!==0){var i=a.pending;return i===null?e.next=e:(e.next=i.next,i.next=e),a.pending=e,e=mr(t),mo(t,null,n),e}return hr(t,a,e,n),mr(t)}function Fs(t,e,n){if(e=e.updateQueue,e!==null&&(e=e.shared,(n&4194176)!==0)){var a=e.lanes;a&=t.pendingLanes,n|=a,e.lanes=n,Uu(t,n)}}function Ef(t,e){var n=t.updateQueue,a=t.alternate;if(a!==null&&(a=a.updateQueue,n===a)){var i=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var h={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};s===null?i=s=h:s=s.next=h,n=n.next}while(n!==null);s===null?i=s=e:s=s.next=e}else i=s=e;n={baseState:a.baseState,firstBaseUpdate:i,lastBaseUpdate:s,shared:a.shared,callbacks:a.callbacks},t.updateQueue=n;return}t=n.lastBaseUpdate,t===null?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}var Af=!1;function Js(){if(Af){var t=wn;if(t!==null)throw t}}function Ws(t,e,n,a){Af=!1;var i=t.updateQueue;zl=!1;var s=i.firstBaseUpdate,h=i.lastBaseUpdate,g=i.shared.pending;if(g!==null){i.shared.pending=null;var _=g,T=_.next;_.next=null,h===null?s=T:h.next=T,h=_;var B=t.alternate;B!==null&&(B=B.updateQueue,g=B.lastBaseUpdate,g!==h&&(g===null?B.firstBaseUpdate=T:g.next=T,B.lastBaseUpdate=_))}if(s!==null){var Z=i.baseState;h=0,B=T=_=null,g=s;do{var N=g.lane&-536870913,U=N!==g.lane;if(U?(Nt&N)===N:(a&N)===N){N!==0&&N===wl&&(Af=!0),B!==null&&(B=B.next={lane:0,tag:g.tag,payload:g.payload,callback:null,next:null});t:{var rt=t,yt=g;N=e;var le=n;switch(yt.tag){case 1:if(rt=yt.payload,typeof rt=="function"){Z=rt.call(le,Z,N);break t}Z=rt;break t;case 3:rt.flags=rt.flags&-65537|128;case 0:if(rt=yt.payload,N=typeof rt=="function"?rt.call(le,Z,N):rt,N==null)break t;Z=St({},Z,N);break t;case 2:zl=!0}}N=g.callback,N!==null&&(t.flags|=64,U&&(t.flags|=8192),U=i.callbacks,U===null?i.callbacks=[N]:U.push(N))}else U={lane:N,tag:g.tag,payload:g.payload,callback:g.callback,next:null},B===null?(T=B=U,_=Z):B=B.next=U,h|=N;if(g=g.next,g===null){if(g=i.shared.pending,g===null)break;U=g,g=U.next,U.next=null,i.lastBaseUpdate=U,i.shared.pending=null}}while(!0);B===null&&(_=Z),i.baseState=_,i.firstBaseUpdate=T,i.lastBaseUpdate=B,s===null&&(i.shared.lanes=0),Bl|=h,t.lanes=h,t.memoizedState=Z}}function tm(t,e){if(typeof t!="function")throw Error(c(191,t));t.call(e)}function em(t,e){var n=t.callbacks;if(n!==null)for(t.callbacks=null,t=0;t<n.length;t++)tm(n[t],e)}function Ps(t,e){try{var n=e.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var i=a.next;n=i;do{if((n.tag&t)===t){a=void 0;var s=n.create,h=n.inst;a=s(),h.destroy=a}n=n.next}while(n!==i)}}catch(g){Xt(e,e.return,g)}}function jl(t,e,n){try{var a=e.updateQueue,i=a!==null?a.lastEffect:null;if(i!==null){var s=i.next;a=s;do{if((a.tag&t)===t){var h=a.inst,g=h.destroy;if(g!==void 0){h.destroy=void 0,i=e;var _=n;try{g()}catch(T){Xt(i,_,T)}}}a=a.next}while(a!==s)}}catch(T){Xt(e,e.return,T)}}function nm(t){var e=t.updateQueue;if(e!==null){var n=t.stateNode;try{em(e,n)}catch(a){Xt(t,t.return,a)}}}function am(t,e,n){n.props=Mi(t.type,t.memoizedProps),n.state=t.memoizedState;try{n.componentWillUnmount()}catch(a){Xt(t,e,a)}}function Ri(t,e){try{var n=t.ref;if(n!==null){var a=t.stateNode;switch(t.tag){case 26:case 27:case 5:var i=a;break;default:i=a}typeof n=="function"?t.refCleanup=n(i):n.current=i}}catch(s){Xt(t,e,s)}}function dn(t,e){var n=t.ref,a=t.refCleanup;if(n!==null)if(typeof a=="function")try{a()}catch(i){Xt(t,e,i)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(i){Xt(t,e,i)}else n.current=null}function lm(t){var e=t.type,n=t.memoizedProps,a=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":n.autoFocus&&a.focus();break t;case"img":n.src?a.src=n.src:n.srcSet&&(a.srcset=n.srcSet)}}catch(i){Xt(t,t.return,i)}}function im(t,e,n){try{var a=t.stateNode;ry(a,t.type,n,e),a[Me]=e}catch(i){Xt(t,t.return,i)}}function rm(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27||t.tag===4}function xf(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||rm(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==27&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Tf(t,e,n){var a=t.tag;if(a===5||a===6)t=t.stateNode,e?n.nodeType===8?n.parentNode.insertBefore(t,e):n.insertBefore(t,e):(n.nodeType===8?(e=n.parentNode,e.insertBefore(t,n)):(e=n,e.appendChild(t)),n=n._reactRootContainer,n!=null||e.onclick!==null||(e.onclick=Vo));else if(a!==4&&a!==27&&(t=t.child,t!==null))for(Tf(t,e,n),t=t.sibling;t!==null;)Tf(t,e,n),t=t.sibling}function No(t,e,n){var a=t.tag;if(a===5||a===6)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(a!==4&&a!==27&&(t=t.child,t!==null))for(No(t,e,n),t=t.sibling;t!==null;)No(t,e,n),t=t.sibling}var Za=!1,ne=!1,Of=!1,sm=typeof WeakSet=="function"?WeakSet:Set,_e=null,um=!1;function Uv(t,e){if(t=t.containerInfo,td=Wo,t=so(t),Cs(t)){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else t:{n=(n=t.ownerDocument)&&n.defaultView||window;var a=n.getSelection&&n.getSelection();if(a&&a.rangeCount!==0){n=a.anchorNode;var i=a.anchorOffset,s=a.focusNode;a=a.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break t}var h=0,g=-1,_=-1,T=0,B=0,Z=t,N=null;e:for(;;){for(var U;Z!==n||i!==0&&Z.nodeType!==3||(g=h+i),Z!==s||a!==0&&Z.nodeType!==3||(_=h+a),Z.nodeType===3&&(h+=Z.nodeValue.length),(U=Z.firstChild)!==null;)N=Z,Z=U;for(;;){if(Z===t)break e;if(N===n&&++T===i&&(g=h),N===s&&++B===a&&(_=h),(U=Z.nextSibling)!==null)break;Z=N,N=Z.parentNode}Z=U}n=g===-1||_===-1?null:{start:g,end:_}}else n=null}n=n||{start:0,end:0}}else n=null;for(ed={focusedElem:t,selectionRange:n},Wo=!1,_e=e;_e!==null;)if(e=_e,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,_e=t;else for(;_e!==null;){switch(e=_e,s=e.alternate,t=e.flags,e.tag){case 0:break;case 11:case 15:break;case 1:if((t&1024)!==0&&s!==null){t=void 0,n=e,i=s.memoizedProps,s=s.memoizedState,a=n.stateNode;try{var rt=Mi(n.type,i,n.elementType===n.type);t=a.getSnapshotBeforeUpdate(rt,s),a.__reactInternalSnapshotBeforeUpdate=t}catch(yt){Xt(n,n.return,yt)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,n=t.nodeType,n===9)id(t);else if(n===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":id(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(c(163))}if(t=e.sibling,t!==null){t.return=e.return,_e=t;break}_e=e.return}return rt=um,um=!1,rt}function om(t,e,n){var a=n.flags;switch(n.tag){case 0:case 11:case 15:$a(t,n),a&4&&Ps(5,n);break;case 1:if($a(t,n),a&4)if(t=n.stateNode,e===null)try{t.componentDidMount()}catch(g){Xt(n,n.return,g)}else{var i=Mi(n.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(i,e,t.__reactInternalSnapshotBeforeUpdate)}catch(g){Xt(n,n.return,g)}}a&64&&nm(n),a&512&&Ri(n,n.return);break;case 3:if($a(t,n),a&64&&(a=n.updateQueue,a!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{em(a,t)}catch(g){Xt(n,n.return,g)}}break;case 26:$a(t,n),a&512&&Ri(n,n.return);break;case 27:case 5:$a(t,n),e===null&&a&4&&lm(n),a&512&&Ri(n,n.return);break;case 12:$a(t,n);break;case 13:$a(t,n),a&4&&dm(t,n);break;case 22:if(i=n.memoizedState!==null||Za,!i){e=e!==null&&e.memoizedState!==null||ne;var s=Za,h=ne;Za=i,(ne=e)&&!h?Ul(t,n,(n.subtreeFlags&8772)!==0):$a(t,n),Za=s,ne=h}a&512&&(n.memoizedProps.mode==="manual"?Ri(n,n.return):dn(n,n.return));break;default:$a(t,n)}}function cm(t){var e=t.alternate;e!==null&&(t.alternate=null,cm(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&cl(e)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var fe=null,hn=!1;function Ka(t,e,n){for(n=n.child;n!==null;)fm(t,e,n),n=n.sibling}function fm(t,e,n){if(Be&&typeof Be.onCommitFiberUnmount=="function")try{Be.onCommitFiberUnmount(ti,n)}catch{}switch(n.tag){case 26:ne||dn(n,e),Ka(t,e,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:ne||dn(n,e);var a=fe,i=hn;for(fe=n.stateNode,Ka(t,e,n),n=n.stateNode,e=n.attributes;e.length;)n.removeAttributeNode(e[0]);cl(n),fe=a,hn=i;break;case 5:ne||dn(n,e);case 6:i=fe;var s=hn;if(fe=null,Ka(t,e,n),fe=i,hn=s,fe!==null)if(hn)try{t=fe,a=n.stateNode,t.nodeType===8?t.parentNode.removeChild(a):t.removeChild(a)}catch(h){Xt(n,e,h)}else try{fe.removeChild(n.stateNode)}catch(h){Xt(n,e,h)}break;case 18:fe!==null&&(hn?(e=fe,n=n.stateNode,e.nodeType===8?ld(e.parentNode,n):e.nodeType===1&&ld(e,n),gu(e)):ld(fe,n.stateNode));break;case 4:a=fe,i=hn,fe=n.stateNode.containerInfo,hn=!0,Ka(t,e,n),fe=a,hn=i;break;case 0:case 11:case 14:case 15:ne||jl(2,n,e),ne||jl(4,n,e),Ka(t,e,n);break;case 1:ne||(dn(n,e),a=n.stateNode,typeof a.componentWillUnmount=="function"&&am(n,e,a)),Ka(t,e,n);break;case 21:Ka(t,e,n);break;case 22:ne||dn(n,e),ne=(a=ne)||n.memoizedState!==null,Ka(t,e,n),ne=a;break;default:Ka(t,e,n)}}function dm(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{gu(t)}catch(n){Xt(e,e.return,n)}}function Hv(t){switch(t.tag){case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new sm),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new sm),e;default:throw Error(c(435,t.tag))}}function Cf(t,e){var n=Hv(t);e.forEach(function(a){var i=Jv.bind(null,t,a);n.has(a)||(n.add(a),a.then(i,i))})}function Dn(t,e){var n=e.deletions;if(n!==null)for(var a=0;a<n.length;a++){var i=n[a],s=t,h=e,g=h;t:for(;g!==null;){switch(g.tag){case 27:case 5:fe=g.stateNode,hn=!1;break t;case 3:fe=g.stateNode.containerInfo,hn=!0;break t;case 4:fe=g.stateNode.containerInfo,hn=!0;break t}g=g.return}if(fe===null)throw Error(c(160));fm(s,h,i),fe=null,hn=!1,s=i.alternate,s!==null&&(s.return=null),i.return=null}if(e.subtreeFlags&13878)for(e=e.child;e!==null;)hm(e,t),e=e.sibling}var Kn=null;function hm(t,e){var n=t.alternate,a=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:Dn(e,t),Mn(t),a&4&&(jl(3,t,t.return),Ps(3,t),jl(5,t,t.return));break;case 1:Dn(e,t),Mn(t),a&512&&(ne||n===null||dn(n,n.return)),a&64&&Za&&(t=t.updateQueue,t!==null&&(a=t.callbacks,a!==null&&(n=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=n===null?a:n.concat(a))));break;case 26:var i=Kn;if(Dn(e,t),Mn(t),a&512&&(ne||n===null||dn(n,n.return)),a&4){var s=n!==null?n.memoizedState:null;if(a=t.memoizedState,n===null)if(a===null)if(t.stateNode===null){t:{a=t.type,n=t.memoizedProps,i=i.ownerDocument||i;e:switch(a){case"title":s=i.getElementsByTagName("title")[0],(!s||s[ie]||s[oe]||s.namespaceURI==="http://www.w3.org/2000/svg"||s.hasAttribute("itemprop"))&&(s=i.createElement(a),i.head.insertBefore(s,i.querySelector("head > title"))),De(s,a,n),s[oe]=t,te(s),a=s;break t;case"link":var h=lp("link","href",i).get(a+(n.href||""));if(h){for(var g=0;g<h.length;g++)if(s=h[g],s.getAttribute("href")===(n.href==null?null:n.href)&&s.getAttribute("rel")===(n.rel==null?null:n.rel)&&s.getAttribute("title")===(n.title==null?null:n.title)&&s.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){h.splice(g,1);break e}}s=i.createElement(a),De(s,a,n),i.head.appendChild(s);break;case"meta":if(h=lp("meta","content",i).get(a+(n.content||""))){for(g=0;g<h.length;g++)if(s=h[g],s.getAttribute("content")===(n.content==null?null:""+n.content)&&s.getAttribute("name")===(n.name==null?null:n.name)&&s.getAttribute("property")===(n.property==null?null:n.property)&&s.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&s.getAttribute("charset")===(n.charSet==null?null:n.charSet)){h.splice(g,1);break e}}s=i.createElement(a),De(s,a,n),i.head.appendChild(s);break;default:throw Error(c(468,a))}s[oe]=t,te(s),a=s}t.stateNode=a}else ip(i,t.type,t.stateNode);else t.stateNode=ap(i,a,t.memoizedProps);else s!==a?(s===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):s.count--,a===null?ip(i,t.type,t.stateNode):ap(i,a,t.memoizedProps)):a===null&&t.stateNode!==null&&im(t,t.memoizedProps,n.memoizedProps)}break;case 27:if(a&4&&t.alternate===null){i=t.stateNode,s=t.memoizedProps;try{for(var _=i.firstChild;_;){var T=_.nextSibling,B=_.nodeName;_[ie]||B==="HEAD"||B==="BODY"||B==="SCRIPT"||B==="STYLE"||B==="LINK"&&_.rel.toLowerCase()==="stylesheet"||i.removeChild(_),_=T}for(var Z=t.type,N=i.attributes;N.length;)i.removeAttributeNode(N[0]);De(i,Z,s),i[oe]=t,i[Me]=s}catch(rt){Xt(t,t.return,rt)}}case 5:if(Dn(e,t),Mn(t),a&512&&(ne||n===null||dn(n,n.return)),t.flags&32){i=t.stateNode;try{sn(i,"")}catch(rt){Xt(t,t.return,rt)}}a&4&&t.stateNode!=null&&(i=t.memoizedProps,im(t,i,n!==null?n.memoizedProps:i)),a&1024&&(Of=!0);break;case 6:if(Dn(e,t),Mn(t),a&4){if(t.stateNode===null)throw Error(c(162));a=t.memoizedProps,n=t.stateNode;try{n.nodeValue=a}catch(rt){Xt(t,t.return,rt)}}break;case 3:if($o=null,i=Kn,Kn=Zo(e.containerInfo),Dn(e,t),Kn=i,Mn(t),a&4&&n!==null&&n.memoizedState.isDehydrated)try{gu(e.containerInfo)}catch(rt){Xt(t,t.return,rt)}Of&&(Of=!1,mm(t));break;case 4:a=Kn,Kn=Zo(t.stateNode.containerInfo),Dn(e,t),Mn(t),Kn=a;break;case 12:Dn(e,t),Mn(t);break;case 13:Dn(e,t),Mn(t),t.child.flags&8192&&t.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(Uf=ke()),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,Cf(t,a)));break;case 22:if(a&512&&(ne||n===null||dn(n,n.return)),_=t.memoizedState!==null,T=n!==null&&n.memoizedState!==null,B=Za,Z=ne,Za=B||_,ne=Z||T,Dn(e,t),ne=Z,Za=B,Mn(t),e=t.stateNode,e._current=t,e._visibility&=-3,e._visibility|=e._pendingVisibility&2,a&8192&&(e._visibility=_?e._visibility&-2:e._visibility|1,_&&(e=Za||ne,n===null||T||e||Mr(t)),t.memoizedProps===null||t.memoizedProps.mode!=="manual"))t:for(n=null,e=t;;){if(e.tag===5||e.tag===26||e.tag===27){if(n===null){T=n=e;try{if(i=T.stateNode,_)s=i.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none";else{h=T.stateNode,g=T.memoizedProps.style;var U=g!=null&&g.hasOwnProperty("display")?g.display:null;h.style.display=U==null||typeof U=="boolean"?"":(""+U).trim()}}catch(rt){Xt(T,T.return,rt)}}}else if(e.tag===6){if(n===null){T=e;try{T.stateNode.nodeValue=_?"":T.memoizedProps}catch(rt){Xt(T,T.return,rt)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;n===e&&(n=null),e=e.return}n===e&&(n=null),e.sibling.return=e.return,e=e.sibling}a&4&&(a=t.updateQueue,a!==null&&(n=a.retryQueue,n!==null&&(a.retryQueue=null,Cf(t,n))));break;case 19:Dn(e,t),Mn(t),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,Cf(t,a)));break;case 21:break;default:Dn(e,t),Mn(t)}}function Mn(t){var e=t.flags;if(e&2){try{if(t.tag!==27){t:{for(var n=t.return;n!==null;){if(rm(n)){var a=n;break t}n=n.return}throw Error(c(160))}switch(a.tag){case 27:var i=a.stateNode,s=xf(t);No(t,s,i);break;case 5:var h=a.stateNode;a.flags&32&&(sn(h,""),a.flags&=-33);var g=xf(t);No(t,g,h);break;case 3:case 4:var _=a.stateNode.containerInfo,T=xf(t);Tf(t,T,_);break;default:throw Error(c(161))}}}catch(B){Xt(t,t.return,B)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function mm(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;mm(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function $a(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)om(t,e.alternate,e),e=e.sibling}function Mr(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:jl(4,e,e.return),Mr(e);break;case 1:dn(e,e.return);var n=e.stateNode;typeof n.componentWillUnmount=="function"&&am(e,e.return,n),Mr(e);break;case 26:case 27:case 5:dn(e,e.return),Mr(e);break;case 22:dn(e,e.return),e.memoizedState===null&&Mr(e);break;default:Mr(e)}t=t.sibling}}function Ul(t,e,n){for(n=n&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var a=e.alternate,i=t,s=e,h=s.flags;switch(s.tag){case 0:case 11:case 15:Ul(i,s,n),Ps(4,s);break;case 1:if(Ul(i,s,n),a=s,i=a.stateNode,typeof i.componentDidMount=="function")try{i.componentDidMount()}catch(T){Xt(a,a.return,T)}if(a=s,i=a.updateQueue,i!==null){var g=a.stateNode;try{var _=i.shared.hiddenCallbacks;if(_!==null)for(i.shared.hiddenCallbacks=null,i=0;i<_.length;i++)tm(_[i],g)}catch(T){Xt(a,a.return,T)}}n&&h&64&&nm(s),Ri(s,s.return);break;case 26:case 27:case 5:Ul(i,s,n),n&&a===null&&h&4&&lm(s),Ri(s,s.return);break;case 12:Ul(i,s,n);break;case 13:Ul(i,s,n),n&&h&4&&dm(i,s);break;case 22:s.memoizedState===null&&Ul(i,s,n),Ri(s,s.return);break;default:Ul(i,s,n)}e=e.sibling}}function wf(t,e){var n=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==n&&(t!=null&&t.refCount++,n!=null&&pa(n))}function Df(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&pa(t))}function Hl(t,e,n,a){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)pm(t,e,n,a),e=e.sibling}function pm(t,e,n,a){var i=e.flags;switch(e.tag){case 0:case 11:case 15:Hl(t,e,n,a),i&2048&&Ps(9,e);break;case 3:Hl(t,e,n,a),i&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&pa(t)));break;case 12:if(i&2048){Hl(t,e,n,a),t=e.stateNode;try{var s=e.memoizedProps,h=s.id,g=s.onPostCommit;typeof g=="function"&&g(h,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(_){Xt(e,e.return,_)}}else Hl(t,e,n,a);break;case 23:break;case 22:s=e.stateNode,e.memoizedState!==null?s._visibility&4?Hl(t,e,n,a):Is(t,e):s._visibility&4?Hl(t,e,n,a):(s._visibility|=4,Nr(t,e,n,a,(e.subtreeFlags&10256)!==0)),i&2048&&wf(e.alternate,e);break;case 24:Hl(t,e,n,a),i&2048&&Df(e.alternate,e);break;default:Hl(t,e,n,a)}}function Nr(t,e,n,a,i){for(i=i&&(e.subtreeFlags&10256)!==0,e=e.child;e!==null;){var s=t,h=e,g=n,_=a,T=h.flags;switch(h.tag){case 0:case 11:case 15:Nr(s,h,g,_,i),Ps(8,h);break;case 23:break;case 22:var B=h.stateNode;h.memoizedState!==null?B._visibility&4?Nr(s,h,g,_,i):Is(s,h):(B._visibility|=4,Nr(s,h,g,_,i)),i&&T&2048&&wf(h.alternate,h);break;case 24:Nr(s,h,g,_,i),i&&T&2048&&Df(h.alternate,h);break;default:Nr(s,h,g,_,i)}e=e.sibling}}function Is(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var n=t,a=e,i=a.flags;switch(a.tag){case 22:Is(n,a),i&2048&&wf(a.alternate,a);break;case 24:Is(n,a),i&2048&&Df(a.alternate,a);break;default:Is(n,a)}e=e.sibling}}var tu=8192;function zr(t){if(t.subtreeFlags&tu)for(t=t.child;t!==null;)gm(t),t=t.sibling}function gm(t){switch(t.tag){case 26:zr(t),t.flags&tu&&t.memoizedState!==null&&Ty(Kn,t.memoizedState,t.memoizedProps);break;case 5:zr(t);break;case 3:case 4:var e=Kn;Kn=Zo(t.stateNode.containerInfo),zr(t),Kn=e;break;case 22:t.memoizedState===null&&(e=t.alternate,e!==null&&e.memoizedState!==null?(e=tu,tu=16777216,zr(t),tu=e):zr(t));break;default:zr(t)}}function vm(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function eu(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var a=e[n];_e=a,bm(a,t)}vm(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)ym(t),t=t.sibling}function ym(t){switch(t.tag){case 0:case 11:case 15:eu(t),t.flags&2048&&jl(9,t,t.return);break;case 3:eu(t);break;case 12:eu(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&4&&(t.return===null||t.return.tag!==13)?(e._visibility&=-5,zo(t)):eu(t);break;default:eu(t)}}function zo(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var a=e[n];_e=a,bm(a,t)}vm(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:jl(8,e,e.return),zo(e);break;case 22:n=e.stateNode,n._visibility&4&&(n._visibility&=-5,zo(e));break;default:zo(e)}t=t.sibling}}function bm(t,e){for(;_e!==null;){var n=_e;switch(n.tag){case 0:case 11:case 15:jl(8,n,e);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var a=n.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:pa(n.memoizedState.cache)}if(a=n.child,a!==null)a.return=n,_e=a;else t:for(n=t;_e!==null;){a=_e;var i=a.sibling,s=a.return;if(cm(a),a===n){_e=null;break t}if(i!==null){i.return=s,_e=i;break t}_e=s}}}function kv(t,e,n,a){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Nn(t,e,n,a){return new kv(t,e,n,a)}function Mf(t){return t=t.prototype,!(!t||!t.isReactComponent)}function kl(t,e){var n=t.alternate;return n===null?(n=Nn(t.tag,e,t.key,t.mode),n.elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.type=t.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=t.flags&31457280,n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n.refCleanup=t.refCleanup,n}function _m(t,e){t.flags&=31457282;var n=t.alternate;return n===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=n.childLanes,t.lanes=n.lanes,t.child=n.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=n.memoizedProps,t.memoizedState=n.memoizedState,t.updateQueue=n.updateQueue,t.type=n.type,e=n.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function Ro(t,e,n,a,i,s){var h=0;if(a=t,typeof t=="function")Mf(t)&&(h=1);else if(typeof t=="string")h=Ay(t,n,vn.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case S:return Li(n.children,i,s,e);case E:h=8,i|=24;break;case D:return t=Nn(12,n,e,i|2),t.elementType=D,t.lanes=s,t;case I:return t=Nn(13,n,e,i),t.elementType=I,t.lanes=s,t;case Q:return t=Nn(19,n,e,i),t.elementType=Q,t.lanes=s,t;case P:return Sm(n,i,s,e);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case j:case q:h=10;break t;case z:h=9;break t;case L:h=11;break t;case H:h=14;break t;case W:h=16,a=null;break t}h=29,n=Error(c(130,t===null?"null":typeof t,"")),a=null}return e=Nn(h,n,e,i),e.elementType=t,e.type=a,e.lanes=s,e}function Li(t,e,n,a){return t=Nn(7,t,a,e),t.lanes=n,t}function Sm(t,e,n,a){t=Nn(22,t,a,e),t.elementType=P,t.lanes=n;var i={_visibility:1,_pendingVisibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null,_current:null,detach:function(){var s=i._current;if(s===null)throw Error(c(456));if((i._pendingVisibility&2)===0){var h=qn(s,2);h!==null&&(i._pendingVisibility|=2,Ke(h,s,2))}},attach:function(){var s=i._current;if(s===null)throw Error(c(456));if((i._pendingVisibility&2)!==0){var h=qn(s,2);h!==null&&(i._pendingVisibility&=-3,Ke(h,s,2))}}};return t.stateNode=i,t}function Nf(t,e,n){return t=Nn(6,t,null,e),t.lanes=n,t}function zf(t,e,n){return e=Nn(4,t.children!==null?t.children:[],t.key,e),e.lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function Fa(t){t.flags|=4}function Em(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!rp(e)){if(e=Re.current,e!==null&&((Nt&4194176)===Nt?Cn!==null:(Nt&62914560)!==Nt&&(Nt&536870912)===0||e!==Cn))throw Ei=Xn,xl;t.flags|=8192}}function Lo(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?ul():536870912,t.lanes|=e,Lr|=e)}function nu(t,e){if(!xt)switch(t.tailMode){case"hidden":e=t.tail;for(var n=null;e!==null;)e.alternate!==null&&(n=e),e=e.sibling;n===null?t.tail=null:n.sibling=null;break;case"collapsed":n=t.tail;for(var a=null;n!==null;)n.alternate!==null&&(a=n),n=n.sibling;a===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:a.sibling=null}}function Jt(t){var e=t.alternate!==null&&t.alternate.child===t.child,n=0,a=0;if(e)for(var i=t.child;i!==null;)n|=i.lanes|i.childLanes,a|=i.subtreeFlags&31457280,a|=i.flags&31457280,i.return=t,i=i.sibling;else for(i=t.child;i!==null;)n|=i.lanes|i.childLanes,a|=i.subtreeFlags,a|=i.flags,i.return=t,i=i.sibling;return t.subtreeFlags|=a,t.childLanes=n,e}function Bv(t,e,n){var a=e.pendingProps;switch(Yn(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Jt(e),null;case 1:return Jt(e),null;case 3:return n=e.stateNode,a=null,t!==null&&(a=t.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),Qa(se),ln(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(t===null||t.child===null)&&(Al(e)?Fa(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,Qe!==null&&(qf(Qe),Qe=null))),Jt(e),null;case 26:return n=e.memoizedState,t===null?(Fa(e),n!==null?(Jt(e),Em(e,n)):(Jt(e),e.flags&=-16777217)):n?n!==t.memoizedState?(Fa(e),Jt(e),Em(e,n)):(Jt(e),e.flags&=-16777217):(t.memoizedProps!==a&&Fa(e),Jt(e),e.flags&=-16777217),null;case 27:Gi(e),n=Fe.current;var i=e.type;if(t!==null&&e.stateNode!=null)t.memoizedProps!==a&&Fa(e);else{if(!a){if(e.stateNode===null)throw Error(c(166));return Jt(e),null}t=vn.current,Al(e)?qa(e):(t=Pm(i,a,n),e.stateNode=t,Fa(e))}return Jt(e),null;case 5:if(Gi(e),n=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==a&&Fa(e);else{if(!a){if(e.stateNode===null)throw Error(c(166));return Jt(e),null}if(t=vn.current,Al(e))qa(e);else{switch(i=Qo(Fe.current),t){case 1:t=i.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:t=i.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":t=i.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":t=i.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":t=i.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild);break;case"select":t=typeof a.is=="string"?i.createElement("select",{is:a.is}):i.createElement("select"),a.multiple?t.multiple=!0:a.size&&(t.size=a.size);break;default:t=typeof a.is=="string"?i.createElement(n,{is:a.is}):i.createElement(n)}}t[oe]=e,t[Me]=a;t:for(i=e.child;i!==null;){if(i.tag===5||i.tag===6)t.appendChild(i.stateNode);else if(i.tag!==4&&i.tag!==27&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===e)break t;for(;i.sibling===null;){if(i.return===null||i.return===e)break t;i=i.return}i.sibling.return=i.return,i=i.sibling}e.stateNode=t;t:switch(De(t,n,a),n){case"button":case"input":case"select":case"textarea":t=!!a.autoFocus;break t;case"img":t=!0;break t;default:t=!1}t&&Fa(e)}}return Jt(e),e.flags&=-16777217,null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==a&&Fa(e);else{if(typeof a!="string"&&e.stateNode===null)throw Error(c(166));if(t=Fe.current,Al(e)){if(t=e.stateNode,n=e.memoizedProps,a=null,i=Te,i!==null)switch(i.tag){case 27:case 5:a=i.memoizedProps}t[oe]=e,t=!!(t.nodeValue===n||a!==null&&a.suppressHydrationWarning===!0||Zm(t.nodeValue,n)),t||Ba(e)}else t=Qo(t).createTextNode(a),t[oe]=e,e.stateNode=t}return Jt(e),null;case 13:if(a=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(i=Al(e),a!==null&&a.dehydrated!==null){if(t===null){if(!i)throw Error(c(318));if(i=e.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(c(317));i[oe]=e}else bi(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Jt(e),i=!1}else Qe!==null&&(qf(Qe),Qe=null),i=!0;if(!i)return e.flags&256?(Vn(e),e):(Vn(e),null)}if(Vn(e),(e.flags&128)!==0)return e.lanes=n,e;if(n=a!==null,t=t!==null&&t.memoizedState!==null,n){a=e.child,i=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(i=a.alternate.memoizedState.cachePool.pool);var s=null;a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(s=a.memoizedState.cachePool.pool),s!==i&&(a.flags|=2048)}return n!==t&&n&&(e.child.flags|=8192),Lo(e,e.updateQueue),Jt(e),null;case 4:return ln(),t===null&&Wf(e.stateNode.containerInfo),Jt(e),null;case 10:return Qa(e.type),Jt(e),null;case 19:if(Ft(re),i=e.memoizedState,i===null)return Jt(e),null;if(a=(e.flags&128)!==0,s=i.rendering,s===null)if(a)nu(i,!1);else{if(ae!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(s=Ar(t),s!==null){for(e.flags|=128,nu(i,!1),t=s.updateQueue,e.updateQueue=t,Lo(e,t),e.subtreeFlags=0,t=n,n=e.child;n!==null;)_m(n,t),n=n.sibling;return qt(re,re.current&1|2),e.child}t=t.sibling}i.tail!==null&&ke()>jo&&(e.flags|=128,a=!0,nu(i,!1),e.lanes=4194304)}else{if(!a)if(t=Ar(s),t!==null){if(e.flags|=128,a=!0,t=t.updateQueue,e.updateQueue=t,Lo(e,t),nu(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!xt)return Jt(e),null}else 2*ke()-i.renderingStartTime>jo&&n!==536870912&&(e.flags|=128,a=!0,nu(i,!1),e.lanes=4194304);i.isBackwards?(s.sibling=e.child,e.child=s):(t=i.last,t!==null?t.sibling=s:e.child=s,i.last=s)}return i.tail!==null?(e=i.tail,i.rendering=e,i.tail=e.sibling,i.renderingStartTime=ke(),e.sibling=null,t=re.current,qt(re,a?t&1|2:t&1),e):(Jt(e),null);case 22:case 23:return Vn(e),Er(),a=e.memoizedState!==null,t!==null?t.memoizedState!==null!==a&&(e.flags|=8192):a&&(e.flags|=8192),a?(n&536870912)!==0&&(e.flags&128)===0&&(Jt(e),e.subtreeFlags&6&&(e.flags|=8192)):Jt(e),n=e.updateQueue,n!==null&&Lo(e,n.retryQueue),n=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),a=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),a!==n&&(e.flags|=2048),t!==null&&Ft(A),null;case 24:return n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),Qa(se),Jt(e),null;case 25:return null}throw Error(c(156,e.tag))}function qv(t,e){switch(Yn(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return Qa(se),ln(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return Gi(e),null;case 13:if(Vn(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(c(340));bi()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return Ft(re),null;case 4:return ln(),null;case 10:return Qa(e.type),null;case 22:case 23:return Vn(e),Er(),t!==null&&Ft(A),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return Qa(se),null;case 25:return null;default:return null}}function Am(t,e){switch(Yn(e),e.tag){case 3:Qa(se),ln();break;case 26:case 27:case 5:Gi(e);break;case 4:ln();break;case 13:Vn(e);break;case 19:Ft(re);break;case 10:Qa(e.type);break;case 22:case 23:Vn(e),Er(),t!==null&&Ft(A);break;case 24:Qa(se)}}var Yv={getCacheForType:function(t){var e=je(se),n=e.data.get(t);return n===void 0&&(n=t(),e.data.set(t,n)),n}},Xv=typeof WeakMap=="function"?WeakMap:Map,Wt=0,Qt=null,Tt=null,Nt=0,Zt=0,mn=null,Ja=!1,Rr=!1,Rf=!1,Wa=0,ae=0,Bl=0,ji=0,Lf=0,zn=0,Lr=0,au=null,ba=null,jf=!1,Uf=0,jo=1/0,Uo=null,ql=null,Ho=!1,Ui=null,lu=0,Hf=0,kf=null,iu=0,Bf=null;function pn(){if((Wt&2)!==0&&Nt!==0)return Nt&-Nt;if(lt.T!==null){var t=wl;return t!==0?t:Kf()}return Da()}function xm(){zn===0&&(zn=(Nt&536870912)===0||xt?wa():536870912);var t=Re.current;return t!==null&&(t.flags|=32),zn}function Ke(t,e,n){(t===Qt&&Zt===2||t.cancelPendingCommit!==null)&&(jr(t,0),Pa(t,Nt,zn,!1)),li(t,n),((Wt&2)===0||t!==Qt)&&(t===Qt&&((Wt&2)===0&&(ji|=n),ae===4&&Pa(t,Nt,zn,!1)),_a(t))}function Tm(t,e,n){if((Wt&6)!==0)throw Error(c(327));var a=!n&&(e&60)===0&&(e&t.expiredLanes)===0||ai(t,e),i=a?Qv(t,e):Gf(t,e,!0),s=a;do{if(i===0){Rr&&!a&&Pa(t,e,0,!1);break}else if(i===6)Pa(t,e,0,!Ja);else{if(n=t.current.alternate,s&&!Gv(n)){i=Gf(t,e,!1),s=!1;continue}if(i===2){if(s=e,t.errorRecoveryDisabledLanes&s)var h=0;else h=t.pendingLanes&-536870913,h=h!==0?h:h&536870912?536870912:0;if(h!==0){e=h;t:{var g=t;i=au;var _=g.current.memoizedState.isDehydrated;if(_&&(jr(g,h).flags|=256),h=Gf(g,h,!1),h!==2){if(Rf&&!_){g.errorRecoveryDisabledLanes|=s,ji|=s,i=4;break t}s=ba,ba=i,s!==null&&qf(s)}i=h}if(s=!1,i!==2)continue}}if(i===1){jr(t,0),Pa(t,e,0,!0);break}t:{switch(a=t,i){case 0:case 1:throw Error(c(345));case 4:if((e&4194176)===e){Pa(a,e,zn,!Ja);break t}break;case 2:ba=null;break;case 3:case 5:break;default:throw Error(c(329))}if(a.finishedWork=n,a.finishedLanes=e,(e&62914560)===e&&(s=Uf+300-ke(),10<s)){if(Pa(a,e,zn,!Ja),Qi(a,0)!==0)break t;a.timeoutHandle=Fm(Om.bind(null,a,n,ba,Uo,jf,e,zn,ji,Lr,Ja,2,-0,0),s);break t}Om(a,n,ba,Uo,jf,e,zn,ji,Lr,Ja,0,-0,0)}}break}while(!0);_a(t)}function qf(t){ba===null?ba=t:ba.push.apply(ba,t)}function Om(t,e,n,a,i,s,h,g,_,T,B,Z,N){var U=e.subtreeFlags;if((U&8192||(U&16785408)===16785408)&&(fu={stylesheets:null,count:0,unsuspend:xy},gm(e),e=Oy(),e!==null)){t.cancelPendingCommit=e(Rm.bind(null,t,n,a,i,h,g,_,1,Z,N)),Pa(t,s,h,!T);return}Rm(t,n,a,i,h,g,_,B,Z,N)}function Gv(t){for(var e=t;;){var n=e.tag;if((n===0||n===11||n===15)&&e.flags&16384&&(n=e.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var a=0;a<n.length;a++){var i=n[a],s=i.getSnapshot;i=i.value;try{if(!Gt(s(),i))return!1}catch{return!1}}if(n=e.child,e.subtreeFlags&16384&&n!==null)n.return=e,e=n;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function Pa(t,e,n,a){e&=~Lf,e&=~ji,t.suspendedLanes|=e,t.pingedLanes&=~e,a&&(t.warmLanes|=e),a=t.expirationTimes;for(var i=e;0<i;){var s=31-qe(i),h=1<<s;a[s]=-1,i&=~h}n!==0&&ju(t,n,e)}function ko(){return(Wt&6)===0?(ru(0),!1):!0}function Yf(){if(Tt!==null){if(Zt===0)var t=Tt.return;else t=Tt,Va=Ni=null,Oe(t),Tl=null,Ai=0,t=Tt;for(;t!==null;)Am(t.alternate,t),t=t.return;Tt=null}}function jr(t,e){t.finishedWork=null,t.finishedLanes=0;var n=t.timeoutHandle;n!==-1&&(t.timeoutHandle=-1,uy(n)),n=t.cancelPendingCommit,n!==null&&(t.cancelPendingCommit=null,n()),Yf(),Qt=t,Tt=n=kl(t.current,null),Nt=e,Zt=0,mn=null,Ja=!1,Rr=ai(t,e),Rf=!1,Lr=zn=Lf=ji=Bl=ae=0,ba=au=null,jf=!1,(e&8)!==0&&(e|=e&32);var a=t.entangledLanes;if(a!==0)for(t=t.entanglements,a&=e;0<a;){var i=31-qe(a),s=1<<i;e|=t[i],a&=~s}return Wa=e,dr(),n}function Cm(t,e){V=null,lt.H=ya,e===Si?(e=bo(),Zt=3):e===xl?(e=bo(),Zt=4):Zt=e===qh?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,mn=e,Tt===null&&(ae=1,wo(t,en(e,t.current)))}function wm(){var t=lt.H;return lt.H=ya,t===null?ya:t}function Dm(){var t=lt.A;return lt.A=Yv,t}function Xf(){ae=4,Ja||(Nt&4194176)!==Nt&&Re.current!==null||(Rr=!0),(Bl&134217727)===0&&(ji&134217727)===0||Qt===null||Pa(Qt,Nt,zn,!1)}function Gf(t,e,n){var a=Wt;Wt|=2;var i=wm(),s=Dm();(Qt!==t||Nt!==e)&&(Uo=null,jr(t,e)),e=!1;var h=ae;t:do try{if(Zt!==0&&Tt!==null){var g=Tt,_=mn;switch(Zt){case 8:Yf(),h=6;break t;case 3:case 2:case 6:Re.current===null&&(e=!0);var T=Zt;if(Zt=0,mn=null,Ur(t,g,_,T),n&&Rr){h=0;break t}break;default:T=Zt,Zt=0,mn=null,Ur(t,g,_,T)}}Vv(),h=ae;break}catch(B){Cm(t,B)}while(!0);return e&&t.shellSuspendCounter++,Va=Ni=null,Wt=a,lt.H=i,lt.A=s,Tt===null&&(Qt=null,Nt=0,dr()),h}function Vv(){for(;Tt!==null;)Mm(Tt)}function Qv(t,e){var n=Wt;Wt|=2;var a=wm(),i=Dm();Qt!==t||Nt!==e?(Uo=null,jo=ke()+500,jr(t,e)):Rr=ai(t,e);t:do try{if(Zt!==0&&Tt!==null){e=Tt;var s=mn;e:switch(Zt){case 1:Zt=0,mn=null,Ur(t,e,s,1);break;case 2:if(vo(s)){Zt=0,mn=null,Nm(e);break}e=function(){Zt===2&&Qt===t&&(Zt=7),_a(t)},s.then(e,e);break t;case 3:Zt=7;break t;case 4:Zt=5;break t;case 7:vo(s)?(Zt=0,mn=null,Nm(e)):(Zt=0,mn=null,Ur(t,e,s,7));break;case 5:var h=null;switch(Tt.tag){case 26:h=Tt.memoizedState;case 5:case 27:var g=Tt;if(!h||rp(h)){Zt=0,mn=null;var _=g.sibling;if(_!==null)Tt=_;else{var T=g.return;T!==null?(Tt=T,Bo(T)):Tt=null}break e}}Zt=0,mn=null,Ur(t,e,s,5);break;case 6:Zt=0,mn=null,Ur(t,e,s,6);break;case 8:Yf(),ae=6;break t;default:throw Error(c(462))}}Zv();break}catch(B){Cm(t,B)}while(!0);return Va=Ni=null,lt.H=a,lt.A=i,Wt=n,Tt!==null?0:(Qt=null,Nt=0,dr(),ae)}function Zv(){for(;Tt!==null&&!Cc();)Mm(Tt)}function Mm(t){var e=Ph(t.alternate,t,Wa);t.memoizedProps=t.pendingProps,e===null?Bo(t):Tt=e}function Nm(t){var e=t,n=e.alternate;switch(e.tag){case 15:case 0:e=Zh(n,e,e.pendingProps,e.type,void 0,Nt);break;case 11:e=Zh(n,e,e.pendingProps,e.type.render,e.ref,Nt);break;case 5:Oe(e);default:Am(n,e),e=Tt=_m(e,Wa),e=Ph(n,e,Wa)}t.memoizedProps=t.pendingProps,e===null?Bo(t):Tt=e}function Ur(t,e,n,a){Va=Ni=null,Oe(e),Tl=null,Ai=0;var i=e.return;try{if(Lv(t,i,e,n,Nt)){ae=1,wo(t,en(n,t.current)),Tt=null;return}}catch(s){if(i!==null)throw Tt=i,s;ae=1,wo(t,en(n,t.current)),Tt=null;return}e.flags&32768?(xt||a===1?t=!0:Rr||(Nt&536870912)!==0?t=!1:(Ja=t=!0,(a===2||a===3||a===6)&&(a=Re.current,a!==null&&a.tag===13&&(a.flags|=16384))),zm(e,t)):Bo(e)}function Bo(t){var e=t;do{if((e.flags&32768)!==0){zm(e,Ja);return}t=e.return;var n=Bv(e.alternate,e,Wa);if(n!==null){Tt=n;return}if(e=e.sibling,e!==null){Tt=e;return}Tt=e=t}while(e!==null);ae===0&&(ae=5)}function zm(t,e){do{var n=qv(t.alternate,t);if(n!==null){n.flags&=32767,Tt=n;return}if(n=t.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!e&&(t=t.sibling,t!==null)){Tt=t;return}Tt=t=n}while(t!==null);ae=6,Tt=null}function Rm(t,e,n,a,i,s,h,g,_,T){var B=lt.T,Z=_t.p;try{_t.p=2,lt.T=null,Kv(t,e,n,a,Z,i,s,h,g,_,T)}finally{lt.T=B,_t.p=Z}}function Kv(t,e,n,a,i,s,h,g){do Hr();while(Ui!==null);if((Wt&6)!==0)throw Error(c(327));var _=t.finishedWork;if(a=t.finishedLanes,_===null)return null;if(t.finishedWork=null,t.finishedLanes=0,_===t.current)throw Error(c(177));t.callbackNode=null,t.callbackPriority=0,t.cancelPendingCommit=null;var T=_.lanes|_.childLanes;if(T|=zs,Rc(t,a,T,s,h,g),t===Qt&&(Tt=Qt=null,Nt=0),(_.subtreeFlags&10256)===0&&(_.flags&10256)===0||Ho||(Ho=!0,Hf=T,kf=n,Wv(Ln,function(){return Hr(),null})),n=(_.flags&15990)!==0,(_.subtreeFlags&15990)!==0||n?(n=lt.T,lt.T=null,s=_t.p,_t.p=2,h=Wt,Wt|=4,Uv(t,_),hm(_,t),Zc(ed,t.containerInfo),Wo=!!td,ed=td=null,t.current=_,om(t,_.alternate,_),wc(),Wt=h,_t.p=s,lt.T=n):t.current=_,Ho?(Ho=!1,Ui=t,lu=a):Lm(t,T),T=t.pendingLanes,T===0&&(ql=null),Mc(_.stateNode),_a(t),e!==null)for(i=t.onRecoverableError,_=0;_<e.length;_++)T=e[_],i(T.value,{componentStack:T.stack});return(lu&3)!==0&&Hr(),T=t.pendingLanes,(a&4194218)!==0&&(T&42)!==0?t===Bf?iu++:(iu=0,Bf=t):iu=0,ru(0),null}function Lm(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,pa(e)))}function Hr(){if(Ui!==null){var t=Ui,e=Hf;Hf=0;var n=Zi(lu),a=lt.T,i=_t.p;try{if(_t.p=32>n?32:n,lt.T=null,Ui===null)var s=!1;else{n=kf,kf=null;var h=Ui,g=lu;if(Ui=null,lu=0,(Wt&6)!==0)throw Error(c(331));var _=Wt;if(Wt|=4,ym(h.current),pm(h,h.current,g,n),Wt=_,ru(0,!1),Be&&typeof Be.onPostCommitFiberRoot=="function")try{Be.onPostCommitFiberRoot(ti,h)}catch{}s=!0}return s}finally{_t.p=i,lt.T=a,Lm(t,e)}}return!1}function jm(t,e,n){e=en(n,e),e=sf(t.stateNode,e,2),t=Ll(t,e,2),t!==null&&(li(t,2),_a(t))}function Xt(t,e,n){if(t.tag===3)jm(t,t,n);else for(;e!==null;){if(e.tag===3){jm(e,t,n);break}else if(e.tag===1){var a=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(ql===null||!ql.has(a))){t=en(n,t),n=kh(2),a=Ll(e,n,2),a!==null&&(Bh(n,a,e,t),li(a,2),_a(a));break}}e=e.return}}function Vf(t,e,n){var a=t.pingCache;if(a===null){a=t.pingCache=new Xv;var i=new Set;a.set(e,i)}else i=a.get(e),i===void 0&&(i=new Set,a.set(e,i));i.has(n)||(Rf=!0,i.add(n),t=$v.bind(null,t,e,n),e.then(t,t))}function $v(t,e,n){var a=t.pingCache;a!==null&&a.delete(e),t.pingedLanes|=t.suspendedLanes&n,t.warmLanes&=~n,Qt===t&&(Nt&n)===n&&(ae===4||ae===3&&(Nt&62914560)===Nt&&300>ke()-Uf?(Wt&2)===0&&jr(t,0):Lf|=n,Lr===Nt&&(Lr=0)),_a(t)}function Um(t,e){e===0&&(e=ul()),t=qn(t,e),t!==null&&(li(t,e),_a(t))}function Fv(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),Um(t,n)}function Jv(t,e){var n=0;switch(t.tag){case 13:var a=t.stateNode,i=t.memoizedState;i!==null&&(n=i.retryLane);break;case 19:a=t.stateNode;break;case 22:a=t.stateNode._retryCache;break;default:throw Error(c(314))}a!==null&&a.delete(e),Um(t,n)}function Wv(t,e){return Ir(t,e)}var qo=null,kr=null,Qf=!1,Yo=!1,Zf=!1,Hi=0;function _a(t){t!==kr&&t.next===null&&(kr===null?qo=kr=t:kr=kr.next=t),Yo=!0,Qf||(Qf=!0,Iv(Pv))}function ru(t,e){if(!Zf&&Yo){Zf=!0;do for(var n=!1,a=qo;a!==null;){if(t!==0){var i=a.pendingLanes;if(i===0)var s=0;else{var h=a.suspendedLanes,g=a.pingedLanes;s=(1<<31-qe(42|t)+1)-1,s&=i&~(h&~g),s=s&201326677?s&201326677|1:s?s|2:0}s!==0&&(n=!0,Bm(a,s))}else s=Nt,s=Qi(a,a===Qt?s:0),(s&3)===0||ai(a,s)||(n=!0,Bm(a,s));a=a.next}while(n);Zf=!1}}function Pv(){Yo=Qf=!1;var t=0;Hi!==0&&(sy()&&(t=Hi),Hi=0);for(var e=ke(),n=null,a=qo;a!==null;){var i=a.next,s=Hm(a,e);s===0?(a.next=null,n===null?qo=i:n.next=i,i===null&&(kr=n)):(n=a,(t!==0||(s&3)!==0)&&(Yo=!0)),a=i}ru(t)}function Hm(t,e){for(var n=t.suspendedLanes,a=t.pingedLanes,i=t.expirationTimes,s=t.pendingLanes&-62914561;0<s;){var h=31-qe(s),g=1<<h,_=i[h];_===-1?((g&n)===0||(g&a)!==0)&&(i[h]=zc(g,e)):_<=e&&(t.expiredLanes|=g),s&=~g}if(e=Qt,n=Nt,n=Qi(t,t===e?n:0),a=t.callbackNode,n===0||t===e&&Zt===2||t.cancelPendingCommit!==null)return a!==null&&a!==null&&ts(a),t.callbackNode=null,t.callbackPriority=0;if((n&3)===0||ai(t,n)){if(e=n&-n,e===t.callbackPriority)return e;switch(a!==null&&ts(a),Zi(n)){case 2:case 8:n=rl;break;case 32:n=Ln;break;case 268435456:n=Il;break;default:n=Ln}return a=km.bind(null,t),n=Ir(n,a),t.callbackPriority=e,t.callbackNode=n,e}return a!==null&&a!==null&&ts(a),t.callbackPriority=2,t.callbackNode=null,2}function km(t,e){var n=t.callbackNode;if(Hr()&&t.callbackNode!==n)return null;var a=Nt;return a=Qi(t,t===Qt?a:0),a===0?null:(Tm(t,a,e),Hm(t,ke()),t.callbackNode!=null&&t.callbackNode===n?km.bind(null,t):null)}function Bm(t,e){if(Hr())return null;Tm(t,e,!0)}function Iv(t){oy(function(){(Wt&6)!==0?Ir(es,t):t()})}function Kf(){return Hi===0&&(Hi=wa()),Hi}function qm(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:si(""+t)}function Ym(t,e){var n=e.ownerDocument.createElement("input");return n.name=e.name,n.value=e.value,t.id&&n.setAttribute("form",t.id),e.parentNode.insertBefore(n,e),t=new FormData(t),n.parentNode.removeChild(n),t}function ty(t,e,n,a,i){if(e==="submit"&&n&&n.stateNode===i){var s=qm((i[Me]||null).action),h=a.submitter;h&&(e=(e=h[Me]||null)?qm(e.formAction):h.getAttribute("formAction"),e!==null&&(s=e,h=null));var g=new hi("action","action",null,a,i);t.push({event:g,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(Hi!==0){var _=h?Ym(i,h):new FormData(i);ef(n,{pending:!0,data:_,method:i.method,action:s},null,_)}}else typeof s=="function"&&(g.preventDefault(),_=h?Ym(i,h):new FormData(i),ef(n,{pending:!0,data:_,method:i.method,action:s},s,_))},currentTarget:i}]})}}for(var $f=0;$f<Ns.length;$f++){var Ff=Ns[$f],ey=Ff.toLowerCase(),ny=Ff[0].toUpperCase()+Ff.slice(1);Ie(ey,"on"+ny)}Ie(uo,"onAnimationEnd"),Ie(Ds,"onAnimationIteration"),Ie(Ms,"onAnimationStart"),Ie("dblclick","onDoubleClick"),Ie("focusin","onFocus"),Ie("focusout","onBlur"),Ie(oo,"onTransitionRun"),Ie(co,"onTransitionStart"),Ie($c,"onTransitionCancel"),Ie(fo,"onTransitionEnd"),ra("onMouseEnter",["mouseout","mouseover"]),ra("onMouseLeave",["mouseout","mouseover"]),ra("onPointerEnter",["pointerout","pointerover"]),ra("onPointerLeave",["pointerout","pointerover"]),jn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),jn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),jn("onBeforeInput",["compositionend","keypress","textInput","paste"]),jn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),jn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),jn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var su="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(" "),ay=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(su));function Xm(t,e){e=(e&4)!==0;for(var n=0;n<t.length;n++){var a=t[n],i=a.event;a=a.listeners;t:{var s=void 0;if(e)for(var h=a.length-1;0<=h;h--){var g=a[h],_=g.instance,T=g.currentTarget;if(g=g.listener,_!==s&&i.isPropagationStopped())break t;s=g,i.currentTarget=T;try{s(i)}catch(B){Co(B)}i.currentTarget=null,s=_}else for(h=0;h<a.length;h++){if(g=a[h],_=g.instance,T=g.currentTarget,g=g.listener,_!==s&&i.isPropagationStopped())break t;s=g,i.currentTarget=T;try{s(i)}catch(B){Co(B)}i.currentTarget=null,s=_}}}}function Mt(t,e){var n=e[ia];n===void 0&&(n=e[ia]=new Set);var a=t+"__bubble";n.has(a)||(Gm(e,t,2,!1),n.add(a))}function Jf(t,e,n){var a=0;e&&(a|=4),Gm(n,t,a,e)}var Xo="_reactListening"+Math.random().toString(36).slice(2);function Wf(t){if(!t[Xo]){t[Xo]=!0,Na.forEach(function(n){n!=="selectionchange"&&(ay.has(n)||Jf(n,!1,t),Jf(n,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[Xo]||(e[Xo]=!0,Jf("selectionchange",!1,e))}}function Gm(t,e,n,a){switch(dp(e)){case 2:var i=Dy;break;case 8:i=My;break;default:i=cd}n=i.bind(null,e,n,t),i=void 0,!Wi||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(i=!0),a?i!==void 0?t.addEventListener(e,n,{capture:!0,passive:i}):t.addEventListener(e,n,!0):i!==void 0?t.addEventListener(e,n,{passive:i}):t.addEventListener(e,n,!1)}function Pf(t,e,n,a,i){var s=a;if((e&1)===0&&(e&2)===0&&a!==null)t:for(;;){if(a===null)return;var h=a.tag;if(h===3||h===4){var g=a.stateNode.containerInfo;if(g===i||g.nodeType===8&&g.parentNode===i)break;if(h===4)for(h=a.return;h!==null;){var _=h.tag;if((_===3||_===4)&&(_=h.stateNode.containerInfo,_===i||_.nodeType===8&&_.parentNode===i))return;h=h.return}for(;g!==null;){if(h=Je(g),h===null)return;if(_=h.tag,_===5||_===6||_===26||_===27){a=s=h;continue t}g=g.parentNode}}a=a.return}La(function(){var T=s,B=ui(n),Z=[];t:{var N=ho.get(t);if(N!==void 0){var U=hi,rt=t;switch(t){case"keypress":if(Ii(n)===0)break t;case"keydown":case"keyup":U=Ua;break;case"focusin":rt="focus",U=lr;break;case"focusout":rt="blur",U=lr;break;case"beforeblur":case"afterblur":U=lr;break;case"click":if(n.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":U=ps;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":U=qu;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":U=kc;break;case uo:case Ds:case Ms:U=Xu;break;case fo:U=qc;break;case"scroll":case"scrollend":U=ms;break;case"wheel":U=Ku;break;case"copy":case"cut":case"paste":U=jc;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":U=Qu;break;case"toggle":case"beforetoggle":U=Xc}var yt=(e&4)!==0,le=!yt&&(t==="scroll"||t==="scrollend"),C=yt?N!==null?N+"Capture":null:N;yt=[];for(var x=T,M;x!==null;){var Y=x;if(M=Y.stateNode,Y=Y.tag,Y!==5&&Y!==26&&Y!==27||M===null||C===null||(Y=oi(x,C),Y!=null&&yt.push(uu(x,Y,M))),le)break;x=x.return}0<yt.length&&(N=new U(N,rt,null,n,B),Z.push({event:N,listeners:yt}))}}if((e&7)===0){t:{if(N=t==="mouseover"||t==="pointerover",U=t==="mouseout"||t==="pointerout",N&&n!==za&&(rt=n.relatedTarget||n.fromElement)&&(Je(rt)||rt[ol]))break t;if((U||N)&&(N=B.window===B?B:(N=B.ownerDocument)?N.defaultView||N.parentWindow:window,U?(rt=n.relatedTarget||n.toElement,U=T,rt=rt?Je(rt):null,rt!==null&&(le=mt(rt),yt=rt.tag,rt!==le||yt!==5&&yt!==27&&yt!==6)&&(rt=null)):(U=null,rt=T),U!==rt)){if(yt=ps,Y="onMouseLeave",C="onMouseEnter",x="mouse",(t==="pointerout"||t==="pointerover")&&(yt=Qu,Y="onPointerLeave",C="onPointerEnter",x="pointer"),le=U==null?N:yn(U),M=rt==null?N:yn(rt),N=new yt(Y,x+"leave",U,n,B),N.target=le,N.relatedTarget=M,Y=null,Je(B)===T&&(yt=new yt(C,x+"enter",rt,n,B),yt.target=M,yt.relatedTarget=le,Y=yt),le=Y,U&&rt)e:{for(yt=U,C=rt,x=0,M=yt;M;M=Br(M))x++;for(M=0,Y=C;Y;Y=Br(Y))M++;for(;0<x-M;)yt=Br(yt),x--;for(;0<M-x;)C=Br(C),M--;for(;x--;){if(yt===C||C!==null&&yt===C.alternate)break e;yt=Br(yt),C=Br(C)}yt=null}else yt=null;U!==null&&Vm(Z,N,U,yt,!1),rt!==null&&le!==null&&Vm(Z,le,rt,yt,!0)}}t:{if(N=T?yn(T):window,U=N.nodeName&&N.nodeName.toLowerCase(),U==="select"||U==="input"&&N.type==="file")var at=vi;else if(_s(N))if(to)at=io;else{at=lo;var At=ao}else U=N.nodeName,!U||U.toLowerCase()!=="input"||N.type!=="checkbox"&&N.type!=="radio"?T&&ds(T.elementType)&&(at=vi):at=or;if(at&&(at=at(t,T))){Ss(Z,at,n,B);break t}At&&At(t,N,T),t==="focusout"&&T&&N.type==="number"&&T.memoizedProps.value!=null&&fl(N,"number",N.value)}switch(At=T?yn(T):window,t){case"focusin":(_s(At)||At.contentEditable==="true")&&(pl=At,ws=T,gl=null);break;case"focusout":gl=ws=pl=null;break;case"mousedown":cr=!0;break;case"contextmenu":case"mouseup":case"dragend":cr=!1,fr(Z,n,B);break;case"selectionchange":if(Kc)break;case"keydown":case"keyup":fr(Z,n,B)}var ot;if(kn)t:{switch(t){case"compositionstart":var ht="onCompositionStart";break t;case"compositionend":ht="onCompositionEnd";break t;case"compositionupdate":ht="onCompositionUpdate";break t}ht=void 0}else hl?Pu(t,n)&&(ht="onCompositionEnd"):t==="keydown"&&n.keyCode===229&&(ht="onCompositionStart");ht&&(Fu&&n.locale!=="ko"&&(hl||ht!=="onCompositionStart"?ht==="onCompositionEnd"&&hl&&(ot=fi()):(un=B,ci="value"in un?un.value:un.textContent,hl=!0)),At=Go(T,ht),0<At.length&&(ht=new vs(ht,t,null,n,B),Z.push({event:ht,listeners:At}),ot?ht.data=ot:(ot=Iu(n),ot!==null&&(ht.data=ot)))),(ot=sr?Gc(t,n):Vc(t,n))&&(ht=Go(T,"onBeforeInput"),0<ht.length&&(At=new vs("onBeforeInput","beforeinput",null,n,B),Z.push({event:At,listeners:ht}),At.data=ot)),ty(Z,t,T,n,B)}Xm(Z,e)})}function uu(t,e,n){return{instance:t,listener:e,currentTarget:n}}function Go(t,e){for(var n=e+"Capture",a=[];t!==null;){var i=t,s=i.stateNode;i=i.tag,i!==5&&i!==26&&i!==27||s===null||(i=oi(t,n),i!=null&&a.unshift(uu(t,i,s)),i=oi(t,e),i!=null&&a.push(uu(t,i,s))),t=t.return}return a}function Br(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function Vm(t,e,n,a,i){for(var s=e._reactName,h=[];n!==null&&n!==a;){var g=n,_=g.alternate,T=g.stateNode;if(g=g.tag,_!==null&&_===a)break;g!==5&&g!==26&&g!==27||T===null||(_=T,i?(T=oi(n,s),T!=null&&h.unshift(uu(n,T,_))):i||(T=oi(n,s),T!=null&&h.push(uu(n,T,_)))),n=n.return}h.length!==0&&t.push({event:e,listeners:h})}var ly=/\r\n?/g,iy=/\u0000|\uFFFD/g;function Qm(t){return(typeof t=="string"?t:""+t).replace(ly,`
`).replace(iy,"")}function Zm(t,e){return e=Qm(e),Qm(t)===e}function Vo(){}function kt(t,e,n,a,i,s){switch(n){case"children":typeof a=="string"?e==="body"||e==="textarea"&&a===""||sn(t,a):(typeof a=="number"||typeof a=="bigint")&&e!=="body"&&sn(t,""+a);break;case"className":ri(t,"class",a);break;case"tabIndex":ri(t,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":ri(t,n,a);break;case"style":En(t,a,s);break;case"data":if(e!=="object"){ri(t,"data",a);break}case"src":case"href":if(a===""&&(e!=="a"||n!=="href")){t.removeAttribute(n);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(n);break}a=si(""+a),t.setAttribute(n,a);break;case"action":case"formAction":if(typeof a=="function"){t.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof s=="function"&&(n==="formAction"?(e!=="input"&&kt(t,e,"name",i.name,i,null),kt(t,e,"formEncType",i.formEncType,i,null),kt(t,e,"formMethod",i.formMethod,i,null),kt(t,e,"formTarget",i.formTarget,i,null)):(kt(t,e,"encType",i.encType,i,null),kt(t,e,"method",i.method,i,null),kt(t,e,"target",i.target,i,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(n);break}a=si(""+a),t.setAttribute(n,a);break;case"onClick":a!=null&&(t.onclick=Vo);break;case"onScroll":a!=null&&Mt("scroll",t);break;case"onScrollEnd":a!=null&&Mt("scrollend",t);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(c(61));if(n=a.__html,n!=null){if(i.children!=null)throw Error(c(60));t.innerHTML=n}}break;case"multiple":t.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":t.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){t.removeAttribute("xlink:href");break}n=si(""+a),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(n,""+a):t.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(n,""):t.removeAttribute(n);break;case"capture":case"download":a===!0?t.setAttribute(n,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(n,a):t.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?t.setAttribute(n,a):t.removeAttribute(n);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?t.removeAttribute(n):t.setAttribute(n,a);break;case"popover":Mt("beforetoggle",t),Mt("toggle",t),ii(t,"popover",a);break;case"xlinkActuate":_n(t,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":_n(t,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":_n(t,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":_n(t,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":_n(t,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":_n(t,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":_n(t,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":_n(t,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":_n(t,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":ii(t,"is",a);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=oa.get(n)||n,ii(t,n,a))}}function If(t,e,n,a,i,s){switch(n){case"style":En(t,a,s);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(c(61));if(n=a.__html,n!=null){if(i.children!=null)throw Error(c(60));t.innerHTML=n}}break;case"children":typeof a=="string"?sn(t,a):(typeof a=="number"||typeof a=="bigint")&&sn(t,""+a);break;case"onScroll":a!=null&&Mt("scroll",t);break;case"onScrollEnd":a!=null&&Mt("scrollend",t);break;case"onClick":a!=null&&(t.onclick=Vo);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!ls.hasOwnProperty(n))t:{if(n[0]==="o"&&n[1]==="n"&&(i=n.endsWith("Capture"),e=n.slice(2,i?n.length-7:void 0),s=t[Me]||null,s=s!=null?s[n]:null,typeof s=="function"&&t.removeEventListener(e,s,i),typeof a=="function")){typeof s!="function"&&s!==null&&(n in t?t[n]=null:t.hasAttribute(n)&&t.removeAttribute(n)),t.addEventListener(e,a,i);break t}n in t?t[n]=a:a===!0?t.setAttribute(n,""):ii(t,n,a)}}}function De(t,e,n){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Mt("error",t),Mt("load",t);var a=!1,i=!1,s;for(s in n)if(n.hasOwnProperty(s)){var h=n[s];if(h!=null)switch(s){case"src":a=!0;break;case"srcSet":i=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(c(137,e));default:kt(t,e,s,h,n,null)}}i&&kt(t,e,"srcSet",n.srcSet,n,null),a&&kt(t,e,"src",n.src,n,null);return;case"input":Mt("invalid",t);var g=s=h=i=null,_=null,T=null;for(a in n)if(n.hasOwnProperty(a)){var B=n[a];if(B!=null)switch(a){case"name":i=B;break;case"type":h=B;break;case"checked":_=B;break;case"defaultChecked":T=B;break;case"value":s=B;break;case"defaultValue":g=B;break;case"children":case"dangerouslySetInnerHTML":if(B!=null)throw Error(c(137,e));break;default:kt(t,e,a,B,n,null)}}ua(t,s,g,_,T,h,i,!1),pe(t);return;case"select":Mt("invalid",t),a=h=s=null;for(i in n)if(n.hasOwnProperty(i)&&(g=n[i],g!=null))switch(i){case"value":s=g;break;case"defaultValue":h=g;break;case"multiple":a=g;default:kt(t,e,i,g,n,null)}e=s,n=h,t.multiple=!!a,e!=null?rn(t,!!a,e,!1):n!=null&&rn(t,!!a,n,!0);return;case"textarea":Mt("invalid",t),s=i=a=null;for(h in n)if(n.hasOwnProperty(h)&&(g=n[h],g!=null))switch(h){case"value":a=g;break;case"defaultValue":i=g;break;case"children":s=g;break;case"dangerouslySetInnerHTML":if(g!=null)throw Error(c(91));break;default:kt(t,e,h,g,n,null)}os(t,a,i,s),pe(t);return;case"option":for(_ in n)if(n.hasOwnProperty(_)&&(a=n[_],a!=null))switch(_){case"selected":t.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:kt(t,e,_,a,n,null)}return;case"dialog":Mt("cancel",t),Mt("close",t);break;case"iframe":case"object":Mt("load",t);break;case"video":case"audio":for(a=0;a<su.length;a++)Mt(su[a],t);break;case"image":Mt("error",t),Mt("load",t);break;case"details":Mt("toggle",t);break;case"embed":case"source":case"link":Mt("error",t),Mt("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(T in n)if(n.hasOwnProperty(T)&&(a=n[T],a!=null))switch(T){case"children":case"dangerouslySetInnerHTML":throw Error(c(137,e));default:kt(t,e,T,a,n,null)}return;default:if(ds(e)){for(B in n)n.hasOwnProperty(B)&&(a=n[B],a!==void 0&&If(t,e,B,a,n,void 0));return}}for(g in n)n.hasOwnProperty(g)&&(a=n[g],a!=null&&kt(t,e,g,a,n,null))}function ry(t,e,n,a){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var i=null,s=null,h=null,g=null,_=null,T=null,B=null;for(U in n){var Z=n[U];if(n.hasOwnProperty(U)&&Z!=null)switch(U){case"checked":break;case"value":break;case"defaultValue":_=Z;default:a.hasOwnProperty(U)||kt(t,e,U,null,a,Z)}}for(var N in a){var U=a[N];if(Z=n[N],a.hasOwnProperty(N)&&(U!=null||Z!=null))switch(N){case"type":s=U;break;case"name":i=U;break;case"checked":T=U;break;case"defaultChecked":B=U;break;case"value":h=U;break;case"defaultValue":g=U;break;case"children":case"dangerouslySetInnerHTML":if(U!=null)throw Error(c(137,e));break;default:U!==Z&&kt(t,e,N,U,a,Z)}}Pe(t,h,g,_,T,B,s,i);return;case"select":U=h=g=N=null;for(s in n)if(_=n[s],n.hasOwnProperty(s)&&_!=null)switch(s){case"value":break;case"multiple":U=_;default:a.hasOwnProperty(s)||kt(t,e,s,null,a,_)}for(i in a)if(s=a[i],_=n[i],a.hasOwnProperty(i)&&(s!=null||_!=null))switch(i){case"value":N=s;break;case"defaultValue":g=s;break;case"multiple":h=s;default:s!==_&&kt(t,e,i,s,a,_)}e=g,n=h,a=U,N!=null?rn(t,!!n,N,!1):!!a!=!!n&&(e!=null?rn(t,!!n,e,!0):rn(t,!!n,n?[]:"",!1));return;case"textarea":U=N=null;for(g in n)if(i=n[g],n.hasOwnProperty(g)&&i!=null&&!a.hasOwnProperty(g))switch(g){case"value":break;case"children":break;default:kt(t,e,g,null,a,i)}for(h in a)if(i=a[h],s=n[h],a.hasOwnProperty(h)&&(i!=null||s!=null))switch(h){case"value":N=i;break;case"defaultValue":U=i;break;case"children":break;case"dangerouslySetInnerHTML":if(i!=null)throw Error(c(91));break;default:i!==s&&kt(t,e,h,i,a,s)}$i(t,N,U);return;case"option":for(var rt in n)if(N=n[rt],n.hasOwnProperty(rt)&&N!=null&&!a.hasOwnProperty(rt))switch(rt){case"selected":t.selected=!1;break;default:kt(t,e,rt,null,a,N)}for(_ in a)if(N=a[_],U=n[_],a.hasOwnProperty(_)&&N!==U&&(N!=null||U!=null))switch(_){case"selected":t.selected=N&&typeof N!="function"&&typeof N!="symbol";break;default:kt(t,e,_,N,a,U)}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 yt in n)N=n[yt],n.hasOwnProperty(yt)&&N!=null&&!a.hasOwnProperty(yt)&&kt(t,e,yt,null,a,N);for(T in a)if(N=a[T],U=n[T],a.hasOwnProperty(T)&&N!==U&&(N!=null||U!=null))switch(T){case"children":case"dangerouslySetInnerHTML":if(N!=null)throw Error(c(137,e));break;default:kt(t,e,T,N,a,U)}return;default:if(ds(e)){for(var le in n)N=n[le],n.hasOwnProperty(le)&&N!==void 0&&!a.hasOwnProperty(le)&&If(t,e,le,void 0,a,N);for(B in a)N=a[B],U=n[B],!a.hasOwnProperty(B)||N===U||N===void 0&&U===void 0||If(t,e,B,N,a,U);return}}for(var C in n)N=n[C],n.hasOwnProperty(C)&&N!=null&&!a.hasOwnProperty(C)&&kt(t,e,C,null,a,N);for(Z in a)N=a[Z],U=n[Z],!a.hasOwnProperty(Z)||N===U||N==null&&U==null||kt(t,e,Z,N,a,U)}var td=null,ed=null;function Qo(t){return t.nodeType===9?t:t.ownerDocument}function Km(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function $m(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function nd(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var ad=null;function sy(){var t=window.event;return t&&t.type==="popstate"?t===ad?!1:(ad=t,!0):(ad=null,!1)}var Fm=typeof setTimeout=="function"?setTimeout:void 0,uy=typeof clearTimeout=="function"?clearTimeout:void 0,Jm=typeof Promise=="function"?Promise:void 0,oy=typeof queueMicrotask=="function"?queueMicrotask:typeof Jm<"u"?function(t){return Jm.resolve(null).then(t).catch(cy)}:Fm;function cy(t){setTimeout(function(){throw t})}function ld(t,e){var n=e,a=0;do{var i=n.nextSibling;if(t.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(a===0){t.removeChild(i),gu(e);return}a--}else n!=="$"&&n!=="$?"&&n!=="$!"||a++;n=i}while(n);gu(e)}function id(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var n=e;switch(e=e.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":id(n),cl(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}t.removeChild(n)}}function fy(t,e,n,a){for(;t.nodeType===1;){var i=n;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!a&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(a){if(!t[ie])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(s=t.getAttribute("rel"),s==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(s!==i.rel||t.getAttribute("href")!==(i.href==null?null:i.href)||t.getAttribute("crossorigin")!==(i.crossOrigin==null?null:i.crossOrigin)||t.getAttribute("title")!==(i.title==null?null:i.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(s=t.getAttribute("src"),(s!==(i.src==null?null:i.src)||t.getAttribute("type")!==(i.type==null?null:i.type)||t.getAttribute("crossorigin")!==(i.crossOrigin==null?null:i.crossOrigin))&&s&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var s=i.name==null?null:""+i.name;if(i.type==="hidden"&&t.getAttribute("name")===s)return t}else return t;if(t=$n(t.nextSibling),t===null)break}return null}function dy(t,e,n){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!n||(t=$n(t.nextSibling),t===null))return null;return t}function $n(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="F!"||e==="F")break;if(e==="/$")return null}}return t}function Wm(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="$"||n==="$!"||n==="$?"){if(e===0)return t;e--}else n==="/$"&&e++}t=t.previousSibling}return null}function Pm(t,e,n){switch(e=Qo(n),t){case"html":if(t=e.documentElement,!t)throw Error(c(452));return t;case"head":if(t=e.head,!t)throw Error(c(453));return t;case"body":if(t=e.body,!t)throw Error(c(454));return t;default:throw Error(c(451))}}var Rn=new Map,Im=new Set;function Zo(t){return typeof t.getRootNode=="function"?t.getRootNode():t.ownerDocument}var Ia=_t.d;_t.d={f:hy,r:my,D:py,C:gy,L:vy,m:yy,X:_y,S:by,M:Sy};function hy(){var t=Ia.f(),e=ko();return t||e}function my(t){var e=We(t);e!==null&&e.tag===5&&e.type==="form"?Oh(e):Ia.r(t)}var qr=typeof document>"u"?null:document;function tp(t,e,n){var a=qr;if(a&&typeof e=="string"&&e){var i=ze(e);i='link[rel="'+t+'"][href="'+i+'"]',typeof n=="string"&&(i+='[crossorigin="'+n+'"]'),Im.has(i)||(Im.add(i),t={rel:t,crossOrigin:n,href:e},a.querySelector(i)===null&&(e=a.createElement("link"),De(e,"link",t),te(e),a.head.appendChild(e)))}}function py(t){Ia.D(t),tp("dns-prefetch",t,null)}function gy(t,e){Ia.C(t,e),tp("preconnect",t,e)}function vy(t,e,n){Ia.L(t,e,n);var a=qr;if(a&&t&&e){var i='link[rel="preload"][as="'+ze(e)+'"]';e==="image"&&n&&n.imageSrcSet?(i+='[imagesrcset="'+ze(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(i+='[imagesizes="'+ze(n.imageSizes)+'"]')):i+='[href="'+ze(t)+'"]';var s=i;switch(e){case"style":s=Yr(t);break;case"script":s=Xr(t)}Rn.has(s)||(t=St({rel:"preload",href:e==="image"&&n&&n.imageSrcSet?void 0:t,as:e},n),Rn.set(s,t),a.querySelector(i)!==null||e==="style"&&a.querySelector(ou(s))||e==="script"&&a.querySelector(cu(s))||(e=a.createElement("link"),De(e,"link",t),te(e),a.head.appendChild(e)))}}function yy(t,e){Ia.m(t,e);var n=qr;if(n&&t){var a=e&&typeof e.as=="string"?e.as:"script",i='link[rel="modulepreload"][as="'+ze(a)+'"][href="'+ze(t)+'"]',s=i;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":s=Xr(t)}if(!Rn.has(s)&&(t=St({rel:"modulepreload",href:t},e),Rn.set(s,t),n.querySelector(i)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(cu(s)))return}a=n.createElement("link"),De(a,"link",t),te(a),n.head.appendChild(a)}}}function by(t,e,n){Ia.S(t,e,n);var a=qr;if(a&&t){var i=Ma(a).hoistableStyles,s=Yr(t);e=e||"default";var h=i.get(s);if(!h){var g={loading:0,preload:null};if(h=a.querySelector(ou(s)))g.loading=5;else{t=St({rel:"stylesheet",href:t,"data-precedence":e},n),(n=Rn.get(s))&&rd(t,n);var _=h=a.createElement("link");te(_),De(_,"link",t),_._p=new Promise(function(T,B){_.onload=T,_.onerror=B}),_.addEventListener("load",function(){g.loading|=1}),_.addEventListener("error",function(){g.loading|=2}),g.loading|=4,Ko(h,e,a)}h={type:"stylesheet",instance:h,count:1,state:g},i.set(s,h)}}}function _y(t,e){Ia.X(t,e);var n=qr;if(n&&t){var a=Ma(n).hoistableScripts,i=Xr(t),s=a.get(i);s||(s=n.querySelector(cu(i)),s||(t=St({src:t,async:!0},e),(e=Rn.get(i))&&sd(t,e),s=n.createElement("script"),te(s),De(s,"link",t),n.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},a.set(i,s))}}function Sy(t,e){Ia.M(t,e);var n=qr;if(n&&t){var a=Ma(n).hoistableScripts,i=Xr(t),s=a.get(i);s||(s=n.querySelector(cu(i)),s||(t=St({src:t,async:!0,type:"module"},e),(e=Rn.get(i))&&sd(t,e),s=n.createElement("script"),te(s),De(s,"link",t),n.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},a.set(i,s))}}function ep(t,e,n,a){var i=(i=Fe.current)?Zo(i):null;if(!i)throw Error(c(446));switch(t){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(e=Yr(n.href),n=Ma(i).hoistableStyles,a=n.get(e),a||(a={type:"style",instance:null,count:0,state:null},n.set(e,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){t=Yr(n.href);var s=Ma(i).hoistableStyles,h=s.get(t);if(h||(i=i.ownerDocument||i,h={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},s.set(t,h),(s=i.querySelector(ou(t)))&&!s._p&&(h.instance=s,h.state.loading=5),Rn.has(t)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Rn.set(t,n),s||Ey(i,t,n,h.state))),e&&a===null)throw Error(c(528,""));return h}if(e&&a!==null)throw Error(c(529,""));return null;case"script":return e=n.async,n=n.src,typeof n=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=Xr(n),n=Ma(i).hoistableScripts,a=n.get(e),a||(a={type:"script",instance:null,count:0,state:null},n.set(e,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(c(444,t))}}function Yr(t){return'href="'+ze(t)+'"'}function ou(t){return'link[rel="stylesheet"]['+t+"]"}function np(t){return St({},t,{"data-precedence":t.precedence,precedence:null})}function Ey(t,e,n,a){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?a.loading=1:(e=t.createElement("link"),a.preload=e,e.addEventListener("load",function(){return a.loading|=1}),e.addEventListener("error",function(){return a.loading|=2}),De(e,"link",n),te(e),t.head.appendChild(e))}function Xr(t){return'[src="'+ze(t)+'"]'}function cu(t){return"script[async]"+t}function ap(t,e,n){if(e.count++,e.instance===null)switch(e.type){case"style":var a=t.querySelector('style[data-href~="'+ze(n.href)+'"]');if(a)return e.instance=a,te(a),a;var i=St({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return a=(t.ownerDocument||t).createElement("style"),te(a),De(a,"style",i),Ko(a,n.precedence,t),e.instance=a;case"stylesheet":i=Yr(n.href);var s=t.querySelector(ou(i));if(s)return e.state.loading|=4,e.instance=s,te(s),s;a=np(n),(i=Rn.get(i))&&rd(a,i),s=(t.ownerDocument||t).createElement("link"),te(s);var h=s;return h._p=new Promise(function(g,_){h.onload=g,h.onerror=_}),De(s,"link",a),e.state.loading|=4,Ko(s,n.precedence,t),e.instance=s;case"script":return s=Xr(n.src),(i=t.querySelector(cu(s)))?(e.instance=i,te(i),i):(a=n,(i=Rn.get(s))&&(a=St({},n),sd(a,i)),t=t.ownerDocument||t,i=t.createElement("script"),te(i),De(i,"link",a),t.head.appendChild(i),e.instance=i);case"void":return null;default:throw Error(c(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(a=e.instance,e.state.loading|=4,Ko(a,n.precedence,t));return e.instance}function Ko(t,e,n){for(var a=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),i=a.length?a[a.length-1]:null,s=i,h=0;h<a.length;h++){var g=a[h];if(g.dataset.precedence===e)s=g;else if(s!==i)break}s?s.parentNode.insertBefore(t,s.nextSibling):(e=n.nodeType===9?n.head:n,e.insertBefore(t,e.firstChild))}function rd(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function sd(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var $o=null;function lp(t,e,n){if($o===null){var a=new Map,i=$o=new Map;i.set(n,a)}else i=$o,a=i.get(n),a||(a=new Map,i.set(n,a));if(a.has(t))return a;for(a.set(t,null),n=n.getElementsByTagName(t),i=0;i<n.length;i++){var s=n[i];if(!(s[ie]||s[oe]||t==="link"&&s.getAttribute("rel")==="stylesheet")&&s.namespaceURI!=="http://www.w3.org/2000/svg"){var h=s.getAttribute(e)||"";h=t+h;var g=a.get(h);g?g.push(s):a.set(h,[s])}}return a}function ip(t,e,n){t=t.ownerDocument||t,t.head.insertBefore(n,e==="title"?t.querySelector("head > title"):null)}function Ay(t,e,n){if(n===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function rp(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}var fu=null;function xy(){}function Ty(t,e,n){if(fu===null)throw Error(c(475));var a=fu;if(e.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(e.state.loading&4)===0){if(e.instance===null){var i=Yr(n.href),s=t.querySelector(ou(i));if(s){t=s._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(a.count++,a=Fo.bind(a),t.then(a,a)),e.state.loading|=4,e.instance=s,te(s);return}s=t.ownerDocument||t,n=np(n),(i=Rn.get(i))&&rd(n,i),s=s.createElement("link"),te(s);var h=s;h._p=new Promise(function(g,_){h.onload=g,h.onerror=_}),De(s,"link",n),e.instance=s}a.stylesheets===null&&(a.stylesheets=new Map),a.stylesheets.set(e,t),(t=e.state.preload)&&(e.state.loading&3)===0&&(a.count++,e=Fo.bind(a),t.addEventListener("load",e),t.addEventListener("error",e))}}function Oy(){if(fu===null)throw Error(c(475));var t=fu;return t.stylesheets&&t.count===0&&ud(t,t.stylesheets),0<t.count?function(e){var n=setTimeout(function(){if(t.stylesheets&&ud(t,t.stylesheets),t.unsuspend){var a=t.unsuspend;t.unsuspend=null,a()}},6e4);return t.unsuspend=e,function(){t.unsuspend=null,clearTimeout(n)}}:null}function Fo(){if(this.count--,this.count===0){if(this.stylesheets)ud(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Jo=null;function ud(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Jo=new Map,e.forEach(Cy,t),Jo=null,Fo.call(t))}function Cy(t,e){if(!(e.state.loading&4)){var n=Jo.get(t);if(n)var a=n.get(null);else{n=new Map,Jo.set(t,n);for(var i=t.querySelectorAll("link[data-precedence],style[data-precedence]"),s=0;s<i.length;s++){var h=i[s];(h.nodeName==="LINK"||h.getAttribute("media")!=="not all")&&(n.set(h.dataset.precedence,h),a=h)}a&&n.set(null,a)}i=e.instance,h=i.getAttribute("data-precedence"),s=n.get(h)||a,s===a&&n.set(null,i),n.set(h,i),this.count++,a=Fo.bind(this),i.addEventListener("load",a),i.addEventListener("error",a),s?s.parentNode.insertBefore(i,s.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(i,t.firstChild)),e.state.loading|=4}}var du={$$typeof:q,Provider:null,Consumer:null,_currentValue:me,_currentValue2:me,_threadCount:0};function wy(t,e,n,a,i,s,h,g){this.tag=1,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=as(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.finishedLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=as(0),this.hiddenUpdates=as(null),this.identifierPrefix=a,this.onUncaughtError=i,this.onCaughtError=s,this.onRecoverableError=h,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=g,this.incompleteTransitions=new Map}function sp(t,e,n,a,i,s,h,g,_,T,B,Z){return t=new wy(t,e,n,h,g,_,T,Z),e=1,s===!0&&(e|=24),s=Nn(3,null,null,e),t.current=s,s.stateNode=t,e=xr(),e.refCount++,t.pooledCache=e,e.refCount++,s.memoizedState={element:a,isDehydrated:n,cache:e},_f(s),t}function up(t){return t?(t=bl,t):bl}function op(t,e,n,a,i,s){i=up(i),a.context===null?a.context=i:a.pendingContext=i,a=Rl(e),a.payload={element:n},s=s===void 0?null:s,s!==null&&(a.callback=s),n=Ll(t,a,e),n!==null&&(Ke(n,t,e),Fs(n,t,e))}function cp(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var n=t.retryLane;t.retryLane=n!==0&&n<e?n:e}}function od(t,e){cp(t,e),(t=t.alternate)&&cp(t,e)}function fp(t){if(t.tag===13){var e=qn(t,67108864);e!==null&&Ke(e,t,67108864),od(t,67108864)}}var Wo=!0;function Dy(t,e,n,a){var i=lt.T;lt.T=null;var s=_t.p;try{_t.p=2,cd(t,e,n,a)}finally{_t.p=s,lt.T=i}}function My(t,e,n,a){var i=lt.T;lt.T=null;var s=_t.p;try{_t.p=8,cd(t,e,n,a)}finally{_t.p=s,lt.T=i}}function cd(t,e,n,a){if(Wo){var i=fd(a);if(i===null)Pf(t,e,a,Po,n),hp(t,a);else if(zy(i,t,e,n,a))a.stopPropagation();else if(hp(t,a),e&4&&-1<Ny.indexOf(t)){for(;i!==null;){var s=We(i);if(s!==null)switch(s.tag){case 3:if(s=s.stateNode,s.current.memoizedState.isDehydrated){var h=Ca(s.pendingLanes);if(h!==0){var g=s;for(g.pendingLanes|=2,g.entangledLanes|=2;h;){var _=1<<31-qe(h);g.entanglements[1]|=_,h&=~_}_a(s),(Wt&6)===0&&(jo=ke()+500,ru(0))}}break;case 13:g=qn(s,2),g!==null&&Ke(g,s,2),ko(),od(s,2)}if(s=fd(a),s===null&&Pf(t,e,a,Po,n),s===i)break;i=s}i!==null&&a.stopPropagation()}else Pf(t,e,a,null,n)}}function fd(t){return t=ui(t),dd(t)}var Po=null;function dd(t){if(Po=null,t=Je(t),t!==null){var e=mt(t);if(e===null)t=null;else{var n=e.tag;if(n===13){if(t=Bt(e),t!==null)return t;t=null}else if(n===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return Po=t,null}function dp(t){switch(t){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(na()){case es:return 2;case rl:return 8;case Ln:case sl:return 32;case Il:return 268435456;default:return 32}default:return 32}}var hd=!1,Yl=null,Xl=null,Gl=null,hu=new Map,mu=new Map,Vl=[],Ny="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 hp(t,e){switch(t){case"focusin":case"focusout":Yl=null;break;case"dragenter":case"dragleave":Xl=null;break;case"mouseover":case"mouseout":Gl=null;break;case"pointerover":case"pointerout":hu.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":mu.delete(e.pointerId)}}function pu(t,e,n,a,i,s){return t===null||t.nativeEvent!==s?(t={blockedOn:e,domEventName:n,eventSystemFlags:a,nativeEvent:s,targetContainers:[i]},e!==null&&(e=We(e),e!==null&&fp(e)),t):(t.eventSystemFlags|=a,e=t.targetContainers,i!==null&&e.indexOf(i)===-1&&e.push(i),t)}function zy(t,e,n,a,i){switch(e){case"focusin":return Yl=pu(Yl,t,e,n,a,i),!0;case"dragenter":return Xl=pu(Xl,t,e,n,a,i),!0;case"mouseover":return Gl=pu(Gl,t,e,n,a,i),!0;case"pointerover":var s=i.pointerId;return hu.set(s,pu(hu.get(s)||null,t,e,n,a,i)),!0;case"gotpointercapture":return s=i.pointerId,mu.set(s,pu(mu.get(s)||null,t,e,n,a,i)),!0}return!1}function mp(t){var e=Je(t.target);if(e!==null){var n=mt(e);if(n!==null){if(e=n.tag,e===13){if(e=Bt(n),e!==null){t.blockedOn=e,Ki(t.priority,function(){if(n.tag===13){var a=pn(),i=qn(n,a);i!==null&&Ke(i,n,a),od(n,a)}});return}}else if(e===3&&n.stateNode.current.memoizedState.isDehydrated){t.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Io(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var n=fd(t.nativeEvent);if(n===null){n=t.nativeEvent;var a=new n.constructor(n.type,n);za=a,n.target.dispatchEvent(a),za=null}else return e=We(n),e!==null&&fp(e),t.blockedOn=n,!1;e.shift()}return!0}function pp(t,e,n){Io(t)&&n.delete(e)}function Ry(){hd=!1,Yl!==null&&Io(Yl)&&(Yl=null),Xl!==null&&Io(Xl)&&(Xl=null),Gl!==null&&Io(Gl)&&(Gl=null),hu.forEach(pp),mu.forEach(pp)}function tc(t,e){t.blockedOn===e&&(t.blockedOn=null,hd||(hd=!0,l.unstable_scheduleCallback(l.unstable_NormalPriority,Ry)))}var ec=null;function gp(t){ec!==t&&(ec=t,l.unstable_scheduleCallback(l.unstable_NormalPriority,function(){ec===t&&(ec=null);for(var e=0;e<t.length;e+=3){var n=t[e],a=t[e+1],i=t[e+2];if(typeof a!="function"){if(dd(a||n)===null)continue;break}var s=We(n);s!==null&&(t.splice(e,3),e-=3,ef(s,{pending:!0,data:i,method:n.method,action:a},a,i))}}))}function gu(t){function e(_){return tc(_,t)}Yl!==null&&tc(Yl,t),Xl!==null&&tc(Xl,t),Gl!==null&&tc(Gl,t),hu.forEach(e),mu.forEach(e);for(var n=0;n<Vl.length;n++){var a=Vl[n];a.blockedOn===t&&(a.blockedOn=null)}for(;0<Vl.length&&(n=Vl[0],n.blockedOn===null);)mp(n),n.blockedOn===null&&Vl.shift();if(n=(t.ownerDocument||t).$$reactFormReplay,n!=null)for(a=0;a<n.length;a+=3){var i=n[a],s=n[a+1],h=i[Me]||null;if(typeof s=="function")h||gp(n);else if(h){var g=null;if(s&&s.hasAttribute("formAction")){if(i=s,h=s[Me]||null)g=h.formAction;else if(dd(i)!==null)continue}else g=h.action;typeof g=="function"?n[a+1]=g:(n.splice(a,3),a-=3),gp(n)}}}function md(t){this._internalRoot=t}nc.prototype.render=md.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(c(409));var n=e.current,a=pn();op(n,a,t,e,null,null)},nc.prototype.unmount=md.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;t.tag===0&&Hr(),op(t.current,2,null,t,null,null),ko(),e[ol]=null}};function nc(t){this._internalRoot=t}nc.prototype.unstable_scheduleHydration=function(t){if(t){var e=Da();t={blockedOn:null,target:t,priority:e};for(var n=0;n<Vl.length&&e!==0&&e<Vl[n].priority;n++);Vl.splice(n,0,t),n===0&&mp(t)}};var vp=u.version;if(vp!=="19.0.0")throw Error(c(527,vp,"19.0.0"));_t.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(c(188)):(t=Object.keys(t).join(","),Error(c(268,t)));return t=Pn(e),t=t!==null?In(t):null,t=t===null?null:t.stateNode,t};var Ly={bundleType:0,version:"19.0.0",rendererPackageName:"react-dom",currentDispatcherRef:lt,findFiberByHostInstance:Je,reconcilerVersion:"19.0.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ac=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ac.isDisabled&&ac.supportsFiber)try{ti=ac.inject(Ly),Be=ac}catch{}}return yu.createRoot=function(t,e){if(!f(t))throw Error(c(299));var n=!1,a="",i=Lh,s=jh,h=Uh,g=null;return e!=null&&(e.unstable_strictMode===!0&&(n=!0),e.identifierPrefix!==void 0&&(a=e.identifierPrefix),e.onUncaughtError!==void 0&&(i=e.onUncaughtError),e.onCaughtError!==void 0&&(s=e.onCaughtError),e.onRecoverableError!==void 0&&(h=e.onRecoverableError),e.unstable_transitionCallbacks!==void 0&&(g=e.unstable_transitionCallbacks)),e=sp(t,1,!1,null,null,n,a,i,s,h,g,null),t[ol]=e.current,Wf(t.nodeType===8?t.parentNode:t),new md(e)},yu.hydrateRoot=function(t,e,n){if(!f(t))throw Error(c(299));var a=!1,i="",s=Lh,h=jh,g=Uh,_=null,T=null;return n!=null&&(n.unstable_strictMode===!0&&(a=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onUncaughtError!==void 0&&(s=n.onUncaughtError),n.onCaughtError!==void 0&&(h=n.onCaughtError),n.onRecoverableError!==void 0&&(g=n.onRecoverableError),n.unstable_transitionCallbacks!==void 0&&(_=n.unstable_transitionCallbacks),n.formState!==void 0&&(T=n.formState)),e=sp(t,1,!0,e,n??null,a,i,s,h,g,_,T),e.context=up(null),n=e.current,a=pn(),i=Rl(a),i.callback=null,Ll(n,i,a),e.current.lanes=a,li(e,a),_a(e),t[ol]=e.current,Wf(t),new nc(e)},yu.version="19.0.0",yu}var Ap;function $y(){if(Ap)return gd.exports;Ap=1;function l(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l)}catch(u){console.error(u)}}return l(),gd.exports=Ky(),gd.exports}var Fy=$y(),bu={},xp;function Jy(){if(xp)return bu;xp=1,Object.defineProperty(bu,"__esModule",{value:!0}),bu.parse=y,bu.serialize=E;const l=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,u=/^[\u0021-\u003A\u003C-\u007E]*$/,o=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,c=/^[\u0020-\u003A\u003D-\u007E]*$/,f=Object.prototype.toString,m=(()=>{const z=function(){};return z.prototype=Object.create(null),z})();function y(z,q){const L=new m,I=z.length;if(I<2)return L;const Q=(q==null?void 0:q.decode)||D;let H=0;do{const W=z.indexOf("=",H);if(W===-1)break;const P=z.indexOf(";",H),bt=P===-1?I:P;if(W>bt){H=z.lastIndexOf(";",W-1)+1;continue}const Ot=b(z,H,W),It=S(z,W,Ot),de=z.slice(Ot,It);if(L[de]===void 0){let ue=b(z,W+1,bt),lt=S(z,bt,ue);const St=Q(z.slice(ue,lt));L[de]=St}H=bt+1}while(H<I);return L}function b(z,q,L){do{const I=z.charCodeAt(q);if(I!==32&&I!==9)return q}while(++q<L);return L}function S(z,q,L){for(;q>L;){const I=z.charCodeAt(--q);if(I!==32&&I!==9)return q+1}return L}function E(z,q,L){const I=(L==null?void 0:L.encode)||encodeURIComponent;if(!l.test(z))throw new TypeError(`argument name is invalid: ${z}`);const Q=I(q);if(!u.test(Q))throw new TypeError(`argument val is invalid: ${q}`);let H=z+"="+Q;if(!L)return H;if(L.maxAge!==void 0){if(!Number.isInteger(L.maxAge))throw new TypeError(`option maxAge is invalid: ${L.maxAge}`);H+="; Max-Age="+L.maxAge}if(L.domain){if(!o.test(L.domain))throw new TypeError(`option domain is invalid: ${L.domain}`);H+="; Domain="+L.domain}if(L.path){if(!c.test(L.path))throw new TypeError(`option path is invalid: ${L.path}`);H+="; Path="+L.path}if(L.expires){if(!j(L.expires)||!Number.isFinite(L.expires.valueOf()))throw new TypeError(`option expires is invalid: ${L.expires}`);H+="; Expires="+L.expires.toUTCString()}if(L.httpOnly&&(H+="; HttpOnly"),L.secure&&(H+="; Secure"),L.partitioned&&(H+="; Partitioned"),L.priority)switch(typeof L.priority=="string"?L.priority.toLowerCase():void 0){case"low":H+="; Priority=Low";break;case"medium":H+="; Priority=Medium";break;case"high":H+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${L.priority}`)}if(L.sameSite)switch(typeof L.sameSite=="string"?L.sameSite.toLowerCase():L.sameSite){case!0:case"strict":H+="; SameSite=Strict";break;case"lax":H+="; SameSite=Lax";break;case"none":H+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${L.sameSite}`)}return H}function D(z){if(z.indexOf("%")===-1)return z;try{return decodeURIComponent(z)}catch{return z}}function j(z){return f.call(z)==="[object Date]"}return bu}Jy();/**
 * react-router v7.3.0
 *
 * 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 Tp="popstate";function Wy(l={}){function u(c,f){let{pathname:m,search:y,hash:b}=c.location;return Md("",{pathname:m,search:y,hash:b},f.state&&f.state.usr||null,f.state&&f.state.key||"default")}function o(c,f){return typeof f=="string"?f:xu(f)}return Iy(u,o,null,l)}function Pt(l,u){if(l===!1||l===null||typeof l>"u")throw new Error(u)}function xa(l,u){if(!l){typeof console<"u"&&console.warn(u);try{throw new Error(u)}catch{}}}function Py(){return Math.random().toString(36).substring(2,10)}function Op(l,u){return{usr:l.state,key:l.key,idx:u}}function Md(l,u,o=null,c){return{pathname:typeof l=="string"?l:l.pathname,search:"",hash:"",...typeof u=="string"?Kr(u):u,state:o,key:u&&u.key||c||Py()}}function xu({pathname:l="/",search:u="",hash:o=""}){return u&&u!=="?"&&(l+=u.charAt(0)==="?"?u:"?"+u),o&&o!=="#"&&(l+=o.charAt(0)==="#"?o:"#"+o),l}function Kr(l){let u={};if(l){let o=l.indexOf("#");o>=0&&(u.hash=l.substring(o),l=l.substring(0,o));let c=l.indexOf("?");c>=0&&(u.search=l.substring(c),l=l.substring(0,c)),l&&(u.pathname=l)}return u}function Iy(l,u,o,c={}){let{window:f=document.defaultView,v5Compat:m=!1}=c,y=f.history,b="POP",S=null,E=D();E==null&&(E=0,y.replaceState({...y.state,idx:E},""));function D(){return(y.state||{idx:null}).idx}function j(){b="POP";let Q=D(),H=Q==null?null:Q-E;E=Q,S&&S({action:b,location:I.location,delta:H})}function z(Q,H){b="PUSH";let W=Md(I.location,Q,H);E=D()+1;let P=Op(W,E),bt=I.createHref(W);try{y.pushState(P,"",bt)}catch(Ot){if(Ot instanceof DOMException&&Ot.name==="DataCloneError")throw Ot;f.location.assign(bt)}m&&S&&S({action:b,location:I.location,delta:1})}function q(Q,H){b="REPLACE";let W=Md(I.location,Q,H);E=D();let P=Op(W,E),bt=I.createHref(W);y.replaceState(P,"",bt),m&&S&&S({action:b,location:I.location,delta:0})}function L(Q){let H=f.location.origin!=="null"?f.location.origin:f.location.href,W=typeof Q=="string"?Q:xu(Q);return W=W.replace(/ $/,"%20"),Pt(H,`No window.location.(origin|href) available to create URL for href: ${W}`),new URL(W,H)}let I={get action(){return b},get location(){return l(f,y)},listen(Q){if(S)throw new Error("A history only accepts one active listener");return f.addEventListener(Tp,j),S=Q,()=>{f.removeEventListener(Tp,j),S=null}},createHref(Q){return u(f,Q)},createURL:L,encodeLocation(Q){let H=L(Q);return{pathname:H.pathname,search:H.search,hash:H.hash}},push:z,replace:q,go(Q){return y.go(Q)}};return I}function pg(l,u,o="/"){return t0(l,u,o,!1)}function t0(l,u,o,c){let f=typeof u=="string"?Kr(u):u,m=el(f.pathname||"/",o);if(m==null)return null;let y=gg(l);e0(y);let b=null;for(let S=0;b==null&&S<y.length;++S){let E=d0(m);b=c0(y[S],E,c)}return b}function gg(l,u=[],o=[],c=""){let f=(m,y,b)=>{let S={relativePath:b===void 0?m.path||"":b,caseSensitive:m.caseSensitive===!0,childrenIndex:y,route:m};S.relativePath.startsWith("/")&&(Pt(S.relativePath.startsWith(c),`Absolute route path "${S.relativePath}" nested under path "${c}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),S.relativePath=S.relativePath.slice(c.length));let E=tl([c,S.relativePath]),D=o.concat(S);m.children&&m.children.length>0&&(Pt(m.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${E}".`),gg(m.children,u,D,E)),!(m.path==null&&!m.index)&&u.push({path:E,score:u0(E,m.index),routesMeta:D})};return l.forEach((m,y)=>{var b;if(m.path===""||!((b=m.path)!=null&&b.includes("?")))f(m,y);else for(let S of vg(m.path))f(m,y,S)}),u}function vg(l){let u=l.split("/");if(u.length===0)return[];let[o,...c]=u,f=o.endsWith("?"),m=o.replace(/\?$/,"");if(c.length===0)return f?[m,""]:[m];let y=vg(c.join("/")),b=[];return b.push(...y.map(S=>S===""?m:[m,S].join("/"))),f&&b.push(...y),b.map(S=>l.startsWith("/")&&S===""?"/":S)}function e0(l){l.sort((u,o)=>u.score!==o.score?o.score-u.score:o0(u.routesMeta.map(c=>c.childrenIndex),o.routesMeta.map(c=>c.childrenIndex)))}var n0=/^:[\w-]+$/,a0=3,l0=2,i0=1,r0=10,s0=-2,Cp=l=>l==="*";function u0(l,u){let o=l.split("/"),c=o.length;return o.some(Cp)&&(c+=s0),u&&(c+=l0),o.filter(f=>!Cp(f)).reduce((f,m)=>f+(n0.test(m)?a0:m===""?i0:r0),c)}function o0(l,u){return l.length===u.length&&l.slice(0,-1).every((c,f)=>c===u[f])?l[l.length-1]-u[u.length-1]:0}function c0(l,u,o=!1){let{routesMeta:c}=l,f={},m="/",y=[];for(let b=0;b<c.length;++b){let S=c[b],E=b===c.length-1,D=m==="/"?u:u.slice(m.length)||"/",j=dc({path:S.relativePath,caseSensitive:S.caseSensitive,end:E},D),z=S.route;if(!j&&E&&o&&!c[c.length-1].route.index&&(j=dc({path:S.relativePath,caseSensitive:S.caseSensitive,end:!1},D)),!j)return null;Object.assign(f,j.params),y.push({params:f,pathname:tl([m,j.pathname]),pathnameBase:g0(tl([m,j.pathnameBase])),route:z}),j.pathnameBase!=="/"&&(m=tl([m,j.pathnameBase]))}return y}function dc(l,u){typeof l=="string"&&(l={path:l,caseSensitive:!1,end:!0});let[o,c]=f0(l.path,l.caseSensitive,l.end),f=u.match(o);if(!f)return null;let m=f[0],y=m.replace(/(.)\/+$/,"$1"),b=f.slice(1);return{params:c.reduce((E,{paramName:D,isOptional:j},z)=>{if(D==="*"){let L=b[z]||"";y=m.slice(0,m.length-L.length).replace(/(.)\/+$/,"$1")}const q=b[z];return j&&!q?E[D]=void 0:E[D]=(q||"").replace(/%2F/g,"/"),E},{}),pathname:m,pathnameBase:y,pattern:l}}function f0(l,u=!1,o=!0){xa(l==="*"||!l.endsWith("*")||l.endsWith("/*"),`Route path "${l}" will be treated as if it were "${l.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${l.replace(/\*$/,"/*")}".`);let c=[],f="^"+l.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(y,b,S)=>(c.push({paramName:b,isOptional:S!=null}),S?"/?([^\\/]+)?":"/([^\\/]+)"));return l.endsWith("*")?(c.push({paramName:"*"}),f+=l==="*"||l==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):o?f+="\\/*$":l!==""&&l!=="/"&&(f+="(?:(?=\\/|$))"),[new RegExp(f,u?void 0:"i"),c]}function d0(l){try{return l.split("/").map(u=>decodeURIComponent(u).replace(/\//g,"%2F")).join("/")}catch(u){return xa(!1,`The URL path "${l}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${u}).`),l}}function el(l,u){if(u==="/")return l;if(!l.toLowerCase().startsWith(u.toLowerCase()))return null;let o=u.endsWith("/")?u.length-1:u.length,c=l.charAt(o);return c&&c!=="/"?null:l.slice(o)||"/"}function h0(l,u="/"){let{pathname:o,search:c="",hash:f=""}=typeof l=="string"?Kr(l):l;return{pathname:o?o.startsWith("/")?o:m0(o,u):u,search:v0(c),hash:y0(f)}}function m0(l,u){let o=u.replace(/\/+$/,"").split("/");return l.split("/").forEach(f=>{f===".."?o.length>1&&o.pop():f!=="."&&o.push(f)}),o.length>1?o.join("/"):"/"}function bd(l,u,o,c){return`Cannot include a '${l}' character in a manually specified \`to.${u}\` field [${JSON.stringify(c)}].  Please separate it out to the \`to.${o}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function p0(l){return l.filter((u,o)=>o===0||u.route.path&&u.route.path.length>0)}function yg(l){let u=p0(l);return u.map((o,c)=>c===u.length-1?o.pathname:o.pathnameBase)}function bg(l,u,o,c=!1){let f;typeof l=="string"?f=Kr(l):(f={...l},Pt(!f.pathname||!f.pathname.includes("?"),bd("?","pathname","search",f)),Pt(!f.pathname||!f.pathname.includes("#"),bd("#","pathname","hash",f)),Pt(!f.search||!f.search.includes("#"),bd("#","search","hash",f)));let m=l===""||f.pathname==="",y=m?"/":f.pathname,b;if(y==null)b=o;else{let j=u.length-1;if(!c&&y.startsWith("..")){let z=y.split("/");for(;z[0]==="..";)z.shift(),j-=1;f.pathname=z.join("/")}b=j>=0?u[j]:"/"}let S=h0(f,b),E=y&&y!=="/"&&y.endsWith("/"),D=(m||y===".")&&o.endsWith("/");return!S.pathname.endsWith("/")&&(E||D)&&(S.pathname+="/"),S}var tl=l=>l.join("/").replace(/\/\/+/g,"/"),g0=l=>l.replace(/\/+$/,"").replace(/^\/*/,"/"),v0=l=>!l||l==="?"?"":l.startsWith("?")?l:"?"+l,y0=l=>!l||l==="#"?"":l.startsWith("#")?l:"#"+l;function b0(l){return l!=null&&typeof l.status=="number"&&typeof l.statusText=="string"&&typeof l.internal=="boolean"&&"data"in l}var _g=["POST","PUT","PATCH","DELETE"];new Set(_g);var _0=["GET",..._g];new Set(_0);var $r=w.createContext(null);$r.displayName="DataRouter";var gc=w.createContext(null);gc.displayName="DataRouterState";var Sg=w.createContext({isTransitioning:!1});Sg.displayName="ViewTransition";var S0=w.createContext(new Map);S0.displayName="Fetchers";var E0=w.createContext(null);E0.displayName="Await";var Ta=w.createContext(null);Ta.displayName="Navigation";var Cu=w.createContext(null);Cu.displayName="Location";var Oa=w.createContext({outlet:null,matches:[],isDataRoute:!1});Oa.displayName="Route";var Id=w.createContext(null);Id.displayName="RouteError";function A0(l,{relative:u}={}){Pt(wu(),"useHref() may be used only in the context of a <Router> component.");let{basename:o,navigator:c}=w.useContext(Ta),{hash:f,pathname:m,search:y}=Du(l,{relative:u}),b=m;return o!=="/"&&(b=m==="/"?o:tl([o,m])),c.createHref({pathname:b,search:y,hash:f})}function wu(){return w.useContext(Cu)!=null}function Xi(){return Pt(wu(),"useLocation() may be used only in the context of a <Router> component."),w.useContext(Cu).location}var Eg="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Ag(l){w.useContext(Ta).static||w.useLayoutEffect(l)}function x0(){let{isDataRoute:l}=w.useContext(Oa);return l?k0():T0()}function T0(){Pt(wu(),"useNavigate() may be used only in the context of a <Router> component.");let l=w.useContext($r),{basename:u,navigator:o}=w.useContext(Ta),{matches:c}=w.useContext(Oa),{pathname:f}=Xi(),m=JSON.stringify(yg(c)),y=w.useRef(!1);return Ag(()=>{y.current=!0}),w.useCallback((S,E={})=>{if(xa(y.current,Eg),!y.current)return;if(typeof S=="number"){o.go(S);return}let D=bg(S,JSON.parse(m),f,E.relative==="path");l==null&&u!=="/"&&(D.pathname=D.pathname==="/"?u:tl([u,D.pathname])),(E.replace?o.replace:o.push)(D,E.state,E)},[u,o,m,f,l])}w.createContext(null);function O0(){let{matches:l}=w.useContext(Oa),u=l[l.length-1];return u?u.params:{}}function Du(l,{relative:u}={}){let{matches:o}=w.useContext(Oa),{pathname:c}=Xi(),f=JSON.stringify(yg(o));return w.useMemo(()=>bg(l,JSON.parse(f),c,u==="path"),[l,f,c,u])}function C0(l,u){return xg(l,u)}function xg(l,u,o,c){var W;Pt(wu(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:f,static:m}=w.useContext(Ta),{matches:y}=w.useContext(Oa),b=y[y.length-1],S=b?b.params:{},E=b?b.pathname:"/",D=b?b.pathnameBase:"/",j=b&&b.route;{let P=j&&j.path||"";Tg(E,!j||P.endsWith("*")||P.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${E}" (under <Route path="${P}">) 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="${P}"> to <Route path="${P==="/"?"*":`${P}/*`}">.`)}let z=Xi(),q;if(u){let P=typeof u=="string"?Kr(u):u;Pt(D==="/"||((W=P.pathname)==null?void 0:W.startsWith(D)),`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 "${D}" but pathname "${P.pathname}" was given in the \`location\` prop.`),q=P}else q=z;let L=q.pathname||"/",I=L;if(D!=="/"){let P=D.replace(/^\//,"").split("/");I="/"+L.replace(/^\//,"").split("/").slice(P.length).join("/")}let Q=!m&&o&&o.matches&&o.matches.length>0?o.matches:pg(l,{pathname:I});xa(j||Q!=null,`No routes matched location "${q.pathname}${q.search}${q.hash}" `),xa(Q==null||Q[Q.length-1].route.element!==void 0||Q[Q.length-1].route.Component!==void 0||Q[Q.length-1].route.lazy!==void 0,`Matched leaf route at location "${q.pathname}${q.search}${q.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 H=z0(Q&&Q.map(P=>Object.assign({},P,{params:Object.assign({},S,P.params),pathname:tl([D,f.encodeLocation?f.encodeLocation(P.pathname).pathname:P.pathname]),pathnameBase:P.pathnameBase==="/"?D:tl([D,f.encodeLocation?f.encodeLocation(P.pathnameBase).pathname:P.pathnameBase])})),y,o,c);return u&&H?w.createElement(Cu.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...q},navigationType:"POP"}},H):H}function w0(){let l=H0(),u=b0(l)?`${l.status} ${l.statusText}`:l instanceof Error?l.message:JSON.stringify(l),o=l instanceof Error?l.stack:null,c="rgba(200,200,200, 0.5)",f={padding:"0.5rem",backgroundColor:c},m={padding:"2px 4px",backgroundColor:c},y=null;return console.error("Error handled by React Router default ErrorBoundary:",l),y=w.createElement(w.Fragment,null,w.createElement("p",null,"💿 Hey developer 👋"),w.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",w.createElement("code",{style:m},"ErrorBoundary")," or"," ",w.createElement("code",{style:m},"errorElement")," prop on your route.")),w.createElement(w.Fragment,null,w.createElement("h2",null,"Unexpected Application Error!"),w.createElement("h3",{style:{fontStyle:"italic"}},u),o?w.createElement("pre",{style:f},o):null,y)}var D0=w.createElement(w0,null),M0=class extends w.Component{constructor(l){super(l),this.state={location:l.location,revalidation:l.revalidation,error:l.error}}static getDerivedStateFromError(l){return{error:l}}static getDerivedStateFromProps(l,u){return u.location!==l.location||u.revalidation!=="idle"&&l.revalidation==="idle"?{error:l.error,location:l.location,revalidation:l.revalidation}:{error:l.error!==void 0?l.error:u.error,location:u.location,revalidation:l.revalidation||u.revalidation}}componentDidCatch(l,u){console.error("React Router caught the following error during render",l,u)}render(){return this.state.error!==void 0?w.createElement(Oa.Provider,{value:this.props.routeContext},w.createElement(Id.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function N0({routeContext:l,match:u,children:o}){let c=w.useContext($r);return c&&c.static&&c.staticContext&&(u.route.errorElement||u.route.ErrorBoundary)&&(c.staticContext._deepestRenderedBoundaryId=u.route.id),w.createElement(Oa.Provider,{value:l},o)}function z0(l,u=[],o=null,c=null){if(l==null){if(!o)return null;if(o.errors)l=o.matches;else if(u.length===0&&!o.initialized&&o.matches.length>0)l=o.matches;else return null}let f=l,m=o==null?void 0:o.errors;if(m!=null){let S=f.findIndex(E=>E.route.id&&(m==null?void 0:m[E.route.id])!==void 0);Pt(S>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(m).join(",")}`),f=f.slice(0,Math.min(f.length,S+1))}let y=!1,b=-1;if(o)for(let S=0;S<f.length;S++){let E=f[S];if((E.route.HydrateFallback||E.route.hydrateFallbackElement)&&(b=S),E.route.id){let{loaderData:D,errors:j}=o,z=E.route.loader&&!D.hasOwnProperty(E.route.id)&&(!j||j[E.route.id]===void 0);if(E.route.lazy||z){y=!0,b>=0?f=f.slice(0,b+1):f=[f[0]];break}}}return f.reduceRight((S,E,D)=>{let j,z=!1,q=null,L=null;o&&(j=m&&E.route.id?m[E.route.id]:void 0,q=E.route.errorElement||D0,y&&(b<0&&D===0?(Tg("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),z=!0,L=null):b===D&&(z=!0,L=E.route.hydrateFallbackElement||null)));let I=u.concat(f.slice(0,D+1)),Q=()=>{let H;return j?H=q:z?H=L:E.route.Component?H=w.createElement(E.route.Component,null):E.route.element?H=E.route.element:H=S,w.createElement(N0,{match:E,routeContext:{outlet:S,matches:I,isDataRoute:o!=null},children:H})};return o&&(E.route.ErrorBoundary||E.route.errorElement||D===0)?w.createElement(M0,{location:o.location,revalidation:o.revalidation,component:q,error:j,children:Q(),routeContext:{outlet:null,matches:I,isDataRoute:!0}}):Q()},null)}function th(l){return`${l} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function R0(l){let u=w.useContext($r);return Pt(u,th(l)),u}function L0(l){let u=w.useContext(gc);return Pt(u,th(l)),u}function j0(l){let u=w.useContext(Oa);return Pt(u,th(l)),u}function eh(l){let u=j0(l),o=u.matches[u.matches.length-1];return Pt(o.route.id,`${l} can only be used on routes that contain a unique "id"`),o.route.id}function U0(){return eh("useRouteId")}function H0(){var c;let l=w.useContext(Id),u=L0("useRouteError"),o=eh("useRouteError");return l!==void 0?l:(c=u.errors)==null?void 0:c[o]}function k0(){let{router:l}=R0("useNavigate"),u=eh("useNavigate"),o=w.useRef(!1);return Ag(()=>{o.current=!0}),w.useCallback(async(f,m={})=>{xa(o.current,Eg),o.current&&(typeof f=="number"?l.navigate(f):await l.navigate(f,{fromRouteId:u,...m}))},[l,u])}var wp={};function Tg(l,u,o){!u&&!wp[l]&&(wp[l]=!0,xa(!1,o))}w.memo(B0);function B0({routes:l,future:u,state:o}){return xg(l,void 0,o,u)}function Nd(l){Pt(!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 q0({basename:l="/",children:u=null,location:o,navigationType:c="POP",navigator:f,static:m=!1}){Pt(!wu(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let y=l.replace(/^\/*/,"/"),b=w.useMemo(()=>({basename:y,navigator:f,static:m,future:{}}),[y,f,m]);typeof o=="string"&&(o=Kr(o));let{pathname:S="/",search:E="",hash:D="",state:j=null,key:z="default"}=o,q=w.useMemo(()=>{let L=el(S,y);return L==null?null:{location:{pathname:L,search:E,hash:D,state:j,key:z},navigationType:c}},[y,S,E,D,j,z,c]);return xa(q!=null,`<Router basename="${y}"> is not able to match the URL "${S}${E}${D}" because it does not start with the basename, so the <Router> won't render anything.`),q==null?null:w.createElement(Ta.Provider,{value:b},w.createElement(Cu.Provider,{children:u,value:q}))}function Y0({children:l,location:u}){return C0(zd(l),u)}function zd(l,u=[]){let o=[];return w.Children.forEach(l,(c,f)=>{if(!w.isValidElement(c))return;let m=[...u,f];if(c.type===w.Fragment){o.push.apply(o,zd(c.props.children,m));return}Pt(c.type===Nd,`[${typeof c.type=="string"?c.type:c.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Pt(!c.props.index||!c.props.children,"An index route cannot have child routes.");let y={id:c.props.id||m.join("-"),caseSensitive:c.props.caseSensitive,element:c.props.element,Component:c.props.Component,index:c.props.index,path:c.props.path,loader:c.props.loader,action:c.props.action,hydrateFallbackElement:c.props.hydrateFallbackElement,HydrateFallback:c.props.HydrateFallback,errorElement:c.props.errorElement,ErrorBoundary:c.props.ErrorBoundary,hasErrorBoundary:c.props.hasErrorBoundary===!0||c.props.ErrorBoundary!=null||c.props.errorElement!=null,shouldRevalidate:c.props.shouldRevalidate,handle:c.props.handle,lazy:c.props.lazy};c.props.children&&(y.children=zd(c.props.children,m)),o.push(y)}),o}var sc="get",uc="application/x-www-form-urlencoded";function vc(l){return l!=null&&typeof l.tagName=="string"}function X0(l){return vc(l)&&l.tagName.toLowerCase()==="button"}function G0(l){return vc(l)&&l.tagName.toLowerCase()==="form"}function V0(l){return vc(l)&&l.tagName.toLowerCase()==="input"}function Q0(l){return!!(l.metaKey||l.altKey||l.ctrlKey||l.shiftKey)}function Z0(l,u){return l.button===0&&(!u||u==="_self")&&!Q0(l)}var lc=null;function K0(){if(lc===null)try{new FormData(document.createElement("form"),0),lc=!1}catch{lc=!0}return lc}var $0=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function _d(l){return l!=null&&!$0.has(l)?(xa(!1,`"${l}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${uc}"`),null):l}function F0(l,u){let o,c,f,m,y;if(G0(l)){let b=l.getAttribute("action");c=b?el(b,u):null,o=l.getAttribute("method")||sc,f=_d(l.getAttribute("enctype"))||uc,m=new FormData(l)}else if(X0(l)||V0(l)&&(l.type==="submit"||l.type==="image")){let b=l.form;if(b==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let S=l.getAttribute("formaction")||b.getAttribute("action");if(c=S?el(S,u):null,o=l.getAttribute("formmethod")||b.getAttribute("method")||sc,f=_d(l.getAttribute("formenctype"))||_d(b.getAttribute("enctype"))||uc,m=new FormData(b,l),!K0()){let{name:E,type:D,value:j}=l;if(D==="image"){let z=E?`${E}.`:"";m.append(`${z}x`,"0"),m.append(`${z}y`,"0")}else E&&m.append(E,j)}}else{if(vc(l))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');o=sc,c=null,f=uc,y=l}return m&&f==="text/plain"&&(y=m,m=void 0),{action:c,method:o.toLowerCase(),encType:f,formData:m,body:y}}function nh(l,u){if(l===!1||l===null||typeof l>"u")throw new Error(u)}async function J0(l,u){if(l.id in u)return u[l.id];try{let o=await import(l.module);return u[l.id]=o,o}catch(o){return console.error(`Error loading route module \`${l.module}\`, reloading page...`),console.error(o),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function W0(l){return l==null?!1:l.href==null?l.rel==="preload"&&typeof l.imageSrcSet=="string"&&typeof l.imageSizes=="string":typeof l.rel=="string"&&typeof l.href=="string"}async function P0(l,u,o){let c=await Promise.all(l.map(async f=>{let m=u.routes[f.route.id];if(m){let y=await J0(m,o);return y.links?y.links():[]}return[]}));return nb(c.flat(1).filter(W0).filter(f=>f.rel==="stylesheet"||f.rel==="preload").map(f=>f.rel==="stylesheet"?{...f,rel:"prefetch",as:"style"}:{...f,rel:"prefetch"}))}function Dp(l,u,o,c,f,m){let y=(S,E)=>o[E]?S.route.id!==o[E].route.id:!0,b=(S,E)=>{var D;return o[E].pathname!==S.pathname||((D=o[E].route.path)==null?void 0:D.endsWith("*"))&&o[E].params["*"]!==S.params["*"]};return m==="assets"?u.filter((S,E)=>y(S,E)||b(S,E)):m==="data"?u.filter((S,E)=>{var j;let D=c.routes[S.route.id];if(!D||!D.hasLoader)return!1;if(y(S,E)||b(S,E))return!0;if(S.route.shouldRevalidate){let z=S.route.shouldRevalidate({currentUrl:new URL(f.pathname+f.search+f.hash,window.origin),currentParams:((j=o[0])==null?void 0:j.params)||{},nextUrl:new URL(l,window.origin),nextParams:S.params,defaultShouldRevalidate:!0});if(typeof z=="boolean")return z}return!0}):[]}function I0(l,u,{includeHydrateFallback:o}={}){return tb(l.map(c=>{let f=u.routes[c.route.id];if(!f)return[];let m=[f.module];return f.clientActionModule&&(m=m.concat(f.clientActionModule)),f.clientLoaderModule&&(m=m.concat(f.clientLoaderModule)),o&&f.hydrateFallbackModule&&(m=m.concat(f.hydrateFallbackModule)),f.imports&&(m=m.concat(f.imports)),m}).flat(1))}function tb(l){return[...new Set(l)]}function eb(l){let u={},o=Object.keys(l).sort();for(let c of o)u[c]=l[c];return u}function nb(l,u){let o=new Set;return new Set(u),l.reduce((c,f)=>{let m=JSON.stringify(eb(f));return o.has(m)||(o.add(m),c.push({key:m,link:f})),c},[])}function ab(l,u){let o=typeof l=="string"?new URL(l,typeof window>"u"?"server://singlefetch/":window.location.origin):l;return o.pathname==="/"?o.pathname="_root.data":u&&el(o.pathname,u)==="/"?o.pathname=`${u.replace(/\/$/,"")}/_root.data`:o.pathname=`${o.pathname.replace(/\/$/,"")}.data`,o}function Og(){let l=w.useContext($r);return nh(l,"You must render this element inside a <DataRouterContext.Provider> element"),l}function lb(){let l=w.useContext(gc);return nh(l,"You must render this element inside a <DataRouterStateContext.Provider> element"),l}var ah=w.createContext(void 0);ah.displayName="FrameworkContext";function Cg(){let l=w.useContext(ah);return nh(l,"You must render this element inside a <HydratedRouter> element"),l}function ib(l,u){let o=w.useContext(ah),[c,f]=w.useState(!1),[m,y]=w.useState(!1),{onFocus:b,onBlur:S,onMouseEnter:E,onMouseLeave:D,onTouchStart:j}=u,z=w.useRef(null);w.useEffect(()=>{if(l==="render"&&y(!0),l==="viewport"){let I=H=>{H.forEach(W=>{y(W.isIntersecting)})},Q=new IntersectionObserver(I,{threshold:.5});return z.current&&Q.observe(z.current),()=>{Q.disconnect()}}},[l]),w.useEffect(()=>{if(c){let I=setTimeout(()=>{y(!0)},100);return()=>{clearTimeout(I)}}},[c]);let q=()=>{f(!0)},L=()=>{f(!1),y(!1)};return o?l!=="intent"?[m,z,{}]:[m,z,{onFocus:_u(b,q),onBlur:_u(S,L),onMouseEnter:_u(E,q),onMouseLeave:_u(D,L),onTouchStart:_u(j,q)}]:[!1,z,{}]}function _u(l,u){return o=>{l&&l(o),o.defaultPrevented||u(o)}}function rb({page:l,...u}){let{router:o}=Og(),c=w.useMemo(()=>pg(o.routes,l,o.basename),[o.routes,l,o.basename]);return c?w.createElement(ub,{page:l,matches:c,...u}):null}function sb(l){let{manifest:u,routeModules:o}=Cg(),[c,f]=w.useState([]);return w.useEffect(()=>{let m=!1;return P0(l,u,o).then(y=>{m||f(y)}),()=>{m=!0}},[l,u,o]),c}function ub({page:l,matches:u,...o}){let c=Xi(),{manifest:f,routeModules:m}=Cg(),{basename:y}=Og(),{loaderData:b,matches:S}=lb(),E=w.useMemo(()=>Dp(l,u,S,f,c,"data"),[l,u,S,f,c]),D=w.useMemo(()=>Dp(l,u,S,f,c,"assets"),[l,u,S,f,c]),j=w.useMemo(()=>{if(l===c.pathname+c.search+c.hash)return[];let L=new Set,I=!1;if(u.forEach(H=>{var P;let W=f.routes[H.route.id];!W||!W.hasLoader||(!E.some(bt=>bt.route.id===H.route.id)&&H.route.id in b&&((P=m[H.route.id])!=null&&P.shouldRevalidate)||W.hasClientLoader?I=!0:L.add(H.route.id))}),L.size===0)return[];let Q=ab(l,y);return I&&L.size>0&&Q.searchParams.set("_routes",u.filter(H=>L.has(H.route.id)).map(H=>H.route.id).join(",")),[Q.pathname+Q.search]},[y,b,c,f,E,u,l,m]),z=w.useMemo(()=>I0(D,f),[D,f]),q=sb(D);return w.createElement(w.Fragment,null,j.map(L=>w.createElement("link",{key:L,rel:"prefetch",as:"fetch",href:L,...o})),z.map(L=>w.createElement("link",{key:L,rel:"modulepreload",href:L,...o})),q.map(({key:L,link:I})=>w.createElement("link",{key:L,...I})))}function ob(...l){return u=>{l.forEach(o=>{typeof o=="function"?o(u):o!=null&&(o.current=u)})}}var wg=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{wg&&(window.__reactRouterVersion="7.3.0")}catch{}function cb({basename:l,children:u,window:o}){let c=w.useRef();c.current==null&&(c.current=Wy({window:o,v5Compat:!0}));let f=c.current,[m,y]=w.useState({action:f.action,location:f.location}),b=w.useCallback(S=>{w.startTransition(()=>y(S))},[y]);return w.useLayoutEffect(()=>f.listen(b),[f,b]),w.createElement(q0,{basename:l,children:u,location:m.location,navigationType:m.action,navigator:f})}var Dg=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Mg=w.forwardRef(function({onClick:u,discover:o="render",prefetch:c="none",relative:f,reloadDocument:m,replace:y,state:b,target:S,to:E,preventScrollReset:D,viewTransition:j,...z},q){let{basename:L}=w.useContext(Ta),I=typeof E=="string"&&Dg.test(E),Q,H=!1;if(typeof E=="string"&&I&&(Q=E,wg))try{let lt=new URL(window.location.href),St=E.startsWith("//")?new URL(lt.protocol+E):new URL(E),$e=el(St.pathname,L);St.origin===lt.origin&&$e!=null?E=$e+St.search+St.hash:H=!0}catch{xa(!1,`<Link to="${E}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let W=A0(E,{relative:f}),[P,bt,Ot]=ib(c,z),It=mb(E,{replace:y,state:b,target:S,preventScrollReset:D,relative:f,viewTransition:j});function de(lt){u&&u(lt),lt.defaultPrevented||It(lt)}let ue=w.createElement("a",{...z,...Ot,href:Q||W,onClick:H||m?u:de,ref:ob(q,bt),target:S,"data-discover":!I&&o==="render"?"true":void 0});return P&&!I?w.createElement(w.Fragment,null,ue,w.createElement(rb,{page:W})):ue});Mg.displayName="Link";var fb=w.forwardRef(function({"aria-current":u="page",caseSensitive:o=!1,className:c="",end:f=!1,style:m,to:y,viewTransition:b,children:S,...E},D){let j=Du(y,{relative:E.relative}),z=Xi(),q=w.useContext(gc),{navigator:L,basename:I}=w.useContext(Ta),Q=q!=null&&bb(j)&&b===!0,H=L.encodeLocation?L.encodeLocation(j).pathname:j.pathname,W=z.pathname,P=q&&q.navigation&&q.navigation.location?q.navigation.location.pathname:null;o||(W=W.toLowerCase(),P=P?P.toLowerCase():null,H=H.toLowerCase()),P&&I&&(P=el(P,I)||P);const bt=H!=="/"&&H.endsWith("/")?H.length-1:H.length;let Ot=W===H||!f&&W.startsWith(H)&&W.charAt(bt)==="/",It=P!=null&&(P===H||!f&&P.startsWith(H)&&P.charAt(H.length)==="/"),de={isActive:Ot,isPending:It,isTransitioning:Q},ue=Ot?u:void 0,lt;typeof c=="function"?lt=c(de):lt=[c,Ot?"active":null,It?"pending":null,Q?"transitioning":null].filter(Boolean).join(" ");let St=typeof m=="function"?m(de):m;return w.createElement(Mg,{...E,"aria-current":ue,className:lt,ref:D,style:St,to:y,viewTransition:b},typeof S=="function"?S(de):S)});fb.displayName="NavLink";var db=w.forwardRef(({discover:l="render",fetcherKey:u,navigate:o,reloadDocument:c,replace:f,state:m,method:y=sc,action:b,onSubmit:S,relative:E,preventScrollReset:D,viewTransition:j,...z},q)=>{let L=vb(),I=yb(b,{relative:E}),Q=y.toLowerCase()==="get"?"get":"post",H=typeof b=="string"&&Dg.test(b),W=P=>{if(S&&S(P),P.defaultPrevented)return;P.preventDefault();let bt=P.nativeEvent.submitter,Ot=(bt==null?void 0:bt.getAttribute("formmethod"))||y;L(bt||P.currentTarget,{fetcherKey:u,method:Ot,navigate:o,replace:f,state:m,relative:E,preventScrollReset:D,viewTransition:j})};return w.createElement("form",{ref:q,method:Q,action:I,onSubmit:c?S:W,...z,"data-discover":!H&&l==="render"?"true":void 0})});db.displayName="Form";function hb(l){return`${l} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Ng(l){let u=w.useContext($r);return Pt(u,hb(l)),u}function mb(l,{target:u,replace:o,state:c,preventScrollReset:f,relative:m,viewTransition:y}={}){let b=x0(),S=Xi(),E=Du(l,{relative:m});return w.useCallback(D=>{if(Z0(D,u)){D.preventDefault();let j=o!==void 0?o:xu(S)===xu(E);b(l,{replace:j,state:c,preventScrollReset:f,relative:m,viewTransition:y})}},[S,b,E,o,c,u,l,f,m,y])}var pb=0,gb=()=>`__${String(++pb)}__`;function vb(){let{router:l}=Ng("useSubmit"),{basename:u}=w.useContext(Ta),o=U0();return w.useCallback(async(c,f={})=>{let{action:m,method:y,encType:b,formData:S,body:E}=F0(c,u);if(f.navigate===!1){let D=f.fetcherKey||gb();await l.fetch(D,o,f.action||m,{preventScrollReset:f.preventScrollReset,formData:S,body:E,formMethod:f.method||y,formEncType:f.encType||b,flushSync:f.flushSync})}else await l.navigate(f.action||m,{preventScrollReset:f.preventScrollReset,formData:S,body:E,formMethod:f.method||y,formEncType:f.encType||b,replace:f.replace,state:f.state,fromRouteId:o,flushSync:f.flushSync,viewTransition:f.viewTransition})},[l,u,o])}function yb(l,{relative:u}={}){let{basename:o}=w.useContext(Ta),c=w.useContext(Oa);Pt(c,"useFormAction must be used inside a RouteContext");let[f]=c.matches.slice(-1),m={...Du(l||".",{relative:u})},y=Xi();if(l==null){m.search=y.search;let b=new URLSearchParams(m.search),S=b.getAll("index");if(S.some(D=>D==="")){b.delete("index"),S.filter(j=>j).forEach(j=>b.append("index",j));let D=b.toString();m.search=D?`?${D}`:""}}return(!l||l===".")&&f.route.index&&(m.search=m.search?m.search.replace(/^\?/,"?index&"):"?index"),o!=="/"&&(m.pathname=m.pathname==="/"?o:tl([o,m.pathname])),xu(m)}function bb(l,u={}){let o=w.useContext(Sg);Pt(o!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:c}=Ng("useViewTransitionState"),f=Du(l,{relative:u.relative});if(!o.isTransitioning)return!1;let m=el(o.currentLocation.pathname,c)||o.currentLocation.pathname,y=el(o.nextLocation.pathname,c)||o.nextLocation.pathname;return dc(f.pathname,y)!=null||dc(f.pathname,m)!=null}new TextEncoder;var _b=mg(),oc={exports:{}};/*!
  * Bootstrap v5.3.3 (https://getbootstrap.com/)
  * Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
  */var Sb=oc.exports,Mp;function Eb(){return Mp||(Mp=1,function(l,u){(function(o,c){l.exports=c()})(Sb,function(){const o=new Map,c={set(p,r,d){o.has(p)||o.set(p,new Map);const v=o.get(p);v.has(r)||v.size===0?v.set(r,d):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(v.keys())[0]}.`)},get:(p,r)=>o.has(p)&&o.get(p).get(r)||null,remove(p,r){if(!o.has(p))return;const d=o.get(p);d.delete(r),d.size===0&&o.delete(p)}},f="transitionend",m=p=>(p&&window.CSS&&window.CSS.escape&&(p=p.replace(/#([^\s"#']+)/g,(r,d)=>`#${CSS.escape(d)}`)),p),y=p=>{p.dispatchEvent(new Event(f))},b=p=>!(!p||typeof p!="object")&&(p.jquery!==void 0&&(p=p[0]),p.nodeType!==void 0),S=p=>b(p)?p.jquery?p[0]:p:typeof p=="string"&&p.length>0?document.querySelector(m(p)):null,E=p=>{if(!b(p)||p.getClientRects().length===0)return!1;const r=getComputedStyle(p).getPropertyValue("visibility")==="visible",d=p.closest("details:not([open])");if(!d)return r;if(d!==p){const v=p.closest("summary");if(v&&v.parentNode!==d||v===null)return!1}return r},D=p=>!p||p.nodeType!==Node.ELEMENT_NODE||!!p.classList.contains("disabled")||(p.disabled!==void 0?p.disabled:p.hasAttribute("disabled")&&p.getAttribute("disabled")!=="false"),j=p=>{if(!document.documentElement.attachShadow)return null;if(typeof p.getRootNode=="function"){const r=p.getRootNode();return r instanceof ShadowRoot?r:null}return p instanceof ShadowRoot?p:p.parentNode?j(p.parentNode):null},z=()=>{},q=p=>{p.offsetHeight},L=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,I=[],Q=()=>document.documentElement.dir==="rtl",H=p=>{var r;r=()=>{const d=L();if(d){const v=p.NAME,A=d.fn[v];d.fn[v]=p.jQueryInterface,d.fn[v].Constructor=p,d.fn[v].noConflict=()=>(d.fn[v]=A,p.jQueryInterface)}},document.readyState==="loading"?(I.length||document.addEventListener("DOMContentLoaded",()=>{for(const d of I)d()}),I.push(r)):r()},W=(p,r=[],d=p)=>typeof p=="function"?p(...r):d,P=(p,r,d=!0)=>{if(!d)return void W(p);const v=(R=>{if(!R)return 0;let{transitionDuration:X,transitionDelay:J}=window.getComputedStyle(R);const V=Number.parseFloat(X),K=Number.parseFloat(J);return V||K?(X=X.split(",")[0],J=J.split(",")[0],1e3*(Number.parseFloat(X)+Number.parseFloat(J))):0})(r)+5;let A=!1;const O=({target:R})=>{R===r&&(A=!0,r.removeEventListener(f,O),W(p))};r.addEventListener(f,O),setTimeout(()=>{A||y(r)},v)},bt=(p,r,d,v)=>{const A=p.length;let O=p.indexOf(r);return O===-1?!d&&v?p[A-1]:p[0]:(O+=d?1:-1,v&&(O=(O+A)%A),p[Math.max(0,Math.min(O,A-1))])},Ot=/[^.]*(?=\..*)\.|.*/,It=/\..*/,de=/::\d+$/,ue={};let lt=1;const St={mouseenter:"mouseover",mouseleave:"mouseout"},$e=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 il(p,r){return r&&`${r}::${lt++}`||p.uidEvent||lt++}function Fn(p){const r=il(p);return p.uidEvent=r,ue[r]=ue[r]||{},ue[r]}function Jn(p,r,d=null){return Object.values(p).find(v=>v.callable===r&&v.delegationSelector===d)}function Wn(p,r,d){const v=typeof r=="string",A=v?d:r||d;let O=Bt(p);return $e.has(O)||(O=p),[v,A,O]}function tt(p,r,d,v,A){if(typeof r!="string"||!p)return;let[O,R,X]=Wn(r,d,v);r in St&&(R=(ct=>function(ft){if(!ft.relatedTarget||ft.relatedTarget!==ft.delegateTarget&&!ft.delegateTarget.contains(ft.relatedTarget))return ct.call(this,ft)})(R));const J=Fn(p),V=J[X]||(J[X]={}),K=Jn(V,R,O?d:null);if(K)return void(K.oneOff=K.oneOff&&A);const $=il(R,r.replace(Ot,"")),pt=O?function(ut,ct,ft){return function dt(wt){const Ht=ut.querySelectorAll(ct);for(let{target:it}=wt;it&&it!==this;it=it.parentNode)for(const Dt of Ht)if(Dt===it)return Pn(wt,{delegateTarget:it}),dt.oneOff&&k.off(ut,wt.type,ct,ft),ft.apply(it,[wt])}}(p,d,R):function(ut,ct){return function ft(dt){return Pn(dt,{delegateTarget:ut}),ft.oneOff&&k.off(ut,dt.type,ct),ct.apply(ut,[dt])}}(p,R);pt.delegationSelector=O?d:null,pt.callable=R,pt.oneOff=A,pt.uidEvent=$,V[$]=pt,p.addEventListener(X,pt,O)}function gt(p,r,d,v,A){const O=Jn(r[d],v,A);O&&(p.removeEventListener(d,O,!!A),delete r[d][O.uidEvent])}function mt(p,r,d,v){const A=r[d]||{};for(const[O,R]of Object.entries(A))O.includes(v)&&gt(p,r,d,R.callable,R.delegationSelector)}function Bt(p){return p=p.replace(It,""),St[p]||p}const k={on(p,r,d,v){tt(p,r,d,v,!1)},one(p,r,d,v){tt(p,r,d,v,!0)},off(p,r,d,v){if(typeof r!="string"||!p)return;const[A,O,R]=Wn(r,d,v),X=R!==r,J=Fn(p),V=J[R]||{},K=r.startsWith(".");if(O===void 0){if(K)for(const $ of Object.keys(J))mt(p,J,$,r.slice(1));for(const[$,pt]of Object.entries(V)){const ut=$.replace(de,"");X&&!r.includes(ut)||gt(p,J,R,pt.callable,pt.delegationSelector)}}else{if(!Object.keys(V).length)return;gt(p,J,R,O,A?d:null)}},trigger(p,r,d){if(typeof r!="string"||!p)return null;const v=L();let A=null,O=!0,R=!0,X=!1;r!==Bt(r)&&v&&(A=v.Event(r,d),v(p).trigger(A),O=!A.isPropagationStopped(),R=!A.isImmediatePropagationStopped(),X=A.isDefaultPrevented());const J=Pn(new Event(r,{bubbles:O,cancelable:!0}),d);return X&&J.preventDefault(),R&&p.dispatchEvent(J),J.defaultPrevented&&A&&A.preventDefault(),J}};function Pn(p,r={}){for(const[d,v]of Object.entries(r))try{p[d]=v}catch{Object.defineProperty(p,d,{configurable:!0,get:()=>v})}return p}function In(p){if(p==="true")return!0;if(p==="false")return!1;if(p===Number(p).toString())return Number(p);if(p===""||p==="null")return null;if(typeof p!="string")return p;try{return JSON.parse(decodeURIComponent(p))}catch{return p}}function an(p){return p.replace(/[A-Z]/g,r=>`-${r.toLowerCase()}`)}const _t={setDataAttribute(p,r,d){p.setAttribute(`data-bs-${an(r)}`,d)},removeDataAttribute(p,r){p.removeAttribute(`data-bs-${an(r)}`)},getDataAttributes(p){if(!p)return{};const r={},d=Object.keys(p.dataset).filter(v=>v.startsWith("bs")&&!v.startsWith("bsConfig"));for(const v of d){let A=v.replace(/^bs/,"");A=A.charAt(0).toLowerCase()+A.slice(1,A.length),r[A]=In(p.dataset[v])}return r},getDataAttribute:(p,r)=>In(p.getAttribute(`data-bs-${an(r)}`))};class me{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(r){return r=this._mergeConfigObj(r),r=this._configAfterMerge(r),this._typeCheckConfig(r),r}_configAfterMerge(r){return r}_mergeConfigObj(r,d){const v=b(d)?_t.getDataAttribute(d,"config"):{};return{...this.constructor.Default,...typeof v=="object"?v:{},...b(d)?_t.getDataAttributes(d):{},...typeof r=="object"?r:{}}}_typeCheckConfig(r,d=this.constructor.DefaultType){for(const[A,O]of Object.entries(d)){const R=r[A],X=b(R)?"element":(v=R)==null?`${v}`:Object.prototype.toString.call(v).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(O).test(X))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${A}" provided type "${X}" but expected type "${O}".`)}var v}}class He extends me{constructor(r,d){super(),(r=S(r))&&(this._element=r,this._config=this._getConfig(d),c.set(this._element,this.constructor.DATA_KEY,this))}dispose(){c.remove(this._element,this.constructor.DATA_KEY),k.off(this._element,this.constructor.EVENT_KEY);for(const r of Object.getOwnPropertyNames(this))this[r]=null}_queueCallback(r,d,v=!0){P(r,d,v)}_getConfig(r){return r=this._mergeConfigObj(r,this._element),r=this._configAfterMerge(r),this._typeCheckConfig(r),r}static getInstance(r){return c.get(S(r),this.DATA_KEY)}static getOrCreateInstance(r,d={}){return this.getInstance(r)||new this(r,typeof d=="object"?d:null)}static get VERSION(){return"5.3.3"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(r){return`${r}${this.EVENT_KEY}`}}const ta=p=>{let r=p.getAttribute("data-bs-target");if(!r||r==="#"){let d=p.getAttribute("href");if(!d||!d.includes("#")&&!d.startsWith("."))return null;d.includes("#")&&!d.startsWith("#")&&(d=`#${d.split("#")[1]}`),r=d&&d!=="#"?d.trim():null}return r?r.split(",").map(d=>m(d)).join(","):null},nt={find:(p,r=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(r,p)),findOne:(p,r=document.documentElement)=>Element.prototype.querySelector.call(r,p),children:(p,r)=>[].concat(...p.children).filter(d=>d.matches(r)),parents(p,r){const d=[];let v=p.parentNode.closest(r);for(;v;)d.push(v),v=v.parentNode.closest(r);return d},prev(p,r){let d=p.previousElementSibling;for(;d;){if(d.matches(r))return[d];d=d.previousElementSibling}return[]},next(p,r){let d=p.nextElementSibling;for(;d;){if(d.matches(r))return[d];d=d.nextElementSibling}return[]},focusableChildren(p){const r=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(d=>`${d}:not([tabindex^="-"])`).join(",");return this.find(r,p).filter(d=>!D(d)&&E(d))},getSelectorFromElement(p){const r=ta(p);return r&&nt.findOne(r)?r:null},getElementFromSelector(p){const r=ta(p);return r?nt.findOne(r):null},getMultipleElementsFromSelector(p){const r=ta(p);return r?nt.find(r):[]}},Ft=(p,r="hide")=>{const d=`click.dismiss${p.EVENT_KEY}`,v=p.NAME;k.on(document,d,`[data-bs-dismiss="${v}"]`,function(A){if(["A","AREA"].includes(this.tagName)&&A.preventDefault(),D(this))return;const O=nt.getElementFromSelector(this)||this.closest(`.${v}`);p.getOrCreateInstance(O)[r]()})},qt=".bs.alert",vn=`close${qt}`,Wl=`closed${qt}`;class Fe extends He{static get NAME(){return"alert"}close(){if(k.trigger(this._element,vn).defaultPrevented)return;this._element.classList.remove("show");const r=this._element.classList.contains("fade");this._queueCallback(()=>this._destroyElement(),this._element,r)}_destroyElement(){this._element.remove(),k.trigger(this._element,Wl),this.dispose()}static jQueryInterface(r){return this.each(function(){const d=Fe.getOrCreateInstance(this);if(typeof r=="string"){if(d[r]===void 0||r.startsWith("_")||r==="constructor")throw new TypeError(`No method named "${r}"`);d[r](this)}})}}Ft(Fe,"close"),H(Fe);const Pl='[data-bs-toggle="button"]';class ea extends He{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(r){return this.each(function(){const d=ea.getOrCreateInstance(this);r==="toggle"&&d[r]()})}}k.on(document,"click.bs.button.data-api",Pl,p=>{p.preventDefault();const r=p.target.closest(Pl);ea.getOrCreateInstance(r).toggle()}),H(ea);const ln=".bs.swipe",Wr=`touchstart${ln}`,Gi=`touchmove${ln}`,Pr=`touchend${ln}`,Ir=`pointerdown${ln}`,ts=`pointerup${ln}`,Cc={endCallback:null,leftCallback:null,rightCallback:null},wc={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class ke extends me{constructor(r,d){super(),this._element=r,r&&ke.isSupported()&&(this._config=this._getConfig(d),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return Cc}static get DefaultType(){return wc}static get NAME(){return"swipe"}dispose(){k.off(this._element,ln)}_start(r){this._supportPointerEvents?this._eventIsPointerPenTouch(r)&&(this._deltaX=r.clientX):this._deltaX=r.touches[0].clientX}_end(r){this._eventIsPointerPenTouch(r)&&(this._deltaX=r.clientX-this._deltaX),this._handleSwipe(),W(this._config.endCallback)}_move(r){this._deltaX=r.touches&&r.touches.length>1?0:r.touches[0].clientX-this._deltaX}_handleSwipe(){const r=Math.abs(this._deltaX);if(r<=40)return;const d=r/this._deltaX;this._deltaX=0,d&&W(d>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(k.on(this._element,Ir,r=>this._start(r)),k.on(this._element,ts,r=>this._end(r)),this._element.classList.add("pointer-event")):(k.on(this._element,Wr,r=>this._start(r)),k.on(this._element,Gi,r=>this._move(r)),k.on(this._element,Pr,r=>this._end(r)))}_eventIsPointerPenTouch(r){return this._supportPointerEvents&&(r.pointerType==="pen"||r.pointerType==="touch")}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const na=".bs.carousel",es=".data-api",rl="next",Ln="prev",sl="left",Il="right",Dc=`slide${na}`,ns=`slid${na}`,ti=`keydown${na}`,Be=`mouseenter${na}`,Mc=`mouseleave${na}`,aa=`dragstart${na}`,qe=`load${na}${es}`,Nc=`click${na}${es}`,Lu="carousel",Vi="active",ei=".active",ni=".carousel-item",Ca=ei+ni,Qi={ArrowLeft:Il,ArrowRight:sl},ai={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},zc={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class wa extends He{constructor(r,d){super(r,d),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=nt.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===Lu&&this.cycle()}static get Default(){return ai}static get DefaultType(){return zc}static get NAME(){return"carousel"}next(){this._slide(rl)}nextWhenVisible(){!document.hidden&&E(this._element)&&this.next()}prev(){this._slide(Ln)}pause(){this._isSliding&&y(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?k.one(this._element,ns,()=>this.cycle()):this.cycle())}to(r){const d=this._getItems();if(r>d.length-1||r<0)return;if(this._isSliding)return void k.one(this._element,ns,()=>this.to(r));const v=this._getItemIndex(this._getActive());if(v===r)return;const A=r>v?rl:Ln;this._slide(A,d[r])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(r){return r.defaultInterval=r.interval,r}_addEventListeners(){this._config.keyboard&&k.on(this._element,ti,r=>this._keydown(r)),this._config.pause==="hover"&&(k.on(this._element,Be,()=>this.pause()),k.on(this._element,Mc,()=>this._maybeEnableCycle())),this._config.touch&&ke.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const d of nt.find(".carousel-item img",this._element))k.on(d,aa,v=>v.preventDefault());const r={leftCallback:()=>this._slide(this._directionToOrder(sl)),rightCallback:()=>this._slide(this._directionToOrder(Il)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}};this._swipeHelper=new ke(this._element,r)}_keydown(r){if(/input|textarea/i.test(r.target.tagName))return;const d=Qi[r.key];d&&(r.preventDefault(),this._slide(this._directionToOrder(d)))}_getItemIndex(r){return this._getItems().indexOf(r)}_setActiveIndicatorElement(r){if(!this._indicatorsElement)return;const d=nt.findOne(ei,this._indicatorsElement);d.classList.remove(Vi),d.removeAttribute("aria-current");const v=nt.findOne(`[data-bs-slide-to="${r}"]`,this._indicatorsElement);v&&(v.classList.add(Vi),v.setAttribute("aria-current","true"))}_updateInterval(){const r=this._activeElement||this._getActive();if(!r)return;const d=Number.parseInt(r.getAttribute("data-bs-interval"),10);this._config.interval=d||this._config.defaultInterval}_slide(r,d=null){if(this._isSliding)return;const v=this._getActive(),A=r===rl,O=d||bt(this._getItems(),v,A,this._config.wrap);if(O===v)return;const R=this._getItemIndex(O),X=$=>k.trigger(this._element,$,{relatedTarget:O,direction:this._orderToDirection(r),from:this._getItemIndex(v),to:R});if(X(Dc).defaultPrevented||!v||!O)return;const J=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(R),this._activeElement=O;const V=A?"carousel-item-start":"carousel-item-end",K=A?"carousel-item-next":"carousel-item-prev";O.classList.add(K),q(O),v.classList.add(V),O.classList.add(V),this._queueCallback(()=>{O.classList.remove(V,K),O.classList.add(Vi),v.classList.remove(Vi,K,V),this._isSliding=!1,X(ns)},v,this._isAnimated()),J&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return nt.findOne(Ca,this._element)}_getItems(){return nt.find(ni,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(r){return Q()?r===sl?Ln:rl:r===sl?rl:Ln}_orderToDirection(r){return Q()?r===Ln?sl:Il:r===Ln?Il:sl}static jQueryInterface(r){return this.each(function(){const d=wa.getOrCreateInstance(this,r);if(typeof r!="number"){if(typeof r=="string"){if(d[r]===void 0||r.startsWith("_")||r==="constructor")throw new TypeError(`No method named "${r}"`);d[r]()}}else d.to(r)})}}k.on(document,Nc,"[data-bs-slide], [data-bs-slide-to]",function(p){const r=nt.getElementFromSelector(this);if(!r||!r.classList.contains(Lu))return;p.preventDefault();const d=wa.getOrCreateInstance(r),v=this.getAttribute("data-bs-slide-to");return v?(d.to(v),void d._maybeEnableCycle()):_t.getDataAttribute(this,"slide")==="next"?(d.next(),void d._maybeEnableCycle()):(d.prev(),void d._maybeEnableCycle())}),k.on(window,qe,()=>{const p=nt.find('[data-bs-ride="carousel"]');for(const r of p)wa.getOrCreateInstance(r)}),H(wa);const ul=".bs.collapse",as=`show${ul}`,li=`shown${ul}`,Rc=`hide${ul}`,ju=`hidden${ul}`,Uu=`click${ul}.data-api`,Zi="show",Da="collapse",Ki="collapsing",la=`:scope .${Da} .${Da}`,oe='[data-bs-toggle="collapse"]',Me={parent:null,toggle:!0},ol={parent:"(null|element)",toggle:"boolean"};class ia extends He{constructor(r,d){super(r,d),this._isTransitioning=!1,this._triggerArray=[];const v=nt.find(oe);for(const A of v){const O=nt.getSelectorFromElement(A),R=nt.find(O).filter(X=>X===this._element);O!==null&&R.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 Me}static get DefaultType(){return ol}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let r=[];if(this._config.parent&&(r=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(A=>A!==this._element).map(A=>ia.getOrCreateInstance(A,{toggle:!1}))),r.length&&r[0]._isTransitioning||k.trigger(this._element,as).defaultPrevented)return;for(const A of r)A.hide();const d=this._getDimension();this._element.classList.remove(Da),this._element.classList.add(Ki),this._element.style[d]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const v=`scroll${d[0].toUpperCase()+d.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Ki),this._element.classList.add(Da,Zi),this._element.style[d]="",k.trigger(this._element,li)},this._element,!0),this._element.style[d]=`${this._element[v]}px`}hide(){if(this._isTransitioning||!this._isShown()||k.trigger(this._element,Rc).defaultPrevented)return;const r=this._getDimension();this._element.style[r]=`${this._element.getBoundingClientRect()[r]}px`,q(this._element),this._element.classList.add(Ki),this._element.classList.remove(Da,Zi);for(const d of this._triggerArray){const v=nt.getElementFromSelector(d);v&&!this._isShown(v)&&this._addAriaAndCollapsedClass([d],!1)}this._isTransitioning=!0,this._element.style[r]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Ki),this._element.classList.add(Da),k.trigger(this._element,ju)},this._element,!0)}_isShown(r=this._element){return r.classList.contains(Zi)}_configAfterMerge(r){return r.toggle=!!r.toggle,r.parent=S(r.parent),r}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const r=this._getFirstLevelChildren(oe);for(const d of r){const v=nt.getElementFromSelector(d);v&&this._addAriaAndCollapsedClass([d],this._isShown(v))}}_getFirstLevelChildren(r){const d=nt.find(la,this._config.parent);return nt.find(r,this._config.parent).filter(v=>!d.includes(v))}_addAriaAndCollapsedClass(r,d){if(r.length)for(const v of r)v.classList.toggle("collapsed",!d),v.setAttribute("aria-expanded",d)}static jQueryInterface(r){const d={};return typeof r=="string"&&/show|hide/.test(r)&&(d.toggle=!1),this.each(function(){const v=ia.getOrCreateInstance(this,d);if(typeof r=="string"){if(v[r]===void 0)throw new TypeError(`No method named "${r}"`);v[r]()}})}}k.on(document,Uu,oe,function(p){(p.target.tagName==="A"||p.delegateTarget&&p.delegateTarget.tagName==="A")&&p.preventDefault();for(const r of nt.getMultipleElementsFromSelector(this))ia.getOrCreateInstance(r,{toggle:!1}).toggle()}),H(ia);var Ee="top",Ye="bottom",Ne="right",ie="left",cl="auto",Je=[Ee,Ye,Ne,ie],We="start",yn="end",Ma="clippingParents",te="viewport",Na="popper",ls="reference",jn=Je.reduce(function(p,r){return p.concat([r+"-"+We,r+"-"+yn])},[]),ra=[].concat(Je,[cl]).reduce(function(p,r){return p.concat([r,r+"-"+We,r+"-"+yn])},[]),bn="beforeRead",Hu="read",is="afterRead",rs="beforeMain",ku="main",ii="afterMain",ri="beforeWrite",_n="write",Xe="afterWrite",ss=[bn,Hu,is,rs,ku,ii,ri,_n,Xe];function Sn(p){return p?(p.nodeName||"").toLowerCase():null}function pe(p){if(p==null)return window;if(p.toString()!=="[object Window]"){var r=p.ownerDocument;return r&&r.defaultView||window}return p}function sa(p){return p instanceof pe(p).Element||p instanceof Element}function Ae(p){return p instanceof pe(p).HTMLElement||p instanceof HTMLElement}function us(p){return typeof ShadowRoot<"u"&&(p instanceof pe(p).ShadowRoot||p instanceof ShadowRoot)}const ze={name:"applyStyles",enabled:!0,phase:"write",fn:function(p){var r=p.state;Object.keys(r.elements).forEach(function(d){var v=r.styles[d]||{},A=r.attributes[d]||{},O=r.elements[d];Ae(O)&&Sn(O)&&(Object.assign(O.style,v),Object.keys(A).forEach(function(R){var X=A[R];X===!1?O.removeAttribute(R):O.setAttribute(R,X===!0?"":X)}))})},effect:function(p){var r=p.state,d={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(r.elements.popper.style,d.popper),r.styles=d,r.elements.arrow&&Object.assign(r.elements.arrow.style,d.arrow),function(){Object.keys(r.elements).forEach(function(v){var A=r.elements[v],O=r.attributes[v]||{},R=Object.keys(r.styles.hasOwnProperty(v)?r.styles[v]:d[v]).reduce(function(X,J){return X[J]="",X},{});Ae(A)&&Sn(A)&&(Object.assign(A.style,R),Object.keys(O).forEach(function(X){A.removeAttribute(X)}))})}},requires:["computeStyles"]};function Pe(p){return p.split("-")[0]}var ua=Math.max,fl=Math.min,rn=Math.round;function $i(){var p=navigator.userAgentData;return p!=null&&p.brands&&Array.isArray(p.brands)?p.brands.map(function(r){return r.brand+"/"+r.version}).join(" "):navigator.userAgent}function os(){return!/^((?!chrome|android).)*safari/i.test($i())}function sn(p,r,d){r===void 0&&(r=!1),d===void 0&&(d=!1);var v=p.getBoundingClientRect(),A=1,O=1;r&&Ae(p)&&(A=p.offsetWidth>0&&rn(v.width)/p.offsetWidth||1,O=p.offsetHeight>0&&rn(v.height)/p.offsetHeight||1);var R=(sa(p)?pe(p):window).visualViewport,X=!os()&&d,J=(v.left+(X&&R?R.offsetLeft:0))/A,V=(v.top+(X&&R?R.offsetTop:0))/O,K=v.width/A,$=v.height/O;return{width:K,height:$,top:V,right:J+K,bottom:V+$,left:J,x:J,y:V}}function cs(p){var r=sn(p),d=p.offsetWidth,v=p.offsetHeight;return Math.abs(r.width-d)<=1&&(d=r.width),Math.abs(r.height-v)<=1&&(v=r.height),{x:p.offsetLeft,y:p.offsetTop,width:d,height:v}}function fs(p,r){var d=r.getRootNode&&r.getRootNode();if(p.contains(r))return!0;if(d&&us(d)){var v=r;do{if(v&&p.isSameNode(v))return!0;v=v.parentNode||v.host}while(v)}return!1}function En(p){return pe(p).getComputedStyle(p)}function ds(p){return["table","td","th"].indexOf(Sn(p))>=0}function oa(p){return((sa(p)?p.ownerDocument:p.document)||window.document).documentElement}function Fi(p){return Sn(p)==="html"?p:p.assignedSlot||p.parentNode||(us(p)?p.host:null)||oa(p)}function si(p){return Ae(p)&&En(p).position!=="fixed"?p.offsetParent:null}function za(p){for(var r=pe(p),d=si(p);d&&ds(d)&&En(d).position==="static";)d=si(d);return d&&(Sn(d)==="html"||Sn(d)==="body"&&En(d).position==="static")?r:d||function(v){var A=/firefox/i.test($i());if(/Trident/i.test($i())&&Ae(v)&&En(v).position==="fixed")return null;var O=Fi(v);for(us(O)&&(O=O.host);Ae(O)&&["html","body"].indexOf(Sn(O))<0;){var R=En(O);if(R.transform!=="none"||R.perspective!=="none"||R.contain==="paint"||["transform","perspective"].indexOf(R.willChange)!==-1||A&&R.willChange==="filter"||A&&R.filter&&R.filter!=="none")return O;O=O.parentNode}return null}(p)||r}function ui(p){return["top","bottom"].indexOf(p)>=0?"x":"y"}function An(p,r,d){return ua(p,fl(r,d))}function Ra(p){return Object.assign({},{top:0,right:0,bottom:0,left:0},p)}function hs(p,r){return r.reduce(function(d,v){return d[v]=p,d},{})}const Ji={name:"arrow",enabled:!0,phase:"main",fn:function(p){var r,d=p.state,v=p.name,A=p.options,O=d.elements.arrow,R=d.modifiersData.popperOffsets,X=Pe(d.placement),J=ui(X),V=[ie,Ne].indexOf(X)>=0?"height":"width";if(O&&R){var K=function(Ut,zt){return Ra(typeof(Ut=typeof Ut=="function"?Ut(Object.assign({},zt.rects,{placement:zt.placement})):Ut)!="number"?Ut:hs(Ut,Je))}(A.padding,d),$=cs(O),pt=J==="y"?Ee:ie,ut=J==="y"?Ye:Ne,ct=d.rects.reference[V]+d.rects.reference[J]-R[J]-d.rects.popper[V],ft=R[J]-d.rects.reference[J],dt=za(O),wt=dt?J==="y"?dt.clientHeight||0:dt.clientWidth||0:0,Ht=ct/2-ft/2,it=K[pt],Dt=wt-$[V]-K[ut],vt=wt/2-$[V]/2+Ht,Et=An(it,vt,Dt),Rt=J;d.modifiersData[v]=((r={})[Rt]=Et,r.centerOffset=Et-vt,r)}},effect:function(p){var r=p.state,d=p.options.element,v=d===void 0?"[data-popper-arrow]":d;v!=null&&(typeof v!="string"||(v=r.elements.popper.querySelector(v)))&&fs(r.elements.popper,v)&&(r.elements.arrow=v)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function La(p){return p.split("-")[1]}var oi={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Wi(p){var r,d=p.popper,v=p.popperRect,A=p.placement,O=p.variation,R=p.offsets,X=p.position,J=p.gpuAcceleration,V=p.adaptive,K=p.roundOffsets,$=p.isFixed,pt=R.x,ut=pt===void 0?0:pt,ct=R.y,ft=ct===void 0?0:ct,dt=typeof K=="function"?K({x:ut,y:ft}):{x:ut,y:ft};ut=dt.x,ft=dt.y;var wt=R.hasOwnProperty("x"),Ht=R.hasOwnProperty("y"),it=ie,Dt=Ee,vt=window;if(V){var Et=za(d),Rt="clientHeight",Ut="clientWidth";Et===pe(d)&&En(Et=oa(d)).position!=="static"&&X==="absolute"&&(Rt="scrollHeight",Ut="scrollWidth"),(A===Ee||(A===ie||A===Ne)&&O===yn)&&(Dt=Ye,ft-=($&&Et===vt&&vt.visualViewport?vt.visualViewport.height:Et[Rt])-v.height,ft*=J?1:-1),A!==ie&&(A!==Ee&&A!==Ye||O!==yn)||(it=Ne,ut-=($&&Et===vt&&vt.visualViewport?vt.visualViewport.width:Et[Ut])-v.width,ut*=J?1:-1)}var zt,Kt=Object.assign({position:X},V&&oi),Oe=K===!0?function(Vt,Ct){var Ce=Vt.x,ve=Vt.y,Yt=Ct.devicePixelRatio||1;return{x:rn(Ce*Yt)/Yt||0,y:rn(ve*Yt)/Yt||0}}({x:ut,y:ft},pe(d)):{x:ut,y:ft};return ut=Oe.x,ft=Oe.y,J?Object.assign({},Kt,((zt={})[Dt]=Ht?"0":"",zt[it]=wt?"0":"",zt.transform=(vt.devicePixelRatio||1)<=1?"translate("+ut+"px, "+ft+"px)":"translate3d("+ut+"px, "+ft+"px, 0)",zt)):Object.assign({},Kt,((r={})[Dt]=Ht?ft+"px":"",r[it]=wt?ut+"px":"",r.transform="",r))}const ja={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(p){var r=p.state,d=p.options,v=d.gpuAcceleration,A=v===void 0||v,O=d.adaptive,R=O===void 0||O,X=d.roundOffsets,J=X===void 0||X,V={placement:Pe(r.placement),variation:La(r.placement),popper:r.elements.popper,popperRect:r.rects.popper,gpuAcceleration:A,isFixed:r.options.strategy==="fixed"};r.modifiersData.popperOffsets!=null&&(r.styles.popper=Object.assign({},r.styles.popper,Wi(Object.assign({},V,{offsets:r.modifiersData.popperOffsets,position:r.options.strategy,adaptive:R,roundOffsets:J})))),r.modifiersData.arrow!=null&&(r.styles.arrow=Object.assign({},r.styles.arrow,Wi(Object.assign({},V,{offsets:r.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:J})))),r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-placement":r.placement})},data:{}};var un={passive:!0};const ci={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(p){var r=p.state,d=p.instance,v=p.options,A=v.scroll,O=A===void 0||A,R=v.resize,X=R===void 0||R,J=pe(r.elements.popper),V=[].concat(r.scrollParents.reference,r.scrollParents.popper);return O&&V.forEach(function(K){K.addEventListener("scroll",d.update,un)}),X&&J.addEventListener("resize",d.update,un),function(){O&&V.forEach(function(K){K.removeEventListener("scroll",d.update,un)}),X&&J.removeEventListener("resize",d.update,un)}},data:{}};var Pi={left:"right",right:"left",bottom:"top",top:"bottom"};function fi(p){return p.replace(/left|right|bottom|top/g,function(r){return Pi[r]})}var Ii={start:"end",end:"start"};function di(p){return p.replace(/start|end/g,function(r){return Ii[r]})}function tr(p){var r=pe(p);return{scrollLeft:r.pageXOffset,scrollTop:r.pageYOffset}}function ge(p){return sn(oa(p)).left+tr(p).scrollLeft}function Un(p){var r=En(p),d=r.overflow,v=r.overflowX,A=r.overflowY;return/auto|scroll|overlay|hidden/.test(d+A+v)}function hi(p){return["html","body","#document"].indexOf(Sn(p))>=0?p.ownerDocument.body:Ae(p)&&Un(p)?p:hi(Fi(p))}function Hn(p,r){var d;r===void 0&&(r=[]);var v=hi(p),A=v===((d=p.ownerDocument)==null?void 0:d.body),O=pe(v),R=A?[O].concat(O.visualViewport||[],Un(v)?v:[]):v,X=r.concat(R);return A?X:X.concat(Hn(Fi(R)))}function ms(p){return Object.assign({},p,{left:p.x,top:p.y,right:p.x+p.width,bottom:p.y+p.height})}function er(p,r,d){return r===te?ms(function(v,A){var O=pe(v),R=oa(v),X=O.visualViewport,J=R.clientWidth,V=R.clientHeight,K=0,$=0;if(X){J=X.width,V=X.height;var pt=os();(pt||!pt&&A==="fixed")&&(K=X.offsetLeft,$=X.offsetTop)}return{width:J,height:V,x:K+ge(v),y:$}}(p,d)):sa(r)?function(v,A){var O=sn(v,!1,A==="fixed");return O.top=O.top+v.clientTop,O.left=O.left+v.clientLeft,O.bottom=O.top+v.clientHeight,O.right=O.left+v.clientWidth,O.width=v.clientWidth,O.height=v.clientHeight,O.x=O.left,O.y=O.top,O}(r,d):ms(function(v){var A,O=oa(v),R=tr(v),X=(A=v.ownerDocument)==null?void 0:A.body,J=ua(O.scrollWidth,O.clientWidth,X?X.scrollWidth:0,X?X.clientWidth:0),V=ua(O.scrollHeight,O.clientHeight,X?X.scrollHeight:0,X?X.clientHeight:0),K=-R.scrollLeft+ge(v),$=-R.scrollTop;return En(X||O).direction==="rtl"&&(K+=ua(O.clientWidth,X?X.clientWidth:0)-J),{width:J,height:V,x:K,y:$}}(oa(p)))}function nr(p){var r,d=p.reference,v=p.element,A=p.placement,O=A?Pe(A):null,R=A?La(A):null,X=d.x+d.width/2-v.width/2,J=d.y+d.height/2-v.height/2;switch(O){case Ee:r={x:X,y:d.y-v.height};break;case Ye:r={x:X,y:d.y+d.height};break;case Ne:r={x:d.x+d.width,y:J};break;case ie:r={x:d.x-v.width,y:J};break;default:r={x:d.x,y:d.y}}var V=O?ui(O):null;if(V!=null){var K=V==="y"?"height":"width";switch(R){case We:r[V]=r[V]-(d[K]/2-v[K]/2);break;case yn:r[V]=r[V]+(d[K]/2-v[K]/2)}}return r}function xn(p,r){r===void 0&&(r={});var d=r,v=d.placement,A=v===void 0?p.placement:v,O=d.strategy,R=O===void 0?p.strategy:O,X=d.boundary,J=X===void 0?Ma:X,V=d.rootBoundary,K=V===void 0?te:V,$=d.elementContext,pt=$===void 0?Na:$,ut=d.altBoundary,ct=ut!==void 0&&ut,ft=d.padding,dt=ft===void 0?0:ft,wt=Ra(typeof dt!="number"?dt:hs(dt,Je)),Ht=pt===Na?ls:Na,it=p.rects.popper,Dt=p.elements[ct?Ht:pt],vt=function(Ct,Ce,ve,Yt){var nn=Ce==="clippingParents"?function(jt){var ye=Hn(Fi(jt)),Ze=["absolute","fixed"].indexOf(En(jt).position)>=0&&Ae(jt)?za(jt):jt;return sa(Ze)?ye.filter(function(Zn){return sa(Zn)&&fs(Zn,Ze)&&Sn(Zn)!=="body"}):[]}(Ct):[].concat(Ce),ce=[].concat(nn,[ve]),Qn=ce[0],ee=ce.reduce(function(jt,ye){var Ze=er(Ct,ye,Yt);return jt.top=ua(Ze.top,jt.top),jt.right=fl(Ze.right,jt.right),jt.bottom=fl(Ze.bottom,jt.bottom),jt.left=ua(Ze.left,jt.left),jt},er(Ct,Qn,Yt));return ee.width=ee.right-ee.left,ee.height=ee.bottom-ee.top,ee.x=ee.left,ee.y=ee.top,ee}(sa(Dt)?Dt:Dt.contextElement||oa(p.elements.popper),J,K,R),Et=sn(p.elements.reference),Rt=nr({reference:Et,element:it,placement:A}),Ut=ms(Object.assign({},it,Rt)),zt=pt===Na?Ut:Et,Kt={top:vt.top-zt.top+wt.top,bottom:zt.bottom-vt.bottom+wt.bottom,left:vt.left-zt.left+wt.left,right:zt.right-vt.right+wt.right},Oe=p.modifiersData.offset;if(pt===Na&&Oe){var Vt=Oe[A];Object.keys(Kt).forEach(function(Ct){var Ce=[Ne,Ye].indexOf(Ct)>=0?1:-1,ve=[Ee,Ye].indexOf(Ct)>=0?"y":"x";Kt[Ct]+=Vt[ve]*Ce})}return Kt}function ar(p,r){r===void 0&&(r={});var d=r,v=d.placement,A=d.boundary,O=d.rootBoundary,R=d.padding,X=d.flipVariations,J=d.allowedAutoPlacements,V=J===void 0?ra:J,K=La(v),$=K?X?jn:jn.filter(function(ct){return La(ct)===K}):Je,pt=$.filter(function(ct){return V.indexOf(ct)>=0});pt.length===0&&(pt=$);var ut=pt.reduce(function(ct,ft){return ct[ft]=xn(p,{placement:ft,boundary:A,rootBoundary:O,padding:R})[Pe(ft)],ct},{});return Object.keys(ut).sort(function(ct,ft){return ut[ct]-ut[ft]})}const ps={name:"flip",enabled:!0,phase:"main",fn:function(p){var r=p.state,d=p.options,v=p.name;if(!r.modifiersData[v]._skip){for(var A=d.mainAxis,O=A===void 0||A,R=d.altAxis,X=R===void 0||R,J=d.fallbackPlacements,V=d.padding,K=d.boundary,$=d.rootBoundary,pt=d.altBoundary,ut=d.flipVariations,ct=ut===void 0||ut,ft=d.allowedAutoPlacements,dt=r.options.placement,wt=Pe(dt),Ht=J||(wt!==dt&&ct?function(jt){if(Pe(jt)===cl)return[];var ye=fi(jt);return[di(jt),ye,di(ye)]}(dt):[fi(dt)]),it=[dt].concat(Ht).reduce(function(jt,ye){return jt.concat(Pe(ye)===cl?ar(r,{placement:ye,boundary:K,rootBoundary:$,padding:V,flipVariations:ct,allowedAutoPlacements:ft}):ye)},[]),Dt=r.rects.reference,vt=r.rects.popper,Et=new Map,Rt=!0,Ut=it[0],zt=0;zt<it.length;zt++){var Kt=it[zt],Oe=Pe(Kt),Vt=La(Kt)===We,Ct=[Ee,Ye].indexOf(Oe)>=0,Ce=Ct?"width":"height",ve=xn(r,{placement:Kt,boundary:K,rootBoundary:$,altBoundary:pt,padding:V}),Yt=Ct?Vt?Ne:ie:Vt?Ye:Ee;Dt[Ce]>vt[Ce]&&(Yt=fi(Yt));var nn=fi(Yt),ce=[];if(O&&ce.push(ve[Oe]<=0),X&&ce.push(ve[Yt]<=0,ve[nn]<=0),ce.every(function(jt){return jt})){Ut=Kt,Rt=!1;break}Et.set(Kt,ce)}if(Rt)for(var Qn=function(jt){var ye=it.find(function(Ze){var Zn=Et.get(Ze);if(Zn)return Zn.slice(0,jt).every(function(Ti){return Ti})});if(ye)return Ut=ye,"break"},ee=ct?3:1;ee>0&&Qn(ee)!=="break";ee--);r.placement!==Ut&&(r.modifiersData[v]._skip=!0,r.placement=Ut,r.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Bu(p,r,d){return d===void 0&&(d={x:0,y:0}),{top:p.top-r.height-d.y,right:p.right-r.width+d.x,bottom:p.bottom-r.height+d.y,left:p.left-r.width-d.x}}function qu(p){return[Ee,Ne,Ye,ie].some(function(r){return p[r]>=0})}const Yu={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(p){var r=p.state,d=p.name,v=r.rects.reference,A=r.rects.popper,O=r.modifiersData.preventOverflow,R=xn(r,{elementContext:"reference"}),X=xn(r,{altBoundary:!0}),J=Bu(R,v),V=Bu(X,A,O),K=qu(J),$=qu(V);r.modifiersData[d]={referenceClippingOffsets:J,popperEscapeOffsets:V,isReferenceHidden:K,hasPopperEscaped:$},r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-reference-hidden":K,"data-popper-escaped":$})}},lr={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(p){var r=p.state,d=p.options,v=p.name,A=d.offset,O=A===void 0?[0,0]:A,R=ra.reduce(function(K,$){return K[$]=function(pt,ut,ct){var ft=Pe(pt),dt=[ie,Ee].indexOf(ft)>=0?-1:1,wt=typeof ct=="function"?ct(Object.assign({},ut,{placement:pt})):ct,Ht=wt[0],it=wt[1];return Ht=Ht||0,it=(it||0)*dt,[ie,Ne].indexOf(ft)>=0?{x:it,y:Ht}:{x:Ht,y:it}}($,r.rects,O),K},{}),X=R[r.placement],J=X.x,V=X.y;r.modifiersData.popperOffsets!=null&&(r.modifiersData.popperOffsets.x+=J,r.modifiersData.popperOffsets.y+=V),r.modifiersData[v]=R}},gs={name:"popperOffsets",enabled:!0,phase:"read",fn:function(p){var r=p.state,d=p.name;r.modifiersData[d]=nr({reference:r.rects.reference,element:r.rects.popper,placement:r.placement})},data:{}},Xu={name:"preventOverflow",enabled:!0,phase:"main",fn:function(p){var r=p.state,d=p.options,v=p.name,A=d.mainAxis,O=A===void 0||A,R=d.altAxis,X=R!==void 0&&R,J=d.boundary,V=d.rootBoundary,K=d.altBoundary,$=d.padding,pt=d.tether,ut=pt===void 0||pt,ct=d.tetherOffset,ft=ct===void 0?0:ct,dt=xn(r,{boundary:J,rootBoundary:V,padding:$,altBoundary:K}),wt=Pe(r.placement),Ht=La(r.placement),it=!Ht,Dt=ui(wt),vt=Dt==="x"?"y":"x",Et=r.modifiersData.popperOffsets,Rt=r.rects.reference,Ut=r.rects.popper,zt=typeof ft=="function"?ft(Object.assign({},r.rects,{placement:r.placement})):ft,Kt=typeof zt=="number"?{mainAxis:zt,altAxis:zt}:Object.assign({mainAxis:0,altAxis:0},zt),Oe=r.modifiersData.offset?r.modifiersData.offset[r.placement]:null,Vt={x:0,y:0};if(Et){if(O){var Ct,Ce=Dt==="y"?Ee:ie,ve=Dt==="y"?Ye:Ne,Yt=Dt==="y"?"height":"width",nn=Et[Dt],ce=nn+dt[Ce],Qn=nn-dt[ve],ee=ut?-Ut[Yt]/2:0,jt=Ht===We?Rt[Yt]:Ut[Yt],ye=Ht===We?-Ut[Yt]:-Rt[Yt],Ze=r.elements.arrow,Zn=ut&&Ze?cs(Ze):{width:0,height:0},Ti=r.modifiersData["arrow#persistent"]?r.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Hs=Ti[Ce],ks=Ti[ve],Dl=An(0,Rt[Yt],Zn[Yt]),_o=it?Rt[Yt]/2-ee-Dl-Hs-Kt.mainAxis:jt-Dl-Hs-Kt.mainAxis,Pc=it?-Rt[Yt]/2+ee+Dl+ks+Kt.mainAxis:ye+Dl+ks+Kt.mainAxis,Tr=r.elements.arrow&&za(r.elements.arrow),So=Tr?Dt==="y"?Tr.clientTop||0:Tr.clientLeft||0:0,Bs=(Ct=Oe==null?void 0:Oe[Dt])!=null?Ct:0,qs=nn+Pc-Bs,Ys=An(ut?fl(ce,nn+_o-Bs-So):ce,nn,ut?ua(Qn,qs):Qn);Et[Dt]=Ys,Vt[Dt]=Ys-nn}if(X){var Xs,Eo=Dt==="x"?Ee:ie,Ao=Dt==="x"?Ye:Ne,va=Et[vt],Or=vt==="y"?"height":"width",Gs=va+dt[Eo],Xa=va-dt[Ao],Cr=[Ee,ie].indexOf(wt)!==-1,Oi=(Xs=Oe==null?void 0:Oe[vt])!=null?Xs:0,Ci=Cr?Gs:va-Rt[Or]-Ut[Or]-Oi+Kt.altAxis,Vs=Cr?va+Rt[Or]+Ut[Or]-Oi-Kt.altAxis:Xa,wr=ut&&Cr?function(xo,To,Dr){var Qs=An(xo,To,Dr);return Qs>Dr?Dr:Qs}(Ci,va,Vs):An(ut?Ci:Gs,va,ut?Vs:Xa);Et[vt]=wr,Vt[vt]=wr-va}r.modifiersData[v]=Vt}},requiresIfExists:["offset"]};function Lc(p,r,d){d===void 0&&(d=!1);var v,A,O=Ae(r),R=Ae(r)&&function($){var pt=$.getBoundingClientRect(),ut=rn(pt.width)/$.offsetWidth||1,ct=rn(pt.height)/$.offsetHeight||1;return ut!==1||ct!==1}(r),X=oa(r),J=sn(p,R,d),V={scrollLeft:0,scrollTop:0},K={x:0,y:0};return(O||!O&&!d)&&((Sn(r)!=="body"||Un(X))&&(V=(v=r)!==pe(v)&&Ae(v)?{scrollLeft:(A=v).scrollLeft,scrollTop:A.scrollTop}:tr(v)),Ae(r)?((K=sn(r,!0)).x+=r.clientLeft,K.y+=r.clientTop):X&&(K.x=ge(X))),{x:J.left+V.scrollLeft-K.x,y:J.top+V.scrollTop-K.y,width:J.width,height:J.height}}function jc(p){var r=new Map,d=new Set,v=[];function A(O){d.add(O.name),[].concat(O.requires||[],O.requiresIfExists||[]).forEach(function(R){if(!d.has(R)){var X=r.get(R);X&&A(X)}}),v.push(O)}return p.forEach(function(O){r.set(O.name,O)}),p.forEach(function(O){d.has(O.name)||A(O)}),v}var Gu={placement:"bottom",modifiers:[],strategy:"absolute"};function vs(){for(var p=arguments.length,r=new Array(p),d=0;d<p;d++)r[d]=arguments[d];return!r.some(function(v){return!(v&&typeof v.getBoundingClientRect=="function")})}function ir(p){p===void 0&&(p={});var r=p,d=r.defaultModifiers,v=d===void 0?[]:d,A=r.defaultOptions,O=A===void 0?Gu:A;return function(R,X,J){J===void 0&&(J=O);var V,K,$={placement:"bottom",orderedModifiers:[],options:Object.assign({},Gu,O),modifiersData:{},elements:{reference:R,popper:X},attributes:{},styles:{}},pt=[],ut=!1,ct={state:$,setOptions:function(dt){var wt=typeof dt=="function"?dt($.options):dt;ft(),$.options=Object.assign({},O,$.options,wt),$.scrollParents={reference:sa(R)?Hn(R):R.contextElement?Hn(R.contextElement):[],popper:Hn(X)};var Ht,it,Dt=function(vt){var Et=jc(vt);return ss.reduce(function(Rt,Ut){return Rt.concat(Et.filter(function(zt){return zt.phase===Ut}))},[])}((Ht=[].concat(v,$.options.modifiers),it=Ht.reduce(function(vt,Et){var Rt=vt[Et.name];return vt[Et.name]=Rt?Object.assign({},Rt,Et,{options:Object.assign({},Rt.options,Et.options),data:Object.assign({},Rt.data,Et.data)}):Et,vt},{}),Object.keys(it).map(function(vt){return it[vt]})));return $.orderedModifiers=Dt.filter(function(vt){return vt.enabled}),$.orderedModifiers.forEach(function(vt){var Et=vt.name,Rt=vt.options,Ut=Rt===void 0?{}:Rt,zt=vt.effect;if(typeof zt=="function"){var Kt=zt({state:$,name:Et,instance:ct,options:Ut});pt.push(Kt||function(){})}}),ct.update()},forceUpdate:function(){if(!ut){var dt=$.elements,wt=dt.reference,Ht=dt.popper;if(vs(wt,Ht)){$.rects={reference:Lc(wt,za(Ht),$.options.strategy==="fixed"),popper:cs(Ht)},$.reset=!1,$.placement=$.options.placement,$.orderedModifiers.forEach(function(zt){return $.modifiersData[zt.name]=Object.assign({},zt.data)});for(var it=0;it<$.orderedModifiers.length;it++)if($.reset!==!0){var Dt=$.orderedModifiers[it],vt=Dt.fn,Et=Dt.options,Rt=Et===void 0?{}:Et,Ut=Dt.name;typeof vt=="function"&&($=vt({state:$,options:Rt,name:Ut,instance:ct})||$)}else $.reset=!1,it=-1}}},update:(V=function(){return new Promise(function(dt){ct.forceUpdate(),dt($)})},function(){return K||(K=new Promise(function(dt){Promise.resolve().then(function(){K=void 0,dt(V())})})),K}),destroy:function(){ft(),ut=!0}};if(!vs(R,X))return ct;function ft(){pt.forEach(function(dt){return dt()}),pt=[]}return ct.setOptions(J).then(function(dt){!ut&&J.onFirstUpdate&&J.onFirstUpdate(dt)}),ct}}var Uc=ir(),Hc=ir({defaultModifiers:[ci,gs,ja,ze]}),ys=ir({defaultModifiers:[ci,gs,ja,ze,lr,ps,Xu,Ji,Yu]});const rr=Object.freeze(Object.defineProperty({__proto__:null,afterMain:ii,afterRead:is,afterWrite:Xe,applyStyles:ze,arrow:Ji,auto:cl,basePlacements:Je,beforeMain:rs,beforeRead:bn,beforeWrite:ri,bottom:Ye,clippingParents:Ma,computeStyles:ja,createPopper:ys,createPopperBase:Uc,createPopperLite:Hc,detectOverflow:xn,end:yn,eventListeners:ci,flip:ps,hide:Yu,left:ie,main:ku,modifierPhases:ss,offset:lr,placements:ra,popper:Na,popperGenerator:ir,popperOffsets:gs,preventOverflow:Xu,read:Hu,reference:ls,right:Ne,start:We,top:Ee,variationPlacements:jn,viewport:te,write:_n},Symbol.toStringTag,{value:"Module"})),Vu="dropdown",Ua=".bs.dropdown",bs=".data-api",Qu="ArrowUp",Zu="ArrowDown",kc=`hide${Ua}`,Bc=`hidden${Ua}`,qc=`show${Ua}`,Yc=`shown${Ua}`,Ku=`click${Ua}${bs}`,$u=`keydown${Ua}${bs}`,Xc=`keyup${Ua}${bs}`,dl="show",kn='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',mi=`${kn}.${dl}`,sr=".dropdown-menu",Fu=Q()?"top-end":"top-start",Ju=Q()?"top-start":"top-end",Wu=Q()?"bottom-end":"bottom-start",Pu=Q()?"bottom-start":"bottom-end",Iu=Q()?"left-start":"right-start",hl=Q()?"right-start":"left-start",Gc={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Vc={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class on extends He{constructor(r,d){super(r,d),this._popper=null,this._parent=this._element.parentNode,this._menu=nt.next(this._element,sr)[0]||nt.prev(this._element,sr)[0]||nt.findOne(sr,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Gc}static get DefaultType(){return Vc}static get NAME(){return Vu}toggle(){return this._isShown()?this.hide():this.show()}show(){if(D(this._element)||this._isShown())return;const r={relatedTarget:this._element};if(!k.trigger(this._element,qc,r).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const d of[].concat(...document.body.children))k.on(d,"mouseover",z);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(dl),this._element.classList.add(dl),k.trigger(this._element,Yc,r)}}hide(){if(D(this._element)||!this._isShown())return;const r={relatedTarget:this._element};this._completeHide(r)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(r){if(!k.trigger(this._element,kc,r).defaultPrevented){if("ontouchstart"in document.documentElement)for(const d of[].concat(...document.body.children))k.off(d,"mouseover",z);this._popper&&this._popper.destroy(),this._menu.classList.remove(dl),this._element.classList.remove(dl),this._element.setAttribute("aria-expanded","false"),_t.removeDataAttribute(this._menu,"popper"),k.trigger(this._element,Bc,r)}}_getConfig(r){if(typeof(r=super._getConfig(r)).reference=="object"&&!b(r.reference)&&typeof r.reference.getBoundingClientRect!="function")throw new TypeError(`${Vu.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return r}_createPopper(){if(rr===void 0)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let r=this._element;this._config.reference==="parent"?r=this._parent:b(this._config.reference)?r=S(this._config.reference):typeof this._config.reference=="object"&&(r=this._config.reference);const d=this._getPopperConfig();this._popper=ys(r,this._menu,d)}_isShown(){return this._menu.classList.contains(dl)}_getPlacement(){const r=this._parent;if(r.classList.contains("dropend"))return Iu;if(r.classList.contains("dropstart"))return hl;if(r.classList.contains("dropup-center"))return"top";if(r.classList.contains("dropdown-center"))return"bottom";const d=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return r.classList.contains("dropup")?d?Ju:Fu:d?Pu:Wu}_detectNavbar(){return this._element.closest(".navbar")!==null}_getOffset(){const{offset:r}=this._config;return typeof r=="string"?r.split(",").map(d=>Number.parseInt(d,10)):typeof r=="function"?d=>r(d,this._element):r}_getPopperConfig(){const r={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(_t.setDataAttribute(this._menu,"popper","static"),r.modifiers=[{name:"applyStyles",enabled:!1}]),{...r,...W(this._config.popperConfig,[r])}}_selectMenuItem({key:r,target:d}){const v=nt.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(A=>E(A));v.length&&bt(v,d,r===Zu,!v.includes(d)).focus()}static jQueryInterface(r){return this.each(function(){const d=on.getOrCreateInstance(this,r);if(typeof r=="string"){if(d[r]===void 0)throw new TypeError(`No method named "${r}"`);d[r]()}})}static clearMenus(r){if(r.button===2||r.type==="keyup"&&r.key!=="Tab")return;const d=nt.find(mi);for(const v of d){const A=on.getInstance(v);if(!A||A._config.autoClose===!1)continue;const O=r.composedPath(),R=O.includes(A._menu);if(O.includes(A._element)||A._config.autoClose==="inside"&&!R||A._config.autoClose==="outside"&&R||A._menu.contains(r.target)&&(r.type==="keyup"&&r.key==="Tab"||/input|select|option|textarea|form/i.test(r.target.tagName)))continue;const X={relatedTarget:A._element};r.type==="click"&&(X.clickEvent=r),A._completeHide(X)}}static dataApiKeydownHandler(r){const d=/input|textarea/i.test(r.target.tagName),v=r.key==="Escape",A=[Qu,Zu].includes(r.key);if(!A&&!v||d&&!v)return;r.preventDefault();const O=this.matches(kn)?this:nt.prev(this,kn)[0]||nt.next(this,kn)[0]||nt.findOne(kn,r.delegateTarget.parentNode),R=on.getOrCreateInstance(O);if(A)return r.stopPropagation(),R.show(),void R._selectMenuItem(r);R._isShown()&&(r.stopPropagation(),R.hide(),O.focus())}}k.on(document,$u,kn,on.dataApiKeydownHandler),k.on(document,$u,sr,on.dataApiKeydownHandler),k.on(document,Ku,on.clearMenus),k.on(document,Xc,on.clearMenus),k.on(document,Ku,kn,function(p){p.preventDefault(),on.getOrCreateInstance(this).toggle()}),H(on);const _s="backdrop",Ss="show",ml=`mousedown.bs.${_s}`,pi={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Qc={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class gi extends me{constructor(r){super(),this._config=this._getConfig(r),this._isAppended=!1,this._element=null}static get Default(){return pi}static get DefaultType(){return Qc}static get NAME(){return _s}show(r){if(!this._config.isVisible)return void W(r);this._append();const d=this._getElement();this._config.isAnimated&&q(d),d.classList.add(Ss),this._emulateAnimation(()=>{W(r)})}hide(r){this._config.isVisible?(this._getElement().classList.remove(Ss),this._emulateAnimation(()=>{this.dispose(),W(r)})):W(r)}dispose(){this._isAppended&&(k.off(this._element,ml),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const r=document.createElement("div");r.className=this._config.className,this._config.isAnimated&&r.classList.add("fade"),this._element=r}return this._element}_configAfterMerge(r){return r.rootElement=S(r.rootElement),r}_append(){if(this._isAppended)return;const r=this._getElement();this._config.rootElement.append(r),k.on(r,ml,()=>{W(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(r){P(r,this._getElement(),this._config.isAnimated)}}const vi=".bs.focustrap",to=`focusin${vi}`,Es=`keydown.tab${vi}`,ur="backward",eo={autofocus:!0,trapElement:null},no={autofocus:"boolean",trapElement:"element"};class As extends me{constructor(r){super(),this._config=this._getConfig(r),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return eo}static get DefaultType(){return no}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),k.off(document,vi),k.on(document,to,r=>this._handleFocusin(r)),k.on(document,Es,r=>this._handleKeydown(r)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,k.off(document,vi))}_handleFocusin(r){const{trapElement:d}=this._config;if(r.target===document||r.target===d||d.contains(r.target))return;const v=nt.focusableChildren(d);v.length===0?d.focus():this._lastTabNavDirection===ur?v[v.length-1].focus():v[0].focus()}_handleKeydown(r){r.key==="Tab"&&(this._lastTabNavDirection=r.shiftKey?ur:"forward")}}const ao=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",lo=".sticky-top",or="padding-right",io="margin-right";class xs{constructor(){this._element=document.body}getWidth(){const r=document.documentElement.clientWidth;return Math.abs(window.innerWidth-r)}hide(){const r=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,or,d=>d+r),this._setElementAttributes(ao,or,d=>d+r),this._setElementAttributes(lo,io,d=>d-r)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,or),this._resetElementAttributes(ao,or),this._resetElementAttributes(lo,io)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(r,d,v){const A=this.getWidth();this._applyManipulationCallback(r,O=>{if(O!==this._element&&window.innerWidth>O.clientWidth+A)return;this._saveInitialAttribute(O,d);const R=window.getComputedStyle(O).getPropertyValue(d);O.style.setProperty(d,`${v(Number.parseFloat(R))}px`)})}_saveInitialAttribute(r,d){const v=r.style.getPropertyValue(d);v&&_t.setDataAttribute(r,d,v)}_resetElementAttributes(r,d){this._applyManipulationCallback(r,v=>{const A=_t.getDataAttribute(v,d);A!==null?(_t.removeDataAttribute(v,d),v.style.setProperty(d,A)):v.style.removeProperty(d)})}_applyManipulationCallback(r,d){if(b(r))d(r);else for(const v of nt.find(r,this._element))d(v)}}const Gt=".bs.modal",yi=`hide${Gt}`,ro=`hidePrevented${Gt}`,Ts=`hidden${Gt}`,Os=`show${Gt}`,so=`shown${Gt}`,Cs=`resize${Gt}`,Zc=`click.dismiss${Gt}`,Kc=`mousedown.dismiss${Gt}`,pl=`keydown.dismiss${Gt}`,ws=`click${Gt}.data-api`,gl="modal-open",cr="show",fr="modal-static",Ha={backdrop:!0,focus:!0,keyboard:!0},vl={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Bn extends He{constructor(r,d){super(r,d),this._dialog=nt.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new xs,this._addEventListeners()}static get Default(){return Ha}static get DefaultType(){return vl}static get NAME(){return"modal"}toggle(r){return this._isShown?this.hide():this.show(r)}show(r){this._isShown||this._isTransitioning||k.trigger(this._element,Os,{relatedTarget:r}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(gl),this._adjustDialog(),this._backdrop.show(()=>this._showElement(r)))}hide(){this._isShown&&!this._isTransitioning&&(k.trigger(this._element,yi).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(cr),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())))}dispose(){k.off(window,Gt),k.off(this._dialog,Gt),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new gi({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new As({trapElement:this._element})}_showElement(r){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 d=nt.findOne(".modal-body",this._dialog);d&&(d.scrollTop=0),q(this._element),this._element.classList.add(cr),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,k.trigger(this._element,so,{relatedTarget:r})},this._dialog,this._isAnimated())}_addEventListeners(){k.on(this._element,pl,r=>{r.key==="Escape"&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),k.on(window,Cs,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),k.on(this._element,Kc,r=>{k.one(this._element,Zc,d=>{this._element===r.target&&this._element===d.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(gl),this._resetAdjustments(),this._scrollBar.reset(),k.trigger(this._element,Ts)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(k.trigger(this._element,ro).defaultPrevented)return;const r=this._element.scrollHeight>document.documentElement.clientHeight,d=this._element.style.overflowY;d==="hidden"||this._element.classList.contains(fr)||(r||(this._element.style.overflowY="hidden"),this._element.classList.add(fr),this._queueCallback(()=>{this._element.classList.remove(fr),this._queueCallback(()=>{this._element.style.overflowY=d},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const r=this._element.scrollHeight>document.documentElement.clientHeight,d=this._scrollBar.getWidth(),v=d>0;if(v&&!r){const A=Q()?"paddingLeft":"paddingRight";this._element.style[A]=`${d}px`}if(!v&&r){const A=Q()?"paddingRight":"paddingLeft";this._element.style[A]=`${d}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(r,d){return this.each(function(){const v=Bn.getOrCreateInstance(this,r);if(typeof r=="string"){if(v[r]===void 0)throw new TypeError(`No method named "${r}"`);v[r](d)}})}}k.on(document,ws,'[data-bs-toggle="modal"]',function(p){const r=nt.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&p.preventDefault(),k.one(r,Os,v=>{v.defaultPrevented||k.one(r,Ts,()=>{E(this)&&this.focus()})});const d=nt.findOne(".modal.show");d&&Bn.getInstance(d).hide(),Bn.getOrCreateInstance(r).toggle(this)}),Ft(Bn),H(Bn);const Tn=".bs.offcanvas",ca=".data-api",uo=`load${Tn}${ca}`,Ds="show",Ms="showing",oo="hiding",co=".offcanvas.show",$c=`show${Tn}`,fo=`shown${Tn}`,ho=`hide${Tn}`,Ns=`hidePrevented${Tn}`,Ie=`hidden${Tn}`,tn=`resize${Tn}`,yl=`click${Tn}${ca}`,zs=`keydown.dismiss${Tn}`,dr={backdrop:!0,keyboard:!0,scroll:!1},hr={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class cn extends He{constructor(r,d){super(r,d),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return dr}static get DefaultType(){return hr}static get NAME(){return"offcanvas"}toggle(r){return this._isShown?this.hide():this.show(r)}show(r){this._isShown||k.trigger(this._element,$c,{relatedTarget:r}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||new xs().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Ms),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(Ds),this._element.classList.remove(Ms),k.trigger(this._element,fo,{relatedTarget:r})},this._element,!0))}hide(){this._isShown&&(k.trigger(this._element,ho).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(oo),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove(Ds,oo),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new xs().reset(),k.trigger(this._element,Ie)},this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const r=!!this._config.backdrop;return new gi({className:"offcanvas-backdrop",isVisible:r,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:r?()=>{this._config.backdrop!=="static"?this.hide():k.trigger(this._element,Ns)}:null})}_initializeFocusTrap(){return new As({trapElement:this._element})}_addEventListeners(){k.on(this._element,zs,r=>{r.key==="Escape"&&(this._config.keyboard?this.hide():k.trigger(this._element,Ns))})}static jQueryInterface(r){return this.each(function(){const d=cn.getOrCreateInstance(this,r);if(typeof r=="string"){if(d[r]===void 0||r.startsWith("_")||r==="constructor")throw new TypeError(`No method named "${r}"`);d[r](this)}})}}k.on(document,yl,'[data-bs-toggle="offcanvas"]',function(p){const r=nt.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&p.preventDefault(),D(this))return;k.one(r,Ie,()=>{E(this)&&this.focus()});const d=nt.findOne(co);d&&d!==r&&cn.getInstance(d).hide(),cn.getOrCreateInstance(r).toggle(this)}),k.on(window,uo,()=>{for(const p of nt.find(co))cn.getOrCreateInstance(p).show()}),k.on(window,tn,()=>{for(const p of nt.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(p).position!=="fixed"&&cn.getOrCreateInstance(p).hide()}),Ft(cn),H(cn);const qn={"*":["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:[]},mo=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),mr=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,bl=(p,r)=>{const d=p.nodeName.toLowerCase();return r.includes(d)?!mo.has(d)||!!mr.test(p.nodeValue):r.filter(v=>v instanceof RegExp).some(v=>v.test(d))},po={allowList:qn,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},en={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},_l={entry:"(string|element|function|null)",selector:"(string|element)"};class Sl extends me{constructor(r){super(),this._config=this._getConfig(r)}static get Default(){return po}static get DefaultType(){return en}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(r=>this._resolvePossibleFunction(r)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(r){return this._checkContent(r),this._config.content={...this._config.content,...r},this}toHtml(){const r=document.createElement("div");r.innerHTML=this._maybeSanitize(this._config.template);for(const[A,O]of Object.entries(this._config.content))this._setContent(r,O,A);const d=r.children[0],v=this._resolvePossibleFunction(this._config.extraClass);return v&&d.classList.add(...v.split(" ")),d}_typeCheckConfig(r){super._typeCheckConfig(r),this._checkContent(r.content)}_checkContent(r){for(const[d,v]of Object.entries(r))super._typeCheckConfig({selector:d,entry:v},_l)}_setContent(r,d,v){const A=nt.findOne(v,r);A&&((d=this._resolvePossibleFunction(d))?b(d)?this._putElementInTemplate(S(d),A):this._config.html?A.innerHTML=this._maybeSanitize(d):A.textContent=d:A.remove())}_maybeSanitize(r){return this._config.sanitize?function(d,v,A){if(!d.length)return d;if(A&&typeof A=="function")return A(d);const O=new window.DOMParser().parseFromString(d,"text/html"),R=[].concat(...O.body.querySelectorAll("*"));for(const X of R){const J=X.nodeName.toLowerCase();if(!Object.keys(v).includes(J)){X.remove();continue}const V=[].concat(...X.attributes),K=[].concat(v["*"]||[],v[J]||[]);for(const $ of V)bl($,K)||X.removeAttribute($.nodeName)}return O.body.innerHTML}(r,this._config.allowList,this._config.sanitizeFn):r}_resolvePossibleFunction(r){return W(r,[this])}_putElementInTemplate(r,d){if(this._config.html)return d.innerHTML="",void d.append(r);d.textContent=r.textContent}}const pr=new Set(["sanitize","allowList","sanitizeFn"]),El="fade",xe="show",Ge=".modal",fa="hide.bs.modal",Ve="hover",fn="focus",ka={AUTO:"auto",TOP:"top",RIGHT:Q()?"left":"right",BOTTOM:"bottom",LEFT:Q()?"right":"left"},go={allowList:qn,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"},Rs={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 Yn extends He{constructor(r,d){if(rr===void 0)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(r,d),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 go}static get DefaultType(){return Rs}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),k.off(this._element.closest(Ge),fa,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 r=k.trigger(this._element,this.constructor.eventName("show")),d=(j(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(r.defaultPrevented||!d)return;this._disposePopper();const v=this._getTipElement();this._element.setAttribute("aria-describedby",v.getAttribute("id"));const{container:A}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(A.append(v),k.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(v),v.classList.add(xe),"ontouchstart"in document.documentElement)for(const O of[].concat(...document.body.children))k.on(O,"mouseover",z);this._queueCallback(()=>{k.trigger(this._element,this.constructor.eventName("shown")),this._isHovered===!1&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}hide(){if(this._isShown()&&!k.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(xe),"ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))k.off(r,"mouseover",z);this._activeTrigger.click=!1,this._activeTrigger[fn]=!1,this._activeTrigger[Ve]=!1,this._isHovered=null,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),k.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(r){const d=this._getTemplateFactory(r).toHtml();if(!d)return null;d.classList.remove(El,xe),d.classList.add(`bs-${this.constructor.NAME}-auto`);const v=(A=>{do A+=Math.floor(1e6*Math.random());while(document.getElementById(A));return A})(this.constructor.NAME).toString();return d.setAttribute("id",v),this._isAnimated()&&d.classList.add(El),d}setContent(r){this._newContent=r,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(r){return this._templateFactory?this._templateFactory.changeContent(r):this._templateFactory=new Sl({...this._config,content:r,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(r){return this.constructor.getOrCreateInstance(r.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(El)}_isShown(){return this.tip&&this.tip.classList.contains(xe)}_createPopper(r){const d=W(this._config.placement,[this,r,this._element]),v=ka[d.toUpperCase()];return ys(this._element,r,this._getPopperConfig(v))}_getOffset(){const{offset:r}=this._config;return typeof r=="string"?r.split(",").map(d=>Number.parseInt(d,10)):typeof r=="function"?d=>r(d,this._element):r}_resolvePossibleFunction(r){return W(r,[this._element])}_getPopperConfig(r){const d={placement:r,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:v=>{this._getTipElement().setAttribute("data-popper-placement",v.state.placement)}}]};return{...d,...W(this._config.popperConfig,[d])}}_setListeners(){const r=this._config.trigger.split(" ");for(const d of r)if(d==="click")k.on(this._element,this.constructor.eventName("click"),this._config.selector,v=>{this._initializeOnDelegatedTarget(v).toggle()});else if(d!=="manual"){const v=d===Ve?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),A=d===Ve?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");k.on(this._element,v,this._config.selector,O=>{const R=this._initializeOnDelegatedTarget(O);R._activeTrigger[O.type==="focusin"?fn:Ve]=!0,R._enter()}),k.on(this._element,A,this._config.selector,O=>{const R=this._initializeOnDelegatedTarget(O);R._activeTrigger[O.type==="focusout"?fn:Ve]=R._element.contains(O.relatedTarget),R._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},k.on(this._element.closest(Ge),fa,this._hideModalHandler)}_fixTitle(){const r=this._element.getAttribute("title");r&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",r),this._element.setAttribute("data-bs-original-title",r),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(r,d){clearTimeout(this._timeout),this._timeout=setTimeout(r,d)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(r){const d=_t.getDataAttributes(this._element);for(const v of Object.keys(d))pr.has(v)&&delete d[v];return r={...d,...typeof r=="object"&&r?r:{}},r=this._mergeConfigObj(r),r=this._configAfterMerge(r),this._typeCheckConfig(r),r}_configAfterMerge(r){return r.container=r.container===!1?document.body:S(r.container),typeof r.delay=="number"&&(r.delay={show:r.delay,hide:r.delay}),typeof r.title=="number"&&(r.title=r.title.toString()),typeof r.content=="number"&&(r.content=r.content.toString()),r}_getDelegateConfig(){const r={};for(const[d,v]of Object.entries(this._config))this.constructor.Default[d]!==v&&(r[d]=v);return r.selector=!1,r.trigger="manual",r}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(r){return this.each(function(){const d=Yn.getOrCreateInstance(this,r);if(typeof r=="string"){if(d[r]===void 0)throw new TypeError(`No method named "${r}"`);d[r]()}})}}H(Yn);const Te={...Yn.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"},he={...Yn.DefaultType,content:"(null|string|element|function)"};class xt extends Yn{static get Default(){return Te}static get DefaultType(){return he}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(r){return this.each(function(){const d=xt.getOrCreateInstance(this,r);if(typeof r=="string"){if(d[r]===void 0)throw new TypeError(`No method named "${r}"`);d[r]()}})}}H(xt);const Qe=".bs.scrollspy",On=`activate${Qe}`,gr=`click${Qe}`,Ba=`load${Qe}.data-api`,qa="active",vr="[href]",Al=".nav-link",bi=`${Al}, .nav-item > ${Al}, .list-group-item`,_i={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Si={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class xl extends He{constructor(r,d){super(r,d),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 _i}static get DefaultType(){return Si}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const r of this._observableSections.values())this._observer.observe(r)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(r){return r.target=S(r.target)||document.body,r.rootMargin=r.offset?`${r.offset}px 0px -30%`:r.rootMargin,typeof r.threshold=="string"&&(r.threshold=r.threshold.split(",").map(d=>Number.parseFloat(d))),r}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(k.off(this._config.target,gr),k.on(this._config.target,gr,vr,r=>{const d=this._observableSections.get(r.target.hash);if(d){r.preventDefault();const v=this._rootElement||window,A=d.offsetTop-this._element.offsetTop;if(v.scrollTo)return void v.scrollTo({top:A,behavior:"smooth"});v.scrollTop=A}}))}_getNewObserver(){const r={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(d=>this._observerCallback(d),r)}_observerCallback(r){const d=R=>this._targetLinks.get(`#${R.target.id}`),v=R=>{this._previousScrollData.visibleEntryTop=R.target.offsetTop,this._process(d(R))},A=(this._rootElement||document.documentElement).scrollTop,O=A>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=A;for(const R of r){if(!R.isIntersecting){this._activeTarget=null,this._clearActiveClass(d(R));continue}const X=R.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(O&&X){if(v(R),!A)return}else O||X||v(R)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const r=nt.find(vr,this._config.target);for(const d of r){if(!d.hash||D(d))continue;const v=nt.findOne(decodeURI(d.hash),this._element);E(v)&&(this._targetLinks.set(decodeURI(d.hash),d),this._observableSections.set(d.hash,v))}}_process(r){this._activeTarget!==r&&(this._clearActiveClass(this._config.target),this._activeTarget=r,r.classList.add(qa),this._activateParents(r),k.trigger(this._element,On,{relatedTarget:r}))}_activateParents(r){if(r.classList.contains("dropdown-item"))nt.findOne(".dropdown-toggle",r.closest(".dropdown")).classList.add(qa);else for(const d of nt.parents(r,".nav, .list-group"))for(const v of nt.prev(d,bi))v.classList.add(qa)}_clearActiveClass(r){r.classList.remove(qa);const d=nt.find(`${vr}.${qa}`,r);for(const v of d)v.classList.remove(qa)}static jQueryInterface(r){return this.each(function(){const d=xl.getOrCreateInstance(this,r);if(typeof r=="string"){if(d[r]===void 0||r.startsWith("_")||r==="constructor")throw new TypeError(`No method named "${r}"`);d[r]()}})}}k.on(window,Ba,()=>{for(const p of nt.find('[data-bs-spy="scroll"]'))xl.getOrCreateInstance(p)}),H(xl);const Xn=".bs.tab",vo=`hide${Xn}`,yr=`hidden${Xn}`,yo=`show${Xn}`,Ei=`shown${Xn}`,bo=`click${Xn}`,Tl=`keydown${Xn}`,Ai=`load${Xn}`,br="ArrowLeft",Ol="ArrowRight",_r="ArrowUp",Ls="ArrowDown",Sr="Home",da="End",ha="active",Ya="fade",Cl="show",js=".dropdown-toggle",xi=`:not(${js})`,Er='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Re=`.nav-link${xi}, .list-group-item${xi}, [role="tab"]${xi}, ${Er}`,Cn=`.${ha}[data-bs-toggle="tab"], .${ha}[data-bs-toggle="pill"], .${ha}[data-bs-toggle="list"]`;class Le extends He{constructor(r){super(r),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),k.on(this._element,Tl,d=>this._keydown(d)))}static get NAME(){return"tab"}show(){const r=this._element;if(this._elemIsActive(r))return;const d=this._getActiveElem(),v=d?k.trigger(d,vo,{relatedTarget:r}):null;k.trigger(r,yo,{relatedTarget:d}).defaultPrevented||v&&v.defaultPrevented||(this._deactivate(d,r),this._activate(r,d))}_activate(r,d){r&&(r.classList.add(ha),this._activate(nt.getElementFromSelector(r)),this._queueCallback(()=>{r.getAttribute("role")==="tab"?(r.removeAttribute("tabindex"),r.setAttribute("aria-selected",!0),this._toggleDropDown(r,!0),k.trigger(r,Ei,{relatedTarget:d})):r.classList.add(Cl)},r,r.classList.contains(Ya)))}_deactivate(r,d){r&&(r.classList.remove(ha),r.blur(),this._deactivate(nt.getElementFromSelector(r)),this._queueCallback(()=>{r.getAttribute("role")==="tab"?(r.setAttribute("aria-selected",!1),r.setAttribute("tabindex","-1"),this._toggleDropDown(r,!1),k.trigger(r,yr,{relatedTarget:d})):r.classList.remove(Cl)},r,r.classList.contains(Ya)))}_keydown(r){if(![br,Ol,_r,Ls,Sr,da].includes(r.key))return;r.stopPropagation(),r.preventDefault();const d=this._getChildren().filter(A=>!D(A));let v;if([Sr,da].includes(r.key))v=d[r.key===Sr?0:d.length-1];else{const A=[Ol,Ls].includes(r.key);v=bt(d,r.target,A,!0)}v&&(v.focus({preventScroll:!0}),Le.getOrCreateInstance(v).show())}_getChildren(){return nt.find(Re,this._parent)}_getActiveElem(){return this._getChildren().find(r=>this._elemIsActive(r))||null}_setInitialAttributes(r,d){this._setAttributeIfNotExists(r,"role","tablist");for(const v of d)this._setInitialAttributesOnChild(v)}_setInitialAttributesOnChild(r){r=this._getInnerElement(r);const d=this._elemIsActive(r),v=this._getOuterElement(r);r.setAttribute("aria-selected",d),v!==r&&this._setAttributeIfNotExists(v,"role","presentation"),d||r.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(r,"role","tab"),this._setInitialAttributesOnTargetPanel(r)}_setInitialAttributesOnTargetPanel(r){const d=nt.getElementFromSelector(r);d&&(this._setAttributeIfNotExists(d,"role","tabpanel"),r.id&&this._setAttributeIfNotExists(d,"aria-labelledby",`${r.id}`))}_toggleDropDown(r,d){const v=this._getOuterElement(r);if(!v.classList.contains("dropdown"))return;const A=(O,R)=>{const X=nt.findOne(O,v);X&&X.classList.toggle(R,d)};A(js,ha),A(".dropdown-menu",Cl),v.setAttribute("aria-expanded",d)}_setAttributeIfNotExists(r,d,v){r.hasAttribute(d)||r.setAttribute(d,v)}_elemIsActive(r){return r.classList.contains(ha)}_getInnerElement(r){return r.matches(Re)?r:nt.findOne(Re,r)}_getOuterElement(r){return r.closest(".nav-item, .list-group-item")||r}static jQueryInterface(r){return this.each(function(){const d=Le.getOrCreateInstance(this);if(typeof r=="string"){if(d[r]===void 0||r.startsWith("_")||r==="constructor")throw new TypeError(`No method named "${r}"`);d[r]()}})}}k.on(document,bo,Er,function(p){["A","AREA"].includes(this.tagName)&&p.preventDefault(),D(this)||Le.getOrCreateInstance(this).show()}),k.on(window,Ai,()=>{for(const p of nt.find(Cn))Le.getOrCreateInstance(p)}),H(Le);const Gn=".bs.toast",ma=`mouseover${Gn}`,Vn=`mouseout${Gn}`,re=`focusin${Gn}`,Ar=`focusout${Gn}`,Fc=`hide${Gn}`,Jc=`hidden${Gn}`,Wc=`show${Gn}`,se=`shown${Gn}`,xr="hide",pa="show",ga="showing",Us={animation:"boolean",autohide:"boolean",delay:"number"},wl={animation:!0,autohide:!0,delay:5e3};class wn extends He{constructor(r,d){super(r,d),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return wl}static get DefaultType(){return Us}static get NAME(){return"toast"}show(){k.trigger(this._element,Wc).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(xr),q(this._element),this._element.classList.add(pa,ga),this._queueCallback(()=>{this._element.classList.remove(ga),k.trigger(this._element,se),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&(k.trigger(this._element,Fc).defaultPrevented||(this._element.classList.add(ga),this._queueCallback(()=>{this._element.classList.add(xr),this._element.classList.remove(ga,pa),k.trigger(this._element,Jc)},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(r,d){switch(r.type){case"mouseover":case"mouseout":this._hasMouseInteraction=d;break;case"focusin":case"focusout":this._hasKeyboardInteraction=d}if(d)return void this._clearTimeout();const v=r.relatedTarget;this._element===v||this._element.contains(v)||this._maybeScheduleHide()}_setListeners(){k.on(this._element,ma,r=>this._onInteraction(r,!0)),k.on(this._element,Vn,r=>this._onInteraction(r,!1)),k.on(this._element,re,r=>this._onInteraction(r,!0)),k.on(this._element,Ar,r=>this._onInteraction(r,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(r){return this.each(function(){const d=wn.getOrCreateInstance(this,r);if(typeof r=="string"){if(d[r]===void 0)throw new TypeError(`No method named "${r}"`);d[r](this)}})}}return Ft(wn),H(wn),{Alert:Fe,Button:ea,Carousel:wa,Collapse:ia,Dropdown:on,Modal:Bn,Offcanvas:cn,Popover:xt,ScrollSpy:xl,Tab:Le,Toast:wn,Tooltip:Yn}})}(oc)),oc.exports}Eb();const Ab=()=>G.jsxs("div",{className:"home-container",children:[G.jsxs("header",{className:"hero-section",children:[G.jsx("h1",{className:"hero-title",children:"ContaminUS"}),G.jsx("p",{className:"hero-description",children:"Proyecto universitario para monitorear la calidad del aire usando sensores IoT."}),G.jsx("button",{className:"cta-button",children:"Explorar Proyecto"})]}),G.jsxs("section",{className:"about-section",children:[G.jsx("h2",{children:"Sobre el Proyecto"}),G.jsx("p",{children:"ContaminUS es una solución basada en tecnologías IoT para medir la calidad del aire en tiempo real. Este proyecto busca crear una herramienta accesible para estudiantes, investigadores y comunidades interesadas en el monitoreo ambiental."}),G.jsxs("div",{className:"features",children:[G.jsxs("div",{className:"feature",children:[G.jsx("h3",{children:"Medición en tiempo real"}),G.jsx("p",{children:"Monitorea la calidad del aire con sensores MQ-135 y DHT11, mostrando datos precisos y actualizados."})]}),G.jsxs("div",{className:"feature",children:[G.jsx("h3",{children:"Aplicación web interactiva"}),G.jsx("p",{children:"Visualiza los datos de calidad del aire mediante mapas interactivos y gráficos."})]}),G.jsxs("div",{className:"feature",children:[G.jsx("h3",{children:"Colaboración en la universidad"}),G.jsx("p",{children:"El proyecto está orientado a estudiantes que deseen aprender y colaborar con el análisis de datos ambientales."})]})]})]})]});function zg(l,u){const o=w.useRef(u);w.useEffect(function(){u!==o.current&&l.attributionControl!=null&&(o.current!=null&&l.attributionControl.removeAttribution(o.current),u!=null&&l.attributionControl.addAttribution(u)),o.current=u},[l,u])}function xb(l,u,o){u.center!==o.center&&l.setLatLng(u.center),u.radius!=null&&u.radius!==o.radius&&l.setRadius(u.radius)}const Tb=1;function Ob(l){return Object.freeze({__version:Tb,map:l})}function Cb(l,u){return Object.freeze({...l,...u})}const lh=w.createContext(null);function ih(){const l=w.use(lh);if(l==null)throw new Error("No context provided: useLeafletContext() can only be used in a descendant of <MapContainer>");return l}function wb(l){function u(o,c){const{instance:f,context:m}=l(o).current;w.useImperativeHandle(c,()=>f);const{children:y}=o;return y==null?null:Bi.createElement(lh,{value:m},y)}return w.forwardRef(u)}function Db(l){function u(o,c){const[f,m]=w.useState(!1),{instance:y}=l(o,m).current;w.useImperativeHandle(c,()=>y),w.useEffect(function(){f&&y.update()},[y,f,o.children]);const b=y._contentNode;return b?_b.createPortal(o.children,b):null}return w.forwardRef(u)}function Mb(l){function u(o,c){const{instance:f}=l(o).current;return w.useImperativeHandle(c,()=>f),null}return w.forwardRef(u)}function rh(l,u){const o=w.useRef(void 0);w.useEffect(function(){return u!=null&&l.instance.on(u),o.current=u,function(){o.current!=null&&l.instance.off(o.current),o.current=null}},[l,u])}function yc(l,u){const o=l.pane??u.pane;return o?{...l,pane:o}:l}function Nb(l,u){return function(c,f){const m=ih(),y=l(yc(c,m),m);return zg(m.map,c.attribution),rh(y.current,c.eventHandlers),u(y.current,m,c,f),y}}var bc=Uy();function sh(l,u,o){return Object.freeze({instance:l,context:u,container:o})}function uh(l,u){return u==null?function(c,f){const m=w.useRef(void 0);return m.current||(m.current=l(c,f)),m}:function(c,f){const m=w.useRef(void 0);m.current||(m.current=l(c,f));const y=w.useRef(c),{instance:b}=m.current;return w.useEffect(function(){y.current!==c&&(u(b,c,y.current),y.current=c)},[b,c,u]),m}}function Rg(l,u){w.useEffect(function(){return(u.layerContainer??u.map).addLayer(l.instance),function(){var m;(m=u.layerContainer)==null||m.removeLayer(l.instance),u.map.removeLayer(l.instance)}},[u,l])}function zb(l){return function(o){const c=ih(),f=l(yc(o,c),c);return zg(c.map,o.attribution),rh(f.current,o.eventHandlers),Rg(f.current,c),f}}function Rb(l,u){const o=w.useRef(void 0);w.useEffect(function(){if(u.pathOptions!==o.current){const f=u.pathOptions??{};l.instance.setStyle(f),o.current=f}},[l,u])}function Lb(l){return function(o){const c=ih(),f=l(yc(o,c),c);return rh(f.current,o.eventHandlers),Rg(f.current,c),Rb(f.current,o),f}}function jb(l,u){const o=uh(l),c=Nb(o,u);return Db(c)}function Ub(l,u){const o=uh(l,u),c=Lb(o);return wb(c)}function Hb(l,u){const o=uh(l,u),c=zb(o);return Mb(c)}function kb(l,u,o){const{opacity:c,zIndex:f}=u;c!=null&&c!==o.opacity&&l.setOpacity(c),f!=null&&f!==o.zIndex&&l.setZIndex(f)}const Np=Ub(function({center:u,children:o,...c},f){const m=new bc.Circle(u,c);return sh(m,Cb(f,{overlayContainer:m}))},xb);function Bb({bounds:l,boundsOptions:u,center:o,children:c,className:f,id:m,placeholder:y,style:b,whenReady:S,zoom:E,...D},j){const[z]=w.useState({className:f,id:m,style:b}),[q,L]=w.useState(null),I=w.useRef(void 0);w.useImperativeHandle(j,()=>(q==null?void 0:q.map)??null,[q]);const Q=w.useCallback(W=>{if(W!==null&&!I.current){const P=new bc.Map(W,D);I.current=P,o!=null&&E!=null?P.setView(o,E):l!=null&&P.fitBounds(l,u),S!=null&&P.whenReady(S),L(Ob(P))}},[]);w.useEffect(()=>()=>{q==null||q.map.remove()},[q]);const H=q?Bi.createElement(lh,{value:q},c):y??null;return Bi.createElement("div",{...z,ref:Q},H)}const qb=w.forwardRef(Bb),Yb=jb(function(u,o){const c=new bc.Popup(u,o.overlayContainer);return sh(c,o)},function(u,o,{position:c},f){w.useEffect(function(){const{instance:y}=u;function b(E){E.popup===y&&(y.update(),f(!0))}function S(E){E.popup===y&&f(!1)}return o.map.on({popupopen:b,popupclose:S}),o.overlayContainer==null?(c!=null&&y.setLatLng(c),y.openOn(o.map)):o.overlayContainer.bindPopup(y),function(){var D;o.map.off({popupopen:b,popupclose:S}),(D=o.overlayContainer)==null||D.unbindPopup(),o.map.removeLayer(y)}},[u,o,f,c])}),Xb=Hb(function({url:u,...o},c){const f=new bc.TileLayer(u,yc(o,c));return sh(f,c)},function(u,o,c){kb(u,o,c);const{url:f}=o;f!=null&&f!==c.url&&u.setUrl(f)});var Sd={exports:{}},Ed,zp;function Gb(){if(zp)return Ed;zp=1;var l="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Ed=l,Ed}var Ad,Rp;function Vb(){if(Rp)return Ad;Rp=1;var l=Gb();function u(){}function o(){}return o.resetWarningCache=u,Ad=function(){function c(y,b,S,E,D,j){if(j!==l){var z=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw z.name="Invariant Violation",z}}c.isRequired=c;function f(){return c}var m={array:c,bigint:c,bool:c,func:c,number:c,object:c,string:c,symbol:c,any:c,arrayOf:f,element:c,elementType:c,instanceOf:f,node:c,objectOf:f,oneOf:f,oneOfType:f,shape:f,exact:f,checkPropTypes:o,resetWarningCache:u};return m.PropTypes=m,m},Ad}var Lp;function Qb(){return Lp||(Lp=1,Sd.exports=Vb()()),Sd.exports}var Zb=Qb();const et=hg(Zb),Lg=w.createContext(),jg=({children:l})=>{const[u,o]=w.useState(null),[c,f]=w.useState(!0),[m,y]=w.useState(null);return w.useEffect(()=>{(async()=>{try{const S=await fetch("/config/settings.json");if(!S.ok)throw new Error("Error al cargar settings.json");const E=await S.json();o(E)}catch(S){y(S.message)}finally{f(!1)}})()},[]),G.jsx(Lg.Provider,{value:{config:u,configLoading:c,configError:m},children:l})};jg.propTypes={children:et.node.isRequired};const Fr=()=>w.useContext(Lg),Ug=w.createContext(),Mu=({children:l,config:u})=>{const[o,c]=w.useState(null),[f,m]=w.useState(!0),[y,b]=w.useState(null);return w.useEffect(()=>{(async()=>{try{const E=new URLSearchParams(u.params).toString(),D=`${u.baseUrl}?${E}`,j=await fetch(D);if(!j.ok)throw new Error("Error al obtener datos");const z=await j.json();c(z)}catch(E){b(E.message)}finally{m(!1)}})()},[u]),G.jsx(Ug.Provider,{value:{data:o,dataLoading:f,dataError:y},children:l})};Mu.propTypes={children:et.node.isRequired,config:et.shape({baseUrl:et.string.isRequired,params:et.object}).isRequired};const _c=()=>w.useContext(Ug),Kb=({data:l})=>l.map(({lat:u,lng:o,level:c},f)=>{const m=c<20?"#00FF85":c<60?"#FFA500":"#FF0000",y=4,S=400/y;return G.jsxs("div",{children:[[...Array(y)].map((E,D)=>{const j=S*(D+1),z=.6*((D+1)/y);return G.jsx(Np,{center:[u,o],pathOptions:{color:m,fillColor:m,fillOpacity:z,weight:1},radius:j},`${f}-${D}`)}),G.jsx(Np,{center:[u,o],pathOptions:{color:m,fillColor:m,fillOpacity:.8,weight:2},radius:50,children:G.jsxs(Yb,{children:["Contaminación: ",c," µg/m³"]})})]},f)}),Hg=({deviceId:l})=>{const{config:u,configLoading:o,configError:c}=Fr();if(o)return G.jsx("p",{children:"Cargando configuración..."});if(c)return G.jsxs("p",{children:["Error al cargar configuración: ",c]});if(!u)return G.jsx("p",{children:"Configuración no disponible."});const f=u.appConfig.endpoints.BASE_URL;let y=u.appConfig.endpoints.GET_DEVICE_POLLUTION_MAP.replace("{0}",l);const b={baseUrl:`${f}/${y}`,params:{}};return G.jsx(Mu,{config:b,children:G.jsx($b,{})})},$b=()=>{const{config:l,configLoading:u,configError:o}=Fr(),{data:c,dataLoading:f,dataError:m}=_c();if(u)return G.jsx("p",{children:"Cargando configuración..."});if(o)return G.jsxs("p",{children:["Error al cargar configuración: ",o]});if(!l)return G.jsx("p",{children:"Configuración no disponible."});if(f)return G.jsx("p",{children:"Cargando datos..."});if(m)return G.jsxs("p",{children:["Error al cargar datos: ",o]});if(!c)return G.jsx("p",{children:"Datos no disponibles."});const y=l==null?void 0:l.userConfig.city,b=c.map(S=>({lat:S.lat,lng:S.lon,level:S.carbonMonoxide}));return G.jsx("div",{className:"p-3",children:G.jsxs(qb,{center:y,zoom:13,scrollWheelZoom:!1,style:Fb,children:[G.jsx(Xb,{attribution:'© Contribuidores de <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>',url:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}),G.jsx(Kb,{data:b})]})})},Fb={height:"500px",width:"100%",borderRadius:"20px"};Hg.propTypes={deviceId:et.number.isRequired};const kg="label";function jp(l,u){typeof l=="function"?l(u):l&&(l.current=u)}function Jb(l,u){const o=l.options;o&&u&&Object.assign(o,u)}function Bg(l,u){l.labels=u}function qg(l,u){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:kg;const c=[];l.datasets=u.map(f=>{const m=l.datasets.find(y=>y[o]===f[o]);return!m||!f.data||c.includes(m)?{...f}:(c.push(m),Object.assign(m,f),m)})}function Wb(l){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:kg;const o={labels:[],datasets:[]};return Bg(o,l.labels),qg(o,l.datasets,u),o}function Pb(l,u){const{height:o=150,width:c=300,redraw:f=!1,datasetIdKey:m,type:y,data:b,options:S,plugins:E=[],fallbackContent:D,updateMode:j,...z}=l,q=w.useRef(null),L=w.useRef(null),I=()=>{q.current&&(L.current=new Pd(q.current,{type:y,data:Wb(b,m),options:S&&{...S},plugins:E}),jp(u,L.current))},Q=()=>{jp(u,null),L.current&&(L.current.destroy(),L.current=null)};return w.useEffect(()=>{!f&&L.current&&S&&Jb(L.current,S)},[f,S]),w.useEffect(()=>{!f&&L.current&&Bg(L.current.config.data,b.labels)},[f,b.labels]),w.useEffect(()=>{!f&&L.current&&b.datasets&&qg(L.current.config.data,b.datasets,m)},[f,b.datasets]),w.useEffect(()=>{L.current&&(f?(Q(),setTimeout(I)):L.current.update(j))},[f,S,b.labels,b.datasets,j]),w.useEffect(()=>{L.current&&(Q(),setTimeout(I))},[y]),w.useEffect(()=>(I(),()=>Q()),[]),Bi.createElement("canvas",{ref:q,role:"img",height:o,width:c,...z},D)}const Ib=w.forwardRef(Pb);function t1(l,u){return Pd.register(u),w.forwardRef((o,c)=>Bi.createElement(Ib,{...o,ref:c,type:l}))}const e1=t1("line",Hy),Yg=w.createContext();function Xg({children:l}){const[u,o]=w.useState(()=>localStorage.getItem("theme")||"light");w.useEffect(()=>{document.body.classList.remove("light","dark"),document.body.classList.add(u),localStorage.setItem("theme",u)},[u]);const c=()=>{o(f=>f==="light"?"dark":"light")};return G.jsx(Yg.Provider,{value:{theme:u,toggleTheme:c},children:l})}Xg.propTypes={children:et.node.isRequired};function Nu(){return w.useContext(Yg)}const Sc=({title:l,status:u,children:o,styleMode:c,className:f,titleIcon:m})=>{const y=w.useRef(null),[b,S]=w.useState(l),{theme:E}=Nu();return w.useEffect(()=>{const D=()=>{y.current&&(y.current.offsetWidth<300&&l.length>15?S(l.slice(0,10)+"."):S(l))};return D(),window.addEventListener("resize",D),()=>window.removeEventListener("resize",D)},[l]),G.jsx("div",{ref:y,className:c==="override"?`${f}`:`col-xl-3 col-sm-6 d-flex flex-column align-items-center p-3 card-container ${f}`,children:G.jsxs("div",{className:`card p-3 w-100 ${E}`,children:[G.jsxs("h3",{className:"text-center",children:[m,b]}),G.jsx("div",{className:"card-content",children:o}),u?G.jsx("span",{className:"status text-center mt-2",children:u}):null]})})};Sc.propTypes={title:et.string.isRequired,status:et.string.isRequired,children:et.node.isRequired,styleMode:et.oneOf(["override",""]),className:et.string,titleIcon:et.node};Sc.defaultProps={styleMode:""};const oh=({cards:l,className:u})=>G.jsx("div",{className:`row justify-content-center g-0 ${u}`,children:l.map((o,c)=>G.jsx(Sc,{title:o.title,status:o.status,styleMode:o.styleMode,className:o.className,titleIcon:o.titleIcon,children:G.jsx("p",{className:"card-text text-center",children:o.content})},c))});oh.propTypes={cards:et.arrayOf(et.shape({title:et.string.isRequired,content:et.string.isRequired,status:et.string.isRequired})).isRequired,className:et.string};Pd.register(ky,By,qy,Yy,Xy);const n1=()=>{const{config:l,configLoading:u,configError:o}=Fr();if(u)return G.jsx("p",{children:"Cargando configuración..."});if(o)return G.jsxs("p",{children:["Error al cargar configuración: ",o]});if(!l)return G.jsx("p",{children:"Configuración no disponible."});const c=l.appConfig.endpoints.BASE_URL,f=l.appConfig.endpoints.sensors,m={baseUrl:`${c}/${f}`,params:{}};return G.jsx(Mu,{config:m,children:G.jsx(Gg,{})})},Gg=()=>{var q,L,I,Q;const{config:l}=Fr(),{data:u,loading:o}=_c(),{theme:c}=Nu(),f=((L=(q=l==null?void 0:l.appConfig)==null?void 0:q.historyChartConfig)==null?void 0:L.chartOptionsDark)??{},m=((Q=(I=l==null?void 0:l.appConfig)==null?void 0:I.historyChartConfig)==null?void 0:Q.chartOptionsLight)??{},y=c==="dark"?f:m,b=new Date().getHours(),S=[`${b-3}:00`,`${b-2}:00`,`${b-1}:00`,`${b}:00`,`${b+1}:00`,`${b+2}:00`,`${b+3}:00`];if(o)return G.jsx("p",{children:"Cargando datos..."});const E=[],D=[],j=[];u==null||u.forEach(H=>{H.value!=null&&(H.sensor_type==="MQ-135"?j.push(H.value):H.sensor_type==="DHT-11"&&(E.push(H.value),D.push(H.value)))});const z=[{title:"🌡️ Temperatura",data:E.length?E:[0],borderColor:"#00FF85",backgroundColor:"rgba(0, 255, 133, 0.2)"},{title:"💧 Humedad",data:D.length?D:[0],borderColor:"#00D4FF",backgroundColor:"rgba(0, 212, 255, 0.2)"},{title:"☁️ Contaminación",data:j.length?j:[0],borderColor:"#FFA500",backgroundColor:"rgba(255, 165, 0, 0.2)"}];return G.jsx(oh,{cards:z.map(({title:H,data:W,borderColor:P,backgroundColor:bt})=>({title:H,content:G.jsx(e1,{data:{labels:S,datasets:[{data:W,borderColor:P,backgroundColor:bt,fill:!0,tension:.4}]},options:y}),styleMode:"override",className:"col-lg-4 col-xxs-12 d-flex flex-column align-items-center p-3 card-container"})),className:""})};Gg.propTypes={options:et.object,timeLabels:et.array,data:et.array};/*!
 * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
 * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
 * Copyright 2024 Fonticons, Inc.
 */function a1(l,u,o){return(u=i1(u))in l?Object.defineProperty(l,u,{value:o,enumerable:!0,configurable:!0,writable:!0}):l[u]=o,l}function Up(l,u){var o=Object.keys(l);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(l);u&&(c=c.filter(function(f){return Object.getOwnPropertyDescriptor(l,f).enumerable})),o.push.apply(o,c)}return o}function F(l){for(var u=1;u<arguments.length;u++){var o=arguments[u]!=null?arguments[u]:{};u%2?Up(Object(o),!0).forEach(function(c){a1(l,c,o[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(o)):Up(Object(o)).forEach(function(c){Object.defineProperty(l,c,Object.getOwnPropertyDescriptor(o,c))})}return l}function l1(l,u){if(typeof l!="object"||!l)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var c=o.call(l,u);if(typeof c!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(u==="string"?String:Number)(l)}function i1(l){var u=l1(l,"string");return typeof u=="symbol"?u:u+""}const Hp=()=>{};let ch={},Vg={},Qg=null,Zg={mark:Hp,measure:Hp};try{typeof window<"u"&&(ch=window),typeof document<"u"&&(Vg=document),typeof MutationObserver<"u"&&(Qg=MutationObserver),typeof performance<"u"&&(Zg=performance)}catch{}const{userAgent:kp=""}=ch.navigator||{},$l=ch,$t=Vg,Bp=Qg,ic=Zg;$l.document;const ll=!!$t.documentElement&&!!$t.head&&typeof $t.addEventListener=="function"&&typeof $t.createElement=="function",Kg=~kp.indexOf("MSIE")||~kp.indexOf("Trident/");var r1=/fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,s1=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,$g={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"}},u1={GROUP:"duotone-group",PRIMARY:"primary",SECONDARY:"secondary"},Fg=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],Ue="classic",Ec="duotone",o1="sharp",c1="sharp-duotone",Jg=[Ue,Ec,o1,c1],f1={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"}},d1={"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"}},h1=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}]]),m1={classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",brands:"fab"},duotone:{solid:"fad",regular:"fadr",light:"fadl",thin:"fadt"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds",regular:"fasdr",light:"fasdl",thin:"fasdt"}},p1=["fak","fa-kit","fakd","fa-kit-duotone"],qp={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},g1=["kit"],v1={kit:{"fa-kit":"fak"}},y1=["fak","fakd"],b1={kit:{fak:"fa-kit"}},Yp={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},rc={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},_1=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],S1=["fak","fa-kit","fakd","fa-kit-duotone"],E1={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},A1={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"}},x1={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"]},Rd={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"}},T1=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands"],Ld=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt",..._1,...T1],O1=["solid","regular","light","thin","duotone","brands"],Wg=[1,2,3,4,5,6,7,8,9,10],C1=Wg.concat([11,12,13,14,15,16,17,18,19,20]),w1=[...Object.keys(x1),...O1,"2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",rc.GROUP,rc.SWAP_OPACITY,rc.PRIMARY,rc.SECONDARY].concat(Wg.map(l=>"".concat(l,"x"))).concat(C1.map(l=>"w-".concat(l))),D1={"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}};const nl="___FONT_AWESOME___",jd=16,Pg="fa",Ig="svg-inline--fa",qi="data-fa-i2svg",Ud="data-fa-pseudo-element",M1="data-fa-pseudo-element-pending",fh="data-prefix",dh="data-icon",Xp="fontawesome-i2svg",N1="async",z1=["HTML","HEAD","STYLE","SCRIPT"],tv=(()=>{try{return!0}catch{return!1}})();function zu(l){return new Proxy(l,{get(u,o){return o in u?u[o]:u[Ue]}})}const ev=F({},$g);ev[Ue]=F(F(F(F({},{"fa-duotone":"duotone"}),$g[Ue]),qp.kit),qp["kit-duotone"]);const R1=zu(ev),Hd=F({},m1);Hd[Ue]=F(F(F(F({},{duotone:"fad"}),Hd[Ue]),Yp.kit),Yp["kit-duotone"]);const Gp=zu(Hd),kd=F({},Rd);kd[Ue]=F(F({},kd[Ue]),b1.kit);const hh=zu(kd),Bd=F({},A1);Bd[Ue]=F(F({},Bd[Ue]),v1.kit);zu(Bd);const L1=r1,nv="fa-layers-text",j1=s1,U1=F({},f1);zu(U1);const H1=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],xd=u1,k1=[...g1,...w1],Eu=$l.FontAwesomeConfig||{};function B1(l){var u=$t.querySelector("script["+l+"]");if(u)return u.getAttribute(l)}function q1(l){return l===""?!0:l==="false"?!1:l==="true"?!0:l}$t&&typeof $t.querySelector=="function"&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(u=>{let[o,c]=u;const f=q1(B1(o));f!=null&&(Eu[c]=f)});const av={styleDefault:"solid",familyDefault:Ue,cssPrefix:Pg,replacementClass:Ig,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Eu.familyPrefix&&(Eu.cssPrefix=Eu.familyPrefix);const Zr=F(F({},av),Eu);Zr.autoReplaceSvg||(Zr.observeMutations=!1);const st={};Object.keys(av).forEach(l=>{Object.defineProperty(st,l,{enumerable:!0,set:function(u){Zr[l]=u,Au.forEach(o=>o(st))},get:function(){return Zr[l]}})});Object.defineProperty(st,"familyPrefix",{enumerable:!0,set:function(l){Zr.cssPrefix=l,Au.forEach(u=>u(st))},get:function(){return Zr.cssPrefix}});$l.FontAwesomeConfig=st;const Au=[];function Y1(l){return Au.push(l),()=>{Au.splice(Au.indexOf(l),1)}}const Zl=jd,Ea={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function X1(l){if(!l||!ll)return;const u=$t.createElement("style");u.setAttribute("type","text/css"),u.innerHTML=l;const o=$t.head.childNodes;let c=null;for(let f=o.length-1;f>-1;f--){const m=o[f],y=(m.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(y)>-1&&(c=m)}return $t.head.insertBefore(u,c),l}const G1="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Tu(){let l=12,u="";for(;l-- >0;)u+=G1[Math.random()*62|0];return u}function Jr(l){const u=[];for(let o=(l||[]).length>>>0;o--;)u[o]=l[o];return u}function mh(l){return l.classList?Jr(l.classList):(l.getAttribute("class")||"").split(" ").filter(u=>u)}function lv(l){return"".concat(l).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function V1(l){return Object.keys(l||{}).reduce((u,o)=>u+"".concat(o,'="').concat(lv(l[o]),'" '),"").trim()}function Ac(l){return Object.keys(l||{}).reduce((u,o)=>u+"".concat(o,": ").concat(l[o].trim(),";"),"")}function ph(l){return l.size!==Ea.size||l.x!==Ea.x||l.y!==Ea.y||l.rotate!==Ea.rotate||l.flipX||l.flipY}function Q1(l){let{transform:u,containerWidth:o,iconWidth:c}=l;const f={transform:"translate(".concat(o/2," 256)")},m="translate(".concat(u.x*32,", ").concat(u.y*32,") "),y="scale(".concat(u.size/16*(u.flipX?-1:1),", ").concat(u.size/16*(u.flipY?-1:1),") "),b="rotate(".concat(u.rotate," 0 0)"),S={transform:"".concat(m," ").concat(y," ").concat(b)},E={transform:"translate(".concat(c/2*-1," -256)")};return{outer:f,inner:S,path:E}}function Z1(l){let{transform:u,width:o=jd,height:c=jd,startCentered:f=!1}=l,m="";return f&&Kg?m+="translate(".concat(u.x/Zl-o/2,"em, ").concat(u.y/Zl-c/2,"em) "):f?m+="translate(calc(-50% + ".concat(u.x/Zl,"em), calc(-50% + ").concat(u.y/Zl,"em)) "):m+="translate(".concat(u.x/Zl,"em, ").concat(u.y/Zl,"em) "),m+="scale(".concat(u.size/Zl*(u.flipX?-1:1),", ").concat(u.size/Zl*(u.flipY?-1:1),") "),m+="rotate(".concat(u.rotate,"deg) "),m}var K1=`:root, :host {
  --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";
  --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";
  --fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro";
  --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Pro";
  --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";
  --fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 6 Duotone";
  --fa-font-duotone-light: normal 300 1em/1 "Font Awesome 6 Duotone";
  --fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 6 Duotone";
  --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";
  --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";
  --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";
  --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";
  --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";
  --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 6 Sharp Duotone";
  --fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 6 Sharp Duotone";
  --fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 6 Sharp Duotone";
  --fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 6 Sharp Duotone";
}

svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
  overflow: visible;
  box-sizing: content-box;
}

.svg-inline--fa {
  display: var(--fa-display, inline-block);
  height: 1em;
  overflow: visible;
  vertical-align: -0.125em;
}
.svg-inline--fa.fa-2xs {
  vertical-align: 0.1em;
}
.svg-inline--fa.fa-xs {
  vertical-align: 0em;
}
.svg-inline--fa.fa-sm {
  vertical-align: -0.0714285705em;
}
.svg-inline--fa.fa-lg {
  vertical-align: -0.2em;
}
.svg-inline--fa.fa-xl {
  vertical-align: -0.25em;
}
.svg-inline--fa.fa-2xl {
  vertical-align: -0.3125em;
}
.svg-inline--fa.fa-pull-left {
  margin-right: var(--fa-pull-margin, 0.3em);
  width: auto;
}
.svg-inline--fa.fa-pull-right {
  margin-left: var(--fa-pull-margin, 0.3em);
  width: auto;
}
.svg-inline--fa.fa-li {
  width: var(--fa-li-width, 2em);
  top: 0.25em;
}
.svg-inline--fa.fa-fw {
  width: var(--fa-fw-width, 1.25em);
}

.fa-layers svg.svg-inline--fa {
  bottom: 0;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
}

.fa-layers-counter, .fa-layers-text {
  display: inline-block;
  position: absolute;
  text-align: center;
}

.fa-layers {
  display: inline-block;
  height: 1em;
  position: relative;
  text-align: center;
  vertical-align: -0.125em;
  width: 1em;
}
.fa-layers svg.svg-inline--fa {
  transform-origin: center center;
}

.fa-layers-text {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transform-origin: center center;
}

.fa-layers-counter {
  background-color: var(--fa-counter-background-color, #ff253a);
  border-radius: var(--fa-counter-border-radius, 1em);
  box-sizing: border-box;
  color: var(--fa-inverse, #fff);
  line-height: var(--fa-counter-line-height, 1);
  max-width: var(--fa-counter-max-width, 5em);
  min-width: var(--fa-counter-min-width, 1.5em);
  overflow: hidden;
  padding: var(--fa-counter-padding, 0.25em 0.5em);
  right: var(--fa-right, 0);
  text-overflow: ellipsis;
  top: var(--fa-top, 0);
  transform: scale(var(--fa-counter-scale, 0.25));
  transform-origin: top right;
}

.fa-layers-bottom-right {
  bottom: var(--fa-bottom, 0);
  right: var(--fa-right, 0);
  top: auto;
  transform: scale(var(--fa-layers-scale, 0.25));
  transform-origin: bottom right;
}

.fa-layers-bottom-left {
  bottom: var(--fa-bottom, 0);
  left: var(--fa-left, 0);
  right: auto;
  top: auto;
  transform: scale(var(--fa-layers-scale, 0.25));
  transform-origin: bottom left;
}

.fa-layers-top-right {
  top: var(--fa-top, 0);
  right: var(--fa-right, 0);
  transform: scale(var(--fa-layers-scale, 0.25));
  transform-origin: top right;
}

.fa-layers-top-left {
  left: var(--fa-left, 0);
  right: auto;
  top: var(--fa-top, 0);
  transform: scale(var(--fa-layers-scale, 0.25));
  transform-origin: top left;
}

.fa-1x {
  font-size: 1em;
}

.fa-2x {
  font-size: 2em;
}

.fa-3x {
  font-size: 3em;
}

.fa-4x {
  font-size: 4em;
}

.fa-5x {
  font-size: 5em;
}

.fa-6x {
  font-size: 6em;
}

.fa-7x {
  font-size: 7em;
}

.fa-8x {
  font-size: 8em;
}

.fa-9x {
  font-size: 9em;
}

.fa-10x {
  font-size: 10em;
}

.fa-2xs {
  font-size: 0.625em;
  line-height: 0.1em;
  vertical-align: 0.225em;
}

.fa-xs {
  font-size: 0.75em;
  line-height: 0.0833333337em;
  vertical-align: 0.125em;
}

.fa-sm {
  font-size: 0.875em;
  line-height: 0.0714285718em;
  vertical-align: 0.0535714295em;
}

.fa-lg {
  font-size: 1.25em;
  line-height: 0.05em;
  vertical-align: -0.075em;
}

.fa-xl {
  font-size: 1.5em;
  line-height: 0.0416666682em;
  vertical-align: -0.125em;
}

.fa-2xl {
  font-size: 2em;
  line-height: 0.03125em;
  vertical-align: -0.1875em;
}

.fa-fw {
  text-align: center;
  width: 1.25em;
}

.fa-ul {
  list-style-type: none;
  margin-left: var(--fa-li-margin, 2.5em);
  padding-left: 0;
}
.fa-ul > li {
  position: relative;
}

.fa-li {
  left: calc(-1 * var(--fa-li-width, 2em));
  position: absolute;
  text-align: center;
  width: var(--fa-li-width, 2em);
  line-height: inherit;
}

.fa-border {
  border-color: var(--fa-border-color, #eee);
  border-radius: var(--fa-border-radius, 0.1em);
  border-style: var(--fa-border-style, solid);
  border-width: var(--fa-border-width, 0.08em);
  padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);
}

.fa-pull-left {
  float: left;
  margin-right: var(--fa-pull-margin, 0.3em);
}

.fa-pull-right {
  float: right;
  margin-left: var(--fa-pull-margin, 0.3em);
}

.fa-beat {
  animation-name: fa-beat;
  animation-delay: var(--fa-animation-delay, 0s);
  animation-direction: var(--fa-animation-direction, normal);
  animation-duration: var(--fa-animation-duration, 1s);
  animation-iteration-count: var(--fa-animation-iteration-count, infinite);
  animation-timing-function: var(--fa-animation-timing, ease-in-out);
}

.fa-bounce {
  animation-name: fa-bounce;
  animation-delay: var(--fa-animation-delay, 0s);
  animation-direction: var(--fa-animation-direction, normal);
  animation-duration: var(--fa-animation-duration, 1s);
  animation-iteration-count: var(--fa-animation-iteration-count, infinite);
  animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
}

.fa-fade {
  animation-name: fa-fade;
  animation-delay: var(--fa-animation-delay, 0s);
  animation-direction: var(--fa-animation-direction, normal);
  animation-duration: var(--fa-animation-duration, 1s);
  animation-iteration-count: var(--fa-animation-iteration-count, infinite);
  animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
}

.fa-beat-fade {
  animation-name: fa-beat-fade;
  animation-delay: var(--fa-animation-delay, 0s);
  animation-direction: var(--fa-animation-direction, normal);
  animation-duration: var(--fa-animation-duration, 1s);
  animation-iteration-count: var(--fa-animation-iteration-count, infinite);
  animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
}

.fa-flip {
  animation-name: fa-flip;
  animation-delay: var(--fa-animation-delay, 0s);
  animation-direction: var(--fa-animation-direction, normal);
  animation-duration: var(--fa-animation-duration, 1s);
  animation-iteration-count: var(--fa-animation-iteration-count, infinite);
  animation-timing-function: var(--fa-animation-timing, ease-in-out);
}

.fa-shake {
  animation-name: fa-shake;
  animation-delay: var(--fa-animation-delay, 0s);
  animation-direction: var(--fa-animation-direction, normal);
  animation-duration: var(--fa-animation-duration, 1s);
  animation-iteration-count: var(--fa-animation-iteration-count, infinite);
  animation-timing-function: var(--fa-animation-timing, linear);
}

.fa-spin {
  animation-name: fa-spin;
  animation-delay: var(--fa-animation-delay, 0s);
  animation-direction: var(--fa-animation-direction, normal);
  animation-duration: var(--fa-animation-duration, 2s);
  animation-iteration-count: var(--fa-animation-iteration-count, infinite);
  animation-timing-function: var(--fa-animation-timing, linear);
}

.fa-spin-reverse {
  --fa-animation-direction: reverse;
}

.fa-pulse,
.fa-spin-pulse {
  animation-name: fa-spin;
  animation-direction: var(--fa-animation-direction, normal);
  animation-duration: var(--fa-animation-duration, 1s);
  animation-iteration-count: var(--fa-animation-iteration-count, infinite);
  animation-timing-function: var(--fa-animation-timing, steps(8));
}

@media (prefers-reduced-motion: reduce) {
  .fa-beat,
.fa-bounce,
.fa-fade,
.fa-beat-fade,
.fa-flip,
.fa-pulse,
.fa-shake,
.fa-spin,
.fa-spin-pulse {
    animation-delay: -1ms;
    animation-duration: 1ms;
    animation-iteration-count: 1;
    transition-delay: 0s;
    transition-duration: 0s;
  }
}
@keyframes fa-beat {
  0%, 90% {
    transform: scale(1);
  }
  45% {
    transform: scale(var(--fa-beat-scale, 1.25));
  }
}
@keyframes fa-bounce {
  0% {
    transform: scale(1, 1) translateY(0);
  }
  10% {
    transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
  }
  30% {
    transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
  }
  50% {
    transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
  }
  57% {
    transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
  }
  64% {
    transform: scale(1, 1) translateY(0);
  }
  100% {
    transform: scale(1, 1) translateY(0);
  }
}
@keyframes fa-fade {
  50% {
    opacity: var(--fa-fade-opacity, 0.4);
  }
}
@keyframes fa-beat-fade {
  0%, 100% {
    opacity: var(--fa-beat-fade-opacity, 0.4);
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(var(--fa-beat-fade-scale, 1.125));
  }
}
@keyframes fa-flip {
  50% {
    transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
  }
}
@keyframes fa-shake {
  0% {
    transform: rotate(-15deg);
  }
  4% {
    transform: rotate(15deg);
  }
  8%, 24% {
    transform: rotate(-18deg);
  }
  12%, 28% {
    transform: rotate(18deg);
  }
  16% {
    transform: rotate(-22deg);
  }
  20% {
    transform: rotate(22deg);
  }
  32% {
    transform: rotate(-12deg);
  }
  36% {
    transform: rotate(12deg);
  }
  40%, 100% {
    transform: rotate(0deg);
  }
}
@keyframes fa-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.fa-rotate-90 {
  transform: rotate(90deg);
}

.fa-rotate-180 {
  transform: rotate(180deg);
}

.fa-rotate-270 {
  transform: rotate(270deg);
}

.fa-flip-horizontal {
  transform: scale(-1, 1);
}

.fa-flip-vertical {
  transform: scale(1, -1);
}

.fa-flip-both,
.fa-flip-horizontal.fa-flip-vertical {
  transform: scale(-1, -1);
}

.fa-rotate-by {
  transform: rotate(var(--fa-rotate-angle, 0));
}

.fa-stack {
  display: inline-block;
  vertical-align: middle;
  height: 2em;
  position: relative;
  width: 2.5em;
}

.fa-stack-1x,
.fa-stack-2x {
  bottom: 0;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
  z-index: var(--fa-stack-z-index, auto);
}

.svg-inline--fa.fa-stack-1x {
  height: 1em;
  width: 1.25em;
}
.svg-inline--fa.fa-stack-2x {
  height: 2em;
  width: 2.5em;
}

.fa-inverse {
  color: var(--fa-inverse, #fff);
}

.sr-only,
.fa-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.sr-only-focusable:not(:focus),
.fa-sr-only-focusable:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.svg-inline--fa .fa-primary {
  fill: var(--fa-primary-color, currentColor);
  opacity: var(--fa-primary-opacity, 1);
}

.svg-inline--fa .fa-secondary {
  fill: var(--fa-secondary-color, currentColor);
  opacity: var(--fa-secondary-opacity, 0.4);
}

.svg-inline--fa.fa-swap-opacity .fa-primary {
  opacity: var(--fa-secondary-opacity, 0.4);
}

.svg-inline--fa.fa-swap-opacity .fa-secondary {
  opacity: var(--fa-primary-opacity, 1);
}

.svg-inline--fa mask .fa-primary,
.svg-inline--fa mask .fa-secondary {
  fill: black;
}`;function iv(){const l=Pg,u=Ig,o=st.cssPrefix,c=st.replacementClass;let f=K1;if(o!==l||c!==u){const m=new RegExp("\\.".concat(l,"\\-"),"g"),y=new RegExp("\\--".concat(l,"\\-"),"g"),b=new RegExp("\\.".concat(u),"g");f=f.replace(m,".".concat(o,"-")).replace(y,"--".concat(o,"-")).replace(b,".".concat(c))}return f}let Vp=!1;function Td(){st.autoAddCss&&!Vp&&(X1(iv()),Vp=!0)}var $1={mixout(){return{dom:{css:iv,insertCss:Td}}},hooks(){return{beforeDOMElementCreation(){Td()},beforeI2svg(){Td()}}}};const al=$l||{};al[nl]||(al[nl]={});al[nl].styles||(al[nl].styles={});al[nl].hooks||(al[nl].hooks={});al[nl].shims||(al[nl].shims=[]);var Aa=al[nl];const rv=[],sv=function(){$t.removeEventListener("DOMContentLoaded",sv),hc=1,rv.map(l=>l())};let hc=!1;ll&&(hc=($t.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test($t.readyState),hc||$t.addEventListener("DOMContentLoaded",sv));function F1(l){ll&&(hc?setTimeout(l,0):rv.push(l))}function Ru(l){const{tag:u,attributes:o={},children:c=[]}=l;return typeof l=="string"?lv(l):"<".concat(u," ").concat(V1(o),">").concat(c.map(Ru).join(""),"</").concat(u,">")}function Qp(l,u,o){if(l&&l[u]&&l[u][o])return{prefix:u,iconName:o,icon:l[u][o]}}var Od=function(u,o,c,f){var m=Object.keys(u),y=m.length,b=o,S,E,D;for(c===void 0?(S=1,D=u[m[0]]):(S=0,D=c);S<y;S++)E=m[S],D=b(D,u[E],E,u);return D};function J1(l){const u=[];let o=0;const c=l.length;for(;o<c;){const f=l.charCodeAt(o++);if(f>=55296&&f<=56319&&o<c){const m=l.charCodeAt(o++);(m&64512)==56320?u.push(((f&1023)<<10)+(m&1023)+65536):(u.push(f),o--)}else u.push(f)}return u}function qd(l){const u=J1(l);return u.length===1?u[0].toString(16):null}function W1(l,u){const o=l.length;let c=l.charCodeAt(u),f;return c>=55296&&c<=56319&&o>u+1&&(f=l.charCodeAt(u+1),f>=56320&&f<=57343)?(c-55296)*1024+f-56320+65536:c}function Zp(l){return Object.keys(l).reduce((u,o)=>{const c=l[o];return!!c.icon?u[c.iconName]=c.icon:u[o]=c,u},{})}function Yd(l,u){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{skipHooks:c=!1}=o,f=Zp(u);typeof Aa.hooks.addPack=="function"&&!c?Aa.hooks.addPack(l,Zp(u)):Aa.styles[l]=F(F({},Aa.styles[l]||{}),f),l==="fas"&&Yd("fa",u)}const{styles:Ou,shims:P1}=Aa,uv=Object.keys(hh),I1=uv.reduce((l,u)=>(l[u]=Object.keys(hh[u]),l),{});let gh=null,ov={},cv={},fv={},dv={},hv={};function t_(l){return~k1.indexOf(l)}function e_(l,u){const o=u.split("-"),c=o[0],f=o.slice(1).join("-");return c===l&&f!==""&&!t_(f)?f:null}const mv=()=>{const l=c=>Od(Ou,(f,m,y)=>(f[y]=Od(m,c,{}),f),{});ov=l((c,f,m)=>(f[3]&&(c[f[3]]=m),f[2]&&f[2].filter(b=>typeof b=="number").forEach(b=>{c[b.toString(16)]=m}),c)),cv=l((c,f,m)=>(c[m]=m,f[2]&&f[2].filter(b=>typeof b=="string").forEach(b=>{c[b]=m}),c)),hv=l((c,f,m)=>{const y=f[2];return c[m]=m,y.forEach(b=>{c[b]=m}),c});const u="far"in Ou||st.autoFetchSvg,o=Od(P1,(c,f)=>{const m=f[0];let y=f[1];const b=f[2];return y==="far"&&!u&&(y="fas"),typeof m=="string"&&(c.names[m]={prefix:y,iconName:b}),typeof m=="number"&&(c.unicodes[m.toString(16)]={prefix:y,iconName:b}),c},{names:{},unicodes:{}});fv=o.names,dv=o.unicodes,gh=xc(st.styleDefault,{family:st.familyDefault})};Y1(l=>{gh=xc(l.styleDefault,{family:st.familyDefault})});mv();function vh(l,u){return(ov[l]||{})[u]}function n_(l,u){return(cv[l]||{})[u]}function ki(l,u){return(hv[l]||{})[u]}function pv(l){return fv[l]||{prefix:null,iconName:null}}function a_(l){const u=dv[l],o=vh("fas",l);return u||(o?{prefix:"fas",iconName:o}:null)||{prefix:null,iconName:null}}function Fl(){return gh}const gv=()=>({prefix:null,iconName:null,rest:[]});function l_(l){let u=Ue;const o=uv.reduce((c,f)=>(c[f]="".concat(st.cssPrefix,"-").concat(f),c),{});return Jg.forEach(c=>{(l.includes(o[c])||l.some(f=>I1[c].includes(f)))&&(u=c)}),u}function xc(l){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{family:o=Ue}=u,c=R1[o][l];if(o===Ec&&!l)return"fad";const f=Gp[o][l]||Gp[o][c],m=l in Aa.styles?l:null;return f||m||null}function i_(l){let u=[],o=null;return l.forEach(c=>{const f=e_(st.cssPrefix,c);f?o=f:c&&u.push(c)}),{iconName:o,rest:u}}function Kp(l){return l.sort().filter((u,o,c)=>c.indexOf(u)===o)}function Tc(l){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{skipLookups:o=!1}=u;let c=null;const f=Ld.concat(S1),m=Kp(l.filter(j=>f.includes(j))),y=Kp(l.filter(j=>!Ld.includes(j))),b=m.filter(j=>(c=j,!Fg.includes(j))),[S=null]=b,E=l_(m),D=F(F({},i_(y)),{},{prefix:xc(S,{family:E})});return F(F(F({},D),o_({values:l,family:E,styles:Ou,config:st,canonical:D,givenPrefix:c})),r_(o,c,D))}function r_(l,u,o){let{prefix:c,iconName:f}=o;if(l||!c||!f)return{prefix:c,iconName:f};const m=u==="fa"?pv(f):{},y=ki(c,f);return f=m.iconName||y||f,c=m.prefix||c,c==="far"&&!Ou.far&&Ou.fas&&!st.autoFetchSvg&&(c="fas"),{prefix:c,iconName:f}}const s_=Jg.filter(l=>l!==Ue||l!==Ec),u_=Object.keys(Rd).filter(l=>l!==Ue).map(l=>Object.keys(Rd[l])).flat();function o_(l){const{values:u,family:o,canonical:c,givenPrefix:f="",styles:m={},config:y={}}=l,b=o===Ec,S=u.includes("fa-duotone")||u.includes("fad"),E=y.familyDefault==="duotone",D=c.prefix==="fad"||c.prefix==="fa-duotone";if(!b&&(S||E||D)&&(c.prefix="fad"),(u.includes("fa-brands")||u.includes("fab"))&&(c.prefix="fab"),!c.prefix&&s_.includes(o)&&(Object.keys(m).find(z=>u_.includes(z))||y.autoFetchSvg)){const z=h1.get(o).defaultShortPrefixId;c.prefix=z,c.iconName=ki(c.prefix,c.iconName)||c.iconName}return(c.prefix==="fa"||f==="fa")&&(c.prefix=Fl()||"fas"),c}class c_{constructor(){this.definitions={}}add(){for(var u=arguments.length,o=new Array(u),c=0;c<u;c++)o[c]=arguments[c];const f=o.reduce(this._pullDefinitions,{});Object.keys(f).forEach(m=>{this.definitions[m]=F(F({},this.definitions[m]||{}),f[m]),Yd(m,f[m]);const y=hh[Ue][m];y&&Yd(y,f[m]),mv()})}reset(){this.definitions={}}_pullDefinitions(u,o){const c=o.prefix&&o.iconName&&o.icon?{0:o}:o;return Object.keys(c).map(f=>{const{prefix:m,iconName:y,icon:b}=c[f],S=b[2];u[m]||(u[m]={}),S.length>0&&S.forEach(E=>{typeof E=="string"&&(u[m][E]=b)}),u[m][y]=b}),u}}let $p=[],Gr={};const Qr={},f_=Object.keys(Qr);function d_(l,u){let{mixoutsTo:o}=u;return $p=l,Gr={},Object.keys(Qr).forEach(c=>{f_.indexOf(c)===-1&&delete Qr[c]}),$p.forEach(c=>{const f=c.mixout?c.mixout():{};if(Object.keys(f).forEach(m=>{typeof f[m]=="function"&&(o[m]=f[m]),typeof f[m]=="object"&&Object.keys(f[m]).forEach(y=>{o[m]||(o[m]={}),o[m][y]=f[m][y]})}),c.hooks){const m=c.hooks();Object.keys(m).forEach(y=>{Gr[y]||(Gr[y]=[]),Gr[y].push(m[y])})}c.provides&&c.provides(Qr)}),o}function Xd(l,u){for(var o=arguments.length,c=new Array(o>2?o-2:0),f=2;f<o;f++)c[f-2]=arguments[f];return(Gr[l]||[]).forEach(y=>{u=y.apply(null,[u,...c])}),u}function Yi(l){for(var u=arguments.length,o=new Array(u>1?u-1:0),c=1;c<u;c++)o[c-1]=arguments[c];(Gr[l]||[]).forEach(m=>{m.apply(null,o)})}function Jl(){const l=arguments[0],u=Array.prototype.slice.call(arguments,1);return Qr[l]?Qr[l].apply(null,u):void 0}function Gd(l){l.prefix==="fa"&&(l.prefix="fas");let{iconName:u}=l;const o=l.prefix||Fl();if(u)return u=ki(o,u)||u,Qp(vv.definitions,o,u)||Qp(Aa.styles,o,u)}const vv=new c_,h_=()=>{st.autoReplaceSvg=!1,st.observeMutations=!1,Yi("noAuto")},m_={i2svg:function(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return ll?(Yi("beforeI2svg",l),Jl("pseudoElements2svg",l),Jl("i2svg",l)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:u}=l;st.autoReplaceSvg===!1&&(st.autoReplaceSvg=!0),st.observeMutations=!0,F1(()=>{g_({autoReplaceSvgRoot:u}),Yi("watch",l)})}},p_={icon:l=>{if(l===null)return null;if(typeof l=="object"&&l.prefix&&l.iconName)return{prefix:l.prefix,iconName:ki(l.prefix,l.iconName)||l.iconName};if(Array.isArray(l)&&l.length===2){const u=l[1].indexOf("fa-")===0?l[1].slice(3):l[1],o=xc(l[0]);return{prefix:o,iconName:ki(o,u)||u}}if(typeof l=="string"&&(l.indexOf("".concat(st.cssPrefix,"-"))>-1||l.match(L1))){const u=Tc(l.split(" "),{skipLookups:!0});return{prefix:u.prefix||Fl(),iconName:ki(u.prefix,u.iconName)||u.iconName}}if(typeof l=="string"){const u=Fl();return{prefix:u,iconName:ki(u,l)||l}}}},gn={noAuto:h_,config:st,dom:m_,parse:p_,library:vv,findIconDefinition:Gd,toHtml:Ru},g_=function(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:u=$t}=l;(Object.keys(Aa.styles).length>0||st.autoFetchSvg)&&ll&&st.autoReplaceSvg&&gn.dom.i2svg({node:u})};function Oc(l,u){return Object.defineProperty(l,"abstract",{get:u}),Object.defineProperty(l,"html",{get:function(){return l.abstract.map(o=>Ru(o))}}),Object.defineProperty(l,"node",{get:function(){if(!ll)return;const o=$t.createElement("div");return o.innerHTML=l.html,o.children}}),l}function v_(l){let{children:u,main:o,mask:c,attributes:f,styles:m,transform:y}=l;if(ph(y)&&o.found&&!c.found){const{width:b,height:S}=o,E={x:b/S/2,y:.5};f.style=Ac(F(F({},m),{},{"transform-origin":"".concat(E.x+y.x/16,"em ").concat(E.y+y.y/16,"em")}))}return[{tag:"svg",attributes:f,children:u}]}function y_(l){let{prefix:u,iconName:o,children:c,attributes:f,symbol:m}=l;const y=m===!0?"".concat(u,"-").concat(st.cssPrefix,"-").concat(o):m;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:F(F({},f),{},{id:y}),children:c}]}]}function yh(l){const{icons:{main:u,mask:o},prefix:c,iconName:f,transform:m,symbol:y,title:b,maskId:S,titleId:E,extra:D,watchable:j=!1}=l,{width:z,height:q}=o.found?o:u,L=y1.includes(c),I=[st.replacementClass,f?"".concat(st.cssPrefix,"-").concat(f):""].filter(Ot=>D.classes.indexOf(Ot)===-1).filter(Ot=>Ot!==""||!!Ot).concat(D.classes).join(" ");let Q={children:[],attributes:F(F({},D.attributes),{},{"data-prefix":c,"data-icon":f,class:I,role:D.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(z," ").concat(q)})};const H=L&&!~D.classes.indexOf("fa-fw")?{width:"".concat(z/q*16*.0625,"em")}:{};j&&(Q.attributes[qi]=""),b&&(Q.children.push({tag:"title",attributes:{id:Q.attributes["aria-labelledby"]||"title-".concat(E||Tu())},children:[b]}),delete Q.attributes.title);const W=F(F({},Q),{},{prefix:c,iconName:f,main:u,mask:o,maskId:S,transform:m,symbol:y,styles:F(F({},H),D.styles)}),{children:P,attributes:bt}=o.found&&u.found?Jl("generateAbstractMask",W)||{children:[],attributes:{}}:Jl("generateAbstractIcon",W)||{children:[],attributes:{}};return W.children=P,W.attributes=bt,y?y_(W):v_(W)}function Fp(l){const{content:u,width:o,height:c,transform:f,title:m,extra:y,watchable:b=!1}=l,S=F(F(F({},y.attributes),m?{title:m}:{}),{},{class:y.classes.join(" ")});b&&(S[qi]="");const E=F({},y.styles);ph(f)&&(E.transform=Z1({transform:f,startCentered:!0,width:o,height:c}),E["-webkit-transform"]=E.transform);const D=Ac(E);D.length>0&&(S.style=D);const j=[];return j.push({tag:"span",attributes:S,children:[u]}),m&&j.push({tag:"span",attributes:{class:"sr-only"},children:[m]}),j}function b_(l){const{content:u,title:o,extra:c}=l,f=F(F(F({},c.attributes),o?{title:o}:{}),{},{class:c.classes.join(" ")}),m=Ac(c.styles);m.length>0&&(f.style=m);const y=[];return y.push({tag:"span",attributes:f,children:[u]}),o&&y.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),y}const{styles:Cd}=Aa;function Vd(l){const u=l[0],o=l[1],[c]=l.slice(4);let f=null;return Array.isArray(c)?f={tag:"g",attributes:{class:"".concat(st.cssPrefix,"-").concat(xd.GROUP)},children:[{tag:"path",attributes:{class:"".concat(st.cssPrefix,"-").concat(xd.SECONDARY),fill:"currentColor",d:c[0]}},{tag:"path",attributes:{class:"".concat(st.cssPrefix,"-").concat(xd.PRIMARY),fill:"currentColor",d:c[1]}}]}:f={tag:"path",attributes:{fill:"currentColor",d:c}},{found:!0,width:u,height:o,icon:f}}const __={found:!1,width:512,height:512};function S_(l,u){!tv&&!st.showMissingIcons&&l&&console.error('Icon with name "'.concat(l,'" and prefix "').concat(u,'" is missing.'))}function Qd(l,u){let o=u;return u==="fa"&&st.styleDefault!==null&&(u=Fl()),new Promise((c,f)=>{if(o==="fa"){const m=pv(l)||{};l=m.iconName||l,u=m.prefix||u}if(l&&u&&Cd[u]&&Cd[u][l]){const m=Cd[u][l];return c(Vd(m))}S_(l,u),c(F(F({},__),{},{icon:st.showMissingIcons&&l?Jl("missingIconAbstract")||{}:{}}))})}const Jp=()=>{},Zd=st.measurePerformance&&ic&&ic.mark&&ic.measure?ic:{mark:Jp,measure:Jp},Su='FA "6.7.2"',E_=l=>(Zd.mark("".concat(Su," ").concat(l," begins")),()=>yv(l)),yv=l=>{Zd.mark("".concat(Su," ").concat(l," ends")),Zd.measure("".concat(Su," ").concat(l),"".concat(Su," ").concat(l," begins"),"".concat(Su," ").concat(l," ends"))};var bh={begin:E_,end:yv};const cc=()=>{};function Wp(l){return typeof(l.getAttribute?l.getAttribute(qi):null)=="string"}function A_(l){const u=l.getAttribute?l.getAttribute(fh):null,o=l.getAttribute?l.getAttribute(dh):null;return u&&o}function x_(l){return l&&l.classList&&l.classList.contains&&l.classList.contains(st.replacementClass)}function T_(){return st.autoReplaceSvg===!0?fc.replace:fc[st.autoReplaceSvg]||fc.replace}function O_(l){return $t.createElementNS("http://www.w3.org/2000/svg",l)}function C_(l){return $t.createElement(l)}function bv(l){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{ceFn:o=l.tag==="svg"?O_:C_}=u;if(typeof l=="string")return $t.createTextNode(l);const c=o(l.tag);return Object.keys(l.attributes||[]).forEach(function(m){c.setAttribute(m,l.attributes[m])}),(l.children||[]).forEach(function(m){c.appendChild(bv(m,{ceFn:o}))}),c}function w_(l){let u=" ".concat(l.outerHTML," ");return u="".concat(u,"Font Awesome fontawesome.com "),u}const fc={replace:function(l){const u=l[0];if(u.parentNode)if(l[1].forEach(o=>{u.parentNode.insertBefore(bv(o),u)}),u.getAttribute(qi)===null&&st.keepOriginalSource){let o=$t.createComment(w_(u));u.parentNode.replaceChild(o,u)}else u.remove()},nest:function(l){const u=l[0],o=l[1];if(~mh(u).indexOf(st.replacementClass))return fc.replace(l);const c=new RegExp("".concat(st.cssPrefix,"-.*"));if(delete o[0].attributes.id,o[0].attributes.class){const m=o[0].attributes.class.split(" ").reduce((y,b)=>(b===st.replacementClass||b.match(c)?y.toSvg.push(b):y.toNode.push(b),y),{toNode:[],toSvg:[]});o[0].attributes.class=m.toSvg.join(" "),m.toNode.length===0?u.removeAttribute("class"):u.setAttribute("class",m.toNode.join(" "))}const f=o.map(m=>Ru(m)).join(`
`);u.setAttribute(qi,""),u.innerHTML=f}};function Pp(l){l()}function _v(l,u){const o=typeof u=="function"?u:cc;if(l.length===0)o();else{let c=Pp;st.mutateApproach===N1&&(c=$l.requestAnimationFrame||Pp),c(()=>{const f=T_(),m=bh.begin("mutate");l.map(f),m(),o()})}}let _h=!1;function Sv(){_h=!0}function Kd(){_h=!1}let mc=null;function Ip(l){if(!Bp||!st.observeMutations)return;const{treeCallback:u=cc,nodeCallback:o=cc,pseudoElementsCallback:c=cc,observeMutationsRoot:f=$t}=l;mc=new Bp(m=>{if(_h)return;const y=Fl();Jr(m).forEach(b=>{if(b.type==="childList"&&b.addedNodes.length>0&&!Wp(b.addedNodes[0])&&(st.searchPseudoElements&&c(b.target),u(b.target)),b.type==="attributes"&&b.target.parentNode&&st.searchPseudoElements&&c(b.target.parentNode),b.type==="attributes"&&Wp(b.target)&&~H1.indexOf(b.attributeName))if(b.attributeName==="class"&&A_(b.target)){const{prefix:S,iconName:E}=Tc(mh(b.target));b.target.setAttribute(fh,S||y),E&&b.target.setAttribute(dh,E)}else x_(b.target)&&o(b.target)})}),ll&&mc.observe(f,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function D_(){mc&&mc.disconnect()}function M_(l){const u=l.getAttribute("style");let o=[];return u&&(o=u.split(";").reduce((c,f)=>{const m=f.split(":"),y=m[0],b=m.slice(1);return y&&b.length>0&&(c[y]=b.join(":").trim()),c},{})),o}function N_(l){const u=l.getAttribute("data-prefix"),o=l.getAttribute("data-icon"),c=l.innerText!==void 0?l.innerText.trim():"";let f=Tc(mh(l));return f.prefix||(f.prefix=Fl()),u&&o&&(f.prefix=u,f.iconName=o),f.iconName&&f.prefix||(f.prefix&&c.length>0&&(f.iconName=n_(f.prefix,l.innerText)||vh(f.prefix,qd(l.innerText))),!f.iconName&&st.autoFetchSvg&&l.firstChild&&l.firstChild.nodeType===Node.TEXT_NODE&&(f.iconName=l.firstChild.data)),f}function z_(l){const u=Jr(l.attributes).reduce((f,m)=>(f.name!=="class"&&f.name!=="style"&&(f[m.name]=m.value),f),{}),o=l.getAttribute("title"),c=l.getAttribute("data-fa-title-id");return st.autoA11y&&(o?u["aria-labelledby"]="".concat(st.replacementClass,"-title-").concat(c||Tu()):(u["aria-hidden"]="true",u.focusable="false")),u}function R_(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Ea,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function tg(l){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0};const{iconName:o,prefix:c,rest:f}=N_(l),m=z_(l),y=Xd("parseNodeAttributes",{},l);let b=u.styleParser?M_(l):[];return F({iconName:o,title:l.getAttribute("title"),titleId:l.getAttribute("data-fa-title-id"),prefix:c,transform:Ea,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:f,styles:b,attributes:m}},y)}const{styles:L_}=Aa;function Ev(l){const u=st.autoReplaceSvg==="nest"?tg(l,{styleParser:!1}):tg(l);return~u.extra.classes.indexOf(nv)?Jl("generateLayersText",l,u):Jl("generateSvgReplacementMutation",l,u)}function j_(){return[...p1,...Ld]}function eg(l){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!ll)return Promise.resolve();const o=$t.documentElement.classList,c=D=>o.add("".concat(Xp,"-").concat(D)),f=D=>o.remove("".concat(Xp,"-").concat(D)),m=st.autoFetchSvg?j_():Fg.concat(Object.keys(L_));m.includes("fa")||m.push("fa");const y=[".".concat(nv,":not([").concat(qi,"])")].concat(m.map(D=>".".concat(D,":not([").concat(qi,"])"))).join(", ");if(y.length===0)return Promise.resolve();let b=[];try{b=Jr(l.querySelectorAll(y))}catch{}if(b.length>0)c("pending"),f("complete");else return Promise.resolve();const S=bh.begin("onTree"),E=b.reduce((D,j)=>{try{const z=Ev(j);z&&D.push(z)}catch(z){tv||z.name==="MissingIcon"&&console.error(z)}return D},[]);return new Promise((D,j)=>{Promise.all(E).then(z=>{_v(z,()=>{c("active"),c("complete"),f("pending"),typeof u=="function"&&u(),S(),D()})}).catch(z=>{S(),j(z)})})}function U_(l){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;Ev(l).then(o=>{o&&_v([o],u)})}function H_(l){return function(u){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const c=(u||{}).icon?u:Gd(u||{});let{mask:f}=o;return f&&(f=(f||{}).icon?f:Gd(f||{})),l(c,F(F({},o),{},{mask:f}))}}const k_=function(l){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:o=Ea,symbol:c=!1,mask:f=null,maskId:m=null,title:y=null,titleId:b=null,classes:S=[],attributes:E={},styles:D={}}=u;if(!l)return;const{prefix:j,iconName:z,icon:q}=l;return Oc(F({type:"icon"},l),()=>(Yi("beforeDOMElementCreation",{iconDefinition:l,params:u}),st.autoA11y&&(y?E["aria-labelledby"]="".concat(st.replacementClass,"-title-").concat(b||Tu()):(E["aria-hidden"]="true",E.focusable="false")),yh({icons:{main:Vd(q),mask:f?Vd(f.icon):{found:!1,width:null,height:null,icon:{}}},prefix:j,iconName:z,transform:F(F({},Ea),o),symbol:c,title:y,maskId:m,titleId:b,extra:{attributes:E,styles:D,classes:S}})))};var B_={mixout(){return{icon:H_(k_)}},hooks(){return{mutationObserverCallbacks(l){return l.treeCallback=eg,l.nodeCallback=U_,l}}},provides(l){l.i2svg=function(u){const{node:o=$t,callback:c=()=>{}}=u;return eg(o,c)},l.generateSvgReplacementMutation=function(u,o){const{iconName:c,title:f,titleId:m,prefix:y,transform:b,symbol:S,mask:E,maskId:D,extra:j}=o;return new Promise((z,q)=>{Promise.all([Qd(c,y),E.iconName?Qd(E.iconName,E.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(L=>{let[I,Q]=L;z([u,yh({icons:{main:I,mask:Q},prefix:y,iconName:c,transform:b,symbol:S,maskId:D,title:f,titleId:m,extra:j,watchable:!0})])}).catch(q)})},l.generateAbstractIcon=function(u){let{children:o,attributes:c,main:f,transform:m,styles:y}=u;const b=Ac(y);b.length>0&&(c.style=b);let S;return ph(m)&&(S=Jl("generateAbstractTransformGrouping",{main:f,transform:m,containerWidth:f.width,iconWidth:f.width})),o.push(S||f.icon),{children:o,attributes:c}}}},q_={mixout(){return{layer(l){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{classes:o=[]}=u;return Oc({type:"layer"},()=>{Yi("beforeDOMElementCreation",{assembler:l,params:u});let c=[];return l(f=>{Array.isArray(f)?f.map(m=>{c=c.concat(m.abstract)}):c=c.concat(f.abstract)}),[{tag:"span",attributes:{class:["".concat(st.cssPrefix,"-layers"),...o].join(" ")},children:c}]})}}}},Y_={mixout(){return{counter(l){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{title:o=null,classes:c=[],attributes:f={},styles:m={}}=u;return Oc({type:"counter",content:l},()=>(Yi("beforeDOMElementCreation",{content:l,params:u}),b_({content:l.toString(),title:o,extra:{attributes:f,styles:m,classes:["".concat(st.cssPrefix,"-layers-counter"),...c]}})))}}}},X_={mixout(){return{text(l){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:o=Ea,title:c=null,classes:f=[],attributes:m={},styles:y={}}=u;return Oc({type:"text",content:l},()=>(Yi("beforeDOMElementCreation",{content:l,params:u}),Fp({content:l,transform:F(F({},Ea),o),title:c,extra:{attributes:m,styles:y,classes:["".concat(st.cssPrefix,"-layers-text"),...f]}})))}}},provides(l){l.generateLayersText=function(u,o){const{title:c,transform:f,extra:m}=o;let y=null,b=null;if(Kg){const S=parseInt(getComputedStyle(u).fontSize,10),E=u.getBoundingClientRect();y=E.width/S,b=E.height/S}return st.autoA11y&&!c&&(m.attributes["aria-hidden"]="true"),Promise.resolve([u,Fp({content:u.innerHTML,width:y,height:b,transform:f,title:c,extra:m,watchable:!0})])}}};const G_=new RegExp('"',"ug"),ng=[1105920,1112319],ag=F(F(F(F({},{FontAwesome:{normal:"fas",400:"fas"}}),d1),D1),E1),$d=Object.keys(ag).reduce((l,u)=>(l[u.toLowerCase()]=ag[u],l),{}),V_=Object.keys($d).reduce((l,u)=>{const o=$d[u];return l[u]=o[900]||[...Object.entries(o)][0][1],l},{});function Q_(l){const u=l.replace(G_,""),o=W1(u,0),c=o>=ng[0]&&o<=ng[1],f=u.length===2?u[0]===u[1]:!1;return{value:qd(f?u[0]:u),isSecondary:c||f}}function Z_(l,u){const o=l.replace(/^['"]|['"]$/g,"").toLowerCase(),c=parseInt(u),f=isNaN(c)?"normal":c;return($d[o]||{})[f]||V_[o]}function lg(l,u){const o="".concat(M1).concat(u.replace(":","-"));return new Promise((c,f)=>{if(l.getAttribute(o)!==null)return c();const y=Jr(l.children).filter(z=>z.getAttribute(Ud)===u)[0],b=$l.getComputedStyle(l,u),S=b.getPropertyValue("font-family"),E=S.match(j1),D=b.getPropertyValue("font-weight"),j=b.getPropertyValue("content");if(y&&!E)return l.removeChild(y),c();if(E&&j!=="none"&&j!==""){const z=b.getPropertyValue("content");let q=Z_(S,D);const{value:L,isSecondary:I}=Q_(z),Q=E[0].startsWith("FontAwesome");let H=vh(q,L),W=H;if(Q){const P=a_(L);P.iconName&&P.prefix&&(H=P.iconName,q=P.prefix)}if(H&&!I&&(!y||y.getAttribute(fh)!==q||y.getAttribute(dh)!==W)){l.setAttribute(o,W),y&&l.removeChild(y);const P=R_(),{extra:bt}=P;bt.attributes[Ud]=u,Qd(H,q).then(Ot=>{const It=yh(F(F({},P),{},{icons:{main:Ot,mask:gv()},prefix:q,iconName:W,extra:bt,watchable:!0})),de=$t.createElementNS("http://www.w3.org/2000/svg","svg");u==="::before"?l.insertBefore(de,l.firstChild):l.appendChild(de),de.outerHTML=It.map(ue=>Ru(ue)).join(`
`),l.removeAttribute(o),c()}).catch(f)}else c()}else c()})}function K_(l){return Promise.all([lg(l,"::before"),lg(l,"::after")])}function $_(l){return l.parentNode!==document.head&&!~z1.indexOf(l.tagName.toUpperCase())&&!l.getAttribute(Ud)&&(!l.parentNode||l.parentNode.tagName!=="svg")}function ig(l){if(ll)return new Promise((u,o)=>{const c=Jr(l.querySelectorAll("*")).filter($_).map(K_),f=bh.begin("searchPseudoElements");Sv(),Promise.all(c).then(()=>{f(),Kd(),u()}).catch(()=>{f(),Kd(),o()})})}var F_={hooks(){return{mutationObserverCallbacks(l){return l.pseudoElementsCallback=ig,l}}},provides(l){l.pseudoElements2svg=function(u){const{node:o=$t}=u;st.searchPseudoElements&&ig(o)}}};let rg=!1;var J_={mixout(){return{dom:{unwatch(){Sv(),rg=!0}}}},hooks(){return{bootstrap(){Ip(Xd("mutationObserverCallbacks",{}))},noAuto(){D_()},watch(l){const{observeMutationsRoot:u}=l;rg?Kd():Ip(Xd("mutationObserverCallbacks",{observeMutationsRoot:u}))}}}};const sg=l=>{let u={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return l.toLowerCase().split(" ").reduce((o,c)=>{const f=c.toLowerCase().split("-"),m=f[0];let y=f.slice(1).join("-");if(m&&y==="h")return o.flipX=!0,o;if(m&&y==="v")return o.flipY=!0,o;if(y=parseFloat(y),isNaN(y))return o;switch(m){case"grow":o.size=o.size+y;break;case"shrink":o.size=o.size-y;break;case"left":o.x=o.x-y;break;case"right":o.x=o.x+y;break;case"up":o.y=o.y-y;break;case"down":o.y=o.y+y;break;case"rotate":o.rotate=o.rotate+y;break}return o},u)};var W_={mixout(){return{parse:{transform:l=>sg(l)}}},hooks(){return{parseNodeAttributes(l,u){const o=u.getAttribute("data-fa-transform");return o&&(l.transform=sg(o)),l}}},provides(l){l.generateAbstractTransformGrouping=function(u){let{main:o,transform:c,containerWidth:f,iconWidth:m}=u;const y={transform:"translate(".concat(f/2," 256)")},b="translate(".concat(c.x*32,", ").concat(c.y*32,") "),S="scale(".concat(c.size/16*(c.flipX?-1:1),", ").concat(c.size/16*(c.flipY?-1:1),") "),E="rotate(".concat(c.rotate," 0 0)"),D={transform:"".concat(b," ").concat(S," ").concat(E)},j={transform:"translate(".concat(m/2*-1," -256)")},z={outer:y,inner:D,path:j};return{tag:"g",attributes:F({},z.outer),children:[{tag:"g",attributes:F({},z.inner),children:[{tag:o.icon.tag,children:o.icon.children,attributes:F(F({},o.icon.attributes),z.path)}]}]}}}};const wd={x:0,y:0,width:"100%",height:"100%"};function ug(l){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return l.attributes&&(l.attributes.fill||u)&&(l.attributes.fill="black"),l}function P_(l){return l.tag==="g"?l.children:[l]}var I_={hooks(){return{parseNodeAttributes(l,u){const o=u.getAttribute("data-fa-mask"),c=o?Tc(o.split(" ").map(f=>f.trim())):gv();return c.prefix||(c.prefix=Fl()),l.mask=c,l.maskId=u.getAttribute("data-fa-mask-id"),l}}},provides(l){l.generateAbstractMask=function(u){let{children:o,attributes:c,main:f,mask:m,maskId:y,transform:b}=u;const{width:S,icon:E}=f,{width:D,icon:j}=m,z=Q1({transform:b,containerWidth:D,iconWidth:S}),q={tag:"rect",attributes:F(F({},wd),{},{fill:"white"})},L=E.children?{children:E.children.map(ug)}:{},I={tag:"g",attributes:F({},z.inner),children:[ug(F({tag:E.tag,attributes:F(F({},E.attributes),z.path)},L))]},Q={tag:"g",attributes:F({},z.outer),children:[I]},H="mask-".concat(y||Tu()),W="clip-".concat(y||Tu()),P={tag:"mask",attributes:F(F({},wd),{},{id:H,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[q,Q]},bt={tag:"defs",children:[{tag:"clipPath",attributes:{id:W},children:P_(j)},P]};return o.push(bt,{tag:"rect",attributes:F({fill:"currentColor","clip-path":"url(#".concat(W,")"),mask:"url(#".concat(H,")")},wd)}),{children:o,attributes:c}}}},t2={provides(l){let u=!1;$l.matchMedia&&(u=$l.matchMedia("(prefers-reduced-motion: reduce)").matches),l.missingIconAbstract=function(){const o=[],c={fill:"currentColor"},f={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};o.push({tag:"path",attributes:F(F({},c),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});const m=F(F({},f),{},{attributeName:"opacity"}),y={tag:"circle",attributes:F(F({},c),{},{cx:"256",cy:"364",r:"28"}),children:[]};return u||y.children.push({tag:"animate",attributes:F(F({},f),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:F(F({},m),{},{values:"1;0;1;1;0;1;"})}),o.push(y),o.push({tag:"path",attributes:F(F({},c),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:u?[]:[{tag:"animate",attributes:F(F({},m),{},{values:"1;0;0;0;0;1;"})}]}),u||o.push({tag:"path",attributes:F(F({},c),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:F(F({},m),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:o}}}},e2={hooks(){return{parseNodeAttributes(l,u){const o=u.getAttribute("data-fa-symbol"),c=o===null?!1:o===""?!0:o;return l.symbol=c,l}}}},n2=[$1,B_,q_,Y_,X_,F_,J_,W_,I_,t2,e2];d_(n2,{mixoutsTo:gn});gn.noAuto;gn.config;gn.library;gn.dom;const Fd=gn.parse;gn.findIconDefinition;gn.toHtml;const a2=gn.icon;gn.layer;gn.text;gn.counter;function og(l,u){var o=Object.keys(l);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(l);u&&(c=c.filter(function(f){return Object.getOwnPropertyDescriptor(l,f).enumerable})),o.push.apply(o,c)}return o}function Sa(l){for(var u=1;u<arguments.length;u++){var o=arguments[u]!=null?arguments[u]:{};u%2?og(Object(o),!0).forEach(function(c){Vr(l,c,o[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(o)):og(Object(o)).forEach(function(c){Object.defineProperty(l,c,Object.getOwnPropertyDescriptor(o,c))})}return l}function pc(l){"@babel/helpers - typeof";return pc=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},pc(l)}function Vr(l,u,o){return u in l?Object.defineProperty(l,u,{value:o,enumerable:!0,configurable:!0,writable:!0}):l[u]=o,l}function l2(l,u){if(l==null)return{};var o={},c=Object.keys(l),f,m;for(m=0;m<c.length;m++)f=c[m],!(u.indexOf(f)>=0)&&(o[f]=l[f]);return o}function i2(l,u){if(l==null)return{};var o=l2(l,u),c,f;if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(l);for(f=0;f<m.length;f++)c=m[f],!(u.indexOf(c)>=0)&&Object.prototype.propertyIsEnumerable.call(l,c)&&(o[c]=l[c])}return o}function Jd(l){return r2(l)||s2(l)||u2(l)||o2()}function r2(l){if(Array.isArray(l))return Wd(l)}function s2(l){if(typeof Symbol<"u"&&l[Symbol.iterator]!=null||l["@@iterator"]!=null)return Array.from(l)}function u2(l,u){if(l){if(typeof l=="string")return Wd(l,u);var o=Object.prototype.toString.call(l).slice(8,-1);if(o==="Object"&&l.constructor&&(o=l.constructor.name),o==="Map"||o==="Set")return Array.from(l);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return Wd(l,u)}}function Wd(l,u){(u==null||u>l.length)&&(u=l.length);for(var o=0,c=new Array(u);o<u;o++)c[o]=l[o];return c}function o2(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function c2(l){var u,o=l.beat,c=l.fade,f=l.beatFade,m=l.bounce,y=l.shake,b=l.flash,S=l.spin,E=l.spinPulse,D=l.spinReverse,j=l.pulse,z=l.fixedWidth,q=l.inverse,L=l.border,I=l.listItem,Q=l.flip,H=l.size,W=l.rotation,P=l.pull,bt=(u={"fa-beat":o,"fa-fade":c,"fa-beat-fade":f,"fa-bounce":m,"fa-shake":y,"fa-flash":b,"fa-spin":S,"fa-spin-reverse":D,"fa-spin-pulse":E,"fa-pulse":j,"fa-fw":z,"fa-inverse":q,"fa-border":L,"fa-li":I,"fa-flip":Q===!0,"fa-flip-horizontal":Q==="horizontal"||Q==="both","fa-flip-vertical":Q==="vertical"||Q==="both"},Vr(u,"fa-".concat(H),typeof H<"u"&&H!==null),Vr(u,"fa-rotate-".concat(W),typeof W<"u"&&W!==null&&W!==0),Vr(u,"fa-pull-".concat(P),typeof P<"u"&&P!==null),Vr(u,"fa-swap-opacity",l.swapOpacity),u);return Object.keys(bt).map(function(Ot){return bt[Ot]?Ot:null}).filter(function(Ot){return Ot})}function f2(l){return l=l-0,l===l}function Av(l){return f2(l)?l:(l=l.replace(/[\-_\s]+(.)?/g,function(u,o){return o?o.toUpperCase():""}),l.substr(0,1).toLowerCase()+l.substr(1))}var d2=["style"];function h2(l){return l.charAt(0).toUpperCase()+l.slice(1)}function m2(l){return l.split(";").map(function(u){return u.trim()}).filter(function(u){return u}).reduce(function(u,o){var c=o.indexOf(":"),f=Av(o.slice(0,c)),m=o.slice(c+1).trim();return f.startsWith("webkit")?u[h2(f)]=m:u[f]=m,u},{})}function xv(l,u){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof u=="string")return u;var c=(u.children||[]).map(function(S){return xv(l,S)}),f=Object.keys(u.attributes||{}).reduce(function(S,E){var D=u.attributes[E];switch(E){case"class":S.attrs.className=D,delete u.attributes.class;break;case"style":S.attrs.style=m2(D);break;default:E.indexOf("aria-")===0||E.indexOf("data-")===0?S.attrs[E.toLowerCase()]=D:S.attrs[Av(E)]=D}return S},{attrs:{}}),m=o.style,y=m===void 0?{}:m,b=i2(o,d2);return f.attrs.style=Sa(Sa({},f.attrs.style),y),l.apply(void 0,[u.tag,Sa(Sa({},f.attrs),b)].concat(Jd(c)))}var Tv=!1;try{Tv=!0}catch{}function p2(){if(!Tv&&console&&typeof console.error=="function"){var l;(l=console).error.apply(l,arguments)}}function cg(l){if(l&&pc(l)==="object"&&l.prefix&&l.iconName&&l.icon)return l;if(Fd.icon)return Fd.icon(l);if(l===null)return null;if(l&&pc(l)==="object"&&l.prefix&&l.iconName)return l;if(Array.isArray(l)&&l.length===2)return{prefix:l[0],iconName:l[1]};if(typeof l=="string")return{prefix:"fas",iconName:l}}function Dd(l,u){return Array.isArray(u)&&u.length>0||!Array.isArray(u)&&u?Vr({},l,u):{}}var fg={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1},Kl=Bi.forwardRef(function(l,u){var o=Sa(Sa({},fg),l),c=o.icon,f=o.mask,m=o.symbol,y=o.className,b=o.title,S=o.titleId,E=o.maskId,D=cg(c),j=Dd("classes",[].concat(Jd(c2(o)),Jd((y||"").split(" ")))),z=Dd("transform",typeof o.transform=="string"?Fd.transform(o.transform):o.transform),q=Dd("mask",cg(f)),L=a2(D,Sa(Sa(Sa(Sa({},j),z),q),{},{symbol:m,title:b,titleId:S,maskId:E}));if(!L)return p2("Could not find icon",D),null;var I=L.abstract,Q={ref:u};return Object.keys(o).forEach(function(H){fg.hasOwnProperty(H)||(Q[H]=o[H])}),g2(I[0],Q)});Kl.displayName="FontAwesomeIcon";Kl.propTypes={beat:et.bool,border:et.bool,beatFade:et.bool,bounce:et.bool,className:et.string,fade:et.bool,flash:et.bool,mask:et.oneOfType([et.object,et.array,et.string]),maskId:et.string,fixedWidth:et.bool,inverse:et.bool,flip:et.oneOf([!0,!1,"horizontal","vertical","both"]),icon:et.oneOfType([et.object,et.array,et.string]),listItem:et.bool,pull:et.oneOf(["right","left"]),pulse:et.bool,rotation:et.oneOf([0,90,180,270]),shake:et.bool,size:et.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:et.bool,spinPulse:et.bool,spinReverse:et.bool,symbol:et.oneOfType([et.bool,et.string]),title:et.string,titleId:et.string,transform:et.oneOfType([et.string,et.object]),swapOpacity:et.bool};var g2=xv.bind(null,Bi.createElement);/*!
 * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
 * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
 * Copyright 2024 Fonticons, Inc.
 */const v2={prefix:"fas",iconName:"cloud",icon:[640,512,[9729],"f0c2","M0 336c0 79.5 64.5 144 144 144l368 0c70.7 0 128-57.3 128-128c0-61.9-44-113.6-102.4-125.4c4.1-10.7 6.4-22.4 6.4-34.6c0-53-43-96-96-96c-19.7 0-38.1 6-53.3 16.2C367 64.2 315.3 32 256 32C167.6 32 96 103.6 96 192c0 2.7 .1 5.4 .2 8.1C40.2 219.8 0 273.2 0 336z"]},y2={prefix:"fas",iconName:"bars",icon:[448,512,["navicon"],"f0c9","M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z"]},b2={prefix:"fas",iconName:"temperature-empty",icon:[320,512,["temperature-0","thermometer-0","thermometer-empty"],"f2cb","M112 112c0-26.5 21.5-48 48-48s48 21.5 48 48l0 164.5c0 17.3 7.1 31.9 15.3 42.5C233.8 332.6 240 349.5 240 368c0 44.2-35.8 80-80 80s-80-35.8-80-80c0-18.5 6.2-35.4 16.7-48.9c8.2-10.6 15.3-25.2 15.3-42.5L112 112zM160 0C98.1 0 48 50.2 48 112l0 164.4c0 .1-.1 .3-.2 .6c-.2 .6-.8 1.6-1.7 2.8C27.2 304.2 16 334.8 16 368c0 79.5 64.5 144 144 144s144-64.5 144-144c0-33.2-11.2-63.8-30.1-88.1c-.9-1.2-1.5-2.2-1.7-2.8c-.1-.3-.2-.5-.2-.6L272 112C272 50.2 221.9 0 160 0zm0 416a48 48 0 1 0 0-96 48 48 0 1 0 0 96z"]},_2=b2,S2={prefix:"fas",iconName:"water",icon:[576,512,[],"f773","M269.5 69.9c11.1-7.9 25.9-7.9 37 0C329 85.4 356.5 96 384 96c26.9 0 55.4-10.8 77.4-26.1c0 0 0 0 0 0c11.9-8.5 28.1-7.8 39.2 1.7c14.4 11.9 32.5 21 50.6 25.2c17.2 4 27.9 21.2 23.9 38.4s-21.2 27.9-38.4 23.9c-24.5-5.7-44.9-16.5-58.2-25C449.5 149.7 417 160 384 160c-31.9 0-60.6-9.9-80.4-18.9c-5.8-2.7-11.1-5.3-15.6-7.7c-4.5 2.4-9.7 5.1-15.6 7.7c-19.8 9-48.5 18.9-80.4 18.9c-33 0-65.5-10.3-94.5-25.8c-13.4 8.4-33.7 19.3-58.2 25c-17.2 4-34.4-6.7-38.4-23.9s6.7-34.4 23.9-38.4C42.8 92.6 61 83.5 75.3 71.6c11.1-9.5 27.3-10.1 39.2-1.7c0 0 0 0 0 0C136.7 85.2 165.1 96 192 96c27.5 0 55-10.6 77.5-26.1zm37 288C329 373.4 356.5 384 384 384c26.9 0 55.4-10.8 77.4-26.1c0 0 0 0 0 0c11.9-8.5 28.1-7.8 39.2 1.7c14.4 11.9 32.5 21 50.6 25.2c17.2 4 27.9 21.2 23.9 38.4s-21.2 27.9-38.4 23.9c-24.5-5.7-44.9-16.5-58.2-25C449.5 437.7 417 448 384 448c-31.9 0-60.6-9.9-80.4-18.9c-5.8-2.7-11.1-5.3-15.6-7.7c-4.5 2.4-9.7 5.1-15.6 7.7c-19.8 9-48.5 18.9-80.4 18.9c-33 0-65.5-10.3-94.5-25.8c-13.4 8.4-33.7 19.3-58.2 25c-17.2 4-34.4-6.7-38.4-23.9s6.7-34.4 23.9-38.4c18.1-4.2 36.2-13.3 50.6-25.2c11.1-9.4 27.3-10.1 39.2-1.7c0 0 0 0 0 0C136.7 373.2 165.1 384 192 384c27.5 0 55-10.6 77.5-26.1c11.1-7.9 25.9-7.9 37 0zm0-144C329 229.4 356.5 240 384 240c26.9 0 55.4-10.8 77.4-26.1c0 0 0 0 0 0c11.9-8.5 28.1-7.8 39.2 1.7c14.4 11.9 32.5 21 50.6 25.2c17.2 4 27.9 21.2 23.9 38.4s-21.2 27.9-38.4 23.9c-24.5-5.7-44.9-16.5-58.2-25C449.5 293.7 417 304 384 304c-31.9 0-60.6-9.9-80.4-18.9c-5.8-2.7-11.1-5.3-15.6-7.7c-4.5 2.4-9.7 5.1-15.6 7.7c-19.8 9-48.5 18.9-80.4 18.9c-33 0-65.5-10.3-94.5-25.8c-13.4 8.4-33.7 19.3-58.2 25c-17.2 4-34.4-6.7-38.4-23.9s6.7-34.4 23.9-38.4c18.1-4.2 36.2-13.3 50.6-25.2c11.1-9.5 27.3-10.1 39.2-1.7c0 0 0 0 0 0C136.7 229.2 165.1 240 192 240c27.5 0 55-10.6 77.5-26.1c11.1-7.9 25.9-7.9 37 0z"]},E2={prefix:"fas",iconName:"clock",icon:[512,512,[128339,"clock-four"],"f017","M256 0a256 256 0 1 1 0 512A256 256 0 1 1 256 0zM232 120l0 136c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2 280 120c0-13.3-10.7-24-24-24s-24 10.7-24 24z"]},A2={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]},x2=A2,T2=l=>new Date(l).toLocaleTimeString(),O2=l=>l.length===8?l.slice(0,5):`0${l.slice(0,3)}`,Ov=({deviceId:l})=>{const{config:u,configLoading:o,configError:c}=Fr();if(o)return G.jsx("p",{children:"Cargando configuración..."});if(c)return G.jsxs("p",{children:["Error al cargar configuración: ",c]});if(!u)return G.jsx("p",{children:"Configuración no disponible."});const f=u.appConfig.endpoints.BASE_URL,y=u.appConfig.endpoints.GET_DEVICE_LATEST_VALUES.replace("{0}",l),b={baseUrl:`${f}/${y}`,params:{}};return G.jsx(Mu,{config:b,children:G.jsx(C2,{deviceId:l})})},C2=()=>{const{data:l,dataLoading:u,dataError:o}=_c();if(u)return G.jsx("p",{children:"Cargando datos..."});if(o)return G.jsxs("p",{children:["Error al cargar datos: ",o]});if(!l)return G.jsx("p",{children:"Datos no disponibles."});const c=[{id:1,title:"Temperatura",content:"N/A",status:"Esperando datos...",titleIcon:G.jsx(Kl,{icon:_2})},{id:2,title:"Humedad",content:"N/A",status:"Esperando datos...",titleIcon:G.jsx(Kl,{icon:S2})},{id:3,title:"Nivel de CO",content:"N/A",status:"Esperando datos...",titleIcon:G.jsx(Kl,{icon:v2})},{id:4,title:"Actualizado a las",content:"N/A",status:"Esperando datos...",titleIcon:G.jsx(Kl,{icon:E2})}];if(l){let f=l[1],m=l[2],y=T2(f.airValuesTimestamp),b=new Date(f.airValuesTimestamp);c[0].content=m.temperature+"°C",c[0].status="Temperatura actual",c[1].content=m.humidity+"%",c[1].status="Humedad actual",c[2].content=f.carbonMonoxide+" ppm",c[2].status="Nivel de CO actual",c[3].content=O2(y),c[3].status="Día "+b.toLocaleDateString()}return G.jsx(oh,{cards:c})};Ov.propTypes={deviceId:et.number.isRequired};const w2=()=>{const{deviceId:l}=O0();return G.jsxs("main",{className:"container justify-content-center",children:[G.jsx(Ov,{deviceId:l}),G.jsx(Hg,{deviceId:l}),G.jsx(n1,{deviceId:l})]})};function Cv({onClick:l}){return G.jsx("button",{className:"menuBtn",onClick:l,children:G.jsx(Kl,{icon:y2})})}Cv.propTypes={onClick:et.func.isRequired};const wv=({isOpen:l,onClose:u})=>{const{config:o,configLoading:c,configError:f}=Fr();if(c)return G.jsx("p",{children:"Cargando configuración..."});if(f)return G.jsxs("p",{children:["Error al cargar configuración: ",f]});if(!o)return G.jsx("p",{children:"Configuración no disponible."});const m=o.appConfig.endpoints.BASE_URL,y=o.appConfig.endpoints.GET_DEVICES,b={baseUrl:`${m}/${y}`,params:{}};return G.jsx(Mu,{config:b,children:G.jsx(Dv,{isOpen:l,onClose:u})})},Dv=({isOpen:l,onClose:u})=>{const{data:o,dataLoading:c,dataError:f}=_c(),{theme:m}=Nu();return c?G.jsx("p",{children:"Cargando datos..."}):f?G.jsxs("p",{children:["Error al cargar datos: ",f]}):o?G.jsxs("div",{className:`side-menu ${l?"open":""} ${m}`,children:[G.jsx("button",{className:"close-btn",onClick:u,children:G.jsx(Kl,{icon:x2})}),G.jsx("div",{className:"d-flex flex-column gap-3 mt-5",children:o.map(y=>G.jsx("a",{href:`/dashboard/${y.deviceId}`,style:{textDecoration:"none"},children:G.jsx(Sc,{title:y.deviceName,status:`ID: ${y.deviceId}`,styleMode:"override",className:"col-12",children:[]})},y.deviceId))})]}):G.jsx("p",{children:"Datos no disponibles."})};wv.propTypes={isOpen:et.bool.isRequired,onClose:et.func.isRequired};Dv.propTypes={isOpen:et.bool.isRequired,onClose:et.func.isRequired};function D2(){const{theme:l,toggleTheme:u}=Nu();return G.jsx("button",{className:"theme-toggle",onClick:u,children:l==="dark"?"☀️":"🌙"})}const Mv=l=>{const{theme:u}=Nu();return G.jsxs("header",{className:`justify-content-center text-center mb-4 ${u}`,children:[G.jsx("h1",{children:l.title}),G.jsx("p",{className:"subtitle",children:l.subtitle})]})};Mv.propTypes={title:et.string.isRequired,subtitle:et.string};const M2=()=>{const[l,u]=w.useState(!1),o=()=>{u(!l)},c=()=>{u(!1)};return G.jsxs(G.Fragment,{children:[G.jsx(Cv,{onClick:o}),G.jsx(wv,{isOpen:l,onClose:o}),G.jsx(D2,{}),G.jsxs("div",{className:l?"blur m-0 p-0":"m-0 p-0",onClick:c,children:[G.jsx(Mv,{title:"Contamin",subtitle:"Midiendo la calidad del aire y las calles en Sevilla 🌿🚛"}),G.jsxs(Y0,{children:[G.jsx(Nd,{path:"/",element:G.jsx(Ab,{})}),G.jsx(Nd,{path:"/dashboard/:deviceId",element:G.jsx(w2,{})})]})]})]})};Fy.createRoot(document.getElementById("root")).render(G.jsx(w.StrictMode,{children:G.jsx(Xg,{children:G.jsx(jg,{children:G.jsx(cb,{children:G.jsx(M2,{})})})})}));
