(function(Nr,Bn){typeof exports=="object"&&typeof module<"u"?module.exports=Bn():typeof define=="function"&&define.amd?define(Bn):(Nr=typeof globalThis<"u"?globalThis:Nr||self,Nr.ReactGallery=Bn())})(this,function(){"use strict";function Nr(r,i){for(var s=0;s<i.length;s++){const u=i[s];if(typeof u!="string"&&!Array.isArray(u)){for(const c in u)if(c!=="default"&&!(c in r)){const f=Object.getOwnPropertyDescriptor(u,c);f&&Object.defineProperty(r,c,f.get?f:{enumerable:!0,get:()=>u[c]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}function Bn(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var Ga={exports:{}},Rr={},Qa={exports:{}},me={};/** * @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 Ya;function pp(){if(Ya)return me;Ya=1;var r=Symbol.for("react.element"),i=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),f=Symbol.for("react.provider"),p=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),E=Symbol.for("react.memo"),N=Symbol.for("react.lazy"),C=Symbol.iterator;function T(S){return S===null||typeof S!="object"?null:(S=C&&S[C]||S["@@iterator"],typeof S=="function"?S:null)}var $={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},R=Object.assign,O={};function D(S,A,fe){this.props=S,this.context=A,this.refs=O,this.updater=fe||$}D.prototype.isReactComponent={},D.prototype.setState=function(S,A){if(typeof S!="object"&&typeof S!="function"&&S!=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,S,A,"setState")},D.prototype.forceUpdate=function(S){this.updater.enqueueForceUpdate(this,S,"forceUpdate")};function V(){}V.prototype=D.prototype;function J(S,A,fe){this.props=S,this.context=A,this.refs=O,this.updater=fe||$}var M=J.prototype=new V;M.constructor=J,R(M,D.prototype),M.isPureReactComponent=!0;var F=Array.isArray,H=Object.prototype.hasOwnProperty,K={current:null},b={key:!0,ref:!0,__self:!0,__source:!0};function de(S,A,fe){var ue,he={},ye=null,Ce=null;if(A!=null)for(ue in A.ref!==void 0&&(Ce=A.ref),A.key!==void 0&&(ye=""+A.key),A)H.call(A,ue)&&!b.hasOwnProperty(ue)&&(he[ue]=A[ue]);var xe=arguments.length-2;if(xe===1)he.children=fe;else if(1<xe){for(var Pe=Array(xe),Je=0;Je<xe;Je++)Pe[Je]=arguments[Je+2];he.children=Pe}if(S&&S.defaultProps)for(ue in xe=S.defaultProps,xe)he[ue]===void 0&&(he[ue]=xe[ue]);return{$$typeof:r,type:S,key:ye,ref:Ce,props:he,_owner:K.current}}function pe(S,A){return{$$typeof:r,type:S.type,key:A,ref:S.ref,props:S.props,_owner:S._owner}}function m(S){return typeof S=="object"&&S!==null&&S.$$typeof===r}function W(S){var A={"=":"=0",":":"=2"};return"$"+S.replace(/[=:]/g,function(fe){return A[fe]})}var ee=/\/+/g;function ae(S,A){return typeof S=="object"&&S!==null&&S.key!=null?W(""+S.key):A.toString(36)}function le(S,A,fe,ue,he){var ye=typeof S;(ye==="undefined"||ye==="boolean")&&(S=null);var Ce=!1;if(S===null)Ce=!0;else switch(ye){case"string":case"number":Ce=!0;break;case"object":switch(S.$$typeof){case r:case i:Ce=!0}}if(Ce)return Ce=S,he=he(Ce),S=ue===""?"."+ae(Ce,0):ue,F(he)?(fe="",S!=null&&(fe=S.replace(ee,"$&/")+"/"),le(he,A,fe,"",function(Je){return Je})):he!=null&&(m(he)&&(he=pe(he,fe+(!he.key||Ce&&Ce.key===he.key?"":(""+he.key).replace(ee,"$&/")+"/")+S)),A.push(he)),1;if(Ce=0,ue=ue===""?".":ue+":",F(S))for(var xe=0;xe<S.length;xe++){ye=S[xe];var Pe=ue+ae(ye,xe);Ce+=le(ye,A,fe,Pe,he)}else if(Pe=T(S),typeof Pe=="function")for(S=Pe.call(S),xe=0;!(ye=S.next()).done;)ye=ye.value,Pe=ue+ae(ye,xe++),Ce+=le(ye,A,fe,Pe,he);else if(ye==="object")throw A=String(S),Error("Objects are not valid as a React child (found: "+(A==="[object Object]"?"object with keys {"+Object.keys(S).join(", ")+"}":A)+"). If you meant to render a collection of children, use an array instead.");return Ce}function te(S,A,fe){if(S==null)return S;var ue=[],he=0;return le(S,ue,"","",function(ye){return A.call(fe,ye,he++)}),ue}function se(S){if(S._status===-1){var A=S._result;A=A(),A.then(function(fe){(S._status===0||S._status===-1)&&(S._status=1,S._result=fe)},function(fe){(S._status===0||S._status===-1)&&(S._status=2,S._result=fe)}),S._status===-1&&(S._status=0,S._result=A)}if(S._status===1)return S._result.default;throw S._result}var ge={current:null},B={transition:null},oe={ReactCurrentDispatcher:ge,ReactCurrentBatchConfig:B,ReactCurrentOwner:K};function Q(){throw Error("act(...) is not supported in production builds of React.")}return me.Children={map:te,forEach:function(S,A,fe){te(S,function(){A.apply(this,arguments)},fe)},count:function(S){var A=0;return te(S,function(){A++}),A},toArray:function(S){return te(S,function(A){return A})||[]},only:function(S){if(!m(S))throw Error("React.Children.only expected to receive a single React element child.");return S}},me.Component=D,me.Fragment=s,me.Profiler=c,me.PureComponent=J,me.StrictMode=u,me.Suspense=v,me.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=oe,me.act=Q,me.cloneElement=function(S,A,fe){if(S==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+S+".");var ue=R({},S.props),he=S.key,ye=S.ref,Ce=S._owner;if(A!=null){if(A.ref!==void 0&&(ye=A.ref,Ce=K.current),A.key!==void 0&&(he=""+A.key),S.type&&S.type.defaultProps)var xe=S.type.defaultProps;for(Pe in A)H.call(A,Pe)&&!b.hasOwnProperty(Pe)&&(ue[Pe]=A[Pe]===void 0&&xe!==void 0?xe[Pe]:A[Pe])}var Pe=arguments.length-2;if(Pe===1)ue.children=fe;else if(1<Pe){xe=Array(Pe);for(var Je=0;Je<Pe;Je++)xe[Je]=arguments[Je+2];ue.children=xe}return{$$typeof:r,type:S.type,key:he,ref:ye,props:ue,_owner:Ce}},me.createContext=function(S){return S={$$typeof:p,_currentValue:S,_currentValue2:S,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},S.Provider={$$typeof:f,_context:S},S.Consumer=S},me.createElement=de,me.createFactory=function(S){var A=de.bind(null,S);return A.type=S,A},me.createRef=function(){return{current:null}},me.forwardRef=function(S){return{$$typeof:h,render:S}},me.isValidElement=m,me.lazy=function(S){return{$$typeof:N,_payload:{_status:-1,_result:S},_init:se}},me.memo=function(S,A){return{$$typeof:E,type:S,compare:A===void 0?null:A}},me.startTransition=function(S){var A=B.transition;B.transition={};try{S()}finally{B.transition=A}},me.unstable_act=Q,me.useCallback=function(S,A){return ge.current.useCallback(S,A)},me.useContext=function(S){return ge.current.useContext(S)},me.useDebugValue=function(){},me.useDeferredValue=function(S){return ge.current.useDeferredValue(S)},me.useEffect=function(S,A){return ge.current.useEffect(S,A)},me.useId=function(){return ge.current.useId()},me.useImperativeHandle=function(S,A,fe){return ge.current.useImperativeHandle(S,A,fe)},me.useInsertionEffect=function(S,A){return ge.current.useInsertionEffect(S,A)},me.useLayoutEffect=function(S,A){return ge.current.useLayoutEffect(S,A)},me.useMemo=function(S,A){return ge.current.useMemo(S,A)},me.useReducer=function(S,A,fe){return ge.current.useReducer(S,A,fe)},me.useRef=function(S){return ge.current.useRef(S)},me.useState=function(S){return ge.current.useState(S)},me.useSyncExternalStore=function(S,A,fe){return ge.current.useSyncExternalStore(S,A,fe)},me.useTransition=function(){return ge.current.useTransition()},me.version="18.3.1",me}Qa.exports=pp();var U=Qa.exports;const Un=Bn(U),Xa=Nr({__proto__:null,default:Un},[U]);/** * @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 Za;function mp(){if(Za)return Rr;Za=1;var r=U,i=Symbol.for("react.element"),s=Symbol.for("react.fragment"),u=Object.prototype.hasOwnProperty,c=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,f={key:!0,ref:!0,__self:!0,__source:!0};function p(h,v,E){var N,C={},T=null,$=null;E!==void 0&&(T=""+E),v.key!==void 0&&(T=""+v.key),v.ref!==void 0&&($=v.ref);for(N in v)u.call(v,N)&&!f.hasOwnProperty(N)&&(C[N]=v[N]);if(h&&h.defaultProps)for(N in v=h.defaultProps,v)C[N]===void 0&&(C[N]=v[N]);return{$$typeof:i,type:h,key:T,ref:$,props:C,_owner:c.current}}return Rr.Fragment=s,Rr.jsx=p,Rr.jsxs=p,Rr}Ga.exports=mp();var ie=Ga.exports,ml={},Ja={exports:{}},it={},hl={exports:{}},gl={};/** * @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. */var qa;function hp(){return qa||(qa=1,function(r){function i(B,oe){var Q=B.length;B.push(oe);e:for(;0<Q;){var S=Q-1>>>1,A=B[S];if(0<c(A,oe))B[S]=oe,B[Q]=A,Q=S;else break e}}function s(B){return B.length===0?null:B[0]}function u(B){if(B.length===0)return null;var oe=B[0],Q=B.pop();if(Q!==oe){B[0]=Q;e:for(var S=0,A=B.length,fe=A>>>1;S<fe;){var ue=2*(S+1)-1,he=B[ue],ye=ue+1,Ce=B[ye];if(0>c(he,Q))ye<A&&0>c(Ce,he)?(B[S]=Ce,B[ye]=Q,S=ye):(B[S]=he,B[ue]=Q,S=ue);else if(ye<A&&0>c(Ce,Q))B[S]=Ce,B[ye]=Q,S=ye;else break e}}return oe}function c(B,oe){var Q=B.sortIndex-oe.sortIndex;return Q!==0?Q:B.id-oe.id}if(typeof performance=="object"&&typeof performance.now=="function"){var f=performance;r.unstable_now=function(){return f.now()}}else{var p=Date,h=p.now();r.unstable_now=function(){return p.now()-h}}var v=[],E=[],N=1,C=null,T=3,$=!1,R=!1,O=!1,D=typeof setTimeout=="function"?setTimeout:null,V=typeof clearTimeout=="function"?clearTimeout:null,J=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function M(B){for(var oe=s(E);oe!==null;){if(oe.callback===null)u(E);else if(oe.startTime<=B)u(E),oe.sortIndex=oe.expirationTime,i(v,oe);else break;oe=s(E)}}function F(B){if(O=!1,M(B),!R)if(s(v)!==null)R=!0,se(H);else{var oe=s(E);oe!==null&&ge(F,oe.startTime-B)}}function H(B,oe){R=!1,O&&(O=!1,V(de),de=-1),$=!0;var Q=T;try{for(M(oe),C=s(v);C!==null&&(!(C.expirationTime>oe)||B&&!W());){var S=C.callback;if(typeof S=="function"){C.callback=null,T=C.priorityLevel;var A=S(C.expirationTime<=oe);oe=r.unstable_now(),typeof A=="function"?C.callback=A:C===s(v)&&u(v),M(oe)}else u(v);C=s(v)}if(C!==null)var fe=!0;else{var ue=s(E);ue!==null&&ge(F,ue.startTime-oe),fe=!1}return fe}finally{C=null,T=Q,$=!1}}var K=!1,b=null,de=-1,pe=5,m=-1;function W(){return!(r.unstable_now()-m<pe)}function ee(){if(b!==null){var B=r.unstable_now();m=B;var oe=!0;try{oe=b(!0,B)}finally{oe?ae():(K=!1,b=null)}}else K=!1}var ae;if(typeof J=="function")ae=function(){J(ee)};else if(typeof MessageChannel<"u"){var le=new MessageChannel,te=le.port2;le.port1.onmessage=ee,ae=function(){te.postMessage(null)}}else ae=function(){D(ee,0)};function se(B){b=B,K||(K=!0,ae())}function ge(B,oe){de=D(function(){B(r.unstable_now())},oe)}r.unstable_IdlePriority=5,r.unstable_ImmediatePriority=1,r.unstable_LowPriority=4,r.unstable_NormalPriority=3,r.unstable_Profiling=null,r.unstable_UserBlockingPriority=2,r.unstable_cancelCallback=function(B){B.callback=null},r.unstable_continueExecution=function(){R||$||(R=!0,se(H))},r.unstable_forceFrameRate=function(B){0>B||125<B?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):pe=0<B?Math.floor(1e3/B):5},r.unstable_getCurrentPriorityLevel=function(){return T},r.unstable_getFirstCallbackNode=function(){return s(v)},r.unstable_next=function(B){switch(T){case 1:case 2:case 3:var oe=3;break;default:oe=T}var Q=T;T=oe;try{return B()}finally{T=Q}},r.unstable_pauseExecution=function(){},r.unstable_requestPaint=function(){},r.unstable_runWithPriority=function(B,oe){switch(B){case 1:case 2:case 3:case 4:case 5:break;default:B=3}var Q=T;T=B;try{return oe()}finally{T=Q}},r.unstable_scheduleCallback=function(B,oe,Q){var S=r.unstable_now();switch(typeof Q=="object"&&Q!==null?(Q=Q.delay,Q=typeof Q=="number"&&0<Q?S+Q:S):Q=S,B){case 1:var A=-1;break;case 2:A=250;break;case 5:A=1073741823;break;case 4:A=1e4;break;default:A=5e3}return A=Q+A,B={id:N++,callback:oe,priorityLevel:B,startTime:Q,expirationTime:A,sortIndex:-1},Q>S?(B.sortIndex=Q,i(E,B),s(v)===null&&B===s(E)&&(O?(V(de),de=-1):O=!0,ge(F,Q-S))):(B.sortIndex=A,i(v,B),R||$||(R=!0,se(H))),B},r.unstable_shouldYield=W,r.unstable_wrapCallback=function(B){var oe=T;return function(){var Q=T;T=oe;try{return B.apply(this,arguments)}finally{T=Q}}}}(gl)),gl}var eu;function gp(){return eu||(eu=1,hl.exports=hp()),hl.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 tu;function yp(){if(tu)return it;tu=1;var r=U,i=gp();function s(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 u=new Set,c={};function f(e,t){p(e,t),p(e+"Capture",t)}function p(e,t){for(c[e]=t,e=0;e<t.length;e++)u.add(t[e])}var h=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),v=Object.prototype.hasOwnProperty,E=/^[: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]*$/,N={},C={};function T(e){return v.call(C,e)?!0:v.call(N,e)?!1:E.test(e)?C[e]=!0:(N[e]=!0,!1)}function $(e,t,n,o){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return o?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function R(e,t,n,o){if(t===null||typeof t>"u"||$(e,t,n,o))return!0;if(o)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 O(e,t,n,o,l,a,d){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=o,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=d}var D={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){D[e]=new O(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];D[t]=new O(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){D[e]=new O(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){D[e]=new O(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){D[e]=new O(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){D[e]=new O(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){D[e]=new O(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){D[e]=new O(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){D[e]=new O(e,5,!1,e.toLowerCase(),null,!1,!1)});var V=/[\-:]([a-z])/g;function J(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(V,J);D[t]=new O(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(V,J);D[t]=new O(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(V,J);D[t]=new O(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){D[e]=new O(e,1,!1,e.toLowerCase(),null,!1,!1)}),D.xlinkHref=new O("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){D[e]=new O(e,1,!1,e.toLowerCase(),null,!0,!0)});function M(e,t,n,o){var l=D.hasOwnProperty(t)?D[t]:null;(l!==null?l.type!==0:o||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(R(t,n,l,o)&&(n=null),o||l===null?T(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):l.mustUseProperty?e[l.propertyName]=n===null?l.type===3?!1:"":n:(t=l.attributeName,o=l.attributeNamespace,n===null?e.removeAttribute(t):(l=l.type,n=l===3||l===4&&n===!0?"":""+n,o?e.setAttributeNS(o,t,n):e.setAttribute(t,n))))}var F=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,H=Symbol.for("react.element"),K=Symbol.for("react.portal"),b=Symbol.for("react.fragment"),de=Symbol.for("react.strict_mode"),pe=Symbol.for("react.profiler"),m=Symbol.for("react.provider"),W=Symbol.for("react.context"),ee=Symbol.for("react.forward_ref"),ae=Symbol.for("react.suspense"),le=Symbol.for("react.suspense_list"),te=Symbol.for("react.memo"),se=Symbol.for("react.lazy"),ge=Symbol.for("react.offscreen"),B=Symbol.iterator;function oe(e){return e===null||typeof e!="object"?null:(e=B&&e[B]||e["@@iterator"],typeof e=="function"?e:null)}var Q=Object.assign,S;function A(e){if(S===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);S=t&&t[1]||""}return` `+S+e}var fe=!1;function ue(e,t){if(!e||fe)return"";fe=!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(_){var o=_}Reflect.construct(e,[],t)}else{try{t.call()}catch(_){o=_}e.call(t.prototype)}else{try{throw Error()}catch(_){o=_}e()}}catch(_){if(_&&o&&typeof _.stack=="string"){for(var l=_.stack.split(` `),a=o.stack.split(` `),d=l.length-1,g=a.length-1;1<=d&&0<=g&&l[d]!==a[g];)g--;for(;1<=d&&0<=g;d--,g--)if(l[d]!==a[g]){if(d!==1||g!==1)do if(d--,g--,0>g||l[d]!==a[g]){var y=` `+l[d].replace(" at new "," at ");return e.displayName&&y.includes("<anonymous>")&&(y=y.replace("<anonymous>",e.displayName)),y}while(1<=d&&0<=g);break}}}finally{fe=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?A(e):""}function he(e){switch(e.tag){case 5:return A(e.type);case 16:return A("Lazy");case 13:return A("Suspense");case 19:return A("SuspenseList");case 0:case 2:case 15:return e=ue(e.type,!1),e;case 11:return e=ue(e.type.render,!1),e;case 1:return e=ue(e.type,!0),e;default:return""}}function ye(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 b:return"Fragment";case K:return"Portal";case pe:return"Profiler";case de:return"StrictMode";case ae:return"Suspense";case le:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case W:return(e.displayName||"Context")+".Consumer";case m:return(e._context.displayName||"Context")+".Provider";case ee:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case te:return t=e.displayName||null,t!==null?t:ye(e.type)||"Memo";case se:t=e._payload,e=e._init;try{return ye(e(t))}catch{}}return null}function Ce(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 ye(t);case 8:return t===de?"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 xe(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Pe(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Je(e){var t=Pe(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),o=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(d){o=""+d,a.call(this,d)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return o},setValue:function(d){o=""+d},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function nr(e){e._valueTracker||(e._valueTracker=Je(e))}function jt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),o="";return e&&(o=Pe(e)?e.checked?"true":"false":e.value),e=o,e!==n?(t.setValue(e),!0):!1}function Qt(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 es(e,t){var n=t.checked;return Q({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function wc(e,t){var n=t.defaultValue==null?"":t.defaultValue,o=t.checked!=null?t.checked:t.defaultChecked;n=xe(t.value!=null?t.value:n),e._wrapperState={initialChecked:o,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Sc(e,t){t=t.checked,t!=null&&M(e,"checked",t,!1)}function ts(e,t){Sc(e,t);var n=xe(t.value),o=t.type;if(n!=null)o==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(o==="submit"||o==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?ns(e,t.type,n):t.hasOwnProperty("defaultValue")&&ns(e,t.type,xe(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function kc(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var o=t.type;if(!(o!=="submit"&&o!=="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 ns(e,t,n){(t!=="number"||Qt(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Gr=Array.isArray;function rr(e,t,n,o){if(e=e.options,t){t={};for(var l=0;l<n.length;l++)t["$"+n[l]]=!0;for(n=0;n<e.length;n++)l=t.hasOwnProperty("$"+e[n].value),e[n].selected!==l&&(e[n].selected=l),l&&o&&(e[n].defaultSelected=!0)}else{for(n=""+xe(n),t=null,l=0;l<e.length;l++){if(e[l].value===n){e[l].selected=!0,o&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function rs(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(s(91));return Q({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function xc(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(s(92));if(Gr(n)){if(1<n.length)throw Error(s(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:xe(n)}}function Ec(e,t){var n=xe(t.value),o=xe(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),o!=null&&(e.defaultValue=""+o)}function Cc(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function _c(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 os(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?_c(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var li,Tc=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,o,l){MSApp.execUnsafeLocalFunction(function(){return e(t,n,o,l)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(li=li||document.createElement("div"),li.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=li.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Qr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Yr={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},Ag=["Webkit","ms","Moz","O"];Object.keys(Yr).forEach(function(e){Ag.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Yr[t]=Yr[e]})});function Pc(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Yr.hasOwnProperty(e)&&Yr[e]?(""+t).trim():t+"px"}function Nc(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var o=n.indexOf("--")===0,l=Pc(n,t[n],o);n==="float"&&(n="cssFloat"),o?e.setProperty(n,l):e[n]=l}}var zg=Q({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 is(e,t){if(t){if(zg[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(s(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(s(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(s(61))}if(t.style!=null&&typeof t.style!="object")throw Error(s(62))}}function ls(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 ss=null;function as(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var us=null,or=null,ir=null;function Rc(e){if(e=vo(e)){if(typeof us!="function")throw Error(s(280));var t=e.stateNode;t&&(t=Ri(t),us(e.stateNode,e.type,t))}}function Oc(e){or?ir?ir.push(e):ir=[e]:or=e}function Ac(){if(or){var e=or,t=ir;if(ir=or=null,Rc(e),t)for(e=0;e<t.length;e++)Rc(t[e])}}function zc(e,t){return e(t)}function Ic(){}var cs=!1;function $c(e,t,n){if(cs)return e(t,n);cs=!0;try{return zc(e,t,n)}finally{cs=!1,(or!==null||ir!==null)&&(Ic(),Ac())}}function Xr(e,t){var n=e.stateNode;if(n===null)return null;var o=Ri(n);if(o===null)return null;n=o[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":(o=!o.disabled)||(e=e.type,o=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!o;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(s(231,t,typeof n));return n}var fs=!1;if(h)try{var Zr={};Object.defineProperty(Zr,"passive",{get:function(){fs=!0}}),window.addEventListener("test",Zr,Zr),window.removeEventListener("test",Zr,Zr)}catch{fs=!1}function Ig(e,t,n,o,l,a,d,g,y){var _=Array.prototype.slice.call(arguments,3);try{t.apply(n,_)}catch(I){this.onError(I)}}var Jr=!1,si=null,ai=!1,ds=null,$g={onError:function(e){Jr=!0,si=e}};function Lg(e,t,n,o,l,a,d,g,y){Jr=!1,si=null,Ig.apply($g,arguments)}function Mg(e,t,n,o,l,a,d,g,y){if(Lg.apply(this,arguments),Jr){if(Jr){var _=si;Jr=!1,si=null}else throw Error(s(198));ai||(ai=!0,ds=_)}}function Nn(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 Lc(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 Mc(e){if(Nn(e)!==e)throw Error(s(188))}function Dg(e){var t=e.alternate;if(!t){if(t=Nn(e),t===null)throw Error(s(188));return t!==e?null:e}for(var n=e,o=t;;){var l=n.return;if(l===null)break;var a=l.alternate;if(a===null){if(o=l.return,o!==null){n=o;continue}break}if(l.child===a.child){for(a=l.child;a;){if(a===n)return Mc(l),e;if(a===o)return Mc(l),t;a=a.sibling}throw Error(s(188))}if(n.return!==o.return)n=l,o=a;else{for(var d=!1,g=l.child;g;){if(g===n){d=!0,n=l,o=a;break}if(g===o){d=!0,o=l,n=a;break}g=g.sibling}if(!d){for(g=a.child;g;){if(g===n){d=!0,n=a,o=l;break}if(g===o){d=!0,o=a,n=l;break}g=g.sibling}if(!d)throw Error(s(189))}}if(n.alternate!==o)throw Error(s(190))}if(n.tag!==3)throw Error(s(188));return n.stateNode.current===n?e:t}function Dc(e){return e=Dg(e),e!==null?jc(e):null}function jc(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=jc(e);if(t!==null)return t;e=e.sibling}return null}var Fc=i.unstable_scheduleCallback,bc=i.unstable_cancelCallback,jg=i.unstable_shouldYield,Fg=i.unstable_requestPaint,Fe=i.unstable_now,bg=i.unstable_getCurrentPriorityLevel,ps=i.unstable_ImmediatePriority,Bc=i.unstable_UserBlockingPriority,ui=i.unstable_NormalPriority,Bg=i.unstable_LowPriority,Uc=i.unstable_IdlePriority,ci=null,Ft=null;function Ug(e){if(Ft&&typeof Ft.onCommitFiberRoot=="function")try{Ft.onCommitFiberRoot(ci,e,void 0,(e.current.flags&128)===128)}catch{}}var Pt=Math.clz32?Math.clz32:Hg,Wg=Math.log,Vg=Math.LN2;function Hg(e){return e>>>=0,e===0?32:31-(Wg(e)/Vg|0)|0}var fi=64,di=4194304;function qr(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 pi(e,t){var n=e.pendingLanes;if(n===0)return 0;var o=0,l=e.suspendedLanes,a=e.pingedLanes,d=n&268435455;if(d!==0){var g=d&~l;g!==0?o=qr(g):(a&=d,a!==0&&(o=qr(a)))}else d=n&~l,d!==0?o=qr(d):a!==0&&(o=qr(a));if(o===0)return 0;if(t!==0&&t!==o&&!(t&l)&&(l=o&-o,a=t&-t,l>=a||l===16&&(a&4194240)!==0))return t;if(o&4&&(o|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=o;0<t;)n=31-Pt(t),l=1<<n,o|=e[n],t&=~l;return o}function Kg(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 Gg(e,t){for(var n=e.suspendedLanes,o=e.pingedLanes,l=e.expirationTimes,a=e.pendingLanes;0<a;){var d=31-Pt(a),g=1<<d,y=l[d];y===-1?(!(g&n)||g&o)&&(l[d]=Kg(g,t)):y<=t&&(e.expiredLanes|=g),a&=~g}}function ms(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Wc(){var e=fi;return fi<<=1,!(fi&4194240)&&(fi=64),e}function hs(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function eo(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Pt(t),e[t]=n}function Qg(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 o=e.eventTimes;for(e=e.expirationTimes;0<n;){var l=31-Pt(n),a=1<<l;t[l]=0,o[l]=-1,e[l]=-1,n&=~a}}function gs(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var o=31-Pt(n),l=1<<o;l&t|e[o]&t&&(e[o]|=t),n&=~l}}var Ee=0;function Vc(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Hc,ys,Kc,Gc,Qc,vs=!1,mi=[],on=null,ln=null,sn=null,to=new Map,no=new Map,an=[],Yg="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 Yc(e,t){switch(e){case"focusin":case"focusout":on=null;break;case"dragenter":case"dragleave":ln=null;break;case"mouseover":case"mouseout":sn=null;break;case"pointerover":case"pointerout":to.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":no.delete(t.pointerId)}}function ro(e,t,n,o,l,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:o,nativeEvent:a,targetContainers:[l]},t!==null&&(t=vo(t),t!==null&&ys(t)),e):(e.eventSystemFlags|=o,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function Xg(e,t,n,o,l){switch(t){case"focusin":return on=ro(on,e,t,n,o,l),!0;case"dragenter":return ln=ro(ln,e,t,n,o,l),!0;case"mouseover":return sn=ro(sn,e,t,n,o,l),!0;case"pointerover":var a=l.pointerId;return to.set(a,ro(to.get(a)||null,e,t,n,o,l)),!0;case"gotpointercapture":return a=l.pointerId,no.set(a,ro(no.get(a)||null,e,t,n,o,l)),!0}return!1}function Xc(e){var t=Rn(e.target);if(t!==null){var n=Nn(t);if(n!==null){if(t=n.tag,t===13){if(t=Lc(n),t!==null){e.blockedOn=t,Qc(e.priority,function(){Kc(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 hi(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Ss(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var o=new n.constructor(n.type,n);ss=o,n.target.dispatchEvent(o),ss=null}else return t=vo(n),t!==null&&ys(t),e.blockedOn=n,!1;t.shift()}return!0}function Zc(e,t,n){hi(e)&&n.delete(t)}function Zg(){vs=!1,on!==null&&hi(on)&&(on=null),ln!==null&&hi(ln)&&(ln=null),sn!==null&&hi(sn)&&(sn=null),to.forEach(Zc),no.forEach(Zc)}function oo(e,t){e.blockedOn===t&&(e.blockedOn=null,vs||(vs=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Zg)))}function io(e){function t(l){return oo(l,e)}if(0<mi.length){oo(mi[0],e);for(var n=1;n<mi.length;n++){var o=mi[n];o.blockedOn===e&&(o.blockedOn=null)}}for(on!==null&&oo(on,e),ln!==null&&oo(ln,e),sn!==null&&oo(sn,e),to.forEach(t),no.forEach(t),n=0;n<an.length;n++)o=an[n],o.blockedOn===e&&(o.blockedOn=null);for(;0<an.length&&(n=an[0],n.blockedOn===null);)Xc(n),n.blockedOn===null&&an.shift()}var lr=F.ReactCurrentBatchConfig,gi=!0;function Jg(e,t,n,o){var l=Ee,a=lr.transition;lr.transition=null;try{Ee=1,ws(e,t,n,o)}finally{Ee=l,lr.transition=a}}function qg(e,t,n,o){var l=Ee,a=lr.transition;lr.transition=null;try{Ee=4,ws(e,t,n,o)}finally{Ee=l,lr.transition=a}}function ws(e,t,n,o){if(gi){var l=Ss(e,t,n,o);if(l===null)Ds(e,t,o,yi,n),Yc(e,o);else if(Xg(l,e,t,n,o))o.stopPropagation();else if(Yc(e,o),t&4&&-1<Yg.indexOf(e)){for(;l!==null;){var a=vo(l);if(a!==null&&Hc(a),a=Ss(e,t,n,o),a===null&&Ds(e,t,o,yi,n),a===l)break;l=a}l!==null&&o.stopPropagation()}else Ds(e,t,o,null,n)}}var yi=null;function Ss(e,t,n,o){if(yi=null,e=as(o),e=Rn(e),e!==null)if(t=Nn(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Lc(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 yi=e,null}function Jc(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(bg()){case ps:return 1;case Bc:return 4;case ui:case Bg:return 16;case Uc:return 536870912;default:return 16}default:return 16}}var un=null,ks=null,vi=null;function qc(){if(vi)return vi;var e,t=ks,n=t.length,o,l="value"in un?un.value:un.textContent,a=l.length;for(e=0;e<n&&t[e]===l[e];e++);var d=n-e;for(o=1;o<=d&&t[n-o]===l[a-o];o++);return vi=l.slice(e,1<o?1-o:void 0)}function wi(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 Si(){return!0}function ef(){return!1}function ht(e){function t(n,o,l,a,d){this._reactName=n,this._targetInst=l,this.type=o,this.nativeEvent=a,this.target=d,this.currentTarget=null;for(var g in e)e.hasOwnProperty(g)&&(n=e[g],this[g]=n?n(a):a[g]);return this.isDefaultPrevented=(a.defaultPrevented!=null?a.defaultPrevented:a.returnValue===!1)?Si:ef,this.isPropagationStopped=ef,this}return Q(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=Si)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Si)},persist:function(){},isPersistent:Si}),t}var sr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},xs=ht(sr),lo=Q({},sr,{view:0,detail:0}),ey=ht(lo),Es,Cs,so,ki=Q({},lo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ts,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!==so&&(so&&e.type==="mousemove"?(Es=e.screenX-so.screenX,Cs=e.screenY-so.screenY):Cs=Es=0,so=e),Es)},movementY:function(e){return"movementY"in e?e.movementY:Cs}}),tf=ht(ki),ty=Q({},ki,{dataTransfer:0}),ny=ht(ty),ry=Q({},lo,{relatedTarget:0}),_s=ht(ry),oy=Q({},sr,{animationName:0,elapsedTime:0,pseudoElement:0}),iy=ht(oy),ly=Q({},sr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),sy=ht(ly),ay=Q({},sr,{data:0}),nf=ht(ay),uy={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},cy={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"},fy={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function dy(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=fy[e])?!!t[e]:!1}function Ts(){return dy}var py=Q({},lo,{key:function(e){if(e.key){var t=uy[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=wi(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?cy[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ts,charCode:function(e){return e.type==="keypress"?wi(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?wi(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),my=ht(py),hy=Q({},ki,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),rf=ht(hy),gy=Q({},lo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ts}),yy=ht(gy),vy=Q({},sr,{propertyName:0,elapsedTime:0,pseudoElement:0}),wy=ht(vy),Sy=Q({},ki,{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}),ky=ht(Sy),xy=[9,13,27,32],Ps=h&&"CompositionEvent"in window,ao=null;h&&"documentMode"in document&&(ao=document.documentMode);var Ey=h&&"TextEvent"in window&&!ao,of=h&&(!Ps||ao&&8<ao&&11>=ao),lf=" ",sf=!1;function af(e,t){switch(e){case"keyup":return xy.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function uf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ar=!1;function Cy(e,t){switch(e){case"compositionend":return uf(t);case"keypress":return t.which!==32?null:(sf=!0,lf);case"textInput":return e=t.data,e===lf&&sf?null:e;default:return null}}function _y(e,t){if(ar)return e==="compositionend"||!Ps&&af(e,t)?(e=qc(),vi=ks=un=null,ar=!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 of&&t.locale!=="ko"?null:t.data;default:return null}}var Ty={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 cf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Ty[e.type]:t==="textarea"}function ff(e,t,n,o){Oc(o),t=Ti(t,"onChange"),0<t.length&&(n=new xs("onChange","change",null,n,o),e.push({event:n,listeners:t}))}var uo=null,co=null;function Py(e){Rf(e,0)}function xi(e){var t=pr(e);if(jt(t))return e}function Ny(e,t){if(e==="change")return t}var df=!1;if(h){var Ns;if(h){var Rs="oninput"in document;if(!Rs){var pf=document.createElement("div");pf.setAttribute("oninput","return;"),Rs=typeof pf.oninput=="function"}Ns=Rs}else Ns=!1;df=Ns&&(!document.documentMode||9<document.documentMode)}function mf(){uo&&(uo.detachEvent("onpropertychange",hf),co=uo=null)}function hf(e){if(e.propertyName==="value"&&xi(co)){var t=[];ff(t,co,e,as(e)),$c(Py,t)}}function Ry(e,t,n){e==="focusin"?(mf(),uo=t,co=n,uo.attachEvent("onpropertychange",hf)):e==="focusout"&&mf()}function Oy(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return xi(co)}function Ay(e,t){if(e==="click")return xi(t)}function zy(e,t){if(e==="input"||e==="change")return xi(t)}function Iy(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Nt=typeof Object.is=="function"?Object.is:Iy;function fo(e,t){if(Nt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(o=0;o<n.length;o++){var l=n[o];if(!v.call(t,l)||!Nt(e[l],t[l]))return!1}return!0}function gf(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function yf(e,t){var n=gf(e);e=0;for(var o;n;){if(n.nodeType===3){if(o=e+n.textContent.length,e<=t&&o>=t)return{node:n,offset:t-e};e=o}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=gf(n)}}function vf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?vf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function wf(){for(var e=window,t=Qt();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Qt(e.document)}return t}function Os(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 $y(e){var t=wf(),n=e.focusedElem,o=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&vf(n.ownerDocument.documentElement,n)){if(o!==null&&Os(n)){if(t=o.start,e=o.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 l=n.textContent.length,a=Math.min(o.start,l);o=o.end===void 0?a:Math.min(o.end,l),!e.extend&&a>o&&(l=o,o=a,a=l),l=yf(n,a);var d=yf(n,o);l&&d&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==d.node||e.focusOffset!==d.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),a>o?(e.addRange(t),e.extend(d.node,d.offset)):(t.setEnd(d.node,d.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 Ly=h&&"documentMode"in document&&11>=document.documentMode,ur=null,As=null,po=null,zs=!1;function Sf(e,t,n){var o=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;zs||ur==null||ur!==Qt(o)||(o=ur,"selectionStart"in o&&Os(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),po&&fo(po,o)||(po=o,o=Ti(As,"onSelect"),0<o.length&&(t=new xs("onSelect","select",null,t,n),e.push({event:t,listeners:o}),t.target=ur)))}function Ei(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var cr={animationend:Ei("Animation","AnimationEnd"),animationiteration:Ei("Animation","AnimationIteration"),animationstart:Ei("Animation","AnimationStart"),transitionend:Ei("Transition","TransitionEnd")},Is={},kf={};h&&(kf=document.createElement("div").style,"AnimationEvent"in window||(delete cr.animationend.animation,delete cr.animationiteration.animation,delete cr.animationstart.animation),"TransitionEvent"in window||delete cr.transitionend.transition);function Ci(e){if(Is[e])return Is[e];if(!cr[e])return e;var t=cr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in kf)return Is[e]=t[n];return e}var xf=Ci("animationend"),Ef=Ci("animationiteration"),Cf=Ci("animationstart"),_f=Ci("transitionend"),Tf=new Map,Pf="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 cn(e,t){Tf.set(e,t),f(t,[e])}for(var $s=0;$s<Pf.length;$s++){var Ls=Pf[$s],My=Ls.toLowerCase(),Dy=Ls[0].toUpperCase()+Ls.slice(1);cn(My,"on"+Dy)}cn(xf,"onAnimationEnd"),cn(Ef,"onAnimationIteration"),cn(Cf,"onAnimationStart"),cn("dblclick","onDoubleClick"),cn("focusin","onFocus"),cn("focusout","onBlur"),cn(_f,"onTransitionEnd"),p("onMouseEnter",["mouseout","mouseover"]),p("onMouseLeave",["mouseout","mouseover"]),p("onPointerEnter",["pointerout","pointerover"]),p("onPointerLeave",["pointerout","pointerover"]),f("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),f("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),f("onBeforeInput",["compositionend","keypress","textInput","paste"]),f("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),f("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),f("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var mo="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(" "),jy=new Set("cancel close invalid load scroll toggle".split(" ").concat(mo));function Nf(e,t,n){var o=e.type||"unknown-event";e.currentTarget=n,Mg(o,t,void 0,e),e.currentTarget=null}function Rf(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var o=e[n],l=o.event;o=o.listeners;e:{var a=void 0;if(t)for(var d=o.length-1;0<=d;d--){var g=o[d],y=g.instance,_=g.currentTarget;if(g=g.listener,y!==a&&l.isPropagationStopped())break e;Nf(l,g,_),a=y}else for(d=0;d<o.length;d++){if(g=o[d],y=g.instance,_=g.currentTarget,g=g.listener,y!==a&&l.isPropagationStopped())break e;Nf(l,g,_),a=y}}}if(ai)throw e=ds,ai=!1,ds=null,e}function Re(e,t){var n=t[Ws];n===void 0&&(n=t[Ws]=new Set);var o=e+"__bubble";n.has(o)||(Of(t,e,2,!1),n.add(o))}function Ms(e,t,n){var o=0;t&&(o|=4),Of(n,e,o,t)}var _i="_reactListening"+Math.random().toString(36).slice(2);function ho(e){if(!e[_i]){e[_i]=!0,u.forEach(function(n){n!=="selectionchange"&&(jy.has(n)||Ms(n,!1,e),Ms(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[_i]||(t[_i]=!0,Ms("selectionchange",!1,t))}}function Of(e,t,n,o){switch(Jc(t)){case 1:var l=Jg;break;case 4:l=qg;break;default:l=ws}n=l.bind(null,t,n,e),l=void 0,!fs||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(l=!0),o?l!==void 0?e.addEventListener(t,n,{capture:!0,passive:l}):e.addEventListener(t,n,!0):l!==void 0?e.addEventListener(t,n,{passive:l}):e.addEventListener(t,n,!1)}function Ds(e,t,n,o,l){var a=o;if(!(t&1)&&!(t&2)&&o!==null)e:for(;;){if(o===null)return;var d=o.tag;if(d===3||d===4){var g=o.stateNode.containerInfo;if(g===l||g.nodeType===8&&g.parentNode===l)break;if(d===4)for(d=o.return;d!==null;){var y=d.tag;if((y===3||y===4)&&(y=d.stateNode.containerInfo,y===l||y.nodeType===8&&y.parentNode===l))return;d=d.return}for(;g!==null;){if(d=Rn(g),d===null)return;if(y=d.tag,y===5||y===6){o=a=d;continue e}g=g.parentNode}}o=o.return}$c(function(){var _=a,I=as(n),L=[];e:{var z=Tf.get(e);if(z!==void 0){var G=xs,X=e;switch(e){case"keypress":if(wi(n)===0)break e;case"keydown":case"keyup":G=my;break;case"focusin":X="focus",G=_s;break;case"focusout":X="blur",G=_s;break;case"beforeblur":case"afterblur":G=_s;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":G=tf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":G=ny;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":G=yy;break;case xf:case Ef:case Cf:G=iy;break;case _f:G=wy;break;case"scroll":G=ey;break;case"wheel":G=ky;break;case"copy":case"cut":case"paste":G=sy;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":G=rf}var Z=(t&4)!==0,be=!Z&&e==="scroll",k=Z?z!==null?z+"Capture":null:z;Z=[];for(var w=_,x;w!==null;){x=w;var j=x.stateNode;if(x.tag===5&&j!==null&&(x=j,k!==null&&(j=Xr(w,k),j!=null&&Z.push(go(w,j,x)))),be)break;w=w.return}0<Z.length&&(z=new G(z,X,null,n,I),L.push({event:z,listeners:Z}))}}if(!(t&7)){e:{if(z=e==="mouseover"||e==="pointerover",G=e==="mouseout"||e==="pointerout",z&&n!==ss&&(X=n.relatedTarget||n.fromElement)&&(Rn(X)||X[Yt]))break e;if((G||z)&&(z=I.window===I?I:(z=I.ownerDocument)?z.defaultView||z.parentWindow:window,G?(X=n.relatedTarget||n.toElement,G=_,X=X?Rn(X):null,X!==null&&(be=Nn(X),X!==be||X.tag!==5&&X.tag!==6)&&(X=null)):(G=null,X=_),G!==X)){if(Z=tf,j="onMouseLeave",k="onMouseEnter",w="mouse",(e==="pointerout"||e==="pointerover")&&(Z=rf,j="onPointerLeave",k="onPointerEnter",w="pointer"),be=G==null?z:pr(G),x=X==null?z:pr(X),z=new Z(j,w+"leave",G,n,I),z.target=be,z.relatedTarget=x,j=null,Rn(I)===_&&(Z=new Z(k,w+"enter",X,n,I),Z.target=x,Z.relatedTarget=be,j=Z),be=j,G&&X)t:{for(Z=G,k=X,w=0,x=Z;x;x=fr(x))w++;for(x=0,j=k;j;j=fr(j))x++;for(;0<w-x;)Z=fr(Z),w--;for(;0<x-w;)k=fr(k),x--;for(;w--;){if(Z===k||k!==null&&Z===k.alternate)break t;Z=fr(Z),k=fr(k)}Z=null}else Z=null;G!==null&&Af(L,z,G,Z,!1),X!==null&&be!==null&&Af(L,be,X,Z,!0)}}e:{if(z=_?pr(_):window,G=z.nodeName&&z.nodeName.toLowerCase(),G==="select"||G==="input"&&z.type==="file")var q=Ny;else if(cf(z))if(df)q=zy;else{q=Oy;var ne=Ry}else(G=z.nodeName)&&G.toLowerCase()==="input"&&(z.type==="checkbox"||z.type==="radio")&&(q=Ay);if(q&&(q=q(e,_))){ff(L,q,n,I);break e}ne&&ne(e,z,_),e==="focusout"&&(ne=z._wrapperState)&&ne.controlled&&z.type==="number"&&ns(z,"number",z.value)}switch(ne=_?pr(_):window,e){case"focusin":(cf(ne)||ne.contentEditable==="true")&&(ur=ne,As=_,po=null);break;case"focusout":po=As=ur=null;break;case"mousedown":zs=!0;break;case"contextmenu":case"mouseup":case"dragend":zs=!1,Sf(L,n,I);break;case"selectionchange":if(Ly)break;case"keydown":case"keyup":Sf(L,n,I)}var re;if(Ps)e:{switch(e){case"compositionstart":var ce="onCompositionStart";break e;case"compositionend":ce="onCompositionEnd";break e;case"compositionupdate":ce="onCompositionUpdate";break e}ce=void 0}else ar?af(e,n)&&(ce="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(ce="onCompositionStart");ce&&(of&&n.locale!=="ko"&&(ar||ce!=="onCompositionStart"?ce==="onCompositionEnd"&&ar&&(re=qc()):(un=I,ks="value"in un?un.value:un.textContent,ar=!0)),ne=Ti(_,ce),0<ne.length&&(ce=new nf(ce,e,null,n,I),L.push({event:ce,listeners:ne}),re?ce.data=re:(re=uf(n),re!==null&&(ce.data=re)))),(re=Ey?Cy(e,n):_y(e,n))&&(_=Ti(_,"onBeforeInput"),0<_.length&&(I=new nf("onBeforeInput","beforeinput",null,n,I),L.push({event:I,listeners:_}),I.data=re))}Rf(L,t)})}function go(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ti(e,t){for(var n=t+"Capture",o=[];e!==null;){var l=e,a=l.stateNode;l.tag===5&&a!==null&&(l=a,a=Xr(e,n),a!=null&&o.unshift(go(e,a,l)),a=Xr(e,t),a!=null&&o.push(go(e,a,l))),e=e.return}return o}function fr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Af(e,t,n,o,l){for(var a=t._reactName,d=[];n!==null&&n!==o;){var g=n,y=g.alternate,_=g.stateNode;if(y!==null&&y===o)break;g.tag===5&&_!==null&&(g=_,l?(y=Xr(n,a),y!=null&&d.unshift(go(n,y,g))):l||(y=Xr(n,a),y!=null&&d.push(go(n,y,g)))),n=n.return}d.length!==0&&e.push({event:t,listeners:d})}var Fy=/\r\n?/g,by=/\u0000|\uFFFD/g;function zf(e){return(typeof e=="string"?e:""+e).replace(Fy,` `).replace(by,"")}function Pi(e,t,n){if(t=zf(t),zf(e)!==t&&n)throw Error(s(425))}function Ni(){}var js=null,Fs=null;function bs(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 Bs=typeof setTimeout=="function"?setTimeout:void 0,By=typeof clearTimeout=="function"?clearTimeout:void 0,If=typeof Promise=="function"?Promise:void 0,Uy=typeof queueMicrotask=="function"?queueMicrotask:typeof If<"u"?function(e){return If.resolve(null).then(e).catch(Wy)}:Bs;function Wy(e){setTimeout(function(){throw e})}function Us(e,t){var n=t,o=0;do{var l=n.nextSibling;if(e.removeChild(n),l&&l.nodeType===8)if(n=l.data,n==="/$"){if(o===0){e.removeChild(l),io(t);return}o--}else n!=="$"&&n!=="$?"&&n!=="$!"||o++;n=l}while(n);io(t)}function fn(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 $f(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 dr=Math.random().toString(36).slice(2),bt="__reactFiber$"+dr,yo="__reactProps$"+dr,Yt="__reactContainer$"+dr,Ws="__reactEvents$"+dr,Vy="__reactListeners$"+dr,Hy="__reactHandles$"+dr;function Rn(e){var t=e[bt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Yt]||n[bt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=$f(e);e!==null;){if(n=e[bt])return n;e=$f(e)}return t}e=n,n=e.parentNode}return null}function vo(e){return e=e[bt]||e[Yt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function pr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(s(33))}function Ri(e){return e[yo]||null}var Vs=[],mr=-1;function dn(e){return{current:e}}function Oe(e){0>mr||(e.current=Vs[mr],Vs[mr]=null,mr--)}function Ne(e,t){mr++,Vs[mr]=e.current,e.current=t}var pn={},qe=dn(pn),st=dn(!1),On=pn;function hr(e,t){var n=e.type.contextTypes;if(!n)return pn;var o=e.stateNode;if(o&&o.__reactInternalMemoizedUnmaskedChildContext===t)return o.__reactInternalMemoizedMaskedChildContext;var l={},a;for(a in n)l[a]=t[a];return o&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function at(e){return e=e.childContextTypes,e!=null}function Oi(){Oe(st),Oe(qe)}function Lf(e,t,n){if(qe.current!==pn)throw Error(s(168));Ne(qe,t),Ne(st,n)}function Mf(e,t,n){var o=e.stateNode;if(t=t.childContextTypes,typeof o.getChildContext!="function")return n;o=o.getChildContext();for(var l in o)if(!(l in t))throw Error(s(108,Ce(e)||"Unknown",l));return Q({},n,o)}function Ai(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||pn,On=qe.current,Ne(qe,e),Ne(st,st.current),!0}function Df(e,t,n){var o=e.stateNode;if(!o)throw Error(s(169));n?(e=Mf(e,t,On),o.__reactInternalMemoizedMergedChildContext=e,Oe(st),Oe(qe),Ne(qe,e)):Oe(st),Ne(st,n)}var Xt=null,zi=!1,Hs=!1;function jf(e){Xt===null?Xt=[e]:Xt.push(e)}function Ky(e){zi=!0,jf(e)}function mn(){if(!Hs&&Xt!==null){Hs=!0;var e=0,t=Ee;try{var n=Xt;for(Ee=1;e<n.length;e++){var o=n[e];do o=o(!0);while(o!==null)}Xt=null,zi=!1}catch(l){throw Xt!==null&&(Xt=Xt.slice(e+1)),Fc(ps,mn),l}finally{Ee=t,Hs=!1}}return null}var gr=[],yr=0,Ii=null,$i=0,kt=[],xt=0,An=null,Zt=1,Jt="";function zn(e,t){gr[yr++]=$i,gr[yr++]=Ii,Ii=e,$i=t}function Ff(e,t,n){kt[xt++]=Zt,kt[xt++]=Jt,kt[xt++]=An,An=e;var o=Zt;e=Jt;var l=32-Pt(o)-1;o&=~(1<<l),n+=1;var a=32-Pt(t)+l;if(30<a){var d=l-l%5;a=(o&(1<<d)-1).toString(32),o>>=d,l-=d,Zt=1<<32-Pt(t)+l|n<<l|o,Jt=a+e}else Zt=1<<a|n<<l|o,Jt=e}function Ks(e){e.return!==null&&(zn(e,1),Ff(e,1,0))}function Gs(e){for(;e===Ii;)Ii=gr[--yr],gr[yr]=null,$i=gr[--yr],gr[yr]=null;for(;e===An;)An=kt[--xt],kt[xt]=null,Jt=kt[--xt],kt[xt]=null,Zt=kt[--xt],kt[xt]=null}var gt=null,yt=null,ze=!1,Rt=null;function bf(e,t){var n=Tt(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 Bf(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,gt=e,yt=fn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,gt=e,yt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=An!==null?{id:Zt,overflow:Jt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Tt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,gt=e,yt=null,!0):!1;default:return!1}}function Qs(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Ys(e){if(ze){var t=yt;if(t){var n=t;if(!Bf(e,t)){if(Qs(e))throw Error(s(418));t=fn(n.nextSibling);var o=gt;t&&Bf(e,t)?bf(o,n):(e.flags=e.flags&-4097|2,ze=!1,gt=e)}}else{if(Qs(e))throw Error(s(418));e.flags=e.flags&-4097|2,ze=!1,gt=e}}}function Uf(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;gt=e}function Li(e){if(e!==gt)return!1;if(!ze)return Uf(e),ze=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!bs(e.type,e.memoizedProps)),t&&(t=yt)){if(Qs(e))throw Wf(),Error(s(418));for(;t;)bf(e,t),t=fn(t.nextSibling)}if(Uf(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){yt=fn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}yt=null}}else yt=gt?fn(e.stateNode.nextSibling):null;return!0}function Wf(){for(var e=yt;e;)e=fn(e.nextSibling)}function vr(){yt=gt=null,ze=!1}function Xs(e){Rt===null?Rt=[e]:Rt.push(e)}var Gy=F.ReactCurrentBatchConfig;function wo(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(s(309));var o=n.stateNode}if(!o)throw Error(s(147,e));var l=o,a=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===a?t.ref:(t=function(d){var g=l.refs;d===null?delete g[a]:g[a]=d},t._stringRef=a,t)}if(typeof e!="string")throw Error(s(284));if(!n._owner)throw Error(s(290,e))}return e}function Mi(e,t){throw e=Object.prototype.toString.call(t),Error(s(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Vf(e){var t=e._init;return t(e._payload)}function Hf(e){function t(k,w){if(e){var x=k.deletions;x===null?(k.deletions=[w],k.flags|=16):x.push(w)}}function n(k,w){if(!e)return null;for(;w!==null;)t(k,w),w=w.sibling;return null}function o(k,w){for(k=new Map;w!==null;)w.key!==null?k.set(w.key,w):k.set(w.index,w),w=w.sibling;return k}function l(k,w){return k=xn(k,w),k.index=0,k.sibling=null,k}function a(k,w,x){return k.index=x,e?(x=k.alternate,x!==null?(x=x.index,x<w?(k.flags|=2,w):x):(k.flags|=2,w)):(k.flags|=1048576,w)}function d(k){return e&&k.alternate===null&&(k.flags|=2),k}function g(k,w,x,j){return w===null||w.tag!==6?(w=Ba(x,k.mode,j),w.return=k,w):(w=l(w,x),w.return=k,w)}function y(k,w,x,j){var q=x.type;return q===b?I(k,w,x.props.children,j,x.key):w!==null&&(w.elementType===q||typeof q=="object"&&q!==null&&q.$$typeof===se&&Vf(q)===w.type)?(j=l(w,x.props),j.ref=wo(k,w,x),j.return=k,j):(j=ll(x.type,x.key,x.props,null,k.mode,j),j.ref=wo(k,w,x),j.return=k,j)}function _(k,w,x,j){return w===null||w.tag!==4||w.stateNode.containerInfo!==x.containerInfo||w.stateNode.implementation!==x.implementation?(w=Ua(x,k.mode,j),w.return=k,w):(w=l(w,x.children||[]),w.return=k,w)}function I(k,w,x,j,q){return w===null||w.tag!==7?(w=bn(x,k.mode,j,q),w.return=k,w):(w=l(w,x),w.return=k,w)}function L(k,w,x){if(typeof w=="string"&&w!==""||typeof w=="number")return w=Ba(""+w,k.mode,x),w.return=k,w;if(typeof w=="object"&&w!==null){switch(w.$$typeof){case H:return x=ll(w.type,w.key,w.props,null,k.mode,x),x.ref=wo(k,null,w),x.return=k,x;case K:return w=Ua(w,k.mode,x),w.return=k,w;case se:var j=w._init;return L(k,j(w._payload),x)}if(Gr(w)||oe(w))return w=bn(w,k.mode,x,null),w.return=k,w;Mi(k,w)}return null}function z(k,w,x,j){var q=w!==null?w.key:null;if(typeof x=="string"&&x!==""||typeof x=="number")return q!==null?null:g(k,w,""+x,j);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case H:return x.key===q?y(k,w,x,j):null;case K:return x.key===q?_(k,w,x,j):null;case se:return q=x._init,z(k,w,q(x._payload),j)}if(Gr(x)||oe(x))return q!==null?null:I(k,w,x,j,null);Mi(k,x)}return null}function G(k,w,x,j,q){if(typeof j=="string"&&j!==""||typeof j=="number")return k=k.get(x)||null,g(w,k,""+j,q);if(typeof j=="object"&&j!==null){switch(j.$$typeof){case H:return k=k.get(j.key===null?x:j.key)||null,y(w,k,j,q);case K:return k=k.get(j.key===null?x:j.key)||null,_(w,k,j,q);case se:var ne=j._init;return G(k,w,x,ne(j._payload),q)}if(Gr(j)||oe(j))return k=k.get(x)||null,I(w,k,j,q,null);Mi(w,j)}return null}function X(k,w,x,j){for(var q=null,ne=null,re=w,ce=w=0,Ge=null;re!==null&&ce<x.length;ce++){re.index>ce?(Ge=re,re=null):Ge=re.sibling;var we=z(k,re,x[ce],j);if(we===null){re===null&&(re=Ge);break}e&&re&&we.alternate===null&&t(k,re),w=a(we,w,ce),ne===null?q=we:ne.sibling=we,ne=we,re=Ge}if(ce===x.length)return n(k,re),ze&&zn(k,ce),q;if(re===null){for(;ce<x.length;ce++)re=L(k,x[ce],j),re!==null&&(w=a(re,w,ce),ne===null?q=re:ne.sibling=re,ne=re);return ze&&zn(k,ce),q}for(re=o(k,re);ce<x.length;ce++)Ge=G(re,k,ce,x[ce],j),Ge!==null&&(e&&Ge.alternate!==null&&re.delete(Ge.key===null?ce:Ge.key),w=a(Ge,w,ce),ne===null?q=Ge:ne.sibling=Ge,ne=Ge);return e&&re.forEach(function(En){return t(k,En)}),ze&&zn(k,ce),q}function Z(k,w,x,j){var q=oe(x);if(typeof q!="function")throw Error(s(150));if(x=q.call(x),x==null)throw Error(s(151));for(var ne=q=null,re=w,ce=w=0,Ge=null,we=x.next();re!==null&&!we.done;ce++,we=x.next()){re.index>ce?(Ge=re,re=null):Ge=re.sibling;var En=z(k,re,we.value,j);if(En===null){re===null&&(re=Ge);break}e&&re&&En.alternate===null&&t(k,re),w=a(En,w,ce),ne===null?q=En:ne.sibling=En,ne=En,re=Ge}if(we.done)return n(k,re),ze&&zn(k,ce),q;if(re===null){for(;!we.done;ce++,we=x.next())we=L(k,we.value,j),we!==null&&(w=a(we,w,ce),ne===null?q=we:ne.sibling=we,ne=we);return ze&&zn(k,ce),q}for(re=o(k,re);!we.done;ce++,we=x.next())we=G(re,k,ce,we.value,j),we!==null&&(e&&we.alternate!==null&&re.delete(we.key===null?ce:we.key),w=a(we,w,ce),ne===null?q=we:ne.sibling=we,ne=we);return e&&re.forEach(function(T1){return t(k,T1)}),ze&&zn(k,ce),q}function be(k,w,x,j){if(typeof x=="object"&&x!==null&&x.type===b&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case H:e:{for(var q=x.key,ne=w;ne!==null;){if(ne.key===q){if(q=x.type,q===b){if(ne.tag===7){n(k,ne.sibling),w=l(ne,x.props.children),w.return=k,k=w;break e}}else if(ne.elementType===q||typeof q=="object"&&q!==null&&q.$$typeof===se&&Vf(q)===ne.type){n(k,ne.sibling),w=l(ne,x.props),w.ref=wo(k,ne,x),w.return=k,k=w;break e}n(k,ne);break}else t(k,ne);ne=ne.sibling}x.type===b?(w=bn(x.props.children,k.mode,j,x.key),w.return=k,k=w):(j=ll(x.type,x.key,x.props,null,k.mode,j),j.ref=wo(k,w,x),j.return=k,k=j)}return d(k);case K:e:{for(ne=x.key;w!==null;){if(w.key===ne)if(w.tag===4&&w.stateNode.containerInfo===x.containerInfo&&w.stateNode.implementation===x.implementation){n(k,w.sibling),w=l(w,x.children||[]),w.return=k,k=w;break e}else{n(k,w);break}else t(k,w);w=w.sibling}w=Ua(x,k.mode,j),w.return=k,k=w}return d(k);case se:return ne=x._init,be(k,w,ne(x._payload),j)}if(Gr(x))return X(k,w,x,j);if(oe(x))return Z(k,w,x,j);Mi(k,x)}return typeof x=="string"&&x!==""||typeof x=="number"?(x=""+x,w!==null&&w.tag===6?(n(k,w.sibling),w=l(w,x),w.return=k,k=w):(n(k,w),w=Ba(x,k.mode,j),w.return=k,k=w),d(k)):n(k,w)}return be}var wr=Hf(!0),Kf=Hf(!1),Di=dn(null),ji=null,Sr=null,Zs=null;function Js(){Zs=Sr=ji=null}function qs(e){var t=Di.current;Oe(Di),e._currentValue=t}function ea(e,t,n){for(;e!==null;){var o=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,o!==null&&(o.childLanes|=t)):o!==null&&(o.childLanes&t)!==t&&(o.childLanes|=t),e===n)break;e=e.return}}function kr(e,t){ji=e,Zs=Sr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(ut=!0),e.firstContext=null)}function Et(e){var t=e._currentValue;if(Zs!==e)if(e={context:e,memoizedValue:t,next:null},Sr===null){if(ji===null)throw Error(s(308));Sr=e,ji.dependencies={lanes:0,firstContext:e}}else Sr=Sr.next=e;return t}var In=null;function ta(e){In===null?In=[e]:In.push(e)}function Gf(e,t,n,o){var l=t.interleaved;return l===null?(n.next=n,ta(t)):(n.next=l.next,l.next=n),t.interleaved=n,qt(e,o)}function qt(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 hn=!1;function na(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Qf(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 en(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function gn(e,t,n){var o=e.updateQueue;if(o===null)return null;if(o=o.shared,ve&2){var l=o.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),o.pending=t,qt(e,n)}return l=o.interleaved,l===null?(t.next=t,ta(o)):(t.next=l.next,l.next=t),o.interleaved=t,qt(e,n)}function Fi(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var o=t.lanes;o&=e.pendingLanes,n|=o,t.lanes=n,gs(e,n)}}function Yf(e,t){var n=e.updateQueue,o=e.alternate;if(o!==null&&(o=o.updateQueue,n===o)){var l=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var d={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};a===null?l=a=d:a=a.next=d,n=n.next}while(n!==null);a===null?l=a=t:a=a.next=t}else l=a=t;n={baseState:o.baseState,firstBaseUpdate:l,lastBaseUpdate:a,shared:o.shared,effects:o.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function bi(e,t,n,o){var l=e.updateQueue;hn=!1;var a=l.firstBaseUpdate,d=l.lastBaseUpdate,g=l.shared.pending;if(g!==null){l.shared.pending=null;var y=g,_=y.next;y.next=null,d===null?a=_:d.next=_,d=y;var I=e.alternate;I!==null&&(I=I.updateQueue,g=I.lastBaseUpdate,g!==d&&(g===null?I.firstBaseUpdate=_:g.next=_,I.lastBaseUpdate=y))}if(a!==null){var L=l.baseState;d=0,I=_=y=null,g=a;do{var z=g.lane,G=g.eventTime;if((o&z)===z){I!==null&&(I=I.next={eventTime:G,lane:0,tag:g.tag,payload:g.payload,callback:g.callback,next:null});e:{var X=e,Z=g;switch(z=t,G=n,Z.tag){case 1:if(X=Z.payload,typeof X=="function"){L=X.call(G,L,z);break e}L=X;break e;case 3:X.flags=X.flags&-65537|128;case 0:if(X=Z.payload,z=typeof X=="function"?X.call(G,L,z):X,z==null)break e;L=Q({},L,z);break e;case 2:hn=!0}}g.callback!==null&&g.lane!==0&&(e.flags|=64,z=l.effects,z===null?l.effects=[g]:z.push(g))}else G={eventTime:G,lane:z,tag:g.tag,payload:g.payload,callback:g.callback,next:null},I===null?(_=I=G,y=L):I=I.next=G,d|=z;if(g=g.next,g===null){if(g=l.shared.pending,g===null)break;z=g,g=z.next,z.next=null,l.lastBaseUpdate=z,l.shared.pending=null}}while(!0);if(I===null&&(y=L),l.baseState=y,l.firstBaseUpdate=_,l.lastBaseUpdate=I,t=l.shared.interleaved,t!==null){l=t;do d|=l.lane,l=l.next;while(l!==t)}else a===null&&(l.shared.lanes=0);Mn|=d,e.lanes=d,e.memoizedState=L}}function Xf(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var o=e[t],l=o.callback;if(l!==null){if(o.callback=null,o=n,typeof l!="function")throw Error(s(191,l));l.call(o)}}}var So={},Bt=dn(So),ko=dn(So),xo=dn(So);function $n(e){if(e===So)throw Error(s(174));return e}function ra(e,t){switch(Ne(xo,t),Ne(ko,e),Ne(Bt,So),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:os(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=os(t,e)}Oe(Bt),Ne(Bt,t)}function xr(){Oe(Bt),Oe(ko),Oe(xo)}function Zf(e){$n(xo.current);var t=$n(Bt.current),n=os(t,e.type);t!==n&&(Ne(ko,e),Ne(Bt,n))}function oa(e){ko.current===e&&(Oe(Bt),Oe(ko))}var Ie=dn(0);function Bi(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 ia=[];function la(){for(var e=0;e<ia.length;e++)ia[e]._workInProgressVersionPrimary=null;ia.length=0}var Ui=F.ReactCurrentDispatcher,sa=F.ReactCurrentBatchConfig,Ln=0,$e=null,We=null,He=null,Wi=!1,Eo=!1,Co=0,Qy=0;function et(){throw Error(s(321))}function aa(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Nt(e[n],t[n]))return!1;return!0}function ua(e,t,n,o,l,a){if(Ln=a,$e=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ui.current=e===null||e.memoizedState===null?Jy:qy,e=n(o,l),Eo){a=0;do{if(Eo=!1,Co=0,25<=a)throw Error(s(301));a+=1,He=We=null,t.updateQueue=null,Ui.current=e1,e=n(o,l)}while(Eo)}if(Ui.current=Ki,t=We!==null&&We.next!==null,Ln=0,He=We=$e=null,Wi=!1,t)throw Error(s(300));return e}function ca(){var e=Co!==0;return Co=0,e}function Ut(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return He===null?$e.memoizedState=He=e:He=He.next=e,He}function Ct(){if(We===null){var e=$e.alternate;e=e!==null?e.memoizedState:null}else e=We.next;var t=He===null?$e.memoizedState:He.next;if(t!==null)He=t,We=e;else{if(e===null)throw Error(s(310));We=e,e={memoizedState:We.memoizedState,baseState:We.baseState,baseQueue:We.baseQueue,queue:We.queue,next:null},He===null?$e.memoizedState=He=e:He=He.next=e}return He}function _o(e,t){return typeof t=="function"?t(e):t}function fa(e){var t=Ct(),n=t.queue;if(n===null)throw Error(s(311));n.lastRenderedReducer=e;var o=We,l=o.baseQueue,a=n.pending;if(a!==null){if(l!==null){var d=l.next;l.next=a.next,a.next=d}o.baseQueue=l=a,n.pending=null}if(l!==null){a=l.next,o=o.baseState;var g=d=null,y=null,_=a;do{var I=_.lane;if((Ln&I)===I)y!==null&&(y=y.next={lane:0,action:_.action,hasEagerState:_.hasEagerState,eagerState:_.eagerState,next:null}),o=_.hasEagerState?_.eagerState:e(o,_.action);else{var L={lane:I,action:_.action,hasEagerState:_.hasEagerState,eagerState:_.eagerState,next:null};y===null?(g=y=L,d=o):y=y.next=L,$e.lanes|=I,Mn|=I}_=_.next}while(_!==null&&_!==a);y===null?d=o:y.next=g,Nt(o,t.memoizedState)||(ut=!0),t.memoizedState=o,t.baseState=d,t.baseQueue=y,n.lastRenderedState=o}if(e=n.interleaved,e!==null){l=e;do a=l.lane,$e.lanes|=a,Mn|=a,l=l.next;while(l!==e)}else l===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function da(e){var t=Ct(),n=t.queue;if(n===null)throw Error(s(311));n.lastRenderedReducer=e;var o=n.dispatch,l=n.pending,a=t.memoizedState;if(l!==null){n.pending=null;var d=l=l.next;do a=e(a,d.action),d=d.next;while(d!==l);Nt(a,t.memoizedState)||(ut=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),n.lastRenderedState=a}return[a,o]}function Jf(){}function qf(e,t){var n=$e,o=Ct(),l=t(),a=!Nt(o.memoizedState,l);if(a&&(o.memoizedState=l,ut=!0),o=o.queue,pa(nd.bind(null,n,o,e),[e]),o.getSnapshot!==t||a||He!==null&&He.memoizedState.tag&1){if(n.flags|=2048,To(9,td.bind(null,n,o,l,t),void 0,null),Ke===null)throw Error(s(349));Ln&30||ed(n,t,l)}return l}function ed(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=$e.updateQueue,t===null?(t={lastEffect:null,stores:null},$e.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function td(e,t,n,o){t.value=n,t.getSnapshot=o,rd(t)&&od(e)}function nd(e,t,n){return n(function(){rd(t)&&od(e)})}function rd(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Nt(e,n)}catch{return!0}}function od(e){var t=qt(e,1);t!==null&&It(t,e,1,-1)}function id(e){var t=Ut();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:_o,lastRenderedState:e},t.queue=e,e=e.dispatch=Zy.bind(null,$e,e),[t.memoizedState,e]}function To(e,t,n,o){return e={tag:e,create:t,destroy:n,deps:o,next:null},t=$e.updateQueue,t===null?(t={lastEffect:null,stores:null},$e.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(o=n.next,n.next=e,e.next=o,t.lastEffect=e)),e}function ld(){return Ct().memoizedState}function Vi(e,t,n,o){var l=Ut();$e.flags|=e,l.memoizedState=To(1|t,n,void 0,o===void 0?null:o)}function Hi(e,t,n,o){var l=Ct();o=o===void 0?null:o;var a=void 0;if(We!==null){var d=We.memoizedState;if(a=d.destroy,o!==null&&aa(o,d.deps)){l.memoizedState=To(t,n,a,o);return}}$e.flags|=e,l.memoizedState=To(1|t,n,a,o)}function sd(e,t){return Vi(8390656,8,e,t)}function pa(e,t){return Hi(2048,8,e,t)}function ad(e,t){return Hi(4,2,e,t)}function ud(e,t){return Hi(4,4,e,t)}function cd(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 fd(e,t,n){return n=n!=null?n.concat([e]):null,Hi(4,4,cd.bind(null,t,e),n)}function ma(){}function dd(e,t){var n=Ct();t=t===void 0?null:t;var o=n.memoizedState;return o!==null&&t!==null&&aa(t,o[1])?o[0]:(n.memoizedState=[e,t],e)}function pd(e,t){var n=Ct();t=t===void 0?null:t;var o=n.memoizedState;return o!==null&&t!==null&&aa(t,o[1])?o[0]:(e=e(),n.memoizedState=[e,t],e)}function md(e,t,n){return Ln&21?(Nt(n,t)||(n=Wc(),$e.lanes|=n,Mn|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,ut=!0),e.memoizedState=n)}function Yy(e,t){var n=Ee;Ee=n!==0&&4>n?n:4,e(!0);var o=sa.transition;sa.transition={};try{e(!1),t()}finally{Ee=n,sa.transition=o}}function hd(){return Ct().memoizedState}function Xy(e,t,n){var o=Sn(e);if(n={lane:o,action:n,hasEagerState:!1,eagerState:null,next:null},gd(e))yd(t,n);else if(n=Gf(e,t,n,o),n!==null){var l=ot();It(n,e,o,l),vd(n,t,o)}}function Zy(e,t,n){var o=Sn(e),l={lane:o,action:n,hasEagerState:!1,eagerState:null,next:null};if(gd(e))yd(t,l);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var d=t.lastRenderedState,g=a(d,n);if(l.hasEagerState=!0,l.eagerState=g,Nt(g,d)){var y=t.interleaved;y===null?(l.next=l,ta(t)):(l.next=y.next,y.next=l),t.interleaved=l;return}}catch{}finally{}n=Gf(e,t,l,o),n!==null&&(l=ot(),It(n,e,o,l),vd(n,t,o))}}function gd(e){var t=e.alternate;return e===$e||t!==null&&t===$e}function yd(e,t){Eo=Wi=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function vd(e,t,n){if(n&4194240){var o=t.lanes;o&=e.pendingLanes,n|=o,t.lanes=n,gs(e,n)}}var Ki={readContext:Et,useCallback:et,useContext:et,useEffect:et,useImperativeHandle:et,useInsertionEffect:et,useLayoutEffect:et,useMemo:et,useReducer:et,useRef:et,useState:et,useDebugValue:et,useDeferredValue:et,useTransition:et,useMutableSource:et,useSyncExternalStore:et,useId:et,unstable_isNewReconciler:!1},Jy={readContext:Et,useCallback:function(e,t){return Ut().memoizedState=[e,t===void 0?null:t],e},useContext:Et,useEffect:sd,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Vi(4194308,4,cd.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Vi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Vi(4,2,e,t)},useMemo:function(e,t){var n=Ut();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var o=Ut();return t=n!==void 0?n(t):t,o.memoizedState=o.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},o.queue=e,e=e.dispatch=Xy.bind(null,$e,e),[o.memoizedState,e]},useRef:function(e){var t=Ut();return e={current:e},t.memoizedState=e},useState:id,useDebugValue:ma,useDeferredValue:function(e){return Ut().memoizedState=e},useTransition:function(){var e=id(!1),t=e[0];return e=Yy.bind(null,e[1]),Ut().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var o=$e,l=Ut();if(ze){if(n===void 0)throw Error(s(407));n=n()}else{if(n=t(),Ke===null)throw Error(s(349));Ln&30||ed(o,t,n)}l.memoizedState=n;var a={value:n,getSnapshot:t};return l.queue=a,sd(nd.bind(null,o,a,e),[e]),o.flags|=2048,To(9,td.bind(null,o,a,n,t),void 0,null),n},useId:function(){var e=Ut(),t=Ke.identifierPrefix;if(ze){var n=Jt,o=Zt;n=(o&~(1<<32-Pt(o)-1)).toString(32)+n,t=":"+t+"R"+n,n=Co++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=Qy++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},qy={readContext:Et,useCallback:dd,useContext:Et,useEffect:pa,useImperativeHandle:fd,useInsertionEffect:ad,useLayoutEffect:ud,useMemo:pd,useReducer:fa,useRef:ld,useState:function(){return fa(_o)},useDebugValue:ma,useDeferredValue:function(e){var t=Ct();return md(t,We.memoizedState,e)},useTransition:function(){var e=fa(_o)[0],t=Ct().memoizedState;return[e,t]},useMutableSource:Jf,useSyncExternalStore:qf,useId:hd,unstable_isNewReconciler:!1},e1={readContext:Et,useCallback:dd,useContext:Et,useEffect:pa,useImperativeHandle:fd,useInsertionEffect:ad,useLayoutEffect:ud,useMemo:pd,useReducer:da,useRef:ld,useState:function(){return da(_o)},useDebugValue:ma,useDeferredValue:function(e){var t=Ct();return We===null?t.memoizedState=e:md(t,We.memoizedState,e)},useTransition:function(){var e=da(_o)[0],t=Ct().memoizedState;return[e,t]},useMutableSource:Jf,useSyncExternalStore:qf,useId:hd,unstable_isNewReconciler:!1};function Ot(e,t){if(e&&e.defaultProps){t=Q({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function ha(e,t,n,o){t=e.memoizedState,n=n(o,t),n=n==null?t:Q({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Gi={isMounted:function(e){return(e=e._reactInternals)?Nn(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var o=ot(),l=Sn(e),a=en(o,l);a.payload=t,n!=null&&(a.callback=n),t=gn(e,a,l),t!==null&&(It(t,e,l,o),Fi(t,e,l))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var o=ot(),l=Sn(e),a=en(o,l);a.tag=1,a.payload=t,n!=null&&(a.callback=n),t=gn(e,a,l),t!==null&&(It(t,e,l,o),Fi(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ot(),o=Sn(e),l=en(n,o);l.tag=2,t!=null&&(l.callback=t),t=gn(e,l,o),t!==null&&(It(t,e,o,n),Fi(t,e,o))}};function wd(e,t,n,o,l,a,d){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(o,a,d):t.prototype&&t.prototype.isPureReactComponent?!fo(n,o)||!fo(l,a):!0}function Sd(e,t,n){var o=!1,l=pn,a=t.contextType;return typeof a=="object"&&a!==null?a=Et(a):(l=at(t)?On:qe.current,o=t.contextTypes,a=(o=o!=null)?hr(e,l):pn),t=new t(n,a),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Gi,e.stateNode=t,t._reactInternals=e,o&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=a),t}function kd(e,t,n,o){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,o),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,o),t.state!==e&&Gi.enqueueReplaceState(t,t.state,null)}function ga(e,t,n,o){var l=e.stateNode;l.props=n,l.state=e.memoizedState,l.refs={},na(e);var a=t.contextType;typeof a=="object"&&a!==null?l.context=Et(a):(a=at(t)?On:qe.current,l.context=hr(e,a)),l.state=e.memoizedState,a=t.getDerivedStateFromProps,typeof a=="function"&&(ha(e,t,a,n),l.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof l.getSnapshotBeforeUpdate=="function"||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(t=l.state,typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount(),t!==l.state&&Gi.enqueueReplaceState(l,l.state,null),bi(e,n,l,o),l.state=e.memoizedState),typeof l.componentDidMount=="function"&&(e.flags|=4194308)}function Er(e,t){try{var n="",o=t;do n+=he(o),o=o.return;while(o);var l=n}catch(a){l=` Error generating stack: `+a.message+` `+a.stack}return{value:e,source:t,stack:l,digest:null}}function ya(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function va(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var t1=typeof WeakMap=="function"?WeakMap:Map;function xd(e,t,n){n=en(-1,n),n.tag=3,n.payload={element:null};var o=t.value;return n.callback=function(){el||(el=!0,Ia=o),va(e,t)},n}function Ed(e,t,n){n=en(-1,n),n.tag=3;var o=e.type.getDerivedStateFromError;if(typeof o=="function"){var l=t.value;n.payload=function(){return o(l)},n.callback=function(){va(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(n.callback=function(){va(e,t),typeof o!="function"&&(vn===null?vn=new Set([this]):vn.add(this));var d=t.stack;this.componentDidCatch(t.value,{componentStack:d!==null?d:""})}),n}function Cd(e,t,n){var o=e.pingCache;if(o===null){o=e.pingCache=new t1;var l=new Set;o.set(t,l)}else l=o.get(t),l===void 0&&(l=new Set,o.set(t,l));l.has(n)||(l.add(n),e=h1.bind(null,e,t,n),t.then(e,e))}function _d(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 Td(e,t,n,o,l){return e.mode&1?(e.flags|=65536,e.lanes=l,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=en(-1,1),t.tag=2,gn(n,t,1))),n.lanes|=1),e)}var n1=F.ReactCurrentOwner,ut=!1;function rt(e,t,n,o){t.child=e===null?Kf(t,null,n,o):wr(t,e.child,n,o)}function Pd(e,t,n,o,l){n=n.render;var a=t.ref;return kr(t,l),o=ua(e,t,n,o,a,l),n=ca(),e!==null&&!ut?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,tn(e,t,l)):(ze&&n&&Ks(t),t.flags|=1,rt(e,t,o,l),t.child)}function Nd(e,t,n,o,l){if(e===null){var a=n.type;return typeof a=="function"&&!ba(a)&&a.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=a,Rd(e,t,a,o,l)):(e=ll(n.type,null,o,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!(e.lanes&l)){var d=a.memoizedProps;if(n=n.compare,n=n!==null?n:fo,n(d,o)&&e.ref===t.ref)return tn(e,t,l)}return t.flags|=1,e=xn(a,o),e.ref=t.ref,e.return=t,t.child=e}function Rd(e,t,n,o,l){if(e!==null){var a=e.memoizedProps;if(fo(a,o)&&e.ref===t.ref)if(ut=!1,t.pendingProps=o=a,(e.lanes&l)!==0)e.flags&131072&&(ut=!0);else return t.lanes=e.lanes,tn(e,t,l)}return wa(e,t,n,o,l)}function Od(e,t,n){var o=t.pendingProps,l=o.children,a=e!==null?e.memoizedState:null;if(o.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ne(_r,vt),vt|=n;else{if(!(n&1073741824))return e=a!==null?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ne(_r,vt),vt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},o=a!==null?a.baseLanes:n,Ne(_r,vt),vt|=o}else a!==null?(o=a.baseLanes|n,t.memoizedState=null):o=n,Ne(_r,vt),vt|=o;return rt(e,t,l,n),t.child}function Ad(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function wa(e,t,n,o,l){var a=at(n)?On:qe.current;return a=hr(t,a),kr(t,l),n=ua(e,t,n,o,a,l),o=ca(),e!==null&&!ut?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,tn(e,t,l)):(ze&&o&&Ks(t),t.flags|=1,rt(e,t,n,l),t.child)}function zd(e,t,n,o,l){if(at(n)){var a=!0;Ai(t)}else a=!1;if(kr(t,l),t.stateNode===null)Yi(e,t),Sd(t,n,o),ga(t,n,o,l),o=!0;else if(e===null){var d=t.stateNode,g=t.memoizedProps;d.props=g;var y=d.context,_=n.contextType;typeof _=="object"&&_!==null?_=Et(_):(_=at(n)?On:qe.current,_=hr(t,_));var I=n.getDerivedStateFromProps,L=typeof I=="function"||typeof d.getSnapshotBeforeUpdate=="function";L||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(g!==o||y!==_)&&kd(t,d,o,_),hn=!1;var z=t.memoizedState;d.state=z,bi(t,o,d,l),y=t.memoizedState,g!==o||z!==y||st.current||hn?(typeof I=="function"&&(ha(t,n,I,o),y=t.memoizedState),(g=hn||wd(t,n,g,o,z,y,_))?(L||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount()),typeof d.componentDidMount=="function"&&(t.flags|=4194308)):(typeof d.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=o,t.memoizedState=y),d.props=o,d.state=y,d.context=_,o=g):(typeof d.componentDidMount=="function"&&(t.flags|=4194308),o=!1)}else{d=t.stateNode,Qf(e,t),g=t.memoizedProps,_=t.type===t.elementType?g:Ot(t.type,g),d.props=_,L=t.pendingProps,z=d.context,y=n.contextType,typeof y=="object"&&y!==null?y=Et(y):(y=at(n)?On:qe.current,y=hr(t,y));var G=n.getDerivedStateFromProps;(I=typeof G=="function"||typeof d.getSnapshotBeforeUpdate=="function")||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(g!==L||z!==y)&&kd(t,d,o,y),hn=!1,z=t.memoizedState,d.state=z,bi(t,o,d,l);var X=t.memoizedState;g!==L||z!==X||st.current||hn?(typeof G=="function"&&(ha(t,n,G,o),X=t.memoizedState),(_=hn||wd(t,n,_,o,z,X,y)||!1)?(I||typeof d.UNSAFE_componentWillUpdate!="function"&&typeof d.componentWillUpdate!="function"||(typeof d.componentWillUpdate=="function"&&d.componentWillUpdate(o,X,y),typeof d.UNSAFE_componentWillUpdate=="function"&&d.UNSAFE_componentWillUpdate(o,X,y)),typeof d.componentDidUpdate=="function"&&(t.flags|=4),typeof d.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof d.componentDidUpdate!="function"||g===e.memoizedProps&&z===e.memoizedState||(t.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||g===e.memoizedProps&&z===e.memoizedState||(t.flags|=1024),t.memoizedProps=o,t.memoizedState=X),d.props=o,d.state=X,d.context=y,o=_):(typeof d.componentDidUpdate!="function"||g===e.memoizedProps&&z===e.memoizedState||(t.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||g===e.memoizedProps&&z===e.memoizedState||(t.flags|=1024),o=!1)}return Sa(e,t,n,o,a,l)}function Sa(e,t,n,o,l,a){Ad(e,t);var d=(t.flags&128)!==0;if(!o&&!d)return l&&Df(t,n,!1),tn(e,t,a);o=t.stateNode,n1.current=t;var g=d&&typeof n.getDerivedStateFromError!="function"?null:o.render();return t.flags|=1,e!==null&&d?(t.child=wr(t,e.child,null,a),t.child=wr(t,null,g,a)):rt(e,t,g,a),t.memoizedState=o.state,l&&Df(t,n,!0),t.child}function Id(e){var t=e.stateNode;t.pendingContext?Lf(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Lf(e,t.context,!1),ra(e,t.containerInfo)}function $d(e,t,n,o,l){return vr(),Xs(l),t.flags|=256,rt(e,t,n,o),t.child}var ka={dehydrated:null,treeContext:null,retryLane:0};function xa(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ld(e,t,n){var o=t.pendingProps,l=Ie.current,a=!1,d=(t.flags&128)!==0,g;if((g=d)||(g=e!==null&&e.memoizedState===null?!1:(l&2)!==0),g?(a=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),Ne(Ie,l&1),e===null)return Ys(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):(d=o.children,e=o.fallback,a?(o=t.mode,a=t.child,d={mode:"hidden",children:d},!(o&1)&&a!==null?(a.childLanes=0,a.pendingProps=d):a=sl(d,o,0,null),e=bn(e,o,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=xa(n),t.memoizedState=ka,e):Ea(t,d));if(l=e.memoizedState,l!==null&&(g=l.dehydrated,g!==null))return r1(e,t,d,o,g,l,n);if(a){a=o.fallback,d=t.mode,l=e.child,g=l.sibling;var y={mode:"hidden",children:o.children};return!(d&1)&&t.child!==l?(o=t.child,o.childLanes=0,o.pendingProps=y,t.deletions=null):(o=xn(l,y),o.subtreeFlags=l.subtreeFlags&14680064),g!==null?a=xn(g,a):(a=bn(a,d,n,null),a.flags|=2),a.return=t,o.return=t,o.sibling=a,t.child=o,o=a,a=t.child,d=e.child.memoizedState,d=d===null?xa(n):{baseLanes:d.baseLanes|n,cachePool:null,transitions:d.transitions},a.memoizedState=d,a.childLanes=e.childLanes&~n,t.memoizedState=ka,o}return a=e.child,e=a.sibling,o=xn(a,{mode:"visible",children:o.children}),!(t.mode&1)&&(o.lanes=n),o.return=t,o.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function Ea(e,t){return t=sl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Qi(e,t,n,o){return o!==null&&Xs(o),wr(t,e.child,null,n),e=Ea(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function r1(e,t,n,o,l,a,d){if(n)return t.flags&256?(t.flags&=-257,o=ya(Error(s(422))),Qi(e,t,d,o)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(a=o.fallback,l=t.mode,o=sl({mode:"visible",children:o.children},l,0,null),a=bn(a,l,d,null),a.flags|=2,o.return=t,a.return=t,o.sibling=a,t.child=o,t.mode&1&&wr(t,e.child,null,d),t.child.memoizedState=xa(d),t.memoizedState=ka,a);if(!(t.mode&1))return Qi(e,t,d,null);if(l.data==="$!"){if(o=l.nextSibling&&l.nextSibling.dataset,o)var g=o.dgst;return o=g,a=Error(s(419)),o=ya(a,o,void 0),Qi(e,t,d,o)}if(g=(d&e.childLanes)!==0,ut||g){if(o=Ke,o!==null){switch(d&-d){case 4:l=2;break;case 16:l=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:l=32;break;case 536870912:l=268435456;break;default:l=0}l=l&(o.suspendedLanes|d)?0:l,l!==0&&l!==a.retryLane&&(a.retryLane=l,qt(e,l),It(o,e,l,-1))}return Fa(),o=ya(Error(s(421))),Qi(e,t,d,o)}return l.data==="$?"?(t.flags|=128,t.child=e.child,t=g1.bind(null,e),l._reactRetry=t,null):(e=a.treeContext,yt=fn(l.nextSibling),gt=t,ze=!0,Rt=null,e!==null&&(kt[xt++]=Zt,kt[xt++]=Jt,kt[xt++]=An,Zt=e.id,Jt=e.overflow,An=t),t=Ea(t,o.children),t.flags|=4096,t)}function Md(e,t,n){e.lanes|=t;var o=e.alternate;o!==null&&(o.lanes|=t),ea(e.return,t,n)}function Ca(e,t,n,o,l){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:o,tail:n,tailMode:l}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=o,a.tail=n,a.tailMode=l)}function Dd(e,t,n){var o=t.pendingProps,l=o.revealOrder,a=o.tail;if(rt(e,t,o.children,n),o=Ie.current,o&2)o=o&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&&Md(e,n,t);else if(e.tag===19)Md(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}o&=1}if(Ne(Ie,o),!(t.mode&1))t.memoizedState=null;else switch(l){case"forwards":for(n=t.child,l=null;n!==null;)e=n.alternate,e!==null&&Bi(e)===null&&(l=n),n=n.sibling;n=l,n===null?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),Ca(t,!1,l,n,a);break;case"backwards":for(n=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&Bi(e)===null){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}Ca(t,!0,n,null,a);break;case"together":Ca(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Yi(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function tn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Mn|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(s(153));if(t.child!==null){for(e=t.child,n=xn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=xn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function o1(e,t,n){switch(t.tag){case 3:Id(t),vr();break;case 5:Zf(t);break;case 1:at(t.type)&&Ai(t);break;case 4:ra(t,t.stateNode.containerInfo);break;case 10:var o=t.type._context,l=t.memoizedProps.value;Ne(Di,o._currentValue),o._currentValue=l;break;case 13:if(o=t.memoizedState,o!==null)return o.dehydrated!==null?(Ne(Ie,Ie.current&1),t.flags|=128,null):n&t.child.childLanes?Ld(e,t,n):(Ne(Ie,Ie.current&1),e=tn(e,t,n),e!==null?e.sibling:null);Ne(Ie,Ie.current&1);break;case 19:if(o=(n&t.childLanes)!==0,e.flags&128){if(o)return Dd(e,t,n);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),Ne(Ie,Ie.current),o)break;return null;case 22:case 23:return t.lanes=0,Od(e,t,n)}return tn(e,t,n)}var jd,_a,Fd,bd;jd=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}},_a=function(){},Fd=function(e,t,n,o){var l=e.memoizedProps;if(l!==o){e=t.stateNode,$n(Bt.current);var a=null;switch(n){case"input":l=es(e,l),o=es(e,o),a=[];break;case"select":l=Q({},l,{value:void 0}),o=Q({},o,{value:void 0}),a=[];break;case"textarea":l=rs(e,l),o=rs(e,o),a=[];break;default:typeof l.onClick!="function"&&typeof o.onClick=="function"&&(e.onclick=Ni)}is(n,o);var d;n=null;for(_ in l)if(!o.hasOwnProperty(_)&&l.hasOwnProperty(_)&&l[_]!=null)if(_==="style"){var g=l[_];for(d in g)g.hasOwnProperty(d)&&(n||(n={}),n[d]="")}else _!=="dangerouslySetInnerHTML"&&_!=="children"&&_!=="suppressContentEditableWarning"&&_!=="suppressHydrationWarning"&&_!=="autoFocus"&&(c.hasOwnProperty(_)?a||(a=[]):(a=a||[]).push(_,null));for(_ in o){var y=o[_];if(g=l!=null?l[_]:void 0,o.hasOwnProperty(_)&&y!==g&&(y!=null||g!=null))if(_==="style")if(g){for(d in g)!g.hasOwnProperty(d)||y&&y.hasOwnProperty(d)||(n||(n={}),n[d]="");for(d in y)y.hasOwnProperty(d)&&g[d]!==y[d]&&(n||(n={}),n[d]=y[d])}else n||(a||(a=[]),a.push(_,n)),n=y;else _==="dangerouslySetInnerHTML"?(y=y?y.__html:void 0,g=g?g.__html:void 0,y!=null&&g!==y&&(a=a||[]).push(_,y)):_==="children"?typeof y!="string"&&typeof y!="number"||(a=a||[]).push(_,""+y):_!=="suppressContentEditableWarning"&&_!=="suppressHydrationWarning"&&(c.hasOwnProperty(_)?(y!=null&&_==="onScroll"&&Re("scroll",e),a||g===y||(a=[])):(a=a||[]).push(_,y))}n&&(a=a||[]).push("style",n);var _=a;(t.updateQueue=_)&&(t.flags|=4)}},bd=function(e,t,n,o){n!==o&&(t.flags|=4)};function Po(e,t){if(!ze)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 o=null;n!==null;)n.alternate!==null&&(o=n),n=n.sibling;o===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:o.sibling=null}}function tt(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,o=0;if(t)for(var l=e.child;l!==null;)n|=l.lanes|l.childLanes,o|=l.subtreeFlags&14680064,o|=l.flags&14680064,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)n|=l.lanes|l.childLanes,o|=l.subtreeFlags,o|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=o,e.childLanes=n,t}function i1(e,t,n){var o=t.pendingProps;switch(Gs(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return tt(t),null;case 1:return at(t.type)&&Oi(),tt(t),null;case 3:return o=t.stateNode,xr(),Oe(st),Oe(qe),la(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(e===null||e.child===null)&&(Li(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Rt!==null&&(Ma(Rt),Rt=null))),_a(e,t),tt(t),null;case 5:oa(t);var l=$n(xo.current);if(n=t.type,e!==null&&t.stateNode!=null)Fd(e,t,n,o,l),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!o){if(t.stateNode===null)throw Error(s(166));return tt(t),null}if(e=$n(Bt.current),Li(t)){o=t.stateNode,n=t.type;var a=t.memoizedProps;switch(o[bt]=t,o[yo]=a,e=(t.mode&1)!==0,n){case"dialog":Re("cancel",o),Re("close",o);break;case"iframe":case"object":case"embed":Re("load",o);break;case"video":case"audio":for(l=0;l<mo.length;l++)Re(mo[l],o);break;case"source":Re("error",o);break;case"img":case"image":case"link":Re("error",o),Re("load",o);break;case"details":Re("toggle",o);break;case"input":wc(o,a),Re("invalid",o);break;case"select":o._wrapperState={wasMultiple:!!a.multiple},Re("invalid",o);break;case"textarea":xc(o,a),Re("invalid",o)}is(n,a),l=null;for(var d in a)if(a.hasOwnProperty(d)){var g=a[d];d==="children"?typeof g=="string"?o.textContent!==g&&(a.suppressHydrationWarning!==!0&&Pi(o.textContent,g,e),l=["children",g]):typeof g=="number"&&o.textContent!==""+g&&(a.suppressHydrationWarning!==!0&&Pi(o.textContent,g,e),l=["children",""+g]):c.hasOwnProperty(d)&&g!=null&&d==="onScroll"&&Re("scroll",o)}switch(n){case"input":nr(o),kc(o,a,!0);break;case"textarea":nr(o),Cc(o);break;case"select":case"option":break;default:typeof a.onClick=="function"&&(o.onclick=Ni)}o=l,t.updateQueue=o,o!==null&&(t.flags|=4)}else{d=l.nodeType===9?l:l.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=_c(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=d.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof o.is=="string"?e=d.createElement(n,{is:o.is}):(e=d.createElement(n),n==="select"&&(d=e,o.multiple?d.multiple=!0:o.size&&(d.size=o.size))):e=d.createElementNS(e,n),e[bt]=t,e[yo]=o,jd(e,t,!1,!1),t.stateNode=e;e:{switch(d=ls(n,o),n){case"dialog":Re("cancel",e),Re("close",e),l=o;break;case"iframe":case"object":case"embed":Re("load",e),l=o;break;case"video":case"audio":for(l=0;l<mo.length;l++)Re(mo[l],e);l=o;break;case"source":Re("error",e),l=o;break;case"img":case"image":case"link":Re("error",e),Re("load",e),l=o;break;case"details":Re("toggle",e),l=o;break;case"input":wc(e,o),l=es(e,o),Re("invalid",e);break;case"option":l=o;break;case"select":e._wrapperState={wasMultiple:!!o.multiple},l=Q({},o,{value:void 0}),Re("invalid",e);break;case"textarea":xc(e,o),l=rs(e,o),Re("invalid",e);break;default:l=o}is(n,l),g=l;for(a in g)if(g.hasOwnProperty(a)){var y=g[a];a==="style"?Nc(e,y):a==="dangerouslySetInnerHTML"?(y=y?y.__html:void 0,y!=null&&Tc(e,y)):a==="children"?typeof y=="string"?(n!=="textarea"||y!=="")&&Qr(e,y):typeof y=="number"&&Qr(e,""+y):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(c.hasOwnProperty(a)?y!=null&&a==="onScroll"&&Re("scroll",e):y!=null&&M(e,a,y,d))}switch(n){case"input":nr(e),kc(e,o,!1);break;case"textarea":nr(e),Cc(e);break;case"option":o.value!=null&&e.setAttribute("value",""+xe(o.value));break;case"select":e.multiple=!!o.multiple,a=o.value,a!=null?rr(e,!!o.multiple,a,!1):o.defaultValue!=null&&rr(e,!!o.multiple,o.defaultValue,!0);break;default:typeof l.onClick=="function"&&(e.onclick=Ni)}switch(n){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}}o&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return tt(t),null;case 6:if(e&&t.stateNode!=null)bd(e,t,e.memoizedProps,o);else{if(typeof o!="string"&&t.stateNode===null)throw Error(s(166));if(n=$n(xo.current),$n(Bt.current),Li(t)){if(o=t.stateNode,n=t.memoizedProps,o[bt]=t,(a=o.nodeValue!==n)&&(e=gt,e!==null))switch(e.tag){case 3:Pi(o.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Pi(o.nodeValue,n,(e.mode&1)!==0)}a&&(t.flags|=4)}else o=(n.nodeType===9?n:n.ownerDocument).createTextNode(o),o[bt]=t,t.stateNode=o}return tt(t),null;case 13:if(Oe(Ie),o=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ze&&yt!==null&&t.mode&1&&!(t.flags&128))Wf(),vr(),t.flags|=98560,a=!1;else if(a=Li(t),o!==null&&o.dehydrated!==null){if(e===null){if(!a)throw Error(s(318));if(a=t.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(s(317));a[bt]=t}else vr(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;tt(t),a=!1}else Rt!==null&&(Ma(Rt),Rt=null),a=!0;if(!a)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(o=o!==null,o!==(e!==null&&e.memoizedState!==null)&&o&&(t.child.flags|=8192,t.mode&1&&(e===null||Ie.current&1?Ve===0&&(Ve=3):Fa())),t.updateQueue!==null&&(t.flags|=4),tt(t),null);case 4:return xr(),_a(e,t),e===null&&ho(t.stateNode.containerInfo),tt(t),null;case 10:return qs(t.type._context),tt(t),null;case 17:return at(t.type)&&Oi(),tt(t),null;case 19:if(Oe(Ie),a=t.memoizedState,a===null)return tt(t),null;if(o=(t.flags&128)!==0,d=a.rendering,d===null)if(o)Po(a,!1);else{if(Ve!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(d=Bi(e),d!==null){for(t.flags|=128,Po(a,!1),o=d.updateQueue,o!==null&&(t.updateQueue=o,t.flags|=4),t.subtreeFlags=0,o=n,n=t.child;n!==null;)a=n,e=o,a.flags&=14680066,d=a.alternate,d===null?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=d.childLanes,a.lanes=d.lanes,a.child=d.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=d.memoizedProps,a.memoizedState=d.memoizedState,a.updateQueue=d.updateQueue,a.type=d.type,e=d.dependencies,a.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Ne(Ie,Ie.current&1|2),t.child}e=e.sibling}a.tail!==null&&Fe()>Tr&&(t.flags|=128,o=!0,Po(a,!1),t.lanes=4194304)}else{if(!o)if(e=Bi(d),e!==null){if(t.flags|=128,o=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Po(a,!0),a.tail===null&&a.tailMode==="hidden"&&!d.alternate&&!ze)return tt(t),null}else 2*Fe()-a.renderingStartTime>Tr&&n!==1073741824&&(t.flags|=128,o=!0,Po(a,!1),t.lanes=4194304);a.isBackwards?(d.sibling=t.child,t.child=d):(n=a.last,n!==null?n.sibling=d:t.child=d,a.last=d)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Fe(),t.sibling=null,n=Ie.current,Ne(Ie,o?n&1|2:n&1),t):(tt(t),null);case 22:case 23:return ja(),o=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==o&&(t.flags|=8192),o&&t.mode&1?vt&1073741824&&(tt(t),t.subtreeFlags&6&&(t.flags|=8192)):tt(t),null;case 24:return null;case 25:return null}throw Error(s(156,t.tag))}function l1(e,t){switch(Gs(t),t.tag){case 1:return at(t.type)&&Oi(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return xr(),Oe(st),Oe(qe),la(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return oa(t),null;case 13:if(Oe(Ie),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(s(340));vr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Oe(Ie),null;case 4:return xr(),null;case 10:return qs(t.type._context),null;case 22:case 23:return ja(),null;case 24:return null;default:return null}}var Xi=!1,nt=!1,s1=typeof WeakSet=="function"?WeakSet:Set,Y=null;function Cr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(o){De(e,t,o)}else n.current=null}function Ta(e,t,n){try{n()}catch(o){De(e,t,o)}}var Bd=!1;function a1(e,t){if(js=gi,e=wf(),Os(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var o=n.getSelection&&n.getSelection();if(o&&o.rangeCount!==0){n=o.anchorNode;var l=o.anchorOffset,a=o.focusNode;o=o.focusOffset;try{n.nodeType,a.nodeType}catch{n=null;break e}var d=0,g=-1,y=-1,_=0,I=0,L=e,z=null;t:for(;;){for(var G;L!==n||l!==0&&L.nodeType!==3||(g=d+l),L!==a||o!==0&&L.nodeType!==3||(y=d+o),L.nodeType===3&&(d+=L.nodeValue.length),(G=L.firstChild)!==null;)z=L,L=G;for(;;){if(L===e)break t;if(z===n&&++_===l&&(g=d),z===a&&++I===o&&(y=d),(G=L.nextSibling)!==null)break;L=z,z=L.parentNode}L=G}n=g===-1||y===-1?null:{start:g,end:y}}else n=null}n=n||{start:0,end:0}}else n=null;for(Fs={focusedElem:e,selectionRange:n},gi=!1,Y=t;Y!==null;)if(t=Y,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Y=e;else for(;Y!==null;){t=Y;try{var X=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(X!==null){var Z=X.memoizedProps,be=X.memoizedState,k=t.stateNode,w=k.getSnapshotBeforeUpdate(t.elementType===t.type?Z:Ot(t.type,Z),be);k.__reactInternalSnapshotBeforeUpdate=w}break;case 3:var x=t.stateNode.containerInfo;x.nodeType===1?x.textContent="":x.nodeType===9&&x.documentElement&&x.removeChild(x.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(s(163))}}catch(j){De(t,t.return,j)}if(e=t.sibling,e!==null){e.return=t.return,Y=e;break}Y=t.return}return X=Bd,Bd=!1,X}function No(e,t,n){var o=t.updateQueue;if(o=o!==null?o.lastEffect:null,o!==null){var l=o=o.next;do{if((l.tag&e)===e){var a=l.destroy;l.destroy=void 0,a!==void 0&&Ta(t,n,a)}l=l.next}while(l!==o)}}function Zi(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 o=n.create;n.destroy=o()}n=n.next}while(n!==t)}}function Pa(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 Ud(e){var t=e.alternate;t!==null&&(e.alternate=null,Ud(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[bt],delete t[yo],delete t[Ws],delete t[Vy],delete t[Hy])),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 Wd(e){return e.tag===5||e.tag===3||e.tag===4}function Vd(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Wd(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 Na(e,t,n){var o=e.tag;if(o===5||o===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=Ni));else if(o!==4&&(e=e.child,e!==null))for(Na(e,t,n),e=e.sibling;e!==null;)Na(e,t,n),e=e.sibling}function Ra(e,t,n){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(o!==4&&(e=e.child,e!==null))for(Ra(e,t,n),e=e.sibling;e!==null;)Ra(e,t,n),e=e.sibling}var Ye=null,At=!1;function yn(e,t,n){for(n=n.child;n!==null;)Hd(e,t,n),n=n.sibling}function Hd(e,t,n){if(Ft&&typeof Ft.onCommitFiberUnmount=="function")try{Ft.onCommitFiberUnmount(ci,n)}catch{}switch(n.tag){case 5:nt||Cr(n,t);case 6:var o=Ye,l=At;Ye=null,yn(e,t,n),Ye=o,At=l,Ye!==null&&(At?(e=Ye,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ye.removeChild(n.stateNode));break;case 18:Ye!==null&&(At?(e=Ye,n=n.stateNode,e.nodeType===8?Us(e.parentNode,n):e.nodeType===1&&Us(e,n),io(e)):Us(Ye,n.stateNode));break;case 4:o=Ye,l=At,Ye=n.stateNode.containerInfo,At=!0,yn(e,t,n),Ye=o,At=l;break;case 0:case 11:case 14:case 15:if(!nt&&(o=n.updateQueue,o!==null&&(o=o.lastEffect,o!==null))){l=o=o.next;do{var a=l,d=a.destroy;a=a.tag,d!==void 0&&(a&2||a&4)&&Ta(n,t,d),l=l.next}while(l!==o)}yn(e,t,n);break;case 1:if(!nt&&(Cr(n,t),o=n.stateNode,typeof o.componentWillUnmount=="function"))try{o.props=n.memoizedProps,o.state=n.memoizedState,o.componentWillUnmount()}catch(g){De(n,t,g)}yn(e,t,n);break;case 21:yn(e,t,n);break;case 22:n.mode&1?(nt=(o=nt)||n.memoizedState!==null,yn(e,t,n),nt=o):yn(e,t,n);break;default:yn(e,t,n)}}function Kd(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new s1),t.forEach(function(o){var l=y1.bind(null,e,o);n.has(o)||(n.add(o),o.then(l,l))})}}function zt(e,t){var n=t.deletions;if(n!==null)for(var o=0;o<n.length;o++){var l=n[o];try{var a=e,d=t,g=d;e:for(;g!==null;){switch(g.tag){case 5:Ye=g.stateNode,At=!1;break e;case 3:Ye=g.stateNode.containerInfo,At=!0;break e;case 4:Ye=g.stateNode.containerInfo,At=!0;break e}g=g.return}if(Ye===null)throw Error(s(160));Hd(a,d,l),Ye=null,At=!1;var y=l.alternate;y!==null&&(y.return=null),l.return=null}catch(_){De(l,t,_)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Gd(t,e),t=t.sibling}function Gd(e,t){var n=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(zt(t,e),Wt(e),o&4){try{No(3,e,e.return),Zi(3,e)}catch(Z){De(e,e.return,Z)}try{No(5,e,e.return)}catch(Z){De(e,e.return,Z)}}break;case 1:zt(t,e),Wt(e),o&512&&n!==null&&Cr(n,n.return);break;case 5:if(zt(t,e),Wt(e),o&512&&n!==null&&Cr(n,n.return),e.flags&32){var l=e.stateNode;try{Qr(l,"")}catch(Z){De(e,e.return,Z)}}if(o&4&&(l=e.stateNode,l!=null)){var a=e.memoizedProps,d=n!==null?n.memoizedProps:a,g=e.type,y=e.updateQueue;if(e.updateQueue=null,y!==null)try{g==="input"&&a.type==="radio"&&a.name!=null&&Sc(l,a),ls(g,d);var _=ls(g,a);for(d=0;d<y.length;d+=2){var I=y[d],L=y[d+1];I==="style"?Nc(l,L):I==="dangerouslySetInnerHTML"?Tc(l,L):I==="children"?Qr(l,L):M(l,I,L,_)}switch(g){case"input":ts(l,a);break;case"textarea":Ec(l,a);break;case"select":var z=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!a.multiple;var G=a.value;G!=null?rr(l,!!a.multiple,G,!1):z!==!!a.multiple&&(a.defaultValue!=null?rr(l,!!a.multiple,a.defaultValue,!0):rr(l,!!a.multiple,a.multiple?[]:"",!1))}l[yo]=a}catch(Z){De(e,e.return,Z)}}break;case 6:if(zt(t,e),Wt(e),o&4){if(e.stateNode===null)throw Error(s(162));l=e.stateNode,a=e.memoizedProps;try{l.nodeValue=a}catch(Z){De(e,e.return,Z)}}break;case 3:if(zt(t,e),Wt(e),o&4&&n!==null&&n.memoizedState.isDehydrated)try{io(t.containerInfo)}catch(Z){De(e,e.return,Z)}break;case 4:zt(t,e),Wt(e);break;case 13:zt(t,e),Wt(e),l=e.child,l.flags&8192&&(a=l.memoizedState!==null,l.stateNode.isHidden=a,!a||l.alternate!==null&&l.alternate.memoizedState!==null||(za=Fe())),o&4&&Kd(e);break;case 22:if(I=n!==null&&n.memoizedState!==null,e.mode&1?(nt=(_=nt)||I,zt(t,e),nt=_):zt(t,e),Wt(e),o&8192){if(_=e.memoizedState!==null,(e.stateNode.isHidden=_)&&!I&&e.mode&1)for(Y=e,I=e.child;I!==null;){for(L=Y=I;Y!==null;){switch(z=Y,G=z.child,z.tag){case 0:case 11:case 14:case 15:No(4,z,z.return);break;case 1:Cr(z,z.return);var X=z.stateNode;if(typeof X.componentWillUnmount=="function"){o=z,n=z.return;try{t=o,X.props=t.memoizedProps,X.state=t.memoizedState,X.componentWillUnmount()}catch(Z){De(o,n,Z)}}break;case 5:Cr(z,z.return);break;case 22:if(z.memoizedState!==null){Xd(L);continue}}G!==null?(G.return=z,Y=G):Xd(L)}I=I.sibling}e:for(I=null,L=e;;){if(L.tag===5){if(I===null){I=L;try{l=L.stateNode,_?(a=l.style,typeof a.setProperty=="function"?a.setProperty("display","none","important"):a.display="none"):(g=L.stateNode,y=L.memoizedProps.style,d=y!=null&&y.hasOwnProperty("display")?y.display:null,g.style.display=Pc("display",d))}catch(Z){De(e,e.return,Z)}}}else if(L.tag===6){if(I===null)try{L.stateNode.nodeValue=_?"":L.memoizedProps}catch(Z){De(e,e.return,Z)}}else if((L.tag!==22&&L.tag!==23||L.memoizedState===null||L===e)&&L.child!==null){L.child.return=L,L=L.child;continue}if(L===e)break e;for(;L.sibling===null;){if(L.return===null||L.return===e)break e;I===L&&(I=null),L=L.return}I===L&&(I=null),L.sibling.return=L.return,L=L.sibling}}break;case 19:zt(t,e),Wt(e),o&4&&Kd(e);break;case 21:break;default:zt(t,e),Wt(e)}}function Wt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Wd(n)){var o=n;break e}n=n.return}throw Error(s(160))}switch(o.tag){case 5:var l=o.stateNode;o.flags&32&&(Qr(l,""),o.flags&=-33);var a=Vd(e);Ra(e,a,l);break;case 3:case 4:var d=o.stateNode.containerInfo,g=Vd(e);Na(e,g,d);break;default:throw Error(s(161))}}catch(y){De(e,e.return,y)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function u1(e,t,n){Y=e,Qd(e)}function Qd(e,t,n){for(var o=(e.mode&1)!==0;Y!==null;){var l=Y,a=l.child;if(l.tag===22&&o){var d=l.memoizedState!==null||Xi;if(!d){var g=l.alternate,y=g!==null&&g.memoizedState!==null||nt;g=Xi;var _=nt;if(Xi=d,(nt=y)&&!_)for(Y=l;Y!==null;)d=Y,y=d.child,d.tag===22&&d.memoizedState!==null?Zd(l):y!==null?(y.return=d,Y=y):Zd(l);for(;a!==null;)Y=a,Qd(a),a=a.sibling;Y=l,Xi=g,nt=_}Yd(e)}else l.subtreeFlags&8772&&a!==null?(a.return=l,Y=a):Yd(e)}}function Yd(e){for(;Y!==null;){var t=Y;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:nt||Zi(5,t);break;case 1:var o=t.stateNode;if(t.flags&4&&!nt)if(n===null)o.componentDidMount();else{var l=t.elementType===t.type?n.memoizedProps:Ot(t.type,n.memoizedProps);o.componentDidUpdate(l,n.memoizedState,o.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;a!==null&&Xf(t,a,o);break;case 3:var d=t.updateQueue;if(d!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Xf(t,d,n)}break;case 5:var g=t.stateNode;if(n===null&&t.flags&4){n=g;var y=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":y.autoFocus&&n.focus();break;case"img":y.src&&(n.src=y.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var _=t.alternate;if(_!==null){var I=_.memoizedState;if(I!==null){var L=I.dehydrated;L!==null&&io(L)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(s(163))}nt||t.flags&512&&Pa(t)}catch(z){De(t,t.return,z)}}if(t===e){Y=null;break}if(n=t.sibling,n!==null){n.return=t.return,Y=n;break}Y=t.return}}function Xd(e){for(;Y!==null;){var t=Y;if(t===e){Y=null;break}var n=t.sibling;if(n!==null){n.return=t.return,Y=n;break}Y=t.return}}function Zd(e){for(;Y!==null;){var t=Y;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Zi(4,t)}catch(y){De(t,n,y)}break;case 1:var o=t.stateNode;if(typeof o.componentDidMount=="function"){var l=t.return;try{o.componentDidMount()}catch(y){De(t,l,y)}}var a=t.return;try{Pa(t)}catch(y){De(t,a,y)}break;case 5:var d=t.return;try{Pa(t)}catch(y){De(t,d,y)}}}catch(y){De(t,t.return,y)}if(t===e){Y=null;break}var g=t.sibling;if(g!==null){g.return=t.return,Y=g;break}Y=t.return}}var c1=Math.ceil,Ji=F.ReactCurrentDispatcher,Oa=F.ReactCurrentOwner,_t=F.ReactCurrentBatchConfig,ve=0,Ke=null,Ue=null,Xe=0,vt=0,_r=dn(0),Ve=0,Ro=null,Mn=0,qi=0,Aa=0,Oo=null,ct=null,za=0,Tr=1/0,nn=null,el=!1,Ia=null,vn=null,tl=!1,wn=null,nl=0,Ao=0,$a=null,rl=-1,ol=0;function ot(){return ve&6?Fe():rl!==-1?rl:rl=Fe()}function Sn(e){return e.mode&1?ve&2&&Xe!==0?Xe&-Xe:Gy.transition!==null?(ol===0&&(ol=Wc()),ol):(e=Ee,e!==0||(e=window.event,e=e===void 0?16:Jc(e.type)),e):1}function It(e,t,n,o){if(50<Ao)throw Ao=0,$a=null,Error(s(185));eo(e,n,o),(!(ve&2)||e!==Ke)&&(e===Ke&&(!(ve&2)&&(qi|=n),Ve===4&&kn(e,Xe)),ft(e,o),n===1&&ve===0&&!(t.mode&1)&&(Tr=Fe()+500,zi&&mn()))}function ft(e,t){var n=e.callbackNode;Gg(e,t);var o=pi(e,e===Ke?Xe:0);if(o===0)n!==null&&bc(n),e.callbackNode=null,e.callbackPriority=0;else if(t=o&-o,e.callbackPriority!==t){if(n!=null&&bc(n),t===1)e.tag===0?Ky(qd.bind(null,e)):jf(qd.bind(null,e)),Uy(function(){!(ve&6)&&mn()}),n=null;else{switch(Vc(o)){case 1:n=ps;break;case 4:n=Bc;break;case 16:n=ui;break;case 536870912:n=Uc;break;default:n=ui}n=sp(n,Jd.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Jd(e,t){if(rl=-1,ol=0,ve&6)throw Error(s(327));var n=e.callbackNode;if(Pr()&&e.callbackNode!==n)return null;var o=pi(e,e===Ke?Xe:0);if(o===0)return null;if(o&30||o&e.expiredLanes||t)t=il(e,o);else{t=o;var l=ve;ve|=2;var a=tp();(Ke!==e||Xe!==t)&&(nn=null,Tr=Fe()+500,jn(e,t));do try{p1();break}catch(g){ep(e,g)}while(!0);Js(),Ji.current=a,ve=l,Ue!==null?t=0:(Ke=null,Xe=0,t=Ve)}if(t!==0){if(t===2&&(l=ms(e),l!==0&&(o=l,t=La(e,l))),t===1)throw n=Ro,jn(e,0),kn(e,o),ft(e,Fe()),n;if(t===6)kn(e,o);else{if(l=e.current.alternate,!(o&30)&&!f1(l)&&(t=il(e,o),t===2&&(a=ms(e),a!==0&&(o=a,t=La(e,a))),t===1))throw n=Ro,jn(e,0),kn(e,o),ft(e,Fe()),n;switch(e.finishedWork=l,e.finishedLanes=o,t){case 0:case 1:throw Error(s(345));case 2:Fn(e,ct,nn);break;case 3:if(kn(e,o),(o&130023424)===o&&(t=za+500-Fe(),10<t)){if(pi(e,0)!==0)break;if(l=e.suspendedLanes,(l&o)!==o){ot(),e.pingedLanes|=e.suspendedLanes&l;break}e.timeoutHandle=Bs(Fn.bind(null,e,ct,nn),t);break}Fn(e,ct,nn);break;case 4:if(kn(e,o),(o&4194240)===o)break;for(t=e.eventTimes,l=-1;0<o;){var d=31-Pt(o);a=1<<d,d=t[d],d>l&&(l=d),o&=~a}if(o=l,o=Fe()-o,o=(120>o?120:480>o?480:1080>o?1080:1920>o?1920:3e3>o?3e3:4320>o?4320:1960*c1(o/1960))-o,10<o){e.timeoutHandle=Bs(Fn.bind(null,e,ct,nn),o);break}Fn(e,ct,nn);break;case 5:Fn(e,ct,nn);break;default:throw Error(s(329))}}}return ft(e,Fe()),e.callbackNode===n?Jd.bind(null,e):null}function La(e,t){var n=Oo;return e.current.memoizedState.isDehydrated&&(jn(e,t).flags|=256),e=il(e,t),e!==2&&(t=ct,ct=n,t!==null&&Ma(t)),e}function Ma(e){ct===null?ct=e:ct.push.apply(ct,e)}function f1(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var o=0;o<n.length;o++){var l=n[o],a=l.getSnapshot;l=l.value;try{if(!Nt(a(),l))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 kn(e,t){for(t&=~Aa,t&=~qi,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Pt(t),o=1<<n;e[n]=-1,t&=~o}}function qd(e){if(ve&6)throw Error(s(327));Pr();var t=pi(e,0);if(!(t&1))return ft(e,Fe()),null;var n=il(e,t);if(e.tag!==0&&n===2){var o=ms(e);o!==0&&(t=o,n=La(e,o))}if(n===1)throw n=Ro,jn(e,0),kn(e,t),ft(e,Fe()),n;if(n===6)throw Error(s(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Fn(e,ct,nn),ft(e,Fe()),null}function Da(e,t){var n=ve;ve|=1;try{return e(t)}finally{ve=n,ve===0&&(Tr=Fe()+500,zi&&mn())}}function Dn(e){wn!==null&&wn.tag===0&&!(ve&6)&&Pr();var t=ve;ve|=1;var n=_t.transition,o=Ee;try{if(_t.transition=null,Ee=1,e)return e()}finally{Ee=o,_t.transition=n,ve=t,!(ve&6)&&mn()}}function ja(){vt=_r.current,Oe(_r)}function jn(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,By(n)),Ue!==null)for(n=Ue.return;n!==null;){var o=n;switch(Gs(o),o.tag){case 1:o=o.type.childContextTypes,o!=null&&Oi();break;case 3:xr(),Oe(st),Oe(qe),la();break;case 5:oa(o);break;case 4:xr();break;case 13:Oe(Ie);break;case 19:Oe(Ie);break;case 10:qs(o.type._context);break;case 22:case 23:ja()}n=n.return}if(Ke=e,Ue=e=xn(e.current,null),Xe=vt=t,Ve=0,Ro=null,Aa=qi=Mn=0,ct=Oo=null,In!==null){for(t=0;t<In.length;t++)if(n=In[t],o=n.interleaved,o!==null){n.interleaved=null;var l=o.next,a=n.pending;if(a!==null){var d=a.next;a.next=l,o.next=d}n.pending=o}In=null}return e}function ep(e,t){do{var n=Ue;try{if(Js(),Ui.current=Ki,Wi){for(var o=$e.memoizedState;o!==null;){var l=o.queue;l!==null&&(l.pending=null),o=o.next}Wi=!1}if(Ln=0,He=We=$e=null,Eo=!1,Co=0,Oa.current=null,n===null||n.return===null){Ve=1,Ro=t,Ue=null;break}e:{var a=e,d=n.return,g=n,y=t;if(t=Xe,g.flags|=32768,y!==null&&typeof y=="object"&&typeof y.then=="function"){var _=y,I=g,L=I.tag;if(!(I.mode&1)&&(L===0||L===11||L===15)){var z=I.alternate;z?(I.updateQueue=z.updateQueue,I.memoizedState=z.memoizedState,I.lanes=z.lanes):(I.updateQueue=null,I.memoizedState=null)}var G=_d(d);if(G!==null){G.flags&=-257,Td(G,d,g,a,t),G.mode&1&&Cd(a,_,t),t=G,y=_;var X=t.updateQueue;if(X===null){var Z=new Set;Z.add(y),t.updateQueue=Z}else X.add(y);break e}else{if(!(t&1)){Cd(a,_,t),Fa();break e}y=Error(s(426))}}else if(ze&&g.mode&1){var be=_d(d);if(be!==null){!(be.flags&65536)&&(be.flags|=256),Td(be,d,g,a,t),Xs(Er(y,g));break e}}a=y=Er(y,g),Ve!==4&&(Ve=2),Oo===null?Oo=[a]:Oo.push(a),a=d;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t;var k=xd(a,y,t);Yf(a,k);break e;case 1:g=y;var w=a.type,x=a.stateNode;if(!(a.flags&128)&&(typeof w.getDerivedStateFromError=="function"||x!==null&&typeof x.componentDidCatch=="function"&&(vn===null||!vn.has(x)))){a.flags|=65536,t&=-t,a.lanes|=t;var j=Ed(a,g,t);Yf(a,j);break e}}a=a.return}while(a!==null)}rp(n)}catch(q){t=q,Ue===n&&n!==null&&(Ue=n=n.return);continue}break}while(!0)}function tp(){var e=Ji.current;return Ji.current=Ki,e===null?Ki:e}function Fa(){(Ve===0||Ve===3||Ve===2)&&(Ve=4),Ke===null||!(Mn&268435455)&&!(qi&268435455)||kn(Ke,Xe)}function il(e,t){var n=ve;ve|=2;var o=tp();(Ke!==e||Xe!==t)&&(nn=null,jn(e,t));do try{d1();break}catch(l){ep(e,l)}while(!0);if(Js(),ve=n,Ji.current=o,Ue!==null)throw Error(s(261));return Ke=null,Xe=0,Ve}function d1(){for(;Ue!==null;)np(Ue)}function p1(){for(;Ue!==null&&!jg();)np(Ue)}function np(e){var t=lp(e.alternate,e,vt);e.memoizedProps=e.pendingProps,t===null?rp(e):Ue=t,Oa.current=null}function rp(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=l1(n,t),n!==null){n.flags&=32767,Ue=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ve=6,Ue=null;return}}else if(n=i1(n,t,vt),n!==null){Ue=n;return}if(t=t.sibling,t!==null){Ue=t;return}Ue=t=e}while(t!==null);Ve===0&&(Ve=5)}function Fn(e,t,n){var o=Ee,l=_t.transition;try{_t.transition=null,Ee=1,m1(e,t,n,o)}finally{_t.transition=l,Ee=o}return null}function m1(e,t,n,o){do Pr();while(wn!==null);if(ve&6)throw Error(s(327));n=e.finishedWork;var l=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(s(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(Qg(e,a),e===Ke&&(Ue=Ke=null,Xe=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||tl||(tl=!0,sp(ui,function(){return Pr(),null})),a=(n.flags&15990)!==0,n.subtreeFlags&15990||a){a=_t.transition,_t.transition=null;var d=Ee;Ee=1;var g=ve;ve|=4,Oa.current=null,a1(e,n),Gd(n,e),$y(Fs),gi=!!js,Fs=js=null,e.current=n,u1(n),Fg(),ve=g,Ee=d,_t.transition=a}else e.current=n;if(tl&&(tl=!1,wn=e,nl=l),a=e.pendingLanes,a===0&&(vn=null),Ug(n.stateNode),ft(e,Fe()),t!==null)for(o=e.onRecoverableError,n=0;n<t.length;n++)l=t[n],o(l.value,{componentStack:l.stack,digest:l.digest});if(el)throw el=!1,e=Ia,Ia=null,e;return nl&1&&e.tag!==0&&Pr(),a=e.pendingLanes,a&1?e===$a?Ao++:(Ao=0,$a=e):Ao=0,mn(),null}function Pr(){if(wn!==null){var e=Vc(nl),t=_t.transition,n=Ee;try{if(_t.transition=null,Ee=16>e?16:e,wn===null)var o=!1;else{if(e=wn,wn=null,nl=0,ve&6)throw Error(s(331));var l=ve;for(ve|=4,Y=e.current;Y!==null;){var a=Y,d=a.child;if(Y.flags&16){var g=a.deletions;if(g!==null){for(var y=0;y<g.length;y++){var _=g[y];for(Y=_;Y!==null;){var I=Y;switch(I.tag){case 0:case 11:case 15:No(8,I,a)}var L=I.child;if(L!==null)L.return=I,Y=L;else for(;Y!==null;){I=Y;var z=I.sibling,G=I.return;if(Ud(I),I===_){Y=null;break}if(z!==null){z.return=G,Y=z;break}Y=G}}}var X=a.alternate;if(X!==null){var Z=X.child;if(Z!==null){X.child=null;do{var be=Z.sibling;Z.sibling=null,Z=be}while(Z!==null)}}Y=a}}if(a.subtreeFlags&2064&&d!==null)d.return=a,Y=d;else e:for(;Y!==null;){if(a=Y,a.flags&2048)switch(a.tag){case 0:case 11:case 15:No(9,a,a.return)}var k=a.sibling;if(k!==null){k.return=a.return,Y=k;break e}Y=a.return}}var w=e.current;for(Y=w;Y!==null;){d=Y;var x=d.child;if(d.subtreeFlags&2064&&x!==null)x.return=d,Y=x;else e:for(d=w;Y!==null;){if(g=Y,g.flags&2048)try{switch(g.tag){case 0:case 11:case 15:Zi(9,g)}}catch(q){De(g,g.return,q)}if(g===d){Y=null;break e}var j=g.sibling;if(j!==null){j.return=g.return,Y=j;break e}Y=g.return}}if(ve=l,mn(),Ft&&typeof Ft.onPostCommitFiberRoot=="function")try{Ft.onPostCommitFiberRoot(ci,e)}catch{}o=!0}return o}finally{Ee=n,_t.transition=t}}return!1}function op(e,t,n){t=Er(n,t),t=xd(e,t,1),e=gn(e,t,1),t=ot(),e!==null&&(eo(e,1,t),ft(e,t))}function De(e,t,n){if(e.tag===3)op(e,e,n);else for(;t!==null;){if(t.tag===3){op(t,e,n);break}else if(t.tag===1){var o=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(vn===null||!vn.has(o))){e=Er(n,e),e=Ed(t,e,1),t=gn(t,e,1),e=ot(),t!==null&&(eo(t,1,e),ft(t,e));break}}t=t.return}}function h1(e,t,n){var o=e.pingCache;o!==null&&o.delete(t),t=ot(),e.pingedLanes|=e.suspendedLanes&n,Ke===e&&(Xe&n)===n&&(Ve===4||Ve===3&&(Xe&130023424)===Xe&&500>Fe()-za?jn(e,0):Aa|=n),ft(e,t)}function ip(e,t){t===0&&(e.mode&1?(t=di,di<<=1,!(di&130023424)&&(di=4194304)):t=1);var n=ot();e=qt(e,t),e!==null&&(eo(e,t,n),ft(e,n))}function g1(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),ip(e,n)}function y1(e,t){var n=0;switch(e.tag){case 13:var o=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:o=e.stateNode;break;default:throw Error(s(314))}o!==null&&o.delete(t),ip(e,n)}var lp;lp=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||st.current)ut=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return ut=!1,o1(e,t,n);ut=!!(e.flags&131072)}else ut=!1,ze&&t.flags&1048576&&Ff(t,$i,t.index);switch(t.lanes=0,t.tag){case 2:var o=t.type;Yi(e,t),e=t.pendingProps;var l=hr(t,qe.current);kr(t,n),l=ua(null,t,o,e,l,n);var a=ca();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,at(o)?(a=!0,Ai(t)):a=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,na(t),l.updater=Gi,t.stateNode=l,l._reactInternals=t,ga(t,o,e,n),t=Sa(null,t,o,!0,a,n)):(t.tag=0,ze&&a&&Ks(t),rt(null,t,l,n),t=t.child),t;case 16:o=t.elementType;e:{switch(Yi(e,t),e=t.pendingProps,l=o._init,o=l(o._payload),t.type=o,l=t.tag=w1(o),e=Ot(o,e),l){case 0:t=wa(null,t,o,e,n);break e;case 1:t=zd(null,t,o,e,n);break e;case 11:t=Pd(null,t,o,e,n);break e;case 14:t=Nd(null,t,o,Ot(o.type,e),n);break e}throw Error(s(306,o,""))}return t;case 0:return o=t.type,l=t.pendingProps,l=t.elementType===o?l:Ot(o,l),wa(e,t,o,l,n);case 1:return o=t.type,l=t.pendingProps,l=t.elementType===o?l:Ot(o,l),zd(e,t,o,l,n);case 3:e:{if(Id(t),e===null)throw Error(s(387));o=t.pendingProps,a=t.memoizedState,l=a.element,Qf(e,t),bi(t,o,null,n);var d=t.memoizedState;if(o=d.element,a.isDehydrated)if(a={element:o,isDehydrated:!1,cache:d.cache,pendingSuspenseBoundaries:d.pendingSuspenseBoundaries,transitions:d.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){l=Er(Error(s(423)),t),t=$d(e,t,o,n,l);break e}else if(o!==l){l=Er(Error(s(424)),t),t=$d(e,t,o,n,l);break e}else for(yt=fn(t.stateNode.containerInfo.firstChild),gt=t,ze=!0,Rt=null,n=Kf(t,null,o,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(vr(),o===l){t=tn(e,t,n);break e}rt(e,t,o,n)}t=t.child}return t;case 5:return Zf(t),e===null&&Ys(t),o=t.type,l=t.pendingProps,a=e!==null?e.memoizedProps:null,d=l.children,bs(o,l)?d=null:a!==null&&bs(o,a)&&(t.flags|=32),Ad(e,t),rt(e,t,d,n),t.child;case 6:return e===null&&Ys(t),null;case 13:return Ld(e,t,n);case 4:return ra(t,t.stateNode.containerInfo),o=t.pendingProps,e===null?t.child=wr(t,null,o,n):rt(e,t,o,n),t.child;case 11:return o=t.type,l=t.pendingProps,l=t.elementType===o?l:Ot(o,l),Pd(e,t,o,l,n);case 7:return rt(e,t,t.pendingProps,n),t.child;case 8:return rt(e,t,t.pendingProps.children,n),t.child;case 12:return rt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(o=t.type._context,l=t.pendingProps,a=t.memoizedProps,d=l.value,Ne(Di,o._currentValue),o._currentValue=d,a!==null)if(Nt(a.value,d)){if(a.children===l.children&&!st.current){t=tn(e,t,n);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var g=a.dependencies;if(g!==null){d=a.child;for(var y=g.firstContext;y!==null;){if(y.context===o){if(a.tag===1){y=en(-1,n&-n),y.tag=2;var _=a.updateQueue;if(_!==null){_=_.shared;var I=_.pending;I===null?y.next=y:(y.next=I.next,I.next=y),_.pending=y}}a.lanes|=n,y=a.alternate,y!==null&&(y.lanes|=n),ea(a.return,n,t),g.lanes|=n;break}y=y.next}}else if(a.tag===10)d=a.type===t.type?null:a.child;else if(a.tag===18){if(d=a.return,d===null)throw Error(s(341));d.lanes|=n,g=d.alternate,g!==null&&(g.lanes|=n),ea(d,n,t),d=a.sibling}else d=a.child;if(d!==null)d.return=a;else for(d=a;d!==null;){if(d===t){d=null;break}if(a=d.sibling,a!==null){a.return=d.return,d=a;break}d=d.return}a=d}rt(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,o=t.pendingProps.children,kr(t,n),l=Et(l),o=o(l),t.flags|=1,rt(e,t,o,n),t.child;case 14:return o=t.type,l=Ot(o,t.pendingProps),l=Ot(o.type,l),Nd(e,t,o,l,n);case 15:return Rd(e,t,t.type,t.pendingProps,n);case 17:return o=t.type,l=t.pendingProps,l=t.elementType===o?l:Ot(o,l),Yi(e,t),t.tag=1,at(o)?(e=!0,Ai(t)):e=!1,kr(t,n),Sd(t,o,l),ga(t,o,l,n),Sa(null,t,o,!0,e,n);case 19:return Dd(e,t,n);case 22:return Od(e,t,n)}throw Error(s(156,t.tag))};function sp(e,t){return Fc(e,t)}function v1(e,t,n,o){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=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Tt(e,t,n,o){return new v1(e,t,n,o)}function ba(e){return e=e.prototype,!(!e||!e.isReactComponent)}function w1(e){if(typeof e=="function")return ba(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ee)return 11;if(e===te)return 14}return 2}function xn(e,t){var n=e.alternate;return n===null?(n=Tt(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 ll(e,t,n,o,l,a){var d=2;if(o=e,typeof e=="function")ba(e)&&(d=1);else if(typeof e=="string")d=5;else e:switch(e){case b:return bn(n.children,l,a,t);case de:d=8,l|=8;break;case pe:return e=Tt(12,n,t,l|2),e.elementType=pe,e.lanes=a,e;case ae:return e=Tt(13,n,t,l),e.elementType=ae,e.lanes=a,e;case le:return e=Tt(19,n,t,l),e.elementType=le,e.lanes=a,e;case ge:return sl(n,l,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case m:d=10;break e;case W:d=9;break e;case ee:d=11;break e;case te:d=14;break e;case se:d=16,o=null;break e}throw Error(s(130,e==null?e:typeof e,""))}return t=Tt(d,n,t,l),t.elementType=e,t.type=o,t.lanes=a,t}function bn(e,t,n,o){return e=Tt(7,e,o,t),e.lanes=n,e}function sl(e,t,n,o){return e=Tt(22,e,o,t),e.elementType=ge,e.lanes=n,e.stateNode={isHidden:!1},e}function Ba(e,t,n){return e=Tt(6,e,null,t),e.lanes=n,e}function Ua(e,t,n){return t=Tt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function S1(e,t,n,o,l){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=hs(0),this.expirationTimes=hs(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=hs(0),this.identifierPrefix=o,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Wa(e,t,n,o,l,a,d,g,y){return e=new S1(e,t,n,g,y),t===1?(t=1,a===!0&&(t|=8)):t=0,a=Tt(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:o,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},na(a),e}function k1(e,t,n){var o=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:K,key:o==null?null:""+o,children:e,containerInfo:t,implementation:n}}function ap(e){if(!e)return pn;e=e._reactInternals;e:{if(Nn(e)!==e||e.tag!==1)throw Error(s(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(at(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(s(171))}if(e.tag===1){var n=e.type;if(at(n))return Mf(e,n,t)}return t}function up(e,t,n,o,l,a,d,g,y){return e=Wa(n,o,!0,e,l,a,d,g,y),e.context=ap(null),n=e.current,o=ot(),l=Sn(n),a=en(o,l),a.callback=t??null,gn(n,a,l),e.current.lanes=l,eo(e,l,o),ft(e,o),e}function al(e,t,n,o){var l=t.current,a=ot(),d=Sn(l);return n=ap(n),t.context===null?t.context=n:t.pendingContext=n,t=en(a,d),t.payload={element:e},o=o===void 0?null:o,o!==null&&(t.callback=o),e=gn(l,t,d),e!==null&&(It(e,l,d,a),Fi(e,l,d)),d}function ul(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 cp(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Va(e,t){cp(e,t),(e=e.alternate)&&cp(e,t)}function x1(){return null}var fp=typeof reportError=="function"?reportError:function(e){console.error(e)};function Ha(e){this._internalRoot=e}cl.prototype.render=Ha.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(s(409));al(e,t,null,null)},cl.prototype.unmount=Ha.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Dn(function(){al(null,e,null,null)}),t[Yt]=null}};function cl(e){this._internalRoot=e}cl.prototype.unstable_scheduleHydration=function(e){if(e){var t=Gc();e={blockedOn:null,target:e,priority:t};for(var n=0;n<an.length&&t!==0&&t<an[n].priority;n++);an.splice(n,0,e),n===0&&Xc(e)}};function Ka(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function fl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function dp(){}function E1(e,t,n,o,l){if(l){if(typeof o=="function"){var a=o;o=function(){var _=ul(d);a.call(_)}}var d=up(t,o,e,0,null,!1,!1,"",dp);return e._reactRootContainer=d,e[Yt]=d.current,ho(e.nodeType===8?e.parentNode:e),Dn(),d}for(;l=e.lastChild;)e.removeChild(l);if(typeof o=="function"){var g=o;o=function(){var _=ul(y);g.call(_)}}var y=Wa(e,0,!1,null,null,!1,!1,"",dp);return e._reactRootContainer=y,e[Yt]=y.current,ho(e.nodeType===8?e.parentNode:e),Dn(function(){al(t,y,n,o)}),y}function dl(e,t,n,o,l){var a=n._reactRootContainer;if(a){var d=a;if(typeof l=="function"){var g=l;l=function(){var y=ul(d);g.call(y)}}al(t,d,e,l)}else d=E1(n,t,e,l,o);return ul(d)}Hc=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=qr(t.pendingLanes);n!==0&&(gs(t,n|1),ft(t,Fe()),!(ve&6)&&(Tr=Fe()+500,mn()))}break;case 13:Dn(function(){var o=qt(e,1);if(o!==null){var l=ot();It(o,e,1,l)}}),Va(e,1)}},ys=function(e){if(e.tag===13){var t=qt(e,134217728);if(t!==null){var n=ot();It(t,e,134217728,n)}Va(e,134217728)}},Kc=function(e){if(e.tag===13){var t=Sn(e),n=qt(e,t);if(n!==null){var o=ot();It(n,e,t,o)}Va(e,t)}},Gc=function(){return Ee},Qc=function(e,t){var n=Ee;try{return Ee=e,t()}finally{Ee=n}},us=function(e,t,n){switch(t){case"input":if(ts(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 o=n[t];if(o!==e&&o.form===e.form){var l=Ri(o);if(!l)throw Error(s(90));jt(o),ts(o,l)}}}break;case"textarea":Ec(e,n);break;case"select":t=n.value,t!=null&&rr(e,!!n.multiple,t,!1)}},zc=Da,Ic=Dn;var C1={usingClientEntryPoint:!1,Events:[vo,pr,Ri,Oc,Ac,Da]},zo={findFiberByHostInstance:Rn,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},_1={bundleType:zo.bundleType,version:zo.version,rendererPackageName:zo.rendererPackageName,rendererConfig:zo.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:F.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Dc(e),e===null?null:e.stateNode},findFiberByHostInstance:zo.findFiberByHostInstance||x1,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 pl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!pl.isDisabled&&pl.supportsFiber)try{ci=pl.inject(_1),Ft=pl}catch{}}return it.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=C1,it.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Ka(t))throw Error(s(200));return k1(e,t,null,n)},it.createRoot=function(e,t){if(!Ka(e))throw Error(s(299));var n=!1,o="",l=fp;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(o=t.identifierPrefix),t.onRecoverableError!==void 0&&(l=t.onRecoverableError)),t=Wa(e,1,!1,null,null,n,!1,o,l),e[Yt]=t.current,ho(e.nodeType===8?e.parentNode:e),new Ha(t)},it.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(s(188)):(e=Object.keys(e).join(","),Error(s(268,e)));return e=Dc(t),e=e===null?null:e.stateNode,e},it.flushSync=function(e){return Dn(e)},it.hydrate=function(e,t,n){if(!fl(t))throw Error(s(200));return dl(null,e,t,!0,n)},it.hydrateRoot=function(e,t,n){if(!Ka(e))throw Error(s(405));var o=n!=null&&n.hydratedSources||null,l=!1,a="",d=fp;if(n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(a=n.identifierPrefix),n.onRecoverableError!==void 0&&(d=n.onRecoverableError)),t=up(t,null,e,1,n??null,l,!1,a,d),e[Yt]=t.current,ho(e),o)for(e=0;e<o.length;e++)n=o[e],l=n._getVersion,l=l(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,l]:t.mutableSourceEagerHydrationData.push(n,l);return new cl(t)},it.render=function(e,t,n){if(!fl(t))throw Error(s(200));return dl(null,e,t,!1,n)},it.unmountComponentAtNode=function(e){if(!fl(e))throw Error(s(40));return e._reactRootContainer?(Dn(function(){dl(null,null,e,!1,function(){e._reactRootContainer=null,e[Yt]=null})}),!0):!1},it.unstable_batchedUpdates=Da,it.unstable_renderSubtreeIntoContainer=function(e,t,n,o){if(!fl(n))throw Error(s(200));if(e==null||e._reactInternals===void 0)throw Error(s(38));return dl(e,t,n,!1,o)},it.version="18.3.1-next-f1338f8080-20240426",it}function nu(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(nu)}catch(r){console.error(r)}}nu(),Ja.exports=yp();var yl=Ja.exports;const Io=Bn(yl);var ru=yl;ml.createRoot=ru.createRoot,ml.hydrateRoot=ru.hydrateRoot;const ou={wrap:"_wrap_udjkj_1",preview:"_preview_udjkj_10"},Or={black:"#000",white:"#fff"},Wn={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Vn={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Hn={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Kn={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Gn={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Ar={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},vp={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};function Cn(r,...i){const s=new URL(`https://mui.com/production-error/?code=${r}`);return i.forEach(u=>s.searchParams.append("args[]",u)),`Minified MUI error #${r}; visit ${s} for the full message.`}const iu="$$material";function vl(){return vl=Object.assign?Object.assign.bind():function(r){for(var i=1;i<arguments.length;i++){var s=arguments[i];for(var u in s)Object.prototype.hasOwnProperty.call(s,u)&&(r[u]=s[u])}return r},vl.apply(this,arguments)}function lu(r){var i=Object.create(null);return function(s){return i[s]===void 0&&(i[s]=r(s)),i[s]}}var wp=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Sp=lu(function(r){return wp.test(r)||r.charCodeAt(0)===111&&r.charCodeAt(1)===110&&r.charCodeAt(2)<91}),kp=!1;function xp(r){if(r.sheet)return r.sheet;for(var i=0;i<document.styleSheets.length;i++)if(document.styleSheets[i].ownerNode===r)return document.styleSheets[i]}function Ep(r){var i=document.createElement("style");return i.setAttribute("data-emotion",r.key),r.nonce!==void 0&&i.setAttribute("nonce",r.nonce),i.appendChild(document.createTextNode("")),i.setAttribute("data-s",""),i}var Cp=function(){function r(s){var u=this;this._insertTag=function(c){var f;u.tags.length===0?u.insertionPoint?f=u.insertionPoint.nextSibling:u.prepend?f=u.container.firstChild:f=u.before:f=u.tags[u.tags.length-1].nextSibling,u.container.insertBefore(c,f),u.tags.push(c)},this.isSpeedy=s.speedy===void 0?!kp:s.speedy,this.tags=[],this.ctr=0,this.nonce=s.nonce,this.key=s.key,this.container=s.container,this.prepend=s.prepend,this.insertionPoint=s.insertionPoint,this.before=null}var i=r.prototype;return i.hydrate=function(u){u.forEach(this._insertTag)},i.insert=function(u){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Ep(this));var c=this.tags[this.tags.length-1];if(this.isSpeedy){var f=xp(c);try{f.insertRule(u,f.cssRules.length)}catch{}}else c.appendChild(document.createTextNode(u));this.ctr++},i.flush=function(){this.tags.forEach(function(u){var c;return(c=u.parentNode)==null?void 0:c.removeChild(u)}),this.tags=[],this.ctr=0},r}(),Ze="-ms-",$o="-moz-",Se="-webkit-",su="comm",wl="rule",Sl="decl",_p="@import",au="@keyframes",Tp="@layer",Pp=Math.abs,Lo=String.fromCharCode,Np=Object.assign;function Rp(r,i){return Qe(r,0)^45?(((i<<2^Qe(r,0))<<2^Qe(r,1))<<2^Qe(r,2))<<2^Qe(r,3):0}function uu(r){return r.trim()}function Op(r,i){return(r=i.exec(r))?r[0]:r}function ke(r,i,s){return r.replace(i,s)}function kl(r,i){return r.indexOf(i)}function Qe(r,i){return r.charCodeAt(i)|0}function zr(r,i,s){return r.slice(i,s)}function $t(r){return r.length}function xl(r){return r.length}function Mo(r,i){return i.push(r),r}function Ap(r,i){return r.map(i).join("")}var Do=1,Qn=1,cu=0,lt=0,Be=0,Yn="";function jo(r,i,s,u,c,f,p){return{value:r,root:i,parent:s,type:u,props:c,children:f,line:Do,column:Qn,length:p,return:""}}function Ir(r,i){return Np(jo("",null,null,"",null,null,0),r,{length:-r.length},i)}function zp(){return Be}function Ip(){return Be=lt>0?Qe(Yn,--lt):0,Qn--,Be===10&&(Qn=1,Do--),Be}function dt(){return Be=lt<cu?Qe(Yn,lt++):0,Qn++,Be===10&&(Qn=1,Do++),Be}function Lt(){return Qe(Yn,lt)}function Fo(){return lt}function $r(r,i){return zr(Yn,r,i)}function Lr(r){switch(r){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function fu(r){return Do=Qn=1,cu=$t(Yn=r),lt=0,[]}function du(r){return Yn="",r}function bo(r){return uu($r(lt-1,El(r===91?r+2:r===40?r+1:r)))}function $p(r){for(;(Be=Lt())&&Be<33;)dt();return Lr(r)>2||Lr(Be)>3?"":" "}function Lp(r,i){for(;--i&&dt()&&!(Be<48||Be>102||Be>57&&Be<65||Be>70&&Be<97););return $r(r,Fo()+(i<6&&Lt()==32&&dt()==32))}function El(r){for(;dt();)switch(Be){case r:return lt;case 34:case 39:r!==34&&r!==39&&El(Be);break;case 40:r===41&&El(r);break;case 92:dt();break}return lt}function Mp(r,i){for(;dt()&&r+Be!==57;)if(r+Be===84&&Lt()===47)break;return"/*"+$r(i,lt-1)+"*"+Lo(r===47?r:dt())}function Dp(r){for(;!Lr(Lt());)dt();return $r(r,lt)}function jp(r){return du(Bo("",null,null,null,[""],r=fu(r),0,[0],r))}function Bo(r,i,s,u,c,f,p,h,v){for(var E=0,N=0,C=p,T=0,$=0,R=0,O=1,D=1,V=1,J=0,M="",F=c,H=f,K=u,b=M;D;)switch(R=J,J=dt()){case 40:if(R!=108&&Qe(b,C-1)==58){kl(b+=ke(bo(J),"&","&\f"),"&\f")!=-1&&(V=-1);break}case 34:case 39:case 91:b+=bo(J);break;case 9:case 10:case 13:case 32:b+=$p(R);break;case 92:b+=Lp(Fo()-1,7);continue;case 47:switch(Lt()){case 42:case 47:Mo(Fp(Mp(dt(),Fo()),i,s),v);break;default:b+="/"}break;case 123*O:h[E++]=$t(b)*V;case 125*O:case 59:case 0:switch(J){case 0:case 125:D=0;case 59+N:V==-1&&(b=ke(b,/\f/g,"")),$>0&&$t(b)-C&&Mo($>32?mu(b+";",u,s,C-1):mu(ke(b," ","")+";",u,s,C-2),v);break;case 59:b+=";";default:if(Mo(K=pu(b,i,s,E,N,c,h,M,F=[],H=[],C),f),J===123)if(N===0)Bo(b,i,K,K,F,f,C,h,H);else switch(T===99&&Qe(b,3)===110?100:T){case 100:case 108:case 109:case 115:Bo(r,K,K,u&&Mo(pu(r,K,K,0,0,c,h,M,c,F=[],C),H),c,H,C,h,u?F:H);break;default:Bo(b,K,K,K,[""],H,0,h,H)}}E=N=$=0,O=V=1,M=b="",C=p;break;case 58:C=1+$t(b),$=R;default:if(O<1){if(J==123)--O;else if(J==125&&O++==0&&Ip()==125)continue}switch(b+=Lo(J),J*O){case 38:V=N>0?1:(b+="\f",-1);break;case 44:h[E++]=($t(b)-1)*V,V=1;break;case 64:Lt()===45&&(b+=bo(dt())),T=Lt(),N=C=$t(M=b+=Dp(Fo())),J++;break;case 45:R===45&&$t(b)==2&&(O=0)}}return f}function pu(r,i,s,u,c,f,p,h,v,E,N){for(var C=c-1,T=c===0?f:[""],$=xl(T),R=0,O=0,D=0;R<u;++R)for(var V=0,J=zr(r,C+1,C=Pp(O=p[R])),M=r;V<$;++V)(M=uu(O>0?T[V]+" "+J:ke(J,/&\f/g,T[V])))&&(v[D++]=M);return jo(r,i,s,c===0?wl:h,v,E,N)}function Fp(r,i,s){return jo(r,i,s,su,Lo(zp()),zr(r,2,-2),0)}function mu(r,i,s,u){return jo(r,i,s,Sl,zr(r,0,u),zr(r,u+1,-1),u)}function Xn(r,i){for(var s="",u=xl(r),c=0;c<u;c++)s+=i(r[c],c,r,i)||"";return s}function bp(r,i,s,u){switch(r.type){case Tp:if(r.children.length)break;case _p:case Sl:return r.return=r.return||r.value;case su:return"";case au:return r.return=r.value+"{"+Xn(r.children,u)+"}";case wl:r.value=r.props.join(",")}return $t(s=Xn(r.children,u))?r.return=r.value+"{"+s+"}":""}function Bp(r){var i=xl(r);return function(s,u,c,f){for(var p="",h=0;h<i;h++)p+=r[h](s,u,c,f)||"";return p}}function Up(r){return function(i){i.root||(i=i.return)&&r(i)}}var Wp=function(i,s,u){for(var c=0,f=0;c=f,f=Lt(),c===38&&f===12&&(s[u]=1),!Lr(f);)dt();return $r(i,lt)},Vp=function(i,s){var u=-1,c=44;do switch(Lr(c)){case 0:c===38&&Lt()===12&&(s[u]=1),i[u]+=Wp(lt-1,s,u);break;case 2:i[u]+=bo(c);break;case 4:if(c===44){i[++u]=Lt()===58?"&\f":"",s[u]=i[u].length;break}default:i[u]+=Lo(c)}while(c=dt());return i},Hp=function(i,s){return du(Vp(fu(i),s))},hu=new WeakMap,Kp=function(i){if(!(i.type!=="rule"||!i.parent||i.length<1)){for(var s=i.value,u=i.parent,c=i.column===u.column&&i.line===u.line;u.type!=="rule";)if(u=u.parent,!u)return;if(!(i.props.length===1&&s.charCodeAt(0)!==58&&!hu.get(u))&&!c){hu.set(i,!0);for(var f=[],p=Hp(s,f),h=u.props,v=0,E=0;v<p.length;v++)for(var N=0;N<h.length;N++,E++)i.props[E]=f[v]?p[v].replace(/&\f/g,h[N]):h[N]+" "+p[v]}}},Gp=function(i){if(i.type==="decl"){var s=i.value;s.charCodeAt(0)===108&&s.charCodeAt(2)===98&&(i.return="",i.value="")}};function gu(r,i){switch(Rp(r,i)){case 5103:return Se+"print-"+r+r;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Se+r+r;case 5349:case 4246:case 4810:case 6968:case 2756:return Se+r+$o+r+Ze+r+r;case 6828:case 4268:return Se+r+Ze+r+r;case 6165:return Se+r+Ze+"flex-"+r+r;case 5187:return Se+r+ke(r,/(\w+).+(:[^]+)/,Se+"box-$1$2"+Ze+"flex-$1$2")+r;case 5443:return Se+r+Ze+"flex-item-"+ke(r,/flex-|-self/,"")+r;case 4675:return Se+r+Ze+"flex-line-pack"+ke(r,/align-content|flex-|-self/,"")+r;case 5548:return Se+r+Ze+ke(r,"shrink","negative")+r;case 5292:return Se+r+Ze+ke(r,"basis","preferred-size")+r;case 6060:return Se+"box-"+ke(r,"-grow","")+Se+r+Ze+ke(r,"grow","positive")+r;case 4554:return Se+ke(r,/([^-])(transform)/g,"$1"+Se+"$2")+r;case 6187:return ke(ke(ke(r,/(zoom-|grab)/,Se+"$1"),/(image-set)/,Se+"$1"),r,"")+r;case 5495:case 3959:return ke(r,/(image-set\([^]*)/,Se+"$1$`$1");case 4968:return ke(ke(r,/(.+:)(flex-)?(.*)/,Se+"box-pack:$3"+Ze+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Se+r+r;case 4095:case 3583:case 4068:case 2532:return ke(r,/(.+)-inline(.+)/,Se+"$1$2")+r;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if($t(r)-1-i>6)switch(Qe(r,i+1)){case 109:if(Qe(r,i+4)!==45)break;case 102:return ke(r,/(.+:)(.+)-([^]+)/,"$1"+Se+"$2-$3$1"+$o+(Qe(r,i+3)==108?"$3":"$2-$3"))+r;case 115:return~kl(r,"stretch")?gu(ke(r,"stretch","fill-available"),i)+r:r}break;case 4949:if(Qe(r,i+1)!==115)break;case 6444:switch(Qe(r,$t(r)-3-(~kl(r,"!important")&&10))){case 107:return ke(r,":",":"+Se)+r;case 101:return ke(r,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Se+(Qe(r,14)===45?"inline-":"")+"box$3$1"+Se+"$2$3$1"+Ze+"$2box$3")+r}break;case 5936:switch(Qe(r,i+11)){case 114:return Se+r+Ze+ke(r,/[svh]\w+-[tblr]{2}/,"tb")+r;case 108:return Se+r+Ze+ke(r,/[svh]\w+-[tblr]{2}/,"tb-rl")+r;case 45:return Se+r+Ze+ke(r,/[svh]\w+-[tblr]{2}/,"lr")+r}return Se+r+Ze+r+r}return r}var Qp=function(i,s,u,c){if(i.length>-1&&!i.return)switch(i.type){case Sl:i.return=gu(i.value,i.length);break;case au:return Xn([Ir(i,{value:ke(i.value,"@","@"+Se)})],c);case wl:if(i.length)return Ap(i.props,function(f){switch(Op(f,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Xn([Ir(i,{props:[ke(f,/:(read-\w+)/,":"+$o+"$1")]})],c);case"::placeholder":return Xn([Ir(i,{props:[ke(f,/:(plac\w+)/,":"+Se+"input-$1")]}),Ir(i,{props:[ke(f,/:(plac\w+)/,":"+$o+"$1")]}),Ir(i,{props:[ke(f,/:(plac\w+)/,Ze+"input-$1")]})],c)}return""})}},Yp=[Qp],Xp=function(i){var s=i.key;if(s==="css"){var u=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(u,function(O){var D=O.getAttribute("data-emotion");D.indexOf(" ")!==-1&&(document.head.appendChild(O),O.setAttribute("data-s",""))})}var c=i.stylisPlugins||Yp,f={},p,h=[];p=i.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+s+' "]'),function(O){for(var D=O.getAttribute("data-emotion").split(" "),V=1;V<D.length;V++)f[D[V]]=!0;h.push(O)});var v,E=[Kp,Gp];{var N,C=[bp,Up(function(O){N.insert(O)})],T=Bp(E.concat(c,C)),$=function(D){return Xn(jp(D),T)};v=function(D,V,J,M){N=J,$(D?D+"{"+V.styles+"}":V.styles),M&&(R.inserted[V.name]=!0)}}var R={key:s,sheet:new Cp({key:s,container:p,nonce:i.nonce,speedy:i.speedy,prepend:i.prepend,insertionPoint:i.insertionPoint}),nonce:i.nonce,inserted:f,registered:{},insert:v};return R.sheet.hydrate(h),R},Zp=!0;function Jp(r,i,s){var u="";return s.split(" ").forEach(function(c){r[c]!==void 0?i.push(r[c]+";"):c&&(u+=c+" ")}),u}var yu=function(i,s,u){var c=i.key+"-"+s.name;(u===!1||Zp===!1)&&i.registered[c]===void 0&&(i.registered[c]=s.styles)},qp=function(i,s,u){yu(i,s,u);var c=i.key+"-"+s.name;if(i.inserted[s.name]===void 0){var f=s;do i.insert(s===f?"."+c:"",f,i.sheet,!0),f=f.next;while(f!==void 0)}};function em(r){for(var i=0,s,u=0,c=r.length;c>=4;++u,c-=4)s=r.charCodeAt(u)&255|(r.charCodeAt(++u)&255)<<8|(r.charCodeAt(++u)&255)<<16|(r.charCodeAt(++u)&255)<<24,s=(s&65535)*1540483477+((s>>>16)*59797<<16),s^=s>>>24,i=(s&65535)*1540483477+((s>>>16)*59797<<16)^(i&65535)*1540483477+((i>>>16)*59797<<16);switch(c){case 3:i^=(r.charCodeAt(u+2)&255)<<16;case 2:i^=(r.charCodeAt(u+1)&255)<<8;case 1:i^=r.charCodeAt(u)&255,i=(i&65535)*1540483477+((i>>>16)*59797<<16)}return i^=i>>>13,i=(i&65535)*1540483477+((i>>>16)*59797<<16),((i^i>>>15)>>>0).toString(36)}var tm={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},nm=!1,rm=/[A-Z]|^ms/g,om=/_EMO_([^_]+?)_([^]*?)_EMO_/g,vu=function(i){return i.charCodeAt(1)===45},wu=function(i){return i!=null&&typeof i!="boolean"},Cl=lu(function(r){return vu(r)?r:r.replace(rm,"-$&").toLowerCase()}),Su=function(i,s){switch(i){case"animation":case"animationName":if(typeof s=="string")return s.replace(om,function(u,c,f){return Mt={name:c,styles:f,next:Mt},c})}return tm[i]!==1&&!vu(i)&&typeof s=="number"&&s!==0?s+"px":s},im="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Mr(r,i,s){if(s==null)return"";var u=s;if(u.__emotion_styles!==void 0)return u;switch(typeof s){case"boolean":return"";case"object":{var c=s;if(c.anim===1)return Mt={name:c.name,styles:c.styles,next:Mt},c.name;var f=s;if(f.styles!==void 0){var p=f.next;if(p!==void 0)for(;p!==void 0;)Mt={name:p.name,styles:p.styles,next:Mt},p=p.next;var h=f.styles+";";return h}return lm(r,i,s)}case"function":{if(r!==void 0){var v=Mt,E=s(r);return Mt=v,Mr(r,i,E)}break}}var N=s;if(i==null)return N;var C=i[N];return C!==void 0?C:N}function lm(r,i,s){var u="";if(Array.isArray(s))for(var c=0;c<s.length;c++)u+=Mr(r,i,s[c])+";";else for(var f in s){var p=s[f];if(typeof p!="object"){var h=p;i!=null&&i[h]!==void 0?u+=f+"{"+i[h]+"}":wu(h)&&(u+=Cl(f)+":"+Su(f,h)+";")}else{if(f==="NO_COMPONENT_SELECTOR"&&nm)throw new Error(im);if(Array.isArray(p)&&typeof p[0]=="string"&&(i==null||i[p[0]]===void 0))for(var v=0;v<p.length;v++)wu(p[v])&&(u+=Cl(f)+":"+Su(f,p[v])+";");else{var E=Mr(r,i,p);switch(f){case"animation":case"animationName":{u+=Cl(f)+":"+E+";";break}default:u+=f+"{"+E+"}"}}}}return u}var ku=/label:\s*([^\s;{]+)\s*(;|$)/g,Mt;function xu(r,i,s){if(r.length===1&&typeof r[0]=="object"&&r[0]!==null&&r[0].styles!==void 0)return r[0];var u=!0,c="";Mt=void 0;var f=r[0];if(f==null||f.raw===void 0)u=!1,c+=Mr(s,i,f);else{var p=f;c+=p[0]}for(var h=1;h<r.length;h++)if(c+=Mr(s,i,r[h]),u){var v=f;c+=v[h]}ku.lastIndex=0;for(var E="",N;(N=ku.exec(c))!==null;)E+="-"+N[1];var C=em(c)+E;return{name:C,styles:c,next:Mt}}var sm=function(i){return i()},am=Xa.useInsertionEffect?Xa.useInsertionEffect:!1,um=am||sm,Eu=U.createContext(typeof HTMLElement<"u"?Xp({key:"css"}):null);Eu.Provider;var cm=function(i){return U.forwardRef(function(s,u){var c=U.useContext(Eu);return i(s,c,u)})},Cu=U.createContext({}),fm=Sp,dm=function(i){return i!=="theme"},_u=function(i){return typeof i=="string"&&i.charCodeAt(0)>96?fm:dm},Tu=function(i,s,u){var c;if(s){var f=s.shouldForwardProp;c=i.__emotion_forwardProp&&f?function(p){return i.__emotion_forwardProp(p)&&f(p)}:f}return typeof c!="function"&&u&&(c=i.__emotion_forwardProp),c},pm=!1,mm=function(i){var s=i.cache,u=i.serialized,c=i.isStringTag;return yu(s,u,c),um(function(){return qp(s,u,c)}),null},hm=function r(i,s){var u=i.__emotion_real===i,c=u&&i.__emotion_base||i,f,p;s!==void 0&&(f=s.label,p=s.target);var h=Tu(i,s,u),v=h||_u(c),E=!v("as");return function(){var N=arguments,C=u&&i.__emotion_styles!==void 0?i.__emotion_styles.slice(0):[];if(f!==void 0&&C.push("label:"+f+";"),N[0]==null||N[0].raw===void 0)C.push.apply(C,N);else{C.push(N[0][0]);for(var T=N.length,$=1;$<T;$++)C.push(N[$],N[0][$])}var R=cm(function(O,D,V){var J=E&&O.as||c,M="",F=[],H=O;if(O.theme==null){H={};for(var K in O)H[K]=O[K];H.theme=U.useContext(Cu)}typeof O.className=="string"?M=Jp(D.registered,F,O.className):O.className!=null&&(M=O.className+" ");var b=xu(C.concat(F),D.registered,H);M+=D.key+"-"+b.name,p!==void 0&&(M+=" "+p);var de=E&&h===void 0?_u(J):v,pe={};for(var m in O)E&&m==="as"||de(m)&&(pe[m]=O[m]);return pe.className=M,V&&(pe.ref=V),U.createElement(U.Fragment,null,U.createElement(mm,{cache:D,serialized:b,isStringTag:typeof J=="string"}),U.createElement(J,pe))});return R.displayName=f!==void 0?f:"Styled("+(typeof c=="string"?c:c.displayName||c.name||"Component")+")",R.defaultProps=i.defaultProps,R.__emotion_real=R,R.__emotion_base=c,R.__emotion_styles=C,R.__emotion_forwardProp=h,Object.defineProperty(R,"toString",{value:function(){return p===void 0&&pm?"NO_COMPONENT_SELECTOR":"."+p}}),R.withComponent=function(O,D){return r(O,vl({},s,D,{shouldForwardProp:Tu(R,D,!0)})).apply(void 0,C)},R}},gm=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],_l=hm.bind();gm.forEach(function(r){_l[r]=_l(r)});function ym(r,i){return _l(r,i)}function vm(r,i){Array.isArray(r.__emotion_styles)&&(r.__emotion_styles=i(r.__emotion_styles))}const Pu=[];function Nu(r){return Pu[0]=r,xu(Pu)}function Vt(r){if(typeof r!="object"||r===null)return!1;const i=Object.getPrototypeOf(r);return(i===null||i===Object.prototype||Object.getPrototypeOf(i)===null)&&!(Symbol.toStringTag in r)&&!(Symbol.iterator in r)}function Ru(r){if(U.isValidElement(r)||!Vt(r))return r;const i={};return Object.keys(r).forEach(s=>{i[s]=Ru(r[s])}),i}function pt(r,i,s={clone:!0}){const u=s.clone?{...r}:r;return Vt(r)&&Vt(i)&&Object.keys(i).forEach(c=>{U.isValidElement(i[c])?u[c]=i[c]:Vt(i[c])&&Object.prototype.hasOwnProperty.call(r,c)&&Vt(r[c])?u[c]=pt(r[c],i[c],s):s.clone?u[c]=Vt(i[c])?Ru(i[c]):i[c]:u[c]=i[c]}),u}const wm=r=>{const i=Object.keys(r).map(s=>({key:s,val:r[s]}))||[];return i.sort((s,u)=>s.val-u.val),i.reduce((s,u)=>({...s,[u.key]:u.val}),{})};function Sm(r){const{values:i={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:s="px",step:u=5,...c}=r,f=wm(i),p=Object.keys(f);function h(T){return`@media (min-width:${typeof i[T]=="number"?i[T]:T}${s})`}function v(T){return`@media (max-width:${(typeof i[T]=="number"?i[T]:T)-u/100}${s})`}function E(T,$){const R=p.indexOf($);return`@media (min-width:${typeof i[T]=="number"?i[T]:T}${s}) and (max-width:${(R!==-1&&typeof i[p[R]]=="number"?i[p[R]]:$)-u/100}${s})`}function N(T){return p.indexOf(T)+1<p.length?E(T,p[p.indexOf(T)+1]):h(T)}function C(T){const $=p.indexOf(T);return $===0?h(p[1]):$===p.length-1?v(p[$]):E(T,p[p.indexOf(T)+1]).replace("@media","@media not all and")}return{keys:p,values:f,up:h,down:v,between:E,only:N,not:C,unit:s,...c}}function km(r,i){if(!r.containerQueries)return i;const s=Object.keys(i).filter(u=>u.startsWith("@container")).sort((u,c)=>{var p,h;const f=/min-width:\s*([0-9.]+)/;return+(((p=u.match(f))==null?void 0:p[1])||0)-+(((h=c.match(f))==null?void 0:h[1])||0)});return s.length?s.reduce((u,c)=>{const f=i[c];return delete u[c],u[c]=f,u},{...i}):i}function xm(r,i){return i==="@"||i.startsWith("@")&&(r.some(s=>i.startsWith(`@${s}`))||!!i.match(/^@\d/))}function Em(r,i){const s=i.match(/^@([^/]+)?\/?(.+)?$/);if(!s)return null;const[,u,c]=s,f=Number.isNaN(+u)?u||0:+u;return r.containerQueries(c).up(f)}function Cm(r){const i=(f,p)=>f.replace("@media",p?`@container ${p}`:"@container");function s(f,p){f.up=(...h)=>i(r.breakpoints.up(...h),p),f.down=(...h)=>i(r.breakpoints.down(...h),p),f.between=(...h)=>i(r.breakpoints.between(...h),p),f.only=(...h)=>i(r.breakpoints.only(...h),p),f.not=(...h)=>{const v=i(r.breakpoints.not(...h),p);return v.includes("not all and")?v.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):v}}const u={},c=f=>(s(u,f),u);return s(c),{...r,containerQueries:c}}const _m={borderRadius:4};function Dr(r,i){return i?pt(r,i,{clone:!1}):r}const Uo={xs:0,sm:600,md:900,lg:1200,xl:1536},Ou={keys:["xs","sm","md","lg","xl"],up:r=>`@media (min-width:${Uo[r]}px)`},Tm={containerQueries:r=>({up:i=>{let s=typeof i=="number"?i:Uo[i]||i;return typeof s=="number"&&(s=`${s}px`),r?`@container ${r} (min-width:${s})`:`@container (min-width:${s})`}})};function Ht(r,i,s){const u=r.theme||{};if(Array.isArray(i)){const f=u.breakpoints||Ou;return i.reduce((p,h,v)=>(p[f.up(f.keys[v])]=s(i[v]),p),{})}if(typeof i=="object"){const f=u.breakpoints||Ou;return Object.keys(i).reduce((p,h)=>{if(xm(f.keys,h)){const v=Em(u.containerQueries?u:Tm,h);v&&(p[v]=s(i[h],h))}else if(Object.keys(f.values||Uo).includes(h)){const v=f.up(h);p[v]=s(i[h],h)}else{const v=h;p[v]=i[v]}return p},{})}return s(i)}function Pm(r={}){var s;return((s=r.keys)==null?void 0:s.reduce((u,c)=>{const f=r.up(c);return u[f]={},u},{}))||{}}function Nm(r,i){return r.reduce((s,u)=>{const c=s[u];return(!c||Object.keys(c).length===0)&&delete s[u],s},i)}function Au(r){if(typeof r!="string")throw new Error(Cn(7));return r.charAt(0).toUpperCase()+r.slice(1)}function Wo(r,i,s=!0){if(!i||typeof i!="string")return null;if(r&&r.vars&&s){const u=`vars.${i}`.split(".").reduce((c,f)=>c&&c[f]?c[f]:null,r);if(u!=null)return u}return i.split(".").reduce((u,c)=>u&&u[c]!=null?u[c]:null,r)}function Vo(r,i,s,u=s){let c;return typeof r=="function"?c=r(s):Array.isArray(r)?c=r[s]||u:c=Wo(r,s)||u,i&&(c=i(c,u,r)),c}function je(r){const{prop:i,cssProperty:s=r.prop,themeKey:u,transform:c}=r,f=p=>{if(p[i]==null)return null;const h=p[i],v=p.theme,E=Wo(v,u)||{};return Ht(p,h,C=>{let T=Vo(E,c,C);return C===T&&typeof C=="string"&&(T=Vo(E,c,`${i}${C==="default"?"":Au(C)}`,C)),s===!1?T:{[s]:T}})};return f.propTypes={},f.filterProps=[i],f}function Rm(r){const i={};return s=>(i[s]===void 0&&(i[s]=r(s)),i[s])}const Om={m:"margin",p:"padding"},Am={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},zu={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},zm=Rm(r=>{if(r.length>2)if(zu[r])r=zu[r];else return[r];const[i,s]=r.split(""),u=Om[i],c=Am[s]||"";return Array.isArray(c)?c.map(f=>u+f):[u+c]}),Tl=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Pl=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Tl,...Pl];function jr(r,i,s,u){const c=Wo(r,i,!0)??s;return typeof c=="number"||typeof c=="string"?f=>typeof f=="string"?f:typeof c=="string"?`calc(${f} * ${c})`:c*f:Array.isArray(c)?f=>{if(typeof f=="string")return f;const p=Math.abs(f),h=c[p];return f>=0?h:typeof h=="number"?-h:`-${h}`}:typeof c=="function"?c:()=>{}}function Nl(r){return jr(r,"spacing",8)}function Fr(r,i){return typeof i=="string"||i==null?i:r(i)}function Im(r,i){return s=>r.reduce((u,c)=>(u[c]=Fr(i,s),u),{})}function $m(r,i,s,u){if(!i.includes(s))return null;const c=zm(s),f=Im(c,u),p=r[s];return Ht(r,p,f)}function Iu(r,i){const s=Nl(r.theme);return Object.keys(r).map(u=>$m(r,i,u,s)).reduce(Dr,{})}function Le(r){return Iu(r,Tl)}Le.propTypes={},Le.filterProps=Tl;function Me(r){return Iu(r,Pl)}Me.propTypes={},Me.filterProps=Pl;function $u(r=8,i=Nl({spacing:r})){if(r.mui)return r;const s=(...u)=>(u.length===0?[1]:u).map(f=>{const p=i(f);return typeof p=="number"?`${p}px`:p}).join(" ");return s.mui=!0,s}function Ho(...r){const i=r.reduce((u,c)=>(c.filterProps.forEach(f=>{u[f]=c}),u),{}),s=u=>Object.keys(u).reduce((c,f)=>i[f]?Dr(c,i[f](u)):c,{});return s.propTypes={},s.filterProps=r.reduce((u,c)=>u.concat(c.filterProps),[]),s}function wt(r){return typeof r!="number"?r:`${r}px solid`}function St(r,i){return je({prop:r,themeKey:"borders",transform:i})}const Lm=St("border",wt),Mm=St("borderTop",wt),Dm=St("borderRight",wt),jm=St("borderBottom",wt),Fm=St("borderLeft",wt),bm=St("borderColor"),Bm=St("borderTopColor"),Um=St("borderRightColor"),Wm=St("borderBottomColor"),Vm=St("borderLeftColor"),Hm=St("outline",wt),Km=St("outlineColor"),Ko=r=>{if(r.borderRadius!==void 0&&r.borderRadius!==null){const i=jr(r.theme,"shape.borderRadius",4),s=u=>({borderRadius:Fr(i,u)});return Ht(r,r.borderRadius,s)}return null};Ko.propTypes={},Ko.filterProps=["borderRadius"],Ho(Lm,Mm,Dm,jm,Fm,bm,Bm,Um,Wm,Vm,Ko,Hm,Km);const Go=r=>{if(r.gap!==void 0&&r.gap!==null){const i=jr(r.theme,"spacing",8),s=u=>({gap:Fr(i,u)});return Ht(r,r.gap,s)}return null};Go.propTypes={},Go.filterProps=["gap"];const Qo=r=>{if(r.columnGap!==void 0&&r.columnGap!==null){const i=jr(r.theme,"spacing",8),s=u=>({columnGap:Fr(i,u)});return Ht(r,r.columnGap,s)}return null};Qo.propTypes={},Qo.filterProps=["columnGap"];const Yo=r=>{if(r.rowGap!==void 0&&r.rowGap!==null){const i=jr(r.theme,"spacing",8),s=u=>({rowGap:Fr(i,u)});return Ht(r,r.rowGap,s)}return null};Yo.propTypes={},Yo.filterProps=["rowGap"];const Gm=je({prop:"gridColumn"}),Qm=je({prop:"gridRow"}),Ym=je({prop:"gridAutoFlow"}),Xm=je({prop:"gridAutoColumns"}),Zm=je({prop:"gridAutoRows"}),Jm=je({prop:"gridTemplateColumns"}),qm=je({prop:"gridTemplateRows"}),e0=je({prop:"gridTemplateAreas"}),t0=je({prop:"gridArea"});Ho(Go,Qo,Yo,Gm,Qm,Ym,Xm,Zm,Jm,qm,e0,t0);function Zn(r,i){return i==="grey"?i:r}const n0=je({prop:"color",themeKey:"palette",transform:Zn}),r0=je({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Zn}),o0=je({prop:"backgroundColor",themeKey:"palette",transform:Zn});Ho(n0,r0,o0);function mt(r){return r<=1&&r!==0?`${r*100}%`:r}const i0=je({prop:"width",transform:mt}),Rl=r=>{if(r.maxWidth!==void 0&&r.maxWidth!==null){const i=s=>{var c,f,p,h,v;const u=((p=(f=(c=r.theme)==null?void 0:c.breakpoints)==null?void 0:f.values)==null?void 0:p[s])||Uo[s];return u?((v=(h=r.theme)==null?void 0:h.breakpoints)==null?void 0:v.unit)!=="px"?{maxWidth:`${u}${r.theme.breakpoints.unit}`}:{maxWidth:u}:{maxWidth:mt(s)}};return Ht(r,r.maxWidth,i)}return null};Rl.filterProps=["maxWidth"];const l0=je({prop:"minWidth",transform:mt}),s0=je({prop:"height",transform:mt}),a0=je({prop:"maxHeight",transform:mt}),u0=je({prop:"minHeight",transform:mt});je({prop:"size",cssProperty:"width",transform:mt}),je({prop:"size",cssProperty:"height",transform:mt});const c0=je({prop:"boxSizing"});Ho(i0,Rl,l0,s0,a0,u0,c0);const Xo={border:{themeKey:"borders",transform:wt},borderTop:{themeKey:"borders",transform:wt},borderRight:{themeKey:"borders",transform:wt},borderBottom:{themeKey:"borders",transform:wt},borderLeft:{themeKey:"borders",transform:wt},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:wt},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Ko},color:{themeKey:"palette",transform:Zn},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Zn},backgroundColor:{themeKey:"palette",transform:Zn},p:{style:Me},pt:{style:Me},pr:{style:Me},pb:{style:Me},pl:{style:Me},px:{style:Me},py:{style:Me},padding:{style:Me},paddingTop:{style:Me},paddingRight:{style:Me},paddingBottom:{style:Me},paddingLeft:{style:Me},paddingX:{style:Me},paddingY:{style:Me},paddingInline:{style:Me},paddingInlineStart:{style:Me},paddingInlineEnd:{style:Me},paddingBlock:{style:Me},paddingBlockStart:{style:Me},paddingBlockEnd:{style:Me},m:{style:Le},mt:{style:Le},mr:{style:Le},mb:{style:Le},ml:{style:Le},mx:{style:Le},my:{style:Le},margin:{style:Le},marginTop:{style:Le},marginRight:{style:Le},marginBottom:{style:Le},marginLeft:{style:Le},marginX:{style:Le},marginY:{style:Le},marginInline:{style:Le},marginInlineStart:{style:Le},marginInlineEnd:{style:Le},marginBlock:{style:Le},marginBlockStart:{style:Le},marginBlockEnd:{style:Le},displayPrint:{cssProperty:!1,transform:r=>({"@media print":{display:r}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Go},rowGap:{style:Yo},columnGap:{style:Qo},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:mt},maxWidth:{style:Rl},minWidth:{transform:mt},height:{transform:mt},maxHeight:{transform:mt},minHeight:{transform:mt},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function f0(...r){const i=r.reduce((u,c)=>u.concat(Object.keys(c)),[]),s=new Set(i);return r.every(u=>s.size===Object.keys(u).length)}function d0(r,i){return typeof r=="function"?r(i):r}function p0(){function r(s,u,c,f){const p={[s]:u,theme:c},h=f[s];if(!h)return{[s]:u};const{cssProperty:v=s,themeKey:E,transform:N,style:C}=h;if(u==null)return null;if(E==="typography"&&u==="inherit")return{[s]:u};const T=Wo(c,E)||{};return C?C(p):Ht(p,u,R=>{let O=Vo(T,N,R);return R===O&&typeof R=="string"&&(O=Vo(T,N,`${s}${R==="default"?"":Au(R)}`,R)),v===!1?O:{[v]:O}})}function i(s){const{sx:u,theme:c={}}=s||{};if(!u)return null;const f=c.unstable_sxConfig??Xo;function p(h){let v=h;if(typeof h=="function")v=h(c);else if(typeof h!="object")return h;if(!v)return null;const E=Pm(c.breakpoints),N=Object.keys(E);let C=E;return Object.keys(v).forEach(T=>{const $=d0(v[T],c);if($!=null)if(typeof $=="object")if(f[T])C=Dr(C,r(T,$,c,f));else{const R=Ht({theme:c},$,O=>({[T]:O}));f0(R,$)?C[T]=i({sx:$,theme:c}):C=Dr(C,R)}else C=Dr(C,r(T,$,c,f))}),km(c,Nm(N,C))}return Array.isArray(u)?u.map(p):p(u)}return i}const Jn=p0();Jn.filterProps=["sx"];function m0(r,i){var u;const s=this;if(s.vars){if(!((u=s.colorSchemes)!=null&&u[r])||typeof s.getColorSchemeSelector!="function")return{};let c=s.getColorSchemeSelector(r);return c==="&"?i:((c.includes("data-")||c.includes("."))&&(c=`*:where(${c.replace(/\s*&$/,"")}) &`),{[c]:i})}return s.palette.mode===r?i:{}}function Ol(r={},...i){const{breakpoints:s={},palette:u={},spacing:c,shape:f={},...p}=r,h=Sm(s),v=$u(c);let E=pt({breakpoints:h,direction:"ltr",components:{},palette:{mode:"light",...u},spacing:v,shape:{..._m,...f}},p);return E=Cm(E),E.applyStyles=m0,E=i.reduce((N,C)=>pt(N,C),E),E.unstable_sxConfig={...Xo,...p==null?void 0:p.unstable_sxConfig},E.unstable_sx=function(C){return Jn({sx:C,theme:this})},E}function h0(r){return Object.keys(r).length===0}function g0(r=null){const i=U.useContext(Cu);return!i||h0(i)?r:i}const y0=Ol();function v0(r=y0){return g0(r)}const Lu=r=>r,w0=(()=>{let r=Lu;return{configure(i){r=i},generate(i){return r(i)},reset(){r=Lu}}})();function Mu(r){var i,s,u="";if(typeof r=="string"||typeof r=="number")u+=r;else if(typeof r=="object")if(Array.isArray(r)){var c=r.length;for(i=0;i<c;i++)r[i]&&(s=Mu(r[i]))&&(u&&(u+=" "),u+=s)}else for(s in r)r[s]&&(u&&(u+=" "),u+=s);return u}function br(){for(var r,i,s=0,u="",c=arguments.length;s<c;s++)(r=arguments[s])&&(i=Mu(r))&&(u&&(u+=" "),u+=i);return u}const S0={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Al(r,i,s="Mui"){const u=S0[i];return u?`${s}-${u}`:`${w0.generate(r)}-${i}`}function Du(r,i,s="Mui"){const u={};return i.forEach(c=>{u[c]=Al(r,c,s)}),u}function ju(r){const{variants:i,...s}=r,u={variants:i,style:Nu(s),isProcessed:!0};return u.style===s||i&&i.forEach(c=>{typeof c.style!="function"&&(c.style=Nu(c.style))}),u}const k0=Ol();function zl(r){return r!=="ownerState"&&r!=="theme"&&r!=="sx"&&r!=="as"}function x0(r){return r?(i,s)=>s[r]:null}function E0(r,i,s){r.theme=T0(r.theme)?s:r.theme[i]||r.theme}function Zo(r,i){const s=typeof i=="function"?i(r):i;if(Array.isArray(s))return s.flatMap(u=>Zo(r,u));if(Array.isArray(s==null?void 0:s.variants)){let u;if(s.isProcessed)u=s.style;else{const{variants:c,...f}=s;u=f}return Fu(r,s.variants,[u])}return s!=null&&s.isProcessed?s.style:s}function Fu(r,i,s=[]){var c;let u;e:for(let f=0;f<i.length;f+=1){const p=i[f];if(typeof p.props=="function"){if(u??(u={...r,...r.ownerState,ownerState:r.ownerState}),!p.props(u))continue}else for(const h in p.props)if(r[h]!==p.props[h]&&((c=r.ownerState)==null?void 0:c[h])!==p.props[h])continue e;typeof p.style=="function"?(u??(u={...r,...r.ownerState,ownerState:r.ownerState}),s.push(p.style(u))):s.push(p.style)}return s}function C0(r={}){const{themeId:i,defaultTheme:s=k0,rootShouldForwardProp:u=zl,slotShouldForwardProp:c=zl}=r;function f(h){E0(h,i,s)}return(h,v={})=>{vm(h,H=>H.filter(K=>K!==Jn));const{name:E,slot:N,skipVariantsResolver:C,skipSx:T,overridesResolver:$=x0(N0(N)),...R}=v,O=C!==void 0?C:N&&N!=="Root"&&N!=="root"||!1,D=T||!1;let V=zl;N==="Root"||N==="root"?V=u:N?V=c:P0(h)&&(V=void 0);const J=ym(h,{shouldForwardProp:V,label:_0(),...R}),M=H=>{if(typeof H=="function"&&H.__emotion_real!==H)return function(b){return Zo(b,H)};if(Vt(H)){const K=ju(H);return K.variants?function(de){return Zo(de,K)}:K.style}return H},F=(...H)=>{const K=[],b=H.map(M),de=[];if(K.push(f),E&&$&&de.push(function(ee){var se,ge;const le=(ge=(se=ee.theme.components)==null?void 0:se[E])==null?void 0:ge.styleOverrides;if(!le)return null;const te={};for(const B in le)te[B]=Zo(ee,le[B]);return $(ee,te)}),E&&!O&&de.push(function(ee){var te,se;const ae=ee.theme,le=(se=(te=ae==null?void 0:ae.components)==null?void 0:te[E])==null?void 0:se.variants;return le?Fu(ee,le):null}),D||de.push(Jn),Array.isArray(b[0])){const W=b.shift(),ee=new Array(K.length).fill(""),ae=new Array(de.length).fill("");let le;le=[...ee,...W,...ae],le.raw=[...ee,...W.raw,...ae],K.unshift(le)}const pe=[...K,...b,...de],m=J(...pe);return h.muiName&&(m.muiName=h.muiName),m};return J.withConfig&&(F.withConfig=J.withConfig),F}}function _0(r,i){return void 0}function T0(r){for(const i in r)return!1;return!0}function P0(r){return typeof r=="string"&&r.charCodeAt(0)>96}function N0(r){return r&&r.charAt(0).toLowerCase()+r.slice(1)}function Il(r,i){const s={...i};for(const u in r)if(Object.prototype.hasOwnProperty.call(r,u)){const c=u;if(c==="components"||c==="slots")s[c]={...r[c],...s[c]};else if(c==="componentsProps"||c==="slotProps"){const f=r[c],p=i[c];if(!p)s[c]=f||{};else if(!f)s[c]=p;else{s[c]={...p};for(const h in f)if(Object.prototype.hasOwnProperty.call(f,h)){const v=h;s[c][v]=Il(f[v],p[v])}}}else s[c]===void 0&&(s[c]=r[c])}return s}const $l=typeof window<"u"?U.useLayoutEffect:U.useEffect;function R0(r,i=Number.MIN_SAFE_INTEGER,s=Number.MAX_SAFE_INTEGER){return Math.max(i,Math.min(r,s))}var O0={USER:"vlm",npm_config_user_agent:"npm/10.8.1 node/v20.14.0 linux x64 workspaces/false",GIT_ASKPASS:"/home/vlm/.vscode-server/bin/cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba/extensions/git/dist/askpass.sh",npm_node_execpath:"/home/vlm/.nvm/versions/node/v20.14.0/bin/node",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/vlm",OLDPWD:"/home/vlm/projekty/eshop/eshop-react",TERM_PROGRAM_VERSION:"1.96.4",NVM_BIN:"/home/vlm/.nvm/versions/node/v20.14.0/bin",VSCODE_IPC_HOOK_CLI:"/mnt/wslg/runtime-dir/vscode-ipc-059a4fc2-e413-42a9-80d7-12aad71d762e.sock",npm_package_json:"/home/vlm/projekty/eshop/eshop-react/react/src/app/gallery/package.json",NVM_INC:"/home/vlm/.nvm/versions/node/v20.14.0/include/node",VSCODE_GIT_ASKPASS_MAIN:"/home/vlm/.vscode-server/bin/cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba/extensions/git/dist/askpass-main.js",VSCODE_GIT_ASKPASS_NODE:"/home/vlm/.vscode-server/bin/cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba/node",npm_config_userconfig:"/home/vlm/.npmrc",npm_config_local_prefix:"/home/vlm/projekty/eshop/eshop-react/react/src/app/gallery",COLORTERM:"truecolor",WSL_DISTRO_NAME:"Debian",COLOR:"1",NVM_DIR:"/home/vlm/.nvm",WAYLAND_DISPLAY:"wayland-0",LOGNAME:"vlm",NAME:"it-miler-nb",WSL_INTEROP:"/run/WSL/13_interop",http_proxy:"http://proxy.dek.cz:3128",PULSE_SERVER:"unix:/mnt/wslg/PulseServer",_:"/home/vlm/.nvm/versions/node/v20.14.0/bin/npm",npm_config_prefix:"/home/vlm/.nvm/versions/node/v20.14.0",npm_config_npm_version:"10.8.1",TERM:"xterm-256color",npm_config_cache:"/home/vlm/.npm",npm_config_node_gyp:"/home/vlm/.nvm/versions/node/v20.14.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/vlm/projekty/eshop/eshop-react/react/src/app/gallery/node_modules/.bin:/home/vlm/projekty/eshop/eshop-react/react/src/app/node_modules/.bin:/home/vlm/projekty/eshop/eshop-react/react/src/node_modules/.bin:/home/vlm/projekty/eshop/eshop-react/react/node_modules/.bin:/home/vlm/projekty/eshop/eshop-react/node_modules/.bin:/home/vlm/projekty/eshop/node_modules/.bin:/home/vlm/projekty/node_modules/.bin:/home/vlm/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/home/vlm/.nvm/versions/node/v20.14.0/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/vlm/.vscode-server/bin/cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba/bin/remote-cli:/home/vlm/.nvm/versions/node/v20.14.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/Program Files (x86)/Eclipse Adoptium/jre-8.0.422.5-hotspot/bin:/mnt/c/Program Files/Eclipse Adoptium/jre-8.0.422.5-hotspot/bin:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/Program Files/dotnet/:/mnt/c/Program Files/Microsoft VS Code/bin:/mnt/c/Program Files (x86)/Microsoft SQL Server/160/DTS/Binn/:/mnt/c/nvm:/mnt/c/nvm/nodejs:/mnt/c/Program Files (x86)/pas/:/mnt/c/Program Files/Git/cmd:/mnt/c/Program Files/PuTTY/:/mnt/c/Users/miler vlastimil/AppData/Local/Microsoft/WindowsApps:/mnt/c/nvm:/mnt/c/nvm/nodejs:/mnt/c/Users/miler vlastimil/AppData/Local/Programs/oh-my-posh/bin:/home/vlm/.vscode-server/data/User/globalStorage/github.copilot-chat/debugCommand",WSL_PAC_URL:"http://proxy.dek.cz/wpad.dat",NODE:"/home/vlm/.nvm/versions/node/v20.14.0/bin/node",npm_package_name:"react-eshop",XDG_RUNTIME_DIR:"/mnt/wslg/runtime-dir",DISPLAY:":0",LANG:"en_US.UTF-8",LS_COLORS:"rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:",VSCODE_GIT_IPC_HANDLE:"/mnt/wslg/runtime-dir/vscode-git-ab85a6a1e2.sock",TERM_PROGRAM:"vscode",npm_lifecycle_script:"npm run check && vite build",SHELL:"/bin/bash",npm_package_version:"0.0.0",npm_lifecycle_event:"build",NODE_PATH:"/home/vlm/projekty/eshop/eshop-react/react/node_modules/.pnpm/vite@5.4.11_@types+node@20.14.13/node_modules/vite/bin/node_modules:/home/vlm/projekty/eshop/eshop-react/react/node_modules/.pnpm/vite@5.4.11_@types+node@20.14.13/node_modules/vite/node_modules:/home/vlm/projekty/eshop/eshop-react/react/node_modules/.pnpm/vite@5.4.11_@types+node@20.14.13/node_modules:/home/vlm/projekty/eshop/eshop-react/react/node_modules/.pnpm/node_modules",VSCODE_GIT_ASKPASS_EXTRA_ARGS:"",npm_config_globalconfig:"/home/vlm/.nvm/versions/node/v20.14.0/etc/npmrc",npm_config_init_module:"/home/vlm/.npm-init.js",PWD:"/home/vlm/projekty/eshop/eshop-react/react/src/app/gallery",npm_execpath:"/home/vlm/.nvm/versions/node/v20.14.0/lib/node_modules/npm/bin/npm-cli.js",NVM_CD_FLAGS:"",npm_config_global_prefix:"/home/vlm/.nvm/versions/node/v20.14.0",HTTP_PROXY:"http://proxy.dek.cz:3128",npm_command:"run-script",WSL2_GUI_APPS_ENABLED:"1",HOSTTYPE:"x86_64",WSLENV:"VSCODE_WSL_EXT_LOCATION/up:VSCODE_SERVER_TAR/up",INIT_CWD:"/home/vlm/projekty/eshop/eshop-react/react/src/app/gallery",EDITOR:"vi",NODE_ENV:"production"};function Ll(r,i=0,s=1){return R0(r,i,s)}function A0(r){r=r.slice(1);const i=new RegExp(`.{1,${r.length>=6?2:1}}`,"g");let s=r.match(i);return s&&s[0].length===1&&(s=s.map(u=>u+u)),s?`rgb${s.length===4?"a":""}(${s.map((u,c)=>c<3?parseInt(u,16):Math.round(parseInt(u,16)/255*1e3)/1e3).join(", ")})`:""}function rn(r){if(r.type)return r;if(r.charAt(0)==="#")return rn(A0(r));const i=r.indexOf("("),s=r.substring(0,i);if(!["rgb","rgba","hsl","hsla","color"].includes(s))throw new Error(Cn(9,r));let u=r.substring(i+1,r.length-1),c;if(s==="color"){if(u=u.split(" "),c=u.shift(),u.length===4&&u[3].charAt(0)==="/"&&(u[3]=u[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(c))throw new Error(Cn(10,c))}else u=u.split(",");return u=u.map(f=>parseFloat(f)),{type:s,values:u,colorSpace:c}}const z0=r=>{const i=rn(r);return i.values.slice(0,3).map((s,u)=>i.type.includes("hsl")&&u!==0?`${s}%`:s).join(" ")},Br=(r,i)=>{try{return z0(r)}catch{return i&&O0.NODE_ENV!=="production"&&console.warn(i),r}};function Jo(r){const{type:i,colorSpace:s}=r;let{values:u}=r;return i.includes("rgb")?u=u.map((c,f)=>f<3?parseInt(c,10):c):i.includes("hsl")&&(u[1]=`${u[1]}%`,u[2]=`${u[2]}%`),i.includes("color")?u=`${s} ${u.join(" ")}`:u=`${u.join(", ")}`,`${i}(${u})`}function bu(r){r=rn(r);const{values:i}=r,s=i[0],u=i[1]/100,c=i[2]/100,f=u*Math.min(c,1-c),p=(E,N=(E+s/30)%12)=>c-f*Math.max(Math.min(N-3,9-N,1),-1);let h="rgb";const v=[Math.round(p(0)*255),Math.round(p(8)*255),Math.round(p(4)*255)];return r.type==="hsla"&&(h+="a",v.push(i[3])),Jo({type:h,values:v})}function Ml(r){r=rn(r);let i=r.type==="hsl"||r.type==="hsla"?rn(bu(r)).values:r.values;return i=i.map(s=>(r.type!=="color"&&(s/=255),s<=.03928?s/12.92:((s+.055)/1.055)**2.4)),Number((.2126*i[0]+.7152*i[1]+.0722*i[2]).toFixed(3))}function I0(r,i){const s=Ml(r),u=Ml(i);return(Math.max(s,u)+.05)/(Math.min(s,u)+.05)}function $0(r,i){return r=rn(r),i=Ll(i),(r.type==="rgb"||r.type==="hsl")&&(r.type+="a"),r.type==="color"?r.values[3]=`/${i}`:r.values[3]=i,Jo(r)}function qo(r,i,s){try{return $0(r,i)}catch{return r}}function Dl(r,i){if(r=rn(r),i=Ll(i),r.type.includes("hsl"))r.values[2]*=1-i;else if(r.type.includes("rgb")||r.type.includes("color"))for(let s=0;s<3;s+=1)r.values[s]*=1-i;return Jo(r)}function _e(r,i,s){try{return Dl(r,i)}catch{return r}}function jl(r,i){if(r=rn(r),i=Ll(i),r.type.includes("hsl"))r.values[2]+=(100-r.values[2])*i;else if(r.type.includes("rgb"))for(let s=0;s<3;s+=1)r.values[s]+=(255-r.values[s])*i;else if(r.type.includes("color"))for(let s=0;s<3;s+=1)r.values[s]+=(1-r.values[s])*i;return Jo(r)}function Te(r,i,s){try{return jl(r,i)}catch{return r}}function L0(r,i=.15){return Ml(r)>.5?Dl(r,i):jl(r,i)}function ei(r,i,s){try{return L0(r,i)}catch{return r}}function Bu(...r){return r.reduce((i,s)=>s==null?i:function(...c){i.apply(this,c),s.apply(this,c)},()=>{})}function _n(r){return r&&r.ownerDocument||document}function ti(r){return _n(r).defaultView||window}function Fl(r,i){typeof r=="function"?r(i):r&&(r.current=i)}function Uu(r){const i=U.useRef(r);return $l(()=>{i.current=r}),U.useRef((...s)=>(0,i.current)(...s)).current}function qn(...r){return U.useMemo(()=>r.every(i=>i==null)?null:i=>{r.forEach(s=>{Fl(s,i)})},r)}function M0(r=window){const i=r.document.documentElement.clientWidth;return r.innerWidth-i}function Wu(r,i,s=void 0){const u={};for(const c in r){const f=r[c];let p="",h=!0;for(let v=0;v<f.length;v+=1){const E=f[v];E&&(p+=(h===!0?"":" ")+i(E),h=!1,s&&s[E]&&(p+=" "+s[E]))}u[c]=p}return u}function D0(r){return typeof r=="string"}function j0(r,i,s){return r===void 0||D0(r)?i:{...i,ownerState:{...i.ownerState,...s}}}function Vu(r,i=[]){if(r===void 0)return{};const s={};return Object.keys(r).filter(u=>u.match(/^on[A-Z]/)&&typeof r[u]=="function"&&!i.includes(u)).forEach(u=>{s[u]=r[u]}),s}function Hu(r){if(r===void 0)return{};const i={};return Object.keys(r).filter(s=>!(s.match(/^on[A-Z]/)&&typeof r[s]=="function")).forEach(s=>{i[s]=r[s]}),i}function F0(r){const{getSlotProps:i,additionalProps:s,externalSlotProps:u,externalForwardedProps:c,className:f}=r;if(!i){const $=br(s==null?void 0:s.className,f,c==null?void 0:c.className,u==null?void 0:u.className),R={...s==null?void 0:s.style,...c==null?void 0:c.style,...u==null?void 0:u.style},O={...s,...c,...u};return $.length>0&&(O.className=$),Object.keys(R).length>0&&(O.style=R),{props:O,internalRef:void 0}}const p=Vu({...c,...u}),h=Hu(u),v=Hu(c),E=i(p),N=br(E==null?void 0:E.className,s==null?void 0:s.className,f,c==null?void 0:c.className,u==null?void 0:u.className),C={...E==null?void 0:E.style,...s==null?void 0:s.style,...c==null?void 0:c.style,...u==null?void 0:u.style},T={...E,...s,...v,...h};return N.length>0&&(T.className=N),Object.keys(C).length>0&&(T.style=C),{props:T,internalRef:E.ref}}function b0(r,i,s){return typeof r=="function"?r(i,s):r}function bl(r){var i;return parseInt(U.version,10)>=19?((i=r==null?void 0:r.props)==null?void 0:i.ref)||null:(r==null?void 0:r.ref)||null}const B0=U.createContext(void 0);function U0(r){const{theme:i,name:s,props:u}=r;if(!i||!i.components||!i.components[s])return u;const c=i.components[s];return c.defaultProps?Il(c.defaultProps,u):!c.styleOverrides&&!c.variants?Il(c,u):u}function W0({props:r,name:i}){const s=U.useContext(B0);return U0({props:r,name:i,theme:{components:s}})}const Ku={theme:void 0};function V0(r){let i,s;return function(c){let f=i;return(f===void 0||c.theme!==s)&&(Ku.theme=c.theme,f=ju(r(Ku)),i=f,s=c.theme),f}}function H0(r=""){function i(...u){if(!u.length)return"";const c=u[0];return typeof c=="string"&&!c.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${r?`${r}-`:""}${c}${i(...u.slice(1))})`:`, ${c}`}return(u,...c)=>`var(--${r?`${r}-`:""}${u}${i(...c)})`}const Gu=(r,i,s,u=[])=>{let c=r;i.forEach((f,p)=>{p===i.length-1?Array.isArray(c)?c[Number(f)]=s:c&&typeof c=="object"&&(c[f]=s):c&&typeof c=="object"&&(c[f]||(c[f]=u.includes(f)?[]:{}),c=c[f])})},K0=(r,i,s)=>{function u(c,f=[],p=[]){Object.entries(c).forEach(([h,v])=>{(!s||s&&!s([...f,h]))&&v!=null&&(typeof v=="object"&&Object.keys(v).length>0?u(v,[...f,h],Array.isArray(v)?[...p,h]:p):i([...f,h],v,p))})}u(r)},G0=(r,i)=>typeof i=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(u=>r.includes(u))||r[r.length-1].toLowerCase().includes("opacity")?i:`${i}px`:i;function Bl(r,i){const{prefix:s,shouldSkipGeneratingVar:u}=i||{},c={},f={},p={};return K0(r,(h,v,E)=>{if((typeof v=="string"||typeof v=="number")&&(!u||!u(h,v))){const N=`--${s?`${s}-`:""}${h.join("-")}`,C=G0(h,v);Object.assign(c,{[N]:C}),Gu(f,h,`var(${N})`,E),Gu(p,h,`var(${N}, ${C})`,E)}},h=>h[0]==="vars"),{css:c,vars:f,varsWithDefaults:p}}function Q0(r,i={}){const{getSelector:s=D,disableCssColorScheme:u,colorSchemeSelector:c}=i,{colorSchemes:f={},components:p,defaultColorScheme:h="light",...v}=r,{vars:E,css:N,varsWithDefaults:C}=Bl(v,i);let T=C;const $={},{[h]:R,...O}=f;if(Object.entries(O||{}).forEach(([M,F])=>{const{vars:H,css:K,varsWithDefaults:b}=Bl(F,i);T=pt(T,b),$[M]={css:K,vars:H}}),R){const{css:M,vars:F,varsWithDefaults:H}=Bl(R,i);T=pt(T,H),$[h]={css:M,vars:F}}function D(M,F){var K,b;let H=c;if(c==="class"&&(H=".%s"),c==="data"&&(H="[data-%s]"),c!=null&&c.startsWith("data-")&&!c.includes("%s")&&(H=`[${c}="%s"]`),M){if(H==="media")return r.defaultColorScheme===M?":root":{[`@media (prefers-color-scheme: ${((b=(K=f[M])==null?void 0:K.palette)==null?void 0:b.mode)||M})`]:{":root":F}};if(H)return r.defaultColorScheme===M?`:root, ${H.replace("%s",String(M))}`:H.replace("%s",String(M))}return":root"}return{vars:T,generateThemeVars:()=>{let M={...E};return Object.entries($).forEach(([,{vars:F}])=>{M=pt(M,F)}),M},generateStyleSheets:()=>{var de,pe;const M=[],F=r.defaultColorScheme||"light";function H(m,W){Object.keys(W).length&&M.push(typeof m=="string"?{[m]:{...W}}:m)}H(s(void 0,{...N}),N);const{[F]:K,...b}=$;if(K){const{css:m}=K,W=(pe=(de=f[F])==null?void 0:de.palette)==null?void 0:pe.mode,ee=!u&&W?{colorScheme:W,...m}:{...m};H(s(F,{...ee}),ee)}return Object.entries(b).forEach(([m,{css:W}])=>{var le,te;const ee=(te=(le=f[m])==null?void 0:le.palette)==null?void 0:te.mode,ae=!u&&ee?{colorScheme:ee,...W}:{...W};H(s(m,{...ae}),ae)}),M}}}function Y0(r){return function(s){return r==="media"?`@media (prefers-color-scheme: ${s})`:r?r.startsWith("data-")&&!r.includes("%s")?`[${r}="${s}"] &`:r==="class"?`.${s} &`:r==="data"?`[data-${s}] &`:`${r.replace("%s",s)} &`:"&"}}function Qu(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Or.white,default:Or.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const X0=Qu();function Yu(){return{text:{primary:Or.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Or.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const Xu=Yu();function Zu(r,i,s,u){const c=u.light||u,f=u.dark||u*1.5;r[i]||(r.hasOwnProperty(s)?r[i]=r[s]:i==="light"?r.light=jl(r.main,c):i==="dark"&&(r.dark=Dl(r.main,f)))}function Z0(r="light"){return r==="dark"?{main:Hn[200],light:Hn[50],dark:Hn[400]}:{main:Hn[700],light:Hn[400],dark:Hn[800]}}function J0(r="light"){return r==="dark"?{main:Vn[200],light:Vn[50],dark:Vn[400]}:{main:Vn[500],light:Vn[300],dark:Vn[700]}}function q0(r="light"){return r==="dark"?{main:Wn[500],light:Wn[300],dark:Wn[700]}:{main:Wn[700],light:Wn[400],dark:Wn[800]}}function eh(r="light"){return r==="dark"?{main:Kn[400],light:Kn[300],dark:Kn[700]}:{main:Kn[700],light:Kn[500],dark:Kn[900]}}function th(r="light"){return r==="dark"?{main:Gn[400],light:Gn[300],dark:Gn[700]}:{main:Gn[800],light:Gn[500],dark:Gn[900]}}function nh(r="light"){return r==="dark"?{main:Ar[400],light:Ar[300],dark:Ar[700]}:{main:"#ed6c02",light:Ar[500],dark:Ar[900]}}function Ul(r){const{mode:i="light",contrastThreshold:s=3,tonalOffset:u=.2,...c}=r,f=r.primary||Z0(i),p=r.secondary||J0(i),h=r.error||q0(i),v=r.info||eh(i),E=r.success||th(i),N=r.warning||nh(i);function C(O){return I0(O,Xu.text.primary)>=s?Xu.text.primary:X0.text.primary}const T=({color:O,name:D,mainShade:V=500,lightShade:J=300,darkShade:M=700})=>{if(O={...O},!O.main&&O[V]&&(O.main=O[V]),!O.hasOwnProperty("main"))throw new Error(Cn(11,D?` (${D})`:"",V));if(typeof O.main!="string")throw new Error(Cn(12,D?` (${D})`:"",JSON.stringify(O.main)));return Zu(O,"light",J,u),Zu(O,"dark",M,u),O.contrastText||(O.contrastText=C(O.main)),O};let $;return i==="light"?$=Qu():i==="dark"&&($=Yu()),pt({common:{...Or},mode:i,primary:T({color:f,name:"primary"}),secondary:T({color:p,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:T({color:h,name:"error"}),warning:T({color:N,name:"warning"}),info:T({color:v,name:"info"}),success:T({color:E,name:"success"}),grey:vp,contrastThreshold:s,getContrastText:C,augmentColor:T,tonalOffset:u,...$},c)}function rh(r){const i={};return Object.entries(r).forEach(u=>{const[c,f]=u;typeof f=="object"&&(i[c]=`${f.fontStyle?`${f.fontStyle} `:""}${f.fontVariant?`${f.fontVariant} `:""}${f.fontWeight?`${f.fontWeight} `:""}${f.fontStretch?`${f.fontStretch} `:""}${f.fontSize||""}${f.lineHeight?`/${f.lineHeight} `:""}${f.fontFamily||""}`)}),i}function oh(r,i){return{toolbar:{minHeight:56,[r.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[r.up("sm")]:{minHeight:64}},...i}}function ih(r){return Math.round(r*1e5)/1e5}const Ju={textTransform:"uppercase"},qu='"Roboto", "Helvetica", "Arial", sans-serif';function lh(r,i){const{fontFamily:s=qu,fontSize:u=14,fontWeightLight:c=300,fontWeightRegular:f=400,fontWeightMedium:p=500,fontWeightBold:h=700,htmlFontSize:v=16,allVariants:E,pxToRem:N,...C}=typeof i=="function"?i(r):i,T=u/14,$=N||(D=>`${D/v*T}rem`),R=(D,V,J,M,F)=>({fontFamily:s,fontWeight:D,fontSize:$(V),lineHeight:J,...s===qu?{letterSpacing:`${ih(M/V)}em`}:{},...F,...E}),O={h1:R(c,96,1.167,-1.5),h2:R(c,60,1.2,-.5),h3:R(f,48,1.167,0),h4:R(f,34,1.235,.25),h5:R(f,24,1.334,0),h6:R(p,20,1.6,.15),subtitle1:R(f,16,1.75,.15),subtitle2:R(p,14,1.57,.1),body1:R(f,16,1.5,.15),body2:R(f,14,1.43,.15),button:R(p,14,1.75,.4,Ju),caption:R(f,12,1.66,.4),overline:R(f,12,2.66,1,Ju),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return pt({htmlFontSize:v,pxToRem:$,fontFamily:s,fontSize:u,fontWeightLight:c,fontWeightRegular:f,fontWeightMedium:p,fontWeightBold:h,...O},C,{clone:!1})}const sh=.2,ah=.14,uh=.12;function Ae(...r){return[`${r[0]}px ${r[1]}px ${r[2]}px ${r[3]}px rgba(0,0,0,${sh})`,`${r[4]}px ${r[5]}px ${r[6]}px ${r[7]}px rgba(0,0,0,${ah})`,`${r[8]}px ${r[9]}px ${r[10]}px ${r[11]}px rgba(0,0,0,${uh})`].join(",")}const ch=["none",Ae(0,2,1,-1,0,1,1,0,0,1,3,0),Ae(0,3,1,-2,0,2,2,0,0,1,5,0),Ae(0,3,3,-2,0,3,4,0,0,1,8,0),Ae(0,2,4,-1,0,4,5,0,0,1,10,0),Ae(0,3,5,-1,0,5,8,0,0,1,14,0),Ae(0,3,5,-1,0,6,10,0,0,1,18,0),Ae(0,4,5,-2,0,7,10,1,0,2,16,1),Ae(0,5,5,-3,0,8,10,1,0,3,14,2),Ae(0,5,6,-3,0,9,12,1,0,3,16,2),Ae(0,6,6,-3,0,10,14,1,0,4,18,3),Ae(0,6,7,-4,0,11,15,1,0,4,20,3),Ae(0,7,8,-4,0,12,17,2,0,5,22,4),Ae(0,7,8,-4,0,13,19,2,0,5,24,4),Ae(0,7,9,-4,0,14,21,2,0,5,26,4),Ae(0,8,9,-5,0,15,22,2,0,6,28,5),Ae(0,8,10,-5,0,16,24,2,0,6,30,5),Ae(0,8,11,-5,0,17,26,2,0,6,32,5),Ae(0,9,11,-5,0,18,28,2,0,7,34,6),Ae(0,9,12,-6,0,19,29,2,0,7,36,6),Ae(0,10,13,-6,0,20,31,3,0,8,38,7),Ae(0,10,13,-6,0,21,33,3,0,8,40,7),Ae(0,10,14,-6,0,22,35,3,0,8,42,7),Ae(0,11,14,-7,0,23,36,3,0,9,44,8),Ae(0,11,15,-7,0,24,38,3,0,9,46,8)],fh={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},dh={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function ec(r){return`${Math.round(r)}ms`}function ph(r){if(!r)return 0;const i=r/36;return Math.min(Math.round((4+15*i**.25+i/5)*10),3e3)}function mh(r){const i={...fh,...r.easing},s={...dh,...r.duration};return{getAutoHeightDuration:ph,create:(c=["all"],f={})=>{const{duration:p=s.standard,easing:h=i.easeInOut,delay:v=0,...E}=f;return(Array.isArray(c)?c:[c]).map(N=>`${N} ${typeof p=="string"?p:ec(p)} ${h} ${typeof v=="string"?v:ec(v)}`).join(",")},...r,easing:i,duration:s}}const hh={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function gh(r){return Vt(r)||typeof r>"u"||typeof r=="string"||typeof r=="boolean"||typeof r=="number"||Array.isArray(r)}function tc(r={}){const i={...r};function s(u){const c=Object.entries(u);for(let f=0;f<c.length;f++){const[p,h]=c[f];!gh(h)||p.startsWith("unstable_")?delete u[p]:Vt(h)&&(u[p]={...h},s(u[p]))}}return s(i),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles'; const theme = ${JSON.stringify(i,null,2)}; theme.breakpoints = createBreakpoints(theme.breakpoints || {}); theme.transitions = createTransitions(theme.transitions || {}); export default theme;`}function Wl(r={},...i){const{breakpoints:s,mixins:u={},spacing:c,palette:f={},transitions:p={},typography:h={},shape:v,...E}=r;if(r.vars)throw new Error(Cn(20));const N=Ul(f),C=Ol(r);let T=pt(C,{mixins:oh(C.breakpoints,u),palette:N,shadows:ch.slice(),typography:lh(N,h),transitions:mh(p),zIndex:{...hh}});return T=pt(T,E),T=i.reduce(($,R)=>pt($,R),T),T.unstable_sxConfig={...Xo,...E==null?void 0:E.unstable_sxConfig},T.unstable_sx=function(R){return Jn({sx:R,theme:this})},T.toRuntimeSource=tc,T}function yh(r){let i;return r<1?i=5.11916*r**2:i=4.5*Math.log(r+1)+2,Math.round(i*10)/1e3}const vh=[...Array(25)].map((r,i)=>{if(i===0)return"none";const s=yh(i);return`linear-gradient(rgba(255 255 255 / ${s}), rgba(255 255 255 / ${s}))`});function nc(r){return{inputPlaceholder:r==="dark"?.5:.42,inputUnderline:r==="dark"?.7:.42,switchTrackDisabled:r==="dark"?.2:.12,switchTrack:r==="dark"?.3:.38}}function rc(r){return r==="dark"?vh:[]}function wh(r){const{palette:i={mode:"light"},opacity:s,overlays:u,...c}=r,f=Ul(i);return{palette:f,opacity:{...nc(f.mode),...s},overlays:u||rc(f.mode),...c}}function Sh(r){var i;return!!r[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!r[0].match(/sxConfig$/)||r[0]==="palette"&&!!((i=r[1])!=null&&i.match(/(mode|contrastThreshold|tonalOffset)/))}const kh=r=>[...[...Array(25)].map((i,s)=>`--${r?`${r}-`:""}overlays-${s}`),`--${r?`${r}-`:""}palette-AppBar-darkBg`,`--${r?`${r}-`:""}palette-AppBar-darkColor`],xh=r=>(i,s)=>{const u=r.rootSelector||":root",c=r.colorSchemeSelector;let f=c;if(c==="class"&&(f=".%s"),c==="data"&&(f="[data-%s]"),c!=null&&c.startsWith("data-")&&!c.includes("%s")&&(f=`[${c}="%s"]`),r.defaultColorScheme===i){if(i==="dark"){const p={};return kh(r.cssVarPrefix).forEach(h=>{p[h]=s[h],delete s[h]}),f==="media"?{[u]:s,"@media (prefers-color-scheme: dark)":{[u]:p}}:f?{[f.replace("%s",i)]:p,[`${u}, ${f.replace("%s",i)}`]:s}:{[u]:{...s,...p}}}if(f&&f!=="media")return`${u}, ${f.replace("%s",String(i))}`}else if(i){if(f==="media")return{[`@media (prefers-color-scheme: ${String(i)})`]:{[u]:s}};if(f)return f.replace("%s",String(i))}return u};function Eh(r,i){i.forEach(s=>{r[s]||(r[s]={})})}function P(r,i,s){!r[i]&&s&&(r[i]=s)}function Ur(r){return!r||!r.startsWith("hsl")?r:bu(r)}function Kt(r,i){`${i}Channel`in r||(r[`${i}Channel`]=Br(Ur(r[i]),`MUI: Can't create \`palette.${i}Channel\` because \`palette.${i}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color(). To suppress this warning, you need to explicitly provide the \`palette.${i}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function Ch(r){return typeof r=="number"?`${r}px`:typeof r=="string"||typeof r=="function"||Array.isArray(r)?r:"8px"}const Dt=r=>{try{return r()}catch{}},_h=(r="mui")=>H0(r);function Vl(r,i,s,u){if(!i)return;i=i===!0?{}:i;const c=u==="dark"?"dark":"light";if(!s){r[u]=wh({...i,palette:{mode:c,...i==null?void 0:i.palette}});return}const{palette:f,...p}=Wl({...s,palette:{mode:c,...i==null?void 0:i.palette}});return r[u]={...i,palette:f,opacity:{...nc(c),...i==null?void 0:i.opacity},overlays:(i==null?void 0:i.overlays)||rc(c)},p}function Th(r={},...i){const{colorSchemes:s={light:!0},defaultColorScheme:u,disableCssColorScheme:c=!1,cssVarPrefix:f="mui",shouldSkipGeneratingVar:p=Sh,colorSchemeSelector:h=s.light&&s.dark?"media":void 0,rootSelector:v=":root",...E}=r,N=Object.keys(s)[0],C=u||(s.light&&N!=="light"?"light":N),T=_h(f),{[C]:$,light:R,dark:O,...D}=s,V={...D};let J=$;if((C==="dark"&&!("dark"in s)||C==="light"&&!("light"in s))&&(J=!0),!J)throw new Error(Cn(21,C));const M=Vl(V,J,E,C);R&&!V.light&&Vl(V,R,void 0,"light"),O&&!V.dark&&Vl(V,O,void 0,"dark");let F={defaultColorScheme:C,...M,cssVarPrefix:f,colorSchemeSelector:h,rootSelector:v,getCssVar:T,colorSchemes:V,font:{...rh(M.typography),...M.font},spacing:Ch(E.spacing)};Object.keys(F.colorSchemes).forEach(pe=>{const m=F.colorSchemes[pe].palette,W=ee=>{const ae=ee.split("-"),le=ae[1],te=ae[2];return T(ee,m[le][te])};if(m.mode==="light"&&(P(m.common,"background","#fff"),P(m.common,"onBackground","#000")),m.mode==="dark"&&(P(m.common,"background","#000"),P(m.common,"onBackground","#fff")),Eh(m,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),m.mode==="light"){P(m.Alert,"errorColor",_e(m.error.light,.6)),P(m.Alert,"infoColor",_e(m.info.light,.6)),P(m.Alert,"successColor",_e(m.success.light,.6)),P(m.Alert,"warningColor",_e(m.warning.light,.6)),P(m.Alert,"errorFilledBg",W("palette-error-main")),P(m.Alert,"infoFilledBg",W("palette-info-main")),P(m.Alert,"successFilledBg",W("palette-success-main")),P(m.Alert,"warningFilledBg",W("palette-warning-main")),P(m.Alert,"errorFilledColor",Dt(()=>m.getContrastText(m.error.main))),P(m.Alert,"infoFilledColor",Dt(()=>m.getContrastText(m.info.main))),P(m.Alert,"successFilledColor",Dt(()=>m.getContrastText(m.success.main))),P(m.Alert,"warningFilledColor",Dt(()=>m.getContrastText(m.warning.main))),P(m.Alert,"errorStandardBg",Te(m.error.light,.9)),P(m.Alert,"infoStandardBg",Te(m.info.light,.9)),P(m.Alert,"successStandardBg",Te(m.success.light,.9)),P(m.Alert,"warningStandardBg",Te(m.warning.light,.9)),P(m.Alert,"errorIconColor",W("palette-error-main")),P(m.Alert,"infoIconColor",W("palette-info-main")),P(m.Alert,"successIconColor",W("palette-success-main")),P(m.Alert,"warningIconColor",W("palette-warning-main")),P(m.AppBar,"defaultBg",W("palette-grey-100")),P(m.Avatar,"defaultBg",W("palette-grey-400")),P(m.Button,"inheritContainedBg",W("palette-grey-300")),P(m.Button,"inheritContainedHoverBg",W("palette-grey-A100")),P(m.Chip,"defaultBorder",W("palette-grey-400")),P(m.Chip,"defaultAvatarColor",W("palette-grey-700")),P(m.Chip,"defaultIconColor",W("palette-grey-700")),P(m.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),P(m.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),P(m.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),P(m.LinearProgress,"primaryBg",Te(m.primary.main,.62)),P(m.LinearProgress,"secondaryBg",Te(m.secondary.main,.62)),P(m.LinearProgress,"errorBg",Te(m.error.main,.62)),P(m.LinearProgress,"infoBg",Te(m.info.main,.62)),P(m.LinearProgress,"successBg",Te(m.success.main,.62)),P(m.LinearProgress,"warningBg",Te(m.warning.main,.62)),P(m.Skeleton,"bg",`rgba(${W("palette-text-primaryChannel")} / 0.11)`),P(m.Slider,"primaryTrack",Te(m.primary.main,.62)),P(m.Slider,"secondaryTrack",Te(m.secondary.main,.62)),P(m.Slider,"errorTrack",Te(m.error.main,.62)),P(m.Slider,"infoTrack",Te(m.info.main,.62)),P(m.Slider,"successTrack",Te(m.success.main,.62)),P(m.Slider,"warningTrack",Te(m.warning.main,.62));const ee=ei(m.background.default,.8);P(m.SnackbarContent,"bg",ee),P(m.SnackbarContent,"color",Dt(()=>m.getContrastText(ee))),P(m.SpeedDialAction,"fabHoverBg",ei(m.background.paper,.15)),P(m.StepConnector,"border",W("palette-grey-400")),P(m.StepContent,"border",W("palette-grey-400")),P(m.Switch,"defaultColor",W("palette-common-white")),P(m.Switch,"defaultDisabledColor",W("palette-grey-100")),P(m.Switch,"primaryDisabledColor",Te(m.primary.main,.62)),P(m.Switch,"secondaryDisabledColor",Te(m.secondary.main,.62)),P(m.Switch,"errorDisabledColor",Te(m.error.main,.62)),P(m.Switch,"infoDisabledColor",Te(m.info.main,.62)),P(m.Switch,"successDisabledColor",Te(m.success.main,.62)),P(m.Switch,"warningDisabledColor",Te(m.warning.main,.62)),P(m.TableCell,"border",Te(qo(m.divider,1),.88)),P(m.Tooltip,"bg",qo(m.grey[700],.92))}if(m.mode==="dark"){P(m.Alert,"errorColor",Te(m.error.light,.6)),P(m.Alert,"infoColor",Te(m.info.light,.6)),P(m.Alert,"successColor",Te(m.success.light,.6)),P(m.Alert,"warningColor",Te(m.warning.light,.6)),P(m.Alert,"errorFilledBg",W("palette-error-dark")),P(m.Alert,"infoFilledBg",W("palette-info-dark")),P(m.Alert,"successFilledBg",W("palette-success-dark")),P(m.Alert,"warningFilledBg",W("palette-warning-dark")),P(m.Alert,"errorFilledColor",Dt(()=>m.getContrastText(m.error.dark))),P(m.Alert,"infoFilledColor",Dt(()=>m.getContrastText(m.info.dark))),P(m.Alert,"successFilledColor",Dt(()=>m.getContrastText(m.success.dark))),P(m.Alert,"warningFilledColor",Dt(()=>m.getContrastText(m.warning.dark))),P(m.Alert,"errorStandardBg",_e(m.error.light,.9)),P(m.Alert,"infoStandardBg",_e(m.info.light,.9)),P(m.Alert,"successStandardBg",_e(m.success.light,.9)),P(m.Alert,"warningStandardBg",_e(m.warning.light,.9)),P(m.Alert,"errorIconColor",W("palette-error-main")),P(m.Alert,"infoIconColor",W("palette-info-main")),P(m.Alert,"successIconColor",W("palette-success-main")),P(m.Alert,"warningIconColor",W("palette-warning-main")),P(m.AppBar,"defaultBg",W("palette-grey-900")),P(m.AppBar,"darkBg",W("palette-background-paper")),P(m.AppBar,"darkColor",W("palette-text-primary")),P(m.Avatar,"defaultBg",W("palette-grey-600")),P(m.Button,"inheritContainedBg",W("palette-grey-800")),P(m.Button,"inheritContainedHoverBg",W("palette-grey-700")),P(m.Chip,"defaultBorder",W("palette-grey-700")),P(m.Chip,"defaultAvatarColor",W("palette-grey-300")),P(m.Chip,"defaultIconColor",W("palette-grey-300")),P(m.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),P(m.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),P(m.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),P(m.LinearProgress,"primaryBg",_e(m.primary.main,.5)),P(m.LinearProgress,"secondaryBg",_e(m.secondary.main,.5)),P(m.LinearProgress,"errorBg",_e(m.error.main,.5)),P(m.LinearProgress,"infoBg",_e(m.info.main,.5)),P(m.LinearProgress,"successBg",_e(m.success.main,.5)),P(m.LinearProgress,"warningBg",_e(m.warning.main,.5)),P(m.Skeleton,"bg",`rgba(${W("palette-text-primaryChannel")} / 0.13)`),P(m.Slider,"primaryTrack",_e(m.primary.main,.5)),P(m.Slider,"secondaryTrack",_e(m.secondary.main,.5)),P(m.Slider,"errorTrack",_e(m.error.main,.5)),P(m.Slider,"infoTrack",_e(m.info.main,.5)),P(m.Slider,"successTrack",_e(m.success.main,.5)),P(m.Slider,"warningTrack",_e(m.warning.main,.5));const ee=ei(m.background.default,.98);P(m.SnackbarContent,"bg",ee),P(m.SnackbarContent,"color",Dt(()=>m.getContrastText(ee))),P(m.SpeedDialAction,"fabHoverBg",ei(m.background.paper,.15)),P(m.StepConnector,"border",W("palette-grey-600")),P(m.StepContent,"border",W("palette-grey-600")),P(m.Switch,"defaultColor",W("palette-grey-300")),P(m.Switch,"defaultDisabledColor",W("palette-grey-600")),P(m.Switch,"primaryDisabledColor",_e(m.primary.main,.55)),P(m.Switch,"secondaryDisabledColor",_e(m.secondary.main,.55)),P(m.Switch,"errorDisabledColor",_e(m.error.main,.55)),P(m.Switch,"infoDisabledColor",_e(m.info.main,.55)),P(m.Switch,"successDisabledColor",_e(m.success.main,.55)),P(m.Switch,"warningDisabledColor",_e(m.warning.main,.55)),P(m.TableCell,"border",_e(qo(m.divider,1),.68)),P(m.Tooltip,"bg",qo(m.grey[700],.92))}Kt(m.background,"default"),Kt(m.background,"paper"),Kt(m.common,"background"),Kt(m.common,"onBackground"),Kt(m,"divider"),Object.keys(m).forEach(ee=>{const ae=m[ee];ae&&typeof ae=="object"&&(ae.main&&P(m[ee],"mainChannel",Br(Ur(ae.main))),ae.light&&P(m[ee],"lightChannel",Br(Ur(ae.light))),ae.dark&&P(m[ee],"darkChannel",Br(Ur(ae.dark))),ae.contrastText&&P(m[ee],"contrastTextChannel",Br(Ur(ae.contrastText))),ee==="text"&&(Kt(m[ee],"primary"),Kt(m[ee],"secondary")),ee==="action"&&(ae.active&&Kt(m[ee],"active"),ae.selected&&Kt(m[ee],"selected")))})}),F=i.reduce((pe,m)=>pt(pe,m),F);const H={prefix:f,disableCssColorScheme:c,shouldSkipGeneratingVar:p,getSelector:xh(F)},{vars:K,generateThemeVars:b,generateStyleSheets:de}=Q0(F,H);return F.vars=K,Object.entries(F.colorSchemes[F.defaultColorScheme]).forEach(([pe,m])=>{F[pe]=m}),F.generateThemeVars=b,F.generateStyleSheets=de,F.generateSpacing=function(){return $u(E.spacing,Nl(this))},F.getColorSchemeSelector=Y0(h),F.spacing=F.generateSpacing(),F.shouldSkipGeneratingVar=p,F.unstable_sxConfig={...Xo,...E==null?void 0:E.unstable_sxConfig},F.unstable_sx=function(m){return Jn({sx:m,theme:this})},F.toRuntimeSource=tc,F}function oc(r,i,s){r.colorSchemes&&s&&(r.colorSchemes[i]={...s!==!0&&s,palette:Ul({...s===!0?{}:s.palette,mode:i})})}function Ph(r={},...i){const{palette:s,cssVariables:u=!1,colorSchemes:c=s?void 0:{light:!0},defaultColorScheme:f=s==null?void 0:s.mode,...p}=r,h=f||"light",v=c==null?void 0:c[h],E={...c,...s?{[h]:{...typeof v!="boolean"&&v,palette:s}}:void 0};if(u===!1){if(!("colorSchemes"in r))return Wl(r,...i);let N=s;"palette"in r||E[h]&&(E[h]!==!0?N=E[h].palette:h==="dark"&&(N={mode:"dark"}));const C=Wl({...r,palette:N},...i);return C.defaultColorScheme=h,C.colorSchemes=E,C.palette.mode==="light"&&(C.colorSchemes.light={...E.light!==!0&&E.light,palette:C.palette},oc(C,"dark",E.dark)),C.palette.mode==="dark"&&(C.colorSchemes.dark={...E.dark!==!0&&E.dark,palette:C.palette},oc(C,"light",E.light)),C}return!s&&!("light"in E)&&h==="light"&&(E.light=!0),Th({...p,colorSchemes:E,defaultColorScheme:h,...typeof u!="boolean"&&u},...i)}const ic=Ph();function Nh(){const r=v0(ic);return r[iu]||r}function Rh(r){return r!=="ownerState"&&r!=="theme"&&r!=="sx"&&r!=="as"}const Hl=C0({themeId:iu,defaultTheme:ic,rootShouldForwardProp:r=>Rh(r)&&r!=="classes"}),Oh=V0;function lc(r){return W0(r)}function Ah(r,i){if(r==null)return{};var s={};for(var u in r)if({}.hasOwnProperty.call(r,u)){if(i.includes(u))continue;s[u]=r[u]}return s}function Kl(r,i){return Kl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(s,u){return s.__proto__=u,s},Kl(r,i)}function zh(r,i){r.prototype=Object.create(i.prototype),r.prototype.constructor=r,Kl(r,i)}const sc={disabled:!1},ac=Un.createContext(null);var Ih=function(i){return i.scrollTop},Wr="unmounted",Tn="exited",Pn="entering",er="entered",Gl="exiting",Gt=function(r){zh(i,r);function i(u,c){var f;f=r.call(this,u,c)||this;var p=c,h=p&&!p.isMounting?u.enter:u.appear,v;return f.appearStatus=null,u.in?h?(v=Tn,f.appearStatus=Pn):v=er:u.unmountOnExit||u.mountOnEnter?v=Wr:v=Tn,f.state={status:v},f.nextCallback=null,f}i.getDerivedStateFromProps=function(c,f){var p=c.in;return p&&f.status===Wr?{status:Tn}:null};var s=i.prototype;return s.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},s.componentDidUpdate=function(c){var f=null;if(c!==this.props){var p=this.state.status;this.props.in?p!==Pn&&p!==er&&(f=Pn):(p===Pn||p===er)&&(f=Gl)}this.updateStatus(!1,f)},s.componentWillUnmount=function(){this.cancelNextCallback()},s.getTimeouts=function(){var c=this.props.timeout,f,p,h;return f=p=h=c,c!=null&&typeof c!="number"&&(f=c.exit,p=c.enter,h=c.appear!==void 0?c.appear:p),{exit:f,enter:p,appear:h}},s.updateStatus=function(c,f){if(c===void 0&&(c=!1),f!==null)if(this.cancelNextCallback(),f===Pn){if(this.props.unmountOnExit||this.props.mountOnEnter){var p=this.props.nodeRef?this.props.nodeRef.current:Io.findDOMNode(this);p&&Ih(p)}this.performEnter(c)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Tn&&this.setState({status:Wr})},s.performEnter=function(c){var f=this,p=this.props.enter,h=this.context?this.context.isMounting:c,v=this.props.nodeRef?[h]:[Io.findDOMNode(this),h],E=v[0],N=v[1],C=this.getTimeouts(),T=h?C.appear:C.enter;if(!c&&!p||sc.disabled){this.safeSetState({status:er},function(){f.props.onEntered(E)});return}this.props.onEnter(E,N),this.safeSetState({status:Pn},function(){f.props.onEntering(E,N),f.onTransitionEnd(T,function(){f.safeSetState({status:er},function(){f.props.onEntered(E,N)})})})},s.performExit=function(){var c=this,f=this.props.exit,p=this.getTimeouts(),h=this.props.nodeRef?void 0:Io.findDOMNode(this);if(!f||sc.disabled){this.safeSetState({status:Tn},function(){c.props.onExited(h)});return}this.props.onExit(h),this.safeSetState({status:Gl},function(){c.props.onExiting(h),c.onTransitionEnd(p.exit,function(){c.safeSetState({status:Tn},function(){c.props.onExited(h)})})})},s.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},s.safeSetState=function(c,f){f=this.setNextCallback(f),this.setState(c,f)},s.setNextCallback=function(c){var f=this,p=!0;return this.nextCallback=function(h){p&&(p=!1,f.nextCallback=null,c(h))},this.nextCallback.cancel=function(){p=!1},this.nextCallback},s.onTransitionEnd=function(c,f){this.setNextCallback(f);var p=this.props.nodeRef?this.props.nodeRef.current:Io.findDOMNode(this),h=c==null&&!this.props.addEndListener;if(!p||h){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var v=this.props.nodeRef?[this.nextCallback]:[p,this.nextCallback],E=v[0],N=v[1];this.props.addEndListener(E,N)}c!=null&&setTimeout(this.nextCallback,c)},s.render=function(){var c=this.state.status;if(c===Wr)return null;var f=this.props,p=f.children;f.in,f.mountOnEnter,f.unmountOnExit,f.appear,f.enter,f.exit,f.timeout,f.addEndListener,f.onEnter,f.onEntering,f.onEntered,f.onExit,f.onExiting,f.onExited,f.nodeRef;var h=Ah(f,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Un.createElement(ac.Provider,{value:null},typeof p=="function"?p(c,h):Un.cloneElement(Un.Children.only(p),h))},i}(Un.Component);Gt.contextType=ac,Gt.propTypes={};function tr(){}Gt.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:tr,onEntering:tr,onEntered:tr,onExit:tr,onExiting:tr,onExited:tr},Gt.UNMOUNTED=Wr,Gt.EXITED=Tn,Gt.ENTERING=Pn,Gt.ENTERED=er,Gt.EXITING=Gl;const $h=r=>r.scrollTop;function uc(r,i){const{timeout:s,easing:u,style:c={}}=r;return{duration:c.transitionDuration??(typeof s=="number"?s:s[i.mode]||0),easing:c.transitionTimingFunction??(typeof u=="object"?u[i.mode]:u),delay:c.transitionDelay}}function ni(r,i){const{className:s,elementType:u,ownerState:c,externalForwardedProps:f,getSlotOwnerState:p,internalForwardedProps:h,...v}=i,{component:E,slots:N={[r]:void 0},slotProps:C={[r]:void 0},...T}=f,$=N[r]||u,R=b0(C[r],c),{props:{component:O,...D},internalRef:V}=F0({className:s,...v,externalForwardedProps:r==="root"?T:void 0,externalSlotProps:R}),J=qn(V,R==null?void 0:R.ref,i.ref),M=p?p(D):{},F={...c,...M},H=r==="root"?O||E:O,K=j0($,{...r==="root"&&!E&&!N[r]&&h,...r!=="root"&&!N[r]&&h,...D,...H&&{as:H},ref:J},F);return Object.keys(M).forEach(b=>{delete K[b]}),[$,K]}function Lh(r){return typeof r=="function"?r():r}const Mh=U.forwardRef(function(i,s){const{children:u,container:c,disablePortal:f=!1}=i,[p,h]=U.useState(null),v=qn(U.isValidElement(u)?bl(u):null,s);if($l(()=>{f||h(Lh(c)||document.body)},[c,f]),$l(()=>{if(p&&!f)return Fl(s,p),()=>{Fl(s,null)}},[s,p,f]),f){if(U.isValidElement(u)){const E={ref:v};return U.cloneElement(u,E)}return ie.jsx(U.Fragment,{children:u})}return ie.jsx(U.Fragment,{children:p&&yl.createPortal(u,p)})}),Dh={entering:{opacity:1},entered:{opacity:1}},jh=U.forwardRef(function(i,s){const u=Nh(),c={enter:u.transitions.duration.enteringScreen,exit:u.transitions.duration.leavingScreen},{addEndListener:f,appear:p=!0,children:h,easing:v,in:E,onEnter:N,onEntered:C,onEntering:T,onExit:$,onExited:R,onExiting:O,style:D,timeout:V=c,TransitionComponent:J=Gt,...M}=i,F=U.useRef(null),H=qn(F,bl(h),s),K=le=>te=>{if(le){const se=F.current;te===void 0?le(se):le(se,te)}},b=K(T),de=K((le,te)=>{$h(le);const se=uc({style:D,timeout:V,easing:v},{mode:"enter"});le.style.webkitTransition=u.transitions.create("opacity",se),le.style.transition=u.transitions.create("opacity",se),N&&N(le,te)}),pe=K(C),m=K(O),W=K(le=>{const te=uc({style:D,timeout:V,easing:v},{mode:"exit"});le.style.webkitTransition=u.transitions.create("opacity",te),le.style.transition=u.transitions.create("opacity",te),$&&$(le)}),ee=K(R),ae=le=>{f&&f(F.current,le)};return ie.jsx(J,{appear:p,in:E,nodeRef:F,onEnter:de,onEntered:pe,onEntering:b,onExit:W,onExited:ee,onExiting:m,addEndListener:ae,timeout:V,...M,children:(le,te)=>U.cloneElement(h,{style:{opacity:0,visibility:le==="exited"&&!E?"hidden":void 0,...Dh[le],...D,...h.props.style},ref:H,...te})})});function Fh(r){return Al("MuiBackdrop",r)}Du("MuiBackdrop",["root","invisible"]);const bh=r=>{const{ownerState:i,...s}=r;return s},Bh=r=>{const{classes:i,invisible:s}=r;return Wu({root:["root",s&&"invisible"]},Fh,i)},Uh=Hl("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(r,i)=>{const{ownerState:s}=r;return[i.root,s.invisible&&i.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),Wh=U.forwardRef(function(i,s){const u=lc({props:i,name:"MuiBackdrop"}),{children:c,className:f,component:p="div",invisible:h=!1,open:v,components:E={},componentsProps:N={},slotProps:C={},slots:T={},TransitionComponent:$,transitionDuration:R,...O}=u,D={...u,component:p,invisible:h},V=Bh(D),J={transition:$,root:E.Root,...T},M={...N,...C},F={slots:J,slotProps:M},[H,K]=ni("root",{elementType:Uh,externalForwardedProps:F,className:br(V.root,f),ownerState:D}),[b,de]=ni("transition",{elementType:jh,externalForwardedProps:F,ownerState:D}),pe=bh(de);return ie.jsx(b,{in:v,timeout:R,...O,...pe,children:ie.jsx(H,{"aria-hidden":!0,...K,classes:V,ref:s,children:c})})});function Vh(r){const i=_n(r);return i.body===r?ti(r).innerWidth>i.documentElement.clientWidth:r.scrollHeight>r.clientHeight}function Vr(r,i){i?r.setAttribute("aria-hidden","true"):r.removeAttribute("aria-hidden")}function cc(r){return parseInt(ti(r).getComputedStyle(r).paddingRight,10)||0}function Hh(r){const s=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(r.tagName),u=r.tagName==="INPUT"&&r.getAttribute("type")==="hidden";return s||u}function fc(r,i,s,u,c){const f=[i,s,...u];[].forEach.call(r.children,p=>{const h=!f.includes(p),v=!Hh(p);h&&v&&Vr(p,c)})}function Ql(r,i){let s=-1;return r.some((u,c)=>i(u)?(s=c,!0):!1),s}function Kh(r,i){const s=[],u=r.container;if(!i.disableScrollLock){if(Vh(u)){const p=M0(ti(u));s.push({value:u.style.paddingRight,property:"padding-right",el:u}),u.style.paddingRight=`${cc(u)+p}px`;const h=_n(u).querySelectorAll(".mui-fixed");[].forEach.call(h,v=>{s.push({value:v.style.paddingRight,property:"padding-right",el:v}),v.style.paddingRight=`${cc(v)+p}px`})}let f;if(u.parentNode instanceof DocumentFragment)f=_n(u).body;else{const p=u.parentElement,h=ti(u);f=(p==null?void 0:p.nodeName)==="HTML"&&h.getComputedStyle(p).overflowY==="scroll"?p:u}s.push({value:f.style.overflow,property:"overflow",el:f},{value:f.style.overflowX,property:"overflow-x",el:f},{value:f.style.overflowY,property:"overflow-y",el:f}),f.style.overflow="hidden"}return()=>{s.forEach(({value:f,el:p,property:h})=>{f?p.style.setProperty(h,f):p.style.removeProperty(h)})}}function Gh(r){const i=[];return[].forEach.call(r.children,s=>{s.getAttribute("aria-hidden")==="true"&&i.push(s)}),i}class Qh{constructor(){this.modals=[],this.containers=[]}add(i,s){let u=this.modals.indexOf(i);if(u!==-1)return u;u=this.modals.length,this.modals.push(i),i.modalRef&&Vr(i.modalRef,!1);const c=Gh(s);fc(s,i.mount,i.modalRef,c,!0);const f=Ql(this.containers,p=>p.container===s);return f!==-1?(this.containers[f].modals.push(i),u):(this.containers.push({modals:[i],container:s,restore:null,hiddenSiblings:c}),u)}mount(i,s){const u=Ql(this.containers,f=>f.modals.includes(i)),c=this.containers[u];c.restore||(c.restore=Kh(c,s))}remove(i,s=!0){const u=this.modals.indexOf(i);if(u===-1)return u;const c=Ql(this.containers,p=>p.modals.includes(i)),f=this.containers[c];if(f.modals.splice(f.modals.indexOf(i),1),this.modals.splice(u,1),f.modals.length===0)f.restore&&f.restore(),i.modalRef&&Vr(i.modalRef,s),fc(f.container,i.mount,i.modalRef,f.hiddenSiblings,!1),this.containers.splice(c,1);else{const p=f.modals[f.modals.length-1];p.modalRef&&Vr(p.modalRef,!1)}return u}isTopModal(i){return this.modals.length>0&&this.modals[this.modals.length-1]===i}}const Yh=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Xh(r){const i=parseInt(r.getAttribute("tabindex")||"",10);return Number.isNaN(i)?r.contentEditable==="true"||(r.nodeName==="AUDIO"||r.nodeName==="VIDEO"||r.nodeName==="DETAILS")&&r.getAttribute("tabindex")===null?0:r.tabIndex:i}function Zh(r){if(r.tagName!=="INPUT"||r.type!=="radio"||!r.name)return!1;const i=u=>r.ownerDocument.querySelector(`input[type="radio"]${u}`);let s=i(`[name="${r.name}"]:checked`);return s||(s=i(`[name="${r.name}"]`)),s!==r}function Jh(r){return!(r.disabled||r.tagName==="INPUT"&&r.type==="hidden"||Zh(r))}function qh(r){const i=[],s=[];return Array.from(r.querySelectorAll(Yh)).forEach((u,c)=>{const f=Xh(u);f===-1||!Jh(u)||(f===0?i.push(u):s.push({documentOrder:c,tabIndex:f,node:u}))}),s.sort((u,c)=>u.tabIndex===c.tabIndex?u.documentOrder-c.documentOrder:u.tabIndex-c.tabIndex).map(u=>u.node).concat(i)}function eg(){return!0}function tg(r){const{children:i,disableAutoFocus:s=!1,disableEnforceFocus:u=!1,disableRestoreFocus:c=!1,getTabbable:f=qh,isEnabled:p=eg,open:h}=r,v=U.useRef(!1),E=U.useRef(null),N=U.useRef(null),C=U.useRef(null),T=U.useRef(null),$=U.useRef(!1),R=U.useRef(null),O=qn(bl(i),R),D=U.useRef(null);U.useEffect(()=>{!h||!R.current||($.current=!s)},[s,h]),U.useEffect(()=>{if(!h||!R.current)return;const M=_n(R.current);return R.current.contains(M.activeElement)||(R.current.hasAttribute("tabIndex")||R.current.setAttribute("tabIndex","-1"),$.current&&R.current.focus()),()=>{c||(C.current&&C.current.focus&&(v.current=!0,C.current.focus()),C.current=null)}},[h]),U.useEffect(()=>{if(!h||!R.current)return;const M=_n(R.current),F=b=>{D.current=b,!(u||!p()||b.key!=="Tab")&&M.activeElement===R.current&&b.shiftKey&&(v.current=!0,N.current&&N.current.focus())},H=()=>{var pe,m;const b=R.current;if(b===null)return;if(!M.hasFocus()||!p()||v.current){v.current=!1;return}if(b.contains(M.activeElement)||u&&M.activeElement!==E.current&&M.activeElement!==N.current)return;if(M.activeElement!==T.current)T.current=null;else if(T.current!==null)return;if(!$.current)return;let de=[];if((M.activeElement===E.current||M.activeElement===N.current)&&(de=f(R.current)),de.length>0){const W=!!((pe=D.current)!=null&&pe.shiftKey&&((m=D.current)==null?void 0:m.key)==="Tab"),ee=de[0],ae=de[de.length-1];typeof ee!="string"&&typeof ae!="string"&&(W?ae.focus():ee.focus())}else b.focus()};M.addEventListener("focusin",H),M.addEventListener("keydown",F,!0);const K=setInterval(()=>{M.activeElement&&M.activeElement.tagName==="BODY"&&H()},50);return()=>{clearInterval(K),M.removeEventListener("focusin",H),M.removeEventListener("keydown",F,!0)}},[s,u,c,p,h,f]);const V=M=>{C.current===null&&(C.current=M.relatedTarget),$.current=!0,T.current=M.target;const F=i.props.onFocus;F&&F(M)},J=M=>{C.current===null&&(C.current=M.relatedTarget),$.current=!0};return ie.jsxs(U.Fragment,{children:[ie.jsx("div",{tabIndex:h?0:-1,onFocus:J,ref:E,"data-testid":"sentinelStart"}),U.cloneElement(i,{ref:O,onFocus:V}),ie.jsx("div",{tabIndex:h?0:-1,onFocus:J,ref:N,"data-testid":"sentinelEnd"})]})}function ng(r){return typeof r=="function"?r():r}function rg(r){return r?r.props.hasOwnProperty("in"):!1}const ri=new Qh;function og(r){const{container:i,disableEscapeKeyDown:s=!1,disableScrollLock:u=!1,closeAfterTransition:c=!1,onTransitionEnter:f,onTransitionExited:p,children:h,onClose:v,open:E,rootRef:N}=r,C=U.useRef({}),T=U.useRef(null),$=U.useRef(null),R=qn($,N),[O,D]=U.useState(!E),V=rg(h);let J=!0;(r["aria-hidden"]==="false"||r["aria-hidden"]===!1)&&(J=!1);const M=()=>_n(T.current),F=()=>(C.current.modalRef=$.current,C.current.mount=T.current,C.current),H=()=>{ri.mount(F(),{disableScrollLock:u}),$.current&&($.current.scrollTop=0)},K=Uu(()=>{const te=ng(i)||M().body;ri.add(F(),te),$.current&&H()}),b=()=>ri.isTopModal(F()),de=Uu(te=>{T.current=te,te&&(E&&b()?H():$.current&&Vr($.current,J))}),pe=U.useCallback(()=>{ri.remove(F(),J)},[J]);U.useEffect(()=>()=>{pe()},[pe]),U.useEffect(()=>{E?K():(!V||!c)&&pe()},[E,pe,V,c,K]);const m=te=>se=>{var ge;(ge=te.onKeyDown)==null||ge.call(te,se),!(se.key!=="Escape"||se.which===229||!b())&&(s||(se.stopPropagation(),v&&v(se,"escapeKeyDown")))},W=te=>se=>{var ge;(ge=te.onClick)==null||ge.call(te,se),se.target===se.currentTarget&&v&&v(se,"backdropClick")};return{getRootProps:(te={})=>{const se=Vu(r);delete se.onTransitionEnter,delete se.onTransitionExited;const ge={...se,...te};return{role:"presentation",...ge,onKeyDown:m(ge),ref:R}},getBackdropProps:(te={})=>{const se=te;return{"aria-hidden":!0,...se,onClick:W(se),open:E}},getTransitionProps:()=>{const te=()=>{D(!1),f&&f()},se=()=>{D(!0),p&&p(),c&&pe()};return{onEnter:Bu(te,h==null?void 0:h.props.onEnter),onExited:Bu(se,h==null?void 0:h.props.onExited)}},rootRef:R,portalRef:de,isTopModal:b,exited:O,hasTransition:V}}function ig(r){return Al("MuiModal",r)}Du("MuiModal",["root","hidden","backdrop"]);const lg=r=>{const{open:i,exited:s,classes:u}=r;return Wu({root:["root",!i&&s&&"hidden"],backdrop:["backdrop"]},ig,u)},sg=Hl("div",{name:"MuiModal",slot:"Root",overridesResolver:(r,i)=>{const{ownerState:s}=r;return[i.root,!s.open&&s.exited&&i.hidden]}})(Oh(({theme:r})=>({position:"fixed",zIndex:(r.vars||r).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:i})=>!i.open&&i.exited,style:{visibility:"hidden"}}]}))),ag=Hl(Wh,{name:"MuiModal",slot:"Backdrop",overridesResolver:(r,i)=>i.backdrop})({zIndex:-1}),ug=U.forwardRef(function(i,s){const u=lc({name:"MuiModal",props:i}),{BackdropComponent:c=ag,BackdropProps:f,classes:p,className:h,closeAfterTransition:v=!1,children:E,container:N,component:C,components:T={},componentsProps:$={},disableAutoFocus:R=!1,disableEnforceFocus:O=!1,disableEscapeKeyDown:D=!1,disablePortal:V=!1,disableRestoreFocus:J=!1,disableScrollLock:M=!1,hideBackdrop:F=!1,keepMounted:H=!1,onBackdropClick:K,onClose:b,onTransitionEnter:de,onTransitionExited:pe,open:m,slotProps:W={},slots:ee={},theme:ae,...le}=u,te={...u,closeAfterTransition:v,disableAutoFocus:R,disableEnforceFocus:O,disableEscapeKeyDown:D,disablePortal:V,disableRestoreFocus:J,disableScrollLock:M,hideBackdrop:F,keepMounted:H},{getRootProps:se,getBackdropProps:ge,getTransitionProps:B,portalRef:oe,isTopModal:Q,exited:S,hasTransition:A}=og({...te,rootRef:s}),fe={...te,exited:S},ue=lg(fe),he={};if(E.props.tabIndex===void 0&&(he.tabIndex="-1"),A){const{onEnter:jt,onExited:Qt}=B();he.onEnter=jt,he.onExited=Qt}const ye={...le,slots:{root:T.Root,backdrop:T.Backdrop,...ee},slotProps:{...$,...W}},[Ce,xe]=ni("root",{elementType:sg,externalForwardedProps:ye,getSlotProps:se,additionalProps:{ref:s,as:C},ownerState:fe,className:br(h,ue==null?void 0:ue.root,!fe.open&&fe.exited&&(ue==null?void 0:ue.hidden))}),[Pe,Je]=ni("backdrop",{elementType:c,externalForwardedProps:ye,additionalProps:f,getSlotProps:jt=>ge({...jt,onClick:Qt=>{K&&K(Qt),jt!=null&&jt.onClick&&jt.onClick(Qt)}}),className:br(f==null?void 0:f.className,ue==null?void 0:ue.backdrop),ownerState:fe}),nr=qn(f==null?void 0:f.ref,Je.ref);return!H&&!m&&(!A||S)?null:ie.jsx(Mh,{ref:oe,container:N,disablePortal:V,children:ie.jsxs(Ce,{...xe,children:[!F&&c?ie.jsx(Pe,{...Je,ref:nr}):null,ie.jsx(tg,{disableEnforceFocus:O,disableAutoFocus:R,disableRestoreFocus:J,isEnabled:Q,open:m,children:U.cloneElement(E,he)})]})})}),Hr={modal:"_modal_wfhyw_1",wrap:"_wrap_wfhyw_6",preview:"_preview_wfhyw_11",sidebar:"_sidebar_wfhyw_18",title:"_title_wfhyw_26"},cg={footer:"_footer_1fkc3_1",close:"_close_1fkc3_6",title:"_title_1fkc3_41"},Yl={wrap:"_wrap_plmcw_1",arrowWrap:"_arrowWrap_plmcw_7",image:"_image_plmcw_20"},fg=(r,i,s)=>{const u=r.length;return{list:r,handlePrevious:p=>{p==null||p.stopPropagation(),s(h=>{const v=h-1;return v<0?u-1:v})},handleNext:p=>{p==null||p.stopPropagation(),s(h=>{const v=h+1;return v>=u?0:v})},itemCount:u,sizeList:i}},dc=U.createContext(null),Xl=()=>U.useContext(dc),Zl={wrap:"_wrap_x1ss1_1",next:"_next_x1ss1_10",prev:"_prev_x1ss1_11",disabled:"_disabled_x1ss1_53"},dg=({children:r,className:i,hasNext:s,hasPrev:u,onNext:c,onPrev:f})=>ie.jsxs(ie.Fragment,{children:[ie.jsxs("div",{className:`r-arrow-navigation ${Zl.wrap} ${i||""}`.trim(),children:[u&&ie.jsx("div",{className:Zl.prev,onClick:f}),s&&ie.jsx("div",{className:Zl.next,onClick:c})]}),r]}),Kr=/(\.jpg|\.png|\.jpeg|\.webp)/,pc=/_[er]w\d+/,mc=/_[er]h\d+/,pg=r=>r.replace(Kr,".webp"),mg=(r,i)=>pc.test(r)?(console.warn("Source already has exact or resize width"),r):r.replace(Kr,`_ew${i}$1`),hg=(r,i)=>mc.test(r)?(console.warn("Source already has exact or resize height"),r):r.replace(Kr,`_eh${i}$1`),gg=(r,i)=>pc.test(r)?(console.warn("Source already has exact or resize width"),r):r.replace(Kr,`_rw${i}$1`),yg=(r,i)=>mc.test(r)?(console.warn("Source already has exact or resize height"),r):r.replace(Kr,`_rh${i}$1`);let hc=class{constructor(i){this.source=i}exactHeight(i){return this.source=hg(this.source,i),this}exactWidth(i){return this.source=mg(this.source,i),this}getSource(){return this.source}resizeHeight(i){return this.source=yg(this.source,i),this}resizeWidth(i){return this.source=gg(this.source,i),this}toWebp(){return this.source=pg(this.source),this}};const vg=(r,i)=>{U.useEffect(()=>{if(r==null)return;const s=u=>wg(u,i);return r.addEventListener("touchstart",gc,!1),r.addEventListener("touchmove",s,!1),()=>{r.removeEventListener("touchstart",gc,!1),r.removeEventListener("touchmove",s,!1)}},[r,i])};let oi,ii;const gc=r=>{const i=r.touches[0];oi=i.clientX,ii=i.clientY},wg=(r,i)=>{var p,h,v,E;if(!oi||!ii)return;const s=r.touches[0].clientX,u=r.touches[0].clientY,c=oi-s,f=ii-u;Math.abs(c)>Math.abs(f)?c>0?(p=i.onRight)==null||p.call(i):(h=i.onLeft)==null||h.call(i):f>0?(v=i.onDown)==null||v.call(i):(E=i.onUp)==null||E.call(i),oi=void 0,ii=void 0},yc=({item:r,size:i})=>{const[s,u]=U.useState(null),c=Xl();return vg(s,{onLeft:c.handlePrevious,onRight:c.handleNext}),ie.jsx("div",{className:`r-preview ${Yl.wrap}`,ref:f=>u(f),children:ie.jsx(dg,{className:Yl.arrowWrap,hasNext:c.list.length>1,hasPrev:c.list.length>1,onNext:c.handleNext,onPrev:c.handlePrevious,children:ie.jsxs("div",{className:Yl.image,children:[r.type==="image"&&ie.jsx(Sg,{item:r,size:i}),r.type==="youtube"&&ie.jsx(kg,{item:r,size:i})]})})})},Sg=({item:r,size:i})=>{const[s,u]=U.useState(!0);return ie.jsx("picture",{className:s?"loading-spinner":"",style:i,children:ie.jsx("img",{src:new hc(r.src).exactWidth(i.width).exactHeight(i.height).toWebp().getSource(),alt:r.title,width:i.width,height:i.height,onLoad:()=>u(!1)})})},kg=({item:r})=>ie.jsx("iframe",{allowFullScreen:!0,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",src:`https://www.youtube-nocookie.com/embed/${r.src}?rel=0`,title:r.title}),Jl={wrap:"_wrap_1osdc_1",item:"_item_1osdc_6",active:"_active_1osdc_33"},vc=({activeIndex:r,changeIndex:i,size:s})=>{const u=Xl();return ie.jsx("div",{className:`r-thumbnail-list ${Jl.wrap}`,children:u.list.map((c,f)=>ie.jsxs("div",{className:`${Jl.item} ${r===f?Jl.active:""}`.trim(),onClick:()=>i(f),children:[c.type==="image"&&ie.jsx("picture",{children:ie.jsx("img",{src:`${new hc(c.src).exactWidth(s.width).exactHeight(s.height).toWebp().getSource()}`,alt:c.title,width:48,height:48,loading:"lazy"})}),c.type==="youtube"&&ie.jsxs(ie.Fragment,{children:[!1,ie.jsx("i",{className:"icon-youtube-play"})]})]},f))})},xg={getOffset(r){const i=r.getBoundingClientRect();return{left:i.left+window.scrollX,top:i.top+window.scrollY,bottom:i.bottom+window.scrollY,right:i.right+window.scrollX}},matchMedia(r,i){return window.matchMedia(`(${r?"max-":"min-"}width: ${i}px)`).matches}},Eg=(r,i=!0)=>{U.useEffect(()=>(i&&r(),window.addEventListener("resize",r),()=>{window.removeEventListener("resize",r)}),[r,i])},Cg=(r,i)=>{U.useEffect(()=>{const s=u=>{var c,f;u.deltaY>0?(c=i==null?void 0:i.scrollDown)==null||c.call(i,u):(f=i==null?void 0:i.scrollUp)==null||f.call(i,u)};return r==null||r.addEventListener("wheel",s),()=>{r==null||r.removeEventListener("wheel",s)}},[r,i])},_g=({activeIndex:r,activeItem:i,changeIndex:s,onClose:u,open:c,title:f})=>{const[p,h]=U.useState(!0),v=Xl(),[E,N]=U.useState(),C=v.sizeList;return Eg(()=>{xg.matchMedia(!0,660)?(u(),h(!1)):h(!0)}),U.useEffect(()=>{const T=$=>{($.key==="ArrowLeft"||$.key==="ArrowUp")&&v.handlePrevious(),($.key==="ArrowRight"||$.key==="ArrowDown")&&v.handleNext()};return c&&p?document.addEventListener("keyup",T):document.removeEventListener("keyup",T),()=>{document.removeEventListener("keyup",T)}},[v,p,c]),Cg(E,{scrollUp(){v.handlePrevious()},scrollDown(){v.handleNext()}}),ie.jsx(ug,{style:{height:"calc(100% - 1rem)",width:"calc(100% - 2rem)",margin:"auto"},open:p&&c,onClose:u,children:ie.jsxs("div",{className:`r-modal ${Hr.modal} ${Hr.wrap}`,ref:T=>N(T),children:[ie.jsxs("div",{className:Hr.preview,children:[ie.jsx(yc,{item:i,size:C.large}),ie.jsx("div",{className:cg.close,onClick:u})]}),ie.jsxs("div",{className:Hr.sidebar,children:[ie.jsx("div",{className:Hr.title,children:f}),ie.jsx(vc,{activeIndex:r,changeIndex:s,size:C.small})]})]})})},Tg=(r,i,s)=>{const u=[];for(const c of s??[])u.push({title:i,src:c,type:"youtube"});for(const c of r??[])u.push({title:i,src:c,type:"image"});return u},Pg=r=>({large:ql(r==null?void 0:r.large,{width:800,height:800}),medium:ql(r==null?void 0:r.medium,{width:370,height:370}),small:ql(r==null?void 0:r.small,{width:56,height:56})}),ql=(r,i)=>typeof r=="object"?r:typeof r=="number"?{height:r,width:r}:{height:i.height,width:i.width},Ng=()=>{const[r,i]=U.useState(!1);return{state:r,open:()=>i(!0),close:()=>i(!1)}},Rg=({id:r,images:i,sizes:s,title:u,youtubes:c})=>{U.useEffect(()=>{const T=R=>{const{id:O,nthItem:D}=R.detail;if(r&&r===O){$(D);return}!r&&!O&&$(D)},$=R=>{R!==void 0&&R>=0&&(R<v.length?h(R):console.warn("Index is out of range. Maximum index is",v.length-1)),R!==void 0&&R<0&&(Math.abs(R)<=v.length?h(v.length+R):console.warn("Index is out of range. Maximum index is",-v.length)),C.open()};return window.addEventListener("ES_GALLERY_OPEN",T),()=>{window.removeEventListener("ES_GALLERY_OPEN",T)}});const f=Pg(s),[p,h]=U.useState(0),v=U.useMemo(()=>Tg(i,u,c),[i,u,c]),E=U.useMemo(()=>fg(v,f,h),[v,f]),N=v[p],C=Ng();return ie.jsxs(dc.Provider,{value:E,children:[ie.jsxs("div",{className:`r-a-gallery ${ou.wrap}`,children:[ie.jsx("div",{className:ou.preview,onClick:C.open,children:ie.jsx(yc,{item:N,size:f.medium})}),v.length>1&&ie.jsx(vc,{activeIndex:p,changeIndex:h,size:f.small})]}),ie.jsx(_g,{open:C.state,onClose:C.close,activeIndex:p,activeItem:N,changeIndex:h,title:u})]})};function Og(r,i){ml.createRoot(document.querySelector(`#${r}`)).render(ie.jsx(U.StrictMode,{children:ie.jsx(Rg,{...i})}))}return Og}); //# sourceMappingURL=index.umd.cjs.map