diff --git a/self_hosting_machinery/webgui/selfhost_lsp_proxy.py b/self_hosting_machinery/webgui/selfhost_lsp_proxy.py index 39f7f51a..bdf83dec 100644 --- a/self_hosting_machinery/webgui/selfhost_lsp_proxy.py +++ b/self_hosting_machinery/webgui/selfhost_lsp_proxy.py @@ -8,7 +8,6 @@ import json import httpx - __all__ = ["LspProxy"] diff --git a/self_hosting_machinery/webgui/selfhost_plugins.py b/self_hosting_machinery/webgui/selfhost_plugins.py index c853d66d..14d649c8 100644 --- a/self_hosting_machinery/webgui/selfhost_plugins.py +++ b/self_hosting_machinery/webgui/selfhost_plugins.py @@ -13,7 +13,6 @@ def __init__(self): {"label": "Server Logs", "tab": "server-logs"}, {"label": "Stats", "tab": "stats"}, {"label": "Credentials", "tab": "settings", "hamburger": True}, - {"label": "Chat", "tab": "chat"} ] self.add_api_route("/list-plugins", self._list_plugins, methods=["GET"]) diff --git a/self_hosting_machinery/webgui/selfhost_static.py b/self_hosting_machinery/webgui/selfhost_static.py index 3ccb256a..afa7ca11 100644 --- a/self_hosting_machinery/webgui/selfhost_static.py +++ b/self_hosting_machinery/webgui/selfhost_static.py @@ -11,10 +11,12 @@ class StaticRouter(APIRouter): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) super().add_api_route("/", self._index, methods=["GET"]) + super().add_api_route("/chat", self._chat, methods=["GET"]) super().add_api_route("/{file_path:path}", self._static_file, methods=["GET"]) super().add_api_route("/ping", self._ping_handler, methods=["GET"]) self.static_folders = [ - os.path.join(os.path.dirname(os.path.abspath(__file__)), "static") + os.path.join(os.path.dirname(os.path.abspath(__file__)), "static"), + os.path.join(os.path.dirname(os.path.abspath(__file__)), "static", "assets") ] async def _index(self): @@ -24,9 +26,17 @@ async def _index(self): return FileResponse(fn, media_type="text/html") raise HTTPException(404, "No index.html found") + async def _chat(self): + for spath in self.static_folders: + fn = os.path.join(spath, "chat.html") + if os.path.exists(fn): + return FileResponse(fn, media_type="text/html") + raise HTTPException(404, "No chat.html found") + async def _static_file(self, file_path: str): if ".." in file_path: raise HTTPException(404, "Path \"%s\" not found" % file_path) + for spath in self.static_folders: fn = os.path.join(spath, file_path) if os.path.exists(fn): diff --git a/self_hosting_machinery/webgui/static/chat/chat.umd.cjs b/self_hosting_machinery/webgui/static/assets/chat.umd.cjs similarity index 85% rename from self_hosting_machinery/webgui/static/chat/chat.umd.cjs rename to self_hosting_machinery/webgui/static/assets/chat.umd.cjs index 8ac9e3ec..e58fbffb 100644 --- a/self_hosting_machinery/webgui/static/chat/chat.umd.cjs +++ b/self_hosting_machinery/webgui/static/assets/chat.umd.cjs @@ -1,4 +1,4 @@ -(function(Gi,Br){typeof exports=="object"&&typeof module<"u"?module.exports=Br():typeof define=="function"&&define.amd?define(Br):(Gi=typeof globalThis<"u"?globalThis:Gi||self,Gi.RefactChat=Br())})(this,function(){"use strict";function Gi(e,t){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var Br=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Yi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Og={exports:{}},Wa={},Ig={exports:{}},me={};/** +(function(Gi,Gr){typeof exports=="object"&&typeof module<"u"?module.exports=Gr():typeof define=="function"&&define.amd?define(Gr):(Gi=typeof globalThis<"u"?globalThis:Gi||self,Gi.RefactChat=Gr())})(this,function(){"use strict";function Gi(e,t){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var Gr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Yi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Og={exports:{}},Ka={},Ig={exports:{}},me={};/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var $i=Symbol.for("react.element"),QN=Symbol.for("react.portal"),XN=Symbol.for("react.fragment"),jN=Symbol.for("react.strict_mode"),ZN=Symbol.for("react.profiler"),JN=Symbol.for("react.provider"),eO=Symbol.for("react.context"),tO=Symbol.for("react.forward_ref"),nO=Symbol.for("react.suspense"),rO=Symbol.for("react.memo"),iO=Symbol.for("react.lazy"),Ag=Symbol.iterator;function aO(e){return e===null||typeof e!="object"?null:(e=Ag&&e[Ag]||e["@@iterator"],typeof e=="function"?e:null)}var Dg={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},wg=Object.assign,xg={};function Gr(e,t,n){this.props=e,this.context=t,this.refs=xg,this.updater=n||Dg}Gr.prototype.isReactComponent={},Gr.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},Gr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Mg(){}Mg.prototype=Gr.prototype;function al(e,t,n){this.props=e,this.context=t,this.refs=xg,this.updater=n||Dg}var ol=al.prototype=new Mg;ol.constructor=al,wg(ol,Gr.prototype),ol.isPureReactComponent=!0;var Lg=Array.isArray,Pg=Object.prototype.hasOwnProperty,sl={current:null},kg={key:!0,ref:!0,__self:!0,__source:!0};function Ug(e,t,n){var r,i={},a=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(a=""+t.key),t)Pg.call(t,r)&&!kg.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(s===1)i.children=n;else if(1>>1,ce=L[J];if(0>>1;Ji(Q,R))Wi(q,Q)?(L[J]=q,L[W]=R,J=W):(L[J]=Q,L[k]=R,J=k);else if(Wi(q,R))L[J]=q,L[W]=R,J=W;else break e}}return Y}function i(L,Y){var R=L.sortIndex-Y.sortIndex;return R!==0?R:L.id-Y.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var l=[],c=[],u=1,d=null,p=3,_=!1,g=!1,S=!1,h=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,E=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function T(L){for(var Y=n(c);Y!==null;){if(Y.callback===null)r(c);else if(Y.startTime<=L)r(c),Y.sortIndex=Y.expirationTime,t(l,Y);else break;Y=n(c)}}function v(L){if(S=!1,T(L),!g)if(n(l)!==null)g=!0,B(y);else{var Y=n(c);Y!==null&&z(v,Y.startTime-L)}}function y(L,Y){g=!1,S&&(S=!1,m(I),I=-1),_=!0;var R=p;try{for(T(Y),d=n(l);d!==null&&(!(d.expirationTime>Y)||L&&!M());){var J=d.callback;if(typeof J=="function"){d.callback=null,p=d.priorityLevel;var ce=J(d.expirationTime<=Y);Y=e.unstable_now(),typeof ce=="function"?d.callback=ce:d===n(l)&&r(l),T(Y)}else r(l);d=n(l)}if(d!==null)var b=!0;else{var k=n(c);k!==null&&z(v,k.startTime-Y),b=!1}return b}finally{d=null,p=R,_=!1}}var C=!1,N=null,I=-1,A=5,D=-1;function M(){return!(e.unstable_now()-DL||125J?(L.sortIndex=R,t(c,L),n(l)===null&&L===n(c)&&(S?(m(I),I=-1):S=!0,z(v,R-J))):(L.sortIndex=ce,t(l,L),g||_||(g=!0,B(y))),L},e.unstable_shouldYield=M,e.unstable_wrapCallback=function(L){var Y=p;return function(){var R=p;p=Y;try{return L.apply(this,arguments)}finally{p=R}}}})($g),Yg.exports=$g;var EO=Yg.exports;/** + */(function(e){function t(L,Y){var R=L.length;L.push(Y);e:for(;0>>1,ce=L[J];if(0>>1;Ji(Q,R))Wi(q,Q)?(L[J]=q,L[W]=R,J=W):(L[J]=Q,L[k]=R,J=k);else if(Wi(q,R))L[J]=q,L[W]=R,J=W;else break e}}return Y}function i(L,Y){var R=L.sortIndex-Y.sortIndex;return R!==0?R:L.id-Y.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var l=[],c=[],u=1,d=null,p=3,_=!1,g=!1,S=!1,h=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,E=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function T(L){for(var Y=n(c);Y!==null;){if(Y.callback===null)r(c);else if(Y.startTime<=L)r(c),Y.sortIndex=Y.expirationTime,t(l,Y);else break;Y=n(c)}}function C(L){if(S=!1,T(L),!g)if(n(l)!==null)g=!0,B(y);else{var Y=n(c);Y!==null&&z(C,Y.startTime-L)}}function y(L,Y){g=!1,S&&(S=!1,m(I),I=-1),_=!0;var R=p;try{for(T(Y),d=n(l);d!==null&&(!(d.expirationTime>Y)||L&&!M());){var J=d.callback;if(typeof J=="function"){d.callback=null,p=d.priorityLevel;var ce=J(d.expirationTime<=Y);Y=e.unstable_now(),typeof ce=="function"?d.callback=ce:d===n(l)&&r(l),T(Y)}else r(l);d=n(l)}if(d!==null)var b=!0;else{var k=n(c);k!==null&&z(C,k.startTime-Y),b=!1}return b}finally{d=null,p=R,_=!1}}var v=!1,N=null,I=-1,A=5,D=-1;function M(){return!(e.unstable_now()-DL||125J?(L.sortIndex=R,t(c,L),n(l)===null&&L===n(c)&&(S?(m(I),I=-1):S=!0,z(C,R-J))):(L.sortIndex=ce,t(l,L),g||_||(g=!0,B(y))),L},e.unstable_shouldYield=M,e.unstable_wrapCallback=function(L){var Y=p;return function(){var R=p;p=Y;try{return L.apply(this,arguments)}finally{p=R}}}})($g),Yg.exports=$g;var SO=Yg.exports;/** * @license React * react-dom.production.min.js * @@ -30,23 +30,23 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Hg=f,Ct=EO;function F(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),dl=Object.prototype.hasOwnProperty,SO=/^[: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]*$/,Vg={},zg={};function TO(e){return dl.call(zg,e)?!0:dl.call(Vg,e)?!1:SO.test(e)?zg[e]=!0:(Vg[e]=!0,!1)}function hO(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function bO(e,t,n,r){if(t===null||typeof t>"u"||hO(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function ct(e,t,n,r,i,a,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=o}var Qe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Qe[e]=new ct(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Qe[t]=new ct(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){Qe[e]=new ct(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Qe[e]=new ct(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){Qe[e]=new ct(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){Qe[e]=new ct(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){Qe[e]=new ct(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){Qe[e]=new ct(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){Qe[e]=new ct(e,5,!1,e.toLowerCase(),null,!1,!1)});var _l=/[\-:]([a-z])/g;function pl(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(_l,pl);Qe[t]=new ct(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(_l,pl);Qe[t]=new ct(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(_l,pl);Qe[t]=new ct(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){Qe[e]=new ct(e,1,!1,e.toLowerCase(),null,!1,!1)}),Qe.xlinkHref=new ct("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){Qe[e]=new ct(e,1,!1,e.toLowerCase(),null,!0,!0)});function ml(e,t,n,r){var i=Qe.hasOwnProperty(t)?Qe[t]:null;(i!==null?i.type!==0:r||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),dl=Object.prototype.hasOwnProperty,TO=/^[: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]*$/,Vg={},zg={};function hO(e){return dl.call(zg,e)?!0:dl.call(Vg,e)?!1:TO.test(e)?zg[e]=!0:(Vg[e]=!0,!1)}function bO(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function CO(e,t,n,r){if(t===null||typeof t>"u"||bO(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function ct(e,t,n,r,i,a,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=o}var Qe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Qe[e]=new ct(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Qe[t]=new ct(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){Qe[e]=new ct(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Qe[e]=new ct(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){Qe[e]=new ct(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){Qe[e]=new ct(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){Qe[e]=new ct(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){Qe[e]=new ct(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){Qe[e]=new ct(e,5,!1,e.toLowerCase(),null,!1,!1)});var _l=/[\-:]([a-z])/g;function pl(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(_l,pl);Qe[t]=new ct(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(_l,pl);Qe[t]=new ct(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(_l,pl);Qe[t]=new ct(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){Qe[e]=new ct(e,1,!1,e.toLowerCase(),null,!1,!1)}),Qe.xlinkHref=new ct("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){Qe[e]=new ct(e,1,!1,e.toLowerCase(),null,!0,!0)});function ml(e,t,n,r){var i=Qe.hasOwnProperty(t)?Qe[t]:null;(i!==null?i.type!==0:r||!(2s||i[o]!==a[s]){var l=` -`+i[o].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=o&&0<=s);break}}}finally{vl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Vi(e):""}function vO(e){switch(e.tag){case 5:return Vi(e.type);case 16:return Vi("Lazy");case 13:return Vi("Suspense");case 19:return Vi("SuspenseList");case 0:case 2:case 15:return e=Cl(e.type,!1),e;case 11:return e=Cl(e.type.render,!1),e;case 1:return e=Cl(e.type,!0),e;default:return""}}function Rl(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 Hr:return"Fragment";case $r:return"Portal";case fl:return"Profiler";case gl:return"StrictMode";case Sl:return"Suspense";case Tl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Kg:return(e.displayName||"Context")+".Consumer";case Wg:return(e._context.displayName||"Context")+".Provider";case El:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case hl:return t=e.displayName||null,t!==null?t:Rl(e.type)||"Memo";case kn:t=e._payload,e=e._init;try{return Rl(e(t))}catch{}}return null}function CO(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 Rl(t);case 8:return t===gl?"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 Un(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function jg(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function RO(e){var t=jg(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){r=""+o,a.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Za(e){e._valueTracker||(e._valueTracker=RO(e))}function Zg(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=jg(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Ja(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 yl(e,t){var n=t.checked;return Ae({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Jg(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Un(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function ef(e,t){t=t.checked,t!=null&&ml(e,"checked",t,!1)}function Nl(e,t){ef(e,t);var n=Un(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Ol(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ol(e,t.type,Un(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function tf(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Ol(e,t,n){(t!=="number"||Ja(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var zi=Array.isArray;function qr(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=eo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Wi(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ki={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},yO=["Webkit","ms","Moz","O"];Object.keys(Ki).forEach(function(e){yO.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ki[t]=Ki[e]})});function lf(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Ki.hasOwnProperty(e)&&Ki[e]?(""+t).trim():t+"px"}function cf(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=lf(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var NO=Ae({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 Dl(e,t){if(t){if(NO[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(F(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(F(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(F(61))}if(t.style!=null&&typeof t.style!="object")throw Error(F(62))}}function wl(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 xl=null;function Ml(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ll=null,Vr=null,zr=null;function uf(e){if(e=fa(e)){if(typeof Ll!="function")throw Error(F(280));var t=e.stateNode;t&&(t=Ro(t),Ll(e.stateNode,e.type,t))}}function df(e){Vr?zr?zr.push(e):zr=[e]:Vr=e}function _f(){if(Vr){var e=Vr,t=zr;if(zr=Vr=null,uf(e),t)for(e=0;e>>=0,e===0?32:31-(UO(e)/FO|0)|0}var ao=64,oo=4194304;function Zi(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 so(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,a=e.pingedLanes,o=n&268435455;if(o!==0){var s=o&~i;s!==0?r=Zi(s):(a&=o,a!==0&&(r=Zi(a)))}else o=n&~i,o!==0?r=Zi(o):a!==0&&(r=Zi(a));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,a=t&-t,i>=a||i===16&&(a&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Ji(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Wt(t),e[t]=n}function $O(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=sa),Gf=" ",Yf=!1;function $f(e,t){switch(e){case"keyup":return fI.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Hf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Qr=!1;function SI(e,t){switch(e){case"compositionend":return Hf(t);case"keypress":return t.which!==32?null:(Yf=!0,Gf);case"textInput":return e=t.data,e===Gf&&Yf?null:e;default:return null}}function TI(e,t){if(Qr)return e==="compositionend"||!Zl&&$f(e,t)?(e=Lf(),po=zl=$n=null,Qr=!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)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Xf(n)}}function Zf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Zf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Jf(){for(var e=window,t=Ja();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ja(e.document)}return t}function tc(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 II(e){var t=Jf(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Zf(n.ownerDocument.documentElement,n)){if(r!==null&&tc(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,a=Math.min(r.start,i);r=r.end===void 0?a:Math.min(r.end,i),!e.extend&&a>r&&(i=r,r=a,a=i),i=jf(n,a);var o=jf(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.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=document.documentMode,Xr=null,nc=null,da=null,rc=!1;function eE(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;rc||Xr==null||Xr!==Ja(r)||(r=Xr,"selectionStart"in r&&tc(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),da&&ua(da,r)||(da=r,r=bo(nc,"onSelect"),0ti||(e.current=gc[ti],gc[ti]=null,ti--)}function he(e,t){ti++,gc[ti]=e.current,e.current=t}var zn={},tt=Vn(zn),gt=Vn(!1),fr=zn;function ni(e,t){var n=e.type.contextTypes;if(!n)return zn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},a;for(a in n)i[a]=t[a];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function ft(e){return e=e.childContextTypes,e!=null}function yo(){Re(gt),Re(tt)}function gE(e,t,n){if(tt.current!==zn)throw Error(F(168));he(tt,t),he(gt,n)}function fE(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(F(108,CO(e)||"Unknown",i));return Ae({},n,r)}function No(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||zn,fr=tt.current,he(tt,e),he(gt,gt.current),!0}function EE(e,t,n){var r=e.stateNode;if(!r)throw Error(F(169));n?(e=fE(e,t,fr),r.__reactInternalMemoizedMergedChildContext=e,Re(gt),Re(tt),he(tt,e)):Re(gt),he(gt,n)}var vn=null,Oo=!1,fc=!1;function SE(e){vn===null?vn=[e]:vn.push(e)}function GI(e){Oo=!0,SE(e)}function Wn(){if(!fc&&vn!==null){fc=!0;var e=0,t=Se;try{var n=vn;for(Se=1;e>=o,i-=o,Cn=1<<32-Wt(t)+i|n<I?(A=N,N=null):A=N.sibling;var D=p(m,N,T[I],v);if(D===null){N===null&&(N=A);break}e&&N&&D.alternate===null&&t(m,N),E=a(D,E,I),C===null?y=D:C.sibling=D,C=D,N=A}if(I===T.length)return n(m,N),Ne&&Sr(m,I),y;if(N===null){for(;II?(A=N,N=null):A=N.sibling;var M=p(m,N,D.value,v);if(M===null){N===null&&(N=A);break}e&&N&&M.alternate===null&&t(m,N),E=a(M,E,I),C===null?y=M:C.sibling=M,C=M,N=A}if(D.done)return n(m,N),Ne&&Sr(m,I),y;if(N===null){for(;!D.done;I++,D=T.next())D=d(m,D.value,v),D!==null&&(E=a(D,E,I),C===null?y=D:C.sibling=D,C=D);return Ne&&Sr(m,I),y}for(N=r(m,N);!D.done;I++,D=T.next())D=_(N,m,I,D.value,v),D!==null&&(e&&D.alternate!==null&&N.delete(D.key===null?I:D.key),E=a(D,E,I),C===null?y=D:C.sibling=D,C=D);return e&&N.forEach(function(w){return t(m,w)}),Ne&&Sr(m,I),y}function h(m,E,T,v){if(typeof T=="object"&&T!==null&&T.type===Hr&&T.key===null&&(T=T.props.children),typeof T=="object"&&T!==null){switch(T.$$typeof){case ja:e:{for(var y=T.key,C=E;C!==null;){if(C.key===y){if(y=T.type,y===Hr){if(C.tag===7){n(m,C.sibling),E=i(C,T.props.children),E.return=m,m=E;break e}}else if(C.elementType===y||typeof y=="object"&&y!==null&&y.$$typeof===kn&&xE(y)===C.type){n(m,C.sibling),E=i(C,T.props),E.ref=Ea(m,C,T),E.return=m,m=E;break e}n(m,C);break}else t(m,C);C=C.sibling}T.type===Hr?(E=Nr(T.props.children,m.mode,v,T.key),E.return=m,m=E):(v=ts(T.type,T.key,T.props,null,m.mode,v),v.ref=Ea(m,E,T),v.return=m,m=v)}return o(m);case $r:e:{for(C=T.key;E!==null;){if(E.key===C)if(E.tag===4&&E.stateNode.containerInfo===T.containerInfo&&E.stateNode.implementation===T.implementation){n(m,E.sibling),E=i(E,T.children||[]),E.return=m,m=E;break e}else{n(m,E);break}else t(m,E);E=E.sibling}E=pu(T,m.mode,v),E.return=m,m=E}return o(m);case kn:return C=T._init,h(m,E,C(T._payload),v)}if(zi(T))return g(m,E,T,v);if(qi(T))return S(m,E,T,v);ko(m,T)}return typeof T=="string"&&T!==""||typeof T=="number"?(T=""+T,E!==null&&E.tag===6?(n(m,E.sibling),E=i(E,T),E.return=m,m=E):(n(m,E),E=_u(T,m.mode,v),E.return=m,m=E),o(m)):n(m,E)}return h}var li=ME(!0),LE=ME(!1),Sa={},cn=Vn(Sa),Ta=Vn(Sa),ha=Vn(Sa);function hr(e){if(e===Sa)throw Error(F(174));return e}function Dc(e,t){switch(he(ha,t),he(Ta,e),he(cn,Sa),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Al(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Al(t,e)}Re(cn),he(cn,t)}function ci(){Re(cn),Re(Ta),Re(ha)}function PE(e){hr(ha.current);var t=hr(cn.current),n=Al(t,e.type);t!==n&&(he(Ta,e),he(cn,n))}function wc(e){Ta.current===e&&(Re(cn),Re(Ta))}var De=Vn(0);function Uo(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 xc=[];function Mc(){for(var e=0;en?n:4,e(!0);var r=Lc.transition;Lc.transition={};try{e(!1),t()}finally{Se=n,Lc.transition=r}}function JE(){return Pt().memoizedState}function qI(e,t,n){var r=Jn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},eS(e))tS(t,n);else if(n=RE(e,t,n,r),n!==null){var i=dt();Jt(n,e,r,i),nS(n,t,r)}}function VI(e,t,n){var r=Jn(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(eS(e))tS(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,Kt(s,o)){var l=t.interleaved;l===null?(i.next=i,Nc(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=RE(e,t,i,r),n!==null&&(i=dt(),Jt(n,e,r,i),nS(n,t,r))}}function eS(e){var t=e.alternate;return e===we||t!==null&&t===we}function tS(e,t){ba=Bo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function nS(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Yl(e,n)}}var $o={readContext:Lt,useCallback:nt,useContext:nt,useEffect:nt,useImperativeHandle:nt,useInsertionEffect:nt,useLayoutEffect:nt,useMemo:nt,useReducer:nt,useRef:nt,useState:nt,useDebugValue:nt,useDeferredValue:nt,useTransition:nt,useMutableSource:nt,useSyncExternalStore:nt,useId:nt,unstable_isNewReconciler:!1},zI={readContext:Lt,useCallback:function(e,t){return un().memoizedState=[e,t===void 0?null:t],e},useContext:Lt,useEffect:VE,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Go(4194308,4,KE.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Go(4194308,4,e,t)},useInsertionEffect:function(e,t){return Go(4,2,e,t)},useMemo:function(e,t){var n=un();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=un();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=qI.bind(null,we,e),[r.memoizedState,e]},useRef:function(e){var t=un();return e={current:e},t.memoizedState=e},useState:HE,useDebugValue:Yc,useDeferredValue:function(e){return un().memoizedState=e},useTransition:function(){var e=HE(!1),t=e[0];return e=HI.bind(null,e[1]),un().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=we,i=un();if(Ne){if(n===void 0)throw Error(F(407));n=n()}else{if(n=t(),ze===null)throw Error(F(349));br&30||FE(r,t,n)}i.memoizedState=n;var a={value:n,getSnapshot:t};return i.queue=a,VE(GE.bind(null,r,a,e),[e]),r.flags|=2048,Ra(9,BE.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=un(),t=ze.identifierPrefix;if(Ne){var n=Rn,r=Cn;n=(r&~(1<<32-Wt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=va++,0")&&(l=l.replace("",e.displayName)),l}while(1<=o&&0<=s);break}}}finally{Cl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Vi(e):""}function vO(e){switch(e.tag){case 5:return Vi(e.type);case 16:return Vi("Lazy");case 13:return Vi("Suspense");case 19:return Vi("SuspenseList");case 0:case 2:case 15:return e=vl(e.type,!1),e;case 11:return e=vl(e.type.render,!1),e;case 1:return e=vl(e.type,!0),e;default:return""}}function Rl(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 qr:return"Fragment";case Hr:return"Portal";case fl:return"Profiler";case gl:return"StrictMode";case Sl:return"Suspense";case Tl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Kg:return(e.displayName||"Context")+".Consumer";case Wg:return(e._context.displayName||"Context")+".Provider";case El:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case hl:return t=e.displayName||null,t!==null?t:Rl(e.type)||"Memo";case kn:t=e._payload,e=e._init;try{return Rl(e(t))}catch{}}return null}function RO(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 Rl(t);case 8:return t===gl?"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 Un(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function jg(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function yO(e){var t=jg(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){r=""+o,a.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ja(e){e._valueTracker||(e._valueTracker=yO(e))}function Zg(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=jg(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function eo(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 yl(e,t){var n=t.checked;return Ae({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Jg(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Un(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function ef(e,t){t=t.checked,t!=null&&ml(e,"checked",t,!1)}function Nl(e,t){ef(e,t);var n=Un(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Ol(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ol(e,t.type,Un(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function tf(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Ol(e,t,n){(t!=="number"||eo(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var zi=Array.isArray;function Vr(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=to.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Wi(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ki={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},NO=["Webkit","ms","Moz","O"];Object.keys(Ki).forEach(function(e){NO.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ki[t]=Ki[e]})});function lf(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Ki.hasOwnProperty(e)&&Ki[e]?(""+t).trim():t+"px"}function cf(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=lf(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var OO=Ae({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 Dl(e,t){if(t){if(OO[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(F(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(F(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(F(61))}if(t.style!=null&&typeof t.style!="object")throw Error(F(62))}}function wl(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 xl=null;function Ml(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ll=null,zr=null,Wr=null;function uf(e){if(e=fa(e)){if(typeof Ll!="function")throw Error(F(280));var t=e.stateNode;t&&(t=yo(t),Ll(e.stateNode,e.type,t))}}function df(e){zr?Wr?Wr.push(e):Wr=[e]:zr=e}function _f(){if(zr){var e=zr,t=Wr;if(Wr=zr=null,uf(e),t)for(e=0;e>>=0,e===0?32:31-(FO(e)/BO|0)|0}var oo=64,so=4194304;function Zi(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 lo(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,a=e.pingedLanes,o=n&268435455;if(o!==0){var s=o&~i;s!==0?r=Zi(s):(a&=o,a!==0&&(r=Zi(a)))}else o=n&~i,o!==0?r=Zi(o):a!==0&&(r=Zi(a));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,a=t&-t,i>=a||i===16&&(a&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Ji(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Wt(t),e[t]=n}function HO(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=sa),Gf=" ",Yf=!1;function $f(e,t){switch(e){case"keyup":return EI.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Hf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Xr=!1;function TI(e,t){switch(e){case"compositionend":return Hf(t);case"keypress":return t.which!==32?null:(Yf=!0,Gf);case"textInput":return e=t.data,e===Gf&&Yf?null:e;default:return null}}function hI(e,t){if(Xr)return e==="compositionend"||!Zl&&$f(e,t)?(e=Lf(),mo=zl=$n=null,Xr=!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)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Xf(n)}}function Zf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Zf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Jf(){for(var e=window,t=eo();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=eo(e.document)}return t}function tc(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 AI(e){var t=Jf(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Zf(n.ownerDocument.documentElement,n)){if(r!==null&&tc(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,a=Math.min(r.start,i);r=r.end===void 0?a:Math.min(r.end,i),!e.extend&&a>r&&(i=r,r=a,a=i),i=jf(n,a);var o=jf(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.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=document.documentMode,jr=null,nc=null,da=null,rc=!1;function eE(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;rc||jr==null||jr!==eo(r)||(r=jr,"selectionStart"in r&&tc(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),da&&ua(da,r)||(da=r,r=Co(nc,"onSelect"),0ni||(e.current=gc[ni],gc[ni]=null,ni--)}function he(e,t){ni++,gc[ni]=e.current,e.current=t}var zn={},tt=Vn(zn),gt=Vn(!1),Er=zn;function ri(e,t){var n=e.type.contextTypes;if(!n)return zn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},a;for(a in n)i[a]=t[a];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function ft(e){return e=e.childContextTypes,e!=null}function No(){Re(gt),Re(tt)}function gE(e,t,n){if(tt.current!==zn)throw Error(F(168));he(tt,t),he(gt,n)}function fE(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(F(108,RO(e)||"Unknown",i));return Ae({},n,r)}function Oo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||zn,Er=tt.current,he(tt,e),he(gt,gt.current),!0}function EE(e,t,n){var r=e.stateNode;if(!r)throw Error(F(169));n?(e=fE(e,t,Er),r.__reactInternalMemoizedMergedChildContext=e,Re(gt),Re(tt),he(tt,e)):Re(gt),he(gt,n)}var Cn=null,Io=!1,fc=!1;function SE(e){Cn===null?Cn=[e]:Cn.push(e)}function YI(e){Io=!0,SE(e)}function Wn(){if(!fc&&Cn!==null){fc=!0;var e=0,t=Se;try{var n=Cn;for(Se=1;e>=o,i-=o,vn=1<<32-Wt(t)+i|n<I?(A=N,N=null):A=N.sibling;var D=p(m,N,T[I],C);if(D===null){N===null&&(N=A);break}e&&N&&D.alternate===null&&t(m,N),E=a(D,E,I),v===null?y=D:v.sibling=D,v=D,N=A}if(I===T.length)return n(m,N),Ne&&Tr(m,I),y;if(N===null){for(;II?(A=N,N=null):A=N.sibling;var M=p(m,N,D.value,C);if(M===null){N===null&&(N=A);break}e&&N&&M.alternate===null&&t(m,N),E=a(M,E,I),v===null?y=M:v.sibling=M,v=M,N=A}if(D.done)return n(m,N),Ne&&Tr(m,I),y;if(N===null){for(;!D.done;I++,D=T.next())D=d(m,D.value,C),D!==null&&(E=a(D,E,I),v===null?y=D:v.sibling=D,v=D);return Ne&&Tr(m,I),y}for(N=r(m,N);!D.done;I++,D=T.next())D=_(N,m,I,D.value,C),D!==null&&(e&&D.alternate!==null&&N.delete(D.key===null?I:D.key),E=a(D,E,I),v===null?y=D:v.sibling=D,v=D);return e&&N.forEach(function(w){return t(m,w)}),Ne&&Tr(m,I),y}function h(m,E,T,C){if(typeof T=="object"&&T!==null&&T.type===qr&&T.key===null&&(T=T.props.children),typeof T=="object"&&T!==null){switch(T.$$typeof){case Za:e:{for(var y=T.key,v=E;v!==null;){if(v.key===y){if(y=T.type,y===qr){if(v.tag===7){n(m,v.sibling),E=i(v,T.props.children),E.return=m,m=E;break e}}else if(v.elementType===y||typeof y=="object"&&y!==null&&y.$$typeof===kn&&xE(y)===v.type){n(m,v.sibling),E=i(v,T.props),E.ref=Ea(m,v,T),E.return=m,m=E;break e}n(m,v);break}else t(m,v);v=v.sibling}T.type===qr?(E=Or(T.props.children,m.mode,C,T.key),E.return=m,m=E):(C=ns(T.type,T.key,T.props,null,m.mode,C),C.ref=Ea(m,E,T),C.return=m,m=C)}return o(m);case Hr:e:{for(v=T.key;E!==null;){if(E.key===v)if(E.tag===4&&E.stateNode.containerInfo===T.containerInfo&&E.stateNode.implementation===T.implementation){n(m,E.sibling),E=i(E,T.children||[]),E.return=m,m=E;break e}else{n(m,E);break}else t(m,E);E=E.sibling}E=pu(T,m.mode,C),E.return=m,m=E}return o(m);case kn:return v=T._init,h(m,E,v(T._payload),C)}if(zi(T))return g(m,E,T,C);if(qi(T))return S(m,E,T,C);Uo(m,T)}return typeof T=="string"&&T!==""||typeof T=="number"?(T=""+T,E!==null&&E.tag===6?(n(m,E.sibling),E=i(E,T),E.return=m,m=E):(n(m,E),E=_u(T,m.mode,C),E.return=m,m=E),o(m)):n(m,E)}return h}var ci=ME(!0),LE=ME(!1),Sa={},cn=Vn(Sa),Ta=Vn(Sa),ha=Vn(Sa);function br(e){if(e===Sa)throw Error(F(174));return e}function Dc(e,t){switch(he(ha,t),he(Ta,e),he(cn,Sa),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Al(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Al(t,e)}Re(cn),he(cn,t)}function ui(){Re(cn),Re(Ta),Re(ha)}function PE(e){br(ha.current);var t=br(cn.current),n=Al(t,e.type);t!==n&&(he(Ta,e),he(cn,n))}function wc(e){Ta.current===e&&(Re(cn),Re(Ta))}var De=Vn(0);function Fo(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 xc=[];function Mc(){for(var e=0;en?n:4,e(!0);var r=Lc.transition;Lc.transition={};try{e(!1),t()}finally{Se=n,Lc.transition=r}}function JE(){return Pt().memoizedState}function VI(e,t,n){var r=Jn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},eS(e))tS(t,n);else if(n=RE(e,t,n,r),n!==null){var i=dt();Jt(n,e,r,i),nS(n,t,r)}}function zI(e,t,n){var r=Jn(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(eS(e))tS(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,Kt(s,o)){var l=t.interleaved;l===null?(i.next=i,Nc(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=RE(e,t,i,r),n!==null&&(i=dt(),Jt(n,e,r,i),nS(n,t,r))}}function eS(e){var t=e.alternate;return e===we||t!==null&&t===we}function tS(e,t){ba=Go=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function nS(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Yl(e,n)}}var Ho={readContext:Lt,useCallback:nt,useContext:nt,useEffect:nt,useImperativeHandle:nt,useInsertionEffect:nt,useLayoutEffect:nt,useMemo:nt,useReducer:nt,useRef:nt,useState:nt,useDebugValue:nt,useDeferredValue:nt,useTransition:nt,useMutableSource:nt,useSyncExternalStore:nt,useId:nt,unstable_isNewReconciler:!1},WI={readContext:Lt,useCallback:function(e,t){return un().memoizedState=[e,t===void 0?null:t],e},useContext:Lt,useEffect:VE,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Yo(4194308,4,KE.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Yo(4194308,4,e,t)},useInsertionEffect:function(e,t){return Yo(4,2,e,t)},useMemo:function(e,t){var n=un();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=un();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=VI.bind(null,we,e),[r.memoizedState,e]},useRef:function(e){var t=un();return e={current:e},t.memoizedState=e},useState:HE,useDebugValue:Yc,useDeferredValue:function(e){return un().memoizedState=e},useTransition:function(){var e=HE(!1),t=e[0];return e=qI.bind(null,e[1]),un().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=we,i=un();if(Ne){if(n===void 0)throw Error(F(407));n=n()}else{if(n=t(),ze===null)throw Error(F(349));Cr&30||FE(r,t,n)}i.memoizedState=n;var a={value:n,getSnapshot:t};return i.queue=a,VE(GE.bind(null,r,a,e),[e]),r.flags|=2048,Ra(9,BE.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=un(),t=ze.identifierPrefix;if(Ne){var n=Rn,r=vn;n=(r&~(1<<32-Wt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Ca++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[ln]=t,e[ga]=r,TS(e,t,!1,!1),t.stateNode=e;e:{switch(o=wl(n,r),n){case"dialog":Ce("cancel",e),Ce("close",e),i=r;break;case"iframe":case"object":case"embed":Ce("load",e),i=r;break;case"video":case"audio":for(i=0;i<_a.length;i++)Ce(_a[i],e);i=r;break;case"source":Ce("error",e),i=r;break;case"img":case"image":case"link":Ce("error",e),Ce("load",e),i=r;break;case"details":Ce("toggle",e),i=r;break;case"input":Jg(e,r),i=yl(e,r),Ce("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=Ae({},r,{value:void 0}),Ce("invalid",e);break;case"textarea":nf(e,r),i=Il(e,r),Ce("invalid",e);break;default:i=r}Dl(n,i),s=i;for(a in s)if(s.hasOwnProperty(a)){var l=s[a];a==="style"?cf(e,l):a==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&sf(e,l)):a==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&Wi(e,l):typeof l=="number"&&Wi(e,""+l):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(Hi.hasOwnProperty(a)?l!=null&&a==="onScroll"&&Ce("scroll",e):l!=null&&ml(e,a,l,o))}switch(n){case"input":Za(e),tf(e,r,!1);break;case"textarea":Za(e),af(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Un(r.value));break;case"select":e.multiple=!!r.multiple,a=r.value,a!=null?qr(e,!!r.multiple,a,!1):r.defaultValue!=null&&qr(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=Co)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return rt(t),null;case 6:if(e&&t.stateNode!=null)bS(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(F(166));if(n=hr(ha.current),hr(cn.current),Do(t)){if(r=t.stateNode,n=t.memoizedProps,r[ln]=t,(a=r.nodeValue!==n)&&(e=yt,e!==null))switch(e.tag){case 3:vo(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&vo(r.nodeValue,n,(e.mode&1)!==0)}a&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[ln]=t,t.stateNode=r}return rt(t),null;case 13:if(Re(De),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Ne&&Nt!==null&&t.mode&1&&!(t.flags&128))CE(),ai(),t.flags|=98560,a=!1;else if(a=Do(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(F(318));if(a=t.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(F(317));a[ln]=t}else ai(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;rt(t),a=!1}else Qt!==null&&(su(Qt),Qt=null),a=!0;if(!a)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||De.current&1?qe===0&&(qe=3):uu())),t.updateQueue!==null&&(t.flags|=4),rt(t),null);case 4:return ci(),Xc(e,t),e===null&&pa(t.stateNode.containerInfo),rt(t),null;case 10:return Rc(t.type._context),rt(t),null;case 17:return ft(t.type)&&yo(),rt(t),null;case 19:if(Re(De),a=t.memoizedState,a===null)return rt(t),null;if(r=(t.flags&128)!==0,o=a.rendering,o===null)if(r)ya(a,!1);else{if(qe!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=Uo(e),o!==null){for(t.flags|=128,ya(a,!1),r=o.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)a=n,e=r,a.flags&=14680066,o=a.alternate,o===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=o.childLanes,a.lanes=o.lanes,a.child=o.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=o.memoizedProps,a.memoizedState=o.memoizedState,a.updateQueue=o.updateQueue,a.type=o.type,e=o.dependencies,a.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return he(De,De.current&1|2),t.child}e=e.sibling}a.tail!==null&&Be()>pi&&(t.flags|=128,r=!0,ya(a,!1),t.lanes=4194304)}else{if(!r)if(e=Uo(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ya(a,!0),a.tail===null&&a.tailMode==="hidden"&&!o.alternate&&!Ne)return rt(t),null}else 2*Be()-a.renderingStartTime>pi&&n!==1073741824&&(t.flags|=128,r=!0,ya(a,!1),t.lanes=4194304);a.isBackwards?(o.sibling=t.child,t.child=o):(n=a.last,n!==null?n.sibling=o:t.child=o,a.last=o)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Be(),t.sibling=null,n=De.current,he(De,r?n&1|2:n&1),t):(rt(t),null);case 22:case 23:return cu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ot&1073741824&&(rt(t),t.subtreeFlags&6&&(t.flags|=8192)):rt(t),null;case 24:return null;case 25:return null}throw Error(F(156,t.tag))}function eA(e,t){switch(Sc(t),t.tag){case 1:return ft(t.type)&&yo(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ci(),Re(gt),Re(tt),Mc(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return wc(t),null;case 13:if(Re(De),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(F(340));ai()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Re(De),null;case 4:return ci(),null;case 10:return Rc(t.type._context),null;case 22:case 23:return cu(),null;case 24:return null;default:return null}}var Vo=!1,it=!1,tA=typeof WeakSet=="function"?WeakSet:Set,X=null;function di(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Me(e,t,r)}else n.current=null}function jc(e,t,n){try{n()}catch(r){Me(e,t,r)}}var vS=!1;function nA(e,t){if(cc=uo,e=Jf(),tc(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch{n=null;break e}var o=0,s=-1,l=-1,c=0,u=0,d=e,p=null;t:for(;;){for(var _;d!==n||i!==0&&d.nodeType!==3||(s=o+i),d!==a||r!==0&&d.nodeType!==3||(l=o+r),d.nodeType===3&&(o+=d.nodeValue.length),(_=d.firstChild)!==null;)p=d,d=_;for(;;){if(d===e)break t;if(p===n&&++c===i&&(s=o),p===a&&++u===r&&(l=o),(_=d.nextSibling)!==null)break;d=p,p=d.parentNode}d=_}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(uc={focusedElem:e,selectionRange:n},uo=!1,X=t;X!==null;)if(t=X,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,X=e;else for(;X!==null;){t=X;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var S=g.memoizedProps,h=g.memoizedState,m=t.stateNode,E=m.getSnapshotBeforeUpdate(t.elementType===t.type?S:Xt(t.type,S),h);m.__reactInternalSnapshotBeforeUpdate=E}break;case 3:var T=t.stateNode.containerInfo;T.nodeType===1?T.textContent="":T.nodeType===9&&T.documentElement&&T.removeChild(T.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(F(163))}}catch(v){Me(t,t.return,v)}if(e=t.sibling,e!==null){e.return=t.return,X=e;break}X=t.return}return g=vS,vS=!1,g}function Na(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var a=i.destroy;i.destroy=void 0,a!==void 0&&jc(t,n,a)}i=i.next}while(i!==r)}}function zo(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Zc(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 CS(e){var t=e.alternate;t!==null&&(e.alternate=null,CS(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[ln],delete t[ga],delete t[mc],delete t[FI],delete t[BI])),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 RS(e){return e.tag===5||e.tag===3||e.tag===4}function yS(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||RS(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 Jc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Co));else if(r!==4&&(e=e.child,e!==null))for(Jc(e,t,n),e=e.sibling;e!==null;)Jc(e,t,n),e=e.sibling}function eu(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(eu(e,t,n),e=e.sibling;e!==null;)eu(e,t,n),e=e.sibling}var Xe=null,jt=!1;function Xn(e,t,n){for(n=n.child;n!==null;)NS(e,t,n),n=n.sibling}function NS(e,t,n){if(sn&&typeof sn.onCommitFiberUnmount=="function")try{sn.onCommitFiberUnmount(io,n)}catch{}switch(n.tag){case 5:it||di(n,t);case 6:var r=Xe,i=jt;Xe=null,Xn(e,t,n),Xe=r,jt=i,Xe!==null&&(jt?(e=Xe,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Xe.removeChild(n.stateNode));break;case 18:Xe!==null&&(jt?(e=Xe,n=n.stateNode,e.nodeType===8?pc(e.parentNode,n):e.nodeType===1&&pc(e,n),ia(e)):pc(Xe,n.stateNode));break;case 4:r=Xe,i=jt,Xe=n.stateNode.containerInfo,jt=!0,Xn(e,t,n),Xe=r,jt=i;break;case 0:case 11:case 14:case 15:if(!it&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var a=i,o=a.destroy;a=a.tag,o!==void 0&&(a&2||a&4)&&jc(n,t,o),i=i.next}while(i!==r)}Xn(e,t,n);break;case 1:if(!it&&(di(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Me(n,t,s)}Xn(e,t,n);break;case 21:Xn(e,t,n);break;case 22:n.mode&1?(it=(r=it)||n.memoizedState!==null,Xn(e,t,n),it=r):Xn(e,t,n);break;default:Xn(e,t,n)}}function OS(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new tA),t.forEach(function(r){var i=dA.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Zt(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=o),r&=~a}if(r=i,r=Be()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*iA(r/1960))-r,10e?16:e,Zn===null)var r=!1;else{if(e=Zn,Zn=null,jo=0,fe&6)throw Error(F(331));var i=fe;for(fe|=4,X=e.current;X!==null;){var a=X,o=a.child;if(X.flags&16){var s=a.deletions;if(s!==null){for(var l=0;lBe()-ru?Rr(e,0):nu|=n),Tt(e,t)}function GS(e,t){t===0&&(e.mode&1?(t=oo,oo<<=1,!(oo&130023424)&&(oo=4194304)):t=1);var n=dt();e=yn(e,t),e!==null&&(Ji(e,t,n),Tt(e,n))}function uA(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),GS(e,n)}function dA(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(F(314))}r!==null&&r.delete(t),GS(e,n)}var YS;YS=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||gt.current)Et=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Et=!1,ZI(e,t,n);Et=!!(e.flags&131072)}else Et=!1,Ne&&t.flags&1048576&&TE(t,Ao,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;qo(e,t),e=t.pendingProps;var i=ni(t,tt.current);si(t,n),i=kc(null,t,r,e,i,n);var a=Uc();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ft(r)?(a=!0,No(t)):a=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Oc(t),i.updater=Po,t.stateNode=i,i._reactInternals=t,Ac(t,r,e,n),t=Vc(null,t,r,!0,a,n)):(t.tag=0,Ne&&a&&Ec(t),ut(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(qo(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=pA(r),e=Xt(r,e),i){case 0:t=qc(null,t,r,e,n);break e;case 1:t=pS(null,t,r,e,n);break e;case 11:t=lS(null,t,r,e,n);break e;case 14:t=cS(null,t,r,Xt(r.type,e),n);break e}throw Error(F(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Xt(r,i),qc(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Xt(r,i),pS(e,t,r,i,n);case 3:e:{if(mS(t),e===null)throw Error(F(387));r=t.pendingProps,a=t.memoizedState,i=a.element,yE(e,t),Lo(t,r,null,n);var o=t.memoizedState;if(r=o.element,a.isDehydrated)if(a={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){i=ui(Error(F(423)),t),t=gS(e,t,r,n,i);break e}else if(r!==i){i=ui(Error(F(424)),t),t=gS(e,t,r,n,i);break e}else for(Nt=qn(t.stateNode.containerInfo.firstChild),yt=t,Ne=!0,Qt=null,n=LE(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(ai(),r===i){t=On(e,t,n);break e}ut(e,t,r,n)}t=t.child}return t;case 5:return PE(t),e===null&&hc(t),r=t.type,i=t.pendingProps,a=e!==null?e.memoizedProps:null,o=i.children,dc(r,i)?o=null:a!==null&&dc(r,a)&&(t.flags|=32),_S(e,t),ut(e,t,o,n),t.child;case 6:return e===null&&hc(t),null;case 13:return fS(e,t,n);case 4:return Dc(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=li(t,null,r,n):ut(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Xt(r,i),lS(e,t,r,i,n);case 7:return ut(e,t,t.pendingProps,n),t.child;case 8:return ut(e,t,t.pendingProps.children,n),t.child;case 12:return ut(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,a=t.memoizedProps,o=i.value,he(wo,r._currentValue),r._currentValue=o,a!==null)if(Kt(a.value,o)){if(a.children===i.children&&!gt.current){t=On(e,t,n);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var s=a.dependencies;if(s!==null){o=a.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(a.tag===1){l=Nn(-1,n&-n),l.tag=2;var c=a.updateQueue;if(c!==null){c=c.shared;var u=c.pending;u===null?l.next=l:(l.next=u.next,u.next=l),c.pending=l}}a.lanes|=n,l=a.alternate,l!==null&&(l.lanes|=n),yc(a.return,n,t),s.lanes|=n;break}l=l.next}}else if(a.tag===10)o=a.type===t.type?null:a.child;else if(a.tag===18){if(o=a.return,o===null)throw Error(F(341));o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),yc(o,n,t),o=a.sibling}else o=a.child;if(o!==null)o.return=a;else for(o=a;o!==null;){if(o===t){o=null;break}if(a=o.sibling,a!==null){a.return=o.return,o=a;break}o=o.return}a=o}ut(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,si(t,n),i=Lt(i),r=r(i),t.flags|=1,ut(e,t,r,n),t.child;case 14:return r=t.type,i=Xt(r,t.pendingProps),i=Xt(r.type,i),cS(e,t,r,i,n);case 15:return uS(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Xt(r,i),qo(e,t),t.tag=1,ft(r)?(e=!0,No(t)):e=!1,si(t,n),DE(t,r,i),Ac(t,r,i,n),Vc(null,t,r,!0,e,n);case 19:return SS(e,t,n);case 22:return dS(e,t,n)}throw Error(F(156,t.tag))};function $S(e,t){return hf(e,t)}function _A(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ut(e,t,n,r){return new _A(e,t,n,r)}function du(e){return e=e.prototype,!(!e||!e.isReactComponent)}function pA(e){if(typeof e=="function")return du(e)?1:0;if(e!=null){if(e=e.$$typeof,e===El)return 11;if(e===hl)return 14}return 2}function tr(e,t){var n=e.alternate;return n===null?(n=Ut(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 ts(e,t,n,r,i,a){var o=2;if(r=e,typeof e=="function")du(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Hr:return Nr(n.children,i,a,t);case gl:o=8,i|=8;break;case fl:return e=Ut(12,n,t,i|2),e.elementType=fl,e.lanes=a,e;case Sl:return e=Ut(13,n,t,i),e.elementType=Sl,e.lanes=a,e;case Tl:return e=Ut(19,n,t,i),e.elementType=Tl,e.lanes=a,e;case Qg:return ns(n,i,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Wg:o=10;break e;case Kg:o=9;break e;case El:o=11;break e;case hl:o=14;break e;case kn:o=16,r=null;break e}throw Error(F(130,e==null?e:typeof e,""))}return t=Ut(o,n,t,i),t.elementType=e,t.type=r,t.lanes=a,t}function Nr(e,t,n,r){return e=Ut(7,e,r,t),e.lanes=n,e}function ns(e,t,n,r){return e=Ut(22,e,r,t),e.elementType=Qg,e.lanes=n,e.stateNode={isHidden:!1},e}function _u(e,t,n){return e=Ut(6,e,null,t),e.lanes=n,e}function pu(e,t,n){return t=Ut(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function mA(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Gl(0),this.expirationTimes=Gl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Gl(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function mu(e,t,n,r,i,a,o,s,l){return e=new mA(e,t,n,s,l),t===1?(t=1,a===!0&&(t|=8)):t=0,a=Ut(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Oc(a),e}function gA(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(KS)}catch(e){console.error(e)}}KS(),Gg.exports=vt;var Or=Gg.exports;const hA=Yi(Or);var QS=Or;ul.createRoot=QS.createRoot,ul.hydrateRoot=QS.hydrateRoot;var XS={exports:{}};/*! +`+a.stack}return{value:e,source:t,stack:i,digest:null}}function $c(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Hc(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var XI=typeof WeakMap=="function"?WeakMap:Map;function rS(e,t,n){n=Nn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Xo||(Xo=!0,iu=r),Hc(e,t)},n}function iS(e,t,n){n=Nn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Hc(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(n.callback=function(){Hc(e,t),typeof r!="function"&&(jn===null?jn=new Set([this]):jn.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function aS(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new XI;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=uA.bind(null,e,t,n),t.then(e,e))}function oS(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 sS(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Nn(-1,1),t.tag=2,Qn(n,t,1))),n.lanes|=1),e)}var jI=hn.ReactCurrentOwner,Et=!1;function ut(e,t,n,r){t.child=e===null?LE(t,null,n,r):ci(t,e.child,n,r)}function lS(e,t,n,r,i){n=n.render;var a=t.ref;return li(t,i),r=kc(e,t,n,r,a,i),n=Uc(),e!==null&&!Et?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,On(e,t,i)):(Ne&&n&&Ec(t),t.flags|=1,ut(e,t,r,i),t.child)}function cS(e,t,n,r,i){if(e===null){var a=n.type;return typeof a=="function"&&!du(a)&&a.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=a,uS(e,t,a,r,i)):(e=ns(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!(e.lanes&i)){var o=a.memoizedProps;if(n=n.compare,n=n!==null?n:ua,n(o,r)&&e.ref===t.ref)return On(e,t,i)}return t.flags|=1,e=tr(a,r),e.ref=t.ref,e.return=t,t.child=e}function uS(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(ua(a,r)&&e.ref===t.ref)if(Et=!1,t.pendingProps=r=a,(e.lanes&i)!==0)e.flags&131072&&(Et=!0);else return t.lanes=e.lanes,On(e,t,i)}return qc(e,t,n,r,i)}function dS(e,t,n){var r=t.pendingProps,i=r.children,a=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},he(pi,Ot),Ot|=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,he(pi,Ot),Ot|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=a!==null?a.baseLanes:n,he(pi,Ot),Ot|=r}else a!==null?(r=a.baseLanes|n,t.memoizedState=null):r=n,he(pi,Ot),Ot|=r;return ut(e,t,i,n),t.child}function _S(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function qc(e,t,n,r,i){var a=ft(n)?Er:tt.current;return a=ri(t,a),li(t,i),n=kc(e,t,n,r,a,i),r=Uc(),e!==null&&!Et?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,On(e,t,i)):(Ne&&r&&Ec(t),t.flags|=1,ut(e,t,n,i),t.child)}function pS(e,t,n,r,i){if(ft(n)){var a=!0;Oo(t)}else a=!1;if(li(t,i),t.stateNode===null)Vo(e,t),DE(t,n,r),Ac(t,n,r,i),r=!0;else if(e===null){var o=t.stateNode,s=t.memoizedProps;o.props=s;var l=o.context,c=n.contextType;typeof c=="object"&&c!==null?c=Lt(c):(c=ft(n)?Er:tt.current,c=ri(t,c));var u=n.getDerivedStateFromProps,d=typeof u=="function"||typeof o.getSnapshotBeforeUpdate=="function";d||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(s!==r||l!==c)&&wE(t,o,r,c),Kn=!1;var p=t.memoizedState;o.state=p,Po(t,r,o,i),l=t.memoizedState,s!==r||p!==l||gt.current||Kn?(typeof u=="function"&&(Ic(t,n,u,r),l=t.memoizedState),(s=Kn||AE(t,n,s,r,p,l,c))?(d||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),o.props=r,o.state=l,o.context=c,r=s):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,yE(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:Xt(t.type,s),o.props=c,d=t.pendingProps,p=o.context,l=n.contextType,typeof l=="object"&&l!==null?l=Lt(l):(l=ft(n)?Er:tt.current,l=ri(t,l));var _=n.getDerivedStateFromProps;(u=typeof _=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(s!==d||p!==l)&&wE(t,o,r,l),Kn=!1,p=t.memoizedState,o.state=p,Po(t,r,o,i);var g=t.memoizedState;s!==d||p!==g||gt.current||Kn?(typeof _=="function"&&(Ic(t,n,_,r),g=t.memoizedState),(c=Kn||AE(t,n,c,r,p,g,l)||!1)?(u||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,g,l),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,g,l)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=g),o.props=r,o.state=g,o.context=l,r=c):(typeof o.componentDidUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return Vc(e,t,n,r,a,i)}function Vc(e,t,n,r,i,a){_S(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return i&&EE(t,n,!1),On(e,t,a);r=t.stateNode,jI.current=t;var s=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=ci(t,e.child,null,a),t.child=ci(t,null,s,a)):ut(e,t,s,a),t.memoizedState=r.state,i&&EE(t,n,!0),t.child}function mS(e){var t=e.stateNode;t.pendingContext?gE(e,t.pendingContext,t.pendingContext!==t.context):t.context&&gE(e,t.context,!1),Dc(e,t.containerInfo)}function gS(e,t,n,r,i){return oi(),bc(i),t.flags|=256,ut(e,t,n,r),t.child}var zc={dehydrated:null,treeContext:null,retryLane:0};function Wc(e){return{baseLanes:e,cachePool:null,transitions:null}}function fS(e,t,n){var r=t.pendingProps,i=De.current,a=!1,o=(t.flags&128)!==0,s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:(i&2)!==0),s?(a=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),he(De,i&1),e===null)return hc(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):(o=r.children,e=r.fallback,a?(r=t.mode,a=t.child,o={mode:"hidden",children:o},!(r&1)&&a!==null?(a.childLanes=0,a.pendingProps=o):a=rs(o,r,0,null),e=Or(e,r,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=Wc(n),t.memoizedState=zc,e):Kc(t,o));if(i=e.memoizedState,i!==null&&(s=i.dehydrated,s!==null))return ZI(e,t,o,r,s,i,n);if(a){a=r.fallback,o=t.mode,i=e.child,s=i.sibling;var l={mode:"hidden",children:r.children};return!(o&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=tr(i,l),r.subtreeFlags=i.subtreeFlags&14680064),s!==null?a=tr(s,a):(a=Or(a,o,n,null),a.flags|=2),a.return=t,r.return=t,r.sibling=a,t.child=r,r=a,a=t.child,o=e.child.memoizedState,o=o===null?Wc(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},a.memoizedState=o,a.childLanes=e.childLanes&~n,t.memoizedState=zc,r}return a=e.child,e=a.sibling,r=tr(a,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Kc(e,t){return t=rs({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function qo(e,t,n,r){return r!==null&&bc(r),ci(t,e.child,null,n),e=Kc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function ZI(e,t,n,r,i,a,o){if(n)return t.flags&256?(t.flags&=-257,r=$c(Error(F(422))),qo(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(a=r.fallback,i=t.mode,r=rs({mode:"visible",children:r.children},i,0,null),a=Or(a,i,o,null),a.flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,t.mode&1&&ci(t,e.child,null,o),t.child.memoizedState=Wc(o),t.memoizedState=zc,a);if(!(t.mode&1))return qo(e,t,o,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var s=r.dgst;return r=s,a=Error(F(419)),r=$c(a,r,void 0),qo(e,t,o,r)}if(s=(o&e.childLanes)!==0,Et||s){if(r=ze,r!==null){switch(o&-o){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|o)?0:i,i!==0&&i!==a.retryLane&&(a.retryLane=i,yn(e,i),Jt(r,e,i,-1))}return uu(),r=$c(Error(F(421))),qo(e,t,o,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=dA.bind(null,e),i._reactRetry=t,null):(e=a.treeContext,Nt=qn(i.nextSibling),yt=t,Ne=!0,Qt=null,e!==null&&(xt[Mt++]=vn,xt[Mt++]=Rn,xt[Mt++]=Sr,vn=e.id,Rn=e.overflow,Sr=t),t=Kc(t,r.children),t.flags|=4096,t)}function ES(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),yc(e.return,t,n)}function Qc(e,t,n,r,i){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i)}function SS(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;if(ut(e,t,r.children,n),r=De.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&ES(e,n,t);else if(e.tag===19)ES(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(he(De,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&Fo(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Qc(t,!1,i,n,a);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Fo(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Qc(t,!0,n,null,a);break;case"together":Qc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Vo(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function On(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),vr|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(F(153));if(t.child!==null){for(e=t.child,n=tr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=tr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function JI(e,t,n){switch(t.tag){case 3:mS(t),oi();break;case 5:PE(t);break;case 1:ft(t.type)&&Oo(t);break;case 4:Dc(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;he(xo,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(he(De,De.current&1),t.flags|=128,null):n&t.child.childLanes?fS(e,t,n):(he(De,De.current&1),e=On(e,t,n),e!==null?e.sibling:null);he(De,De.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return SS(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),he(De,De.current),r)break;return null;case 22:case 23:return t.lanes=0,dS(e,t,n)}return On(e,t,n)}var TS,Xc,hS,bS;TS=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}},Xc=function(){},hS=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,br(cn.current);var a=null;switch(n){case"input":i=yl(e,i),r=yl(e,r),a=[];break;case"select":i=Ae({},i,{value:void 0}),r=Ae({},r,{value:void 0}),a=[];break;case"textarea":i=Il(e,i),r=Il(e,r),a=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Ro)}Dl(n,r);var o;n=null;for(c in i)if(!r.hasOwnProperty(c)&&i.hasOwnProperty(c)&&i[c]!=null)if(c==="style"){var s=i[c];for(o in s)s.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(Hi.hasOwnProperty(c)?a||(a=[]):(a=a||[]).push(c,null));for(c in r){var l=r[c];if(s=i!=null?i[c]:void 0,r.hasOwnProperty(c)&&l!==s&&(l!=null||s!=null))if(c==="style")if(s){for(o in s)!s.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in l)l.hasOwnProperty(o)&&s[o]!==l[o]&&(n||(n={}),n[o]=l[o])}else n||(a||(a=[]),a.push(c,n)),n=l;else c==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,s=s?s.__html:void 0,l!=null&&s!==l&&(a=a||[]).push(c,l)):c==="children"?typeof l!="string"&&typeof l!="number"||(a=a||[]).push(c,""+l):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(Hi.hasOwnProperty(c)?(l!=null&&c==="onScroll"&&ve("scroll",e),a||s===l||(a=[])):(a=a||[]).push(c,l))}n&&(a=a||[]).push("style",n);var c=a;(t.updateQueue=c)&&(t.flags|=4)}},bS=function(e,t,n,r){n!==r&&(t.flags|=4)};function ya(e,t){if(!Ne)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function rt(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function eA(e,t,n){var r=t.pendingProps;switch(Sc(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return rt(t),null;case 1:return ft(t.type)&&No(),rt(t),null;case 3:return r=t.stateNode,ui(),Re(gt),Re(tt),Mc(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(wo(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Qt!==null&&(su(Qt),Qt=null))),Xc(e,t),rt(t),null;case 5:wc(t);var i=br(ha.current);if(n=t.type,e!==null&&t.stateNode!=null)hS(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(F(166));return rt(t),null}if(e=br(cn.current),wo(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[ln]=t,r[ga]=a,e=(t.mode&1)!==0,n){case"dialog":ve("cancel",r),ve("close",r);break;case"iframe":case"object":case"embed":ve("load",r);break;case"video":case"audio":for(i=0;i<_a.length;i++)ve(_a[i],r);break;case"source":ve("error",r);break;case"img":case"image":case"link":ve("error",r),ve("load",r);break;case"details":ve("toggle",r);break;case"input":Jg(r,a),ve("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},ve("invalid",r);break;case"textarea":nf(r,a),ve("invalid",r)}Dl(n,a),i=null;for(var o in a)if(a.hasOwnProperty(o)){var s=a[o];o==="children"?typeof s=="string"?r.textContent!==s&&(a.suppressHydrationWarning!==!0&&vo(r.textContent,s,e),i=["children",s]):typeof s=="number"&&r.textContent!==""+s&&(a.suppressHydrationWarning!==!0&&vo(r.textContent,s,e),i=["children",""+s]):Hi.hasOwnProperty(o)&&s!=null&&o==="onScroll"&&ve("scroll",r)}switch(n){case"input":Ja(r),tf(r,a,!0);break;case"textarea":Ja(r),af(r);break;case"select":case"option":break;default:typeof a.onClick=="function"&&(r.onclick=Ro)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{o=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=of(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=o.createElement("div"),e.innerHTML=" - - - + + + -
+
- + + \ No newline at end of file diff --git a/self_hosting_machinery/webgui/static/index.html b/self_hosting_machinery/webgui/static/index.html index 572b5b62..ba209d5e 100644 --- a/self_hosting_machinery/webgui/static/index.html +++ b/self_hosting_machinery/webgui/static/index.html @@ -11,6 +11,7 @@ + Refact Self Hosting @@ -65,6 +66,11 @@ {{/unless}} {{/each}} + {{#unless hamburger}} + + {{/unless}} @@ -115,8 +126,6 @@
-
-
diff --git a/self_hosting_machinery/webgui/static/tab-chat.html b/self_hosting_machinery/webgui/static/tab-chat.html deleted file mode 100644 index 46f1b962..00000000 --- a/self_hosting_machinery/webgui/static/tab-chat.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - -
- - - \ No newline at end of file diff --git a/self_hosting_machinery/webgui/static/tab-chat.js b/self_hosting_machinery/webgui/static/tab-chat.js deleted file mode 100644 index c917970f..00000000 --- a/self_hosting_machinery/webgui/static/tab-chat.js +++ /dev/null @@ -1,23 +0,0 @@ -export async function init() { - const elem = document.querySelector("#chat"); - const flex = document.createElement("div"); - flex.style.display = "flex"; - const iframe = document.createElement("iframe"); - iframe.src = "tab-chat.html"; - iframe.className = "container-lg pane"; - // TODO: calculate hight for multiple displays - iframe.style.height = "100%"; - iframe.style.minHeight = "470px"; - flex.appendChild(iframe); - elem.appendChild(flex); -} - -export function tab_switched_here() { - -} - -export function tab_switched_away() { - -} - -export function tab_update_each_couple_of_seconds() {}