import{r as Mg,g as wg,a as zg}from"./react-vendors-DbHEDQBy.js";import{r as L0}from"./leaflet-DYDK0jU3.js";import{C as Td,L as U0,a as H0,P as q0,b as B0,c as Y0,i as k0}from"./chartjs-C6LAl0aW.js";(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const m of document.querySelectorAll('link[rel="modulepreload"]'))o(m);new MutationObserver(m=>{for(const v of m)if(v.type==="childList")for(const S of v.addedNodes)S.tagName==="LINK"&&S.rel==="modulepreload"&&o(S)}).observe(document,{childList:!0,subtree:!0});function f(m){const v={};return m.integrity&&(v.integrity=m.integrity),m.referrerPolicy&&(v.referrerPolicy=m.referrerPolicy),m.crossOrigin==="use-credentials"?v.credentials="include":m.crossOrigin==="anonymous"?v.credentials="omit":v.credentials="same-origin",v}function o(m){if(m.ep)return;m.ep=!0;const v=f(m);fetch(m.href,v)}})();var Zf={exports:{}},ur={};/**
 * @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 km;function X0(){if(km)return ur;km=1;var u=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function f(o,m,v){var S=null;if(v!==void 0&&(S=""+v),m.key!==void 0&&(S=""+m.key),"key"in m){v={};for(var x in m)x!=="key"&&(v[x]=m[x])}else v=m;return m=v.ref,{$$typeof:u,type:o,key:S,ref:m!==void 0?m:null,props:v}}return ur.Fragment=r,ur.jsx=f,ur.jsxs=f,ur}var Xm;function G0(){return Xm||(Xm=1,Zf.exports=X0()),Zf.exports}var G=G0(),F=Mg();const Ri=wg(F);var Kf={exports:{}},rr={},$f={exports:{}},Jf={};/**
 * @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 Gm;function Q0(){return Gm||(Gm=1,function(u){function r(V,mt){var dt=V.length;V.push(mt);t:for(;0<dt;){var Ht=dt-1>>>1,w=V[Ht];if(0<m(w,mt))V[Ht]=mt,V[dt]=w,dt=Ht;else break t}}function f(V){return V.length===0?null:V[0]}function o(V){if(V.length===0)return null;var mt=V[0],dt=V.pop();if(dt!==mt){V[0]=dt;t:for(var Ht=0,w=V.length,Wn=w>>>1;Ht<Wn;){var Pn=2*(Ht+1)-1,Ie=V[Pn],vt=Pn+1,oe=V[vt];if(0>m(Ie,dt))vt<w&&0>m(oe,Ie)?(V[Ht]=oe,V[vt]=dt,Ht=vt):(V[Ht]=Ie,V[Pn]=dt,Ht=Pn);else if(vt<w&&0>m(oe,dt))V[Ht]=oe,V[vt]=dt,Ht=vt;else break t}}return mt}function m(V,mt){var dt=V.sortIndex-mt.sortIndex;return dt!==0?dt:V.id-mt.id}if(u.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var v=performance;u.unstable_now=function(){return v.now()}}else{var S=Date,x=S.now();u.unstable_now=function(){return S.now()-x}}var N=[],U=[],X=1,Z=null,Q=3,tt=!1,ct=!1,Et=!1,rt=typeof setTimeout=="function"?setTimeout:null,ot=typeof clearTimeout=="function"?clearTimeout:null,it=typeof setImmediate<"u"?setImmediate:null;function Ct(V){for(var mt=f(U);mt!==null;){if(mt.callback===null)o(U);else if(mt.startTime<=V)o(U),mt.sortIndex=mt.expirationTime,r(N,mt);else break;mt=f(U)}}function ee(V){if(Et=!1,Ct(V),!ct)if(f(N)!==null)ct=!0,Jn();else{var mt=f(U);mt!==null&&Fn(ee,mt.startTime-V)}}var ne=!1,Re=-1,Kn=5,hn=-1;function ft(){return!(u.unstable_now()-hn<Kn)}function wt(){if(ne){var V=u.unstable_now();hn=V;var mt=!0;try{t:{ct=!1,Et&&(Et=!1,ot(Re),Re=-1),tt=!0;var dt=Q;try{e:{for(Ct(V),Z=f(N);Z!==null&&!(Z.expirationTime>V&&ft());){var Ht=Z.callback;if(typeof Ht=="function"){Z.callback=null,Q=Z.priorityLevel;var w=Ht(Z.expirationTime<=V);if(V=u.unstable_now(),typeof w=="function"){Z.callback=w,Ct(V),mt=!0;break e}Z===f(N)&&o(N),Ct(V)}else o(N);Z=f(N)}if(Z!==null)mt=!0;else{var Wn=f(U);Wn!==null&&Fn(ee,Wn.startTime-V),mt=!1}}break t}finally{Z=null,Q=dt,tt=!1}mt=void 0}}finally{mt?zn():ne=!1}}}var zn;if(typeof it=="function")zn=function(){it(wt)};else if(typeof MessageChannel<"u"){var Ia=new MessageChannel,$n=Ia.port2;Ia.port1.onmessage=wt,zn=function(){$n.postMessage(null)}}else zn=function(){rt(wt,0)};function Jn(){ne||(ne=!0,zn())}function Fn(V,mt){Re=rt(function(){V(u.unstable_now())},mt)}u.unstable_IdlePriority=5,u.unstable_ImmediatePriority=1,u.unstable_LowPriority=4,u.unstable_NormalPriority=3,u.unstable_Profiling=null,u.unstable_UserBlockingPriority=2,u.unstable_cancelCallback=function(V){V.callback=null},u.unstable_continueExecution=function(){ct||tt||(ct=!0,Jn())},u.unstable_forceFrameRate=function(V){0>V||125<V?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Kn=0<V?Math.floor(1e3/V):5},u.unstable_getCurrentPriorityLevel=function(){return Q},u.unstable_getFirstCallbackNode=function(){return f(N)},u.unstable_next=function(V){switch(Q){case 1:case 2:case 3:var mt=3;break;default:mt=Q}var dt=Q;Q=mt;try{return V()}finally{Q=dt}},u.unstable_pauseExecution=function(){},u.unstable_requestPaint=function(){},u.unstable_runWithPriority=function(V,mt){switch(V){case 1:case 2:case 3:case 4:case 5:break;default:V=3}var dt=Q;Q=V;try{return mt()}finally{Q=dt}},u.unstable_scheduleCallback=function(V,mt,dt){var Ht=u.unstable_now();switch(typeof dt=="object"&&dt!==null?(dt=dt.delay,dt=typeof dt=="number"&&0<dt?Ht+dt:Ht):dt=Ht,V){case 1:var w=-1;break;case 2:w=250;break;case 5:w=1073741823;break;case 4:w=1e4;break;default:w=5e3}return w=dt+w,V={id:X++,callback:mt,priorityLevel:V,startTime:dt,expirationTime:w,sortIndex:-1},dt>Ht?(V.sortIndex=dt,r(U,V),f(N)===null&&V===f(U)&&(Et?(ot(Re),Re=-1):Et=!0,Fn(ee,dt-Ht))):(V.sortIndex=w,r(N,V),ct||tt||(ct=!0,Jn())),V},u.unstable_shouldYield=ft,u.unstable_wrapCallback=function(V){var mt=Q;return function(){var dt=Q;Q=mt;try{return V.apply(this,arguments)}finally{Q=dt}}}}(Jf)),Jf}var Qm;function V0(){return Qm||(Qm=1,$f.exports=Q0()),$f.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 Vm;function Z0(){if(Vm)return rr;Vm=1;var u=V0(),r=Mg(),f=zg();function o(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 m(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}var v=Symbol.for("react.element"),S=Symbol.for("react.transitional.element"),x=Symbol.for("react.portal"),N=Symbol.for("react.fragment"),U=Symbol.for("react.strict_mode"),X=Symbol.for("react.profiler"),Z=Symbol.for("react.provider"),Q=Symbol.for("react.consumer"),tt=Symbol.for("react.context"),ct=Symbol.for("react.forward_ref"),Et=Symbol.for("react.suspense"),rt=Symbol.for("react.suspense_list"),ot=Symbol.for("react.memo"),it=Symbol.for("react.lazy"),Ct=Symbol.for("react.offscreen"),ee=Symbol.for("react.memo_cache_sentinel"),ne=Symbol.iterator;function Re(t){return t===null||typeof t!="object"?null:(t=ne&&t[ne]||t["@@iterator"],typeof t=="function"?t:null)}var Kn=Symbol.for("react.client.reference");function hn(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===Kn?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case N:return"Fragment";case x:return"Portal";case X:return"Profiler";case U:return"StrictMode";case Et:return"Suspense";case rt:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case tt:return(t.displayName||"Context")+".Provider";case Q:return(t._context.displayName||"Context")+".Consumer";case ct:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case ot:return e=t.displayName||null,e!==null?e:hn(t.type)||"Memo";case it:e=t._payload,t=t._init;try{return hn(t(e))}catch{}}return null}var ft=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,wt=Object.assign,zn,Ia;function $n(t){if(zn===void 0)try{throw Error()}catch(n){var e=n.stack.trim().match(/\n( *(at )?)/);zn=e&&e[1]||"",Ia=-1<n.stack.indexOf(`
    at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
`+zn+t+Ia}var Jn=!1;function Fn(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 H=function(){throw Error()};if(Object.defineProperty(H.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(H,[])}catch(M){var C=M}Reflect.construct(t,[],H)}else{try{H.call()}catch(M){C=M}t.call(H.prototype)}}else{try{throw Error()}catch(M){C=M}(H=t())&&typeof H.catch=="function"&&H.catch(function(){})}}catch(M){if(M&&C&&typeof M.stack=="string")return[M.stack,C.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var l=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");l&&l.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var s=a.DetermineComponentFrameRoot(),d=s[0],g=s[1];if(d&&g){var y=d.split(`
`),A=g.split(`
`);for(l=a=0;a<y.length&&!y[a].includes("DetermineComponentFrameRoot");)a++;for(;l<A.length&&!A[l].includes("DetermineComponentFrameRoot");)l++;if(a===y.length||l===A.length)for(a=y.length-1,l=A.length-1;1<=a&&0<=l&&y[a]!==A[l];)l--;for(;1<=a&&0<=l;a--,l--)if(y[a]!==A[l]){if(a!==1||l!==1)do if(a--,l--,0>l||y[a]!==A[l]){var z=`
`+y[a].replace(" at new "," at ");return t.displayName&&z.includes("<anonymous>")&&(z=z.replace("<anonymous>",t.displayName)),z}while(1<=a&&0<=l);break}}}finally{Jn=!1,Error.prepareStackTrace=n}return(n=t?t.displayName||t.name:"")?$n(n):""}function V(t){switch(t.tag){case 26:case 27:case 5:return $n(t.type);case 16:return $n("Lazy");case 13:return $n("Suspense");case 19:return $n("SuspenseList");case 0:case 15:return t=Fn(t.type,!1),t;case 11:return t=Fn(t.type.render,!1),t;case 1:return t=Fn(t.type,!0),t;default:return""}}function mt(t){try{var e="";do e+=V(t),t=t.return;while(t);return e}catch(n){return`
Error generating stack: `+n.message+`
`+n.stack}}function dt(t){var e=t,n=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,e.flags&4098&&(n=e.return),t=e.return;while(t)}return e.tag===3?n:null}function Ht(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 w(t){if(dt(t)!==t)throw Error(o(188))}function Wn(t){var e=t.alternate;if(!e){if(e=dt(t),e===null)throw Error(o(188));return e!==t?null:t}for(var n=t,a=e;;){var l=n.return;if(l===null)break;var s=l.alternate;if(s===null){if(a=l.return,a!==null){n=a;continue}break}if(l.child===s.child){for(s=l.child;s;){if(s===n)return w(l),t;if(s===a)return w(l),e;s=s.sibling}throw Error(o(188))}if(n.return!==a.return)n=l,a=s;else{for(var d=!1,g=l.child;g;){if(g===n){d=!0,n=l,a=s;break}if(g===a){d=!0,a=l,n=s;break}g=g.sibling}if(!d){for(g=s.child;g;){if(g===n){d=!0,n=s,a=l;break}if(g===a){d=!0,a=s,n=l;break}g=g.sibling}if(!d)throw Error(o(189))}}if(n.alternate!==a)throw Error(o(190))}if(n.tag!==3)throw Error(o(188));return n.stateNode.current===n?t:e}function Pn(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=Pn(t),e!==null)return e;t=t.sibling}return null}var Ie=Array.isArray,vt=f.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,oe={pending:!1,data:null,method:null,action:null},je=[],In=-1;function $(t){return{current:t}}function Kt(t){0>In||(t.current=je[In],je[In]=null,In--)}function qt(t,e){In++,je[In]=t.current,t.current=e}var mn=$(null),Vl=$(null),Ve=$(null),Zl=$(null);function ta(t,e){switch(qt(Ve,e),qt(Vl,t),qt(mn,null),t=e.nodeType,t){case 9:case 11:e=(e=e.documentElement)&&(e=e.namespaceURI)?pm(e):0;break;default:if(t=t===8?e.parentNode:e,e=t.tagName,t=t.namespaceURI)t=pm(t),e=vm(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}Kt(mn),qt(mn,e)}function tn(){Kt(mn),Kt(Vl),Kt(Ve)}function ks(t){t.memoizedState!==null&&qt(Zl,t);var e=mn.current,n=vm(e,t.type);e!==n&&(qt(Vl,t),qt(mn,n))}function Ui(t){Vl.current===t&&(Kt(mn),Kt(Vl)),Zl.current===t&&(Kt(Zl),nr._currentValue=oe)}var Xs=Object.prototype.hasOwnProperty,Gs=u.unstable_scheduleCallback,Qs=u.unstable_cancelCallback,ao=u.unstable_shouldYield,lo=u.unstable_requestPaint,Le=u.unstable_now,ea=u.unstable_getCurrentPriorityLevel,Vs=u.unstable_ImmediatePriority,tl=u.unstable_UserBlockingPriority,Nn=u.unstable_NormalPriority,el=u.unstable_LowPriority,Kl=u.unstable_IdlePriority,io=u.log,Zs=u.unstable_setDisableYieldValue,$l=null,Ue=null;function so(t){if(Ue&&typeof Ue.onCommitFiberRoot=="function")try{Ue.onCommitFiberRoot($l,t,void 0,(t.current.flags&128)===128)}catch{}}function na(t){if(typeof io=="function"&&Zs(t),Ue&&typeof Ue.setStrictMode=="function")try{Ue.setStrictMode($l,t)}catch{}}var He=Math.clz32?Math.clz32:Hi,uo=Math.log,vr=Math.LN2;function Hi(t){return t>>>=0,t===0?32:31-(uo(t)/vr|0)|0}var Jl=128,Fl=4194304;function Ea(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,l=t.suspendedLanes,s=t.pingedLanes,d=t.warmLanes;t=t.finishedLanes!==0;var g=n&134217727;return g!==0?(n=g&~l,n!==0?a=Ea(n):(s&=g,s!==0?a=Ea(s):t||(d=g&~d,d!==0&&(a=Ea(d))))):(g=n&~l,g!==0?a=Ea(g):s!==0?a=Ea(s):t||(d=n&~d,d!==0&&(a=Ea(d)))),a===0?0:e!==0&&e!==a&&!(e&l)&&(l=a&-a,d=e&-e,l>=d||l===32&&(d&4194176)!==0)?e:a}function Wl(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function ro(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 Ta(){var t=Jl;return Jl<<=1,!(Jl&4194176)&&(Jl=128),t}function nl(){var t=Fl;return Fl<<=1,!(Fl&62914560)&&(Fl=4194304),t}function Ks(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function Pl(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function co(t,e,n,a,l,s){var d=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,y=t.expirationTimes,A=t.hiddenUpdates;for(n=d&~n;0<n;){var z=31-He(n),H=1<<z;g[z]=0,y[z]=-1;var C=A[z];if(C!==null)for(A[z]=null,z=0;z<C.length;z++){var M=C[z];M!==null&&(M.lane&=-536870913)}n&=~H}a!==0&&yr(t,a,0),s!==0&&l===0&&t.tag!==0&&(t.suspendedLanes|=s&~(d&~e))}function yr(t,e,n){t.pendingLanes|=e,t.suspendedLanes&=~e;var a=31-He(e);t.entangledLanes|=e,t.entanglements[a]=t.entanglements[a]|1073741824|n&4194218}function br(t,e){var n=t.entangledLanes|=e;for(t=t.entanglements;n;){var a=31-He(n),l=1<<a;l&e|t[a]&e&&(t[a]|=e),n&=~l}}function Bi(t){return t&=-t,2<t?8<t?t&134217727?32:268435456:8:2}function Oa(){var t=vt.p;return t!==0?t:(t=window.event,t===void 0?32:Lm(t.type))}function Yi(t,e){var n=vt.p;try{return vt.p=t,e()}finally{vt.p=n}}var aa=Math.random().toString(36).slice(2),se="__reactFiber$"+aa,xe="__reactProps$"+aa,al="__reactContainer$"+aa,la="__reactEvents$"+aa,ye="__reactListeners$"+aa,qe="__reactHandles$"+aa,Ce="__reactResources$"+aa,ae="__reactMarker$"+aa;function ll(t){delete t[se],delete t[xe],delete t[la],delete t[ye],delete t[qe]}function Ze(t){var e=t[se];if(e)return e;for(var n=t.parentNode;n;){if(e=n[al]||n[se]){if(n=e.alternate,e.child!==null||n!==null&&n.child!==null)for(t=_m(t);t!==null;){if(n=t[se])return n;t=_m(t)}return e}t=n,n=t.parentNode}return null}function Ke(t){if(t=t[se]||t[al]){var e=t.tag;if(e===5||e===6||e===13||e===26||e===27||e===3)return t}return null}function gn(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(o(33))}function xa(t){var e=t[Ce];return e||(e=t[Ce]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function Ft(t){t[ae]=!0}var Ca=new Set,$s={};function Rn(t,e){ia(t,e),ia(t+"Capture",e)}function ia(t,e){for($s[t]=e,t=0;t<e.length;t++)Ca.add(e[t])}var pn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),_r=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]*$"),Js={},Fs={};function Sr(t){return Xs.call(Fs,t)?!0:Xs.call(Js,t)?!1:_r.test(t)?Fs[t]=!0:(Js[t]=!0,!1)}function Il(t,e,n){if(Sr(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 ti(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 vn(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 Be(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Ws(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function yn(t){var e=Ws(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 l=n.get,s=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return l.call(this)},set:function(d){a=""+d,s.call(this,d)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return a},setValue:function(d){a=""+d},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function fe(t){t._valueTracker||(t._valueTracker=yn(t))}function sa(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),a="";return t&&(a=Ws(t)?t.checked?"true":"false":t.value),t=a,t!==n?(e.setValue(t),!0):!1}function be(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 Ps=/[\n"\\]/g;function De(t){return t.replace(Ps,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function $e(t,e,n,a,l,s,d,g){t.name="",d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?t.type=d:t.removeAttribute("type"),e!=null?d==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Be(e)):t.value!==""+Be(e)&&(t.value=""+Be(e)):d!=="submit"&&d!=="reset"||t.removeAttribute("value"),e!=null?il(t,d,Be(e)):n!=null?il(t,d,Be(n)):a!=null&&t.removeAttribute("value"),l==null&&s!=null&&(t.defaultChecked=!!s),l!=null&&(t.checked=l&&typeof l!="function"&&typeof l!="symbol"),g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"?t.name=""+Be(g):t.removeAttribute("name")}function ua(t,e,n,a,l,s,d,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?""+Be(n):"",e=e!=null?""+Be(e):n,g||e===t.value||(t.value=e),t.defaultValue=e}a=a??l,a=typeof a!="function"&&typeof a!="symbol"&&!!a,t.checked=g?t.checked:!!a,t.defaultChecked=!!a,d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(t.name=d)}function il(t,e,n){e==="number"&&be(t.ownerDocument)===t||t.defaultValue===""+n||(t.defaultValue=""+n)}function en(t,e,n,a){if(t=t.options,e){e={};for(var l=0;l<n.length;l++)e["$"+n[l]]=!0;for(n=0;n<t.length;n++)l=e.hasOwnProperty("$"+t[n].value),t[n].selected!==l&&(t[n].selected=l),l&&a&&(t[n].defaultSelected=!0)}else{for(n=""+Be(n),e=null,l=0;l<t.length;l++){if(t[l].value===n){t[l].selected=!0,a&&(t[l].defaultSelected=!0);return}e!==null||t[l].disabled||(e=t[l])}e!==null&&(e.selected=!0)}}function ki(t,e,n){if(e!=null&&(e=""+Be(e),e!==t.value&&(t.value=e),n==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=n!=null?""+Be(n):""}function Is(t,e,n,a){if(e==null){if(a!=null){if(n!=null)throw Error(o(92));if(Ie(a)){if(1<a.length)throw Error(o(93));a=a[0]}n=a}n==null&&(n=""),e=n}n=Be(e),t.defaultValue=n,a=t.textContent,a===n&&a!==""&&a!==null&&(t.value=a)}function nn(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var tu=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 eu(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||tu.has(e)?e==="float"?t.cssFloat=n:t[e]=(""+n).trim():t[e]=n+"px"}function bn(t,e,n){if(e!=null&&typeof e!="object")throw Error(o(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 l in e)a=e[l],e.hasOwnProperty(l)&&n[l]!==a&&eu(t,l,a)}else for(var s in e)e.hasOwnProperty(s)&&eu(t,s,e[s])}function nu(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 ra=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"]]),Xi=/^[\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 ei(t){return Xi.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}var Da=null;function ni(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var _n=null,Ma=null;function au(t){var e=Ke(t);if(e&&(t=e.stateNode)){var n=t[xe]||null;t:switch(t=e.stateNode,e.type){case"input":if($e(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="'+De(""+e)+'"][type="radio"]'),e=0;e<n.length;e++){var a=n[e];if(a!==t&&a.form===t.form){var l=a[xe]||null;if(!l)throw Error(o(90));$e(a,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name)}}for(e=0;e<n.length;e++)a=n[e],a.form===t.form&&sa(a)}break t;case"textarea":ki(t,n.value,n.defaultValue);break t;case"select":e=n.value,e!=null&&en(t,!!n.multiple,e,!1)}}}var Gi=!1;function wa(t,e,n){if(Gi)return t(e,n);Gi=!0;try{var a=t(e);return a}finally{if(Gi=!1,(_n!==null||Ma!==null)&&(_c(),_n&&(e=_n,t=Ma,Ma=_n=null,au(e),t)))for(e=0;e<t.length;e++)au(t[e])}}function ai(t,e){var n=t.stateNode;if(n===null)return null;var a=n[xe]||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(o(231,e,typeof n));return n}var Qi=!1;if(pn)try{var za={};Object.defineProperty(za,"passive",{get:function(){Qi=!0}}),window.addEventListener("test",za,za),window.removeEventListener("test",za,za)}catch{Qi=!1}var an=null,li=null,Vi=null;function ii(){if(Vi)return Vi;var t,e=li,n=e.length,a,l="value"in an?an.value:an.textContent,s=l.length;for(t=0;t<n&&e[t]===l[t];t++);var d=n-t;for(a=1;a<=d&&e[n-a]===l[s-a];a++);return Vi=l.slice(t,1<a?1-a:void 0)}function Zi(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 si(){return!0}function Ki(){return!1}function de(t){function e(n,a,l,s,d){this._reactName=n,this._targetInst=l,this.type=a,this.nativeEvent=s,this.target=d,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)?si:Ki,this.isPropagationStopped=Ki,this}return wt(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=si)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=si)},persist:function(){},isPersistent:si}),e}var jn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ui=de(jn),Ln=wt({},jn,{view:0,detail:0}),lu=de(Ln),$i,Ji,Sn,Fi=wt({},Ln,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ii,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!==Sn&&(Sn&&t.type==="mousemove"?($i=t.screenX-Sn.screenX,Ji=t.screenY-Sn.screenY):Ji=$i=0,Sn=t),$i)},movementY:function(t){return"movementY"in t?t.movementY:Ji}}),iu=de(Fi),Ar=wt({},Fi,{dataTransfer:0}),Er=de(Ar),Tr=wt({},Ln,{relatedTarget:0}),Wi=de(Tr),su=wt({},jn,{animationName:0,elapsedTime:0,pseudoElement:0}),Or=de(su),oo=wt({},jn,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),fo=de(oo),xr=wt({},jn,{data:0}),uu=de(xr),Pi={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ho={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"},mo={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ru(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=mo[t])?!!e[t]:!1}function Ii(){return ru}var Cr=wt({},Ln,{key:function(t){if(t.key){var e=Pi[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=Zi(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?ho[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ii,charCode:function(t){return t.type==="keypress"?Zi(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Zi(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),Na=de(Cr),cu=wt({},Fi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Dr=de(cu),Mr=wt({},Ln,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ii}),go=de(Mr),po=wt({},jn,{propertyName:0,elapsedTime:0,pseudoElement:0}),vo=de(po),yo=wt({},Fi,{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}),wr=de(yo),zr=wt({},jn,{newState:0,oldState:0}),bo=de(zr),sl=[9,13,27,32],Un=pn&&"CompositionEvent"in window,ri=null;pn&&"documentMode"in document&&(ri=document.documentMode);var ts=pn&&"TextEvent"in window&&!ri,Nr=pn&&(!Un||ri&&8<ri&&11>=ri),Rr=" ",jr=!1;function Lr(t,e){switch(t){case"keyup":return sl.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ur(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var ul=!1;function _o(t,e){switch(t){case"compositionend":return Ur(e);case"keypress":return e.which!==32?null:(jr=!0,Rr);case"textInput":return t=e.data,t===Rr&&jr?null:t;default:return null}}function So(t,e){if(ul)return t==="compositionend"||!Un&&Lr(t,e)?(t=ii(),Vi=li=an=null,ul=!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 Nr&&e.locale!=="ko"?null:e.data;default:return null}}var ln={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 ou(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!ln[t.type]:e==="textarea"}function fu(t,e,n,a){_n?Ma?Ma.push(a):Ma=[a]:_n=a,e=Oc(e,"onChange"),0<e.length&&(n=new ui("onChange","change",null,n,a),t.push({event:n,listeners:e}))}var rl=null,ci=null;function Ao(t){fm(t,0)}function oi(t){var e=gn(t);if(sa(e))return t}function fi(t,e){if(t==="change")return e}var Hr=!1;if(pn){var du;if(pn){var es="oninput"in document;if(!es){var qr=document.createElement("div");qr.setAttribute("oninput","return;"),es=typeof qr.oninput=="function"}du=es}else du=!1;Hr=du&&(!document.documentMode||9<document.documentMode)}function Br(){rl&&(rl.detachEvent("onpropertychange",hu),ci=rl=null)}function hu(t){if(t.propertyName==="value"&&oi(ci)){var e=[];fu(e,ci,t,ni(t)),wa(Ao,e)}}function Yr(t,e,n){t==="focusin"?(Br(),rl=e,ci=n,rl.attachEvent("onpropertychange",hu)):t==="focusout"&&Br()}function kr(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return oi(ci)}function ns(t,e){if(t==="click")return oi(e)}function Xr(t,e){if(t==="input"||t==="change")return oi(e)}function mu(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var kt=typeof Object.is=="function"?Object.is:mu;function di(t,e){if(kt(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 l=n[a];if(!Xs.call(e,l)||!kt(t[l],e[l]))return!1}return!0}function Gr(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function gu(t,e){var n=Gr(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=Gr(n)}}function pu(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?pu(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Qr(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=be(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=be(t.document)}return e}function vu(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 Eo(t,e){var n=Qr(e);e=t.focusedElem;var a=t.selectionRange;if(n!==e&&e&&e.ownerDocument&&pu(e.ownerDocument.documentElement,e)){if(a!==null&&vu(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 l=e.textContent.length,s=Math.min(a.start,l);a=a.end===void 0?s:Math.min(a.end,l),!n.extend&&s>a&&(l=a,a=s,s=l),l=gu(e,s);var d=gu(e,a);l&&d&&(n.rangeCount!==1||n.anchorNode!==l.node||n.anchorOffset!==l.offset||n.focusNode!==d.node||n.focusOffset!==d.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),n.removeAllRanges(),s>a?(n.addRange(t),n.extend(d.node,d.offset)):(t.setEnd(d.node,d.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 To=pn&&"documentMode"in document&&11>=document.documentMode,cl=null,yu=null,ol=null,as=!1;function ls(t,e,n){var a=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;as||cl==null||cl!==be(a)||(a=cl,"selectionStart"in a&&vu(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}),ol&&di(ol,a)||(ol=a,a=Oc(yu,"onSelect"),0<a.length&&(e=new ui("onSelect","select",null,e,n),t.push({event:e,listeners:a}),e.target=cl)))}function Ra(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var fl={animationend:Ra("Animation","AnimationEnd"),animationiteration:Ra("Animation","AnimationIteration"),animationstart:Ra("Animation","AnimationStart"),transitionrun:Ra("Transition","TransitionRun"),transitionstart:Ra("Transition","TransitionStart"),transitioncancel:Ra("Transition","TransitionCancel"),transitionend:Ra("Transition","TransitionEnd")},Hn={},An={};pn&&(An=document.createElement("div").style,"AnimationEvent"in window||(delete fl.animationend.animation,delete fl.animationiteration.animation,delete fl.animationstart.animation),"TransitionEvent"in window||delete fl.transitionend.transition);function ca(t){if(Hn[t])return Hn[t];if(!fl[t])return t;var e=fl[t],n;for(n in e)if(e.hasOwnProperty(n)&&n in An)return Hn[t]=e[n];return t}var Vr=ca("animationend"),bu=ca("animationiteration"),_u=ca("animationstart"),Zr=ca("transitionrun"),Kr=ca("transitionstart"),Oo=ca("transitioncancel"),$r=ca("transitionend"),Jr=new Map,Su="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 Je(t,e){Jr.set(t,e),Rn(e,[t])}var Fe=[],dl=0,Au=0;function is(){for(var t=dl,e=Au=dl=0;e<t;){var n=Fe[e];Fe[e++]=null;var a=Fe[e];Fe[e++]=null;var l=Fe[e];Fe[e++]=null;var s=Fe[e];if(Fe[e++]=null,a!==null&&l!==null){var d=a.pending;d===null?l.next=l:(l.next=d.next,d.next=l),a.pending=l}s!==0&&Fr(n,l,s)}}function ss(t,e,n,a){Fe[dl++]=t,Fe[dl++]=e,Fe[dl++]=n,Fe[dl++]=a,Au|=a,t.lanes|=a,t=t.alternate,t!==null&&(t.lanes|=a)}function sn(t,e,n,a){return ss(t,e,n,a),us(t)}function qn(t,e){return ss(t,null,null,e),us(t)}function Fr(t,e,n){t.lanes|=n;var a=t.alternate;a!==null&&(a.lanes|=n);for(var l=!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||(l=!0)),t=s,s=s.return;l&&e!==null&&t.tag===3&&(s=t.stateNode,l=31-He(n),s=s.hiddenUpdates,t=s[l],t===null?s[l]=[e]:t.push(e),e.lane=n|536870912)}function us(t){if(50<Ju)throw Ju=0,pf=null,Error(o(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var hl={},Wr=new WeakMap;function We(t,e){if(typeof t=="object"&&t!==null){var n=Wr.get(t);return n!==void 0?n:(e={value:t,source:e,stack:mt(e)},Wr.set(t,e),e)}return{value:t,source:e,stack:mt(e)}}var ml=[],gl=0,rs=null,pl=0,_e=[],Ye=0,oa=null,ke=1,un="";function ja(t,e){ml[gl++]=pl,ml[gl++]=rs,rs=t,pl=e}function Pr(t,e,n){_e[Ye++]=ke,_e[Ye++]=un,_e[Ye++]=oa,oa=t;var a=ke;t=un;var l=32-He(a)-1;a&=~(1<<l),n+=1;var s=32-He(e)+l;if(30<s){var d=l-l%5;s=(a&(1<<d)-1).toString(32),a>>=d,l-=d,ke=1<<32-He(e)+l|n<<l|a,un=s+t}else ke=1<<s|n<<l|a,un=t}function Eu(t){t.return!==null&&(ja(t,1),Pr(t,1,0))}function Bn(t){for(;t===rs;)rs=ml[--gl],ml[gl]=null,pl=ml[--gl],ml[gl]=null;for(;t===oa;)oa=_e[--Ye],_e[Ye]=null,un=_e[--Ye],_e[Ye]=null,ke=_e[--Ye],_e[Ye]=null}var Se=null,ce=null,_t=!1,Xe=null,En=!1,cs=Error(o(519));function La(t){var e=Error(o(418,""));throw mi(We(e,t)),cs}function Ua(t){var e=t.stateNode,n=t.type,a=t.memoizedProps;switch(e[se]=t,e[xe]=a,n){case"dialog":xt("cancel",e),xt("close",e);break;case"iframe":case"object":case"embed":xt("load",e);break;case"video":case"audio":for(n=0;n<Wu.length;n++)xt(Wu[n],e);break;case"source":xt("error",e);break;case"img":case"image":case"link":xt("error",e),xt("load",e);break;case"details":xt("toggle",e);break;case"input":xt("invalid",e),ua(e,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0),fe(e);break;case"select":xt("invalid",e);break;case"textarea":xt("invalid",e),Is(e,a.value,a.defaultValue,a.children),fe(e)}n=a.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||e.textContent===""+n||a.suppressHydrationWarning===!0||gm(e.textContent,n)?(a.popover!=null&&(xt("beforetoggle",e),xt("toggle",e)),a.onScroll!=null&&xt("scroll",e),a.onScrollEnd!=null&&xt("scrollend",e),a.onClick!=null&&(e.onclick=xc),e=!0):e=!1,e||La(t)}function os(t){for(Se=t.return;Se;)switch(Se.tag){case 3:case 27:En=!0;return;case 5:case 13:En=!1;return;default:Se=Se.return}}function vl(t){if(t!==Se)return!1;if(!_t)return os(t),_t=!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")||Rf(t.type,t.memoizedProps)),n=!n),n&&(e=!0),e&&ce&&La(t),os(t),t.tag===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(317));t:{for(t=t.nextSibling,e=0;t;){if(t.nodeType===8)if(n=t.data,n==="/$"){if(e===0){ce=Zn(t.nextSibling);break t}e--}else n!=="$"&&n!=="$!"&&n!=="$?"||e++;t=t.nextSibling}ce=null}}else ce=Se?Zn(t.stateNode.nextSibling):null;return!0}function hi(){ce=Se=null,_t=!1}function mi(t){Xe===null?Xe=[t]:Xe.push(t)}var gi=Error(o(460)),yl=Error(o(474)),Yn={then:function(){}};function Ir(t){return t=t.status,t==="fulfilled"||t==="rejected"}function fs(){}function tc(t,e,n){switch(n=t[n],n===void 0?t.push(e):n!==e&&(e.then(fs,fs),e=n),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,t===gi?Error(o(483)):t;default:if(typeof e.status=="string")e.then(fs,fs);else{if(t=Gt,t!==null&&100<t.shellSuspendCounter)throw Error(o(482));t=e,t.status="pending",t.then(function(a){if(e.status==="pending"){var l=e;l.status="fulfilled",l.value=a}},function(a){if(e.status==="pending"){var l=e;l.status="rejected",l.reason=a}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,t===gi?Error(o(483)):t}throw pi=e,gi}}var pi=null;function ec(){if(pi===null)throw Error(o(459));var t=pi;return pi=null,t}var bl=null,vi=0;function ds(t){var e=vi;return vi+=1,bl===null&&(bl=[]),tc(bl,t,e)}function _l(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function hs(t,e){throw e.$$typeof===v?Error(o(525)):(t=Object.prototype.toString.call(e),Error(o(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function Tu(t){var e=t._init;return e(t._payload)}function ms(t){function e(T,_){if(t){var O=T.deletions;O===null?(T.deletions=[_],T.flags|=16):O.push(_)}}function n(T,_){if(!t)return null;for(;_!==null;)e(T,_),_=_.sibling;return null}function a(T){for(var _=new Map;T!==null;)T.key!==null?_.set(T.key,T):_.set(T.index,T),T=T.sibling;return _}function l(T,_){return T=Nl(T,_),T.index=0,T.sibling=null,T}function s(T,_,O){return T.index=O,t?(O=T.alternate,O!==null?(O=O.index,O<_?(T.flags|=33554434,_):O):(T.flags|=33554434,_)):(T.flags|=1048576,_)}function d(T){return t&&T.alternate===null&&(T.flags|=33554434),T}function g(T,_,O,R){return _===null||_.tag!==6?(_=rf(O,T.mode,R),_.return=T,_):(_=l(_,O),_.return=T,_)}function y(T,_,O,R){var J=O.type;return J===N?z(T,_,O.props.children,R,O.key):_!==null&&(_.elementType===J||typeof J=="object"&&J!==null&&J.$$typeof===it&&Tu(J)===_.type)?(_=l(_,O.props),_l(_,O),_.return=T,_):(_=gc(O.type,O.key,O.props,null,T.mode,R),_l(_,O),_.return=T,_)}function A(T,_,O,R){return _===null||_.tag!==4||_.stateNode.containerInfo!==O.containerInfo||_.stateNode.implementation!==O.implementation?(_=cf(O,T.mode,R),_.return=T,_):(_=l(_,O.children||[]),_.return=T,_)}function z(T,_,O,R,J){return _===null||_.tag!==7?(_=Di(O,T.mode,R,J),_.return=T,_):(_=l(_,O),_.return=T,_)}function H(T,_,O){if(typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint")return _=rf(""+_,T.mode,O),_.return=T,_;if(typeof _=="object"&&_!==null){switch(_.$$typeof){case S:return O=gc(_.type,_.key,_.props,null,T.mode,O),_l(O,_),O.return=T,O;case x:return _=cf(_,T.mode,O),_.return=T,_;case it:var R=_._init;return _=R(_._payload),H(T,_,O)}if(Ie(_)||Re(_))return _=Di(_,T.mode,O,null),_.return=T,_;if(typeof _.then=="function")return H(T,ds(_),O);if(_.$$typeof===tt)return H(T,dc(T,_),O);hs(T,_)}return null}function C(T,_,O,R){var J=_!==null?_.key:null;if(typeof O=="string"&&O!==""||typeof O=="number"||typeof O=="bigint")return J!==null?null:g(T,_,""+O,R);if(typeof O=="object"&&O!==null){switch(O.$$typeof){case S:return O.key===J?y(T,_,O,R):null;case x:return O.key===J?A(T,_,O,R):null;case it:return J=O._init,O=J(O._payload),C(T,_,O,R)}if(Ie(O)||Re(O))return J!==null?null:z(T,_,O,R,null);if(typeof O.then=="function")return C(T,_,ds(O),R);if(O.$$typeof===tt)return C(T,_,dc(T,O),R);hs(T,O)}return null}function M(T,_,O,R,J){if(typeof R=="string"&&R!==""||typeof R=="number"||typeof R=="bigint")return T=T.get(O)||null,g(_,T,""+R,J);if(typeof R=="object"&&R!==null){switch(R.$$typeof){case S:return T=T.get(R.key===null?O:R.key)||null,y(_,T,R,J);case x:return T=T.get(R.key===null?O:R.key)||null,A(_,T,R,J);case it:var bt=R._init;return R=bt(R._payload),M(T,_,O,R,J)}if(Ie(R)||Re(R))return T=T.get(O)||null,z(_,T,R,J,null);if(typeof R.then=="function")return M(T,_,O,ds(R),J);if(R.$$typeof===tt)return M(T,_,O,dc(_,R),J);hs(_,R)}return null}function P(T,_,O,R){for(var J=null,bt=null,nt=_,ut=_=0,ve=null;nt!==null&&ut<O.length;ut++){nt.index>ut?(ve=nt,nt=null):ve=nt.sibling;var Nt=C(T,nt,O[ut],R);if(Nt===null){nt===null&&(nt=ve);break}t&&nt&&Nt.alternate===null&&e(T,nt),_=s(Nt,_,ut),bt===null?J=Nt:bt.sibling=Nt,bt=Nt,nt=ve}if(ut===O.length)return n(T,nt),_t&&ja(T,ut),J;if(nt===null){for(;ut<O.length;ut++)nt=H(T,O[ut],R),nt!==null&&(_=s(nt,_,ut),bt===null?J=nt:bt.sibling=nt,bt=nt);return _t&&ja(T,ut),J}for(nt=a(nt);ut<O.length;ut++)ve=M(nt,T,ut,O[ut],R),ve!==null&&(t&&ve.alternate!==null&&nt.delete(ve.key===null?ut:ve.key),_=s(ve,_,ut),bt===null?J=ve:bt.sibling=ve,bt=ve);return t&&nt.forEach(function(Bl){return e(T,Bl)}),_t&&ja(T,ut),J}function pt(T,_,O,R){if(O==null)throw Error(o(151));for(var J=null,bt=null,nt=_,ut=_=0,ve=null,Nt=O.next();nt!==null&&!Nt.done;ut++,Nt=O.next()){nt.index>ut?(ve=nt,nt=null):ve=nt.sibling;var Bl=C(T,nt,Nt.value,R);if(Bl===null){nt===null&&(nt=ve);break}t&&nt&&Bl.alternate===null&&e(T,nt),_=s(Bl,_,ut),bt===null?J=Bl:bt.sibling=Bl,bt=Bl,nt=ve}if(Nt.done)return n(T,nt),_t&&ja(T,ut),J;if(nt===null){for(;!Nt.done;ut++,Nt=O.next())Nt=H(T,Nt.value,R),Nt!==null&&(_=s(Nt,_,ut),bt===null?J=Nt:bt.sibling=Nt,bt=Nt);return _t&&ja(T,ut),J}for(nt=a(nt);!Nt.done;ut++,Nt=O.next())Nt=M(nt,T,ut,Nt.value,R),Nt!==null&&(t&&Nt.alternate!==null&&nt.delete(Nt.key===null?ut:Nt.key),_=s(Nt,_,ut),bt===null?J=Nt:bt.sibling=Nt,bt=Nt);return t&&nt.forEach(function(j0){return e(T,j0)}),_t&&ja(T,ut),J}function te(T,_,O,R){if(typeof O=="object"&&O!==null&&O.type===N&&O.key===null&&(O=O.props.children),typeof O=="object"&&O!==null){switch(O.$$typeof){case S:t:{for(var J=O.key;_!==null;){if(_.key===J){if(J=O.type,J===N){if(_.tag===7){n(T,_.sibling),R=l(_,O.props.children),R.return=T,T=R;break t}}else if(_.elementType===J||typeof J=="object"&&J!==null&&J.$$typeof===it&&Tu(J)===_.type){n(T,_.sibling),R=l(_,O.props),_l(R,O),R.return=T,T=R;break t}n(T,_);break}else e(T,_);_=_.sibling}O.type===N?(R=Di(O.props.children,T.mode,R,O.key),R.return=T,T=R):(R=gc(O.type,O.key,O.props,null,T.mode,R),_l(R,O),R.return=T,T=R)}return d(T);case x:t:{for(J=O.key;_!==null;){if(_.key===J)if(_.tag===4&&_.stateNode.containerInfo===O.containerInfo&&_.stateNode.implementation===O.implementation){n(T,_.sibling),R=l(_,O.children||[]),R.return=T,T=R;break t}else{n(T,_);break}else e(T,_);_=_.sibling}R=cf(O,T.mode,R),R.return=T,T=R}return d(T);case it:return J=O._init,O=J(O._payload),te(T,_,O,R)}if(Ie(O))return P(T,_,O,R);if(Re(O)){if(J=Re(O),typeof J!="function")throw Error(o(150));return O=J.call(O),pt(T,_,O,R)}if(typeof O.then=="function")return te(T,_,ds(O),R);if(O.$$typeof===tt)return te(T,_,dc(T,O),R);hs(T,O)}return typeof O=="string"&&O!==""||typeof O=="number"||typeof O=="bigint"?(O=""+O,_!==null&&_.tag===6?(n(T,_.sibling),R=l(_,O),R.return=T,T=R):(n(T,_),R=rf(O,T.mode,R),R.return=T,T=R),d(T)):n(T,_)}return function(T,_,O,R){try{vi=0;var J=te(T,_,O,R);return bl=null,J}catch(nt){if(nt===gi)throw nt;var bt=Dn(29,nt,null,T.mode);return bt.lanes=R,bt.return=T,bt}finally{}}}var fa=ms(!0),da=ms(!1),Ha=$(null),Sl=$(0);function Ou(t,e){t=Ka,qt(Sl,t),qt(Ha,e),Ka=t|e.baseLanes}function yi(){qt(Sl,Ka),qt(Ha,Ha.current)}function gs(){Ka=Sl.current,Kt(Ha),Kt(Sl)}var Me=$(null),Tn=null;function we(t){var e=t.alternate;qt(le,le.current&1),qt(Me,t),Tn===null&&(e===null||Ha.current!==null||e.memoizedState!==null)&&(Tn=t)}function kn(t){if(t.tag===22){if(qt(le,le.current),qt(Me,t),Tn===null){var e=t.alternate;e!==null&&e.memoizedState!==null&&(Tn=t)}}else ha()}function ha(){qt(le,le.current),qt(Me,Me.current)}function Xn(t){Kt(Me),Tn===t&&(Tn=null),Kt(le)}var le=$(0);function ps(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)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 xo=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()})}},Co=u.unstable_scheduleCallback,Do=u.unstable_NormalPriority,ie={$$typeof:tt,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function vs(){return{controller:new xo,data:new Map,refCount:0}}function ma(t){t.refCount--,t.refCount===0&&Co(Do,function(){t.controller.abort()})}var ga=null,xu=0,Al=0,On=null;function h(t,e){if(ga===null){var n=ga=[];xu=0,Al=Tf(),On={status:"pending",value:void 0,then:function(a){n.push(a)}}}return xu++,e.then(i,i),e}function i(){if(--xu===0&&ga!==null){On!==null&&(On.status="fulfilled");var t=ga;ga=null,Al=0,On=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function c(t,e){var n=[],a={status:"pending",value:null,reason:null,then:function(l){n.push(l)}};return t.then(function(){a.status="fulfilled",a.value=e;for(var l=0;l<n.length;l++)(0,n[l])(e)},function(l){for(a.status="rejected",a.reason=l,l=0;l<n.length;l++)(0,n[l])(void 0)}),a}var p=ft.S;ft.S=function(t,e){typeof e=="object"&&e!==null&&typeof e.then=="function"&&h(t,e),p!==null&&p(t,e)};var b=$(null);function E(){var t=b.current;return t!==null?t:Gt.pooledCache}function D(t,e){e===null?qt(b,b.current):qt(b,e.pool)}function j(){var t=E();return t===null?null:{parent:ie._currentValue,pool:t}}var k=0,L=null,q=null,B=null,ht=!1,et=!1,at=!1,lt=0,st=0,Tt=null,Lt=0;function W(){throw Error(o(321))}function Ot(t,e){if(e===null)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(!kt(t[n],e[n]))return!1;return!0}function gt(t,e,n,a,l,s){return k=s,L=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,ft.H=t===null||t.memoizedState===null?Ai:Tl,at=!1,s=n(a,l),at=!1,et&&(s=zt(e,n,a,l)),yt(t),s}function yt(t){ft.H=va;var e=q!==null&&q.next!==null;if(k=0,B=q=L=null,ht=!1,st=0,Tt=null,e)throw Error(o(300));t===null||ge||(t=t.dependencies,t!==null&&fc(t)&&(ge=!0))}function zt(t,e,n,a){L=t;var l=0;do{if(et&&(Tt=null),st=0,et=!1,25<=l)throw Error(o(301));if(l+=1,B=q=null,t.updateQueue!=null){var s=t.updateQueue;s.lastEffect=null,s.events=null,s.stores=null,s.memoCache!=null&&(s.memoCache.index=0)}ft.H=Ei,s=e(n,a)}while(et);return s}function jt(){var t=ft.H,e=t.useState()[0];return e=typeof e.then=="function"?he(e):e,t=t.useState()[0],(q!==null?q.memoizedState:null)!==t&&(L.flags|=1024),e}function Mt(){var t=lt!==0;return lt=0,t}function Vt(t,e,n){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~n}function Ae(t){if(ht){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}ht=!1}k=0,B=q=L=null,et=!1,st=lt=0,Tt=null}function Xt(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return B===null?L.memoizedState=B=t:B=B.next=t,B}function At(){if(q===null){var t=L.alternate;t=t!==null?t.memoizedState:null}else t=q.next;var e=B===null?L.memoizedState:B.next;if(e!==null)B=e,q=t;else{if(t===null)throw L.alternate===null?Error(o(467)):Error(o(310));q=t,t={memoizedState:q.memoizedState,baseState:q.baseState,baseQueue:q.baseQueue,queue:q.queue,next:null},B===null?L.memoizedState=B=t:B=B.next=t}return B}var Ee;Ee=function(){return{lastEffect:null,events:null,stores:null,memoCache:null}};function he(t){var e=st;return st+=1,Tt===null&&(Tt=[]),t=tc(Tt,t,e),e=L,(B===null?e.memoizedState:B.next)===null&&(e=e.alternate,ft.H=e===null||e.memoizedState===null?Ai:Tl),t}function Bt(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return he(t);if(t.$$typeof===tt)return ze(t)}throw Error(o(438,String(t)))}function Pe(t){var e=null,n=L.updateQueue;if(n!==null&&(e=n.memoCache),e==null){var a=L.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(e={data:a.data.map(function(l){return l.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),n===null&&(n=Ee(),L.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]=ee;return e.index++,n}function ue(t,e){return typeof e=="function"?e(t):e}function Gn(t){var e=At();return Wt(e,q,t)}function Wt(t,e,n){var a=t.queue;if(a===null)throw Error(o(311));a.lastRenderedReducer=n;var l=t.baseQueue,s=a.pending;if(s!==null){if(l!==null){var d=l.next;l.next=s.next,s.next=d}e.baseQueue=l=s,a.pending=null}if(s=t.baseState,l===null)t.memoizedState=s;else{e=l.next;var g=d=null,y=null,A=e,z=!1;do{var H=A.lane&-536870913;if(H!==A.lane?(Dt&H)===H:(k&H)===H){var C=A.revertLane;if(C===0)y!==null&&(y=y.next={lane:0,revertLane:0,action:A.action,hasEagerState:A.hasEagerState,eagerState:A.eagerState,next:null}),H===Al&&(z=!0);else if((k&C)===C){A=A.next,C===Al&&(z=!0);continue}else H={lane:0,revertLane:A.revertLane,action:A.action,hasEagerState:A.hasEagerState,eagerState:A.eagerState,next:null},y===null?(g=y=H,d=s):y=y.next=H,L.lanes|=C,Rl|=C;H=A.action,at&&n(s,H),s=A.hasEagerState?A.eagerState:n(s,H)}else C={lane:H,revertLane:A.revertLane,action:A.action,hasEagerState:A.hasEagerState,eagerState:A.eagerState,next:null},y===null?(g=y=C,d=s):y=y.next=C,L.lanes|=H,Rl|=H;A=A.next}while(A!==null&&A!==e);if(y===null?d=s:y.next=g,!kt(s,t.memoizedState)&&(ge=!0,z&&(n=On,n!==null)))throw n;t.memoizedState=s,t.baseState=d,t.baseQueue=y,a.lastRenderedState=s}return l===null&&(a.lanes=0),[t.memoizedState,a.dispatch]}function Rt(t){var e=At(),n=e.queue;if(n===null)throw Error(o(311));n.lastRenderedReducer=t;var a=n.dispatch,l=n.pending,s=e.memoizedState;if(l!==null){n.pending=null;var d=l=l.next;do s=t(s,d.action),d=d.next;while(d!==l);kt(s,e.memoizedState)||(ge=!0),e.memoizedState=s,e.baseQueue===null&&(e.baseState=s),n.lastRenderedState=s}return[s,a]}function me(t,e,n){var a=L,l=At(),s=_t;if(s){if(n===void 0)throw Error(o(407));n=n()}else n=e();var d=!kt((q||l).memoizedState,n);if(d&&(l.memoizedState=n,ge=!0),l=l.queue,Ss(bi.bind(null,a,l,t),[t]),l.getSnapshot!==e||d||B!==null&&B.memoizedState.tag&1){if(a.flags|=2048,qa(9,Qn.bind(null,a,l,n,e),{destroy:void 0},null),Gt===null)throw Error(o(349));s||k&60||Ge(a,e,n)}return n}function Ge(t,e,n){t.flags|=16384,t={getSnapshot:e,value:n},e=L.updateQueue,e===null?(e=Ee(),L.updateQueue=e,e.stores=[t]):(n=e.stores,n===null?e.stores=[t]:n.push(t))}function Qn(t,e,n,a){e.value=n,e.getSnapshot=a,Cu(e)&&Du(t)}function bi(t,e,n){return n(function(){Cu(e)&&Du(t)})}function Cu(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!kt(t,n)}catch{return!0}}function Du(t){var e=qn(t,2);e!==null&&Qe(e,t,2)}function El(t){var e=Xt();if(typeof t=="function"){var n=t;if(t=n(),at){na(!0);try{n()}finally{na(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ue,lastRenderedState:t},e}function nc(t,e,n,a){return t.baseState=n,Wt(t,q,typeof a=="function"?a:ue)}function Mo(t,e,n,a,l){if(rc(t))throw Error(o(485));if(t=e.action,t!==null){var s={payload:l,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(d){s.listeners.push(d)}};ft.T!==null?n(!0):s.isTransition=!1,a(s),n=e.pending,n===null?(s.next=e.pending=s,ys(e,s)):(s.next=n.next,e.pending=n.next=s)}}function ys(t,e){var n=e.action,a=e.payload,l=t.state;if(e.isTransition){var s=ft.T,d={};ft.T=d;try{var g=n(l,a),y=ft.S;y!==null&&y(d,g),ac(t,e,g)}catch(A){wu(t,e,A)}finally{ft.T=s}}else try{s=n(l,a),ac(t,e,s)}catch(A){wu(t,e,A)}}function ac(t,e,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(a){Mu(t,e,a)},function(a){return wu(t,e,a)}):Mu(t,e,n)}function Mu(t,e,n){e.status="fulfilled",e.value=n,zu(e),t.state=n,e=t.pending,e!==null&&(n=e.next,n===e?t.pending=null:(n=n.next,e.next=n,ys(t,n)))}function wu(t,e,n){var a=t.pending;if(t.pending=null,a!==null){a=a.next;do e.status="rejected",e.reason=n,zu(e),e=e.next;while(e!==a)}t.action=null}function zu(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function Nu(t,e){return e}function lc(t,e){if(_t){var n=Gt.formState;if(n!==null){t:{var a=L;if(_t){if(ce){e:{for(var l=ce,s=En;l.nodeType!==8;){if(!s){l=null;break e}if(l=Zn(l.nextSibling),l===null){l=null;break e}}s=l.data,l=s==="F!"||s==="F"?l:null}if(l){ce=Zn(l.nextSibling),a=l.data==="F!";break t}}La(a)}a=!1}a&&(e=n[0])}}return n=Xt(),n.memoizedState=n.baseState=e,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Nu,lastRenderedState:e},n.queue=a,n=Pd.bind(null,L,a),a.dispatch=n,a=El(!1),s=jo.bind(null,L,!1,a.queue),a=Xt(),l={state:e,dispatch:null,action:t,pending:null},a.queue=l,n=Mo.bind(null,L,l,s,n),l.dispatch=n,a.memoizedState=t,[e,n,!1]}function ic(t){var e=At();return pa(e,q,t)}function pa(t,e,n){e=Wt(t,e,Nu)[0],t=Gn(ue)[0],e=typeof e=="object"&&e!==null&&typeof e.then=="function"?he(e):e;var a=At(),l=a.queue,s=l.dispatch;return n!==a.memoizedState&&(L.flags|=2048,qa(9,bs.bind(null,l,n),{destroy:void 0},null)),[e,s,t]}function bs(t,e){t.action=e}function Ru(t){var e=At(),n=q;if(n!==null)return pa(e,n,t);At(),e=e.memoizedState,n=At();var a=n.queue.dispatch;return n.memoizedState=t,[e,a,!1]}function qa(t,e,n,a){return t={tag:t,create:e,inst:n,deps:a,next:null},e=L.updateQueue,e===null&&(e=Ee(),L.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 _s(){return At().memoizedState}function _i(t,e,n,a){var l=Xt();L.flags|=t,l.memoizedState=qa(1|e,n,{destroy:void 0},a===void 0?null:a)}function Si(t,e,n,a){var l=At();a=a===void 0?null:a;var s=l.memoizedState.inst;q!==null&&a!==null&&Ot(a,q.memoizedState.deps)?l.memoizedState=qa(e,n,s,a):(L.flags|=t,l.memoizedState=qa(1|e,n,s,a))}function ju(t,e){_i(8390656,8,t,e)}function Ss(t,e){Si(2048,8,t,e)}function sc(t,e){return Si(4,2,t,e)}function uc(t,e){return Si(4,4,t,e)}function As(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 Lu(t,e,n){n=n!=null?n.concat([t]):null,Si(4,4,As.bind(null,e,t),n)}function wo(){}function Qd(t,e){var n=At();e=e===void 0?null:e;var a=n.memoizedState;return e!==null&&Ot(e,a[1])?a[0]:(n.memoizedState=[t,e],t)}function Vd(t,e){var n=At();e=e===void 0?null:e;var a=n.memoizedState;if(e!==null&&Ot(e,a[1]))return a[0];if(a=t(),at){na(!0);try{t()}finally{na(!1)}}return n.memoizedState=[a,e],a}function zo(t,e,n){return n===void 0||k&1073741824?t.memoizedState=e:(t.memoizedState=n,t=Kh(),L.lanes|=t,Rl|=t,n)}function Zd(t,e,n,a){return kt(n,e)?n:Ha.current!==null?(t=zo(t,n,a),kt(t,e)||(ge=!0),t):k&42?(t=Kh(),L.lanes|=t,Rl|=t,e):(ge=!0,t.memoizedState=n)}function Kd(t,e,n,a,l){var s=vt.p;vt.p=s!==0&&8>s?s:8;var d=ft.T,g={};ft.T=g,jo(t,!1,e,n);try{var y=l(),A=ft.S;if(A!==null&&A(g,y),y!==null&&typeof y=="object"&&typeof y.then=="function"){var z=c(y,a);Uu(t,e,z,fn(t))}else Uu(t,e,a,fn(t))}catch(H){Uu(t,e,{then:function(){},status:"rejected",reason:H},fn())}finally{vt.p=s,ft.T=d}}function wp(){}function No(t,e,n,a){if(t.tag!==5)throw Error(o(476));var l=$d(t).queue;Kd(t,l,e,oe,n===null?wp:function(){return Jd(t),n(a)})}function $d(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:oe,baseState:oe,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ue,lastRenderedState:oe},next:null};var n={};return e.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ue,lastRenderedState:n},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function Jd(t){var e=$d(t).next.queue;Uu(t,e,{},fn())}function Ro(){return ze(nr)}function Fd(){return At().memoizedState}function Wd(){return At().memoizedState}function zp(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var n=fn();t=Cl(n);var a=Dl(e,t,n);a!==null&&(Qe(a,e,n),Bu(a,e,n)),e={cache:vs()},t.payload=e;return}e=e.return}}function Np(t,e,n){var a=fn();n={lane:a,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null},rc(t)?Id(e,n):(n=sn(t,e,n,a),n!==null&&(Qe(n,t,a),th(n,e,a)))}function Pd(t,e,n){var a=fn();Uu(t,e,n,a)}function Uu(t,e,n,a){var l={lane:a,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};if(rc(t))Id(e,l);else{var s=t.alternate;if(t.lanes===0&&(s===null||s.lanes===0)&&(s=e.lastRenderedReducer,s!==null))try{var d=e.lastRenderedState,g=s(d,n);if(l.hasEagerState=!0,l.eagerState=g,kt(g,d))return ss(t,e,l,0),Gt===null&&is(),!1}catch{}finally{}if(n=sn(t,e,l,a),n!==null)return Qe(n,t,a),th(n,e,a),!0}return!1}function jo(t,e,n,a){if(a={lane:2,revertLane:Tf(),action:a,hasEagerState:!1,eagerState:null,next:null},rc(t)){if(e)throw Error(o(479))}else e=sn(t,n,a,2),e!==null&&Qe(e,t,2)}function rc(t){var e=t.alternate;return t===L||e!==null&&e===L}function Id(t,e){et=ht=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function th(t,e,n){if(n&4194176){var a=e.lanes;a&=t.pendingLanes,n|=a,e.lanes=n,br(t,n)}}var va={readContext:ze,use:Bt,useCallback:W,useContext:W,useEffect:W,useImperativeHandle:W,useLayoutEffect:W,useInsertionEffect:W,useMemo:W,useReducer:W,useRef:W,useState:W,useDebugValue:W,useDeferredValue:W,useTransition:W,useSyncExternalStore:W,useId:W};va.useCacheRefresh=W,va.useMemoCache=W,va.useHostTransitionStatus=W,va.useFormState=W,va.useActionState=W,va.useOptimistic=W;var Ai={readContext:ze,use:Bt,useCallback:function(t,e){return Xt().memoizedState=[t,e===void 0?null:e],t},useContext:ze,useEffect:ju,useImperativeHandle:function(t,e,n){n=n!=null?n.concat([t]):null,_i(4194308,4,As.bind(null,e,t),n)},useLayoutEffect:function(t,e){return _i(4194308,4,t,e)},useInsertionEffect:function(t,e){_i(4,2,t,e)},useMemo:function(t,e){var n=Xt();e=e===void 0?null:e;var a=t();if(at){na(!0);try{t()}finally{na(!1)}}return n.memoizedState=[a,e],a},useReducer:function(t,e,n){var a=Xt();if(n!==void 0){var l=n(e);if(at){na(!0);try{n(e)}finally{na(!1)}}}else l=e;return a.memoizedState=a.baseState=l,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:l},a.queue=t,t=t.dispatch=Np.bind(null,L,t),[a.memoizedState,t]},useRef:function(t){var e=Xt();return t={current:t},e.memoizedState=t},useState:function(t){t=El(t);var e=t.queue,n=Pd.bind(null,L,e);return e.dispatch=n,[t.memoizedState,n]},useDebugValue:wo,useDeferredValue:function(t,e){var n=Xt();return zo(n,t,e)},useTransition:function(){var t=El(!1);return t=Kd.bind(null,L,t.queue,!0,!1),Xt().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,n){var a=L,l=Xt();if(_t){if(n===void 0)throw Error(o(407));n=n()}else{if(n=e(),Gt===null)throw Error(o(349));Dt&60||Ge(a,e,n)}l.memoizedState=n;var s={value:n,getSnapshot:e};return l.queue=s,ju(bi.bind(null,a,s,t),[t]),a.flags|=2048,qa(9,Qn.bind(null,a,s,n,e),{destroy:void 0},null),n},useId:function(){var t=Xt(),e=Gt.identifierPrefix;if(_t){var n=un,a=ke;n=(a&~(1<<32-He(a)-1)).toString(32)+n,e=":"+e+"R"+n,n=lt++,0<n&&(e+="H"+n.toString(32)),e+=":"}else n=Lt++,e=":"+e+"r"+n.toString(32)+":";return t.memoizedState=e},useCacheRefresh:function(){return Xt().memoizedState=zp.bind(null,L)}};Ai.useMemoCache=Pe,Ai.useHostTransitionStatus=Ro,Ai.useFormState=lc,Ai.useActionState=lc,Ai.useOptimistic=function(t){var e=Xt();e.memoizedState=e.baseState=t;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=n,e=jo.bind(null,L,!0,n),n.dispatch=e,[t,e]};var Tl={readContext:ze,use:Bt,useCallback:Qd,useContext:ze,useEffect:Ss,useImperativeHandle:Lu,useInsertionEffect:sc,useLayoutEffect:uc,useMemo:Vd,useReducer:Gn,useRef:_s,useState:function(){return Gn(ue)},useDebugValue:wo,useDeferredValue:function(t,e){var n=At();return Zd(n,q.memoizedState,t,e)},useTransition:function(){var t=Gn(ue)[0],e=At().memoizedState;return[typeof t=="boolean"?t:he(t),e]},useSyncExternalStore:me,useId:Fd};Tl.useCacheRefresh=Wd,Tl.useMemoCache=Pe,Tl.useHostTransitionStatus=Ro,Tl.useFormState=ic,Tl.useActionState=ic,Tl.useOptimistic=function(t,e){var n=At();return nc(n,q,t,e)};var Ei={readContext:ze,use:Bt,useCallback:Qd,useContext:ze,useEffect:Ss,useImperativeHandle:Lu,useInsertionEffect:sc,useLayoutEffect:uc,useMemo:Vd,useReducer:Rt,useRef:_s,useState:function(){return Rt(ue)},useDebugValue:wo,useDeferredValue:function(t,e){var n=At();return q===null?zo(n,t,e):Zd(n,q.memoizedState,t,e)},useTransition:function(){var t=Rt(ue)[0],e=At().memoizedState;return[typeof t=="boolean"?t:he(t),e]},useSyncExternalStore:me,useId:Fd};Ei.useCacheRefresh=Wd,Ei.useMemoCache=Pe,Ei.useHostTransitionStatus=Ro,Ei.useFormState=Ru,Ei.useActionState=Ru,Ei.useOptimistic=function(t,e){var n=At();return q!==null?nc(n,q,t,e):(n.baseState=t,[t,n.queue.dispatch])};function Lo(t,e,n,a){e=t.memoizedState,n=n(a,e),n=n==null?e:wt({},e,n),t.memoizedState=n,t.lanes===0&&(t.updateQueue.baseState=n)}var Uo={isMounted:function(t){return(t=t._reactInternals)?dt(t)===t:!1},enqueueSetState:function(t,e,n){t=t._reactInternals;var a=fn(),l=Cl(a);l.payload=e,n!=null&&(l.callback=n),e=Dl(t,l,a),e!==null&&(Qe(e,t,a),Bu(e,t,a))},enqueueReplaceState:function(t,e,n){t=t._reactInternals;var a=fn(),l=Cl(a);l.tag=1,l.payload=e,n!=null&&(l.callback=n),e=Dl(t,l,a),e!==null&&(Qe(e,t,a),Bu(e,t,a))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var n=fn(),a=Cl(n);a.tag=2,e!=null&&(a.callback=e),e=Dl(t,a,n),e!==null&&(Qe(e,t,n),Bu(e,t,n))}};function eh(t,e,n,a,l,s,d){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(a,s,d):e.prototype&&e.prototype.isPureReactComponent?!di(n,a)||!di(l,s):!0}function nh(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&&Uo.enqueueReplaceState(e,e.state,null)}function Ti(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=wt({},n));for(var l in t)n[l]===void 0&&(n[l]=t[l])}return n}var cc=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 ah(t){cc(t)}function lh(t){console.error(t)}function ih(t){cc(t)}function oc(t,e){try{var n=t.onUncaughtError;n(e.value,{componentStack:e.stack})}catch(a){setTimeout(function(){throw a})}}function sh(t,e,n){try{var a=t.onCaughtError;a(n.value,{componentStack:n.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(l){setTimeout(function(){throw l})}}function Ho(t,e,n){return n=Cl(n),n.tag=3,n.payload={element:null},n.callback=function(){oc(t,e)},n}function uh(t){return t=Cl(t),t.tag=3,t}function rh(t,e,n,a){var l=n.type.getDerivedStateFromError;if(typeof l=="function"){var s=a.value;t.payload=function(){return l(s)},t.callback=function(){sh(e,n,a)}}var d=n.stateNode;d!==null&&typeof d.componentDidCatch=="function"&&(t.callback=function(){sh(e,n,a),typeof l!="function"&&(jl===null?jl=new Set([this]):jl.add(this));var g=a.stack;this.componentDidCatch(a.value,{componentStack:g!==null?g:""})})}function Rp(t,e,n,a,l){if(n.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(e=n.alternate,e!==null&&qu(e,n,l,!0),n=Me.current,n!==null){switch(n.tag){case 13:return Tn===null?bf():n.alternate===null&&It===0&&(It=3),n.flags&=-257,n.flags|=65536,n.lanes=l,a===Yn?n.flags|=16384:(e=n.updateQueue,e===null?n.updateQueue=new Set([a]):e.add(a),Sf(t,a,l)),!1;case 22:return n.flags|=65536,a===Yn?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)),Sf(t,a,l)),!1}throw Error(o(435,n.tag))}return Sf(t,a,l),bf(),!1}if(_t)return e=Me.current,e!==null?(!(e.flags&65536)&&(e.flags|=256),e.flags|=65536,e.lanes=l,a!==cs&&(t=Error(o(422),{cause:a}),mi(We(t,n)))):(a!==cs&&(e=Error(o(423),{cause:a}),mi(We(e,n))),t=t.current.alternate,t.flags|=65536,l&=-l,t.lanes|=l,a=We(a,n),l=Ho(t.stateNode,a,l),Po(t,l),It!==4&&(It=2)),!1;var s=Error(o(520),{cause:a});if(s=We(s,n),Ku===null?Ku=[s]:Ku.push(s),It!==4&&(It=2),e===null)return!0;a=We(a,n),n=e;do{switch(n.tag){case 3:return n.flags|=65536,t=l&-l,n.lanes|=t,t=Ho(n.stateNode,a,t),Po(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"&&(jl===null||!jl.has(s))))return n.flags|=65536,l&=-l,n.lanes|=l,l=uh(l),rh(l,t,n,a),Po(n,l),!1}n=n.return}while(n!==null);return!1}var ch=Error(o(461)),ge=!1;function Te(t,e,n,a){e.child=t===null?da(e,null,n,a):fa(e,t.child,n,a)}function oh(t,e,n,a,l){n=n.render;var s=e.ref;if("ref"in a){var d={};for(var g in a)g!=="ref"&&(d[g]=a[g])}else d=a;return xi(e),a=gt(t,e,n,d,s,l),g=Mt(),t!==null&&!ge?(Vt(t,e,l),Ba(t,e,l)):(_t&&g&&Eu(e),e.flags|=1,Te(t,e,a,l),e.child)}function fh(t,e,n,a,l){if(t===null){var s=n.type;return typeof s=="function"&&!uf(s)&&s.defaultProps===void 0&&n.compare===null?(e.tag=15,e.type=s,dh(t,e,s,a,l)):(t=gc(n.type,null,a,e,e.mode,l),t.ref=e.ref,t.return=e,e.child=t)}if(s=t.child,!Zo(t,l)){var d=s.memoizedProps;if(n=n.compare,n=n!==null?n:di,n(d,a)&&t.ref===e.ref)return Ba(t,e,l)}return e.flags|=1,t=Nl(s,a),t.ref=e.ref,t.return=e,e.child=t}function dh(t,e,n,a,l){if(t!==null){var s=t.memoizedProps;if(di(s,a)&&t.ref===e.ref)if(ge=!1,e.pendingProps=a=s,Zo(t,l))t.flags&131072&&(ge=!0);else return e.lanes=t.lanes,Ba(t,e,l)}return qo(t,e,n,a,l)}function hh(t,e,n){var a=e.pendingProps,l=a.children,s=(e.stateNode._pendingVisibility&2)!==0,d=t!==null?t.memoizedState:null;if(Hu(t,e),a.mode==="hidden"||s){if(e.flags&128){if(a=d!==null?d.baseLanes|n:n,t!==null){for(l=e.child=t.child,s=0;l!==null;)s=s|l.lanes|l.childLanes,l=l.sibling;e.childLanes=s&~a}else e.childLanes=0,e.child=null;return mh(t,e,a,n)}if(n&536870912)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&D(e,d!==null?d.cachePool:null),d!==null?Ou(e,d):yi(),kn(e);else return e.lanes=e.childLanes=536870912,mh(t,e,d!==null?d.baseLanes|n:n,n)}else d!==null?(D(e,d.cachePool),Ou(e,d),ha(),e.memoizedState=null):(t!==null&&D(e,null),yi(),ha());return Te(t,e,l,n),e.child}function mh(t,e,n,a){var l=E();return l=l===null?null:{parent:ie._currentValue,pool:l},e.memoizedState={baseLanes:n,cachePool:l},t!==null&&D(e,null),yi(),kn(e),t!==null&&qu(t,e,a,!0),null}function Hu(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(o(284));(t===null||t.ref!==n)&&(e.flags|=2097664)}}function qo(t,e,n,a,l){return xi(e),n=gt(t,e,n,a,void 0,l),a=Mt(),t!==null&&!ge?(Vt(t,e,l),Ba(t,e,l)):(_t&&a&&Eu(e),e.flags|=1,Te(t,e,n,l),e.child)}function gh(t,e,n,a,l,s){return xi(e),e.updateQueue=null,n=zt(e,a,n,l),yt(t),a=Mt(),t!==null&&!ge?(Vt(t,e,s),Ba(t,e,s)):(_t&&a&&Eu(e),e.flags|=1,Te(t,e,n,s),e.child)}function ph(t,e,n,a,l){if(xi(e),e.stateNode===null){var s=hl,d=n.contextType;typeof d=="object"&&d!==null&&(s=ze(d)),s=new n(a,s),e.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,s.updater=Uo,e.stateNode=s,s._reactInternals=e,s=e.stateNode,s.props=a,s.state=e.memoizedState,s.refs={},Fo(e),d=n.contextType,s.context=typeof d=="object"&&d!==null?ze(d):hl,s.state=e.memoizedState,d=n.getDerivedStateFromProps,typeof d=="function"&&(Lo(e,n,d,a),s.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(d=s.state,typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),d!==s.state&&Uo.enqueueReplaceState(s,s.state,null),ku(e,a,s,l),Yu(),s.state=e.memoizedState),typeof s.componentDidMount=="function"&&(e.flags|=4194308),a=!0}else if(t===null){s=e.stateNode;var g=e.memoizedProps,y=Ti(n,g);s.props=y;var A=s.context,z=n.contextType;d=hl,typeof z=="object"&&z!==null&&(d=ze(z));var H=n.getDerivedStateFromProps;z=typeof H=="function"||typeof s.getSnapshotBeforeUpdate=="function",g=e.pendingProps!==g,z||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(g||A!==d)&&nh(e,s,a,d),xl=!1;var C=e.memoizedState;s.state=C,ku(e,a,s,l),Yu(),A=e.memoizedState,g||C!==A||xl?(typeof H=="function"&&(Lo(e,n,H,a),A=e.memoizedState),(y=xl||eh(e,n,y,a,C,A,d))?(z||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=A),s.props=a,s.state=A,s.context=d,a=y):(typeof s.componentDidMount=="function"&&(e.flags|=4194308),a=!1)}else{s=e.stateNode,Wo(t,e),d=e.memoizedProps,z=Ti(n,d),s.props=z,H=e.pendingProps,C=s.context,A=n.contextType,y=hl,typeof A=="object"&&A!==null&&(y=ze(A)),g=n.getDerivedStateFromProps,(A=typeof g=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(d!==H||C!==y)&&nh(e,s,a,y),xl=!1,C=e.memoizedState,s.state=C,ku(e,a,s,l),Yu();var M=e.memoizedState;d!==H||C!==M||xl||t!==null&&t.dependencies!==null&&fc(t.dependencies)?(typeof g=="function"&&(Lo(e,n,g,a),M=e.memoizedState),(z=xl||eh(e,n,z,a,C,M,y)||t!==null&&t.dependencies!==null&&fc(t.dependencies))?(A||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(a,M,y),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(a,M,y)),typeof s.componentDidUpdate=="function"&&(e.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof s.componentDidUpdate!="function"||d===t.memoizedProps&&C===t.memoizedState||(e.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||d===t.memoizedProps&&C===t.memoizedState||(e.flags|=1024),e.memoizedProps=a,e.memoizedState=M),s.props=a,s.state=M,s.context=y,a=z):(typeof s.componentDidUpdate!="function"||d===t.memoizedProps&&C===t.memoizedState||(e.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||d===t.memoizedProps&&C===t.memoizedState||(e.flags|=1024),a=!1)}return s=a,Hu(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=fa(e,t.child,null,l),e.child=fa(e,null,n,l)):Te(t,e,n,l),e.memoizedState=s.state,t=e.child):t=Ba(t,e,l),t}function vh(t,e,n,a){return hi(),e.flags|=256,Te(t,e,n,a),e.child}var Bo={dehydrated:null,treeContext:null,retryLane:0};function Yo(t){return{baseLanes:t,cachePool:j()}}function ko(t,e,n){return t=t!==null?t.childLanes&~n:0,e&&(t|=Mn),t}function yh(t,e,n){var a=e.pendingProps,l=!1,s=(e.flags&128)!==0,d;if((d=s)||(d=t!==null&&t.memoizedState===null?!1:(le.current&2)!==0),d&&(l=!0,e.flags&=-129),d=(e.flags&32)!==0,e.flags&=-33,t===null){if(_t){if(l?we(e):ha(),_t){var g=ce,y;if(y=g){t:{for(y=g,g=En;y.nodeType!==8;){if(!g){g=null;break t}if(y=Zn(y.nextSibling),y===null){g=null;break t}}g=y}g!==null?(e.memoizedState={dehydrated:g,treeContext:oa!==null?{id:ke,overflow:un}:null,retryLane:536870912},y=Dn(18,null,null,0),y.stateNode=g,y.return=e,e.child=y,Se=e,ce=null,y=!0):y=!1}y||La(e)}if(g=e.memoizedState,g!==null&&(g=g.dehydrated,g!==null))return g.data==="$!"?e.lanes=16:e.lanes=536870912,null;Xn(e)}return g=a.children,a=a.fallback,l?(ha(),l=e.mode,g=Go({mode:"hidden",children:g},l),a=Di(a,l,n,null),g.return=e,a.return=e,g.sibling=a,e.child=g,l=e.child,l.memoizedState=Yo(n),l.childLanes=ko(t,d,n),e.memoizedState=Bo,a):(we(e),Xo(e,g))}if(y=t.memoizedState,y!==null&&(g=y.dehydrated,g!==null)){if(s)e.flags&256?(we(e),e.flags&=-257,e=Qo(t,e,n)):e.memoizedState!==null?(ha(),e.child=t.child,e.flags|=128,e=null):(ha(),l=a.fallback,g=e.mode,a=Go({mode:"visible",children:a.children},g),l=Di(l,g,n,null),l.flags|=2,a.return=e,l.return=e,a.sibling=l,e.child=a,fa(e,t.child,null,n),a=e.child,a.memoizedState=Yo(n),a.childLanes=ko(t,d,n),e.memoizedState=Bo,e=l);else if(we(e),g.data==="$!"){if(d=g.nextSibling&&g.nextSibling.dataset,d)var A=d.dgst;d=A,a=Error(o(419)),a.stack="",a.digest=d,mi({value:a,source:null,stack:null}),e=Qo(t,e,n)}else if(ge||qu(t,e,n,!1),d=(n&t.childLanes)!==0,ge||d){if(d=Gt,d!==null){if(a=n&-n,a&42)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&(d.suspendedLanes|n)?0:a,a!==0&&a!==y.retryLane)throw y.retryLane=a,qn(t,a),Qe(d,t,a),ch}g.data==="$?"||bf(),e=Qo(t,e,n)}else g.data==="$?"?(e.flags|=128,e.child=t.child,e=$p.bind(null,t),g._reactRetry=e,e=null):(t=y.treeContext,ce=Zn(g.nextSibling),Se=e,_t=!0,Xe=null,En=!1,t!==null&&(_e[Ye++]=ke,_e[Ye++]=un,_e[Ye++]=oa,ke=t.id,un=t.overflow,oa=e),e=Xo(e,a.children),e.flags|=4096);return e}return l?(ha(),l=a.fallback,g=e.mode,y=t.child,A=y.sibling,a=Nl(y,{mode:"hidden",children:a.children}),a.subtreeFlags=y.subtreeFlags&31457280,A!==null?l=Nl(A,l):(l=Di(l,g,n,null),l.flags|=2),l.return=e,a.return=e,a.sibling=l,e.child=a,a=l,l=e.child,g=t.child.memoizedState,g===null?g=Yo(n):(y=g.cachePool,y!==null?(A=ie._currentValue,y=y.parent!==A?{parent:A,pool:A}:y):y=j(),g={baseLanes:g.baseLanes|n,cachePool:y}),l.memoizedState=g,l.childLanes=ko(t,d,n),e.memoizedState=Bo,a):(we(e),n=t.child,t=n.sibling,n=Nl(n,{mode:"visible",children:a.children}),n.return=e,n.sibling=null,t!==null&&(d=e.deletions,d===null?(e.deletions=[t],e.flags|=16):d.push(t)),e.child=n,e.memoizedState=null,n)}function Xo(t,e){return e=Go({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function Go(t,e){return Qh(t,e,0,null)}function Qo(t,e,n){return fa(e,t.child,null,n),t=Xo(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function bh(t,e,n){t.lanes|=e;var a=t.alternate;a!==null&&(a.lanes|=e),$o(t.return,e,n)}function Vo(t,e,n,a,l){var s=t.memoizedState;s===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:a,tail:n,tailMode:l}:(s.isBackwards=e,s.rendering=null,s.renderingStartTime=0,s.last=a,s.tail=n,s.tailMode=l)}function _h(t,e,n){var a=e.pendingProps,l=a.revealOrder,s=a.tail;if(Te(t,e,a.children,n),a=le.current,a&2)a=a&1|2,e.flags|=128;else{if(t!==null&&t.flags&128)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&bh(t,n,e);else if(t.tag===19)bh(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(le,a),l){case"forwards":for(n=e.child,l=null;n!==null;)t=n.alternate,t!==null&&ps(t)===null&&(l=n),n=n.sibling;n=l,n===null?(l=e.child,e.child=null):(l=n.sibling,n.sibling=null),Vo(e,!1,l,n,s);break;case"backwards":for(n=null,l=e.child,e.child=null;l!==null;){if(t=l.alternate,t!==null&&ps(t)===null){e.child=l;break}t=l.sibling,l.sibling=n,n=l,l=t}Vo(e,!0,n,null,s);break;case"together":Vo(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function Ba(t,e,n){if(t!==null&&(e.dependencies=t.dependencies),Rl|=e.lanes,!(n&e.childLanes))if(t!==null){if(qu(t,e,n,!1),(n&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(o(153));if(e.child!==null){for(t=e.child,n=Nl(t,t.pendingProps),e.child=n,n.return=e;t.sibling!==null;)t=t.sibling,n=n.sibling=Nl(t,t.pendingProps),n.return=e;n.sibling=null}return e.child}function Zo(t,e){return t.lanes&e?!0:(t=t.dependencies,!!(t!==null&&fc(t)))}function jp(t,e,n){switch(e.tag){case 3:ta(e,e.stateNode.containerInfo),Ol(e,ie,t.memoizedState.cache),hi();break;case 27:case 5:ks(e);break;case 4:ta(e,e.stateNode.containerInfo);break;case 10:Ol(e,e.type,e.memoizedProps.value);break;case 13:var a=e.memoizedState;if(a!==null)return a.dehydrated!==null?(we(e),e.flags|=128,null):n&e.child.childLanes?yh(t,e,n):(we(e),t=Ba(t,e,n),t!==null?t.sibling:null);we(e);break;case 19:var l=(t.flags&128)!==0;if(a=(n&e.childLanes)!==0,a||(qu(t,e,n,!1),a=(n&e.childLanes)!==0),l){if(a)return _h(t,e,n);e.flags|=128}if(l=e.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),qt(le,le.current),a)break;return null;case 22:case 23:return e.lanes=0,hh(t,e,n);case 24:Ol(e,ie,t.memoizedState.cache)}return Ba(t,e,n)}function Sh(t,e,n){if(t!==null)if(t.memoizedProps!==e.pendingProps)ge=!0;else{if(!Zo(t,n)&&!(e.flags&128))return ge=!1,jp(t,e,n);ge=!!(t.flags&131072)}else ge=!1,_t&&e.flags&1048576&&Pr(e,pl,e.index);switch(e.lanes=0,e.tag){case 16:t:{t=e.pendingProps;var a=e.elementType,l=a._init;if(a=l(a._payload),e.type=a,typeof a=="function")uf(a)?(t=Ti(a,t),e.tag=1,e=ph(null,e,a,t,n)):(e.tag=0,e=qo(null,e,a,t,n));else{if(a!=null){if(l=a.$$typeof,l===ct){e.tag=11,e=oh(null,e,a,t,n);break t}else if(l===ot){e.tag=14,e=fh(null,e,a,t,n);break t}}throw e=hn(a)||a,Error(o(306,e,""))}}return e;case 0:return qo(t,e,e.type,e.pendingProps,n);case 1:return a=e.type,l=Ti(a,e.pendingProps),ph(t,e,a,l,n);case 3:t:{if(ta(e,e.stateNode.containerInfo),t===null)throw Error(o(387));var s=e.pendingProps;l=e.memoizedState,a=l.element,Wo(t,e),ku(e,s,null,n);var d=e.memoizedState;if(s=d.cache,Ol(e,ie,s),s!==l.cache&&Jo(e,[ie],n,!0),Yu(),s=d.element,l.isDehydrated)if(l={element:s,isDehydrated:!1,cache:d.cache},e.updateQueue.baseState=l,e.memoizedState=l,e.flags&256){e=vh(t,e,s,n);break t}else if(s!==a){a=We(Error(o(424)),e),mi(a),e=vh(t,e,s,n);break t}else for(ce=Zn(e.stateNode.containerInfo.firstChild),Se=e,_t=!0,Xe=null,En=!0,n=da(e,null,s,n),e.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(hi(),s===a){e=Ba(t,e,n);break t}Te(t,e,s,n)}e=e.child}return e;case 26:return Hu(t,e),t===null?(n=Tm(e.type,null,e.pendingProps,null))?e.memoizedState=n:_t||(n=e.type,t=e.pendingProps,a=Cc(Ve.current).createElement(n),a[se]=e,a[xe]=t,Oe(a,n,t),Ft(a),e.stateNode=a):e.memoizedState=Tm(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return ks(e),t===null&&_t&&(a=e.stateNode=Sm(e.type,e.pendingProps,Ve.current),Se=e,En=!0,ce=Zn(a.firstChild)),a=e.pendingProps.children,t!==null||_t?Te(t,e,a,n):e.child=fa(e,null,a,n),Hu(t,e),e.child;case 5:return t===null&&_t&&((l=a=ce)&&(a=o0(a,e.type,e.pendingProps,En),a!==null?(e.stateNode=a,Se=e,ce=Zn(a.firstChild),En=!1,l=!0):l=!1),l||La(e)),ks(e),l=e.type,s=e.pendingProps,d=t!==null?t.memoizedProps:null,a=s.children,Rf(l,s)?a=null:d!==null&&Rf(l,d)&&(e.flags|=32),e.memoizedState!==null&&(l=gt(t,e,jt,null,null,n),nr._currentValue=l),Hu(t,e),Te(t,e,a,n),e.child;case 6:return t===null&&_t&&((t=n=ce)&&(n=f0(n,e.pendingProps,En),n!==null?(e.stateNode=n,Se=e,ce=null,t=!0):t=!1),t||La(e)),null;case 13:return yh(t,e,n);case 4:return ta(e,e.stateNode.containerInfo),a=e.pendingProps,t===null?e.child=fa(e,null,a,n):Te(t,e,a,n),e.child;case 11:return oh(t,e,e.type,e.pendingProps,n);case 7:return Te(t,e,e.pendingProps,n),e.child;case 8:return Te(t,e,e.pendingProps.children,n),e.child;case 12:return Te(t,e,e.pendingProps.children,n),e.child;case 10:return a=e.pendingProps,Ol(e,e.type,a.value),Te(t,e,a.children,n),e.child;case 9:return l=e.type._context,a=e.pendingProps.children,xi(e),l=ze(l),a=a(l),e.flags|=1,Te(t,e,a,n),e.child;case 14:return fh(t,e,e.type,e.pendingProps,n);case 15:return dh(t,e,e.type,e.pendingProps,n);case 19:return _h(t,e,n);case 22:return hh(t,e,n);case 24:return xi(e),a=ze(ie),t===null?(l=E(),l===null&&(l=Gt,s=vs(),l.pooledCache=s,s.refCount++,s!==null&&(l.pooledCacheLanes|=n),l=s),e.memoizedState={parent:a,cache:l},Fo(e),Ol(e,ie,l)):(t.lanes&n&&(Wo(t,e),ku(e,null,null,n),Yu()),l=t.memoizedState,s=e.memoizedState,l.parent!==a?(l={parent:a,cache:a},e.memoizedState=l,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=l),Ol(e,ie,a)):(a=s.cache,Ol(e,ie,a),a!==l.cache&&Jo(e,[ie],n,!0))),Te(t,e,e.pendingProps.children,n),e.child;case 29:throw e.pendingProps}throw Error(o(156,e.tag))}var Ko=$(null),Oi=null,Ya=null;function Ol(t,e,n){qt(Ko,e._currentValue),e._currentValue=n}function ka(t){t._currentValue=Ko.current,Kt(Ko)}function $o(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 Jo(t,e,n,a){var l=t.child;for(l!==null&&(l.return=t);l!==null;){var s=l.dependencies;if(s!==null){var d=l.child;s=s.firstContext;t:for(;s!==null;){var g=s;s=l;for(var y=0;y<e.length;y++)if(g.context===e[y]){s.lanes|=n,g=s.alternate,g!==null&&(g.lanes|=n),$o(s.return,n,t),a||(d=null);break t}s=g.next}}else if(l.tag===18){if(d=l.return,d===null)throw Error(o(341));d.lanes|=n,s=d.alternate,s!==null&&(s.lanes|=n),$o(d,n,t),d=null}else d=l.child;if(d!==null)d.return=l;else for(d=l;d!==null;){if(d===t){d=null;break}if(l=d.sibling,l!==null){l.return=d.return,d=l;break}d=d.return}l=d}}function qu(t,e,n,a){t=null;for(var l=e,s=!1;l!==null;){if(!s){if(l.flags&524288)s=!0;else if(l.flags&262144)break}if(l.tag===10){var d=l.alternate;if(d===null)throw Error(o(387));if(d=d.memoizedProps,d!==null){var g=l.type;kt(l.pendingProps.value,d.value)||(t!==null?t.push(g):t=[g])}}else if(l===Zl.current){if(d=l.alternate,d===null)throw Error(o(387));d.memoizedState.memoizedState!==l.memoizedState.memoizedState&&(t!==null?t.push(nr):t=[nr])}l=l.return}t!==null&&Jo(e,t,n,a),e.flags|=262144}function fc(t){for(t=t.firstContext;t!==null;){if(!kt(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function xi(t){Oi=t,Ya=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function ze(t){return Ah(Oi,t)}function dc(t,e){return Oi===null&&xi(t),Ah(t,e)}function Ah(t,e){var n=e._currentValue;if(e={context:e,memoizedValue:n,next:null},Ya===null){if(t===null)throw Error(o(308));Ya=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else Ya=Ya.next=e;return n}var xl=!1;function Fo(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Wo(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 Cl(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function Dl(t,e,n){var a=t.updateQueue;if(a===null)return null;if(a=a.shared,Jt&2){var l=a.pending;return l===null?e.next=e:(e.next=l.next,l.next=e),a.pending=e,e=us(t),Fr(t,null,n),e}return ss(t,a,e,n),us(t)}function Bu(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,br(t,n)}}function Po(t,e){var n=t.updateQueue,a=t.alternate;if(a!==null&&(a=a.updateQueue,n===a)){var l=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var d={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};s===null?l=s=d:s=s.next=d,n=n.next}while(n!==null);s===null?l=s=e:s=s.next=e}else l=s=e;n={baseState:a.baseState,firstBaseUpdate:l,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 Io=!1;function Yu(){if(Io){var t=On;if(t!==null)throw t}}function ku(t,e,n,a){Io=!1;var l=t.updateQueue;xl=!1;var s=l.firstBaseUpdate,d=l.lastBaseUpdate,g=l.shared.pending;if(g!==null){l.shared.pending=null;var y=g,A=y.next;y.next=null,d===null?s=A:d.next=A,d=y;var z=t.alternate;z!==null&&(z=z.updateQueue,g=z.lastBaseUpdate,g!==d&&(g===null?z.firstBaseUpdate=A:g.next=A,z.lastBaseUpdate=y))}if(s!==null){var H=l.baseState;d=0,z=A=y=null,g=s;do{var C=g.lane&-536870913,M=C!==g.lane;if(M?(Dt&C)===C:(a&C)===C){C!==0&&C===Al&&(Io=!0),z!==null&&(z=z.next={lane:0,tag:g.tag,payload:g.payload,callback:null,next:null});t:{var P=t,pt=g;C=e;var te=n;switch(pt.tag){case 1:if(P=pt.payload,typeof P=="function"){H=P.call(te,H,C);break t}H=P;break t;case 3:P.flags=P.flags&-65537|128;case 0:if(P=pt.payload,C=typeof P=="function"?P.call(te,H,C):P,C==null)break t;H=wt({},H,C);break t;case 2:xl=!0}}C=g.callback,C!==null&&(t.flags|=64,M&&(t.flags|=8192),M=l.callbacks,M===null?l.callbacks=[C]:M.push(C))}else M={lane:C,tag:g.tag,payload:g.payload,callback:g.callback,next:null},z===null?(A=z=M,y=H):z=z.next=M,d|=C;if(g=g.next,g===null){if(g=l.shared.pending,g===null)break;M=g,g=M.next,M.next=null,l.lastBaseUpdate=M,l.shared.pending=null}}while(!0);z===null&&(y=H),l.baseState=y,l.firstBaseUpdate=A,l.lastBaseUpdate=z,s===null&&(l.shared.lanes=0),Rl|=d,t.lanes=d,t.memoizedState=H}}function Eh(t,e){if(typeof t!="function")throw Error(o(191,t));t.call(e)}function Th(t,e){var n=t.callbacks;if(n!==null)for(t.callbacks=null,t=0;t<n.length;t++)Eh(n[t],e)}function Xu(t,e){try{var n=e.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var l=a.next;n=l;do{if((n.tag&t)===t){a=void 0;var s=n.create,d=n.inst;a=s(),d.destroy=a}n=n.next}while(n!==l)}}catch(g){Yt(e,e.return,g)}}function Ml(t,e,n){try{var a=e.updateQueue,l=a!==null?a.lastEffect:null;if(l!==null){var s=l.next;a=s;do{if((a.tag&t)===t){var d=a.inst,g=d.destroy;if(g!==void 0){d.destroy=void 0,l=e;var y=n;try{g()}catch(A){Yt(l,y,A)}}}a=a.next}while(a!==s)}}catch(A){Yt(e,e.return,A)}}function Oh(t){var e=t.updateQueue;if(e!==null){var n=t.stateNode;try{Th(e,n)}catch(a){Yt(t,t.return,a)}}}function xh(t,e,n){n.props=Ti(t.type,t.memoizedProps),n.state=t.memoizedState;try{n.componentWillUnmount()}catch(a){Yt(t,e,a)}}function Ci(t,e){try{var n=t.ref;if(n!==null){var a=t.stateNode;switch(t.tag){case 26:case 27:case 5:var l=a;break;default:l=a}typeof n=="function"?t.refCleanup=n(l):n.current=l}}catch(s){Yt(t,e,s)}}function rn(t,e){var n=t.ref,a=t.refCleanup;if(n!==null)if(typeof a=="function")try{a()}catch(l){Yt(t,e,l)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(l){Yt(t,e,l)}else n.current=null}function Ch(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(l){Yt(t,t.return,l)}}function Dh(t,e,n){try{var a=t.stateNode;i0(a,t.type,n,e),a[xe]=e}catch(l){Yt(t,t.return,l)}}function Mh(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27||t.tag===4}function tf(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||Mh(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 ef(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=xc));else if(a!==4&&a!==27&&(t=t.child,t!==null))for(ef(t,e,n),t=t.sibling;t!==null;)ef(t,e,n),t=t.sibling}function hc(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(hc(t,e,n),t=t.sibling;t!==null;)hc(t,e,n),t=t.sibling}var Xa=!1,Pt=!1,nf=!1,wh=typeof WeakSet=="function"?WeakSet:Set,pe=null,zh=!1;function Lp(t,e){if(t=t.containerInfo,zf=Rc,t=Qr(t),vu(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 l=a.anchorOffset,s=a.focusNode;a=a.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break t}var d=0,g=-1,y=-1,A=0,z=0,H=t,C=null;e:for(;;){for(var M;H!==n||l!==0&&H.nodeType!==3||(g=d+l),H!==s||a!==0&&H.nodeType!==3||(y=d+a),H.nodeType===3&&(d+=H.nodeValue.length),(M=H.firstChild)!==null;)C=H,H=M;for(;;){if(H===t)break e;if(C===n&&++A===l&&(g=d),C===s&&++z===a&&(y=d),(M=H.nextSibling)!==null)break;H=C,C=H.parentNode}H=M}n=g===-1||y===-1?null:{start:g,end:y}}else n=null}n=n||{start:0,end:0}}else n=null;for(Nf={focusedElem:t,selectionRange:n},Rc=!1,pe=e;pe!==null;)if(e=pe,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,pe=t;else for(;pe!==null;){switch(e=pe,s=e.alternate,t=e.flags,e.tag){case 0:break;case 11:case 15:break;case 1:if(t&1024&&s!==null){t=void 0,n=e,l=s.memoizedProps,s=s.memoizedState,a=n.stateNode;try{var P=Ti(n.type,l,n.elementType===n.type);t=a.getSnapshotBeforeUpdate(P,s),a.__reactInternalSnapshotBeforeUpdate=t}catch(pt){Yt(n,n.return,pt)}}break;case 3:if(t&1024){if(t=e.stateNode.containerInfo,n=t.nodeType,n===9)Uf(t);else if(n===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Uf(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(t&1024)throw Error(o(163))}if(t=e.sibling,t!==null){t.return=e.return,pe=t;break}pe=e.return}return P=zh,zh=!1,P}function Nh(t,e,n){var a=n.flags;switch(n.tag){case 0:case 11:case 15:Qa(t,n),a&4&&Xu(5,n);break;case 1:if(Qa(t,n),a&4)if(t=n.stateNode,e===null)try{t.componentDidMount()}catch(g){Yt(n,n.return,g)}else{var l=Ti(n.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(l,e,t.__reactInternalSnapshotBeforeUpdate)}catch(g){Yt(n,n.return,g)}}a&64&&Oh(n),a&512&&Ci(n,n.return);break;case 3:if(Qa(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{Th(a,t)}catch(g){Yt(n,n.return,g)}}break;case 26:Qa(t,n),a&512&&Ci(n,n.return);break;case 27:case 5:Qa(t,n),e===null&&a&4&&Ch(n),a&512&&Ci(n,n.return);break;case 12:Qa(t,n);break;case 13:Qa(t,n),a&4&&Lh(t,n);break;case 22:if(l=n.memoizedState!==null||Xa,!l){e=e!==null&&e.memoizedState!==null||Pt;var s=Xa,d=Pt;Xa=l,(Pt=e)&&!d?wl(t,n,(n.subtreeFlags&8772)!==0):Qa(t,n),Xa=s,Pt=d}a&512&&(n.memoizedProps.mode==="manual"?Ci(n,n.return):rn(n,n.return));break;default:Qa(t,n)}}function Rh(t){var e=t.alternate;e!==null&&(t.alternate=null,Rh(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&ll(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 re=null,cn=!1;function Ga(t,e,n){for(n=n.child;n!==null;)jh(t,e,n),n=n.sibling}function jh(t,e,n){if(Ue&&typeof Ue.onCommitFiberUnmount=="function")try{Ue.onCommitFiberUnmount($l,n)}catch{}switch(n.tag){case 26:Pt||rn(n,e),Ga(t,e,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:Pt||rn(n,e);var a=re,l=cn;for(re=n.stateNode,Ga(t,e,n),n=n.stateNode,e=n.attributes;e.length;)n.removeAttributeNode(e[0]);ll(n),re=a,cn=l;break;case 5:Pt||rn(n,e);case 6:l=re;var s=cn;if(re=null,Ga(t,e,n),re=l,cn=s,re!==null)if(cn)try{t=re,a=n.stateNode,t.nodeType===8?t.parentNode.removeChild(a):t.removeChild(a)}catch(d){Yt(n,e,d)}else try{re.removeChild(n.stateNode)}catch(d){Yt(n,e,d)}break;case 18:re!==null&&(cn?(e=re,n=n.stateNode,e.nodeType===8?Lf(e.parentNode,n):e.nodeType===1&&Lf(e,n),sr(e)):Lf(re,n.stateNode));break;case 4:a=re,l=cn,re=n.stateNode.containerInfo,cn=!0,Ga(t,e,n),re=a,cn=l;break;case 0:case 11:case 14:case 15:Pt||Ml(2,n,e),Pt||Ml(4,n,e),Ga(t,e,n);break;case 1:Pt||(rn(n,e),a=n.stateNode,typeof a.componentWillUnmount=="function"&&xh(n,e,a)),Ga(t,e,n);break;case 21:Ga(t,e,n);break;case 22:Pt||rn(n,e),Pt=(a=Pt)||n.memoizedState!==null,Ga(t,e,n),Pt=a;break;default:Ga(t,e,n)}}function Lh(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{sr(t)}catch(n){Yt(e,e.return,n)}}function Up(t){switch(t.tag){case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new wh),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new wh),e;default:throw Error(o(435,t.tag))}}function af(t,e){var n=Up(t);e.forEach(function(a){var l=Jp.bind(null,t,a);n.has(a)||(n.add(a),a.then(l,l))})}function xn(t,e){var n=e.deletions;if(n!==null)for(var a=0;a<n.length;a++){var l=n[a],s=t,d=e,g=d;t:for(;g!==null;){switch(g.tag){case 27:case 5:re=g.stateNode,cn=!1;break t;case 3:re=g.stateNode.containerInfo,cn=!0;break t;case 4:re=g.stateNode.containerInfo,cn=!0;break t}g=g.return}if(re===null)throw Error(o(160));jh(s,d,l),re=null,cn=!1,s=l.alternate,s!==null&&(s.return=null),l.return=null}if(e.subtreeFlags&13878)for(e=e.child;e!==null;)Uh(e,t),e=e.sibling}var Vn=null;function Uh(t,e){var n=t.alternate,a=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:xn(e,t),Cn(t),a&4&&(Ml(3,t,t.return),Xu(3,t),Ml(5,t,t.return));break;case 1:xn(e,t),Cn(t),a&512&&(Pt||n===null||rn(n,n.return)),a&64&&Xa&&(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 l=Vn;if(xn(e,t),Cn(t),a&512&&(Pt||n===null||rn(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,l=l.ownerDocument||l;e:switch(a){case"title":s=l.getElementsByTagName("title")[0],(!s||s[ae]||s[se]||s.namespaceURI==="http://www.w3.org/2000/svg"||s.hasAttribute("itemprop"))&&(s=l.createElement(a),l.head.insertBefore(s,l.querySelector("head > title"))),Oe(s,a,n),s[se]=t,Ft(s),a=s;break t;case"link":var d=Cm("link","href",l).get(a+(n.href||""));if(d){for(var g=0;g<d.length;g++)if(s=d[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)){d.splice(g,1);break e}}s=l.createElement(a),Oe(s,a,n),l.head.appendChild(s);break;case"meta":if(d=Cm("meta","content",l).get(a+(n.content||""))){for(g=0;g<d.length;g++)if(s=d[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)){d.splice(g,1);break e}}s=l.createElement(a),Oe(s,a,n),l.head.appendChild(s);break;default:throw Error(o(468,a))}s[se]=t,Ft(s),a=s}t.stateNode=a}else Dm(l,t.type,t.stateNode);else t.stateNode=xm(l,a,t.memoizedProps);else s!==a?(s===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):s.count--,a===null?Dm(l,t.type,t.stateNode):xm(l,a,t.memoizedProps)):a===null&&t.stateNode!==null&&Dh(t,t.memoizedProps,n.memoizedProps)}break;case 27:if(a&4&&t.alternate===null){l=t.stateNode,s=t.memoizedProps;try{for(var y=l.firstChild;y;){var A=y.nextSibling,z=y.nodeName;y[ae]||z==="HEAD"||z==="BODY"||z==="SCRIPT"||z==="STYLE"||z==="LINK"&&y.rel.toLowerCase()==="stylesheet"||l.removeChild(y),y=A}for(var H=t.type,C=l.attributes;C.length;)l.removeAttributeNode(C[0]);Oe(l,H,s),l[se]=t,l[xe]=s}catch(P){Yt(t,t.return,P)}}case 5:if(xn(e,t),Cn(t),a&512&&(Pt||n===null||rn(n,n.return)),t.flags&32){l=t.stateNode;try{nn(l,"")}catch(P){Yt(t,t.return,P)}}a&4&&t.stateNode!=null&&(l=t.memoizedProps,Dh(t,l,n!==null?n.memoizedProps:l)),a&1024&&(nf=!0);break;case 6:if(xn(e,t),Cn(t),a&4){if(t.stateNode===null)throw Error(o(162));a=t.memoizedProps,n=t.stateNode;try{n.nodeValue=a}catch(P){Yt(t,t.return,P)}}break;case 3:if(wc=null,l=Vn,Vn=Dc(e.containerInfo),xn(e,t),Vn=l,Cn(t),a&4&&n!==null&&n.memoizedState.isDehydrated)try{sr(e.containerInfo)}catch(P){Yt(t,t.return,P)}nf&&(nf=!1,Hh(t));break;case 4:a=Vn,Vn=Dc(t.stateNode.containerInfo),xn(e,t),Cn(t),Vn=a;break;case 12:xn(e,t),Cn(t);break;case 13:xn(e,t),Cn(t),t.child.flags&8192&&t.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(hf=Le()),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,af(t,a)));break;case 22:if(a&512&&(Pt||n===null||rn(n,n.return)),y=t.memoizedState!==null,A=n!==null&&n.memoizedState!==null,z=Xa,H=Pt,Xa=z||y,Pt=H||A,xn(e,t),Pt=H,Xa=z,Cn(t),e=t.stateNode,e._current=t,e._visibility&=-3,e._visibility|=e._pendingVisibility&2,a&8192&&(e._visibility=y?e._visibility&-2:e._visibility|1,y&&(e=Xa||Pt,n===null||A||e||Es(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){A=n=e;try{if(l=A.stateNode,y)s=l.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none";else{d=A.stateNode,g=A.memoizedProps.style;var M=g!=null&&g.hasOwnProperty("display")?g.display:null;d.style.display=M==null||typeof M=="boolean"?"":(""+M).trim()}}catch(P){Yt(A,A.return,P)}}}else if(e.tag===6){if(n===null){A=e;try{A.stateNode.nodeValue=y?"":A.memoizedProps}catch(P){Yt(A,A.return,P)}}}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,af(t,n))));break;case 19:xn(e,t),Cn(t),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,af(t,a)));break;case 21:break;default:xn(e,t),Cn(t)}}function Cn(t){var e=t.flags;if(e&2){try{if(t.tag!==27){t:{for(var n=t.return;n!==null;){if(Mh(n)){var a=n;break t}n=n.return}throw Error(o(160))}switch(a.tag){case 27:var l=a.stateNode,s=tf(t);hc(t,s,l);break;case 5:var d=a.stateNode;a.flags&32&&(nn(d,""),a.flags&=-33);var g=tf(t);hc(t,g,d);break;case 3:case 4:var y=a.stateNode.containerInfo,A=tf(t);ef(t,A,y);break;default:throw Error(o(161))}}}catch(z){Yt(t,t.return,z)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function Hh(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;Hh(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function Qa(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)Nh(t,e.alternate,e),e=e.sibling}function Es(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:Ml(4,e,e.return),Es(e);break;case 1:rn(e,e.return);var n=e.stateNode;typeof n.componentWillUnmount=="function"&&xh(e,e.return,n),Es(e);break;case 26:case 27:case 5:rn(e,e.return),Es(e);break;case 22:rn(e,e.return),e.memoizedState===null&&Es(e);break;default:Es(e)}t=t.sibling}}function wl(t,e,n){for(n=n&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var a=e.alternate,l=t,s=e,d=s.flags;switch(s.tag){case 0:case 11:case 15:wl(l,s,n),Xu(4,s);break;case 1:if(wl(l,s,n),a=s,l=a.stateNode,typeof l.componentDidMount=="function")try{l.componentDidMount()}catch(A){Yt(a,a.return,A)}if(a=s,l=a.updateQueue,l!==null){var g=a.stateNode;try{var y=l.shared.hiddenCallbacks;if(y!==null)for(l.shared.hiddenCallbacks=null,l=0;l<y.length;l++)Eh(y[l],g)}catch(A){Yt(a,a.return,A)}}n&&d&64&&Oh(s),Ci(s,s.return);break;case 26:case 27:case 5:wl(l,s,n),n&&a===null&&d&4&&Ch(s),Ci(s,s.return);break;case 12:wl(l,s,n);break;case 13:wl(l,s,n),n&&d&4&&Lh(l,s);break;case 22:s.memoizedState===null&&wl(l,s,n),Ci(s,s.return);break;default:wl(l,s,n)}e=e.sibling}}function lf(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&&ma(n))}function sf(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&ma(t))}function zl(t,e,n,a){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)qh(t,e,n,a),e=e.sibling}function qh(t,e,n,a){var l=e.flags;switch(e.tag){case 0:case 11:case 15:zl(t,e,n,a),l&2048&&Xu(9,e);break;case 3:zl(t,e,n,a),l&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&ma(t)));break;case 12:if(l&2048){zl(t,e,n,a),t=e.stateNode;try{var s=e.memoizedProps,d=s.id,g=s.onPostCommit;typeof g=="function"&&g(d,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(y){Yt(e,e.return,y)}}else zl(t,e,n,a);break;case 23:break;case 22:s=e.stateNode,e.memoizedState!==null?s._visibility&4?zl(t,e,n,a):Gu(t,e):s._visibility&4?zl(t,e,n,a):(s._visibility|=4,Ts(t,e,n,a,(e.subtreeFlags&10256)!==0)),l&2048&&lf(e.alternate,e);break;case 24:zl(t,e,n,a),l&2048&&sf(e.alternate,e);break;default:zl(t,e,n,a)}}function Ts(t,e,n,a,l){for(l=l&&(e.subtreeFlags&10256)!==0,e=e.child;e!==null;){var s=t,d=e,g=n,y=a,A=d.flags;switch(d.tag){case 0:case 11:case 15:Ts(s,d,g,y,l),Xu(8,d);break;case 23:break;case 22:var z=d.stateNode;d.memoizedState!==null?z._visibility&4?Ts(s,d,g,y,l):Gu(s,d):(z._visibility|=4,Ts(s,d,g,y,l)),l&&A&2048&&lf(d.alternate,d);break;case 24:Ts(s,d,g,y,l),l&&A&2048&&sf(d.alternate,d);break;default:Ts(s,d,g,y,l)}e=e.sibling}}function Gu(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var n=t,a=e,l=a.flags;switch(a.tag){case 22:Gu(n,a),l&2048&&lf(a.alternate,a);break;case 24:Gu(n,a),l&2048&&sf(a.alternate,a);break;default:Gu(n,a)}e=e.sibling}}var Qu=8192;function Os(t){if(t.subtreeFlags&Qu)for(t=t.child;t!==null;)Bh(t),t=t.sibling}function Bh(t){switch(t.tag){case 26:Os(t),t.flags&Qu&&t.memoizedState!==null&&T0(Vn,t.memoizedState,t.memoizedProps);break;case 5:Os(t);break;case 3:case 4:var e=Vn;Vn=Dc(t.stateNode.containerInfo),Os(t),Vn=e;break;case 22:t.memoizedState===null&&(e=t.alternate,e!==null&&e.memoizedState!==null?(e=Qu,Qu=16777216,Os(t),Qu=e):Os(t));break;default:Os(t)}}function Yh(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 Vu(t){var e=t.deletions;if(t.flags&16){if(e!==null)for(var n=0;n<e.length;n++){var a=e[n];pe=a,Xh(a,t)}Yh(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)kh(t),t=t.sibling}function kh(t){switch(t.tag){case 0:case 11:case 15:Vu(t),t.flags&2048&&Ml(9,t,t.return);break;case 3:Vu(t);break;case 12:Vu(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&4&&(t.return===null||t.return.tag!==13)?(e._visibility&=-5,mc(t)):Vu(t);break;default:Vu(t)}}function mc(t){var e=t.deletions;if(t.flags&16){if(e!==null)for(var n=0;n<e.length;n++){var a=e[n];pe=a,Xh(a,t)}Yh(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:Ml(8,e,e.return),mc(e);break;case 22:n=e.stateNode,n._visibility&4&&(n._visibility&=-5,mc(e));break;default:mc(e)}t=t.sibling}}function Xh(t,e){for(;pe!==null;){var n=pe;switch(n.tag){case 0:case 11:case 15:Ml(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:ma(n.memoizedState.cache)}if(a=n.child,a!==null)a.return=n,pe=a;else t:for(n=t;pe!==null;){a=pe;var l=a.sibling,s=a.return;if(Rh(a),a===n){pe=null;break t}if(l!==null){l.return=s,pe=l;break t}pe=s}}}function Hp(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 Dn(t,e,n,a){return new Hp(t,e,n,a)}function uf(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Nl(t,e){var n=t.alternate;return n===null?(n=Dn(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 Gh(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 gc(t,e,n,a,l,s){var d=0;if(a=t,typeof t=="function")uf(t)&&(d=1);else if(typeof t=="string")d=A0(t,n,mn.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case N:return Di(n.children,l,s,e);case U:d=8,l|=24;break;case X:return t=Dn(12,n,e,l|2),t.elementType=X,t.lanes=s,t;case Et:return t=Dn(13,n,e,l),t.elementType=Et,t.lanes=s,t;case rt:return t=Dn(19,n,e,l),t.elementType=rt,t.lanes=s,t;case Ct:return Qh(n,l,s,e);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case Z:case tt:d=10;break t;case Q:d=9;break t;case ct:d=11;break t;case ot:d=14;break t;case it:d=16,a=null;break t}d=29,n=Error(o(130,t===null?"null":typeof t,"")),a=null}return e=Dn(d,n,e,l),e.elementType=t,e.type=a,e.lanes=s,e}function Di(t,e,n,a){return t=Dn(7,t,a,e),t.lanes=n,t}function Qh(t,e,n,a){t=Dn(22,t,a,e),t.elementType=Ct,t.lanes=n;var l={_visibility:1,_pendingVisibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null,_current:null,detach:function(){var s=l._current;if(s===null)throw Error(o(456));if(!(l._pendingVisibility&2)){var d=qn(s,2);d!==null&&(l._pendingVisibility|=2,Qe(d,s,2))}},attach:function(){var s=l._current;if(s===null)throw Error(o(456));if(l._pendingVisibility&2){var d=qn(s,2);d!==null&&(l._pendingVisibility&=-3,Qe(d,s,2))}}};return t.stateNode=l,t}function rf(t,e,n){return t=Dn(6,t,null,e),t.lanes=n,t}function cf(t,e,n){return e=Dn(4,t.children!==null?t.children:[],t.key,e),e.lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function Va(t){t.flags|=4}function Vh(t,e){if(e.type!=="stylesheet"||e.state.loading&4)t.flags&=-16777217;else if(t.flags|=16777216,!Mm(e)){if(e=Me.current,e!==null&&((Dt&4194176)===Dt?Tn!==null:(Dt&62914560)!==Dt&&!(Dt&536870912)||e!==Tn))throw pi=Yn,yl;t.flags|=8192}}function pc(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?nl():536870912,t.lanes|=e,Cs|=e)}function Zu(t,e){if(!_t)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 $t(t){var e=t.alternate!==null&&t.alternate.child===t.child,n=0,a=0;if(e)for(var l=t.child;l!==null;)n|=l.lanes|l.childLanes,a|=l.subtreeFlags&31457280,a|=l.flags&31457280,l.return=t,l=l.sibling;else for(l=t.child;l!==null;)n|=l.lanes|l.childLanes,a|=l.subtreeFlags,a|=l.flags,l.return=t,l=l.sibling;return t.subtreeFlags|=a,t.childLanes=n,e}function qp(t,e,n){var a=e.pendingProps;switch(Bn(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return $t(e),null;case 1:return $t(e),null;case 3:return n=e.stateNode,a=null,t!==null&&(a=t.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),ka(ie),tn(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(t===null||t.child===null)&&(vl(e)?Va(e):t===null||t.memoizedState.isDehydrated&&!(e.flags&256)||(e.flags|=1024,Xe!==null&&(vf(Xe),Xe=null))),$t(e),null;case 26:return n=e.memoizedState,t===null?(Va(e),n!==null?($t(e),Vh(e,n)):($t(e),e.flags&=-16777217)):n?n!==t.memoizedState?(Va(e),$t(e),Vh(e,n)):($t(e),e.flags&=-16777217):(t.memoizedProps!==a&&Va(e),$t(e),e.flags&=-16777217),null;case 27:Ui(e),n=Ve.current;var l=e.type;if(t!==null&&e.stateNode!=null)t.memoizedProps!==a&&Va(e);else{if(!a){if(e.stateNode===null)throw Error(o(166));return $t(e),null}t=mn.current,vl(e)?Ua(e):(t=Sm(l,a,n),e.stateNode=t,Va(e))}return $t(e),null;case 5:if(Ui(e),n=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==a&&Va(e);else{if(!a){if(e.stateNode===null)throw Error(o(166));return $t(e),null}if(t=mn.current,vl(e))Ua(e);else{switch(l=Cc(Ve.current),t){case 1:t=l.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:t=l.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":t=l.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":t=l.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":t=l.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild);break;case"select":t=typeof a.is=="string"?l.createElement("select",{is:a.is}):l.createElement("select"),a.multiple?t.multiple=!0:a.size&&(t.size=a.size);break;default:t=typeof a.is=="string"?l.createElement(n,{is:a.is}):l.createElement(n)}}t[se]=e,t[xe]=a;t:for(l=e.child;l!==null;){if(l.tag===5||l.tag===6)t.appendChild(l.stateNode);else if(l.tag!==4&&l.tag!==27&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===e)break t;for(;l.sibling===null;){if(l.return===null||l.return===e)break t;l=l.return}l.sibling.return=l.return,l=l.sibling}e.stateNode=t;t:switch(Oe(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&&Va(e)}}return $t(e),e.flags&=-16777217,null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==a&&Va(e);else{if(typeof a!="string"&&e.stateNode===null)throw Error(o(166));if(t=Ve.current,vl(e)){if(t=e.stateNode,n=e.memoizedProps,a=null,l=Se,l!==null)switch(l.tag){case 27:case 5:a=l.memoizedProps}t[se]=e,t=!!(t.nodeValue===n||a!==null&&a.suppressHydrationWarning===!0||gm(t.nodeValue,n)),t||La(e)}else t=Cc(t).createTextNode(a),t[se]=e,e.stateNode=t}return $t(e),null;case 13:if(a=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(l=vl(e),a!==null&&a.dehydrated!==null){if(t===null){if(!l)throw Error(o(318));if(l=e.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(o(317));l[se]=e}else hi(),!(e.flags&128)&&(e.memoizedState=null),e.flags|=4;$t(e),l=!1}else Xe!==null&&(vf(Xe),Xe=null),l=!0;if(!l)return e.flags&256?(Xn(e),e):(Xn(e),null)}if(Xn(e),e.flags&128)return e.lanes=n,e;if(n=a!==null,t=t!==null&&t.memoizedState!==null,n){a=e.child,l=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(l=a.alternate.memoizedState.cachePool.pool);var s=null;a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(s=a.memoizedState.cachePool.pool),s!==l&&(a.flags|=2048)}return n!==t&&n&&(e.child.flags|=8192),pc(e,e.updateQueue),$t(e),null;case 4:return tn(),t===null&&Df(e.stateNode.containerInfo),$t(e),null;case 10:return ka(e.type),$t(e),null;case 19:if(Kt(le),l=e.memoizedState,l===null)return $t(e),null;if(a=(e.flags&128)!==0,s=l.rendering,s===null)if(a)Zu(l,!1);else{if(It!==0||t!==null&&t.flags&128)for(t=e.child;t!==null;){if(s=ps(t),s!==null){for(e.flags|=128,Zu(l,!1),t=s.updateQueue,e.updateQueue=t,pc(e,t),e.subtreeFlags=0,t=n,n=e.child;n!==null;)Gh(n,t),n=n.sibling;return qt(le,le.current&1|2),e.child}t=t.sibling}l.tail!==null&&Le()>vc&&(e.flags|=128,a=!0,Zu(l,!1),e.lanes=4194304)}else{if(!a)if(t=ps(s),t!==null){if(e.flags|=128,a=!0,t=t.updateQueue,e.updateQueue=t,pc(e,t),Zu(l,!0),l.tail===null&&l.tailMode==="hidden"&&!s.alternate&&!_t)return $t(e),null}else 2*Le()-l.renderingStartTime>vc&&n!==536870912&&(e.flags|=128,a=!0,Zu(l,!1),e.lanes=4194304);l.isBackwards?(s.sibling=e.child,e.child=s):(t=l.last,t!==null?t.sibling=s:e.child=s,l.last=s)}return l.tail!==null?(e=l.tail,l.rendering=e,l.tail=e.sibling,l.renderingStartTime=Le(),e.sibling=null,t=le.current,qt(le,a?t&1|2:t&1),e):($t(e),null);case 22:case 23:return Xn(e),gs(),a=e.memoizedState!==null,t!==null?t.memoizedState!==null!==a&&(e.flags|=8192):a&&(e.flags|=8192),a?n&536870912&&!(e.flags&128)&&($t(e),e.subtreeFlags&6&&(e.flags|=8192)):$t(e),n=e.updateQueue,n!==null&&pc(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&&Kt(b),null;case 24:return n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),ka(ie),$t(e),null;case 25:return null}throw Error(o(156,e.tag))}function Bp(t,e){switch(Bn(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return ka(ie),tn(),t=e.flags,t&65536&&!(t&128)?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return Ui(e),null;case 13:if(Xn(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(o(340));hi()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return Kt(le),null;case 4:return tn(),null;case 10:return ka(e.type),null;case 22:case 23:return Xn(e),gs(),t!==null&&Kt(b),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return ka(ie),null;case 25:return null;default:return null}}function Zh(t,e){switch(Bn(e),e.tag){case 3:ka(ie),tn();break;case 26:case 27:case 5:Ui(e);break;case 4:tn();break;case 13:Xn(e);break;case 19:Kt(le);break;case 10:ka(e.type);break;case 22:case 23:Xn(e),gs(),t!==null&&Kt(b);break;case 24:ka(ie)}}var Yp={getCacheForType:function(t){var e=ze(ie),n=e.data.get(t);return n===void 0&&(n=t(),e.data.set(t,n)),n}},kp=typeof WeakMap=="function"?WeakMap:Map,Jt=0,Gt=null,St=null,Dt=0,Qt=0,on=null,Za=!1,xs=!1,of=!1,Ka=0,It=0,Rl=0,Mi=0,ff=0,Mn=0,Cs=0,Ku=null,ya=null,df=!1,hf=0,vc=1/0,yc=null,jl=null,bc=!1,wi=null,$u=0,mf=0,gf=null,Ju=0,pf=null;function fn(){if(Jt&2&&Dt!==0)return Dt&-Dt;if(ft.T!==null){var t=Al;return t!==0?t:Tf()}return Oa()}function Kh(){Mn===0&&(Mn=!(Dt&536870912)||_t?Ta():536870912);var t=Me.current;return t!==null&&(t.flags|=32),Mn}function Qe(t,e,n){(t===Gt&&Qt===2||t.cancelPendingCommit!==null)&&(Ds(t,0),$a(t,Dt,Mn,!1)),Pl(t,n),(!(Jt&2)||t!==Gt)&&(t===Gt&&(!(Jt&2)&&(Mi|=n),It===4&&$a(t,Dt,Mn,!1)),ba(t))}function $h(t,e,n){if(Jt&6)throw Error(o(327));var a=!n&&(e&60)===0&&(e&t.expiredLanes)===0||Wl(t,e),l=a?Qp(t,e):_f(t,e,!0),s=a;do{if(l===0){xs&&!a&&$a(t,e,0,!1);break}else if(l===6)$a(t,e,0,!Za);else{if(n=t.current.alternate,s&&!Xp(n)){l=_f(t,e,!1),s=!1;continue}if(l===2){if(s=e,t.errorRecoveryDisabledLanes&s)var d=0;else d=t.pendingLanes&-536870913,d=d!==0?d:d&536870912?536870912:0;if(d!==0){e=d;t:{var g=t;l=Ku;var y=g.current.memoizedState.isDehydrated;if(y&&(Ds(g,d).flags|=256),d=_f(g,d,!1),d!==2){if(of&&!y){g.errorRecoveryDisabledLanes|=s,Mi|=s,l=4;break t}s=ya,ya=l,s!==null&&vf(s)}l=d}if(s=!1,l!==2)continue}}if(l===1){Ds(t,0),$a(t,e,0,!0);break}t:{switch(a=t,l){case 0:case 1:throw Error(o(345));case 4:if((e&4194176)===e){$a(a,e,Mn,!Za);break t}break;case 2:ya=null;break;case 3:case 5:break;default:throw Error(o(329))}if(a.finishedWork=n,a.finishedLanes=e,(e&62914560)===e&&(s=hf+300-Le(),10<s)){if($a(a,e,Mn,!Za),qi(a,0)!==0)break t;a.timeoutHandle=ym(Jh.bind(null,a,n,ya,yc,df,e,Mn,Mi,Cs,Za,2,-0,0),s);break t}Jh(a,n,ya,yc,df,e,Mn,Mi,Cs,Za,0,-0,0)}}break}while(!0);ba(t)}function vf(t){ya===null?ya=t:ya.push.apply(ya,t)}function Jh(t,e,n,a,l,s,d,g,y,A,z,H,C){var M=e.subtreeFlags;if((M&8192||(M&16785408)===16785408)&&(er={stylesheets:null,count:0,unsuspend:E0},Bh(e),e=O0(),e!==null)){t.cancelPendingCommit=e(nm.bind(null,t,n,a,l,d,g,y,1,H,C)),$a(t,s,d,!A);return}nm(t,n,a,l,d,g,y,z,H,C)}function Xp(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 l=n[a],s=l.getSnapshot;l=l.value;try{if(!kt(s(),l))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 $a(t,e,n,a){e&=~ff,e&=~Mi,t.suspendedLanes|=e,t.pingedLanes&=~e,a&&(t.warmLanes|=e),a=t.expirationTimes;for(var l=e;0<l;){var s=31-He(l),d=1<<s;a[s]=-1,l&=~d}n!==0&&yr(t,n,e)}function _c(){return Jt&6?!0:(Fu(0),!1)}function yf(){if(St!==null){if(Qt===0)var t=St.return;else t=St,Ya=Oi=null,Ae(t),bl=null,vi=0,t=St;for(;t!==null;)Zh(t.alternate,t),t=t.return;St=null}}function Ds(t,e){t.finishedWork=null,t.finishedLanes=0;var n=t.timeoutHandle;n!==-1&&(t.timeoutHandle=-1,u0(n)),n=t.cancelPendingCommit,n!==null&&(t.cancelPendingCommit=null,n()),yf(),Gt=t,St=n=Nl(t.current,null),Dt=e,Qt=0,on=null,Za=!1,xs=Wl(t,e),of=!1,Cs=Mn=ff=Mi=Rl=It=0,ya=Ku=null,df=!1,e&8&&(e|=e&32);var a=t.entangledLanes;if(a!==0)for(t=t.entanglements,a&=e;0<a;){var l=31-He(a),s=1<<l;e|=t[l],a&=~s}return Ka=e,is(),n}function Fh(t,e){L=null,ft.H=va,e===gi?(e=ec(),Qt=3):e===yl?(e=ec(),Qt=4):Qt=e===ch?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,on=e,St===null&&(It=1,oc(t,We(e,t.current)))}function Wh(){var t=ft.H;return ft.H=va,t===null?va:t}function Ph(){var t=ft.A;return ft.A=Yp,t}function bf(){It=4,Za||(Dt&4194176)!==Dt&&Me.current!==null||(xs=!0),!(Rl&134217727)&&!(Mi&134217727)||Gt===null||$a(Gt,Dt,Mn,!1)}function _f(t,e,n){var a=Jt;Jt|=2;var l=Wh(),s=Ph();(Gt!==t||Dt!==e)&&(yc=null,Ds(t,e)),e=!1;var d=It;t:do try{if(Qt!==0&&St!==null){var g=St,y=on;switch(Qt){case 8:yf(),d=6;break t;case 3:case 2:case 6:Me.current===null&&(e=!0);var A=Qt;if(Qt=0,on=null,Ms(t,g,y,A),n&&xs){d=0;break t}break;default:A=Qt,Qt=0,on=null,Ms(t,g,y,A)}}Gp(),d=It;break}catch(z){Fh(t,z)}while(!0);return e&&t.shellSuspendCounter++,Ya=Oi=null,Jt=a,ft.H=l,ft.A=s,St===null&&(Gt=null,Dt=0,is()),d}function Gp(){for(;St!==null;)Ih(St)}function Qp(t,e){var n=Jt;Jt|=2;var a=Wh(),l=Ph();Gt!==t||Dt!==e?(yc=null,vc=Le()+500,Ds(t,e)):xs=Wl(t,e);t:do try{if(Qt!==0&&St!==null){e=St;var s=on;e:switch(Qt){case 1:Qt=0,on=null,Ms(t,e,s,1);break;case 2:if(Ir(s)){Qt=0,on=null,tm(e);break}e=function(){Qt===2&&Gt===t&&(Qt=7),ba(t)},s.then(e,e);break t;case 3:Qt=7;break t;case 4:Qt=5;break t;case 7:Ir(s)?(Qt=0,on=null,tm(e)):(Qt=0,on=null,Ms(t,e,s,7));break;case 5:var d=null;switch(St.tag){case 26:d=St.memoizedState;case 5:case 27:var g=St;if(!d||Mm(d)){Qt=0,on=null;var y=g.sibling;if(y!==null)St=y;else{var A=g.return;A!==null?(St=A,Sc(A)):St=null}break e}}Qt=0,on=null,Ms(t,e,s,5);break;case 6:Qt=0,on=null,Ms(t,e,s,6);break;case 8:yf(),It=6;break t;default:throw Error(o(462))}}Vp();break}catch(z){Fh(t,z)}while(!0);return Ya=Oi=null,ft.H=a,ft.A=l,Jt=n,St!==null?0:(Gt=null,Dt=0,is(),It)}function Vp(){for(;St!==null&&!ao();)Ih(St)}function Ih(t){var e=Sh(t.alternate,t,Ka);t.memoizedProps=t.pendingProps,e===null?Sc(t):St=e}function tm(t){var e=t,n=e.alternate;switch(e.tag){case 15:case 0:e=gh(n,e,e.pendingProps,e.type,void 0,Dt);break;case 11:e=gh(n,e,e.pendingProps,e.type.render,e.ref,Dt);break;case 5:Ae(e);default:Zh(n,e),e=St=Gh(e,Ka),e=Sh(n,e,Ka)}t.memoizedProps=t.pendingProps,e===null?Sc(t):St=e}function Ms(t,e,n,a){Ya=Oi=null,Ae(e),bl=null,vi=0;var l=e.return;try{if(Rp(t,l,e,n,Dt)){It=1,oc(t,We(n,t.current)),St=null;return}}catch(s){if(l!==null)throw St=l,s;It=1,oc(t,We(n,t.current)),St=null;return}e.flags&32768?(_t||a===1?t=!0:xs||Dt&536870912?t=!1:(Za=t=!0,(a===2||a===3||a===6)&&(a=Me.current,a!==null&&a.tag===13&&(a.flags|=16384))),em(e,t)):Sc(e)}function Sc(t){var e=t;do{if(e.flags&32768){em(e,Za);return}t=e.return;var n=qp(e.alternate,e,Ka);if(n!==null){St=n;return}if(e=e.sibling,e!==null){St=e;return}St=e=t}while(e!==null);It===0&&(It=5)}function em(t,e){do{var n=Bp(t.alternate,t);if(n!==null){n.flags&=32767,St=n;return}if(n=t.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!e&&(t=t.sibling,t!==null)){St=t;return}St=t=n}while(t!==null);It=6,St=null}function nm(t,e,n,a,l,s,d,g,y,A){var z=ft.T,H=vt.p;try{vt.p=2,ft.T=null,Zp(t,e,n,a,H,l,s,d,g,y,A)}finally{ft.T=z,vt.p=H}}function Zp(t,e,n,a,l,s,d,g){do ws();while(wi!==null);if(Jt&6)throw Error(o(327));var y=t.finishedWork;if(a=t.finishedLanes,y===null)return null;if(t.finishedWork=null,t.finishedLanes=0,y===t.current)throw Error(o(177));t.callbackNode=null,t.callbackPriority=0,t.cancelPendingCommit=null;var A=y.lanes|y.childLanes;if(A|=Au,co(t,a,A,s,d,g),t===Gt&&(St=Gt=null,Dt=0),!(y.subtreeFlags&10256)&&!(y.flags&10256)||bc||(bc=!0,mf=A,gf=n,Fp(Nn,function(){return ws(),null})),n=(y.flags&15990)!==0,y.subtreeFlags&15990||n?(n=ft.T,ft.T=null,s=vt.p,vt.p=2,d=Jt,Jt|=4,Lp(t,y),Uh(y,t),Eo(Nf,t.containerInfo),Rc=!!zf,Nf=zf=null,t.current=y,Nh(t,y.alternate,y),lo(),Jt=d,vt.p=s,ft.T=n):t.current=y,bc?(bc=!1,wi=t,$u=a):am(t,A),A=t.pendingLanes,A===0&&(jl=null),so(y.stateNode),ba(t),e!==null)for(l=t.onRecoverableError,y=0;y<e.length;y++)A=e[y],l(A.value,{componentStack:A.stack});return $u&3&&ws(),A=t.pendingLanes,a&4194218&&A&42?t===pf?Ju++:(Ju=0,pf=t):Ju=0,Fu(0),null}function am(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,ma(e)))}function ws(){if(wi!==null){var t=wi,e=mf;mf=0;var n=Bi($u),a=ft.T,l=vt.p;try{if(vt.p=32>n?32:n,ft.T=null,wi===null)var s=!1;else{n=gf,gf=null;var d=wi,g=$u;if(wi=null,$u=0,Jt&6)throw Error(o(331));var y=Jt;if(Jt|=4,kh(d.current),qh(d,d.current,g,n),Jt=y,Fu(0,!1),Ue&&typeof Ue.onPostCommitFiberRoot=="function")try{Ue.onPostCommitFiberRoot($l,d)}catch{}s=!0}return s}finally{vt.p=l,ft.T=a,am(t,e)}}return!1}function lm(t,e,n){e=We(n,e),e=Ho(t.stateNode,e,2),t=Dl(t,e,2),t!==null&&(Pl(t,2),ba(t))}function Yt(t,e,n){if(t.tag===3)lm(t,t,n);else for(;e!==null;){if(e.tag===3){lm(e,t,n);break}else if(e.tag===1){var a=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(jl===null||!jl.has(a))){t=We(n,t),n=uh(2),a=Dl(e,n,2),a!==null&&(rh(n,a,e,t),Pl(a,2),ba(a));break}}e=e.return}}function Sf(t,e,n){var a=t.pingCache;if(a===null){a=t.pingCache=new kp;var l=new Set;a.set(e,l)}else l=a.get(e),l===void 0&&(l=new Set,a.set(e,l));l.has(n)||(of=!0,l.add(n),t=Kp.bind(null,t,e,n),e.then(t,t))}function Kp(t,e,n){var a=t.pingCache;a!==null&&a.delete(e),t.pingedLanes|=t.suspendedLanes&n,t.warmLanes&=~n,Gt===t&&(Dt&n)===n&&(It===4||It===3&&(Dt&62914560)===Dt&&300>Le()-hf?!(Jt&2)&&Ds(t,0):ff|=n,Cs===Dt&&(Cs=0)),ba(t)}function im(t,e){e===0&&(e=nl()),t=qn(t,e),t!==null&&(Pl(t,e),ba(t))}function $p(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),im(t,n)}function Jp(t,e){var n=0;switch(t.tag){case 13:var a=t.stateNode,l=t.memoizedState;l!==null&&(n=l.retryLane);break;case 19:a=t.stateNode;break;case 22:a=t.stateNode._retryCache;break;default:throw Error(o(314))}a!==null&&a.delete(e),im(t,n)}function Fp(t,e){return Gs(t,e)}var Ac=null,zs=null,Af=!1,Ec=!1,Ef=!1,zi=0;function ba(t){t!==zs&&t.next===null&&(zs===null?Ac=zs=t:zs=zs.next=t),Ec=!0,Af||(Af=!0,Pp(Wp))}function Fu(t,e){if(!Ef&&Ec){Ef=!0;do for(var n=!1,a=Ac;a!==null;){if(t!==0){var l=a.pendingLanes;if(l===0)var s=0;else{var d=a.suspendedLanes,g=a.pingedLanes;s=(1<<31-He(42|t)+1)-1,s&=l&~(d&~g),s=s&201326677?s&201326677|1:s?s|2:0}s!==0&&(n=!0,rm(a,s))}else s=Dt,s=qi(a,a===Gt?s:0),!(s&3)||Wl(a,s)||(n=!0,rm(a,s));a=a.next}while(n);Ef=!1}}function Wp(){Ec=Af=!1;var t=0;zi!==0&&(s0()&&(t=zi),zi=0);for(var e=Le(),n=null,a=Ac;a!==null;){var l=a.next,s=sm(a,e);s===0?(a.next=null,n===null?Ac=l:n.next=l,l===null&&(zs=n)):(n=a,(t!==0||s&3)&&(Ec=!0)),a=l}Fu(t)}function sm(t,e){for(var n=t.suspendedLanes,a=t.pingedLanes,l=t.expirationTimes,s=t.pendingLanes&-62914561;0<s;){var d=31-He(s),g=1<<d,y=l[d];y===-1?(!(g&n)||g&a)&&(l[d]=ro(g,e)):y<=e&&(t.expiredLanes|=g),s&=~g}if(e=Gt,n=Dt,n=qi(t,t===e?n:0),a=t.callbackNode,n===0||t===e&&Qt===2||t.cancelPendingCommit!==null)return a!==null&&a!==null&&Qs(a),t.callbackNode=null,t.callbackPriority=0;if(!(n&3)||Wl(t,n)){if(e=n&-n,e===t.callbackPriority)return e;switch(a!==null&&Qs(a),Bi(n)){case 2:case 8:n=tl;break;case 32:n=Nn;break;case 268435456:n=Kl;break;default:n=Nn}return a=um.bind(null,t),n=Gs(n,a),t.callbackPriority=e,t.callbackNode=n,e}return a!==null&&a!==null&&Qs(a),t.callbackPriority=2,t.callbackNode=null,2}function um(t,e){var n=t.callbackNode;if(ws()&&t.callbackNode!==n)return null;var a=Dt;return a=qi(t,t===Gt?a:0),a===0?null:($h(t,a,e),sm(t,Le()),t.callbackNode!=null&&t.callbackNode===n?um.bind(null,t):null)}function rm(t,e){if(ws())return null;$h(t,e,!0)}function Pp(t){r0(function(){Jt&6?Gs(Vs,t):t()})}function Tf(){return zi===0&&(zi=Ta()),zi}function cm(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:ei(""+t)}function om(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 Ip(t,e,n,a,l){if(e==="submit"&&n&&n.stateNode===l){var s=cm((l[xe]||null).action),d=a.submitter;d&&(e=(e=d[xe]||null)?cm(e.formAction):d.getAttribute("formAction"),e!==null&&(s=e,d=null));var g=new ui("action","action",null,a,l);t.push({event:g,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(zi!==0){var y=d?om(l,d):new FormData(l);No(n,{pending:!0,data:y,method:l.method,action:s},null,y)}}else typeof s=="function"&&(g.preventDefault(),y=d?om(l,d):new FormData(l),No(n,{pending:!0,data:y,method:l.method,action:s},s,y))},currentTarget:l}]})}}for(var Of=0;Of<Su.length;Of++){var xf=Su[Of],t0=xf.toLowerCase(),e0=xf[0].toUpperCase()+xf.slice(1);Je(t0,"on"+e0)}Je(Vr,"onAnimationEnd"),Je(bu,"onAnimationIteration"),Je(_u,"onAnimationStart"),Je("dblclick","onDoubleClick"),Je("focusin","onFocus"),Je("focusout","onBlur"),Je(Zr,"onTransitionRun"),Je(Kr,"onTransitionStart"),Je(Oo,"onTransitionCancel"),Je($r,"onTransitionEnd"),ia("onMouseEnter",["mouseout","mouseover"]),ia("onMouseLeave",["mouseout","mouseover"]),ia("onPointerEnter",["pointerout","pointerover"]),ia("onPointerLeave",["pointerout","pointerover"]),Rn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Rn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Rn("onBeforeInput",["compositionend","keypress","textInput","paste"]),Rn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Rn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Rn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Wu="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(" "),n0=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Wu));function fm(t,e){e=(e&4)!==0;for(var n=0;n<t.length;n++){var a=t[n],l=a.event;a=a.listeners;t:{var s=void 0;if(e)for(var d=a.length-1;0<=d;d--){var g=a[d],y=g.instance,A=g.currentTarget;if(g=g.listener,y!==s&&l.isPropagationStopped())break t;s=g,l.currentTarget=A;try{s(l)}catch(z){cc(z)}l.currentTarget=null,s=y}else for(d=0;d<a.length;d++){if(g=a[d],y=g.instance,A=g.currentTarget,g=g.listener,y!==s&&l.isPropagationStopped())break t;s=g,l.currentTarget=A;try{s(l)}catch(z){cc(z)}l.currentTarget=null,s=y}}}}function xt(t,e){var n=e[la];n===void 0&&(n=e[la]=new Set);var a=t+"__bubble";n.has(a)||(dm(e,t,2,!1),n.add(a))}function Cf(t,e,n){var a=0;e&&(a|=4),dm(n,t,a,e)}var Tc="_reactListening"+Math.random().toString(36).slice(2);function Df(t){if(!t[Tc]){t[Tc]=!0,Ca.forEach(function(n){n!=="selectionchange"&&(n0.has(n)||Cf(n,!1,t),Cf(n,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[Tc]||(e[Tc]=!0,Cf("selectionchange",!1,e))}}function dm(t,e,n,a){switch(Lm(e)){case 2:var l=D0;break;case 8:l=M0;break;default:l=kf}n=l.bind(null,e,n,t),l=void 0,!Qi||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(l=!0),a?l!==void 0?t.addEventListener(e,n,{capture:!0,passive:l}):t.addEventListener(e,n,!0):l!==void 0?t.addEventListener(e,n,{passive:l}):t.addEventListener(e,n,!1)}function Mf(t,e,n,a,l){var s=a;if(!(e&1)&&!(e&2)&&a!==null)t:for(;;){if(a===null)return;var d=a.tag;if(d===3||d===4){var g=a.stateNode.containerInfo;if(g===l||g.nodeType===8&&g.parentNode===l)break;if(d===4)for(d=a.return;d!==null;){var y=d.tag;if((y===3||y===4)&&(y=d.stateNode.containerInfo,y===l||y.nodeType===8&&y.parentNode===l))return;d=d.return}for(;g!==null;){if(d=Ze(g),d===null)return;if(y=d.tag,y===5||y===6||y===26||y===27){a=s=d;continue t}g=g.parentNode}}a=a.return}wa(function(){var A=s,z=ni(n),H=[];t:{var C=Jr.get(t);if(C!==void 0){var M=ui,P=t;switch(t){case"keypress":if(Zi(n)===0)break t;case"keydown":case"keyup":M=Na;break;case"focusin":P="focus",M=Wi;break;case"focusout":P="blur",M=Wi;break;case"beforeblur":case"afterblur":M=Wi;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":M=iu;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":M=Er;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":M=go;break;case Vr:case bu:case _u:M=Or;break;case $r:M=vo;break;case"scroll":case"scrollend":M=lu;break;case"wheel":M=wr;break;case"copy":case"cut":case"paste":M=fo;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":M=Dr;break;case"toggle":case"beforetoggle":M=bo}var pt=(e&4)!==0,te=!pt&&(t==="scroll"||t==="scrollend"),T=pt?C!==null?C+"Capture":null:C;pt=[];for(var _=A,O;_!==null;){var R=_;if(O=R.stateNode,R=R.tag,R!==5&&R!==26&&R!==27||O===null||T===null||(R=ai(_,T),R!=null&&pt.push(Pu(_,R,O))),te)break;_=_.return}0<pt.length&&(C=new M(C,P,null,n,z),H.push({event:C,listeners:pt}))}}if(!(e&7)){t:{if(C=t==="mouseover"||t==="pointerover",M=t==="mouseout"||t==="pointerout",C&&n!==Da&&(P=n.relatedTarget||n.fromElement)&&(Ze(P)||P[al]))break t;if((M||C)&&(C=z.window===z?z:(C=z.ownerDocument)?C.defaultView||C.parentWindow:window,M?(P=n.relatedTarget||n.toElement,M=A,P=P?Ze(P):null,P!==null&&(te=dt(P),pt=P.tag,P!==te||pt!==5&&pt!==27&&pt!==6)&&(P=null)):(M=null,P=A),M!==P)){if(pt=iu,R="onMouseLeave",T="onMouseEnter",_="mouse",(t==="pointerout"||t==="pointerover")&&(pt=Dr,R="onPointerLeave",T="onPointerEnter",_="pointer"),te=M==null?C:gn(M),O=P==null?C:gn(P),C=new pt(R,_+"leave",M,n,z),C.target=te,C.relatedTarget=O,R=null,Ze(z)===A&&(pt=new pt(T,_+"enter",P,n,z),pt.target=O,pt.relatedTarget=te,R=pt),te=R,M&&P)e:{for(pt=M,T=P,_=0,O=pt;O;O=Ns(O))_++;for(O=0,R=T;R;R=Ns(R))O++;for(;0<_-O;)pt=Ns(pt),_--;for(;0<O-_;)T=Ns(T),O--;for(;_--;){if(pt===T||T!==null&&pt===T.alternate)break e;pt=Ns(pt),T=Ns(T)}pt=null}else pt=null;M!==null&&hm(H,C,M,pt,!1),P!==null&&te!==null&&hm(H,te,P,pt,!0)}}t:{if(C=A?gn(A):window,M=C.nodeName&&C.nodeName.toLowerCase(),M==="select"||M==="input"&&C.type==="file")var J=fi;else if(ou(C))if(Hr)J=Xr;else{J=kr;var bt=Yr}else M=C.nodeName,!M||M.toLowerCase()!=="input"||C.type!=="checkbox"&&C.type!=="radio"?A&&nu(A.elementType)&&(J=fi):J=ns;if(J&&(J=J(t,A))){fu(H,J,n,z);break t}bt&&bt(t,C,A),t==="focusout"&&A&&C.type==="number"&&A.memoizedProps.value!=null&&il(C,"number",C.value)}switch(bt=A?gn(A):window,t){case"focusin":(ou(bt)||bt.contentEditable==="true")&&(cl=bt,yu=A,ol=null);break;case"focusout":ol=yu=cl=null;break;case"mousedown":as=!0;break;case"contextmenu":case"mouseup":case"dragend":as=!1,ls(H,n,z);break;case"selectionchange":if(To)break;case"keydown":case"keyup":ls(H,n,z)}var nt;if(Un)t:{switch(t){case"compositionstart":var ut="onCompositionStart";break t;case"compositionend":ut="onCompositionEnd";break t;case"compositionupdate":ut="onCompositionUpdate";break t}ut=void 0}else ul?Lr(t,n)&&(ut="onCompositionEnd"):t==="keydown"&&n.keyCode===229&&(ut="onCompositionStart");ut&&(Nr&&n.locale!=="ko"&&(ul||ut!=="onCompositionStart"?ut==="onCompositionEnd"&&ul&&(nt=ii()):(an=z,li="value"in an?an.value:an.textContent,ul=!0)),bt=Oc(A,ut),0<bt.length&&(ut=new uu(ut,t,null,n,z),H.push({event:ut,listeners:bt}),nt?ut.data=nt:(nt=Ur(n),nt!==null&&(ut.data=nt)))),(nt=ts?_o(t,n):So(t,n))&&(ut=Oc(A,"onBeforeInput"),0<ut.length&&(bt=new uu("onBeforeInput","beforeinput",null,n,z),H.push({event:bt,listeners:ut}),bt.data=nt)),Ip(H,t,A,n,z)}fm(H,e)})}function Pu(t,e,n){return{instance:t,listener:e,currentTarget:n}}function Oc(t,e){for(var n=e+"Capture",a=[];t!==null;){var l=t,s=l.stateNode;l=l.tag,l!==5&&l!==26&&l!==27||s===null||(l=ai(t,n),l!=null&&a.unshift(Pu(t,l,s)),l=ai(t,e),l!=null&&a.push(Pu(t,l,s))),t=t.return}return a}function Ns(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function hm(t,e,n,a,l){for(var s=e._reactName,d=[];n!==null&&n!==a;){var g=n,y=g.alternate,A=g.stateNode;if(g=g.tag,y!==null&&y===a)break;g!==5&&g!==26&&g!==27||A===null||(y=A,l?(A=ai(n,s),A!=null&&d.unshift(Pu(n,A,y))):l||(A=ai(n,s),A!=null&&d.push(Pu(n,A,y)))),n=n.return}d.length!==0&&t.push({event:e,listeners:d})}var a0=/\r\n?/g,l0=/\u0000|\uFFFD/g;function mm(t){return(typeof t=="string"?t:""+t).replace(a0,`
`).replace(l0,"")}function gm(t,e){return e=mm(e),mm(t)===e}function xc(){}function Ut(t,e,n,a,l,s){switch(n){case"children":typeof a=="string"?e==="body"||e==="textarea"&&a===""||nn(t,a):(typeof a=="number"||typeof a=="bigint")&&e!=="body"&&nn(t,""+a);break;case"className":ti(t,"class",a);break;case"tabIndex":ti(t,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":ti(t,n,a);break;case"style":bn(t,a,s);break;case"data":if(e!=="object"){ti(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=ei(""+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"&&Ut(t,e,"name",l.name,l,null),Ut(t,e,"formEncType",l.formEncType,l,null),Ut(t,e,"formMethod",l.formMethod,l,null),Ut(t,e,"formTarget",l.formTarget,l,null)):(Ut(t,e,"encType",l.encType,l,null),Ut(t,e,"method",l.method,l,null),Ut(t,e,"target",l.target,l,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(n);break}a=ei(""+a),t.setAttribute(n,a);break;case"onClick":a!=null&&(t.onclick=xc);break;case"onScroll":a!=null&&xt("scroll",t);break;case"onScrollEnd":a!=null&&xt("scrollend",t);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(o(61));if(n=a.__html,n!=null){if(l.children!=null)throw Error(o(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=ei(""+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":xt("beforetoggle",t),xt("toggle",t),Il(t,"popover",a);break;case"xlinkActuate":vn(t,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":vn(t,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":vn(t,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":vn(t,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":vn(t,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":vn(t,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":vn(t,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":vn(t,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":vn(t,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Il(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=ra.get(n)||n,Il(t,n,a))}}function wf(t,e,n,a,l,s){switch(n){case"style":bn(t,a,s);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(o(61));if(n=a.__html,n!=null){if(l.children!=null)throw Error(o(60));t.innerHTML=n}}break;case"children":typeof a=="string"?nn(t,a):(typeof a=="number"||typeof a=="bigint")&&nn(t,""+a);break;case"onScroll":a!=null&&xt("scroll",t);break;case"onScrollEnd":a!=null&&xt("scrollend",t);break;case"onClick":a!=null&&(t.onclick=xc);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!$s.hasOwnProperty(n))t:{if(n[0]==="o"&&n[1]==="n"&&(l=n.endsWith("Capture"),e=n.slice(2,l?n.length-7:void 0),s=t[xe]||null,s=s!=null?s[n]:null,typeof s=="function"&&t.removeEventListener(e,s,l),typeof a=="function")){typeof s!="function"&&s!==null&&(n in t?t[n]=null:t.hasAttribute(n)&&t.removeAttribute(n)),t.addEventListener(e,a,l);break t}n in t?t[n]=a:a===!0?t.setAttribute(n,""):Il(t,n,a)}}}function Oe(t,e,n){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":xt("error",t),xt("load",t);var a=!1,l=!1,s;for(s in n)if(n.hasOwnProperty(s)){var d=n[s];if(d!=null)switch(s){case"src":a=!0;break;case"srcSet":l=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,e));default:Ut(t,e,s,d,n,null)}}l&&Ut(t,e,"srcSet",n.srcSet,n,null),a&&Ut(t,e,"src",n.src,n,null);return;case"input":xt("invalid",t);var g=s=d=l=null,y=null,A=null;for(a in n)if(n.hasOwnProperty(a)){var z=n[a];if(z!=null)switch(a){case"name":l=z;break;case"type":d=z;break;case"checked":y=z;break;case"defaultChecked":A=z;break;case"value":s=z;break;case"defaultValue":g=z;break;case"children":case"dangerouslySetInnerHTML":if(z!=null)throw Error(o(137,e));break;default:Ut(t,e,a,z,n,null)}}ua(t,s,g,y,A,d,l,!1),fe(t);return;case"select":xt("invalid",t),a=d=s=null;for(l in n)if(n.hasOwnProperty(l)&&(g=n[l],g!=null))switch(l){case"value":s=g;break;case"defaultValue":d=g;break;case"multiple":a=g;default:Ut(t,e,l,g,n,null)}e=s,n=d,t.multiple=!!a,e!=null?en(t,!!a,e,!1):n!=null&&en(t,!!a,n,!0);return;case"textarea":xt("invalid",t),s=l=a=null;for(d in n)if(n.hasOwnProperty(d)&&(g=n[d],g!=null))switch(d){case"value":a=g;break;case"defaultValue":l=g;break;case"children":s=g;break;case"dangerouslySetInnerHTML":if(g!=null)throw Error(o(91));break;default:Ut(t,e,d,g,n,null)}Is(t,a,l,s),fe(t);return;case"option":for(y in n)if(n.hasOwnProperty(y)&&(a=n[y],a!=null))switch(y){case"selected":t.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:Ut(t,e,y,a,n,null)}return;case"dialog":xt("cancel",t),xt("close",t);break;case"iframe":case"object":xt("load",t);break;case"video":case"audio":for(a=0;a<Wu.length;a++)xt(Wu[a],t);break;case"image":xt("error",t),xt("load",t);break;case"details":xt("toggle",t);break;case"embed":case"source":case"link":xt("error",t),xt("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(A in n)if(n.hasOwnProperty(A)&&(a=n[A],a!=null))switch(A){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,e));default:Ut(t,e,A,a,n,null)}return;default:if(nu(e)){for(z in n)n.hasOwnProperty(z)&&(a=n[z],a!==void 0&&wf(t,e,z,a,n,void 0));return}}for(g in n)n.hasOwnProperty(g)&&(a=n[g],a!=null&&Ut(t,e,g,a,n,null))}function i0(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 l=null,s=null,d=null,g=null,y=null,A=null,z=null;for(M in n){var H=n[M];if(n.hasOwnProperty(M)&&H!=null)switch(M){case"checked":break;case"value":break;case"defaultValue":y=H;default:a.hasOwnProperty(M)||Ut(t,e,M,null,a,H)}}for(var C in a){var M=a[C];if(H=n[C],a.hasOwnProperty(C)&&(M!=null||H!=null))switch(C){case"type":s=M;break;case"name":l=M;break;case"checked":A=M;break;case"defaultChecked":z=M;break;case"value":d=M;break;case"defaultValue":g=M;break;case"children":case"dangerouslySetInnerHTML":if(M!=null)throw Error(o(137,e));break;default:M!==H&&Ut(t,e,C,M,a,H)}}$e(t,d,g,y,A,z,s,l);return;case"select":M=d=g=C=null;for(s in n)if(y=n[s],n.hasOwnProperty(s)&&y!=null)switch(s){case"value":break;case"multiple":M=y;default:a.hasOwnProperty(s)||Ut(t,e,s,null,a,y)}for(l in a)if(s=a[l],y=n[l],a.hasOwnProperty(l)&&(s!=null||y!=null))switch(l){case"value":C=s;break;case"defaultValue":g=s;break;case"multiple":d=s;default:s!==y&&Ut(t,e,l,s,a,y)}e=g,n=d,a=M,C!=null?en(t,!!n,C,!1):!!a!=!!n&&(e!=null?en(t,!!n,e,!0):en(t,!!n,n?[]:"",!1));return;case"textarea":M=C=null;for(g in n)if(l=n[g],n.hasOwnProperty(g)&&l!=null&&!a.hasOwnProperty(g))switch(g){case"value":break;case"children":break;default:Ut(t,e,g,null,a,l)}for(d in a)if(l=a[d],s=n[d],a.hasOwnProperty(d)&&(l!=null||s!=null))switch(d){case"value":C=l;break;case"defaultValue":M=l;break;case"children":break;case"dangerouslySetInnerHTML":if(l!=null)throw Error(o(91));break;default:l!==s&&Ut(t,e,d,l,a,s)}ki(t,C,M);return;case"option":for(var P in n)if(C=n[P],n.hasOwnProperty(P)&&C!=null&&!a.hasOwnProperty(P))switch(P){case"selected":t.selected=!1;break;default:Ut(t,e,P,null,a,C)}for(y in a)if(C=a[y],M=n[y],a.hasOwnProperty(y)&&C!==M&&(C!=null||M!=null))switch(y){case"selected":t.selected=C&&typeof C!="function"&&typeof C!="symbol";break;default:Ut(t,e,y,C,a,M)}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 pt in n)C=n[pt],n.hasOwnProperty(pt)&&C!=null&&!a.hasOwnProperty(pt)&&Ut(t,e,pt,null,a,C);for(A in a)if(C=a[A],M=n[A],a.hasOwnProperty(A)&&C!==M&&(C!=null||M!=null))switch(A){case"children":case"dangerouslySetInnerHTML":if(C!=null)throw Error(o(137,e));break;default:Ut(t,e,A,C,a,M)}return;default:if(nu(e)){for(var te in n)C=n[te],n.hasOwnProperty(te)&&C!==void 0&&!a.hasOwnProperty(te)&&wf(t,e,te,void 0,a,C);for(z in a)C=a[z],M=n[z],!a.hasOwnProperty(z)||C===M||C===void 0&&M===void 0||wf(t,e,z,C,a,M);return}}for(var T in n)C=n[T],n.hasOwnProperty(T)&&C!=null&&!a.hasOwnProperty(T)&&Ut(t,e,T,null,a,C);for(H in a)C=a[H],M=n[H],!a.hasOwnProperty(H)||C===M||C==null&&M==null||Ut(t,e,H,C,a,M)}var zf=null,Nf=null;function Cc(t){return t.nodeType===9?t:t.ownerDocument}function pm(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 vm(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 Rf(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 jf=null;function s0(){var t=window.event;return t&&t.type==="popstate"?t===jf?!1:(jf=t,!0):(jf=null,!1)}var ym=typeof setTimeout=="function"?setTimeout:void 0,u0=typeof clearTimeout=="function"?clearTimeout:void 0,bm=typeof Promise=="function"?Promise:void 0,r0=typeof queueMicrotask=="function"?queueMicrotask:typeof bm<"u"?function(t){return bm.resolve(null).then(t).catch(c0)}:ym;function c0(t){setTimeout(function(){throw t})}function Lf(t,e){var n=e,a=0;do{var l=n.nextSibling;if(t.removeChild(n),l&&l.nodeType===8)if(n=l.data,n==="/$"){if(a===0){t.removeChild(l),sr(e);return}a--}else n!=="$"&&n!=="$?"&&n!=="$!"||a++;n=l}while(n);sr(e)}function Uf(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":Uf(n),ll(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}t.removeChild(n)}}function o0(t,e,n,a){for(;t.nodeType===1;){var l=n;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!a&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(a){if(!t[ae])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!==l.rel||t.getAttribute("href")!==(l.href==null?null:l.href)||t.getAttribute("crossorigin")!==(l.crossOrigin==null?null:l.crossOrigin)||t.getAttribute("title")!==(l.title==null?null:l.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(s=t.getAttribute("src"),(s!==(l.src==null?null:l.src)||t.getAttribute("type")!==(l.type==null?null:l.type)||t.getAttribute("crossorigin")!==(l.crossOrigin==null?null:l.crossOrigin))&&s&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var s=l.name==null?null:""+l.name;if(l.type==="hidden"&&t.getAttribute("name")===s)return t}else return t;if(t=Zn(t.nextSibling),t===null)break}return null}function f0(t,e,n){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!n||(t=Zn(t.nextSibling),t===null))return null;return t}function Zn(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 _m(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 Sm(t,e,n){switch(e=Cc(n),t){case"html":if(t=e.documentElement,!t)throw Error(o(452));return t;case"head":if(t=e.head,!t)throw Error(o(453));return t;case"body":if(t=e.body,!t)throw Error(o(454));return t;default:throw Error(o(451))}}var wn=new Map,Am=new Set;function Dc(t){return typeof t.getRootNode=="function"?t.getRootNode():t.ownerDocument}var Ja=vt.d;vt.d={f:d0,r:h0,D:m0,C:g0,L:p0,m:v0,X:b0,S:y0,M:_0};function d0(){var t=Ja.f(),e=_c();return t||e}function h0(t){var e=Ke(t);e!==null&&e.tag===5&&e.type==="form"?Jd(e):Ja.r(t)}var Rs=typeof document>"u"?null:document;function Em(t,e,n){var a=Rs;if(a&&typeof e=="string"&&e){var l=De(e);l='link[rel="'+t+'"][href="'+l+'"]',typeof n=="string"&&(l+='[crossorigin="'+n+'"]'),Am.has(l)||(Am.add(l),t={rel:t,crossOrigin:n,href:e},a.querySelector(l)===null&&(e=a.createElement("link"),Oe(e,"link",t),Ft(e),a.head.appendChild(e)))}}function m0(t){Ja.D(t),Em("dns-prefetch",t,null)}function g0(t,e){Ja.C(t,e),Em("preconnect",t,e)}function p0(t,e,n){Ja.L(t,e,n);var a=Rs;if(a&&t&&e){var l='link[rel="preload"][as="'+De(e)+'"]';e==="image"&&n&&n.imageSrcSet?(l+='[imagesrcset="'+De(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(l+='[imagesizes="'+De(n.imageSizes)+'"]')):l+='[href="'+De(t)+'"]';var s=l;switch(e){case"style":s=js(t);break;case"script":s=Ls(t)}wn.has(s)||(t=wt({rel:"preload",href:e==="image"&&n&&n.imageSrcSet?void 0:t,as:e},n),wn.set(s,t),a.querySelector(l)!==null||e==="style"&&a.querySelector(Iu(s))||e==="script"&&a.querySelector(tr(s))||(e=a.createElement("link"),Oe(e,"link",t),Ft(e),a.head.appendChild(e)))}}function v0(t,e){Ja.m(t,e);var n=Rs;if(n&&t){var a=e&&typeof e.as=="string"?e.as:"script",l='link[rel="modulepreload"][as="'+De(a)+'"][href="'+De(t)+'"]',s=l;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":s=Ls(t)}if(!wn.has(s)&&(t=wt({rel:"modulepreload",href:t},e),wn.set(s,t),n.querySelector(l)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(tr(s)))return}a=n.createElement("link"),Oe(a,"link",t),Ft(a),n.head.appendChild(a)}}}function y0(t,e,n){Ja.S(t,e,n);var a=Rs;if(a&&t){var l=xa(a).hoistableStyles,s=js(t);e=e||"default";var d=l.get(s);if(!d){var g={loading:0,preload:null};if(d=a.querySelector(Iu(s)))g.loading=5;else{t=wt({rel:"stylesheet",href:t,"data-precedence":e},n),(n=wn.get(s))&&Hf(t,n);var y=d=a.createElement("link");Ft(y),Oe(y,"link",t),y._p=new Promise(function(A,z){y.onload=A,y.onerror=z}),y.addEventListener("load",function(){g.loading|=1}),y.addEventListener("error",function(){g.loading|=2}),g.loading|=4,Mc(d,e,a)}d={type:"stylesheet",instance:d,count:1,state:g},l.set(s,d)}}}function b0(t,e){Ja.X(t,e);var n=Rs;if(n&&t){var a=xa(n).hoistableScripts,l=Ls(t),s=a.get(l);s||(s=n.querySelector(tr(l)),s||(t=wt({src:t,async:!0},e),(e=wn.get(l))&&qf(t,e),s=n.createElement("script"),Ft(s),Oe(s,"link",t),n.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},a.set(l,s))}}function _0(t,e){Ja.M(t,e);var n=Rs;if(n&&t){var a=xa(n).hoistableScripts,l=Ls(t),s=a.get(l);s||(s=n.querySelector(tr(l)),s||(t=wt({src:t,async:!0,type:"module"},e),(e=wn.get(l))&&qf(t,e),s=n.createElement("script"),Ft(s),Oe(s,"link",t),n.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},a.set(l,s))}}function Tm(t,e,n,a){var l=(l=Ve.current)?Dc(l):null;if(!l)throw Error(o(446));switch(t){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(e=js(n.href),n=xa(l).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=js(n.href);var s=xa(l).hoistableStyles,d=s.get(t);if(d||(l=l.ownerDocument||l,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},s.set(t,d),(s=l.querySelector(Iu(t)))&&!s._p&&(d.instance=s,d.state.loading=5),wn.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},wn.set(t,n),s||S0(l,t,n,d.state))),e&&a===null)throw Error(o(528,""));return d}if(e&&a!==null)throw Error(o(529,""));return null;case"script":return e=n.async,n=n.src,typeof n=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=Ls(n),n=xa(l).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(o(444,t))}}function js(t){return'href="'+De(t)+'"'}function Iu(t){return'link[rel="stylesheet"]['+t+"]"}function Om(t){return wt({},t,{"data-precedence":t.precedence,precedence:null})}function S0(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}),Oe(e,"link",n),Ft(e),t.head.appendChild(e))}function Ls(t){return'[src="'+De(t)+'"]'}function tr(t){return"script[async]"+t}function xm(t,e,n){if(e.count++,e.instance===null)switch(e.type){case"style":var a=t.querySelector('style[data-href~="'+De(n.href)+'"]');if(a)return e.instance=a,Ft(a),a;var l=wt({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return a=(t.ownerDocument||t).createElement("style"),Ft(a),Oe(a,"style",l),Mc(a,n.precedence,t),e.instance=a;case"stylesheet":l=js(n.href);var s=t.querySelector(Iu(l));if(s)return e.state.loading|=4,e.instance=s,Ft(s),s;a=Om(n),(l=wn.get(l))&&Hf(a,l),s=(t.ownerDocument||t).createElement("link"),Ft(s);var d=s;return d._p=new Promise(function(g,y){d.onload=g,d.onerror=y}),Oe(s,"link",a),e.state.loading|=4,Mc(s,n.precedence,t),e.instance=s;case"script":return s=Ls(n.src),(l=t.querySelector(tr(s)))?(e.instance=l,Ft(l),l):(a=n,(l=wn.get(s))&&(a=wt({},n),qf(a,l)),t=t.ownerDocument||t,l=t.createElement("script"),Ft(l),Oe(l,"link",a),t.head.appendChild(l),e.instance=l);case"void":return null;default:throw Error(o(443,e.type))}else e.type==="stylesheet"&&!(e.state.loading&4)&&(a=e.instance,e.state.loading|=4,Mc(a,n.precedence,t));return e.instance}function Mc(t,e,n){for(var a=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),l=a.length?a[a.length-1]:null,s=l,d=0;d<a.length;d++){var g=a[d];if(g.dataset.precedence===e)s=g;else if(s!==l)break}s?s.parentNode.insertBefore(t,s.nextSibling):(e=n.nodeType===9?n.head:n,e.insertBefore(t,e.firstChild))}function Hf(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function qf(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var wc=null;function Cm(t,e,n){if(wc===null){var a=new Map,l=wc=new Map;l.set(n,a)}else l=wc,a=l.get(n),a||(a=new Map,l.set(n,a));if(a.has(t))return a;for(a.set(t,null),n=n.getElementsByTagName(t),l=0;l<n.length;l++){var s=n[l];if(!(s[ae]||s[se]||t==="link"&&s.getAttribute("rel")==="stylesheet")&&s.namespaceURI!=="http://www.w3.org/2000/svg"){var d=s.getAttribute(e)||"";d=t+d;var g=a.get(d);g?g.push(s):a.set(d,[s])}}return a}function Dm(t,e,n){t=t.ownerDocument||t,t.head.insertBefore(n,e==="title"?t.querySelector("head > title"):null)}function A0(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 Mm(t){return!(t.type==="stylesheet"&&!(t.state.loading&3))}var er=null;function E0(){}function T0(t,e,n){if(er===null)throw Error(o(475));var a=er;if(e.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&!(e.state.loading&4)){if(e.instance===null){var l=js(n.href),s=t.querySelector(Iu(l));if(s){t=s._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(a.count++,a=zc.bind(a),t.then(a,a)),e.state.loading|=4,e.instance=s,Ft(s);return}s=t.ownerDocument||t,n=Om(n),(l=wn.get(l))&&Hf(n,l),s=s.createElement("link"),Ft(s);var d=s;d._p=new Promise(function(g,y){d.onload=g,d.onerror=y}),Oe(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)&&(a.count++,e=zc.bind(a),t.addEventListener("load",e),t.addEventListener("error",e))}}function O0(){if(er===null)throw Error(o(475));var t=er;return t.stylesheets&&t.count===0&&Bf(t,t.stylesheets),0<t.count?function(e){var n=setTimeout(function(){if(t.stylesheets&&Bf(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 zc(){if(this.count--,this.count===0){if(this.stylesheets)Bf(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Nc=null;function Bf(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Nc=new Map,e.forEach(x0,t),Nc=null,zc.call(t))}function x0(t,e){if(!(e.state.loading&4)){var n=Nc.get(t);if(n)var a=n.get(null);else{n=new Map,Nc.set(t,n);for(var l=t.querySelectorAll("link[data-precedence],style[data-precedence]"),s=0;s<l.length;s++){var d=l[s];(d.nodeName==="LINK"||d.getAttribute("media")!=="not all")&&(n.set(d.dataset.precedence,d),a=d)}a&&n.set(null,a)}l=e.instance,d=l.getAttribute("data-precedence"),s=n.get(d)||a,s===a&&n.set(null,l),n.set(d,l),this.count++,a=zc.bind(this),l.addEventListener("load",a),l.addEventListener("error",a),s?s.parentNode.insertBefore(l,s.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(l,t.firstChild)),e.state.loading|=4}}var nr={$$typeof:tt,Provider:null,Consumer:null,_currentValue:oe,_currentValue2:oe,_threadCount:0};function C0(t,e,n,a,l,s,d,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=Ks(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.finishedLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ks(0),this.hiddenUpdates=Ks(null),this.identifierPrefix=a,this.onUncaughtError=l,this.onCaughtError=s,this.onRecoverableError=d,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=g,this.incompleteTransitions=new Map}function wm(t,e,n,a,l,s,d,g,y,A,z,H){return t=new C0(t,e,n,d,g,y,A,H),e=1,s===!0&&(e|=24),s=Dn(3,null,null,e),t.current=s,s.stateNode=t,e=vs(),e.refCount++,t.pooledCache=e,e.refCount++,s.memoizedState={element:a,isDehydrated:n,cache:e},Fo(s),t}function zm(t){return t?(t=hl,t):hl}function Nm(t,e,n,a,l,s){l=zm(l),a.context===null?a.context=l:a.pendingContext=l,a=Cl(e),a.payload={element:n},s=s===void 0?null:s,s!==null&&(a.callback=s),n=Dl(t,a,e),n!==null&&(Qe(n,t,e),Bu(n,t,e))}function Rm(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var n=t.retryLane;t.retryLane=n!==0&&n<e?n:e}}function Yf(t,e){Rm(t,e),(t=t.alternate)&&Rm(t,e)}function jm(t){if(t.tag===13){var e=qn(t,67108864);e!==null&&Qe(e,t,67108864),Yf(t,67108864)}}var Rc=!0;function D0(t,e,n,a){var l=ft.T;ft.T=null;var s=vt.p;try{vt.p=2,kf(t,e,n,a)}finally{vt.p=s,ft.T=l}}function M0(t,e,n,a){var l=ft.T;ft.T=null;var s=vt.p;try{vt.p=8,kf(t,e,n,a)}finally{vt.p=s,ft.T=l}}function kf(t,e,n,a){if(Rc){var l=Xf(a);if(l===null)Mf(t,e,a,jc,n),Um(t,a);else if(z0(l,t,e,n,a))a.stopPropagation();else if(Um(t,a),e&4&&-1<w0.indexOf(t)){for(;l!==null;){var s=Ke(l);if(s!==null)switch(s.tag){case 3:if(s=s.stateNode,s.current.memoizedState.isDehydrated){var d=Ea(s.pendingLanes);if(d!==0){var g=s;for(g.pendingLanes|=2,g.entangledLanes|=2;d;){var y=1<<31-He(d);g.entanglements[1]|=y,d&=~y}ba(s),!(Jt&6)&&(vc=Le()+500,Fu(0))}}break;case 13:g=qn(s,2),g!==null&&Qe(g,s,2),_c(),Yf(s,2)}if(s=Xf(a),s===null&&Mf(t,e,a,jc,n),s===l)break;l=s}l!==null&&a.stopPropagation()}else Mf(t,e,a,null,n)}}function Xf(t){return t=ni(t),Gf(t)}var jc=null;function Gf(t){if(jc=null,t=Ze(t),t!==null){var e=dt(t);if(e===null)t=null;else{var n=e.tag;if(n===13){if(t=Ht(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 jc=t,null}function Lm(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(ea()){case Vs:return 2;case tl:return 8;case Nn:case el:return 32;case Kl:return 268435456;default:return 32}default:return 32}}var Qf=!1,Ll=null,Ul=null,Hl=null,ar=new Map,lr=new Map,ql=[],w0="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 Um(t,e){switch(t){case"focusin":case"focusout":Ll=null;break;case"dragenter":case"dragleave":Ul=null;break;case"mouseover":case"mouseout":Hl=null;break;case"pointerover":case"pointerout":ar.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":lr.delete(e.pointerId)}}function ir(t,e,n,a,l,s){return t===null||t.nativeEvent!==s?(t={blockedOn:e,domEventName:n,eventSystemFlags:a,nativeEvent:s,targetContainers:[l]},e!==null&&(e=Ke(e),e!==null&&jm(e)),t):(t.eventSystemFlags|=a,e=t.targetContainers,l!==null&&e.indexOf(l)===-1&&e.push(l),t)}function z0(t,e,n,a,l){switch(e){case"focusin":return Ll=ir(Ll,t,e,n,a,l),!0;case"dragenter":return Ul=ir(Ul,t,e,n,a,l),!0;case"mouseover":return Hl=ir(Hl,t,e,n,a,l),!0;case"pointerover":var s=l.pointerId;return ar.set(s,ir(ar.get(s)||null,t,e,n,a,l)),!0;case"gotpointercapture":return s=l.pointerId,lr.set(s,ir(lr.get(s)||null,t,e,n,a,l)),!0}return!1}function Hm(t){var e=Ze(t.target);if(e!==null){var n=dt(e);if(n!==null){if(e=n.tag,e===13){if(e=Ht(n),e!==null){t.blockedOn=e,Yi(t.priority,function(){if(n.tag===13){var a=fn(),l=qn(n,a);l!==null&&Qe(l,n,a),Yf(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 Lc(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var n=Xf(t.nativeEvent);if(n===null){n=t.nativeEvent;var a=new n.constructor(n.type,n);Da=a,n.target.dispatchEvent(a),Da=null}else return e=Ke(n),e!==null&&jm(e),t.blockedOn=n,!1;e.shift()}return!0}function qm(t,e,n){Lc(t)&&n.delete(e)}function N0(){Qf=!1,Ll!==null&&Lc(Ll)&&(Ll=null),Ul!==null&&Lc(Ul)&&(Ul=null),Hl!==null&&Lc(Hl)&&(Hl=null),ar.forEach(qm),lr.forEach(qm)}function Uc(t,e){t.blockedOn===e&&(t.blockedOn=null,Qf||(Qf=!0,u.unstable_scheduleCallback(u.unstable_NormalPriority,N0)))}var Hc=null;function Bm(t){Hc!==t&&(Hc=t,u.unstable_scheduleCallback(u.unstable_NormalPriority,function(){Hc===t&&(Hc=null);for(var e=0;e<t.length;e+=3){var n=t[e],a=t[e+1],l=t[e+2];if(typeof a!="function"){if(Gf(a||n)===null)continue;break}var s=Ke(n);s!==null&&(t.splice(e,3),e-=3,No(s,{pending:!0,data:l,method:n.method,action:a},a,l))}}))}function sr(t){function e(y){return Uc(y,t)}Ll!==null&&Uc(Ll,t),Ul!==null&&Uc(Ul,t),Hl!==null&&Uc(Hl,t),ar.forEach(e),lr.forEach(e);for(var n=0;n<ql.length;n++){var a=ql[n];a.blockedOn===t&&(a.blockedOn=null)}for(;0<ql.length&&(n=ql[0],n.blockedOn===null);)Hm(n),n.blockedOn===null&&ql.shift();if(n=(t.ownerDocument||t).$$reactFormReplay,n!=null)for(a=0;a<n.length;a+=3){var l=n[a],s=n[a+1],d=l[xe]||null;if(typeof s=="function")d||Bm(n);else if(d){var g=null;if(s&&s.hasAttribute("formAction")){if(l=s,d=s[xe]||null)g=d.formAction;else if(Gf(l)!==null)continue}else g=d.action;typeof g=="function"?n[a+1]=g:(n.splice(a,3),a-=3),Bm(n)}}}function Vf(t){this._internalRoot=t}qc.prototype.render=Vf.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(o(409));var n=e.current,a=fn();Nm(n,a,t,e,null,null)},qc.prototype.unmount=Vf.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;t.tag===0&&ws(),Nm(t.current,2,null,t,null,null),_c(),e[al]=null}};function qc(t){this._internalRoot=t}qc.prototype.unstable_scheduleHydration=function(t){if(t){var e=Oa();t={blockedOn:null,target:t,priority:e};for(var n=0;n<ql.length&&e!==0&&e<ql[n].priority;n++);ql.splice(n,0,t),n===0&&Hm(t)}};var Ym=r.version;if(Ym!=="19.0.0")throw Error(o(527,Ym,"19.0.0"));vt.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(o(188)):(t=Object.keys(t).join(","),Error(o(268,t)));return t=Wn(e),t=t!==null?Pn(t):null,t=t===null?null:t.stateNode,t};var R0={bundleType:0,version:"19.0.0",rendererPackageName:"react-dom",currentDispatcherRef:ft,findFiberByHostInstance:Ze,reconcilerVersion:"19.0.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Bc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Bc.isDisabled&&Bc.supportsFiber)try{$l=Bc.inject(R0),Ue=Bc}catch{}}return rr.createRoot=function(t,e){if(!m(t))throw Error(o(299));var n=!1,a="",l=ah,s=lh,d=ih,g=null;return e!=null&&(e.unstable_strictMode===!0&&(n=!0),e.identifierPrefix!==void 0&&(a=e.identifierPrefix),e.onUncaughtError!==void 0&&(l=e.onUncaughtError),e.onCaughtError!==void 0&&(s=e.onCaughtError),e.onRecoverableError!==void 0&&(d=e.onRecoverableError),e.unstable_transitionCallbacks!==void 0&&(g=e.unstable_transitionCallbacks)),e=wm(t,1,!1,null,null,n,a,l,s,d,g,null),t[al]=e.current,Df(t.nodeType===8?t.parentNode:t),new Vf(e)},rr.hydrateRoot=function(t,e,n){if(!m(t))throw Error(o(299));var a=!1,l="",s=ah,d=lh,g=ih,y=null,A=null;return n!=null&&(n.unstable_strictMode===!0&&(a=!0),n.identifierPrefix!==void 0&&(l=n.identifierPrefix),n.onUncaughtError!==void 0&&(s=n.onUncaughtError),n.onCaughtError!==void 0&&(d=n.onCaughtError),n.onRecoverableError!==void 0&&(g=n.onRecoverableError),n.unstable_transitionCallbacks!==void 0&&(y=n.unstable_transitionCallbacks),n.formState!==void 0&&(A=n.formState)),e=wm(t,1,!0,e,n??null,a,l,s,d,g,y,A),e.context=zm(null),n=e.current,a=fn(),l=Cl(a),l.callback=null,Dl(n,l,a),e.current.lanes=a,Pl(e,a),ba(e),t[al]=e.current,Df(t),new qc(e)},rr.version="19.0.0",rr}var Zm;function K0(){if(Zm)return Kf.exports;Zm=1;function u(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(u)}catch(r){console.error(r)}}return u(),Kf.exports=Z0(),Kf.exports}var $0=K0(),Xc={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 J0=Xc.exports,Km;function F0(){return Km||(Km=1,function(u,r){(function(f,o){u.exports=o()})(J0,function(){const f=new Map,o={set(h,i,c){f.has(h)||f.set(h,new Map);const p=f.get(h);p.has(i)||p.size===0?p.set(i,c):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(p.keys())[0]}.`)},get:(h,i)=>f.has(h)&&f.get(h).get(i)||null,remove(h,i){if(!f.has(h))return;const c=f.get(h);c.delete(i),c.size===0&&f.delete(h)}},m="transitionend",v=h=>(h&&window.CSS&&window.CSS.escape&&(h=h.replace(/#([^\s"#']+)/g,(i,c)=>`#${CSS.escape(c)}`)),h),S=h=>{h.dispatchEvent(new Event(m))},x=h=>!(!h||typeof h!="object")&&(h.jquery!==void 0&&(h=h[0]),h.nodeType!==void 0),N=h=>x(h)?h.jquery?h[0]:h:typeof h=="string"&&h.length>0?document.querySelector(v(h)):null,U=h=>{if(!x(h)||h.getClientRects().length===0)return!1;const i=getComputedStyle(h).getPropertyValue("visibility")==="visible",c=h.closest("details:not([open])");if(!c)return i;if(c!==h){const p=h.closest("summary");if(p&&p.parentNode!==c||p===null)return!1}return i},X=h=>!h||h.nodeType!==Node.ELEMENT_NODE||!!h.classList.contains("disabled")||(h.disabled!==void 0?h.disabled:h.hasAttribute("disabled")&&h.getAttribute("disabled")!=="false"),Z=h=>{if(!document.documentElement.attachShadow)return null;if(typeof h.getRootNode=="function"){const i=h.getRootNode();return i instanceof ShadowRoot?i:null}return h instanceof ShadowRoot?h:h.parentNode?Z(h.parentNode):null},Q=()=>{},tt=h=>{h.offsetHeight},ct=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Et=[],rt=()=>document.documentElement.dir==="rtl",ot=h=>{var i;i=()=>{const c=ct();if(c){const p=h.NAME,b=c.fn[p];c.fn[p]=h.jQueryInterface,c.fn[p].Constructor=h,c.fn[p].noConflict=()=>(c.fn[p]=b,h.jQueryInterface)}},document.readyState==="loading"?(Et.length||document.addEventListener("DOMContentLoaded",()=>{for(const c of Et)c()}),Et.push(i)):i()},it=(h,i=[],c=h)=>typeof h=="function"?h(...i):c,Ct=(h,i,c=!0)=>{if(!c)return void it(h);const p=(D=>{if(!D)return 0;let{transitionDuration:j,transitionDelay:k}=window.getComputedStyle(D);const L=Number.parseFloat(j),q=Number.parseFloat(k);return L||q?(j=j.split(",")[0],k=k.split(",")[0],1e3*(Number.parseFloat(j)+Number.parseFloat(k))):0})(i)+5;let b=!1;const E=({target:D})=>{D===i&&(b=!0,i.removeEventListener(m,E),it(h))};i.addEventListener(m,E),setTimeout(()=>{b||S(i)},p)},ee=(h,i,c,p)=>{const b=h.length;let E=h.indexOf(i);return E===-1?!c&&p?h[b-1]:h[0]:(E+=c?1:-1,p&&(E=(E+b)%b),h[Math.max(0,Math.min(E,b-1))])},ne=/[^.]*(?=\..*)\.|.*/,Re=/\..*/,Kn=/::\d+$/,hn={};let ft=1;const wt={mouseenter:"mouseover",mouseleave:"mouseout"},zn=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 Ia(h,i){return i&&`${i}::${ft++}`||h.uidEvent||ft++}function $n(h){const i=Ia(h);return h.uidEvent=i,hn[i]=hn[i]||{},hn[i]}function Jn(h,i,c=null){return Object.values(h).find(p=>p.callable===i&&p.delegationSelector===c)}function Fn(h,i,c){const p=typeof i=="string",b=p?c:i||c;let E=Ht(h);return zn.has(E)||(E=h),[p,b,E]}function V(h,i,c,p,b){if(typeof i!="string"||!h)return;let[E,D,j]=Fn(i,c,p);i in wt&&(D=(at=>function(lt){if(!lt.relatedTarget||lt.relatedTarget!==lt.delegateTarget&&!lt.delegateTarget.contains(lt.relatedTarget))return at.call(this,lt)})(D));const k=$n(h),L=k[j]||(k[j]={}),q=Jn(L,D,E?c:null);if(q)return void(q.oneOff=q.oneOff&&b);const B=Ia(D,i.replace(ne,"")),ht=E?function(et,at,lt){return function st(Tt){const Lt=et.querySelectorAll(at);for(let{target:W}=Tt;W&&W!==this;W=W.parentNode)for(const Ot of Lt)if(Ot===W)return Wn(Tt,{delegateTarget:W}),st.oneOff&&w.off(et,Tt.type,at,lt),lt.apply(W,[Tt])}}(h,c,D):function(et,at){return function lt(st){return Wn(st,{delegateTarget:et}),lt.oneOff&&w.off(et,st.type,at),at.apply(et,[st])}}(h,D);ht.delegationSelector=E?c:null,ht.callable=D,ht.oneOff=b,ht.uidEvent=B,L[B]=ht,h.addEventListener(j,ht,E)}function mt(h,i,c,p,b){const E=Jn(i[c],p,b);E&&(h.removeEventListener(c,E,!!b),delete i[c][E.uidEvent])}function dt(h,i,c,p){const b=i[c]||{};for(const[E,D]of Object.entries(b))E.includes(p)&&mt(h,i,c,D.callable,D.delegationSelector)}function Ht(h){return h=h.replace(Re,""),wt[h]||h}const w={on(h,i,c,p){V(h,i,c,p,!1)},one(h,i,c,p){V(h,i,c,p,!0)},off(h,i,c,p){if(typeof i!="string"||!h)return;const[b,E,D]=Fn(i,c,p),j=D!==i,k=$n(h),L=k[D]||{},q=i.startsWith(".");if(E===void 0){if(q)for(const B of Object.keys(k))dt(h,k,B,i.slice(1));for(const[B,ht]of Object.entries(L)){const et=B.replace(Kn,"");j&&!i.includes(et)||mt(h,k,D,ht.callable,ht.delegationSelector)}}else{if(!Object.keys(L).length)return;mt(h,k,D,E,b?c:null)}},trigger(h,i,c){if(typeof i!="string"||!h)return null;const p=ct();let b=null,E=!0,D=!0,j=!1;i!==Ht(i)&&p&&(b=p.Event(i,c),p(h).trigger(b),E=!b.isPropagationStopped(),D=!b.isImmediatePropagationStopped(),j=b.isDefaultPrevented());const k=Wn(new Event(i,{bubbles:E,cancelable:!0}),c);return j&&k.preventDefault(),D&&h.dispatchEvent(k),k.defaultPrevented&&b&&b.preventDefault(),k}};function Wn(h,i={}){for(const[c,p]of Object.entries(i))try{h[c]=p}catch{Object.defineProperty(h,c,{configurable:!0,get:()=>p})}return h}function Pn(h){if(h==="true")return!0;if(h==="false")return!1;if(h===Number(h).toString())return Number(h);if(h===""||h==="null")return null;if(typeof h!="string")return h;try{return JSON.parse(decodeURIComponent(h))}catch{return h}}function Ie(h){return h.replace(/[A-Z]/g,i=>`-${i.toLowerCase()}`)}const vt={setDataAttribute(h,i,c){h.setAttribute(`data-bs-${Ie(i)}`,c)},removeDataAttribute(h,i){h.removeAttribute(`data-bs-${Ie(i)}`)},getDataAttributes(h){if(!h)return{};const i={},c=Object.keys(h.dataset).filter(p=>p.startsWith("bs")&&!p.startsWith("bsConfig"));for(const p of c){let b=p.replace(/^bs/,"");b=b.charAt(0).toLowerCase()+b.slice(1,b.length),i[b]=Pn(h.dataset[p])}return i},getDataAttribute:(h,i)=>Pn(h.getAttribute(`data-bs-${Ie(i)}`))};class oe{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(i){return i=this._mergeConfigObj(i),i=this._configAfterMerge(i),this._typeCheckConfig(i),i}_configAfterMerge(i){return i}_mergeConfigObj(i,c){const p=x(c)?vt.getDataAttribute(c,"config"):{};return{...this.constructor.Default,...typeof p=="object"?p:{},...x(c)?vt.getDataAttributes(c):{},...typeof i=="object"?i:{}}}_typeCheckConfig(i,c=this.constructor.DefaultType){for(const[b,E]of Object.entries(c)){const D=i[b],j=x(D)?"element":(p=D)==null?`${p}`:Object.prototype.toString.call(p).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(E).test(j))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${b}" provided type "${j}" but expected type "${E}".`)}var p}}class je extends oe{constructor(i,c){super(),(i=N(i))&&(this._element=i,this._config=this._getConfig(c),o.set(this._element,this.constructor.DATA_KEY,this))}dispose(){o.remove(this._element,this.constructor.DATA_KEY),w.off(this._element,this.constructor.EVENT_KEY);for(const i of Object.getOwnPropertyNames(this))this[i]=null}_queueCallback(i,c,p=!0){Ct(i,c,p)}_getConfig(i){return i=this._mergeConfigObj(i,this._element),i=this._configAfterMerge(i),this._typeCheckConfig(i),i}static getInstance(i){return o.get(N(i),this.DATA_KEY)}static getOrCreateInstance(i,c={}){return this.getInstance(i)||new this(i,typeof c=="object"?c: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(i){return`${i}${this.EVENT_KEY}`}}const In=h=>{let i=h.getAttribute("data-bs-target");if(!i||i==="#"){let c=h.getAttribute("href");if(!c||!c.includes("#")&&!c.startsWith("."))return null;c.includes("#")&&!c.startsWith("#")&&(c=`#${c.split("#")[1]}`),i=c&&c!=="#"?c.trim():null}return i?i.split(",").map(c=>v(c)).join(","):null},$={find:(h,i=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(i,h)),findOne:(h,i=document.documentElement)=>Element.prototype.querySelector.call(i,h),children:(h,i)=>[].concat(...h.children).filter(c=>c.matches(i)),parents(h,i){const c=[];let p=h.parentNode.closest(i);for(;p;)c.push(p),p=p.parentNode.closest(i);return c},prev(h,i){let c=h.previousElementSibling;for(;c;){if(c.matches(i))return[c];c=c.previousElementSibling}return[]},next(h,i){let c=h.nextElementSibling;for(;c;){if(c.matches(i))return[c];c=c.nextElementSibling}return[]},focusableChildren(h){const i=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(c=>`${c}:not([tabindex^="-"])`).join(",");return this.find(i,h).filter(c=>!X(c)&&U(c))},getSelectorFromElement(h){const i=In(h);return i&&$.findOne(i)?i:null},getElementFromSelector(h){const i=In(h);return i?$.findOne(i):null},getMultipleElementsFromSelector(h){const i=In(h);return i?$.find(i):[]}},Kt=(h,i="hide")=>{const c=`click.dismiss${h.EVENT_KEY}`,p=h.NAME;w.on(document,c,`[data-bs-dismiss="${p}"]`,function(b){if(["A","AREA"].includes(this.tagName)&&b.preventDefault(),X(this))return;const E=$.getElementFromSelector(this)||this.closest(`.${p}`);h.getOrCreateInstance(E)[i]()})},qt=".bs.alert",mn=`close${qt}`,Vl=`closed${qt}`;class Ve extends je{static get NAME(){return"alert"}close(){if(w.trigger(this._element,mn).defaultPrevented)return;this._element.classList.remove("show");const i=this._element.classList.contains("fade");this._queueCallback(()=>this._destroyElement(),this._element,i)}_destroyElement(){this._element.remove(),w.trigger(this._element,Vl),this.dispose()}static jQueryInterface(i){return this.each(function(){const c=Ve.getOrCreateInstance(this);if(typeof i=="string"){if(c[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);c[i](this)}})}}Kt(Ve,"close"),ot(Ve);const Zl='[data-bs-toggle="button"]';class ta extends je{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(i){return this.each(function(){const c=ta.getOrCreateInstance(this);i==="toggle"&&c[i]()})}}w.on(document,"click.bs.button.data-api",Zl,h=>{h.preventDefault();const i=h.target.closest(Zl);ta.getOrCreateInstance(i).toggle()}),ot(ta);const tn=".bs.swipe",ks=`touchstart${tn}`,Ui=`touchmove${tn}`,Xs=`touchend${tn}`,Gs=`pointerdown${tn}`,Qs=`pointerup${tn}`,ao={endCallback:null,leftCallback:null,rightCallback:null},lo={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Le extends oe{constructor(i,c){super(),this._element=i,i&&Le.isSupported()&&(this._config=this._getConfig(c),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return ao}static get DefaultType(){return lo}static get NAME(){return"swipe"}dispose(){w.off(this._element,tn)}_start(i){this._supportPointerEvents?this._eventIsPointerPenTouch(i)&&(this._deltaX=i.clientX):this._deltaX=i.touches[0].clientX}_end(i){this._eventIsPointerPenTouch(i)&&(this._deltaX=i.clientX-this._deltaX),this._handleSwipe(),it(this._config.endCallback)}_move(i){this._deltaX=i.touches&&i.touches.length>1?0:i.touches[0].clientX-this._deltaX}_handleSwipe(){const i=Math.abs(this._deltaX);if(i<=40)return;const c=i/this._deltaX;this._deltaX=0,c&&it(c>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(w.on(this._element,Gs,i=>this._start(i)),w.on(this._element,Qs,i=>this._end(i)),this._element.classList.add("pointer-event")):(w.on(this._element,ks,i=>this._start(i)),w.on(this._element,Ui,i=>this._move(i)),w.on(this._element,Xs,i=>this._end(i)))}_eventIsPointerPenTouch(i){return this._supportPointerEvents&&(i.pointerType==="pen"||i.pointerType==="touch")}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const ea=".bs.carousel",Vs=".data-api",tl="next",Nn="prev",el="left",Kl="right",io=`slide${ea}`,Zs=`slid${ea}`,$l=`keydown${ea}`,Ue=`mouseenter${ea}`,so=`mouseleave${ea}`,na=`dragstart${ea}`,He=`load${ea}${Vs}`,uo=`click${ea}${Vs}`,vr="carousel",Hi="active",Jl=".active",Fl=".carousel-item",Ea=Jl+Fl,qi={ArrowLeft:Kl,ArrowRight:el},Wl={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},ro={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Ta extends je{constructor(i,c){super(i,c),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=$.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===vr&&this.cycle()}static get Default(){return Wl}static get DefaultType(){return ro}static get NAME(){return"carousel"}next(){this._slide(tl)}nextWhenVisible(){!document.hidden&&U(this._element)&&this.next()}prev(){this._slide(Nn)}pause(){this._isSliding&&S(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?w.one(this._element,Zs,()=>this.cycle()):this.cycle())}to(i){const c=this._getItems();if(i>c.length-1||i<0)return;if(this._isSliding)return void w.one(this._element,Zs,()=>this.to(i));const p=this._getItemIndex(this._getActive());if(p===i)return;const b=i>p?tl:Nn;this._slide(b,c[i])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(i){return i.defaultInterval=i.interval,i}_addEventListeners(){this._config.keyboard&&w.on(this._element,$l,i=>this._keydown(i)),this._config.pause==="hover"&&(w.on(this._element,Ue,()=>this.pause()),w.on(this._element,so,()=>this._maybeEnableCycle())),this._config.touch&&Le.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const c of $.find(".carousel-item img",this._element))w.on(c,na,p=>p.preventDefault());const i={leftCallback:()=>this._slide(this._directionToOrder(el)),rightCallback:()=>this._slide(this._directionToOrder(Kl)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}};this._swipeHelper=new Le(this._element,i)}_keydown(i){if(/input|textarea/i.test(i.target.tagName))return;const c=qi[i.key];c&&(i.preventDefault(),this._slide(this._directionToOrder(c)))}_getItemIndex(i){return this._getItems().indexOf(i)}_setActiveIndicatorElement(i){if(!this._indicatorsElement)return;const c=$.findOne(Jl,this._indicatorsElement);c.classList.remove(Hi),c.removeAttribute("aria-current");const p=$.findOne(`[data-bs-slide-to="${i}"]`,this._indicatorsElement);p&&(p.classList.add(Hi),p.setAttribute("aria-current","true"))}_updateInterval(){const i=this._activeElement||this._getActive();if(!i)return;const c=Number.parseInt(i.getAttribute("data-bs-interval"),10);this._config.interval=c||this._config.defaultInterval}_slide(i,c=null){if(this._isSliding)return;const p=this._getActive(),b=i===tl,E=c||ee(this._getItems(),p,b,this._config.wrap);if(E===p)return;const D=this._getItemIndex(E),j=B=>w.trigger(this._element,B,{relatedTarget:E,direction:this._orderToDirection(i),from:this._getItemIndex(p),to:D});if(j(io).defaultPrevented||!p||!E)return;const k=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(D),this._activeElement=E;const L=b?"carousel-item-start":"carousel-item-end",q=b?"carousel-item-next":"carousel-item-prev";E.classList.add(q),tt(E),p.classList.add(L),E.classList.add(L),this._queueCallback(()=>{E.classList.remove(L,q),E.classList.add(Hi),p.classList.remove(Hi,q,L),this._isSliding=!1,j(Zs)},p,this._isAnimated()),k&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return $.findOne(Ea,this._element)}_getItems(){return $.find(Fl,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(i){return rt()?i===el?Nn:tl:i===el?tl:Nn}_orderToDirection(i){return rt()?i===Nn?el:Kl:i===Nn?Kl:el}static jQueryInterface(i){return this.each(function(){const c=Ta.getOrCreateInstance(this,i);if(typeof i!="number"){if(typeof i=="string"){if(c[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);c[i]()}}else c.to(i)})}}w.on(document,uo,"[data-bs-slide], [data-bs-slide-to]",function(h){const i=$.getElementFromSelector(this);if(!i||!i.classList.contains(vr))return;h.preventDefault();const c=Ta.getOrCreateInstance(i),p=this.getAttribute("data-bs-slide-to");return p?(c.to(p),void c._maybeEnableCycle()):vt.getDataAttribute(this,"slide")==="next"?(c.next(),void c._maybeEnableCycle()):(c.prev(),void c._maybeEnableCycle())}),w.on(window,He,()=>{const h=$.find('[data-bs-ride="carousel"]');for(const i of h)Ta.getOrCreateInstance(i)}),ot(Ta);const nl=".bs.collapse",Ks=`show${nl}`,Pl=`shown${nl}`,co=`hide${nl}`,yr=`hidden${nl}`,br=`click${nl}.data-api`,Bi="show",Oa="collapse",Yi="collapsing",aa=`:scope .${Oa} .${Oa}`,se='[data-bs-toggle="collapse"]',xe={parent:null,toggle:!0},al={parent:"(null|element)",toggle:"boolean"};class la extends je{constructor(i,c){super(i,c),this._isTransitioning=!1,this._triggerArray=[];const p=$.find(se);for(const b of p){const E=$.getSelectorFromElement(b),D=$.find(E).filter(j=>j===this._element);E!==null&&D.length&&this._triggerArray.push(b)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return xe}static get DefaultType(){return al}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let i=[];if(this._config.parent&&(i=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(b=>b!==this._element).map(b=>la.getOrCreateInstance(b,{toggle:!1}))),i.length&&i[0]._isTransitioning||w.trigger(this._element,Ks).defaultPrevented)return;for(const b of i)b.hide();const c=this._getDimension();this._element.classList.remove(Oa),this._element.classList.add(Yi),this._element.style[c]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const p=`scroll${c[0].toUpperCase()+c.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Yi),this._element.classList.add(Oa,Bi),this._element.style[c]="",w.trigger(this._element,Pl)},this._element,!0),this._element.style[c]=`${this._element[p]}px`}hide(){if(this._isTransitioning||!this._isShown()||w.trigger(this._element,co).defaultPrevented)return;const i=this._getDimension();this._element.style[i]=`${this._element.getBoundingClientRect()[i]}px`,tt(this._element),this._element.classList.add(Yi),this._element.classList.remove(Oa,Bi);for(const c of this._triggerArray){const p=$.getElementFromSelector(c);p&&!this._isShown(p)&&this._addAriaAndCollapsedClass([c],!1)}this._isTransitioning=!0,this._element.style[i]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Yi),this._element.classList.add(Oa),w.trigger(this._element,yr)},this._element,!0)}_isShown(i=this._element){return i.classList.contains(Bi)}_configAfterMerge(i){return i.toggle=!!i.toggle,i.parent=N(i.parent),i}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const i=this._getFirstLevelChildren(se);for(const c of i){const p=$.getElementFromSelector(c);p&&this._addAriaAndCollapsedClass([c],this._isShown(p))}}_getFirstLevelChildren(i){const c=$.find(aa,this._config.parent);return $.find(i,this._config.parent).filter(p=>!c.includes(p))}_addAriaAndCollapsedClass(i,c){if(i.length)for(const p of i)p.classList.toggle("collapsed",!c),p.setAttribute("aria-expanded",c)}static jQueryInterface(i){const c={};return typeof i=="string"&&/show|hide/.test(i)&&(c.toggle=!1),this.each(function(){const p=la.getOrCreateInstance(this,c);if(typeof i=="string"){if(p[i]===void 0)throw new TypeError(`No method named "${i}"`);p[i]()}})}}w.on(document,br,se,function(h){(h.target.tagName==="A"||h.delegateTarget&&h.delegateTarget.tagName==="A")&&h.preventDefault();for(const i of $.getMultipleElementsFromSelector(this))la.getOrCreateInstance(i,{toggle:!1}).toggle()}),ot(la);var ye="top",qe="bottom",Ce="right",ae="left",ll="auto",Ze=[ye,qe,Ce,ae],Ke="start",gn="end",xa="clippingParents",Ft="viewport",Ca="popper",$s="reference",Rn=Ze.reduce(function(h,i){return h.concat([i+"-"+Ke,i+"-"+gn])},[]),ia=[].concat(Ze,[ll]).reduce(function(h,i){return h.concat([i,i+"-"+Ke,i+"-"+gn])},[]),pn="beforeRead",_r="read",Js="afterRead",Fs="beforeMain",Sr="main",Il="afterMain",ti="beforeWrite",vn="write",Be="afterWrite",Ws=[pn,_r,Js,Fs,Sr,Il,ti,vn,Be];function yn(h){return h?(h.nodeName||"").toLowerCase():null}function fe(h){if(h==null)return window;if(h.toString()!=="[object Window]"){var i=h.ownerDocument;return i&&i.defaultView||window}return h}function sa(h){return h instanceof fe(h).Element||h instanceof Element}function be(h){return h instanceof fe(h).HTMLElement||h instanceof HTMLElement}function Ps(h){return typeof ShadowRoot<"u"&&(h instanceof fe(h).ShadowRoot||h instanceof ShadowRoot)}const De={name:"applyStyles",enabled:!0,phase:"write",fn:function(h){var i=h.state;Object.keys(i.elements).forEach(function(c){var p=i.styles[c]||{},b=i.attributes[c]||{},E=i.elements[c];be(E)&&yn(E)&&(Object.assign(E.style,p),Object.keys(b).forEach(function(D){var j=b[D];j===!1?E.removeAttribute(D):E.setAttribute(D,j===!0?"":j)}))})},effect:function(h){var i=h.state,c={popper:{position:i.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(i.elements.popper.style,c.popper),i.styles=c,i.elements.arrow&&Object.assign(i.elements.arrow.style,c.arrow),function(){Object.keys(i.elements).forEach(function(p){var b=i.elements[p],E=i.attributes[p]||{},D=Object.keys(i.styles.hasOwnProperty(p)?i.styles[p]:c[p]).reduce(function(j,k){return j[k]="",j},{});be(b)&&yn(b)&&(Object.assign(b.style,D),Object.keys(E).forEach(function(j){b.removeAttribute(j)}))})}},requires:["computeStyles"]};function $e(h){return h.split("-")[0]}var ua=Math.max,il=Math.min,en=Math.round;function ki(){var h=navigator.userAgentData;return h!=null&&h.brands&&Array.isArray(h.brands)?h.brands.map(function(i){return i.brand+"/"+i.version}).join(" "):navigator.userAgent}function Is(){return!/^((?!chrome|android).)*safari/i.test(ki())}function nn(h,i,c){i===void 0&&(i=!1),c===void 0&&(c=!1);var p=h.getBoundingClientRect(),b=1,E=1;i&&be(h)&&(b=h.offsetWidth>0&&en(p.width)/h.offsetWidth||1,E=h.offsetHeight>0&&en(p.height)/h.offsetHeight||1);var D=(sa(h)?fe(h):window).visualViewport,j=!Is()&&c,k=(p.left+(j&&D?D.offsetLeft:0))/b,L=(p.top+(j&&D?D.offsetTop:0))/E,q=p.width/b,B=p.height/E;return{width:q,height:B,top:L,right:k+q,bottom:L+B,left:k,x:k,y:L}}function tu(h){var i=nn(h),c=h.offsetWidth,p=h.offsetHeight;return Math.abs(i.width-c)<=1&&(c=i.width),Math.abs(i.height-p)<=1&&(p=i.height),{x:h.offsetLeft,y:h.offsetTop,width:c,height:p}}function eu(h,i){var c=i.getRootNode&&i.getRootNode();if(h.contains(i))return!0;if(c&&Ps(c)){var p=i;do{if(p&&h.isSameNode(p))return!0;p=p.parentNode||p.host}while(p)}return!1}function bn(h){return fe(h).getComputedStyle(h)}function nu(h){return["table","td","th"].indexOf(yn(h))>=0}function ra(h){return((sa(h)?h.ownerDocument:h.document)||window.document).documentElement}function Xi(h){return yn(h)==="html"?h:h.assignedSlot||h.parentNode||(Ps(h)?h.host:null)||ra(h)}function ei(h){return be(h)&&bn(h).position!=="fixed"?h.offsetParent:null}function Da(h){for(var i=fe(h),c=ei(h);c&&nu(c)&&bn(c).position==="static";)c=ei(c);return c&&(yn(c)==="html"||yn(c)==="body"&&bn(c).position==="static")?i:c||function(p){var b=/firefox/i.test(ki());if(/Trident/i.test(ki())&&be(p)&&bn(p).position==="fixed")return null;var E=Xi(p);for(Ps(E)&&(E=E.host);be(E)&&["html","body"].indexOf(yn(E))<0;){var D=bn(E);if(D.transform!=="none"||D.perspective!=="none"||D.contain==="paint"||["transform","perspective"].indexOf(D.willChange)!==-1||b&&D.willChange==="filter"||b&&D.filter&&D.filter!=="none")return E;E=E.parentNode}return null}(h)||i}function ni(h){return["top","bottom"].indexOf(h)>=0?"x":"y"}function _n(h,i,c){return ua(h,il(i,c))}function Ma(h){return Object.assign({},{top:0,right:0,bottom:0,left:0},h)}function au(h,i){return i.reduce(function(c,p){return c[p]=h,c},{})}const Gi={name:"arrow",enabled:!0,phase:"main",fn:function(h){var i,c=h.state,p=h.name,b=h.options,E=c.elements.arrow,D=c.modifiersData.popperOffsets,j=$e(c.placement),k=ni(j),L=[ae,Ce].indexOf(j)>=0?"height":"width";if(E&&D){var q=function(jt,Mt){return Ma(typeof(jt=typeof jt=="function"?jt(Object.assign({},Mt.rects,{placement:Mt.placement})):jt)!="number"?jt:au(jt,Ze))}(b.padding,c),B=tu(E),ht=k==="y"?ye:ae,et=k==="y"?qe:Ce,at=c.rects.reference[L]+c.rects.reference[k]-D[k]-c.rects.popper[L],lt=D[k]-c.rects.reference[k],st=Da(E),Tt=st?k==="y"?st.clientHeight||0:st.clientWidth||0:0,Lt=at/2-lt/2,W=q[ht],Ot=Tt-B[L]-q[et],gt=Tt/2-B[L]/2+Lt,yt=_n(W,gt,Ot),zt=k;c.modifiersData[p]=((i={})[zt]=yt,i.centerOffset=yt-gt,i)}},effect:function(h){var i=h.state,c=h.options.element,p=c===void 0?"[data-popper-arrow]":c;p!=null&&(typeof p!="string"||(p=i.elements.popper.querySelector(p)))&&eu(i.elements.popper,p)&&(i.elements.arrow=p)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function wa(h){return h.split("-")[1]}var ai={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Qi(h){var i,c=h.popper,p=h.popperRect,b=h.placement,E=h.variation,D=h.offsets,j=h.position,k=h.gpuAcceleration,L=h.adaptive,q=h.roundOffsets,B=h.isFixed,ht=D.x,et=ht===void 0?0:ht,at=D.y,lt=at===void 0?0:at,st=typeof q=="function"?q({x:et,y:lt}):{x:et,y:lt};et=st.x,lt=st.y;var Tt=D.hasOwnProperty("x"),Lt=D.hasOwnProperty("y"),W=ae,Ot=ye,gt=window;if(L){var yt=Da(c),zt="clientHeight",jt="clientWidth";yt===fe(c)&&bn(yt=ra(c)).position!=="static"&&j==="absolute"&&(zt="scrollHeight",jt="scrollWidth"),(b===ye||(b===ae||b===Ce)&&E===gn)&&(Ot=qe,lt-=(B&&yt===gt&&gt.visualViewport?gt.visualViewport.height:yt[zt])-p.height,lt*=k?1:-1),b!==ae&&(b!==ye&&b!==qe||E!==gn)||(W=Ce,et-=(B&&yt===gt&&gt.visualViewport?gt.visualViewport.width:yt[jt])-p.width,et*=k?1:-1)}var Mt,Vt=Object.assign({position:j},L&&ai),Ae=q===!0?function(Xt,At){var Ee=Xt.x,he=Xt.y,Bt=At.devicePixelRatio||1;return{x:en(Ee*Bt)/Bt||0,y:en(he*Bt)/Bt||0}}({x:et,y:lt},fe(c)):{x:et,y:lt};return et=Ae.x,lt=Ae.y,k?Object.assign({},Vt,((Mt={})[Ot]=Lt?"0":"",Mt[W]=Tt?"0":"",Mt.transform=(gt.devicePixelRatio||1)<=1?"translate("+et+"px, "+lt+"px)":"translate3d("+et+"px, "+lt+"px, 0)",Mt)):Object.assign({},Vt,((i={})[Ot]=Lt?lt+"px":"",i[W]=Tt?et+"px":"",i.transform="",i))}const za={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(h){var i=h.state,c=h.options,p=c.gpuAcceleration,b=p===void 0||p,E=c.adaptive,D=E===void 0||E,j=c.roundOffsets,k=j===void 0||j,L={placement:$e(i.placement),variation:wa(i.placement),popper:i.elements.popper,popperRect:i.rects.popper,gpuAcceleration:b,isFixed:i.options.strategy==="fixed"};i.modifiersData.popperOffsets!=null&&(i.styles.popper=Object.assign({},i.styles.popper,Qi(Object.assign({},L,{offsets:i.modifiersData.popperOffsets,position:i.options.strategy,adaptive:D,roundOffsets:k})))),i.modifiersData.arrow!=null&&(i.styles.arrow=Object.assign({},i.styles.arrow,Qi(Object.assign({},L,{offsets:i.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:k})))),i.attributes.popper=Object.assign({},i.attributes.popper,{"data-popper-placement":i.placement})},data:{}};var an={passive:!0};const li={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(h){var i=h.state,c=h.instance,p=h.options,b=p.scroll,E=b===void 0||b,D=p.resize,j=D===void 0||D,k=fe(i.elements.popper),L=[].concat(i.scrollParents.reference,i.scrollParents.popper);return E&&L.forEach(function(q){q.addEventListener("scroll",c.update,an)}),j&&k.addEventListener("resize",c.update,an),function(){E&&L.forEach(function(q){q.removeEventListener("scroll",c.update,an)}),j&&k.removeEventListener("resize",c.update,an)}},data:{}};var Vi={left:"right",right:"left",bottom:"top",top:"bottom"};function ii(h){return h.replace(/left|right|bottom|top/g,function(i){return Vi[i]})}var Zi={start:"end",end:"start"};function si(h){return h.replace(/start|end/g,function(i){return Zi[i]})}function Ki(h){var i=fe(h);return{scrollLeft:i.pageXOffset,scrollTop:i.pageYOffset}}function de(h){return nn(ra(h)).left+Ki(h).scrollLeft}function jn(h){var i=bn(h),c=i.overflow,p=i.overflowX,b=i.overflowY;return/auto|scroll|overlay|hidden/.test(c+b+p)}function ui(h){return["html","body","#document"].indexOf(yn(h))>=0?h.ownerDocument.body:be(h)&&jn(h)?h:ui(Xi(h))}function Ln(h,i){var c;i===void 0&&(i=[]);var p=ui(h),b=p===((c=h.ownerDocument)==null?void 0:c.body),E=fe(p),D=b?[E].concat(E.visualViewport||[],jn(p)?p:[]):p,j=i.concat(D);return b?j:j.concat(Ln(Xi(D)))}function lu(h){return Object.assign({},h,{left:h.x,top:h.y,right:h.x+h.width,bottom:h.y+h.height})}function $i(h,i,c){return i===Ft?lu(function(p,b){var E=fe(p),D=ra(p),j=E.visualViewport,k=D.clientWidth,L=D.clientHeight,q=0,B=0;if(j){k=j.width,L=j.height;var ht=Is();(ht||!ht&&b==="fixed")&&(q=j.offsetLeft,B=j.offsetTop)}return{width:k,height:L,x:q+de(p),y:B}}(h,c)):sa(i)?function(p,b){var E=nn(p,!1,b==="fixed");return E.top=E.top+p.clientTop,E.left=E.left+p.clientLeft,E.bottom=E.top+p.clientHeight,E.right=E.left+p.clientWidth,E.width=p.clientWidth,E.height=p.clientHeight,E.x=E.left,E.y=E.top,E}(i,c):lu(function(p){var b,E=ra(p),D=Ki(p),j=(b=p.ownerDocument)==null?void 0:b.body,k=ua(E.scrollWidth,E.clientWidth,j?j.scrollWidth:0,j?j.clientWidth:0),L=ua(E.scrollHeight,E.clientHeight,j?j.scrollHeight:0,j?j.clientHeight:0),q=-D.scrollLeft+de(p),B=-D.scrollTop;return bn(j||E).direction==="rtl"&&(q+=ua(E.clientWidth,j?j.clientWidth:0)-k),{width:k,height:L,x:q,y:B}}(ra(h)))}function Ji(h){var i,c=h.reference,p=h.element,b=h.placement,E=b?$e(b):null,D=b?wa(b):null,j=c.x+c.width/2-p.width/2,k=c.y+c.height/2-p.height/2;switch(E){case ye:i={x:j,y:c.y-p.height};break;case qe:i={x:j,y:c.y+c.height};break;case Ce:i={x:c.x+c.width,y:k};break;case ae:i={x:c.x-p.width,y:k};break;default:i={x:c.x,y:c.y}}var L=E?ni(E):null;if(L!=null){var q=L==="y"?"height":"width";switch(D){case Ke:i[L]=i[L]-(c[q]/2-p[q]/2);break;case gn:i[L]=i[L]+(c[q]/2-p[q]/2)}}return i}function Sn(h,i){i===void 0&&(i={});var c=i,p=c.placement,b=p===void 0?h.placement:p,E=c.strategy,D=E===void 0?h.strategy:E,j=c.boundary,k=j===void 0?xa:j,L=c.rootBoundary,q=L===void 0?Ft:L,B=c.elementContext,ht=B===void 0?Ca:B,et=c.altBoundary,at=et!==void 0&&et,lt=c.padding,st=lt===void 0?0:lt,Tt=Ma(typeof st!="number"?st:au(st,Ze)),Lt=ht===Ca?$s:Ca,W=h.rects.popper,Ot=h.elements[at?Lt:ht],gt=function(At,Ee,he,Bt){var Pe=Ee==="clippingParents"?function(Rt){var me=Ln(Xi(Rt)),Ge=["absolute","fixed"].indexOf(bn(Rt).position)>=0&&be(Rt)?Da(Rt):Rt;return sa(Ge)?me.filter(function(Qn){return sa(Qn)&&eu(Qn,Ge)&&yn(Qn)!=="body"}):[]}(At):[].concat(Ee),ue=[].concat(Pe,[he]),Gn=ue[0],Wt=ue.reduce(function(Rt,me){var Ge=$i(At,me,Bt);return Rt.top=ua(Ge.top,Rt.top),Rt.right=il(Ge.right,Rt.right),Rt.bottom=il(Ge.bottom,Rt.bottom),Rt.left=ua(Ge.left,Rt.left),Rt},$i(At,Gn,Bt));return Wt.width=Wt.right-Wt.left,Wt.height=Wt.bottom-Wt.top,Wt.x=Wt.left,Wt.y=Wt.top,Wt}(sa(Ot)?Ot:Ot.contextElement||ra(h.elements.popper),k,q,D),yt=nn(h.elements.reference),zt=Ji({reference:yt,element:W,placement:b}),jt=lu(Object.assign({},W,zt)),Mt=ht===Ca?jt:yt,Vt={top:gt.top-Mt.top+Tt.top,bottom:Mt.bottom-gt.bottom+Tt.bottom,left:gt.left-Mt.left+Tt.left,right:Mt.right-gt.right+Tt.right},Ae=h.modifiersData.offset;if(ht===Ca&&Ae){var Xt=Ae[b];Object.keys(Vt).forEach(function(At){var Ee=[Ce,qe].indexOf(At)>=0?1:-1,he=[ye,qe].indexOf(At)>=0?"y":"x";Vt[At]+=Xt[he]*Ee})}return Vt}function Fi(h,i){i===void 0&&(i={});var c=i,p=c.placement,b=c.boundary,E=c.rootBoundary,D=c.padding,j=c.flipVariations,k=c.allowedAutoPlacements,L=k===void 0?ia:k,q=wa(p),B=q?j?Rn:Rn.filter(function(at){return wa(at)===q}):Ze,ht=B.filter(function(at){return L.indexOf(at)>=0});ht.length===0&&(ht=B);var et=ht.reduce(function(at,lt){return at[lt]=Sn(h,{placement:lt,boundary:b,rootBoundary:E,padding:D})[$e(lt)],at},{});return Object.keys(et).sort(function(at,lt){return et[at]-et[lt]})}const iu={name:"flip",enabled:!0,phase:"main",fn:function(h){var i=h.state,c=h.options,p=h.name;if(!i.modifiersData[p]._skip){for(var b=c.mainAxis,E=b===void 0||b,D=c.altAxis,j=D===void 0||D,k=c.fallbackPlacements,L=c.padding,q=c.boundary,B=c.rootBoundary,ht=c.altBoundary,et=c.flipVariations,at=et===void 0||et,lt=c.allowedAutoPlacements,st=i.options.placement,Tt=$e(st),Lt=k||(Tt!==st&&at?function(Rt){if($e(Rt)===ll)return[];var me=ii(Rt);return[si(Rt),me,si(me)]}(st):[ii(st)]),W=[st].concat(Lt).reduce(function(Rt,me){return Rt.concat($e(me)===ll?Fi(i,{placement:me,boundary:q,rootBoundary:B,padding:L,flipVariations:at,allowedAutoPlacements:lt}):me)},[]),Ot=i.rects.reference,gt=i.rects.popper,yt=new Map,zt=!0,jt=W[0],Mt=0;Mt<W.length;Mt++){var Vt=W[Mt],Ae=$e(Vt),Xt=wa(Vt)===Ke,At=[ye,qe].indexOf(Ae)>=0,Ee=At?"width":"height",he=Sn(i,{placement:Vt,boundary:q,rootBoundary:B,altBoundary:ht,padding:L}),Bt=At?Xt?Ce:ae:Xt?qe:ye;Ot[Ee]>gt[Ee]&&(Bt=ii(Bt));var Pe=ii(Bt),ue=[];if(E&&ue.push(he[Ae]<=0),j&&ue.push(he[Bt]<=0,he[Pe]<=0),ue.every(function(Rt){return Rt})){jt=Vt,zt=!1;break}yt.set(Vt,ue)}if(zt)for(var Gn=function(Rt){var me=W.find(function(Ge){var Qn=yt.get(Ge);if(Qn)return Qn.slice(0,Rt).every(function(bi){return bi})});if(me)return jt=me,"break"},Wt=at?3:1;Wt>0&&Gn(Wt)!=="break";Wt--);i.placement!==jt&&(i.modifiersData[p]._skip=!0,i.placement=jt,i.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Ar(h,i,c){return c===void 0&&(c={x:0,y:0}),{top:h.top-i.height-c.y,right:h.right-i.width+c.x,bottom:h.bottom-i.height+c.y,left:h.left-i.width-c.x}}function Er(h){return[ye,Ce,qe,ae].some(function(i){return h[i]>=0})}const Tr={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(h){var i=h.state,c=h.name,p=i.rects.reference,b=i.rects.popper,E=i.modifiersData.preventOverflow,D=Sn(i,{elementContext:"reference"}),j=Sn(i,{altBoundary:!0}),k=Ar(D,p),L=Ar(j,b,E),q=Er(k),B=Er(L);i.modifiersData[c]={referenceClippingOffsets:k,popperEscapeOffsets:L,isReferenceHidden:q,hasPopperEscaped:B},i.attributes.popper=Object.assign({},i.attributes.popper,{"data-popper-reference-hidden":q,"data-popper-escaped":B})}},Wi={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(h){var i=h.state,c=h.options,p=h.name,b=c.offset,E=b===void 0?[0,0]:b,D=ia.reduce(function(q,B){return q[B]=function(ht,et,at){var lt=$e(ht),st=[ae,ye].indexOf(lt)>=0?-1:1,Tt=typeof at=="function"?at(Object.assign({},et,{placement:ht})):at,Lt=Tt[0],W=Tt[1];return Lt=Lt||0,W=(W||0)*st,[ae,Ce].indexOf(lt)>=0?{x:W,y:Lt}:{x:Lt,y:W}}(B,i.rects,E),q},{}),j=D[i.placement],k=j.x,L=j.y;i.modifiersData.popperOffsets!=null&&(i.modifiersData.popperOffsets.x+=k,i.modifiersData.popperOffsets.y+=L),i.modifiersData[p]=D}},su={name:"popperOffsets",enabled:!0,phase:"read",fn:function(h){var i=h.state,c=h.name;i.modifiersData[c]=Ji({reference:i.rects.reference,element:i.rects.popper,placement:i.placement})},data:{}},Or={name:"preventOverflow",enabled:!0,phase:"main",fn:function(h){var i=h.state,c=h.options,p=h.name,b=c.mainAxis,E=b===void 0||b,D=c.altAxis,j=D!==void 0&&D,k=c.boundary,L=c.rootBoundary,q=c.altBoundary,B=c.padding,ht=c.tether,et=ht===void 0||ht,at=c.tetherOffset,lt=at===void 0?0:at,st=Sn(i,{boundary:k,rootBoundary:L,padding:B,altBoundary:q}),Tt=$e(i.placement),Lt=wa(i.placement),W=!Lt,Ot=ni(Tt),gt=Ot==="x"?"y":"x",yt=i.modifiersData.popperOffsets,zt=i.rects.reference,jt=i.rects.popper,Mt=typeof lt=="function"?lt(Object.assign({},i.rects,{placement:i.placement})):lt,Vt=typeof Mt=="number"?{mainAxis:Mt,altAxis:Mt}:Object.assign({mainAxis:0,altAxis:0},Mt),Ae=i.modifiersData.offset?i.modifiersData.offset[i.placement]:null,Xt={x:0,y:0};if(yt){if(E){var At,Ee=Ot==="y"?ye:ae,he=Ot==="y"?qe:Ce,Bt=Ot==="y"?"height":"width",Pe=yt[Ot],ue=Pe+st[Ee],Gn=Pe-st[he],Wt=et?-jt[Bt]/2:0,Rt=Lt===Ke?zt[Bt]:jt[Bt],me=Lt===Ke?-jt[Bt]:-zt[Bt],Ge=i.elements.arrow,Qn=et&&Ge?tu(Ge):{width:0,height:0},bi=i.modifiersData["arrow#persistent"]?i.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Cu=bi[Ee],Du=bi[he],El=_n(0,zt[Bt],Qn[Bt]),nc=W?zt[Bt]/2-Wt-El-Cu-Vt.mainAxis:Rt-El-Cu-Vt.mainAxis,Mo=W?-zt[Bt]/2+Wt+El+Du+Vt.mainAxis:me+El+Du+Vt.mainAxis,ys=i.elements.arrow&&Da(i.elements.arrow),ac=ys?Ot==="y"?ys.clientTop||0:ys.clientLeft||0:0,Mu=(At=Ae==null?void 0:Ae[Ot])!=null?At:0,wu=Pe+Mo-Mu,zu=_n(et?il(ue,Pe+nc-Mu-ac):ue,Pe,et?ua(Gn,wu):Gn);yt[Ot]=zu,Xt[Ot]=zu-Pe}if(j){var Nu,lc=Ot==="x"?ye:ae,ic=Ot==="x"?qe:Ce,pa=yt[gt],bs=gt==="y"?"height":"width",Ru=pa+st[lc],qa=pa-st[ic],_s=[ye,ae].indexOf(Tt)!==-1,_i=(Nu=Ae==null?void 0:Ae[gt])!=null?Nu:0,Si=_s?Ru:pa-zt[bs]-jt[bs]-_i+Vt.altAxis,ju=_s?pa+zt[bs]+jt[bs]-_i-Vt.altAxis:qa,Ss=et&&_s?function(sc,uc,As){var Lu=_n(sc,uc,As);return Lu>As?As:Lu}(Si,pa,ju):_n(et?Si:Ru,pa,et?ju:qa);yt[gt]=Ss,Xt[gt]=Ss-pa}i.modifiersData[p]=Xt}},requiresIfExists:["offset"]};function oo(h,i,c){c===void 0&&(c=!1);var p,b,E=be(i),D=be(i)&&function(B){var ht=B.getBoundingClientRect(),et=en(ht.width)/B.offsetWidth||1,at=en(ht.height)/B.offsetHeight||1;return et!==1||at!==1}(i),j=ra(i),k=nn(h,D,c),L={scrollLeft:0,scrollTop:0},q={x:0,y:0};return(E||!E&&!c)&&((yn(i)!=="body"||jn(j))&&(L=(p=i)!==fe(p)&&be(p)?{scrollLeft:(b=p).scrollLeft,scrollTop:b.scrollTop}:Ki(p)),be(i)?((q=nn(i,!0)).x+=i.clientLeft,q.y+=i.clientTop):j&&(q.x=de(j))),{x:k.left+L.scrollLeft-q.x,y:k.top+L.scrollTop-q.y,width:k.width,height:k.height}}function fo(h){var i=new Map,c=new Set,p=[];function b(E){c.add(E.name),[].concat(E.requires||[],E.requiresIfExists||[]).forEach(function(D){if(!c.has(D)){var j=i.get(D);j&&b(j)}}),p.push(E)}return h.forEach(function(E){i.set(E.name,E)}),h.forEach(function(E){c.has(E.name)||b(E)}),p}var xr={placement:"bottom",modifiers:[],strategy:"absolute"};function uu(){for(var h=arguments.length,i=new Array(h),c=0;c<h;c++)i[c]=arguments[c];return!i.some(function(p){return!(p&&typeof p.getBoundingClientRect=="function")})}function Pi(h){h===void 0&&(h={});var i=h,c=i.defaultModifiers,p=c===void 0?[]:c,b=i.defaultOptions,E=b===void 0?xr:b;return function(D,j,k){k===void 0&&(k=E);var L,q,B={placement:"bottom",orderedModifiers:[],options:Object.assign({},xr,E),modifiersData:{},elements:{reference:D,popper:j},attributes:{},styles:{}},ht=[],et=!1,at={state:B,setOptions:function(st){var Tt=typeof st=="function"?st(B.options):st;lt(),B.options=Object.assign({},E,B.options,Tt),B.scrollParents={reference:sa(D)?Ln(D):D.contextElement?Ln(D.contextElement):[],popper:Ln(j)};var Lt,W,Ot=function(gt){var yt=fo(gt);return Ws.reduce(function(zt,jt){return zt.concat(yt.filter(function(Mt){return Mt.phase===jt}))},[])}((Lt=[].concat(p,B.options.modifiers),W=Lt.reduce(function(gt,yt){var zt=gt[yt.name];return gt[yt.name]=zt?Object.assign({},zt,yt,{options:Object.assign({},zt.options,yt.options),data:Object.assign({},zt.data,yt.data)}):yt,gt},{}),Object.keys(W).map(function(gt){return W[gt]})));return B.orderedModifiers=Ot.filter(function(gt){return gt.enabled}),B.orderedModifiers.forEach(function(gt){var yt=gt.name,zt=gt.options,jt=zt===void 0?{}:zt,Mt=gt.effect;if(typeof Mt=="function"){var Vt=Mt({state:B,name:yt,instance:at,options:jt});ht.push(Vt||function(){})}}),at.update()},forceUpdate:function(){if(!et){var st=B.elements,Tt=st.reference,Lt=st.popper;if(uu(Tt,Lt)){B.rects={reference:oo(Tt,Da(Lt),B.options.strategy==="fixed"),popper:tu(Lt)},B.reset=!1,B.placement=B.options.placement,B.orderedModifiers.forEach(function(Mt){return B.modifiersData[Mt.name]=Object.assign({},Mt.data)});for(var W=0;W<B.orderedModifiers.length;W++)if(B.reset!==!0){var Ot=B.orderedModifiers[W],gt=Ot.fn,yt=Ot.options,zt=yt===void 0?{}:yt,jt=Ot.name;typeof gt=="function"&&(B=gt({state:B,options:zt,name:jt,instance:at})||B)}else B.reset=!1,W=-1}}},update:(L=function(){return new Promise(function(st){at.forceUpdate(),st(B)})},function(){return q||(q=new Promise(function(st){Promise.resolve().then(function(){q=void 0,st(L())})})),q}),destroy:function(){lt(),et=!0}};if(!uu(D,j))return at;function lt(){ht.forEach(function(st){return st()}),ht=[]}return at.setOptions(k).then(function(st){!et&&k.onFirstUpdate&&k.onFirstUpdate(st)}),at}}var ho=Pi(),mo=Pi({defaultModifiers:[li,su,za,De]}),ru=Pi({defaultModifiers:[li,su,za,De,Wi,iu,Or,Gi,Tr]});const Ii=Object.freeze(Object.defineProperty({__proto__:null,afterMain:Il,afterRead:Js,afterWrite:Be,applyStyles:De,arrow:Gi,auto:ll,basePlacements:Ze,beforeMain:Fs,beforeRead:pn,beforeWrite:ti,bottom:qe,clippingParents:xa,computeStyles:za,createPopper:ru,createPopperBase:ho,createPopperLite:mo,detectOverflow:Sn,end:gn,eventListeners:li,flip:iu,hide:Tr,left:ae,main:Sr,modifierPhases:Ws,offset:Wi,placements:ia,popper:Ca,popperGenerator:Pi,popperOffsets:su,preventOverflow:Or,read:_r,reference:$s,right:Ce,start:Ke,top:ye,variationPlacements:Rn,viewport:Ft,write:vn},Symbol.toStringTag,{value:"Module"})),Cr="dropdown",Na=".bs.dropdown",cu=".data-api",Dr="ArrowUp",Mr="ArrowDown",go=`hide${Na}`,po=`hidden${Na}`,vo=`show${Na}`,yo=`shown${Na}`,wr=`click${Na}${cu}`,zr=`keydown${Na}${cu}`,bo=`keyup${Na}${cu}`,sl="show",Un='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',ri=`${Un}.${sl}`,ts=".dropdown-menu",Nr=rt()?"top-end":"top-start",Rr=rt()?"top-start":"top-end",jr=rt()?"bottom-end":"bottom-start",Lr=rt()?"bottom-start":"bottom-end",Ur=rt()?"left-start":"right-start",ul=rt()?"right-start":"left-start",_o={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},So={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class ln extends je{constructor(i,c){super(i,c),this._popper=null,this._parent=this._element.parentNode,this._menu=$.next(this._element,ts)[0]||$.prev(this._element,ts)[0]||$.findOne(ts,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return _o}static get DefaultType(){return So}static get NAME(){return Cr}toggle(){return this._isShown()?this.hide():this.show()}show(){if(X(this._element)||this._isShown())return;const i={relatedTarget:this._element};if(!w.trigger(this._element,vo,i).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const c of[].concat(...document.body.children))w.on(c,"mouseover",Q);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(sl),this._element.classList.add(sl),w.trigger(this._element,yo,i)}}hide(){if(X(this._element)||!this._isShown())return;const i={relatedTarget:this._element};this._completeHide(i)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(i){if(!w.trigger(this._element,go,i).defaultPrevented){if("ontouchstart"in document.documentElement)for(const c of[].concat(...document.body.children))w.off(c,"mouseover",Q);this._popper&&this._popper.destroy(),this._menu.classList.remove(sl),this._element.classList.remove(sl),this._element.setAttribute("aria-expanded","false"),vt.removeDataAttribute(this._menu,"popper"),w.trigger(this._element,po,i)}}_getConfig(i){if(typeof(i=super._getConfig(i)).reference=="object"&&!x(i.reference)&&typeof i.reference.getBoundingClientRect!="function")throw new TypeError(`${Cr.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return i}_createPopper(){if(Ii===void 0)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let i=this._element;this._config.reference==="parent"?i=this._parent:x(this._config.reference)?i=N(this._config.reference):typeof this._config.reference=="object"&&(i=this._config.reference);const c=this._getPopperConfig();this._popper=ru(i,this._menu,c)}_isShown(){return this._menu.classList.contains(sl)}_getPlacement(){const i=this._parent;if(i.classList.contains("dropend"))return Ur;if(i.classList.contains("dropstart"))return ul;if(i.classList.contains("dropup-center"))return"top";if(i.classList.contains("dropdown-center"))return"bottom";const c=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return i.classList.contains("dropup")?c?Rr:Nr:c?Lr:jr}_detectNavbar(){return this._element.closest(".navbar")!==null}_getOffset(){const{offset:i}=this._config;return typeof i=="string"?i.split(",").map(c=>Number.parseInt(c,10)):typeof i=="function"?c=>i(c,this._element):i}_getPopperConfig(){const i={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(vt.setDataAttribute(this._menu,"popper","static"),i.modifiers=[{name:"applyStyles",enabled:!1}]),{...i,...it(this._config.popperConfig,[i])}}_selectMenuItem({key:i,target:c}){const p=$.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(b=>U(b));p.length&&ee(p,c,i===Mr,!p.includes(c)).focus()}static jQueryInterface(i){return this.each(function(){const c=ln.getOrCreateInstance(this,i);if(typeof i=="string"){if(c[i]===void 0)throw new TypeError(`No method named "${i}"`);c[i]()}})}static clearMenus(i){if(i.button===2||i.type==="keyup"&&i.key!=="Tab")return;const c=$.find(ri);for(const p of c){const b=ln.getInstance(p);if(!b||b._config.autoClose===!1)continue;const E=i.composedPath(),D=E.includes(b._menu);if(E.includes(b._element)||b._config.autoClose==="inside"&&!D||b._config.autoClose==="outside"&&D||b._menu.contains(i.target)&&(i.type==="keyup"&&i.key==="Tab"||/input|select|option|textarea|form/i.test(i.target.tagName)))continue;const j={relatedTarget:b._element};i.type==="click"&&(j.clickEvent=i),b._completeHide(j)}}static dataApiKeydownHandler(i){const c=/input|textarea/i.test(i.target.tagName),p=i.key==="Escape",b=[Dr,Mr].includes(i.key);if(!b&&!p||c&&!p)return;i.preventDefault();const E=this.matches(Un)?this:$.prev(this,Un)[0]||$.next(this,Un)[0]||$.findOne(Un,i.delegateTarget.parentNode),D=ln.getOrCreateInstance(E);if(b)return i.stopPropagation(),D.show(),void D._selectMenuItem(i);D._isShown()&&(i.stopPropagation(),D.hide(),E.focus())}}w.on(document,zr,Un,ln.dataApiKeydownHandler),w.on(document,zr,ts,ln.dataApiKeydownHandler),w.on(document,wr,ln.clearMenus),w.on(document,bo,ln.clearMenus),w.on(document,wr,Un,function(h){h.preventDefault(),ln.getOrCreateInstance(this).toggle()}),ot(ln);const ou="backdrop",fu="show",rl=`mousedown.bs.${ou}`,ci={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Ao={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class oi extends oe{constructor(i){super(),this._config=this._getConfig(i),this._isAppended=!1,this._element=null}static get Default(){return ci}static get DefaultType(){return Ao}static get NAME(){return ou}show(i){if(!this._config.isVisible)return void it(i);this._append();const c=this._getElement();this._config.isAnimated&&tt(c),c.classList.add(fu),this._emulateAnimation(()=>{it(i)})}hide(i){this._config.isVisible?(this._getElement().classList.remove(fu),this._emulateAnimation(()=>{this.dispose(),it(i)})):it(i)}dispose(){this._isAppended&&(w.off(this._element,rl),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const i=document.createElement("div");i.className=this._config.className,this._config.isAnimated&&i.classList.add("fade"),this._element=i}return this._element}_configAfterMerge(i){return i.rootElement=N(i.rootElement),i}_append(){if(this._isAppended)return;const i=this._getElement();this._config.rootElement.append(i),w.on(i,rl,()=>{it(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(i){Ct(i,this._getElement(),this._config.isAnimated)}}const fi=".bs.focustrap",Hr=`focusin${fi}`,du=`keydown.tab${fi}`,es="backward",qr={autofocus:!0,trapElement:null},Br={autofocus:"boolean",trapElement:"element"};class hu extends oe{constructor(i){super(),this._config=this._getConfig(i),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return qr}static get DefaultType(){return Br}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),w.off(document,fi),w.on(document,Hr,i=>this._handleFocusin(i)),w.on(document,du,i=>this._handleKeydown(i)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,w.off(document,fi))}_handleFocusin(i){const{trapElement:c}=this._config;if(i.target===document||i.target===c||c.contains(i.target))return;const p=$.focusableChildren(c);p.length===0?c.focus():this._lastTabNavDirection===es?p[p.length-1].focus():p[0].focus()}_handleKeydown(i){i.key==="Tab"&&(this._lastTabNavDirection=i.shiftKey?es:"forward")}}const Yr=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",kr=".sticky-top",ns="padding-right",Xr="margin-right";class mu{constructor(){this._element=document.body}getWidth(){const i=document.documentElement.clientWidth;return Math.abs(window.innerWidth-i)}hide(){const i=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,ns,c=>c+i),this._setElementAttributes(Yr,ns,c=>c+i),this._setElementAttributes(kr,Xr,c=>c-i)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,ns),this._resetElementAttributes(Yr,ns),this._resetElementAttributes(kr,Xr)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(i,c,p){const b=this.getWidth();this._applyManipulationCallback(i,E=>{if(E!==this._element&&window.innerWidth>E.clientWidth+b)return;this._saveInitialAttribute(E,c);const D=window.getComputedStyle(E).getPropertyValue(c);E.style.setProperty(c,`${p(Number.parseFloat(D))}px`)})}_saveInitialAttribute(i,c){const p=i.style.getPropertyValue(c);p&&vt.setDataAttribute(i,c,p)}_resetElementAttributes(i,c){this._applyManipulationCallback(i,p=>{const b=vt.getDataAttribute(p,c);b!==null?(vt.removeDataAttribute(p,c),p.style.setProperty(c,b)):p.style.removeProperty(c)})}_applyManipulationCallback(i,c){if(x(i))c(i);else for(const p of $.find(i,this._element))c(p)}}const kt=".bs.modal",di=`hide${kt}`,Gr=`hidePrevented${kt}`,gu=`hidden${kt}`,pu=`show${kt}`,Qr=`shown${kt}`,vu=`resize${kt}`,Eo=`click.dismiss${kt}`,To=`mousedown.dismiss${kt}`,cl=`keydown.dismiss${kt}`,yu=`click${kt}.data-api`,ol="modal-open",as="show",ls="modal-static",Ra={backdrop:!0,focus:!0,keyboard:!0},fl={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Hn extends je{constructor(i,c){super(i,c),this._dialog=$.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new mu,this._addEventListeners()}static get Default(){return Ra}static get DefaultType(){return fl}static get NAME(){return"modal"}toggle(i){return this._isShown?this.hide():this.show(i)}show(i){this._isShown||this._isTransitioning||w.trigger(this._element,pu,{relatedTarget:i}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(ol),this._adjustDialog(),this._backdrop.show(()=>this._showElement(i)))}hide(){this._isShown&&!this._isTransitioning&&(w.trigger(this._element,di).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(as),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())))}dispose(){w.off(window,kt),w.off(this._dialog,kt),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new oi({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new hu({trapElement:this._element})}_showElement(i){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 c=$.findOne(".modal-body",this._dialog);c&&(c.scrollTop=0),tt(this._element),this._element.classList.add(as),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,w.trigger(this._element,Qr,{relatedTarget:i})},this._dialog,this._isAnimated())}_addEventListeners(){w.on(this._element,cl,i=>{i.key==="Escape"&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),w.on(window,vu,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),w.on(this._element,To,i=>{w.one(this._element,Eo,c=>{this._element===i.target&&this._element===c.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(ol),this._resetAdjustments(),this._scrollBar.reset(),w.trigger(this._element,gu)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(w.trigger(this._element,Gr).defaultPrevented)return;const i=this._element.scrollHeight>document.documentElement.clientHeight,c=this._element.style.overflowY;c==="hidden"||this._element.classList.contains(ls)||(i||(this._element.style.overflowY="hidden"),this._element.classList.add(ls),this._queueCallback(()=>{this._element.classList.remove(ls),this._queueCallback(()=>{this._element.style.overflowY=c},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const i=this._element.scrollHeight>document.documentElement.clientHeight,c=this._scrollBar.getWidth(),p=c>0;if(p&&!i){const b=rt()?"paddingLeft":"paddingRight";this._element.style[b]=`${c}px`}if(!p&&i){const b=rt()?"paddingRight":"paddingLeft";this._element.style[b]=`${c}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(i,c){return this.each(function(){const p=Hn.getOrCreateInstance(this,i);if(typeof i=="string"){if(p[i]===void 0)throw new TypeError(`No method named "${i}"`);p[i](c)}})}}w.on(document,yu,'[data-bs-toggle="modal"]',function(h){const i=$.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&h.preventDefault(),w.one(i,pu,p=>{p.defaultPrevented||w.one(i,gu,()=>{U(this)&&this.focus()})});const c=$.findOne(".modal.show");c&&Hn.getInstance(c).hide(),Hn.getOrCreateInstance(i).toggle(this)}),Kt(Hn),ot(Hn);const An=".bs.offcanvas",ca=".data-api",Vr=`load${An}${ca}`,bu="show",_u="showing",Zr="hiding",Kr=".offcanvas.show",Oo=`show${An}`,$r=`shown${An}`,Jr=`hide${An}`,Su=`hidePrevented${An}`,Je=`hidden${An}`,Fe=`resize${An}`,dl=`click${An}${ca}`,Au=`keydown.dismiss${An}`,is={backdrop:!0,keyboard:!0,scroll:!1},ss={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class sn extends je{constructor(i,c){super(i,c),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return is}static get DefaultType(){return ss}static get NAME(){return"offcanvas"}toggle(i){return this._isShown?this.hide():this.show(i)}show(i){this._isShown||w.trigger(this._element,Oo,{relatedTarget:i}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||new mu().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(_u),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(bu),this._element.classList.remove(_u),w.trigger(this._element,$r,{relatedTarget:i})},this._element,!0))}hide(){this._isShown&&(w.trigger(this._element,Jr).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Zr),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove(bu,Zr),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new mu().reset(),w.trigger(this._element,Je)},this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const i=!!this._config.backdrop;return new oi({className:"offcanvas-backdrop",isVisible:i,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:i?()=>{this._config.backdrop!=="static"?this.hide():w.trigger(this._element,Su)}:null})}_initializeFocusTrap(){return new hu({trapElement:this._element})}_addEventListeners(){w.on(this._element,Au,i=>{i.key==="Escape"&&(this._config.keyboard?this.hide():w.trigger(this._element,Su))})}static jQueryInterface(i){return this.each(function(){const c=sn.getOrCreateInstance(this,i);if(typeof i=="string"){if(c[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);c[i](this)}})}}w.on(document,dl,'[data-bs-toggle="offcanvas"]',function(h){const i=$.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&h.preventDefault(),X(this))return;w.one(i,Je,()=>{U(this)&&this.focus()});const c=$.findOne(Kr);c&&c!==i&&sn.getInstance(c).hide(),sn.getOrCreateInstance(i).toggle(this)}),w.on(window,Vr,()=>{for(const h of $.find(Kr))sn.getOrCreateInstance(h).show()}),w.on(window,Fe,()=>{for(const h of $.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(h).position!=="fixed"&&sn.getOrCreateInstance(h).hide()}),Kt(sn),ot(sn);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:[]},Fr=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),us=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,hl=(h,i)=>{const c=h.nodeName.toLowerCase();return i.includes(c)?!Fr.has(c)||!!us.test(h.nodeValue):i.filter(p=>p instanceof RegExp).some(p=>p.test(c))},Wr={allowList:qn,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},We={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},ml={entry:"(string|element|function|null)",selector:"(string|element)"};class gl extends oe{constructor(i){super(),this._config=this._getConfig(i)}static get Default(){return Wr}static get DefaultType(){return We}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(i=>this._resolvePossibleFunction(i)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(i){return this._checkContent(i),this._config.content={...this._config.content,...i},this}toHtml(){const i=document.createElement("div");i.innerHTML=this._maybeSanitize(this._config.template);for(const[b,E]of Object.entries(this._config.content))this._setContent(i,E,b);const c=i.children[0],p=this._resolvePossibleFunction(this._config.extraClass);return p&&c.classList.add(...p.split(" ")),c}_typeCheckConfig(i){super._typeCheckConfig(i),this._checkContent(i.content)}_checkContent(i){for(const[c,p]of Object.entries(i))super._typeCheckConfig({selector:c,entry:p},ml)}_setContent(i,c,p){const b=$.findOne(p,i);b&&((c=this._resolvePossibleFunction(c))?x(c)?this._putElementInTemplate(N(c),b):this._config.html?b.innerHTML=this._maybeSanitize(c):b.textContent=c:b.remove())}_maybeSanitize(i){return this._config.sanitize?function(c,p,b){if(!c.length)return c;if(b&&typeof b=="function")return b(c);const E=new window.DOMParser().parseFromString(c,"text/html"),D=[].concat(...E.body.querySelectorAll("*"));for(const j of D){const k=j.nodeName.toLowerCase();if(!Object.keys(p).includes(k)){j.remove();continue}const L=[].concat(...j.attributes),q=[].concat(p["*"]||[],p[k]||[]);for(const B of L)hl(B,q)||j.removeAttribute(B.nodeName)}return E.body.innerHTML}(i,this._config.allowList,this._config.sanitizeFn):i}_resolvePossibleFunction(i){return it(i,[this])}_putElementInTemplate(i,c){if(this._config.html)return c.innerHTML="",void c.append(i);c.textContent=i.textContent}}const rs=new Set(["sanitize","allowList","sanitizeFn"]),pl="fade",_e="show",Ye=".modal",oa="hide.bs.modal",ke="hover",un="focus",ja={AUTO:"auto",TOP:"top",RIGHT:rt()?"left":"right",BOTTOM:"bottom",LEFT:rt()?"right":"left"},Pr={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"},Eu={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 Bn extends je{constructor(i,c){if(Ii===void 0)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(i,c),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 Pr}static get DefaultType(){return Eu}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),w.off(this._element.closest(Ye),oa,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 i=w.trigger(this._element,this.constructor.eventName("show")),c=(Z(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(i.defaultPrevented||!c)return;this._disposePopper();const p=this._getTipElement();this._element.setAttribute("aria-describedby",p.getAttribute("id"));const{container:b}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(b.append(p),w.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(p),p.classList.add(_e),"ontouchstart"in document.documentElement)for(const E of[].concat(...document.body.children))w.on(E,"mouseover",Q);this._queueCallback(()=>{w.trigger(this._element,this.constructor.eventName("shown")),this._isHovered===!1&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}hide(){if(this._isShown()&&!w.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(_e),"ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))w.off(i,"mouseover",Q);this._activeTrigger.click=!1,this._activeTrigger[un]=!1,this._activeTrigger[ke]=!1,this._isHovered=null,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),w.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(i){const c=this._getTemplateFactory(i).toHtml();if(!c)return null;c.classList.remove(pl,_e),c.classList.add(`bs-${this.constructor.NAME}-auto`);const p=(b=>{do b+=Math.floor(1e6*Math.random());while(document.getElementById(b));return b})(this.constructor.NAME).toString();return c.setAttribute("id",p),this._isAnimated()&&c.classList.add(pl),c}setContent(i){this._newContent=i,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(i){return this._templateFactory?this._templateFactory.changeContent(i):this._templateFactory=new gl({...this._config,content:i,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(i){return this.constructor.getOrCreateInstance(i.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(pl)}_isShown(){return this.tip&&this.tip.classList.contains(_e)}_createPopper(i){const c=it(this._config.placement,[this,i,this._element]),p=ja[c.toUpperCase()];return ru(this._element,i,this._getPopperConfig(p))}_getOffset(){const{offset:i}=this._config;return typeof i=="string"?i.split(",").map(c=>Number.parseInt(c,10)):typeof i=="function"?c=>i(c,this._element):i}_resolvePossibleFunction(i){return it(i,[this._element])}_getPopperConfig(i){const c={placement:i,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:p=>{this._getTipElement().setAttribute("data-popper-placement",p.state.placement)}}]};return{...c,...it(this._config.popperConfig,[c])}}_setListeners(){const i=this._config.trigger.split(" ");for(const c of i)if(c==="click")w.on(this._element,this.constructor.eventName("click"),this._config.selector,p=>{this._initializeOnDelegatedTarget(p).toggle()});else if(c!=="manual"){const p=c===ke?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),b=c===ke?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");w.on(this._element,p,this._config.selector,E=>{const D=this._initializeOnDelegatedTarget(E);D._activeTrigger[E.type==="focusin"?un:ke]=!0,D._enter()}),w.on(this._element,b,this._config.selector,E=>{const D=this._initializeOnDelegatedTarget(E);D._activeTrigger[E.type==="focusout"?un:ke]=D._element.contains(E.relatedTarget),D._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},w.on(this._element.closest(Ye),oa,this._hideModalHandler)}_fixTitle(){const i=this._element.getAttribute("title");i&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",i),this._element.setAttribute("data-bs-original-title",i),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(i,c){clearTimeout(this._timeout),this._timeout=setTimeout(i,c)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(i){const c=vt.getDataAttributes(this._element);for(const p of Object.keys(c))rs.has(p)&&delete c[p];return i={...c,...typeof i=="object"&&i?i:{}},i=this._mergeConfigObj(i),i=this._configAfterMerge(i),this._typeCheckConfig(i),i}_configAfterMerge(i){return i.container=i.container===!1?document.body:N(i.container),typeof i.delay=="number"&&(i.delay={show:i.delay,hide:i.delay}),typeof i.title=="number"&&(i.title=i.title.toString()),typeof i.content=="number"&&(i.content=i.content.toString()),i}_getDelegateConfig(){const i={};for(const[c,p]of Object.entries(this._config))this.constructor.Default[c]!==p&&(i[c]=p);return i.selector=!1,i.trigger="manual",i}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(i){return this.each(function(){const c=Bn.getOrCreateInstance(this,i);if(typeof i=="string"){if(c[i]===void 0)throw new TypeError(`No method named "${i}"`);c[i]()}})}}ot(Bn);const Se={...Bn.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"},ce={...Bn.DefaultType,content:"(null|string|element|function)"};class _t extends Bn{static get Default(){return Se}static get DefaultType(){return ce}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(i){return this.each(function(){const c=_t.getOrCreateInstance(this,i);if(typeof i=="string"){if(c[i]===void 0)throw new TypeError(`No method named "${i}"`);c[i]()}})}}ot(_t);const Xe=".bs.scrollspy",En=`activate${Xe}`,cs=`click${Xe}`,La=`load${Xe}.data-api`,Ua="active",os="[href]",vl=".nav-link",hi=`${vl}, .nav-item > ${vl}, .list-group-item`,mi={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},gi={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class yl extends je{constructor(i,c){super(i,c),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 mi}static get DefaultType(){return gi}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const i of this._observableSections.values())this._observer.observe(i)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(i){return i.target=N(i.target)||document.body,i.rootMargin=i.offset?`${i.offset}px 0px -30%`:i.rootMargin,typeof i.threshold=="string"&&(i.threshold=i.threshold.split(",").map(c=>Number.parseFloat(c))),i}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(w.off(this._config.target,cs),w.on(this._config.target,cs,os,i=>{const c=this._observableSections.get(i.target.hash);if(c){i.preventDefault();const p=this._rootElement||window,b=c.offsetTop-this._element.offsetTop;if(p.scrollTo)return void p.scrollTo({top:b,behavior:"smooth"});p.scrollTop=b}}))}_getNewObserver(){const i={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(c=>this._observerCallback(c),i)}_observerCallback(i){const c=D=>this._targetLinks.get(`#${D.target.id}`),p=D=>{this._previousScrollData.visibleEntryTop=D.target.offsetTop,this._process(c(D))},b=(this._rootElement||document.documentElement).scrollTop,E=b>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=b;for(const D of i){if(!D.isIntersecting){this._activeTarget=null,this._clearActiveClass(c(D));continue}const j=D.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(E&&j){if(p(D),!b)return}else E||j||p(D)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const i=$.find(os,this._config.target);for(const c of i){if(!c.hash||X(c))continue;const p=$.findOne(decodeURI(c.hash),this._element);U(p)&&(this._targetLinks.set(decodeURI(c.hash),c),this._observableSections.set(c.hash,p))}}_process(i){this._activeTarget!==i&&(this._clearActiveClass(this._config.target),this._activeTarget=i,i.classList.add(Ua),this._activateParents(i),w.trigger(this._element,En,{relatedTarget:i}))}_activateParents(i){if(i.classList.contains("dropdown-item"))$.findOne(".dropdown-toggle",i.closest(".dropdown")).classList.add(Ua);else for(const c of $.parents(i,".nav, .list-group"))for(const p of $.prev(c,hi))p.classList.add(Ua)}_clearActiveClass(i){i.classList.remove(Ua);const c=$.find(`${os}.${Ua}`,i);for(const p of c)p.classList.remove(Ua)}static jQueryInterface(i){return this.each(function(){const c=yl.getOrCreateInstance(this,i);if(typeof i=="string"){if(c[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);c[i]()}})}}w.on(window,La,()=>{for(const h of $.find('[data-bs-spy="scroll"]'))yl.getOrCreateInstance(h)}),ot(yl);const Yn=".bs.tab",Ir=`hide${Yn}`,fs=`hidden${Yn}`,tc=`show${Yn}`,pi=`shown${Yn}`,ec=`click${Yn}`,bl=`keydown${Yn}`,vi=`load${Yn}`,ds="ArrowLeft",_l="ArrowRight",hs="ArrowUp",Tu="ArrowDown",ms="Home",fa="End",da="active",Ha="fade",Sl="show",Ou=".dropdown-toggle",yi=`:not(${Ou})`,gs='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Me=`.nav-link${yi}, .list-group-item${yi}, [role="tab"]${yi}, ${gs}`,Tn=`.${da}[data-bs-toggle="tab"], .${da}[data-bs-toggle="pill"], .${da}[data-bs-toggle="list"]`;class we extends je{constructor(i){super(i),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),w.on(this._element,bl,c=>this._keydown(c)))}static get NAME(){return"tab"}show(){const i=this._element;if(this._elemIsActive(i))return;const c=this._getActiveElem(),p=c?w.trigger(c,Ir,{relatedTarget:i}):null;w.trigger(i,tc,{relatedTarget:c}).defaultPrevented||p&&p.defaultPrevented||(this._deactivate(c,i),this._activate(i,c))}_activate(i,c){i&&(i.classList.add(da),this._activate($.getElementFromSelector(i)),this._queueCallback(()=>{i.getAttribute("role")==="tab"?(i.removeAttribute("tabindex"),i.setAttribute("aria-selected",!0),this._toggleDropDown(i,!0),w.trigger(i,pi,{relatedTarget:c})):i.classList.add(Sl)},i,i.classList.contains(Ha)))}_deactivate(i,c){i&&(i.classList.remove(da),i.blur(),this._deactivate($.getElementFromSelector(i)),this._queueCallback(()=>{i.getAttribute("role")==="tab"?(i.setAttribute("aria-selected",!1),i.setAttribute("tabindex","-1"),this._toggleDropDown(i,!1),w.trigger(i,fs,{relatedTarget:c})):i.classList.remove(Sl)},i,i.classList.contains(Ha)))}_keydown(i){if(![ds,_l,hs,Tu,ms,fa].includes(i.key))return;i.stopPropagation(),i.preventDefault();const c=this._getChildren().filter(b=>!X(b));let p;if([ms,fa].includes(i.key))p=c[i.key===ms?0:c.length-1];else{const b=[_l,Tu].includes(i.key);p=ee(c,i.target,b,!0)}p&&(p.focus({preventScroll:!0}),we.getOrCreateInstance(p).show())}_getChildren(){return $.find(Me,this._parent)}_getActiveElem(){return this._getChildren().find(i=>this._elemIsActive(i))||null}_setInitialAttributes(i,c){this._setAttributeIfNotExists(i,"role","tablist");for(const p of c)this._setInitialAttributesOnChild(p)}_setInitialAttributesOnChild(i){i=this._getInnerElement(i);const c=this._elemIsActive(i),p=this._getOuterElement(i);i.setAttribute("aria-selected",c),p!==i&&this._setAttributeIfNotExists(p,"role","presentation"),c||i.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(i,"role","tab"),this._setInitialAttributesOnTargetPanel(i)}_setInitialAttributesOnTargetPanel(i){const c=$.getElementFromSelector(i);c&&(this._setAttributeIfNotExists(c,"role","tabpanel"),i.id&&this._setAttributeIfNotExists(c,"aria-labelledby",`${i.id}`))}_toggleDropDown(i,c){const p=this._getOuterElement(i);if(!p.classList.contains("dropdown"))return;const b=(E,D)=>{const j=$.findOne(E,p);j&&j.classList.toggle(D,c)};b(Ou,da),b(".dropdown-menu",Sl),p.setAttribute("aria-expanded",c)}_setAttributeIfNotExists(i,c,p){i.hasAttribute(c)||i.setAttribute(c,p)}_elemIsActive(i){return i.classList.contains(da)}_getInnerElement(i){return i.matches(Me)?i:$.findOne(Me,i)}_getOuterElement(i){return i.closest(".nav-item, .list-group-item")||i}static jQueryInterface(i){return this.each(function(){const c=we.getOrCreateInstance(this);if(typeof i=="string"){if(c[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);c[i]()}})}}w.on(document,ec,gs,function(h){["A","AREA"].includes(this.tagName)&&h.preventDefault(),X(this)||we.getOrCreateInstance(this).show()}),w.on(window,vi,()=>{for(const h of $.find(Tn))we.getOrCreateInstance(h)}),ot(we);const kn=".bs.toast",ha=`mouseover${kn}`,Xn=`mouseout${kn}`,le=`focusin${kn}`,ps=`focusout${kn}`,xo=`hide${kn}`,Co=`hidden${kn}`,Do=`show${kn}`,ie=`shown${kn}`,vs="hide",ma="show",ga="showing",xu={animation:"boolean",autohide:"boolean",delay:"number"},Al={animation:!0,autohide:!0,delay:5e3};class On extends je{constructor(i,c){super(i,c),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Al}static get DefaultType(){return xu}static get NAME(){return"toast"}show(){w.trigger(this._element,Do).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(vs),tt(this._element),this._element.classList.add(ma,ga),this._queueCallback(()=>{this._element.classList.remove(ga),w.trigger(this._element,ie),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&(w.trigger(this._element,xo).defaultPrevented||(this._element.classList.add(ga),this._queueCallback(()=>{this._element.classList.add(vs),this._element.classList.remove(ga,ma),w.trigger(this._element,Co)},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(ma),super.dispose()}isShown(){return this._element.classList.contains(ma)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(i,c){switch(i.type){case"mouseover":case"mouseout":this._hasMouseInteraction=c;break;case"focusin":case"focusout":this._hasKeyboardInteraction=c}if(c)return void this._clearTimeout();const p=i.relatedTarget;this._element===p||this._element.contains(p)||this._maybeScheduleHide()}_setListeners(){w.on(this._element,ha,i=>this._onInteraction(i,!0)),w.on(this._element,Xn,i=>this._onInteraction(i,!1)),w.on(this._element,le,i=>this._onInteraction(i,!0)),w.on(this._element,ps,i=>this._onInteraction(i,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(i){return this.each(function(){const c=On.getOrCreateInstance(this,i);if(typeof i=="string"){if(c[i]===void 0)throw new TypeError(`No method named "${i}"`);c[i](this)}})}}return Kt(On),ot(On),{Alert:Ve,Button:ta,Carousel:Ta,Collapse:la,Dropdown:ln,Modal:Hn,Offcanvas:sn,Popover:_t,ScrollSpy:yl,Tab:we,Toast:On,Tooltip:Bn}})}(Xc)),Xc.exports}F0();var Ff={exports:{}},Wf,$m;function W0(){if($m)return Wf;$m=1;var u="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Wf=u,Wf}var Pf,Jm;function P0(){if(Jm)return Pf;Jm=1;var u=W0();function r(){}function f(){}return f.resetWarningCache=r,Pf=function(){function o(S,x,N,U,X,Z){if(Z!==u){var Q=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 Q.name="Invariant Violation",Q}}o.isRequired=o;function m(){return o}var v={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:m,element:o,elementType:o,instanceOf:m,node:o,objectOf:m,oneOf:m,oneOfType:m,shape:m,exact:m,checkPropTypes:f,resetWarningCache:r};return v.PropTypes=v,v},Pf}var Fm;function I0(){return Fm||(Fm=1,Ff.exports=P0()()),Ff.exports}var tv=I0();const K=wg(tv),Ng=u=>G.jsx("main",{className:"container justify-content-center",children:u.children});Ng.propTypes={children:K.node};function Rg(u,r){const f=F.useRef(r);F.useEffect(function(){r!==f.current&&u.attributionControl!=null&&(f.current!=null&&u.attributionControl.removeAttribution(f.current),r!=null&&u.attributionControl.addAttribution(r)),f.current=r},[u,r])}function ev(u,r,f){r.center!==f.center&&u.setLatLng(r.center),r.radius!=null&&r.radius!==f.radius&&u.setRadius(r.radius)}var nv=zg();const av=1;function lv(u){return Object.freeze({__version:av,map:u})}function iv(u,r){return Object.freeze({...u,...r})}const Od=F.createContext(null);function xd(){const u=F.use(Od);if(u==null)throw new Error("No context provided: useLeafletContext() can only be used in a descendant of <MapContainer>");return u}function sv(u){function r(f,o){const{instance:m,context:v}=u(f).current;F.useImperativeHandle(o,()=>m);const{children:S}=f;return S==null?null:Ri.createElement(Od,{value:v},S)}return F.forwardRef(r)}function uv(u){function r(f,o){const[m,v]=F.useState(!1),{instance:S}=u(f,v).current;F.useImperativeHandle(o,()=>S),F.useEffect(function(){m&&S.update()},[S,m,f.children]);const x=S._contentNode;return x?nv.createPortal(f.children,x):null}return F.forwardRef(r)}function rv(u){function r(f,o){const{instance:m}=u(f).current;return F.useImperativeHandle(o,()=>m),null}return F.forwardRef(r)}function Cd(u,r){const f=F.useRef(void 0);F.useEffect(function(){return r!=null&&u.instance.on(r),f.current=r,function(){f.current!=null&&u.instance.off(f.current),f.current=null}},[u,r])}function $c(u,r){const f=u.pane??r.pane;return f?{...u,pane:f}:u}function cv(u,r){return function(o,m){const v=xd(),S=u($c(o,v),v);return Rg(v.map,o.attribution),Cd(S.current,o.eventHandlers),r(S.current,v,o,m),S}}var Jc=L0();function Dd(u,r,f){return Object.freeze({instance:u,context:r,container:f})}function Md(u,r){return r==null?function(o,m){const v=F.useRef(void 0);return v.current||(v.current=u(o,m)),v}:function(o,m){const v=F.useRef(void 0);v.current||(v.current=u(o,m));const S=F.useRef(o),{instance:x}=v.current;return F.useEffect(function(){S.current!==o&&(r(x,o,S.current),S.current=o)},[x,o,r]),v}}function jg(u,r){F.useEffect(function(){return(r.layerContainer??r.map).addLayer(u.instance),function(){var v;(v=r.layerContainer)==null||v.removeLayer(u.instance),r.map.removeLayer(u.instance)}},[r,u])}function ov(u){return function(f){const o=xd(),m=u($c(f,o),o);return Rg(o.map,f.attribution),Cd(m.current,f.eventHandlers),jg(m.current,o),m}}function fv(u,r){const f=F.useRef(void 0);F.useEffect(function(){if(r.pathOptions!==f.current){const m=r.pathOptions??{};u.instance.setStyle(m),f.current=m}},[u,r])}function dv(u){return function(f){const o=xd(),m=u($c(f,o),o);return Cd(m.current,f.eventHandlers),jg(m.current,o),fv(m.current,f),m}}function hv(u,r){const f=Md(u),o=cv(f,r);return uv(o)}function mv(u,r){const f=Md(u,r),o=dv(f);return sv(o)}function gv(u,r){const f=Md(u,r),o=ov(f);return rv(o)}function pv(u,r,f){const{opacity:o,zIndex:m}=r;o!=null&&o!==f.opacity&&u.setOpacity(o),m!=null&&m!==f.zIndex&&u.setZIndex(m)}const Wm=mv(function({center:r,children:f,...o},m){const v=new Jc.Circle(r,o);return Dd(v,iv(m,{overlayContainer:v}))},ev);function vv({bounds:u,boundsOptions:r,center:f,children:o,className:m,id:v,placeholder:S,style:x,whenReady:N,zoom:U,...X},Z){const[Q]=F.useState({className:m,id:v,style:x}),[tt,ct]=F.useState(null),Et=F.useRef(void 0);F.useImperativeHandle(Z,()=>(tt==null?void 0:tt.map)??null,[tt]);const rt=F.useCallback(it=>{if(it!==null&&!Et.current){const Ct=new Jc.Map(it,X);Et.current=Ct,f!=null&&U!=null?Ct.setView(f,U):u!=null&&Ct.fitBounds(u,r),N!=null&&Ct.whenReady(N),ct(lv(Ct))}},[]);F.useEffect(()=>()=>{tt==null||tt.map.remove()},[tt]);const ot=tt?Ri.createElement(Od,{value:tt},o):S??null;return Ri.createElement("div",{...Q,ref:rt},ot)}const yv=F.forwardRef(vv),bv=hv(function(r,f){const o=new Jc.Popup(r,f.overlayContainer);return Dd(o,f)},function(r,f,{position:o},m){F.useEffect(function(){const{instance:S}=r;function x(U){U.popup===S&&(S.update(),m(!0))}function N(U){U.popup===S&&m(!1)}return f.map.on({popupopen:x,popupclose:N}),f.overlayContainer==null?(o!=null&&S.setLatLng(o),S.openOn(f.map)):f.overlayContainer.bindPopup(S),function(){var X;f.map.off({popupopen:x,popupclose:N}),(X=f.overlayContainer)==null||X.unbindPopup(),f.map.removeLayer(S)}},[r,f,m,o])}),_v=gv(function({url:r,...f},o){const m=new Jc.TileLayer(r,$c(f,o));return Dd(m,o)},function(r,f,o){pv(r,f,o);const{url:m}=f;m!=null&&m!==o.url&&r.setUrl(m)}),Lg=F.createContext(),Ug=({children:u})=>{const[r,f]=F.useState(null),[o,m]=F.useState(!0),[v,S]=F.useState(null);return F.useEffect(()=>{(async()=>{try{const N=await fetch("/config/settings.json");if(!N.ok)throw new Error("Error al cargar settings.json");const U=await N.json();f(U)}catch(N){S(N.message)}finally{m(!1)}})()},[]),G.jsx(Lg.Provider,{value:{config:r,configLoading:o,configError:v},children:u})};Ug.propTypes={children:K.node.isRequired};const mr=()=>F.useContext(Lg),Hg=F.createContext(),Fc=({children:u,config:r})=>{const[f,o]=F.useState(null),[m,v]=F.useState(!0),[S,x]=F.useState(null);return F.useEffect(()=>{(async()=>{try{const U=new URLSearchParams(r.params).toString(),X=`${r.baseUrl}?${U}`,Z=await fetch(X);if(!Z.ok)throw new Error("Error al obtener datos");const Q=await Z.json();o(Q)}catch(U){x(U.message)}finally{v(!1)}})()},[r]),G.jsx(Hg.Provider,{value:{data:f,dataLoading:m,dataError:S},children:u})};Fc.propTypes={children:K.node.isRequired,config:K.shape({baseUrl:K.string.isRequired,params:K.object}).isRequired};const wd=()=>F.useContext(Hg),Sv=({data:u})=>u.map(({lat:r,lng:f,level:o},m)=>{const v=o<20?"#00FF85":o<60?"#FFA500":"#FF0000",S=4,N=400/S;return G.jsxs("div",{children:[[...Array(S)].map((U,X)=>{const Z=N*(X+1),Q=.6*((X+1)/S);return G.jsx(Wm,{center:[r,f],pathOptions:{color:v,fillColor:v,fillOpacity:Q,weight:1},radius:Z},`${m}-${X}`)}),G.jsx(Wm,{center:[r,f],pathOptions:{color:v,fillColor:v,fillOpacity:.8,weight:2},radius:50,children:G.jsxs(bv,{children:["Contaminación: ",o," µg/m³"]})})]},m)}),Av=()=>{const{config:u,configLoading:r,configError:f}=mr();if(r)return G.jsx("p",{children:"Cargando configuración..."});if(f)return G.jsxs("p",{children:["Error al cargar configuración: ",f]});if(!u)return G.jsx("p",{children:"Configuración no disponible."});const o=u.appConfig.endpoints.baseUrl,m=u.appConfig.endpoints.sensors,v={baseUrl:`${o}/${m}`,params:{}};return G.jsx(Fc,{config:v,children:G.jsx(Ev,{})})},Ev=()=>{const{config:u,configLoading:r,configError:f}=mr(),{data:o,dataLoading:m,dataError:v}=wd();if(r)return G.jsx("p",{children:"Cargando configuración..."});if(f)return G.jsxs("p",{children:["Error al cargar configuración: ",f]});if(!u)return G.jsx("p",{children:"Configuración no disponible."});if(m)return G.jsx("p",{children:"Cargando datos..."});if(v)return G.jsxs("p",{children:["Error al cargar datos: ",f]});if(!o)return G.jsx("p",{children:"Datos no disponibles."});const S=u==null?void 0:u.userConfig.city,x=o.map(N=>({lat:N.lat,lng:N.lon,level:N.value}));return G.jsx("div",{className:"p-3",children:G.jsxs(yv,{center:S,zoom:13,scrollWheelZoom:!1,style:Tv,children:[G.jsx(_v,{attribution:'© Contribuidores de <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>',url:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}),G.jsx(Sv,{data:x})]})})},Tv={height:"500px",width:"100%",borderRadius:"20px"},qg="label";function Pm(u,r){typeof u=="function"?u(r):u&&(u.current=r)}function Ov(u,r){const f=u.options;f&&r&&Object.assign(f,r)}function Bg(u,r){u.labels=r}function Yg(u,r){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:qg;const o=[];u.datasets=r.map(m=>{const v=u.datasets.find(S=>S[f]===m[f]);return!v||!m.data||o.includes(v)?{...m}:(o.push(v),Object.assign(v,m),v)})}function xv(u){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:qg;const f={labels:[],datasets:[]};return Bg(f,u.labels),Yg(f,u.datasets,r),f}function Cv(u,r){const{height:f=150,width:o=300,redraw:m=!1,datasetIdKey:v,type:S,data:x,options:N,plugins:U=[],fallbackContent:X,updateMode:Z,...Q}=u,tt=F.useRef(null),ct=F.useRef(null),Et=()=>{tt.current&&(ct.current=new Td(tt.current,{type:S,data:xv(x,v),options:N&&{...N},plugins:U}),Pm(r,ct.current))},rt=()=>{Pm(r,null),ct.current&&(ct.current.destroy(),ct.current=null)};return F.useEffect(()=>{!m&&ct.current&&N&&Ov(ct.current,N)},[m,N]),F.useEffect(()=>{!m&&ct.current&&Bg(ct.current.config.data,x.labels)},[m,x.labels]),F.useEffect(()=>{!m&&ct.current&&x.datasets&&Yg(ct.current.config.data,x.datasets,v)},[m,x.datasets]),F.useEffect(()=>{ct.current&&(m?(rt(),setTimeout(Et)):ct.current.update(Z))},[m,N,x.labels,x.datasets,Z]),F.useEffect(()=>{ct.current&&(rt(),setTimeout(Et))},[S]),F.useEffect(()=>(Et(),()=>rt()),[]),Ri.createElement("canvas",{ref:tt,role:"img",height:f,width:o,...Q},X)}const Dv=F.forwardRef(Cv);function Mv(u,r){return Td.register(r),F.forwardRef((f,o)=>Ri.createElement(Dv,{...f,ref:o,type:u}))}const wv=Mv("line",U0),kg=F.createContext();function Xg({children:u}){const[r,f]=F.useState(()=>localStorage.getItem("theme")||"light");F.useEffect(()=>{document.body.classList.remove("light","dark"),document.body.classList.add(r),localStorage.setItem("theme",r)},[r]);const o=()=>{f(m=>m==="light"?"dark":"light")};return G.jsx(kg.Provider,{value:{theme:r,toggleTheme:o},children:u})}Xg.propTypes={children:K.node.isRequired};function Wc(){return F.useContext(kg)}const zd=({title:u,status:r,children:f,styleMode:o,className:m,titleIcon:v})=>{const S=F.useRef(null),[x,N]=F.useState(u),{theme:U}=Wc();return F.useEffect(()=>{const X=()=>{S.current&&(S.current.offsetWidth<300&&u.length>15?N(u.slice(0,10)+"."):N(u))};return X(),window.addEventListener("resize",X),()=>window.removeEventListener("resize",X)},[u]),G.jsx("div",{ref:S,className:o==="override"?`${m}`:`col-xl-3 col-sm-6 d-flex flex-column align-items-center p-3 card-container ${m}`,children:G.jsxs("div",{className:`card p-3 w-100 ${U}`,children:[G.jsxs("h3",{className:"text-center",children:[v,x]}),G.jsx("div",{className:"card-content",children:f}),r?G.jsx("span",{className:"status text-center mt-2",children:r}):null]})})};zd.propTypes={title:K.string.isRequired,status:K.string.isRequired,children:K.node.isRequired,styleMode:K.oneOf(["override",""]),className:K.string,titleIcon:K.node};zd.defaultProps={styleMode:""};const Nd=({cards:u,className:r})=>G.jsx("div",{className:`row justify-content-center g-0 ${r}`,children:u.map((f,o)=>G.jsx(zd,{title:f.title,status:f.status,styleMode:f.styleMode,className:f.className,titleIcon:f.titleIcon,children:G.jsx("p",{className:"card-text text-center",children:f.content})},o))});Nd.propTypes={cards:K.arrayOf(K.shape({title:K.string.isRequired,content:K.string.isRequired,status:K.string.isRequired})).isRequired,className:K.string};Td.register(H0,q0,B0,Y0,k0);const zv=()=>{const{config:u,configLoading:r,configError:f}=mr();if(r)return G.jsx("p",{children:"Cargando configuración..."});if(f)return G.jsxs("p",{children:["Error al cargar configuración: ",f]});if(!u)return G.jsx("p",{children:"Configuración no disponible."});const o=u.appConfig.endpoints.baseUrl,m=u.appConfig.endpoints.sensors,v={baseUrl:`${o}/${m}`,params:{}};return G.jsx(Fc,{config:v,children:G.jsx(Gg,{})})},Gg=()=>{var tt,ct,Et,rt;const{config:u}=mr(),{data:r,loading:f}=wd(),{theme:o}=Wc(),m=((ct=(tt=u==null?void 0:u.appConfig)==null?void 0:tt.historyChartConfig)==null?void 0:ct.chartOptionsDark)??{},v=((rt=(Et=u==null?void 0:u.appConfig)==null?void 0:Et.historyChartConfig)==null?void 0:rt.chartOptionsLight)??{},S=o==="dark"?m:v,x=new Date().getHours(),N=[`${x-3}:00`,`${x-2}:00`,`${x-1}:00`,`${x}:00`,`${x+1}:00`,`${x+2}:00`,`${x+3}:00`];if(f)return G.jsx("p",{children:"Cargando datos..."});const U=[],X=[],Z=[];r==null||r.forEach(ot=>{ot.value!=null&&(ot.sensor_type==="MQ-135"?Z.push(ot.value):ot.sensor_type==="DHT-11"&&(U.push(ot.value),X.push(ot.value)))});const Q=[{title:"🌡️ Temperatura",data:U.length?U:[0],borderColor:"#00FF85",backgroundColor:"rgba(0, 255, 133, 0.2)"},{title:"💧 Humedad",data:X.length?X:[0],borderColor:"#00D4FF",backgroundColor:"rgba(0, 212, 255, 0.2)"},{title:"☁️ Contaminación",data:Z.length?Z:[0],borderColor:"#FFA500",backgroundColor:"rgba(255, 165, 0, 0.2)"}];return G.jsx(Nd,{cards:Q.map(({title:ot,data:it,borderColor:Ct,backgroundColor:ee})=>({title:ot,content:G.jsx(wv,{data:{labels:N,datasets:[{data:it,borderColor:Ct,backgroundColor:ee,fill:!0,tension:.4}]},options:S}),styleMode:"override",className:"col-lg-4 col-xxs-12 d-flex flex-column align-items-center p-3 card-container"})),className:""})};Gg.propTypes={options:K.object,timeLabels:K.array,data:K.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 Nv(u,r,f){return(r=jv(r))in u?Object.defineProperty(u,r,{value:f,enumerable:!0,configurable:!0,writable:!0}):u[r]=f,u}function Im(u,r){var f=Object.keys(u);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(u);r&&(o=o.filter(function(m){return Object.getOwnPropertyDescriptor(u,m).enumerable})),f.push.apply(f,o)}return f}function Y(u){for(var r=1;r<arguments.length;r++){var f=arguments[r]!=null?arguments[r]:{};r%2?Im(Object(f),!0).forEach(function(o){Nv(u,o,f[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(f)):Im(Object(f)).forEach(function(o){Object.defineProperty(u,o,Object.getOwnPropertyDescriptor(f,o))})}return u}function Rv(u,r){if(typeof u!="object"||!u)return u;var f=u[Symbol.toPrimitive];if(f!==void 0){var o=f.call(u,r);if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(u)}function jv(u){var r=Rv(u,"string");return typeof r=="symbol"?r:r+""}const tg=()=>{};let Rd={},Qg={},Vg=null,Zg={mark:tg,measure:tg};try{typeof window<"u"&&(Rd=window),typeof document<"u"&&(Qg=document),typeof MutationObserver<"u"&&(Vg=MutationObserver),typeof performance<"u"&&(Zg=performance)}catch{}const{userAgent:eg=""}=Rd.navigator||{},Xl=Rd,Zt=Qg,ng=Vg,Yc=Zg;Xl.document;const Pa=!!Zt.documentElement&&!!Zt.head&&typeof Zt.addEventListener=="function"&&typeof Zt.createElement=="function",Kg=~eg.indexOf("MSIE")||~eg.indexOf("Trident/");var Lv=/fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,Uv=/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"}},Hv={GROUP:"duotone-group",PRIMARY:"primary",SECONDARY:"secondary"},Jg=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],Ne="classic",Pc="duotone",qv="sharp",Bv="sharp-duotone",Fg=[Ne,Pc,qv,Bv],Yv={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"}},kv={"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"}},Xv=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}]]),Gv={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"}},Qv=["fak","fa-kit","fakd","fa-kit-duotone"],ag={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},Vv=["kit"],Zv={kit:{"fa-kit":"fak"}},Kv=["fak","fakd"],$v={kit:{fak:"fa-kit"}},lg={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},kc={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Jv=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],Fv=["fak","fa-kit","fakd","fa-kit-duotone"],Wv={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},Pv={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"}},Iv={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"]},id={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"}},ty=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands"],sd=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt",...Jv,...ty],ey=["solid","regular","light","thin","duotone","brands"],Wg=[1,2,3,4,5,6,7,8,9,10],ny=Wg.concat([11,12,13,14,15,16,17,18,19,20]),ay=[...Object.keys(Iv),...ey,"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",kc.GROUP,kc.SWAP_OPACITY,kc.PRIMARY,kc.SECONDARY].concat(Wg.map(u=>"".concat(u,"x"))).concat(ny.map(u=>"w-".concat(u))),ly={"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 Fa="___FONT_AWESOME___",ud=16,Pg="fa",Ig="svg-inline--fa",ji="data-fa-i2svg",rd="data-fa-pseudo-element",iy="data-fa-pseudo-element-pending",jd="data-prefix",Ld="data-icon",ig="fontawesome-i2svg",sy="async",uy=["HTML","HEAD","STYLE","SCRIPT"],tp=(()=>{try{return!0}catch{return!1}})();function gr(u){return new Proxy(u,{get(r,f){return f in r?r[f]:r[Ne]}})}const ep=Y({},$g);ep[Ne]=Y(Y(Y(Y({},{"fa-duotone":"duotone"}),$g[Ne]),ag.kit),ag["kit-duotone"]);const ry=gr(ep),cd=Y({},Gv);cd[Ne]=Y(Y(Y(Y({},{duotone:"fad"}),cd[Ne]),lg.kit),lg["kit-duotone"]);const sg=gr(cd),od=Y({},id);od[Ne]=Y(Y({},od[Ne]),$v.kit);const Ud=gr(od),fd=Y({},Pv);fd[Ne]=Y(Y({},fd[Ne]),Zv.kit);gr(fd);const cy=Lv,np="fa-layers-text",oy=Uv,fy=Y({},Yv);gr(fy);const dy=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],If=Hv,hy=[...Vv,...ay],or=Xl.FontAwesomeConfig||{};function my(u){var r=Zt.querySelector("script["+u+"]");if(r)return r.getAttribute(u)}function gy(u){return u===""?!0:u==="false"?!1:u==="true"?!0:u}Zt&&typeof Zt.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(r=>{let[f,o]=r;const m=gy(my(f));m!=null&&(or[o]=m)});const ap={styleDefault:"solid",familyDefault:Ne,cssPrefix:Pg,replacementClass:Ig,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};or.familyPrefix&&(or.cssPrefix=or.familyPrefix);const Bs=Y(Y({},ap),or);Bs.autoReplaceSvg||(Bs.observeMutations=!1);const I={};Object.keys(ap).forEach(u=>{Object.defineProperty(I,u,{enumerable:!0,set:function(r){Bs[u]=r,fr.forEach(f=>f(I))},get:function(){return Bs[u]}})});Object.defineProperty(I,"familyPrefix",{enumerable:!0,set:function(u){Bs.cssPrefix=u,fr.forEach(r=>r(I))},get:function(){return Bs.cssPrefix}});Xl.FontAwesomeConfig=I;const fr=[];function py(u){return fr.push(u),()=>{fr.splice(fr.indexOf(u),1)}}const Yl=ud,Sa={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function vy(u){if(!u||!Pa)return;const r=Zt.createElement("style");r.setAttribute("type","text/css"),r.innerHTML=u;const f=Zt.head.childNodes;let o=null;for(let m=f.length-1;m>-1;m--){const v=f[m],S=(v.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(S)>-1&&(o=v)}return Zt.head.insertBefore(r,o),u}const yy="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function dr(){let u=12,r="";for(;u-- >0;)r+=yy[Math.random()*62|0];return r}function Ys(u){const r=[];for(let f=(u||[]).length>>>0;f--;)r[f]=u[f];return r}function Hd(u){return u.classList?Ys(u.classList):(u.getAttribute("class")||"").split(" ").filter(r=>r)}function lp(u){return"".concat(u).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function by(u){return Object.keys(u||{}).reduce((r,f)=>r+"".concat(f,'="').concat(lp(u[f]),'" '),"").trim()}function Ic(u){return Object.keys(u||{}).reduce((r,f)=>r+"".concat(f,": ").concat(u[f].trim(),";"),"")}function qd(u){return u.size!==Sa.size||u.x!==Sa.x||u.y!==Sa.y||u.rotate!==Sa.rotate||u.flipX||u.flipY}function _y(u){let{transform:r,containerWidth:f,iconWidth:o}=u;const m={transform:"translate(".concat(f/2," 256)")},v="translate(".concat(r.x*32,", ").concat(r.y*32,") "),S="scale(".concat(r.size/16*(r.flipX?-1:1),", ").concat(r.size/16*(r.flipY?-1:1),") "),x="rotate(".concat(r.rotate," 0 0)"),N={transform:"".concat(v," ").concat(S," ").concat(x)},U={transform:"translate(".concat(o/2*-1," -256)")};return{outer:m,inner:N,path:U}}function Sy(u){let{transform:r,width:f=ud,height:o=ud,startCentered:m=!1}=u,v="";return m&&Kg?v+="translate(".concat(r.x/Yl-f/2,"em, ").concat(r.y/Yl-o/2,"em) "):m?v+="translate(calc(-50% + ".concat(r.x/Yl,"em), calc(-50% + ").concat(r.y/Yl,"em)) "):v+="translate(".concat(r.x/Yl,"em, ").concat(r.y/Yl,"em) "),v+="scale(".concat(r.size/Yl*(r.flipX?-1:1),", ").concat(r.size/Yl*(r.flipY?-1:1),") "),v+="rotate(".concat(r.rotate,"deg) "),v}var Ay=`: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 ip(){const u=Pg,r=Ig,f=I.cssPrefix,o=I.replacementClass;let m=Ay;if(f!==u||o!==r){const v=new RegExp("\\.".concat(u,"\\-"),"g"),S=new RegExp("\\--".concat(u,"\\-"),"g"),x=new RegExp("\\.".concat(r),"g");m=m.replace(v,".".concat(f,"-")).replace(S,"--".concat(f,"-")).replace(x,".".concat(o))}return m}let ug=!1;function td(){I.autoAddCss&&!ug&&(vy(ip()),ug=!0)}var Ey={mixout(){return{dom:{css:ip,insertCss:td}}},hooks(){return{beforeDOMElementCreation(){td()},beforeI2svg(){td()}}}};const Wa=Xl||{};Wa[Fa]||(Wa[Fa]={});Wa[Fa].styles||(Wa[Fa].styles={});Wa[Fa].hooks||(Wa[Fa].hooks={});Wa[Fa].shims||(Wa[Fa].shims=[]);var Aa=Wa[Fa];const sp=[],up=function(){Zt.removeEventListener("DOMContentLoaded",up),Vc=1,sp.map(u=>u())};let Vc=!1;Pa&&(Vc=(Zt.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Zt.readyState),Vc||Zt.addEventListener("DOMContentLoaded",up));function Ty(u){Pa&&(Vc?setTimeout(u,0):sp.push(u))}function pr(u){const{tag:r,attributes:f={},children:o=[]}=u;return typeof u=="string"?lp(u):"<".concat(r," ").concat(by(f),">").concat(o.map(pr).join(""),"</").concat(r,">")}function rg(u,r,f){if(u&&u[r]&&u[r][f])return{prefix:r,iconName:f,icon:u[r][f]}}var ed=function(r,f,o,m){var v=Object.keys(r),S=v.length,x=f,N,U,X;for(o===void 0?(N=1,X=r[v[0]]):(N=0,X=o);N<S;N++)U=v[N],X=x(X,r[U],U,r);return X};function Oy(u){const r=[];let f=0;const o=u.length;for(;f<o;){const m=u.charCodeAt(f++);if(m>=55296&&m<=56319&&f<o){const v=u.charCodeAt(f++);(v&64512)==56320?r.push(((m&1023)<<10)+(v&1023)+65536):(r.push(m),f--)}else r.push(m)}return r}function dd(u){const r=Oy(u);return r.length===1?r[0].toString(16):null}function xy(u,r){const f=u.length;let o=u.charCodeAt(r),m;return o>=55296&&o<=56319&&f>r+1&&(m=u.charCodeAt(r+1),m>=56320&&m<=57343)?(o-55296)*1024+m-56320+65536:o}function cg(u){return Object.keys(u).reduce((r,f)=>{const o=u[f];return!!o.icon?r[o.iconName]=o.icon:r[f]=o,r},{})}function hd(u,r){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{skipHooks:o=!1}=f,m=cg(r);typeof Aa.hooks.addPack=="function"&&!o?Aa.hooks.addPack(u,cg(r)):Aa.styles[u]=Y(Y({},Aa.styles[u]||{}),m),u==="fas"&&hd("fa",r)}const{styles:hr,shims:Cy}=Aa,rp=Object.keys(Ud),Dy=rp.reduce((u,r)=>(u[r]=Object.keys(Ud[r]),u),{});let Bd=null,cp={},op={},fp={},dp={},hp={};function My(u){return~hy.indexOf(u)}function wy(u,r){const f=r.split("-"),o=f[0],m=f.slice(1).join("-");return o===u&&m!==""&&!My(m)?m:null}const mp=()=>{const u=o=>ed(hr,(m,v,S)=>(m[S]=ed(v,o,{}),m),{});cp=u((o,m,v)=>(m[3]&&(o[m[3]]=v),m[2]&&m[2].filter(x=>typeof x=="number").forEach(x=>{o[x.toString(16)]=v}),o)),op=u((o,m,v)=>(o[v]=v,m[2]&&m[2].filter(x=>typeof x=="string").forEach(x=>{o[x]=v}),o)),hp=u((o,m,v)=>{const S=m[2];return o[v]=v,S.forEach(x=>{o[x]=v}),o});const r="far"in hr||I.autoFetchSvg,f=ed(Cy,(o,m)=>{const v=m[0];let S=m[1];const x=m[2];return S==="far"&&!r&&(S="fas"),typeof v=="string"&&(o.names[v]={prefix:S,iconName:x}),typeof v=="number"&&(o.unicodes[v.toString(16)]={prefix:S,iconName:x}),o},{names:{},unicodes:{}});fp=f.names,dp=f.unicodes,Bd=to(I.styleDefault,{family:I.familyDefault})};py(u=>{Bd=to(u.styleDefault,{family:I.familyDefault})});mp();function Yd(u,r){return(cp[u]||{})[r]}function zy(u,r){return(op[u]||{})[r]}function Ni(u,r){return(hp[u]||{})[r]}function gp(u){return fp[u]||{prefix:null,iconName:null}}function Ny(u){const r=dp[u],f=Yd("fas",u);return r||(f?{prefix:"fas",iconName:f}:null)||{prefix:null,iconName:null}}function Gl(){return Bd}const pp=()=>({prefix:null,iconName:null,rest:[]});function Ry(u){let r=Ne;const f=rp.reduce((o,m)=>(o[m]="".concat(I.cssPrefix,"-").concat(m),o),{});return Fg.forEach(o=>{(u.includes(f[o])||u.some(m=>Dy[o].includes(m)))&&(r=o)}),r}function to(u){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{family:f=Ne}=r,o=ry[f][u];if(f===Pc&&!u)return"fad";const m=sg[f][u]||sg[f][o],v=u in Aa.styles?u:null;return m||v||null}function jy(u){let r=[],f=null;return u.forEach(o=>{const m=wy(I.cssPrefix,o);m?f=m:o&&r.push(o)}),{iconName:f,rest:r}}function og(u){return u.sort().filter((r,f,o)=>o.indexOf(r)===f)}function eo(u){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{skipLookups:f=!1}=r;let o=null;const m=sd.concat(Fv),v=og(u.filter(Z=>m.includes(Z))),S=og(u.filter(Z=>!sd.includes(Z))),x=v.filter(Z=>(o=Z,!Jg.includes(Z))),[N=null]=x,U=Ry(v),X=Y(Y({},jy(S)),{},{prefix:to(N,{family:U})});return Y(Y(Y({},X),qy({values:u,family:U,styles:hr,config:I,canonical:X,givenPrefix:o})),Ly(f,o,X))}function Ly(u,r,f){let{prefix:o,iconName:m}=f;if(u||!o||!m)return{prefix:o,iconName:m};const v=r==="fa"?gp(m):{},S=Ni(o,m);return m=v.iconName||S||m,o=v.prefix||o,o==="far"&&!hr.far&&hr.fas&&!I.autoFetchSvg&&(o="fas"),{prefix:o,iconName:m}}const Uy=Fg.filter(u=>u!==Ne||u!==Pc),Hy=Object.keys(id).filter(u=>u!==Ne).map(u=>Object.keys(id[u])).flat();function qy(u){const{values:r,family:f,canonical:o,givenPrefix:m="",styles:v={},config:S={}}=u,x=f===Pc,N=r.includes("fa-duotone")||r.includes("fad"),U=S.familyDefault==="duotone",X=o.prefix==="fad"||o.prefix==="fa-duotone";if(!x&&(N||U||X)&&(o.prefix="fad"),(r.includes("fa-brands")||r.includes("fab"))&&(o.prefix="fab"),!o.prefix&&Uy.includes(f)&&(Object.keys(v).find(Q=>Hy.includes(Q))||S.autoFetchSvg)){const Q=Xv.get(f).defaultShortPrefixId;o.prefix=Q,o.iconName=Ni(o.prefix,o.iconName)||o.iconName}return(o.prefix==="fa"||m==="fa")&&(o.prefix=Gl()||"fas"),o}class By{constructor(){this.definitions={}}add(){for(var r=arguments.length,f=new Array(r),o=0;o<r;o++)f[o]=arguments[o];const m=f.reduce(this._pullDefinitions,{});Object.keys(m).forEach(v=>{this.definitions[v]=Y(Y({},this.definitions[v]||{}),m[v]),hd(v,m[v]);const S=Ud[Ne][v];S&&hd(S,m[v]),mp()})}reset(){this.definitions={}}_pullDefinitions(r,f){const o=f.prefix&&f.iconName&&f.icon?{0:f}:f;return Object.keys(o).map(m=>{const{prefix:v,iconName:S,icon:x}=o[m],N=x[2];r[v]||(r[v]={}),N.length>0&&N.forEach(U=>{typeof U=="string"&&(r[v][U]=x)}),r[v][S]=x}),r}}let fg=[],Us={};const qs={},Yy=Object.keys(qs);function ky(u,r){let{mixoutsTo:f}=r;return fg=u,Us={},Object.keys(qs).forEach(o=>{Yy.indexOf(o)===-1&&delete qs[o]}),fg.forEach(o=>{const m=o.mixout?o.mixout():{};if(Object.keys(m).forEach(v=>{typeof m[v]=="function"&&(f[v]=m[v]),typeof m[v]=="object"&&Object.keys(m[v]).forEach(S=>{f[v]||(f[v]={}),f[v][S]=m[v][S]})}),o.hooks){const v=o.hooks();Object.keys(v).forEach(S=>{Us[S]||(Us[S]=[]),Us[S].push(v[S])})}o.provides&&o.provides(qs)}),f}function md(u,r){for(var f=arguments.length,o=new Array(f>2?f-2:0),m=2;m<f;m++)o[m-2]=arguments[m];return(Us[u]||[]).forEach(S=>{r=S.apply(null,[r,...o])}),r}function Li(u){for(var r=arguments.length,f=new Array(r>1?r-1:0),o=1;o<r;o++)f[o-1]=arguments[o];(Us[u]||[]).forEach(v=>{v.apply(null,f)})}function Ql(){const u=arguments[0],r=Array.prototype.slice.call(arguments,1);return qs[u]?qs[u].apply(null,r):void 0}function gd(u){u.prefix==="fa"&&(u.prefix="fas");let{iconName:r}=u;const f=u.prefix||Gl();if(r)return r=Ni(f,r)||r,rg(vp.definitions,f,r)||rg(Aa.styles,f,r)}const vp=new By,Xy=()=>{I.autoReplaceSvg=!1,I.observeMutations=!1,Li("noAuto")},Gy={i2svg:function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Pa?(Li("beforeI2svg",u),Ql("pseudoElements2svg",u),Ql("i2svg",u)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:r}=u;I.autoReplaceSvg===!1&&(I.autoReplaceSvg=!0),I.observeMutations=!0,Ty(()=>{Vy({autoReplaceSvgRoot:r}),Li("watch",u)})}},Qy={icon:u=>{if(u===null)return null;if(typeof u=="object"&&u.prefix&&u.iconName)return{prefix:u.prefix,iconName:Ni(u.prefix,u.iconName)||u.iconName};if(Array.isArray(u)&&u.length===2){const r=u[1].indexOf("fa-")===0?u[1].slice(3):u[1],f=to(u[0]);return{prefix:f,iconName:Ni(f,r)||r}}if(typeof u=="string"&&(u.indexOf("".concat(I.cssPrefix,"-"))>-1||u.match(cy))){const r=eo(u.split(" "),{skipLookups:!0});return{prefix:r.prefix||Gl(),iconName:Ni(r.prefix,r.iconName)||r.iconName}}if(typeof u=="string"){const r=Gl();return{prefix:r,iconName:Ni(r,u)||u}}}},dn={noAuto:Xy,config:I,dom:Gy,parse:Qy,library:vp,findIconDefinition:gd,toHtml:pr},Vy=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:r=Zt}=u;(Object.keys(Aa.styles).length>0||I.autoFetchSvg)&&Pa&&I.autoReplaceSvg&&dn.dom.i2svg({node:r})};function no(u,r){return Object.defineProperty(u,"abstract",{get:r}),Object.defineProperty(u,"html",{get:function(){return u.abstract.map(f=>pr(f))}}),Object.defineProperty(u,"node",{get:function(){if(!Pa)return;const f=Zt.createElement("div");return f.innerHTML=u.html,f.children}}),u}function Zy(u){let{children:r,main:f,mask:o,attributes:m,styles:v,transform:S}=u;if(qd(S)&&f.found&&!o.found){const{width:x,height:N}=f,U={x:x/N/2,y:.5};m.style=Ic(Y(Y({},v),{},{"transform-origin":"".concat(U.x+S.x/16,"em ").concat(U.y+S.y/16,"em")}))}return[{tag:"svg",attributes:m,children:r}]}function Ky(u){let{prefix:r,iconName:f,children:o,attributes:m,symbol:v}=u;const S=v===!0?"".concat(r,"-").concat(I.cssPrefix,"-").concat(f):v;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Y(Y({},m),{},{id:S}),children:o}]}]}function kd(u){const{icons:{main:r,mask:f},prefix:o,iconName:m,transform:v,symbol:S,title:x,maskId:N,titleId:U,extra:X,watchable:Z=!1}=u,{width:Q,height:tt}=f.found?f:r,ct=Kv.includes(o),Et=[I.replacementClass,m?"".concat(I.cssPrefix,"-").concat(m):""].filter(ne=>X.classes.indexOf(ne)===-1).filter(ne=>ne!==""||!!ne).concat(X.classes).join(" ");let rt={children:[],attributes:Y(Y({},X.attributes),{},{"data-prefix":o,"data-icon":m,class:Et,role:X.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(Q," ").concat(tt)})};const ot=ct&&!~X.classes.indexOf("fa-fw")?{width:"".concat(Q/tt*16*.0625,"em")}:{};Z&&(rt.attributes[ji]=""),x&&(rt.children.push({tag:"title",attributes:{id:rt.attributes["aria-labelledby"]||"title-".concat(U||dr())},children:[x]}),delete rt.attributes.title);const it=Y(Y({},rt),{},{prefix:o,iconName:m,main:r,mask:f,maskId:N,transform:v,symbol:S,styles:Y(Y({},ot),X.styles)}),{children:Ct,attributes:ee}=f.found&&r.found?Ql("generateAbstractMask",it)||{children:[],attributes:{}}:Ql("generateAbstractIcon",it)||{children:[],attributes:{}};return it.children=Ct,it.attributes=ee,S?Ky(it):Zy(it)}function dg(u){const{content:r,width:f,height:o,transform:m,title:v,extra:S,watchable:x=!1}=u,N=Y(Y(Y({},S.attributes),v?{title:v}:{}),{},{class:S.classes.join(" ")});x&&(N[ji]="");const U=Y({},S.styles);qd(m)&&(U.transform=Sy({transform:m,startCentered:!0,width:f,height:o}),U["-webkit-transform"]=U.transform);const X=Ic(U);X.length>0&&(N.style=X);const Z=[];return Z.push({tag:"span",attributes:N,children:[r]}),v&&Z.push({tag:"span",attributes:{class:"sr-only"},children:[v]}),Z}function $y(u){const{content:r,title:f,extra:o}=u,m=Y(Y(Y({},o.attributes),f?{title:f}:{}),{},{class:o.classes.join(" ")}),v=Ic(o.styles);v.length>0&&(m.style=v);const S=[];return S.push({tag:"span",attributes:m,children:[r]}),f&&S.push({tag:"span",attributes:{class:"sr-only"},children:[f]}),S}const{styles:nd}=Aa;function pd(u){const r=u[0],f=u[1],[o]=u.slice(4);let m=null;return Array.isArray(o)?m={tag:"g",attributes:{class:"".concat(I.cssPrefix,"-").concat(If.GROUP)},children:[{tag:"path",attributes:{class:"".concat(I.cssPrefix,"-").concat(If.SECONDARY),fill:"currentColor",d:o[0]}},{tag:"path",attributes:{class:"".concat(I.cssPrefix,"-").concat(If.PRIMARY),fill:"currentColor",d:o[1]}}]}:m={tag:"path",attributes:{fill:"currentColor",d:o}},{found:!0,width:r,height:f,icon:m}}const Jy={found:!1,width:512,height:512};function Fy(u,r){!tp&&!I.showMissingIcons&&u&&console.error('Icon with name "'.concat(u,'" and prefix "').concat(r,'" is missing.'))}function vd(u,r){let f=r;return r==="fa"&&I.styleDefault!==null&&(r=Gl()),new Promise((o,m)=>{if(f==="fa"){const v=gp(u)||{};u=v.iconName||u,r=v.prefix||r}if(u&&r&&nd[r]&&nd[r][u]){const v=nd[r][u];return o(pd(v))}Fy(u,r),o(Y(Y({},Jy),{},{icon:I.showMissingIcons&&u?Ql("missingIconAbstract")||{}:{}}))})}const hg=()=>{},yd=I.measurePerformance&&Yc&&Yc.mark&&Yc.measure?Yc:{mark:hg,measure:hg},cr='FA "6.7.2"',Wy=u=>(yd.mark("".concat(cr," ").concat(u," begins")),()=>yp(u)),yp=u=>{yd.mark("".concat(cr," ").concat(u," ends")),yd.measure("".concat(cr," ").concat(u),"".concat(cr," ").concat(u," begins"),"".concat(cr," ").concat(u," ends"))};var Xd={begin:Wy,end:yp};const Gc=()=>{};function mg(u){return typeof(u.getAttribute?u.getAttribute(ji):null)=="string"}function Py(u){const r=u.getAttribute?u.getAttribute(jd):null,f=u.getAttribute?u.getAttribute(Ld):null;return r&&f}function Iy(u){return u&&u.classList&&u.classList.contains&&u.classList.contains(I.replacementClass)}function t1(){return I.autoReplaceSvg===!0?Qc.replace:Qc[I.autoReplaceSvg]||Qc.replace}function e1(u){return Zt.createElementNS("http://www.w3.org/2000/svg",u)}function n1(u){return Zt.createElement(u)}function bp(u){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{ceFn:f=u.tag==="svg"?e1:n1}=r;if(typeof u=="string")return Zt.createTextNode(u);const o=f(u.tag);return Object.keys(u.attributes||[]).forEach(function(v){o.setAttribute(v,u.attributes[v])}),(u.children||[]).forEach(function(v){o.appendChild(bp(v,{ceFn:f}))}),o}function a1(u){let r=" ".concat(u.outerHTML," ");return r="".concat(r,"Font Awesome fontawesome.com "),r}const Qc={replace:function(u){const r=u[0];if(r.parentNode)if(u[1].forEach(f=>{r.parentNode.insertBefore(bp(f),r)}),r.getAttribute(ji)===null&&I.keepOriginalSource){let f=Zt.createComment(a1(r));r.parentNode.replaceChild(f,r)}else r.remove()},nest:function(u){const r=u[0],f=u[1];if(~Hd(r).indexOf(I.replacementClass))return Qc.replace(u);const o=new RegExp("".concat(I.cssPrefix,"-.*"));if(delete f[0].attributes.id,f[0].attributes.class){const v=f[0].attributes.class.split(" ").reduce((S,x)=>(x===I.replacementClass||x.match(o)?S.toSvg.push(x):S.toNode.push(x),S),{toNode:[],toSvg:[]});f[0].attributes.class=v.toSvg.join(" "),v.toNode.length===0?r.removeAttribute("class"):r.setAttribute("class",v.toNode.join(" "))}const m=f.map(v=>pr(v)).join(`
`);r.setAttribute(ji,""),r.innerHTML=m}};function gg(u){u()}function _p(u,r){const f=typeof r=="function"?r:Gc;if(u.length===0)f();else{let o=gg;I.mutateApproach===sy&&(o=Xl.requestAnimationFrame||gg),o(()=>{const m=t1(),v=Xd.begin("mutate");u.map(m),v(),f()})}}let Gd=!1;function Sp(){Gd=!0}function bd(){Gd=!1}let Zc=null;function pg(u){if(!ng||!I.observeMutations)return;const{treeCallback:r=Gc,nodeCallback:f=Gc,pseudoElementsCallback:o=Gc,observeMutationsRoot:m=Zt}=u;Zc=new ng(v=>{if(Gd)return;const S=Gl();Ys(v).forEach(x=>{if(x.type==="childList"&&x.addedNodes.length>0&&!mg(x.addedNodes[0])&&(I.searchPseudoElements&&o(x.target),r(x.target)),x.type==="attributes"&&x.target.parentNode&&I.searchPseudoElements&&o(x.target.parentNode),x.type==="attributes"&&mg(x.target)&&~dy.indexOf(x.attributeName))if(x.attributeName==="class"&&Py(x.target)){const{prefix:N,iconName:U}=eo(Hd(x.target));x.target.setAttribute(jd,N||S),U&&x.target.setAttribute(Ld,U)}else Iy(x.target)&&f(x.target)})}),Pa&&Zc.observe(m,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function l1(){Zc&&Zc.disconnect()}function i1(u){const r=u.getAttribute("style");let f=[];return r&&(f=r.split(";").reduce((o,m)=>{const v=m.split(":"),S=v[0],x=v.slice(1);return S&&x.length>0&&(o[S]=x.join(":").trim()),o},{})),f}function s1(u){const r=u.getAttribute("data-prefix"),f=u.getAttribute("data-icon"),o=u.innerText!==void 0?u.innerText.trim():"";let m=eo(Hd(u));return m.prefix||(m.prefix=Gl()),r&&f&&(m.prefix=r,m.iconName=f),m.iconName&&m.prefix||(m.prefix&&o.length>0&&(m.iconName=zy(m.prefix,u.innerText)||Yd(m.prefix,dd(u.innerText))),!m.iconName&&I.autoFetchSvg&&u.firstChild&&u.firstChild.nodeType===Node.TEXT_NODE&&(m.iconName=u.firstChild.data)),m}function u1(u){const r=Ys(u.attributes).reduce((m,v)=>(m.name!=="class"&&m.name!=="style"&&(m[v.name]=v.value),m),{}),f=u.getAttribute("title"),o=u.getAttribute("data-fa-title-id");return I.autoA11y&&(f?r["aria-labelledby"]="".concat(I.replacementClass,"-title-").concat(o||dr()):(r["aria-hidden"]="true",r.focusable="false")),r}function r1(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Sa,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function vg(u){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0};const{iconName:f,prefix:o,rest:m}=s1(u),v=u1(u),S=md("parseNodeAttributes",{},u);let x=r.styleParser?i1(u):[];return Y({iconName:f,title:u.getAttribute("title"),titleId:u.getAttribute("data-fa-title-id"),prefix:o,transform:Sa,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:m,styles:x,attributes:v}},S)}const{styles:c1}=Aa;function Ap(u){const r=I.autoReplaceSvg==="nest"?vg(u,{styleParser:!1}):vg(u);return~r.extra.classes.indexOf(np)?Ql("generateLayersText",u,r):Ql("generateSvgReplacementMutation",u,r)}function o1(){return[...Qv,...sd]}function yg(u){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!Pa)return Promise.resolve();const f=Zt.documentElement.classList,o=X=>f.add("".concat(ig,"-").concat(X)),m=X=>f.remove("".concat(ig,"-").concat(X)),v=I.autoFetchSvg?o1():Jg.concat(Object.keys(c1));v.includes("fa")||v.push("fa");const S=[".".concat(np,":not([").concat(ji,"])")].concat(v.map(X=>".".concat(X,":not([").concat(ji,"])"))).join(", ");if(S.length===0)return Promise.resolve();let x=[];try{x=Ys(u.querySelectorAll(S))}catch{}if(x.length>0)o("pending"),m("complete");else return Promise.resolve();const N=Xd.begin("onTree"),U=x.reduce((X,Z)=>{try{const Q=Ap(Z);Q&&X.push(Q)}catch(Q){tp||Q.name==="MissingIcon"&&console.error(Q)}return X},[]);return new Promise((X,Z)=>{Promise.all(U).then(Q=>{_p(Q,()=>{o("active"),o("complete"),m("pending"),typeof r=="function"&&r(),N(),X()})}).catch(Q=>{N(),Z(Q)})})}function f1(u){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;Ap(u).then(f=>{f&&_p([f],r)})}function d1(u){return function(r){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const o=(r||{}).icon?r:gd(r||{});let{mask:m}=f;return m&&(m=(m||{}).icon?m:gd(m||{})),u(o,Y(Y({},f),{},{mask:m}))}}const h1=function(u){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:f=Sa,symbol:o=!1,mask:m=null,maskId:v=null,title:S=null,titleId:x=null,classes:N=[],attributes:U={},styles:X={}}=r;if(!u)return;const{prefix:Z,iconName:Q,icon:tt}=u;return no(Y({type:"icon"},u),()=>(Li("beforeDOMElementCreation",{iconDefinition:u,params:r}),I.autoA11y&&(S?U["aria-labelledby"]="".concat(I.replacementClass,"-title-").concat(x||dr()):(U["aria-hidden"]="true",U.focusable="false")),kd({icons:{main:pd(tt),mask:m?pd(m.icon):{found:!1,width:null,height:null,icon:{}}},prefix:Z,iconName:Q,transform:Y(Y({},Sa),f),symbol:o,title:S,maskId:v,titleId:x,extra:{attributes:U,styles:X,classes:N}})))};var m1={mixout(){return{icon:d1(h1)}},hooks(){return{mutationObserverCallbacks(u){return u.treeCallback=yg,u.nodeCallback=f1,u}}},provides(u){u.i2svg=function(r){const{node:f=Zt,callback:o=()=>{}}=r;return yg(f,o)},u.generateSvgReplacementMutation=function(r,f){const{iconName:o,title:m,titleId:v,prefix:S,transform:x,symbol:N,mask:U,maskId:X,extra:Z}=f;return new Promise((Q,tt)=>{Promise.all([vd(o,S),U.iconName?vd(U.iconName,U.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(ct=>{let[Et,rt]=ct;Q([r,kd({icons:{main:Et,mask:rt},prefix:S,iconName:o,transform:x,symbol:N,maskId:X,title:m,titleId:v,extra:Z,watchable:!0})])}).catch(tt)})},u.generateAbstractIcon=function(r){let{children:f,attributes:o,main:m,transform:v,styles:S}=r;const x=Ic(S);x.length>0&&(o.style=x);let N;return qd(v)&&(N=Ql("generateAbstractTransformGrouping",{main:m,transform:v,containerWidth:m.width,iconWidth:m.width})),f.push(N||m.icon),{children:f,attributes:o}}}},g1={mixout(){return{layer(u){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{classes:f=[]}=r;return no({type:"layer"},()=>{Li("beforeDOMElementCreation",{assembler:u,params:r});let o=[];return u(m=>{Array.isArray(m)?m.map(v=>{o=o.concat(v.abstract)}):o=o.concat(m.abstract)}),[{tag:"span",attributes:{class:["".concat(I.cssPrefix,"-layers"),...f].join(" ")},children:o}]})}}}},p1={mixout(){return{counter(u){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{title:f=null,classes:o=[],attributes:m={},styles:v={}}=r;return no({type:"counter",content:u},()=>(Li("beforeDOMElementCreation",{content:u,params:r}),$y({content:u.toString(),title:f,extra:{attributes:m,styles:v,classes:["".concat(I.cssPrefix,"-layers-counter"),...o]}})))}}}},v1={mixout(){return{text(u){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:f=Sa,title:o=null,classes:m=[],attributes:v={},styles:S={}}=r;return no({type:"text",content:u},()=>(Li("beforeDOMElementCreation",{content:u,params:r}),dg({content:u,transform:Y(Y({},Sa),f),title:o,extra:{attributes:v,styles:S,classes:["".concat(I.cssPrefix,"-layers-text"),...m]}})))}}},provides(u){u.generateLayersText=function(r,f){const{title:o,transform:m,extra:v}=f;let S=null,x=null;if(Kg){const N=parseInt(getComputedStyle(r).fontSize,10),U=r.getBoundingClientRect();S=U.width/N,x=U.height/N}return I.autoA11y&&!o&&(v.attributes["aria-hidden"]="true"),Promise.resolve([r,dg({content:r.innerHTML,width:S,height:x,transform:m,title:o,extra:v,watchable:!0})])}}};const y1=new RegExp('"',"ug"),bg=[1105920,1112319],_g=Y(Y(Y(Y({},{FontAwesome:{normal:"fas",400:"fas"}}),kv),ly),Wv),_d=Object.keys(_g).reduce((u,r)=>(u[r.toLowerCase()]=_g[r],u),{}),b1=Object.keys(_d).reduce((u,r)=>{const f=_d[r];return u[r]=f[900]||[...Object.entries(f)][0][1],u},{});function _1(u){const r=u.replace(y1,""),f=xy(r,0),o=f>=bg[0]&&f<=bg[1],m=r.length===2?r[0]===r[1]:!1;return{value:dd(m?r[0]:r),isSecondary:o||m}}function S1(u,r){const f=u.replace(/^['"]|['"]$/g,"").toLowerCase(),o=parseInt(r),m=isNaN(o)?"normal":o;return(_d[f]||{})[m]||b1[f]}function Sg(u,r){const f="".concat(iy).concat(r.replace(":","-"));return new Promise((o,m)=>{if(u.getAttribute(f)!==null)return o();const S=Ys(u.children).filter(Q=>Q.getAttribute(rd)===r)[0],x=Xl.getComputedStyle(u,r),N=x.getPropertyValue("font-family"),U=N.match(oy),X=x.getPropertyValue("font-weight"),Z=x.getPropertyValue("content");if(S&&!U)return u.removeChild(S),o();if(U&&Z!=="none"&&Z!==""){const Q=x.getPropertyValue("content");let tt=S1(N,X);const{value:ct,isSecondary:Et}=_1(Q),rt=U[0].startsWith("FontAwesome");let ot=Yd(tt,ct),it=ot;if(rt){const Ct=Ny(ct);Ct.iconName&&Ct.prefix&&(ot=Ct.iconName,tt=Ct.prefix)}if(ot&&!Et&&(!S||S.getAttribute(jd)!==tt||S.getAttribute(Ld)!==it)){u.setAttribute(f,it),S&&u.removeChild(S);const Ct=r1(),{extra:ee}=Ct;ee.attributes[rd]=r,vd(ot,tt).then(ne=>{const Re=kd(Y(Y({},Ct),{},{icons:{main:ne,mask:pp()},prefix:tt,iconName:it,extra:ee,watchable:!0})),Kn=Zt.createElementNS("http://www.w3.org/2000/svg","svg");r==="::before"?u.insertBefore(Kn,u.firstChild):u.appendChild(Kn),Kn.outerHTML=Re.map(hn=>pr(hn)).join(`
`),u.removeAttribute(f),o()}).catch(m)}else o()}else o()})}function A1(u){return Promise.all([Sg(u,"::before"),Sg(u,"::after")])}function E1(u){return u.parentNode!==document.head&&!~uy.indexOf(u.tagName.toUpperCase())&&!u.getAttribute(rd)&&(!u.parentNode||u.parentNode.tagName!=="svg")}function Ag(u){if(Pa)return new Promise((r,f)=>{const o=Ys(u.querySelectorAll("*")).filter(E1).map(A1),m=Xd.begin("searchPseudoElements");Sp(),Promise.all(o).then(()=>{m(),bd(),r()}).catch(()=>{m(),bd(),f()})})}var T1={hooks(){return{mutationObserverCallbacks(u){return u.pseudoElementsCallback=Ag,u}}},provides(u){u.pseudoElements2svg=function(r){const{node:f=Zt}=r;I.searchPseudoElements&&Ag(f)}}};let Eg=!1;var O1={mixout(){return{dom:{unwatch(){Sp(),Eg=!0}}}},hooks(){return{bootstrap(){pg(md("mutationObserverCallbacks",{}))},noAuto(){l1()},watch(u){const{observeMutationsRoot:r}=u;Eg?bd():pg(md("mutationObserverCallbacks",{observeMutationsRoot:r}))}}}};const Tg=u=>{let r={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return u.toLowerCase().split(" ").reduce((f,o)=>{const m=o.toLowerCase().split("-"),v=m[0];let S=m.slice(1).join("-");if(v&&S==="h")return f.flipX=!0,f;if(v&&S==="v")return f.flipY=!0,f;if(S=parseFloat(S),isNaN(S))return f;switch(v){case"grow":f.size=f.size+S;break;case"shrink":f.size=f.size-S;break;case"left":f.x=f.x-S;break;case"right":f.x=f.x+S;break;case"up":f.y=f.y-S;break;case"down":f.y=f.y+S;break;case"rotate":f.rotate=f.rotate+S;break}return f},r)};var x1={mixout(){return{parse:{transform:u=>Tg(u)}}},hooks(){return{parseNodeAttributes(u,r){const f=r.getAttribute("data-fa-transform");return f&&(u.transform=Tg(f)),u}}},provides(u){u.generateAbstractTransformGrouping=function(r){let{main:f,transform:o,containerWidth:m,iconWidth:v}=r;const S={transform:"translate(".concat(m/2," 256)")},x="translate(".concat(o.x*32,", ").concat(o.y*32,") "),N="scale(".concat(o.size/16*(o.flipX?-1:1),", ").concat(o.size/16*(o.flipY?-1:1),") "),U="rotate(".concat(o.rotate," 0 0)"),X={transform:"".concat(x," ").concat(N," ").concat(U)},Z={transform:"translate(".concat(v/2*-1," -256)")},Q={outer:S,inner:X,path:Z};return{tag:"g",attributes:Y({},Q.outer),children:[{tag:"g",attributes:Y({},Q.inner),children:[{tag:f.icon.tag,children:f.icon.children,attributes:Y(Y({},f.icon.attributes),Q.path)}]}]}}}};const ad={x:0,y:0,width:"100%",height:"100%"};function Og(u){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return u.attributes&&(u.attributes.fill||r)&&(u.attributes.fill="black"),u}function C1(u){return u.tag==="g"?u.children:[u]}var D1={hooks(){return{parseNodeAttributes(u,r){const f=r.getAttribute("data-fa-mask"),o=f?eo(f.split(" ").map(m=>m.trim())):pp();return o.prefix||(o.prefix=Gl()),u.mask=o,u.maskId=r.getAttribute("data-fa-mask-id"),u}}},provides(u){u.generateAbstractMask=function(r){let{children:f,attributes:o,main:m,mask:v,maskId:S,transform:x}=r;const{width:N,icon:U}=m,{width:X,icon:Z}=v,Q=_y({transform:x,containerWidth:X,iconWidth:N}),tt={tag:"rect",attributes:Y(Y({},ad),{},{fill:"white"})},ct=U.children?{children:U.children.map(Og)}:{},Et={tag:"g",attributes:Y({},Q.inner),children:[Og(Y({tag:U.tag,attributes:Y(Y({},U.attributes),Q.path)},ct))]},rt={tag:"g",attributes:Y({},Q.outer),children:[Et]},ot="mask-".concat(S||dr()),it="clip-".concat(S||dr()),Ct={tag:"mask",attributes:Y(Y({},ad),{},{id:ot,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[tt,rt]},ee={tag:"defs",children:[{tag:"clipPath",attributes:{id:it},children:C1(Z)},Ct]};return f.push(ee,{tag:"rect",attributes:Y({fill:"currentColor","clip-path":"url(#".concat(it,")"),mask:"url(#".concat(ot,")")},ad)}),{children:f,attributes:o}}}},M1={provides(u){let r=!1;Xl.matchMedia&&(r=Xl.matchMedia("(prefers-reduced-motion: reduce)").matches),u.missingIconAbstract=function(){const f=[],o={fill:"currentColor"},m={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};f.push({tag:"path",attributes:Y(Y({},o),{},{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 v=Y(Y({},m),{},{attributeName:"opacity"}),S={tag:"circle",attributes:Y(Y({},o),{},{cx:"256",cy:"364",r:"28"}),children:[]};return r||S.children.push({tag:"animate",attributes:Y(Y({},m),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:Y(Y({},v),{},{values:"1;0;1;1;0;1;"})}),f.push(S),f.push({tag:"path",attributes:Y(Y({},o),{},{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:r?[]:[{tag:"animate",attributes:Y(Y({},v),{},{values:"1;0;0;0;0;1;"})}]}),r||f.push({tag:"path",attributes:Y(Y({},o),{},{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:Y(Y({},v),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:f}}}},w1={hooks(){return{parseNodeAttributes(u,r){const f=r.getAttribute("data-fa-symbol"),o=f===null?!1:f===""?!0:f;return u.symbol=o,u}}}},z1=[Ey,m1,g1,p1,v1,T1,O1,x1,D1,M1,w1];ky(z1,{mixoutsTo:dn});dn.noAuto;dn.config;dn.library;dn.dom;const Sd=dn.parse;dn.findIconDefinition;dn.toHtml;const N1=dn.icon;dn.layer;dn.text;dn.counter;function xg(u,r){var f=Object.keys(u);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(u);r&&(o=o.filter(function(m){return Object.getOwnPropertyDescriptor(u,m).enumerable})),f.push.apply(f,o)}return f}function _a(u){for(var r=1;r<arguments.length;r++){var f=arguments[r]!=null?arguments[r]:{};r%2?xg(Object(f),!0).forEach(function(o){Hs(u,o,f[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(f)):xg(Object(f)).forEach(function(o){Object.defineProperty(u,o,Object.getOwnPropertyDescriptor(f,o))})}return u}function Kc(u){"@babel/helpers - typeof";return Kc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Kc(u)}function Hs(u,r,f){return r in u?Object.defineProperty(u,r,{value:f,enumerable:!0,configurable:!0,writable:!0}):u[r]=f,u}function R1(u,r){if(u==null)return{};var f={},o=Object.keys(u),m,v;for(v=0;v<o.length;v++)m=o[v],!(r.indexOf(m)>=0)&&(f[m]=u[m]);return f}function j1(u,r){if(u==null)return{};var f=R1(u,r),o,m;if(Object.getOwnPropertySymbols){var v=Object.getOwnPropertySymbols(u);for(m=0;m<v.length;m++)o=v[m],!(r.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(u,o)&&(f[o]=u[o])}return f}function Ad(u){return L1(u)||U1(u)||H1(u)||q1()}function L1(u){if(Array.isArray(u))return Ed(u)}function U1(u){if(typeof Symbol<"u"&&u[Symbol.iterator]!=null||u["@@iterator"]!=null)return Array.from(u)}function H1(u,r){if(u){if(typeof u=="string")return Ed(u,r);var f=Object.prototype.toString.call(u).slice(8,-1);if(f==="Object"&&u.constructor&&(f=u.constructor.name),f==="Map"||f==="Set")return Array.from(u);if(f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f))return Ed(u,r)}}function Ed(u,r){(r==null||r>u.length)&&(r=u.length);for(var f=0,o=new Array(r);f<r;f++)o[f]=u[f];return o}function q1(){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 B1(u){var r,f=u.beat,o=u.fade,m=u.beatFade,v=u.bounce,S=u.shake,x=u.flash,N=u.spin,U=u.spinPulse,X=u.spinReverse,Z=u.pulse,Q=u.fixedWidth,tt=u.inverse,ct=u.border,Et=u.listItem,rt=u.flip,ot=u.size,it=u.rotation,Ct=u.pull,ee=(r={"fa-beat":f,"fa-fade":o,"fa-beat-fade":m,"fa-bounce":v,"fa-shake":S,"fa-flash":x,"fa-spin":N,"fa-spin-reverse":X,"fa-spin-pulse":U,"fa-pulse":Z,"fa-fw":Q,"fa-inverse":tt,"fa-border":ct,"fa-li":Et,"fa-flip":rt===!0,"fa-flip-horizontal":rt==="horizontal"||rt==="both","fa-flip-vertical":rt==="vertical"||rt==="both"},Hs(r,"fa-".concat(ot),typeof ot<"u"&&ot!==null),Hs(r,"fa-rotate-".concat(it),typeof it<"u"&&it!==null&&it!==0),Hs(r,"fa-pull-".concat(Ct),typeof Ct<"u"&&Ct!==null),Hs(r,"fa-swap-opacity",u.swapOpacity),r);return Object.keys(ee).map(function(ne){return ee[ne]?ne:null}).filter(function(ne){return ne})}function Y1(u){return u=u-0,u===u}function Ep(u){return Y1(u)?u:(u=u.replace(/[\-_\s]+(.)?/g,function(r,f){return f?f.toUpperCase():""}),u.substr(0,1).toLowerCase()+u.substr(1))}var k1=["style"];function X1(u){return u.charAt(0).toUpperCase()+u.slice(1)}function G1(u){return u.split(";").map(function(r){return r.trim()}).filter(function(r){return r}).reduce(function(r,f){var o=f.indexOf(":"),m=Ep(f.slice(0,o)),v=f.slice(o+1).trim();return m.startsWith("webkit")?r[X1(m)]=v:r[m]=v,r},{})}function Tp(u,r){var f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof r=="string")return r;var o=(r.children||[]).map(function(N){return Tp(u,N)}),m=Object.keys(r.attributes||{}).reduce(function(N,U){var X=r.attributes[U];switch(U){case"class":N.attrs.className=X,delete r.attributes.class;break;case"style":N.attrs.style=G1(X);break;default:U.indexOf("aria-")===0||U.indexOf("data-")===0?N.attrs[U.toLowerCase()]=X:N.attrs[Ep(U)]=X}return N},{attrs:{}}),v=f.style,S=v===void 0?{}:v,x=j1(f,k1);return m.attrs.style=_a(_a({},m.attrs.style),S),u.apply(void 0,[r.tag,_a(_a({},m.attrs),x)].concat(Ad(o)))}var Op=!1;try{Op=!0}catch{}function Q1(){if(!Op&&console&&typeof console.error=="function"){var u;(u=console).error.apply(u,arguments)}}function Cg(u){if(u&&Kc(u)==="object"&&u.prefix&&u.iconName&&u.icon)return u;if(Sd.icon)return Sd.icon(u);if(u===null)return null;if(u&&Kc(u)==="object"&&u.prefix&&u.iconName)return u;if(Array.isArray(u)&&u.length===2)return{prefix:u[0],iconName:u[1]};if(typeof u=="string")return{prefix:"fas",iconName:u}}function ld(u,r){return Array.isArray(r)&&r.length>0||!Array.isArray(r)&&r?Hs({},u,r):{}}var Dg={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=Ri.forwardRef(function(u,r){var f=_a(_a({},Dg),u),o=f.icon,m=f.mask,v=f.symbol,S=f.className,x=f.title,N=f.titleId,U=f.maskId,X=Cg(o),Z=ld("classes",[].concat(Ad(B1(f)),Ad((S||"").split(" ")))),Q=ld("transform",typeof f.transform=="string"?Sd.transform(f.transform):f.transform),tt=ld("mask",Cg(m)),ct=N1(X,_a(_a(_a(_a({},Z),Q),tt),{},{symbol:v,title:x,titleId:N,maskId:U}));if(!ct)return Q1("Could not find icon",X),null;var Et=ct.abstract,rt={ref:r};return Object.keys(f).forEach(function(ot){Dg.hasOwnProperty(ot)||(rt[ot]=f[ot])}),V1(Et[0],rt)});kl.displayName="FontAwesomeIcon";kl.propTypes={beat:K.bool,border:K.bool,beatFade:K.bool,bounce:K.bool,className:K.string,fade:K.bool,flash:K.bool,mask:K.oneOfType([K.object,K.array,K.string]),maskId:K.string,fixedWidth:K.bool,inverse:K.bool,flip:K.oneOf([!0,!1,"horizontal","vertical","both"]),icon:K.oneOfType([K.object,K.array,K.string]),listItem:K.bool,pull:K.oneOf(["right","left"]),pulse:K.bool,rotation:K.oneOf([0,90,180,270]),shake:K.bool,size:K.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:K.bool,spinPulse:K.bool,spinReverse:K.bool,symbol:K.oneOfType([K.bool,K.string]),title:K.string,titleId:K.string,transform:K.oneOfType([K.string,K.object]),swapOpacity:K.bool};var V1=Tp.bind(null,Ri.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 Z1={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"]},K1={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"]},$1={prefix:"fas",iconName:"gauge",icon:[512,512,["dashboard","gauge-med","tachometer-alt-average"],"f624","M0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm320 96c0-26.9-16.5-49.9-40-59.3L280 88c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 204.7c-23.5 9.5-40 32.5-40 59.3c0 35.3 28.7 64 64 64s64-28.7 64-64zM144 176a32 32 0 1 0 0-64 32 32 0 1 0 0 64zm-16 80a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm288 32a32 32 0 1 0 0-64 32 32 0 1 0 0 64zM400 144a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]},J1={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"]},F1=J1,W1={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"]},P1={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"]},I1=P1,xp=()=>{const{config:u,configLoading:r,configError:f}=mr();if(r)return G.jsx("p",{children:"Cargando configuración..."});if(f)return G.jsxs("p",{children:["Error al cargar configuración: ",f]});if(!u)return G.jsx("p",{children:"Configuración no disponible."});const o=u.appConfig.endpoints.baseUrl,m=u.appConfig.endpoints.sensors,v={baseUrl:`${o}/${m}`,params:{_sort:"timestamp",_order:"desc",_limit:1}};return G.jsx(Fc,{config:v,children:G.jsx(tb,{})})},tb=()=>{const{data:u}=wd(),r=[{id:1,title:"Temperatura",content:"N/A",status:"Esperando datos...",titleIcon:G.jsx(kl,{icon:F1})},{id:2,title:"Humedad",content:"N/A",status:"Esperando datos...",titleIcon:G.jsx(kl,{icon:W1})},{id:3,title:"Contaminación",content:"N/A",status:"Esperando datos...",titleIcon:G.jsx(kl,{icon:Z1})},{id:4,title:"Presión",content:"N/A",status:"Esperando datos...",titleIcon:G.jsx(kl,{icon:$1})}];return u&&u.forEach(f=>{f.sensor_type==="MQ-135"?(r[2].content=`${f.value} µg/m³`,r[2].status=f.value>100?"Alta contaminación 😷":"Aire moderado 🌤️"):f.sensor_type==="DHT-11"&&(r[1].content=`${f.humidity}%`,r[1].status=f.humidity>70?"Humedad alta 🌧️":"Nivel normal 🌤️",r[0].content=`${f.temperature}°C`,r[0].status=f.temperature>30?"Calor intenso ☀️":"Clima agradable 🌤️")}),G.jsx(Nd,{cards:r})};xp.propTypes={data:K.array};const eb=()=>G.jsx(G.Fragment,{children:G.jsxs(Ng,{children:[G.jsx(xp,{}),G.jsx(Av,{}),G.jsx(zv,{})]})});function Cp({onClick:u}){return G.jsx("button",{className:"menuBtn",onClick:u,children:G.jsx(kl,{icon:K1})})}Cp.propTypes={onClick:K.func.isRequired};const Dp=({isOpen:u,onClose:r})=>G.jsxs("div",{className:`side-menu ${u?"open":""}`,children:[G.jsx("button",{className:"close-btn",onClick:r,children:G.jsx(kl,{icon:I1})}),G.jsxs("ul",{children:[G.jsx("li",{children:G.jsx("a",{href:"#inicio",children:"ɪɴɪᴄɪᴏ"})}),G.jsx("li",{children:G.jsx("a",{href:"#mapa",children:"ᴍᴀᴘᴀ"})}),G.jsx("li",{children:G.jsx("a",{href:"#historico",children:"ʜɪsᴛᴏʀɪᴄᴏ"})})]})]});Dp.propTypes={isOpen:K.bool.isRequired,onClose:K.func.isRequired};function nb(){const{theme:u,toggleTheme:r}=Wc();return G.jsx("button",{className:"theme-toggle",onClick:r,children:u==="dark"?"☀️":"🌙"})}const Mp=u=>{const{theme:r}=Wc();return G.jsxs("header",{className:`justify-content-center text-center mb-4 ${r}`,children:[G.jsx("h1",{children:u.title}),G.jsx("p",{className:"subtitle",children:u.subtitle})]})};Mp.propTypes={title:K.string.isRequired,subtitle:K.string};const ab=()=>{const[u,r]=F.useState(!1),f=()=>{r(!u)},o=()=>{r(!1)};return G.jsxs(G.Fragment,{children:[G.jsx(Cp,{onClick:f}),G.jsx(Dp,{isOpen:u,onClose:f}),G.jsx(nb,{}),G.jsxs("div",{className:u?"blur m-0 p-0":"m-0 p-0",onClick:o,children:[G.jsx(Mp,{title:"Contamin",subtitle:"Midiendo la calidad del aire y las calles en Sevilla 🌿🚛"}),G.jsx(eb,{})]})]})};$0.createRoot(document.getElementById("root")).render(G.jsx(F.StrictMode,{children:G.jsx(Xg,{children:G.jsx(Ug,{children:G.jsx(ab,{})})})}));
