@loghead/core 0.1.33 → 0.1.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,164 +0,0 @@
1
- (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const o of l)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(l){const o={};return l.integrity&&(o.integrity=l.integrity),l.referrerPolicy&&(o.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?o.credentials="include":l.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(l){if(l.ep)return;l.ep=!0;const o=n(l);fetch(l.href,o)}})();function Qc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ns={exports:{}},hl={},Cs={exports:{}},D={};/**
2
- * @license React
3
- * react.production.min.js
4
- *
5
- * Copyright (c) Facebook, Inc. and its affiliates.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */var cr=Symbol.for("react.element"),Kc=Symbol.for("react.portal"),Gc=Symbol.for("react.fragment"),Yc=Symbol.for("react.strict_mode"),Xc=Symbol.for("react.profiler"),Zc=Symbol.for("react.provider"),Jc=Symbol.for("react.context"),qc=Symbol.for("react.forward_ref"),bc=Symbol.for("react.suspense"),ed=Symbol.for("react.memo"),td=Symbol.for("react.lazy"),ou=Symbol.iterator;function nd(e){return e===null||typeof e!="object"?null:(e=ou&&e[ou]||e["@@iterator"],typeof e=="function"?e:null)}var Es={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},js=Object.assign,zs={};function kn(e,t,n){this.props=e,this.context=t,this.refs=zs,this.updater=n||Es}kn.prototype.isReactComponent={};kn.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")};kn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function _s(){}_s.prototype=kn.prototype;function ri(e,t,n){this.props=e,this.context=t,this.refs=zs,this.updater=n||Es}var li=ri.prototype=new _s;li.constructor=ri;js(li,kn.prototype);li.isPureReactComponent=!0;var iu=Array.isArray,Ps=Object.prototype.hasOwnProperty,oi={current:null},Ls={key:!0,ref:!0,__self:!0,__source:!0};function Ts(e,t,n){var r,l={},o=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(o=""+t.key),t)Ps.call(t,r)&&!Ls.hasOwnProperty(r)&&(l[r]=t[r]);var u=arguments.length-2;if(u===1)l.children=n;else if(1<u){for(var s=Array(u),d=0;d<u;d++)s[d]=arguments[d+2];l.children=s}if(e&&e.defaultProps)for(r in u=e.defaultProps,u)l[r]===void 0&&(l[r]=u[r]);return{$$typeof:cr,type:e,key:o,ref:i,props:l,_owner:oi.current}}function rd(e,t){return{$$typeof:cr,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function ii(e){return typeof e=="object"&&e!==null&&e.$$typeof===cr}function ld(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var uu=/\/+/g;function Ml(e,t){return typeof e=="object"&&e!==null&&e.key!=null?ld(""+e.key):t.toString(36)}function Rr(e,t,n,r,l){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case cr:case Kc:i=!0}}if(i)return i=e,l=l(i),e=r===""?"."+Ml(i,0):r,iu(l)?(n="",e!=null&&(n=e.replace(uu,"$&/")+"/"),Rr(l,t,n,"",function(d){return d})):l!=null&&(ii(l)&&(l=rd(l,n+(!l.key||i&&i.key===l.key?"":(""+l.key).replace(uu,"$&/")+"/")+e)),t.push(l)),1;if(i=0,r=r===""?".":r+":",iu(e))for(var u=0;u<e.length;u++){o=e[u];var s=r+Ml(o,u);i+=Rr(o,t,n,s,l)}else if(s=nd(e),typeof s=="function")for(e=s.call(e),u=0;!(o=e.next()).done;)o=o.value,s=r+Ml(o,u++),i+=Rr(o,t,n,s,l);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return i}function hr(e,t,n){if(e==null)return e;var r=[],l=0;return Rr(e,r,"","",function(o){return t.call(n,o,l++)}),r}function od(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var fe={current:null},Dr={transition:null},id={ReactCurrentDispatcher:fe,ReactCurrentBatchConfig:Dr,ReactCurrentOwner:oi};function Os(){throw Error("act(...) is not supported in production builds of React.")}D.Children={map:hr,forEach:function(e,t,n){hr(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return hr(e,function(){t++}),t},toArray:function(e){return hr(e,function(t){return t})||[]},only:function(e){if(!ii(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};D.Component=kn;D.Fragment=Gc;D.Profiler=Xc;D.PureComponent=ri;D.StrictMode=Yc;D.Suspense=bc;D.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=id;D.act=Os;D.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=js({},e.props),l=e.key,o=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,i=oi.current),t.key!==void 0&&(l=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(s in t)Ps.call(t,s)&&!Ls.hasOwnProperty(s)&&(r[s]=t[s]===void 0&&u!==void 0?u[s]:t[s])}var s=arguments.length-2;if(s===1)r.children=n;else if(1<s){u=Array(s);for(var d=0;d<s;d++)u[d]=arguments[d+2];r.children=u}return{$$typeof:cr,type:e.type,key:l,ref:o,props:r,_owner:i}};D.createContext=function(e){return e={$$typeof:Jc,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Zc,_context:e},e.Consumer=e};D.createElement=Ts;D.createFactory=function(e){var t=Ts.bind(null,e);return t.type=e,t};D.createRef=function(){return{current:null}};D.forwardRef=function(e){return{$$typeof:qc,render:e}};D.isValidElement=ii;D.lazy=function(e){return{$$typeof:td,_payload:{_status:-1,_result:e},_init:od}};D.memo=function(e,t){return{$$typeof:ed,type:e,compare:t===void 0?null:t}};D.startTransition=function(e){var t=Dr.transition;Dr.transition={};try{e()}finally{Dr.transition=t}};D.unstable_act=Os;D.useCallback=function(e,t){return fe.current.useCallback(e,t)};D.useContext=function(e){return fe.current.useContext(e)};D.useDebugValue=function(){};D.useDeferredValue=function(e){return fe.current.useDeferredValue(e)};D.useEffect=function(e,t){return fe.current.useEffect(e,t)};D.useId=function(){return fe.current.useId()};D.useImperativeHandle=function(e,t,n){return fe.current.useImperativeHandle(e,t,n)};D.useInsertionEffect=function(e,t){return fe.current.useInsertionEffect(e,t)};D.useLayoutEffect=function(e,t){return fe.current.useLayoutEffect(e,t)};D.useMemo=function(e,t){return fe.current.useMemo(e,t)};D.useReducer=function(e,t,n){return fe.current.useReducer(e,t,n)};D.useRef=function(e){return fe.current.useRef(e)};D.useState=function(e){return fe.current.useState(e)};D.useSyncExternalStore=function(e,t,n){return fe.current.useSyncExternalStore(e,t,n)};D.useTransition=function(){return fe.current.useTransition()};D.version="18.3.1";Cs.exports=D;var L=Cs.exports;const Rs=Qc(L);/**
10
- * @license React
11
- * react-jsx-runtime.production.min.js
12
- *
13
- * Copyright (c) Facebook, Inc. and its affiliates.
14
- *
15
- * This source code is licensed under the MIT license found in the
16
- * LICENSE file in the root directory of this source tree.
17
- */var ud=L,sd=Symbol.for("react.element"),ad=Symbol.for("react.fragment"),cd=Object.prototype.hasOwnProperty,dd=ud.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,fd={key:!0,ref:!0,__self:!0,__source:!0};function Ds(e,t,n){var r,l={},o=null,i=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(i=t.ref);for(r in t)cd.call(t,r)&&!fd.hasOwnProperty(r)&&(l[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)l[r]===void 0&&(l[r]=t[r]);return{$$typeof:sd,type:e,key:o,ref:i,props:l,_owner:dd.current}}hl.Fragment=ad;hl.jsx=Ds;hl.jsxs=Ds;Ns.exports=hl;var c=Ns.exports,ao={},Ms={exports:{}},Ce={},Is={exports:{}},Fs={};/**
18
- * @license React
19
- * scheduler.production.min.js
20
- *
21
- * Copyright (c) Facebook, Inc. and its affiliates.
22
- *
23
- * This source code is licensed under the MIT license found in the
24
- * LICENSE file in the root directory of this source tree.
25
- */(function(e){function t(E,P){var T=E.length;E.push(P);e:for(;0<T;){var B=T-1>>>1,X=E[B];if(0<l(X,P))E[B]=P,E[T]=X,T=B;else break e}}function n(E){return E.length===0?null:E[0]}function r(E){if(E.length===0)return null;var P=E[0],T=E.pop();if(T!==P){E[0]=T;e:for(var B=0,X=E.length,Ve=X>>>1;B<Ve;){var je=2*(B+1)-1,Kt=E[je],Be=je+1,Gt=E[Be];if(0>l(Kt,T))Be<X&&0>l(Gt,Kt)?(E[B]=Gt,E[Be]=T,B=Be):(E[B]=Kt,E[je]=T,B=je);else if(Be<X&&0>l(Gt,T))E[B]=Gt,E[Be]=T,B=Be;else break e}}return P}function l(E,P){var T=E.sortIndex-P.sortIndex;return T!==0?T:E.id-P.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,u=i.now();e.unstable_now=function(){return i.now()-u}}var s=[],d=[],v=1,h=null,m=3,x=!1,k=!1,S=!1,F=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,a=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(E){for(var P=n(d);P!==null;){if(P.callback===null)r(d);else if(P.startTime<=E)r(d),P.sortIndex=P.expirationTime,t(s,P);else break;P=n(d)}}function y(E){if(S=!1,p(E),!k)if(n(s)!==null)k=!0,Qt(N);else{var P=n(d);P!==null&&Ye(y,P.startTime-E)}}function N(E,P){k=!1,S&&(S=!1,f(C),C=-1),x=!0;var T=m;try{for(p(P),h=n(s);h!==null&&(!(h.expirationTime>P)||E&&!xe());){var B=h.callback;if(typeof B=="function"){h.callback=null,m=h.priorityLevel;var X=B(h.expirationTime<=P);P=e.unstable_now(),typeof X=="function"?h.callback=X:h===n(s)&&r(s),p(P)}else r(s);h=n(s)}if(h!==null)var Ve=!0;else{var je=n(d);je!==null&&Ye(y,je.startTime-P),Ve=!1}return Ve}finally{h=null,m=T,x=!1}}var _=!1,z=null,C=-1,V=5,R=-1;function xe(){return!(e.unstable_now()-R<V)}function _t(){if(z!==null){var E=e.unstable_now();R=E;var P=!0;try{P=z(!0,E)}finally{P?it():(_=!1,z=null)}}else _=!1}var it;if(typeof a=="function")it=function(){a(_t)};else if(typeof MessageChannel<"u"){var Cn=new MessageChannel,Pt=Cn.port2;Cn.port1.onmessage=_t,it=function(){Pt.postMessage(null)}}else it=function(){F(_t,0)};function Qt(E){z=E,_||(_=!0,it())}function Ye(E,P){C=F(function(){E(e.unstable_now())},P)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(E){E.callback=null},e.unstable_continueExecution=function(){k||x||(k=!0,Qt(N))},e.unstable_forceFrameRate=function(E){0>E||125<E?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):V=0<E?Math.floor(1e3/E):5},e.unstable_getCurrentPriorityLevel=function(){return m},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(E){switch(m){case 1:case 2:case 3:var P=3;break;default:P=m}var T=m;m=P;try{return E()}finally{m=T}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(E,P){switch(E){case 1:case 2:case 3:case 4:case 5:break;default:E=3}var T=m;m=E;try{return P()}finally{m=T}},e.unstable_scheduleCallback=function(E,P,T){var B=e.unstable_now();switch(typeof T=="object"&&T!==null?(T=T.delay,T=typeof T=="number"&&0<T?B+T:B):T=B,E){case 1:var X=-1;break;case 2:X=250;break;case 5:X=1073741823;break;case 4:X=1e4;break;default:X=5e3}return X=T+X,E={id:v++,callback:P,priorityLevel:E,startTime:T,expirationTime:X,sortIndex:-1},T>B?(E.sortIndex=T,t(d,E),n(s)===null&&E===n(d)&&(S?(f(C),C=-1):S=!0,Ye(y,T-B))):(E.sortIndex=X,t(s,E),k||x||(k=!0,Qt(N))),E},e.unstable_shouldYield=xe,e.unstable_wrapCallback=function(E){var P=m;return function(){var T=m;m=P;try{return E.apply(this,arguments)}finally{m=T}}}})(Fs);Is.exports=Fs;var pd=Is.exports;/**
26
- * @license React
27
- * react-dom.production.min.js
28
- *
29
- * Copyright (c) Facebook, Inc. and its affiliates.
30
- *
31
- * This source code is licensed under the MIT license found in the
32
- * LICENSE file in the root directory of this source tree.
33
- */var md=L,Ne=pd;function g(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var As=new Set,Gn={};function Ht(e,t){mn(e,t),mn(e+"Capture",t)}function mn(e,t){for(Gn[e]=t,e=0;e<t.length;e++)As.add(t[e])}var tt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),co=Object.prototype.hasOwnProperty,hd=/^[: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]*$/,su={},au={};function vd(e){return co.call(au,e)?!0:co.call(su,e)?!1:hd.test(e)?au[e]=!0:(su[e]=!0,!1)}function yd(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 gd(e,t,n,r){if(t===null||typeof t>"u"||yd(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 pe(e,t,n,r,l,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var le={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){le[e]=new pe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];le[t]=new pe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){le[e]=new pe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){le[e]=new pe(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){le[e]=new pe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){le[e]=new pe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){le[e]=new pe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){le[e]=new pe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){le[e]=new pe(e,5,!1,e.toLowerCase(),null,!1,!1)});var ui=/[\-:]([a-z])/g;function si(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(ui,si);le[t]=new pe(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(ui,si);le[t]=new pe(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(ui,si);le[t]=new pe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){le[e]=new pe(e,1,!1,e.toLowerCase(),null,!1,!1)});le.xlinkHref=new pe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){le[e]=new pe(e,1,!1,e.toLowerCase(),null,!0,!0)});function ai(e,t,n,r){var l=le.hasOwnProperty(t)?le[t]:null;(l!==null?l.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(gd(t,n,l,r)&&(n=null),r||l===null?vd(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):l.mustUseProperty?e[l.propertyName]=n===null?l.type===3?!1:"":n:(t=l.attributeName,r=l.attributeNamespace,n===null?e.removeAttribute(t):(l=l.type,n=l===3||l===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var ot=md.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,vr=Symbol.for("react.element"),Xt=Symbol.for("react.portal"),Zt=Symbol.for("react.fragment"),ci=Symbol.for("react.strict_mode"),fo=Symbol.for("react.profiler"),Us=Symbol.for("react.provider"),$s=Symbol.for("react.context"),di=Symbol.for("react.forward_ref"),po=Symbol.for("react.suspense"),mo=Symbol.for("react.suspense_list"),fi=Symbol.for("react.memo"),at=Symbol.for("react.lazy"),Vs=Symbol.for("react.offscreen"),cu=Symbol.iterator;function jn(e){return e===null||typeof e!="object"?null:(e=cu&&e[cu]||e["@@iterator"],typeof e=="function"?e:null)}var K=Object.assign,Il;function Dn(e){if(Il===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Il=t&&t[1]||""}return`
34
- `+Il+e}var Fl=!1;function Al(e,t){if(!e||Fl)return"";Fl=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(d){var r=d}Reflect.construct(e,[],t)}else{try{t.call()}catch(d){r=d}e.call(t.prototype)}else{try{throw Error()}catch(d){r=d}e()}}catch(d){if(d&&r&&typeof d.stack=="string"){for(var l=d.stack.split(`
35
- `),o=r.stack.split(`
36
- `),i=l.length-1,u=o.length-1;1<=i&&0<=u&&l[i]!==o[u];)u--;for(;1<=i&&0<=u;i--,u--)if(l[i]!==o[u]){if(i!==1||u!==1)do if(i--,u--,0>u||l[i]!==o[u]){var s=`
37
- `+l[i].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}while(1<=i&&0<=u);break}}}finally{Fl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Dn(e):""}function xd(e){switch(e.tag){case 5:return Dn(e.type);case 16:return Dn("Lazy");case 13:return Dn("Suspense");case 19:return Dn("SuspenseList");case 0:case 2:case 15:return e=Al(e.type,!1),e;case 11:return e=Al(e.type.render,!1),e;case 1:return e=Al(e.type,!0),e;default:return""}}function ho(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 Zt:return"Fragment";case Xt:return"Portal";case fo:return"Profiler";case ci:return"StrictMode";case po:return"Suspense";case mo:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case $s:return(e.displayName||"Context")+".Consumer";case Us:return(e._context.displayName||"Context")+".Provider";case di:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case fi:return t=e.displayName||null,t!==null?t:ho(e.type)||"Memo";case at:t=e._payload,e=e._init;try{return ho(e(t))}catch{}}return null}function wd(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 ho(t);case 8:return t===ci?"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 Nt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Bs(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function kd(e){var t=Bs(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 l=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(i){r=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function yr(e){e._valueTracker||(e._valueTracker=kd(e))}function Hs(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Bs(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Qr(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 vo(e,t){var n=t.checked;return K({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function du(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Nt(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 Ws(e,t){t=t.checked,t!=null&&ai(e,"checked",t,!1)}function yo(e,t){Ws(e,t);var n=Nt(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")?go(e,t.type,n):t.hasOwnProperty("defaultValue")&&go(e,t.type,Nt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function fu(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 go(e,t,n){(t!=="number"||Qr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Mn=Array.isArray;function sn(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l<n.length;l++)t["$"+n[l]]=!0;for(n=0;n<e.length;n++)l=t.hasOwnProperty("$"+e[n].value),e[n].selected!==l&&(e[n].selected=l),l&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Nt(n),t=null,l=0;l<e.length;l++){if(e[l].value===n){e[l].selected=!0,r&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function xo(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(g(91));return K({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function pu(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(g(92));if(Mn(n)){if(1<n.length)throw Error(g(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Nt(n)}}function Qs(e,t){var n=Nt(t.value),r=Nt(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function mu(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Ks(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function wo(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Ks(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var gr,Gs=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,l){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,l)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(gr=gr||document.createElement("div"),gr.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=gr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Yn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var An={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},Sd=["Webkit","ms","Moz","O"];Object.keys(An).forEach(function(e){Sd.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),An[t]=An[e]})});function Ys(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||An.hasOwnProperty(e)&&An[e]?(""+t).trim():t+"px"}function Xs(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=Ys(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var Nd=K({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 ko(e,t){if(t){if(Nd[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(g(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(g(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(g(61))}if(t.style!=null&&typeof t.style!="object")throw Error(g(62))}}function So(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 No=null;function pi(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Co=null,an=null,cn=null;function hu(e){if(e=pr(e)){if(typeof Co!="function")throw Error(g(280));var t=e.stateNode;t&&(t=wl(t),Co(e.stateNode,e.type,t))}}function Zs(e){an?cn?cn.push(e):cn=[e]:an=e}function Js(){if(an){var e=an,t=cn;if(cn=an=null,hu(e),t)for(e=0;e<t.length;e++)hu(t[e])}}function qs(e,t){return e(t)}function bs(){}var Ul=!1;function ea(e,t,n){if(Ul)return e(t,n);Ul=!0;try{return qs(e,t,n)}finally{Ul=!1,(an!==null||cn!==null)&&(bs(),Js())}}function Xn(e,t){var n=e.stateNode;if(n===null)return null;var r=wl(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(g(231,t,typeof n));return n}var Eo=!1;if(tt)try{var zn={};Object.defineProperty(zn,"passive",{get:function(){Eo=!0}}),window.addEventListener("test",zn,zn),window.removeEventListener("test",zn,zn)}catch{Eo=!1}function Cd(e,t,n,r,l,o,i,u,s){var d=Array.prototype.slice.call(arguments,3);try{t.apply(n,d)}catch(v){this.onError(v)}}var Un=!1,Kr=null,Gr=!1,jo=null,Ed={onError:function(e){Un=!0,Kr=e}};function jd(e,t,n,r,l,o,i,u,s){Un=!1,Kr=null,Cd.apply(Ed,arguments)}function zd(e,t,n,r,l,o,i,u,s){if(jd.apply(this,arguments),Un){if(Un){var d=Kr;Un=!1,Kr=null}else throw Error(g(198));Gr||(Gr=!0,jo=d)}}function Wt(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function ta(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function vu(e){if(Wt(e)!==e)throw Error(g(188))}function _d(e){var t=e.alternate;if(!t){if(t=Wt(e),t===null)throw Error(g(188));return t!==e?null:e}for(var n=e,r=t;;){var l=n.return;if(l===null)break;var o=l.alternate;if(o===null){if(r=l.return,r!==null){n=r;continue}break}if(l.child===o.child){for(o=l.child;o;){if(o===n)return vu(l),e;if(o===r)return vu(l),t;o=o.sibling}throw Error(g(188))}if(n.return!==r.return)n=l,r=o;else{for(var i=!1,u=l.child;u;){if(u===n){i=!0,n=l,r=o;break}if(u===r){i=!0,r=l,n=o;break}u=u.sibling}if(!i){for(u=o.child;u;){if(u===n){i=!0,n=o,r=l;break}if(u===r){i=!0,r=o,n=l;break}u=u.sibling}if(!i)throw Error(g(189))}}if(n.alternate!==r)throw Error(g(190))}if(n.tag!==3)throw Error(g(188));return n.stateNode.current===n?e:t}function na(e){return e=_d(e),e!==null?ra(e):null}function ra(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=ra(e);if(t!==null)return t;e=e.sibling}return null}var la=Ne.unstable_scheduleCallback,yu=Ne.unstable_cancelCallback,Pd=Ne.unstable_shouldYield,Ld=Ne.unstable_requestPaint,Y=Ne.unstable_now,Td=Ne.unstable_getCurrentPriorityLevel,mi=Ne.unstable_ImmediatePriority,oa=Ne.unstable_UserBlockingPriority,Yr=Ne.unstable_NormalPriority,Od=Ne.unstable_LowPriority,ia=Ne.unstable_IdlePriority,vl=null,Ke=null;function Rd(e){if(Ke&&typeof Ke.onCommitFiberRoot=="function")try{Ke.onCommitFiberRoot(vl,e,void 0,(e.current.flags&128)===128)}catch{}}var Fe=Math.clz32?Math.clz32:Id,Dd=Math.log,Md=Math.LN2;function Id(e){return e>>>=0,e===0?32:31-(Dd(e)/Md|0)|0}var xr=64,wr=4194304;function In(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 Xr(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,o=e.pingedLanes,i=n&268435455;if(i!==0){var u=i&~l;u!==0?r=In(u):(o&=i,o!==0&&(r=In(o)))}else i=n&~l,i!==0?r=In(i):o!==0&&(r=In(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,o=t&-t,l>=o||l===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Fe(t),l=1<<n,r|=e[n],t&=~l;return r}function Fd(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Ad(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,l=e.expirationTimes,o=e.pendingLanes;0<o;){var i=31-Fe(o),u=1<<i,s=l[i];s===-1?(!(u&n)||u&r)&&(l[i]=Fd(u,t)):s<=t&&(e.expiredLanes|=u),o&=~u}}function zo(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function ua(){var e=xr;return xr<<=1,!(xr&4194240)&&(xr=64),e}function $l(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function dr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Fe(t),e[t]=n}function Ud(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var l=31-Fe(n),o=1<<l;t[l]=0,r[l]=-1,e[l]=-1,n&=~o}}function hi(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Fe(n),l=1<<r;l&t|e[r]&t&&(e[r]|=t),n&=~l}}var I=0;function sa(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var aa,vi,ca,da,fa,_o=!1,kr=[],ht=null,vt=null,yt=null,Zn=new Map,Jn=new Map,dt=[],$d="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function gu(e,t){switch(e){case"focusin":case"focusout":ht=null;break;case"dragenter":case"dragleave":vt=null;break;case"mouseover":case"mouseout":yt=null;break;case"pointerover":case"pointerout":Zn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Jn.delete(t.pointerId)}}function _n(e,t,n,r,l,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[l]},t!==null&&(t=pr(t),t!==null&&vi(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function Vd(e,t,n,r,l){switch(t){case"focusin":return ht=_n(ht,e,t,n,r,l),!0;case"dragenter":return vt=_n(vt,e,t,n,r,l),!0;case"mouseover":return yt=_n(yt,e,t,n,r,l),!0;case"pointerover":var o=l.pointerId;return Zn.set(o,_n(Zn.get(o)||null,e,t,n,r,l)),!0;case"gotpointercapture":return o=l.pointerId,Jn.set(o,_n(Jn.get(o)||null,e,t,n,r,l)),!0}return!1}function pa(e){var t=Rt(e.target);if(t!==null){var n=Wt(t);if(n!==null){if(t=n.tag,t===13){if(t=ta(n),t!==null){e.blockedOn=t,fa(e.priority,function(){ca(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Mr(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Po(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);No=r,n.target.dispatchEvent(r),No=null}else return t=pr(n),t!==null&&vi(t),e.blockedOn=n,!1;t.shift()}return!0}function xu(e,t,n){Mr(e)&&n.delete(t)}function Bd(){_o=!1,ht!==null&&Mr(ht)&&(ht=null),vt!==null&&Mr(vt)&&(vt=null),yt!==null&&Mr(yt)&&(yt=null),Zn.forEach(xu),Jn.forEach(xu)}function Pn(e,t){e.blockedOn===t&&(e.blockedOn=null,_o||(_o=!0,Ne.unstable_scheduleCallback(Ne.unstable_NormalPriority,Bd)))}function qn(e){function t(l){return Pn(l,e)}if(0<kr.length){Pn(kr[0],e);for(var n=1;n<kr.length;n++){var r=kr[n];r.blockedOn===e&&(r.blockedOn=null)}}for(ht!==null&&Pn(ht,e),vt!==null&&Pn(vt,e),yt!==null&&Pn(yt,e),Zn.forEach(t),Jn.forEach(t),n=0;n<dt.length;n++)r=dt[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<dt.length&&(n=dt[0],n.blockedOn===null);)pa(n),n.blockedOn===null&&dt.shift()}var dn=ot.ReactCurrentBatchConfig,Zr=!0;function Hd(e,t,n,r){var l=I,o=dn.transition;dn.transition=null;try{I=1,yi(e,t,n,r)}finally{I=l,dn.transition=o}}function Wd(e,t,n,r){var l=I,o=dn.transition;dn.transition=null;try{I=4,yi(e,t,n,r)}finally{I=l,dn.transition=o}}function yi(e,t,n,r){if(Zr){var l=Po(e,t,n,r);if(l===null)Zl(e,t,r,Jr,n),gu(e,r);else if(Vd(l,e,t,n,r))r.stopPropagation();else if(gu(e,r),t&4&&-1<$d.indexOf(e)){for(;l!==null;){var o=pr(l);if(o!==null&&aa(o),o=Po(e,t,n,r),o===null&&Zl(e,t,r,Jr,n),o===l)break;l=o}l!==null&&r.stopPropagation()}else Zl(e,t,r,null,n)}}var Jr=null;function Po(e,t,n,r){if(Jr=null,e=pi(r),e=Rt(e),e!==null)if(t=Wt(e),t===null)e=null;else if(n=t.tag,n===13){if(e=ta(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Jr=e,null}function ma(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Td()){case mi:return 1;case oa:return 4;case Yr:case Od:return 16;case ia:return 536870912;default:return 16}default:return 16}}var pt=null,gi=null,Ir=null;function ha(){if(Ir)return Ir;var e,t=gi,n=t.length,r,l="value"in pt?pt.value:pt.textContent,o=l.length;for(e=0;e<n&&t[e]===l[e];e++);var i=n-e;for(r=1;r<=i&&t[n-r]===l[o-r];r++);return Ir=l.slice(e,1<r?1-r:void 0)}function Fr(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Sr(){return!0}function wu(){return!1}function Ee(e){function t(n,r,l,o,i){this._reactName=n,this._targetInst=l,this.type=r,this.nativeEvent=o,this.target=i,this.currentTarget=null;for(var u in e)e.hasOwnProperty(u)&&(n=e[u],this[u]=n?n(o):o[u]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Sr:wu,this.isPropagationStopped=wu,this}return K(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Sr)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Sr)},persist:function(){},isPersistent:Sr}),t}var Sn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},xi=Ee(Sn),fr=K({},Sn,{view:0,detail:0}),Qd=Ee(fr),Vl,Bl,Ln,yl=K({},fr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:wi,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Ln&&(Ln&&e.type==="mousemove"?(Vl=e.screenX-Ln.screenX,Bl=e.screenY-Ln.screenY):Bl=Vl=0,Ln=e),Vl)},movementY:function(e){return"movementY"in e?e.movementY:Bl}}),ku=Ee(yl),Kd=K({},yl,{dataTransfer:0}),Gd=Ee(Kd),Yd=K({},fr,{relatedTarget:0}),Hl=Ee(Yd),Xd=K({},Sn,{animationName:0,elapsedTime:0,pseudoElement:0}),Zd=Ee(Xd),Jd=K({},Sn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),qd=Ee(Jd),bd=K({},Sn,{data:0}),Su=Ee(bd),ef={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},tf={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},nf={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function rf(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=nf[e])?!!t[e]:!1}function wi(){return rf}var lf=K({},fr,{key:function(e){if(e.key){var t=ef[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Fr(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?tf[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:wi,charCode:function(e){return e.type==="keypress"?Fr(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Fr(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),of=Ee(lf),uf=K({},yl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Nu=Ee(uf),sf=K({},fr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:wi}),af=Ee(sf),cf=K({},Sn,{propertyName:0,elapsedTime:0,pseudoElement:0}),df=Ee(cf),ff=K({},yl,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),pf=Ee(ff),mf=[9,13,27,32],ki=tt&&"CompositionEvent"in window,$n=null;tt&&"documentMode"in document&&($n=document.documentMode);var hf=tt&&"TextEvent"in window&&!$n,va=tt&&(!ki||$n&&8<$n&&11>=$n),Cu=" ",Eu=!1;function ya(e,t){switch(e){case"keyup":return mf.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ga(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Jt=!1;function vf(e,t){switch(e){case"compositionend":return ga(t);case"keypress":return t.which!==32?null:(Eu=!0,Cu);case"textInput":return e=t.data,e===Cu&&Eu?null:e;default:return null}}function yf(e,t){if(Jt)return e==="compositionend"||!ki&&ya(e,t)?(e=ha(),Ir=gi=pt=null,Jt=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return va&&t.locale!=="ko"?null:t.data;default:return null}}var gf={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function ju(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!gf[e.type]:t==="textarea"}function xa(e,t,n,r){Zs(r),t=qr(t,"onChange"),0<t.length&&(n=new xi("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Vn=null,bn=null;function xf(e){La(e,0)}function gl(e){var t=en(e);if(Hs(t))return e}function wf(e,t){if(e==="change")return t}var wa=!1;if(tt){var Wl;if(tt){var Ql="oninput"in document;if(!Ql){var zu=document.createElement("div");zu.setAttribute("oninput","return;"),Ql=typeof zu.oninput=="function"}Wl=Ql}else Wl=!1;wa=Wl&&(!document.documentMode||9<document.documentMode)}function _u(){Vn&&(Vn.detachEvent("onpropertychange",ka),bn=Vn=null)}function ka(e){if(e.propertyName==="value"&&gl(bn)){var t=[];xa(t,bn,e,pi(e)),ea(xf,t)}}function kf(e,t,n){e==="focusin"?(_u(),Vn=t,bn=n,Vn.attachEvent("onpropertychange",ka)):e==="focusout"&&_u()}function Sf(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return gl(bn)}function Nf(e,t){if(e==="click")return gl(t)}function Cf(e,t){if(e==="input"||e==="change")return gl(t)}function Ef(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ue=typeof Object.is=="function"?Object.is:Ef;function er(e,t){if(Ue(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var l=n[r];if(!co.call(t,l)||!Ue(e[l],t[l]))return!1}return!0}function Pu(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Lu(e,t){var n=Pu(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Pu(n)}}function Sa(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Sa(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Na(){for(var e=window,t=Qr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Qr(e.document)}return t}function Si(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 jf(e){var t=Na(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Sa(n.ownerDocument.documentElement,n)){if(r!==null&&Si(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 l=n.textContent.length,o=Math.min(r.start,l);r=r.end===void 0?o:Math.min(r.end,l),!e.extend&&o>r&&(l=r,r=o,o=l),l=Lu(n,o);var i=Lu(n,r);l&&i&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var zf=tt&&"documentMode"in document&&11>=document.documentMode,qt=null,Lo=null,Bn=null,To=!1;function Tu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;To||qt==null||qt!==Qr(r)||(r=qt,"selectionStart"in r&&Si(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}),Bn&&er(Bn,r)||(Bn=r,r=qr(Lo,"onSelect"),0<r.length&&(t=new xi("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=qt)))}function Nr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var bt={animationend:Nr("Animation","AnimationEnd"),animationiteration:Nr("Animation","AnimationIteration"),animationstart:Nr("Animation","AnimationStart"),transitionend:Nr("Transition","TransitionEnd")},Kl={},Ca={};tt&&(Ca=document.createElement("div").style,"AnimationEvent"in window||(delete bt.animationend.animation,delete bt.animationiteration.animation,delete bt.animationstart.animation),"TransitionEvent"in window||delete bt.transitionend.transition);function xl(e){if(Kl[e])return Kl[e];if(!bt[e])return e;var t=bt[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Ca)return Kl[e]=t[n];return e}var Ea=xl("animationend"),ja=xl("animationiteration"),za=xl("animationstart"),_a=xl("transitionend"),Pa=new Map,Ou="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Et(e,t){Pa.set(e,t),Ht(t,[e])}for(var Gl=0;Gl<Ou.length;Gl++){var Yl=Ou[Gl],_f=Yl.toLowerCase(),Pf=Yl[0].toUpperCase()+Yl.slice(1);Et(_f,"on"+Pf)}Et(Ea,"onAnimationEnd");Et(ja,"onAnimationIteration");Et(za,"onAnimationStart");Et("dblclick","onDoubleClick");Et("focusin","onFocus");Et("focusout","onBlur");Et(_a,"onTransitionEnd");mn("onMouseEnter",["mouseout","mouseover"]);mn("onMouseLeave",["mouseout","mouseover"]);mn("onPointerEnter",["pointerout","pointerover"]);mn("onPointerLeave",["pointerout","pointerover"]);Ht("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Ht("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Ht("onBeforeInput",["compositionend","keypress","textInput","paste"]);Ht("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Ht("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Ht("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Fn="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Lf=new Set("cancel close invalid load scroll toggle".split(" ").concat(Fn));function Ru(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,zd(r,t,void 0,e),e.currentTarget=null}function La(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],l=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var i=r.length-1;0<=i;i--){var u=r[i],s=u.instance,d=u.currentTarget;if(u=u.listener,s!==o&&l.isPropagationStopped())break e;Ru(l,u,d),o=s}else for(i=0;i<r.length;i++){if(u=r[i],s=u.instance,d=u.currentTarget,u=u.listener,s!==o&&l.isPropagationStopped())break e;Ru(l,u,d),o=s}}}if(Gr)throw e=jo,Gr=!1,jo=null,e}function U(e,t){var n=t[Io];n===void 0&&(n=t[Io]=new Set);var r=e+"__bubble";n.has(r)||(Ta(t,e,2,!1),n.add(r))}function Xl(e,t,n){var r=0;t&&(r|=4),Ta(n,e,r,t)}var Cr="_reactListening"+Math.random().toString(36).slice(2);function tr(e){if(!e[Cr]){e[Cr]=!0,As.forEach(function(n){n!=="selectionchange"&&(Lf.has(n)||Xl(n,!1,e),Xl(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Cr]||(t[Cr]=!0,Xl("selectionchange",!1,t))}}function Ta(e,t,n,r){switch(ma(t)){case 1:var l=Hd;break;case 4:l=Wd;break;default:l=yi}n=l.bind(null,t,n,e),l=void 0,!Eo||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(l=!0),r?l!==void 0?e.addEventListener(t,n,{capture:!0,passive:l}):e.addEventListener(t,n,!0):l!==void 0?e.addEventListener(t,n,{passive:l}):e.addEventListener(t,n,!1)}function Zl(e,t,n,r,l){var o=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var i=r.tag;if(i===3||i===4){var u=r.stateNode.containerInfo;if(u===l||u.nodeType===8&&u.parentNode===l)break;if(i===4)for(i=r.return;i!==null;){var s=i.tag;if((s===3||s===4)&&(s=i.stateNode.containerInfo,s===l||s.nodeType===8&&s.parentNode===l))return;i=i.return}for(;u!==null;){if(i=Rt(u),i===null)return;if(s=i.tag,s===5||s===6){r=o=i;continue e}u=u.parentNode}}r=r.return}ea(function(){var d=o,v=pi(n),h=[];e:{var m=Pa.get(e);if(m!==void 0){var x=xi,k=e;switch(e){case"keypress":if(Fr(n)===0)break e;case"keydown":case"keyup":x=of;break;case"focusin":k="focus",x=Hl;break;case"focusout":k="blur",x=Hl;break;case"beforeblur":case"afterblur":x=Hl;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":x=ku;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":x=Gd;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":x=af;break;case Ea:case ja:case za:x=Zd;break;case _a:x=df;break;case"scroll":x=Qd;break;case"wheel":x=pf;break;case"copy":case"cut":case"paste":x=qd;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":x=Nu}var S=(t&4)!==0,F=!S&&e==="scroll",f=S?m!==null?m+"Capture":null:m;S=[];for(var a=d,p;a!==null;){p=a;var y=p.stateNode;if(p.tag===5&&y!==null&&(p=y,f!==null&&(y=Xn(a,f),y!=null&&S.push(nr(a,y,p)))),F)break;a=a.return}0<S.length&&(m=new x(m,k,null,n,v),h.push({event:m,listeners:S}))}}if(!(t&7)){e:{if(m=e==="mouseover"||e==="pointerover",x=e==="mouseout"||e==="pointerout",m&&n!==No&&(k=n.relatedTarget||n.fromElement)&&(Rt(k)||k[nt]))break e;if((x||m)&&(m=v.window===v?v:(m=v.ownerDocument)?m.defaultView||m.parentWindow:window,x?(k=n.relatedTarget||n.toElement,x=d,k=k?Rt(k):null,k!==null&&(F=Wt(k),k!==F||k.tag!==5&&k.tag!==6)&&(k=null)):(x=null,k=d),x!==k)){if(S=ku,y="onMouseLeave",f="onMouseEnter",a="mouse",(e==="pointerout"||e==="pointerover")&&(S=Nu,y="onPointerLeave",f="onPointerEnter",a="pointer"),F=x==null?m:en(x),p=k==null?m:en(k),m=new S(y,a+"leave",x,n,v),m.target=F,m.relatedTarget=p,y=null,Rt(v)===d&&(S=new S(f,a+"enter",k,n,v),S.target=p,S.relatedTarget=F,y=S),F=y,x&&k)t:{for(S=x,f=k,a=0,p=S;p;p=Yt(p))a++;for(p=0,y=f;y;y=Yt(y))p++;for(;0<a-p;)S=Yt(S),a--;for(;0<p-a;)f=Yt(f),p--;for(;a--;){if(S===f||f!==null&&S===f.alternate)break t;S=Yt(S),f=Yt(f)}S=null}else S=null;x!==null&&Du(h,m,x,S,!1),k!==null&&F!==null&&Du(h,F,k,S,!0)}}e:{if(m=d?en(d):window,x=m.nodeName&&m.nodeName.toLowerCase(),x==="select"||x==="input"&&m.type==="file")var N=wf;else if(ju(m))if(wa)N=Cf;else{N=Sf;var _=kf}else(x=m.nodeName)&&x.toLowerCase()==="input"&&(m.type==="checkbox"||m.type==="radio")&&(N=Nf);if(N&&(N=N(e,d))){xa(h,N,n,v);break e}_&&_(e,m,d),e==="focusout"&&(_=m._wrapperState)&&_.controlled&&m.type==="number"&&go(m,"number",m.value)}switch(_=d?en(d):window,e){case"focusin":(ju(_)||_.contentEditable==="true")&&(qt=_,Lo=d,Bn=null);break;case"focusout":Bn=Lo=qt=null;break;case"mousedown":To=!0;break;case"contextmenu":case"mouseup":case"dragend":To=!1,Tu(h,n,v);break;case"selectionchange":if(zf)break;case"keydown":case"keyup":Tu(h,n,v)}var z;if(ki)e:{switch(e){case"compositionstart":var C="onCompositionStart";break e;case"compositionend":C="onCompositionEnd";break e;case"compositionupdate":C="onCompositionUpdate";break e}C=void 0}else Jt?ya(e,n)&&(C="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(C="onCompositionStart");C&&(va&&n.locale!=="ko"&&(Jt||C!=="onCompositionStart"?C==="onCompositionEnd"&&Jt&&(z=ha()):(pt=v,gi="value"in pt?pt.value:pt.textContent,Jt=!0)),_=qr(d,C),0<_.length&&(C=new Su(C,e,null,n,v),h.push({event:C,listeners:_}),z?C.data=z:(z=ga(n),z!==null&&(C.data=z)))),(z=hf?vf(e,n):yf(e,n))&&(d=qr(d,"onBeforeInput"),0<d.length&&(v=new Su("onBeforeInput","beforeinput",null,n,v),h.push({event:v,listeners:d}),v.data=z))}La(h,t)})}function nr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function qr(e,t){for(var n=t+"Capture",r=[];e!==null;){var l=e,o=l.stateNode;l.tag===5&&o!==null&&(l=o,o=Xn(e,n),o!=null&&r.unshift(nr(e,o,l)),o=Xn(e,t),o!=null&&r.push(nr(e,o,l))),e=e.return}return r}function Yt(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Du(e,t,n,r,l){for(var o=t._reactName,i=[];n!==null&&n!==r;){var u=n,s=u.alternate,d=u.stateNode;if(s!==null&&s===r)break;u.tag===5&&d!==null&&(u=d,l?(s=Xn(n,o),s!=null&&i.unshift(nr(n,s,u))):l||(s=Xn(n,o),s!=null&&i.push(nr(n,s,u)))),n=n.return}i.length!==0&&e.push({event:t,listeners:i})}var Tf=/\r\n?/g,Of=/\u0000|\uFFFD/g;function Mu(e){return(typeof e=="string"?e:""+e).replace(Tf,`
38
- `).replace(Of,"")}function Er(e,t,n){if(t=Mu(t),Mu(e)!==t&&n)throw Error(g(425))}function br(){}var Oo=null,Ro=null;function Do(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Mo=typeof setTimeout=="function"?setTimeout:void 0,Rf=typeof clearTimeout=="function"?clearTimeout:void 0,Iu=typeof Promise=="function"?Promise:void 0,Df=typeof queueMicrotask=="function"?queueMicrotask:typeof Iu<"u"?function(e){return Iu.resolve(null).then(e).catch(Mf)}:Mo;function Mf(e){setTimeout(function(){throw e})}function Jl(e,t){var n=t,r=0;do{var l=n.nextSibling;if(e.removeChild(n),l&&l.nodeType===8)if(n=l.data,n==="/$"){if(r===0){e.removeChild(l),qn(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=l}while(n);qn(t)}function gt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Fu(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var Nn=Math.random().toString(36).slice(2),Qe="__reactFiber$"+Nn,rr="__reactProps$"+Nn,nt="__reactContainer$"+Nn,Io="__reactEvents$"+Nn,If="__reactListeners$"+Nn,Ff="__reactHandles$"+Nn;function Rt(e){var t=e[Qe];if(t)return t;for(var n=e.parentNode;n;){if(t=n[nt]||n[Qe]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Fu(e);e!==null;){if(n=e[Qe])return n;e=Fu(e)}return t}e=n,n=e.parentNode}return null}function pr(e){return e=e[Qe]||e[nt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function en(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(g(33))}function wl(e){return e[rr]||null}var Fo=[],tn=-1;function jt(e){return{current:e}}function $(e){0>tn||(e.current=Fo[tn],Fo[tn]=null,tn--)}function A(e,t){tn++,Fo[tn]=e.current,e.current=t}var Ct={},se=jt(Ct),ve=jt(!1),At=Ct;function hn(e,t){var n=e.type.contextTypes;if(!n)return Ct;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},o;for(o in n)l[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function ye(e){return e=e.childContextTypes,e!=null}function el(){$(ve),$(se)}function Au(e,t,n){if(se.current!==Ct)throw Error(g(168));A(se,t),A(ve,n)}function Oa(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(g(108,wd(e)||"Unknown",l));return K({},n,r)}function tl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ct,At=se.current,A(se,e),A(ve,ve.current),!0}function Uu(e,t,n){var r=e.stateNode;if(!r)throw Error(g(169));n?(e=Oa(e,t,At),r.__reactInternalMemoizedMergedChildContext=e,$(ve),$(se),A(se,e)):$(ve),A(ve,n)}var Je=null,kl=!1,ql=!1;function Ra(e){Je===null?Je=[e]:Je.push(e)}function Af(e){kl=!0,Ra(e)}function zt(){if(!ql&&Je!==null){ql=!0;var e=0,t=I;try{var n=Je;for(I=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Je=null,kl=!1}catch(l){throw Je!==null&&(Je=Je.slice(e+1)),la(mi,zt),l}finally{I=t,ql=!1}}return null}var nn=[],rn=0,nl=null,rl=0,ze=[],_e=0,Ut=null,qe=1,be="";function Tt(e,t){nn[rn++]=rl,nn[rn++]=nl,nl=e,rl=t}function Da(e,t,n){ze[_e++]=qe,ze[_e++]=be,ze[_e++]=Ut,Ut=e;var r=qe;e=be;var l=32-Fe(r)-1;r&=~(1<<l),n+=1;var o=32-Fe(t)+l;if(30<o){var i=l-l%5;o=(r&(1<<i)-1).toString(32),r>>=i,l-=i,qe=1<<32-Fe(t)+l|n<<l|r,be=o+e}else qe=1<<o|n<<l|r,be=e}function Ni(e){e.return!==null&&(Tt(e,1),Da(e,1,0))}function Ci(e){for(;e===nl;)nl=nn[--rn],nn[rn]=null,rl=nn[--rn],nn[rn]=null;for(;e===Ut;)Ut=ze[--_e],ze[_e]=null,be=ze[--_e],ze[_e]=null,qe=ze[--_e],ze[_e]=null}var Se=null,ke=null,H=!1,Ie=null;function Ma(e,t){var n=Pe(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function $u(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Se=e,ke=gt(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Se=e,ke=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Ut!==null?{id:qe,overflow:be}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Pe(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Se=e,ke=null,!0):!1;default:return!1}}function Ao(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Uo(e){if(H){var t=ke;if(t){var n=t;if(!$u(e,t)){if(Ao(e))throw Error(g(418));t=gt(n.nextSibling);var r=Se;t&&$u(e,t)?Ma(r,n):(e.flags=e.flags&-4097|2,H=!1,Se=e)}}else{if(Ao(e))throw Error(g(418));e.flags=e.flags&-4097|2,H=!1,Se=e}}}function Vu(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Se=e}function jr(e){if(e!==Se)return!1;if(!H)return Vu(e),H=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Do(e.type,e.memoizedProps)),t&&(t=ke)){if(Ao(e))throw Ia(),Error(g(418));for(;t;)Ma(e,t),t=gt(t.nextSibling)}if(Vu(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(g(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){ke=gt(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}ke=null}}else ke=Se?gt(e.stateNode.nextSibling):null;return!0}function Ia(){for(var e=ke;e;)e=gt(e.nextSibling)}function vn(){ke=Se=null,H=!1}function Ei(e){Ie===null?Ie=[e]:Ie.push(e)}var Uf=ot.ReactCurrentBatchConfig;function Tn(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(g(309));var r=n.stateNode}if(!r)throw Error(g(147,e));var l=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(i){var u=l.refs;i===null?delete u[o]:u[o]=i},t._stringRef=o,t)}if(typeof e!="string")throw Error(g(284));if(!n._owner)throw Error(g(290,e))}return e}function zr(e,t){throw e=Object.prototype.toString.call(t),Error(g(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Bu(e){var t=e._init;return t(e._payload)}function Fa(e){function t(f,a){if(e){var p=f.deletions;p===null?(f.deletions=[a],f.flags|=16):p.push(a)}}function n(f,a){if(!e)return null;for(;a!==null;)t(f,a),a=a.sibling;return null}function r(f,a){for(f=new Map;a!==null;)a.key!==null?f.set(a.key,a):f.set(a.index,a),a=a.sibling;return f}function l(f,a){return f=St(f,a),f.index=0,f.sibling=null,f}function o(f,a,p){return f.index=p,e?(p=f.alternate,p!==null?(p=p.index,p<a?(f.flags|=2,a):p):(f.flags|=2,a)):(f.flags|=1048576,a)}function i(f){return e&&f.alternate===null&&(f.flags|=2),f}function u(f,a,p,y){return a===null||a.tag!==6?(a=oo(p,f.mode,y),a.return=f,a):(a=l(a,p),a.return=f,a)}function s(f,a,p,y){var N=p.type;return N===Zt?v(f,a,p.props.children,y,p.key):a!==null&&(a.elementType===N||typeof N=="object"&&N!==null&&N.$$typeof===at&&Bu(N)===a.type)?(y=l(a,p.props),y.ref=Tn(f,a,p),y.return=f,y):(y=Wr(p.type,p.key,p.props,null,f.mode,y),y.ref=Tn(f,a,p),y.return=f,y)}function d(f,a,p,y){return a===null||a.tag!==4||a.stateNode.containerInfo!==p.containerInfo||a.stateNode.implementation!==p.implementation?(a=io(p,f.mode,y),a.return=f,a):(a=l(a,p.children||[]),a.return=f,a)}function v(f,a,p,y,N){return a===null||a.tag!==7?(a=Ft(p,f.mode,y,N),a.return=f,a):(a=l(a,p),a.return=f,a)}function h(f,a,p){if(typeof a=="string"&&a!==""||typeof a=="number")return a=oo(""+a,f.mode,p),a.return=f,a;if(typeof a=="object"&&a!==null){switch(a.$$typeof){case vr:return p=Wr(a.type,a.key,a.props,null,f.mode,p),p.ref=Tn(f,null,a),p.return=f,p;case Xt:return a=io(a,f.mode,p),a.return=f,a;case at:var y=a._init;return h(f,y(a._payload),p)}if(Mn(a)||jn(a))return a=Ft(a,f.mode,p,null),a.return=f,a;zr(f,a)}return null}function m(f,a,p,y){var N=a!==null?a.key:null;if(typeof p=="string"&&p!==""||typeof p=="number")return N!==null?null:u(f,a,""+p,y);if(typeof p=="object"&&p!==null){switch(p.$$typeof){case vr:return p.key===N?s(f,a,p,y):null;case Xt:return p.key===N?d(f,a,p,y):null;case at:return N=p._init,m(f,a,N(p._payload),y)}if(Mn(p)||jn(p))return N!==null?null:v(f,a,p,y,null);zr(f,p)}return null}function x(f,a,p,y,N){if(typeof y=="string"&&y!==""||typeof y=="number")return f=f.get(p)||null,u(a,f,""+y,N);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case vr:return f=f.get(y.key===null?p:y.key)||null,s(a,f,y,N);case Xt:return f=f.get(y.key===null?p:y.key)||null,d(a,f,y,N);case at:var _=y._init;return x(f,a,p,_(y._payload),N)}if(Mn(y)||jn(y))return f=f.get(p)||null,v(a,f,y,N,null);zr(a,y)}return null}function k(f,a,p,y){for(var N=null,_=null,z=a,C=a=0,V=null;z!==null&&C<p.length;C++){z.index>C?(V=z,z=null):V=z.sibling;var R=m(f,z,p[C],y);if(R===null){z===null&&(z=V);break}e&&z&&R.alternate===null&&t(f,z),a=o(R,a,C),_===null?N=R:_.sibling=R,_=R,z=V}if(C===p.length)return n(f,z),H&&Tt(f,C),N;if(z===null){for(;C<p.length;C++)z=h(f,p[C],y),z!==null&&(a=o(z,a,C),_===null?N=z:_.sibling=z,_=z);return H&&Tt(f,C),N}for(z=r(f,z);C<p.length;C++)V=x(z,f,C,p[C],y),V!==null&&(e&&V.alternate!==null&&z.delete(V.key===null?C:V.key),a=o(V,a,C),_===null?N=V:_.sibling=V,_=V);return e&&z.forEach(function(xe){return t(f,xe)}),H&&Tt(f,C),N}function S(f,a,p,y){var N=jn(p);if(typeof N!="function")throw Error(g(150));if(p=N.call(p),p==null)throw Error(g(151));for(var _=N=null,z=a,C=a=0,V=null,R=p.next();z!==null&&!R.done;C++,R=p.next()){z.index>C?(V=z,z=null):V=z.sibling;var xe=m(f,z,R.value,y);if(xe===null){z===null&&(z=V);break}e&&z&&xe.alternate===null&&t(f,z),a=o(xe,a,C),_===null?N=xe:_.sibling=xe,_=xe,z=V}if(R.done)return n(f,z),H&&Tt(f,C),N;if(z===null){for(;!R.done;C++,R=p.next())R=h(f,R.value,y),R!==null&&(a=o(R,a,C),_===null?N=R:_.sibling=R,_=R);return H&&Tt(f,C),N}for(z=r(f,z);!R.done;C++,R=p.next())R=x(z,f,C,R.value,y),R!==null&&(e&&R.alternate!==null&&z.delete(R.key===null?C:R.key),a=o(R,a,C),_===null?N=R:_.sibling=R,_=R);return e&&z.forEach(function(_t){return t(f,_t)}),H&&Tt(f,C),N}function F(f,a,p,y){if(typeof p=="object"&&p!==null&&p.type===Zt&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case vr:e:{for(var N=p.key,_=a;_!==null;){if(_.key===N){if(N=p.type,N===Zt){if(_.tag===7){n(f,_.sibling),a=l(_,p.props.children),a.return=f,f=a;break e}}else if(_.elementType===N||typeof N=="object"&&N!==null&&N.$$typeof===at&&Bu(N)===_.type){n(f,_.sibling),a=l(_,p.props),a.ref=Tn(f,_,p),a.return=f,f=a;break e}n(f,_);break}else t(f,_);_=_.sibling}p.type===Zt?(a=Ft(p.props.children,f.mode,y,p.key),a.return=f,f=a):(y=Wr(p.type,p.key,p.props,null,f.mode,y),y.ref=Tn(f,a,p),y.return=f,f=y)}return i(f);case Xt:e:{for(_=p.key;a!==null;){if(a.key===_)if(a.tag===4&&a.stateNode.containerInfo===p.containerInfo&&a.stateNode.implementation===p.implementation){n(f,a.sibling),a=l(a,p.children||[]),a.return=f,f=a;break e}else{n(f,a);break}else t(f,a);a=a.sibling}a=io(p,f.mode,y),a.return=f,f=a}return i(f);case at:return _=p._init,F(f,a,_(p._payload),y)}if(Mn(p))return k(f,a,p,y);if(jn(p))return S(f,a,p,y);zr(f,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,a!==null&&a.tag===6?(n(f,a.sibling),a=l(a,p),a.return=f,f=a):(n(f,a),a=oo(p,f.mode,y),a.return=f,f=a),i(f)):n(f,a)}return F}var yn=Fa(!0),Aa=Fa(!1),ll=jt(null),ol=null,ln=null,ji=null;function zi(){ji=ln=ol=null}function _i(e){var t=ll.current;$(ll),e._currentValue=t}function $o(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function fn(e,t){ol=e,ji=ln=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(he=!0),e.firstContext=null)}function Te(e){var t=e._currentValue;if(ji!==e)if(e={context:e,memoizedValue:t,next:null},ln===null){if(ol===null)throw Error(g(308));ln=e,ol.dependencies={lanes:0,firstContext:e}}else ln=ln.next=e;return t}var Dt=null;function Pi(e){Dt===null?Dt=[e]:Dt.push(e)}function Ua(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,Pi(t)):(n.next=l.next,l.next=n),t.interleaved=n,rt(e,r)}function rt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var ct=!1;function Li(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function $a(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function et(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function xt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,M&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,rt(e,n)}return l=r.interleaved,l===null?(t.next=t,Pi(r)):(t.next=l.next,l.next=t),r.interleaved=t,rt(e,n)}function Ar(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,hi(e,n)}}function Hu(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?l=o=i:o=o.next=i,n=n.next}while(n!==null);o===null?l=o=t:o=o.next=t}else l=o=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function il(e,t,n,r){var l=e.updateQueue;ct=!1;var o=l.firstBaseUpdate,i=l.lastBaseUpdate,u=l.shared.pending;if(u!==null){l.shared.pending=null;var s=u,d=s.next;s.next=null,i===null?o=d:i.next=d,i=s;var v=e.alternate;v!==null&&(v=v.updateQueue,u=v.lastBaseUpdate,u!==i&&(u===null?v.firstBaseUpdate=d:u.next=d,v.lastBaseUpdate=s))}if(o!==null){var h=l.baseState;i=0,v=d=s=null,u=o;do{var m=u.lane,x=u.eventTime;if((r&m)===m){v!==null&&(v=v.next={eventTime:x,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var k=e,S=u;switch(m=t,x=n,S.tag){case 1:if(k=S.payload,typeof k=="function"){h=k.call(x,h,m);break e}h=k;break e;case 3:k.flags=k.flags&-65537|128;case 0:if(k=S.payload,m=typeof k=="function"?k.call(x,h,m):k,m==null)break e;h=K({},h,m);break e;case 2:ct=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,m=l.effects,m===null?l.effects=[u]:m.push(u))}else x={eventTime:x,lane:m,tag:u.tag,payload:u.payload,callback:u.callback,next:null},v===null?(d=v=x,s=h):v=v.next=x,i|=m;if(u=u.next,u===null){if(u=l.shared.pending,u===null)break;m=u,u=m.next,m.next=null,l.lastBaseUpdate=m,l.shared.pending=null}}while(!0);if(v===null&&(s=h),l.baseState=s,l.firstBaseUpdate=d,l.lastBaseUpdate=v,t=l.shared.interleaved,t!==null){l=t;do i|=l.lane,l=l.next;while(l!==t)}else o===null&&(l.shared.lanes=0);Vt|=i,e.lanes=i,e.memoizedState=h}}function Wu(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],l=r.callback;if(l!==null){if(r.callback=null,r=n,typeof l!="function")throw Error(g(191,l));l.call(r)}}}var mr={},Ge=jt(mr),lr=jt(mr),or=jt(mr);function Mt(e){if(e===mr)throw Error(g(174));return e}function Ti(e,t){switch(A(or,t),A(lr,e),A(Ge,mr),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:wo(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=wo(t,e)}$(Ge),A(Ge,t)}function gn(){$(Ge),$(lr),$(or)}function Va(e){Mt(or.current);var t=Mt(Ge.current),n=wo(t,e.type);t!==n&&(A(lr,e),A(Ge,n))}function Oi(e){lr.current===e&&($(Ge),$(lr))}var W=jt(0);function ul(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 bl=[];function Ri(){for(var e=0;e<bl.length;e++)bl[e]._workInProgressVersionPrimary=null;bl.length=0}var Ur=ot.ReactCurrentDispatcher,eo=ot.ReactCurrentBatchConfig,$t=0,Q=null,J=null,b=null,sl=!1,Hn=!1,ir=0,$f=0;function oe(){throw Error(g(321))}function Di(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Ue(e[n],t[n]))return!1;return!0}function Mi(e,t,n,r,l,o){if($t=o,Q=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ur.current=e===null||e.memoizedState===null?Wf:Qf,e=n(r,l),Hn){o=0;do{if(Hn=!1,ir=0,25<=o)throw Error(g(301));o+=1,b=J=null,t.updateQueue=null,Ur.current=Kf,e=n(r,l)}while(Hn)}if(Ur.current=al,t=J!==null&&J.next!==null,$t=0,b=J=Q=null,sl=!1,t)throw Error(g(300));return e}function Ii(){var e=ir!==0;return ir=0,e}function We(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return b===null?Q.memoizedState=b=e:b=b.next=e,b}function Oe(){if(J===null){var e=Q.alternate;e=e!==null?e.memoizedState:null}else e=J.next;var t=b===null?Q.memoizedState:b.next;if(t!==null)b=t,J=e;else{if(e===null)throw Error(g(310));J=e,e={memoizedState:J.memoizedState,baseState:J.baseState,baseQueue:J.baseQueue,queue:J.queue,next:null},b===null?Q.memoizedState=b=e:b=b.next=e}return b}function ur(e,t){return typeof t=="function"?t(e):t}function to(e){var t=Oe(),n=t.queue;if(n===null)throw Error(g(311));n.lastRenderedReducer=e;var r=J,l=r.baseQueue,o=n.pending;if(o!==null){if(l!==null){var i=l.next;l.next=o.next,o.next=i}r.baseQueue=l=o,n.pending=null}if(l!==null){o=l.next,r=r.baseState;var u=i=null,s=null,d=o;do{var v=d.lane;if(($t&v)===v)s!==null&&(s=s.next={lane:0,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null}),r=d.hasEagerState?d.eagerState:e(r,d.action);else{var h={lane:v,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null};s===null?(u=s=h,i=r):s=s.next=h,Q.lanes|=v,Vt|=v}d=d.next}while(d!==null&&d!==o);s===null?i=r:s.next=u,Ue(r,t.memoizedState)||(he=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=s,n.lastRenderedState=r}if(e=n.interleaved,e!==null){l=e;do o=l.lane,Q.lanes|=o,Vt|=o,l=l.next;while(l!==e)}else l===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function no(e){var t=Oe(),n=t.queue;if(n===null)throw Error(g(311));n.lastRenderedReducer=e;var r=n.dispatch,l=n.pending,o=t.memoizedState;if(l!==null){n.pending=null;var i=l=l.next;do o=e(o,i.action),i=i.next;while(i!==l);Ue(o,t.memoizedState)||(he=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Ba(){}function Ha(e,t){var n=Q,r=Oe(),l=t(),o=!Ue(r.memoizedState,l);if(o&&(r.memoizedState=l,he=!0),r=r.queue,Fi(Ka.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||b!==null&&b.memoizedState.tag&1){if(n.flags|=2048,sr(9,Qa.bind(null,n,r,l,t),void 0,null),ee===null)throw Error(g(349));$t&30||Wa(n,t,l)}return l}function Wa(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Q.updateQueue,t===null?(t={lastEffect:null,stores:null},Q.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Qa(e,t,n,r){t.value=n,t.getSnapshot=r,Ga(t)&&Ya(e)}function Ka(e,t,n){return n(function(){Ga(t)&&Ya(e)})}function Ga(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Ue(e,n)}catch{return!0}}function Ya(e){var t=rt(e,1);t!==null&&Ae(t,e,1,-1)}function Qu(e){var t=We();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ur,lastRenderedState:e},t.queue=e,e=e.dispatch=Hf.bind(null,Q,e),[t.memoizedState,e]}function sr(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Q.updateQueue,t===null?(t={lastEffect:null,stores:null},Q.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Xa(){return Oe().memoizedState}function $r(e,t,n,r){var l=We();Q.flags|=e,l.memoizedState=sr(1|t,n,void 0,r===void 0?null:r)}function Sl(e,t,n,r){var l=Oe();r=r===void 0?null:r;var o=void 0;if(J!==null){var i=J.memoizedState;if(o=i.destroy,r!==null&&Di(r,i.deps)){l.memoizedState=sr(t,n,o,r);return}}Q.flags|=e,l.memoizedState=sr(1|t,n,o,r)}function Ku(e,t){return $r(8390656,8,e,t)}function Fi(e,t){return Sl(2048,8,e,t)}function Za(e,t){return Sl(4,2,e,t)}function Ja(e,t){return Sl(4,4,e,t)}function qa(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function ba(e,t,n){return n=n!=null?n.concat([e]):null,Sl(4,4,qa.bind(null,t,e),n)}function Ai(){}function ec(e,t){var n=Oe();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Di(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function tc(e,t){var n=Oe();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Di(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function nc(e,t,n){return $t&21?(Ue(n,t)||(n=ua(),Q.lanes|=n,Vt|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,he=!0),e.memoizedState=n)}function Vf(e,t){var n=I;I=n!==0&&4>n?n:4,e(!0);var r=eo.transition;eo.transition={};try{e(!1),t()}finally{I=n,eo.transition=r}}function rc(){return Oe().memoizedState}function Bf(e,t,n){var r=kt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},lc(e))oc(t,n);else if(n=Ua(e,t,n,r),n!==null){var l=de();Ae(n,e,r,l),ic(n,t,r)}}function Hf(e,t,n){var r=kt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(lc(e))oc(t,l);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var i=t.lastRenderedState,u=o(i,n);if(l.hasEagerState=!0,l.eagerState=u,Ue(u,i)){var s=t.interleaved;s===null?(l.next=l,Pi(t)):(l.next=s.next,s.next=l),t.interleaved=l;return}}catch{}finally{}n=Ua(e,t,l,r),n!==null&&(l=de(),Ae(n,e,r,l),ic(n,t,r))}}function lc(e){var t=e.alternate;return e===Q||t!==null&&t===Q}function oc(e,t){Hn=sl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ic(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,hi(e,n)}}var al={readContext:Te,useCallback:oe,useContext:oe,useEffect:oe,useImperativeHandle:oe,useInsertionEffect:oe,useLayoutEffect:oe,useMemo:oe,useReducer:oe,useRef:oe,useState:oe,useDebugValue:oe,useDeferredValue:oe,useTransition:oe,useMutableSource:oe,useSyncExternalStore:oe,useId:oe,unstable_isNewReconciler:!1},Wf={readContext:Te,useCallback:function(e,t){return We().memoizedState=[e,t===void 0?null:t],e},useContext:Te,useEffect:Ku,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,$r(4194308,4,qa.bind(null,t,e),n)},useLayoutEffect:function(e,t){return $r(4194308,4,e,t)},useInsertionEffect:function(e,t){return $r(4,2,e,t)},useMemo:function(e,t){var n=We();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=We();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=Bf.bind(null,Q,e),[r.memoizedState,e]},useRef:function(e){var t=We();return e={current:e},t.memoizedState=e},useState:Qu,useDebugValue:Ai,useDeferredValue:function(e){return We().memoizedState=e},useTransition:function(){var e=Qu(!1),t=e[0];return e=Vf.bind(null,e[1]),We().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Q,l=We();if(H){if(n===void 0)throw Error(g(407));n=n()}else{if(n=t(),ee===null)throw Error(g(349));$t&30||Wa(r,t,n)}l.memoizedState=n;var o={value:n,getSnapshot:t};return l.queue=o,Ku(Ka.bind(null,r,o,e),[e]),r.flags|=2048,sr(9,Qa.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=We(),t=ee.identifierPrefix;if(H){var n=be,r=qe;n=(r&~(1<<32-Fe(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ir++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=$f++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Qf={readContext:Te,useCallback:ec,useContext:Te,useEffect:Fi,useImperativeHandle:ba,useInsertionEffect:Za,useLayoutEffect:Ja,useMemo:tc,useReducer:to,useRef:Xa,useState:function(){return to(ur)},useDebugValue:Ai,useDeferredValue:function(e){var t=Oe();return nc(t,J.memoizedState,e)},useTransition:function(){var e=to(ur)[0],t=Oe().memoizedState;return[e,t]},useMutableSource:Ba,useSyncExternalStore:Ha,useId:rc,unstable_isNewReconciler:!1},Kf={readContext:Te,useCallback:ec,useContext:Te,useEffect:Fi,useImperativeHandle:ba,useInsertionEffect:Za,useLayoutEffect:Ja,useMemo:tc,useReducer:no,useRef:Xa,useState:function(){return no(ur)},useDebugValue:Ai,useDeferredValue:function(e){var t=Oe();return J===null?t.memoizedState=e:nc(t,J.memoizedState,e)},useTransition:function(){var e=no(ur)[0],t=Oe().memoizedState;return[e,t]},useMutableSource:Ba,useSyncExternalStore:Ha,useId:rc,unstable_isNewReconciler:!1};function De(e,t){if(e&&e.defaultProps){t=K({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Vo(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:K({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Nl={isMounted:function(e){return(e=e._reactInternals)?Wt(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=de(),l=kt(e),o=et(r,l);o.payload=t,n!=null&&(o.callback=n),t=xt(e,o,l),t!==null&&(Ae(t,e,l,r),Ar(t,e,l))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=de(),l=kt(e),o=et(r,l);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=xt(e,o,l),t!==null&&(Ae(t,e,l,r),Ar(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=de(),r=kt(e),l=et(n,r);l.tag=2,t!=null&&(l.callback=t),t=xt(e,l,r),t!==null&&(Ae(t,e,r,n),Ar(t,e,r))}};function Gu(e,t,n,r,l,o,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,i):t.prototype&&t.prototype.isPureReactComponent?!er(n,r)||!er(l,o):!0}function uc(e,t,n){var r=!1,l=Ct,o=t.contextType;return typeof o=="object"&&o!==null?o=Te(o):(l=ye(t)?At:se.current,r=t.contextTypes,o=(r=r!=null)?hn(e,l):Ct),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Nl,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=o),t}function Yu(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Nl.enqueueReplaceState(t,t.state,null)}function Bo(e,t,n,r){var l=e.stateNode;l.props=n,l.state=e.memoizedState,l.refs={},Li(e);var o=t.contextType;typeof o=="object"&&o!==null?l.context=Te(o):(o=ye(t)?At:se.current,l.context=hn(e,o)),l.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(Vo(e,t,o,n),l.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof l.getSnapshotBeforeUpdate=="function"||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(t=l.state,typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount(),t!==l.state&&Nl.enqueueReplaceState(l,l.state,null),il(e,n,l,r),l.state=e.memoizedState),typeof l.componentDidMount=="function"&&(e.flags|=4194308)}function xn(e,t){try{var n="",r=t;do n+=xd(r),r=r.return;while(r);var l=n}catch(o){l=`
39
- Error generating stack: `+o.message+`
40
- `+o.stack}return{value:e,source:t,stack:l,digest:null}}function ro(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Ho(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Gf=typeof WeakMap=="function"?WeakMap:Map;function sc(e,t,n){n=et(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){dl||(dl=!0,bo=r),Ho(e,t)},n}function ac(e,t,n){n=et(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var l=t.value;n.payload=function(){return r(l)},n.callback=function(){Ho(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){Ho(e,t),typeof r!="function"&&(wt===null?wt=new Set([this]):wt.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}function Xu(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Gf;var l=new Set;r.set(t,l)}else l=r.get(t),l===void 0&&(l=new Set,r.set(t,l));l.has(n)||(l.add(n),e=up.bind(null,e,t,n),t.then(e,e))}function Zu(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 Ju(e,t,n,r,l){return e.mode&1?(e.flags|=65536,e.lanes=l,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=et(-1,1),t.tag=2,xt(n,t,1))),n.lanes|=1),e)}var Yf=ot.ReactCurrentOwner,he=!1;function ce(e,t,n,r){t.child=e===null?Aa(t,null,n,r):yn(t,e.child,n,r)}function qu(e,t,n,r,l){n=n.render;var o=t.ref;return fn(t,l),r=Mi(e,t,n,r,o,l),n=Ii(),e!==null&&!he?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,lt(e,t,l)):(H&&n&&Ni(t),t.flags|=1,ce(e,t,r,l),t.child)}function bu(e,t,n,r,l){if(e===null){var o=n.type;return typeof o=="function"&&!Ki(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,cc(e,t,o,r,l)):(e=Wr(n.type,null,r,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&l)){var i=o.memoizedProps;if(n=n.compare,n=n!==null?n:er,n(i,r)&&e.ref===t.ref)return lt(e,t,l)}return t.flags|=1,e=St(o,r),e.ref=t.ref,e.return=t,t.child=e}function cc(e,t,n,r,l){if(e!==null){var o=e.memoizedProps;if(er(o,r)&&e.ref===t.ref)if(he=!1,t.pendingProps=r=o,(e.lanes&l)!==0)e.flags&131072&&(he=!0);else return t.lanes=e.lanes,lt(e,t,l)}return Wo(e,t,n,r,l)}function dc(e,t,n){var r=t.pendingProps,l=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},A(un,we),we|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,A(un,we),we|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,A(un,we),we|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,A(un,we),we|=r;return ce(e,t,l,n),t.child}function fc(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Wo(e,t,n,r,l){var o=ye(n)?At:se.current;return o=hn(t,o),fn(t,l),n=Mi(e,t,n,r,o,l),r=Ii(),e!==null&&!he?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,lt(e,t,l)):(H&&r&&Ni(t),t.flags|=1,ce(e,t,n,l),t.child)}function es(e,t,n,r,l){if(ye(n)){var o=!0;tl(t)}else o=!1;if(fn(t,l),t.stateNode===null)Vr(e,t),uc(t,n,r),Bo(t,n,r,l),r=!0;else if(e===null){var i=t.stateNode,u=t.memoizedProps;i.props=u;var s=i.context,d=n.contextType;typeof d=="object"&&d!==null?d=Te(d):(d=ye(n)?At:se.current,d=hn(t,d));var v=n.getDerivedStateFromProps,h=typeof v=="function"||typeof i.getSnapshotBeforeUpdate=="function";h||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(u!==r||s!==d)&&Yu(t,i,r,d),ct=!1;var m=t.memoizedState;i.state=m,il(t,r,i,l),s=t.memoizedState,u!==r||m!==s||ve.current||ct?(typeof v=="function"&&(Vo(t,n,v,r),s=t.memoizedState),(u=ct||Gu(t,n,u,r,m,s,d))?(h||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),i.props=r,i.state=s,i.context=d,r=u):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,$a(e,t),u=t.memoizedProps,d=t.type===t.elementType?u:De(t.type,u),i.props=d,h=t.pendingProps,m=i.context,s=n.contextType,typeof s=="object"&&s!==null?s=Te(s):(s=ye(n)?At:se.current,s=hn(t,s));var x=n.getDerivedStateFromProps;(v=typeof x=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(u!==h||m!==s)&&Yu(t,i,r,s),ct=!1,m=t.memoizedState,i.state=m,il(t,r,i,l);var k=t.memoizedState;u!==h||m!==k||ve.current||ct?(typeof x=="function"&&(Vo(t,n,x,r),k=t.memoizedState),(d=ct||Gu(t,n,d,r,m,k,s)||!1)?(v||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(r,k,s),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(r,k,s)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||u===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=k),i.props=r,i.state=k,i.context=s,r=d):(typeof i.componentDidUpdate!="function"||u===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),r=!1)}return Qo(e,t,n,r,o,l)}function Qo(e,t,n,r,l,o){fc(e,t);var i=(t.flags&128)!==0;if(!r&&!i)return l&&Uu(t,n,!1),lt(e,t,o);r=t.stateNode,Yf.current=t;var u=i&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&i?(t.child=yn(t,e.child,null,o),t.child=yn(t,null,u,o)):ce(e,t,u,o),t.memoizedState=r.state,l&&Uu(t,n,!0),t.child}function pc(e){var t=e.stateNode;t.pendingContext?Au(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Au(e,t.context,!1),Ti(e,t.containerInfo)}function ts(e,t,n,r,l){return vn(),Ei(l),t.flags|=256,ce(e,t,n,r),t.child}var Ko={dehydrated:null,treeContext:null,retryLane:0};function Go(e){return{baseLanes:e,cachePool:null,transitions:null}}function mc(e,t,n){var r=t.pendingProps,l=W.current,o=!1,i=(t.flags&128)!==0,u;if((u=i)||(u=e!==null&&e.memoizedState===null?!1:(l&2)!==0),u?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),A(W,l&1),e===null)return Uo(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):(i=r.children,e=r.fallback,o?(r=t.mode,o=t.child,i={mode:"hidden",children:i},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=i):o=jl(i,r,0,null),e=Ft(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=Go(n),t.memoizedState=Ko,e):Ui(t,i));if(l=e.memoizedState,l!==null&&(u=l.dehydrated,u!==null))return Xf(e,t,i,r,u,l,n);if(o){o=r.fallback,i=t.mode,l=e.child,u=l.sibling;var s={mode:"hidden",children:r.children};return!(i&1)&&t.child!==l?(r=t.child,r.childLanes=0,r.pendingProps=s,t.deletions=null):(r=St(l,s),r.subtreeFlags=l.subtreeFlags&14680064),u!==null?o=St(u,o):(o=Ft(o,i,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,i=e.child.memoizedState,i=i===null?Go(n):{baseLanes:i.baseLanes|n,cachePool:null,transitions:i.transitions},o.memoizedState=i,o.childLanes=e.childLanes&~n,t.memoizedState=Ko,r}return o=e.child,e=o.sibling,r=St(o,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Ui(e,t){return t=jl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function _r(e,t,n,r){return r!==null&&Ei(r),yn(t,e.child,null,n),e=Ui(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Xf(e,t,n,r,l,o,i){if(n)return t.flags&256?(t.flags&=-257,r=ro(Error(g(422))),_r(e,t,i,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,l=t.mode,r=jl({mode:"visible",children:r.children},l,0,null),o=Ft(o,l,i,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&yn(t,e.child,null,i),t.child.memoizedState=Go(i),t.memoizedState=Ko,o);if(!(t.mode&1))return _r(e,t,i,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var u=r.dgst;return r=u,o=Error(g(419)),r=ro(o,r,void 0),_r(e,t,i,r)}if(u=(i&e.childLanes)!==0,he||u){if(r=ee,r!==null){switch(i&-i){case 4:l=2;break;case 16:l=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:l=32;break;case 536870912:l=268435456;break;default:l=0}l=l&(r.suspendedLanes|i)?0:l,l!==0&&l!==o.retryLane&&(o.retryLane=l,rt(e,l),Ae(r,e,l,-1))}return Qi(),r=ro(Error(g(421))),_r(e,t,i,r)}return l.data==="$?"?(t.flags|=128,t.child=e.child,t=sp.bind(null,e),l._reactRetry=t,null):(e=o.treeContext,ke=gt(l.nextSibling),Se=t,H=!0,Ie=null,e!==null&&(ze[_e++]=qe,ze[_e++]=be,ze[_e++]=Ut,qe=e.id,be=e.overflow,Ut=t),t=Ui(t,r.children),t.flags|=4096,t)}function ns(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),$o(e.return,t,n)}function lo(e,t,n,r,l){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:l}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=l)}function hc(e,t,n){var r=t.pendingProps,l=r.revealOrder,o=r.tail;if(ce(e,t,r.children,n),r=W.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&&ns(e,n,t);else if(e.tag===19)ns(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(A(W,r),!(t.mode&1))t.memoizedState=null;else switch(l){case"forwards":for(n=t.child,l=null;n!==null;)e=n.alternate,e!==null&&ul(e)===null&&(l=n),n=n.sibling;n=l,n===null?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),lo(t,!1,l,n,o);break;case"backwards":for(n=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&ul(e)===null){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}lo(t,!0,n,null,o);break;case"together":lo(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Vr(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function lt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Vt|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(g(153));if(t.child!==null){for(e=t.child,n=St(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=St(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Zf(e,t,n){switch(t.tag){case 3:pc(t),vn();break;case 5:Va(t);break;case 1:ye(t.type)&&tl(t);break;case 4:Ti(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,l=t.memoizedProps.value;A(ll,r._currentValue),r._currentValue=l;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(A(W,W.current&1),t.flags|=128,null):n&t.child.childLanes?mc(e,t,n):(A(W,W.current&1),e=lt(e,t,n),e!==null?e.sibling:null);A(W,W.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return hc(e,t,n);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),A(W,W.current),r)break;return null;case 22:case 23:return t.lanes=0,dc(e,t,n)}return lt(e,t,n)}var vc,Yo,yc,gc;vc=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}};Yo=function(){};yc=function(e,t,n,r){var l=e.memoizedProps;if(l!==r){e=t.stateNode,Mt(Ge.current);var o=null;switch(n){case"input":l=vo(e,l),r=vo(e,r),o=[];break;case"select":l=K({},l,{value:void 0}),r=K({},r,{value:void 0}),o=[];break;case"textarea":l=xo(e,l),r=xo(e,r),o=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=br)}ko(n,r);var i;n=null;for(d in l)if(!r.hasOwnProperty(d)&&l.hasOwnProperty(d)&&l[d]!=null)if(d==="style"){var u=l[d];for(i in u)u.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else d!=="dangerouslySetInnerHTML"&&d!=="children"&&d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&d!=="autoFocus"&&(Gn.hasOwnProperty(d)?o||(o=[]):(o=o||[]).push(d,null));for(d in r){var s=r[d];if(u=l!=null?l[d]:void 0,r.hasOwnProperty(d)&&s!==u&&(s!=null||u!=null))if(d==="style")if(u){for(i in u)!u.hasOwnProperty(i)||s&&s.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in s)s.hasOwnProperty(i)&&u[i]!==s[i]&&(n||(n={}),n[i]=s[i])}else n||(o||(o=[]),o.push(d,n)),n=s;else d==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,u=u?u.__html:void 0,s!=null&&u!==s&&(o=o||[]).push(d,s)):d==="children"?typeof s!="string"&&typeof s!="number"||(o=o||[]).push(d,""+s):d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&(Gn.hasOwnProperty(d)?(s!=null&&d==="onScroll"&&U("scroll",e),o||u===s||(o=[])):(o=o||[]).push(d,s))}n&&(o=o||[]).push("style",n);var d=o;(t.updateQueue=d)&&(t.flags|=4)}};gc=function(e,t,n,r){n!==r&&(t.flags|=4)};function On(e,t){if(!H)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 ie(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags&14680064,r|=l.flags&14680064,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Jf(e,t,n){var r=t.pendingProps;switch(Ci(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ie(t),null;case 1:return ye(t.type)&&el(),ie(t),null;case 3:return r=t.stateNode,gn(),$(ve),$(se),Ri(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(jr(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ie!==null&&(ni(Ie),Ie=null))),Yo(e,t),ie(t),null;case 5:Oi(t);var l=Mt(or.current);if(n=t.type,e!==null&&t.stateNode!=null)yc(e,t,n,r,l),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(g(166));return ie(t),null}if(e=Mt(Ge.current),jr(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[Qe]=t,r[rr]=o,e=(t.mode&1)!==0,n){case"dialog":U("cancel",r),U("close",r);break;case"iframe":case"object":case"embed":U("load",r);break;case"video":case"audio":for(l=0;l<Fn.length;l++)U(Fn[l],r);break;case"source":U("error",r);break;case"img":case"image":case"link":U("error",r),U("load",r);break;case"details":U("toggle",r);break;case"input":du(r,o),U("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},U("invalid",r);break;case"textarea":pu(r,o),U("invalid",r)}ko(n,o),l=null;for(var i in o)if(o.hasOwnProperty(i)){var u=o[i];i==="children"?typeof u=="string"?r.textContent!==u&&(o.suppressHydrationWarning!==!0&&Er(r.textContent,u,e),l=["children",u]):typeof u=="number"&&r.textContent!==""+u&&(o.suppressHydrationWarning!==!0&&Er(r.textContent,u,e),l=["children",""+u]):Gn.hasOwnProperty(i)&&u!=null&&i==="onScroll"&&U("scroll",r)}switch(n){case"input":yr(r),fu(r,o,!0);break;case"textarea":yr(r),mu(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=br)}r=l,t.updateQueue=r,r!==null&&(t.flags|=4)}else{i=l.nodeType===9?l:l.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Ks(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=i.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[Qe]=t,e[rr]=r,vc(e,t,!1,!1),t.stateNode=e;e:{switch(i=So(n,r),n){case"dialog":U("cancel",e),U("close",e),l=r;break;case"iframe":case"object":case"embed":U("load",e),l=r;break;case"video":case"audio":for(l=0;l<Fn.length;l++)U(Fn[l],e);l=r;break;case"source":U("error",e),l=r;break;case"img":case"image":case"link":U("error",e),U("load",e),l=r;break;case"details":U("toggle",e),l=r;break;case"input":du(e,r),l=vo(e,r),U("invalid",e);break;case"option":l=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=K({},r,{value:void 0}),U("invalid",e);break;case"textarea":pu(e,r),l=xo(e,r),U("invalid",e);break;default:l=r}ko(n,l),u=l;for(o in u)if(u.hasOwnProperty(o)){var s=u[o];o==="style"?Xs(e,s):o==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,s!=null&&Gs(e,s)):o==="children"?typeof s=="string"?(n!=="textarea"||s!=="")&&Yn(e,s):typeof s=="number"&&Yn(e,""+s):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Gn.hasOwnProperty(o)?s!=null&&o==="onScroll"&&U("scroll",e):s!=null&&ai(e,o,s,i))}switch(n){case"input":yr(e),fu(e,r,!1);break;case"textarea":yr(e),mu(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Nt(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?sn(e,!!r.multiple,o,!1):r.defaultValue!=null&&sn(e,!!r.multiple,r.defaultValue,!0);break;default:typeof l.onClick=="function"&&(e.onclick=br)}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 ie(t),null;case 6:if(e&&t.stateNode!=null)gc(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(g(166));if(n=Mt(or.current),Mt(Ge.current),jr(t)){if(r=t.stateNode,n=t.memoizedProps,r[Qe]=t,(o=r.nodeValue!==n)&&(e=Se,e!==null))switch(e.tag){case 3:Er(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Er(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Qe]=t,t.stateNode=r}return ie(t),null;case 13:if($(W),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(H&&ke!==null&&t.mode&1&&!(t.flags&128))Ia(),vn(),t.flags|=98560,o=!1;else if(o=jr(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(g(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(g(317));o[Qe]=t}else vn(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;ie(t),o=!1}else Ie!==null&&(ni(Ie),Ie=null),o=!0;if(!o)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||W.current&1?q===0&&(q=3):Qi())),t.updateQueue!==null&&(t.flags|=4),ie(t),null);case 4:return gn(),Yo(e,t),e===null&&tr(t.stateNode.containerInfo),ie(t),null;case 10:return _i(t.type._context),ie(t),null;case 17:return ye(t.type)&&el(),ie(t),null;case 19:if($(W),o=t.memoizedState,o===null)return ie(t),null;if(r=(t.flags&128)!==0,i=o.rendering,i===null)if(r)On(o,!1);else{if(q!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=ul(e),i!==null){for(t.flags|=128,On(o,!1),r=i.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,i=o.alternate,i===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=i.childLanes,o.lanes=i.lanes,o.child=i.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=i.memoizedProps,o.memoizedState=i.memoizedState,o.updateQueue=i.updateQueue,o.type=i.type,e=i.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return A(W,W.current&1|2),t.child}e=e.sibling}o.tail!==null&&Y()>wn&&(t.flags|=128,r=!0,On(o,!1),t.lanes=4194304)}else{if(!r)if(e=ul(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),On(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!H)return ie(t),null}else 2*Y()-o.renderingStartTime>wn&&n!==1073741824&&(t.flags|=128,r=!0,On(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(n=o.last,n!==null?n.sibling=i:t.child=i,o.last=i)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Y(),t.sibling=null,n=W.current,A(W,r?n&1|2:n&1),t):(ie(t),null);case 22:case 23:return Wi(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?we&1073741824&&(ie(t),t.subtreeFlags&6&&(t.flags|=8192)):ie(t),null;case 24:return null;case 25:return null}throw Error(g(156,t.tag))}function qf(e,t){switch(Ci(t),t.tag){case 1:return ye(t.type)&&el(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return gn(),$(ve),$(se),Ri(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Oi(t),null;case 13:if($(W),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(g(340));vn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return $(W),null;case 4:return gn(),null;case 10:return _i(t.type._context),null;case 22:case 23:return Wi(),null;case 24:return null;default:return null}}var Pr=!1,ue=!1,bf=typeof WeakSet=="function"?WeakSet:Set,j=null;function on(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){G(e,t,r)}else n.current=null}function Xo(e,t,n){try{n()}catch(r){G(e,t,r)}}var rs=!1;function ep(e,t){if(Oo=Zr,e=Na(),Si(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 l=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var i=0,u=-1,s=-1,d=0,v=0,h=e,m=null;t:for(;;){for(var x;h!==n||l!==0&&h.nodeType!==3||(u=i+l),h!==o||r!==0&&h.nodeType!==3||(s=i+r),h.nodeType===3&&(i+=h.nodeValue.length),(x=h.firstChild)!==null;)m=h,h=x;for(;;){if(h===e)break t;if(m===n&&++d===l&&(u=i),m===o&&++v===r&&(s=i),(x=h.nextSibling)!==null)break;h=m,m=h.parentNode}h=x}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ro={focusedElem:e,selectionRange:n},Zr=!1,j=t;j!==null;)if(t=j,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,j=e;else for(;j!==null;){t=j;try{var k=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(k!==null){var S=k.memoizedProps,F=k.memoizedState,f=t.stateNode,a=f.getSnapshotBeforeUpdate(t.elementType===t.type?S:De(t.type,S),F);f.__reactInternalSnapshotBeforeUpdate=a}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(g(163))}}catch(y){G(t,t.return,y)}if(e=t.sibling,e!==null){e.return=t.return,j=e;break}j=t.return}return k=rs,rs=!1,k}function Wn(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var o=l.destroy;l.destroy=void 0,o!==void 0&&Xo(t,n,o)}l=l.next}while(l!==r)}}function Cl(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 Zo(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 xc(e){var t=e.alternate;t!==null&&(e.alternate=null,xc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Qe],delete t[rr],delete t[Io],delete t[If],delete t[Ff])),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 wc(e){return e.tag===5||e.tag===3||e.tag===4}function ls(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||wc(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 Jo(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=br));else if(r!==4&&(e=e.child,e!==null))for(Jo(e,t,n),e=e.sibling;e!==null;)Jo(e,t,n),e=e.sibling}function qo(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(qo(e,t,n),e=e.sibling;e!==null;)qo(e,t,n),e=e.sibling}var ne=null,Me=!1;function st(e,t,n){for(n=n.child;n!==null;)kc(e,t,n),n=n.sibling}function kc(e,t,n){if(Ke&&typeof Ke.onCommitFiberUnmount=="function")try{Ke.onCommitFiberUnmount(vl,n)}catch{}switch(n.tag){case 5:ue||on(n,t);case 6:var r=ne,l=Me;ne=null,st(e,t,n),ne=r,Me=l,ne!==null&&(Me?(e=ne,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ne.removeChild(n.stateNode));break;case 18:ne!==null&&(Me?(e=ne,n=n.stateNode,e.nodeType===8?Jl(e.parentNode,n):e.nodeType===1&&Jl(e,n),qn(e)):Jl(ne,n.stateNode));break;case 4:r=ne,l=Me,ne=n.stateNode.containerInfo,Me=!0,st(e,t,n),ne=r,Me=l;break;case 0:case 11:case 14:case 15:if(!ue&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var o=l,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&Xo(n,t,i),l=l.next}while(l!==r)}st(e,t,n);break;case 1:if(!ue&&(on(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){G(n,t,u)}st(e,t,n);break;case 21:st(e,t,n);break;case 22:n.mode&1?(ue=(r=ue)||n.memoizedState!==null,st(e,t,n),ue=r):st(e,t,n);break;default:st(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 bf),t.forEach(function(r){var l=ap.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Re(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var l=n[r];try{var o=e,i=t,u=i;e:for(;u!==null;){switch(u.tag){case 5:ne=u.stateNode,Me=!1;break e;case 3:ne=u.stateNode.containerInfo,Me=!0;break e;case 4:ne=u.stateNode.containerInfo,Me=!0;break e}u=u.return}if(ne===null)throw Error(g(160));kc(o,i,l),ne=null,Me=!1;var s=l.alternate;s!==null&&(s.return=null),l.return=null}catch(d){G(l,t,d)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Sc(t,e),t=t.sibling}function Sc(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Re(t,e),He(e),r&4){try{Wn(3,e,e.return),Cl(3,e)}catch(S){G(e,e.return,S)}try{Wn(5,e,e.return)}catch(S){G(e,e.return,S)}}break;case 1:Re(t,e),He(e),r&512&&n!==null&&on(n,n.return);break;case 5:if(Re(t,e),He(e),r&512&&n!==null&&on(n,n.return),e.flags&32){var l=e.stateNode;try{Yn(l,"")}catch(S){G(e,e.return,S)}}if(r&4&&(l=e.stateNode,l!=null)){var o=e.memoizedProps,i=n!==null?n.memoizedProps:o,u=e.type,s=e.updateQueue;if(e.updateQueue=null,s!==null)try{u==="input"&&o.type==="radio"&&o.name!=null&&Ws(l,o),So(u,i);var d=So(u,o);for(i=0;i<s.length;i+=2){var v=s[i],h=s[i+1];v==="style"?Xs(l,h):v==="dangerouslySetInnerHTML"?Gs(l,h):v==="children"?Yn(l,h):ai(l,v,h,d)}switch(u){case"input":yo(l,o);break;case"textarea":Qs(l,o);break;case"select":var m=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!o.multiple;var x=o.value;x!=null?sn(l,!!o.multiple,x,!1):m!==!!o.multiple&&(o.defaultValue!=null?sn(l,!!o.multiple,o.defaultValue,!0):sn(l,!!o.multiple,o.multiple?[]:"",!1))}l[rr]=o}catch(S){G(e,e.return,S)}}break;case 6:if(Re(t,e),He(e),r&4){if(e.stateNode===null)throw Error(g(162));l=e.stateNode,o=e.memoizedProps;try{l.nodeValue=o}catch(S){G(e,e.return,S)}}break;case 3:if(Re(t,e),He(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{qn(t.containerInfo)}catch(S){G(e,e.return,S)}break;case 4:Re(t,e),He(e);break;case 13:Re(t,e),He(e),l=e.child,l.flags&8192&&(o=l.memoizedState!==null,l.stateNode.isHidden=o,!o||l.alternate!==null&&l.alternate.memoizedState!==null||(Bi=Y())),r&4&&os(e);break;case 22:if(v=n!==null&&n.memoizedState!==null,e.mode&1?(ue=(d=ue)||v,Re(t,e),ue=d):Re(t,e),He(e),r&8192){if(d=e.memoizedState!==null,(e.stateNode.isHidden=d)&&!v&&e.mode&1)for(j=e,v=e.child;v!==null;){for(h=j=v;j!==null;){switch(m=j,x=m.child,m.tag){case 0:case 11:case 14:case 15:Wn(4,m,m.return);break;case 1:on(m,m.return);var k=m.stateNode;if(typeof k.componentWillUnmount=="function"){r=m,n=m.return;try{t=r,k.props=t.memoizedProps,k.state=t.memoizedState,k.componentWillUnmount()}catch(S){G(r,n,S)}}break;case 5:on(m,m.return);break;case 22:if(m.memoizedState!==null){us(h);continue}}x!==null?(x.return=m,j=x):us(h)}v=v.sibling}e:for(v=null,h=e;;){if(h.tag===5){if(v===null){v=h;try{l=h.stateNode,d?(o=l.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(u=h.stateNode,s=h.memoizedProps.style,i=s!=null&&s.hasOwnProperty("display")?s.display:null,u.style.display=Ys("display",i))}catch(S){G(e,e.return,S)}}}else if(h.tag===6){if(v===null)try{h.stateNode.nodeValue=d?"":h.memoizedProps}catch(S){G(e,e.return,S)}}else if((h.tag!==22&&h.tag!==23||h.memoizedState===null||h===e)&&h.child!==null){h.child.return=h,h=h.child;continue}if(h===e)break e;for(;h.sibling===null;){if(h.return===null||h.return===e)break e;v===h&&(v=null),h=h.return}v===h&&(v=null),h.sibling.return=h.return,h=h.sibling}}break;case 19:Re(t,e),He(e),r&4&&os(e);break;case 21:break;default:Re(t,e),He(e)}}function He(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(wc(n)){var r=n;break e}n=n.return}throw Error(g(160))}switch(r.tag){case 5:var l=r.stateNode;r.flags&32&&(Yn(l,""),r.flags&=-33);var o=ls(e);qo(e,o,l);break;case 3:case 4:var i=r.stateNode.containerInfo,u=ls(e);Jo(e,u,i);break;default:throw Error(g(161))}}catch(s){G(e,e.return,s)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function tp(e,t,n){j=e,Nc(e)}function Nc(e,t,n){for(var r=(e.mode&1)!==0;j!==null;){var l=j,o=l.child;if(l.tag===22&&r){var i=l.memoizedState!==null||Pr;if(!i){var u=l.alternate,s=u!==null&&u.memoizedState!==null||ue;u=Pr;var d=ue;if(Pr=i,(ue=s)&&!d)for(j=l;j!==null;)i=j,s=i.child,i.tag===22&&i.memoizedState!==null?ss(l):s!==null?(s.return=i,j=s):ss(l);for(;o!==null;)j=o,Nc(o),o=o.sibling;j=l,Pr=u,ue=d}is(e)}else l.subtreeFlags&8772&&o!==null?(o.return=l,j=o):is(e)}}function is(e){for(;j!==null;){var t=j;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:ue||Cl(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!ue)if(n===null)r.componentDidMount();else{var l=t.elementType===t.type?n.memoizedProps:De(t.type,n.memoizedProps);r.componentDidUpdate(l,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&Wu(t,o,r);break;case 3:var i=t.updateQueue;if(i!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Wu(t,i,n)}break;case 5:var u=t.stateNode;if(n===null&&t.flags&4){n=u;var s=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&n.focus();break;case"img":s.src&&(n.src=s.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var d=t.alternate;if(d!==null){var v=d.memoizedState;if(v!==null){var h=v.dehydrated;h!==null&&qn(h)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(g(163))}ue||t.flags&512&&Zo(t)}catch(m){G(t,t.return,m)}}if(t===e){j=null;break}if(n=t.sibling,n!==null){n.return=t.return,j=n;break}j=t.return}}function us(e){for(;j!==null;){var t=j;if(t===e){j=null;break}var n=t.sibling;if(n!==null){n.return=t.return,j=n;break}j=t.return}}function ss(e){for(;j!==null;){var t=j;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Cl(4,t)}catch(s){G(t,n,s)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var l=t.return;try{r.componentDidMount()}catch(s){G(t,l,s)}}var o=t.return;try{Zo(t)}catch(s){G(t,o,s)}break;case 5:var i=t.return;try{Zo(t)}catch(s){G(t,i,s)}}}catch(s){G(t,t.return,s)}if(t===e){j=null;break}var u=t.sibling;if(u!==null){u.return=t.return,j=u;break}j=t.return}}var np=Math.ceil,cl=ot.ReactCurrentDispatcher,$i=ot.ReactCurrentOwner,Le=ot.ReactCurrentBatchConfig,M=0,ee=null,Z=null,re=0,we=0,un=jt(0),q=0,ar=null,Vt=0,El=0,Vi=0,Qn=null,me=null,Bi=0,wn=1/0,Ze=null,dl=!1,bo=null,wt=null,Lr=!1,mt=null,fl=0,Kn=0,ei=null,Br=-1,Hr=0;function de(){return M&6?Y():Br!==-1?Br:Br=Y()}function kt(e){return e.mode&1?M&2&&re!==0?re&-re:Uf.transition!==null?(Hr===0&&(Hr=ua()),Hr):(e=I,e!==0||(e=window.event,e=e===void 0?16:ma(e.type)),e):1}function Ae(e,t,n,r){if(50<Kn)throw Kn=0,ei=null,Error(g(185));dr(e,n,r),(!(M&2)||e!==ee)&&(e===ee&&(!(M&2)&&(El|=n),q===4&&ft(e,re)),ge(e,r),n===1&&M===0&&!(t.mode&1)&&(wn=Y()+500,kl&&zt()))}function ge(e,t){var n=e.callbackNode;Ad(e,t);var r=Xr(e,e===ee?re:0);if(r===0)n!==null&&yu(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&yu(n),t===1)e.tag===0?Af(as.bind(null,e)):Ra(as.bind(null,e)),Df(function(){!(M&6)&&zt()}),n=null;else{switch(sa(r)){case 1:n=mi;break;case 4:n=oa;break;case 16:n=Yr;break;case 536870912:n=ia;break;default:n=Yr}n=Tc(n,Cc.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Cc(e,t){if(Br=-1,Hr=0,M&6)throw Error(g(327));var n=e.callbackNode;if(pn()&&e.callbackNode!==n)return null;var r=Xr(e,e===ee?re:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=pl(e,r);else{t=r;var l=M;M|=2;var o=jc();(ee!==e||re!==t)&&(Ze=null,wn=Y()+500,It(e,t));do try{op();break}catch(u){Ec(e,u)}while(!0);zi(),cl.current=o,M=l,Z!==null?t=0:(ee=null,re=0,t=q)}if(t!==0){if(t===2&&(l=zo(e),l!==0&&(r=l,t=ti(e,l))),t===1)throw n=ar,It(e,0),ft(e,r),ge(e,Y()),n;if(t===6)ft(e,r);else{if(l=e.current.alternate,!(r&30)&&!rp(l)&&(t=pl(e,r),t===2&&(o=zo(e),o!==0&&(r=o,t=ti(e,o))),t===1))throw n=ar,It(e,0),ft(e,r),ge(e,Y()),n;switch(e.finishedWork=l,e.finishedLanes=r,t){case 0:case 1:throw Error(g(345));case 2:Ot(e,me,Ze);break;case 3:if(ft(e,r),(r&130023424)===r&&(t=Bi+500-Y(),10<t)){if(Xr(e,0)!==0)break;if(l=e.suspendedLanes,(l&r)!==r){de(),e.pingedLanes|=e.suspendedLanes&l;break}e.timeoutHandle=Mo(Ot.bind(null,e,me,Ze),t);break}Ot(e,me,Ze);break;case 4:if(ft(e,r),(r&4194240)===r)break;for(t=e.eventTimes,l=-1;0<r;){var i=31-Fe(r);o=1<<i,i=t[i],i>l&&(l=i),r&=~o}if(r=l,r=Y()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*np(r/1960))-r,10<r){e.timeoutHandle=Mo(Ot.bind(null,e,me,Ze),r);break}Ot(e,me,Ze);break;case 5:Ot(e,me,Ze);break;default:throw Error(g(329))}}}return ge(e,Y()),e.callbackNode===n?Cc.bind(null,e):null}function ti(e,t){var n=Qn;return e.current.memoizedState.isDehydrated&&(It(e,t).flags|=256),e=pl(e,t),e!==2&&(t=me,me=n,t!==null&&ni(t)),e}function ni(e){me===null?me=e:me.push.apply(me,e)}function rp(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var l=n[r],o=l.getSnapshot;l=l.value;try{if(!Ue(o(),l))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function ft(e,t){for(t&=~Vi,t&=~El,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Fe(t),r=1<<n;e[n]=-1,t&=~r}}function as(e){if(M&6)throw Error(g(327));pn();var t=Xr(e,0);if(!(t&1))return ge(e,Y()),null;var n=pl(e,t);if(e.tag!==0&&n===2){var r=zo(e);r!==0&&(t=r,n=ti(e,r))}if(n===1)throw n=ar,It(e,0),ft(e,t),ge(e,Y()),n;if(n===6)throw Error(g(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Ot(e,me,Ze),ge(e,Y()),null}function Hi(e,t){var n=M;M|=1;try{return e(t)}finally{M=n,M===0&&(wn=Y()+500,kl&&zt())}}function Bt(e){mt!==null&&mt.tag===0&&!(M&6)&&pn();var t=M;M|=1;var n=Le.transition,r=I;try{if(Le.transition=null,I=1,e)return e()}finally{I=r,Le.transition=n,M=t,!(M&6)&&zt()}}function Wi(){we=un.current,$(un)}function It(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Rf(n)),Z!==null)for(n=Z.return;n!==null;){var r=n;switch(Ci(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&el();break;case 3:gn(),$(ve),$(se),Ri();break;case 5:Oi(r);break;case 4:gn();break;case 13:$(W);break;case 19:$(W);break;case 10:_i(r.type._context);break;case 22:case 23:Wi()}n=n.return}if(ee=e,Z=e=St(e.current,null),re=we=t,q=0,ar=null,Vi=El=Vt=0,me=Qn=null,Dt!==null){for(t=0;t<Dt.length;t++)if(n=Dt[t],r=n.interleaved,r!==null){n.interleaved=null;var l=r.next,o=n.pending;if(o!==null){var i=o.next;o.next=l,r.next=i}n.pending=r}Dt=null}return e}function Ec(e,t){do{var n=Z;try{if(zi(),Ur.current=al,sl){for(var r=Q.memoizedState;r!==null;){var l=r.queue;l!==null&&(l.pending=null),r=r.next}sl=!1}if($t=0,b=J=Q=null,Hn=!1,ir=0,$i.current=null,n===null||n.return===null){q=1,ar=t,Z=null;break}e:{var o=e,i=n.return,u=n,s=t;if(t=re,u.flags|=32768,s!==null&&typeof s=="object"&&typeof s.then=="function"){var d=s,v=u,h=v.tag;if(!(v.mode&1)&&(h===0||h===11||h===15)){var m=v.alternate;m?(v.updateQueue=m.updateQueue,v.memoizedState=m.memoizedState,v.lanes=m.lanes):(v.updateQueue=null,v.memoizedState=null)}var x=Zu(i);if(x!==null){x.flags&=-257,Ju(x,i,u,o,t),x.mode&1&&Xu(o,d,t),t=x,s=d;var k=t.updateQueue;if(k===null){var S=new Set;S.add(s),t.updateQueue=S}else k.add(s);break e}else{if(!(t&1)){Xu(o,d,t),Qi();break e}s=Error(g(426))}}else if(H&&u.mode&1){var F=Zu(i);if(F!==null){!(F.flags&65536)&&(F.flags|=256),Ju(F,i,u,o,t),Ei(xn(s,u));break e}}o=s=xn(s,u),q!==4&&(q=2),Qn===null?Qn=[o]:Qn.push(o),o=i;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var f=sc(o,s,t);Hu(o,f);break e;case 1:u=s;var a=o.type,p=o.stateNode;if(!(o.flags&128)&&(typeof a.getDerivedStateFromError=="function"||p!==null&&typeof p.componentDidCatch=="function"&&(wt===null||!wt.has(p)))){o.flags|=65536,t&=-t,o.lanes|=t;var y=ac(o,u,t);Hu(o,y);break e}}o=o.return}while(o!==null)}_c(n)}catch(N){t=N,Z===n&&n!==null&&(Z=n=n.return);continue}break}while(!0)}function jc(){var e=cl.current;return cl.current=al,e===null?al:e}function Qi(){(q===0||q===3||q===2)&&(q=4),ee===null||!(Vt&268435455)&&!(El&268435455)||ft(ee,re)}function pl(e,t){var n=M;M|=2;var r=jc();(ee!==e||re!==t)&&(Ze=null,It(e,t));do try{lp();break}catch(l){Ec(e,l)}while(!0);if(zi(),M=n,cl.current=r,Z!==null)throw Error(g(261));return ee=null,re=0,q}function lp(){for(;Z!==null;)zc(Z)}function op(){for(;Z!==null&&!Pd();)zc(Z)}function zc(e){var t=Lc(e.alternate,e,we);e.memoizedProps=e.pendingProps,t===null?_c(e):Z=t,$i.current=null}function _c(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=qf(n,t),n!==null){n.flags&=32767,Z=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{q=6,Z=null;return}}else if(n=Jf(n,t,we),n!==null){Z=n;return}if(t=t.sibling,t!==null){Z=t;return}Z=t=e}while(t!==null);q===0&&(q=5)}function Ot(e,t,n){var r=I,l=Le.transition;try{Le.transition=null,I=1,ip(e,t,n,r)}finally{Le.transition=l,I=r}return null}function ip(e,t,n,r){do pn();while(mt!==null);if(M&6)throw Error(g(327));n=e.finishedWork;var l=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(g(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(Ud(e,o),e===ee&&(Z=ee=null,re=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Lr||(Lr=!0,Tc(Yr,function(){return pn(),null})),o=(n.flags&15990)!==0,n.subtreeFlags&15990||o){o=Le.transition,Le.transition=null;var i=I;I=1;var u=M;M|=4,$i.current=null,ep(e,n),Sc(n,e),jf(Ro),Zr=!!Oo,Ro=Oo=null,e.current=n,tp(n),Ld(),M=u,I=i,Le.transition=o}else e.current=n;if(Lr&&(Lr=!1,mt=e,fl=l),o=e.pendingLanes,o===0&&(wt=null),Rd(n.stateNode),ge(e,Y()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)l=t[n],r(l.value,{componentStack:l.stack,digest:l.digest});if(dl)throw dl=!1,e=bo,bo=null,e;return fl&1&&e.tag!==0&&pn(),o=e.pendingLanes,o&1?e===ei?Kn++:(Kn=0,ei=e):Kn=0,zt(),null}function pn(){if(mt!==null){var e=sa(fl),t=Le.transition,n=I;try{if(Le.transition=null,I=16>e?16:e,mt===null)var r=!1;else{if(e=mt,mt=null,fl=0,M&6)throw Error(g(331));var l=M;for(M|=4,j=e.current;j!==null;){var o=j,i=o.child;if(j.flags&16){var u=o.deletions;if(u!==null){for(var s=0;s<u.length;s++){var d=u[s];for(j=d;j!==null;){var v=j;switch(v.tag){case 0:case 11:case 15:Wn(8,v,o)}var h=v.child;if(h!==null)h.return=v,j=h;else for(;j!==null;){v=j;var m=v.sibling,x=v.return;if(xc(v),v===d){j=null;break}if(m!==null){m.return=x,j=m;break}j=x}}}var k=o.alternate;if(k!==null){var S=k.child;if(S!==null){k.child=null;do{var F=S.sibling;S.sibling=null,S=F}while(S!==null)}}j=o}}if(o.subtreeFlags&2064&&i!==null)i.return=o,j=i;else e:for(;j!==null;){if(o=j,o.flags&2048)switch(o.tag){case 0:case 11:case 15:Wn(9,o,o.return)}var f=o.sibling;if(f!==null){f.return=o.return,j=f;break e}j=o.return}}var a=e.current;for(j=a;j!==null;){i=j;var p=i.child;if(i.subtreeFlags&2064&&p!==null)p.return=i,j=p;else e:for(i=a;j!==null;){if(u=j,u.flags&2048)try{switch(u.tag){case 0:case 11:case 15:Cl(9,u)}}catch(N){G(u,u.return,N)}if(u===i){j=null;break e}var y=u.sibling;if(y!==null){y.return=u.return,j=y;break e}j=u.return}}if(M=l,zt(),Ke&&typeof Ke.onPostCommitFiberRoot=="function")try{Ke.onPostCommitFiberRoot(vl,e)}catch{}r=!0}return r}finally{I=n,Le.transition=t}}return!1}function cs(e,t,n){t=xn(n,t),t=sc(e,t,1),e=xt(e,t,1),t=de(),e!==null&&(dr(e,1,t),ge(e,t))}function G(e,t,n){if(e.tag===3)cs(e,e,n);else for(;t!==null;){if(t.tag===3){cs(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(wt===null||!wt.has(r))){e=xn(n,e),e=ac(t,e,1),t=xt(t,e,1),e=de(),t!==null&&(dr(t,1,e),ge(t,e));break}}t=t.return}}function up(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=de(),e.pingedLanes|=e.suspendedLanes&n,ee===e&&(re&n)===n&&(q===4||q===3&&(re&130023424)===re&&500>Y()-Bi?It(e,0):Vi|=n),ge(e,t)}function Pc(e,t){t===0&&(e.mode&1?(t=wr,wr<<=1,!(wr&130023424)&&(wr=4194304)):t=1);var n=de();e=rt(e,t),e!==null&&(dr(e,t,n),ge(e,n))}function sp(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Pc(e,n)}function ap(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(g(314))}r!==null&&r.delete(t),Pc(e,n)}var Lc;Lc=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ve.current)he=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return he=!1,Zf(e,t,n);he=!!(e.flags&131072)}else he=!1,H&&t.flags&1048576&&Da(t,rl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Vr(e,t),e=t.pendingProps;var l=hn(t,se.current);fn(t,n),l=Mi(null,t,r,e,l,n);var o=Ii();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ye(r)?(o=!0,tl(t)):o=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Li(t),l.updater=Nl,t.stateNode=l,l._reactInternals=t,Bo(t,r,e,n),t=Qo(null,t,r,!0,o,n)):(t.tag=0,H&&o&&Ni(t),ce(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Vr(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=dp(r),e=De(r,e),l){case 0:t=Wo(null,t,r,e,n);break e;case 1:t=es(null,t,r,e,n);break e;case 11:t=qu(null,t,r,e,n);break e;case 14:t=bu(null,t,r,De(r.type,e),n);break e}throw Error(g(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:De(r,l),Wo(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:De(r,l),es(e,t,r,l,n);case 3:e:{if(pc(t),e===null)throw Error(g(387));r=t.pendingProps,o=t.memoizedState,l=o.element,$a(e,t),il(t,r,null,n);var i=t.memoizedState;if(r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){l=xn(Error(g(423)),t),t=ts(e,t,r,n,l);break e}else if(r!==l){l=xn(Error(g(424)),t),t=ts(e,t,r,n,l);break e}else for(ke=gt(t.stateNode.containerInfo.firstChild),Se=t,H=!0,Ie=null,n=Aa(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(vn(),r===l){t=lt(e,t,n);break e}ce(e,t,r,n)}t=t.child}return t;case 5:return Va(t),e===null&&Uo(t),r=t.type,l=t.pendingProps,o=e!==null?e.memoizedProps:null,i=l.children,Do(r,l)?i=null:o!==null&&Do(r,o)&&(t.flags|=32),fc(e,t),ce(e,t,i,n),t.child;case 6:return e===null&&Uo(t),null;case 13:return mc(e,t,n);case 4:return Ti(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=yn(t,null,r,n):ce(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:De(r,l),qu(e,t,r,l,n);case 7:return ce(e,t,t.pendingProps,n),t.child;case 8:return ce(e,t,t.pendingProps.children,n),t.child;case 12:return ce(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,o=t.memoizedProps,i=l.value,A(ll,r._currentValue),r._currentValue=i,o!==null)if(Ue(o.value,i)){if(o.children===l.children&&!ve.current){t=lt(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var u=o.dependencies;if(u!==null){i=o.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(o.tag===1){s=et(-1,n&-n),s.tag=2;var d=o.updateQueue;if(d!==null){d=d.shared;var v=d.pending;v===null?s.next=s:(s.next=v.next,v.next=s),d.pending=s}}o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),$o(o.return,n,t),u.lanes|=n;break}s=s.next}}else if(o.tag===10)i=o.type===t.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(g(341));i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),$o(i,n,t),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===t){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}ce(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,fn(t,n),l=Te(l),r=r(l),t.flags|=1,ce(e,t,r,n),t.child;case 14:return r=t.type,l=De(r,t.pendingProps),l=De(r.type,l),bu(e,t,r,l,n);case 15:return cc(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:De(r,l),Vr(e,t),t.tag=1,ye(r)?(e=!0,tl(t)):e=!1,fn(t,n),uc(t,r,l),Bo(t,r,l,n),Qo(null,t,r,!0,e,n);case 19:return hc(e,t,n);case 22:return dc(e,t,n)}throw Error(g(156,t.tag))};function Tc(e,t){return la(e,t)}function cp(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 Pe(e,t,n,r){return new cp(e,t,n,r)}function Ki(e){return e=e.prototype,!(!e||!e.isReactComponent)}function dp(e){if(typeof e=="function")return Ki(e)?1:0;if(e!=null){if(e=e.$$typeof,e===di)return 11;if(e===fi)return 14}return 2}function St(e,t){var n=e.alternate;return n===null?(n=Pe(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 Wr(e,t,n,r,l,o){var i=2;if(r=e,typeof e=="function")Ki(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Zt:return Ft(n.children,l,o,t);case ci:i=8,l|=8;break;case fo:return e=Pe(12,n,t,l|2),e.elementType=fo,e.lanes=o,e;case po:return e=Pe(13,n,t,l),e.elementType=po,e.lanes=o,e;case mo:return e=Pe(19,n,t,l),e.elementType=mo,e.lanes=o,e;case Vs:return jl(n,l,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Us:i=10;break e;case $s:i=9;break e;case di:i=11;break e;case fi:i=14;break e;case at:i=16,r=null;break e}throw Error(g(130,e==null?e:typeof e,""))}return t=Pe(i,n,t,l),t.elementType=e,t.type=r,t.lanes=o,t}function Ft(e,t,n,r){return e=Pe(7,e,r,t),e.lanes=n,e}function jl(e,t,n,r){return e=Pe(22,e,r,t),e.elementType=Vs,e.lanes=n,e.stateNode={isHidden:!1},e}function oo(e,t,n){return e=Pe(6,e,null,t),e.lanes=n,e}function io(e,t,n){return t=Pe(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function fp(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=$l(0),this.expirationTimes=$l(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=$l(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Gi(e,t,n,r,l,o,i,u,s){return e=new fp(e,t,n,u,s),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Pe(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Li(o),e}function pp(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Xt,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Oc(e){if(!e)return Ct;e=e._reactInternals;e:{if(Wt(e)!==e||e.tag!==1)throw Error(g(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(ye(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(g(171))}if(e.tag===1){var n=e.type;if(ye(n))return Oa(e,n,t)}return t}function Rc(e,t,n,r,l,o,i,u,s){return e=Gi(n,r,!0,e,l,o,i,u,s),e.context=Oc(null),n=e.current,r=de(),l=kt(n),o=et(r,l),o.callback=t??null,xt(n,o,l),e.current.lanes=l,dr(e,l,r),ge(e,r),e}function zl(e,t,n,r){var l=t.current,o=de(),i=kt(l);return n=Oc(n),t.context===null?t.context=n:t.pendingContext=n,t=et(o,i),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=xt(l,t,i),e!==null&&(Ae(e,l,i,o),Ar(e,l,i)),i}function ml(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function ds(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Yi(e,t){ds(e,t),(e=e.alternate)&&ds(e,t)}function mp(){return null}var Dc=typeof reportError=="function"?reportError:function(e){console.error(e)};function Xi(e){this._internalRoot=e}_l.prototype.render=Xi.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(g(409));zl(e,t,null,null)};_l.prototype.unmount=Xi.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Bt(function(){zl(null,e,null,null)}),t[nt]=null}};function _l(e){this._internalRoot=e}_l.prototype.unstable_scheduleHydration=function(e){if(e){var t=da();e={blockedOn:null,target:e,priority:t};for(var n=0;n<dt.length&&t!==0&&t<dt[n].priority;n++);dt.splice(n,0,e),n===0&&pa(e)}};function Zi(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Pl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function fs(){}function hp(e,t,n,r,l){if(l){if(typeof r=="function"){var o=r;r=function(){var d=ml(i);o.call(d)}}var i=Rc(t,r,e,0,null,!1,!1,"",fs);return e._reactRootContainer=i,e[nt]=i.current,tr(e.nodeType===8?e.parentNode:e),Bt(),i}for(;l=e.lastChild;)e.removeChild(l);if(typeof r=="function"){var u=r;r=function(){var d=ml(s);u.call(d)}}var s=Gi(e,0,!1,null,null,!1,!1,"",fs);return e._reactRootContainer=s,e[nt]=s.current,tr(e.nodeType===8?e.parentNode:e),Bt(function(){zl(t,s,n,r)}),s}function Ll(e,t,n,r,l){var o=n._reactRootContainer;if(o){var i=o;if(typeof l=="function"){var u=l;l=function(){var s=ml(i);u.call(s)}}zl(t,i,e,l)}else i=hp(n,t,e,l,r);return ml(i)}aa=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=In(t.pendingLanes);n!==0&&(hi(t,n|1),ge(t,Y()),!(M&6)&&(wn=Y()+500,zt()))}break;case 13:Bt(function(){var r=rt(e,1);if(r!==null){var l=de();Ae(r,e,1,l)}}),Yi(e,1)}};vi=function(e){if(e.tag===13){var t=rt(e,134217728);if(t!==null){var n=de();Ae(t,e,134217728,n)}Yi(e,134217728)}};ca=function(e){if(e.tag===13){var t=kt(e),n=rt(e,t);if(n!==null){var r=de();Ae(n,e,t,r)}Yi(e,t)}};da=function(){return I};fa=function(e,t){var n=I;try{return I=e,t()}finally{I=n}};Co=function(e,t,n){switch(t){case"input":if(yo(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var l=wl(r);if(!l)throw Error(g(90));Hs(r),yo(r,l)}}}break;case"textarea":Qs(e,n);break;case"select":t=n.value,t!=null&&sn(e,!!n.multiple,t,!1)}};qs=Hi;bs=Bt;var vp={usingClientEntryPoint:!1,Events:[pr,en,wl,Zs,Js,Hi]},Rn={findFiberByHostInstance:Rt,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},yp={bundleType:Rn.bundleType,version:Rn.version,rendererPackageName:Rn.rendererPackageName,rendererConfig:Rn.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:ot.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=na(e),e===null?null:e.stateNode},findFiberByHostInstance:Rn.findFiberByHostInstance||mp,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Tr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Tr.isDisabled&&Tr.supportsFiber)try{vl=Tr.inject(yp),Ke=Tr}catch{}}Ce.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=vp;Ce.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Zi(t))throw Error(g(200));return pp(e,t,null,n)};Ce.createRoot=function(e,t){if(!Zi(e))throw Error(g(299));var n=!1,r="",l=Dc;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(l=t.onRecoverableError)),t=Gi(e,1,!1,null,null,n,!1,r,l),e[nt]=t.current,tr(e.nodeType===8?e.parentNode:e),new Xi(t)};Ce.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(g(188)):(e=Object.keys(e).join(","),Error(g(268,e)));return e=na(t),e=e===null?null:e.stateNode,e};Ce.flushSync=function(e){return Bt(e)};Ce.hydrate=function(e,t,n){if(!Pl(t))throw Error(g(200));return Ll(null,e,t,!0,n)};Ce.hydrateRoot=function(e,t,n){if(!Zi(e))throw Error(g(405));var r=n!=null&&n.hydratedSources||null,l=!1,o="",i=Dc;if(n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(i=n.onRecoverableError)),t=Rc(t,null,e,1,n??null,l,!1,o,i),e[nt]=t.current,tr(e),r)for(e=0;e<r.length;e++)n=r[e],l=n._getVersion,l=l(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,l]:t.mutableSourceEagerHydrationData.push(n,l);return new _l(t)};Ce.render=function(e,t,n){if(!Pl(t))throw Error(g(200));return Ll(null,e,t,!1,n)};Ce.unmountComponentAtNode=function(e){if(!Pl(e))throw Error(g(40));return e._reactRootContainer?(Bt(function(){Ll(null,null,e,!1,function(){e._reactRootContainer=null,e[nt]=null})}),!0):!1};Ce.unstable_batchedUpdates=Hi;Ce.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Pl(n))throw Error(g(200));if(e==null||e._reactInternals===void 0)throw Error(g(38));return Ll(e,t,n,!1,r)};Ce.version="18.3.1-next-f1338f8080-20240426";function Mc(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Mc)}catch(e){console.error(e)}}Mc(),Ms.exports=Ce;var gp=Ms.exports,ps=gp;ao.createRoot=ps.createRoot,ao.hydrateRoot=ps.hydrateRoot;/**
41
- * @license lucide-react v0.555.0 - ISC
42
- *
43
- * This source code is licensed under the ISC license.
44
- * See the LICENSE file in the root directory of this source tree.
45
- */const xp=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),wp=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,r)=>r?r.toUpperCase():n.toLowerCase()),ms=e=>{const t=wp(e);return t.charAt(0).toUpperCase()+t.slice(1)},Ic=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim(),kp=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};/**
46
- * @license lucide-react v0.555.0 - ISC
47
- *
48
- * This source code is licensed under the ISC license.
49
- * See the LICENSE file in the root directory of this source tree.
50
- */var Sp={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
51
- * @license lucide-react v0.555.0 - ISC
52
- *
53
- * This source code is licensed under the ISC license.
54
- * See the LICENSE file in the root directory of this source tree.
55
- */const Np=L.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:l="",children:o,iconNode:i,...u},s)=>L.createElement("svg",{ref:s,...Sp,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:Ic("lucide",l),...!o&&!kp(u)&&{"aria-hidden":"true"},...u},[...i.map(([d,v])=>L.createElement(d,v)),...Array.isArray(o)?o:[o]]));/**
56
- * @license lucide-react v0.555.0 - ISC
57
- *
58
- * This source code is licensed under the ISC license.
59
- * See the LICENSE file in the root directory of this source tree.
60
- */const $e=(e,t)=>{const n=L.forwardRef(({className:r,...l},o)=>L.createElement(Np,{ref:o,iconNode:t,className:Ic(`lucide-${xp(ms(e))}`,`lucide-${e}`,r),...l}));return n.displayName=ms(e),n};/**
61
- * @license lucide-react v0.555.0 - ISC
62
- *
63
- * This source code is licensed under the ISC license.
64
- * See the LICENSE file in the root directory of this source tree.
65
- */const Cp=[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]],hs=$e("activity",Cp);/**
66
- * @license lucide-react v0.555.0 - ISC
67
- *
68
- * This source code is licensed under the ISC license.
69
- * See the LICENSE file in the root directory of this source tree.
70
- */const Ep=[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]],vs=$e("box",Ep);/**
71
- * @license lucide-react v0.555.0 - ISC
72
- *
73
- * This source code is licensed under the ISC license.
74
- * See the LICENSE file in the root directory of this source tree.
75
- */const jp=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],ys=$e("check",jp);/**
76
- * @license lucide-react v0.555.0 - ISC
77
- *
78
- * This source code is licensed under the ISC license.
79
- * See the LICENSE file in the root directory of this source tree.
80
- */const zp=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],gs=$e("chevron-down",zp);/**
81
- * @license lucide-react v0.555.0 - ISC
82
- *
83
- * This source code is licensed under the ISC license.
84
- * See the LICENSE file in the root directory of this source tree.
85
- */const _p=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],Pp=$e("circle-alert",_p);/**
86
- * @license lucide-react v0.555.0 - ISC
87
- *
88
- * This source code is licensed under the ISC license.
89
- * See the LICENSE file in the root directory of this source tree.
90
- */const Lp=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],xs=$e("copy",Lp);/**
91
- * @license lucide-react v0.555.0 - ISC
92
- *
93
- * This source code is licensed under the ISC license.
94
- * See the LICENSE file in the root directory of this source tree.
95
- */const Tp=[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]],ws=$e("layout-grid",Tp);/**
96
- * @license lucide-react v0.555.0 - ISC
97
- *
98
- * This source code is licensed under the ISC license.
99
- * See the LICENSE file in the root directory of this source tree.
100
- */const Op=[["path",{d:"M12 22v-5",key:"1ega77"}],["path",{d:"M9 8V2",key:"14iosj"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M18 8v5a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V8Z",key:"osxo6l"}]],ks=$e("plug",Op);/**
101
- * @license lucide-react v0.555.0 - ISC
102
- *
103
- * This source code is licensed under the ISC license.
104
- * See the LICENSE file in the root directory of this source tree.
105
- */const Rp=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],uo=$e("plus",Rp);/**
106
- * @license lucide-react v0.555.0 - ISC
107
- *
108
- * This source code is licensed under the ISC license.
109
- * See the LICENSE file in the root directory of this source tree.
110
- */const Dp=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],Mp=$e("search",Dp);/**
111
- * @license lucide-react v0.555.0 - ISC
112
- *
113
- * This source code is licensed under the ISC license.
114
- * See the LICENSE file in the root directory of this source tree.
115
- */const Ip=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],so=$e("x",Ip);function Or(...e){return e.filter(Boolean).join(" ")}class Fp extends L.Component{constructor(t){super(t),this.state={hasError:!1,error:null}}static getDerivedStateFromError(t){return{hasError:!0,error:t}}componentDidCatch(t,n){console.error("Uncaught error:",t,n)}render(){var t;return this.state.hasError?c.jsxs("div",{className:"p-8 text-center text-red-500 bg-gray-900 rounded-lg border border-red-900 m-4",children:[c.jsx(Pp,{className:"w-12 h-12 mx-auto mb-4"}),c.jsx("h2",{className:"text-lg font-bold mb-2",children:"Something went wrong"}),c.jsx("p",{className:"text-sm font-mono bg-black/50 p-4 rounded text-left overflow-auto max-h-48",children:(t=this.state.error)==null?void 0:t.toString()}),c.jsx("button",{onClick:()=>window.location.reload(),className:"mt-4 px-4 py-2 bg-red-900/50 hover:bg-red-900 rounded text-white text-sm",children:"Reload Page"})]}):this.props.children}}function Ap(e,t){if(!t)return e;const n=t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),r=e.split(new RegExp(`(${n})`,"gi"));return c.jsx("span",{children:r.map((l,o)=>l.toLowerCase()===t.toLowerCase()?c.jsx("span",{className:"bg-yellow-500/20 text-yellow-200 rounded px-0.5",children:l},o):l)})}const Up=[{id:"claudeCode",label:"Claude Code"},{id:"windsurf",label:"Windsurf"},{id:"cursor",label:"Cursor"},{id:"claudeDesktop",label:"Claude Desktop"},{id:"vscode",label:"VS Code"}];function $p(e){let t=(e||"").trim();return t?(t.endsWith("/")&&(t=t.slice(0,-1)),t.endsWith("/sse")&&(t=t.slice(0,-4)),t.endsWith("/api")&&(t=t.slice(0,-4)),t):""}function Ss(e,t){return`{
116
- "mcpServers": {
117
- "loghead": {
118
- "command": "npx",
119
- "args": ["-y", "@loghead/mcp"],
120
- "env": {
121
- "LOGHEAD_API_URL": "${e}",
122
- "LOGHEAD_TOKEN": "${t}"
123
- }
124
- }
125
- }
126
- }`}function Vp(e,t,n){switch(e){case"claudeCode":return{title:"Claude Code setup",steps:["Open your Claude Code MCP configuration file.","Add the Loghead MCP server entry shown below.","Save the file and restart Claude Code."],snippetLabel:"Config snippet",snippet:Ss(t,n)};case"windsurf":return{title:"Windsurf setup",steps:["Open Windsurf MCP settings (or mcp_config.json).","Add/update the Loghead server config shown below.","Reload Windsurf so MCP servers reconnect."],snippetLabel:"mcp_config.json",snippet:`{
127
- "servers": {
128
- "loghead": {
129
- "command": "npx",
130
- "args": ["-y", "@loghead/mcp"],
131
- "env": {
132
- "LOGHEAD_API_URL": "${t}",
133
- "LOGHEAD_TOKEN": "${n}"
134
- }
135
- }
136
- }
137
- }`};case"cursor":return{title:"Cursor setup",steps:["Go to Settings -> MCP and add a new server.","Name: loghead | Type: stdio | Command: npx -y @loghead/mcp.",`Set env vars: LOGHEAD_API_URL=${t} and LOGHEAD_TOKEN=<your token>.`],snippetLabel:"Command",snippet:"npx -y @loghead/mcp"};case"claudeDesktop":return{title:"Claude Desktop setup",steps:["Open claude_desktop_config.json.","Add the Loghead MCP server block shown below.","Save and fully restart Claude Desktop."],snippetLabel:"claude_desktop_config.json",snippet:Ss(t,n)};case"vscode":return{title:"VS Code MCP extension setup",steps:["Open your VS Code mcp.json configuration.","Add the loghead server under the servers object.","Reload VS Code to apply the MCP server changes."],snippetLabel:"mcp.json",snippet:`{
138
- "servers": {
139
- "loghead": {
140
- "command": "npx",
141
- "args": ["-y", "@loghead/mcp"],
142
- "env": {
143
- "LOGHEAD_API_URL": "${t}",
144
- "LOGHEAD_TOKEN": "${n}"
145
- }
146
- }
147
- }
148
- }`};default:return{title:"Setup",steps:["Use the URL and token above in your MCP client configuration."],snippetLabel:"",snippet:""}}}function Bp(){const[e,t]=L.useState([]),[n,r]=L.useState([]),[l,o]=L.useState(null),[i,u]=L.useState(null),[s,d]=L.useState(null),[v,h]=L.useState(!1),[m,x]=L.useState(null),[k,S]=L.useState(!1),[F,f]=L.useState(""),[a,p]=L.useState(!0),y=L.useRef(null),N=L.useRef(null),[_,z]=L.useState(!1),[C,V]=L.useState(null),[R,xe]=L.useState("claudeCode"),[_t,it]=L.useState(!1),[Cn,Pt]=L.useState(!1),[Qt,Ye]=L.useState(!1),[E,P]=L.useState(!1),[T,B]=L.useState(""),[X,Ve]=L.useState(!1),[je,Kt]=L.useState(""),[Be,Gt]=L.useState("http"),[Xe,Ji]=L.useState(""),[qi,Tl]=L.useState([]),[Fc,bi]=L.useState(!1),eu=L.useRef(null);L.useEffect(()=>{a&&N.current&&(N.current.scrollTop=N.current.scrollHeight)},[F,a]);const Ac=async()=>{try{const w=await fetch("/api/projects");if(!w.ok)throw new Error("Failed to fetch projects");const O=await w.json();t(O),O.length>0&&!l&&o(O[0].id)}catch(w){console.error("Failed to fetch projects",w)}},Uc=async w=>{try{const O=await fetch(`/api/streams?projectId=${w}`);if(!O.ok)throw new Error("Failed to fetch streams");const ae=await O.json();r(ae),ae.length>0?u(ae[0].id):u(null)}catch(O){console.error("Failed to fetch streams",O)}},$c=async w=>{h(!0);try{const O=await fetch(`/api/streams/${w}/token`);if(!O.ok)throw new Error("Failed to fetch token");const ae=await O.json();d(ae.token),x(null)}catch(O){console.error("Failed to fetch stream token",O),x(String(O)),d(null)}finally{h(!1)}},Ol=async w=>{try{const O=await fetch(`/api/logs?streamId=${w}&limit=1000`);if(!O.ok){console.error(`Failed to fetch logs: ${O.status} ${O.statusText}`);return}const ae=await O.json();if(!Array.isArray(ae)){console.error("Logs API returned non-array data:",ae);return}const Dl=te=>{if(!te)return new Date;if(!isNaN(Number(te))){const Lt=Number(te);return Lt>1e15?new Date(Lt/1e6):new Date(Lt)}return typeof te=="string"&&te.includes(" ")&&!te.includes("Z")&&!te.includes("+")?new Date(te.replace(" ","T")+"Z"):new Date(te)},Wc=ae.sort((te,Lt)=>Dl(te.timestamp).getTime()-Dl(Lt.timestamp).getTime()).map(te=>{const Lt=Dl(te.timestamp).toISOString();let lu="";return te.metadata&&Object.keys(te.metadata).length>0&&(lu=` ${JSON.stringify(te.metadata)}`),`[${Lt}] ${te.content}${lu}`}).join(`
149
- `);f(Wc)}catch(O){console.error("Failed to fetch logs",O)}},tu=async()=>{if(T.trim())try{const w=await fetch("/api/projects",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:T})});if(!w.ok)throw new Error("Failed to create project");const O=await w.json();t([...e,O]),o(O.id),B(""),P(!1),Pt(!1)}catch(w){console.error("Failed to create project",w)}},nu=async()=>{if(!(!je.trim()||!l))try{const w=await fetch("/api/streams",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({projectId:l,name:je,type:Be})});if(!w.ok)throw new Error("Failed to create stream");const O=await w.json();r([...n,O]),u(O.id),Kt(""),Ve(!1),Ye(!1)}catch(w){console.error("Failed to create stream",w)}},Vc=async()=>{try{const w=await fetch("/api/connection");if(w.ok){const O=await w.json();V(O)}else V({token:"Unavailable",mcpUrl:window.location.origin})}catch(w){console.error("Failed to fetch connection info",w)}};L.useEffect(()=>{Ac()},[]),L.useEffect(()=>{l?(Uc(l),Pt(!1)):r([])},[l]),L.useEffect(()=>{i?$c(i):(d(null),x(null),h(!1))},[i]),L.useEffect(()=>{if(!i){f(""),y.current&&clearInterval(y.current);return}if(Xe){y.current&&clearInterval(y.current);return}return Ol(i),y.current=setInterval(()=>Ol(i),2e3),()=>{y.current&&clearInterval(y.current)}},[i,Xe]),L.useEffect(()=>{const w=O=>{var ae;(O.metaKey||O.ctrlKey)&&O.key.toLowerCase()==="k"&&(O.preventDefault(),(ae=eu.current)==null||ae.focus())};return window.addEventListener("keydown",w),()=>window.removeEventListener("keydown",w)},[]),L.useEffect(()=>{if(!Xe.trim()){Tl([]);return}if(!i){Tl([]);return}const w=setTimeout(async()=>{bi(!0);try{const O=await fetch(`/api/logs?streamId=${i}&q=${encodeURIComponent(Xe)}&limit=50`);if(O.ok){const ae=await O.json();Tl(Array.isArray(ae)?ae:[])}}catch(O){console.error("Search failed",O)}finally{bi(!1)}},300);return()=>clearTimeout(w)},[Xe,i]);const Bc=()=>{C!=null&&C.token&&(navigator.clipboard.writeText(C.token),it(!0),setTimeout(()=>it(!1),2e3))},Hc=()=>{s&&(navigator.clipboard.writeText(s),S(!0),setTimeout(()=>S(!1),2e3))},Rl=e.find(w=>w.id===l),ut=n.find(w=>w.id===i),ru=$p((C==null?void 0:C.mcpUrl)||(typeof window<"u"?window.location.origin:"")),En=Vp(R,ru||"https://your-loghead-domain.com",(C==null?void 0:C.token)||"<YOUR_MCP_TOKEN>");return c.jsxs("div",{className:"min-h-screen w-full bg-zinc-950 text-gray-100 flex flex-col",children:[c.jsx("div",{className:"sticky top-0 z-10 border-b border-zinc-800 bg-zinc-950/80 backdrop-blur-sm",children:c.jsxs("div",{className:"mx-auto flex w-full max-w-7xl items-center justify-between px-4 py-4 sm:px-6",children:[c.jsxs("div",{className:"flex items-center gap-4",children:[c.jsxs("div",{className:"relative",children:[c.jsxs("button",{onClick:()=>{Pt(!Cn),Ye(!1)},className:"flex items-center gap-2 hover:bg-zinc-900 pl-2 pr-3 py-2 rounded-md transition-colors",children:[c.jsx("div",{className:"w-6 h-6 rounded-md bg-emerald-500/20 text-emerald-400 flex items-center justify-center",children:c.jsx(ws,{className:"w-4 h-4"})}),c.jsx("span",{className:"font-medium text-sm",children:(Rl==null?void 0:Rl.name)||"Select Project"}),c.jsx(gs,{className:"w-4 h-4 text-zinc-500"})]}),Cn&&c.jsxs("div",{className:"absolute top-full left-0 mt-2 w-64 bg-zinc-900 border border-zinc-800 rounded-xl shadow-xl py-1 z-50 animate-in fade-in zoom-in-95 duration-100",children:[c.jsx("div",{className:"px-3 py-2 text-xs font-semibold text-zinc-500 uppercase tracking-wider",children:"Projects"}),c.jsxs("div",{className:"max-h-60 overflow-y-auto",children:[e.map(w=>c.jsxs("button",{onClick:()=>o(w.id),className:Or("w-full text-left px-3 py-2 flex items-center gap-2 hover:bg-zinc-800 transition-colors text-sm",l===w.id?"text-emerald-400":"text-zinc-300"),children:[c.jsx("div",{className:"w-4 h-4 rounded-full border border-current flex items-center justify-center text-[10px]",children:w.name.charAt(0).toUpperCase()}),w.name]},w.id)),e.length===0&&c.jsx("div",{className:"px-3 py-2 text-sm text-zinc-500",children:"No projects found"})]}),c.jsx("div",{className:"border-t border-zinc-800 mt-1 pt-1 p-2",children:c.jsxs("button",{onClick:()=>{P(!0),Pt(!1)},className:"w-full text-left px-2 py-1.5 flex items-center gap-2 hover:bg-zinc-800 text-zinc-400 hover:text-white rounded-md transition-colors text-sm",children:[c.jsx(uo,{className:"w-4 h-4"}),"Create Project"]})})]})]}),l&&c.jsxs(c.Fragment,{children:[c.jsx("span",{className:"text-zinc-600",children:"/"}),c.jsxs("div",{className:"relative",children:[c.jsxs("button",{onClick:()=>{Ye(!Qt),Pt(!1)},className:"flex items-center gap-2 hover:bg-zinc-900 pl-2 pr-3 py-2 rounded-md transition-colors",children:[c.jsx("div",{className:"w-6 h-6 rounded-md bg-emerald-500/20 text-emerald-400 flex items-center justify-center",children:c.jsx(hs,{className:"w-4 h-4"})}),c.jsx("span",{className:"font-medium text-sm",children:(ut==null?void 0:ut.name)||"Select Stream"}),c.jsx(gs,{className:"w-4 h-4 text-zinc-500"})]}),Qt&&c.jsxs("div",{className:"absolute top-full left-0 mt-2 w-64 bg-zinc-900 border border-zinc-800 rounded-xl shadow-xl py-1 z-50 animate-in fade-in zoom-in-95 duration-100",children:[c.jsx("div",{className:"px-3 py-2 text-xs font-semibold text-zinc-500 uppercase tracking-wider",children:"Streams"}),c.jsxs("div",{className:"max-h-60 overflow-y-auto",children:[n.map(w=>c.jsxs("button",{onClick:()=>{u(w.id),Ye(!1)},className:Or("w-full text-left px-3 py-2 flex items-center gap-2 hover:bg-zinc-800 transition-colors text-sm",i===w.id?"text-emerald-400":"text-zinc-300"),children:[c.jsx("div",{className:"w-4 h-4 rounded border border-current flex items-center justify-center text-[10px]",children:c.jsx(vs,{className:"w-3 h-3"})}),w.name]},w.id)),n.length===0&&c.jsx("div",{className:"px-3 py-2 text-sm text-zinc-500",children:"No streams found"})]}),c.jsx("div",{className:"border-t border-zinc-800 mt-1 pt-1 p-2",children:c.jsxs("button",{onClick:()=>{Ve(!0),Ye(!1)},className:"w-full text-left px-2 py-1.5 flex items-center gap-2 hover:bg-zinc-800 text-zinc-400 hover:text-white rounded-md transition-colors text-sm",children:[c.jsx(uo,{className:"w-4 h-4"}),"Create Stream"]})})]})]})]})]}),c.jsx("div",{className:"flex items-center gap-2",children:c.jsxs("button",{onClick:()=>{Vc(),z(!0)},className:"flex items-center gap-2 px-3 py-1.5 bg-emerald-600 hover:bg-emerald-500 text-white rounded-md text-sm font-medium transition-colors border border-emerald-500/50",children:[c.jsx(ks,{className:"w-4 h-4"}),"Connect"]})})]})}),c.jsx("div",{className:"mx-auto flex w-full max-w-7xl flex-1 flex-col overflow-hidden px-4 py-6 sm:px-6 sm:py-8",children:l?c.jsx("div",{className:"h-full flex flex-col space-y-6",children:ut?c.jsxs("div",{className:"flex-1 flex flex-col space-y-4 min-h-0",children:[c.jsx("div",{className:"bg-zinc-900/50 border border-zinc-800 rounded-lg p-4 shrink-0",children:c.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-[minmax(220px,auto)_1fr] gap-x-6 gap-y-2 items-center",children:[c.jsx("div",{className:"text-xs font-semibold text-zinc-500 uppercase tracking-wider",children:"Stream ID"}),c.jsx("div",{className:"text-xs font-semibold text-zinc-500 uppercase tracking-wider",children:"Stream Token"}),c.jsx("div",{className:"text-sm font-mono text-zinc-300 truncate",title:ut.id,children:ut.id}),c.jsxs("div",{className:"min-w-0",children:[v&&c.jsx("div",{className:"text-sm text-zinc-500 animate-pulse",children:"Loading stream token..."}),m&&c.jsxs("div",{className:"text-sm text-red-500",children:["Error loading token: ",m]}),s&&c.jsxs("div",{className:"flex items-center gap-2 min-w-0",children:[c.jsx("div",{className:"flex-1 min-w-0 text-sm font-mono text-zinc-300 truncate",title:s,children:s}),c.jsx("button",{onClick:Hc,className:"p-2 hover:bg-zinc-800 rounded text-zinc-400 hover:text-white transition-colors",title:"Copy Stream Token",children:k?c.jsx(ys,{className:"w-4 h-4 text-green-500"}):c.jsx(xs,{className:"w-4 h-4"})})]})]})]})}),c.jsxs("div",{className:"flex-1 bg-zinc-900 border border-zinc-800 rounded-lg overflow-hidden flex flex-col min-h-0",children:[c.jsxs("div",{className:"flex items-center justify-between px-4 py-2 border-b border-zinc-800 bg-zinc-950",children:[c.jsxs("div",{className:"flex items-center gap-2 min-w-0 flex-1 max-w-xl",children:[c.jsx(Mp,{className:"w-4 h-4 text-zinc-500 shrink-0"}),c.jsx("input",{ref:eu,value:Xe,onChange:w=>Ji(w.target.value),placeholder:"Search logs (Cmd/Ctrl+K)",className:"w-full bg-transparent outline-none text-sm text-zinc-100 placeholder:text-zinc-500"}),Xe&&c.jsx("button",{onClick:()=>Ji(""),className:"text-xs text-zinc-500 hover:text-white shrink-0",children:"Clear"})]}),c.jsxs("div",{className:"flex items-center gap-2",children:[c.jsx("button",{onClick:async()=>{try{const w=await fetch("/api/ingest",{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${s}`},body:JSON.stringify({streamId:ut.id,logs:[`Test log entry at ${new Date().toISOString()}`]})});w.ok?(console.log("Test log sent"),Ol(ut.id)):console.error("Failed to send test log",await w.text())}catch(w){console.error("Error sending test log",w)}},className:"text-[10px] px-3 py-1.5 rounded font-bold uppercase tracking-wider border border-emerald-500/30 bg-emerald-600/20 text-emerald-300 hover:bg-emerald-600/30 transition-colors",children:"Send Test Log"}),c.jsx("button",{onClick:()=>p(!a),className:Or("text-[10px] px-3 py-1.5 rounded font-bold uppercase tracking-wider border transition-colors",a?"border-emerald-500/30 bg-emerald-600/20 text-emerald-300 hover:bg-emerald-600/30":"border-zinc-700 bg-zinc-800 text-zinc-400 hover:text-zinc-300"),children:a?"Auto-scroll On":"Auto-scroll Off"})]})]}),c.jsx("div",{ref:N,className:"flex-1 bg-[#0d0d0d] font-mono text-sm overflow-y-auto p-4 scroll-smooth",children:c.jsx(Fp,{children:Xe?Fc?c.jsx("div",{className:"text-zinc-500",children:"Searching..."}):qi.length>0?c.jsx("div",{className:"space-y-3",children:qi.map((w,O)=>c.jsxs("div",{className:"rounded border border-zinc-800 bg-zinc-950/60 p-3",children:[c.jsx("div",{className:"text-xs text-zinc-500 mb-1",children:new Date(w.timestamp).toISOString()}),c.jsx("div",{className:"text-zinc-200 break-words",children:Ap(w.content,Xe)})]},`${w.timestamp}-${O}`))}):c.jsx("div",{className:"text-zinc-500",children:"No matching logs found."}):F?c.jsx("pre",{className:"whitespace-pre-wrap text-zinc-300 break-all font-mono leading-relaxed text-xs",children:F}):c.jsxs("div",{className:"flex flex-col items-center justify-center h-full text-zinc-700 italic",children:[c.jsx(hs,{className:"w-8 h-8 mb-2 opacity-50"}),c.jsx("p",{children:"Waiting for logs..."})]})})})]})]}):c.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4",children:[n.map(w=>c.jsxs("button",{onClick:()=>u(w.id),className:"group text-left p-4 bg-zinc-900/50 hover:bg-zinc-900 border border-zinc-800 hover:border-zinc-700 rounded-xl transition-all",children:[c.jsxs("div",{className:"flex items-center justify-between mb-2",children:[c.jsx("div",{className:"p-2 rounded-lg bg-zinc-800 text-zinc-300 group-hover:bg-zinc-700 group-hover:text-white transition-colors",children:c.jsx(vs,{className:"w-5 h-5"})}),c.jsx("span",{className:"text-xs px-2 py-1 rounded-full bg-zinc-800 text-zinc-400 border border-zinc-700",children:w.type})]}),c.jsx("div",{className:"font-medium text-white group-hover:text-emerald-400 transition-colors",children:w.name}),c.jsxs("div",{className:"text-xs text-zinc-500 mt-1 font-mono",children:[w.id.substring(0,8),"..."]})]},w.id)),c.jsxs("button",{onClick:()=>Ve(!0),className:"group flex flex-col items-center justify-center p-4 border border-dashed border-zinc-800 hover:border-zinc-700 rounded-xl transition-all hover:bg-zinc-900/20 text-zinc-500 hover:text-zinc-300",children:[c.jsx(uo,{className:"w-6 h-6 mb-2 opacity-50 group-hover:opacity-100"}),c.jsx("span",{className:"text-sm font-medium",children:"Create New Stream"})]})]})}):c.jsxs("div",{className:"flex flex-col items-center justify-center h-full text-center space-y-6",children:[c.jsx("div",{className:"w-16 h-16 rounded-2xl bg-zinc-900 border border-zinc-800 flex items-center justify-center",children:c.jsx(ws,{className:"w-8 h-8 text-zinc-500"})}),c.jsxs("div",{children:[c.jsx("h3",{className:"text-xl font-bold text-white mb-2",children:"No Project Selected"}),c.jsx("p",{className:"text-zinc-400 max-w-sm",children:"Select a project from the top menu or create a new one to get started with Loghead."})]}),c.jsx("button",{onClick:()=>P(!0),className:"px-4 py-2 bg-emerald-600 hover:bg-emerald-500 text-white rounded-md font-medium transition-colors",children:"Create Project"})]})}),E&&c.jsx("div",{className:"fixed inset-0 bg-black/80 backdrop-blur-sm z-[100] flex items-center justify-center p-4 animate-in fade-in duration-200",children:c.jsxs("div",{className:"bg-zinc-900 border border-zinc-800 rounded-xl max-w-sm w-full shadow-2xl overflow-hidden animate-in zoom-in-95 duration-200",children:[c.jsxs("div",{className:"p-4 border-b border-zinc-800 flex items-center justify-between",children:[c.jsx("h3",{className:"font-semibold text-lg",children:"Create Project"}),c.jsx("button",{onClick:()=>P(!1),className:"text-zinc-500 hover:text-white transition-colors",children:c.jsx(so,{className:"w-5 h-5"})})]}),c.jsxs("div",{className:"p-6 space-y-4",children:[c.jsxs("div",{children:[c.jsx("label",{className:"block text-xs font-semibold text-zinc-500 uppercase tracking-wider mb-2",children:"Project Name"}),c.jsx("input",{type:"text",value:T,onChange:w=>B(w.target.value),placeholder:"e.g., My Awesome App",className:"w-full bg-zinc-950 border border-zinc-800 rounded p-3 text-sm text-white placeholder-zinc-600 focus:outline-none focus:border-emerald-500 transition-colors",autoFocus:!0,onKeyDown:w=>w.key==="Enter"&&tu()})]}),c.jsxs("div",{className:"flex justify-end gap-2",children:[c.jsx("button",{onClick:()=>P(!1),className:"px-4 py-2 hover:bg-zinc-800 rounded text-sm text-zinc-400 hover:text-white transition-colors",children:"Cancel"}),c.jsx("button",{onClick:tu,disabled:!T.trim(),className:"px-4 py-2 bg-emerald-600 hover:bg-emerald-500 disabled:opacity-50 disabled:cursor-not-allowed rounded text-sm font-medium text-white transition-colors",children:"Create Project"})]})]})]})}),X&&c.jsx("div",{className:"fixed inset-0 bg-black/80 backdrop-blur-sm z-[100] flex items-center justify-center p-4 animate-in fade-in duration-200",children:c.jsxs("div",{className:"bg-zinc-900 border border-zinc-800 rounded-xl max-w-sm w-full shadow-2xl overflow-hidden animate-in zoom-in-95 duration-200",children:[c.jsxs("div",{className:"p-4 border-b border-zinc-800 flex items-center justify-between",children:[c.jsx("h3",{className:"font-semibold text-lg",children:"Create Stream"}),c.jsx("button",{onClick:()=>Ve(!1),className:"text-zinc-500 hover:text-white transition-colors",children:c.jsx(so,{className:"w-5 h-5"})})]}),c.jsxs("div",{className:"p-6 space-y-4",children:[c.jsxs("div",{children:[c.jsx("label",{className:"block text-xs font-semibold text-zinc-500 uppercase tracking-wider mb-2",children:"Stream Name"}),c.jsx("input",{type:"text",value:je,onChange:w=>Kt(w.target.value),placeholder:"e.g., Production Logs",className:"w-full bg-zinc-950 border border-zinc-800 rounded p-3 text-sm text-white placeholder-zinc-600 focus:outline-none focus:border-emerald-500 transition-colors",autoFocus:!0,onKeyDown:w=>w.key==="Enter"&&nu()})]}),c.jsxs("div",{children:[c.jsx("label",{className:"block text-xs font-semibold text-zinc-500 uppercase tracking-wider mb-2",children:"Type"}),c.jsxs("select",{value:Be,onChange:w=>Gt(w.target.value),className:"w-full bg-zinc-950 border border-zinc-800 rounded p-3 text-sm text-white focus:outline-none focus:border-emerald-500 transition-colors",children:[c.jsx("option",{value:"browser",children:"Browser"}),c.jsx("option",{value:"docker",children:"Docker"}),c.jsx("option",{value:"terminal",children:"Terminal"}),c.jsx("option",{value:"opentelemetry",children:"OpenTelemetry"})]})]}),c.jsxs("div",{className:"flex justify-end gap-2",children:[c.jsx("button",{onClick:()=>Ve(!1),className:"px-4 py-2 hover:bg-zinc-800 rounded text-sm text-zinc-400 hover:text-white transition-colors",children:"Cancel"}),c.jsx("button",{onClick:nu,disabled:!je.trim(),className:"px-4 py-2 bg-emerald-600 hover:bg-emerald-500 disabled:opacity-50 disabled:cursor-not-allowed rounded text-sm font-medium text-white transition-colors",children:"Create Stream"})]})]})]})}),_&&c.jsx("div",{className:"fixed inset-0 bg-black/80 backdrop-blur-sm z-[100] flex items-center justify-center p-4 animate-in fade-in duration-200",children:c.jsxs("div",{className:"bg-zinc-900 border border-zinc-800 rounded-xl max-w-lg w-full shadow-2xl overflow-hidden animate-in zoom-in-95 duration-200",children:[c.jsxs("div",{className:"p-4 border-b border-zinc-800 flex items-center justify-between",children:[c.jsxs("h3",{className:"font-semibold text-lg flex items-center gap-2",children:[c.jsx(ks,{className:"w-5 h-5 text-green-500"}),"Connect to Loghead"]}),c.jsx("button",{onClick:()=>z(!1),className:"text-zinc-500 hover:text-white transition-colors",children:c.jsx(so,{className:"w-5 h-5"})})]}),c.jsxs("div",{className:"p-6 space-y-6",children:[c.jsxs("div",{children:[c.jsx("label",{className:"block text-xs font-semibold text-zinc-500 uppercase tracking-wider mb-2",children:"Loghead API URL"}),c.jsx("div",{className:"bg-zinc-950 border border-zinc-800 rounded p-3 text-sm font-mono text-zinc-300 select-all",children:ru||"Loading..."})]}),c.jsxs("div",{children:[c.jsx("label",{className:"block text-xs font-semibold text-zinc-500 uppercase tracking-wider mb-2",children:"Authentication Token"}),c.jsxs("div",{className:"relative",children:[c.jsx("div",{className:"bg-zinc-950 border border-zinc-800 rounded p-3 text-sm font-mono text-zinc-300 break-all pr-12 min-h-[60px]",children:(C==null?void 0:C.token)||"Loading..."}),c.jsx("button",{onClick:Bc,className:"absolute top-2 right-2 p-1.5 hover:bg-zinc-800 rounded text-zinc-400 hover:text-white transition-colors",title:"Copy Token",children:_t?c.jsx(ys,{className:"w-4 h-4 text-green-500"}):c.jsx(xs,{className:"w-4 h-4"})})]}),c.jsx("p",{className:"text-xs text-zinc-500 mt-2",children:"Use this token to authenticate your MCP client in the selected platform."})]}),c.jsxs("div",{className:"pt-2 border-t border-zinc-800",children:[c.jsx("div",{className:"text-xs font-semibold text-zinc-500 uppercase tracking-wider mb-3",children:"Setup Instructions"}),c.jsxs("div",{className:"bg-zinc-950/40 border border-zinc-800 rounded-lg overflow-hidden",children:[c.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-5 border-b border-zinc-800",children:Up.map(w=>c.jsx("button",{onClick:()=>xe(w.id),className:Or("px-3 py-2 text-xs font-medium transition-colors border-b-2",R===w.id?"text-white bg-zinc-900 border-green-500":"text-zinc-400 hover:text-zinc-200 hover:bg-zinc-900/40 border-transparent"),children:w.label},w.id))}),c.jsxs("div",{className:"p-4 space-y-3",children:[c.jsx("div",{className:"text-sm font-semibold text-zinc-100",children:En.title}),c.jsx("ol",{className:"list-decimal list-inside space-y-1 text-xs text-zinc-400",children:En.steps.map((w,O)=>c.jsx("li",{children:w},`${R}-${O}`))}),En.snippet&&c.jsxs("div",{children:[c.jsx("div",{className:"text-[11px] font-semibold text-zinc-500 uppercase tracking-wider mb-2",children:En.snippetLabel}),c.jsx("pre",{className:"bg-zinc-950 border border-zinc-800 rounded p-3 text-xs font-mono text-zinc-300 whitespace-pre-wrap wrap-break-word",children:En.snippet})]})]})]})]})]}),c.jsx("div",{className:"p-4 bg-zinc-950/50 border-t border-zinc-800 flex justify-end",children:c.jsx("button",{onClick:()=>z(!1),className:"px-4 py-2 bg-zinc-800 hover:bg-zinc-700 rounded text-sm font-medium transition-colors",children:"Done"})})]})})]})}/**
150
- * @license lucide-react v0.344.0 - ISC
151
- *
152
- * This source code is licensed under the ISC license.
153
- * See the LICENSE file in the root directory of this source tree.
154
- */var Hp={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
155
- * @license lucide-react v0.344.0 - ISC
156
- *
157
- * This source code is licensed under the ISC license.
158
- * See the LICENSE file in the root directory of this source tree.
159
- */const Wp=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase().trim(),Qp=(e,t)=>{const n=L.forwardRef(({color:r="currentColor",size:l=24,strokeWidth:o=2,absoluteStrokeWidth:i,className:u="",children:s,...d},v)=>L.createElement("svg",{ref:v,...Hp,width:l,height:l,stroke:r,strokeWidth:i?Number(o)*24/Number(l):o,className:["lucide",`lucide-${Wp(e)}`,u].join(" "),...d},[...t.map(([h,m])=>L.createElement(h,m)),...Array.isArray(s)?s:[s]]));return n.displayName=`${e}`,n};/**
160
- * @license lucide-react v0.344.0 - ISC
161
- *
162
- * This source code is licensed under the ISC license.
163
- * See the LICENSE file in the root directory of this source tree.
164
- */const Kp=Qp("Github",[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]]);function Gp(){return c.jsxs("div",{className:"min-h-screen bg-zinc-950 text-white flex flex-col",children:[c.jsx("header",{className:"fixed inset-x-0 top-0 z-20 border-b border-zinc-800 bg-zinc-950/80 backdrop-blur",children:c.jsxs("div",{className:"mx-auto flex h-16 w-full max-w-7xl items-center justify-between px-4 sm:px-6",children:[c.jsxs("div",{className:"flex items-center gap-3",children:[c.jsx("div",{className:"flex h-8 w-8 items-center justify-center rounded-lg bg-[#00FF94]/10",children:c.jsx("img",{src:"https://www.loghead.dev/logo.svg",alt:"Loghead logo",className:"h-6 w-6 object-contain rotate-[30deg]"})}),c.jsxs("div",{className:"leading-tight",children:[c.jsx("div",{className:"text-sm font-semibold",children:"Loghead"}),c.jsx("div",{className:"text-xs text-zinc-500",children:"Infra reasoning layer"})]})]}),c.jsxs("div",{className:"flex items-center gap-2",children:[c.jsx("a",{href:"https://github.com/onvo-ai/loghead",target:"_blank",rel:"noreferrer",className:"inline-flex h-9 w-9 items-center justify-center rounded-md border border-zinc-700 text-zinc-200 hover:bg-zinc-800 transition-colors","aria-label":"Loghead GitHub",children:c.jsx(Kp,{className:"h-4 w-4"})}),c.jsx("a",{href:"https://loghead.dev",target:"_blank",rel:"noreferrer",className:"inline-flex h-9 items-center rounded-md border border-zinc-700 px-3 text-sm font-medium text-zinc-200 hover:bg-zinc-800 transition-colors",children:"Try Loghead Cloud"})]})]})}),c.jsx("main",{className:"flex-1 pt-16",children:c.jsx(Bp,{})})]})}class Yp extends Rs.Component{constructor(t){super(t),this.state={hasError:!1,error:null}}static getDerivedStateFromError(t){return{hasError:!0,error:t}}componentDidCatch(t,n){console.error("Global Uncaught error:",t,n)}render(){var t;return this.state.hasError?c.jsxs("div",{style:{padding:"20px",color:"red",background:"#1a1a1a",height:"100vh"},children:[c.jsx("h1",{children:"Something went wrong"}),c.jsx("pre",{children:(t=this.state.error)==null?void 0:t.toString()}),c.jsx("button",{onClick:()=>window.location.reload(),style:{padding:"10px",marginTop:"10px"},children:"Reload"})]}):this.props.children}}ao.createRoot(document.getElementById("root")).render(c.jsx(Rs.StrictMode,{children:c.jsx(Yp,{children:c.jsx(Gp,{})})}));