(function(ql,Ma){typeof exports=="object"&&typeof module<"u"?module.exports=Ma():typeof define=="function"&&define.amd?define(Ma):(ql=typeof globalThis<"u"?globalThis:ql||self,ql.ReactProductSlider=Ma())})(this,function(){"use strict";function ql(u){return u&&u.__esModule&&Object.prototype.hasOwnProperty.call(u,"default")?u.default:u}var Ma={exports:{}},wl={};/** * @license React * react-jsx-runtime.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var $c;function qd(){if($c)return wl;$c=1;var u=Symbol.for("react.transitional.element"),s=Symbol.for("react.fragment");function f(r,d,p){var R=null;if(p!==void 0&&(R=""+p),d.key!==void 0&&(R=""+d.key),"key"in d){p={};for(var O in d)O!=="key"&&(p[O]=d[O])}else p=d;return d=p.ref,{$$typeof:u,type:r,key:R,ref:d!==void 0?d:null,props:p}}return wl.Fragment=s,wl.jsx=f,wl.jsxs=f,wl}var ri={exports:{}},W={};/** * @license React * react.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Fc;function wd(){if(Fc)return W;Fc=1;var u=Symbol.for("react.transitional.element"),s=Symbol.for("react.portal"),f=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),p=Symbol.for("react.consumer"),R=Symbol.for("react.context"),O=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),E=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),w=Symbol.iterator;function Q(y){return y===null||typeof y!="object"?null:(y=w&&y[w]||y["@@iterator"],typeof y=="function"?y:null)}var F={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},J=Object.assign,Y={};function tt(y,U,H){this.props=y,this.context=U,this.refs=Y,this.updater=H||F}tt.prototype.isReactComponent={},tt.prototype.setState=function(y,U){if(typeof y!="object"&&typeof y!="function"&&y!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,y,U,"setState")},tt.prototype.forceUpdate=function(y){this.updater.enqueueForceUpdate(this,y,"forceUpdate")};function P(){}P.prototype=tt.prototype;function k(y,U,H){this.props=y,this.context=U,this.refs=Y,this.updater=H||F}var I=k.prototype=new P;I.constructor=k,J(I,tt.prototype),I.isPureReactComponent=!0;var it=Array.isArray,V={H:null,A:null,T:null,S:null,V:null},bt=Object.prototype.hasOwnProperty;function rt(y,U,H,j,L,ct){return H=ct.ref,{$$typeof:u,type:y,key:U,ref:H!==void 0?H:null,props:ct}}function ot(y,U){return rt(y.type,U,void 0,void 0,void 0,y.props)}function jt(y){return typeof y=="object"&&y!==null&&y.$$typeof===u}function Kt(y){var U={"=":"=0",":":"=2"};return"$"+y.replace(/[=:]/g,function(H){return U[H]})}var Jt=/\/+/g;function At(y,U){return typeof y=="object"&&y!==null&&y.key!=null?Kt(""+y.key):U.toString(36)}function Be(){}function ue(y){switch(y.status){case"fulfilled":return y.value;case"rejected":throw y.reason;default:switch(typeof y.status=="string"?y.then(Be,Be):(y.status="pending",y.then(function(U){y.status==="pending"&&(y.status="fulfilled",y.value=U)},function(U){y.status==="pending"&&(y.status="rejected",y.reason=U)})),y.status){case"fulfilled":return y.value;case"rejected":throw y.reason}}throw y}function Ht(y,U,H,j,L){var ct=typeof y;(ct==="undefined"||ct==="boolean")&&(y=null);var $=!1;if(y===null)$=!0;else switch(ct){case"bigint":case"string":case"number":$=!0;break;case"object":switch(y.$$typeof){case u:case s:$=!0;break;case x:return $=y._init,Ht($(y._payload),U,H,j,L)}}if($)return L=L(y),$=j===""?"."+At(y,0):j,it(L)?(H="",$!=null&&(H=$.replace(Jt,"$&/")+"/"),Ht(L,U,H,"",function(la){return la})):L!=null&&(jt(L)&&(L=ot(L,H+(L.key==null||y&&y.key===L.key?"":(""+L.key).replace(Jt,"$&/")+"/")+$)),U.push(L)),1;$=0;var ie=j===""?".":j+":";if(it(y))for(var Tt=0;Tt>>1,y=M[dt];if(0>>1;dtd(j,G))Ld(ct,j)?(M[dt]=ct,M[L]=G,dt=L):(M[dt]=j,M[H]=G,dt=H);else if(Ld(ct,G))M[dt]=ct,M[L]=G,dt=L;else break t}}return N}function d(M,N){var G=M.sortIndex-N.sortIndex;return G!==0?G:M.id-N.id}if(u.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var p=performance;u.unstable_now=function(){return p.now()}}else{var R=Date,O=R.now();u.unstable_now=function(){return R.now()-O}}var _=[],E=[],x=1,w=null,Q=3,F=!1,J=!1,Y=!1,tt=!1,P=typeof setTimeout=="function"?setTimeout:null,k=typeof clearTimeout=="function"?clearTimeout:null,I=typeof setImmediate<"u"?setImmediate:null;function it(M){for(var N=f(E);N!==null;){if(N.callback===null)r(E);else if(N.startTime<=M)r(E),N.sortIndex=N.expirationTime,s(_,N);else break;N=f(E)}}function V(M){if(Y=!1,it(M),!J)if(f(_)!==null)J=!0,bt||(bt=!0,At());else{var N=f(E);N!==null&&Ht(V,N.startTime-M)}}var bt=!1,rt=-1,ot=5,jt=-1;function Kt(){return tt?!0:!(u.unstable_now()-jtM&&Kt());){var dt=w.callback;if(typeof dt=="function"){w.callback=null,Q=w.priorityLevel;var y=dt(w.expirationTime<=M);if(M=u.unstable_now(),typeof y=="function"){w.callback=y,it(M),N=!0;break e}w===f(_)&&r(_),it(M)}else r(_);w=f(_)}if(w!==null)N=!0;else{var U=f(E);U!==null&&Ht(V,U.startTime-M),N=!1}}break t}finally{w=null,Q=G,F=!1}N=void 0}}finally{N?At():bt=!1}}}var At;if(typeof I=="function")At=function(){I(Jt)};else if(typeof MessageChannel<"u"){var Be=new MessageChannel,ue=Be.port2;Be.port1.onmessage=Jt,At=function(){ue.postMessage(null)}}else At=function(){P(Jt,0)};function Ht(M,N){rt=P(function(){M(u.unstable_now())},N)}u.unstable_IdlePriority=5,u.unstable_ImmediatePriority=1,u.unstable_LowPriority=4,u.unstable_NormalPriority=3,u.unstable_Profiling=null,u.unstable_UserBlockingPriority=2,u.unstable_cancelCallback=function(M){M.callback=null},u.unstable_forceFrameRate=function(M){0>M||125dt?(M.sortIndex=G,s(E,M),f(_)===null&&M===f(E)&&(Y?(k(rt),rt=-1):Y=!0,Ht(V,G-dt))):(M.sortIndex=y,s(_,M),J||F||(J=!0,bt||(bt=!0,At()))),M},u.unstable_shouldYield=Kt,u.unstable_wrapCallback=function(M){var N=Q;return function(){var G=Q;Q=N;try{return M.apply(this,arguments)}finally{Q=G}}}}(yi)),yi}var tf;function Yd(){return tf||(tf=1,di.exports=Bd()),di.exports}var mi={exports:{}},Zt={};/** * @license React * react-dom.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var ef;function Gd(){if(ef)return Zt;ef=1;var u=oi();function s(_){var E="https://react.dev/errors/"+_;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(u)}catch(s){console.error(s)}}return u(),mi.exports=Gd(),mi.exports}/** * @license React * react-dom-client.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var lf;function Xd(){if(lf)return Ql;lf=1;var u=Yd(),s=oi(),f=Ld();function r(t){var e="https://react.dev/errors/"+t;if(1y||(t.current=dt[y],dt[y]=null,y--)}function j(t,e){y++,dt[y]=t.current,t.current=e}var L=U(null),ct=U(null),$=U(null),ie=U(null);function Tt(t,e){switch(j($,e),j(ct,t),j(L,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?rd(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=rd(e),t=od(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}H(L),j(L,t)}function la(){H(L),H(ct),H($)}function ji(t){t.memoizedState!==null&&j(ie,t);var e=L.current,a=od(e,t.type);e!==a&&(j(ct,t),j(L,a))}function $n(t){ct.current===t&&(H(L),H(ct)),ie.current===t&&(H(ie),Hn._currentValue=G)}var Hi=Object.prototype.hasOwnProperty,qi=u.unstable_scheduleCallback,wi=u.unstable_cancelCallback,Am=u.unstable_shouldYield,Om=u.unstable_requestPaint,Ne=u.unstable_now,Rm=u.unstable_getCurrentPriorityLevel,Xf=u.unstable_ImmediatePriority,Vf=u.unstable_UserBlockingPriority,Fn=u.unstable_NormalPriority,Dm=u.unstable_LowPriority,Zf=u.unstable_IdlePriority,Mm=u.log,zm=u.unstable_setDisableYieldValue,Ll=null,se=null;function na(t){if(typeof Mm=="function"&&zm(t),se&&typeof se.setStrictMode=="function")try{se.setStrictMode(Ll,t)}catch{}}var ce=Math.clz32?Math.clz32:Um,Cm=Math.log,xm=Math.LN2;function Um(t){return t>>>=0,t===0?32:31-(Cm(t)/xm|0)|0}var Pn=256,Wn=4194304;function Ua(t){var e=t&42;if(e!==0)return e;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function In(t,e,a){var l=t.pendingLanes;if(l===0)return 0;var n=0,i=t.suspendedLanes,c=t.pingedLanes;t=t.warmLanes;var o=l&134217727;return o!==0?(l=o&~i,l!==0?n=Ua(l):(c&=o,c!==0?n=Ua(c):a||(a=o&~t,a!==0&&(n=Ua(a))))):(o=l&~i,o!==0?n=Ua(o):c!==0?n=Ua(c):a||(a=l&~t,a!==0&&(n=Ua(a)))),n===0?0:e!==0&&e!==n&&(e&i)===0&&(i=n&-n,a=e&-e,i>=a||i===32&&(a&4194048)!==0)?e:n}function Xl(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function Nm(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Kf(){var t=Pn;return Pn<<=1,(Pn&4194048)===0&&(Pn=256),t}function Jf(){var t=Wn;return Wn<<=1,(Wn&62914560)===0&&(Wn=4194304),t}function Qi(t){for(var e=[],a=0;31>a;a++)e.push(t);return e}function Vl(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function jm(t,e,a,l,n,i){var c=t.pendingLanes;t.pendingLanes=a,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=a,t.entangledLanes&=a,t.errorRecoveryDisabledLanes&=a,t.shellSuspendCounter=0;var o=t.entanglements,h=t.expirationTimes,b=t.hiddenUpdates;for(a=c&~a;0)":-1n||h[l]!==b[n]){var D=` `+h[l].replace(" at new "," at ");return t.displayName&&D.includes("")&&(D=D.replace("",t.displayName)),D}while(1<=l&&0<=n);break}}}finally{Vi=!1,Error.prepareStackTrace=a}return(a=t?t.displayName||t.name:"")?al(a):""}function Ym(t){switch(t.tag){case 26:case 27:case 5:return al(t.type);case 16:return al("Lazy");case 13:return al("Suspense");case 19:return al("SuspenseList");case 0:case 15:return Zi(t.type,!1);case 11:return Zi(t.type.render,!1);case 1:return Zi(t.type,!0);case 31:return al("Activity");default:return""}}function lr(t){try{var e="";do e+=Ym(t),t=t.return;while(t);return e}catch(a){return` Error generating stack: `+a.message+` `+a.stack}}function pe(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function nr(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function Gm(t){var e=nr(t)?"checked":"value",a=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),l=""+t[e];if(!t.hasOwnProperty(e)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var n=a.get,i=a.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return n.call(this)},set:function(c){l=""+c,i.call(this,c)}}),Object.defineProperty(t,e,{enumerable:a.enumerable}),{getValue:function(){return l},setValue:function(c){l=""+c},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function au(t){t._valueTracker||(t._valueTracker=Gm(t))}function ur(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var a=e.getValue(),l="";return t&&(l=nr(t)?t.checked?"true":"false":t.value),t=l,t!==a?(e.setValue(t),!0):!1}function lu(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var Lm=/[\n"\\]/g;function be(t){return t.replace(Lm,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Ki(t,e,a,l,n,i,c,o){t.name="",c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?t.type=c:t.removeAttribute("type"),e!=null?c==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+pe(e)):t.value!==""+pe(e)&&(t.value=""+pe(e)):c!=="submit"&&c!=="reset"||t.removeAttribute("value"),e!=null?Ji(t,c,pe(e)):a!=null?Ji(t,c,pe(a)):l!=null&&t.removeAttribute("value"),n==null&&i!=null&&(t.defaultChecked=!!i),n!=null&&(t.checked=n&&typeof n!="function"&&typeof n!="symbol"),o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"?t.name=""+pe(o):t.removeAttribute("name")}function ir(t,e,a,l,n,i,c,o){if(i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(t.type=i),e!=null||a!=null){if(!(i!=="submit"&&i!=="reset"||e!=null))return;a=a!=null?""+pe(a):"",e=e!=null?""+pe(e):a,o||e===t.value||(t.value=e),t.defaultValue=e}l=l??n,l=typeof l!="function"&&typeof l!="symbol"&&!!l,t.checked=o?t.checked:!!l,t.defaultChecked=!!l,c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(t.name=c)}function Ji(t,e,a){e==="number"&&lu(t.ownerDocument)===t||t.defaultValue===""+a||(t.defaultValue=""+a)}function ll(t,e,a,l){if(t=t.options,e){e={};for(var n=0;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Wi=!1;if(Ge)try{var kl={};Object.defineProperty(kl,"passive",{get:function(){Wi=!0}}),window.addEventListener("test",kl,kl),window.removeEventListener("test",kl,kl)}catch{Wi=!1}var ia=null,Ii=null,uu=null;function dr(){if(uu)return uu;var t,e=Ii,a=e.length,l,n="value"in ia?ia.value:ia.textContent,i=n.length;for(t=0;t=Pl),br=" ",Sr=!1;function Er(t,e){switch(t){case"keyup":return vv.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Tr(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var sl=!1;function pv(t,e){switch(t){case"compositionend":return Tr(e);case"keypress":return e.which!==32?null:(Sr=!0,br);case"textInput":return t=e.data,t===br&&Sr?null:t;default:return null}}function bv(t,e){if(sl)return t==="compositionend"||!ns&&Er(t,e)?(t=dr(),uu=Ii=ia=null,sl=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1=e)return{node:a,offset:e-t};t=l}t:{for(;a;){if(a.nextSibling){a=a.nextSibling;break t}a=a.parentNode}a=void 0}a=Cr(a)}}function Ur(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Ur(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Nr(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=lu(t.document);e instanceof t.HTMLIFrameElement;){try{var a=typeof e.contentWindow.location.href=="string"}catch{a=!1}if(a)t=e.contentWindow;else break;e=lu(t.document)}return e}function ss(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var Dv=Ge&&"documentMode"in document&&11>=document.documentMode,cl=null,cs=null,en=null,fs=!1;function jr(t,e,a){var l=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;fs||cl==null||cl!==lu(l)||(l=cl,"selectionStart"in l&&ss(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),en&&tn(en,l)||(en=l,l=$u(cs,"onSelect"),0>=c,n-=c,Xe=1<<32-ce(e)+n|a<i?i:8;var c=M.T,o={};M.T=o,ks(t,!1,e,a);try{var h=n(),b=M.S;if(b!==null&&b(o,h),h!==null&&typeof h=="object"&&typeof h.then=="function"){var D=qv(h,l);gn(t,e,D,ye(t))}else gn(t,e,l,ye(t))}catch(C){gn(t,e,{then:function(){},status:"rejected",reason:C},ye())}finally{N.p=i,M.T=c}}function Gv(){}function Ks(t,e,a,l){if(t.tag!==5)throw Error(r(476));var n=qo(t).queue;Ho(t,n,e,G,a===null?Gv:function(){return wo(t),a(l)})}function qo(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:G,baseState:G,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Je,lastRenderedState:G},next:null};var a={};return e.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Je,lastRenderedState:a},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function wo(t){var e=qo(t).next.queue;gn(t,e,{},ye())}function Js(){return $t(Hn)}function Qo(){return xt().memoizedState}function Bo(){return xt().memoizedState}function Lv(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var a=ye();t=fa(a);var l=ra(e,t,a);l!==null&&(me(l,e,a),on(l,e,a)),e={cache:_s()},t.payload=e;return}e=e.return}}function Xv(t,e,a){var l=ye();a={lane:l,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null},zu(t)?Go(e,a):(a=ds(t,e,a,l),a!==null&&(me(a,t,l),Lo(a,e,l)))}function Yo(t,e,a){var l=ye();gn(t,e,a,l)}function gn(t,e,a,l){var n={lane:l,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null};if(zu(t))Go(e,n);else{var i=t.alternate;if(t.lanes===0&&(i===null||i.lanes===0)&&(i=e.lastRenderedReducer,i!==null))try{var c=e.lastRenderedState,o=i(c,a);if(n.hasEagerState=!0,n.eagerState=o,fe(o,c))return hu(t,e,n,0),Et===null&&ou(),!1}catch{}finally{}if(a=ds(t,e,n,l),a!==null)return me(a,t,l),Lo(a,e,l),!0}return!1}function ks(t,e,a,l){if(l={lane:2,revertLane:Rc(),action:l,hasEagerState:!1,eagerState:null,next:null},zu(t)){if(e)throw Error(r(479))}else e=ds(t,a,l,2),e!==null&&me(e,t,2)}function zu(t){var e=t.alternate;return t===et||e!==null&&e===et}function Go(t,e){pl=_u=!0;var a=t.pending;a===null?e.next=e:(e.next=a.next,a.next=e),t.pending=e}function Lo(t,e,a){if((a&4194048)!==0){var l=e.lanes;l&=t.pendingLanes,a|=l,e.lanes=a,$f(t,a)}}var Cu={readContext:$t,use:Ou,useCallback:Mt,useContext:Mt,useEffect:Mt,useImperativeHandle:Mt,useLayoutEffect:Mt,useInsertionEffect:Mt,useMemo:Mt,useReducer:Mt,useRef:Mt,useState:Mt,useDebugValue:Mt,useDeferredValue:Mt,useTransition:Mt,useSyncExternalStore:Mt,useId:Mt,useHostTransitionStatus:Mt,useFormState:Mt,useActionState:Mt,useOptimistic:Mt,useMemoCache:Mt,useCacheRefresh:Mt},Xo={readContext:$t,use:Ou,useCallback:function(t,e){return ee().memoizedState=[t,e===void 0?null:e],t},useContext:$t,useEffect:Ro,useImperativeHandle:function(t,e,a){a=a!=null?a.concat([t]):null,Mu(4194308,4,Co.bind(null,e,t),a)},useLayoutEffect:function(t,e){return Mu(4194308,4,t,e)},useInsertionEffect:function(t,e){Mu(4,2,t,e)},useMemo:function(t,e){var a=ee();e=e===void 0?null:e;var l=t();if(Za){na(!0);try{t()}finally{na(!1)}}return a.memoizedState=[l,e],l},useReducer:function(t,e,a){var l=ee();if(a!==void 0){var n=a(e);if(Za){na(!0);try{a(e)}finally{na(!1)}}}else n=e;return l.memoizedState=l.baseState=n,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:n},l.queue=t,t=t.dispatch=Xv.bind(null,et,t),[l.memoizedState,t]},useRef:function(t){var e=ee();return t={current:t},e.memoizedState=t},useState:function(t){t=Ls(t);var e=t.queue,a=Yo.bind(null,et,e);return e.dispatch=a,[t.memoizedState,a]},useDebugValue:Vs,useDeferredValue:function(t,e){var a=ee();return Zs(a,t,e)},useTransition:function(){var t=Ls(!1);return t=Ho.bind(null,et,t.queue,!0,!1),ee().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,a){var l=et,n=ee();if(ht){if(a===void 0)throw Error(r(407));a=a()}else{if(a=e(),Et===null)throw Error(r(349));(st&124)!==0||fo(l,e,a)}n.memoizedState=a;var i={value:a,getSnapshot:e};return n.queue=i,Ro(oo.bind(null,l,i,t),[t]),l.flags|=2048,Sl(9,Du(),ro.bind(null,l,i,a,e),null),a},useId:function(){var t=ee(),e=Et.identifierPrefix;if(ht){var a=Ve,l=Xe;a=(l&~(1<<32-ce(l)-1)).toString(32)+a,e="«"+e+"R"+a,a=Au++,0Z?(Bt=B,B=null):Bt=B.sibling;var ft=S(v,B,g[Z],z);if(ft===null){B===null&&(B=Bt);break}t&&B&&ft.alternate===null&&e(v,B),m=i(ft,m,Z),at===null?q=ft:at.sibling=ft,at=ft,B=Bt}if(Z===g.length)return a(v,B),ht&&Ba(v,Z),q;if(B===null){for(;ZZ?(Bt=B,B=null):Bt=B.sibling;var Da=S(v,B,ft.value,z);if(Da===null){B===null&&(B=Bt);break}t&&B&&Da.alternate===null&&e(v,B),m=i(Da,m,Z),at===null?q=Da:at.sibling=Da,at=Da,B=Bt}if(ft.done)return a(v,B),ht&&Ba(v,Z),q;if(B===null){for(;!ft.done;Z++,ft=g.next())ft=C(v,ft.value,z),ft!==null&&(m=i(ft,m,Z),at===null?q=ft:at.sibling=ft,at=ft);return ht&&Ba(v,Z),q}for(B=l(B);!ft.done;Z++,ft=g.next())ft=T(B,v,Z,ft.value,z),ft!==null&&(t&&ft.alternate!==null&&B.delete(ft.key===null?Z:ft.key),m=i(ft,m,Z),at===null?q=ft:at.sibling=ft,at=ft);return t&&B.forEach(function(Z0){return e(v,Z0)}),ht&&Ba(v,Z),q}function pt(v,m,g,z){if(typeof g=="object"&&g!==null&&g.type===J&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case Q:t:{for(var q=g.key;m!==null;){if(m.key===q){if(q=g.type,q===J){if(m.tag===7){a(v,m.sibling),z=n(m,g.props.children),z.return=v,v=z;break t}}else if(m.elementType===q||typeof q=="object"&&q!==null&&q.$$typeof===ot&&Zo(q)===m.type){a(v,m.sibling),z=n(m,g.props),bn(z,g),z.return=v,v=z;break t}a(v,m);break}else e(v,m);m=m.sibling}g.type===J?(z=wa(g.props.children,v.mode,z,g.key),z.return=v,v=z):(z=yu(g.type,g.key,g.props,null,v.mode,z),bn(z,g),z.return=v,v=z)}return c(v);case F:t:{for(q=g.key;m!==null;){if(m.key===q)if(m.tag===4&&m.stateNode.containerInfo===g.containerInfo&&m.stateNode.implementation===g.implementation){a(v,m.sibling),z=n(m,g.children||[]),z.return=v,v=z;break t}else{a(v,m);break}else e(v,m);m=m.sibling}z=vs(g,v.mode,z),z.return=v,v=z}return c(v);case ot:return q=g._init,g=q(g._payload),pt(v,m,g,z)}if(Ht(g))return K(v,m,g,z);if(At(g)){if(q=At(g),typeof q!="function")throw Error(r(150));return g=q.call(g),X(v,m,g,z)}if(typeof g.then=="function")return pt(v,m,xu(g),z);if(g.$$typeof===I)return pt(v,m,pu(v,g),z);Uu(v,g)}return typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint"?(g=""+g,m!==null&&m.tag===6?(a(v,m.sibling),z=n(m,g),z.return=v,v=z):(a(v,m),z=ms(g,v.mode,z),z.return=v,v=z),c(v)):a(v,m)}return function(v,m,g,z){try{pn=0;var q=pt(v,m,g,z);return El=null,q}catch(B){if(B===fn||B===Su)throw B;var at=re(29,B,null,v.mode);return at.lanes=z,at.return=v,at}finally{}}}var Tl=Ko(!0),Jo=Ko(!1),Ae=U(null),He=null;function ha(t){var e=t.alternate;j(Nt,Nt.current&1),j(Ae,t),He===null&&(e===null||gl.current!==null||e.memoizedState!==null)&&(He=t)}function ko(t){if(t.tag===22){if(j(Nt,Nt.current),j(Ae,t),He===null){var e=t.alternate;e!==null&&e.memoizedState!==null&&(He=t)}}else da()}function da(){j(Nt,Nt.current),j(Ae,Ae.current)}function ke(t){H(Ae),He===t&&(He=null),H(Nt)}var Nt=U(0);function Nu(t){for(var e=t;e!==null;){if(e.tag===13){var a=e.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||a.data==="$?"||Qc(a)))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}function $s(t,e,a,l){e=t.memoizedState,a=a(l,e),a=a==null?e:x({},e,a),t.memoizedState=a,t.lanes===0&&(t.updateQueue.baseState=a)}var Fs={enqueueSetState:function(t,e,a){t=t._reactInternals;var l=ye(),n=fa(l);n.payload=e,a!=null&&(n.callback=a),e=ra(t,n,l),e!==null&&(me(e,t,l),on(e,t,l))},enqueueReplaceState:function(t,e,a){t=t._reactInternals;var l=ye(),n=fa(l);n.tag=1,n.payload=e,a!=null&&(n.callback=a),e=ra(t,n,l),e!==null&&(me(e,t,l),on(e,t,l))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var a=ye(),l=fa(a);l.tag=2,e!=null&&(l.callback=e),e=ra(t,l,a),e!==null&&(me(e,t,a),on(e,t,a))}};function $o(t,e,a,l,n,i,c){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(l,i,c):e.prototype&&e.prototype.isPureReactComponent?!tn(a,l)||!tn(n,i):!0}function Fo(t,e,a,l){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(a,l),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(a,l),e.state!==t&&Fs.enqueueReplaceState(e,e.state,null)}function Ka(t,e){var a=e;if("ref"in e){a={};for(var l in e)l!=="ref"&&(a[l]=e[l])}if(t=t.defaultProps){a===e&&(a=x({},a));for(var n in t)a[n]===void 0&&(a[n]=t[n])}return a}var ju=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)};function Po(t){ju(t)}function Wo(t){console.error(t)}function Io(t){ju(t)}function Hu(t,e){try{var a=t.onUncaughtError;a(e.value,{componentStack:e.stack})}catch(l){setTimeout(function(){throw l})}}function th(t,e,a){try{var l=t.onCaughtError;l(a.value,{componentStack:a.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(n){setTimeout(function(){throw n})}}function Ps(t,e,a){return a=fa(a),a.tag=3,a.payload={element:null},a.callback=function(){Hu(t,e)},a}function eh(t){return t=fa(t),t.tag=3,t}function ah(t,e,a,l){var n=a.type.getDerivedStateFromError;if(typeof n=="function"){var i=l.value;t.payload=function(){return n(i)},t.callback=function(){th(e,a,l)}}var c=a.stateNode;c!==null&&typeof c.componentDidCatch=="function"&&(t.callback=function(){th(e,a,l),typeof n!="function"&&(ba===null?ba=new Set([this]):ba.add(this));var o=l.stack;this.componentDidCatch(l.value,{componentStack:o!==null?o:""})})}function Zv(t,e,a,l,n){if(a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(e=a.alternate,e!==null&&un(e,a,n,!0),a=Ae.current,a!==null){switch(a.tag){case 13:return He===null?Ec():a.alternate===null&&Dt===0&&(Dt=3),a.flags&=-257,a.flags|=65536,a.lanes=n,l===Rs?a.flags|=16384:(e=a.updateQueue,e===null?a.updateQueue=new Set([l]):e.add(l),_c(t,l,n)),!1;case 22:return a.flags|=65536,l===Rs?a.flags|=16384:(e=a.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([l])},a.updateQueue=e):(a=e.retryQueue,a===null?e.retryQueue=new Set([l]):a.add(l)),_c(t,l,n)),!1}throw Error(r(435,a.tag))}return _c(t,l,n),Ec(),!1}if(ht)return e=Ae.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=n,l!==bs&&(t=Error(r(422),{cause:l}),nn(Se(t,a)))):(l!==bs&&(e=Error(r(423),{cause:l}),nn(Se(e,a))),t=t.current.alternate,t.flags|=65536,n&=-n,t.lanes|=n,l=Se(l,a),n=Ps(t.stateNode,l,n),zs(t,n),Dt!==4&&(Dt=2)),!1;var i=Error(r(520),{cause:l});if(i=Se(i,a),Rn===null?Rn=[i]:Rn.push(i),Dt!==4&&(Dt=2),e===null)return!0;l=Se(l,a),a=e;do{switch(a.tag){case 3:return a.flags|=65536,t=n&-n,a.lanes|=t,t=Ps(a.stateNode,l,t),zs(a,t),!1;case 1:if(e=a.type,i=a.stateNode,(a.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||i!==null&&typeof i.componentDidCatch=="function"&&(ba===null||!ba.has(i))))return a.flags|=65536,n&=-n,a.lanes|=n,n=eh(n),ah(n,t,a,l),zs(a,n),!1}a=a.return}while(a!==null);return!1}var lh=Error(r(461)),wt=!1;function Lt(t,e,a,l){e.child=t===null?Jo(e,null,a,l):Tl(e,t.child,a,l)}function nh(t,e,a,l,n){a=a.render;var i=e.ref;if("ref"in l){var c={};for(var o in l)o!=="ref"&&(c[o]=l[o])}else c=l;return Xa(e),l=js(t,e,a,c,i,n),o=Hs(),t!==null&&!wt?(qs(t,e,n),$e(t,e,n)):(ht&&o&&gs(e),e.flags|=1,Lt(t,e,l,n),e.child)}function uh(t,e,a,l,n){if(t===null){var i=a.type;return typeof i=="function"&&!ys(i)&&i.defaultProps===void 0&&a.compare===null?(e.tag=15,e.type=i,ih(t,e,i,l,n)):(t=yu(a.type,null,l,e,e.mode,n),t.ref=e.ref,t.return=e,e.child=t)}if(i=t.child,!uc(t,n)){var c=i.memoizedProps;if(a=a.compare,a=a!==null?a:tn,a(c,l)&&t.ref===e.ref)return $e(t,e,n)}return e.flags|=1,t=Le(i,l),t.ref=e.ref,t.return=e,e.child=t}function ih(t,e,a,l,n){if(t!==null){var i=t.memoizedProps;if(tn(i,l)&&t.ref===e.ref)if(wt=!1,e.pendingProps=l=i,uc(t,n))(t.flags&131072)!==0&&(wt=!0);else return e.lanes=t.lanes,$e(t,e,n)}return Ws(t,e,a,l,n)}function sh(t,e,a){var l=e.pendingProps,n=l.children,i=t!==null?t.memoizedState:null;if(l.mode==="hidden"){if((e.flags&128)!==0){if(l=i!==null?i.baseLanes|a:a,t!==null){for(n=e.child=t.child,i=0;n!==null;)i=i|n.lanes|n.childLanes,n=n.sibling;e.childLanes=i&~l}else e.childLanes=0,e.child=null;return ch(t,e,l,a)}if((a&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&bu(e,i!==null?i.cachePool:null),i!==null?uo(e,i):xs(),ko(e);else return e.lanes=e.childLanes=536870912,ch(t,e,i!==null?i.baseLanes|a:a,a)}else i!==null?(bu(e,i.cachePool),uo(e,i),da(),e.memoizedState=null):(t!==null&&bu(e,null),xs(),da());return Lt(t,e,n,a),e.child}function ch(t,e,a,l){var n=Os();return n=n===null?null:{parent:Ut._currentValue,pool:n},e.memoizedState={baseLanes:a,cachePool:n},t!==null&&bu(e,null),xs(),ko(e),t!==null&&un(t,e,l,!0),null}function qu(t,e){var a=e.ref;if(a===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(r(284));(t===null||t.ref!==a)&&(e.flags|=4194816)}}function Ws(t,e,a,l,n){return Xa(e),a=js(t,e,a,l,void 0,n),l=Hs(),t!==null&&!wt?(qs(t,e,n),$e(t,e,n)):(ht&&l&&gs(e),e.flags|=1,Lt(t,e,a,n),e.child)}function fh(t,e,a,l,n,i){return Xa(e),e.updateQueue=null,a=so(e,l,a,n),io(t),l=Hs(),t!==null&&!wt?(qs(t,e,i),$e(t,e,i)):(ht&&l&&gs(e),e.flags|=1,Lt(t,e,a,i),e.child)}function rh(t,e,a,l,n){if(Xa(e),e.stateNode===null){var i=hl,c=a.contextType;typeof c=="object"&&c!==null&&(i=$t(c)),i=new a(l,i),e.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=Fs,e.stateNode=i,i._reactInternals=e,i=e.stateNode,i.props=l,i.state=e.memoizedState,i.refs={},Ds(e),c=a.contextType,i.context=typeof c=="object"&&c!==null?$t(c):hl,i.state=e.memoizedState,c=a.getDerivedStateFromProps,typeof c=="function"&&($s(e,a,c,l),i.state=e.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(c=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),c!==i.state&&Fs.enqueueReplaceState(i,i.state,null),dn(e,l,i,n),hn(),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308),l=!0}else if(t===null){i=e.stateNode;var o=e.memoizedProps,h=Ka(a,o);i.props=h;var b=i.context,D=a.contextType;c=hl,typeof D=="object"&&D!==null&&(c=$t(D));var C=a.getDerivedStateFromProps;D=typeof C=="function"||typeof i.getSnapshotBeforeUpdate=="function",o=e.pendingProps!==o,D||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(o||b!==c)&&Fo(e,i,l,c),ca=!1;var S=e.memoizedState;i.state=S,dn(e,l,i,n),hn(),b=e.memoizedState,o||S!==b||ca?(typeof C=="function"&&($s(e,a,C,l),b=e.memoizedState),(h=ca||$o(e,a,h,l,S,b,c))?(D||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(e.flags|=4194308)):(typeof i.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=l,e.memoizedState=b),i.props=l,i.state=b,i.context=c,l=h):(typeof i.componentDidMount=="function"&&(e.flags|=4194308),l=!1)}else{i=e.stateNode,Ms(t,e),c=e.memoizedProps,D=Ka(a,c),i.props=D,C=e.pendingProps,S=i.context,b=a.contextType,h=hl,typeof b=="object"&&b!==null&&(h=$t(b)),o=a.getDerivedStateFromProps,(b=typeof o=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(c!==C||S!==h)&&Fo(e,i,l,h),ca=!1,S=e.memoizedState,i.state=S,dn(e,l,i,n),hn();var T=e.memoizedState;c!==C||S!==T||ca||t!==null&&t.dependencies!==null&&gu(t.dependencies)?(typeof o=="function"&&($s(e,a,o,l),T=e.memoizedState),(D=ca||$o(e,a,D,l,S,T,h)||t!==null&&t.dependencies!==null&&gu(t.dependencies))?(b||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(l,T,h),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(l,T,h)),typeof i.componentDidUpdate=="function"&&(e.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof i.componentDidUpdate!="function"||c===t.memoizedProps&&S===t.memoizedState||(e.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||c===t.memoizedProps&&S===t.memoizedState||(e.flags|=1024),e.memoizedProps=l,e.memoizedState=T),i.props=l,i.state=T,i.context=h,l=D):(typeof i.componentDidUpdate!="function"||c===t.memoizedProps&&S===t.memoizedState||(e.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||c===t.memoizedProps&&S===t.memoizedState||(e.flags|=1024),l=!1)}return i=l,qu(t,e),l=(e.flags&128)!==0,i||l?(i=e.stateNode,a=l&&typeof a.getDerivedStateFromError!="function"?null:i.render(),e.flags|=1,t!==null&&l?(e.child=Tl(e,t.child,null,n),e.child=Tl(e,null,a,n)):Lt(t,e,a,n),e.memoizedState=i.state,t=e.child):t=$e(t,e,n),t}function oh(t,e,a,l){return ln(),e.flags|=256,Lt(t,e,a,l),e.child}var Is={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function tc(t){return{baseLanes:t,cachePool:Pr()}}function ec(t,e,a){return t=t!==null?t.childLanes&~a:0,e&&(t|=Oe),t}function hh(t,e,a){var l=e.pendingProps,n=!1,i=(e.flags&128)!==0,c;if((c=i)||(c=t!==null&&t.memoizedState===null?!1:(Nt.current&2)!==0),c&&(n=!0,e.flags&=-129),c=(e.flags&32)!==0,e.flags&=-33,t===null){if(ht){if(n?ha(e):da(),ht){var o=Rt,h;if(h=o){t:{for(h=o,o=je;h.nodeType!==8;){if(!o){o=null;break t}if(h=Ue(h.nextSibling),h===null){o=null;break t}}o=h}o!==null?(e.memoizedState={dehydrated:o,treeContext:Qa!==null?{id:Xe,overflow:Ve}:null,retryLane:536870912,hydrationErrors:null},h=re(18,null,null,0),h.stateNode=o,h.return=e,e.child=h,Ft=e,Rt=null,h=!0):h=!1}h||Ga(e)}if(o=e.memoizedState,o!==null&&(o=o.dehydrated,o!==null))return Qc(o)?e.lanes=32:e.lanes=536870912,null;ke(e)}return o=l.children,l=l.fallback,n?(da(),n=e.mode,o=wu({mode:"hidden",children:o},n),l=wa(l,n,a,null),o.return=e,l.return=e,o.sibling=l,e.child=o,n=e.child,n.memoizedState=tc(a),n.childLanes=ec(t,c,a),e.memoizedState=Is,l):(ha(e),ac(e,o))}if(h=t.memoizedState,h!==null&&(o=h.dehydrated,o!==null)){if(i)e.flags&256?(ha(e),e.flags&=-257,e=lc(t,e,a)):e.memoizedState!==null?(da(),e.child=t.child,e.flags|=128,e=null):(da(),n=l.fallback,o=e.mode,l=wu({mode:"visible",children:l.children},o),n=wa(n,o,a,null),n.flags|=2,l.return=e,n.return=e,l.sibling=n,e.child=l,Tl(e,t.child,null,a),l=e.child,l.memoizedState=tc(a),l.childLanes=ec(t,c,a),e.memoizedState=Is,e=n);else if(ha(e),Qc(o)){if(c=o.nextSibling&&o.nextSibling.dataset,c)var b=c.dgst;c=b,l=Error(r(419)),l.stack="",l.digest=c,nn({value:l,source:null,stack:null}),e=lc(t,e,a)}else if(wt||un(t,e,a,!1),c=(a&t.childLanes)!==0,wt||c){if(c=Et,c!==null&&(l=a&-a,l=(l&42)!==0?1:Bi(l),l=(l&(c.suspendedLanes|a))!==0?0:l,l!==0&&l!==h.retryLane))throw h.retryLane=l,ol(t,l),me(c,t,l),lh;o.data==="$?"||Ec(),e=lc(t,e,a)}else o.data==="$?"?(e.flags|=192,e.child=t.child,e=null):(t=h.treeContext,Rt=Ue(o.nextSibling),Ft=e,ht=!0,Ya=null,je=!1,t!==null&&(Te[_e++]=Xe,Te[_e++]=Ve,Te[_e++]=Qa,Xe=t.id,Ve=t.overflow,Qa=e),e=ac(e,l.children),e.flags|=4096);return e}return n?(da(),n=l.fallback,o=e.mode,h=t.child,b=h.sibling,l=Le(h,{mode:"hidden",children:l.children}),l.subtreeFlags=h.subtreeFlags&65011712,b!==null?n=Le(b,n):(n=wa(n,o,a,null),n.flags|=2),n.return=e,l.return=e,l.sibling=n,e.child=l,l=n,n=e.child,o=t.child.memoizedState,o===null?o=tc(a):(h=o.cachePool,h!==null?(b=Ut._currentValue,h=h.parent!==b?{parent:b,pool:b}:h):h=Pr(),o={baseLanes:o.baseLanes|a,cachePool:h}),n.memoizedState=o,n.childLanes=ec(t,c,a),e.memoizedState=Is,l):(ha(e),a=t.child,t=a.sibling,a=Le(a,{mode:"visible",children:l.children}),a.return=e,a.sibling=null,t!==null&&(c=e.deletions,c===null?(e.deletions=[t],e.flags|=16):c.push(t)),e.child=a,e.memoizedState=null,a)}function ac(t,e){return e=wu({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function wu(t,e){return t=re(22,t,null,e),t.lanes=0,t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},t}function lc(t,e,a){return Tl(e,t.child,null,a),t=ac(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function dh(t,e,a){t.lanes|=e;var l=t.alternate;l!==null&&(l.lanes|=e),Es(t.return,e,a)}function nc(t,e,a,l,n){var i=t.memoizedState;i===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:l,tail:a,tailMode:n}:(i.isBackwards=e,i.rendering=null,i.renderingStartTime=0,i.last=l,i.tail=a,i.tailMode=n)}function yh(t,e,a){var l=e.pendingProps,n=l.revealOrder,i=l.tail;if(Lt(t,e,l.children,a),l=Nt.current,(l&2)!==0)l=l&1|2,e.flags|=128;else{if(t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&dh(t,a,e);else if(t.tag===19)dh(t,a,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}l&=1}switch(j(Nt,l),n){case"forwards":for(a=e.child,n=null;a!==null;)t=a.alternate,t!==null&&Nu(t)===null&&(n=a),a=a.sibling;a=n,a===null?(n=e.child,e.child=null):(n=a.sibling,a.sibling=null),nc(e,!1,n,a,i);break;case"backwards":for(a=null,n=e.child,e.child=null;n!==null;){if(t=n.alternate,t!==null&&Nu(t)===null){e.child=n;break}t=n.sibling,n.sibling=a,a=n,n=t}nc(e,!0,a,null,i);break;case"together":nc(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function $e(t,e,a){if(t!==null&&(e.dependencies=t.dependencies),pa|=e.lanes,(a&e.childLanes)===0)if(t!==null){if(un(t,e,a,!1),(a&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(r(153));if(e.child!==null){for(t=e.child,a=Le(t,t.pendingProps),e.child=a,a.return=e;t.sibling!==null;)t=t.sibling,a=a.sibling=Le(t,t.pendingProps),a.return=e;a.sibling=null}return e.child}function uc(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&gu(t)))}function Kv(t,e,a){switch(e.tag){case 3:Tt(e,e.stateNode.containerInfo),sa(e,Ut,t.memoizedState.cache),ln();break;case 27:case 5:ji(e);break;case 4:Tt(e,e.stateNode.containerInfo);break;case 10:sa(e,e.type,e.memoizedProps.value);break;case 13:var l=e.memoizedState;if(l!==null)return l.dehydrated!==null?(ha(e),e.flags|=128,null):(a&e.child.childLanes)!==0?hh(t,e,a):(ha(e),t=$e(t,e,a),t!==null?t.sibling:null);ha(e);break;case 19:var n=(t.flags&128)!==0;if(l=(a&e.childLanes)!==0,l||(un(t,e,a,!1),l=(a&e.childLanes)!==0),n){if(l)return yh(t,e,a);e.flags|=128}if(n=e.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),j(Nt,Nt.current),l)break;return null;case 22:case 23:return e.lanes=0,sh(t,e,a);case 24:sa(e,Ut,t.memoizedState.cache)}return $e(t,e,a)}function mh(t,e,a){if(t!==null)if(t.memoizedProps!==e.pendingProps)wt=!0;else{if(!uc(t,a)&&(e.flags&128)===0)return wt=!1,Kv(t,e,a);wt=(t.flags&131072)!==0}else wt=!1,ht&&(e.flags&1048576)!==0&&Vr(e,vu,e.index);switch(e.lanes=0,e.tag){case 16:t:{t=e.pendingProps;var l=e.elementType,n=l._init;if(l=n(l._payload),e.type=l,typeof l=="function")ys(l)?(t=Ka(l,t),e.tag=1,e=rh(null,e,l,t,a)):(e.tag=0,e=Ws(null,e,l,t,a));else{if(l!=null){if(n=l.$$typeof,n===it){e.tag=11,e=nh(null,e,l,t,a);break t}else if(n===rt){e.tag=14,e=uh(null,e,l,t,a);break t}}throw e=ue(l)||l,Error(r(306,e,""))}}return e;case 0:return Ws(t,e,e.type,e.pendingProps,a);case 1:return l=e.type,n=Ka(l,e.pendingProps),rh(t,e,l,n,a);case 3:t:{if(Tt(e,e.stateNode.containerInfo),t===null)throw Error(r(387));l=e.pendingProps;var i=e.memoizedState;n=i.element,Ms(t,e),dn(e,l,null,a);var c=e.memoizedState;if(l=c.cache,sa(e,Ut,l),l!==i.cache&&Ts(e,[Ut],a,!0),hn(),l=c.element,i.isDehydrated)if(i={element:l,isDehydrated:!1,cache:c.cache},e.updateQueue.baseState=i,e.memoizedState=i,e.flags&256){e=oh(t,e,l,a);break t}else if(l!==n){n=Se(Error(r(424)),e),nn(n),e=oh(t,e,l,a);break t}else{switch(t=e.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(Rt=Ue(t.firstChild),Ft=e,ht=!0,Ya=null,je=!0,a=Jo(e,null,l,a),e.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(ln(),l===n){e=$e(t,e,a);break t}Lt(t,e,l,a)}e=e.child}return e;case 26:return qu(t,e),t===null?(a=bd(e.type,null,e.pendingProps,null))?e.memoizedState=a:ht||(a=e.type,t=e.pendingProps,l=Pu($.current).createElement(a),l[kt]=e,l[It]=t,Vt(l,a,t),qt(l),e.stateNode=l):e.memoizedState=bd(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return ji(e),t===null&&ht&&(l=e.stateNode=vd(e.type,e.pendingProps,$.current),Ft=e,je=!0,n=Rt,Ta(e.type)?(Bc=n,Rt=Ue(l.firstChild)):Rt=n),Lt(t,e,e.pendingProps.children,a),qu(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&ht&&((n=l=Rt)&&(l=S0(l,e.type,e.pendingProps,je),l!==null?(e.stateNode=l,Ft=e,Rt=Ue(l.firstChild),je=!1,n=!0):n=!1),n||Ga(e)),ji(e),n=e.type,i=e.pendingProps,c=t!==null?t.memoizedProps:null,l=i.children,Hc(n,i)?l=null:c!==null&&Hc(n,c)&&(e.flags|=32),e.memoizedState!==null&&(n=js(t,e,Qv,null,null,a),Hn._currentValue=n),qu(t,e),Lt(t,e,l,a),e.child;case 6:return t===null&&ht&&((t=a=Rt)&&(a=E0(a,e.pendingProps,je),a!==null?(e.stateNode=a,Ft=e,Rt=null,t=!0):t=!1),t||Ga(e)),null;case 13:return hh(t,e,a);case 4:return Tt(e,e.stateNode.containerInfo),l=e.pendingProps,t===null?e.child=Tl(e,null,l,a):Lt(t,e,l,a),e.child;case 11:return nh(t,e,e.type,e.pendingProps,a);case 7:return Lt(t,e,e.pendingProps,a),e.child;case 8:return Lt(t,e,e.pendingProps.children,a),e.child;case 12:return Lt(t,e,e.pendingProps.children,a),e.child;case 10:return l=e.pendingProps,sa(e,e.type,l.value),Lt(t,e,l.children,a),e.child;case 9:return n=e.type._context,l=e.pendingProps.children,Xa(e),n=$t(n),l=l(n),e.flags|=1,Lt(t,e,l,a),e.child;case 14:return uh(t,e,e.type,e.pendingProps,a);case 15:return ih(t,e,e.type,e.pendingProps,a);case 19:return yh(t,e,a);case 31:return l=e.pendingProps,a=e.mode,l={mode:l.mode,children:l.children},t===null?(a=wu(l,a),a.ref=e.ref,e.child=a,a.return=e,e=a):(a=Le(t.child,l),a.ref=e.ref,e.child=a,a.return=e,e=a),e;case 22:return sh(t,e,a);case 24:return Xa(e),l=$t(Ut),t===null?(n=Os(),n===null&&(n=Et,i=_s(),n.pooledCache=i,i.refCount++,i!==null&&(n.pooledCacheLanes|=a),n=i),e.memoizedState={parent:l,cache:n},Ds(e),sa(e,Ut,n)):((t.lanes&a)!==0&&(Ms(t,e),dn(e,null,null,a),hn()),n=t.memoizedState,i=e.memoizedState,n.parent!==l?(n={parent:l,cache:l},e.memoizedState=n,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=n),sa(e,Ut,l)):(l=i.cache,sa(e,Ut,l),l!==n.cache&&Ts(e,[Ut],a,!0))),Lt(t,e,e.pendingProps.children,a),e.child;case 29:throw e.pendingProps}throw Error(r(156,e.tag))}function Fe(t){t.flags|=4}function vh(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Ad(e)){if(e=Ae.current,e!==null&&((st&4194048)===st?He!==null:(st&62914560)!==st&&(st&536870912)===0||e!==He))throw rn=Rs,Wr;t.flags|=8192}}function Qu(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?Jf():536870912,t.lanes|=e,Rl|=e)}function Sn(t,e){if(!ht)switch(t.tailMode){case"hidden":e=t.tail;for(var a=null;e!==null;)e.alternate!==null&&(a=e),e=e.sibling;a===null?t.tail=null:a.sibling=null;break;case"collapsed":a=t.tail;for(var l=null;a!==null;)a.alternate!==null&&(l=a),a=a.sibling;l===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:l.sibling=null}}function Ot(t){var e=t.alternate!==null&&t.alternate.child===t.child,a=0,l=0;if(e)for(var n=t.child;n!==null;)a|=n.lanes|n.childLanes,l|=n.subtreeFlags&65011712,l|=n.flags&65011712,n.return=t,n=n.sibling;else for(n=t.child;n!==null;)a|=n.lanes|n.childLanes,l|=n.subtreeFlags,l|=n.flags,n.return=t,n=n.sibling;return t.subtreeFlags|=l,t.childLanes=a,e}function Jv(t,e,a){var l=e.pendingProps;switch(ps(e),e.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ot(e),null;case 1:return Ot(e),null;case 3:return a=e.stateNode,l=null,t!==null&&(l=t.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),Ke(Ut),la(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(t===null||t.child===null)&&(an(e)?Fe(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,Jr())),Ot(e),null;case 26:return a=e.memoizedState,t===null?(Fe(e),a!==null?(Ot(e),vh(e,a)):(Ot(e),e.flags&=-16777217)):a?a!==t.memoizedState?(Fe(e),Ot(e),vh(e,a)):(Ot(e),e.flags&=-16777217):(t.memoizedProps!==l&&Fe(e),Ot(e),e.flags&=-16777217),null;case 27:$n(e),a=$.current;var n=e.type;if(t!==null&&e.stateNode!=null)t.memoizedProps!==l&&Fe(e);else{if(!l){if(e.stateNode===null)throw Error(r(166));return Ot(e),null}t=L.current,an(e)?Zr(e):(t=vd(n,l,a),e.stateNode=t,Fe(e))}return Ot(e),null;case 5:if($n(e),a=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==l&&Fe(e);else{if(!l){if(e.stateNode===null)throw Error(r(166));return Ot(e),null}if(t=L.current,an(e))Zr(e);else{switch(n=Pu($.current),t){case 1:t=n.createElementNS("http://www.w3.org/2000/svg",a);break;case 2:t=n.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;default:switch(a){case"svg":t=n.createElementNS("http://www.w3.org/2000/svg",a);break;case"math":t=n.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;case"script":t=n.createElement("div"),t.innerHTML="