const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Home-DhyX6c0l.js","assets/SEOHead-QKDdyRHo.js","assets/SchemaMarkup-DjRiKSt-.js","assets/shield-check-BBQ6nAeH.js","assets/award-CxQxE7eL.js","assets/ServiceCard-D2uFANoc.js","assets/iconMap-CvQDyxG8.js","assets/arrow-right-DuP5P4b_.js","assets/NeighborhoodCard-WdO7Y3gy.js","assets/CTABanner-CqpcwSWC.js","assets/shield-aRvbqNCs.js","assets/dollar-sign-CnfIkUft.js","assets/Services-DRLLH27F.js","assets/Breadcrumb-CVo4_-RZ.js","assets/home-bpN861Pw.js","assets/ServiceDetail-BazadGcj.js","assets/check-circle-Bp-CYy8q.js","assets/About-Dprx_RdY.js","assets/WhyChooseUs-_xGIP7Pa.js","assets/Contact-B5339h2h.js","assets/GoogleMap-w-tOW9Vy.js","assets/Areas-BvWu_qhb.js","assets/AreaDetail-BQRjyMQJ.js","assets/NotFound-_dCTrEuE.js"])))=>i.map(i=>d[i]);
var Zd=Object.defineProperty;var Jd=(e,t,n)=>t in e?Zd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Ge=(e,t,n)=>Jd(e,typeof t!="symbol"?t+"":t,n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const l of o.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();function $i(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var hu={exports:{}},Fi={},pu={exports:{}},O={};/**
 * @license React
 * react.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Sr=Symbol.for("react.element"),ef=Symbol.for("react.portal"),tf=Symbol.for("react.fragment"),nf=Symbol.for("react.strict_mode"),rf=Symbol.for("react.profiler"),of=Symbol.for("react.provider"),lf=Symbol.for("react.context"),af=Symbol.for("react.forward_ref"),sf=Symbol.for("react.suspense"),uf=Symbol.for("react.memo"),cf=Symbol.for("react.lazy"),Va=Symbol.iterator;function df(e){return e===null||typeof e!="object"?null:(e=Va&&e[Va]||e["@@iterator"],typeof e=="function"?e:null)}var mu={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},gu=Object.assign,yu={};function Tn(e,t,n){this.props=e,this.context=t,this.refs=yu,this.updater=n||mu}Tn.prototype.isReactComponent={};Tn.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Tn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function vu(){}vu.prototype=Tn.prototype;function Hl(e,t,n){this.props=e,this.context=t,this.refs=yu,this.updater=n||mu}var Ul=Hl.prototype=new vu;Ul.constructor=Hl;gu(Ul,Tn.prototype);Ul.isPureReactComponent=!0;var qa=Array.isArray,wu=Object.prototype.hasOwnProperty,Bl={current:null},ku={key:!0,ref:!0,__self:!0,__source:!0};function xu(e,t,n){var r,i={},o=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(o=""+t.key),t)wu.call(t,r)&&!ku.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1<a){for(var s=Array(a),u=0;u<a;u++)s[u]=arguments[u+2];i.children=s}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)i[r]===void 0&&(i[r]=a[r]);return{$$typeof:Sr,type:e,key:o,ref:l,props:i,_owner:Bl.current}}function ff(e,t){return{$$typeof:Sr,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Vl(e){return typeof e=="object"&&e!==null&&e.$$typeof===Sr}function hf(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Qa=/\/+/g;function so(e,t){return typeof e=="object"&&e!==null&&e.key!=null?hf(""+e.key):t.toString(36)}function Zr(e,t,n,r,i){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var l=!1;if(e===null)l=!0;else switch(o){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case Sr:case ef:l=!0}}if(l)return l=e,i=i(l),e=r===""?"."+so(l,0):r,qa(i)?(n="",e!=null&&(n=e.replace(Qa,"$&/")+"/"),Zr(i,t,n,"",function(u){return u})):i!=null&&(Vl(i)&&(i=ff(i,n+(!i.key||l&&l.key===i.key?"":(""+i.key).replace(Qa,"$&/")+"/")+e)),t.push(i)),1;if(l=0,r=r===""?".":r+":",qa(e))for(var a=0;a<e.length;a++){o=e[a];var s=r+so(o,a);l+=Zr(o,t,n,s,i)}else if(s=df(e),typeof s=="function")for(e=s.call(e),a=0;!(o=e.next()).done;)o=o.value,s=r+so(o,a++),l+=Zr(o,t,n,s,i);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function jr(e,t,n){if(e==null)return e;var r=[],i=0;return Zr(e,r,"","",function(o){return t.call(n,o,i++)}),r}function pf(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var ce={current:null},Jr={transition:null},mf={ReactCurrentDispatcher:ce,ReactCurrentBatchConfig:Jr,ReactCurrentOwner:Bl};function Su(){throw Error("act(...) is not supported in production builds of React.")}O.Children={map:jr,forEach:function(e,t,n){jr(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return jr(e,function(){t++}),t},toArray:function(e){return jr(e,function(t){return t})||[]},only:function(e){if(!Vl(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};O.Component=Tn;O.Fragment=tf;O.Profiler=rf;O.PureComponent=Hl;O.StrictMode=nf;O.Suspense=sf;O.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=mf;O.act=Su;O.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=gu({},e.props),i=e.key,o=e.ref,l=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,l=Bl.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(s in t)wu.call(t,s)&&!ku.hasOwnProperty(s)&&(r[s]=t[s]===void 0&&a!==void 0?a[s]:t[s])}var s=arguments.length-2;if(s===1)r.children=n;else if(1<s){a=Array(s);for(var u=0;u<s;u++)a[u]=arguments[u+2];r.children=a}return{$$typeof:Sr,type:e.type,key:i,ref:o,props:r,_owner:l}};O.createContext=function(e){return e={$$typeof:lf,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:of,_context:e},e.Consumer=e};O.createElement=xu;O.createFactory=function(e){var t=xu.bind(null,e);return t.type=e,t};O.createRef=function(){return{current:null}};O.forwardRef=function(e){return{$$typeof:af,render:e}};O.isValidElement=Vl;O.lazy=function(e){return{$$typeof:cf,_payload:{_status:-1,_result:e},_init:pf}};O.memo=function(e,t){return{$$typeof:uf,type:e,compare:t===void 0?null:t}};O.startTransition=function(e){var t=Jr.transition;Jr.transition={};try{e()}finally{Jr.transition=t}};O.unstable_act=Su;O.useCallback=function(e,t){return ce.current.useCallback(e,t)};O.useContext=function(e){return ce.current.useContext(e)};O.useDebugValue=function(){};O.useDeferredValue=function(e){return ce.current.useDeferredValue(e)};O.useEffect=function(e,t){return ce.current.useEffect(e,t)};O.useId=function(){return ce.current.useId()};O.useImperativeHandle=function(e,t,n){return ce.current.useImperativeHandle(e,t,n)};O.useInsertionEffect=function(e,t){return ce.current.useInsertionEffect(e,t)};O.useLayoutEffect=function(e,t){return ce.current.useLayoutEffect(e,t)};O.useMemo=function(e,t){return ce.current.useMemo(e,t)};O.useReducer=function(e,t,n){return ce.current.useReducer(e,t,n)};O.useRef=function(e){return ce.current.useRef(e)};O.useState=function(e){return ce.current.useState(e)};O.useSyncExternalStore=function(e,t,n){return ce.current.useSyncExternalStore(e,t,n)};O.useTransition=function(){return ce.current.useTransition()};O.version="18.3.1";pu.exports=O;var y=pu.exports;const gt=$i(y);/**
 * @license React
 * react-jsx-runtime.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var gf=y,yf=Symbol.for("react.element"),vf=Symbol.for("react.fragment"),wf=Object.prototype.hasOwnProperty,kf=gf.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,xf={key:!0,ref:!0,__self:!0,__source:!0};function Cu(e,t,n){var r,i={},o=null,l=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(l=t.ref);for(r in t)wf.call(t,r)&&!xf.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:yf,type:e,key:o,ref:l,props:i,_owner:kf.current}}Fi.Fragment=vf;Fi.jsx=Cu;Fi.jsxs=Cu;hu.exports=Fi;var g=hu.exports,Eu={exports:{}},Se={},Pu={exports:{}},Tu={};/**
 * @license React
 * scheduler.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */(function(e){function t(_,j){var b=_.length;_.push(j);e:for(;0<b;){var q=b-1>>>1,Z=_[q];if(0<i(Z,j))_[q]=j,_[b]=Z,b=q;else break e}}function n(_){return _.length===0?null:_[0]}function r(_){if(_.length===0)return null;var j=_[0],b=_.pop();if(b!==j){_[0]=b;e:for(var q=0,Z=_.length,Nr=Z>>>1;q<Nr;){var bt=2*(q+1)-1,ao=_[bt],Ot=bt+1,Lr=_[Ot];if(0>i(ao,b))Ot<Z&&0>i(Lr,ao)?(_[q]=Lr,_[Ot]=b,q=Ot):(_[q]=ao,_[bt]=b,q=bt);else if(Ot<Z&&0>i(Lr,b))_[q]=Lr,_[Ot]=b,q=Ot;else break e}}return j}function i(_,j){var b=_.sortIndex-j.sortIndex;return b!==0?b:_.id-j.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var l=Date,a=l.now();e.unstable_now=function(){return l.now()-a}}var s=[],u=[],f=1,d=null,m=3,v=!1,k=!1,w=!1,C=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(_){for(var j=n(u);j!==null;){if(j.callback===null)r(u);else if(j.startTime<=_)r(u),j.sortIndex=j.expirationTime,t(s,j);else break;j=n(u)}}function x(_){if(w=!1,p(_),!k)if(n(s)!==null)k=!0,oo(P);else{var j=n(u);j!==null&&lo(x,j.startTime-_)}}function P(_,j){k=!1,w&&(w=!1,h(N),N=-1),v=!0;var b=m;try{for(p(j),d=n(s);d!==null&&(!(d.expirationTime>j)||_&&!Oe());){var q=d.callback;if(typeof q=="function"){d.callback=null,m=d.priorityLevel;var Z=q(d.expirationTime<=j);j=e.unstable_now(),typeof Z=="function"?d.callback=Z:d===n(s)&&r(s),p(j)}else r(s);d=n(s)}if(d!==null)var Nr=!0;else{var bt=n(u);bt!==null&&lo(x,bt.startTime-j),Nr=!1}return Nr}finally{d=null,m=b,v=!1}}var S=!1,R=null,N=-1,z=5,L=-1;function Oe(){return!(e.unstable_now()-L<z)}function bn(){if(R!==null){var _=e.unstable_now();L=_;var j=!0;try{j=R(!0,_)}finally{j?On():(S=!1,R=null)}}else S=!1}var On;if(typeof c=="function")On=function(){c(bn)};else if(typeof MessageChannel<"u"){var Ba=new MessageChannel,Xd=Ba.port2;Ba.port1.onmessage=bn,On=function(){Xd.postMessage(null)}}else On=function(){C(bn,0)};function oo(_){R=_,S||(S=!0,On())}function lo(_,j){N=C(function(){_(e.unstable_now())},j)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(_){_.callback=null},e.unstable_continueExecution=function(){k||v||(k=!0,oo(P))},e.unstable_forceFrameRate=function(_){0>_||125<_?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):z=0<_?Math.floor(1e3/_):5},e.unstable_getCurrentPriorityLevel=function(){return m},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(_){switch(m){case 1:case 2:case 3:var j=3;break;default:j=m}var b=m;m=j;try{return _()}finally{m=b}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(_,j){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var b=m;m=_;try{return j()}finally{m=b}},e.unstable_scheduleCallback=function(_,j,b){var q=e.unstable_now();switch(typeof b=="object"&&b!==null?(b=b.delay,b=typeof b=="number"&&0<b?q+b:q):b=q,_){case 1:var Z=-1;break;case 2:Z=250;break;case 5:Z=1073741823;break;case 4:Z=1e4;break;default:Z=5e3}return Z=b+Z,_={id:f++,callback:j,priorityLevel:_,startTime:b,expirationTime:Z,sortIndex:-1},b>q?(_.sortIndex=b,t(u,_),n(s)===null&&_===n(u)&&(w?(h(N),N=-1):w=!0,lo(x,b-q))):(_.sortIndex=Z,t(s,_),k||v||(k=!0,oo(P))),_},e.unstable_shouldYield=Oe,e.unstable_wrapCallback=function(_){var j=m;return function(){var b=m;m=j;try{return _.apply(this,arguments)}finally{m=b}}}})(Tu);Pu.exports=Tu;var Sf=Pu.exports;/**
 * @license React
 * react-dom.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Cf=y,xe=Sf;function E(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Ru=new Set,ir={};function Qt(e,t){wn(e,t),wn(e+"Capture",t)}function wn(e,t){for(ir[e]=t,e=0;e<t.length;e++)Ru.add(t[e])}var rt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ho=Object.prototype.hasOwnProperty,Ef=/^[: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]*$/,Ka={},Ya={};function Pf(e){return Ho.call(Ya,e)?!0:Ho.call(Ka,e)?!1:Ef.test(e)?Ya[e]=!0:(Ka[e]=!0,!1)}function Tf(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Rf(e,t,n,r){if(t===null||typeof t>"u"||Tf(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function de(e,t,n,r,i,o,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=l}var re={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){re[e]=new de(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];re[t]=new de(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){re[e]=new de(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){re[e]=new de(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){re[e]=new de(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){re[e]=new de(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){re[e]=new de(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){re[e]=new de(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){re[e]=new de(e,5,!1,e.toLowerCase(),null,!1,!1)});var ql=/[\-:]([a-z])/g;function Ql(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(ql,Ql);re[t]=new de(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(ql,Ql);re[t]=new de(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ql,Ql);re[t]=new de(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){re[e]=new de(e,1,!1,e.toLowerCase(),null,!1,!1)});re.xlinkHref=new de("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){re[e]=new de(e,1,!1,e.toLowerCase(),null,!0,!0)});function Kl(e,t,n,r){var i=re.hasOwnProperty(t)?re[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Rf(t,n,i,r)&&(n=null),r||i===null?Pf(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var st=Cf.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,br=Symbol.for("react.element"),Zt=Symbol.for("react.portal"),Jt=Symbol.for("react.fragment"),Yl=Symbol.for("react.strict_mode"),Uo=Symbol.for("react.profiler"),_u=Symbol.for("react.provider"),Nu=Symbol.for("react.context"),Gl=Symbol.for("react.forward_ref"),Bo=Symbol.for("react.suspense"),Vo=Symbol.for("react.suspense_list"),Xl=Symbol.for("react.memo"),ft=Symbol.for("react.lazy"),Lu=Symbol.for("react.offscreen"),Ga=Symbol.iterator;function An(e){return e===null||typeof e!="object"?null:(e=Ga&&e[Ga]||e["@@iterator"],typeof e=="function"?e:null)}var B=Object.assign,uo;function Vn(e){if(uo===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);uo=t&&t[1]||""}return`
`+uo+e}var co=!1;function fo(e,t){if(!e||co)return"";co=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var i=u.stack.split(`
`),o=r.stack.split(`
`),l=i.length-1,a=o.length-1;1<=l&&0<=a&&i[l]!==o[a];)a--;for(;1<=l&&0<=a;l--,a--)if(i[l]!==o[a]){if(l!==1||a!==1)do if(l--,a--,0>a||i[l]!==o[a]){var s=`
`+i[l].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}while(1<=l&&0<=a);break}}}finally{co=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Vn(e):""}function _f(e){switch(e.tag){case 5:return Vn(e.type);case 16:return Vn("Lazy");case 13:return Vn("Suspense");case 19:return Vn("SuspenseList");case 0:case 2:case 15:return e=fo(e.type,!1),e;case 11:return e=fo(e.type.render,!1),e;case 1:return e=fo(e.type,!0),e;default:return""}}function qo(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Jt:return"Fragment";case Zt:return"Portal";case Uo:return"Profiler";case Yl:return"StrictMode";case Bo:return"Suspense";case Vo:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Nu:return(e.displayName||"Context")+".Consumer";case _u:return(e._context.displayName||"Context")+".Provider";case Gl:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Xl:return t=e.displayName||null,t!==null?t:qo(e.type)||"Memo";case ft:t=e._payload,e=e._init;try{return qo(e(t))}catch{}}return null}function Nf(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return qo(t);case 8:return t===Yl?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Rt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ju(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Lf(e){var t=ju(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(l){r=""+l,o.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Or(e){e._valueTracker||(e._valueTracker=Lf(e))}function bu(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ju(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function mi(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Qo(e,t){var n=t.checked;return B({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Xa(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Rt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Ou(e,t){t=t.checked,t!=null&&Kl(e,"checked",t,!1)}function Ko(e,t){Ou(e,t);var n=Rt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Yo(e,t.type,n):t.hasOwnProperty("defaultValue")&&Yo(e,t.type,Rt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Za(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Yo(e,t,n){(t!=="number"||mi(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var qn=Array.isArray;function dn(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Rt(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Go(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(E(91));return B({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Ja(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(E(92));if(qn(n)){if(1<n.length)throw Error(E(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Rt(n)}}function Au(e,t){var n=Rt(t.value),r=Rt(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function es(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Mu(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Xo(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Mu(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Ar,zu=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Ar=Ar||document.createElement("div"),Ar.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Ar.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function or(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Yn={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},jf=["Webkit","ms","Moz","O"];Object.keys(Yn).forEach(function(e){jf.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Yn[t]=Yn[e]})});function Iu(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Yn.hasOwnProperty(e)&&Yn[e]?(""+t).trim():t+"px"}function Du(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Iu(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var bf=B({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Zo(e,t){if(t){if(bf[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(E(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(E(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(E(61))}if(t.style!=null&&typeof t.style!="object")throw Error(E(62))}}function Jo(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){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 el=null;function Zl(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var tl=null,fn=null,hn=null;function ts(e){if(e=Pr(e)){if(typeof tl!="function")throw Error(E(280));var t=e.stateNode;t&&(t=qi(t),tl(e.stateNode,e.type,t))}}function Wu(e){fn?hn?hn.push(e):hn=[e]:fn=e}function $u(){if(fn){var e=fn,t=hn;if(hn=fn=null,ts(e),t)for(e=0;e<t.length;e++)ts(t[e])}}function Fu(e,t){return e(t)}function Hu(){}var ho=!1;function Uu(e,t,n){if(ho)return e(t,n);ho=!0;try{return Fu(e,t,n)}finally{ho=!1,(fn!==null||hn!==null)&&(Hu(),$u())}}function lr(e,t){var n=e.stateNode;if(n===null)return null;var r=qi(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(E(231,t,typeof n));return n}var nl=!1;if(rt)try{var Mn={};Object.defineProperty(Mn,"passive",{get:function(){nl=!0}}),window.addEventListener("test",Mn,Mn),window.removeEventListener("test",Mn,Mn)}catch{nl=!1}function Of(e,t,n,r,i,o,l,a,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(f){this.onError(f)}}var Gn=!1,gi=null,yi=!1,rl=null,Af={onError:function(e){Gn=!0,gi=e}};function Mf(e,t,n,r,i,o,l,a,s){Gn=!1,gi=null,Of.apply(Af,arguments)}function zf(e,t,n,r,i,o,l,a,s){if(Mf.apply(this,arguments),Gn){if(Gn){var u=gi;Gn=!1,gi=null}else throw Error(E(198));yi||(yi=!0,rl=u)}}function Kt(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Bu(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function ns(e){if(Kt(e)!==e)throw Error(E(188))}function If(e){var t=e.alternate;if(!t){if(t=Kt(e),t===null)throw Error(E(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var o=i.alternate;if(o===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return ns(i),e;if(o===r)return ns(i),t;o=o.sibling}throw Error(E(188))}if(n.return!==r.return)n=i,r=o;else{for(var l=!1,a=i.child;a;){if(a===n){l=!0,n=i,r=o;break}if(a===r){l=!0,r=i,n=o;break}a=a.sibling}if(!l){for(a=o.child;a;){if(a===n){l=!0,n=o,r=i;break}if(a===r){l=!0,r=o,n=i;break}a=a.sibling}if(!l)throw Error(E(189))}}if(n.alternate!==r)throw Error(E(190))}if(n.tag!==3)throw Error(E(188));return n.stateNode.current===n?e:t}function Vu(e){return e=If(e),e!==null?qu(e):null}function qu(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=qu(e);if(t!==null)return t;e=e.sibling}return null}var Qu=xe.unstable_scheduleCallback,rs=xe.unstable_cancelCallback,Df=xe.unstable_shouldYield,Wf=xe.unstable_requestPaint,Q=xe.unstable_now,$f=xe.unstable_getCurrentPriorityLevel,Jl=xe.unstable_ImmediatePriority,Ku=xe.unstable_UserBlockingPriority,vi=xe.unstable_NormalPriority,Ff=xe.unstable_LowPriority,Yu=xe.unstable_IdlePriority,Hi=null,Qe=null;function Hf(e){if(Qe&&typeof Qe.onCommitFiberRoot=="function")try{Qe.onCommitFiberRoot(Hi,e,void 0,(e.current.flags&128)===128)}catch{}}var $e=Math.clz32?Math.clz32:Vf,Uf=Math.log,Bf=Math.LN2;function Vf(e){return e>>>=0,e===0?32:31-(Uf(e)/Bf|0)|0}var Mr=64,zr=4194304;function Qn(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function wi(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,l=n&268435455;if(l!==0){var a=l&~i;a!==0?r=Qn(a):(o&=l,o!==0&&(r=Qn(o)))}else l=n&~i,l!==0?r=Qn(l):o!==0&&(r=Qn(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-$e(t),i=1<<n,r|=e[n],t&=~i;return r}function qf(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Qf(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var l=31-$e(o),a=1<<l,s=i[l];s===-1?(!(a&n)||a&r)&&(i[l]=qf(a,t)):s<=t&&(e.expiredLanes|=a),o&=~a}}function il(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Gu(){var e=Mr;return Mr<<=1,!(Mr&4194240)&&(Mr=64),e}function po(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Cr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-$e(t),e[t]=n}function Kf(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-$e(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}function ea(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-$e(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var M=0;function Xu(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Zu,ta,Ju,ec,tc,ol=!1,Ir=[],wt=null,kt=null,xt=null,ar=new Map,sr=new Map,pt=[],Yf="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function is(e,t){switch(e){case"focusin":case"focusout":wt=null;break;case"dragenter":case"dragleave":kt=null;break;case"mouseover":case"mouseout":xt=null;break;case"pointerover":case"pointerout":ar.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":sr.delete(t.pointerId)}}function zn(e,t,n,r,i,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},t!==null&&(t=Pr(t),t!==null&&ta(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Gf(e,t,n,r,i){switch(t){case"focusin":return wt=zn(wt,e,t,n,r,i),!0;case"dragenter":return kt=zn(kt,e,t,n,r,i),!0;case"mouseover":return xt=zn(xt,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return ar.set(o,zn(ar.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,sr.set(o,zn(sr.get(o)||null,e,t,n,r,i)),!0}return!1}function nc(e){var t=zt(e.target);if(t!==null){var n=Kt(t);if(n!==null){if(t=n.tag,t===13){if(t=Bu(n),t!==null){e.blockedOn=t,tc(e.priority,function(){Ju(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function ei(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=ll(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);el=r,n.target.dispatchEvent(r),el=null}else return t=Pr(n),t!==null&&ta(t),e.blockedOn=n,!1;t.shift()}return!0}function os(e,t,n){ei(e)&&n.delete(t)}function Xf(){ol=!1,wt!==null&&ei(wt)&&(wt=null),kt!==null&&ei(kt)&&(kt=null),xt!==null&&ei(xt)&&(xt=null),ar.forEach(os),sr.forEach(os)}function In(e,t){e.blockedOn===t&&(e.blockedOn=null,ol||(ol=!0,xe.unstable_scheduleCallback(xe.unstable_NormalPriority,Xf)))}function ur(e){function t(i){return In(i,e)}if(0<Ir.length){In(Ir[0],e);for(var n=1;n<Ir.length;n++){var r=Ir[n];r.blockedOn===e&&(r.blockedOn=null)}}for(wt!==null&&In(wt,e),kt!==null&&In(kt,e),xt!==null&&In(xt,e),ar.forEach(t),sr.forEach(t),n=0;n<pt.length;n++)r=pt[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<pt.length&&(n=pt[0],n.blockedOn===null);)nc(n),n.blockedOn===null&&pt.shift()}var pn=st.ReactCurrentBatchConfig,ki=!0;function Zf(e,t,n,r){var i=M,o=pn.transition;pn.transition=null;try{M=1,na(e,t,n,r)}finally{M=i,pn.transition=o}}function Jf(e,t,n,r){var i=M,o=pn.transition;pn.transition=null;try{M=4,na(e,t,n,r)}finally{M=i,pn.transition=o}}function na(e,t,n,r){if(ki){var i=ll(e,t,n,r);if(i===null)Eo(e,t,r,xi,n),is(e,r);else if(Gf(i,e,t,n,r))r.stopPropagation();else if(is(e,r),t&4&&-1<Yf.indexOf(e)){for(;i!==null;){var o=Pr(i);if(o!==null&&Zu(o),o=ll(e,t,n,r),o===null&&Eo(e,t,r,xi,n),o===i)break;i=o}i!==null&&r.stopPropagation()}else Eo(e,t,r,null,n)}}var xi=null;function ll(e,t,n,r){if(xi=null,e=Zl(r),e=zt(e),e!==null)if(t=Kt(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Bu(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return xi=e,null}function rc(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch($f()){case Jl:return 1;case Ku:return 4;case vi:case Ff:return 16;case Yu:return 536870912;default:return 16}default:return 16}}var yt=null,ra=null,ti=null;function ic(){if(ti)return ti;var e,t=ra,n=t.length,r,i="value"in yt?yt.value:yt.textContent,o=i.length;for(e=0;e<n&&t[e]===i[e];e++);var l=n-e;for(r=1;r<=l&&t[n-r]===i[o-r];r++);return ti=i.slice(e,1<r?1-r:void 0)}function ni(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Dr(){return!0}function ls(){return!1}function Ce(e){function t(n,r,i,o,l){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=o,this.target=l,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(o):o[a]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Dr:ls,this.isPropagationStopped=ls,this}return B(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Dr)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Dr)},persist:function(){},isPersistent:Dr}),t}var Rn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ia=Ce(Rn),Er=B({},Rn,{view:0,detail:0}),eh=Ce(Er),mo,go,Dn,Ui=B({},Er,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:oa,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Dn&&(Dn&&e.type==="mousemove"?(mo=e.screenX-Dn.screenX,go=e.screenY-Dn.screenY):go=mo=0,Dn=e),mo)},movementY:function(e){return"movementY"in e?e.movementY:go}}),as=Ce(Ui),th=B({},Ui,{dataTransfer:0}),nh=Ce(th),rh=B({},Er,{relatedTarget:0}),yo=Ce(rh),ih=B({},Rn,{animationName:0,elapsedTime:0,pseudoElement:0}),oh=Ce(ih),lh=B({},Rn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),ah=Ce(lh),sh=B({},Rn,{data:0}),ss=Ce(sh),uh={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ch={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"},dh={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function fh(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=dh[e])?!!t[e]:!1}function oa(){return fh}var hh=B({},Er,{key:function(e){if(e.key){var t=uh[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ni(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?ch[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:oa,charCode:function(e){return e.type==="keypress"?ni(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ni(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),ph=Ce(hh),mh=B({},Ui,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),us=Ce(mh),gh=B({},Er,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:oa}),yh=Ce(gh),vh=B({},Rn,{propertyName:0,elapsedTime:0,pseudoElement:0}),wh=Ce(vh),kh=B({},Ui,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),xh=Ce(kh),Sh=[9,13,27,32],la=rt&&"CompositionEvent"in window,Xn=null;rt&&"documentMode"in document&&(Xn=document.documentMode);var Ch=rt&&"TextEvent"in window&&!Xn,oc=rt&&(!la||Xn&&8<Xn&&11>=Xn),cs=" ",ds=!1;function lc(e,t){switch(e){case"keyup":return Sh.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ac(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var en=!1;function Eh(e,t){switch(e){case"compositionend":return ac(t);case"keypress":return t.which!==32?null:(ds=!0,cs);case"textInput":return e=t.data,e===cs&&ds?null:e;default:return null}}function Ph(e,t){if(en)return e==="compositionend"||!la&&lc(e,t)?(e=ic(),ti=ra=yt=null,en=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return oc&&t.locale!=="ko"?null:t.data;default:return null}}var Th={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 fs(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Th[e.type]:t==="textarea"}function sc(e,t,n,r){Wu(r),t=Si(t,"onChange"),0<t.length&&(n=new ia("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Zn=null,cr=null;function Rh(e){wc(e,0)}function Bi(e){var t=rn(e);if(bu(t))return e}function _h(e,t){if(e==="change")return t}var uc=!1;if(rt){var vo;if(rt){var wo="oninput"in document;if(!wo){var hs=document.createElement("div");hs.setAttribute("oninput","return;"),wo=typeof hs.oninput=="function"}vo=wo}else vo=!1;uc=vo&&(!document.documentMode||9<document.documentMode)}function ps(){Zn&&(Zn.detachEvent("onpropertychange",cc),cr=Zn=null)}function cc(e){if(e.propertyName==="value"&&Bi(cr)){var t=[];sc(t,cr,e,Zl(e)),Uu(Rh,t)}}function Nh(e,t,n){e==="focusin"?(ps(),Zn=t,cr=n,Zn.attachEvent("onpropertychange",cc)):e==="focusout"&&ps()}function Lh(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Bi(cr)}function jh(e,t){if(e==="click")return Bi(t)}function bh(e,t){if(e==="input"||e==="change")return Bi(t)}function Oh(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var He=typeof Object.is=="function"?Object.is:Oh;function dr(e,t){if(He(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!Ho.call(t,i)||!He(e[i],t[i]))return!1}return!0}function ms(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function gs(e,t){var n=ms(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=ms(n)}}function dc(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?dc(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function fc(){for(var e=window,t=mi();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=mi(e.document)}return t}function aa(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Ah(e){var t=fc(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dc(n.ownerDocument.documentElement,n)){if(r!==null&&aa(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=gs(n,o);var l=gs(n,r);i&&l&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Mh=rt&&"documentMode"in document&&11>=document.documentMode,tn=null,al=null,Jn=null,sl=!1;function ys(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;sl||tn==null||tn!==mi(r)||(r=tn,"selectionStart"in r&&aa(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Jn&&dr(Jn,r)||(Jn=r,r=Si(al,"onSelect"),0<r.length&&(t=new ia("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=tn)))}function Wr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var nn={animationend:Wr("Animation","AnimationEnd"),animationiteration:Wr("Animation","AnimationIteration"),animationstart:Wr("Animation","AnimationStart"),transitionend:Wr("Transition","TransitionEnd")},ko={},hc={};rt&&(hc=document.createElement("div").style,"AnimationEvent"in window||(delete nn.animationend.animation,delete nn.animationiteration.animation,delete nn.animationstart.animation),"TransitionEvent"in window||delete nn.transitionend.transition);function Vi(e){if(ko[e])return ko[e];if(!nn[e])return e;var t=nn[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in hc)return ko[e]=t[n];return e}var pc=Vi("animationend"),mc=Vi("animationiteration"),gc=Vi("animationstart"),yc=Vi("transitionend"),vc=new Map,vs="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Nt(e,t){vc.set(e,t),Qt(t,[e])}for(var xo=0;xo<vs.length;xo++){var So=vs[xo],zh=So.toLowerCase(),Ih=So[0].toUpperCase()+So.slice(1);Nt(zh,"on"+Ih)}Nt(pc,"onAnimationEnd");Nt(mc,"onAnimationIteration");Nt(gc,"onAnimationStart");Nt("dblclick","onDoubleClick");Nt("focusin","onFocus");Nt("focusout","onBlur");Nt(yc,"onTransitionEnd");wn("onMouseEnter",["mouseout","mouseover"]);wn("onMouseLeave",["mouseout","mouseover"]);wn("onPointerEnter",["pointerout","pointerover"]);wn("onPointerLeave",["pointerout","pointerover"]);Qt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Qt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Qt("onBeforeInput",["compositionend","keypress","textInput","paste"]);Qt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Qt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Qt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Kn="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(" "),Dh=new Set("cancel close invalid load scroll toggle".split(" ").concat(Kn));function ws(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,zf(r,t,void 0,e),e.currentTarget=null}function wc(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var l=r.length-1;0<=l;l--){var a=r[l],s=a.instance,u=a.currentTarget;if(a=a.listener,s!==o&&i.isPropagationStopped())break e;ws(i,a,u),o=s}else for(l=0;l<r.length;l++){if(a=r[l],s=a.instance,u=a.currentTarget,a=a.listener,s!==o&&i.isPropagationStopped())break e;ws(i,a,u),o=s}}}if(yi)throw e=rl,yi=!1,rl=null,e}function D(e,t){var n=t[hl];n===void 0&&(n=t[hl]=new Set);var r=e+"__bubble";n.has(r)||(kc(t,e,2,!1),n.add(r))}function Co(e,t,n){var r=0;t&&(r|=4),kc(n,e,r,t)}var $r="_reactListening"+Math.random().toString(36).slice(2);function fr(e){if(!e[$r]){e[$r]=!0,Ru.forEach(function(n){n!=="selectionchange"&&(Dh.has(n)||Co(n,!1,e),Co(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[$r]||(t[$r]=!0,Co("selectionchange",!1,t))}}function kc(e,t,n,r){switch(rc(t)){case 1:var i=Zf;break;case 4:i=Jf;break;default:i=na}n=i.bind(null,t,n,e),i=void 0,!nl||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Eo(e,t,n,r,i){var o=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var l=r.tag;if(l===3||l===4){var a=r.stateNode.containerInfo;if(a===i||a.nodeType===8&&a.parentNode===i)break;if(l===4)for(l=r.return;l!==null;){var s=l.tag;if((s===3||s===4)&&(s=l.stateNode.containerInfo,s===i||s.nodeType===8&&s.parentNode===i))return;l=l.return}for(;a!==null;){if(l=zt(a),l===null)return;if(s=l.tag,s===5||s===6){r=o=l;continue e}a=a.parentNode}}r=r.return}Uu(function(){var u=o,f=Zl(n),d=[];e:{var m=vc.get(e);if(m!==void 0){var v=ia,k=e;switch(e){case"keypress":if(ni(n)===0)break e;case"keydown":case"keyup":v=ph;break;case"focusin":k="focus",v=yo;break;case"focusout":k="blur",v=yo;break;case"beforeblur":case"afterblur":v=yo;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":v=as;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":v=nh;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":v=yh;break;case pc:case mc:case gc:v=oh;break;case yc:v=wh;break;case"scroll":v=eh;break;case"wheel":v=xh;break;case"copy":case"cut":case"paste":v=ah;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":v=us}var w=(t&4)!==0,C=!w&&e==="scroll",h=w?m!==null?m+"Capture":null:m;w=[];for(var c=u,p;c!==null;){p=c;var x=p.stateNode;if(p.tag===5&&x!==null&&(p=x,h!==null&&(x=lr(c,h),x!=null&&w.push(hr(c,x,p)))),C)break;c=c.return}0<w.length&&(m=new v(m,k,null,n,f),d.push({event:m,listeners:w}))}}if(!(t&7)){e:{if(m=e==="mouseover"||e==="pointerover",v=e==="mouseout"||e==="pointerout",m&&n!==el&&(k=n.relatedTarget||n.fromElement)&&(zt(k)||k[it]))break e;if((v||m)&&(m=f.window===f?f:(m=f.ownerDocument)?m.defaultView||m.parentWindow:window,v?(k=n.relatedTarget||n.toElement,v=u,k=k?zt(k):null,k!==null&&(C=Kt(k),k!==C||k.tag!==5&&k.tag!==6)&&(k=null)):(v=null,k=u),v!==k)){if(w=as,x="onMouseLeave",h="onMouseEnter",c="mouse",(e==="pointerout"||e==="pointerover")&&(w=us,x="onPointerLeave",h="onPointerEnter",c="pointer"),C=v==null?m:rn(v),p=k==null?m:rn(k),m=new w(x,c+"leave",v,n,f),m.target=C,m.relatedTarget=p,x=null,zt(f)===u&&(w=new w(h,c+"enter",k,n,f),w.target=p,w.relatedTarget=C,x=w),C=x,v&&k)t:{for(w=v,h=k,c=0,p=w;p;p=Gt(p))c++;for(p=0,x=h;x;x=Gt(x))p++;for(;0<c-p;)w=Gt(w),c--;for(;0<p-c;)h=Gt(h),p--;for(;c--;){if(w===h||h!==null&&w===h.alternate)break t;w=Gt(w),h=Gt(h)}w=null}else w=null;v!==null&&ks(d,m,v,w,!1),k!==null&&C!==null&&ks(d,C,k,w,!0)}}e:{if(m=u?rn(u):window,v=m.nodeName&&m.nodeName.toLowerCase(),v==="select"||v==="input"&&m.type==="file")var P=_h;else if(fs(m))if(uc)P=bh;else{P=Lh;var S=Nh}else(v=m.nodeName)&&v.toLowerCase()==="input"&&(m.type==="checkbox"||m.type==="radio")&&(P=jh);if(P&&(P=P(e,u))){sc(d,P,n,f);break e}S&&S(e,m,u),e==="focusout"&&(S=m._wrapperState)&&S.controlled&&m.type==="number"&&Yo(m,"number",m.value)}switch(S=u?rn(u):window,e){case"focusin":(fs(S)||S.contentEditable==="true")&&(tn=S,al=u,Jn=null);break;case"focusout":Jn=al=tn=null;break;case"mousedown":sl=!0;break;case"contextmenu":case"mouseup":case"dragend":sl=!1,ys(d,n,f);break;case"selectionchange":if(Mh)break;case"keydown":case"keyup":ys(d,n,f)}var R;if(la)e:{switch(e){case"compositionstart":var N="onCompositionStart";break e;case"compositionend":N="onCompositionEnd";break e;case"compositionupdate":N="onCompositionUpdate";break e}N=void 0}else en?lc(e,n)&&(N="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(N="onCompositionStart");N&&(oc&&n.locale!=="ko"&&(en||N!=="onCompositionStart"?N==="onCompositionEnd"&&en&&(R=ic()):(yt=f,ra="value"in yt?yt.value:yt.textContent,en=!0)),S=Si(u,N),0<S.length&&(N=new ss(N,e,null,n,f),d.push({event:N,listeners:S}),R?N.data=R:(R=ac(n),R!==null&&(N.data=R)))),(R=Ch?Eh(e,n):Ph(e,n))&&(u=Si(u,"onBeforeInput"),0<u.length&&(f=new ss("onBeforeInput","beforeinput",null,n,f),d.push({event:f,listeners:u}),f.data=R))}wc(d,t)})}function hr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Si(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=lr(e,n),o!=null&&r.unshift(hr(e,o,i)),o=lr(e,t),o!=null&&r.push(hr(e,o,i))),e=e.return}return r}function Gt(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function ks(e,t,n,r,i){for(var o=t._reactName,l=[];n!==null&&n!==r;){var a=n,s=a.alternate,u=a.stateNode;if(s!==null&&s===r)break;a.tag===5&&u!==null&&(a=u,i?(s=lr(n,o),s!=null&&l.unshift(hr(n,s,a))):i||(s=lr(n,o),s!=null&&l.push(hr(n,s,a)))),n=n.return}l.length!==0&&e.push({event:t,listeners:l})}var Wh=/\r\n?/g,$h=/\u0000|\uFFFD/g;function xs(e){return(typeof e=="string"?e:""+e).replace(Wh,`
`).replace($h,"")}function Fr(e,t,n){if(t=xs(t),xs(e)!==t&&n)throw Error(E(425))}function Ci(){}var ul=null,cl=null;function dl(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var fl=typeof setTimeout=="function"?setTimeout:void 0,Fh=typeof clearTimeout=="function"?clearTimeout:void 0,Ss=typeof Promise=="function"?Promise:void 0,Hh=typeof queueMicrotask=="function"?queueMicrotask:typeof Ss<"u"?function(e){return Ss.resolve(null).then(e).catch(Uh)}:fl;function Uh(e){setTimeout(function(){throw e})}function Po(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),ur(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);ur(t)}function St(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Cs(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var _n=Math.random().toString(36).slice(2),qe="__reactFiber$"+_n,pr="__reactProps$"+_n,it="__reactContainer$"+_n,hl="__reactEvents$"+_n,Bh="__reactListeners$"+_n,Vh="__reactHandles$"+_n;function zt(e){var t=e[qe];if(t)return t;for(var n=e.parentNode;n;){if(t=n[it]||n[qe]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Cs(e);e!==null;){if(n=e[qe])return n;e=Cs(e)}return t}e=n,n=e.parentNode}return null}function Pr(e){return e=e[qe]||e[it],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function rn(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(E(33))}function qi(e){return e[pr]||null}var pl=[],on=-1;function Lt(e){return{current:e}}function W(e){0>on||(e.current=pl[on],pl[on]=null,on--)}function I(e,t){on++,pl[on]=e.current,e.current=t}var _t={},ae=Lt(_t),pe=Lt(!1),Ht=_t;function kn(e,t){var n=e.type.contextTypes;if(!n)return _t;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function me(e){return e=e.childContextTypes,e!=null}function Ei(){W(pe),W(ae)}function Es(e,t,n){if(ae.current!==_t)throw Error(E(168));I(ae,t),I(pe,n)}function xc(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(E(108,Nf(e)||"Unknown",i));return B({},n,r)}function Pi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||_t,Ht=ae.current,I(ae,e),I(pe,pe.current),!0}function Ps(e,t,n){var r=e.stateNode;if(!r)throw Error(E(169));n?(e=xc(e,t,Ht),r.__reactInternalMemoizedMergedChildContext=e,W(pe),W(ae),I(ae,e)):W(pe),I(pe,n)}var Ze=null,Qi=!1,To=!1;function Sc(e){Ze===null?Ze=[e]:Ze.push(e)}function qh(e){Qi=!0,Sc(e)}function jt(){if(!To&&Ze!==null){To=!0;var e=0,t=M;try{var n=Ze;for(M=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Ze=null,Qi=!1}catch(i){throw Ze!==null&&(Ze=Ze.slice(e+1)),Qu(Jl,jt),i}finally{M=t,To=!1}}return null}var ln=[],an=0,Ti=null,Ri=0,Te=[],Re=0,Ut=null,Je=1,et="";function At(e,t){ln[an++]=Ri,ln[an++]=Ti,Ti=e,Ri=t}function Cc(e,t,n){Te[Re++]=Je,Te[Re++]=et,Te[Re++]=Ut,Ut=e;var r=Je;e=et;var i=32-$e(r)-1;r&=~(1<<i),n+=1;var o=32-$e(t)+i;if(30<o){var l=i-i%5;o=(r&(1<<l)-1).toString(32),r>>=l,i-=l,Je=1<<32-$e(t)+i|n<<i|r,et=o+e}else Je=1<<o|n<<i|r,et=e}function sa(e){e.return!==null&&(At(e,1),Cc(e,1,0))}function ua(e){for(;e===Ti;)Ti=ln[--an],ln[an]=null,Ri=ln[--an],ln[an]=null;for(;e===Ut;)Ut=Te[--Re],Te[Re]=null,et=Te[--Re],Te[Re]=null,Je=Te[--Re],Te[Re]=null}var ke=null,we=null,$=!1,De=null;function Ec(e,t){var n=_e(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Ts(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,ke=e,we=St(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,ke=e,we=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Ut!==null?{id:Je,overflow:et}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=_e(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,ke=e,we=null,!0):!1;default:return!1}}function ml(e){return(e.mode&1)!==0&&(e.flags&128)===0}function gl(e){if($){var t=we;if(t){var n=t;if(!Ts(e,t)){if(ml(e))throw Error(E(418));t=St(n.nextSibling);var r=ke;t&&Ts(e,t)?Ec(r,n):(e.flags=e.flags&-4097|2,$=!1,ke=e)}}else{if(ml(e))throw Error(E(418));e.flags=e.flags&-4097|2,$=!1,ke=e}}}function Rs(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ke=e}function Hr(e){if(e!==ke)return!1;if(!$)return Rs(e),$=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!dl(e.type,e.memoizedProps)),t&&(t=we)){if(ml(e))throw Pc(),Error(E(418));for(;t;)Ec(e,t),t=St(t.nextSibling)}if(Rs(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(E(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){we=St(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}we=null}}else we=ke?St(e.stateNode.nextSibling):null;return!0}function Pc(){for(var e=we;e;)e=St(e.nextSibling)}function xn(){we=ke=null,$=!1}function ca(e){De===null?De=[e]:De.push(e)}var Qh=st.ReactCurrentBatchConfig;function Wn(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(E(309));var r=n.stateNode}if(!r)throw Error(E(147,e));var i=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(l){var a=i.refs;l===null?delete a[o]:a[o]=l},t._stringRef=o,t)}if(typeof e!="string")throw Error(E(284));if(!n._owner)throw Error(E(290,e))}return e}function Ur(e,t){throw e=Object.prototype.toString.call(t),Error(E(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function _s(e){var t=e._init;return t(e._payload)}function Tc(e){function t(h,c){if(e){var p=h.deletions;p===null?(h.deletions=[c],h.flags|=16):p.push(c)}}function n(h,c){if(!e)return null;for(;c!==null;)t(h,c),c=c.sibling;return null}function r(h,c){for(h=new Map;c!==null;)c.key!==null?h.set(c.key,c):h.set(c.index,c),c=c.sibling;return h}function i(h,c){return h=Tt(h,c),h.index=0,h.sibling=null,h}function o(h,c,p){return h.index=p,e?(p=h.alternate,p!==null?(p=p.index,p<c?(h.flags|=2,c):p):(h.flags|=2,c)):(h.flags|=1048576,c)}function l(h){return e&&h.alternate===null&&(h.flags|=2),h}function a(h,c,p,x){return c===null||c.tag!==6?(c=Oo(p,h.mode,x),c.return=h,c):(c=i(c,p),c.return=h,c)}function s(h,c,p,x){var P=p.type;return P===Jt?f(h,c,p.props.children,x,p.key):c!==null&&(c.elementType===P||typeof P=="object"&&P!==null&&P.$$typeof===ft&&_s(P)===c.type)?(x=i(c,p.props),x.ref=Wn(h,c,p),x.return=h,x):(x=ui(p.type,p.key,p.props,null,h.mode,x),x.ref=Wn(h,c,p),x.return=h,x)}function u(h,c,p,x){return c===null||c.tag!==4||c.stateNode.containerInfo!==p.containerInfo||c.stateNode.implementation!==p.implementation?(c=Ao(p,h.mode,x),c.return=h,c):(c=i(c,p.children||[]),c.return=h,c)}function f(h,c,p,x,P){return c===null||c.tag!==7?(c=Ft(p,h.mode,x,P),c.return=h,c):(c=i(c,p),c.return=h,c)}function d(h,c,p){if(typeof c=="string"&&c!==""||typeof c=="number")return c=Oo(""+c,h.mode,p),c.return=h,c;if(typeof c=="object"&&c!==null){switch(c.$$typeof){case br:return p=ui(c.type,c.key,c.props,null,h.mode,p),p.ref=Wn(h,null,c),p.return=h,p;case Zt:return c=Ao(c,h.mode,p),c.return=h,c;case ft:var x=c._init;return d(h,x(c._payload),p)}if(qn(c)||An(c))return c=Ft(c,h.mode,p,null),c.return=h,c;Ur(h,c)}return null}function m(h,c,p,x){var P=c!==null?c.key:null;if(typeof p=="string"&&p!==""||typeof p=="number")return P!==null?null:a(h,c,""+p,x);if(typeof p=="object"&&p!==null){switch(p.$$typeof){case br:return p.key===P?s(h,c,p,x):null;case Zt:return p.key===P?u(h,c,p,x):null;case ft:return P=p._init,m(h,c,P(p._payload),x)}if(qn(p)||An(p))return P!==null?null:f(h,c,p,x,null);Ur(h,p)}return null}function v(h,c,p,x,P){if(typeof x=="string"&&x!==""||typeof x=="number")return h=h.get(p)||null,a(c,h,""+x,P);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case br:return h=h.get(x.key===null?p:x.key)||null,s(c,h,x,P);case Zt:return h=h.get(x.key===null?p:x.key)||null,u(c,h,x,P);case ft:var S=x._init;return v(h,c,p,S(x._payload),P)}if(qn(x)||An(x))return h=h.get(p)||null,f(c,h,x,P,null);Ur(c,x)}return null}function k(h,c,p,x){for(var P=null,S=null,R=c,N=c=0,z=null;R!==null&&N<p.length;N++){R.index>N?(z=R,R=null):z=R.sibling;var L=m(h,R,p[N],x);if(L===null){R===null&&(R=z);break}e&&R&&L.alternate===null&&t(h,R),c=o(L,c,N),S===null?P=L:S.sibling=L,S=L,R=z}if(N===p.length)return n(h,R),$&&At(h,N),P;if(R===null){for(;N<p.length;N++)R=d(h,p[N],x),R!==null&&(c=o(R,c,N),S===null?P=R:S.sibling=R,S=R);return $&&At(h,N),P}for(R=r(h,R);N<p.length;N++)z=v(R,h,N,p[N],x),z!==null&&(e&&z.alternate!==null&&R.delete(z.key===null?N:z.key),c=o(z,c,N),S===null?P=z:S.sibling=z,S=z);return e&&R.forEach(function(Oe){return t(h,Oe)}),$&&At(h,N),P}function w(h,c,p,x){var P=An(p);if(typeof P!="function")throw Error(E(150));if(p=P.call(p),p==null)throw Error(E(151));for(var S=P=null,R=c,N=c=0,z=null,L=p.next();R!==null&&!L.done;N++,L=p.next()){R.index>N?(z=R,R=null):z=R.sibling;var Oe=m(h,R,L.value,x);if(Oe===null){R===null&&(R=z);break}e&&R&&Oe.alternate===null&&t(h,R),c=o(Oe,c,N),S===null?P=Oe:S.sibling=Oe,S=Oe,R=z}if(L.done)return n(h,R),$&&At(h,N),P;if(R===null){for(;!L.done;N++,L=p.next())L=d(h,L.value,x),L!==null&&(c=o(L,c,N),S===null?P=L:S.sibling=L,S=L);return $&&At(h,N),P}for(R=r(h,R);!L.done;N++,L=p.next())L=v(R,h,N,L.value,x),L!==null&&(e&&L.alternate!==null&&R.delete(L.key===null?N:L.key),c=o(L,c,N),S===null?P=L:S.sibling=L,S=L);return e&&R.forEach(function(bn){return t(h,bn)}),$&&At(h,N),P}function C(h,c,p,x){if(typeof p=="object"&&p!==null&&p.type===Jt&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case br:e:{for(var P=p.key,S=c;S!==null;){if(S.key===P){if(P=p.type,P===Jt){if(S.tag===7){n(h,S.sibling),c=i(S,p.props.children),c.return=h,h=c;break e}}else if(S.elementType===P||typeof P=="object"&&P!==null&&P.$$typeof===ft&&_s(P)===S.type){n(h,S.sibling),c=i(S,p.props),c.ref=Wn(h,S,p),c.return=h,h=c;break e}n(h,S);break}else t(h,S);S=S.sibling}p.type===Jt?(c=Ft(p.props.children,h.mode,x,p.key),c.return=h,h=c):(x=ui(p.type,p.key,p.props,null,h.mode,x),x.ref=Wn(h,c,p),x.return=h,h=x)}return l(h);case Zt:e:{for(S=p.key;c!==null;){if(c.key===S)if(c.tag===4&&c.stateNode.containerInfo===p.containerInfo&&c.stateNode.implementation===p.implementation){n(h,c.sibling),c=i(c,p.children||[]),c.return=h,h=c;break e}else{n(h,c);break}else t(h,c);c=c.sibling}c=Ao(p,h.mode,x),c.return=h,h=c}return l(h);case ft:return S=p._init,C(h,c,S(p._payload),x)}if(qn(p))return k(h,c,p,x);if(An(p))return w(h,c,p,x);Ur(h,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,c!==null&&c.tag===6?(n(h,c.sibling),c=i(c,p),c.return=h,h=c):(n(h,c),c=Oo(p,h.mode,x),c.return=h,h=c),l(h)):n(h,c)}return C}var Sn=Tc(!0),Rc=Tc(!1),_i=Lt(null),Ni=null,sn=null,da=null;function fa(){da=sn=Ni=null}function ha(e){var t=_i.current;W(_i),e._currentValue=t}function yl(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function mn(e,t){Ni=e,da=sn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(he=!0),e.firstContext=null)}function Le(e){var t=e._currentValue;if(da!==e)if(e={context:e,memoizedValue:t,next:null},sn===null){if(Ni===null)throw Error(E(308));sn=e,Ni.dependencies={lanes:0,firstContext:e}}else sn=sn.next=e;return t}var It=null;function pa(e){It===null?It=[e]:It.push(e)}function _c(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,pa(t)):(n.next=i.next,i.next=n),t.interleaved=n,ot(e,r)}function ot(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var ht=!1;function ma(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Nc(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function tt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ct(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,A&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,ot(e,n)}return i=r.interleaved,i===null?(t.next=t,pa(r)):(t.next=i.next,i.next=t),r.interleaved=t,ot(e,n)}function ri(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ea(e,n)}}function Ns(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=l:o=o.next=l,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Li(e,t,n,r){var i=e.updateQueue;ht=!1;var o=i.firstBaseUpdate,l=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var s=a,u=s.next;s.next=null,l===null?o=u:l.next=u,l=s;var f=e.alternate;f!==null&&(f=f.updateQueue,a=f.lastBaseUpdate,a!==l&&(a===null?f.firstBaseUpdate=u:a.next=u,f.lastBaseUpdate=s))}if(o!==null){var d=i.baseState;l=0,f=u=s=null,a=o;do{var m=a.lane,v=a.eventTime;if((r&m)===m){f!==null&&(f=f.next={eventTime:v,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var k=e,w=a;switch(m=t,v=n,w.tag){case 1:if(k=w.payload,typeof k=="function"){d=k.call(v,d,m);break e}d=k;break e;case 3:k.flags=k.flags&-65537|128;case 0:if(k=w.payload,m=typeof k=="function"?k.call(v,d,m):k,m==null)break e;d=B({},d,m);break e;case 2:ht=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,m=i.effects,m===null?i.effects=[a]:m.push(a))}else v={eventTime:v,lane:m,tag:a.tag,payload:a.payload,callback:a.callback,next:null},f===null?(u=f=v,s=d):f=f.next=v,l|=m;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;m=a,a=m.next,m.next=null,i.lastBaseUpdate=m,i.shared.pending=null}}while(!0);if(f===null&&(s=d),i.baseState=s,i.firstBaseUpdate=u,i.lastBaseUpdate=f,t=i.shared.interleaved,t!==null){i=t;do l|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);Vt|=l,e.lanes=l,e.memoizedState=d}}function Ls(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(E(191,i));i.call(r)}}}var Tr={},Ke=Lt(Tr),mr=Lt(Tr),gr=Lt(Tr);function Dt(e){if(e===Tr)throw Error(E(174));return e}function ga(e,t){switch(I(gr,t),I(mr,e),I(Ke,Tr),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Xo(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Xo(t,e)}W(Ke),I(Ke,t)}function Cn(){W(Ke),W(mr),W(gr)}function Lc(e){Dt(gr.current);var t=Dt(Ke.current),n=Xo(t,e.type);t!==n&&(I(mr,e),I(Ke,n))}function ya(e){mr.current===e&&(W(Ke),W(mr))}var H=Lt(0);function ji(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ro=[];function va(){for(var e=0;e<Ro.length;e++)Ro[e]._workInProgressVersionPrimary=null;Ro.length=0}var ii=st.ReactCurrentDispatcher,_o=st.ReactCurrentBatchConfig,Bt=0,U=null,G=null,J=null,bi=!1,er=!1,yr=0,Kh=0;function ie(){throw Error(E(321))}function wa(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!He(e[n],t[n]))return!1;return!0}function ka(e,t,n,r,i,o){if(Bt=o,U=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ii.current=e===null||e.memoizedState===null?Zh:Jh,e=n(r,i),er){o=0;do{if(er=!1,yr=0,25<=o)throw Error(E(301));o+=1,J=G=null,t.updateQueue=null,ii.current=ep,e=n(r,i)}while(er)}if(ii.current=Oi,t=G!==null&&G.next!==null,Bt=0,J=G=U=null,bi=!1,t)throw Error(E(300));return e}function xa(){var e=yr!==0;return yr=0,e}function Ve(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return J===null?U.memoizedState=J=e:J=J.next=e,J}function je(){if(G===null){var e=U.alternate;e=e!==null?e.memoizedState:null}else e=G.next;var t=J===null?U.memoizedState:J.next;if(t!==null)J=t,G=e;else{if(e===null)throw Error(E(310));G=e,e={memoizedState:G.memoizedState,baseState:G.baseState,baseQueue:G.baseQueue,queue:G.queue,next:null},J===null?U.memoizedState=J=e:J=J.next=e}return J}function vr(e,t){return typeof t=="function"?t(e):t}function No(e){var t=je(),n=t.queue;if(n===null)throw Error(E(311));n.lastRenderedReducer=e;var r=G,i=r.baseQueue,o=n.pending;if(o!==null){if(i!==null){var l=i.next;i.next=o.next,o.next=l}r.baseQueue=i=o,n.pending=null}if(i!==null){o=i.next,r=r.baseState;var a=l=null,s=null,u=o;do{var f=u.lane;if((Bt&f)===f)s!==null&&(s=s.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var d={lane:f,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};s===null?(a=s=d,l=r):s=s.next=d,U.lanes|=f,Vt|=f}u=u.next}while(u!==null&&u!==o);s===null?l=r:s.next=a,He(r,t.memoizedState)||(he=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=s,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do o=i.lane,U.lanes|=o,Vt|=o,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Lo(e){var t=je(),n=t.queue;if(n===null)throw Error(E(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(i!==null){n.pending=null;var l=i=i.next;do o=e(o,l.action),l=l.next;while(l!==i);He(o,t.memoizedState)||(he=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function jc(){}function bc(e,t){var n=U,r=je(),i=t(),o=!He(r.memoizedState,i);if(o&&(r.memoizedState=i,he=!0),r=r.queue,Sa(Mc.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||J!==null&&J.memoizedState.tag&1){if(n.flags|=2048,wr(9,Ac.bind(null,n,r,i,t),void 0,null),ee===null)throw Error(E(349));Bt&30||Oc(n,t,i)}return i}function Oc(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=U.updateQueue,t===null?(t={lastEffect:null,stores:null},U.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Ac(e,t,n,r){t.value=n,t.getSnapshot=r,zc(t)&&Ic(e)}function Mc(e,t,n){return n(function(){zc(t)&&Ic(e)})}function zc(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!He(e,n)}catch{return!0}}function Ic(e){var t=ot(e,1);t!==null&&Fe(t,e,1,-1)}function js(e){var t=Ve();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:vr,lastRenderedState:e},t.queue=e,e=e.dispatch=Xh.bind(null,U,e),[t.memoizedState,e]}function wr(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=U.updateQueue,t===null?(t={lastEffect:null,stores:null},U.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Dc(){return je().memoizedState}function oi(e,t,n,r){var i=Ve();U.flags|=e,i.memoizedState=wr(1|t,n,void 0,r===void 0?null:r)}function Ki(e,t,n,r){var i=je();r=r===void 0?null:r;var o=void 0;if(G!==null){var l=G.memoizedState;if(o=l.destroy,r!==null&&wa(r,l.deps)){i.memoizedState=wr(t,n,o,r);return}}U.flags|=e,i.memoizedState=wr(1|t,n,o,r)}function bs(e,t){return oi(8390656,8,e,t)}function Sa(e,t){return Ki(2048,8,e,t)}function Wc(e,t){return Ki(4,2,e,t)}function $c(e,t){return Ki(4,4,e,t)}function Fc(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Hc(e,t,n){return n=n!=null?n.concat([e]):null,Ki(4,4,Fc.bind(null,t,e),n)}function Ca(){}function Uc(e,t){var n=je();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&wa(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Bc(e,t){var n=je();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&wa(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Vc(e,t,n){return Bt&21?(He(n,t)||(n=Gu(),U.lanes|=n,Vt|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,he=!0),e.memoizedState=n)}function Yh(e,t){var n=M;M=n!==0&&4>n?n:4,e(!0);var r=_o.transition;_o.transition={};try{e(!1),t()}finally{M=n,_o.transition=r}}function qc(){return je().memoizedState}function Gh(e,t,n){var r=Pt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Qc(e))Kc(t,n);else if(n=_c(e,t,n,r),n!==null){var i=ue();Fe(n,e,r,i),Yc(n,t,r)}}function Xh(e,t,n){var r=Pt(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Qc(e))Kc(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var l=t.lastRenderedState,a=o(l,n);if(i.hasEagerState=!0,i.eagerState=a,He(a,l)){var s=t.interleaved;s===null?(i.next=i,pa(t)):(i.next=s.next,s.next=i),t.interleaved=i;return}}catch{}finally{}n=_c(e,t,i,r),n!==null&&(i=ue(),Fe(n,e,r,i),Yc(n,t,r))}}function Qc(e){var t=e.alternate;return e===U||t!==null&&t===U}function Kc(e,t){er=bi=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Yc(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ea(e,n)}}var Oi={readContext:Le,useCallback:ie,useContext:ie,useEffect:ie,useImperativeHandle:ie,useInsertionEffect:ie,useLayoutEffect:ie,useMemo:ie,useReducer:ie,useRef:ie,useState:ie,useDebugValue:ie,useDeferredValue:ie,useTransition:ie,useMutableSource:ie,useSyncExternalStore:ie,useId:ie,unstable_isNewReconciler:!1},Zh={readContext:Le,useCallback:function(e,t){return Ve().memoizedState=[e,t===void 0?null:t],e},useContext:Le,useEffect:bs,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,oi(4194308,4,Fc.bind(null,t,e),n)},useLayoutEffect:function(e,t){return oi(4194308,4,e,t)},useInsertionEffect:function(e,t){return oi(4,2,e,t)},useMemo:function(e,t){var n=Ve();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ve();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Gh.bind(null,U,e),[r.memoizedState,e]},useRef:function(e){var t=Ve();return e={current:e},t.memoizedState=e},useState:js,useDebugValue:Ca,useDeferredValue:function(e){return Ve().memoizedState=e},useTransition:function(){var e=js(!1),t=e[0];return e=Yh.bind(null,e[1]),Ve().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=U,i=Ve();if($){if(n===void 0)throw Error(E(407));n=n()}else{if(n=t(),ee===null)throw Error(E(349));Bt&30||Oc(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,bs(Mc.bind(null,r,o,e),[e]),r.flags|=2048,wr(9,Ac.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Ve(),t=ee.identifierPrefix;if($){var n=et,r=Je;n=(r&~(1<<32-$e(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=yr++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=Kh++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Jh={readContext:Le,useCallback:Uc,useContext:Le,useEffect:Sa,useImperativeHandle:Hc,useInsertionEffect:Wc,useLayoutEffect:$c,useMemo:Bc,useReducer:No,useRef:Dc,useState:function(){return No(vr)},useDebugValue:Ca,useDeferredValue:function(e){var t=je();return Vc(t,G.memoizedState,e)},useTransition:function(){var e=No(vr)[0],t=je().memoizedState;return[e,t]},useMutableSource:jc,useSyncExternalStore:bc,useId:qc,unstable_isNewReconciler:!1},ep={readContext:Le,useCallback:Uc,useContext:Le,useEffect:Sa,useImperativeHandle:Hc,useInsertionEffect:Wc,useLayoutEffect:$c,useMemo:Bc,useReducer:Lo,useRef:Dc,useState:function(){return Lo(vr)},useDebugValue:Ca,useDeferredValue:function(e){var t=je();return G===null?t.memoizedState=e:Vc(t,G.memoizedState,e)},useTransition:function(){var e=Lo(vr)[0],t=je().memoizedState;return[e,t]},useMutableSource:jc,useSyncExternalStore:bc,useId:qc,unstable_isNewReconciler:!1};function ze(e,t){if(e&&e.defaultProps){t=B({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function vl(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:B({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Yi={isMounted:function(e){return(e=e._reactInternals)?Kt(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ue(),i=Pt(e),o=tt(r,i);o.payload=t,n!=null&&(o.callback=n),t=Ct(e,o,i),t!==null&&(Fe(t,e,i,r),ri(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ue(),i=Pt(e),o=tt(r,i);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=Ct(e,o,i),t!==null&&(Fe(t,e,i,r),ri(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ue(),r=Pt(e),i=tt(n,r);i.tag=2,t!=null&&(i.callback=t),t=Ct(e,i,r),t!==null&&(Fe(t,e,r,n),ri(t,e,r))}};function Os(e,t,n,r,i,o,l){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,l):t.prototype&&t.prototype.isPureReactComponent?!dr(n,r)||!dr(i,o):!0}function Gc(e,t,n){var r=!1,i=_t,o=t.contextType;return typeof o=="object"&&o!==null?o=Le(o):(i=me(t)?Ht:ae.current,r=t.contextTypes,o=(r=r!=null)?kn(e,i):_t),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Yi,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function As(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Yi.enqueueReplaceState(t,t.state,null)}function wl(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},ma(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=Le(o):(o=me(t)?Ht:ae.current,i.context=kn(e,o)),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(vl(e,t,o,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&Yi.enqueueReplaceState(i,i.state,null),Li(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function En(e,t){try{var n="",r=t;do n+=_f(r),r=r.return;while(r);var i=n}catch(o){i=`
Error generating stack: `+o.message+`
`+o.stack}return{value:e,source:t,stack:i,digest:null}}function jo(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function kl(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var tp=typeof WeakMap=="function"?WeakMap:Map;function Xc(e,t,n){n=tt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Mi||(Mi=!0,Ll=r),kl(e,t)},n}function Zc(e,t,n){n=tt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){kl(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){kl(e,t),typeof r!="function"&&(Et===null?Et=new Set([this]):Et.add(this));var l=t.stack;this.componentDidCatch(t.value,{componentStack:l!==null?l:""})}),n}function Ms(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new tp;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=mp.bind(null,e,t,n),t.then(e,e))}function zs(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Is(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=tt(-1,1),t.tag=2,Ct(n,t,1))),n.lanes|=1),e)}var np=st.ReactCurrentOwner,he=!1;function se(e,t,n,r){t.child=e===null?Rc(t,null,n,r):Sn(t,e.child,n,r)}function Ds(e,t,n,r,i){n=n.render;var o=t.ref;return mn(t,i),r=ka(e,t,n,r,o,i),n=xa(),e!==null&&!he?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,lt(e,t,i)):($&&n&&sa(t),t.flags|=1,se(e,t,r,i),t.child)}function Ws(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!ja(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,Jc(e,t,o,r,i)):(e=ui(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var l=o.memoizedProps;if(n=n.compare,n=n!==null?n:dr,n(l,r)&&e.ref===t.ref)return lt(e,t,i)}return t.flags|=1,e=Tt(o,r),e.ref=t.ref,e.return=t,t.child=e}function Jc(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(dr(o,r)&&e.ref===t.ref)if(he=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(he=!0);else return t.lanes=e.lanes,lt(e,t,i)}return xl(e,t,n,r,i)}function ed(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},I(cn,ye),ye|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,I(cn,ye),ye|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,I(cn,ye),ye|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,I(cn,ye),ye|=r;return se(e,t,i,n),t.child}function td(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function xl(e,t,n,r,i){var o=me(n)?Ht:ae.current;return o=kn(t,o),mn(t,i),n=ka(e,t,n,r,o,i),r=xa(),e!==null&&!he?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,lt(e,t,i)):($&&r&&sa(t),t.flags|=1,se(e,t,n,i),t.child)}function $s(e,t,n,r,i){if(me(n)){var o=!0;Pi(t)}else o=!1;if(mn(t,i),t.stateNode===null)li(e,t),Gc(t,n,r),wl(t,n,r,i),r=!0;else if(e===null){var l=t.stateNode,a=t.memoizedProps;l.props=a;var s=l.context,u=n.contextType;typeof u=="object"&&u!==null?u=Le(u):(u=me(n)?Ht:ae.current,u=kn(t,u));var f=n.getDerivedStateFromProps,d=typeof f=="function"||typeof l.getSnapshotBeforeUpdate=="function";d||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(a!==r||s!==u)&&As(t,l,r,u),ht=!1;var m=t.memoizedState;l.state=m,Li(t,r,l,i),s=t.memoizedState,a!==r||m!==s||pe.current||ht?(typeof f=="function"&&(vl(t,n,f,r),s=t.memoizedState),(a=ht||Os(t,n,a,r,m,s,u))?(d||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount()),typeof l.componentDidMount=="function"&&(t.flags|=4194308)):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),l.props=r,l.state=s,l.context=u,r=a):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{l=t.stateNode,Nc(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:ze(t.type,a),l.props=u,d=t.pendingProps,m=l.context,s=n.contextType,typeof s=="object"&&s!==null?s=Le(s):(s=me(n)?Ht:ae.current,s=kn(t,s));var v=n.getDerivedStateFromProps;(f=typeof v=="function"||typeof l.getSnapshotBeforeUpdate=="function")||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(a!==d||m!==s)&&As(t,l,r,s),ht=!1,m=t.memoizedState,l.state=m,Li(t,r,l,i);var k=t.memoizedState;a!==d||m!==k||pe.current||ht?(typeof v=="function"&&(vl(t,n,v,r),k=t.memoizedState),(u=ht||Os(t,n,u,r,m,k,s)||!1)?(f||typeof l.UNSAFE_componentWillUpdate!="function"&&typeof l.componentWillUpdate!="function"||(typeof l.componentWillUpdate=="function"&&l.componentWillUpdate(r,k,s),typeof l.UNSAFE_componentWillUpdate=="function"&&l.UNSAFE_componentWillUpdate(r,k,s)),typeof l.componentDidUpdate=="function"&&(t.flags|=4),typeof l.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof l.componentDidUpdate!="function"||a===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=k),l.props=r,l.state=k,l.context=s,r=u):(typeof l.componentDidUpdate!="function"||a===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),r=!1)}return Sl(e,t,n,r,o,i)}function Sl(e,t,n,r,i,o){td(e,t);var l=(t.flags&128)!==0;if(!r&&!l)return i&&Ps(t,n,!1),lt(e,t,o);r=t.stateNode,np.current=t;var a=l&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&l?(t.child=Sn(t,e.child,null,o),t.child=Sn(t,null,a,o)):se(e,t,a,o),t.memoizedState=r.state,i&&Ps(t,n,!0),t.child}function nd(e){var t=e.stateNode;t.pendingContext?Es(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Es(e,t.context,!1),ga(e,t.containerInfo)}function Fs(e,t,n,r,i){return xn(),ca(i),t.flags|=256,se(e,t,n,r),t.child}var Cl={dehydrated:null,treeContext:null,retryLane:0};function El(e){return{baseLanes:e,cachePool:null,transitions:null}}function rd(e,t,n){var r=t.pendingProps,i=H.current,o=!1,l=(t.flags&128)!==0,a;if((a=l)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),I(H,i&1),e===null)return gl(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=r.children,e=r.fallback,o?(r=t.mode,o=t.child,l={mode:"hidden",children:l},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=l):o=Zi(l,r,0,null),e=Ft(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=El(n),t.memoizedState=Cl,e):Ea(t,l));if(i=e.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return rp(e,t,l,r,a,i,n);if(o){o=r.fallback,l=t.mode,i=e.child,a=i.sibling;var s={mode:"hidden",children:r.children};return!(l&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=s,t.deletions=null):(r=Tt(i,s),r.subtreeFlags=i.subtreeFlags&14680064),a!==null?o=Tt(a,o):(o=Ft(o,l,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,l=e.child.memoizedState,l=l===null?El(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},o.memoizedState=l,o.childLanes=e.childLanes&~n,t.memoizedState=Cl,r}return o=e.child,e=o.sibling,r=Tt(o,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Ea(e,t){return t=Zi({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Br(e,t,n,r){return r!==null&&ca(r),Sn(t,e.child,null,n),e=Ea(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function rp(e,t,n,r,i,o,l){if(n)return t.flags&256?(t.flags&=-257,r=jo(Error(E(422))),Br(e,t,l,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=Zi({mode:"visible",children:r.children},i,0,null),o=Ft(o,i,l,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&Sn(t,e.child,null,l),t.child.memoizedState=El(l),t.memoizedState=Cl,o);if(!(t.mode&1))return Br(e,t,l,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var a=r.dgst;return r=a,o=Error(E(419)),r=jo(o,r,void 0),Br(e,t,l,r)}if(a=(l&e.childLanes)!==0,he||a){if(r=ee,r!==null){switch(l&-l){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|l)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,ot(e,i),Fe(r,e,i,-1))}return La(),r=jo(Error(E(421))),Br(e,t,l,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=gp.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,we=St(i.nextSibling),ke=t,$=!0,De=null,e!==null&&(Te[Re++]=Je,Te[Re++]=et,Te[Re++]=Ut,Je=e.id,et=e.overflow,Ut=t),t=Ea(t,r.children),t.flags|=4096,t)}function Hs(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),yl(e.return,t,n)}function bo(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function id(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(se(e,t,r.children,n),r=H.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Hs(e,n,t);else if(e.tag===19)Hs(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(I(H,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&ji(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),bo(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&ji(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}bo(t,!0,n,null,o);break;case"together":bo(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function li(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function lt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Vt|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(E(153));if(t.child!==null){for(e=t.child,n=Tt(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Tt(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function ip(e,t,n){switch(t.tag){case 3:nd(t),xn();break;case 5:Lc(t);break;case 1:me(t.type)&&Pi(t);break;case 4:ga(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;I(_i,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(I(H,H.current&1),t.flags|=128,null):n&t.child.childLanes?rd(e,t,n):(I(H,H.current&1),e=lt(e,t,n),e!==null?e.sibling:null);I(H,H.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return id(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),I(H,H.current),r)break;return null;case 22:case 23:return t.lanes=0,ed(e,t,n)}return lt(e,t,n)}var od,Pl,ld,ad;od=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Pl=function(){};ld=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Dt(Ke.current);var o=null;switch(n){case"input":i=Qo(e,i),r=Qo(e,r),o=[];break;case"select":i=B({},i,{value:void 0}),r=B({},r,{value:void 0}),o=[];break;case"textarea":i=Go(e,i),r=Go(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Ci)}Zo(n,r);var l;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var a=i[u];for(l in a)a.hasOwnProperty(l)&&(n||(n={}),n[l]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(ir.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in r){var s=r[u];if(a=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&s!==a&&(s!=null||a!=null))if(u==="style")if(a){for(l in a)!a.hasOwnProperty(l)||s&&s.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in s)s.hasOwnProperty(l)&&a[l]!==s[l]&&(n||(n={}),n[l]=s[l])}else n||(o||(o=[]),o.push(u,n)),n=s;else u==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,a=a?a.__html:void 0,s!=null&&a!==s&&(o=o||[]).push(u,s)):u==="children"?typeof s!="string"&&typeof s!="number"||(o=o||[]).push(u,""+s):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(ir.hasOwnProperty(u)?(s!=null&&u==="onScroll"&&D("scroll",e),o||a===s||(o=[])):(o=o||[]).push(u,s))}n&&(o=o||[]).push("style",n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}};ad=function(e,t,n,r){n!==r&&(t.flags|=4)};function $n(e,t){if(!$)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function oe(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function op(e,t,n){var r=t.pendingProps;switch(ua(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return oe(t),null;case 1:return me(t.type)&&Ei(),oe(t),null;case 3:return r=t.stateNode,Cn(),W(pe),W(ae),va(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Hr(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,De!==null&&(Ol(De),De=null))),Pl(e,t),oe(t),null;case 5:ya(t);var i=Dt(gr.current);if(n=t.type,e!==null&&t.stateNode!=null)ld(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(E(166));return oe(t),null}if(e=Dt(Ke.current),Hr(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[qe]=t,r[pr]=o,e=(t.mode&1)!==0,n){case"dialog":D("cancel",r),D("close",r);break;case"iframe":case"object":case"embed":D("load",r);break;case"video":case"audio":for(i=0;i<Kn.length;i++)D(Kn[i],r);break;case"source":D("error",r);break;case"img":case"image":case"link":D("error",r),D("load",r);break;case"details":D("toggle",r);break;case"input":Xa(r,o),D("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},D("invalid",r);break;case"textarea":Ja(r,o),D("invalid",r)}Zo(n,o),i=null;for(var l in o)if(o.hasOwnProperty(l)){var a=o[l];l==="children"?typeof a=="string"?r.textContent!==a&&(o.suppressHydrationWarning!==!0&&Fr(r.textContent,a,e),i=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(o.suppressHydrationWarning!==!0&&Fr(r.textContent,a,e),i=["children",""+a]):ir.hasOwnProperty(l)&&a!=null&&l==="onScroll"&&D("scroll",r)}switch(n){case"input":Or(r),Za(r,o,!0);break;case"textarea":Or(r),es(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=Ci)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{l=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Mu(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=l.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[qe]=t,e[pr]=r,od(e,t,!1,!1),t.stateNode=e;e:{switch(l=Jo(n,r),n){case"dialog":D("cancel",e),D("close",e),i=r;break;case"iframe":case"object":case"embed":D("load",e),i=r;break;case"video":case"audio":for(i=0;i<Kn.length;i++)D(Kn[i],e);i=r;break;case"source":D("error",e),i=r;break;case"img":case"image":case"link":D("error",e),D("load",e),i=r;break;case"details":D("toggle",e),i=r;break;case"input":Xa(e,r),i=Qo(e,r),D("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=B({},r,{value:void 0}),D("invalid",e);break;case"textarea":Ja(e,r),i=Go(e,r),D("invalid",e);break;default:i=r}Zo(n,i),a=i;for(o in a)if(a.hasOwnProperty(o)){var s=a[o];o==="style"?Du(e,s):o==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,s!=null&&zu(e,s)):o==="children"?typeof s=="string"?(n!=="textarea"||s!=="")&&or(e,s):typeof s=="number"&&or(e,""+s):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(ir.hasOwnProperty(o)?s!=null&&o==="onScroll"&&D("scroll",e):s!=null&&Kl(e,o,s,l))}switch(n){case"input":Or(e),Za(e,r,!1);break;case"textarea":Or(e),es(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Rt(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?dn(e,!!r.multiple,o,!1):r.defaultValue!=null&&dn(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=Ci)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return oe(t),null;case 6:if(e&&t.stateNode!=null)ad(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(E(166));if(n=Dt(gr.current),Dt(Ke.current),Hr(t)){if(r=t.stateNode,n=t.memoizedProps,r[qe]=t,(o=r.nodeValue!==n)&&(e=ke,e!==null))switch(e.tag){case 3:Fr(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Fr(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[qe]=t,t.stateNode=r}return oe(t),null;case 13:if(W(H),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if($&&we!==null&&t.mode&1&&!(t.flags&128))Pc(),xn(),t.flags|=98560,o=!1;else if(o=Hr(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(E(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(E(317));o[qe]=t}else xn(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;oe(t),o=!1}else De!==null&&(Ol(De),De=null),o=!0;if(!o)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||H.current&1?X===0&&(X=3):La())),t.updateQueue!==null&&(t.flags|=4),oe(t),null);case 4:return Cn(),Pl(e,t),e===null&&fr(t.stateNode.containerInfo),oe(t),null;case 10:return ha(t.type._context),oe(t),null;case 17:return me(t.type)&&Ei(),oe(t),null;case 19:if(W(H),o=t.memoizedState,o===null)return oe(t),null;if(r=(t.flags&128)!==0,l=o.rendering,l===null)if(r)$n(o,!1);else{if(X!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(l=ji(e),l!==null){for(t.flags|=128,$n(o,!1),r=l.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,l=o.alternate,l===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=l.childLanes,o.lanes=l.lanes,o.child=l.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=l.memoizedProps,o.memoizedState=l.memoizedState,o.updateQueue=l.updateQueue,o.type=l.type,e=l.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return I(H,H.current&1|2),t.child}e=e.sibling}o.tail!==null&&Q()>Pn&&(t.flags|=128,r=!0,$n(o,!1),t.lanes=4194304)}else{if(!r)if(e=ji(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),$n(o,!0),o.tail===null&&o.tailMode==="hidden"&&!l.alternate&&!$)return oe(t),null}else 2*Q()-o.renderingStartTime>Pn&&n!==1073741824&&(t.flags|=128,r=!0,$n(o,!1),t.lanes=4194304);o.isBackwards?(l.sibling=t.child,t.child=l):(n=o.last,n!==null?n.sibling=l:t.child=l,o.last=l)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Q(),t.sibling=null,n=H.current,I(H,r?n&1|2:n&1),t):(oe(t),null);case 22:case 23:return Na(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ye&1073741824&&(oe(t),t.subtreeFlags&6&&(t.flags|=8192)):oe(t),null;case 24:return null;case 25:return null}throw Error(E(156,t.tag))}function lp(e,t){switch(ua(t),t.tag){case 1:return me(t.type)&&Ei(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Cn(),W(pe),W(ae),va(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return ya(t),null;case 13:if(W(H),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(E(340));xn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return W(H),null;case 4:return Cn(),null;case 10:return ha(t.type._context),null;case 22:case 23:return Na(),null;case 24:return null;default:return null}}var Vr=!1,le=!1,ap=typeof WeakSet=="function"?WeakSet:Set,T=null;function un(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){V(e,t,r)}else n.current=null}function Tl(e,t,n){try{n()}catch(r){V(e,t,r)}}var Us=!1;function sp(e,t){if(ul=ki,e=fc(),aa(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var l=0,a=-1,s=-1,u=0,f=0,d=e,m=null;t:for(;;){for(var v;d!==n||i!==0&&d.nodeType!==3||(a=l+i),d!==o||r!==0&&d.nodeType!==3||(s=l+r),d.nodeType===3&&(l+=d.nodeValue.length),(v=d.firstChild)!==null;)m=d,d=v;for(;;){if(d===e)break t;if(m===n&&++u===i&&(a=l),m===o&&++f===r&&(s=l),(v=d.nextSibling)!==null)break;d=m,m=d.parentNode}d=v}n=a===-1||s===-1?null:{start:a,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(cl={focusedElem:e,selectionRange:n},ki=!1,T=t;T!==null;)if(t=T,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,T=e;else for(;T!==null;){t=T;try{var k=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(k!==null){var w=k.memoizedProps,C=k.memoizedState,h=t.stateNode,c=h.getSnapshotBeforeUpdate(t.elementType===t.type?w:ze(t.type,w),C);h.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(E(163))}}catch(x){V(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,T=e;break}T=t.return}return k=Us,Us=!1,k}function tr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&Tl(t,n,o)}i=i.next}while(i!==r)}}function Gi(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Rl(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function sd(e){var t=e.alternate;t!==null&&(e.alternate=null,sd(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[qe],delete t[pr],delete t[hl],delete t[Bh],delete t[Vh])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ud(e){return e.tag===5||e.tag===3||e.tag===4}function Bs(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||ud(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function _l(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Ci));else if(r!==4&&(e=e.child,e!==null))for(_l(e,t,n),e=e.sibling;e!==null;)_l(e,t,n),e=e.sibling}function Nl(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Nl(e,t,n),e=e.sibling;e!==null;)Nl(e,t,n),e=e.sibling}var te=null,Ie=!1;function ct(e,t,n){for(n=n.child;n!==null;)cd(e,t,n),n=n.sibling}function cd(e,t,n){if(Qe&&typeof Qe.onCommitFiberUnmount=="function")try{Qe.onCommitFiberUnmount(Hi,n)}catch{}switch(n.tag){case 5:le||un(n,t);case 6:var r=te,i=Ie;te=null,ct(e,t,n),te=r,Ie=i,te!==null&&(Ie?(e=te,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):te.removeChild(n.stateNode));break;case 18:te!==null&&(Ie?(e=te,n=n.stateNode,e.nodeType===8?Po(e.parentNode,n):e.nodeType===1&&Po(e,n),ur(e)):Po(te,n.stateNode));break;case 4:r=te,i=Ie,te=n.stateNode.containerInfo,Ie=!0,ct(e,t,n),te=r,Ie=i;break;case 0:case 11:case 14:case 15:if(!le&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,l=o.destroy;o=o.tag,l!==void 0&&(o&2||o&4)&&Tl(n,t,l),i=i.next}while(i!==r)}ct(e,t,n);break;case 1:if(!le&&(un(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){V(n,t,a)}ct(e,t,n);break;case 21:ct(e,t,n);break;case 22:n.mode&1?(le=(r=le)||n.memoizedState!==null,ct(e,t,n),le=r):ct(e,t,n);break;default:ct(e,t,n)}}function Vs(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new ap),t.forEach(function(r){var i=yp.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Ae(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var o=e,l=t,a=l;e:for(;a!==null;){switch(a.tag){case 5:te=a.stateNode,Ie=!1;break e;case 3:te=a.stateNode.containerInfo,Ie=!0;break e;case 4:te=a.stateNode.containerInfo,Ie=!0;break e}a=a.return}if(te===null)throw Error(E(160));cd(o,l,i),te=null,Ie=!1;var s=i.alternate;s!==null&&(s.return=null),i.return=null}catch(u){V(i,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)dd(t,e),t=t.sibling}function dd(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Ae(t,e),Be(e),r&4){try{tr(3,e,e.return),Gi(3,e)}catch(w){V(e,e.return,w)}try{tr(5,e,e.return)}catch(w){V(e,e.return,w)}}break;case 1:Ae(t,e),Be(e),r&512&&n!==null&&un(n,n.return);break;case 5:if(Ae(t,e),Be(e),r&512&&n!==null&&un(n,n.return),e.flags&32){var i=e.stateNode;try{or(i,"")}catch(w){V(e,e.return,w)}}if(r&4&&(i=e.stateNode,i!=null)){var o=e.memoizedProps,l=n!==null?n.memoizedProps:o,a=e.type,s=e.updateQueue;if(e.updateQueue=null,s!==null)try{a==="input"&&o.type==="radio"&&o.name!=null&&Ou(i,o),Jo(a,l);var u=Jo(a,o);for(l=0;l<s.length;l+=2){var f=s[l],d=s[l+1];f==="style"?Du(i,d):f==="dangerouslySetInnerHTML"?zu(i,d):f==="children"?or(i,d):Kl(i,f,d,u)}switch(a){case"input":Ko(i,o);break;case"textarea":Au(i,o);break;case"select":var m=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var v=o.value;v!=null?dn(i,!!o.multiple,v,!1):m!==!!o.multiple&&(o.defaultValue!=null?dn(i,!!o.multiple,o.defaultValue,!0):dn(i,!!o.multiple,o.multiple?[]:"",!1))}i[pr]=o}catch(w){V(e,e.return,w)}}break;case 6:if(Ae(t,e),Be(e),r&4){if(e.stateNode===null)throw Error(E(162));i=e.stateNode,o=e.memoizedProps;try{i.nodeValue=o}catch(w){V(e,e.return,w)}}break;case 3:if(Ae(t,e),Be(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{ur(t.containerInfo)}catch(w){V(e,e.return,w)}break;case 4:Ae(t,e),Be(e);break;case 13:Ae(t,e),Be(e),i=e.child,i.flags&8192&&(o=i.memoizedState!==null,i.stateNode.isHidden=o,!o||i.alternate!==null&&i.alternate.memoizedState!==null||(Ra=Q())),r&4&&Vs(e);break;case 22:if(f=n!==null&&n.memoizedState!==null,e.mode&1?(le=(u=le)||f,Ae(t,e),le=u):Ae(t,e),Be(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!f&&e.mode&1)for(T=e,f=e.child;f!==null;){for(d=T=f;T!==null;){switch(m=T,v=m.child,m.tag){case 0:case 11:case 14:case 15:tr(4,m,m.return);break;case 1:un(m,m.return);var k=m.stateNode;if(typeof k.componentWillUnmount=="function"){r=m,n=m.return;try{t=r,k.props=t.memoizedProps,k.state=t.memoizedState,k.componentWillUnmount()}catch(w){V(r,n,w)}}break;case 5:un(m,m.return);break;case 22:if(m.memoizedState!==null){Qs(d);continue}}v!==null?(v.return=m,T=v):Qs(d)}f=f.sibling}e:for(f=null,d=e;;){if(d.tag===5){if(f===null){f=d;try{i=d.stateNode,u?(o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(a=d.stateNode,s=d.memoizedProps.style,l=s!=null&&s.hasOwnProperty("display")?s.display:null,a.style.display=Iu("display",l))}catch(w){V(e,e.return,w)}}}else if(d.tag===6){if(f===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(w){V(e,e.return,w)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;f===d&&(f=null),d=d.return}f===d&&(f=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:Ae(t,e),Be(e),r&4&&Vs(e);break;case 21:break;default:Ae(t,e),Be(e)}}function Be(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(ud(n)){var r=n;break e}n=n.return}throw Error(E(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(or(i,""),r.flags&=-33);var o=Bs(e);Nl(e,o,i);break;case 3:case 4:var l=r.stateNode.containerInfo,a=Bs(e);_l(e,a,l);break;default:throw Error(E(161))}}catch(s){V(e,e.return,s)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function up(e,t,n){T=e,fd(e)}function fd(e,t,n){for(var r=(e.mode&1)!==0;T!==null;){var i=T,o=i.child;if(i.tag===22&&r){var l=i.memoizedState!==null||Vr;if(!l){var a=i.alternate,s=a!==null&&a.memoizedState!==null||le;a=Vr;var u=le;if(Vr=l,(le=s)&&!u)for(T=i;T!==null;)l=T,s=l.child,l.tag===22&&l.memoizedState!==null?Ks(i):s!==null?(s.return=l,T=s):Ks(i);for(;o!==null;)T=o,fd(o),o=o.sibling;T=i,Vr=a,le=u}qs(e)}else i.subtreeFlags&8772&&o!==null?(o.return=i,T=o):qs(e)}}function qs(e){for(;T!==null;){var t=T;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:le||Gi(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!le)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:ze(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&Ls(t,o,r);break;case 3:var l=t.updateQueue;if(l!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Ls(t,l,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var s=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&n.focus();break;case"img":s.src&&(n.src=s.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var f=u.memoizedState;if(f!==null){var d=f.dehydrated;d!==null&&ur(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(E(163))}le||t.flags&512&&Rl(t)}catch(m){V(t,t.return,m)}}if(t===e){T=null;break}if(n=t.sibling,n!==null){n.return=t.return,T=n;break}T=t.return}}function Qs(e){for(;T!==null;){var t=T;if(t===e){T=null;break}var n=t.sibling;if(n!==null){n.return=t.return,T=n;break}T=t.return}}function Ks(e){for(;T!==null;){var t=T;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Gi(4,t)}catch(s){V(t,n,s)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(s){V(t,i,s)}}var o=t.return;try{Rl(t)}catch(s){V(t,o,s)}break;case 5:var l=t.return;try{Rl(t)}catch(s){V(t,l,s)}}}catch(s){V(t,t.return,s)}if(t===e){T=null;break}var a=t.sibling;if(a!==null){a.return=t.return,T=a;break}T=t.return}}var cp=Math.ceil,Ai=st.ReactCurrentDispatcher,Pa=st.ReactCurrentOwner,Ne=st.ReactCurrentBatchConfig,A=0,ee=null,Y=null,ne=0,ye=0,cn=Lt(0),X=0,kr=null,Vt=0,Xi=0,Ta=0,nr=null,fe=null,Ra=0,Pn=1/0,Xe=null,Mi=!1,Ll=null,Et=null,qr=!1,vt=null,zi=0,rr=0,jl=null,ai=-1,si=0;function ue(){return A&6?Q():ai!==-1?ai:ai=Q()}function Pt(e){return e.mode&1?A&2&&ne!==0?ne&-ne:Qh.transition!==null?(si===0&&(si=Gu()),si):(e=M,e!==0||(e=window.event,e=e===void 0?16:rc(e.type)),e):1}function Fe(e,t,n,r){if(50<rr)throw rr=0,jl=null,Error(E(185));Cr(e,n,r),(!(A&2)||e!==ee)&&(e===ee&&(!(A&2)&&(Xi|=n),X===4&&mt(e,ne)),ge(e,r),n===1&&A===0&&!(t.mode&1)&&(Pn=Q()+500,Qi&&jt()))}function ge(e,t){var n=e.callbackNode;Qf(e,t);var r=wi(e,e===ee?ne:0);if(r===0)n!==null&&rs(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&rs(n),t===1)e.tag===0?qh(Ys.bind(null,e)):Sc(Ys.bind(null,e)),Hh(function(){!(A&6)&&jt()}),n=null;else{switch(Xu(r)){case 1:n=Jl;break;case 4:n=Ku;break;case 16:n=vi;break;case 536870912:n=Yu;break;default:n=vi}n=kd(n,hd.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function hd(e,t){if(ai=-1,si=0,A&6)throw Error(E(327));var n=e.callbackNode;if(gn()&&e.callbackNode!==n)return null;var r=wi(e,e===ee?ne:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Ii(e,r);else{t=r;var i=A;A|=2;var o=md();(ee!==e||ne!==t)&&(Xe=null,Pn=Q()+500,$t(e,t));do try{hp();break}catch(a){pd(e,a)}while(!0);fa(),Ai.current=o,A=i,Y!==null?t=0:(ee=null,ne=0,t=X)}if(t!==0){if(t===2&&(i=il(e),i!==0&&(r=i,t=bl(e,i))),t===1)throw n=kr,$t(e,0),mt(e,r),ge(e,Q()),n;if(t===6)mt(e,r);else{if(i=e.current.alternate,!(r&30)&&!dp(i)&&(t=Ii(e,r),t===2&&(o=il(e),o!==0&&(r=o,t=bl(e,o))),t===1))throw n=kr,$t(e,0),mt(e,r),ge(e,Q()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(E(345));case 2:Mt(e,fe,Xe);break;case 3:if(mt(e,r),(r&130023424)===r&&(t=Ra+500-Q(),10<t)){if(wi(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){ue(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=fl(Mt.bind(null,e,fe,Xe),t);break}Mt(e,fe,Xe);break;case 4:if(mt(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var l=31-$e(r);o=1<<l,l=t[l],l>i&&(i=l),r&=~o}if(r=i,r=Q()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*cp(r/1960))-r,10<r){e.timeoutHandle=fl(Mt.bind(null,e,fe,Xe),r);break}Mt(e,fe,Xe);break;case 5:Mt(e,fe,Xe);break;default:throw Error(E(329))}}}return ge(e,Q()),e.callbackNode===n?hd.bind(null,e):null}function bl(e,t){var n=nr;return e.current.memoizedState.isDehydrated&&($t(e,t).flags|=256),e=Ii(e,t),e!==2&&(t=fe,fe=n,t!==null&&Ol(t)),e}function Ol(e){fe===null?fe=e:fe.push.apply(fe,e)}function dp(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!He(o(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function mt(e,t){for(t&=~Ta,t&=~Xi,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-$e(t),r=1<<n;e[n]=-1,t&=~r}}function Ys(e){if(A&6)throw Error(E(327));gn();var t=wi(e,0);if(!(t&1))return ge(e,Q()),null;var n=Ii(e,t);if(e.tag!==0&&n===2){var r=il(e);r!==0&&(t=r,n=bl(e,r))}if(n===1)throw n=kr,$t(e,0),mt(e,t),ge(e,Q()),n;if(n===6)throw Error(E(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Mt(e,fe,Xe),ge(e,Q()),null}function _a(e,t){var n=A;A|=1;try{return e(t)}finally{A=n,A===0&&(Pn=Q()+500,Qi&&jt())}}function qt(e){vt!==null&&vt.tag===0&&!(A&6)&&gn();var t=A;A|=1;var n=Ne.transition,r=M;try{if(Ne.transition=null,M=1,e)return e()}finally{M=r,Ne.transition=n,A=t,!(A&6)&&jt()}}function Na(){ye=cn.current,W(cn)}function $t(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Fh(n)),Y!==null)for(n=Y.return;n!==null;){var r=n;switch(ua(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Ei();break;case 3:Cn(),W(pe),W(ae),va();break;case 5:ya(r);break;case 4:Cn();break;case 13:W(H);break;case 19:W(H);break;case 10:ha(r.type._context);break;case 22:case 23:Na()}n=n.return}if(ee=e,Y=e=Tt(e.current,null),ne=ye=t,X=0,kr=null,Ta=Xi=Vt=0,fe=nr=null,It!==null){for(t=0;t<It.length;t++)if(n=It[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,o=n.pending;if(o!==null){var l=o.next;o.next=i,r.next=l}n.pending=r}It=null}return e}function pd(e,t){do{var n=Y;try{if(fa(),ii.current=Oi,bi){for(var r=U.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}bi=!1}if(Bt=0,J=G=U=null,er=!1,yr=0,Pa.current=null,n===null||n.return===null){X=1,kr=t,Y=null;break}e:{var o=e,l=n.return,a=n,s=t;if(t=ne,a.flags|=32768,s!==null&&typeof s=="object"&&typeof s.then=="function"){var u=s,f=a,d=f.tag;if(!(f.mode&1)&&(d===0||d===11||d===15)){var m=f.alternate;m?(f.updateQueue=m.updateQueue,f.memoizedState=m.memoizedState,f.lanes=m.lanes):(f.updateQueue=null,f.memoizedState=null)}var v=zs(l);if(v!==null){v.flags&=-257,Is(v,l,a,o,t),v.mode&1&&Ms(o,u,t),t=v,s=u;var k=t.updateQueue;if(k===null){var w=new Set;w.add(s),t.updateQueue=w}else k.add(s);break e}else{if(!(t&1)){Ms(o,u,t),La();break e}s=Error(E(426))}}else if($&&a.mode&1){var C=zs(l);if(C!==null){!(C.flags&65536)&&(C.flags|=256),Is(C,l,a,o,t),ca(En(s,a));break e}}o=s=En(s,a),X!==4&&(X=2),nr===null?nr=[o]:nr.push(o),o=l;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var h=Xc(o,s,t);Ns(o,h);break e;case 1:a=s;var c=o.type,p=o.stateNode;if(!(o.flags&128)&&(typeof c.getDerivedStateFromError=="function"||p!==null&&typeof p.componentDidCatch=="function"&&(Et===null||!Et.has(p)))){o.flags|=65536,t&=-t,o.lanes|=t;var x=Zc(o,a,t);Ns(o,x);break e}}o=o.return}while(o!==null)}yd(n)}catch(P){t=P,Y===n&&n!==null&&(Y=n=n.return);continue}break}while(!0)}function md(){var e=Ai.current;return Ai.current=Oi,e===null?Oi:e}function La(){(X===0||X===3||X===2)&&(X=4),ee===null||!(Vt&268435455)&&!(Xi&268435455)||mt(ee,ne)}function Ii(e,t){var n=A;A|=2;var r=md();(ee!==e||ne!==t)&&(Xe=null,$t(e,t));do try{fp();break}catch(i){pd(e,i)}while(!0);if(fa(),A=n,Ai.current=r,Y!==null)throw Error(E(261));return ee=null,ne=0,X}function fp(){for(;Y!==null;)gd(Y)}function hp(){for(;Y!==null&&!Df();)gd(Y)}function gd(e){var t=wd(e.alternate,e,ye);e.memoizedProps=e.pendingProps,t===null?yd(e):Y=t,Pa.current=null}function yd(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=lp(n,t),n!==null){n.flags&=32767,Y=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{X=6,Y=null;return}}else if(n=op(n,t,ye),n!==null){Y=n;return}if(t=t.sibling,t!==null){Y=t;return}Y=t=e}while(t!==null);X===0&&(X=5)}function Mt(e,t,n){var r=M,i=Ne.transition;try{Ne.transition=null,M=1,pp(e,t,n,r)}finally{Ne.transition=i,M=r}return null}function pp(e,t,n,r){do gn();while(vt!==null);if(A&6)throw Error(E(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(E(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(Kf(e,o),e===ee&&(Y=ee=null,ne=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||qr||(qr=!0,kd(vi,function(){return gn(),null})),o=(n.flags&15990)!==0,n.subtreeFlags&15990||o){o=Ne.transition,Ne.transition=null;var l=M;M=1;var a=A;A|=4,Pa.current=null,sp(e,n),dd(n,e),Ah(cl),ki=!!ul,cl=ul=null,e.current=n,up(n),Wf(),A=a,M=l,Ne.transition=o}else e.current=n;if(qr&&(qr=!1,vt=e,zi=i),o=e.pendingLanes,o===0&&(Et=null),Hf(n.stateNode),ge(e,Q()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(Mi)throw Mi=!1,e=Ll,Ll=null,e;return zi&1&&e.tag!==0&&gn(),o=e.pendingLanes,o&1?e===jl?rr++:(rr=0,jl=e):rr=0,jt(),null}function gn(){if(vt!==null){var e=Xu(zi),t=Ne.transition,n=M;try{if(Ne.transition=null,M=16>e?16:e,vt===null)var r=!1;else{if(e=vt,vt=null,zi=0,A&6)throw Error(E(331));var i=A;for(A|=4,T=e.current;T!==null;){var o=T,l=o.child;if(T.flags&16){var a=o.deletions;if(a!==null){for(var s=0;s<a.length;s++){var u=a[s];for(T=u;T!==null;){var f=T;switch(f.tag){case 0:case 11:case 15:tr(8,f,o)}var d=f.child;if(d!==null)d.return=f,T=d;else for(;T!==null;){f=T;var m=f.sibling,v=f.return;if(sd(f),f===u){T=null;break}if(m!==null){m.return=v,T=m;break}T=v}}}var k=o.alternate;if(k!==null){var w=k.child;if(w!==null){k.child=null;do{var C=w.sibling;w.sibling=null,w=C}while(w!==null)}}T=o}}if(o.subtreeFlags&2064&&l!==null)l.return=o,T=l;else e:for(;T!==null;){if(o=T,o.flags&2048)switch(o.tag){case 0:case 11:case 15:tr(9,o,o.return)}var h=o.sibling;if(h!==null){h.return=o.return,T=h;break e}T=o.return}}var c=e.current;for(T=c;T!==null;){l=T;var p=l.child;if(l.subtreeFlags&2064&&p!==null)p.return=l,T=p;else e:for(l=c;T!==null;){if(a=T,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:Gi(9,a)}}catch(P){V(a,a.return,P)}if(a===l){T=null;break e}var x=a.sibling;if(x!==null){x.return=a.return,T=x;break e}T=a.return}}if(A=i,jt(),Qe&&typeof Qe.onPostCommitFiberRoot=="function")try{Qe.onPostCommitFiberRoot(Hi,e)}catch{}r=!0}return r}finally{M=n,Ne.transition=t}}return!1}function Gs(e,t,n){t=En(n,t),t=Xc(e,t,1),e=Ct(e,t,1),t=ue(),e!==null&&(Cr(e,1,t),ge(e,t))}function V(e,t,n){if(e.tag===3)Gs(e,e,n);else for(;t!==null;){if(t.tag===3){Gs(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Et===null||!Et.has(r))){e=En(n,e),e=Zc(t,e,1),t=Ct(t,e,1),e=ue(),t!==null&&(Cr(t,1,e),ge(t,e));break}}t=t.return}}function mp(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=ue(),e.pingedLanes|=e.suspendedLanes&n,ee===e&&(ne&n)===n&&(X===4||X===3&&(ne&130023424)===ne&&500>Q()-Ra?$t(e,0):Ta|=n),ge(e,t)}function vd(e,t){t===0&&(e.mode&1?(t=zr,zr<<=1,!(zr&130023424)&&(zr=4194304)):t=1);var n=ue();e=ot(e,t),e!==null&&(Cr(e,t,n),ge(e,n))}function gp(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),vd(e,n)}function yp(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(E(314))}r!==null&&r.delete(t),vd(e,n)}var wd;wd=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||pe.current)he=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return he=!1,ip(e,t,n);he=!!(e.flags&131072)}else he=!1,$&&t.flags&1048576&&Cc(t,Ri,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;li(e,t),e=t.pendingProps;var i=kn(t,ae.current);mn(t,n),i=ka(null,t,r,e,i,n);var o=xa();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,me(r)?(o=!0,Pi(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,ma(t),i.updater=Yi,t.stateNode=i,i._reactInternals=t,wl(t,r,e,n),t=Sl(null,t,r,!0,o,n)):(t.tag=0,$&&o&&sa(t),se(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(li(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=wp(r),e=ze(r,e),i){case 0:t=xl(null,t,r,e,n);break e;case 1:t=$s(null,t,r,e,n);break e;case 11:t=Ds(null,t,r,e,n);break e;case 14:t=Ws(null,t,r,ze(r.type,e),n);break e}throw Error(E(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ze(r,i),xl(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ze(r,i),$s(e,t,r,i,n);case 3:e:{if(nd(t),e===null)throw Error(E(387));r=t.pendingProps,o=t.memoizedState,i=o.element,Nc(e,t),Li(t,r,null,n);var l=t.memoizedState;if(r=l.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=En(Error(E(423)),t),t=Fs(e,t,r,n,i);break e}else if(r!==i){i=En(Error(E(424)),t),t=Fs(e,t,r,n,i);break e}else for(we=St(t.stateNode.containerInfo.firstChild),ke=t,$=!0,De=null,n=Rc(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(xn(),r===i){t=lt(e,t,n);break e}se(e,t,r,n)}t=t.child}return t;case 5:return Lc(t),e===null&&gl(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,l=i.children,dl(r,i)?l=null:o!==null&&dl(r,o)&&(t.flags|=32),td(e,t),se(e,t,l,n),t.child;case 6:return e===null&&gl(t),null;case 13:return rd(e,t,n);case 4:return ga(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Sn(t,null,r,n):se(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ze(r,i),Ds(e,t,r,i,n);case 7:return se(e,t,t.pendingProps,n),t.child;case 8:return se(e,t,t.pendingProps.children,n),t.child;case 12:return se(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,l=i.value,I(_i,r._currentValue),r._currentValue=l,o!==null)if(He(o.value,l)){if(o.children===i.children&&!pe.current){t=lt(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){l=o.child;for(var s=a.firstContext;s!==null;){if(s.context===r){if(o.tag===1){s=tt(-1,n&-n),s.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var f=u.pending;f===null?s.next=s:(s.next=f.next,f.next=s),u.pending=s}}o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),yl(o.return,n,t),a.lanes|=n;break}s=s.next}}else if(o.tag===10)l=o.type===t.type?null:o.child;else if(o.tag===18){if(l=o.return,l===null)throw Error(E(341));l.lanes|=n,a=l.alternate,a!==null&&(a.lanes|=n),yl(l,n,t),l=o.sibling}else l=o.child;if(l!==null)l.return=o;else for(l=o;l!==null;){if(l===t){l=null;break}if(o=l.sibling,o!==null){o.return=l.return,l=o;break}l=l.return}o=l}se(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,mn(t,n),i=Le(i),r=r(i),t.flags|=1,se(e,t,r,n),t.child;case 14:return r=t.type,i=ze(r,t.pendingProps),i=ze(r.type,i),Ws(e,t,r,i,n);case 15:return Jc(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ze(r,i),li(e,t),t.tag=1,me(r)?(e=!0,Pi(t)):e=!1,mn(t,n),Gc(t,r,i),wl(t,r,i,n),Sl(null,t,r,!0,e,n);case 19:return id(e,t,n);case 22:return ed(e,t,n)}throw Error(E(156,t.tag))};function kd(e,t){return Qu(e,t)}function vp(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function _e(e,t,n,r){return new vp(e,t,n,r)}function ja(e){return e=e.prototype,!(!e||!e.isReactComponent)}function wp(e){if(typeof e=="function")return ja(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Gl)return 11;if(e===Xl)return 14}return 2}function Tt(e,t){var n=e.alternate;return n===null?(n=_e(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function ui(e,t,n,r,i,o){var l=2;if(r=e,typeof e=="function")ja(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case Jt:return Ft(n.children,i,o,t);case Yl:l=8,i|=8;break;case Uo:return e=_e(12,n,t,i|2),e.elementType=Uo,e.lanes=o,e;case Bo:return e=_e(13,n,t,i),e.elementType=Bo,e.lanes=o,e;case Vo:return e=_e(19,n,t,i),e.elementType=Vo,e.lanes=o,e;case Lu:return Zi(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case _u:l=10;break e;case Nu:l=9;break e;case Gl:l=11;break e;case Xl:l=14;break e;case ft:l=16,r=null;break e}throw Error(E(130,e==null?e:typeof e,""))}return t=_e(l,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Ft(e,t,n,r){return e=_e(7,e,r,t),e.lanes=n,e}function Zi(e,t,n,r){return e=_e(22,e,r,t),e.elementType=Lu,e.lanes=n,e.stateNode={isHidden:!1},e}function Oo(e,t,n){return e=_e(6,e,null,t),e.lanes=n,e}function Ao(e,t,n){return t=_e(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function kp(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=po(0),this.expirationTimes=po(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=po(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function ba(e,t,n,r,i,o,l,a,s){return e=new kp(e,t,n,a,s),t===1?(t=1,o===!0&&(t|=8)):t=0,o=_e(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},ma(o),e}function xp(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Zt,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function xd(e){if(!e)return _t;e=e._reactInternals;e:{if(Kt(e)!==e||e.tag!==1)throw Error(E(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(me(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(E(171))}if(e.tag===1){var n=e.type;if(me(n))return xc(e,n,t)}return t}function Sd(e,t,n,r,i,o,l,a,s){return e=ba(n,r,!0,e,i,o,l,a,s),e.context=xd(null),n=e.current,r=ue(),i=Pt(n),o=tt(r,i),o.callback=t??null,Ct(n,o,i),e.current.lanes=i,Cr(e,i,r),ge(e,r),e}function Ji(e,t,n,r){var i=t.current,o=ue(),l=Pt(i);return n=xd(n),t.context===null?t.context=n:t.pendingContext=n,t=tt(o,l),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Ct(i,t,l),e!==null&&(Fe(e,i,l,o),ri(e,i,l)),l}function Di(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Xs(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Oa(e,t){Xs(e,t),(e=e.alternate)&&Xs(e,t)}function Sp(){return null}var Cd=typeof reportError=="function"?reportError:function(e){console.error(e)};function Aa(e){this._internalRoot=e}eo.prototype.render=Aa.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(E(409));Ji(e,t,null,null)};eo.prototype.unmount=Aa.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;qt(function(){Ji(null,e,null,null)}),t[it]=null}};function eo(e){this._internalRoot=e}eo.prototype.unstable_scheduleHydration=function(e){if(e){var t=ec();e={blockedOn:null,target:e,priority:t};for(var n=0;n<pt.length&&t!==0&&t<pt[n].priority;n++);pt.splice(n,0,e),n===0&&nc(e)}};function Ma(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function to(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Zs(){}function Cp(e,t,n,r,i){if(i){if(typeof r=="function"){var o=r;r=function(){var u=Di(l);o.call(u)}}var l=Sd(t,r,e,0,null,!1,!1,"",Zs);return e._reactRootContainer=l,e[it]=l.current,fr(e.nodeType===8?e.parentNode:e),qt(),l}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var a=r;r=function(){var u=Di(s);a.call(u)}}var s=ba(e,0,!1,null,null,!1,!1,"",Zs);return e._reactRootContainer=s,e[it]=s.current,fr(e.nodeType===8?e.parentNode:e),qt(function(){Ji(t,s,n,r)}),s}function no(e,t,n,r,i){var o=n._reactRootContainer;if(o){var l=o;if(typeof i=="function"){var a=i;i=function(){var s=Di(l);a.call(s)}}Ji(t,l,e,i)}else l=Cp(n,t,e,i,r);return Di(l)}Zu=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Qn(t.pendingLanes);n!==0&&(ea(t,n|1),ge(t,Q()),!(A&6)&&(Pn=Q()+500,jt()))}break;case 13:qt(function(){var r=ot(e,1);if(r!==null){var i=ue();Fe(r,e,1,i)}}),Oa(e,1)}};ta=function(e){if(e.tag===13){var t=ot(e,134217728);if(t!==null){var n=ue();Fe(t,e,134217728,n)}Oa(e,134217728)}};Ju=function(e){if(e.tag===13){var t=Pt(e),n=ot(e,t);if(n!==null){var r=ue();Fe(n,e,t,r)}Oa(e,t)}};ec=function(){return M};tc=function(e,t){var n=M;try{return M=e,t()}finally{M=n}};tl=function(e,t,n){switch(t){case"input":if(Ko(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=qi(r);if(!i)throw Error(E(90));bu(r),Ko(r,i)}}}break;case"textarea":Au(e,n);break;case"select":t=n.value,t!=null&&dn(e,!!n.multiple,t,!1)}};Fu=_a;Hu=qt;var Ep={usingClientEntryPoint:!1,Events:[Pr,rn,qi,Wu,$u,_a]},Fn={findFiberByHostInstance:zt,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Pp={bundleType:Fn.bundleType,version:Fn.version,rendererPackageName:Fn.rendererPackageName,rendererConfig:Fn.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:st.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Vu(e),e===null?null:e.stateNode},findFiberByHostInstance:Fn.findFiberByHostInstance||Sp,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Qr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Qr.isDisabled&&Qr.supportsFiber)try{Hi=Qr.inject(Pp),Qe=Qr}catch{}}Se.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ep;Se.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Ma(t))throw Error(E(200));return xp(e,t,null,n)};Se.createRoot=function(e,t){if(!Ma(e))throw Error(E(299));var n=!1,r="",i=Cd;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=ba(e,1,!1,null,null,n,!1,r,i),e[it]=t.current,fr(e.nodeType===8?e.parentNode:e),new Aa(t)};Se.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(E(188)):(e=Object.keys(e).join(","),Error(E(268,e)));return e=Vu(t),e=e===null?null:e.stateNode,e};Se.flushSync=function(e){return qt(e)};Se.hydrate=function(e,t,n){if(!to(t))throw Error(E(200));return no(null,e,t,!0,n)};Se.hydrateRoot=function(e,t,n){if(!Ma(e))throw Error(E(405));var r=n!=null&&n.hydratedSources||null,i=!1,o="",l=Cd;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(l=n.onRecoverableError)),t=Sd(t,null,e,1,n??null,i,!1,o,l),e[it]=t.current,fr(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new eo(t)};Se.render=function(e,t,n){if(!to(t))throw Error(E(200));return no(null,e,t,!1,n)};Se.unmountComponentAtNode=function(e){if(!to(e))throw Error(E(40));return e._reactRootContainer?(qt(function(){no(null,null,e,!1,function(){e._reactRootContainer=null,e[it]=null})}),!0):!1};Se.unstable_batchedUpdates=_a;Se.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!to(n))throw Error(E(200));if(e==null||e._reactInternals===void 0)throw Error(E(38));return no(e,t,n,!1,r)};Se.version="18.3.1-next-f1338f8080-20240426";function Ed(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Ed)}catch(e){console.error(e)}}Ed(),Eu.exports=Se;var Tp=Eu.exports,Pd,Js=Tp;Pd=Js.createRoot,Js.hydrateRoot;/**
 * react-router v7.13.0
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */var eu="popstate";function Rp(e={}){function t(r,i){let{pathname:o,search:l,hash:a}=r.location;return Al("",{pathname:o,search:l,hash:a},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:xr(i)}return Np(t,n,null,e)}function F(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Ue(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function _p(){return Math.random().toString(36).substring(2,10)}function tu(e,t){return{usr:e.state,key:e.key,idx:t}}function Al(e,t,n=null,r){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?Nn(t):t,state:n,key:t&&t.key||r||_p()}}function xr({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function Nn(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function Np(e,t,n,r={}){let{window:i=document.defaultView,v5Compat:o=!1}=r,l=i.history,a="POP",s=null,u=f();u==null&&(u=0,l.replaceState({...l.state,idx:u},""));function f(){return(l.state||{idx:null}).idx}function d(){a="POP";let C=f(),h=C==null?null:C-u;u=C,s&&s({action:a,location:w.location,delta:h})}function m(C,h){a="PUSH";let c=Al(w.location,C,h);u=f()+1;let p=tu(c,u),x=w.createHref(c);try{l.pushState(p,"",x)}catch(P){if(P instanceof DOMException&&P.name==="DataCloneError")throw P;i.location.assign(x)}o&&s&&s({action:a,location:w.location,delta:1})}function v(C,h){a="REPLACE";let c=Al(w.location,C,h);u=f();let p=tu(c,u),x=w.createHref(c);l.replaceState(p,"",x),o&&s&&s({action:a,location:w.location,delta:0})}function k(C){return Lp(C)}let w={get action(){return a},get location(){return e(i,l)},listen(C){if(s)throw new Error("A history only accepts one active listener");return i.addEventListener(eu,d),s=C,()=>{i.removeEventListener(eu,d),s=null}},createHref(C){return t(i,C)},createURL:k,encodeLocation(C){let h=k(C);return{pathname:h.pathname,search:h.search,hash:h.hash}},push:m,replace:v,go(C){return l.go(C)}};return w}function Lp(e,t=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),F(n,"No window.location.(origin|href) available to create URL");let r=typeof e=="string"?e:xr(e);return r=r.replace(/ $/,"%20"),!t&&r.startsWith("//")&&(r=n+r),new URL(r,n)}function Td(e,t,n="/"){return jp(e,t,n,!1)}function jp(e,t,n,r){let i=typeof t=="string"?Nn(t):t,o=at(i.pathname||"/",n);if(o==null)return null;let l=Rd(e);bp(l);let a=null;for(let s=0;a==null&&s<l.length;++s){let u=Up(o);a=Fp(l[s],u,r)}return a}function Rd(e,t=[],n=[],r="",i=!1){let o=(l,a,s=i,u)=>{let f={relativePath:u===void 0?l.path||"":u,caseSensitive:l.caseSensitive===!0,childrenIndex:a,route:l};if(f.relativePath.startsWith("/")){if(!f.relativePath.startsWith(r)&&s)return;F(f.relativePath.startsWith(r),`Absolute route path "${f.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),f.relativePath=f.relativePath.slice(r.length)}let d=nt([r,f.relativePath]),m=n.concat(f);l.children&&l.children.length>0&&(F(l.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${d}".`),Rd(l.children,t,m,d,s)),!(l.path==null&&!l.index)&&t.push({path:d,score:Wp(d,l.index),routesMeta:m})};return e.forEach((l,a)=>{var s;if(l.path===""||!((s=l.path)!=null&&s.includes("?")))o(l,a);else for(let u of _d(l.path))o(l,a,!0,u)}),t}function _d(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return i?[o,""]:[o];let l=_d(r.join("/")),a=[];return a.push(...l.map(s=>s===""?o:[o,s].join("/"))),i&&a.push(...l),a.map(s=>e.startsWith("/")&&s===""?"/":s)}function bp(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:$p(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var Op=/^:[\w-]+$/,Ap=3,Mp=2,zp=1,Ip=10,Dp=-2,nu=e=>e==="*";function Wp(e,t){let n=e.split("/"),r=n.length;return n.some(nu)&&(r+=Dp),t&&(r+=Mp),n.filter(i=>!nu(i)).reduce((i,o)=>i+(Op.test(o)?Ap:o===""?zp:Ip),r)}function $p(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function Fp(e,t,n=!1){let{routesMeta:r}=e,i={},o="/",l=[];for(let a=0;a<r.length;++a){let s=r[a],u=a===r.length-1,f=o==="/"?t:t.slice(o.length)||"/",d=Wi({path:s.relativePath,caseSensitive:s.caseSensitive,end:u},f),m=s.route;if(!d&&u&&n&&!r[r.length-1].route.index&&(d=Wi({path:s.relativePath,caseSensitive:s.caseSensitive,end:!1},f)),!d)return null;Object.assign(i,d.params),l.push({params:i,pathname:nt([o,d.pathname]),pathnameBase:Qp(nt([o,d.pathnameBase])),route:m}),d.pathnameBase!=="/"&&(o=nt([o,d.pathnameBase]))}return l}function Wi(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=Hp(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let o=i[0],l=o.replace(/(.)\/+$/,"$1"),a=i.slice(1);return{params:r.reduce((u,{paramName:f,isOptional:d},m)=>{if(f==="*"){let k=a[m]||"";l=o.slice(0,o.length-k.length).replace(/(.)\/+$/,"$1")}const v=a[m];return d&&!v?u[f]=void 0:u[f]=(v||"").replace(/%2F/g,"/"),u},{}),pathname:o,pathnameBase:l,pattern:e}}function Hp(e,t=!1,n=!0){Ue(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(l,a,s)=>(r.push({paramName:a,isOptional:s!=null}),s?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function Up(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Ue(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function at(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}var Bp=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function Vp(e,t="/"){let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?Nn(e):e,o;return n?(n=n.replace(/\/\/+/g,"/"),n.startsWith("/")?o=ru(n.substring(1),"/"):o=ru(n,t)):o=t,{pathname:o,search:Kp(r),hash:Yp(i)}}function ru(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function Mo(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}].  Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function qp(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function za(e){let t=qp(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function Ia(e,t,n,r=!1){let i;typeof e=="string"?i=Nn(e):(i={...e},F(!i.pathname||!i.pathname.includes("?"),Mo("?","pathname","search",i)),F(!i.pathname||!i.pathname.includes("#"),Mo("#","pathname","hash",i)),F(!i.search||!i.search.includes("#"),Mo("#","search","hash",i)));let o=e===""||i.pathname==="",l=o?"/":i.pathname,a;if(l==null)a=n;else{let d=t.length-1;if(!r&&l.startsWith("..")){let m=l.split("/");for(;m[0]==="..";)m.shift(),d-=1;i.pathname=m.join("/")}a=d>=0?t[d]:"/"}let s=Vp(i,a),u=l&&l!=="/"&&l.endsWith("/"),f=(o||l===".")&&n.endsWith("/");return!s.pathname.endsWith("/")&&(u||f)&&(s.pathname+="/"),s}var nt=e=>e.join("/").replace(/\/\/+/g,"/"),Qp=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Kp=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Yp=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,Gp=class{constructor(e,t,n,r=!1){this.status=e,this.statusText=t||"",this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function Xp(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function Zp(e){return e.map(t=>t.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var Nd=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Ld(e,t){let n=e;if(typeof n!="string"||!Bp.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,i=!1;if(Nd)try{let o=new URL(window.location.href),l=n.startsWith("//")?new URL(o.protocol+n):new URL(n),a=at(l.pathname,t);l.origin===o.origin&&a!=null?n=a+l.search+l.hash:i=!0}catch{Ue(!1,`<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:i,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var jd=["POST","PUT","PATCH","DELETE"];new Set(jd);var Jp=["GET",...jd];new Set(Jp);var Ln=y.createContext(null);Ln.displayName="DataRouter";var ro=y.createContext(null);ro.displayName="DataRouterState";var em=y.createContext(!1),bd=y.createContext({isTransitioning:!1});bd.displayName="ViewTransition";var tm=y.createContext(new Map);tm.displayName="Fetchers";var nm=y.createContext(null);nm.displayName="Await";var Ee=y.createContext(null);Ee.displayName="Navigation";var Rr=y.createContext(null);Rr.displayName="Location";var be=y.createContext({outlet:null,matches:[],isDataRoute:!1});be.displayName="Route";var Da=y.createContext(null);Da.displayName="RouteError";var Od="REACT_ROUTER_ERROR",rm="REDIRECT",im="ROUTE_ERROR_RESPONSE";function om(e){if(e.startsWith(`${Od}:${rm}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.location=="string"&&typeof t.reloadDocument=="boolean"&&typeof t.replace=="boolean")return t}catch{}}function lm(e){if(e.startsWith(`${Od}:${im}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new Gp(t.status,t.statusText,t.data)}catch{}}function am(e,{relative:t}={}){F(jn(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:r}=y.useContext(Ee),{hash:i,pathname:o,search:l}=_r(e,{relative:t}),a=o;return n!=="/"&&(a=o==="/"?n:nt([n,o])),r.createHref({pathname:a,search:l,hash:i})}function jn(){return y.useContext(Rr)!=null}function Ye(){return F(jn(),"useLocation() may be used only in the context of a <Router> component."),y.useContext(Rr).location}var Ad="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Md(e){y.useContext(Ee).static||y.useLayoutEffect(e)}function zd(){let{isDataRoute:e}=y.useContext(be);return e?Sm():sm()}function sm(){F(jn(),"useNavigate() may be used only in the context of a <Router> component.");let e=y.useContext(Ln),{basename:t,navigator:n}=y.useContext(Ee),{matches:r}=y.useContext(be),{pathname:i}=Ye(),o=JSON.stringify(za(r)),l=y.useRef(!1);return Md(()=>{l.current=!0}),y.useCallback((s,u={})=>{if(Ue(l.current,Ad),!l.current)return;if(typeof s=="number"){n.go(s);return}let f=Ia(s,JSON.parse(o),i,u.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:nt([t,f.pathname])),(u.replace?n.replace:n.push)(f,u.state,u)},[t,n,o,i,e])}var um=y.createContext(null);function cm(e){let t=y.useContext(be).outlet;return y.useMemo(()=>t&&y.createElement(um.Provider,{value:e},t),[t,e])}function ry(){let{matches:e}=y.useContext(be),t=e[e.length-1];return t?t.params:{}}function _r(e,{relative:t}={}){let{matches:n}=y.useContext(be),{pathname:r}=Ye(),i=JSON.stringify(za(n));return y.useMemo(()=>Ia(e,JSON.parse(i),r,t==="path"),[e,i,r,t])}function dm(e,t){return Id(e,t)}function Id(e,t,n,r,i){var c;F(jn(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:o}=y.useContext(Ee),{matches:l}=y.useContext(be),a=l[l.length-1],s=a?a.params:{},u=a?a.pathname:"/",f=a?a.pathnameBase:"/",d=a&&a.route;{let p=d&&d.path||"";Wd(u,!d||p.endsWith("*")||p.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${u}" (under <Route path="${p}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.

Please change the parent <Route path="${p}"> to <Route path="${p==="/"?"*":`${p}/*`}">.`)}let m=Ye(),v;if(t){let p=typeof t=="string"?Nn(t):t;F(f==="/"||((c=p.pathname)==null?void 0:c.startsWith(f)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${f}" but pathname "${p.pathname}" was given in the \`location\` prop.`),v=p}else v=m;let k=v.pathname||"/",w=k;if(f!=="/"){let p=f.replace(/^\//,"").split("/");w="/"+k.replace(/^\//,"").split("/").slice(p.length).join("/")}let C=Td(e,{pathname:w});Ue(d||C!=null,`No routes matched location "${v.pathname}${v.search}${v.hash}" `),Ue(C==null||C[C.length-1].route.element!==void 0||C[C.length-1].route.Component!==void 0||C[C.length-1].route.lazy!==void 0,`Matched leaf route at location "${v.pathname}${v.search}${v.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let h=gm(C&&C.map(p=>Object.assign({},p,{params:Object.assign({},s,p.params),pathname:nt([f,o.encodeLocation?o.encodeLocation(p.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:p.pathname]),pathnameBase:p.pathnameBase==="/"?f:nt([f,o.encodeLocation?o.encodeLocation(p.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:p.pathnameBase])})),l,n,r,i);return t&&h?y.createElement(Rr.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...v},navigationType:"POP"}},h):h}function fm(){let e=xm(),t=Xp(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:r},o={padding:"2px 4px",backgroundColor:r},l=null;return console.error("Error handled by React Router default ErrorBoundary:",e),l=y.createElement(y.Fragment,null,y.createElement("p",null,"💿 Hey developer 👋"),y.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",y.createElement("code",{style:o},"ErrorBoundary")," or"," ",y.createElement("code",{style:o},"errorElement")," prop on your route.")),y.createElement(y.Fragment,null,y.createElement("h2",null,"Unexpected Application Error!"),y.createElement("h3",{style:{fontStyle:"italic"}},t),n?y.createElement("pre",{style:i},n):null,l)}var hm=y.createElement(fm,null),Dd=class extends y.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const n=lm(e.digest);n&&(e=n)}let t=e!==void 0?y.createElement(be.Provider,{value:this.props.routeContext},y.createElement(Da.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?y.createElement(pm,{error:e},t):t}};Dd.contextType=em;var zo=new WeakMap;function pm({children:e,error:t}){let{basename:n}=y.useContext(Ee);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let r=om(t.digest);if(r){let i=zo.get(t);if(i)throw i;let o=Ld(r.location,n);if(Nd&&!zo.get(t))if(o.isExternal||r.reloadDocument)window.location.href=o.absoluteURL||o.to;else{const l=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(o.to,{replace:r.replace}));throw zo.set(t,l),l}return y.createElement("meta",{httpEquiv:"refresh",content:`0;url=${o.absoluteURL||o.to}`})}}return e}function mm({routeContext:e,match:t,children:n}){let r=y.useContext(Ln);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),y.createElement(be.Provider,{value:e},n)}function gm(e,t=[],n=null,r=null,i=null){if(e==null){if(!n)return null;if(n.errors)e=n.matches;else if(t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,l=n==null?void 0:n.errors;if(l!=null){let f=o.findIndex(d=>d.route.id&&(l==null?void 0:l[d.route.id])!==void 0);F(f>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(l).join(",")}`),o=o.slice(0,Math.min(o.length,f+1))}let a=!1,s=-1;if(n)for(let f=0;f<o.length;f++){let d=o[f];if((d.route.HydrateFallback||d.route.hydrateFallbackElement)&&(s=f),d.route.id){let{loaderData:m,errors:v}=n,k=d.route.loader&&!m.hasOwnProperty(d.route.id)&&(!v||v[d.route.id]===void 0);if(d.route.lazy||k){a=!0,s>=0?o=o.slice(0,s+1):o=[o[0]];break}}}let u=n&&r?(f,d)=>{var m,v;r(f,{location:n.location,params:((v=(m=n.matches)==null?void 0:m[0])==null?void 0:v.params)??{},unstable_pattern:Zp(n.matches),errorInfo:d})}:void 0;return o.reduceRight((f,d,m)=>{let v,k=!1,w=null,C=null;n&&(v=l&&d.route.id?l[d.route.id]:void 0,w=d.route.errorElement||hm,a&&(s<0&&m===0?(Wd("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),k=!0,C=null):s===m&&(k=!0,C=d.route.hydrateFallbackElement||null)));let h=t.concat(o.slice(0,m+1)),c=()=>{let p;return v?p=w:k?p=C:d.route.Component?p=y.createElement(d.route.Component,null):d.route.element?p=d.route.element:p=f,y.createElement(mm,{match:d,routeContext:{outlet:f,matches:h,isDataRoute:n!=null},children:p})};return n&&(d.route.ErrorBoundary||d.route.errorElement||m===0)?y.createElement(Dd,{location:n.location,revalidation:n.revalidation,component:w,error:v,children:c(),routeContext:{outlet:null,matches:h,isDataRoute:!0},onError:u}):c()},null)}function Wa(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function ym(e){let t=y.useContext(Ln);return F(t,Wa(e)),t}function vm(e){let t=y.useContext(ro);return F(t,Wa(e)),t}function wm(e){let t=y.useContext(be);return F(t,Wa(e)),t}function $a(e){let t=wm(e),n=t.matches[t.matches.length-1];return F(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function km(){return $a("useRouteId")}function xm(){var r;let e=y.useContext(Da),t=vm("useRouteError"),n=$a("useRouteError");return e!==void 0?e:(r=t.errors)==null?void 0:r[n]}function Sm(){let{router:e}=ym("useNavigate"),t=$a("useNavigate"),n=y.useRef(!1);return Md(()=>{n.current=!0}),y.useCallback(async(i,o={})=>{Ue(n.current,Ad),n.current&&(typeof i=="number"?await e.navigate(i):await e.navigate(i,{fromRouteId:t,...o}))},[e,t])}var iu={};function Wd(e,t,n){!t&&!iu[e]&&(iu[e]=!0,Ue(!1,n))}y.memo(Cm);function Cm({routes:e,future:t,state:n,onError:r}){return Id(e,void 0,n,r,t)}function iy({to:e,replace:t,state:n,relative:r}){F(jn(),"<Navigate> may be used only in the context of a <Router> component.");let{static:i}=y.useContext(Ee);Ue(!i,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:o}=y.useContext(be),{pathname:l}=Ye(),a=zd(),s=Ia(e,za(o),l,r==="path"),u=JSON.stringify(s);return y.useEffect(()=>{a(JSON.parse(u),{replace:t,state:n,relative:r})},[a,u,r,t,n]),null}function Em(e){return cm(e.context)}function Me(e){F(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function Pm({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:i,static:o=!1,unstable_useTransitions:l}){F(!jn(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let a=e.replace(/^\/*/,"/"),s=y.useMemo(()=>({basename:a,navigator:i,static:o,unstable_useTransitions:l,future:{}}),[a,i,o,l]);typeof n=="string"&&(n=Nn(n));let{pathname:u="/",search:f="",hash:d="",state:m=null,key:v="default"}=n,k=y.useMemo(()=>{let w=at(u,a);return w==null?null:{location:{pathname:w,search:f,hash:d,state:m,key:v},navigationType:r}},[a,u,f,d,m,v,r]);return Ue(k!=null,`<Router basename="${a}"> is not able to match the URL "${u}${f}${d}" because it does not start with the basename, so the <Router> won't render anything.`),k==null?null:y.createElement(Ee.Provider,{value:s},y.createElement(Rr.Provider,{children:t,value:k}))}function Tm({children:e,location:t}){return dm(Ml(e),t)}function Ml(e,t=[]){let n=[];return y.Children.forEach(e,(r,i)=>{if(!y.isValidElement(r))return;let o=[...t,i];if(r.type===y.Fragment){n.push.apply(n,Ml(r.props.children,o));return}F(r.type===Me,`[${typeof r.type=="string"?r.type:r.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),F(!r.props.index||!r.props.children,"An index route cannot have child routes.");let l={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,middleware:r.props.middleware,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(l.children=Ml(r.props.children,o)),n.push(l)}),n}var ci="get",di="application/x-www-form-urlencoded";function io(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function Rm(e){return io(e)&&e.tagName.toLowerCase()==="button"}function _m(e){return io(e)&&e.tagName.toLowerCase()==="form"}function Nm(e){return io(e)&&e.tagName.toLowerCase()==="input"}function Lm(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function jm(e,t){return e.button===0&&(!t||t==="_self")&&!Lm(e)}var Kr=null;function bm(){if(Kr===null)try{new FormData(document.createElement("form"),0),Kr=!1}catch{Kr=!0}return Kr}var Om=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Io(e){return e!=null&&!Om.has(e)?(Ue(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${di}"`),null):e}function Am(e,t){let n,r,i,o,l;if(_m(e)){let a=e.getAttribute("action");r=a?at(a,t):null,n=e.getAttribute("method")||ci,i=Io(e.getAttribute("enctype"))||di,o=new FormData(e)}else if(Rm(e)||Nm(e)&&(e.type==="submit"||e.type==="image")){let a=e.form;if(a==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let s=e.getAttribute("formaction")||a.getAttribute("action");if(r=s?at(s,t):null,n=e.getAttribute("formmethod")||a.getAttribute("method")||ci,i=Io(e.getAttribute("formenctype"))||Io(a.getAttribute("enctype"))||di,o=new FormData(a,e),!bm()){let{name:u,type:f,value:d}=e;if(f==="image"){let m=u?`${u}.`:"";o.append(`${m}x`,"0"),o.append(`${m}y`,"0")}else u&&o.append(u,d)}}else{if(io(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=ci,r=null,i=di,l=e}return o&&i==="text/plain"&&(l=o,o=void 0),{action:r,method:n.toLowerCase(),encType:i,formData:o,body:l}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Fa(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Mm(e,t,n,r){let i=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return n?i.pathname.endsWith("/")?i.pathname=`${i.pathname}_.${r}`:i.pathname=`${i.pathname}.${r}`:i.pathname==="/"?i.pathname=`_root.${r}`:t&&at(i.pathname,t)==="/"?i.pathname=`${t.replace(/\/$/,"")}/_root.${r}`:i.pathname=`${i.pathname.replace(/\/$/,"")}.${r}`,i}async function zm(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch(n){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(n),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function Im(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function Dm(e,t,n){let r=await Promise.all(e.map(async i=>{let o=t.routes[i.route.id];if(o){let l=await zm(o,n);return l.links?l.links():[]}return[]}));return Hm(r.flat(1).filter(Im).filter(i=>i.rel==="stylesheet"||i.rel==="preload").map(i=>i.rel==="stylesheet"?{...i,rel:"prefetch",as:"style"}:{...i,rel:"prefetch"}))}function ou(e,t,n,r,i,o){let l=(s,u)=>n[u]?s.route.id!==n[u].route.id:!0,a=(s,u)=>{var f;return n[u].pathname!==s.pathname||((f=n[u].route.path)==null?void 0:f.endsWith("*"))&&n[u].params["*"]!==s.params["*"]};return o==="assets"?t.filter((s,u)=>l(s,u)||a(s,u)):o==="data"?t.filter((s,u)=>{var d;let f=r.routes[s.route.id];if(!f||!f.hasLoader)return!1;if(l(s,u)||a(s,u))return!0;if(s.route.shouldRevalidate){let m=s.route.shouldRevalidate({currentUrl:new URL(i.pathname+i.search+i.hash,window.origin),currentParams:((d=n[0])==null?void 0:d.params)||{},nextUrl:new URL(e,window.origin),nextParams:s.params,defaultShouldRevalidate:!0});if(typeof m=="boolean")return m}return!0}):[]}function Wm(e,t,{includeHydrateFallback:n}={}){return $m(e.map(r=>{let i=t.routes[r.route.id];if(!i)return[];let o=[i.module];return i.clientActionModule&&(o=o.concat(i.clientActionModule)),i.clientLoaderModule&&(o=o.concat(i.clientLoaderModule)),n&&i.hydrateFallbackModule&&(o=o.concat(i.hydrateFallbackModule)),i.imports&&(o=o.concat(i.imports)),o}).flat(1))}function $m(e){return[...new Set(e)]}function Fm(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}function Hm(e,t){let n=new Set;return new Set(t),e.reduce((r,i)=>{let o=JSON.stringify(Fm(i));return n.has(o)||(n.add(o),r.push({key:o,link:i})),r},[])}function $d(){let e=y.useContext(Ln);return Fa(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function Um(){let e=y.useContext(ro);return Fa(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var Ha=y.createContext(void 0);Ha.displayName="FrameworkContext";function Fd(){let e=y.useContext(Ha);return Fa(e,"You must render this element inside a <HydratedRouter> element"),e}function Bm(e,t){let n=y.useContext(Ha),[r,i]=y.useState(!1),[o,l]=y.useState(!1),{onFocus:a,onBlur:s,onMouseEnter:u,onMouseLeave:f,onTouchStart:d}=t,m=y.useRef(null);y.useEffect(()=>{if(e==="render"&&l(!0),e==="viewport"){let w=h=>{h.forEach(c=>{l(c.isIntersecting)})},C=new IntersectionObserver(w,{threshold:.5});return m.current&&C.observe(m.current),()=>{C.disconnect()}}},[e]),y.useEffect(()=>{if(r){let w=setTimeout(()=>{l(!0)},100);return()=>{clearTimeout(w)}}},[r]);let v=()=>{i(!0)},k=()=>{i(!1),l(!1)};return n?e!=="intent"?[o,m,{}]:[o,m,{onFocus:Hn(a,v),onBlur:Hn(s,k),onMouseEnter:Hn(u,v),onMouseLeave:Hn(f,k),onTouchStart:Hn(d,v)}]:[!1,m,{}]}function Hn(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function Vm({page:e,...t}){let{router:n}=$d(),r=y.useMemo(()=>Td(n.routes,e,n.basename),[n.routes,e,n.basename]);return r?y.createElement(Qm,{page:e,matches:r,...t}):null}function qm(e){let{manifest:t,routeModules:n}=Fd(),[r,i]=y.useState([]);return y.useEffect(()=>{let o=!1;return Dm(e,t,n).then(l=>{o||i(l)}),()=>{o=!0}},[e,t,n]),r}function Qm({page:e,matches:t,...n}){let r=Ye(),{future:i,manifest:o,routeModules:l}=Fd(),{basename:a}=$d(),{loaderData:s,matches:u}=Um(),f=y.useMemo(()=>ou(e,t,u,o,r,"data"),[e,t,u,o,r]),d=y.useMemo(()=>ou(e,t,u,o,r,"assets"),[e,t,u,o,r]),m=y.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let w=new Set,C=!1;if(t.forEach(c=>{var x;let p=o.routes[c.route.id];!p||!p.hasLoader||(!f.some(P=>P.route.id===c.route.id)&&c.route.id in s&&((x=l[c.route.id])!=null&&x.shouldRevalidate)||p.hasClientLoader?C=!0:w.add(c.route.id))}),w.size===0)return[];let h=Mm(e,a,i.unstable_trailingSlashAwareDataRequests,"data");return C&&w.size>0&&h.searchParams.set("_routes",t.filter(c=>w.has(c.route.id)).map(c=>c.route.id).join(",")),[h.pathname+h.search]},[a,i.unstable_trailingSlashAwareDataRequests,s,r,o,f,t,e,l]),v=y.useMemo(()=>Wm(d,o),[d,o]),k=qm(d);return y.createElement(y.Fragment,null,m.map(w=>y.createElement("link",{key:w,rel:"prefetch",as:"fetch",href:w,...n})),v.map(w=>y.createElement("link",{key:w,rel:"modulepreload",href:w,...n})),k.map(({key:w,link:C})=>y.createElement("link",{key:w,nonce:n.nonce,...C,crossOrigin:C.crossOrigin??n.crossOrigin})))}function Km(...e){return t=>{e.forEach(n=>{typeof n=="function"?n(t):n!=null&&(n.current=t)})}}var Ym=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{Ym&&(window.__reactRouterVersion="7.13.0")}catch{}function Gm({basename:e,children:t,unstable_useTransitions:n,window:r}){let i=y.useRef();i.current==null&&(i.current=Rp({window:r,v5Compat:!0}));let o=i.current,[l,a]=y.useState({action:o.action,location:o.location}),s=y.useCallback(u=>{n===!1?a(u):y.startTransition(()=>a(u))},[n]);return y.useLayoutEffect(()=>o.listen(s),[o,s]),y.createElement(Pm,{basename:e,children:t,location:l.location,navigationType:l.action,navigator:o,unstable_useTransitions:n})}var Hd=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,K=y.forwardRef(function({onClick:t,discover:n="render",prefetch:r="none",relative:i,reloadDocument:o,replace:l,state:a,target:s,to:u,preventScrollReset:f,viewTransition:d,unstable_defaultShouldRevalidate:m,...v},k){let{basename:w,unstable_useTransitions:C}=y.useContext(Ee),h=typeof u=="string"&&Hd.test(u),c=Ld(u,w);u=c.to;let p=am(u,{relative:i}),[x,P,S]=Bm(r,v),R=eg(u,{replace:l,state:a,target:s,preventScrollReset:f,relative:i,viewTransition:d,unstable_defaultShouldRevalidate:m,unstable_useTransitions:C});function N(L){t&&t(L),L.defaultPrevented||R(L)}let z=y.createElement("a",{...v,...S,href:c.absoluteURL||p,onClick:c.isExternal||o?t:N,ref:Km(k,P),target:s,"data-discover":!h&&n==="render"?"true":void 0});return x&&!h?y.createElement(y.Fragment,null,z,y.createElement(Vm,{page:p})):z});K.displayName="Link";var Xm=y.forwardRef(function({"aria-current":t="page",caseSensitive:n=!1,className:r="",end:i=!1,style:o,to:l,viewTransition:a,children:s,...u},f){let d=_r(l,{relative:u.relative}),m=Ye(),v=y.useContext(ro),{navigator:k,basename:w}=y.useContext(Ee),C=v!=null&&og(d)&&a===!0,h=k.encodeLocation?k.encodeLocation(d).pathname:d.pathname,c=m.pathname,p=v&&v.navigation&&v.navigation.location?v.navigation.location.pathname:null;n||(c=c.toLowerCase(),p=p?p.toLowerCase():null,h=h.toLowerCase()),p&&w&&(p=at(p,w)||p);const x=h!=="/"&&h.endsWith("/")?h.length-1:h.length;let P=c===h||!i&&c.startsWith(h)&&c.charAt(x)==="/",S=p!=null&&(p===h||!i&&p.startsWith(h)&&p.charAt(h.length)==="/"),R={isActive:P,isPending:S,isTransitioning:C},N=P?t:void 0,z;typeof r=="function"?z=r(R):z=[r,P?"active":null,S?"pending":null,C?"transitioning":null].filter(Boolean).join(" ");let L=typeof o=="function"?o(R):o;return y.createElement(K,{...u,"aria-current":N,className:z,ref:f,style:L,to:l,viewTransition:a},typeof s=="function"?s(R):s)});Xm.displayName="NavLink";var Zm=y.forwardRef(({discover:e="render",fetcherKey:t,navigate:n,reloadDocument:r,replace:i,state:o,method:l=ci,action:a,onSubmit:s,relative:u,preventScrollReset:f,viewTransition:d,unstable_defaultShouldRevalidate:m,...v},k)=>{let{unstable_useTransitions:w}=y.useContext(Ee),C=rg(),h=ig(a,{relative:u}),c=l.toLowerCase()==="get"?"get":"post",p=typeof a=="string"&&Hd.test(a),x=P=>{if(s&&s(P),P.defaultPrevented)return;P.preventDefault();let S=P.nativeEvent.submitter,R=(S==null?void 0:S.getAttribute("formmethod"))||l,N=()=>C(S||P.currentTarget,{fetcherKey:t,method:R,navigate:n,replace:i,state:o,relative:u,preventScrollReset:f,viewTransition:d,unstable_defaultShouldRevalidate:m});w&&n!==!1?y.startTransition(()=>N()):N()};return y.createElement("form",{ref:k,method:c,action:h,onSubmit:r?s:x,...v,"data-discover":!p&&e==="render"?"true":void 0})});Zm.displayName="Form";function Jm(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Ud(e){let t=y.useContext(Ln);return F(t,Jm(e)),t}function eg(e,{target:t,replace:n,state:r,preventScrollReset:i,relative:o,viewTransition:l,unstable_defaultShouldRevalidate:a,unstable_useTransitions:s}={}){let u=zd(),f=Ye(),d=_r(e,{relative:o});return y.useCallback(m=>{if(jm(m,t)){m.preventDefault();let v=n!==void 0?n:xr(f)===xr(d),k=()=>u(e,{replace:v,state:r,preventScrollReset:i,relative:o,viewTransition:l,unstable_defaultShouldRevalidate:a});s?y.startTransition(()=>k()):k()}},[f,u,d,n,r,t,e,i,o,l,a,s])}var tg=0,ng=()=>`__${String(++tg)}__`;function rg(){let{router:e}=Ud("useSubmit"),{basename:t}=y.useContext(Ee),n=km(),r=e.fetch,i=e.navigate;return y.useCallback(async(o,l={})=>{let{action:a,method:s,encType:u,formData:f,body:d}=Am(o,t);if(l.navigate===!1){let m=l.fetcherKey||ng();await r(m,n,l.action||a,{unstable_defaultShouldRevalidate:l.unstable_defaultShouldRevalidate,preventScrollReset:l.preventScrollReset,formData:f,body:d,formMethod:l.method||s,formEncType:l.encType||u,flushSync:l.flushSync})}else await i(l.action||a,{unstable_defaultShouldRevalidate:l.unstable_defaultShouldRevalidate,preventScrollReset:l.preventScrollReset,formData:f,body:d,formMethod:l.method||s,formEncType:l.encType||u,replace:l.replace,state:l.state,fromRouteId:n,flushSync:l.flushSync,viewTransition:l.viewTransition})},[r,i,t,n])}function ig(e,{relative:t}={}){let{basename:n}=y.useContext(Ee),r=y.useContext(be);F(r,"useFormAction must be used inside a RouteContext");let[i]=r.matches.slice(-1),o={..._r(e||".",{relative:t})},l=Ye();if(e==null){o.search=l.search;let a=new URLSearchParams(o.search),s=a.getAll("index");if(s.some(f=>f==="")){a.delete("index"),s.filter(d=>d).forEach(d=>a.append("index",d));let f=a.toString();o.search=f?`?${f}`:""}}return(!e||e===".")&&i.route.index&&(o.search=o.search?o.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(o.pathname=o.pathname==="/"?n:nt([n,o.pathname])),xr(o)}function og(e,{relative:t}={}){let n=y.useContext(bd);F(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=Ud("useViewTransitionState"),i=_r(e,{relative:t});if(!n.isTransitioning)return!1;let o=at(n.currentLocation.pathname,r)||n.currentLocation.pathname,l=at(n.nextLocation.pathname,r)||n.nextLocation.pathname;return Wi(i.pathname,l)!=null||Wi(i.pathname,o)!=null}var lg=typeof Element<"u",ag=typeof Map=="function",sg=typeof Set=="function",ug=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function fi(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,i;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!fi(e[r],t[r]))return!1;return!0}var o;if(ag&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(o=e.entries();!(r=o.next()).done;)if(!t.has(r.value[0]))return!1;for(o=e.entries();!(r=o.next()).done;)if(!fi(r.value[1],t.get(r.value[0])))return!1;return!0}if(sg&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(o=e.entries();!(r=o.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(ug&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;if(lg&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((i[r]==="_owner"||i[r]==="__v"||i[r]==="__o")&&e.$$typeof)&&!fi(e[i[r]],t[i[r]]))return!1;return!0}return e!==e&&t!==t}var cg=function(t,n){try{return fi(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};const dg=$i(cg);var fg=function(e,t,n,r,i,o,l,a){if(!e){var s;if(t===void 0)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,i,o,l,a],f=0;s=new Error(t.replace(/%s/g,function(){return u[f++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}},hg=fg;const lu=$i(hg);var pg=function(t,n,r,i){var o=r?r.call(i,t,n):void 0;if(o!==void 0)return!!o;if(t===n)return!0;if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var l=Object.keys(t),a=Object.keys(n);if(l.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(n),u=0;u<l.length;u++){var f=l[u];if(!s(f))return!1;var d=t[f],m=n[f];if(o=r?r.call(i,d,m,f):void 0,o===!1||o===void 0&&d!==m)return!1}return!0};const mg=$i(pg);var Bd=(e=>(e.BASE="base",e.BODY="body",e.HEAD="head",e.HTML="html",e.LINK="link",e.META="meta",e.NOSCRIPT="noscript",e.SCRIPT="script",e.STYLE="style",e.TITLE="title",e.FRAGMENT="Symbol(react.fragment)",e))(Bd||{}),Do={link:{rel:["amphtml","canonical","alternate"]},script:{type:["application/ld+json"]},meta:{charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]}},au=Object.values(Bd),Ua={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},gg=Object.entries(Ua).reduce((e,[t,n])=>(e[n]=t,e),{}),We="data-rh",yn={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},vn=(e,t)=>{for(let n=e.length-1;n>=0;n-=1){const r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},yg=e=>{let t=vn(e,"title");const n=vn(e,yn.TITLE_TEMPLATE);if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,()=>t);const r=vn(e,yn.DEFAULT_TITLE);return t||r||void 0},vg=e=>vn(e,yn.ON_CHANGE_CLIENT_STATE)||(()=>{}),Wo=(e,t)=>t.filter(n=>typeof n[e]<"u").map(n=>n[e]).reduce((n,r)=>({...n,...r}),{}),wg=(e,t)=>t.filter(n=>typeof n.base<"u").map(n=>n.base).reverse().reduce((n,r)=>{if(!n.length){const i=Object.keys(r);for(let o=0;o<i.length;o+=1){const a=i[o].toLowerCase();if(e.indexOf(a)!==-1&&r[a])return n.concat(r)}}return n},[]),kg=e=>console&&typeof console.warn=="function"&&console.warn(e),Un=(e,t,n)=>{const r={};return n.filter(i=>Array.isArray(i[e])?!0:(typeof i[e]<"u"&&kg(`Helmet: ${e} should be of type "Array". Instead found type "${typeof i[e]}"`),!1)).map(i=>i[e]).reverse().reduce((i,o)=>{const l={};o.filter(s=>{let u;const f=Object.keys(s);for(let m=0;m<f.length;m+=1){const v=f[m],k=v.toLowerCase();t.indexOf(k)!==-1&&!(u==="rel"&&s[u].toLowerCase()==="canonical")&&!(k==="rel"&&s[k].toLowerCase()==="stylesheet")&&(u=k),t.indexOf(v)!==-1&&(v==="innerHTML"||v==="cssText"||v==="itemprop")&&(u=v)}if(!u||!s[u])return!1;const d=s[u].toLowerCase();return r[u]||(r[u]={}),l[u]||(l[u]={}),r[u][d]?!1:(l[u][d]=!0,!0)}).reverse().forEach(s=>i.push(s));const a=Object.keys(l);for(let s=0;s<a.length;s+=1){const u=a[s],f={...r[u],...l[u]};r[u]=f}return i},[]).reverse()},xg=(e,t)=>{if(Array.isArray(e)&&e.length){for(let n=0;n<e.length;n+=1)if(e[n][t])return!0}return!1},Sg=e=>({baseTag:wg(["href"],e),bodyAttributes:Wo("bodyAttributes",e),defer:vn(e,yn.DEFER),encode:vn(e,yn.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:Wo("htmlAttributes",e),linkTags:Un("link",["rel","href"],e),metaTags:Un("meta",["name","charset","http-equiv","property","itemprop"],e),noscriptTags:Un("noscript",["innerHTML"],e),onChangeClientState:vg(e),scriptTags:Un("script",["src","innerHTML"],e),styleTags:Un("style",["cssText"],e),title:yg(e),titleAttributes:Wo("titleAttributes",e),prioritizeSeoTags:xg(e,yn.PRIORITIZE_SEO_TAGS)}),Vd=e=>Array.isArray(e)?e.join(""):e,Cg=(e,t)=>{const n=Object.keys(e);for(let r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1},$o=(e,t)=>Array.isArray(e)?e.reduce((n,r)=>(Cg(r,t)?n.priority.push(r):n.default.push(r),n),{priority:[],default:[]}):{default:e,priority:[]},su=(e,t)=>({...e,[t]:void 0}),Eg=["noscript","script","style"],zl=(e,t=!0)=>t===!1?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;"),qd=e=>Object.keys(e).reduce((t,n)=>{const r=typeof e[n]<"u"?`${n}="${e[n]}"`:`${n}`;return t?`${t} ${r}`:r},""),Pg=(e,t,n,r)=>{const i=qd(n),o=Vd(t);return i?`<${e} ${We}="true" ${i}>${zl(o,r)}</${e}>`:`<${e} ${We}="true">${zl(o,r)}</${e}>`},Tg=(e,t,n=!0)=>t.reduce((r,i)=>{const o=i,l=Object.keys(o).filter(u=>!(u==="innerHTML"||u==="cssText")).reduce((u,f)=>{const d=typeof o[f]>"u"?f:`${f}="${zl(o[f],n)}"`;return u?`${u} ${d}`:d},""),a=o.innerHTML||o.cssText||"",s=Eg.indexOf(e)===-1;return`${r}<${e} ${We}="true" ${l}${s?"/>":`>${a}</${e}>`}`},""),Qd=(e,t={})=>Object.keys(e).reduce((n,r)=>{const i=Ua[r];return n[i||r]=e[r],n},t),Rg=(e,t,n)=>{const r={key:t,[We]:!0},i=Qd(n,r);return[gt.createElement("title",i,t)]},hi=(e,t)=>t.map((n,r)=>{const i={key:r,[We]:!0};return Object.keys(n).forEach(o=>{const a=Ua[o]||o;if(a==="innerHTML"||a==="cssText"){const s=n.innerHTML||n.cssText;i.dangerouslySetInnerHTML={__html:s}}else i[a]=n[o]}),gt.createElement(e,i)}),Pe=(e,t,n=!0)=>{switch(e){case"title":return{toComponent:()=>Rg(e,t.title,t.titleAttributes),toString:()=>Pg(e,t.title,t.titleAttributes,n)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>Qd(t),toString:()=>qd(t)};default:return{toComponent:()=>hi(e,t),toString:()=>Tg(e,t,n)}}},_g=({metaTags:e,linkTags:t,scriptTags:n,encode:r})=>{const i=$o(e,Do.meta),o=$o(t,Do.link),l=$o(n,Do.script);return{priorityMethods:{toComponent:()=>[...hi("meta",i.priority),...hi("link",o.priority),...hi("script",l.priority)],toString:()=>`${Pe("meta",i.priority,r)} ${Pe("link",o.priority,r)} ${Pe("script",l.priority,r)}`},metaTags:i.default,linkTags:o.default,scriptTags:l.default}},Ng=e=>{const{baseTag:t,bodyAttributes:n,encode:r=!0,htmlAttributes:i,noscriptTags:o,styleTags:l,title:a="",titleAttributes:s,prioritizeSeoTags:u}=e;let{linkTags:f,metaTags:d,scriptTags:m}=e,v={toComponent:()=>{},toString:()=>""};return u&&({priorityMethods:v,linkTags:f,metaTags:d,scriptTags:m}=_g(e)),{priority:v,base:Pe("base",t,r),bodyAttributes:Pe("bodyAttributes",n,r),htmlAttributes:Pe("htmlAttributes",i,r),link:Pe("link",f,r),meta:Pe("meta",d,r),noscript:Pe("noscript",o,r),script:Pe("script",m,r),style:Pe("style",l,r),title:Pe("title",{title:a,titleAttributes:s},r)}},Il=Ng,Yr=[],Kd=!!(typeof window<"u"&&window.document&&window.document.createElement),Dl=class{constructor(e,t){Ge(this,"instances",[]);Ge(this,"canUseDOM",Kd);Ge(this,"context");Ge(this,"value",{setHelmet:e=>{this.context.helmet=e},helmetInstances:{get:()=>this.canUseDOM?Yr:this.instances,add:e=>{(this.canUseDOM?Yr:this.instances).push(e)},remove:e=>{const t=(this.canUseDOM?Yr:this.instances).indexOf(e);(this.canUseDOM?Yr:this.instances).splice(t,1)}}});this.context=e,this.canUseDOM=t||!1,t||(e.helmet=Il({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},Lg={},Yd=gt.createContext(Lg),Wt,Gd=(Wt=class extends y.Component{constructor(n){super(n);Ge(this,"helmetData");this.helmetData=new Dl(this.props.context||{},Wt.canUseDOM)}render(){return gt.createElement(Yd.Provider,{value:this.helmetData.value},this.props.children)}},Ge(Wt,"canUseDOM",Kd),Wt),Xt=(e,t)=>{const n=document.head||document.querySelector("head"),r=n.querySelectorAll(`${e}[${We}]`),i=[].slice.call(r),o=[];let l;return t&&t.length&&t.forEach(a=>{const s=document.createElement(e);for(const u in a)if(Object.prototype.hasOwnProperty.call(a,u))if(u==="innerHTML")s.innerHTML=a.innerHTML;else if(u==="cssText")s.styleSheet?s.styleSheet.cssText=a.cssText:s.appendChild(document.createTextNode(a.cssText));else{const f=u,d=typeof a[f]>"u"?"":a[f];s.setAttribute(u,d)}s.setAttribute(We,"true"),i.some((u,f)=>(l=f,s.isEqualNode(u)))?i.splice(l,1):o.push(s)}),i.forEach(a=>{var s;return(s=a.parentNode)==null?void 0:s.removeChild(a)}),o.forEach(a=>n.appendChild(a)),{oldTags:i,newTags:o}},Wl=(e,t)=>{const n=document.getElementsByTagName(e)[0];if(!n)return;const r=n.getAttribute(We),i=r?r.split(","):[],o=[...i],l=Object.keys(t);for(const a of l){const s=t[a]||"";n.getAttribute(a)!==s&&n.setAttribute(a,s),i.indexOf(a)===-1&&i.push(a);const u=o.indexOf(a);u!==-1&&o.splice(u,1)}for(let a=o.length-1;a>=0;a-=1)n.removeAttribute(o[a]);i.length===o.length?n.removeAttribute(We):n.getAttribute(We)!==l.join(",")&&n.setAttribute(We,l.join(","))},jg=(e,t)=>{typeof e<"u"&&document.title!==e&&(document.title=Vd(e)),Wl("title",t)},uu=(e,t)=>{const{baseTag:n,bodyAttributes:r,htmlAttributes:i,linkTags:o,metaTags:l,noscriptTags:a,onChangeClientState:s,scriptTags:u,styleTags:f,title:d,titleAttributes:m}=e;Wl("body",r),Wl("html",i),jg(d,m);const v={baseTag:Xt("base",n),linkTags:Xt("link",o),metaTags:Xt("meta",l),noscriptTags:Xt("noscript",a),scriptTags:Xt("script",u),styleTags:Xt("style",f)},k={},w={};Object.keys(v).forEach(C=>{const{newTags:h,oldTags:c}=v[C];h.length&&(k[C]=h),c.length&&(w[C]=v[C].oldTags)}),t&&t(),s(e,k,w)},Bn=null,bg=e=>{Bn&&cancelAnimationFrame(Bn),e.defer?Bn=requestAnimationFrame(()=>{uu(e,()=>{Bn=null})}):(uu(e),Bn=null)},Og=bg,cu=class extends y.Component{constructor(){super(...arguments);Ge(this,"rendered",!1)}shouldComponentUpdate(t){return!mg(t,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:t}=this.props.context;t.remove(this),this.emitChange()}emitChange(){const{helmetInstances:t,setHelmet:n}=this.props.context;let r=null;const i=Sg(t.get().map(o=>{const l={...o.props};return delete l.context,l}));Gd.canUseDOM?Og(i):Il&&(r=Il(i)),n(r)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:t}=this.props.context;t.add(this),this.emitChange()}render(){return this.init(),null}},Fo,oy=(Fo=class extends y.Component{shouldComponentUpdate(e){return!dg(su(this.props,"helmetData"),su(e,"helmetData"))}mapNestedChildrenToProps(e,t){if(!t)return null;switch(e.type){case"script":case"noscript":return{innerHTML:t};case"style":return{cssText:t};default:throw new Error(`<${e.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(e,t,n,r){return{...t,[e.type]:[...t[e.type]||[],{...n,...this.mapNestedChildrenToProps(e,r)}]}}mapObjectTypeChildren(e,t,n,r){switch(e.type){case"title":return{...t,[e.type]:r,titleAttributes:{...n}};case"body":return{...t,bodyAttributes:{...n}};case"html":return{...t,htmlAttributes:{...n}};default:return{...t,[e.type]:{...n}}}}mapArrayTypeChildrenToProps(e,t){let n={...t};return Object.keys(e).forEach(r=>{n={...n,[r]:e[r]}}),n}warnOnInvalidChildren(e,t){return lu(au.some(n=>e.type===n),typeof e.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${au.join(", ")} are allowed. Helmet does not support rendering <${e.type}> elements. Refer to our API for more information.`),lu(!t||typeof t=="string"||Array.isArray(t)&&!t.some(n=>typeof n!="string"),`Helmet expects a string as a child of <${e.type}>. Did you forget to wrap your children in braces? ( <${e.type}>{\`\`}</${e.type}> ) Refer to our API for more information.`),!0}mapChildrenToProps(e,t){let n={};return gt.Children.forEach(e,r=>{if(!r||!r.props)return;const{children:i,...o}=r.props,l=Object.keys(o).reduce((s,u)=>(s[gg[u]||u]=o[u],s),{});let{type:a}=r;switch(typeof a=="symbol"?a=a.toString():this.warnOnInvalidChildren(r,i),a){case"Symbol(react.fragment)":t=this.mapChildrenToProps(i,t);break;case"link":case"meta":case"noscript":case"script":case"style":n=this.flattenArrayTypeChildren(r,n,l,i);break;default:t=this.mapObjectTypeChildren(r,t,l,i);break}}),this.mapArrayTypeChildrenToProps(n,t)}render(){const{children:e,...t}=this.props;let n={...t},{helmetData:r}=t;if(e&&(n=this.mapChildrenToProps(e,n)),r&&!(r instanceof Dl)){const i=r;r=new Dl(i.context,!0),delete n.helmetData}return r?gt.createElement(cu,{...n,context:r.value}):gt.createElement(Yd.Consumer,null,i=>gt.createElement(cu,{...n,context:i}))}},Ge(Fo,"defaultProps",{defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1}),Fo);const Ag="modulepreload",Mg=function(e){return"/"+e},du={},ut=function(t,n,r){let i=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const l=document.querySelector("meta[property=csp-nonce]"),a=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));i=Promise.allSettled(n.map(s=>{if(s=Mg(s),s in du)return;du[s]=!0;const u=s.endsWith(".css"),f=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${s}"]${f}`))return;const d=document.createElement("link");if(d.rel=u?"stylesheet":Ag,u||(d.as="script"),d.crossOrigin="",d.href=s,a&&d.setAttribute("nonce",a),document.head.appendChild(d),u)return new Promise((m,v)=>{d.addEventListener("load",m),d.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${s}`)))})}))}function o(l){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=l,window.dispatchEvent(a),!a.defaultPrevented)throw l}return i.then(l=>{for(const a of l||[])a.status==="rejected"&&o(a.reason);return t().catch(o)})};/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */var zg={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Ig=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase().trim(),Yt=(e,t)=>{const n=y.forwardRef(({color:r="currentColor",size:i=24,strokeWidth:o=2,absoluteStrokeWidth:l,className:a="",children:s,...u},f)=>y.createElement("svg",{ref:f,...zg,width:i,height:i,stroke:r,strokeWidth:l?Number(o)*24/Number(i):o,className:["lucide",`lucide-${Ig(e)}`,a].join(" "),...u},[...t.map(([d,m])=>y.createElement(d,m)),...Array.isArray(s)?s:[s]]));return n.displayName=`${e}`,n};/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Gr=Yt("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Dg=Yt("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Wg=Yt("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const $g=Yt("MapPin",[["path",{d:"M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z",key:"2oe9fu"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Fg=Yt("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const pi=Yt("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const fu=Yt("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),ve={companyName:"MidWest Electrical Services",phone:"(872) 335-4677",phoneHref:"tel:+18723354677",email:"frank@midwestelectricalservices.com",address:{street:"2700 W 36th Pl",city:"Chicago",state:"IL",zip:"60632",full:"2700 W 36th Pl, Chicago, IL 60632"},domain:"https://midwestelectricalservices.com",founded:"2012",yelp:"https://www.yelp.com/biz/midwest-electrical-services-chicago",hours:"Open 7 Days a Week: 7:00 AM - 10:00 PM",hoursDetailed:{days:"Monday - Sunday",open:"7:00 AM",close:"10:00 PM"},owner:{name:"Frank Young",title:"Founder & Master Electrician",photo:"frank-young.webp"}},$l=[{slug:"electrical-panel-upgrade",name:"Electrical Panel Upgrade",shortDescription:"Upgrade from outdated fuse boxes to modern 200-amp breaker panels for safety and capacity.",icon:"Zap",image:"service-panel-upgrade.webp",content:{intro:"Many homes on Chicago's south and southwest side still rely on electrical panels installed decades ago. Whether you have a 60-amp fuse box from the 1940s or a 100-amp panel that simply cannot keep up with modern demands, an electrical panel upgrade is one of the most important investments you can make for your home's safety and functionality.",body:["Chicago's residential landscape, especially in neighborhoods like Brighton Park, Pilsen, and Bridgeport, is filled with homes built between the 1920s and 1960s. These homes were wired for a different era, one where the heaviest electrical load might have been a refrigerator and a few light bulbs. Today, central air conditioning, home offices, EV chargers, and dozens of connected devices place far greater demands on your electrical system. An undersized or aging panel is not just inconvenient; it is a genuine fire hazard.","A panel upgrade from MidWest Electrical Services typically involves replacing your existing panel with a new 200-amp service rated breaker panel. This process includes working with ComEd to coordinate the meter and service entrance, pulling the required City of Chicago electrical permits, and performing a final inspection to ensure everything is up to code. Our licensed master electricians handle the entire process from start to finish, ensuring zero disruption to your daily routine.","Beyond safety, a modern panel opens the door to future upgrades. Planning to install an EV charger, add central air, or build out a home workshop? A 200-amp panel gives you the capacity to do it all without worrying about overloaded circuits or tripped breakers."],process:[{step:1,title:"Free In-Home Assessment",description:"We inspect your current panel, evaluate your electrical needs, and provide a transparent, flat-rate quote with no hidden fees."},{step:2,title:"Permits & Coordination",description:"We pull all required City of Chicago electrical permits and coordinate with ComEd for meter and service upgrades."},{step:3,title:"Professional Installation",description:"Our licensed electricians remove the old panel, install the new 200-amp panel, and properly label every circuit for easy identification."},{step:4,title:"Inspection & Walkthrough",description:"We schedule the city inspection, walk you through your new panel, and ensure everything passes code on the first visit."}]},faqs:[{question:"How much does an electrical panel upgrade cost in Chicago?",answer:"Panel upgrade costs in Chicago typically range from $1,800 to $3,500 depending on the scope of work. Factors include the current panel size, whether the service entrance needs upgrading, and any additional circuits needed. MidWest provides free in-home estimates with transparent flat-rate pricing, so you know the full cost before any work begins."},{question:"Do I need a permit for an electrical panel upgrade in Chicago?",answer:"Yes. The City of Chicago requires an electrical permit for panel upgrades. As licensed contractors, MidWest Electrical Services handles the entire permit process for you, including scheduling the required city inspection after installation."},{question:"How long does a panel upgrade take?",answer:"Most residential panel upgrades are completed in a single day, typically 6 to 8 hours. There will be a planned power outage during the swap, usually lasting 2 to 4 hours. We coordinate the timing to minimize disruption to your household."},{question:"What are signs my electrical panel needs an upgrade?",answer:"Common warning signs include frequently tripped breakers, flickering lights when appliances run, a fuse box instead of a breaker panel, scorch marks or a burning smell near the panel, and an inability to add new circuits for modern needs like EV chargers or home offices."}],relatedServices:["ev-charger-installation","residential-electrical-repair","whole-home-surge-protection"],relevantNeighborhoods:["brighton-park","pilsen","bridgeport","back-of-the-yards"]},{slug:"ev-charger-installation",name:"EV Charger Installation",shortDescription:"Level 2 home EV charger installation with panel assessment and dedicated 240V circuit.",icon:"BatteryCharging",image:"service-ev-charger.webp",content:{intro:"As electric vehicles become increasingly popular across Chicago, having a reliable Level 2 charger at home is no longer a luxury; it is a necessity. MidWest Electrical Services provides professional EV charger installation for homeowners throughout Chicago's south and southwest side, ensuring your vehicle charges safely and efficiently overnight.",body:["A Level 2 EV charger operates on a dedicated 240-volt circuit, similar to what powers your dryer or oven, and can fully charge most electric vehicles in 4 to 8 hours. This is a major improvement over a standard 120-volt outlet, which can take 24 hours or more. Whether you drive a Tesla, Chevy Bolt, Ford Mustang Mach-E, or any other electric vehicle, a properly installed Level 2 charger transforms your garage or driveway into a personal fueling station.","Before installation, our electricians perform a thorough assessment of your existing electrical panel to ensure it can support the additional 40 to 50 amp load required by most chargers. Many older Chicago homes have 100-amp panels that may need an upgrade before an EV charger can be safely added. We handle everything from panel assessment to the final charger mount, including any necessary panel upgrades and ComEd coordination.","We install all major charger brands including Tesla Wall Connector, ChargePoint Home Flex, Grizzl-E, JuiceBox, and Emporia. If your garage is detached, as is common in many south side Chicago neighborhoods, we can run the necessary conduit and wiring from your panel to the garage, properly protected and up to code."],process:[{step:1,title:"Panel & Site Assessment",description:"We evaluate your electrical panel capacity, determine the best charger location (garage, driveway, or carport), and measure the wire run distance."},{step:2,title:"Charger Selection & Quote",description:"Based on your vehicle, driving habits, and panel capacity, we recommend the best charger and provide a flat-rate installation quote."},{step:3,title:"Installation",description:"We install the dedicated 240V circuit, mount and wire the charger, and ensure all connections are secure and code-compliant."},{step:4,title:"Testing & Setup",description:"We test the charger with your vehicle, walk you through the controls and any smart features, and confirm everything is working perfectly."}]},faqs:[{question:"Do I need a permit for EV charger installation in Chicago?",answer:"In most cases, yes. Installing a new 240V circuit requires a City of Chicago electrical permit. MidWest handles the permit process as part of every EV charger installation, so you do not need to deal with the city directly."},{question:"Can my electrical panel handle an EV charger?",answer:"It depends on your current panel capacity and existing electrical loads. Most EV chargers require a 40 to 50 amp dedicated circuit. If you have a 200-amp panel with available capacity, installation is straightforward. If you have an older 100-amp panel, you may need a panel upgrade first. Our free assessment determines exactly what is needed."},{question:"How much does EV charger installation cost in Chicago?",answer:"Installation costs typically range from $800 to $2,000 depending on the distance from your panel to the charger location, whether your panel needs upgrading, and the charger model. We provide transparent quotes after our free on-site assessment."},{question:"Can you install an EV charger in a detached garage?",answer:"Absolutely. Many Chicago homes have detached garages, and we frequently run conduit and wiring from the main panel to detached structures. The cost may be slightly higher due to the longer wire run and exterior conduit, but it is a routine installation for our team."}],relatedServices:["electrical-panel-upgrade","residential-electrical-repair","smart-home-integration"],relevantNeighborhoods:["bridgeport","garfield-ridge","archer-heights","mckinley-park"]},{slug:"emergency-electrician",name:"Emergency Electrician",shortDescription:"24/7 emergency electrical service with rapid response for Chicago's south and southwest side.",icon:"AlertTriangle",image:"emergency-electrician.webp",content:{intro:"Electrical emergencies do not wait for business hours, and neither do we. MidWest Electrical Services provides 24/7 emergency electrical service throughout Chicago's south and southwest side, with rapid response times that get a licensed electrician to your door when you need help most.",body:["Electrical emergencies can range from inconvenient to immediately dangerous. A total power loss in the middle of a Chicago winter is not just uncomfortable; it can be a threat to your family's safety when temperatures drop below zero. A burning smell from an outlet, sparking wires, or a buzzing electrical panel requires immediate professional attention. These are not situations for DIY troubleshooting or waiting until Monday morning.","When you call MidWest for an emergency, you speak to a real person, not an answering service. Our dispatchers assess the situation, provide immediate safety guidance over the phone, and get a licensed electrician en route to your location. Because we are based in Brighton Park at 2700 W 36th Pl, we can reach most south and southwest side neighborhoods in under 20 minutes.","Common emergencies we handle include complete power loss not related to a ComEd outage, burning smells from outlets, switches, or panels, sparking or arcing at receptacles, exposed or damaged wiring from storms or accidents, tripped main breakers that will not reset, and electrical issues following flooding or water damage. If you are unsure whether your situation is an emergency, call us. We would rather assess and reassure you than have you ignore a potentially dangerous condition."],process:[{step:1,title:"Call Us Anytime",description:"Call (872) 335-4677 day or night. Our team assesses your emergency and provides immediate safety instructions."},{step:2,title:"Rapid Dispatch",description:"We dispatch a licensed electrician to your location with a fully stocked service vehicle, ready to diagnose and repair."},{step:3,title:"Diagnose & Repair",description:"Our electrician identifies the root cause of the emergency and performs the necessary repairs to restore safety and power."},{step:4,title:"Follow-Up Assessment",description:"After the immediate emergency is resolved, we recommend any additional work needed to prevent future issues."}]},faqs:[{question:"What counts as an electrical emergency?",answer:"Any situation involving immediate safety risk qualifies as an electrical emergency. This includes burning smells from outlets or panels, sparking or arcing, complete power loss (when ComEd confirms no outage in your area), exposed or damaged wiring, and electrical issues after flooding or storms. When in doubt, call us and we will help you assess the situation."},{question:"How fast can you respond to an emergency in Chicago?",answer:"Our shop is located in Brighton Park, giving us fast access to neighborhoods across Chicago's south and southwest side. Typical response time is 15 to 30 minutes depending on your location and current demand. We prioritize emergencies involving immediate safety hazards."},{question:"Should I call 911 or an electrician?",answer:"Call 911 first if you see active fire, smell smoke, or if anyone has been injured by electrical shock. Once the immediate danger is addressed by first responders, call MidWest to diagnose and repair the underlying electrical issue. If there is no active fire or injury but you suspect a dangerous electrical condition, call us directly."},{question:"Are emergency service calls more expensive?",answer:"Emergency calls outside regular business hours may include a service call fee, but we always provide upfront pricing before starting any repair work. There are no surprise charges. We believe transparent pricing is especially important during stressful emergency situations."}],relatedServices:["residential-electrical-repair","electrical-panel-upgrade","whole-home-surge-protection"],relevantNeighborhoods:["brighton-park","back-of-the-yards","mckinley-park","gage-park"]},{slug:"residential-electrical-repair",name:"Residential Electrical Repair",shortDescription:"Expert troubleshooting and repair for all residential electrical issues in Chicago homes.",icon:"Wrench",image:"work-residential-1.webp",content:{intro:"From flickering lights and dead outlets to mysterious circuit breaker trips and outdated wiring, residential electrical problems are common in Chicago's older housing stock. MidWest Electrical Services provides expert troubleshooting and repair for homes across the south and southwest side, resolving issues safely and bringing your electrical system up to modern code.",body:["Chicago's south and southwest side neighborhoods are home to some of the city's most beloved architecture: classic brick bungalows, sturdy two-flats, and charming frame houses. But behind those walls, the electrical systems often tell a different story. Knob-and-tube wiring from the early 1900s, aluminum wiring from the 1960s and 70s, overloaded circuits, and aging outlets without ground connections are all common findings in the homes we service every day.","Our residential repair services cover the full spectrum of electrical issues. We diagnose and fix faulty outlets and switches, repair or replace light fixtures, install GFCI outlets in kitchens, bathrooms, and exterior locations as required by code, troubleshoot circuit breaker issues, and address wiring problems ranging from minor repairs to full rewiring of specific circuits. We also handle code violation corrections for homeowners preparing to sell or refinance.","Every repair begins with proper diagnosis. Electrical symptoms often point to underlying issues that a quick fix would only mask. When you call MidWest, our electricians take the time to understand the root cause of the problem, explain what they find in plain language, and provide options for repair. We believe in fixing it right the first time, not just patching over the symptom."],process:[{step:1,title:"Describe the Problem",description:"Call us or submit a request describing the electrical issue. The more detail you can provide (when it started, what triggers it, which rooms are affected), the better."},{step:2,title:"Diagnostic Visit",description:"Our electrician visits your home, thoroughly diagnoses the issue using professional testing equipment, and explains the findings."},{step:3,title:"Transparent Quote",description:"Before any repair work begins, you receive a clear, flat-rate quote. No surprises, no hidden fees."},{step:4,title:"Professional Repair",description:"We complete the repair to code, test everything thoroughly, and clean up after ourselves."}]},faqs:[{question:"Why do my lights flicker when I turn on an appliance?",answer:"Flickering lights when appliances cycle on usually indicate an overloaded circuit or loose wiring connections. In older Chicago homes, this is often caused by circuits that were not designed for modern appliance loads. An electrician can diagnose whether the issue is a simple loose connection or a more significant circuit capacity problem."},{question:"Is knob-and-tube wiring dangerous?",answer:"Knob-and-tube wiring, found in many pre-1940s Chicago homes, is not inherently dangerous if it is in good condition and has not been modified. However, it was not designed for modern electrical loads, cannot be grounded, and is often a concern for insurance companies. If your home has knob-and-tube wiring, we recommend a professional assessment to determine its condition and discuss upgrade options."},{question:"Do I need GFCI outlets in my home?",answer:"Current electrical code requires GFCI (Ground Fault Circuit Interrupter) protection in kitchens, bathrooms, laundry rooms, garages, basements, and exterior outlets. Many older Chicago homes predate these requirements. Installing GFCI outlets in these locations is a straightforward safety upgrade that protects against electrical shock."},{question:"How do I know if my home has aluminum wiring?",answer:"Aluminum wiring was commonly used in homes built or renovated during the 1960s and 70s. You can sometimes identify it by looking at the wiring visible at your panel (it will have a silver color rather than copper). Aluminum wiring requires special attention at connection points and may need remediation. Our electricians can inspect and advise on the safest approach."}],relatedServices:["electrical-panel-upgrade","lighting-installation","whole-home-surge-protection"],relevantNeighborhoods:["brighton-park","gage-park","back-of-the-yards","pilsen"]},{slug:"commercial-electrical",name:"Commercial Electrical",shortDescription:"Full-service commercial electrical for Chicago businesses, from retail buildouts to office wiring.",icon:"Building2",image:"work-commercial-1.webp",content:{intro:"Chicago businesses deserve an electrical contractor who understands commercial demands. MidWest Electrical Services provides comprehensive commercial electrical services for businesses across the south and southwest side, from small storefronts on 26th Street to office buildouts and restaurant renovations.",body:["Commercial electrical work requires a different level of expertise than residential projects. Three-phase power systems, commercial-grade panels, dedicated circuits for heavy equipment, code requirements specific to commercial occupancy, and the need to minimize business downtime all set commercial work apart. Our licensed electricians have extensive experience with the unique demands of commercial properties throughout Chicago.","Our commercial services include new construction wiring, tenant improvement buildouts, retail and restaurant lighting design and installation, commercial panel upgrades and three-phase power setup, signage and display lighting for storefronts, dedicated circuits for commercial kitchen equipment, emergency and exit lighting installation, parking lot and exterior lighting, and electrical code compliance for Chicago commercial inspections.","We understand that downtime costs money. When possible, we schedule commercial work during off-hours to minimize disruption to your business operations. For urgent commercial electrical issues, our emergency service ensures your business is not left without power any longer than absolutely necessary."],process:[{step:1,title:"Consultation & Walkthrough",description:"We visit your commercial space, discuss your electrical needs and timeline, and assess the existing electrical infrastructure."},{step:2,title:"Detailed Proposal",description:"You receive a comprehensive proposal covering scope of work, materials, timeline, and pricing. No guesswork."},{step:3,title:"Scheduled Installation",description:"We work around your business schedule, completing electrical work during off-hours when possible to minimize disruption."},{step:4,title:"Inspection & Handoff",description:"All work passes City of Chicago commercial inspection. We provide documentation and walk you through any new systems."}]},faqs:[{question:"Do you work with commercial properties in Chicago?",answer:"Yes. MidWest Electrical Services handles commercial electrical work for businesses of all sizes across Chicago, including retail stores, restaurants, offices, and multi-unit commercial buildings. We are experienced with Chicago commercial building codes and inspection requirements."},{question:"Can you work after business hours to avoid disruption?",answer:"Absolutely. We understand that electrical work during business hours can cost you revenue. We routinely schedule commercial work during evenings, weekends, and off-hours to keep your business running smoothly during the project."},{question:"Do you handle commercial electrical permits in Chicago?",answer:"Yes. We handle the full permit process for commercial electrical work in Chicago, including submitting plans, pulling permits, and scheduling city inspections. This is included as part of our service."},{question:"What types of businesses do you serve?",answer:"We serve a wide range of commercial clients including restaurants, retail stores, offices, warehouses, multi-unit residential buildings, churches, and small manufacturing facilities. If your business needs electrical work in Chicago, we can handle it."}],relatedServices:["electrical-panel-upgrade","lighting-installation","generator-installation"],relevantNeighborhoods:["little-village","pilsen","bridgeport","chicago-lawn"]},{slug:"lighting-installation",name:"Lighting Installation",shortDescription:"Professional lighting installation including recessed lighting, LED upgrades, and outdoor fixtures.",icon:"Lightbulb",image:"service-lighting.webp",content:{intro:"The right lighting transforms how a home looks, feels, and functions. MidWest Electrical Services provides professional lighting installation for Chicago homeowners, from modern recessed lighting and LED upgrades to outdoor security fixtures and decorative landscape lighting.",body:["Lighting is one of the most impactful upgrades you can make to your home. Replacing outdated ceiling-mount fixtures with recessed LED lighting instantly modernizes a room, improves energy efficiency, and often makes spaces feel larger and more inviting. In Chicago's classic bungalows and two-flats, where ceiling heights and room sizes vary, proper lighting design makes a real difference in livability.","Our lighting services cover every type of installation. Interior work includes recessed or can lighting for kitchens, living rooms, and basements, under-cabinet lighting for kitchens, chandelier and pendant fixture installation, dimmer switches for adjustable ambiance, and LED retrofit and conversion from older bulb types. Exterior services include security and motion-sensor lighting, porch and entryway fixtures, landscape and pathway lighting, and garage and driveway lighting.","Every lighting project starts with understanding how you use the space. A kitchen needs bright, even task lighting. A living room benefits from layered lighting with dimming capability. An exterior needs security coverage without harsh glare. Our electricians bring both technical skill and practical design sense to every installation, ensuring your new lighting looks great and functions exactly as you need."],process:[{step:1,title:"Lighting Consultation",description:"We discuss your goals, walk through the spaces, and recommend lighting options that match your style, budget, and functional needs."},{step:2,title:"Quote & Planning",description:"You receive a detailed quote including fixture options, layout plan, and installation cost. We help you select fixtures if needed."},{step:3,title:"Professional Installation",description:"Our electricians install all fixtures, run any new wiring or circuits needed, and install switches and dimmers."},{step:4,title:"Final Adjustments",description:"We aim and adjust all lights, set dimmer levels, and make sure everything looks and works exactly right."}]},faqs:[{question:"How much does recessed lighting installation cost?",answer:"Recessed lighting installation in Chicago typically costs $150 to $300 per fixture installed, depending on whether new wiring needs to be run and the complexity of the ceiling (first floor vs. second floor, finished vs. unfinished ceiling above). Most kitchen or living room projects involve 4 to 8 fixtures. We provide exact pricing after an in-home assessment."},{question:"Can you add recessed lights without major drywall work?",answer:"In many cases, yes. Modern remodel-style recessed fixtures are designed to install through small holes in the existing ceiling without access from above. While some situations require patching, we minimize drywall disruption whenever possible."},{question:"What is the benefit of LED lighting?",answer:"LED lighting uses 75% less energy than incandescent bulbs, lasts 25 times longer, produces less heat, and is available in a wide range of color temperatures from warm to cool. For most homeowners, the energy savings alone pay for the upgrade within one to two years."},{question:"Do you install outdoor security lighting?",answer:"Yes. We install motion-activated security lights, dusk-to-dawn fixtures, floodlights, and smart outdoor lighting that you can control from your phone. Proper outdoor lighting is an effective and affordable security measure for Chicago homes."}],relatedServices:["residential-electrical-repair","smart-home-integration","commercial-electrical"],relevantNeighborhoods:["brighton-park","mckinley-park","archer-heights","west-elsdon"]},{slug:"smart-home-integration",name:"Smart Home Integration",shortDescription:"Smart switches, thermostats, doorbells, and home automation wiring by licensed electricians.",icon:"Smartphone",image:"smart-home-integration.webp",content:{intro:"Smart home technology is transforming how Chicago homeowners interact with their living spaces. MidWest Electrical Services provides professional smart home integration, ensuring your connected devices are installed correctly, wired safely, and working together seamlessly.",body:["The smart home market has exploded with options, from smart switches and thermostats to video doorbells, automated lighting, and voice-controlled systems. But many of these devices require proper electrical wiring that goes beyond simple plug-and-play installation. Smart switches often need a neutral wire that older Chicago homes may not have at the switch box. Video doorbells require specific voltage transformers. Whole-home systems benefit from dedicated circuits and hardwired network connections.","Our smart home services include installation and wiring of smart switches and dimmers from brands like Lutron Caseta and Leviton, smart thermostat installation and wiring for Nest, Ecobee, and Honeywell, video doorbell installation with proper transformer setup for Ring, Nest, and others, dedicated circuit installation for home automation hubs, structured wiring for hardwired Ethernet and whole-home Wi-Fi access points, and smart garage door opener integration.","What sets our approach apart is that we are licensed electricians first. While many smart home installers are technology-focused, we bring the electrical expertise to ensure every installation is safe, code-compliant, and properly integrated with your existing electrical system. This is especially important in older Chicago homes where the wiring may need updating before smart devices can be properly supported."],process:[{step:1,title:"Smart Home Assessment",description:"We evaluate your current electrical and network infrastructure and discuss which smart home features matter most to you."},{step:2,title:"Device & System Planning",description:"Based on your goals and budget, we recommend compatible devices and any electrical upgrades needed to support them."},{step:3,title:"Professional Installation",description:"We install and wire all smart devices, add neutral wires where needed, and set up any required dedicated circuits."},{step:4,title:"Configuration & Training",description:"We configure all devices, set up app connections, and walk you through how to use your new smart home features."}]},faqs:[{question:"Do smart switches require special wiring?",answer:"Many smart switches require a neutral wire at the switch box, which older Chicago homes often lack. Some newer smart switches work without a neutral, but options are more limited. Our electricians can assess your switch boxes and add neutral wires where needed, which is a straightforward job that opens up your smart switch options significantly."},{question:"Can you install a smart thermostat in an older home?",answer:"Yes, but older HVAC systems may have different wiring configurations than what modern smart thermostats expect. Our electricians verify compatibility, add any necessary wiring (such as a C-wire for constant power), and ensure the thermostat communicates properly with your heating and cooling system."},{question:"Is smart home wiring worth the investment?",answer:"For most homeowners, smart home upgrades pay for themselves through energy savings (smart thermostats and lighting can reduce energy costs by 10 to 15 percent) and increased home value. Beyond the financial benefits, the convenience and security improvements enhance daily life."},{question:"Do you work with all smart home brands?",answer:"We install devices from all major brands including Google Nest, Amazon Ring, Lutron, Ecobee, Honeywell, Leviton, and many others. We can also advise on which ecosystems work best together if you are starting from scratch."}],relatedServices:["lighting-installation","residential-electrical-repair","whole-home-surge-protection"],relevantNeighborhoods:["mckinley-park","gage-park","west-elsdon","west-lawn"]},{slug:"whole-home-surge-protection",name:"Whole-Home Surge Protection",shortDescription:"Protect your entire home from power surges with professional panel-mounted surge protection.",icon:"ShieldCheck",image:"whole-home-surge-protection.webp",content:{intro:"A single power surge can destroy thousands of dollars worth of electronics, appliances, and HVAC equipment in an instant. MidWest Electrical Services installs whole-home surge protection systems that safeguard everything in your home from the damaging effects of voltage spikes.",body:["Most people think of power surges as dramatic lightning strikes, but the majority of damaging surges come from more mundane sources. ComEd grid switching, utility maintenance, large motors cycling on and off (like your AC compressor), and even nearby construction can send voltage spikes through your wiring. Chicago's aging electrical infrastructure and frequent summer storms make south and southwest side homes particularly vulnerable to these events.","A whole-home surge protector is installed directly at your electrical panel, where it intercepts voltage spikes before they reach your home's wiring and connected devices. Unlike the power strips most people use to protect individual devices, a whole-home system protects everything simultaneously, including hardwired appliances like your HVAC system, refrigerator, and washer/dryer that cannot be plugged into a strip protector.","The investment in whole-home surge protection is modest compared to the cost of replacing damaged electronics and appliances. A modern flat-screen TV, a laptop, a smart thermostat, and a refrigerator control board can easily total several thousand dollars. Your HVAC system's control board alone can cost $500 to $1,500 to replace. Whole-home surge protection provides peace of mind that a single electrical event will not result in a cascade of expensive replacements."],process:[{step:1,title:"Panel Assessment",description:"We inspect your electrical panel to determine the best surge protection solution for your home's configuration and your protection needs."},{step:2,title:"Product Selection",description:"We recommend a surge protection device rated for your panel and usage, explaining the features and protection level."},{step:3,title:"Installation",description:"The surge protector is installed directly at your panel by a licensed electrician. Installation typically takes about an hour."},{step:4,title:"Verification & Warranty",description:"We verify the system is functioning correctly and register the product warranty, which often includes connected equipment coverage."}]},faqs:[{question:"What is whole-home surge protection?",answer:"A whole-home surge protector is a device installed at your main electrical panel that monitors incoming voltage and diverts excess voltage (surges) safely to ground before it reaches your home's wiring and devices. It protects everything in your home simultaneously, including hardwired appliances."},{question:"Do I still need power strip surge protectors?",answer:"For maximum protection, a layered approach is ideal. The whole-home protector at the panel handles large surges, while point-of-use surge protectors on sensitive electronics provide an additional layer of defense against smaller, internally generated surges. However, whole-home protection is the critical first layer that most homes lack."},{question:"How long does a whole-home surge protector last?",answer:"Most quality whole-home surge protectors last 5 to 10 years, depending on how many surges they absorb. Many models include an indicator light that shows when the unit needs replacement. We recommend periodic inspection as part of routine electrical maintenance."},{question:"Does Chicago's electrical grid cause frequent surges?",answer:"Yes. Older sections of the ComEd grid, substation switching events, and Chicago's frequent summer thunderstorms all contribute to voltage fluctuations that can damage sensitive electronics. Homes near commercial or industrial areas may experience more frequent surges due to heavy electrical loads cycling on and off."}],relatedServices:["electrical-panel-upgrade","residential-electrical-repair","generator-installation"],relevantNeighborhoods:["brighton-park","archer-heights","garfield-ridge","west-lawn"]},{slug:"generator-installation",name:"Generator Installation",shortDescription:"Standby generator installation with automatic transfer switch for reliable backup power.",icon:"Power",image:"generator-installation.webp",content:{intro:"Chicago weather does not take days off, and neither should your power. MidWest Electrical Services installs standby generators that automatically kick in during power outages, keeping your home safe, comfortable, and functional no matter what Mother Nature or the grid throws your way.",body:["Extended power outages in Chicago can happen any time of year. Winter ice storms can take down power lines. Summer heat waves strain the grid and trigger rolling outages. High winds from spring and fall storms knock out power to entire neighborhoods. For families with medical equipment, home offices, sump pumps in flood-prone basements, or simply the need to keep food cold and lights on, a standby generator is not a luxury; it is essential infrastructure.","A standby generator is permanently installed outside your home and connected to your natural gas or propane supply. When power goes out, an automatic transfer switch detects the loss and starts the generator within seconds, restoring power to your home without you lifting a finger. When utility power returns, the system switches back automatically and shuts down the generator. You may not even realize the power went out.","Proper sizing is critical to generator performance and longevity. An undersized generator will overload and fail when you need it most. An oversized unit wastes fuel and money. Our electricians calculate your home's essential electrical loads and recommend the right capacity, whether that is a partial-home unit covering critical circuits or a whole-home generator that powers everything. We work with leading brands including Generac, Kohler, and Briggs and Stratton."],process:[{step:1,title:"Load Assessment & Sizing",description:"We calculate your home's electrical load requirements and determine the right generator size based on which circuits and appliances you need powered during outages."},{step:2,title:"Site Planning & Permits",description:"We identify the optimal installation location, plan the gas and electrical connections, and pull all required City of Chicago permits."},{step:3,title:"Professional Installation",description:"Our team installs the generator, automatic transfer switch, gas connection, and all electrical wiring. Installation typically takes 1 to 2 days."},{step:4,title:"Testing & Commissioning",description:"We simulate a power outage to verify automatic operation, test all connected circuits, and walk you through maintenance basics."}]},faqs:[{question:"How much does a standby generator cost in Chicago?",answer:"Standby generator installation in Chicago typically ranges from $5,000 to $15,000 total, including the generator unit, automatic transfer switch, installation, gas connection, and permits. The cost varies based on generator size (measured in kilowatts), brand, and installation complexity. We provide detailed quotes after our free in-home assessment."},{question:"Do I need a permit for a generator in Chicago?",answer:"Yes. The City of Chicago requires both electrical and gas permits for standby generator installation. There are also setback requirements for the unit's placement relative to property lines, windows, and structures. MidWest handles the complete permit process."},{question:"What size generator do I need for my Chicago home?",answer:"Generator sizing depends on what you want to power during an outage. A 10 to 14 kW generator handles essential circuits (refrigerator, furnace, sump pump, lights, and a few outlets). A 20 to 24 kW unit can power an entire average-sized Chicago home. We calculate the exact load requirements during our assessment."},{question:"Natural gas or propane — which is better?",answer:"For most Chicago homes, natural gas is the preferred choice because it is already available at the house and provides unlimited fuel supply without needing a storage tank. Propane is an option for homes without natural gas service, but requires a storage tank and periodic refilling."}],relatedServices:["electrical-panel-upgrade","whole-home-surge-protection","residential-electrical-repair"],relevantNeighborhoods:["garfield-ridge","archer-heights","west-elsdon","west-lawn"]}],Fl=[{slug:"brighton-park",name:"Brighton Park",isHome:!0,shortDescription:"MidWest's home neighborhood - serving Brighton Park families since 2012.",metaDescription:"Your neighborhood electrician in Brighton Park, Chicago. Based at 2700 W 36th Pl, we deliver fast panel upgrades, rewiring, and security lighting for Brighton Park bungalows. Call (872) 335-4677.",housingStock:"Mix of brick bungalows and frame houses from the 1920s-1950s",commonIssues:["Aluminum wiring in renovation-era homes","60-amp panels needing upgrade","Outdoor security lighting demand"],landmarks:["Brighton Park Branch Library","Archer Ave corridor"],driveTime:"Right here in your neighborhood",zipCodes:["60632"],mapCenter:{lat:41.8193,lng:-87.6991},contentParagraphs:["Brighton Park is where MidWest Electrical Services calls home. Our shop at 2700 W 36th Pl sits right in the heart of this tight-knit community, and we have been serving our neighbors here since 2012. We know the streets, the housing stock, and the unique electrical needs of this neighborhood better than anyone. When Brighton Park residents need an electrician, we are literally minutes away.","The neighborhood is primarily made up of well-maintained brick bungalows and frame houses built between the 1920s and 1950s. While these homes have solid bones, their electrical systems often reflect the era they were built in. We frequently encounter 60-amp fuse boxes that have not been touched in decades, aluminum wiring from mid-century renovations that needs careful remediation at connection points, and a growing demand for outdoor security lighting along the Archer Avenue corridor and surrounding residential streets.","Whether you need a panel upgrade to support a modern kitchen renovation, new security lighting for your front porch and gangway, or a complete rewire of a recently purchased bungalow, MidWest is your neighborhood electrician. We take extra pride in the work we do in Brighton Park because this is our community too. Every job we complete here is one our own team sees every day."],relevantServices:["electrical-panel-upgrade","residential-electrical-repair","lighting-installation","whole-home-surge-protection"],images:[{src:"service-panel-upgrade.webp",alt:"Electrical panel upgrade in Brighton Park, Chicago"},{src:"work-residential-1.webp",alt:"Residential electrical work in Brighton Park"}]},{slug:"mckinley-park",name:"McKinley Park",shortDescription:"Expert electrical services for McKinley Park homes and businesses.",metaDescription:"Trusted electrician for McKinley Park, Chicago. We upgrade aging panels, replace knob-and-tube wiring, and add dedicated circuits for modern living in classic bungalows and two-flats. Call (872) 335-4677.",housingStock:"Classic Chicago bungalows and two-flats from the 1920s-1940s",commonIssues:["Knob-and-tube or early Romex wiring","Panel upgrades for modern loads","Adding circuits for AC and home offices"],landmarks:["McKinley Park","Pershing Road","Stevenson Expressway"],driveTime:"About 5 minutes",zipCodes:["60609"],mapCenter:{lat:41.8311,lng:-87.6729},contentParagraphs:["McKinley Park sits just minutes from our Brighton Park shop, making it one of the neighborhoods we serve most frequently. The classic Chicago bungalows and two-flats lining the streets here were built predominantly in the 1920s through 1940s, and many still run on original or near-original electrical systems. Behind the well-kept brick facades, we often find knob-and-tube wiring on upper floors and early Romex wiring that predates modern safety standards.","One of the most common calls we get from McKinley Park homeowners involves circuit overloads. These homes were wired when a radio and a few light bulbs were the peak electrical demand. Today, central air conditioning units, multiple computers for remote work, modern kitchen appliances, and entertainment systems push aging 60-amp and 100-amp panels well beyond their designed capacity. We regularly upgrade McKinley Park homes to 200-amp panels, giving families the headroom they need for today and tomorrow.","The neighborhood around Pershing Road and the park itself has seen steady investment in recent years, with homeowners renovating kitchens, adding home offices, and modernizing living spaces. Each of these projects benefits from updated wiring and smart home features like programmable thermostats and automated lighting. Our proximity, just a short drive across the Stevenson Expressway, means fast response times for both scheduled work and unexpected electrical issues."],relevantServices:["electrical-panel-upgrade","residential-electrical-repair","lighting-installation","smart-home-integration"],images:[{src:"work-residential-2.webp",alt:"Residential electrical repair in McKinley Park, Chicago"},{src:"service-lighting.webp",alt:"Lighting installation in McKinley Park"}]},{slug:"back-of-the-yards",name:"Back of the Yards",shortDescription:"Trusted electricians for Back of the Yards homes and businesses since 2012.",metaDescription:"Experienced electrician serving Back of the Yards, Chicago. Specializing in full rewires, knob-and-tube removal, and code compliance for early 1900s homes near 47th Street. Call (872) 335-4677.",housingStock:"Wood-frame homes and two-flats from the early 1900s",commonIssues:["Knob-and-tube wiring needing full rewiring","Code compliance for renovations","GFCI installation in older kitchens and bathrooms"],landmarks:["Historic stockyards area","47th Street corridor","Davis Square Park"],driveTime:"About 8 minutes",zipCodes:["60609"],mapCenter:{lat:41.8097,lng:-87.6567},contentParagraphs:["Back of the Yards carries a rich history as one of Chicago's most storied working-class neighborhoods, and its housing stock reflects that heritage. Many homes here date to the early 1900s, built as wood-frame cottages and two-flats for the workers of the nearby stockyards. These are among the oldest residential structures we work on, and they present some of the most challenging electrical conditions on the south side.","Knob-and-tube wiring is still a common discovery in Back of the Yards homes, particularly in attics and upper floors that have not been renovated. This antiquated wiring system, where bare copper conductors run through porcelain knobs and tubes, was state of the art in 1910 but is completely inadequate for modern electrical demands. We have extensive experience safely removing and replacing knob-and-tube systems, bringing these historic homes up to current National Electrical Code standards without compromising the character that makes them special.","The 47th Street corridor and the area around Davis Square Park have seen a wave of renovation activity in recent years. Homeowners and investors upgrading these properties need electricians who understand both the challenges of century-old construction and the requirements of modern electrical code. We handle full rewires, GFCI installation in kitchens and bathrooms that predate modern ground-fault protection requirements, panel upgrades, and code compliance inspections that prepare properties for city inspection and insurance approval."],relevantServices:["residential-electrical-repair","electrical-panel-upgrade","lighting-installation","emergency-electrician"],images:[{src:"work-residential-1.webp",alt:"Residential electrical work in Back of the Yards, Chicago"},{src:"service-panel-upgrade.webp",alt:"Panel upgrade service in Back of the Yards"},{src:"work-commercial-1.webp",alt:"Commercial electrical work near Back of the Yards"}]},{slug:"bridgeport",name:"Bridgeport",shortDescription:"Electrical services for Bridgeport's historic homes and modern developments.",metaDescription:"Electrician serving Bridgeport, Chicago from historic greystones to modern condos. Panel upgrades, EV charger installation, and commercial wiring for Halsted Street businesses. Call (872) 335-4677.",housingStock:"Mix of historic greystones, bungalows, and newer condos",commonIssues:["Upgrading electrical in 100+ year old buildings","Panel upgrades to 200-amp","EV charger installation in newer homes"],landmarks:["Guaranteed Rate Field","Halsted Street","Growing restaurant and bar scene"],driveTime:"About 7 minutes",zipCodes:["60608","60609"],mapCenter:{lat:41.8389,lng:-87.6508},contentParagraphs:["Bridgeport offers one of the most interesting mixes of architecture on the south side, and with it comes a uniquely diverse set of electrical needs. Historic greystones built in the late 1800s stand alongside classic bungalows from the 1920s and brand-new condo developments. This range means our electricians might be tracing knob-and-tube wiring in a greystone one morning and installing an EV charger in a modern garage the same afternoon.","The century-old greystones and older homes along Halsted Street and near Guaranteed Rate Field often need significant electrical work to meet modern demands while preserving their architectural character. Upgrading from original 60-amp or 100-amp panels to 200-amp service is one of our most common Bridgeport projects. These upgrades require careful coordination with ComEd and the city, especially in multi-unit buildings where separate metering and shared service entrances add complexity.","Bridgeport's growing restaurant and bar scene along Halsted and nearby streets has also brought us steady commercial electrical work. New restaurant buildouts require commercial-grade wiring, kitchen equipment circuits, and specialized lighting that sets the right atmosphere. For the newer townhomes and condos popping up throughout the neighborhood, EV charger installation is increasingly popular as residents invest in electric vehicles. Whatever the project, Bridgeport is a quick drive from our shop, and we know this neighborhood inside and out."],relevantServices:["electrical-panel-upgrade","ev-charger-installation","residential-electrical-repair","lighting-installation"],images:[{src:"service-ev-charger.webp",alt:"EV charger installation in Bridgeport, Chicago"},{src:"work-residential-2.webp",alt:"Residential electrical work in Bridgeport"}]},{slug:"pilsen",name:"Pilsen",shortDescription:"Expert electrical work for historic homes, loft conversions, and creative spaces along 18th Street.",metaDescription:"Electrician for Pilsen, Chicago. Skilled in rewiring pre-1900 worker cottages, replacing outdated fuse boxes, and powering loft conversions along the 18th Street corridor. Call (872) 335-4677.",housingStock:"Historic worker cottages, two-flats, and converted loft spaces from the late 1800s-early 1900s",commonIssues:["Knob-and-tube replacement in pre-1900 buildings","Outdated fuse boxes needing full panel replacement","Adding modern capacity to renovated lofts"],landmarks:["18th Street corridor","National Museum of Mexican Art","Vibrant arts and dining scene"],driveTime:"About 10 minutes",zipCodes:["60608"],mapCenter:{lat:41.8565,lng:-87.6627},contentParagraphs:["Pilsen is home to some of the oldest residential electrical systems on Chicago's south side. The worker cottages, two-flats, and converted industrial spaces that define this vibrant neighborhood were largely built in the late 1800s and early 1900s, when electrical service was a new addition to homes originally lit by gas. Rewiring these buildings requires an electrician who respects the history while delivering modern safety and capability.","Along the 18th Street corridor and throughout the residential blocks near the National Museum of Mexican Art, we regularly encounter homes with original knob-and-tube wiring, fuse boxes with glass screw-in fuses, and electrical systems that have been informally modified over decades of ownership changes. These conditions require more than a simple upgrade. They demand careful assessment of existing conditions, a plan that addresses both safety and the homeowner's practical needs, and execution by electricians experienced with the quirks of century-old construction.","The arts and dining scene driving Pilsen's ongoing renaissance has also created demand for commercial electrical work. Restaurant and gallery buildouts, storefront renovations along 18th Street, and loft conversions that transform former industrial spaces into modern living areas all require substantial electrical infrastructure. From running new service to installing commercial lighting systems, MidWest brings the expertise these complex projects demand. We are about 10 minutes from Pilsen and respond quickly to both scheduled projects and emergency calls."],relevantServices:["residential-electrical-repair","electrical-panel-upgrade","lighting-installation","commercial-electrical"],images:[{src:"service-panel-upgrade.webp",alt:"Electrical panel upgrade in Pilsen, Chicago"},{src:"service-lighting.webp",alt:"Lighting installation in Pilsen"},{src:"work-residential-1.webp",alt:"Residential electrical repair in Pilsen"}]},{slug:"archer-heights",name:"Archer Heights",shortDescription:"Reliable electrical services for Archer Heights homeowners and families.",metaDescription:"Electrician serving Archer Heights, Chicago. Outdoor lighting, whole-home surge protection, and panel upgrades for well-maintained bungalows and ranch homes near Midway Airport. Call (872) 335-4677.",housingStock:"Well-maintained brick bungalows and ranch-style homes from the 1940s-1960s",commonIssues:["Upgrading older 100-amp panels","Outdoor lighting for larger lots","Whole-home surge protection"],landmarks:["Archer Avenue commercial corridor","Midway Airport proximity","Strong residential family character"],driveTime:"About 5 minutes",zipCodes:["60632"],mapCenter:{lat:41.8097,lng:-87.7244},contentParagraphs:["Archer Heights is a quiet, family-oriented neighborhood of well-maintained brick bungalows and ranch-style homes, most built between the 1940s and 1960s. The housing stock here is in generally good condition, but the electrical systems in many of these homes are reaching the point where upgrades are not just beneficial but necessary. Original 100-amp panels, while functional, struggle to support the electrical demands of modern households.","The larger lots typical of Archer Heights, compared to the tighter bungalow blocks closer to the city center, create opportunities for outdoor electrical work that we do not see as often in denser neighborhoods. Landscape lighting for front and back yards, security lighting along longer gangways and driveways, powered workshops in detached garages, and exterior outlets for holiday decorations and outdoor entertaining are all popular requests from Archer Heights homeowners. Our team designs and installs outdoor electrical systems that are both functional and code-compliant for Chicago's weather conditions.","With Midway Airport nearby, power fluctuations in the Archer Heights area are a real concern for homeowners with sensitive electronics and modern HVAC systems. We install whole-home surge protection systems that guard against voltage spikes from grid instability and nearby commercial electrical loads. Combined with a panel upgrade to 200-amp service, these improvements protect your investment and prepare your home for future electrical needs like EV chargers and expanded home automation. We are just 5 minutes from Archer Heights along Archer Avenue."],relevantServices:["electrical-panel-upgrade","whole-home-surge-protection","lighting-installation","generator-installation"],images:[{src:"work-residential-2.webp",alt:"Residential electrical work in Archer Heights, Chicago"},{src:"service-lighting.webp",alt:"Lighting installation in Archer Heights"}]},{slug:"gage-park",name:"Gage Park",shortDescription:"Expert electrical services for Gage Park's classic Chicago bungalows.",metaDescription:"Electrician for Gage Park in Chicago's bungalow belt. Solving circuit overloads, adding dedicated circuits, and modernizing electrical systems in classic 1920s-1940s brick homes. Call (872) 335-4677.",housingStock:"Classic Chicago bungalow belt - dense brick bungalows from the 1920s-1940s",commonIssues:["Overloaded circuits from modern device usage","Outdated wiring","Need for additional outlets and dedicated circuits"],landmarks:["Gage Park","California Avenue corridor"],driveTime:"About 6 minutes",zipCodes:["60629"],mapCenter:{lat:41.7953,lng:-87.6963},contentParagraphs:["Gage Park sits in the heart of Chicago's famed bungalow belt, and it shows. Block after block of handsome brick bungalows from the 1920s through 1940s make this one of the most architecturally consistent neighborhoods on the south side. These homes were built to last, and they have. But the electrical systems inside them were designed for a world where a family might own a radio, an iron, and a few lamps. Today's reality is dramatically different.","The most common issue we see in Gage Park homes is circuit overload. Families running multiple computers, large-screen televisions, gaming systems, kitchen appliances, and portable heaters on circuits rated for a fraction of that load experience frequent breaker trips, flickering lights, and outlets that feel warm to the touch. These are not just annoyances; they are warning signs. Our electricians add dedicated circuits for high-demand areas like kitchens, bathrooms, and home offices, relieving the strain on overworked original wiring.","The California Avenue corridor and the blocks surrounding Gage Park itself are home to families who take real pride in maintaining their properties. We see a growing trend of homeowners investing in smart home features, updated kitchen and bathroom outlets, and modern lighting to complement kitchen and bathroom renovations. Our approach in Gage Park is always to work with the existing home, upgrading the electrical system to meet modern needs without unnecessary demolition or disruption. We are about 6 minutes away and know these bungalows inside and out."],relevantServices:["residential-electrical-repair","electrical-panel-upgrade","lighting-installation","smart-home-integration"],images:[{src:"work-residential-1.webp",alt:"Residential electrical repair in Gage Park, Chicago"},{src:"service-panel-upgrade.webp",alt:"Electrical panel upgrade in Gage Park"}]},{slug:"west-elsdon",name:"West Elsdon",shortDescription:"Trusted electrical contractor for West Elsdon homes and families.",metaDescription:"Electrician just 4 minutes from West Elsdon, Chicago. Dedicated home office circuits, generator installation, and lighting upgrades for bungalows and Cape Cod homes near Midway. Call (872) 335-4677.",housingStock:"Brick bungalows and Cape Cod-style homes from the 1940s-1960s",commonIssues:["Lighting upgrades for aging fixtures","Adding circuits for home offices","Generator installation for weather outages"],landmarks:["Pulaski Road corridor","Midway Airport proximity"],driveTime:"About 4 minutes",zipCodes:["60638"],mapCenter:{lat:41.7983,lng:-87.7194},contentParagraphs:["West Elsdon is one of the closest neighborhoods to our Brighton Park shop, just about 4 minutes down the road. This well-kept residential area of brick bungalows and Cape Cod-style homes, mostly built in the 1940s through 1960s, has the feel of a place where families put down roots and stay. The homes are solid and well-maintained, but many are still running on electrical systems installed when they were built, and those systems are due for attention.","Since the shift to remote and hybrid work, we have seen a significant increase in requests from West Elsdon homeowners for dedicated home office circuits. Running a computer, monitor, printer, and desk lamp on a bedroom circuit shared with overhead lighting and other outlets is a recipe for tripped breakers and potential equipment damage. We install dedicated 20-amp circuits for home offices, ensuring reliable power for your work setup without affecting the rest of the home.","Generator installation is another popular service in West Elsdon. The neighborhood's proximity to Midway Airport means it sits in an area where ComEd infrastructure serves heavy commercial and residential loads simultaneously. When storms or grid issues cause outages, West Elsdon residents with standby generators enjoy uninterrupted power for essentials like the furnace, refrigerator, sump pump, and home office. We handle the full generator installation process, from sizing and permitting to the final commissioning test."],relevantServices:["lighting-installation","residential-electrical-repair","generator-installation","smart-home-integration"],images:[{src:"service-lighting.webp",alt:"Lighting installation in West Elsdon, Chicago"},{src:"work-residential-2.webp",alt:"Residential electrical work in West Elsdon"}]},{slug:"west-lawn",name:"West Lawn",shortDescription:"Professional electrical services for West Lawn homeowners.",metaDescription:"Electrician serving West Lawn, Chicago. Fuse box replacements, 200-amp panel upgrades, recessed lighting, and smart home installations for bungalow belt homeowners near 63rd Street. Call (872) 335-4677.",housingStock:"Residential bungalow neighborhood with homes from the 1920s-1950s",commonIssues:["Panel upgrades from original fuse boxes","Recessed lighting installations","Smart home upgrades"],landmarks:["Marquette Park area","63rd Street commercial corridor"],driveTime:"About 8 minutes",zipCodes:["60629"],mapCenter:{lat:41.7781,lng:-87.6963},contentParagraphs:["West Lawn shares the bungalow belt character of its neighboring communities, with residential blocks of brick homes built primarily in the 1920s through 1950s. Like much of the southwest side, the electrical infrastructure in these homes reflects their age. Original fuse boxes, limited circuit capacity, and wiring that predates modern safety standards are common findings when we work in West Lawn homes.","Panel upgrades are our most frequently requested service in West Lawn. Replacing an original fuse box with a modern 200-amp breaker panel is transformative for these homes. It eliminates the inconvenience and safety concerns of glass fuses, provides proper circuit protection, and gives homeowners the capacity to add modern conveniences like central air conditioning, EV chargers, and additional circuits for kitchens and bathrooms. For homes near the 63rd Street commercial corridor, where the neighborhood blends residential and small commercial properties, panel upgrades also support home-based business needs.","Recessed lighting and smart home upgrades are increasingly popular among West Lawn homeowners looking to modernize their spaces. Swapping out dated ceiling fixtures for clean recessed LED lighting opens up rooms and brings a contemporary feel to classic bungalow interiors. Adding smart thermostats, automated lighting controls, and video doorbells rounds out a modern upgrade package that improves comfort, security, and energy efficiency. We are about 8 minutes from West Lawn and serve the area regularly."],relevantServices:["electrical-panel-upgrade","lighting-installation","smart-home-integration","residential-electrical-repair"],images:[{src:"work-residential-1.webp",alt:"Residential electrical work in West Lawn, Chicago"},{src:"service-panel-upgrade.webp",alt:"Panel upgrade service in West Lawn"}]},{slug:"chicago-lawn",name:"Chicago Lawn",shortDescription:"Serving Chicago Lawn and Marquette Park with expert electrical services.",metaDescription:"Electrician for Chicago Lawn and the Marquette Park area. Multi-unit electrical upgrades, security lighting, and code compliance work for residential and commercial properties. Call (872) 335-4677.",housingStock:"Mix of bungalows, two-flats, and larger multi-unit buildings",commonIssues:["Multi-unit electrical upgrades","Outdoor security lighting","Rewiring for code compliance"],landmarks:["Marquette Park","Western Avenue corridor"],driveTime:"About 10 minutes",zipCodes:["60629"],mapCenter:{lat:41.7719,lng:-87.6937},contentParagraphs:["Chicago Lawn, also known locally as the Marquette Park area, presents a mix of residential property types that keep our electricians versatile. Alongside the classic bungalows found throughout the southwest side, Chicago Lawn has a significant number of two-flats and larger multi-unit buildings. These multi-unit properties bring electrical challenges that go beyond standard single-family residential work, and our team has deep experience handling them.","Multi-unit electrical upgrades are a specialty in this neighborhood. Common projects include separating shared electrical services into individually metered units, upgrading panels in buildings where each unit has its own outdated 60-amp or 100-amp panel, and bringing common-area wiring up to current code for hallways, stairwells, and exterior lighting. Property owners preparing units for rental or sale often need code compliance work completed before city inspection, and we handle these projects regularly.","Outdoor security lighting is another high-demand service along the Western Avenue corridor and surrounding residential blocks. Well-placed motion-sensor lights, dusk-to-dawn fixtures, and properly illuminated parking areas and gangways provide meaningful security improvements for both residential and small commercial properties. Marquette Park itself anchors a community that values safety and property maintenance, and proper exterior lighting is an affordable way to enhance both. We are about 10 minutes from Chicago Lawn and respond promptly to service requests from this area."],relevantServices:["residential-electrical-repair","electrical-panel-upgrade","lighting-installation","commercial-electrical"],images:[{src:"work-commercial-1.webp",alt:"Commercial electrical work in Chicago Lawn"},{src:"work-residential-2.webp",alt:"Residential electrical service in Chicago Lawn"},{src:"service-lighting.webp",alt:"Lighting installation in Chicago Lawn, Marquette Park area"}]},{slug:"garfield-ridge",name:"Garfield Ridge",shortDescription:"Reliable electrical services for Garfield Ridge families near Midway Airport.",metaDescription:"Electrician near Garfield Ridge, Chicago. Panel upgrades, whole-home surge protection, and generator installation for ranch homes and split-levels near Midway Airport. Call (872) 335-4677.",housingStock:"Ranch homes, split-levels, and bungalows from the 1950s-1970s",commonIssues:["Updating original 1960s panels","Whole-home surge protection","Generator installation for backup power"],landmarks:["Midway Airport","Cicero Avenue corridor"],driveTime:"About 6 minutes",zipCodes:["60638"],mapCenter:{lat:41.7917,lng:-87.7644},contentParagraphs:["Garfield Ridge has a slightly different character than many south side neighborhoods. Located near Midway Airport, the housing stock here is newer on average, with ranch homes, split-levels, and bungalows predominantly built in the 1950s through 1970s. These homes generally have more modern foundations than the pre-war bungalows found closer to the city center, but their electrical systems are still 50 to 70 years old and increasingly showing their age.","The original electrical panels in Garfield Ridge homes were typically 100-amp installations adequate for the appliance loads of the 1960s. Today, with central air conditioning, multiple televisions, home office equipment, kitchen appliances, and the growing desire for EV chargers, these panels are running at or near capacity. Upgrading to a 200-amp panel is the single most impactful electrical improvement for most Garfield Ridge homes, and it is a project we complete frequently in this neighborhood.","Garfield Ridge's proximity to Midway Airport and the ComEd substations that serve the airport and surrounding commercial areas can contribute to power quality issues including voltage fluctuations and brief power interruptions. Whole-home surge protection and standby generator installation are particularly popular services here. Surge protection guards your electronics and HVAC equipment against damaging voltage spikes, while a generator ensures your family stays comfortable and safe during extended outages. We are about 6 minutes from Garfield Ridge along Cicero Avenue."],relevantServices:["electrical-panel-upgrade","whole-home-surge-protection","generator-installation","lighting-installation"],images:[{src:"service-panel-upgrade.webp",alt:"Electrical panel upgrade in Garfield Ridge, Chicago"},{src:"work-residential-1.webp",alt:"Residential electrical work in Garfield Ridge"}]},{slug:"little-village",name:"Little Village",shortDescription:"Commercial and residential electrical services for Little Village businesses and homes.",metaDescription:"Electrician for Little Village, Chicago. Commercial wiring for 26th Street businesses and residential rewiring for homes and multi-unit buildings throughout South Lawndale. Call (872) 335-4677.",housingStock:"Bungalows, two-flats, multi-unit buildings, and vibrant commercial storefronts",commonIssues:["Commercial electrical for 26th Street businesses","Residential rewiring in older homes","Panel upgrades for multi-unit conversions"],landmarks:["26th Street shopping district","Little Village Arch","Second-busiest shopping street in Chicago"],driveTime:"About 8 minutes",zipCodes:["60623"],mapCenter:{lat:41.8456,lng:-87.7112},contentParagraphs:["Little Village, also known as South Lawndale, is unique among the neighborhoods we serve because of its thriving commercial district. 26th Street is the second-busiest shopping street in Chicago, and the businesses lining this corridor, from restaurants and clothing stores to groceries and professional offices, all need reliable commercial electrical service. MidWest has been providing commercial electrical work for Little Village businesses since our founding, handling everything from storefront signage circuits to full buildout wiring for new retail spaces.","The residential side of Little Village features a mix of bungalows, two-flats, and multi-unit buildings, many dating to the early and mid-1900s. A common project we handle here involves buildings that have been converted from single-family homes to multi-unit rentals over the decades. These conversions often result in electrical systems that are overtaxed and non-compliant with current code. We upgrade panels, separate metering for individual units, and bring wiring up to code so that landlords and property owners can meet city inspection requirements and keep tenants safe.","The Little Village Arch at the entrance to 26th Street marks the gateway to one of Chicago's most energetic commercial corridors. The electrical needs here reflect that energy: bright display lighting, commercial signage, kitchen equipment circuits for the many restaurants, and reliable power for businesses that operate long hours. Our commercial electrical team understands the specific demands of retail and food service environments, and we work around business hours to minimize disruption. We are about 8 minutes from Little Village and serve both the commercial strip and surrounding residential blocks."],relevantServices:["commercial-electrical","residential-electrical-repair","electrical-panel-upgrade","lighting-installation"],images:[{src:"work-commercial-1.webp",alt:"Commercial electrical work on 26th Street, Little Village"},{src:"work-residential-1.webp",alt:"Residential electrical repair in Little Village, Chicago"},{src:"service-lighting.webp",alt:"Lighting installation in Little Village"}]}];function Hg(){const[e,t]=y.useState(!1),[n,r]=y.useState(!1),[i,o]=y.useState(!1),[l,a]=y.useState(!1),[s,u]=y.useState(!1),[f,d]=y.useState(!1),m=Ye(),v=y.useRef(null),k=y.useRef(null);y.useEffect(()=>{const S=()=>r(window.scrollY>40);return window.addEventListener("scroll",S),()=>window.removeEventListener("scroll",S)},[]),y.useEffect(()=>{t(!1),o(!1),a(!1),u(!1),d(!1)},[m.pathname]),y.useEffect(()=>(e?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[e]);const w=()=>t(!1),C=S=>m.pathname===S,h=S=>m.pathname.startsWith(S),c=()=>{clearTimeout(v.current),o(!0)},p=()=>{v.current=setTimeout(()=>o(!1),150)},x=()=>{clearTimeout(k.current),a(!0)},P=()=>{k.current=setTimeout(()=>a(!1),150)};return g.jsxs("header",{className:`fixed top-0 left-0 right-0 z-50 transition-shadow duration-300 ${n?"shadow-lg":""}`,children:[g.jsx("div",{className:`bg-navy-950 text-gray-300 text-xs sm:text-sm transition-all duration-300 ${n?"max-h-0 overflow-hidden py-0":"max-h-12 py-2"}`,children:g.jsxs("div",{className:"container-main flex items-center justify-between",children:[g.jsxs("div",{className:"flex items-center gap-4",children:[g.jsxs("a",{href:ve.phoneHref,className:"flex items-center gap-1.5 hover:text-amber-400 font-medium",children:[g.jsx(pi,{className:"w-3.5 h-3.5"}),ve.phone]}),g.jsx("span",{className:"hidden sm:inline text-gray-500",children:"|"}),g.jsx("span",{className:"hidden sm:inline text-amber-400 font-medium",children:"24/7 Emergency Service"})]}),g.jsx("span",{className:"hidden md:inline",children:"Serving Chicago's South & Southwest Side"})]})}),g.jsx("nav",{className:`bg-navy-900 transition-all duration-300 ${n?"py-2":"py-3"}`,children:g.jsxs("div",{className:"container-main flex items-center justify-between",children:[g.jsxs(K,{to:"/",className:"flex items-center gap-3 shrink-0",children:[g.jsx("img",{src:"/images/logo.webp",alt:"MidWest Electrical Services logo",width:"44",height:"44",className:`transition-all duration-300 ${n?"w-9 h-9":"w-11 h-11"}`}),g.jsxs("div",{className:"hidden sm:block",children:[g.jsx("span",{className:"text-white font-bold text-lg leading-tight block",children:"MidWest Electrical Services"}),g.jsx("span",{className:"text-gray-400 text-xs leading-tight block",children:"Licensed Chicago Electricians"})]})]}),g.jsxs("div",{className:"hidden lg:flex items-center gap-1",children:[g.jsx(Xr,{to:"/",active:C("/"),children:"Home"}),g.jsxs("div",{className:"relative",onMouseEnter:c,onMouseLeave:p,children:[g.jsxs("button",{className:`flex items-center gap-1 px-3 py-2 rounded-lg text-sm font-medium transition-colors ${h("/services")?"text-amber-400":"text-gray-300 hover:text-white"}`,children:["Services ",g.jsx(Gr,{className:`w-4 h-4 transition-transform ${i?"rotate-180":""}`})]}),i&&g.jsxs("div",{className:"absolute top-full left-0 w-72 bg-navy-900 border border-navy-700 rounded-xl shadow-2xl py-2 mt-1",children:[g.jsx(K,{to:"/services",className:"block px-4 py-2.5 text-sm font-semibold text-amber-400 hover:bg-navy-800 border-b border-navy-700",children:"All Services"}),$l.map(S=>g.jsx(K,{to:`/services/${S.slug}`,className:"block px-4 py-2 text-sm text-gray-300 hover:text-white hover:bg-navy-800",children:S.name},S.slug))]})]}),g.jsxs("div",{className:"relative",onMouseEnter:x,onMouseLeave:P,children:[g.jsxs("button",{className:`flex items-center gap-1 px-3 py-2 rounded-lg text-sm font-medium transition-colors ${h("/areas")?"text-amber-400":"text-gray-300 hover:text-white"}`,children:["Service Areas ",g.jsx(Gr,{className:`w-4 h-4 transition-transform ${l?"rotate-180":""}`})]}),l&&g.jsxs("div",{className:"absolute top-full left-0 w-64 bg-navy-900 border border-navy-700 rounded-xl shadow-2xl py-2 mt-1",children:[g.jsx(K,{to:"/areas",className:"block px-4 py-2.5 text-sm font-semibold text-amber-400 hover:bg-navy-800 border-b border-navy-700",children:"All Service Areas"}),Fl.map(S=>g.jsx(K,{to:`/areas/${S.slug}`,className:"block px-4 py-2 text-sm text-gray-300 hover:text-white hover:bg-navy-800",children:S.name},S.slug))]})]}),g.jsx(Xr,{to:"/about",active:C("/about"),children:"About"}),g.jsx(Xr,{to:"/why-choose-us",active:C("/why-choose-us"),children:"Why Us"}),g.jsx(Xr,{to:"/contact",active:C("/contact"),children:"Contact"})]}),g.jsxs("div",{className:"flex items-center gap-3",children:[g.jsx("a",{href:ve.phoneHref,className:"lg:hidden flex items-center justify-center w-11 h-11 rounded-full bg-amber-500 text-navy-900","aria-label":"Call us",children:g.jsx(pi,{className:"w-5 h-5"})}),g.jsx(K,{to:"/contact",className:"hidden lg:inline-flex btn-primary !py-2.5 !px-5 !text-sm",children:"Free Estimate"}),g.jsx("button",{onClick:()=>t(S=>!S),className:"lg:hidden flex items-center justify-center w-11 h-11 text-white","aria-label":e?"Close menu":"Open menu",children:e?g.jsx(fu,{className:"w-6 h-6"}):g.jsx(Fg,{className:"w-6 h-6"})})]})]})}),e&&g.jsxs(g.Fragment,{children:[g.jsx("div",{className:"fixed inset-0 bg-black/50 z-40 lg:hidden",onClick:w,"aria-hidden":"true"}),g.jsxs("div",{className:"fixed inset-y-0 right-0 w-[85%] max-w-sm bg-navy-900 z-50 lg:hidden overflow-y-auto shadow-2xl",children:[g.jsxs("div",{className:"flex items-center justify-between p-4 border-b border-navy-700",children:[g.jsxs(K,{to:"/",onClick:w,className:"flex items-center gap-2",children:[g.jsx("img",{src:"/images/logo.webp",alt:"MidWest Electrical Services",width:"36",height:"36",className:"w-9 h-9"}),g.jsx("span",{className:"text-white font-bold text-base",children:"MidWest Electrical Services"})]}),g.jsx("button",{onClick:w,className:"flex items-center justify-center w-10 h-10 text-gray-300 hover:text-white","aria-label":"Close menu",children:g.jsx(fu,{className:"w-6 h-6"})})]}),g.jsxs("div",{className:"p-4 space-y-1",children:[g.jsx(dt,{to:"/",active:C("/"),onClick:w,children:"Home"}),g.jsxs("div",{children:[g.jsxs("button",{onClick:()=>u(S=>!S),className:`flex items-center justify-between w-full px-4 py-3 rounded-lg text-base font-medium transition-colors ${h("/services")?"text-amber-400 bg-navy-800":"text-gray-200 hover:bg-navy-800"}`,children:["Services ",g.jsx(Gr,{className:`w-5 h-5 transition-transform ${s?"rotate-180":""}`})]}),s&&g.jsxs("div",{className:"ml-4 space-y-0.5 mt-1 mb-2",children:[g.jsx(dt,{to:"/services",active:C("/services"),onClick:w,children:"All Services"}),$l.map(S=>g.jsx(dt,{to:`/services/${S.slug}`,active:C(`/services/${S.slug}`),onClick:w,children:S.name},S.slug))]})]}),g.jsxs("div",{children:[g.jsxs("button",{onClick:()=>d(S=>!S),className:`flex items-center justify-between w-full px-4 py-3 rounded-lg text-base font-medium transition-colors ${h("/areas")?"text-amber-400 bg-navy-800":"text-gray-200 hover:bg-navy-800"}`,children:["Service Areas ",g.jsx(Gr,{className:`w-5 h-5 transition-transform ${f?"rotate-180":""}`})]}),f&&g.jsxs("div",{className:"ml-4 space-y-0.5 mt-1 mb-2",children:[g.jsx(dt,{to:"/areas",active:C("/areas"),onClick:w,children:"All Service Areas"}),Fl.map(S=>g.jsx(dt,{to:`/areas/${S.slug}`,active:C(`/areas/${S.slug}`),onClick:w,children:S.name},S.slug))]})]}),g.jsx(dt,{to:"/about",active:C("/about"),onClick:w,children:"About"}),g.jsx(dt,{to:"/why-choose-us",active:C("/why-choose-us"),onClick:w,children:"Why Us"}),g.jsx(dt,{to:"/contact",active:C("/contact"),onClick:w,children:"Contact"}),g.jsxs("div",{className:"pt-4 border-t border-navy-700 mt-4 space-y-3",children:[g.jsx(K,{to:"/contact",onClick:w,className:"btn-primary w-full text-center block",children:"Get a Free Estimate"}),g.jsxs("a",{href:ve.phoneHref,className:"flex items-center justify-center gap-2 text-amber-400 font-semibold text-lg py-2",children:[g.jsx(pi,{className:"w-5 h-5"}),ve.phone]})]})]})]})]})]})}function Xr({to:e,active:t,children:n}){return g.jsx(K,{to:e,className:`px-3 py-2 rounded-lg text-sm font-medium transition-colors ${t?"text-amber-400":"text-gray-300 hover:text-white"}`,children:n})}function dt({to:e,active:t,onClick:n,children:r}){return g.jsx(K,{to:e,onClick:n,className:`block px-4 py-3 rounded-lg text-base font-medium transition-colors ${t?"text-amber-400 bg-navy-800":"text-gray-200 hover:bg-navy-800"}`,children:r})}function Ug(){return g.jsxs("footer",{className:"bg-navy-950 text-gray-300",children:[g.jsx("div",{className:"container-main py-12 sm:py-16",children:g.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-10 lg:gap-8",children:[g.jsxs("div",{children:[g.jsxs(K,{to:"/",className:"flex items-center gap-3 mb-5",children:[g.jsx("img",{src:"/images/logo.webp",alt:"MidWest Electrical Services logo",width:"40",height:"40",className:"w-10 h-10",loading:"lazy"}),g.jsx("span",{className:"text-white font-bold text-lg",children:"MidWest Electrical Services"})]}),g.jsxs("ul",{className:"space-y-3 text-sm",children:[g.jsx("li",{children:g.jsxs("a",{href:ve.phoneHref,className:"flex items-center gap-2.5 hover:text-amber-400",children:[g.jsx(pi,{className:"w-4 h-4 text-amber-500 shrink-0"}),ve.phone]})}),g.jsx("li",{children:g.jsxs("a",{href:`mailto:${ve.email}`,className:"flex items-center gap-2.5 hover:text-amber-400",children:[g.jsx(Wg,{className:"w-4 h-4 text-amber-500 shrink-0"}),ve.email]})}),g.jsxs("li",{className:"flex items-start gap-2.5",children:[g.jsx($g,{className:"w-4 h-4 text-amber-500 shrink-0 mt-0.5"}),ve.address.full]}),g.jsxs("li",{className:"flex items-center gap-2.5",children:[g.jsx(Dg,{className:"w-4 h-4 text-amber-500 shrink-0"}),ve.hours]})]})]}),g.jsxs("div",{children:[g.jsx("h3",{className:"text-white font-semibold text-sm uppercase tracking-wider mb-4",children:"Our Services"}),g.jsx("ul",{className:"space-y-2 text-sm",children:$l.map(e=>g.jsx("li",{children:g.jsx(K,{to:`/services/${e.slug}`,className:"hover:text-amber-400 transition-colors",children:e.name})},e.slug))})]}),g.jsxs("div",{children:[g.jsx("h3",{className:"text-white font-semibold text-sm uppercase tracking-wider mb-4",children:"Service Areas"}),g.jsx("ul",{className:"space-y-2 text-sm",children:Fl.map(e=>g.jsx("li",{children:g.jsx(K,{to:`/areas/${e.slug}`,className:"hover:text-amber-400 transition-colors",children:e.name})},e.slug))})]}),g.jsxs("div",{children:[g.jsx("h3",{className:"text-white font-semibold text-sm uppercase tracking-wider mb-4",children:"Quick Links"}),g.jsxs("ul",{className:"space-y-2 text-sm",children:[g.jsx("li",{children:g.jsx(K,{to:"/",className:"hover:text-amber-400",children:"Home"})}),g.jsx("li",{children:g.jsx(K,{to:"/about",className:"hover:text-amber-400",children:"About Us"})}),g.jsx("li",{children:g.jsx(K,{to:"/why-choose-us",className:"hover:text-amber-400",children:"Why Choose Us"})}),g.jsx("li",{children:g.jsx(K,{to:"/contact",className:"hover:text-amber-400",children:"Contact"})}),g.jsx("li",{children:g.jsx(K,{to:"/contact",className:"hover:text-amber-400",children:"Free Estimate"})}),g.jsx("li",{children:g.jsx("a",{href:ve.yelp,target:"_blank",rel:"noopener noreferrer",className:"hover:text-amber-400",children:"Yelp Reviews"})})]})]})]})}),g.jsx("div",{className:"border-t border-navy-800",children:g.jsxs("div",{className:"container-main py-5 flex flex-col sm:flex-row items-center justify-between gap-2 text-xs text-gray-500",children:[g.jsxs("span",{children:["© ",new Date().getFullYear()," ",ve.companyName,". All Rights Reserved."]}),g.jsxs("div",{className:"flex items-center gap-3",children:[g.jsx("span",{children:"Licensed & Insured"}),g.jsx("span",{className:"text-navy-700",children:"|"}),g.jsx("span",{children:"Chicago, IL"})]})]})})]})}function Bg(){const{pathname:e}=Ye();return y.useEffect(()=>{window.scrollTo(0,0)},[e]),g.jsxs("div",{className:"flex flex-col min-h-screen",children:[g.jsx(Hg,{}),g.jsx("main",{className:"flex-1 pt-[108px] sm:pt-[116px]",children:g.jsx(Em,{})}),g.jsx(Ug,{})]})}const Vg=y.lazy(()=>ut(()=>import("./Home-DhyX6c0l.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11]))),qg=y.lazy(()=>ut(()=>import("./Services-DRLLH27F.js"),__vite__mapDeps([12,13,14,1,2,5,6,3,7,9]))),Qg=y.lazy(()=>ut(()=>import("./ServiceDetail-BazadGcj.js"),__vite__mapDeps([15,6,3,13,14,1,2,9,7,16]))),Kg=y.lazy(()=>ut(()=>import("./About-Dprx_RdY.js"),__vite__mapDeps([17,13,14,1,2,9,7,3,11]))),Yg=y.lazy(()=>ut(()=>import("./WhyChooseUs-_xGIP7Pa.js"),__vite__mapDeps([18,13,14,1,2,9,7,16,3,11,4]))),Gg=y.lazy(()=>ut(()=>import("./Contact-B5339h2h.js"),__vite__mapDeps([19,13,14,1,2,16,20]))),Xg=y.lazy(()=>ut(()=>import("./Areas-BvWu_qhb.js"),__vite__mapDeps([21,13,14,1,2,8,7,20,9]))),Zg=y.lazy(()=>ut(()=>import("./AreaDetail-BQRjyMQJ.js"),__vite__mapDeps([22,6,3,13,14,1,2,20,9,7,10,16]))),Jg=y.lazy(()=>ut(()=>import("./NotFound-_dCTrEuE.js"),__vite__mapDeps([23,1,14,7])));function ey(){return g.jsx("div",{className:"min-h-[60vh] flex items-center justify-center",children:g.jsx("div",{className:"w-8 h-8 border-4 border-electric-200 border-t-electric-500 rounded-full animate-spin"})})}function ty(){return g.jsx(y.Suspense,{fallback:g.jsx(ey,{}),children:g.jsx(Tm,{children:g.jsxs(Me,{element:g.jsx(Bg,{}),children:[g.jsx(Me,{path:"/",element:g.jsx(Vg,{})}),g.jsx(Me,{path:"/services",element:g.jsx(qg,{})}),g.jsx(Me,{path:"/services/:serviceSlug",element:g.jsx(Qg,{})}),g.jsx(Me,{path:"/about",element:g.jsx(Kg,{})}),g.jsx(Me,{path:"/why-choose-us",element:g.jsx(Yg,{})}),g.jsx(Me,{path:"/contact",element:g.jsx(Gg,{})}),g.jsx(Me,{path:"/areas",element:g.jsx(Xg,{})}),g.jsx(Me,{path:"/areas/:neighborhoodSlug",element:g.jsx(Zg,{})}),g.jsx(Me,{path:"*",element:g.jsx(Jg,{})})]})})})}Pd(document.getElementById("root")).render(g.jsx(y.StrictMode,{children:g.jsx(Gd,{children:g.jsx(Gm,{children:g.jsx(ty,{})})})}));export{Dg as C,oy as H,K as L,$g as M,iy as N,pi as P,$l as a,Wg as b,Yt as c,g as j,Fl as n,y as r,ve as s,ry as u};