getgloss 0.11.0 → 0.12.0
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.
- package/dist/cli/index.js +1 -1
- package/dist/cli/index.js.map +1 -1
- package/dist/server/daemon.js +915 -45
- package/dist/server/daemon.js.map +1 -1
- package/dist/web/assets/index-Bn84l3Zr.css +1 -0
- package/dist/web/assets/index-Cu9NghTt.js +306 -0
- package/dist/web/assets/{syntax-CtfqKZw2.js → syntax-CEpwlb09.js} +6 -6
- package/dist/web/index.html +2 -2
- package/package.json +1 -1
- package/dist/web/assets/index-BUtA99HE.css +0 -1
- package/dist/web/assets/index-DUOP7jxW.js +0 -269
|
@@ -1,269 +0,0 @@
|
|
|
1
|
-
(function(){const f=document.createElement("link").relList;if(f&&f.supports&&f.supports("modulepreload"))return;for(const h of document.querySelectorAll('link[rel="modulepreload"]'))o(h);new MutationObserver(h=>{for(const b of h)if(b.type==="childList")for(const M of b.addedNodes)M.tagName==="LINK"&&M.rel==="modulepreload"&&o(M)}).observe(document,{childList:!0,subtree:!0});function d(h){const b={};return h.integrity&&(b.integrity=h.integrity),h.referrerPolicy&&(b.referrerPolicy=h.referrerPolicy),h.crossOrigin==="use-credentials"?b.credentials="include":h.crossOrigin==="anonymous"?b.credentials="omit":b.credentials="same-origin",b}function o(h){if(h.ep)return;h.ep=!0;const b=d(h);fetch(h.href,b)}})();function Xm(u){return u&&u.__esModule&&Object.prototype.hasOwnProperty.call(u,"default")?u.default:u}var ef={exports:{}},ti={};/**
|
|
2
|
-
* @license React
|
|
3
|
-
* react-jsx-runtime.production.js
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) Meta Platforms, Inc. and 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 x0;function Qm(){if(x0)return ti;x0=1;var u=Symbol.for("react.transitional.element"),f=Symbol.for("react.fragment");function d(o,h,b){var M=null;if(b!==void 0&&(M=""+b),h.key!==void 0&&(M=""+h.key),"key"in h){b={};for(var w in h)w!=="key"&&(b[w]=h[w])}else b=h;return h=b.ref,{$$typeof:u,type:o,key:M,ref:h!==void 0?h:null,props:b}}return ti.Fragment=f,ti.jsx=d,ti.jsxs=d,ti}var j0;function km(){return j0||(j0=1,ef.exports=Qm()),ef.exports}var s=km(),tf={exports:{}},le={};/**
|
|
10
|
-
* @license React
|
|
11
|
-
* react.production.js
|
|
12
|
-
*
|
|
13
|
-
* Copyright (c) Meta Platforms, Inc. and 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 E0;function Zm(){if(E0)return le;E0=1;var u=Symbol.for("react.transitional.element"),f=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),h=Symbol.for("react.profiler"),b=Symbol.for("react.consumer"),M=Symbol.for("react.context"),w=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),v=Symbol.for("react.memo"),D=Symbol.for("react.lazy"),R=Symbol.for("react.activity"),q=Symbol.iterator;function $(p){return p===null||typeof p!="object"?null:(p=q&&p[q]||p["@@iterator"],typeof p=="function"?p:null)}var I={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},se=Object.assign,be={};function Z(p,C,H){this.props=p,this.context=C,this.refs=be,this.updater=H||I}Z.prototype.isReactComponent={},Z.prototype.setState=function(p,C){if(typeof p!="object"&&typeof p!="function"&&p!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,p,C,"setState")},Z.prototype.forceUpdate=function(p){this.updater.enqueueForceUpdate(this,p,"forceUpdate")};function Me(){}Me.prototype=Z.prototype;function de(p,C,H){this.props=p,this.context=C,this.refs=be,this.updater=H||I}var G=de.prototype=new Me;G.constructor=de,se(G,Z.prototype),G.isPureReactComponent=!0;var ye=Array.isArray;function te(){}var K={H:null,A:null,T:null,S:null},Se=Object.prototype.hasOwnProperty;function He(p,C,H){var x=H.ref;return{$$typeof:u,type:p,key:C,ref:x!==void 0?x:null,props:H}}function At(p,C){return He(p.type,C,p.props)}function lt(p){return typeof p=="object"&&p!==null&&p.$$typeof===u}function Y(p){var C={"=":"=0",":":"=2"};return"$"+p.replace(/[=:]/g,function(H){return C[H]})}var xe=/\/+/g;function Ne(p,C){return typeof p=="object"&&p!==null&&p.key!=null?Y(""+p.key):C.toString(36)}function Ve(p){switch(p.status){case"fulfilled":return p.value;case"rejected":throw p.reason;default:switch(typeof p.status=="string"?p.then(te,te):(p.status="pending",p.then(function(C){p.status==="pending"&&(p.status="fulfilled",p.value=C)},function(C){p.status==="pending"&&(p.status="rejected",p.reason=C)})),p.status){case"fulfilled":return p.value;case"rejected":throw p.reason}}throw p}function E(p,C,H,x,U){var X=typeof p;(X==="undefined"||X==="boolean")&&(p=null);var Q=!1;if(p===null)Q=!0;else switch(X){case"bigint":case"string":case"number":Q=!0;break;case"object":switch(p.$$typeof){case u:case f:Q=!0;break;case D:return Q=p._init,E(Q(p._payload),C,H,x,U)}}if(Q)return U=U(p),Q=x===""?"."+Ne(p,0):x,ye(U)?(H="",Q!=null&&(H=Q.replace(xe,"$&/")+"/"),E(U,C,H,"",function(Ie){return Ie})):U!=null&&(lt(U)&&(U=At(U,H+(U.key==null||p&&p.key===U.key?"":(""+U.key).replace(xe,"$&/")+"/")+Q)),C.push(U)),1;Q=0;var fe=x===""?".":x+":";if(ye(p))for(var ue=0;ue<p.length;ue++)x=p[ue],X=fe+Ne(x,ue),Q+=E(x,C,H,X,U);else if(ue=$(p),typeof ue=="function")for(p=ue.call(p),ue=0;!(x=p.next()).done;)x=x.value,X=fe+Ne(x,ue++),Q+=E(x,C,H,X,U);else if(X==="object"){if(typeof p.then=="function")return E(Ve(p),C,H,x,U);throw C=String(p),Error("Objects are not valid as a React child (found: "+(C==="[object Object]"?"object with keys {"+Object.keys(p).join(", ")+"}":C)+"). If you meant to render a collection of children, use an array instead.")}return Q}function B(p,C,H){if(p==null)return p;var x=[],U=0;return E(p,x,"","",function(X){return C.call(H,X,U++)}),x}function F(p){if(p._status===-1){var C=p._result;C=C(),C.then(function(H){(p._status===0||p._status===-1)&&(p._status=1,p._result=H)},function(H){(p._status===0||p._status===-1)&&(p._status=2,p._result=H)}),p._status===-1&&(p._status=0,p._result=C)}if(p._status===1)return p._result.default;throw p._result}var ve=typeof reportError=="function"?reportError:function(p){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var C=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof p=="object"&&p!==null&&typeof p.message=="string"?String(p.message):String(p),error:p});if(!window.dispatchEvent(C))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",p);return}console.error(p)},ne={map:B,forEach:function(p,C,H){B(p,function(){C.apply(this,arguments)},H)},count:function(p){var C=0;return B(p,function(){C++}),C},toArray:function(p){return B(p,function(C){return C})||[]},only:function(p){if(!lt(p))throw Error("React.Children.only expected to receive a single React element child.");return p}};return le.Activity=R,le.Children=ne,le.Component=Z,le.Fragment=d,le.Profiler=h,le.PureComponent=de,le.StrictMode=o,le.Suspense=T,le.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=K,le.__COMPILER_RUNTIME={__proto__:null,c:function(p){return K.H.useMemoCache(p)}},le.cache=function(p){return function(){return p.apply(null,arguments)}},le.cacheSignal=function(){return null},le.cloneElement=function(p,C,H){if(p==null)throw Error("The argument must be a React element, but you passed "+p+".");var x=se({},p.props),U=p.key;if(C!=null)for(X in C.key!==void 0&&(U=""+C.key),C)!Se.call(C,X)||X==="key"||X==="__self"||X==="__source"||X==="ref"&&C.ref===void 0||(x[X]=C[X]);var X=arguments.length-2;if(X===1)x.children=H;else if(1<X){for(var Q=Array(X),fe=0;fe<X;fe++)Q[fe]=arguments[fe+2];x.children=Q}return He(p.type,U,x)},le.createContext=function(p){return p={$$typeof:M,_currentValue:p,_currentValue2:p,_threadCount:0,Provider:null,Consumer:null},p.Provider=p,p.Consumer={$$typeof:b,_context:p},p},le.createElement=function(p,C,H){var x,U={},X=null;if(C!=null)for(x in C.key!==void 0&&(X=""+C.key),C)Se.call(C,x)&&x!=="key"&&x!=="__self"&&x!=="__source"&&(U[x]=C[x]);var Q=arguments.length-2;if(Q===1)U.children=H;else if(1<Q){for(var fe=Array(Q),ue=0;ue<Q;ue++)fe[ue]=arguments[ue+2];U.children=fe}if(p&&p.defaultProps)for(x in Q=p.defaultProps,Q)U[x]===void 0&&(U[x]=Q[x]);return He(p,X,U)},le.createRef=function(){return{current:null}},le.forwardRef=function(p){return{$$typeof:w,render:p}},le.isValidElement=lt,le.lazy=function(p){return{$$typeof:D,_payload:{_status:-1,_result:p},_init:F}},le.memo=function(p,C){return{$$typeof:v,type:p,compare:C===void 0?null:C}},le.startTransition=function(p){var C=K.T,H={};K.T=H;try{var x=p(),U=K.S;U!==null&&U(H,x),typeof x=="object"&&x!==null&&typeof x.then=="function"&&x.then(te,ve)}catch(X){ve(X)}finally{C!==null&&H.types!==null&&(C.types=H.types),K.T=C}},le.unstable_useCacheRefresh=function(){return K.H.useCacheRefresh()},le.use=function(p){return K.H.use(p)},le.useActionState=function(p,C,H){return K.H.useActionState(p,C,H)},le.useCallback=function(p,C){return K.H.useCallback(p,C)},le.useContext=function(p){return K.H.useContext(p)},le.useDebugValue=function(){},le.useDeferredValue=function(p,C){return K.H.useDeferredValue(p,C)},le.useEffect=function(p,C){return K.H.useEffect(p,C)},le.useEffectEvent=function(p){return K.H.useEffectEvent(p)},le.useId=function(){return K.H.useId()},le.useImperativeHandle=function(p,C,H){return K.H.useImperativeHandle(p,C,H)},le.useInsertionEffect=function(p,C){return K.H.useInsertionEffect(p,C)},le.useLayoutEffect=function(p,C){return K.H.useLayoutEffect(p,C)},le.useMemo=function(p,C){return K.H.useMemo(p,C)},le.useOptimistic=function(p,C){return K.H.useOptimistic(p,C)},le.useReducer=function(p,C,H){return K.H.useReducer(p,C,H)},le.useRef=function(p){return K.H.useRef(p)},le.useState=function(p){return K.H.useState(p)},le.useSyncExternalStore=function(p,C,H){return K.H.useSyncExternalStore(p,C,H)},le.useTransition=function(){return K.H.useTransition()},le.version="19.2.6",le}var z0;function vf(){return z0||(z0=1,tf.exports=Zm()),tf.exports}var L=vf();const ai=Xm(L);var lf={exports:{}},li={},nf={exports:{}},af={};/**
|
|
18
|
-
* @license React
|
|
19
|
-
* scheduler.production.js
|
|
20
|
-
*
|
|
21
|
-
* Copyright (c) Meta Platforms, Inc. and 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
|
-
*/var N0;function Km(){return N0||(N0=1,(function(u){function f(E,B){var F=E.length;E.push(B);e:for(;0<F;){var ve=F-1>>>1,ne=E[ve];if(0<h(ne,B))E[ve]=B,E[F]=ne,F=ve;else break e}}function d(E){return E.length===0?null:E[0]}function o(E){if(E.length===0)return null;var B=E[0],F=E.pop();if(F!==B){E[0]=F;e:for(var ve=0,ne=E.length,p=ne>>>1;ve<p;){var C=2*(ve+1)-1,H=E[C],x=C+1,U=E[x];if(0>h(H,F))x<ne&&0>h(U,H)?(E[ve]=U,E[x]=F,ve=x):(E[ve]=H,E[C]=F,ve=C);else if(x<ne&&0>h(U,F))E[ve]=U,E[x]=F,ve=x;else break e}}return B}function h(E,B){var F=E.sortIndex-B.sortIndex;return F!==0?F:E.id-B.id}if(u.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var b=performance;u.unstable_now=function(){return b.now()}}else{var M=Date,w=M.now();u.unstable_now=function(){return M.now()-w}}var T=[],v=[],D=1,R=null,q=3,$=!1,I=!1,se=!1,be=!1,Z=typeof setTimeout=="function"?setTimeout:null,Me=typeof clearTimeout=="function"?clearTimeout:null,de=typeof setImmediate<"u"?setImmediate:null;function G(E){for(var B=d(v);B!==null;){if(B.callback===null)o(v);else if(B.startTime<=E)o(v),B.sortIndex=B.expirationTime,f(T,B);else break;B=d(v)}}function ye(E){if(se=!1,G(E),!I)if(d(T)!==null)I=!0,te||(te=!0,Y());else{var B=d(v);B!==null&&Ve(ye,B.startTime-E)}}var te=!1,K=-1,Se=5,He=-1;function At(){return be?!0:!(u.unstable_now()-He<Se)}function lt(){if(be=!1,te){var E=u.unstable_now();He=E;var B=!0;try{e:{I=!1,se&&(se=!1,Me(K),K=-1),$=!0;var F=q;try{t:{for(G(E),R=d(T);R!==null&&!(R.expirationTime>E&&At());){var ve=R.callback;if(typeof ve=="function"){R.callback=null,q=R.priorityLevel;var ne=ve(R.expirationTime<=E);if(E=u.unstable_now(),typeof ne=="function"){R.callback=ne,G(E),B=!0;break t}R===d(T)&&o(T),G(E)}else o(T);R=d(T)}if(R!==null)B=!0;else{var p=d(v);p!==null&&Ve(ye,p.startTime-E),B=!1}}break e}finally{R=null,q=F,$=!1}B=void 0}}finally{B?Y():te=!1}}}var Y;if(typeof de=="function")Y=function(){de(lt)};else if(typeof MessageChannel<"u"){var xe=new MessageChannel,Ne=xe.port2;xe.port1.onmessage=lt,Y=function(){Ne.postMessage(null)}}else Y=function(){Z(lt,0)};function Ve(E,B){K=Z(function(){E(u.unstable_now())},B)}u.unstable_IdlePriority=5,u.unstable_ImmediatePriority=1,u.unstable_LowPriority=4,u.unstable_NormalPriority=3,u.unstable_Profiling=null,u.unstable_UserBlockingPriority=2,u.unstable_cancelCallback=function(E){E.callback=null},u.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"):Se=0<E?Math.floor(1e3/E):5},u.unstable_getCurrentPriorityLevel=function(){return q},u.unstable_next=function(E){switch(q){case 1:case 2:case 3:var B=3;break;default:B=q}var F=q;q=B;try{return E()}finally{q=F}},u.unstable_requestPaint=function(){be=!0},u.unstable_runWithPriority=function(E,B){switch(E){case 1:case 2:case 3:case 4:case 5:break;default:E=3}var F=q;q=E;try{return B()}finally{q=F}},u.unstable_scheduleCallback=function(E,B,F){var ve=u.unstable_now();switch(typeof F=="object"&&F!==null?(F=F.delay,F=typeof F=="number"&&0<F?ve+F:ve):F=ve,E){case 1:var ne=-1;break;case 2:ne=250;break;case 5:ne=1073741823;break;case 4:ne=1e4;break;default:ne=5e3}return ne=F+ne,E={id:D++,callback:B,priorityLevel:E,startTime:F,expirationTime:ne,sortIndex:-1},F>ve?(E.sortIndex=F,f(v,E),d(T)===null&&E===d(v)&&(se?(Me(K),K=-1):se=!0,Ve(ye,F-ve))):(E.sortIndex=ne,f(T,E),I||$||(I=!0,te||(te=!0,Y()))),E},u.unstable_shouldYield=At,u.unstable_wrapCallback=function(E){var B=q;return function(){var F=q;q=B;try{return E.apply(this,arguments)}finally{q=F}}}})(af)),af}var T0;function Jm(){return T0||(T0=1,nf.exports=Km()),nf.exports}var uf={exports:{}},rt={};/**
|
|
26
|
-
* @license React
|
|
27
|
-
* react-dom.production.js
|
|
28
|
-
*
|
|
29
|
-
* Copyright (c) Meta Platforms, Inc. and 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 A0;function $m(){if(A0)return rt;A0=1;var u=vf();function f(T){var v="https://react.dev/errors/"+T;if(1<arguments.length){v+="?args[]="+encodeURIComponent(arguments[1]);for(var D=2;D<arguments.length;D++)v+="&args[]="+encodeURIComponent(arguments[D])}return"Minified React error #"+T+"; visit "+v+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function d(){}var o={d:{f:d,r:function(){throw Error(f(522))},D:d,C:d,L:d,m:d,X:d,S:d,M:d},p:0,findDOMNode:null},h=Symbol.for("react.portal");function b(T,v,D){var R=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:h,key:R==null?null:""+R,children:T,containerInfo:v,implementation:D}}var M=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function w(T,v){if(T==="font")return"";if(typeof v=="string")return v==="use-credentials"?v:""}return rt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,rt.createPortal=function(T,v){var D=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!v||v.nodeType!==1&&v.nodeType!==9&&v.nodeType!==11)throw Error(f(299));return b(T,v,null,D)},rt.flushSync=function(T){var v=M.T,D=o.p;try{if(M.T=null,o.p=2,T)return T()}finally{M.T=v,o.p=D,o.d.f()}},rt.preconnect=function(T,v){typeof T=="string"&&(v?(v=v.crossOrigin,v=typeof v=="string"?v==="use-credentials"?v:"":void 0):v=null,o.d.C(T,v))},rt.prefetchDNS=function(T){typeof T=="string"&&o.d.D(T)},rt.preinit=function(T,v){if(typeof T=="string"&&v&&typeof v.as=="string"){var D=v.as,R=w(D,v.crossOrigin),q=typeof v.integrity=="string"?v.integrity:void 0,$=typeof v.fetchPriority=="string"?v.fetchPriority:void 0;D==="style"?o.d.S(T,typeof v.precedence=="string"?v.precedence:void 0,{crossOrigin:R,integrity:q,fetchPriority:$}):D==="script"&&o.d.X(T,{crossOrigin:R,integrity:q,fetchPriority:$,nonce:typeof v.nonce=="string"?v.nonce:void 0})}},rt.preinitModule=function(T,v){if(typeof T=="string")if(typeof v=="object"&&v!==null){if(v.as==null||v.as==="script"){var D=w(v.as,v.crossOrigin);o.d.M(T,{crossOrigin:D,integrity:typeof v.integrity=="string"?v.integrity:void 0,nonce:typeof v.nonce=="string"?v.nonce:void 0})}}else v==null&&o.d.M(T)},rt.preload=function(T,v){if(typeof T=="string"&&typeof v=="object"&&v!==null&&typeof v.as=="string"){var D=v.as,R=w(D,v.crossOrigin);o.d.L(T,D,{crossOrigin:R,integrity:typeof v.integrity=="string"?v.integrity:void 0,nonce:typeof v.nonce=="string"?v.nonce:void 0,type:typeof v.type=="string"?v.type:void 0,fetchPriority:typeof v.fetchPriority=="string"?v.fetchPriority:void 0,referrerPolicy:typeof v.referrerPolicy=="string"?v.referrerPolicy:void 0,imageSrcSet:typeof v.imageSrcSet=="string"?v.imageSrcSet:void 0,imageSizes:typeof v.imageSizes=="string"?v.imageSizes:void 0,media:typeof v.media=="string"?v.media:void 0})}},rt.preloadModule=function(T,v){if(typeof T=="string")if(v){var D=w(v.as,v.crossOrigin);o.d.m(T,{as:typeof v.as=="string"&&v.as!=="script"?v.as:void 0,crossOrigin:D,integrity:typeof v.integrity=="string"?v.integrity:void 0})}else o.d.m(T)},rt.requestFormReset=function(T){o.d.r(T)},rt.unstable_batchedUpdates=function(T,v){return T(v)},rt.useFormState=function(T,v,D){return M.H.useFormState(T,v,D)},rt.useFormStatus=function(){return M.H.useHostTransitionStatus()},rt.version="19.2.6",rt}var M0;function J0(){if(M0)return uf.exports;M0=1;function u(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(u)}catch(f){console.error(f)}}return u(),uf.exports=$m(),uf.exports}/**
|
|
34
|
-
* @license React
|
|
35
|
-
* react-dom-client.production.js
|
|
36
|
-
*
|
|
37
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
38
|
-
*
|
|
39
|
-
* This source code is licensed under the MIT license found in the
|
|
40
|
-
* LICENSE file in the root directory of this source tree.
|
|
41
|
-
*/var _0;function Fm(){if(_0)return li;_0=1;var u=Jm(),f=vf(),d=J0();function o(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)t+="&args[]="+encodeURIComponent(arguments[l])}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."}function h(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function b(e){var t=e,l=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(l=t.return),e=t.return;while(e)}return t.tag===3?l:null}function M(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 w(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function T(e){if(b(e)!==e)throw Error(o(188))}function v(e){var t=e.alternate;if(!t){if(t=b(e),t===null)throw Error(o(188));return t!==e?null:e}for(var l=e,n=t;;){var a=l.return;if(a===null)break;var i=a.alternate;if(i===null){if(n=a.return,n!==null){l=n;continue}break}if(a.child===i.child){for(i=a.child;i;){if(i===l)return T(a),e;if(i===n)return T(a),t;i=i.sibling}throw Error(o(188))}if(l.return!==n.return)l=a,n=i;else{for(var c=!1,r=a.child;r;){if(r===l){c=!0,l=a,n=i;break}if(r===n){c=!0,n=a,l=i;break}r=r.sibling}if(!c){for(r=i.child;r;){if(r===l){c=!0,l=i,n=a;break}if(r===n){c=!0,n=i,l=a;break}r=r.sibling}if(!c)throw Error(o(189))}}if(l.alternate!==n)throw Error(o(190))}if(l.tag!==3)throw Error(o(188));return l.stateNode.current===l?e:t}function D(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=D(e),t!==null)return t;e=e.sibling}return null}var R=Object.assign,q=Symbol.for("react.element"),$=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),se=Symbol.for("react.fragment"),be=Symbol.for("react.strict_mode"),Z=Symbol.for("react.profiler"),Me=Symbol.for("react.consumer"),de=Symbol.for("react.context"),G=Symbol.for("react.forward_ref"),ye=Symbol.for("react.suspense"),te=Symbol.for("react.suspense_list"),K=Symbol.for("react.memo"),Se=Symbol.for("react.lazy"),He=Symbol.for("react.activity"),At=Symbol.for("react.memo_cache_sentinel"),lt=Symbol.iterator;function Y(e){return e===null||typeof e!="object"?null:(e=lt&&e[lt]||e["@@iterator"],typeof e=="function"?e:null)}var xe=Symbol.for("react.client.reference");function Ne(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===xe?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case se:return"Fragment";case Z:return"Profiler";case be:return"StrictMode";case ye:return"Suspense";case te:return"SuspenseList";case He:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case I:return"Portal";case de:return e.displayName||"Context";case Me:return(e._context.displayName||"Context")+".Consumer";case G:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case K:return t=e.displayName||null,t!==null?t:Ne(e.type)||"Memo";case Se:t=e._payload,e=e._init;try{return Ne(e(t))}catch{}}return null}var Ve=Array.isArray,E=f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,B=d.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,F={pending:!1,data:null,method:null,action:null},ve=[],ne=-1;function p(e){return{current:e}}function C(e){0>ne||(e.current=ve[ne],ve[ne]=null,ne--)}function H(e,t){ne++,ve[ne]=e.current,e.current=t}var x=p(null),U=p(null),X=p(null),Q=p(null);function fe(e,t){switch(H(X,t),H(U,e),H(x,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Q1(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Q1(t),e=k1(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}C(x),H(x,e)}function ue(){C(x),C(U),C(X)}function Ie(e){e.memoizedState!==null&&H(Q,e);var t=x.current,l=k1(t,e.type);t!==l&&(H(U,e),H(x,l))}function Pe(e){U.current===e&&(C(x),C(U)),Q.current===e&&(C(Q),Wa._currentValue=F)}var nt,el;function Be(e){if(nt===void 0)try{throw Error()}catch(l){var t=l.stack.trim().match(/\n( *(at )?)/);nt=t&&t[1]||"",el=-1<l.stack.indexOf(`
|
|
42
|
-
at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
43
|
-
`+nt+e+el}var ot=!1;function Zl(e,t){if(!e||ot)return"";ot=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var n={DetermineComponentFrameRoot:function(){try{if(t){var O=function(){throw Error()};if(Object.defineProperty(O.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(O,[])}catch(N){var z=N}Reflect.construct(e,[],O)}else{try{O.call()}catch(N){z=N}e.call(O.prototype)}}else{try{throw Error()}catch(N){z=N}(O=e())&&typeof O.catch=="function"&&O.catch(function(){})}}catch(N){if(N&&z&&typeof N.stack=="string")return[N.stack,z.stack]}return[null,null]}};n.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var a=Object.getOwnPropertyDescriptor(n.DetermineComponentFrameRoot,"name");a&&a.configurable&&Object.defineProperty(n.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var i=n.DetermineComponentFrameRoot(),c=i[0],r=i[1];if(c&&r){var m=c.split(`
|
|
44
|
-
`),j=r.split(`
|
|
45
|
-
`);for(a=n=0;n<m.length&&!m[n].includes("DetermineComponentFrameRoot");)n++;for(;a<j.length&&!j[a].includes("DetermineComponentFrameRoot");)a++;if(n===m.length||a===j.length)for(n=m.length-1,a=j.length-1;1<=n&&0<=a&&m[n]!==j[a];)a--;for(;1<=n&&0<=a;n--,a--)if(m[n]!==j[a]){if(n!==1||a!==1)do if(n--,a--,0>a||m[n]!==j[a]){var A=`
|
|
46
|
-
`+m[n].replace(" at new "," at ");return e.displayName&&A.includes("<anonymous>")&&(A=A.replace("<anonymous>",e.displayName)),A}while(1<=n&&0<=a);break}}}finally{ot=!1,Error.prepareStackTrace=l}return(l=e?e.displayName||e.name:"")?Be(l):""}function ua(e,t){switch(e.tag){case 26:case 27:case 5:return Be(e.type);case 16:return Be("Lazy");case 13:return e.child!==t&&t!==null?Be("Suspense Fallback"):Be("Suspense");case 19:return Be("SuspenseList");case 0:case 15:return Zl(e.type,!1);case 11:return Zl(e.type.render,!1);case 1:return Zl(e.type,!0);case 31:return Be("Activity");default:return""}}function oi(e){try{var t="",l=null;do t+=ua(e,l),l=e,e=e.return;while(e);return t}catch(n){return`
|
|
47
|
-
Error generating stack: `+n.message+`
|
|
48
|
-
`+n.stack}}var ca=Object.prototype.hasOwnProperty,sa=u.unstable_scheduleCallback,Kl=u.unstable_cancelCallback,Uu=u.unstable_shouldYield,Lu=u.unstable_requestPaint,at=u.unstable_now,Hu=u.unstable_getCurrentPriorityLevel,fa=u.unstable_ImmediatePriority,ri=u.unstable_UserBlockingPriority,Jl=u.unstable_NormalPriority,Bu=u.unstable_LowPriority,di=u.unstable_IdlePriority,qu=u.log,Gu=u.unstable_setDisableYieldValue,$l=null,dt=null;function $t(e){if(typeof qu=="function"&&Gu(e),dt&&typeof dt.setStrictMode=="function")try{dt.setStrictMode($l,e)}catch{}}var mt=Math.clz32?Math.clz32:Vu,Yu=Math.log,mi=Math.LN2;function Vu(e){return e>>>=0,e===0?32:31-(Yu(e)/mi|0)|0}var pn=256,gn=262144,V=4194304;function ce(e){var t=e&42;if(t!==0)return t;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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Fe(e,t,l){var n=e.pendingLanes;if(n===0)return 0;var a=0,i=e.suspendedLanes,c=e.pingedLanes;e=e.warmLanes;var r=n&134217727;return r!==0?(n=r&~i,n!==0?a=ce(n):(c&=r,c!==0?a=ce(c):l||(l=r&~e,l!==0&&(a=ce(l))))):(r=n&~i,r!==0?a=ce(r):c!==0?a=ce(c):l||(l=n&~e,l!==0&&(a=ce(l)))),a===0?0:t!==0&&t!==a&&(t&i)===0&&(i=a&-a,l=t&-t,i>=l||i===32&&(l&4194048)!==0)?t:a}function yt(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function tl(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function hi(){var e=V;return V<<=1,(V&62914560)===0&&(V=4194304),e}function oa(e){for(var t=[],l=0;31>l;l++)t.push(e);return t}function ra(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Od(e,t,l,n,a,i){var c=e.pendingLanes;e.pendingLanes=l,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=l,e.entangledLanes&=l,e.errorRecoveryDisabledLanes&=l,e.shellSuspendCounter=0;var r=e.entanglements,m=e.expirationTimes,j=e.hiddenUpdates;for(l=c&~l;0<l;){var A=31-mt(l),O=1<<A;r[A]=0,m[A]=-1;var z=j[A];if(z!==null)for(j[A]=null,A=0;A<z.length;A++){var N=z[A];N!==null&&(N.lane&=-536870913)}l&=~O}n!==0&&Nf(e,n,0),i!==0&&a===0&&e.tag!==0&&(e.suspendedLanes|=i&~(c&~t))}function Nf(e,t,l){e.pendingLanes|=t,e.suspendedLanes&=~t;var n=31-mt(t);e.entangledLanes|=t,e.entanglements[n]=e.entanglements[n]|1073741824|l&261930}function Tf(e,t){var l=e.entangledLanes|=t;for(e=e.entanglements;l;){var n=31-mt(l),a=1<<n;a&t|e[n]&t&&(e[n]|=t),l&=~a}}function Af(e,t){var l=t&-t;return l=(l&42)!==0?1:Xu(l),(l&(e.suspendedLanes|t))!==0?0:l}function Xu(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Qu(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Mf(){var e=B.p;return e!==0?e:(e=window.event,e===void 0?32:h0(e.type))}function _f(e,t){var l=B.p;try{return B.p=e,t()}finally{B.p=l}}var xl=Math.random().toString(36).slice(2),it="__reactFiber$"+xl,vt="__reactProps$"+xl,bn="__reactContainer$"+xl,ku="__reactEvents$"+xl,wd="__reactListeners$"+xl,Dd="__reactHandles$"+xl,Cf="__reactResources$"+xl,da="__reactMarker$"+xl;function Zu(e){delete e[it],delete e[vt],delete e[ku],delete e[wd],delete e[Dd]}function Sn(e){var t=e[it];if(t)return t;for(var l=e.parentNode;l;){if(t=l[bn]||l[it]){if(l=t.alternate,t.child!==null||l!==null&&l.child!==null)for(e=I1(e);e!==null;){if(l=e[it])return l;e=I1(e)}return t}e=l,l=e.parentNode}return null}function xn(e){if(e=e[it]||e[bn]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function ma(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(o(33))}function jn(e){var t=e[Cf];return t||(t=e[Cf]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function et(e){e[da]=!0}var Of=new Set,wf={};function Fl(e,t){En(e,t),En(e+"Capture",t)}function En(e,t){for(wf[e]=t,e=0;e<t.length;e++)Of.add(t[e])}var Rd=RegExp("^[: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]*$"),Df={},Rf={};function Ud(e){return ca.call(Rf,e)?!0:ca.call(Df,e)?!1:Rd.test(e)?Rf[e]=!0:(Df[e]=!0,!1)}function yi(e,t,l){if(Ud(t))if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var n=t.toLowerCase().slice(0,5);if(n!=="data-"&&n!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+l)}}function vi(e,t,l){if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+l)}}function ll(e,t,l,n){if(n===null)e.removeAttribute(l);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(l);return}e.setAttributeNS(t,l,""+n)}}function Ut(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Uf(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Ld(e,t,l){var n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var a=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(c){l=""+c,i.call(this,c)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return l},setValue:function(c){l=""+c},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ku(e){if(!e._valueTracker){var t=Uf(e)?"checked":"value";e._valueTracker=Ld(e,t,""+e[t])}}function Lf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var l=t.getValue(),n="";return e&&(n=Uf(e)?e.checked?"true":"false":e.value),e=n,e!==l?(t.setValue(e),!0):!1}function pi(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}}var Hd=/[\n"\\]/g;function Lt(e){return e.replace(Hd,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Ju(e,t,l,n,a,i,c,r){e.name="",c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?e.type=c:e.removeAttribute("type"),t!=null?c==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Ut(t)):e.value!==""+Ut(t)&&(e.value=""+Ut(t)):c!=="submit"&&c!=="reset"||e.removeAttribute("value"),t!=null?$u(e,c,Ut(t)):l!=null?$u(e,c,Ut(l)):n!=null&&e.removeAttribute("value"),a==null&&i!=null&&(e.defaultChecked=!!i),a!=null&&(e.checked=a&&typeof a!="function"&&typeof a!="symbol"),r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"?e.name=""+Ut(r):e.removeAttribute("name")}function Hf(e,t,l,n,a,i,c,r){if(i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(e.type=i),t!=null||l!=null){if(!(i!=="submit"&&i!=="reset"||t!=null)){Ku(e);return}l=l!=null?""+Ut(l):"",t=t!=null?""+Ut(t):l,r||t===e.value||(e.value=t),e.defaultValue=t}n=n??a,n=typeof n!="function"&&typeof n!="symbol"&&!!n,e.checked=r?e.checked:!!n,e.defaultChecked=!!n,c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(e.name=c),Ku(e)}function $u(e,t,l){t==="number"&&pi(e.ownerDocument)===e||e.defaultValue===""+l||(e.defaultValue=""+l)}function zn(e,t,l,n){if(e=e.options,t){t={};for(var a=0;a<l.length;a++)t["$"+l[a]]=!0;for(l=0;l<e.length;l++)a=t.hasOwnProperty("$"+e[l].value),e[l].selected!==a&&(e[l].selected=a),a&&n&&(e[l].defaultSelected=!0)}else{for(l=""+Ut(l),t=null,a=0;a<e.length;a++){if(e[a].value===l){e[a].selected=!0,n&&(e[a].defaultSelected=!0);return}t!==null||e[a].disabled||(t=e[a])}t!==null&&(t.selected=!0)}}function Bf(e,t,l){if(t!=null&&(t=""+Ut(t),t!==e.value&&(e.value=t),l==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=l!=null?""+Ut(l):""}function qf(e,t,l,n){if(t==null){if(n!=null){if(l!=null)throw Error(o(92));if(Ve(n)){if(1<n.length)throw Error(o(93));n=n[0]}l=n}l==null&&(l=""),t=l}l=Ut(t),e.defaultValue=l,n=e.textContent,n===l&&n!==""&&n!==null&&(e.value=n),Ku(e)}function Nn(e,t){if(t){var l=e.firstChild;if(l&&l===e.lastChild&&l.nodeType===3){l.nodeValue=t;return}}e.textContent=t}var Bd=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Gf(e,t,l){var n=t.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?n?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":n?e.setProperty(t,l):typeof l!="number"||l===0||Bd.has(t)?t==="float"?e.cssFloat=l:e[t]=(""+l).trim():e[t]=l+"px"}function Yf(e,t,l){if(t!=null&&typeof t!="object")throw Error(o(62));if(e=e.style,l!=null){for(var n in l)!l.hasOwnProperty(n)||t!=null&&t.hasOwnProperty(n)||(n.indexOf("--")===0?e.setProperty(n,""):n==="float"?e.cssFloat="":e[n]="");for(var a in t)n=t[a],t.hasOwnProperty(a)&&l[a]!==n&&Gf(e,a,n)}else for(var i in t)t.hasOwnProperty(i)&&Gf(e,i,t[i])}function Fu(e){if(e.indexOf("-")===-1)return!1;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 qd=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Gd=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function gi(e){return Gd.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function nl(){}var Wu=null;function Iu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Tn=null,An=null;function Vf(e){var t=xn(e);if(t&&(e=t.stateNode)){var l=e[vt]||null;e:switch(e=t.stateNode,t.type){case"input":if(Ju(e,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),t=l.name,l.type==="radio"&&t!=null){for(l=e;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+Lt(""+t)+'"][type="radio"]'),t=0;t<l.length;t++){var n=l[t];if(n!==e&&n.form===e.form){var a=n[vt]||null;if(!a)throw Error(o(90));Ju(n,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(t=0;t<l.length;t++)n=l[t],n.form===e.form&&Lf(n)}break e;case"textarea":Bf(e,l.value,l.defaultValue);break e;case"select":t=l.value,t!=null&&zn(e,!!l.multiple,t,!1)}}}var Pu=!1;function Xf(e,t,l){if(Pu)return e(t,l);Pu=!0;try{var n=e(t);return n}finally{if(Pu=!1,(Tn!==null||An!==null)&&(iu(),Tn&&(t=Tn,e=An,An=Tn=null,Vf(t),e)))for(t=0;t<e.length;t++)Vf(e[t])}}function ha(e,t){var l=e.stateNode;if(l===null)return null;var n=l[vt]||null;if(n===null)return null;l=n[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":(n=!n.disabled)||(e=e.type,n=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!n;break e;default:e=!1}if(e)return null;if(l&&typeof l!="function")throw Error(o(231,t,typeof l));return l}var al=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ec=!1;if(al)try{var ya={};Object.defineProperty(ya,"passive",{get:function(){ec=!0}}),window.addEventListener("test",ya,ya),window.removeEventListener("test",ya,ya)}catch{ec=!1}var jl=null,tc=null,bi=null;function Qf(){if(bi)return bi;var e,t=tc,l=t.length,n,a="value"in jl?jl.value:jl.textContent,i=a.length;for(e=0;e<l&&t[e]===a[e];e++);var c=l-e;for(n=1;n<=c&&t[l-n]===a[i-n];n++);return bi=a.slice(e,1<n?1-n:void 0)}function Si(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 xi(){return!0}function kf(){return!1}function pt(e){function t(l,n,a,i,c){this._reactName=l,this._targetInst=a,this.type=n,this.nativeEvent=i,this.target=c,this.currentTarget=null;for(var r in e)e.hasOwnProperty(r)&&(l=e[r],this[r]=l?l(i):i[r]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?xi:kf,this.isPropagationStopped=kf,this}return R(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=xi)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=xi)},persist:function(){},isPersistent:xi}),t}var Wl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ji=pt(Wl),va=R({},Wl,{view:0,detail:0}),Yd=pt(va),lc,nc,pa,Ei=R({},va,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ic,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!==pa&&(pa&&e.type==="mousemove"?(lc=e.screenX-pa.screenX,nc=e.screenY-pa.screenY):nc=lc=0,pa=e),lc)},movementY:function(e){return"movementY"in e?e.movementY:nc}}),Zf=pt(Ei),Vd=R({},Ei,{dataTransfer:0}),Xd=pt(Vd),Qd=R({},va,{relatedTarget:0}),ac=pt(Qd),kd=R({},Wl,{animationName:0,elapsedTime:0,pseudoElement:0}),Zd=pt(kd),Kd=R({},Wl,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Jd=pt(Kd),$d=R({},Wl,{data:0}),Kf=pt($d),Fd={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Wd={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"},Id={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Pd(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Id[e])?!!t[e]:!1}function ic(){return Pd}var e2=R({},va,{key:function(e){if(e.key){var t=Fd[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Si(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Wd[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ic,charCode:function(e){return e.type==="keypress"?Si(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Si(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),t2=pt(e2),l2=R({},Ei,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Jf=pt(l2),n2=R({},va,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ic}),a2=pt(n2),i2=R({},Wl,{propertyName:0,elapsedTime:0,pseudoElement:0}),u2=pt(i2),c2=R({},Ei,{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}),s2=pt(c2),f2=R({},Wl,{newState:0,oldState:0}),o2=pt(f2),r2=[9,13,27,32],uc=al&&"CompositionEvent"in window,ga=null;al&&"documentMode"in document&&(ga=document.documentMode);var d2=al&&"TextEvent"in window&&!ga,$f=al&&(!uc||ga&&8<ga&&11>=ga),Ff=" ",Wf=!1;function If(e,t){switch(e){case"keyup":return r2.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Pf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Mn=!1;function m2(e,t){switch(e){case"compositionend":return Pf(t);case"keypress":return t.which!==32?null:(Wf=!0,Ff);case"textInput":return e=t.data,e===Ff&&Wf?null:e;default:return null}}function h2(e,t){if(Mn)return e==="compositionend"||!uc&&If(e,t)?(e=Qf(),bi=tc=jl=null,Mn=!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 $f&&t.locale!=="ko"?null:t.data;default:return null}}var y2={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 eo(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!y2[e.type]:t==="textarea"}function to(e,t,l,n){Tn?An?An.push(n):An=[n]:Tn=n,t=du(t,"onChange"),0<t.length&&(l=new ji("onChange","change",null,l,n),e.push({event:l,listeners:t}))}var ba=null,Sa=null;function v2(e){B1(e,0)}function zi(e){var t=ma(e);if(Lf(t))return e}function lo(e,t){if(e==="change")return t}var no=!1;if(al){var cc;if(al){var sc="oninput"in document;if(!sc){var ao=document.createElement("div");ao.setAttribute("oninput","return;"),sc=typeof ao.oninput=="function"}cc=sc}else cc=!1;no=cc&&(!document.documentMode||9<document.documentMode)}function io(){ba&&(ba.detachEvent("onpropertychange",uo),Sa=ba=null)}function uo(e){if(e.propertyName==="value"&&zi(Sa)){var t=[];to(t,Sa,e,Iu(e)),Xf(v2,t)}}function p2(e,t,l){e==="focusin"?(io(),ba=t,Sa=l,ba.attachEvent("onpropertychange",uo)):e==="focusout"&&io()}function g2(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return zi(Sa)}function b2(e,t){if(e==="click")return zi(t)}function S2(e,t){if(e==="input"||e==="change")return zi(t)}function x2(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Mt=typeof Object.is=="function"?Object.is:x2;function xa(e,t){if(Mt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var l=Object.keys(e),n=Object.keys(t);if(l.length!==n.length)return!1;for(n=0;n<l.length;n++){var a=l[n];if(!ca.call(t,a)||!Mt(e[a],t[a]))return!1}return!0}function co(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function so(e,t){var l=co(e);e=0;for(var n;l;){if(l.nodeType===3){if(n=e+l.textContent.length,e<=t&&n>=t)return{node:l,offset:t-e};e=n}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=co(l)}}function fo(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?fo(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function oo(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=pi(e.document);t instanceof e.HTMLIFrameElement;){try{var l=typeof t.contentWindow.location.href=="string"}catch{l=!1}if(l)e=t.contentWindow;else break;t=pi(e.document)}return t}function fc(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")}var j2=al&&"documentMode"in document&&11>=document.documentMode,_n=null,oc=null,ja=null,rc=!1;function ro(e,t,l){var n=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;rc||_n==null||_n!==pi(n)||(n=_n,"selectionStart"in n&&fc(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),ja&&xa(ja,n)||(ja=n,n=du(oc,"onSelect"),0<n.length&&(t=new ji("onSelect","select",null,t,l),e.push({event:t,listeners:n}),t.target=_n)))}function Il(e,t){var l={};return l[e.toLowerCase()]=t.toLowerCase(),l["Webkit"+e]="webkit"+t,l["Moz"+e]="moz"+t,l}var Cn={animationend:Il("Animation","AnimationEnd"),animationiteration:Il("Animation","AnimationIteration"),animationstart:Il("Animation","AnimationStart"),transitionrun:Il("Transition","TransitionRun"),transitionstart:Il("Transition","TransitionStart"),transitioncancel:Il("Transition","TransitionCancel"),transitionend:Il("Transition","TransitionEnd")},dc={},mo={};al&&(mo=document.createElement("div").style,"AnimationEvent"in window||(delete Cn.animationend.animation,delete Cn.animationiteration.animation,delete Cn.animationstart.animation),"TransitionEvent"in window||delete Cn.transitionend.transition);function Pl(e){if(dc[e])return dc[e];if(!Cn[e])return e;var t=Cn[e],l;for(l in t)if(t.hasOwnProperty(l)&&l in mo)return dc[e]=t[l];return e}var ho=Pl("animationend"),yo=Pl("animationiteration"),vo=Pl("animationstart"),E2=Pl("transitionrun"),z2=Pl("transitionstart"),N2=Pl("transitioncancel"),po=Pl("transitionend"),go=new Map,mc="abort auxClick beforeToggle 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(" ");mc.push("scrollEnd");function kt(e,t){go.set(e,t),Fl(t,[e])}var Ni=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Ht=[],On=0,hc=0;function Ti(){for(var e=On,t=hc=On=0;t<e;){var l=Ht[t];Ht[t++]=null;var n=Ht[t];Ht[t++]=null;var a=Ht[t];Ht[t++]=null;var i=Ht[t];if(Ht[t++]=null,n!==null&&a!==null){var c=n.pending;c===null?a.next=a:(a.next=c.next,c.next=a),n.pending=a}i!==0&&bo(l,a,i)}}function Ai(e,t,l,n){Ht[On++]=e,Ht[On++]=t,Ht[On++]=l,Ht[On++]=n,hc|=n,e.lanes|=n,e=e.alternate,e!==null&&(e.lanes|=n)}function yc(e,t,l,n){return Ai(e,t,l,n),Mi(e)}function en(e,t){return Ai(e,null,null,t),Mi(e)}function bo(e,t,l){e.lanes|=l;var n=e.alternate;n!==null&&(n.lanes|=l);for(var a=!1,i=e.return;i!==null;)i.childLanes|=l,n=i.alternate,n!==null&&(n.childLanes|=l),i.tag===22&&(e=i.stateNode,e===null||e._visibility&1||(a=!0)),e=i,i=i.return;return e.tag===3?(i=e.stateNode,a&&t!==null&&(a=31-mt(l),e=i.hiddenUpdates,n=e[a],n===null?e[a]=[t]:n.push(t),t.lane=l|536870912),i):null}function Mi(e){if(50<Qa)throw Qa=0,zs=null,Error(o(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var wn={};function T2(e,t,l,n){this.tag=e,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function _t(e,t,l,n){return new T2(e,t,l,n)}function vc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function il(e,t){var l=e.alternate;return l===null?(l=_t(e.tag,t,e.key,e.mode),l.elementType=e.elementType,l.type=e.type,l.stateNode=e.stateNode,l.alternate=e,e.alternate=l):(l.pendingProps=t,l.type=e.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=e.flags&65011712,l.childLanes=e.childLanes,l.lanes=e.lanes,l.child=e.child,l.memoizedProps=e.memoizedProps,l.memoizedState=e.memoizedState,l.updateQueue=e.updateQueue,t=e.dependencies,l.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},l.sibling=e.sibling,l.index=e.index,l.ref=e.ref,l.refCleanup=e.refCleanup,l}function So(e,t){e.flags&=65011714;var l=e.alternate;return l===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=l.childLanes,e.lanes=l.lanes,e.child=l.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=l.memoizedProps,e.memoizedState=l.memoizedState,e.updateQueue=l.updateQueue,e.type=l.type,t=l.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function _i(e,t,l,n,a,i){var c=0;if(n=e,typeof e=="function")vc(e)&&(c=1);else if(typeof e=="string")c=Om(e,l,x.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case He:return e=_t(31,l,t,a),e.elementType=He,e.lanes=i,e;case se:return tn(l.children,a,i,t);case be:c=8,a|=24;break;case Z:return e=_t(12,l,t,a|2),e.elementType=Z,e.lanes=i,e;case ye:return e=_t(13,l,t,a),e.elementType=ye,e.lanes=i,e;case te:return e=_t(19,l,t,a),e.elementType=te,e.lanes=i,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case de:c=10;break e;case Me:c=9;break e;case G:c=11;break e;case K:c=14;break e;case Se:c=16,n=null;break e}c=29,l=Error(o(130,e===null?"null":typeof e,"")),n=null}return t=_t(c,l,t,a),t.elementType=e,t.type=n,t.lanes=i,t}function tn(e,t,l,n){return e=_t(7,e,n,t),e.lanes=l,e}function pc(e,t,l){return e=_t(6,e,null,t),e.lanes=l,e}function xo(e){var t=_t(18,null,null,0);return t.stateNode=e,t}function gc(e,t,l){return t=_t(4,e.children!==null?e.children:[],e.key,t),t.lanes=l,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var jo=new WeakMap;function Bt(e,t){if(typeof e=="object"&&e!==null){var l=jo.get(e);return l!==void 0?l:(t={value:e,source:t,stack:oi(t)},jo.set(e,t),t)}return{value:e,source:t,stack:oi(t)}}var Dn=[],Rn=0,Ci=null,Ea=0,qt=[],Gt=0,El=null,Ft=1,Wt="";function ul(e,t){Dn[Rn++]=Ea,Dn[Rn++]=Ci,Ci=e,Ea=t}function Eo(e,t,l){qt[Gt++]=Ft,qt[Gt++]=Wt,qt[Gt++]=El,El=e;var n=Ft;e=Wt;var a=32-mt(n)-1;n&=~(1<<a),l+=1;var i=32-mt(t)+a;if(30<i){var c=a-a%5;i=(n&(1<<c)-1).toString(32),n>>=c,a-=c,Ft=1<<32-mt(t)+a|l<<a|n,Wt=i+e}else Ft=1<<i|l<<a|n,Wt=e}function bc(e){e.return!==null&&(ul(e,1),Eo(e,1,0))}function Sc(e){for(;e===Ci;)Ci=Dn[--Rn],Dn[Rn]=null,Ea=Dn[--Rn],Dn[Rn]=null;for(;e===El;)El=qt[--Gt],qt[Gt]=null,Wt=qt[--Gt],qt[Gt]=null,Ft=qt[--Gt],qt[Gt]=null}function zo(e,t){qt[Gt++]=Ft,qt[Gt++]=Wt,qt[Gt++]=El,Ft=t.id,Wt=t.overflow,El=e}var ut=null,Re=null,pe=!1,zl=null,Yt=!1,xc=Error(o(519));function Nl(e){var t=Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw za(Bt(t,e)),xc}function No(e){var t=e.stateNode,l=e.type,n=e.memoizedProps;switch(t[it]=e,t[vt]=n,l){case"dialog":re("cancel",t),re("close",t);break;case"iframe":case"object":case"embed":re("load",t);break;case"video":case"audio":for(l=0;l<Za.length;l++)re(Za[l],t);break;case"source":re("error",t);break;case"img":case"image":case"link":re("error",t),re("load",t);break;case"details":re("toggle",t);break;case"input":re("invalid",t),Hf(t,n.value,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name,!0);break;case"select":re("invalid",t);break;case"textarea":re("invalid",t),qf(t,n.value,n.defaultValue,n.children)}l=n.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||t.textContent===""+l||n.suppressHydrationWarning===!0||V1(t.textContent,l)?(n.popover!=null&&(re("beforetoggle",t),re("toggle",t)),n.onScroll!=null&&re("scroll",t),n.onScrollEnd!=null&&re("scrollend",t),n.onClick!=null&&(t.onclick=nl),t=!0):t=!1,t||Nl(e,!0)}function To(e){for(ut=e.return;ut;)switch(ut.tag){case 5:case 31:case 13:Yt=!1;return;case 27:case 3:Yt=!0;return;default:ut=ut.return}}function Un(e){if(e!==ut)return!1;if(!pe)return To(e),pe=!0,!1;var t=e.tag,l;if((l=t!==3&&t!==27)&&((l=t===5)&&(l=e.type,l=!(l!=="form"&&l!=="button")||qs(e.type,e.memoizedProps)),l=!l),l&&Re&&Nl(e),To(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));Re=W1(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));Re=W1(e)}else t===27?(t=Re,ql(e.type)?(e=Qs,Qs=null,Re=e):Re=t):Re=ut?Xt(e.stateNode.nextSibling):null;return!0}function ln(){Re=ut=null,pe=!1}function jc(){var e=zl;return e!==null&&(xt===null?xt=e:xt.push.apply(xt,e),zl=null),e}function za(e){zl===null?zl=[e]:zl.push(e)}var Ec=p(null),nn=null,cl=null;function Tl(e,t,l){H(Ec,t._currentValue),t._currentValue=l}function sl(e){e._currentValue=Ec.current,C(Ec)}function zc(e,t,l){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===l)break;e=e.return}}function Nc(e,t,l,n){var a=e.child;for(a!==null&&(a.return=e);a!==null;){var i=a.dependencies;if(i!==null){var c=a.child;i=i.firstContext;e:for(;i!==null;){var r=i;i=a;for(var m=0;m<t.length;m++)if(r.context===t[m]){i.lanes|=l,r=i.alternate,r!==null&&(r.lanes|=l),zc(i.return,l,e),n||(c=null);break e}i=r.next}}else if(a.tag===18){if(c=a.return,c===null)throw Error(o(341));c.lanes|=l,i=c.alternate,i!==null&&(i.lanes|=l),zc(c,l,e),c=null}else c=a.child;if(c!==null)c.return=a;else for(c=a;c!==null;){if(c===e){c=null;break}if(a=c.sibling,a!==null){a.return=c.return,c=a;break}c=c.return}a=c}}function Ln(e,t,l,n){e=null;for(var a=t,i=!1;a!==null;){if(!i){if((a.flags&524288)!==0)i=!0;else if((a.flags&262144)!==0)break}if(a.tag===10){var c=a.alternate;if(c===null)throw Error(o(387));if(c=c.memoizedProps,c!==null){var r=a.type;Mt(a.pendingProps.value,c.value)||(e!==null?e.push(r):e=[r])}}else if(a===Q.current){if(c=a.alternate,c===null)throw Error(o(387));c.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(e!==null?e.push(Wa):e=[Wa])}a=a.return}e!==null&&Nc(t,e,l,n),t.flags|=262144}function Oi(e){for(e=e.firstContext;e!==null;){if(!Mt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function an(e){nn=e,cl=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function ct(e){return Ao(nn,e)}function wi(e,t){return nn===null&&an(e),Ao(e,t)}function Ao(e,t){var l=t._currentValue;if(t={context:t,memoizedValue:l,next:null},cl===null){if(e===null)throw Error(o(308));cl=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else cl=cl.next=t;return l}var A2=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(l,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(l){return l()})}},M2=u.unstable_scheduleCallback,_2=u.unstable_NormalPriority,ke={$$typeof:de,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Tc(){return{controller:new A2,data:new Map,refCount:0}}function Na(e){e.refCount--,e.refCount===0&&M2(_2,function(){e.controller.abort()})}var Ta=null,Ac=0,Hn=0,Bn=null;function C2(e,t){if(Ta===null){var l=Ta=[];Ac=0,Hn=Cs(),Bn={status:"pending",value:void 0,then:function(n){l.push(n)}}}return Ac++,t.then(Mo,Mo),t}function Mo(){if(--Ac===0&&Ta!==null){Bn!==null&&(Bn.status="fulfilled");var e=Ta;Ta=null,Hn=0,Bn=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function O2(e,t){var l=[],n={status:"pending",value:null,reason:null,then:function(a){l.push(a)}};return e.then(function(){n.status="fulfilled",n.value=t;for(var a=0;a<l.length;a++)(0,l[a])(t)},function(a){for(n.status="rejected",n.reason=a,a=0;a<l.length;a++)(0,l[a])(void 0)}),n}var _o=E.S;E.S=function(e,t){d1=at(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&C2(e,t),_o!==null&&_o(e,t)};var un=p(null);function Mc(){var e=un.current;return e!==null?e:we.pooledCache}function Di(e,t){t===null?H(un,un.current):H(un,t.pool)}function Co(){var e=Mc();return e===null?null:{parent:ke._currentValue,pool:e}}var qn=Error(o(460)),_c=Error(o(474)),Ri=Error(o(542)),Ui={then:function(){}};function Oo(e){return e=e.status,e==="fulfilled"||e==="rejected"}function wo(e,t,l){switch(l=e[l],l===void 0?e.push(t):l!==t&&(t.then(nl,nl),t=l),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Ro(e),e;default:if(typeof t.status=="string")t.then(nl,nl);else{if(e=we,e!==null&&100<e.shellSuspendCounter)throw Error(o(482));e=t,e.status="pending",e.then(function(n){if(t.status==="pending"){var a=t;a.status="fulfilled",a.value=n}},function(n){if(t.status==="pending"){var a=t;a.status="rejected",a.reason=n}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Ro(e),e}throw sn=t,qn}}function cn(e){try{var t=e._init;return t(e._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(sn=l,qn):l}}var sn=null;function Do(){if(sn===null)throw Error(o(459));var e=sn;return sn=null,e}function Ro(e){if(e===qn||e===Ri)throw Error(o(483))}var Gn=null,Aa=0;function Li(e){var t=Aa;return Aa+=1,Gn===null&&(Gn=[]),wo(Gn,e,t)}function Ma(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Hi(e,t){throw t.$$typeof===q?Error(o(525)):(e=Object.prototype.toString.call(t),Error(o(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function Uo(e){function t(g,y){if(e){var S=g.deletions;S===null?(g.deletions=[y],g.flags|=16):S.push(y)}}function l(g,y){if(!e)return null;for(;y!==null;)t(g,y),y=y.sibling;return null}function n(g){for(var y=new Map;g!==null;)g.key!==null?y.set(g.key,g):y.set(g.index,g),g=g.sibling;return y}function a(g,y){return g=il(g,y),g.index=0,g.sibling=null,g}function i(g,y,S){return g.index=S,e?(S=g.alternate,S!==null?(S=S.index,S<y?(g.flags|=67108866,y):S):(g.flags|=67108866,y)):(g.flags|=1048576,y)}function c(g){return e&&g.alternate===null&&(g.flags|=67108866),g}function r(g,y,S,_){return y===null||y.tag!==6?(y=pc(S,g.mode,_),y.return=g,y):(y=a(y,S),y.return=g,y)}function m(g,y,S,_){var W=S.type;return W===se?A(g,y,S.props.children,_,S.key):y!==null&&(y.elementType===W||typeof W=="object"&&W!==null&&W.$$typeof===Se&&cn(W)===y.type)?(y=a(y,S.props),Ma(y,S),y.return=g,y):(y=_i(S.type,S.key,S.props,null,g.mode,_),Ma(y,S),y.return=g,y)}function j(g,y,S,_){return y===null||y.tag!==4||y.stateNode.containerInfo!==S.containerInfo||y.stateNode.implementation!==S.implementation?(y=gc(S,g.mode,_),y.return=g,y):(y=a(y,S.children||[]),y.return=g,y)}function A(g,y,S,_,W){return y===null||y.tag!==7?(y=tn(S,g.mode,_,W),y.return=g,y):(y=a(y,S),y.return=g,y)}function O(g,y,S){if(typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint")return y=pc(""+y,g.mode,S),y.return=g,y;if(typeof y=="object"&&y!==null){switch(y.$$typeof){case $:return S=_i(y.type,y.key,y.props,null,g.mode,S),Ma(S,y),S.return=g,S;case I:return y=gc(y,g.mode,S),y.return=g,y;case Se:return y=cn(y),O(g,y,S)}if(Ve(y)||Y(y))return y=tn(y,g.mode,S,null),y.return=g,y;if(typeof y.then=="function")return O(g,Li(y),S);if(y.$$typeof===de)return O(g,wi(g,y),S);Hi(g,y)}return null}function z(g,y,S,_){var W=y!==null?y.key:null;if(typeof S=="string"&&S!==""||typeof S=="number"||typeof S=="bigint")return W!==null?null:r(g,y,""+S,_);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case $:return S.key===W?m(g,y,S,_):null;case I:return S.key===W?j(g,y,S,_):null;case Se:return S=cn(S),z(g,y,S,_)}if(Ve(S)||Y(S))return W!==null?null:A(g,y,S,_,null);if(typeof S.then=="function")return z(g,y,Li(S),_);if(S.$$typeof===de)return z(g,y,wi(g,S),_);Hi(g,S)}return null}function N(g,y,S,_,W){if(typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint")return g=g.get(S)||null,r(y,g,""+_,W);if(typeof _=="object"&&_!==null){switch(_.$$typeof){case $:return g=g.get(_.key===null?S:_.key)||null,m(y,g,_,W);case I:return g=g.get(_.key===null?S:_.key)||null,j(y,g,_,W);case Se:return _=cn(_),N(g,y,S,_,W)}if(Ve(_)||Y(_))return g=g.get(S)||null,A(y,g,_,W,null);if(typeof _.then=="function")return N(g,y,S,Li(_),W);if(_.$$typeof===de)return N(g,y,S,wi(y,_),W);Hi(y,_)}return null}function k(g,y,S,_){for(var W=null,je=null,J=y,ie=y=0,he=null;J!==null&&ie<S.length;ie++){J.index>ie?(he=J,J=null):he=J.sibling;var Ee=z(g,J,S[ie],_);if(Ee===null){J===null&&(J=he);break}e&&J&&Ee.alternate===null&&t(g,J),y=i(Ee,y,ie),je===null?W=Ee:je.sibling=Ee,je=Ee,J=he}if(ie===S.length)return l(g,J),pe&&ul(g,ie),W;if(J===null){for(;ie<S.length;ie++)J=O(g,S[ie],_),J!==null&&(y=i(J,y,ie),je===null?W=J:je.sibling=J,je=J);return pe&&ul(g,ie),W}for(J=n(J);ie<S.length;ie++)he=N(J,g,ie,S[ie],_),he!==null&&(e&&he.alternate!==null&&J.delete(he.key===null?ie:he.key),y=i(he,y,ie),je===null?W=he:je.sibling=he,je=he);return e&&J.forEach(function(Ql){return t(g,Ql)}),pe&&ul(g,ie),W}function P(g,y,S,_){if(S==null)throw Error(o(151));for(var W=null,je=null,J=y,ie=y=0,he=null,Ee=S.next();J!==null&&!Ee.done;ie++,Ee=S.next()){J.index>ie?(he=J,J=null):he=J.sibling;var Ql=z(g,J,Ee.value,_);if(Ql===null){J===null&&(J=he);break}e&&J&&Ql.alternate===null&&t(g,J),y=i(Ql,y,ie),je===null?W=Ql:je.sibling=Ql,je=Ql,J=he}if(Ee.done)return l(g,J),pe&&ul(g,ie),W;if(J===null){for(;!Ee.done;ie++,Ee=S.next())Ee=O(g,Ee.value,_),Ee!==null&&(y=i(Ee,y,ie),je===null?W=Ee:je.sibling=Ee,je=Ee);return pe&&ul(g,ie),W}for(J=n(J);!Ee.done;ie++,Ee=S.next())Ee=N(J,g,ie,Ee.value,_),Ee!==null&&(e&&Ee.alternate!==null&&J.delete(Ee.key===null?ie:Ee.key),y=i(Ee,y,ie),je===null?W=Ee:je.sibling=Ee,je=Ee);return e&&J.forEach(function(Vm){return t(g,Vm)}),pe&&ul(g,ie),W}function Oe(g,y,S,_){if(typeof S=="object"&&S!==null&&S.type===se&&S.key===null&&(S=S.props.children),typeof S=="object"&&S!==null){switch(S.$$typeof){case $:e:{for(var W=S.key;y!==null;){if(y.key===W){if(W=S.type,W===se){if(y.tag===7){l(g,y.sibling),_=a(y,S.props.children),_.return=g,g=_;break e}}else if(y.elementType===W||typeof W=="object"&&W!==null&&W.$$typeof===Se&&cn(W)===y.type){l(g,y.sibling),_=a(y,S.props),Ma(_,S),_.return=g,g=_;break e}l(g,y);break}else t(g,y);y=y.sibling}S.type===se?(_=tn(S.props.children,g.mode,_,S.key),_.return=g,g=_):(_=_i(S.type,S.key,S.props,null,g.mode,_),Ma(_,S),_.return=g,g=_)}return c(g);case I:e:{for(W=S.key;y!==null;){if(y.key===W)if(y.tag===4&&y.stateNode.containerInfo===S.containerInfo&&y.stateNode.implementation===S.implementation){l(g,y.sibling),_=a(y,S.children||[]),_.return=g,g=_;break e}else{l(g,y);break}else t(g,y);y=y.sibling}_=gc(S,g.mode,_),_.return=g,g=_}return c(g);case Se:return S=cn(S),Oe(g,y,S,_)}if(Ve(S))return k(g,y,S,_);if(Y(S)){if(W=Y(S),typeof W!="function")throw Error(o(150));return S=W.call(S),P(g,y,S,_)}if(typeof S.then=="function")return Oe(g,y,Li(S),_);if(S.$$typeof===de)return Oe(g,y,wi(g,S),_);Hi(g,S)}return typeof S=="string"&&S!==""||typeof S=="number"||typeof S=="bigint"?(S=""+S,y!==null&&y.tag===6?(l(g,y.sibling),_=a(y,S),_.return=g,g=_):(l(g,y),_=pc(S,g.mode,_),_.return=g,g=_),c(g)):l(g,y)}return function(g,y,S,_){try{Aa=0;var W=Oe(g,y,S,_);return Gn=null,W}catch(J){if(J===qn||J===Ri)throw J;var je=_t(29,J,null,g.mode);return je.lanes=_,je.return=g,je}finally{}}}var fn=Uo(!0),Lo=Uo(!1),Al=!1;function Cc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Oc(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Ml(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function _l(e,t,l){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,(ze&2)!==0){var a=n.pending;return a===null?t.next=t:(t.next=a.next,a.next=t),n.pending=t,t=Mi(e),bo(e,null,l),t}return Ai(e,n,t,l),Mi(e)}function _a(e,t,l){if(t=t.updateQueue,t!==null&&(t=t.shared,(l&4194048)!==0)){var n=t.lanes;n&=e.pendingLanes,l|=n,t.lanes=l,Tf(e,l)}}function wc(e,t){var l=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,l===n)){var a=null,i=null;if(l=l.firstBaseUpdate,l!==null){do{var c={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};i===null?a=i=c:i=i.next=c,l=l.next}while(l!==null);i===null?a=i=t:i=i.next=t}else a=i=t;l={baseState:n.baseState,firstBaseUpdate:a,lastBaseUpdate:i,shared:n.shared,callbacks:n.callbacks},e.updateQueue=l;return}e=l.lastBaseUpdate,e===null?l.firstBaseUpdate=t:e.next=t,l.lastBaseUpdate=t}var Dc=!1;function Ca(){if(Dc){var e=Bn;if(e!==null)throw e}}function Oa(e,t,l,n){Dc=!1;var a=e.updateQueue;Al=!1;var i=a.firstBaseUpdate,c=a.lastBaseUpdate,r=a.shared.pending;if(r!==null){a.shared.pending=null;var m=r,j=m.next;m.next=null,c===null?i=j:c.next=j,c=m;var A=e.alternate;A!==null&&(A=A.updateQueue,r=A.lastBaseUpdate,r!==c&&(r===null?A.firstBaseUpdate=j:r.next=j,A.lastBaseUpdate=m))}if(i!==null){var O=a.baseState;c=0,A=j=m=null,r=i;do{var z=r.lane&-536870913,N=z!==r.lane;if(N?(me&z)===z:(n&z)===z){z!==0&&z===Hn&&(Dc=!0),A!==null&&(A=A.next={lane:0,tag:r.tag,payload:r.payload,callback:null,next:null});e:{var k=e,P=r;z=t;var Oe=l;switch(P.tag){case 1:if(k=P.payload,typeof k=="function"){O=k.call(Oe,O,z);break e}O=k;break e;case 3:k.flags=k.flags&-65537|128;case 0:if(k=P.payload,z=typeof k=="function"?k.call(Oe,O,z):k,z==null)break e;O=R({},O,z);break e;case 2:Al=!0}}z=r.callback,z!==null&&(e.flags|=64,N&&(e.flags|=8192),N=a.callbacks,N===null?a.callbacks=[z]:N.push(z))}else N={lane:z,tag:r.tag,payload:r.payload,callback:r.callback,next:null},A===null?(j=A=N,m=O):A=A.next=N,c|=z;if(r=r.next,r===null){if(r=a.shared.pending,r===null)break;N=r,r=N.next,N.next=null,a.lastBaseUpdate=N,a.shared.pending=null}}while(!0);A===null&&(m=O),a.baseState=m,a.firstBaseUpdate=j,a.lastBaseUpdate=A,i===null&&(a.shared.lanes=0),Rl|=c,e.lanes=c,e.memoizedState=O}}function Ho(e,t){if(typeof e!="function")throw Error(o(191,e));e.call(t)}function Bo(e,t){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;e<l.length;e++)Ho(l[e],t)}var Yn=p(null),Bi=p(0);function qo(e,t){e=pl,H(Bi,e),H(Yn,t),pl=e|t.baseLanes}function Rc(){H(Bi,pl),H(Yn,Yn.current)}function Uc(){pl=Bi.current,C(Yn),C(Bi)}var Ct=p(null),Vt=null;function Cl(e){var t=e.alternate;H(Xe,Xe.current&1),H(Ct,e),Vt===null&&(t===null||Yn.current!==null||t.memoizedState!==null)&&(Vt=e)}function Lc(e){H(Xe,Xe.current),H(Ct,e),Vt===null&&(Vt=e)}function Go(e){e.tag===22?(H(Xe,Xe.current),H(Ct,e),Vt===null&&(Vt=e)):Ol()}function Ol(){H(Xe,Xe.current),H(Ct,Ct.current)}function Ot(e){C(Ct),Vt===e&&(Vt=null),C(Xe)}var Xe=p(0);function qi(e){for(var t=e;t!==null;){if(t.tag===13){var l=t.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||Vs(l)||Xs(l)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)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 fl=0,ae=null,_e=null,Ze=null,Gi=!1,Vn=!1,on=!1,Yi=0,wa=0,Xn=null,w2=0;function qe(){throw Error(o(321))}function Hc(e,t){if(t===null)return!1;for(var l=0;l<t.length&&l<e.length;l++)if(!Mt(e[l],t[l]))return!1;return!0}function Bc(e,t,l,n,a,i){return fl=i,ae=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,E.H=e===null||e.memoizedState===null?Er:Pc,on=!1,i=l(n,a),on=!1,Vn&&(i=Vo(t,l,n,a)),Yo(e),i}function Yo(e){E.H=Ua;var t=_e!==null&&_e.next!==null;if(fl=0,Ze=_e=ae=null,Gi=!1,wa=0,Xn=null,t)throw Error(o(300));e===null||Ke||(e=e.dependencies,e!==null&&Oi(e)&&(Ke=!0))}function Vo(e,t,l,n){ae=e;var a=0;do{if(Vn&&(Xn=null),wa=0,Vn=!1,25<=a)throw Error(o(301));if(a+=1,Ze=_e=null,e.updateQueue!=null){var i=e.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,i.memoCache!=null&&(i.memoCache.index=0)}E.H=zr,i=t(l,n)}while(Vn);return i}function D2(){var e=E.H,t=e.useState()[0];return t=typeof t.then=="function"?Da(t):t,e=e.useState()[0],(_e!==null?_e.memoizedState:null)!==e&&(ae.flags|=1024),t}function qc(){var e=Yi!==0;return Yi=0,e}function Gc(e,t,l){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l}function Yc(e){if(Gi){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Gi=!1}fl=0,Ze=_e=ae=null,Vn=!1,wa=Yi=0,Xn=null}function ht(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ze===null?ae.memoizedState=Ze=e:Ze=Ze.next=e,Ze}function Qe(){if(_e===null){var e=ae.alternate;e=e!==null?e.memoizedState:null}else e=_e.next;var t=Ze===null?ae.memoizedState:Ze.next;if(t!==null)Ze=t,_e=e;else{if(e===null)throw ae.alternate===null?Error(o(467)):Error(o(310));_e=e,e={memoizedState:_e.memoizedState,baseState:_e.baseState,baseQueue:_e.baseQueue,queue:_e.queue,next:null},Ze===null?ae.memoizedState=Ze=e:Ze=Ze.next=e}return Ze}function Vi(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Da(e){var t=wa;return wa+=1,Xn===null&&(Xn=[]),e=wo(Xn,e,t),t=ae,(Ze===null?t.memoizedState:Ze.next)===null&&(t=t.alternate,E.H=t===null||t.memoizedState===null?Er:Pc),e}function Xi(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Da(e);if(e.$$typeof===de)return ct(e)}throw Error(o(438,String(e)))}function Vc(e){var t=null,l=ae.updateQueue;if(l!==null&&(t=l.memoCache),t==null){var n=ae.alternate;n!==null&&(n=n.updateQueue,n!==null&&(n=n.memoCache,n!=null&&(t={data:n.data.map(function(a){return a.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),l===null&&(l=Vi(),ae.updateQueue=l),l.memoCache=t,l=t.data[t.index],l===void 0)for(l=t.data[t.index]=Array(e),n=0;n<e;n++)l[n]=At;return t.index++,l}function ol(e,t){return typeof t=="function"?t(e):t}function Qi(e){var t=Qe();return Xc(t,_e,e)}function Xc(e,t,l){var n=e.queue;if(n===null)throw Error(o(311));n.lastRenderedReducer=l;var a=e.baseQueue,i=n.pending;if(i!==null){if(a!==null){var c=a.next;a.next=i.next,i.next=c}t.baseQueue=a=i,n.pending=null}if(i=e.baseState,a===null)e.memoizedState=i;else{t=a.next;var r=c=null,m=null,j=t,A=!1;do{var O=j.lane&-536870913;if(O!==j.lane?(me&O)===O:(fl&O)===O){var z=j.revertLane;if(z===0)m!==null&&(m=m.next={lane:0,revertLane:0,gesture:null,action:j.action,hasEagerState:j.hasEagerState,eagerState:j.eagerState,next:null}),O===Hn&&(A=!0);else if((fl&z)===z){j=j.next,z===Hn&&(A=!0);continue}else O={lane:0,revertLane:j.revertLane,gesture:null,action:j.action,hasEagerState:j.hasEagerState,eagerState:j.eagerState,next:null},m===null?(r=m=O,c=i):m=m.next=O,ae.lanes|=z,Rl|=z;O=j.action,on&&l(i,O),i=j.hasEagerState?j.eagerState:l(i,O)}else z={lane:O,revertLane:j.revertLane,gesture:j.gesture,action:j.action,hasEagerState:j.hasEagerState,eagerState:j.eagerState,next:null},m===null?(r=m=z,c=i):m=m.next=z,ae.lanes|=O,Rl|=O;j=j.next}while(j!==null&&j!==t);if(m===null?c=i:m.next=r,!Mt(i,e.memoizedState)&&(Ke=!0,A&&(l=Bn,l!==null)))throw l;e.memoizedState=i,e.baseState=c,e.baseQueue=m,n.lastRenderedState=i}return a===null&&(n.lanes=0),[e.memoizedState,n.dispatch]}function Qc(e){var t=Qe(),l=t.queue;if(l===null)throw Error(o(311));l.lastRenderedReducer=e;var n=l.dispatch,a=l.pending,i=t.memoizedState;if(a!==null){l.pending=null;var c=a=a.next;do i=e(i,c.action),c=c.next;while(c!==a);Mt(i,t.memoizedState)||(Ke=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),l.lastRenderedState=i}return[i,n]}function Xo(e,t,l){var n=ae,a=Qe(),i=pe;if(i){if(l===void 0)throw Error(o(407));l=l()}else l=t();var c=!Mt((_e||a).memoizedState,l);if(c&&(a.memoizedState=l,Ke=!0),a=a.queue,Kc(Zo.bind(null,n,a,e),[e]),a.getSnapshot!==t||c||Ze!==null&&Ze.memoizedState.tag&1){if(n.flags|=2048,Qn(9,{destroy:void 0},ko.bind(null,n,a,l,t),null),we===null)throw Error(o(349));i||(fl&127)!==0||Qo(n,t,l)}return l}function Qo(e,t,l){e.flags|=16384,e={getSnapshot:t,value:l},t=ae.updateQueue,t===null?(t=Vi(),ae.updateQueue=t,t.stores=[e]):(l=t.stores,l===null?t.stores=[e]:l.push(e))}function ko(e,t,l,n){t.value=l,t.getSnapshot=n,Ko(t)&&Jo(e)}function Zo(e,t,l){return l(function(){Ko(t)&&Jo(e)})}function Ko(e){var t=e.getSnapshot;e=e.value;try{var l=t();return!Mt(e,l)}catch{return!0}}function Jo(e){var t=en(e,2);t!==null&&jt(t,e,2)}function kc(e){var t=ht();if(typeof e=="function"){var l=e;if(e=l(),on){$t(!0);try{l()}finally{$t(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ol,lastRenderedState:e},t}function $o(e,t,l,n){return e.baseState=l,Xc(e,_e,typeof n=="function"?n:ol)}function R2(e,t,l,n,a){if(Ki(e))throw Error(o(485));if(e=t.action,e!==null){var i={payload:a,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(c){i.listeners.push(c)}};E.T!==null?l(!0):i.isTransition=!1,n(i),l=t.pending,l===null?(i.next=t.pending=i,Fo(t,i)):(i.next=l.next,t.pending=l.next=i)}}function Fo(e,t){var l=t.action,n=t.payload,a=e.state;if(t.isTransition){var i=E.T,c={};E.T=c;try{var r=l(a,n),m=E.S;m!==null&&m(c,r),Wo(e,t,r)}catch(j){Zc(e,t,j)}finally{i!==null&&c.types!==null&&(i.types=c.types),E.T=i}}else try{i=l(a,n),Wo(e,t,i)}catch(j){Zc(e,t,j)}}function Wo(e,t,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(n){Io(e,t,n)},function(n){return Zc(e,t,n)}):Io(e,t,l)}function Io(e,t,l){t.status="fulfilled",t.value=l,Po(t),e.state=l,t=e.pending,t!==null&&(l=t.next,l===t?e.pending=null:(l=l.next,t.next=l,Fo(e,l)))}function Zc(e,t,l){var n=e.pending;if(e.pending=null,n!==null){n=n.next;do t.status="rejected",t.reason=l,Po(t),t=t.next;while(t!==n)}e.action=null}function Po(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function er(e,t){return t}function tr(e,t){if(pe){var l=we.formState;if(l!==null){e:{var n=ae;if(pe){if(Re){t:{for(var a=Re,i=Yt;a.nodeType!==8;){if(!i){a=null;break t}if(a=Xt(a.nextSibling),a===null){a=null;break t}}i=a.data,a=i==="F!"||i==="F"?a:null}if(a){Re=Xt(a.nextSibling),n=a.data==="F!";break e}}Nl(n)}n=!1}n&&(t=l[0])}}return l=ht(),l.memoizedState=l.baseState=t,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:er,lastRenderedState:t},l.queue=n,l=Sr.bind(null,ae,n),n.dispatch=l,n=kc(!1),i=Ic.bind(null,ae,!1,n.queue),n=ht(),a={state:t,dispatch:null,action:e,pending:null},n.queue=a,l=R2.bind(null,ae,a,i,l),a.dispatch=l,n.memoizedState=e,[t,l,!1]}function lr(e){var t=Qe();return nr(t,_e,e)}function nr(e,t,l){if(t=Xc(e,t,er)[0],e=Qi(ol)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var n=Da(t)}catch(c){throw c===qn?Ri:c}else n=t;t=Qe();var a=t.queue,i=a.dispatch;return l!==t.memoizedState&&(ae.flags|=2048,Qn(9,{destroy:void 0},U2.bind(null,a,l),null)),[n,i,e]}function U2(e,t){e.action=t}function ar(e){var t=Qe(),l=_e;if(l!==null)return nr(t,l,e);Qe(),t=t.memoizedState,l=Qe();var n=l.queue.dispatch;return l.memoizedState=e,[t,n,!1]}function Qn(e,t,l,n){return e={tag:e,create:l,deps:n,inst:t,next:null},t=ae.updateQueue,t===null&&(t=Vi(),ae.updateQueue=t),l=t.lastEffect,l===null?t.lastEffect=e.next=e:(n=l.next,l.next=e,e.next=n,t.lastEffect=e),e}function ir(){return Qe().memoizedState}function ki(e,t,l,n){var a=ht();ae.flags|=e,a.memoizedState=Qn(1|t,{destroy:void 0},l,n===void 0?null:n)}function Zi(e,t,l,n){var a=Qe();n=n===void 0?null:n;var i=a.memoizedState.inst;_e!==null&&n!==null&&Hc(n,_e.memoizedState.deps)?a.memoizedState=Qn(t,i,l,n):(ae.flags|=e,a.memoizedState=Qn(1|t,i,l,n))}function ur(e,t){ki(8390656,8,e,t)}function Kc(e,t){Zi(2048,8,e,t)}function L2(e){ae.flags|=4;var t=ae.updateQueue;if(t===null)t=Vi(),ae.updateQueue=t,t.events=[e];else{var l=t.events;l===null?t.events=[e]:l.push(e)}}function cr(e){var t=Qe().memoizedState;return L2({ref:t,nextImpl:e}),function(){if((ze&2)!==0)throw Error(o(440));return t.impl.apply(void 0,arguments)}}function sr(e,t){return Zi(4,2,e,t)}function fr(e,t){return Zi(4,4,e,t)}function or(e,t){if(typeof t=="function"){e=e();var l=t(e);return function(){typeof l=="function"?l():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function rr(e,t,l){l=l!=null?l.concat([e]):null,Zi(4,4,or.bind(null,t,e),l)}function Jc(){}function dr(e,t){var l=Qe();t=t===void 0?null:t;var n=l.memoizedState;return t!==null&&Hc(t,n[1])?n[0]:(l.memoizedState=[e,t],e)}function mr(e,t){var l=Qe();t=t===void 0?null:t;var n=l.memoizedState;if(t!==null&&Hc(t,n[1]))return n[0];if(n=e(),on){$t(!0);try{e()}finally{$t(!1)}}return l.memoizedState=[n,t],n}function $c(e,t,l){return l===void 0||(fl&1073741824)!==0&&(me&261930)===0?e.memoizedState=t:(e.memoizedState=l,e=h1(),ae.lanes|=e,Rl|=e,l)}function hr(e,t,l,n){return Mt(l,t)?l:Yn.current!==null?(e=$c(e,l,n),Mt(e,t)||(Ke=!0),e):(fl&42)===0||(fl&1073741824)!==0&&(me&261930)===0?(Ke=!0,e.memoizedState=l):(e=h1(),ae.lanes|=e,Rl|=e,t)}function yr(e,t,l,n,a){var i=B.p;B.p=i!==0&&8>i?i:8;var c=E.T,r={};E.T=r,Ic(e,!1,t,l);try{var m=a(),j=E.S;if(j!==null&&j(r,m),m!==null&&typeof m=="object"&&typeof m.then=="function"){var A=O2(m,n);Ra(e,t,A,Rt(e))}else Ra(e,t,n,Rt(e))}catch(O){Ra(e,t,{then:function(){},status:"rejected",reason:O},Rt())}finally{B.p=i,c!==null&&r.types!==null&&(c.types=r.types),E.T=c}}function H2(){}function Fc(e,t,l,n){if(e.tag!==5)throw Error(o(476));var a=vr(e).queue;yr(e,a,t,F,l===null?H2:function(){return pr(e),l(n)})}function vr(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:F,baseState:F,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ol,lastRenderedState:F},next:null};var l={};return t.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ol,lastRenderedState:l},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function pr(e){var t=vr(e);t.next===null&&(t=e.alternate.memoizedState),Ra(e,t.next.queue,{},Rt())}function Wc(){return ct(Wa)}function gr(){return Qe().memoizedState}function br(){return Qe().memoizedState}function B2(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var l=Rt();e=Ml(l);var n=_l(t,e,l);n!==null&&(jt(n,t,l),_a(n,t,l)),t={cache:Tc()},e.payload=t;return}t=t.return}}function q2(e,t,l){var n=Rt();l={lane:n,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Ki(e)?xr(t,l):(l=yc(e,t,l,n),l!==null&&(jt(l,e,n),jr(l,t,n)))}function Sr(e,t,l){var n=Rt();Ra(e,t,l,n)}function Ra(e,t,l,n){var a={lane:n,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(Ki(e))xr(t,a);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var c=t.lastRenderedState,r=i(c,l);if(a.hasEagerState=!0,a.eagerState=r,Mt(r,c))return Ai(e,t,a,0),we===null&&Ti(),!1}catch{}finally{}if(l=yc(e,t,a,n),l!==null)return jt(l,e,n),jr(l,t,n),!0}return!1}function Ic(e,t,l,n){if(n={lane:2,revertLane:Cs(),gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Ki(e)){if(t)throw Error(o(479))}else t=yc(e,l,n,2),t!==null&&jt(t,e,2)}function Ki(e){var t=e.alternate;return e===ae||t!==null&&t===ae}function xr(e,t){Vn=Gi=!0;var l=e.pending;l===null?t.next=t:(t.next=l.next,l.next=t),e.pending=t}function jr(e,t,l){if((l&4194048)!==0){var n=t.lanes;n&=e.pendingLanes,l|=n,t.lanes=l,Tf(e,l)}}var Ua={readContext:ct,use:Xi,useCallback:qe,useContext:qe,useEffect:qe,useImperativeHandle:qe,useLayoutEffect:qe,useInsertionEffect:qe,useMemo:qe,useReducer:qe,useRef:qe,useState:qe,useDebugValue:qe,useDeferredValue:qe,useTransition:qe,useSyncExternalStore:qe,useId:qe,useHostTransitionStatus:qe,useFormState:qe,useActionState:qe,useOptimistic:qe,useMemoCache:qe,useCacheRefresh:qe};Ua.useEffectEvent=qe;var Er={readContext:ct,use:Xi,useCallback:function(e,t){return ht().memoizedState=[e,t===void 0?null:t],e},useContext:ct,useEffect:ur,useImperativeHandle:function(e,t,l){l=l!=null?l.concat([e]):null,ki(4194308,4,or.bind(null,t,e),l)},useLayoutEffect:function(e,t){return ki(4194308,4,e,t)},useInsertionEffect:function(e,t){ki(4,2,e,t)},useMemo:function(e,t){var l=ht();t=t===void 0?null:t;var n=e();if(on){$t(!0);try{e()}finally{$t(!1)}}return l.memoizedState=[n,t],n},useReducer:function(e,t,l){var n=ht();if(l!==void 0){var a=l(t);if(on){$t(!0);try{l(t)}finally{$t(!1)}}}else a=t;return n.memoizedState=n.baseState=a,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:a},n.queue=e,e=e.dispatch=q2.bind(null,ae,e),[n.memoizedState,e]},useRef:function(e){var t=ht();return e={current:e},t.memoizedState=e},useState:function(e){e=kc(e);var t=e.queue,l=Sr.bind(null,ae,t);return t.dispatch=l,[e.memoizedState,l]},useDebugValue:Jc,useDeferredValue:function(e,t){var l=ht();return $c(l,e,t)},useTransition:function(){var e=kc(!1);return e=yr.bind(null,ae,e.queue,!0,!1),ht().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,l){var n=ae,a=ht();if(pe){if(l===void 0)throw Error(o(407));l=l()}else{if(l=t(),we===null)throw Error(o(349));(me&127)!==0||Qo(n,t,l)}a.memoizedState=l;var i={value:l,getSnapshot:t};return a.queue=i,ur(Zo.bind(null,n,i,e),[e]),n.flags|=2048,Qn(9,{destroy:void 0},ko.bind(null,n,i,l,t),null),l},useId:function(){var e=ht(),t=we.identifierPrefix;if(pe){var l=Wt,n=Ft;l=(n&~(1<<32-mt(n)-1)).toString(32)+l,t="_"+t+"R_"+l,l=Yi++,0<l&&(t+="H"+l.toString(32)),t+="_"}else l=w2++,t="_"+t+"r_"+l.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:Wc,useFormState:tr,useActionState:tr,useOptimistic:function(e){var t=ht();t.memoizedState=t.baseState=e;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=l,t=Ic.bind(null,ae,!0,l),l.dispatch=t,[e,t]},useMemoCache:Vc,useCacheRefresh:function(){return ht().memoizedState=B2.bind(null,ae)},useEffectEvent:function(e){var t=ht(),l={impl:e};return t.memoizedState=l,function(){if((ze&2)!==0)throw Error(o(440));return l.impl.apply(void 0,arguments)}}},Pc={readContext:ct,use:Xi,useCallback:dr,useContext:ct,useEffect:Kc,useImperativeHandle:rr,useInsertionEffect:sr,useLayoutEffect:fr,useMemo:mr,useReducer:Qi,useRef:ir,useState:function(){return Qi(ol)},useDebugValue:Jc,useDeferredValue:function(e,t){var l=Qe();return hr(l,_e.memoizedState,e,t)},useTransition:function(){var e=Qi(ol)[0],t=Qe().memoizedState;return[typeof e=="boolean"?e:Da(e),t]},useSyncExternalStore:Xo,useId:gr,useHostTransitionStatus:Wc,useFormState:lr,useActionState:lr,useOptimistic:function(e,t){var l=Qe();return $o(l,_e,e,t)},useMemoCache:Vc,useCacheRefresh:br};Pc.useEffectEvent=cr;var zr={readContext:ct,use:Xi,useCallback:dr,useContext:ct,useEffect:Kc,useImperativeHandle:rr,useInsertionEffect:sr,useLayoutEffect:fr,useMemo:mr,useReducer:Qc,useRef:ir,useState:function(){return Qc(ol)},useDebugValue:Jc,useDeferredValue:function(e,t){var l=Qe();return _e===null?$c(l,e,t):hr(l,_e.memoizedState,e,t)},useTransition:function(){var e=Qc(ol)[0],t=Qe().memoizedState;return[typeof e=="boolean"?e:Da(e),t]},useSyncExternalStore:Xo,useId:gr,useHostTransitionStatus:Wc,useFormState:ar,useActionState:ar,useOptimistic:function(e,t){var l=Qe();return _e!==null?$o(l,_e,e,t):(l.baseState=e,[e,l.queue.dispatch])},useMemoCache:Vc,useCacheRefresh:br};zr.useEffectEvent=cr;function es(e,t,l,n){t=e.memoizedState,l=l(n,t),l=l==null?t:R({},t,l),e.memoizedState=l,e.lanes===0&&(e.updateQueue.baseState=l)}var ts={enqueueSetState:function(e,t,l){e=e._reactInternals;var n=Rt(),a=Ml(n);a.payload=t,l!=null&&(a.callback=l),t=_l(e,a,n),t!==null&&(jt(t,e,n),_a(t,e,n))},enqueueReplaceState:function(e,t,l){e=e._reactInternals;var n=Rt(),a=Ml(n);a.tag=1,a.payload=t,l!=null&&(a.callback=l),t=_l(e,a,n),t!==null&&(jt(t,e,n),_a(t,e,n))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var l=Rt(),n=Ml(l);n.tag=2,t!=null&&(n.callback=t),t=_l(e,n,l),t!==null&&(jt(t,e,l),_a(t,e,l))}};function Nr(e,t,l,n,a,i,c){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(n,i,c):t.prototype&&t.prototype.isPureReactComponent?!xa(l,n)||!xa(a,i):!0}function Tr(e,t,l,n){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(l,n),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(l,n),t.state!==e&&ts.enqueueReplaceState(t,t.state,null)}function rn(e,t){var l=t;if("ref"in t){l={};for(var n in t)n!=="ref"&&(l[n]=t[n])}if(e=e.defaultProps){l===t&&(l=R({},l));for(var a in e)l[a]===void 0&&(l[a]=e[a])}return l}function Ar(e){Ni(e)}function Mr(e){console.error(e)}function _r(e){Ni(e)}function Ji(e,t){try{var l=e.onUncaughtError;l(t.value,{componentStack:t.stack})}catch(n){setTimeout(function(){throw n})}}function Cr(e,t,l){try{var n=e.onCaughtError;n(l.value,{componentStack:l.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(a){setTimeout(function(){throw a})}}function ls(e,t,l){return l=Ml(l),l.tag=3,l.payload={element:null},l.callback=function(){Ji(e,t)},l}function Or(e){return e=Ml(e),e.tag=3,e}function wr(e,t,l,n){var a=l.type.getDerivedStateFromError;if(typeof a=="function"){var i=n.value;e.payload=function(){return a(i)},e.callback=function(){Cr(t,l,n)}}var c=l.stateNode;c!==null&&typeof c.componentDidCatch=="function"&&(e.callback=function(){Cr(t,l,n),typeof a!="function"&&(Ul===null?Ul=new Set([this]):Ul.add(this));var r=n.stack;this.componentDidCatch(n.value,{componentStack:r!==null?r:""})})}function G2(e,t,l,n,a){if(l.flags|=32768,n!==null&&typeof n=="object"&&typeof n.then=="function"){if(t=l.alternate,t!==null&&Ln(t,l,a,!0),l=Ct.current,l!==null){switch(l.tag){case 31:case 13:return Vt===null?uu():l.alternate===null&&Ge===0&&(Ge=3),l.flags&=-257,l.flags|=65536,l.lanes=a,n===Ui?l.flags|=16384:(t=l.updateQueue,t===null?l.updateQueue=new Set([n]):t.add(n),As(e,n,a)),!1;case 22:return l.flags|=65536,n===Ui?l.flags|=16384:(t=l.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([n])},l.updateQueue=t):(l=t.retryQueue,l===null?t.retryQueue=new Set([n]):l.add(n)),As(e,n,a)),!1}throw Error(o(435,l.tag))}return As(e,n,a),uu(),!1}if(pe)return t=Ct.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=a,n!==xc&&(e=Error(o(422),{cause:n}),za(Bt(e,l)))):(n!==xc&&(t=Error(o(423),{cause:n}),za(Bt(t,l))),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,n=Bt(n,l),a=ls(e.stateNode,n,a),wc(e,a),Ge!==4&&(Ge=2)),!1;var i=Error(o(520),{cause:n});if(i=Bt(i,l),Xa===null?Xa=[i]:Xa.push(i),Ge!==4&&(Ge=2),t===null)return!0;n=Bt(n,l),l=t;do{switch(l.tag){case 3:return l.flags|=65536,e=a&-a,l.lanes|=e,e=ls(l.stateNode,n,e),wc(l,e),!1;case 1:if(t=l.type,i=l.stateNode,(l.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||i!==null&&typeof i.componentDidCatch=="function"&&(Ul===null||!Ul.has(i))))return l.flags|=65536,a&=-a,l.lanes|=a,a=Or(a),wr(a,e,l,n),wc(l,a),!1}l=l.return}while(l!==null);return!1}var ns=Error(o(461)),Ke=!1;function st(e,t,l,n){t.child=e===null?Lo(t,null,l,n):fn(t,e.child,l,n)}function Dr(e,t,l,n,a){l=l.render;var i=t.ref;if("ref"in n){var c={};for(var r in n)r!=="ref"&&(c[r]=n[r])}else c=n;return an(t),n=Bc(e,t,l,c,i,a),r=qc(),e!==null&&!Ke?(Gc(e,t,a),rl(e,t,a)):(pe&&r&&bc(t),t.flags|=1,st(e,t,n,a),t.child)}function Rr(e,t,l,n,a){if(e===null){var i=l.type;return typeof i=="function"&&!vc(i)&&i.defaultProps===void 0&&l.compare===null?(t.tag=15,t.type=i,Ur(e,t,i,n,a)):(e=_i(l.type,null,n,t,t.mode,a),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!rs(e,a)){var c=i.memoizedProps;if(l=l.compare,l=l!==null?l:xa,l(c,n)&&e.ref===t.ref)return rl(e,t,a)}return t.flags|=1,e=il(i,n),e.ref=t.ref,e.return=t,t.child=e}function Ur(e,t,l,n,a){if(e!==null){var i=e.memoizedProps;if(xa(i,n)&&e.ref===t.ref)if(Ke=!1,t.pendingProps=n=i,rs(e,a))(e.flags&131072)!==0&&(Ke=!0);else return t.lanes=e.lanes,rl(e,t,a)}return as(e,t,l,n,a)}function Lr(e,t,l,n){var a=n.children,i=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.mode==="hidden"){if((t.flags&128)!==0){if(i=i!==null?i.baseLanes|l:l,e!==null){for(n=t.child=e.child,a=0;n!==null;)a=a|n.lanes|n.childLanes,n=n.sibling;n=a&~i}else n=0,t.child=null;return Hr(e,t,i,l,n)}if((l&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Di(t,i!==null?i.cachePool:null),i!==null?qo(t,i):Rc(),Go(t);else return n=t.lanes=536870912,Hr(e,t,i!==null?i.baseLanes|l:l,l,n)}else i!==null?(Di(t,i.cachePool),qo(t,i),Ol(),t.memoizedState=null):(e!==null&&Di(t,null),Rc(),Ol());return st(e,t,a,l),t.child}function La(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Hr(e,t,l,n,a){var i=Mc();return i=i===null?null:{parent:ke._currentValue,pool:i},t.memoizedState={baseLanes:l,cachePool:i},e!==null&&Di(t,null),Rc(),Go(t),e!==null&&Ln(e,t,n,!0),t.childLanes=a,null}function $i(e,t){return t=Wi({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function Br(e,t,l){return fn(t,e.child,null,l),e=$i(t,t.pendingProps),e.flags|=2,Ot(t),t.memoizedState=null,e}function Y2(e,t,l){var n=t.pendingProps,a=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(pe){if(n.mode==="hidden")return e=$i(t,n),t.lanes=536870912,La(null,e);if(Lc(t),(e=Re)?(e=F1(e,Yt),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:El!==null?{id:Ft,overflow:Wt}:null,retryLane:536870912,hydrationErrors:null},l=xo(e),l.return=t,t.child=l,ut=t,Re=null)):e=null,e===null)throw Nl(t);return t.lanes=536870912,null}return $i(t,n)}var i=e.memoizedState;if(i!==null){var c=i.dehydrated;if(Lc(t),a)if(t.flags&256)t.flags&=-257,t=Br(e,t,l);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(o(558));else if(Ke||Ln(e,t,l,!1),a=(l&e.childLanes)!==0,Ke||a){if(n=we,n!==null&&(c=Af(n,l),c!==0&&c!==i.retryLane))throw i.retryLane=c,en(e,c),jt(n,e,c),ns;uu(),t=Br(e,t,l)}else e=i.treeContext,Re=Xt(c.nextSibling),ut=t,pe=!0,zl=null,Yt=!1,e!==null&&zo(t,e),t=$i(t,n),t.flags|=4096;return t}return e=il(e.child,{mode:n.mode,children:n.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Fi(e,t){var l=t.ref;if(l===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(o(284));(e===null||e.ref!==l)&&(t.flags|=4194816)}}function as(e,t,l,n,a){return an(t),l=Bc(e,t,l,n,void 0,a),n=qc(),e!==null&&!Ke?(Gc(e,t,a),rl(e,t,a)):(pe&&n&&bc(t),t.flags|=1,st(e,t,l,a),t.child)}function qr(e,t,l,n,a,i){return an(t),t.updateQueue=null,l=Vo(t,n,l,a),Yo(e),n=qc(),e!==null&&!Ke?(Gc(e,t,i),rl(e,t,i)):(pe&&n&&bc(t),t.flags|=1,st(e,t,l,i),t.child)}function Gr(e,t,l,n,a){if(an(t),t.stateNode===null){var i=wn,c=l.contextType;typeof c=="object"&&c!==null&&(i=ct(c)),i=new l(n,i),t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=ts,t.stateNode=i,i._reactInternals=t,i=t.stateNode,i.props=n,i.state=t.memoizedState,i.refs={},Cc(t),c=l.contextType,i.context=typeof c=="object"&&c!==null?ct(c):wn,i.state=t.memoizedState,c=l.getDerivedStateFromProps,typeof c=="function"&&(es(t,l,c,n),i.state=t.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(c=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),c!==i.state&&ts.enqueueReplaceState(i,i.state,null),Oa(t,n,i,a),Ca(),i.state=t.memoizedState),typeof i.componentDidMount=="function"&&(t.flags|=4194308),n=!0}else if(e===null){i=t.stateNode;var r=t.memoizedProps,m=rn(l,r);i.props=m;var j=i.context,A=l.contextType;c=wn,typeof A=="object"&&A!==null&&(c=ct(A));var O=l.getDerivedStateFromProps;A=typeof O=="function"||typeof i.getSnapshotBeforeUpdate=="function",r=t.pendingProps!==r,A||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(r||j!==c)&&Tr(t,i,n,c),Al=!1;var z=t.memoizedState;i.state=z,Oa(t,n,i,a),Ca(),j=t.memoizedState,r||z!==j||Al?(typeof O=="function"&&(es(t,l,O,n),j=t.memoizedState),(m=Al||Nr(t,l,m,n,z,j,c))?(A||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=n,t.memoizedState=j),i.props=n,i.state=j,i.context=c,n=m):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),n=!1)}else{i=t.stateNode,Oc(e,t),c=t.memoizedProps,A=rn(l,c),i.props=A,O=t.pendingProps,z=i.context,j=l.contextType,m=wn,typeof j=="object"&&j!==null&&(m=ct(j)),r=l.getDerivedStateFromProps,(j=typeof r=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(c!==O||z!==m)&&Tr(t,i,n,m),Al=!1,z=t.memoizedState,i.state=z,Oa(t,n,i,a),Ca();var N=t.memoizedState;c!==O||z!==N||Al||e!==null&&e.dependencies!==null&&Oi(e.dependencies)?(typeof r=="function"&&(es(t,l,r,n),N=t.memoizedState),(A=Al||Nr(t,l,A,n,z,N,m)||e!==null&&e.dependencies!==null&&Oi(e.dependencies))?(j||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(n,N,m),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(n,N,m)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||c===e.memoizedProps&&z===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||c===e.memoizedProps&&z===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=N),i.props=n,i.state=N,i.context=m,n=A):(typeof i.componentDidUpdate!="function"||c===e.memoizedProps&&z===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||c===e.memoizedProps&&z===e.memoizedState||(t.flags|=1024),n=!1)}return i=n,Fi(e,t),n=(t.flags&128)!==0,i||n?(i=t.stateNode,l=n&&typeof l.getDerivedStateFromError!="function"?null:i.render(),t.flags|=1,e!==null&&n?(t.child=fn(t,e.child,null,a),t.child=fn(t,null,l,a)):st(e,t,l,a),t.memoizedState=i.state,e=t.child):e=rl(e,t,a),e}function Yr(e,t,l,n){return ln(),t.flags|=256,st(e,t,l,n),t.child}var is={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function us(e){return{baseLanes:e,cachePool:Co()}}function cs(e,t,l){return e=e!==null?e.childLanes&~l:0,t&&(e|=Dt),e}function Vr(e,t,l){var n=t.pendingProps,a=!1,i=(t.flags&128)!==0,c;if((c=i)||(c=e!==null&&e.memoizedState===null?!1:(Xe.current&2)!==0),c&&(a=!0,t.flags&=-129),c=(t.flags&32)!==0,t.flags&=-33,e===null){if(pe){if(a?Cl(t):Ol(),(e=Re)?(e=F1(e,Yt),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:El!==null?{id:Ft,overflow:Wt}:null,retryLane:536870912,hydrationErrors:null},l=xo(e),l.return=t,t.child=l,ut=t,Re=null)):e=null,e===null)throw Nl(t);return Xs(e)?t.lanes=32:t.lanes=536870912,null}var r=n.children;return n=n.fallback,a?(Ol(),a=t.mode,r=Wi({mode:"hidden",children:r},a),n=tn(n,a,l,null),r.return=t,n.return=t,r.sibling=n,t.child=r,n=t.child,n.memoizedState=us(l),n.childLanes=cs(e,c,l),t.memoizedState=is,La(null,n)):(Cl(t),ss(t,r))}var m=e.memoizedState;if(m!==null&&(r=m.dehydrated,r!==null)){if(i)t.flags&256?(Cl(t),t.flags&=-257,t=fs(e,t,l)):t.memoizedState!==null?(Ol(),t.child=e.child,t.flags|=128,t=null):(Ol(),r=n.fallback,a=t.mode,n=Wi({mode:"visible",children:n.children},a),r=tn(r,a,l,null),r.flags|=2,n.return=t,r.return=t,n.sibling=r,t.child=n,fn(t,e.child,null,l),n=t.child,n.memoizedState=us(l),n.childLanes=cs(e,c,l),t.memoizedState=is,t=La(null,n));else if(Cl(t),Xs(r)){if(c=r.nextSibling&&r.nextSibling.dataset,c)var j=c.dgst;c=j,n=Error(o(419)),n.stack="",n.digest=c,za({value:n,source:null,stack:null}),t=fs(e,t,l)}else if(Ke||Ln(e,t,l,!1),c=(l&e.childLanes)!==0,Ke||c){if(c=we,c!==null&&(n=Af(c,l),n!==0&&n!==m.retryLane))throw m.retryLane=n,en(e,n),jt(c,e,n),ns;Vs(r)||uu(),t=fs(e,t,l)}else Vs(r)?(t.flags|=192,t.child=e.child,t=null):(e=m.treeContext,Re=Xt(r.nextSibling),ut=t,pe=!0,zl=null,Yt=!1,e!==null&&zo(t,e),t=ss(t,n.children),t.flags|=4096);return t}return a?(Ol(),r=n.fallback,a=t.mode,m=e.child,j=m.sibling,n=il(m,{mode:"hidden",children:n.children}),n.subtreeFlags=m.subtreeFlags&65011712,j!==null?r=il(j,r):(r=tn(r,a,l,null),r.flags|=2),r.return=t,n.return=t,n.sibling=r,t.child=n,La(null,n),n=t.child,r=e.child.memoizedState,r===null?r=us(l):(a=r.cachePool,a!==null?(m=ke._currentValue,a=a.parent!==m?{parent:m,pool:m}:a):a=Co(),r={baseLanes:r.baseLanes|l,cachePool:a}),n.memoizedState=r,n.childLanes=cs(e,c,l),t.memoizedState=is,La(e.child,n)):(Cl(t),l=e.child,e=l.sibling,l=il(l,{mode:"visible",children:n.children}),l.return=t,l.sibling=null,e!==null&&(c=t.deletions,c===null?(t.deletions=[e],t.flags|=16):c.push(e)),t.child=l,t.memoizedState=null,l)}function ss(e,t){return t=Wi({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Wi(e,t){return e=_t(22,e,null,t),e.lanes=0,e}function fs(e,t,l){return fn(t,e.child,null,l),e=ss(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Xr(e,t,l){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),zc(e.return,t,l)}function os(e,t,l,n,a,i){var c=e.memoizedState;c===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:l,tailMode:a,treeForkCount:i}:(c.isBackwards=t,c.rendering=null,c.renderingStartTime=0,c.last=n,c.tail=l,c.tailMode=a,c.treeForkCount=i)}function Qr(e,t,l){var n=t.pendingProps,a=n.revealOrder,i=n.tail;n=n.children;var c=Xe.current,r=(c&2)!==0;if(r?(c=c&1|2,t.flags|=128):c&=1,H(Xe,c),st(e,t,n,l),n=pe?Ea:0,!r&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Xr(e,l,t);else if(e.tag===19)Xr(e,l,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}switch(a){case"forwards":for(l=t.child,a=null;l!==null;)e=l.alternate,e!==null&&qi(e)===null&&(a=l),l=l.sibling;l=a,l===null?(a=t.child,t.child=null):(a=l.sibling,l.sibling=null),os(t,!1,a,l,i,n);break;case"backwards":case"unstable_legacy-backwards":for(l=null,a=t.child,t.child=null;a!==null;){if(e=a.alternate,e!==null&&qi(e)===null){t.child=a;break}e=a.sibling,a.sibling=l,l=a,a=e}os(t,!0,l,null,i,n);break;case"together":os(t,!1,null,null,void 0,n);break;default:t.memoizedState=null}return t.child}function rl(e,t,l){if(e!==null&&(t.dependencies=e.dependencies),Rl|=t.lanes,(l&t.childLanes)===0)if(e!==null){if(Ln(e,t,l,!1),(l&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(o(153));if(t.child!==null){for(e=t.child,l=il(e,e.pendingProps),t.child=l,l.return=t;e.sibling!==null;)e=e.sibling,l=l.sibling=il(e,e.pendingProps),l.return=t;l.sibling=null}return t.child}function rs(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Oi(e)))}function V2(e,t,l){switch(t.tag){case 3:fe(t,t.stateNode.containerInfo),Tl(t,ke,e.memoizedState.cache),ln();break;case 27:case 5:Ie(t);break;case 4:fe(t,t.stateNode.containerInfo);break;case 10:Tl(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Lc(t),null;break;case 13:var n=t.memoizedState;if(n!==null)return n.dehydrated!==null?(Cl(t),t.flags|=128,null):(l&t.child.childLanes)!==0?Vr(e,t,l):(Cl(t),e=rl(e,t,l),e!==null?e.sibling:null);Cl(t);break;case 19:var a=(e.flags&128)!==0;if(n=(l&t.childLanes)!==0,n||(Ln(e,t,l,!1),n=(l&t.childLanes)!==0),a){if(n)return Qr(e,t,l);t.flags|=128}if(a=t.memoizedState,a!==null&&(a.rendering=null,a.tail=null,a.lastEffect=null),H(Xe,Xe.current),n)break;return null;case 22:return t.lanes=0,Lr(e,t,l,t.pendingProps);case 24:Tl(t,ke,e.memoizedState.cache)}return rl(e,t,l)}function kr(e,t,l){if(e!==null)if(e.memoizedProps!==t.pendingProps)Ke=!0;else{if(!rs(e,l)&&(t.flags&128)===0)return Ke=!1,V2(e,t,l);Ke=(e.flags&131072)!==0}else Ke=!1,pe&&(t.flags&1048576)!==0&&Eo(t,Ea,t.index);switch(t.lanes=0,t.tag){case 16:e:{var n=t.pendingProps;if(e=cn(t.elementType),t.type=e,typeof e=="function")vc(e)?(n=rn(e,n),t.tag=1,t=Gr(null,t,e,n,l)):(t.tag=0,t=as(null,t,e,n,l));else{if(e!=null){var a=e.$$typeof;if(a===G){t.tag=11,t=Dr(null,t,e,n,l);break e}else if(a===K){t.tag=14,t=Rr(null,t,e,n,l);break e}}throw t=Ne(e)||e,Error(o(306,t,""))}}return t;case 0:return as(e,t,t.type,t.pendingProps,l);case 1:return n=t.type,a=rn(n,t.pendingProps),Gr(e,t,n,a,l);case 3:e:{if(fe(t,t.stateNode.containerInfo),e===null)throw Error(o(387));n=t.pendingProps;var i=t.memoizedState;a=i.element,Oc(e,t),Oa(t,n,null,l);var c=t.memoizedState;if(n=c.cache,Tl(t,ke,n),n!==i.cache&&Nc(t,[ke],l,!0),Ca(),n=c.element,i.isDehydrated)if(i={element:n,isDehydrated:!1,cache:c.cache},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){t=Yr(e,t,n,l);break e}else if(n!==a){a=Bt(Error(o(424)),t),za(a),t=Yr(e,t,n,l);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Re=Xt(e.firstChild),ut=t,pe=!0,zl=null,Yt=!0,l=Lo(t,null,n,l),t.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(ln(),n===a){t=rl(e,t,l);break e}st(e,t,n,l)}t=t.child}return t;case 26:return Fi(e,t),e===null?(l=l0(t.type,null,t.pendingProps,null))?t.memoizedState=l:pe||(l=t.type,e=t.pendingProps,n=mu(X.current).createElement(l),n[it]=t,n[vt]=e,ft(n,l,e),et(n),t.stateNode=n):t.memoizedState=l0(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Ie(t),e===null&&pe&&(n=t.stateNode=P1(t.type,t.pendingProps,X.current),ut=t,Yt=!0,a=Re,ql(t.type)?(Qs=a,Re=Xt(n.firstChild)):Re=a),st(e,t,t.pendingProps.children,l),Fi(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&pe&&((a=n=Re)&&(n=gm(n,t.type,t.pendingProps,Yt),n!==null?(t.stateNode=n,ut=t,Re=Xt(n.firstChild),Yt=!1,a=!0):a=!1),a||Nl(t)),Ie(t),a=t.type,i=t.pendingProps,c=e!==null?e.memoizedProps:null,n=i.children,qs(a,i)?n=null:c!==null&&qs(a,c)&&(t.flags|=32),t.memoizedState!==null&&(a=Bc(e,t,D2,null,null,l),Wa._currentValue=a),Fi(e,t),st(e,t,n,l),t.child;case 6:return e===null&&pe&&((e=l=Re)&&(l=bm(l,t.pendingProps,Yt),l!==null?(t.stateNode=l,ut=t,Re=null,e=!0):e=!1),e||Nl(t)),null;case 13:return Vr(e,t,l);case 4:return fe(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=fn(t,null,n,l):st(e,t,n,l),t.child;case 11:return Dr(e,t,t.type,t.pendingProps,l);case 7:return st(e,t,t.pendingProps,l),t.child;case 8:return st(e,t,t.pendingProps.children,l),t.child;case 12:return st(e,t,t.pendingProps.children,l),t.child;case 10:return n=t.pendingProps,Tl(t,t.type,n.value),st(e,t,n.children,l),t.child;case 9:return a=t.type._context,n=t.pendingProps.children,an(t),a=ct(a),n=n(a),t.flags|=1,st(e,t,n,l),t.child;case 14:return Rr(e,t,t.type,t.pendingProps,l);case 15:return Ur(e,t,t.type,t.pendingProps,l);case 19:return Qr(e,t,l);case 31:return Y2(e,t,l);case 22:return Lr(e,t,l,t.pendingProps);case 24:return an(t),n=ct(ke),e===null?(a=Mc(),a===null&&(a=we,i=Tc(),a.pooledCache=i,i.refCount++,i!==null&&(a.pooledCacheLanes|=l),a=i),t.memoizedState={parent:n,cache:a},Cc(t),Tl(t,ke,a)):((e.lanes&l)!==0&&(Oc(e,t),Oa(t,null,null,l),Ca()),a=e.memoizedState,i=t.memoizedState,a.parent!==n?(a={parent:n,cache:n},t.memoizedState=a,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=a),Tl(t,ke,n)):(n=i.cache,Tl(t,ke,n),n!==a.cache&&Nc(t,[ke],l,!0))),st(e,t,t.pendingProps.children,l),t.child;case 29:throw t.pendingProps}throw Error(o(156,t.tag))}function dl(e){e.flags|=4}function ds(e,t,l,n,a){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(a&335544128)===a)if(e.stateNode.complete)e.flags|=8192;else if(g1())e.flags|=8192;else throw sn=Ui,_c}else e.flags&=-16777217}function Zr(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!c0(t))if(g1())e.flags|=8192;else throw sn=Ui,_c}function Ii(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?hi():536870912,e.lanes|=t,Jn|=t)}function Ha(e,t){if(!pe)switch(e.tailMode){case"hidden":t=e.tail;for(var l=null;t!==null;)t.alternate!==null&&(l=t),t=t.sibling;l===null?e.tail=null:l.sibling=null;break;case"collapsed":l=e.tail;for(var n=null;l!==null;)l.alternate!==null&&(n=l),l=l.sibling;n===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:n.sibling=null}}function Ue(e){var t=e.alternate!==null&&e.alternate.child===e.child,l=0,n=0;if(t)for(var a=e.child;a!==null;)l|=a.lanes|a.childLanes,n|=a.subtreeFlags&65011712,n|=a.flags&65011712,a.return=e,a=a.sibling;else for(a=e.child;a!==null;)l|=a.lanes|a.childLanes,n|=a.subtreeFlags,n|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=n,e.childLanes=l,t}function X2(e,t,l){var n=t.pendingProps;switch(Sc(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ue(t),null;case 1:return Ue(t),null;case 3:return l=t.stateNode,n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),sl(ke),ue(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&(Un(t)?dl(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,jc())),Ue(t),null;case 26:var a=t.type,i=t.memoizedState;return e===null?(dl(t),i!==null?(Ue(t),Zr(t,i)):(Ue(t),ds(t,a,null,n,l))):i?i!==e.memoizedState?(dl(t),Ue(t),Zr(t,i)):(Ue(t),t.flags&=-16777217):(e=e.memoizedProps,e!==n&&dl(t),Ue(t),ds(t,a,e,n,l)),null;case 27:if(Pe(t),l=X.current,a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==n&&dl(t);else{if(!n){if(t.stateNode===null)throw Error(o(166));return Ue(t),null}e=x.current,Un(t)?No(t):(e=P1(a,n,l),t.stateNode=e,dl(t))}return Ue(t),null;case 5:if(Pe(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==n&&dl(t);else{if(!n){if(t.stateNode===null)throw Error(o(166));return Ue(t),null}if(i=x.current,Un(t))No(t);else{var c=mu(X.current);switch(i){case 1:i=c.createElementNS("http://www.w3.org/2000/svg",a);break;case 2:i=c.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;default:switch(a){case"svg":i=c.createElementNS("http://www.w3.org/2000/svg",a);break;case"math":i=c.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;case"script":i=c.createElement("div"),i.innerHTML="<script><\/script>",i=i.removeChild(i.firstChild);break;case"select":i=typeof n.is=="string"?c.createElement("select",{is:n.is}):c.createElement("select"),n.multiple?i.multiple=!0:n.size&&(i.size=n.size);break;default:i=typeof n.is=="string"?c.createElement(a,{is:n.is}):c.createElement(a)}}i[it]=t,i[vt]=n;e:for(c=t.child;c!==null;){if(c.tag===5||c.tag===6)i.appendChild(c.stateNode);else if(c.tag!==4&&c.tag!==27&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===t)break e;for(;c.sibling===null;){if(c.return===null||c.return===t)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}t.stateNode=i;e:switch(ft(i,a,n),a){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}n&&dl(t)}}return Ue(t),ds(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,l),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==n&&dl(t);else{if(typeof n!="string"&&t.stateNode===null)throw Error(o(166));if(e=X.current,Un(t)){if(e=t.stateNode,l=t.memoizedProps,n=null,a=ut,a!==null)switch(a.tag){case 27:case 5:n=a.memoizedProps}e[it]=t,e=!!(e.nodeValue===l||n!==null&&n.suppressHydrationWarning===!0||V1(e.nodeValue,l)),e||Nl(t,!0)}else e=mu(e).createTextNode(n),e[it]=t,t.stateNode=e}return Ue(t),null;case 31:if(l=t.memoizedState,e===null||e.memoizedState!==null){if(n=Un(t),l!==null){if(e===null){if(!n)throw Error(o(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(557));e[it]=t}else ln(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ue(t),e=!1}else l=jc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),e=!0;if(!e)return t.flags&256?(Ot(t),t):(Ot(t),null);if((t.flags&128)!==0)throw Error(o(558))}return Ue(t),null;case 13:if(n=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=Un(t),n!==null&&n.dehydrated!==null){if(e===null){if(!a)throw Error(o(318));if(a=t.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(o(317));a[it]=t}else ln(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ue(t),a=!1}else a=jc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(Ot(t),t):(Ot(t),null)}return Ot(t),(t.flags&128)!==0?(t.lanes=l,t):(l=n!==null,e=e!==null&&e.memoizedState!==null,l&&(n=t.child,a=null,n.alternate!==null&&n.alternate.memoizedState!==null&&n.alternate.memoizedState.cachePool!==null&&(a=n.alternate.memoizedState.cachePool.pool),i=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(i=n.memoizedState.cachePool.pool),i!==a&&(n.flags|=2048)),l!==e&&l&&(t.child.flags|=8192),Ii(t,t.updateQueue),Ue(t),null);case 4:return ue(),e===null&&Rs(t.stateNode.containerInfo),Ue(t),null;case 10:return sl(t.type),Ue(t),null;case 19:if(C(Xe),n=t.memoizedState,n===null)return Ue(t),null;if(a=(t.flags&128)!==0,i=n.rendering,i===null)if(a)Ha(n,!1);else{if(Ge!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(i=qi(e),i!==null){for(t.flags|=128,Ha(n,!1),e=i.updateQueue,t.updateQueue=e,Ii(t,e),t.subtreeFlags=0,e=l,l=t.child;l!==null;)So(l,e),l=l.sibling;return H(Xe,Xe.current&1|2),pe&&ul(t,n.treeForkCount),t.child}e=e.sibling}n.tail!==null&&at()>nu&&(t.flags|=128,a=!0,Ha(n,!1),t.lanes=4194304)}else{if(!a)if(e=qi(i),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,Ii(t,e),Ha(n,!0),n.tail===null&&n.tailMode==="hidden"&&!i.alternate&&!pe)return Ue(t),null}else 2*at()-n.renderingStartTime>nu&&l!==536870912&&(t.flags|=128,a=!0,Ha(n,!1),t.lanes=4194304);n.isBackwards?(i.sibling=t.child,t.child=i):(e=n.last,e!==null?e.sibling=i:t.child=i,n.last=i)}return n.tail!==null?(e=n.tail,n.rendering=e,n.tail=e.sibling,n.renderingStartTime=at(),e.sibling=null,l=Xe.current,H(Xe,a?l&1|2:l&1),pe&&ul(t,n.treeForkCount),e):(Ue(t),null);case 22:case 23:return Ot(t),Uc(),n=t.memoizedState!==null,e!==null?e.memoizedState!==null!==n&&(t.flags|=8192):n&&(t.flags|=8192),n?(l&536870912)!==0&&(t.flags&128)===0&&(Ue(t),t.subtreeFlags&6&&(t.flags|=8192)):Ue(t),l=t.updateQueue,l!==null&&Ii(t,l.retryQueue),l=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),n=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),n!==l&&(t.flags|=2048),e!==null&&C(un),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),sl(ke),Ue(t),null;case 25:return null;case 30:return null}throw Error(o(156,t.tag))}function Q2(e,t){switch(Sc(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return sl(ke),ue(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Pe(t),null;case 31:if(t.memoizedState!==null){if(Ot(t),t.alternate===null)throw Error(o(340));ln()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Ot(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(o(340));ln()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return C(Xe),null;case 4:return ue(),null;case 10:return sl(t.type),null;case 22:case 23:return Ot(t),Uc(),e!==null&&C(un),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return sl(ke),null;case 25:return null;default:return null}}function Kr(e,t){switch(Sc(t),t.tag){case 3:sl(ke),ue();break;case 26:case 27:case 5:Pe(t);break;case 4:ue();break;case 31:t.memoizedState!==null&&Ot(t);break;case 13:Ot(t);break;case 19:C(Xe);break;case 10:sl(t.type);break;case 22:case 23:Ot(t),Uc(),e!==null&&C(un);break;case 24:sl(ke)}}function Ba(e,t){try{var l=t.updateQueue,n=l!==null?l.lastEffect:null;if(n!==null){var a=n.next;l=a;do{if((l.tag&e)===e){n=void 0;var i=l.create,c=l.inst;n=i(),c.destroy=n}l=l.next}while(l!==a)}}catch(r){Ae(t,t.return,r)}}function wl(e,t,l){try{var n=t.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var i=a.next;n=i;do{if((n.tag&e)===e){var c=n.inst,r=c.destroy;if(r!==void 0){c.destroy=void 0,a=t;var m=l,j=r;try{j()}catch(A){Ae(a,m,A)}}}n=n.next}while(n!==i)}}catch(A){Ae(t,t.return,A)}}function Jr(e){var t=e.updateQueue;if(t!==null){var l=e.stateNode;try{Bo(t,l)}catch(n){Ae(e,e.return,n)}}}function $r(e,t,l){l.props=rn(e.type,e.memoizedProps),l.state=e.memoizedState;try{l.componentWillUnmount()}catch(n){Ae(e,t,n)}}function qa(e,t){try{var l=e.ref;if(l!==null){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;case 30:n=e.stateNode;break;default:n=e.stateNode}typeof l=="function"?e.refCleanup=l(n):l.current=n}}catch(a){Ae(e,t,a)}}function It(e,t){var l=e.ref,n=e.refCleanup;if(l!==null)if(typeof n=="function")try{n()}catch(a){Ae(e,t,a)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(a){Ae(e,t,a)}else l.current=null}function Fr(e){var t=e.type,l=e.memoizedProps,n=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break e;case"img":l.src?n.src=l.src:l.srcSet&&(n.srcset=l.srcSet)}}catch(a){Ae(e,e.return,a)}}function ms(e,t,l){try{var n=e.stateNode;dm(n,e.type,l,t),n[vt]=t}catch(a){Ae(e,e.return,a)}}function Wr(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&ql(e.type)||e.tag===4}function hs(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Wr(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.tag===27&&ql(e.type)||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 ys(e,t,l){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(e,t):(t=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,t.appendChild(e),l=l._reactRootContainer,l!=null||t.onclick!==null||(t.onclick=nl));else if(n!==4&&(n===27&&ql(e.type)&&(l=e.stateNode,t=null),e=e.child,e!==null))for(ys(e,t,l),e=e.sibling;e!==null;)ys(e,t,l),e=e.sibling}function Pi(e,t,l){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?l.insertBefore(e,t):l.appendChild(e);else if(n!==4&&(n===27&&ql(e.type)&&(l=e.stateNode),e=e.child,e!==null))for(Pi(e,t,l),e=e.sibling;e!==null;)Pi(e,t,l),e=e.sibling}function Ir(e){var t=e.stateNode,l=e.memoizedProps;try{for(var n=e.type,a=t.attributes;a.length;)t.removeAttributeNode(a[0]);ft(t,n,l),t[it]=e,t[vt]=l}catch(i){Ae(e,e.return,i)}}var ml=!1,Je=!1,vs=!1,Pr=typeof WeakSet=="function"?WeakSet:Set,tt=null;function k2(e,t){if(e=e.containerInfo,Hs=Su,e=oo(e),fc(e)){if("selectionStart"in e)var l={start:e.selectionStart,end:e.selectionEnd};else e:{l=(l=e.ownerDocument)&&l.defaultView||window;var n=l.getSelection&&l.getSelection();if(n&&n.rangeCount!==0){l=n.anchorNode;var a=n.anchorOffset,i=n.focusNode;n=n.focusOffset;try{l.nodeType,i.nodeType}catch{l=null;break e}var c=0,r=-1,m=-1,j=0,A=0,O=e,z=null;t:for(;;){for(var N;O!==l||a!==0&&O.nodeType!==3||(r=c+a),O!==i||n!==0&&O.nodeType!==3||(m=c+n),O.nodeType===3&&(c+=O.nodeValue.length),(N=O.firstChild)!==null;)z=O,O=N;for(;;){if(O===e)break t;if(z===l&&++j===a&&(r=c),z===i&&++A===n&&(m=c),(N=O.nextSibling)!==null)break;O=z,z=O.parentNode}O=N}l=r===-1||m===-1?null:{start:r,end:m}}else l=null}l=l||{start:0,end:0}}else l=null;for(Bs={focusedElem:e,selectionRange:l},Su=!1,tt=t;tt!==null;)if(t=tt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,tt=e;else for(;tt!==null;){switch(t=tt,i=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(l=0;l<e.length;l++)a=e[l],a.ref.impl=a.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&i!==null){e=void 0,l=t,a=i.memoizedProps,i=i.memoizedState,n=l.stateNode;try{var k=rn(l.type,a);e=n.getSnapshotBeforeUpdate(k,i),n.__reactInternalSnapshotBeforeUpdate=e}catch(P){Ae(l,l.return,P)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,l=e.nodeType,l===9)Ys(e);else if(l===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Ys(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(o(163))}if(e=t.sibling,e!==null){e.return=t.return,tt=e;break}tt=t.return}}function e1(e,t,l){var n=l.flags;switch(l.tag){case 0:case 11:case 15:yl(e,l),n&4&&Ba(5,l);break;case 1:if(yl(e,l),n&4)if(e=l.stateNode,t===null)try{e.componentDidMount()}catch(c){Ae(l,l.return,c)}else{var a=rn(l.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(a,t,e.__reactInternalSnapshotBeforeUpdate)}catch(c){Ae(l,l.return,c)}}n&64&&Jr(l),n&512&&qa(l,l.return);break;case 3:if(yl(e,l),n&64&&(e=l.updateQueue,e!==null)){if(t=null,l.child!==null)switch(l.child.tag){case 27:case 5:t=l.child.stateNode;break;case 1:t=l.child.stateNode}try{Bo(e,t)}catch(c){Ae(l,l.return,c)}}break;case 27:t===null&&n&4&&Ir(l);case 26:case 5:yl(e,l),t===null&&n&4&&Fr(l),n&512&&qa(l,l.return);break;case 12:yl(e,l);break;case 31:yl(e,l),n&4&&n1(e,l);break;case 13:yl(e,l),n&4&&a1(e,l),n&64&&(e=l.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(l=em.bind(null,l),Sm(e,l))));break;case 22:if(n=l.memoizedState!==null||ml,!n){t=t!==null&&t.memoizedState!==null||Je,a=ml;var i=Je;ml=n,(Je=t)&&!i?vl(e,l,(l.subtreeFlags&8772)!==0):yl(e,l),ml=a,Je=i}break;case 30:break;default:yl(e,l)}}function t1(e){var t=e.alternate;t!==null&&(e.alternate=null,t1(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Zu(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Le=null,gt=!1;function hl(e,t,l){for(l=l.child;l!==null;)l1(e,t,l),l=l.sibling}function l1(e,t,l){if(dt&&typeof dt.onCommitFiberUnmount=="function")try{dt.onCommitFiberUnmount($l,l)}catch{}switch(l.tag){case 26:Je||It(l,t),hl(e,t,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:Je||It(l,t);var n=Le,a=gt;ql(l.type)&&(Le=l.stateNode,gt=!1),hl(e,t,l),Ja(l.stateNode),Le=n,gt=a;break;case 5:Je||It(l,t);case 6:if(n=Le,a=gt,Le=null,hl(e,t,l),Le=n,gt=a,Le!==null)if(gt)try{(Le.nodeType===9?Le.body:Le.nodeName==="HTML"?Le.ownerDocument.body:Le).removeChild(l.stateNode)}catch(i){Ae(l,t,i)}else try{Le.removeChild(l.stateNode)}catch(i){Ae(l,t,i)}break;case 18:Le!==null&&(gt?(e=Le,J1(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,l.stateNode),la(e)):J1(Le,l.stateNode));break;case 4:n=Le,a=gt,Le=l.stateNode.containerInfo,gt=!0,hl(e,t,l),Le=n,gt=a;break;case 0:case 11:case 14:case 15:wl(2,l,t),Je||wl(4,l,t),hl(e,t,l);break;case 1:Je||(It(l,t),n=l.stateNode,typeof n.componentWillUnmount=="function"&&$r(l,t,n)),hl(e,t,l);break;case 21:hl(e,t,l);break;case 22:Je=(n=Je)||l.memoizedState!==null,hl(e,t,l),Je=n;break;default:hl(e,t,l)}}function n1(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{la(e)}catch(l){Ae(t,t.return,l)}}}function a1(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{la(e)}catch(l){Ae(t,t.return,l)}}function Z2(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Pr),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Pr),t;default:throw Error(o(435,e.tag))}}function eu(e,t){var l=Z2(e);t.forEach(function(n){if(!l.has(n)){l.add(n);var a=tm.bind(null,e,n);n.then(a,a)}})}function bt(e,t){var l=t.deletions;if(l!==null)for(var n=0;n<l.length;n++){var a=l[n],i=e,c=t,r=c;e:for(;r!==null;){switch(r.tag){case 27:if(ql(r.type)){Le=r.stateNode,gt=!1;break e}break;case 5:Le=r.stateNode,gt=!1;break e;case 3:case 4:Le=r.stateNode.containerInfo,gt=!0;break e}r=r.return}if(Le===null)throw Error(o(160));l1(i,c,a),Le=null,gt=!1,i=a.alternate,i!==null&&(i.return=null),a.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)i1(t,e),t=t.sibling}var Zt=null;function i1(e,t){var l=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:bt(t,e),St(e),n&4&&(wl(3,e,e.return),Ba(3,e),wl(5,e,e.return));break;case 1:bt(t,e),St(e),n&512&&(Je||l===null||It(l,l.return)),n&64&&ml&&(e=e.updateQueue,e!==null&&(n=e.callbacks,n!==null&&(l=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=l===null?n:l.concat(n))));break;case 26:var a=Zt;if(bt(t,e),St(e),n&512&&(Je||l===null||It(l,l.return)),n&4){var i=l!==null?l.memoizedState:null;if(n=e.memoizedState,l===null)if(n===null)if(e.stateNode===null){e:{n=e.type,l=e.memoizedProps,a=a.ownerDocument||a;t:switch(n){case"title":i=a.getElementsByTagName("title")[0],(!i||i[da]||i[it]||i.namespaceURI==="http://www.w3.org/2000/svg"||i.hasAttribute("itemprop"))&&(i=a.createElement(n),a.head.insertBefore(i,a.querySelector("head > title"))),ft(i,n,l),i[it]=e,et(i),n=i;break e;case"link":var c=i0("link","href",a).get(n+(l.href||""));if(c){for(var r=0;r<c.length;r++)if(i=c[r],i.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&i.getAttribute("rel")===(l.rel==null?null:l.rel)&&i.getAttribute("title")===(l.title==null?null:l.title)&&i.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){c.splice(r,1);break t}}i=a.createElement(n),ft(i,n,l),a.head.appendChild(i);break;case"meta":if(c=i0("meta","content",a).get(n+(l.content||""))){for(r=0;r<c.length;r++)if(i=c[r],i.getAttribute("content")===(l.content==null?null:""+l.content)&&i.getAttribute("name")===(l.name==null?null:l.name)&&i.getAttribute("property")===(l.property==null?null:l.property)&&i.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&i.getAttribute("charset")===(l.charSet==null?null:l.charSet)){c.splice(r,1);break t}}i=a.createElement(n),ft(i,n,l),a.head.appendChild(i);break;default:throw Error(o(468,n))}i[it]=e,et(i),n=i}e.stateNode=n}else u0(a,e.type,e.stateNode);else e.stateNode=a0(a,n,e.memoizedProps);else i!==n?(i===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):i.count--,n===null?u0(a,e.type,e.stateNode):a0(a,n,e.memoizedProps)):n===null&&e.stateNode!==null&&ms(e,e.memoizedProps,l.memoizedProps)}break;case 27:bt(t,e),St(e),n&512&&(Je||l===null||It(l,l.return)),l!==null&&n&4&&ms(e,e.memoizedProps,l.memoizedProps);break;case 5:if(bt(t,e),St(e),n&512&&(Je||l===null||It(l,l.return)),e.flags&32){a=e.stateNode;try{Nn(a,"")}catch(k){Ae(e,e.return,k)}}n&4&&e.stateNode!=null&&(a=e.memoizedProps,ms(e,a,l!==null?l.memoizedProps:a)),n&1024&&(vs=!0);break;case 6:if(bt(t,e),St(e),n&4){if(e.stateNode===null)throw Error(o(162));n=e.memoizedProps,l=e.stateNode;try{l.nodeValue=n}catch(k){Ae(e,e.return,k)}}break;case 3:if(vu=null,a=Zt,Zt=hu(t.containerInfo),bt(t,e),Zt=a,St(e),n&4&&l!==null&&l.memoizedState.isDehydrated)try{la(t.containerInfo)}catch(k){Ae(e,e.return,k)}vs&&(vs=!1,u1(e));break;case 4:n=Zt,Zt=hu(e.stateNode.containerInfo),bt(t,e),St(e),Zt=n;break;case 12:bt(t,e),St(e);break;case 31:bt(t,e),St(e),n&4&&(n=e.updateQueue,n!==null&&(e.updateQueue=null,eu(e,n)));break;case 13:bt(t,e),St(e),e.child.flags&8192&&e.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(lu=at()),n&4&&(n=e.updateQueue,n!==null&&(e.updateQueue=null,eu(e,n)));break;case 22:a=e.memoizedState!==null;var m=l!==null&&l.memoizedState!==null,j=ml,A=Je;if(ml=j||a,Je=A||m,bt(t,e),Je=A,ml=j,St(e),n&8192)e:for(t=e.stateNode,t._visibility=a?t._visibility&-2:t._visibility|1,a&&(l===null||m||ml||Je||dn(e)),l=null,t=e;;){if(t.tag===5||t.tag===26){if(l===null){m=l=t;try{if(i=m.stateNode,a)c=i.style,typeof c.setProperty=="function"?c.setProperty("display","none","important"):c.display="none";else{r=m.stateNode;var O=m.memoizedProps.style,z=O!=null&&O.hasOwnProperty("display")?O.display:null;r.style.display=z==null||typeof z=="boolean"?"":(""+z).trim()}}catch(k){Ae(m,m.return,k)}}}else if(t.tag===6){if(l===null){m=t;try{m.stateNode.nodeValue=a?"":m.memoizedProps}catch(k){Ae(m,m.return,k)}}}else if(t.tag===18){if(l===null){m=t;try{var N=m.stateNode;a?$1(N,!0):$1(m.stateNode,!1)}catch(k){Ae(m,m.return,k)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;l===t&&(l=null),t=t.return}l===t&&(l=null),t.sibling.return=t.return,t=t.sibling}n&4&&(n=e.updateQueue,n!==null&&(l=n.retryQueue,l!==null&&(n.retryQueue=null,eu(e,l))));break;case 19:bt(t,e),St(e),n&4&&(n=e.updateQueue,n!==null&&(e.updateQueue=null,eu(e,n)));break;case 30:break;case 21:break;default:bt(t,e),St(e)}}function St(e){var t=e.flags;if(t&2){try{for(var l,n=e.return;n!==null;){if(Wr(n)){l=n;break}n=n.return}if(l==null)throw Error(o(160));switch(l.tag){case 27:var a=l.stateNode,i=hs(e);Pi(e,i,a);break;case 5:var c=l.stateNode;l.flags&32&&(Nn(c,""),l.flags&=-33);var r=hs(e);Pi(e,r,c);break;case 3:case 4:var m=l.stateNode.containerInfo,j=hs(e);ys(e,j,m);break;default:throw Error(o(161))}}catch(A){Ae(e,e.return,A)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function u1(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;u1(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function yl(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)e1(e,t.alternate,t),t=t.sibling}function dn(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:wl(4,t,t.return),dn(t);break;case 1:It(t,t.return);var l=t.stateNode;typeof l.componentWillUnmount=="function"&&$r(t,t.return,l),dn(t);break;case 27:Ja(t.stateNode);case 26:case 5:It(t,t.return),dn(t);break;case 22:t.memoizedState===null&&dn(t);break;case 30:dn(t);break;default:dn(t)}e=e.sibling}}function vl(e,t,l){for(l=l&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var n=t.alternate,a=e,i=t,c=i.flags;switch(i.tag){case 0:case 11:case 15:vl(a,i,l),Ba(4,i);break;case 1:if(vl(a,i,l),n=i,a=n.stateNode,typeof a.componentDidMount=="function")try{a.componentDidMount()}catch(j){Ae(n,n.return,j)}if(n=i,a=n.updateQueue,a!==null){var r=n.stateNode;try{var m=a.shared.hiddenCallbacks;if(m!==null)for(a.shared.hiddenCallbacks=null,a=0;a<m.length;a++)Ho(m[a],r)}catch(j){Ae(n,n.return,j)}}l&&c&64&&Jr(i),qa(i,i.return);break;case 27:Ir(i);case 26:case 5:vl(a,i,l),l&&n===null&&c&4&&Fr(i),qa(i,i.return);break;case 12:vl(a,i,l);break;case 31:vl(a,i,l),l&&c&4&&n1(a,i);break;case 13:vl(a,i,l),l&&c&4&&a1(a,i);break;case 22:i.memoizedState===null&&vl(a,i,l),qa(i,i.return);break;case 30:break;default:vl(a,i,l)}t=t.sibling}}function ps(e,t){var l=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==l&&(e!=null&&e.refCount++,l!=null&&Na(l))}function gs(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Na(e))}function Kt(e,t,l,n){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)c1(e,t,l,n),t=t.sibling}function c1(e,t,l,n){var a=t.flags;switch(t.tag){case 0:case 11:case 15:Kt(e,t,l,n),a&2048&&Ba(9,t);break;case 1:Kt(e,t,l,n);break;case 3:Kt(e,t,l,n),a&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Na(e)));break;case 12:if(a&2048){Kt(e,t,l,n),e=t.stateNode;try{var i=t.memoizedProps,c=i.id,r=i.onPostCommit;typeof r=="function"&&r(c,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(m){Ae(t,t.return,m)}}else Kt(e,t,l,n);break;case 31:Kt(e,t,l,n);break;case 13:Kt(e,t,l,n);break;case 23:break;case 22:i=t.stateNode,c=t.alternate,t.memoizedState!==null?i._visibility&2?Kt(e,t,l,n):Ga(e,t):i._visibility&2?Kt(e,t,l,n):(i._visibility|=2,kn(e,t,l,n,(t.subtreeFlags&10256)!==0||!1)),a&2048&&ps(c,t);break;case 24:Kt(e,t,l,n),a&2048&&gs(t.alternate,t);break;default:Kt(e,t,l,n)}}function kn(e,t,l,n,a){for(a=a&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var i=e,c=t,r=l,m=n,j=c.flags;switch(c.tag){case 0:case 11:case 15:kn(i,c,r,m,a),Ba(8,c);break;case 23:break;case 22:var A=c.stateNode;c.memoizedState!==null?A._visibility&2?kn(i,c,r,m,a):Ga(i,c):(A._visibility|=2,kn(i,c,r,m,a)),a&&j&2048&&ps(c.alternate,c);break;case 24:kn(i,c,r,m,a),a&&j&2048&&gs(c.alternate,c);break;default:kn(i,c,r,m,a)}t=t.sibling}}function Ga(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var l=e,n=t,a=n.flags;switch(n.tag){case 22:Ga(l,n),a&2048&&ps(n.alternate,n);break;case 24:Ga(l,n),a&2048&&gs(n.alternate,n);break;default:Ga(l,n)}t=t.sibling}}var Ya=8192;function Zn(e,t,l){if(e.subtreeFlags&Ya)for(e=e.child;e!==null;)s1(e,t,l),e=e.sibling}function s1(e,t,l){switch(e.tag){case 26:Zn(e,t,l),e.flags&Ya&&e.memoizedState!==null&&wm(l,Zt,e.memoizedState,e.memoizedProps);break;case 5:Zn(e,t,l);break;case 3:case 4:var n=Zt;Zt=hu(e.stateNode.containerInfo),Zn(e,t,l),Zt=n;break;case 22:e.memoizedState===null&&(n=e.alternate,n!==null&&n.memoizedState!==null?(n=Ya,Ya=16777216,Zn(e,t,l),Ya=n):Zn(e,t,l));break;default:Zn(e,t,l)}}function f1(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Va(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var n=t[l];tt=n,r1(n,e)}f1(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)o1(e),e=e.sibling}function o1(e){switch(e.tag){case 0:case 11:case 15:Va(e),e.flags&2048&&wl(9,e,e.return);break;case 3:Va(e);break;case 12:Va(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,tu(e)):Va(e);break;default:Va(e)}}function tu(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var n=t[l];tt=n,r1(n,e)}f1(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:wl(8,t,t.return),tu(t);break;case 22:l=t.stateNode,l._visibility&2&&(l._visibility&=-3,tu(t));break;default:tu(t)}e=e.sibling}}function r1(e,t){for(;tt!==null;){var l=tt;switch(l.tag){case 0:case 11:case 15:wl(8,l,t);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var n=l.memoizedState.cachePool.pool;n!=null&&n.refCount++}break;case 24:Na(l.memoizedState.cache)}if(n=l.child,n!==null)n.return=l,tt=n;else e:for(l=e;tt!==null;){n=tt;var a=n.sibling,i=n.return;if(t1(n),n===l){tt=null;break e}if(a!==null){a.return=i,tt=a;break e}tt=i}}}var K2={getCacheForType:function(e){var t=ct(ke),l=t.data.get(e);return l===void 0&&(l=e(),t.data.set(e,l)),l},cacheSignal:function(){return ct(ke).controller.signal}},J2=typeof WeakMap=="function"?WeakMap:Map,ze=0,we=null,oe=null,me=0,Te=0,wt=null,Dl=!1,Kn=!1,bs=!1,pl=0,Ge=0,Rl=0,mn=0,Ss=0,Dt=0,Jn=0,Xa=null,xt=null,xs=!1,lu=0,d1=0,nu=1/0,au=null,Ul=null,We=0,Ll=null,$n=null,gl=0,js=0,Es=null,m1=null,Qa=0,zs=null;function Rt(){return(ze&2)!==0&&me!==0?me&-me:E.T!==null?Cs():Mf()}function h1(){if(Dt===0)if((me&536870912)===0||pe){var e=gn;gn<<=1,(gn&3932160)===0&&(gn=262144),Dt=e}else Dt=536870912;return e=Ct.current,e!==null&&(e.flags|=32),Dt}function jt(e,t,l){(e===we&&(Te===2||Te===9)||e.cancelPendingCommit!==null)&&(Fn(e,0),Hl(e,me,Dt,!1)),ra(e,l),((ze&2)===0||e!==we)&&(e===we&&((ze&2)===0&&(mn|=l),Ge===4&&Hl(e,me,Dt,!1)),Pt(e))}function y1(e,t,l){if((ze&6)!==0)throw Error(o(327));var n=!l&&(t&127)===0&&(t&e.expiredLanes)===0||yt(e,t),a=n?W2(e,t):Ts(e,t,!0),i=n;do{if(a===0){Kn&&!n&&Hl(e,t,0,!1);break}else{if(l=e.current.alternate,i&&!$2(l)){a=Ts(e,t,!1),i=!1;continue}if(a===2){if(i=t,e.errorRecoveryDisabledLanes&i)var c=0;else c=e.pendingLanes&-536870913,c=c!==0?c:c&536870912?536870912:0;if(c!==0){t=c;e:{var r=e;a=Xa;var m=r.current.memoizedState.isDehydrated;if(m&&(Fn(r,c).flags|=256),c=Ts(r,c,!1),c!==2){if(bs&&!m){r.errorRecoveryDisabledLanes|=i,mn|=i,a=4;break e}i=xt,xt=a,i!==null&&(xt===null?xt=i:xt.push.apply(xt,i))}a=c}if(i=!1,a!==2)continue}}if(a===1){Fn(e,0),Hl(e,t,0,!0);break}e:{switch(n=e,i=a,i){case 0:case 1:throw Error(o(345));case 4:if((t&4194048)!==t)break;case 6:Hl(n,t,Dt,!Dl);break e;case 2:xt=null;break;case 3:case 5:break;default:throw Error(o(329))}if((t&62914560)===t&&(a=lu+300-at(),10<a)){if(Hl(n,t,Dt,!Dl),Fe(n,0,!0)!==0)break e;gl=t,n.timeoutHandle=Z1(v1.bind(null,n,l,xt,au,xs,t,Dt,mn,Jn,Dl,i,"Throttled",-0,0),a);break e}v1(n,l,xt,au,xs,t,Dt,mn,Jn,Dl,i,null,-0,0)}}break}while(!0);Pt(e)}function v1(e,t,l,n,a,i,c,r,m,j,A,O,z,N){if(e.timeoutHandle=-1,O=t.subtreeFlags,O&8192||(O&16785408)===16785408){O={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:nl},s1(t,i,O);var k=(i&62914560)===i?lu-at():(i&4194048)===i?d1-at():0;if(k=Dm(O,k),k!==null){gl=i,e.cancelPendingCommit=k(z1.bind(null,e,t,i,l,n,a,c,r,m,A,O,null,z,N)),Hl(e,i,c,!j);return}}z1(e,t,i,l,n,a,c,r,m)}function $2(e){for(var t=e;;){var l=t.tag;if((l===0||l===11||l===15)&&t.flags&16384&&(l=t.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var n=0;n<l.length;n++){var a=l[n],i=a.getSnapshot;a=a.value;try{if(!Mt(i(),a))return!1}catch{return!1}}if(l=t.child,t.subtreeFlags&16384&&l!==null)l.return=t,t=l;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 Hl(e,t,l,n){t&=~Ss,t&=~mn,e.suspendedLanes|=t,e.pingedLanes&=~t,n&&(e.warmLanes|=t),n=e.expirationTimes;for(var a=t;0<a;){var i=31-mt(a),c=1<<i;n[i]=-1,a&=~c}l!==0&&Nf(e,l,t)}function iu(){return(ze&6)===0?(ka(0),!1):!0}function Ns(){if(oe!==null){if(Te===0)var e=oe.return;else e=oe,cl=nn=null,Yc(e),Gn=null,Aa=0,e=oe;for(;e!==null;)Kr(e.alternate,e),e=e.return;oe=null}}function Fn(e,t){var l=e.timeoutHandle;l!==-1&&(e.timeoutHandle=-1,ym(l)),l=e.cancelPendingCommit,l!==null&&(e.cancelPendingCommit=null,l()),gl=0,Ns(),we=e,oe=l=il(e.current,null),me=t,Te=0,wt=null,Dl=!1,Kn=yt(e,t),bs=!1,Jn=Dt=Ss=mn=Rl=Ge=0,xt=Xa=null,xs=!1,(t&8)!==0&&(t|=t&32);var n=e.entangledLanes;if(n!==0)for(e=e.entanglements,n&=t;0<n;){var a=31-mt(n),i=1<<a;t|=e[a],n&=~i}return pl=t,Ti(),l}function p1(e,t){ae=null,E.H=Ua,t===qn||t===Ri?(t=Do(),Te=3):t===_c?(t=Do(),Te=4):Te=t===ns?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,wt=t,oe===null&&(Ge=1,Ji(e,Bt(t,e.current)))}function g1(){var e=Ct.current;return e===null?!0:(me&4194048)===me?Vt===null:(me&62914560)===me||(me&536870912)!==0?e===Vt:!1}function b1(){var e=E.H;return E.H=Ua,e===null?Ua:e}function S1(){var e=E.A;return E.A=K2,e}function uu(){Ge=4,Dl||(me&4194048)!==me&&Ct.current!==null||(Kn=!0),(Rl&134217727)===0&&(mn&134217727)===0||we===null||Hl(we,me,Dt,!1)}function Ts(e,t,l){var n=ze;ze|=2;var a=b1(),i=S1();(we!==e||me!==t)&&(au=null,Fn(e,t)),t=!1;var c=Ge;e:do try{if(Te!==0&&oe!==null){var r=oe,m=wt;switch(Te){case 8:Ns(),c=6;break e;case 3:case 2:case 9:case 6:Ct.current===null&&(t=!0);var j=Te;if(Te=0,wt=null,Wn(e,r,m,j),l&&Kn){c=0;break e}break;default:j=Te,Te=0,wt=null,Wn(e,r,m,j)}}F2(),c=Ge;break}catch(A){p1(e,A)}while(!0);return t&&e.shellSuspendCounter++,cl=nn=null,ze=n,E.H=a,E.A=i,oe===null&&(we=null,me=0,Ti()),c}function F2(){for(;oe!==null;)x1(oe)}function W2(e,t){var l=ze;ze|=2;var n=b1(),a=S1();we!==e||me!==t?(au=null,nu=at()+500,Fn(e,t)):Kn=yt(e,t);e:do try{if(Te!==0&&oe!==null){t=oe;var i=wt;t:switch(Te){case 1:Te=0,wt=null,Wn(e,t,i,1);break;case 2:case 9:if(Oo(i)){Te=0,wt=null,j1(t);break}t=function(){Te!==2&&Te!==9||we!==e||(Te=7),Pt(e)},i.then(t,t);break e;case 3:Te=7;break e;case 4:Te=5;break e;case 7:Oo(i)?(Te=0,wt=null,j1(t)):(Te=0,wt=null,Wn(e,t,i,7));break;case 5:var c=null;switch(oe.tag){case 26:c=oe.memoizedState;case 5:case 27:var r=oe;if(c?c0(c):r.stateNode.complete){Te=0,wt=null;var m=r.sibling;if(m!==null)oe=m;else{var j=r.return;j!==null?(oe=j,cu(j)):oe=null}break t}}Te=0,wt=null,Wn(e,t,i,5);break;case 6:Te=0,wt=null,Wn(e,t,i,6);break;case 8:Ns(),Ge=6;break e;default:throw Error(o(462))}}I2();break}catch(A){p1(e,A)}while(!0);return cl=nn=null,E.H=n,E.A=a,ze=l,oe!==null?0:(we=null,me=0,Ti(),Ge)}function I2(){for(;oe!==null&&!Uu();)x1(oe)}function x1(e){var t=kr(e.alternate,e,pl);e.memoizedProps=e.pendingProps,t===null?cu(e):oe=t}function j1(e){var t=e,l=t.alternate;switch(t.tag){case 15:case 0:t=qr(l,t,t.pendingProps,t.type,void 0,me);break;case 11:t=qr(l,t,t.pendingProps,t.type.render,t.ref,me);break;case 5:Yc(t);default:Kr(l,t),t=oe=So(t,pl),t=kr(l,t,pl)}e.memoizedProps=e.pendingProps,t===null?cu(e):oe=t}function Wn(e,t,l,n){cl=nn=null,Yc(t),Gn=null,Aa=0;var a=t.return;try{if(G2(e,a,t,l,me)){Ge=1,Ji(e,Bt(l,e.current)),oe=null;return}}catch(i){if(a!==null)throw oe=a,i;Ge=1,Ji(e,Bt(l,e.current)),oe=null;return}t.flags&32768?(pe||n===1?e=!0:Kn||(me&536870912)!==0?e=!1:(Dl=e=!0,(n===2||n===9||n===3||n===6)&&(n=Ct.current,n!==null&&n.tag===13&&(n.flags|=16384))),E1(t,e)):cu(t)}function cu(e){var t=e;do{if((t.flags&32768)!==0){E1(t,Dl);return}e=t.return;var l=X2(t.alternate,t,pl);if(l!==null){oe=l;return}if(t=t.sibling,t!==null){oe=t;return}oe=t=e}while(t!==null);Ge===0&&(Ge=5)}function E1(e,t){do{var l=Q2(e.alternate,e);if(l!==null){l.flags&=32767,oe=l;return}if(l=e.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!t&&(e=e.sibling,e!==null)){oe=e;return}oe=e=l}while(e!==null);Ge=6,oe=null}function z1(e,t,l,n,a,i,c,r,m){e.cancelPendingCommit=null;do su();while(We!==0);if((ze&6)!==0)throw Error(o(327));if(t!==null){if(t===e.current)throw Error(o(177));if(i=t.lanes|t.childLanes,i|=hc,Od(e,l,i,c,r,m),e===we&&(oe=we=null,me=0),$n=t,Ll=e,gl=l,js=i,Es=a,m1=n,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,lm(Jl,function(){return _1(),null})):(e.callbackNode=null,e.callbackPriority=0),n=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||n){n=E.T,E.T=null,a=B.p,B.p=2,c=ze,ze|=4;try{k2(e,t,l)}finally{ze=c,B.p=a,E.T=n}}We=1,N1(),T1(),A1()}}function N1(){if(We===1){We=0;var e=Ll,t=$n,l=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||l){l=E.T,E.T=null;var n=B.p;B.p=2;var a=ze;ze|=4;try{i1(t,e);var i=Bs,c=oo(e.containerInfo),r=i.focusedElem,m=i.selectionRange;if(c!==r&&r&&r.ownerDocument&&fo(r.ownerDocument.documentElement,r)){if(m!==null&&fc(r)){var j=m.start,A=m.end;if(A===void 0&&(A=j),"selectionStart"in r)r.selectionStart=j,r.selectionEnd=Math.min(A,r.value.length);else{var O=r.ownerDocument||document,z=O&&O.defaultView||window;if(z.getSelection){var N=z.getSelection(),k=r.textContent.length,P=Math.min(m.start,k),Oe=m.end===void 0?P:Math.min(m.end,k);!N.extend&&P>Oe&&(c=Oe,Oe=P,P=c);var g=so(r,P),y=so(r,Oe);if(g&&y&&(N.rangeCount!==1||N.anchorNode!==g.node||N.anchorOffset!==g.offset||N.focusNode!==y.node||N.focusOffset!==y.offset)){var S=O.createRange();S.setStart(g.node,g.offset),N.removeAllRanges(),P>Oe?(N.addRange(S),N.extend(y.node,y.offset)):(S.setEnd(y.node,y.offset),N.addRange(S))}}}}for(O=[],N=r;N=N.parentNode;)N.nodeType===1&&O.push({element:N,left:N.scrollLeft,top:N.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r<O.length;r++){var _=O[r];_.element.scrollLeft=_.left,_.element.scrollTop=_.top}}Su=!!Hs,Bs=Hs=null}finally{ze=a,B.p=n,E.T=l}}e.current=t,We=2}}function T1(){if(We===2){We=0;var e=Ll,t=$n,l=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||l){l=E.T,E.T=null;var n=B.p;B.p=2;var a=ze;ze|=4;try{e1(e,t.alternate,t)}finally{ze=a,B.p=n,E.T=l}}We=3}}function A1(){if(We===4||We===3){We=0,Lu();var e=Ll,t=$n,l=gl,n=m1;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?We=5:(We=0,$n=Ll=null,M1(e,e.pendingLanes));var a=e.pendingLanes;if(a===0&&(Ul=null),Qu(l),t=t.stateNode,dt&&typeof dt.onCommitFiberRoot=="function")try{dt.onCommitFiberRoot($l,t,void 0,(t.current.flags&128)===128)}catch{}if(n!==null){t=E.T,a=B.p,B.p=2,E.T=null;try{for(var i=e.onRecoverableError,c=0;c<n.length;c++){var r=n[c];i(r.value,{componentStack:r.stack})}}finally{E.T=t,B.p=a}}(gl&3)!==0&&su(),Pt(e),a=e.pendingLanes,(l&261930)!==0&&(a&42)!==0?e===zs?Qa++:(Qa=0,zs=e):Qa=0,ka(0)}}function M1(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Na(t)))}function su(){return N1(),T1(),A1(),_1()}function _1(){if(We!==5)return!1;var e=Ll,t=js;js=0;var l=Qu(gl),n=E.T,a=B.p;try{B.p=32>l?32:l,E.T=null,l=Es,Es=null;var i=Ll,c=gl;if(We=0,$n=Ll=null,gl=0,(ze&6)!==0)throw Error(o(331));var r=ze;if(ze|=4,o1(i.current),c1(i,i.current,c,l),ze=r,ka(0,!1),dt&&typeof dt.onPostCommitFiberRoot=="function")try{dt.onPostCommitFiberRoot($l,i)}catch{}return!0}finally{B.p=a,E.T=n,M1(e,t)}}function C1(e,t,l){t=Bt(l,t),t=ls(e.stateNode,t,2),e=_l(e,t,2),e!==null&&(ra(e,2),Pt(e))}function Ae(e,t,l){if(e.tag===3)C1(e,e,l);else for(;t!==null;){if(t.tag===3){C1(t,e,l);break}else if(t.tag===1){var n=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(Ul===null||!Ul.has(n))){e=Bt(l,e),l=Or(2),n=_l(t,l,2),n!==null&&(wr(l,n,t,e),ra(n,2),Pt(n));break}}t=t.return}}function As(e,t,l){var n=e.pingCache;if(n===null){n=e.pingCache=new J2;var a=new Set;n.set(t,a)}else a=n.get(t),a===void 0&&(a=new Set,n.set(t,a));a.has(l)||(bs=!0,a.add(l),e=P2.bind(null,e,t,l),t.then(e,e))}function P2(e,t,l){var n=e.pingCache;n!==null&&n.delete(t),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,we===e&&(me&l)===l&&(Ge===4||Ge===3&&(me&62914560)===me&&300>at()-lu?(ze&2)===0&&Fn(e,0):Ss|=l,Jn===me&&(Jn=0)),Pt(e)}function O1(e,t){t===0&&(t=hi()),e=en(e,t),e!==null&&(ra(e,t),Pt(e))}function em(e){var t=e.memoizedState,l=0;t!==null&&(l=t.retryLane),O1(e,l)}function tm(e,t){var l=0;switch(e.tag){case 31:case 13:var n=e.stateNode,a=e.memoizedState;a!==null&&(l=a.retryLane);break;case 19:n=e.stateNode;break;case 22:n=e.stateNode._retryCache;break;default:throw Error(o(314))}n!==null&&n.delete(t),O1(e,l)}function lm(e,t){return sa(e,t)}var fu=null,In=null,Ms=!1,ou=!1,_s=!1,Bl=0;function Pt(e){e!==In&&e.next===null&&(In===null?fu=In=e:In=In.next=e),ou=!0,Ms||(Ms=!0,am())}function ka(e,t){if(!_s&&ou){_s=!0;do for(var l=!1,n=fu;n!==null;){if(e!==0){var a=n.pendingLanes;if(a===0)var i=0;else{var c=n.suspendedLanes,r=n.pingedLanes;i=(1<<31-mt(42|e)+1)-1,i&=a&~(c&~r),i=i&201326741?i&201326741|1:i?i|2:0}i!==0&&(l=!0,U1(n,i))}else i=me,i=Fe(n,n===we?i:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),(i&3)===0||yt(n,i)||(l=!0,U1(n,i));n=n.next}while(l);_s=!1}}function nm(){w1()}function w1(){ou=Ms=!1;var e=0;Bl!==0&&hm()&&(e=Bl);for(var t=at(),l=null,n=fu;n!==null;){var a=n.next,i=D1(n,t);i===0?(n.next=null,l===null?fu=a:l.next=a,a===null&&(In=l)):(l=n,(e!==0||(i&3)!==0)&&(ou=!0)),n=a}We!==0&&We!==5||ka(e),Bl!==0&&(Bl=0)}function D1(e,t){for(var l=e.suspendedLanes,n=e.pingedLanes,a=e.expirationTimes,i=e.pendingLanes&-62914561;0<i;){var c=31-mt(i),r=1<<c,m=a[c];m===-1?((r&l)===0||(r&n)!==0)&&(a[c]=tl(r,t)):m<=t&&(e.expiredLanes|=r),i&=~r}if(t=we,l=me,l=Fe(e,e===t?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),n=e.callbackNode,l===0||e===t&&(Te===2||Te===9)||e.cancelPendingCommit!==null)return n!==null&&n!==null&&Kl(n),e.callbackNode=null,e.callbackPriority=0;if((l&3)===0||yt(e,l)){if(t=l&-l,t===e.callbackPriority)return t;switch(n!==null&&Kl(n),Qu(l)){case 2:case 8:l=ri;break;case 32:l=Jl;break;case 268435456:l=di;break;default:l=Jl}return n=R1.bind(null,e),l=sa(l,n),e.callbackPriority=t,e.callbackNode=l,t}return n!==null&&n!==null&&Kl(n),e.callbackPriority=2,e.callbackNode=null,2}function R1(e,t){if(We!==0&&We!==5)return e.callbackNode=null,e.callbackPriority=0,null;var l=e.callbackNode;if(su()&&e.callbackNode!==l)return null;var n=me;return n=Fe(e,e===we?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),n===0?null:(y1(e,n,t),D1(e,at()),e.callbackNode!=null&&e.callbackNode===l?R1.bind(null,e):null)}function U1(e,t){if(su())return null;y1(e,t,!0)}function am(){vm(function(){(ze&6)!==0?sa(fa,nm):w1()})}function Cs(){if(Bl===0){var e=Hn;e===0&&(e=pn,pn<<=1,(pn&261888)===0&&(pn=256)),Bl=e}return Bl}function L1(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:gi(""+e)}function H1(e,t){var l=t.ownerDocument.createElement("input");return l.name=t.name,l.value=t.value,e.id&&l.setAttribute("form",e.id),t.parentNode.insertBefore(l,t),e=new FormData(e),l.parentNode.removeChild(l),e}function im(e,t,l,n,a){if(t==="submit"&&l&&l.stateNode===a){var i=L1((a[vt]||null).action),c=n.submitter;c&&(t=(t=c[vt]||null)?L1(t.formAction):c.getAttribute("formAction"),t!==null&&(i=t,c=null));var r=new ji("action","action",null,n,a);e.push({event:r,listeners:[{instance:null,listener:function(){if(n.defaultPrevented){if(Bl!==0){var m=c?H1(a,c):new FormData(a);Fc(l,{pending:!0,data:m,method:a.method,action:i},null,m)}}else typeof i=="function"&&(r.preventDefault(),m=c?H1(a,c):new FormData(a),Fc(l,{pending:!0,data:m,method:a.method,action:i},i,m))},currentTarget:a}]})}}for(var Os=0;Os<mc.length;Os++){var ws=mc[Os],um=ws.toLowerCase(),cm=ws[0].toUpperCase()+ws.slice(1);kt(um,"on"+cm)}kt(ho,"onAnimationEnd"),kt(yo,"onAnimationIteration"),kt(vo,"onAnimationStart"),kt("dblclick","onDoubleClick"),kt("focusin","onFocus"),kt("focusout","onBlur"),kt(E2,"onTransitionRun"),kt(z2,"onTransitionStart"),kt(N2,"onTransitionCancel"),kt(po,"onTransitionEnd"),En("onMouseEnter",["mouseout","mouseover"]),En("onMouseLeave",["mouseout","mouseover"]),En("onPointerEnter",["pointerout","pointerover"]),En("onPointerLeave",["pointerout","pointerover"]),Fl("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Fl("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Fl("onBeforeInput",["compositionend","keypress","textInput","paste"]),Fl("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Fl("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Fl("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Za="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(" "),sm=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Za));function B1(e,t){t=(t&4)!==0;for(var l=0;l<e.length;l++){var n=e[l],a=n.event;n=n.listeners;e:{var i=void 0;if(t)for(var c=n.length-1;0<=c;c--){var r=n[c],m=r.instance,j=r.currentTarget;if(r=r.listener,m!==i&&a.isPropagationStopped())break e;i=r,a.currentTarget=j;try{i(a)}catch(A){Ni(A)}a.currentTarget=null,i=m}else for(c=0;c<n.length;c++){if(r=n[c],m=r.instance,j=r.currentTarget,r=r.listener,m!==i&&a.isPropagationStopped())break e;i=r,a.currentTarget=j;try{i(a)}catch(A){Ni(A)}a.currentTarget=null,i=m}}}}function re(e,t){var l=t[ku];l===void 0&&(l=t[ku]=new Set);var n=e+"__bubble";l.has(n)||(q1(t,e,2,!1),l.add(n))}function Ds(e,t,l){var n=0;t&&(n|=4),q1(l,e,n,t)}var ru="_reactListening"+Math.random().toString(36).slice(2);function Rs(e){if(!e[ru]){e[ru]=!0,Of.forEach(function(l){l!=="selectionchange"&&(sm.has(l)||Ds(l,!1,e),Ds(l,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ru]||(t[ru]=!0,Ds("selectionchange",!1,t))}}function q1(e,t,l,n){switch(h0(t)){case 2:var a=Lm;break;case 8:a=Hm;break;default:a=$s}l=a.bind(null,t,l,e),a=void 0,!ec||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(a=!0),n?a!==void 0?e.addEventListener(t,l,{capture:!0,passive:a}):e.addEventListener(t,l,!0):a!==void 0?e.addEventListener(t,l,{passive:a}):e.addEventListener(t,l,!1)}function Us(e,t,l,n,a){var i=n;if((t&1)===0&&(t&2)===0&&n!==null)e:for(;;){if(n===null)return;var c=n.tag;if(c===3||c===4){var r=n.stateNode.containerInfo;if(r===a)break;if(c===4)for(c=n.return;c!==null;){var m=c.tag;if((m===3||m===4)&&c.stateNode.containerInfo===a)return;c=c.return}for(;r!==null;){if(c=Sn(r),c===null)return;if(m=c.tag,m===5||m===6||m===26||m===27){n=i=c;continue e}r=r.parentNode}}n=n.return}Xf(function(){var j=i,A=Iu(l),O=[];e:{var z=go.get(e);if(z!==void 0){var N=ji,k=e;switch(e){case"keypress":if(Si(l)===0)break e;case"keydown":case"keyup":N=t2;break;case"focusin":k="focus",N=ac;break;case"focusout":k="blur",N=ac;break;case"beforeblur":case"afterblur":N=ac;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":N=Zf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":N=Xd;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":N=a2;break;case ho:case yo:case vo:N=Zd;break;case po:N=u2;break;case"scroll":case"scrollend":N=Yd;break;case"wheel":N=s2;break;case"copy":case"cut":case"paste":N=Jd;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":N=Jf;break;case"toggle":case"beforetoggle":N=o2}var P=(t&4)!==0,Oe=!P&&(e==="scroll"||e==="scrollend"),g=P?z!==null?z+"Capture":null:z;P=[];for(var y=j,S;y!==null;){var _=y;if(S=_.stateNode,_=_.tag,_!==5&&_!==26&&_!==27||S===null||g===null||(_=ha(y,g),_!=null&&P.push(Ka(y,_,S))),Oe)break;y=y.return}0<P.length&&(z=new N(z,k,null,l,A),O.push({event:z,listeners:P}))}}if((t&7)===0){e:{if(z=e==="mouseover"||e==="pointerover",N=e==="mouseout"||e==="pointerout",z&&l!==Wu&&(k=l.relatedTarget||l.fromElement)&&(Sn(k)||k[bn]))break e;if((N||z)&&(z=A.window===A?A:(z=A.ownerDocument)?z.defaultView||z.parentWindow:window,N?(k=l.relatedTarget||l.toElement,N=j,k=k?Sn(k):null,k!==null&&(Oe=b(k),P=k.tag,k!==Oe||P!==5&&P!==27&&P!==6)&&(k=null)):(N=null,k=j),N!==k)){if(P=Zf,_="onMouseLeave",g="onMouseEnter",y="mouse",(e==="pointerout"||e==="pointerover")&&(P=Jf,_="onPointerLeave",g="onPointerEnter",y="pointer"),Oe=N==null?z:ma(N),S=k==null?z:ma(k),z=new P(_,y+"leave",N,l,A),z.target=Oe,z.relatedTarget=S,_=null,Sn(A)===j&&(P=new P(g,y+"enter",k,l,A),P.target=S,P.relatedTarget=Oe,_=P),Oe=_,N&&k)t:{for(P=fm,g=N,y=k,S=0,_=g;_;_=P(_))S++;_=0;for(var W=y;W;W=P(W))_++;for(;0<S-_;)g=P(g),S--;for(;0<_-S;)y=P(y),_--;for(;S--;){if(g===y||y!==null&&g===y.alternate){P=g;break t}g=P(g),y=P(y)}P=null}else P=null;N!==null&&G1(O,z,N,P,!1),k!==null&&Oe!==null&&G1(O,Oe,k,P,!0)}}e:{if(z=j?ma(j):window,N=z.nodeName&&z.nodeName.toLowerCase(),N==="select"||N==="input"&&z.type==="file")var je=lo;else if(eo(z))if(no)je=S2;else{je=g2;var J=p2}else N=z.nodeName,!N||N.toLowerCase()!=="input"||z.type!=="checkbox"&&z.type!=="radio"?j&&Fu(j.elementType)&&(je=lo):je=b2;if(je&&(je=je(e,j))){to(O,je,l,A);break e}J&&J(e,z,j),e==="focusout"&&j&&z.type==="number"&&j.memoizedProps.value!=null&&$u(z,"number",z.value)}switch(J=j?ma(j):window,e){case"focusin":(eo(J)||J.contentEditable==="true")&&(_n=J,oc=j,ja=null);break;case"focusout":ja=oc=_n=null;break;case"mousedown":rc=!0;break;case"contextmenu":case"mouseup":case"dragend":rc=!1,ro(O,l,A);break;case"selectionchange":if(j2)break;case"keydown":case"keyup":ro(O,l,A)}var ie;if(uc)e:{switch(e){case"compositionstart":var he="onCompositionStart";break e;case"compositionend":he="onCompositionEnd";break e;case"compositionupdate":he="onCompositionUpdate";break e}he=void 0}else Mn?If(e,l)&&(he="onCompositionEnd"):e==="keydown"&&l.keyCode===229&&(he="onCompositionStart");he&&($f&&l.locale!=="ko"&&(Mn||he!=="onCompositionStart"?he==="onCompositionEnd"&&Mn&&(ie=Qf()):(jl=A,tc="value"in jl?jl.value:jl.textContent,Mn=!0)),J=du(j,he),0<J.length&&(he=new Kf(he,e,null,l,A),O.push({event:he,listeners:J}),ie?he.data=ie:(ie=Pf(l),ie!==null&&(he.data=ie)))),(ie=d2?m2(e,l):h2(e,l))&&(he=du(j,"onBeforeInput"),0<he.length&&(J=new Kf("onBeforeInput","beforeinput",null,l,A),O.push({event:J,listeners:he}),J.data=ie)),im(O,e,j,l,A)}B1(O,t)})}function Ka(e,t,l){return{instance:e,listener:t,currentTarget:l}}function du(e,t){for(var l=t+"Capture",n=[];e!==null;){var a=e,i=a.stateNode;if(a=a.tag,a!==5&&a!==26&&a!==27||i===null||(a=ha(e,l),a!=null&&n.unshift(Ka(e,a,i)),a=ha(e,t),a!=null&&n.push(Ka(e,a,i))),e.tag===3)return n;e=e.return}return[]}function fm(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function G1(e,t,l,n,a){for(var i=t._reactName,c=[];l!==null&&l!==n;){var r=l,m=r.alternate,j=r.stateNode;if(r=r.tag,m!==null&&m===n)break;r!==5&&r!==26&&r!==27||j===null||(m=j,a?(j=ha(l,i),j!=null&&c.unshift(Ka(l,j,m))):a||(j=ha(l,i),j!=null&&c.push(Ka(l,j,m)))),l=l.return}c.length!==0&&e.push({event:t,listeners:c})}var om=/\r\n?/g,rm=/\u0000|\uFFFD/g;function Y1(e){return(typeof e=="string"?e:""+e).replace(om,`
|
|
49
|
-
`).replace(rm,"")}function V1(e,t){return t=Y1(t),Y1(e)===t}function Ce(e,t,l,n,a,i){switch(l){case"children":typeof n=="string"?t==="body"||t==="textarea"&&n===""||Nn(e,n):(typeof n=="number"||typeof n=="bigint")&&t!=="body"&&Nn(e,""+n);break;case"className":vi(e,"class",n);break;case"tabIndex":vi(e,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":vi(e,l,n);break;case"style":Yf(e,n,i);break;case"data":if(t!=="object"){vi(e,"data",n);break}case"src":case"href":if(n===""&&(t!=="a"||l!=="href")){e.removeAttribute(l);break}if(n==null||typeof n=="function"||typeof n=="symbol"||typeof n=="boolean"){e.removeAttribute(l);break}n=gi(""+n),e.setAttribute(l,n);break;case"action":case"formAction":if(typeof n=="function"){e.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof i=="function"&&(l==="formAction"?(t!=="input"&&Ce(e,t,"name",a.name,a,null),Ce(e,t,"formEncType",a.formEncType,a,null),Ce(e,t,"formMethod",a.formMethod,a,null),Ce(e,t,"formTarget",a.formTarget,a,null)):(Ce(e,t,"encType",a.encType,a,null),Ce(e,t,"method",a.method,a,null),Ce(e,t,"target",a.target,a,null)));if(n==null||typeof n=="symbol"||typeof n=="boolean"){e.removeAttribute(l);break}n=gi(""+n),e.setAttribute(l,n);break;case"onClick":n!=null&&(e.onclick=nl);break;case"onScroll":n!=null&&re("scroll",e);break;case"onScrollEnd":n!=null&&re("scrollend",e);break;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(o(61));if(l=n.__html,l!=null){if(a.children!=null)throw Error(o(60));e.innerHTML=l}}break;case"multiple":e.multiple=n&&typeof n!="function"&&typeof n!="symbol";break;case"muted":e.muted=n&&typeof n!="function"&&typeof n!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(n==null||typeof n=="function"||typeof n=="boolean"||typeof n=="symbol"){e.removeAttribute("xlink:href");break}l=gi(""+n),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":n!=null&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(l,""+n):e.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":n&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(l,""):e.removeAttribute(l);break;case"capture":case"download":n===!0?e.setAttribute(l,""):n!==!1&&n!=null&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(l,n):e.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":n!=null&&typeof n!="function"&&typeof n!="symbol"&&!isNaN(n)&&1<=n?e.setAttribute(l,n):e.removeAttribute(l);break;case"rowSpan":case"start":n==null||typeof n=="function"||typeof n=="symbol"||isNaN(n)?e.removeAttribute(l):e.setAttribute(l,n);break;case"popover":re("beforetoggle",e),re("toggle",e),yi(e,"popover",n);break;case"xlinkActuate":ll(e,"http://www.w3.org/1999/xlink","xlink:actuate",n);break;case"xlinkArcrole":ll(e,"http://www.w3.org/1999/xlink","xlink:arcrole",n);break;case"xlinkRole":ll(e,"http://www.w3.org/1999/xlink","xlink:role",n);break;case"xlinkShow":ll(e,"http://www.w3.org/1999/xlink","xlink:show",n);break;case"xlinkTitle":ll(e,"http://www.w3.org/1999/xlink","xlink:title",n);break;case"xlinkType":ll(e,"http://www.w3.org/1999/xlink","xlink:type",n);break;case"xmlBase":ll(e,"http://www.w3.org/XML/1998/namespace","xml:base",n);break;case"xmlLang":ll(e,"http://www.w3.org/XML/1998/namespace","xml:lang",n);break;case"xmlSpace":ll(e,"http://www.w3.org/XML/1998/namespace","xml:space",n);break;case"is":yi(e,"is",n);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=qd.get(l)||l,yi(e,l,n))}}function Ls(e,t,l,n,a,i){switch(l){case"style":Yf(e,n,i);break;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(o(61));if(l=n.__html,l!=null){if(a.children!=null)throw Error(o(60));e.innerHTML=l}}break;case"children":typeof n=="string"?Nn(e,n):(typeof n=="number"||typeof n=="bigint")&&Nn(e,""+n);break;case"onScroll":n!=null&&re("scroll",e);break;case"onScrollEnd":n!=null&&re("scrollend",e);break;case"onClick":n!=null&&(e.onclick=nl);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!wf.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(a=l.endsWith("Capture"),t=l.slice(2,a?l.length-7:void 0),i=e[vt]||null,i=i!=null?i[l]:null,typeof i=="function"&&e.removeEventListener(t,i,a),typeof n=="function")){typeof i!="function"&&i!==null&&(l in e?e[l]=null:e.hasAttribute(l)&&e.removeAttribute(l)),e.addEventListener(t,n,a);break e}l in e?e[l]=n:n===!0?e.setAttribute(l,""):yi(e,l,n)}}}function ft(e,t,l){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":re("error",e),re("load",e);var n=!1,a=!1,i;for(i in l)if(l.hasOwnProperty(i)){var c=l[i];if(c!=null)switch(i){case"src":n=!0;break;case"srcSet":a=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:Ce(e,t,i,c,l,null)}}a&&Ce(e,t,"srcSet",l.srcSet,l,null),n&&Ce(e,t,"src",l.src,l,null);return;case"input":re("invalid",e);var r=i=c=a=null,m=null,j=null;for(n in l)if(l.hasOwnProperty(n)){var A=l[n];if(A!=null)switch(n){case"name":a=A;break;case"type":c=A;break;case"checked":m=A;break;case"defaultChecked":j=A;break;case"value":i=A;break;case"defaultValue":r=A;break;case"children":case"dangerouslySetInnerHTML":if(A!=null)throw Error(o(137,t));break;default:Ce(e,t,n,A,l,null)}}Hf(e,i,r,m,j,c,a,!1);return;case"select":re("invalid",e),n=c=i=null;for(a in l)if(l.hasOwnProperty(a)&&(r=l[a],r!=null))switch(a){case"value":i=r;break;case"defaultValue":c=r;break;case"multiple":n=r;default:Ce(e,t,a,r,l,null)}t=i,l=c,e.multiple=!!n,t!=null?zn(e,!!n,t,!1):l!=null&&zn(e,!!n,l,!0);return;case"textarea":re("invalid",e),i=a=n=null;for(c in l)if(l.hasOwnProperty(c)&&(r=l[c],r!=null))switch(c){case"value":n=r;break;case"defaultValue":a=r;break;case"children":i=r;break;case"dangerouslySetInnerHTML":if(r!=null)throw Error(o(91));break;default:Ce(e,t,c,r,l,null)}qf(e,n,a,i);return;case"option":for(m in l)if(l.hasOwnProperty(m)&&(n=l[m],n!=null))switch(m){case"selected":e.selected=n&&typeof n!="function"&&typeof n!="symbol";break;default:Ce(e,t,m,n,l,null)}return;case"dialog":re("beforetoggle",e),re("toggle",e),re("cancel",e),re("close",e);break;case"iframe":case"object":re("load",e);break;case"video":case"audio":for(n=0;n<Za.length;n++)re(Za[n],e);break;case"image":re("error",e),re("load",e);break;case"details":re("toggle",e);break;case"embed":case"source":case"link":re("error",e),re("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(j in l)if(l.hasOwnProperty(j)&&(n=l[j],n!=null))switch(j){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:Ce(e,t,j,n,l,null)}return;default:if(Fu(t)){for(A in l)l.hasOwnProperty(A)&&(n=l[A],n!==void 0&&Ls(e,t,A,n,l,void 0));return}}for(r in l)l.hasOwnProperty(r)&&(n=l[r],n!=null&&Ce(e,t,r,n,l,null))}function dm(e,t,l,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var a=null,i=null,c=null,r=null,m=null,j=null,A=null;for(N in l){var O=l[N];if(l.hasOwnProperty(N)&&O!=null)switch(N){case"checked":break;case"value":break;case"defaultValue":m=O;default:n.hasOwnProperty(N)||Ce(e,t,N,null,n,O)}}for(var z in n){var N=n[z];if(O=l[z],n.hasOwnProperty(z)&&(N!=null||O!=null))switch(z){case"type":i=N;break;case"name":a=N;break;case"checked":j=N;break;case"defaultChecked":A=N;break;case"value":c=N;break;case"defaultValue":r=N;break;case"children":case"dangerouslySetInnerHTML":if(N!=null)throw Error(o(137,t));break;default:N!==O&&Ce(e,t,z,N,n,O)}}Ju(e,c,r,m,j,A,i,a);return;case"select":N=c=r=z=null;for(i in l)if(m=l[i],l.hasOwnProperty(i)&&m!=null)switch(i){case"value":break;case"multiple":N=m;default:n.hasOwnProperty(i)||Ce(e,t,i,null,n,m)}for(a in n)if(i=n[a],m=l[a],n.hasOwnProperty(a)&&(i!=null||m!=null))switch(a){case"value":z=i;break;case"defaultValue":r=i;break;case"multiple":c=i;default:i!==m&&Ce(e,t,a,i,n,m)}t=r,l=c,n=N,z!=null?zn(e,!!l,z,!1):!!n!=!!l&&(t!=null?zn(e,!!l,t,!0):zn(e,!!l,l?[]:"",!1));return;case"textarea":N=z=null;for(r in l)if(a=l[r],l.hasOwnProperty(r)&&a!=null&&!n.hasOwnProperty(r))switch(r){case"value":break;case"children":break;default:Ce(e,t,r,null,n,a)}for(c in n)if(a=n[c],i=l[c],n.hasOwnProperty(c)&&(a!=null||i!=null))switch(c){case"value":z=a;break;case"defaultValue":N=a;break;case"children":break;case"dangerouslySetInnerHTML":if(a!=null)throw Error(o(91));break;default:a!==i&&Ce(e,t,c,a,n,i)}Bf(e,z,N);return;case"option":for(var k in l)if(z=l[k],l.hasOwnProperty(k)&&z!=null&&!n.hasOwnProperty(k))switch(k){case"selected":e.selected=!1;break;default:Ce(e,t,k,null,n,z)}for(m in n)if(z=n[m],N=l[m],n.hasOwnProperty(m)&&z!==N&&(z!=null||N!=null))switch(m){case"selected":e.selected=z&&typeof z!="function"&&typeof z!="symbol";break;default:Ce(e,t,m,z,n,N)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var P in l)z=l[P],l.hasOwnProperty(P)&&z!=null&&!n.hasOwnProperty(P)&&Ce(e,t,P,null,n,z);for(j in n)if(z=n[j],N=l[j],n.hasOwnProperty(j)&&z!==N&&(z!=null||N!=null))switch(j){case"children":case"dangerouslySetInnerHTML":if(z!=null)throw Error(o(137,t));break;default:Ce(e,t,j,z,n,N)}return;default:if(Fu(t)){for(var Oe in l)z=l[Oe],l.hasOwnProperty(Oe)&&z!==void 0&&!n.hasOwnProperty(Oe)&&Ls(e,t,Oe,void 0,n,z);for(A in n)z=n[A],N=l[A],!n.hasOwnProperty(A)||z===N||z===void 0&&N===void 0||Ls(e,t,A,z,n,N);return}}for(var g in l)z=l[g],l.hasOwnProperty(g)&&z!=null&&!n.hasOwnProperty(g)&&Ce(e,t,g,null,n,z);for(O in n)z=n[O],N=l[O],!n.hasOwnProperty(O)||z===N||z==null&&N==null||Ce(e,t,O,z,n,N)}function X1(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function mm(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,l=performance.getEntriesByType("resource"),n=0;n<l.length;n++){var a=l[n],i=a.transferSize,c=a.initiatorType,r=a.duration;if(i&&r&&X1(c)){for(c=0,r=a.responseEnd,n+=1;n<l.length;n++){var m=l[n],j=m.startTime;if(j>r)break;var A=m.transferSize,O=m.initiatorType;A&&X1(O)&&(m=m.responseEnd,c+=A*(m<r?1:(r-j)/(m-j)))}if(--n,t+=8*(i+c)/(a.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var Hs=null,Bs=null;function mu(e){return e.nodeType===9?e:e.ownerDocument}function Q1(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function k1(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function qs(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Gs=null;function hm(){var e=window.event;return e&&e.type==="popstate"?e===Gs?!1:(Gs=e,!0):(Gs=null,!1)}var Z1=typeof setTimeout=="function"?setTimeout:void 0,ym=typeof clearTimeout=="function"?clearTimeout:void 0,K1=typeof Promise=="function"?Promise:void 0,vm=typeof queueMicrotask=="function"?queueMicrotask:typeof K1<"u"?function(e){return K1.resolve(null).then(e).catch(pm)}:Z1;function pm(e){setTimeout(function(){throw e})}function ql(e){return e==="head"}function J1(e,t){var l=t,n=0;do{var a=l.nextSibling;if(e.removeChild(l),a&&a.nodeType===8)if(l=a.data,l==="/$"||l==="/&"){if(n===0){e.removeChild(a),la(t);return}n--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")n++;else if(l==="html")Ja(e.ownerDocument.documentElement);else if(l==="head"){l=e.ownerDocument.head,Ja(l);for(var i=l.firstChild;i;){var c=i.nextSibling,r=i.nodeName;i[da]||r==="SCRIPT"||r==="STYLE"||r==="LINK"&&i.rel.toLowerCase()==="stylesheet"||l.removeChild(i),i=c}}else l==="body"&&Ja(e.ownerDocument.body);l=a}while(l);la(t)}function $1(e,t){var l=e;e=0;do{var n=l.nextSibling;if(l.nodeType===1?t?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(t?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),n&&n.nodeType===8)if(l=n.data,l==="/$"){if(e===0)break;e--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||e++;l=n}while(l)}function Ys(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var l=t;switch(t=t.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":Ys(l),Zu(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}e.removeChild(l)}}function gm(e,t,l,n){for(;e.nodeType===1;){var a=l;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!n&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(n){if(!e[da])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(i=e.getAttribute("rel"),i==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(i!==a.rel||e.getAttribute("href")!==(a.href==null||a.href===""?null:a.href)||e.getAttribute("crossorigin")!==(a.crossOrigin==null?null:a.crossOrigin)||e.getAttribute("title")!==(a.title==null?null:a.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(i=e.getAttribute("src"),(i!==(a.src==null?null:a.src)||e.getAttribute("type")!==(a.type==null?null:a.type)||e.getAttribute("crossorigin")!==(a.crossOrigin==null?null:a.crossOrigin))&&i&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var i=a.name==null?null:""+a.name;if(a.type==="hidden"&&e.getAttribute("name")===i)return e}else return e;if(e=Xt(e.nextSibling),e===null)break}return null}function bm(e,t,l){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!l||(e=Xt(e.nextSibling),e===null))return null;return e}function F1(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Xt(e.nextSibling),e===null))return null;return e}function Vs(e){return e.data==="$?"||e.data==="$~"}function Xs(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function Sm(e,t){var l=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||l.readyState!=="loading")t();else{var n=function(){t(),l.removeEventListener("DOMContentLoaded",n)};l.addEventListener("DOMContentLoaded",n),e._reactRetry=n}}function Xt(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==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var Qs=null;function W1(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l==="/$"||l==="/&"){if(t===0)return Xt(e.nextSibling);t--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||t++}e=e.nextSibling}return null}function I1(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"){if(t===0)return e;t--}else l!=="/$"&&l!=="/&"||t++}e=e.previousSibling}return null}function P1(e,t,l){switch(t=mu(l),e){case"html":if(e=t.documentElement,!e)throw Error(o(452));return e;case"head":if(e=t.head,!e)throw Error(o(453));return e;case"body":if(e=t.body,!e)throw Error(o(454));return e;default:throw Error(o(451))}}function Ja(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Zu(e)}var Qt=new Map,e0=new Set;function hu(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var bl=B.d;B.d={f:xm,r:jm,D:Em,C:zm,L:Nm,m:Tm,X:Mm,S:Am,M:_m};function xm(){var e=bl.f(),t=iu();return e||t}function jm(e){var t=xn(e);t!==null&&t.tag===5&&t.type==="form"?pr(t):bl.r(e)}var Pn=typeof document>"u"?null:document;function t0(e,t,l){var n=Pn;if(n&&typeof t=="string"&&t){var a=Lt(t);a='link[rel="'+e+'"][href="'+a+'"]',typeof l=="string"&&(a+='[crossorigin="'+l+'"]'),e0.has(a)||(e0.add(a),e={rel:e,crossOrigin:l,href:t},n.querySelector(a)===null&&(t=n.createElement("link"),ft(t,"link",e),et(t),n.head.appendChild(t)))}}function Em(e){bl.D(e),t0("dns-prefetch",e,null)}function zm(e,t){bl.C(e,t),t0("preconnect",e,t)}function Nm(e,t,l){bl.L(e,t,l);var n=Pn;if(n&&e&&t){var a='link[rel="preload"][as="'+Lt(t)+'"]';t==="image"&&l&&l.imageSrcSet?(a+='[imagesrcset="'+Lt(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(a+='[imagesizes="'+Lt(l.imageSizes)+'"]')):a+='[href="'+Lt(e)+'"]';var i=a;switch(t){case"style":i=ea(e);break;case"script":i=ta(e)}Qt.has(i)||(e=R({rel:"preload",href:t==="image"&&l&&l.imageSrcSet?void 0:e,as:t},l),Qt.set(i,e),n.querySelector(a)!==null||t==="style"&&n.querySelector($a(i))||t==="script"&&n.querySelector(Fa(i))||(t=n.createElement("link"),ft(t,"link",e),et(t),n.head.appendChild(t)))}}function Tm(e,t){bl.m(e,t);var l=Pn;if(l&&e){var n=t&&typeof t.as=="string"?t.as:"script",a='link[rel="modulepreload"][as="'+Lt(n)+'"][href="'+Lt(e)+'"]',i=a;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=ta(e)}if(!Qt.has(i)&&(e=R({rel:"modulepreload",href:e},t),Qt.set(i,e),l.querySelector(a)===null)){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(Fa(i)))return}n=l.createElement("link"),ft(n,"link",e),et(n),l.head.appendChild(n)}}}function Am(e,t,l){bl.S(e,t,l);var n=Pn;if(n&&e){var a=jn(n).hoistableStyles,i=ea(e);t=t||"default";var c=a.get(i);if(!c){var r={loading:0,preload:null};if(c=n.querySelector($a(i)))r.loading=5;else{e=R({rel:"stylesheet",href:e,"data-precedence":t},l),(l=Qt.get(i))&&ks(e,l);var m=c=n.createElement("link");et(m),ft(m,"link",e),m._p=new Promise(function(j,A){m.onload=j,m.onerror=A}),m.addEventListener("load",function(){r.loading|=1}),m.addEventListener("error",function(){r.loading|=2}),r.loading|=4,yu(c,t,n)}c={type:"stylesheet",instance:c,count:1,state:r},a.set(i,c)}}}function Mm(e,t){bl.X(e,t);var l=Pn;if(l&&e){var n=jn(l).hoistableScripts,a=ta(e),i=n.get(a);i||(i=l.querySelector(Fa(a)),i||(e=R({src:e,async:!0},t),(t=Qt.get(a))&&Zs(e,t),i=l.createElement("script"),et(i),ft(i,"link",e),l.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},n.set(a,i))}}function _m(e,t){bl.M(e,t);var l=Pn;if(l&&e){var n=jn(l).hoistableScripts,a=ta(e),i=n.get(a);i||(i=l.querySelector(Fa(a)),i||(e=R({src:e,async:!0,type:"module"},t),(t=Qt.get(a))&&Zs(e,t),i=l.createElement("script"),et(i),ft(i,"link",e),l.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},n.set(a,i))}}function l0(e,t,l,n){var a=(a=X.current)?hu(a):null;if(!a)throw Error(o(446));switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(t=ea(l.href),l=jn(a).hoistableStyles,n=l.get(t),n||(n={type:"style",instance:null,count:0,state:null},l.set(t,n)),n):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){e=ea(l.href);var i=jn(a).hoistableStyles,c=i.get(e);if(c||(a=a.ownerDocument||a,c={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},i.set(e,c),(i=a.querySelector($a(e)))&&!i._p&&(c.instance=i,c.state.loading=5),Qt.has(e)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},Qt.set(e,l),i||Cm(a,e,l,c.state))),t&&n===null)throw Error(o(528,""));return c}if(t&&n!==null)throw Error(o(529,""));return null;case"script":return t=l.async,l=l.src,typeof l=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=ta(l),l=jn(a).hoistableScripts,n=l.get(t),n||(n={type:"script",instance:null,count:0,state:null},l.set(t,n)),n):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,e))}}function ea(e){return'href="'+Lt(e)+'"'}function $a(e){return'link[rel="stylesheet"]['+e+"]"}function n0(e){return R({},e,{"data-precedence":e.precedence,precedence:null})}function Cm(e,t,l,n){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?n.loading=1:(t=e.createElement("link"),n.preload=t,t.addEventListener("load",function(){return n.loading|=1}),t.addEventListener("error",function(){return n.loading|=2}),ft(t,"link",l),et(t),e.head.appendChild(t))}function ta(e){return'[src="'+Lt(e)+'"]'}function Fa(e){return"script[async]"+e}function a0(e,t,l){if(t.count++,t.instance===null)switch(t.type){case"style":var n=e.querySelector('style[data-href~="'+Lt(l.href)+'"]');if(n)return t.instance=n,et(n),n;var a=R({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return n=(e.ownerDocument||e).createElement("style"),et(n),ft(n,"style",a),yu(n,l.precedence,e),t.instance=n;case"stylesheet":a=ea(l.href);var i=e.querySelector($a(a));if(i)return t.state.loading|=4,t.instance=i,et(i),i;n=n0(l),(a=Qt.get(a))&&ks(n,a),i=(e.ownerDocument||e).createElement("link"),et(i);var c=i;return c._p=new Promise(function(r,m){c.onload=r,c.onerror=m}),ft(i,"link",n),t.state.loading|=4,yu(i,l.precedence,e),t.instance=i;case"script":return i=ta(l.src),(a=e.querySelector(Fa(i)))?(t.instance=a,et(a),a):(n=l,(a=Qt.get(i))&&(n=R({},l),Zs(n,a)),e=e.ownerDocument||e,a=e.createElement("script"),et(a),ft(a,"link",n),e.head.appendChild(a),t.instance=a);case"void":return null;default:throw Error(o(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(n=t.instance,t.state.loading|=4,yu(n,l.precedence,e));return t.instance}function yu(e,t,l){for(var n=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),a=n.length?n[n.length-1]:null,i=a,c=0;c<n.length;c++){var r=n[c];if(r.dataset.precedence===t)i=r;else if(i!==a)break}i?i.parentNode.insertBefore(e,i.nextSibling):(t=l.nodeType===9?l.head:l,t.insertBefore(e,t.firstChild))}function ks(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Zs(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var vu=null;function i0(e,t,l){if(vu===null){var n=new Map,a=vu=new Map;a.set(l,n)}else a=vu,n=a.get(l),n||(n=new Map,a.set(l,n));if(n.has(e))return n;for(n.set(e,null),l=l.getElementsByTagName(e),a=0;a<l.length;a++){var i=l[a];if(!(i[da]||i[it]||e==="link"&&i.getAttribute("rel")==="stylesheet")&&i.namespaceURI!=="http://www.w3.org/2000/svg"){var c=i.getAttribute(t)||"";c=e+c;var r=n.get(c);r?r.push(i):n.set(c,[i])}}return n}function u0(e,t,l){e=e.ownerDocument||e,e.head.insertBefore(l,t==="title"?e.querySelector("head > title"):null)}function Om(e,t,l){if(l===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function c0(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function wm(e,t,l,n){if(l.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var a=ea(n.href),i=t.querySelector($a(a));if(i){t=i._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=pu.bind(e),t.then(e,e)),l.state.loading|=4,l.instance=i,et(i);return}i=t.ownerDocument||t,n=n0(n),(a=Qt.get(a))&&ks(n,a),i=i.createElement("link"),et(i);var c=i;c._p=new Promise(function(r,m){c.onload=r,c.onerror=m}),ft(i,"link",n),l.instance=i}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(l,t),(t=l.state.preload)&&(l.state.loading&3)===0&&(e.count++,l=pu.bind(e),t.addEventListener("load",l),t.addEventListener("error",l))}}var Ks=0;function Dm(e,t){return e.stylesheets&&e.count===0&&bu(e,e.stylesheets),0<e.count||0<e.imgCount?function(l){var n=setTimeout(function(){if(e.stylesheets&&bu(e,e.stylesheets),e.unsuspend){var i=e.unsuspend;e.unsuspend=null,i()}},6e4+t);0<e.imgBytes&&Ks===0&&(Ks=62500*mm());var a=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&bu(e,e.stylesheets),e.unsuspend)){var i=e.unsuspend;e.unsuspend=null,i()}},(e.imgBytes>Ks?50:800)+t);return e.unsuspend=l,function(){e.unsuspend=null,clearTimeout(n),clearTimeout(a)}}:null}function pu(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)bu(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var gu=null;function bu(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,gu=new Map,t.forEach(Rm,e),gu=null,pu.call(e))}function Rm(e,t){if(!(t.state.loading&4)){var l=gu.get(e);if(l)var n=l.get(null);else{l=new Map,gu.set(e,l);for(var a=e.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<a.length;i++){var c=a[i];(c.nodeName==="LINK"||c.getAttribute("media")!=="not all")&&(l.set(c.dataset.precedence,c),n=c)}n&&l.set(null,n)}a=t.instance,c=a.getAttribute("data-precedence"),i=l.get(c)||n,i===n&&l.set(null,a),l.set(c,a),this.count++,n=pu.bind(this),a.addEventListener("load",n),a.addEventListener("error",n),i?i.parentNode.insertBefore(a,i.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(a,e.firstChild)),t.state.loading|=4}}var Wa={$$typeof:de,Provider:null,Consumer:null,_currentValue:F,_currentValue2:F,_threadCount:0};function Um(e,t,l,n,a,i,c,r,m){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=oa(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=oa(0),this.hiddenUpdates=oa(null),this.identifierPrefix=n,this.onUncaughtError=a,this.onCaughtError=i,this.onRecoverableError=c,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=m,this.incompleteTransitions=new Map}function s0(e,t,l,n,a,i,c,r,m,j,A,O){return e=new Um(e,t,l,c,m,j,A,O,r),t=1,i===!0&&(t|=24),i=_t(3,null,null,t),e.current=i,i.stateNode=e,t=Tc(),t.refCount++,e.pooledCache=t,t.refCount++,i.memoizedState={element:n,isDehydrated:l,cache:t},Cc(i),e}function f0(e){return e?(e=wn,e):wn}function o0(e,t,l,n,a,i){a=f0(a),n.context===null?n.context=a:n.pendingContext=a,n=Ml(t),n.payload={element:l},i=i===void 0?null:i,i!==null&&(n.callback=i),l=_l(e,n,t),l!==null&&(jt(l,e,t),_a(l,e,t))}function r0(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var l=e.retryLane;e.retryLane=l!==0&&l<t?l:t}}function Js(e,t){r0(e,t),(e=e.alternate)&&r0(e,t)}function d0(e){if(e.tag===13||e.tag===31){var t=en(e,67108864);t!==null&&jt(t,e,67108864),Js(e,67108864)}}function m0(e){if(e.tag===13||e.tag===31){var t=Rt();t=Xu(t);var l=en(e,t);l!==null&&jt(l,e,t),Js(e,t)}}var Su=!0;function Lm(e,t,l,n){var a=E.T;E.T=null;var i=B.p;try{B.p=2,$s(e,t,l,n)}finally{B.p=i,E.T=a}}function Hm(e,t,l,n){var a=E.T;E.T=null;var i=B.p;try{B.p=8,$s(e,t,l,n)}finally{B.p=i,E.T=a}}function $s(e,t,l,n){if(Su){var a=Fs(n);if(a===null)Us(e,t,n,xu,l),y0(e,n);else if(qm(a,e,t,l,n))n.stopPropagation();else if(y0(e,n),t&4&&-1<Bm.indexOf(e)){for(;a!==null;){var i=xn(a);if(i!==null)switch(i.tag){case 3:if(i=i.stateNode,i.current.memoizedState.isDehydrated){var c=ce(i.pendingLanes);if(c!==0){var r=i;for(r.pendingLanes|=2,r.entangledLanes|=2;c;){var m=1<<31-mt(c);r.entanglements[1]|=m,c&=~m}Pt(i),(ze&6)===0&&(nu=at()+500,ka(0))}}break;case 31:case 13:r=en(i,2),r!==null&&jt(r,i,2),iu(),Js(i,2)}if(i=Fs(n),i===null&&Us(e,t,n,xu,l),i===a)break;a=i}a!==null&&n.stopPropagation()}else Us(e,t,n,null,l)}}function Fs(e){return e=Iu(e),Ws(e)}var xu=null;function Ws(e){if(xu=null,e=Sn(e),e!==null){var t=b(e);if(t===null)e=null;else{var l=t.tag;if(l===13){if(e=M(t),e!==null)return e;e=null}else if(l===31){if(e=w(t),e!==null)return e;e=null}else if(l===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return xu=e,null}function h0(e){switch(e){case"beforetoggle":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"toggle":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 2;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Hu()){case fa:return 2;case ri:return 8;case Jl:case Bu:return 32;case di:return 268435456;default:return 32}default:return 32}}var Is=!1,Gl=null,Yl=null,Vl=null,Ia=new Map,Pa=new Map,Xl=[],Bm="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".split(" ");function y0(e,t){switch(e){case"focusin":case"focusout":Gl=null;break;case"dragenter":case"dragleave":Yl=null;break;case"mouseover":case"mouseout":Vl=null;break;case"pointerover":case"pointerout":Ia.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Pa.delete(t.pointerId)}}function ei(e,t,l,n,a,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:l,eventSystemFlags:n,nativeEvent:i,targetContainers:[a]},t!==null&&(t=xn(t),t!==null&&d0(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,a!==null&&t.indexOf(a)===-1&&t.push(a),e)}function qm(e,t,l,n,a){switch(t){case"focusin":return Gl=ei(Gl,e,t,l,n,a),!0;case"dragenter":return Yl=ei(Yl,e,t,l,n,a),!0;case"mouseover":return Vl=ei(Vl,e,t,l,n,a),!0;case"pointerover":var i=a.pointerId;return Ia.set(i,ei(Ia.get(i)||null,e,t,l,n,a)),!0;case"gotpointercapture":return i=a.pointerId,Pa.set(i,ei(Pa.get(i)||null,e,t,l,n,a)),!0}return!1}function v0(e){var t=Sn(e.target);if(t!==null){var l=b(t);if(l!==null){if(t=l.tag,t===13){if(t=M(l),t!==null){e.blockedOn=t,_f(e.priority,function(){m0(l)});return}}else if(t===31){if(t=w(l),t!==null){e.blockedOn=t,_f(e.priority,function(){m0(l)});return}}else if(t===3&&l.stateNode.current.memoizedState.isDehydrated){e.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}e.blockedOn=null}function ju(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var l=Fs(e.nativeEvent);if(l===null){l=e.nativeEvent;var n=new l.constructor(l.type,l);Wu=n,l.target.dispatchEvent(n),Wu=null}else return t=xn(l),t!==null&&d0(t),e.blockedOn=l,!1;t.shift()}return!0}function p0(e,t,l){ju(e)&&l.delete(t)}function Gm(){Is=!1,Gl!==null&&ju(Gl)&&(Gl=null),Yl!==null&&ju(Yl)&&(Yl=null),Vl!==null&&ju(Vl)&&(Vl=null),Ia.forEach(p0),Pa.forEach(p0)}function Eu(e,t){e.blockedOn===t&&(e.blockedOn=null,Is||(Is=!0,u.unstable_scheduleCallback(u.unstable_NormalPriority,Gm)))}var zu=null;function g0(e){zu!==e&&(zu=e,u.unstable_scheduleCallback(u.unstable_NormalPriority,function(){zu===e&&(zu=null);for(var t=0;t<e.length;t+=3){var l=e[t],n=e[t+1],a=e[t+2];if(typeof n!="function"){if(Ws(n||l)===null)continue;break}var i=xn(l);i!==null&&(e.splice(t,3),t-=3,Fc(i,{pending:!0,data:a,method:l.method,action:n},n,a))}}))}function la(e){function t(m){return Eu(m,e)}Gl!==null&&Eu(Gl,e),Yl!==null&&Eu(Yl,e),Vl!==null&&Eu(Vl,e),Ia.forEach(t),Pa.forEach(t);for(var l=0;l<Xl.length;l++){var n=Xl[l];n.blockedOn===e&&(n.blockedOn=null)}for(;0<Xl.length&&(l=Xl[0],l.blockedOn===null);)v0(l),l.blockedOn===null&&Xl.shift();if(l=(e.ownerDocument||e).$$reactFormReplay,l!=null)for(n=0;n<l.length;n+=3){var a=l[n],i=l[n+1],c=a[vt]||null;if(typeof i=="function")c||g0(l);else if(c){var r=null;if(i&&i.hasAttribute("formAction")){if(a=i,c=i[vt]||null)r=c.formAction;else if(Ws(a)!==null)continue}else r=c.action;typeof r=="function"?l[n+1]=r:(l.splice(n,3),n-=3),g0(l)}}}function b0(){function e(i){i.canIntercept&&i.info==="react-transition"&&i.intercept({handler:function(){return new Promise(function(c){return a=c})},focusReset:"manual",scroll:"manual"})}function t(){a!==null&&(a(),a=null),n||setTimeout(l,20)}function l(){if(!n&&!navigation.transition){var i=navigation.currentEntry;i&&i.url!=null&&navigation.navigate(i.url,{state:i.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var n=!1,a=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(l,100),function(){n=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),a!==null&&(a(),a=null)}}}function Ps(e){this._internalRoot=e}Nu.prototype.render=Ps.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(o(409));var l=t.current,n=Rt();o0(l,n,e,t,null,null)},Nu.prototype.unmount=Ps.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;o0(e.current,2,null,e,null,null),iu(),t[bn]=null}};function Nu(e){this._internalRoot=e}Nu.prototype.unstable_scheduleHydration=function(e){if(e){var t=Mf();e={blockedOn:null,target:e,priority:t};for(var l=0;l<Xl.length&&t!==0&&t<Xl[l].priority;l++);Xl.splice(l,0,e),l===0&&v0(e)}};var S0=f.version;if(S0!=="19.2.6")throw Error(o(527,S0,"19.2.6"));B.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(o(188)):(e=Object.keys(e).join(","),Error(o(268,e)));return e=v(t),e=e!==null?D(e):null,e=e===null?null:e.stateNode,e};var Ym={bundleType:0,version:"19.2.6",rendererPackageName:"react-dom",currentDispatcherRef:E,reconcilerVersion:"19.2.6"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Tu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Tu.isDisabled&&Tu.supportsFiber)try{$l=Tu.inject(Ym),dt=Tu}catch{}}return li.createRoot=function(e,t){if(!h(e))throw Error(o(299));var l=!1,n="",a=Ar,i=Mr,c=_r;return t!=null&&(t.unstable_strictMode===!0&&(l=!0),t.identifierPrefix!==void 0&&(n=t.identifierPrefix),t.onUncaughtError!==void 0&&(a=t.onUncaughtError),t.onCaughtError!==void 0&&(i=t.onCaughtError),t.onRecoverableError!==void 0&&(c=t.onRecoverableError)),t=s0(e,1,!1,null,null,l,n,null,a,i,c,b0),e[bn]=t.current,Rs(e),new Ps(t)},li.hydrateRoot=function(e,t,l){if(!h(e))throw Error(o(299));var n=!1,a="",i=Ar,c=Mr,r=_r,m=null;return l!=null&&(l.unstable_strictMode===!0&&(n=!0),l.identifierPrefix!==void 0&&(a=l.identifierPrefix),l.onUncaughtError!==void 0&&(i=l.onUncaughtError),l.onCaughtError!==void 0&&(c=l.onCaughtError),l.onRecoverableError!==void 0&&(r=l.onRecoverableError),l.formState!==void 0&&(m=l.formState)),t=s0(e,1,!0,t,l??null,n,a,m,i,c,r,b0),t.context=f0(null),l=t.current,n=Rt(),n=Xu(n),a=Ml(n),a.callback=null,_l(l,a,n),l=n,t.current.lanes=l,ra(t,l),Pt(t),e[bn]=t.current,Rs(e),new Nu(t)},li.version="19.2.6",li}var C0;function Wm(){if(C0)return lf.exports;C0=1;function u(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(u)}catch(f){console.error(f)}}return u(),lf.exports=Fm(),lf.exports}var Im=Wm();/**
|
|
50
|
-
* @license lucide-react v1.16.0 - ISC
|
|
51
|
-
*
|
|
52
|
-
* This source code is licensed under the ISC license.
|
|
53
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
54
|
-
*/const $0=(...u)=>u.filter((f,d,o)=>!!f&&f.trim()!==""&&o.indexOf(f)===d).join(" ").trim();/**
|
|
55
|
-
* @license lucide-react v1.16.0 - ISC
|
|
56
|
-
*
|
|
57
|
-
* This source code is licensed under the ISC license.
|
|
58
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
59
|
-
*/const Pm=u=>u.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
|
|
60
|
-
* @license lucide-react v1.16.0 - ISC
|
|
61
|
-
*
|
|
62
|
-
* This source code is licensed under the ISC license.
|
|
63
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
64
|
-
*/const eh=u=>u.replace(/^([A-Z])|[\s-_]+(\w)/g,(f,d,o)=>o?o.toUpperCase():d.toLowerCase());/**
|
|
65
|
-
* @license lucide-react v1.16.0 - ISC
|
|
66
|
-
*
|
|
67
|
-
* This source code is licensed under the ISC license.
|
|
68
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
69
|
-
*/const O0=u=>{const f=eh(u);return f.charAt(0).toUpperCase()+f.slice(1)};/**
|
|
70
|
-
* @license lucide-react v1.16.0 - ISC
|
|
71
|
-
*
|
|
72
|
-
* This source code is licensed under the ISC license.
|
|
73
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
74
|
-
*/var cf={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"};/**
|
|
75
|
-
* @license lucide-react v1.16.0 - ISC
|
|
76
|
-
*
|
|
77
|
-
* This source code is licensed under the ISC license.
|
|
78
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
79
|
-
*/const th=u=>{for(const f in u)if(f.startsWith("aria-")||f==="role"||f==="title")return!0;return!1},lh=L.createContext({}),nh=()=>L.useContext(lh),ah=L.forwardRef(({color:u,size:f,strokeWidth:d,absoluteStrokeWidth:o,className:h="",children:b,iconNode:M,...w},T)=>{const{size:v=24,strokeWidth:D=2,absoluteStrokeWidth:R=!1,color:q="currentColor",className:$=""}=nh()??{},I=o??R?Number(d??D)*24/Number(f??v):d??D;return L.createElement("svg",{ref:T,...cf,width:f??v??cf.width,height:f??v??cf.height,stroke:u??q,strokeWidth:I,className:$0("lucide",$,h),...!b&&!th(w)&&{"aria-hidden":"true"},...w},[...M.map(([se,be])=>L.createElement(se,be)),...Array.isArray(b)?b:[b]])});/**
|
|
80
|
-
* @license lucide-react v1.16.0 - ISC
|
|
81
|
-
*
|
|
82
|
-
* This source code is licensed under the ISC license.
|
|
83
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
84
|
-
*/const ge=(u,f)=>{const d=L.forwardRef(({className:o,...h},b)=>L.createElement(ah,{ref:b,iconNode:f,className:$0(`lucide-${Pm(O0(u))}`,`lucide-${u}`,o),...h}));return d.displayName=O0(u),d};/**
|
|
85
|
-
* @license lucide-react v1.16.0 - ISC
|
|
86
|
-
*
|
|
87
|
-
* This source code is licensed under the ISC license.
|
|
88
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
89
|
-
*/const ih=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],F0=ge("arrow-right",ih);/**
|
|
90
|
-
* @license lucide-react v1.16.0 - ISC
|
|
91
|
-
*
|
|
92
|
-
* This source code is licensed under the ISC license.
|
|
93
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
94
|
-
*/const uh=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],yn=ge("check",uh);/**
|
|
95
|
-
* @license lucide-react v1.16.0 - ISC
|
|
96
|
-
*
|
|
97
|
-
* This source code is licensed under the ISC license.
|
|
98
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
99
|
-
*/const ch=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],ia=ge("chevron-down",ch);/**
|
|
100
|
-
* @license lucide-react v1.16.0 - ISC
|
|
101
|
-
*
|
|
102
|
-
* This source code is licensed under the ISC license.
|
|
103
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
104
|
-
*/const sh=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],W0=ge("chevron-right",sh);/**
|
|
105
|
-
* @license lucide-react v1.16.0 - ISC
|
|
106
|
-
*
|
|
107
|
-
* This source code is licensed under the ISC license.
|
|
108
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
109
|
-
*/const fh=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],oh=ge("chevron-up",fh);/**
|
|
110
|
-
* @license lucide-react v1.16.0 - ISC
|
|
111
|
-
*
|
|
112
|
-
* This source code is licensed under the ISC license.
|
|
113
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
114
|
-
*/const rh=[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]],dh=ge("chevrons-up-down",rh);/**
|
|
115
|
-
* @license lucide-react v1.16.0 - ISC
|
|
116
|
-
*
|
|
117
|
-
* This source code is licensed under the ISC license.
|
|
118
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
119
|
-
*/const mh=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],I0=ge("circle-check",mh);/**
|
|
120
|
-
* @license lucide-react v1.16.0 - ISC
|
|
121
|
-
*
|
|
122
|
-
* This source code is licensed under the ISC license.
|
|
123
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
124
|
-
*/const hh=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}]],yh=ge("clipboard",hh);/**
|
|
125
|
-
* @license lucide-react v1.16.0 - ISC
|
|
126
|
-
*
|
|
127
|
-
* This source code is licensed under the ISC license.
|
|
128
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
129
|
-
*/const vh=[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]],ph=ge("code-xml",vh);/**
|
|
130
|
-
* @license lucide-react v1.16.0 - ISC
|
|
131
|
-
*
|
|
132
|
-
* This source code is licensed under the ISC license.
|
|
133
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
134
|
-
*/const gh=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],bh=ge("ellipsis",gh);/**
|
|
135
|
-
* @license lucide-react v1.16.0 - ISC
|
|
136
|
-
*
|
|
137
|
-
* This source code is licensed under the ISC license.
|
|
138
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
139
|
-
*/const Sh=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],xh=ge("external-link",Sh);/**
|
|
140
|
-
* @license lucide-react v1.16.0 - ISC
|
|
141
|
-
*
|
|
142
|
-
* This source code is licensed under the ISC license.
|
|
143
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
144
|
-
*/const jh=[["path",{d:"M14 22h4a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v6",key:"14cnrg"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M5 14a1 1 0 0 0-1 1v2a1 1 0 0 1-1 1 1 1 0 0 1 1 1v2a1 1 0 0 0 1 1",key:"sr0ebq"}],["path",{d:"M9 22a1 1 0 0 0 1-1v-2a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-2a1 1 0 0 0-1-1",key:"w793db"}]],Eh=ge("file-braces-corner",jh);/**
|
|
145
|
-
* @license lucide-react v1.16.0 - ISC
|
|
146
|
-
*
|
|
147
|
-
* This source code is licensed under the ISC license.
|
|
148
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
149
|
-
*/const zh=[["path",{d:"M4 12.15V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-3.35",key:"1wthlu"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"m5 16-3 3 3 3",key:"331omg"}],["path",{d:"m9 22 3-3-3-3",key:"lsp7cz"}]],pf=ge("file-code-corner",zh);/**
|
|
150
|
-
* @license lucide-react v1.16.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
|
-
*/const Nh=[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]],Th=ge("folder-open",Nh);/**
|
|
155
|
-
* @license lucide-react v1.16.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 Ah=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],Mh=ge("folder",Ah);/**
|
|
160
|
-
* @license lucide-react v1.16.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 _h=[["path",{d:"M15 6a9 9 0 0 0-9 9V3",key:"1cii5b"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}]],_u=ge("git-branch",_h);/**
|
|
165
|
-
* @license lucide-react v1.16.0 - ISC
|
|
166
|
-
*
|
|
167
|
-
* This source code is licensed under the ISC license.
|
|
168
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
169
|
-
*/const Ch=[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["line",{x1:"3",x2:"9",y1:"12",y2:"12",key:"1dyftd"}],["line",{x1:"15",x2:"21",y1:"12",y2:"12",key:"oup4p8"}]],Oh=ge("git-commit-horizontal",Ch);/**
|
|
170
|
-
* @license lucide-react v1.16.0 - ISC
|
|
171
|
-
*
|
|
172
|
-
* This source code is licensed under the ISC license.
|
|
173
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
174
|
-
*/const wh=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],P0=ge("loader-circle",wh);/**
|
|
175
|
-
* @license lucide-react v1.16.0 - ISC
|
|
176
|
-
*
|
|
177
|
-
* This source code is licensed under the ISC license.
|
|
178
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
179
|
-
*/const Dh=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}],["path",{d:"M12 8v6",key:"1ib9pf"}],["path",{d:"M9 11h6",key:"1fldmi"}]],Rh=ge("message-square-plus",Dh);/**
|
|
180
|
-
* @license lucide-react v1.16.0 - ISC
|
|
181
|
-
*
|
|
182
|
-
* This source code is licensed under the ISC license.
|
|
183
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
184
|
-
*/const Uh=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]],ed=ge("message-square",Uh);/**
|
|
185
|
-
* @license lucide-react v1.16.0 - ISC
|
|
186
|
-
*
|
|
187
|
-
* This source code is licensed under the ISC license.
|
|
188
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
189
|
-
*/const Lh=[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]],Hh=ge("monitor",Lh);/**
|
|
190
|
-
* @license lucide-react v1.16.0 - ISC
|
|
191
|
-
*
|
|
192
|
-
* This source code is licensed under the ISC license.
|
|
193
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
194
|
-
*/const Bh=[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]],qh=ge("moon",Bh);/**
|
|
195
|
-
* @license lucide-react v1.16.0 - ISC
|
|
196
|
-
*
|
|
197
|
-
* This source code is licensed under the ISC license.
|
|
198
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
199
|
-
*/const Gh=[["path",{d:"m18 8 4 4-4 4",key:"1ak13k"}],["path",{d:"M2 12h20",key:"9i4pu4"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}]],Yh=ge("move-horizontal",Gh);/**
|
|
200
|
-
* @license lucide-react v1.16.0 - ISC
|
|
201
|
-
*
|
|
202
|
-
* This source code is licensed under the ISC license.
|
|
203
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
204
|
-
*/const Vh=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m16 15-3-3 3-3",key:"14y99z"}]],Xh=ge("panel-left-close",Vh);/**
|
|
205
|
-
* @license lucide-react v1.16.0 - ISC
|
|
206
|
-
*
|
|
207
|
-
* This source code is licensed under the ISC license.
|
|
208
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
209
|
-
*/const Qh=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m14 9 3 3-3 3",key:"8010ee"}]],kh=ge("panel-left-open",Qh);/**
|
|
210
|
-
* @license lucide-react v1.16.0 - ISC
|
|
211
|
-
*
|
|
212
|
-
* This source code is licensed under the ISC license.
|
|
213
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
214
|
-
*/const Zh=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],Kh=ge("play",Zh);/**
|
|
215
|
-
* @license lucide-react v1.16.0 - ISC
|
|
216
|
-
*
|
|
217
|
-
* This source code is licensed under the ISC license.
|
|
218
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
219
|
-
*/const Jh=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],$h=ge("plus",Jh);/**
|
|
220
|
-
* @license lucide-react v1.16.0 - ISC
|
|
221
|
-
*
|
|
222
|
-
* This source code is licensed under the ISC license.
|
|
223
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
224
|
-
*/const Fh=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],Wh=ge("search",Fh);/**
|
|
225
|
-
* @license lucide-react v1.16.0 - ISC
|
|
226
|
-
*
|
|
227
|
-
* This source code is licensed under the ISC license.
|
|
228
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
229
|
-
*/const Ih=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],Ph=ge("send",Ih);/**
|
|
230
|
-
* @license lucide-react v1.16.0 - ISC
|
|
231
|
-
*
|
|
232
|
-
* This source code is licensed under the ISC license.
|
|
233
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
234
|
-
*/const e3=[["path",{d:"M10 5H3",key:"1qgfaw"}],["path",{d:"M12 19H3",key:"yhmn1j"}],["path",{d:"M14 3v4",key:"1sua03"}],["path",{d:"M16 17v4",key:"1q0r14"}],["path",{d:"M21 12h-9",key:"1o4lsq"}],["path",{d:"M21 19h-5",key:"1rlt1p"}],["path",{d:"M21 5h-7",key:"1oszz2"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M8 12H3",key:"a7s4jb"}]],t3=ge("sliders-horizontal",e3);/**
|
|
235
|
-
* @license lucide-react v1.16.0 - ISC
|
|
236
|
-
*
|
|
237
|
-
* This source code is licensed under the ISC license.
|
|
238
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
239
|
-
*/const l3=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],n3=ge("sun",l3);/**
|
|
240
|
-
* @license lucide-react v1.16.0 - ISC
|
|
241
|
-
*
|
|
242
|
-
* This source code is licensed under the ISC license.
|
|
243
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
244
|
-
*/const a3=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],df=ge("terminal",a3);/**
|
|
245
|
-
* @license lucide-react v1.16.0 - ISC
|
|
246
|
-
*
|
|
247
|
-
* This source code is licensed under the ISC license.
|
|
248
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
249
|
-
*/const i3=[["path",{d:"m16 16-3 3 3 3",key:"117b85"}],["path",{d:"M3 12h14.5a1 1 0 0 1 0 7H13",key:"18xa6z"}],["path",{d:"M3 19h6",key:"1ygdsz"}],["path",{d:"M3 5h18",key:"1u36vt"}]],u3=ge("text-wrap",i3);/**
|
|
250
|
-
* @license lucide-react v1.16.0 - ISC
|
|
251
|
-
*
|
|
252
|
-
* This source code is licensed under the ISC license.
|
|
253
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
254
|
-
*/const c3=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],td=ge("trash-2",c3);/**
|
|
255
|
-
* @license lucide-react v1.16.0 - ISC
|
|
256
|
-
*
|
|
257
|
-
* This source code is licensed under the ISC license.
|
|
258
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
259
|
-
*/const s3=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],gf=ge("x",s3);function ci(u,f={}){const d=Math.min(u.startLine,u.endLine),o=Math.max(u.startLine,u.endLine);if(d===o)return`${u.side}${d}`;const h=f.repeatSideOnEnd===!1?"":u.side;return`${u.side}${d}-${h}${o}`}function f3(u,f=[]){const d=(u==null?void 0:u.comments)??[],o=new Set(f.map(b=>b.commentId)),h=d.filter(b=>o.has(b.id)).length;return{total:d.length,resolved:h,open:d.length-h}}function ld(u){var f;return f3(u.feedback,((f=u.resolution)==null?void 0:f.comments)??[])}const o3="brew install iamrajjoshi/tap/gloss",r3="npm install -g getgloss",d3="gloss open --json",sf="npx getgloss open --json",w0="npx skills add iamrajjoshi/gloss --skill gloss -g -a claude-code",m3={side:"R",startLine:45,endLine:45},h3=[{id:"seed-human-review",side:"R",startLine:45,endLine:45,body:"Apply the review feedback before resolving the thread so the agent cannot skip the human pass.",createdAt:"2026-05-23T00:00:00.000Z"}],D0=[{key:"open-review",oldLine:38,newLine:38,side:"R",tone:"neutral",code:"const review = await gloss.open({ base: 'HEAD' });"},{key:"add-reviewer",oldLine:39,newLine:39,side:"R",tone:"neutral",hiddenUntilExpanded:!0,code:"review.addReviewer('human');"},{key:"blocking-mode",oldLine:40,newLine:40,side:"R",tone:"neutral",hiddenUntilExpanded:!0,code:"review.setMode('blocking');"},{key:"wait-feedback",oldLine:41,newLine:41,side:"R",tone:"neutral",hiddenUntilExpanded:!0,code:"const feedback = await review.waitForFeedback();"},{key:"filter-comments",oldLine:42,newLine:42,side:"R",tone:"neutral",code:"const comments = feedback.comments.filter((comment) => comment.actionable);"},{key:"skip-review",oldLine:43,side:"L",tone:"remove",code:"agent.resumeWithoutReview();"},{key:"skip-status",oldLine:44,side:"L",tone:"remove",code:"agent.postStatus('review skipped');"},{key:"guard-comments",newLine:45,side:"R",tone:"add",code:"if (comments.length > 0) {"},{key:"apply-feedback",newLine:46,side:"R",tone:"add",code:" await agent.applyFeedback(comments);"},{key:"resolve-threads",newLine:47,side:"R",tone:"add",code:" await review.resolveThreads(comments);"},{key:"run-checks",newLine:48,side:"R",tone:"add",code:" await agent.runChecks(['pnpm check', 'pnpm test']);"},{key:"close-guard",newLine:49,side:"R",tone:"add",code:"}"},{key:"write-markdown",newLine:50,side:"R",tone:"add",code:"await review.writeFeedbackMarkdown();"},{key:"attach-validation",newLine:51,side:"R",tone:"add",code:"await review.attachValidation('pnpm test');"},{key:"resume-reviewed",newLine:52,side:"R",tone:"add",code:"await agent.resume({ reviewed: true });"},{key:"summary",oldLine:45,newLine:53,side:"R",tone:"neutral",code:"return review.summary();"}];function y3(u){return u.startLine===u.endLine?`Comment on line ${ci(u)}`:`Comment on range ${ci(u)}`}function v3(u,f){const d=typeof crypto<"u"&&"randomUUID"in crypto?crypto.randomUUID():`${Date.now()}-${Math.random().toString(16).slice(2)}`;return{...f,id:d,body:u,createdAt:new Date().toISOString()}}function mf({value:u,label:f}){const[d,o]=L.useState(!1);return s.jsxs("button",{className:"marketing-copy",type:"button",onClick:async()=>{await navigator.clipboard.writeText(u),o(!0),window.setTimeout(()=>o(!1),1400)},children:[d?s.jsx(yn,{size:15}):s.jsx(yh,{size:15}),s.jsx("span",{children:d?"Copied":f})]})}function Au({command:u}){return s.jsxs("div",{className:"command-line",children:[s.jsx("span",{children:"$"}),s.jsx("code",{children:u}),s.jsx(mf,{value:u,label:"Copy"})]})}function p3(){const[u,f]=L.useState(!0),[d,o]=L.useState(m3),[h,b]=L.useState(!1),[M,w]=L.useState(null),[T,v]=L.useState(""),[D,R]=L.useState(h3),[q,$]=L.useState("idle"),I=q==="submitted",se=D.find(Y=>Y.id===M),be=y3(d),Z=T.trim(),Me=`${D.length} review comment${D.length===1?"":"s"}`,de=I?[{marker:"✓",text:"review.submitted received"},{marker:"→",text:"reading ~/.gloss/reviews/01KS5/feedback.json"},{marker:"→",text:`applying ${Me}`},{marker:"→",text:"running pnpm check"}]:[{marker:"$",text:"gloss open --json"},{marker:"→",text:"captured 4 files, +128 -31"},{marker:"→",text:"waiting for review.submitted"}],G=u?D0:D0.filter(Y=>!Y.hiddenUntilExpanded),ye=L.useMemo(()=>JSON.stringify({reviewId:"01KS5...",comments:D.map(Y=>({filePath:"src/web/routes/Home.tsx",side:Y.side,startLine:Y.startLine,endLine:Y.endLine,body:Y.body}))},null,2),[D]),te=(Y,xe)=>d.side===Y&&d.startLine===xe&&d.endLine===xe,K=Y=>{o(Y),w(null),v(""),b(!0),$("idle")},Se=Y=>{o({side:Y.side,startLine:Y.startLine,endLine:Y.endLine}),w(Y.id),v(Y.body),b(!0),$("idle")},He=()=>{Z&&(R(Y=>M?Y.map(xe=>xe.id===M?{...xe,body:Z}:xe):[...Y,v3(Z,d)]),v(""),w(null),b(!1),$("idle"))},At=Y=>{R(xe=>xe.filter(Ne=>Ne.id!==Y)),M===Y&&(w(null),v(""),b(!1)),$("idle")},lt=(Y,xe)=>D.filter(Ne=>Ne.side===Y&&Math.max(Ne.startLine,Ne.endLine)===xe&&Math.min(Ne.startLine,Ne.endLine)===xe);return s.jsxs("section",{className:"hero-scene","aria-label":"Simulated Gloss code review",children:[s.jsxs("div",{className:"scene-topbar",children:[s.jsxs("div",{className:"scene-brand",children:[s.jsx("img",{className:"brand-mark",src:"/logo.svg",alt:"","aria-hidden":"true"}),s.jsx("span",{children:"Gloss review"})]}),s.jsxs("div",{className:"scene-meta",children:[s.jsx(_u,{size:14}),s.jsx("span",{children:"raj--gloss--static-site"})]})]}),s.jsxs("div",{className:"scene-shell",children:[s.jsxs("div",{className:"scene-terminal",children:[s.jsxs("div",{className:"terminal-header",children:[s.jsx(df,{size:14}),s.jsx("span",{children:"agent terminal"})]}),s.jsx("div",{className:"terminal-lines",children:de.map(Y=>s.jsxs("p",{children:[s.jsx("span",{children:Y.marker})," ",Y.text]},Y.text))})]}),s.jsxs("div",{className:"scene-review",children:[s.jsxs("button",{className:"scene-file-header",type:"button",children:[s.jsx(ia,{size:16}),s.jsx(ph,{size:15}),s.jsx("span",{children:"src/web/routes/Home.tsx"}),s.jsx("b",{className:"scene-add",children:"+74"}),s.jsx("b",{className:"scene-del",children:"-6"})]}),s.jsx("button",{className:"scene-hidden",type:"button",onClick:()=>f(Y=>!Y),children:u?"Hide unchanged context":"194 unmodified lines"}),s.jsx("div",{className:"scene-hunk",children:"@@ -38,11 +38,20 @@ export function Home()"}),G.map(Y=>{const xe=Y.side==="L"?Y.oldLine:Y.newLine;if(xe==null)return null;const Ne=te(Y.side,xe),Ve=I&&(Y.key==="skip-review"||Y.key==="skip-status"),E=I&&["apply-feedback","resolve-threads","run-checks"].includes(Y.key);return s.jsxs("div",{children:[s.jsxs("button",{className:`scene-row ${Y.tone} ${Y.hiddenUntilExpanded?"dimmed":""} ${Ne?"selected":""} ${Ve?"agent-dimmed":""} ${E?"agent-applied":""}`,type:"button","aria-pressed":Ne,onClick:()=>K({side:Y.side,startLine:xe,endLine:xe}),children:[s.jsx("span",{children:Y.oldLine??""}),s.jsx("span",{children:Y.newLine??""}),s.jsx("code",{children:Y.code||" "})]}),I&&Y.key==="apply-feedback"?s.jsxs("div",{className:"scene-applied-status",children:[s.jsx(yn,{size:13}),s.jsx("span",{children:"applied by agent"})]}):null,s.jsx(g3,{comments:lt(Y.side,xe),onOpen:Se,onRemove:At}),h&&d.side===Y.side&&d.endLine===xe?s.jsxs("div",{className:"scene-composer",children:[s.jsxs("div",{className:"scene-composer-title",children:[s.jsx("strong",{children:se?"Review comment":"New local comment"}),s.jsx("span",{children:be})]}),s.jsx("textarea",{"aria-label":be,placeholder:"Request change",value:T,onChange:B=>v(B.target.value)}),s.jsxs("div",{className:"scene-composer-actions",children:[s.jsx("button",{className:"scene-secondary-action",type:"button",onClick:()=>{v(""),w(null),b(!1)},children:"Cancel"}),s.jsx("button",{type:"button",disabled:!Z,onClick:He,children:se?"Update":"Comment"})]})]}):null]},Y.key)})]}),s.jsx("div",{className:"scene-feedback",children:I?s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:"feedback-title",children:[s.jsx(df,{size:15}),s.jsx("span",{children:"agent is updating"})]}),s.jsxs("div",{className:"agent-update-card",children:[s.jsx("code",{children:"~/.gloss/reviews/01KS5/feedback.json"}),s.jsx("ul",{children:["Read feedback","Resolved comment","Validated"].map(Y=>s.jsxs("li",{children:[s.jsx(yn,{size:13}),s.jsx("span",{children:Y})]},Y))})]})]}):s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:"feedback-title",children:[s.jsx(Eh,{size:15}),s.jsx("span",{children:"~/.gloss/reviews/01KS5/feedback.json"})]}),s.jsx("pre",{children:ye})]})})]}),s.jsxs("div",{className:"scene-submit",children:[s.jsx("span",{children:D.length===0?"No local comments yet":I?"Sent to agent":`${D.length} local comment${D.length===1?"":"s"} ready`}),s.jsxs("button",{type:"button",disabled:D.length===0,onClick:()=>$("submitted"),children:[I?s.jsx(yn,{size:14}):s.jsx(Kh,{size:14}),I?"Sent to agent":"Submit review"]})]})]})}function g3({comments:u,onOpen:f,onRemove:d}){return u.map(o=>s.jsxs("div",{className:"scene-inline-comment",children:[s.jsxs("button",{className:"scene-inline-comment-body",type:"button",onClick:()=>f(o),children:[s.jsx(ed,{size:14}),s.jsx("span",{children:o.body})]}),s.jsx("button",{className:"scene-inline-comment-remove",type:"button",title:`Remove comment on ${o.side}${o.startLine}`,onClick:()=>d(o.id),children:s.jsx(td,{size:13})})]},o.id))}function ni({step:u,title:f,body:d}){return s.jsxs("div",{className:"workflow-step",children:[s.jsx("span",{children:u}),s.jsxs("div",{children:[s.jsx("h3",{children:f}),s.jsx("p",{children:d})]})]})}function b3(){return s.jsxs("section",{className:"marketing-band demo-video-band",id:"demo",children:[s.jsxs("div",{className:"demo-video-header",children:[s.jsxs("div",{className:"section-heading",children:[s.jsx("p",{children:"Demo"}),s.jsx("h2",{children:"Watch the local review loop run for real."})]}),s.jsx("p",{className:"demo-video-caption",children:"A real pass through the loop: open a local diff, leave review comments, hand them back to the agent."})]}),s.jsx("div",{className:"demo-video-frame",children:s.jsxs("video",{"aria-label":"Gloss product walkthrough showing local diff review comments sent back to an agent",controls:!0,poster:"/gloss-demo-poster.jpg",preload:"metadata",children:[s.jsx("source",{src:"/gloss-demo.mp4",type:"video/mp4"}),s.jsx("track",{default:!0,kind:"captions",label:"English",src:"/gloss-demo-captions.vtt",srcLang:"en"}),"Your browser does not support the video tag."]})})]})}function S3(){return s.jsxs("main",{className:"marketing-page",children:[s.jsxs("section",{className:"marketing-hero",children:[s.jsxs("div",{className:"hero-copy",children:[s.jsxs("div",{className:"hero-copy-main",children:[s.jsx("div",{className:"hero-logo",children:s.jsx("img",{className:"brand-mark",src:"/logo-mark.svg",alt:"Gloss logo"})}),s.jsx("h1",{children:"Gloss"}),s.jsx("p",{className:"hero-subtitle",children:"Review agent-written diffs in your browser."}),s.jsxs("p",{className:"hero-body",children:["Gloss opens your working-tree diff in a local browser, then writes"," ",s.jsx("code",{children:"feedback.json"})," for your agent and ",s.jsx("code",{children:"feedback.md"})," for humans."]}),s.jsxs("div",{className:"hero-actions",children:[s.jsxs("a",{className:"hero-primary",href:"#install",children:["Install with Homebrew",s.jsx(F0,{size:17})]}),s.jsx("a",{className:"hero-secondary",href:"/setup/",children:"Agent setup"})]})]}),s.jsxs("aside",{className:"hero-quickstart","aria-label":"Quick start command",children:[s.jsx("span",{children:"Run without setup"}),s.jsx("code",{children:sf}),s.jsx(mf,{value:sf,label:"Copy command"})]})]}),s.jsx(p3,{})]}),s.jsx(b3,{}),s.jsxs("section",{className:"marketing-band install-band",id:"install",children:[s.jsxs("div",{className:"section-heading",children:[s.jsx("p",{children:"Install"}),s.jsx("h2",{children:"Start the review loop in one command."})]}),s.jsxs("div",{className:"install-grid",children:[s.jsx(Au,{command:o3}),s.jsx(Au,{command:r3}),s.jsx(Au,{command:d3}),s.jsx(Au,{command:sf})]}),s.jsxs("div",{className:"agent-prompt",children:[s.jsxs("div",{className:"agent-prompt-label",children:[s.jsx(df,{size:18}),s.jsx("span",{children:"Packaged skill"})]}),s.jsx("p",{children:"Install the bundled agent skill so Claude Code knows when to open Gloss and how to use the feedback."}),s.jsx("div",{className:"agent-prompt-links",children:s.jsx("a",{href:"/setup/",children:"Agent setup"})}),s.jsxs("div",{className:"agent-skill-command",children:[s.jsx("code",{children:w0}),s.jsx(mf,{value:w0,label:"Copy install"})]})]})]}),s.jsxs("section",{className:"marketing-band workflow-band",id:"workflow",children:[s.jsx("div",{className:"section-heading",children:s.jsx("p",{children:"How it works"})}),s.jsxs("div",{className:"workflow-story",children:[s.jsx(ni,{step:"01",title:"Open a review",body:"The agent runs `gloss open --json`."}),s.jsx(ni,{step:"02",title:"Wait",body:"Gloss blocks while you review the diff."}),s.jsx(ni,{step:"03",title:"Receive feedback",body:"The agent reads `feedbackPath`."}),s.jsx(ni,{step:"04",title:"Fix and validate",body:"The agent applies comments and runs checks."}),s.jsx(ni,{step:"05",title:"Resolve",body:"The agent runs `gloss resolve`."})]})]}),s.jsxs("section",{className:"marketing-band contract-band",id:"contract",children:[s.jsxs("div",{className:"section-heading",children:[s.jsx("p",{children:"Output"}),s.jsx("h2",{children:"What the agent reads."})]}),s.jsxs("div",{className:"contract-layout",children:[s.jsx("pre",{children:`~/.gloss/reviews/<reviewId>/feedback.json
|
|
260
|
-
~/.gloss/reviews/<reviewId>/feedback.md
|
|
261
|
-
~/.gloss/reviews/<reviewId>/resolved.json`}),s.jsx("div",{className:"contract-copy",children:s.jsxs("p",{children:[s.jsx("code",{children:"feedback.json"})," is the machine-readable handoff; ",s.jsx("code",{children:"feedback.md"})," ","is the human-readable copy; ",s.jsx("code",{children:"resolved.json"})," tracks comment and review resolution progress."]})})]})]}),s.jsx("footer",{className:"marketing-footer",children:s.jsxs("a",{href:"https://github.com/iamrajjoshi/gloss",target:"_blank",rel:"noreferrer",children:[s.jsx(_u,{size:16}),s.jsx("span",{children:"GitHub"})]})})]})}var x3=J0();const j3={mode:"all"};function E3(u=j3,f=[]){if(u.mode==="all")return"All commits";if(u.mode==="single"){const h=f.find(b=>b.commit.sha===u.sha);return h?`${h.commit.shortSha} ${h.commit.subject}`:`Commit ${ff(u.sha)}`}const d=f.findIndex(h=>h.commit.sha===u.fromSha),o=f.findIndex(h=>h.commit.sha===u.toSha);return d>=0&&o>=d?`${o-d+1} commits · ${f[d].commit.shortSha} to ${f[o].commit.shortSha}`:`Commit range ${ff(u.fromSha)} to ${ff(u.toSha)}`}function ff(u){return u.slice(0,7)}function R0(u){var d;const f=(d=u.meta.branch??u.diff.branch)==null?void 0:d.trim();return f||z3(u.diff)}function z3(u){switch(u.scope.mode){case"branch":return"Branch diff";case"explicit":return`Diff against ${u.scope.requestedBase??u.base.ref}`;case"working":return"Working changes"}}function N3(u){return u==="submitted"||u==="resolved"}const T3=["L","R"],A3=["pending","submitted","cancelled","resolved"],M3=["context","add","delete"],_3=["working","branch","explicit"],C3=["working-tree-clean","missing-branch-base"],O3=500,w3=["all","single","range"],D3=["partial","resolved"],R3=["review-resolved","comment-resolved","comment-reopened","turn-created"];function U3(u,f,d){const o=JSON.parse(u);return nd(o,f,d)}function nd(u,f,d){if(!f(u))throw new Error(`Invalid ${d}`);return u}function L3(u){return De(u)&&ee(u.reviewId)&&$e(u.turnId)&&aa(u.turnIndex)&&ee(u.url)&&Ye(u.files)&&aa(u.comments)&&$e(u.feedbackPath)&&$e(u.markdownPath)&&$e(u.artifactDir)}function H3(u){return De(u)&&u.ok===!0&&ee(u.path)}function B3(u){return De(u)&&ee(u.fromSha)&&ee(u.toSha)&&Du(u.stats)&&ee(u.rawDiff)&&Jt(u.files,bf)}function q3(u){return De(u)&&ee(u.filePath)&&U0(u.oldStart)&&U0(u.newStart)&&Jt(u.lines,sd)}function G3(u){return De(u)&&V3(u.meta)&&Jt(u.turns,k3)&&ad(u.diff)&&vn(u.feedback,id)&&vn(u.resolution,ud)}function Y3(u){return De(u)&&ee(u.id)&&ee(u.cwd)&&wu(u.base)&&Sl(u.branch)&&Sf(u.status)&&ee(u.createdAt)&&$e(u.submittedAt)&&$e(u.resolvedAt)&&$e(u.artifactDir)&&$e(u.activeTurnId)&&vn(u.turns,f=>Jt(f,Q3))&&$e(u.feedbackPath)&&$e(u.markdownPath)}function V3(u){return Y3(u)&&ee(u.artifactDir)}function ad(u){return De(u)&&wu(u.base)&&Sl(u.branch)&&ee(u.cwd)&&Z3(u.scope)&&Du(u.stats)&&ee(u.rawDiff)&&Jt(u.files,bf)&&vn(u.commitDiffs,f=>Jt(f,$3))&&ee(u.capturedAt)}function id(u){return De(u)&&u.version===1&&ee(u.reviewId)&&$e(u.turnId)&&aa(u.turnIndex)&&ee(u.timestamp)&&wu(u.base)&&Sl(u.branch)&&vn(u.reviewScope,F3)&&Jt(u.comments,I3)}function ud(u){return De(u)&&ee(u.reviewId)&&$e(u.turnId)&&aa(u.turnIndex)&&od(u.status)&&Sl(u.summary)&&Sl(u.resolvedAt)&&Jt(u.comments,P3)}function X3(u){if(!De(u)||!ee(u.reviewId)||!ee(u.type))return!1;switch(u.type){case"review.opened":case"review.cancelled":return!0;case"review.turn.created":return ee(u.turnId)&&Ye(u.turnIndex)&&ii(u.reused);case"review.submitted":return $e(u.turnId)&&aa(u.turnIndex)&&De(u.counts)&&Ye(u.counts.files)&&Ye(u.counts.comments);case"review.updated":return $e(u.turnId)&&aa(u.turnIndex)&&e4(u.reason)&&Sf(u.status)&&od(u.resolutionStatus)&&fd(u.counts);default:return!1}}function cd(u){return De(u)&&ee(u.id)&&Ye(u.index)&&Sf(u.status)&&ee(u.createdAt)&&$e(u.submittedAt)&&$e(u.resolvedAt)&&ee(u.artifactDir)&&ee(u.diffPath)&&$e(u.feedbackPath)&&$e(u.markdownPath)&&$e(u.resolvedPath)}function Q3(u){return!De(u)||!cd(u)?!1:ee(u.capturedAt)&&Du(u.stats)&&fd(u.comments)}function k3(u){return!De(u)||!cd(u)?!1:ad(u.diff)&&vn(u.feedback,id)&&vn(u.resolution,ud)}function Z3(u){return De(u)&&kl(u.mode,_3)&&Sl(u.requestedBase)&&wu(u.base)&&K3(u.comparison)&&(u.fallbackReason===null||kl(u.fallbackReason,C3))}function K3(u){return De(u)&&ee(u.ref)&&Sl(u.sha)}function wu(u){return De(u)&&ee(u.ref)&&ee(u.sha)}function Du(u){return De(u)&&Ye(u.files)&&Ye(u.additions)&&Ye(u.deletions)}function J3(u){return De(u)&&ee(u.sha)&&ee(u.shortSha)&&ee(u.subject)&&ee(u.authorName)&&ee(u.authorEmail)&&ee(u.authoredAt)&&ee(u.committedAt)}function $3(u){return De(u)&&J3(u.commit)&&Du(u.stats)&&ee(u.rawDiff)&&Jt(u.files,bf)}function F3(u){if(!De(u)||!kl(u.mode,w3))return!1;switch(u.mode){case"all":return!0;case"single":return ee(u.sha);case"range":return ee(u.fromSha)&&ee(u.toSha)}}function bf(u){return De(u)&&ee(u.path)&&Sl(u.oldPath)&&Ye(u.additions)&&Ye(u.deletions)&&ii(u.isBinary)&&ii(u.isDeleted)&&ii(u.isNew)&&ii(u.isRenamed)&&Sl(u.language)&&Jt(u.hunks,W3)}function W3(u){return De(u)&&Ye(u.oldStart)&&Ye(u.oldLines)&&Ye(u.newStart)&&Ye(u.newLines)&&ee(u.header)&&Jt(u.lines,sd)}function sd(u){return De(u)&&kl(u.type,M3)&&L0(u.oldLine)&&L0(u.newLine)&&ee(u.content)}function I3(u){return De(u)&&ee(u.id)&&ee(u.filePath)&&Ye(u.startLine)&&Ye(u.endLine)&&kl(u.side,T3)&&ee(u.body)&&ee(u.originalSnippet)&&ee(u.createdAt)}function P3(u){return De(u)&&ee(u.commentId)&&u.status==="resolved"&&$e(u.summary)&&ee(u.resolvedAt)}function fd(u){return De(u)&&Ye(u.total)&&Ye(u.resolved)&&Ye(u.open)}function Sf(u){return kl(u,A3)}function od(u){return kl(u,D3)}function e4(u){return kl(u,R3)}function De(u){return typeof u=="object"&&u!==null&&!Array.isArray(u)}function Jt(u,f){return Array.isArray(u)&&u.every(f)}function vn(u,f){return u===void 0||f(u)}function ee(u){return typeof u=="string"}function $e(u){return u===void 0||ee(u)}function Sl(u){return u===null||ee(u)}function Ye(u){return typeof u=="number"&&Number.isFinite(u)}function U0(u){return Ye(u)&&Number.isInteger(u)&&u>0}function aa(u){return u===void 0||Ye(u)}function L0(u){return u===null||Ye(u)}function ii(u){return typeof u=="boolean"}function kl(u,f){return typeof u=="string"&&f.includes(u)}async function fi(u,f,d){if(!u.ok)throw new Error(`${u.status}: ${await u.text()}`);const o=await u.json();return nd(o,f,d)}async function H0(u){return fi(await fetch(`/api/reviews/${u}`),G3,"review response")}async function t4(u,f,d){const o={comments:f,reviewScope:d};return fi(await fetch(`/api/reviews/${u}/submit`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(o)}),L3,"submit review response")}async function l4(u,f,d){const o={filePath:f,turnId:d};return fi(await fetch(`/api/reviews/${u}/files/open`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(o)}),H3,"open file response")}async function n4(u,f,d,o){const h={fromSha:f,toSha:d,turnId:o};return fi(await fetch(`/api/reviews/${u}/commits/range`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(h)}),B3,"commit range diff response")}async function a4({filePath:u,lineCount:f,newStart:d,oldPath:o,oldStart:h,reviewId:b,source:M,turnId:w}){const T={filePath:u,oldPath:o,turnId:w,source:M,oldStart:h,newStart:d,lineCount:f};return fi(await fetch(`/api/reviews/${b}/files/context`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(T)}),q3,"diff context response")}const i4="modulepreload",u4=function(u){return"/"+u},B0={},c4=function(f,d,o){let h=Promise.resolve();if(d&&d.length>0){let M=function(v){return Promise.all(v.map(D=>Promise.resolve(D).then(R=>({status:"fulfilled",value:R}),R=>({status:"rejected",reason:R}))))};document.getElementsByTagName("link");const w=document.querySelector("meta[property=csp-nonce]"),T=(w==null?void 0:w.nonce)||(w==null?void 0:w.getAttribute("nonce"));h=M(d.map(v=>{if(v=u4(v),v in B0)return;B0[v]=!0;const D=v.endsWith(".css"),R=D?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${v}"]${R}`))return;const q=document.createElement("link");if(q.rel=D?"stylesheet":i4,D||(q.as="script"),q.crossOrigin="",q.href=v,T&&q.setAttribute("nonce",T),document.head.appendChild(q),D)return new Promise(($,I)=>{q.addEventListener("load",$),q.addEventListener("error",()=>I(new Error(`Unable to preload CSS for ${v}`)))})}))}function b(M){const w=new Event("vite:preloadError",{cancelable:!0});if(w.payload=M,window.dispatchEvent(w),!w.defaultPrevented)throw M}return h.then(M=>{for(const w of M||[])w.status==="rejected"&&b(w.reason);return f().catch(b)})};function xf(u){return u.type==="delete"?"L":"R"}function jf(u){return xf(u)==="L"?u.oldLine:u.newLine}function si(u,f){return`${u}:${f}`}const rd="0123456789ABCDEFGHJKMNPQRSTVWXYZ",Cu=32,s4=16,dd=10,q0=0xffffffffffff;var hn;(function(u){u.Base32IncorrectEncoding="B32_ENC_INVALID",u.DecodeTimeInvalidCharacter="DEC_TIME_CHAR",u.DecodeTimeValueMalformed="DEC_TIME_MALFORMED",u.EncodeTimeNegative="ENC_TIME_NEG",u.EncodeTimeSizeExceeded="ENC_TIME_SIZE_EXCEED",u.EncodeTimeValueMalformed="ENC_TIME_MALFORMED",u.PRNGDetectFailure="PRNG_DETECT",u.ULIDInvalid="ULID_INVALID",u.Unexpected="UNEXPECTED",u.UUIDInvalid="UUID_INVALID"})(hn||(hn={}));class ui extends Error{constructor(f,d){super(`${d} (${f})`),this.name="ULIDError",this.code=f}}function f4(u){const f=Math.floor(u()*Cu)%Cu;return rd.charAt(f)}function o4(u){const f=r4(),d=f&&(f.crypto||f.msCrypto)||null;if(typeof(d==null?void 0:d.getRandomValues)=="function")return()=>{const o=new Uint8Array(1);return d.getRandomValues(o),o[0]/256};if(typeof(d==null?void 0:d.randomBytes)=="function")return()=>d.randomBytes(1).readUInt8()/256;throw new ui(hn.PRNGDetectFailure,"Failed to find a reliable PRNG")}function r4(){return h4()?self:typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:null}function d4(u,f){let d="";for(;u>0;u--)d=f4(f)+d;return d}function m4(u,f=dd){if(isNaN(u))throw new ui(hn.EncodeTimeValueMalformed,`Time must be a number: ${u}`);if(u>q0)throw new ui(hn.EncodeTimeSizeExceeded,`Cannot encode a time larger than ${q0}: ${u}`);if(u<0)throw new ui(hn.EncodeTimeNegative,`Time must be positive: ${u}`);if(Number.isInteger(u)===!1)throw new ui(hn.EncodeTimeValueMalformed,`Time must be an integer: ${u}`);let d,o="";for(let h=f;h>0;h--)d=u%Cu,o=rd.charAt(d)+o,u=(u-d)/Cu;return o}function h4(){return typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope}function y4(u,f){const d=o4(),o=Date.now();return m4(o,dd)+d4(s4,d)}const G0=u=>{let f;const d=new Set,o=(v,D)=>{const R=typeof v=="function"?v(f):v;if(!Object.is(R,f)){const q=f;f=D??(typeof R!="object"||R===null)?R:Object.assign({},f,R),d.forEach($=>$(f,q))}},h=()=>f,w={setState:o,getState:h,getInitialState:()=>T,subscribe:v=>(d.add(v),()=>d.delete(v))},T=f=u(o,h,w);return w},v4=(u=>u?G0(u):G0),p4=u=>u;function g4(u,f=p4){const d=ai.useSyncExternalStore(u.subscribe,ai.useCallback(()=>f(u.getState()),[u,f]),ai.useCallback(()=>f(u.getInitialState()),[u,f]));return ai.useDebugValue(d),d}const Y0=u=>{const f=v4(u),d=o=>g4(f,o);return Object.assign(d,f),d},b4=(u=>u?Y0(u):Y0),Et=b4((u,f)=>({comments:[],resolution:null,draft:null,setDraft:d=>u({draft:d}),hydrateComments:d=>u({comments:d,resolution:null,draft:null}),hydrateReview:(d,o=null)=>u({comments:d,resolution:o,draft:null}),addComment:d=>{const o=f().draft;!o||d.trim().length===0||u(h=>({comments:[...h.comments,{id:y4(),filePath:o.filePath,side:o.side,startLine:Math.min(o.startLine,o.endLine),endLine:Math.max(o.startLine,o.endLine),body:d.trim(),originalSnippet:o.originalSnippet,createdAt:new Date().toISOString()}],draft:null}))},removeComment:d=>u(o=>({comments:o.comments.filter(h=>h.id!==d)})),reset:()=>u({comments:[],resolution:null,draft:null})})),md="gloss:theme-preference",S4="(prefers-color-scheme: dark)",x4=new Set(["system","light","dark"]),hd=L.createContext(null);function j4(u){return!!(u&&x4.has(u))}function E4(u=vd()){if(!u)return"system";try{const f=u.getItem(md);return j4(f)?f:"system"}catch{return"system"}}function z4(u,f=vd()){if(f)try{f.setItem(md,u)}catch{}}function hf(u){return u?"dark":"light"}function N4(u,f){return u==="system"?f:u}function T4(u,f=_4()){f&&(f.dataset.theme=u)}function A4({children:u}){const[f,d]=L.useState(()=>E4()),[o,h]=L.useState(()=>M4()),b=N4(f,o);L.useEffect(()=>{const T=pd();if(!T)return;const v=D=>{h(hf(D.matches))};return h(hf(T.matches)),typeof T.addEventListener=="function"?(T.addEventListener("change",v),()=>T.removeEventListener("change",v)):(T.addListener(v),()=>T.removeListener(v))},[]),L.useEffect(()=>{T4(b)},[b]);const M=L.useCallback(T=>{z4(T),d(T)},[]),w=L.useMemo(()=>({preference:f,resolvedTheme:b,setPreference:M}),[f,b,M]);return s.jsx(hd.Provider,{value:w,children:u})}function yd(){const u=L.useContext(hd);if(!u)throw new Error("useTheme must be used within ThemeProvider");return u}function M4(u=pd()){return hf(!!(u!=null&&u.matches))}function vd(){try{return typeof window>"u"?null:window.localStorage}catch{return null}}function pd(){try{return typeof window>"u"||typeof window.matchMedia!="function"?null:window.matchMedia(S4)}catch{return null}}function _4(){return typeof document>"u"?null:document.documentElement}function C4(u){return gd(u)&&!u.shiftKey}function O4(u){return gd(u)&&u.shiftKey===!0}function gd(u){var f;return u.key==="Enter"&&u.metaKey===!0&&u.ctrlKey!==!0&&u.altKey!==!0&&u.repeat!==!0&&u.defaultPrevented!==!0&&u.isComposing!==!0&&((f=u.nativeEvent)==null?void 0:f.isComposing)!==!0}function w4({tone:u}){const f=Et(D=>D.draft),d=Et(D=>D.setDraft),o=Et(D=>D.addComment),[h,b]=L.useState(""),M=L.useRef(null);if(L.useEffect(()=>{var D;f&&((D=M.current)==null||D.focus({preventScroll:!0}))},[f]),!f)return null;const w=f.startLine===f.endLine?`Comment on line ${ci(f)}`:`Comment on range ${ci(f)}`,T=()=>{b(""),d(null)},v=()=>{o(h),b("")};return s.jsx("div",{className:`draft-comment-shell tone-${u}`,children:s.jsxs("div",{className:"draft-comment-card",children:[s.jsxs("div",{className:"draft-comment-title",children:[s.jsxs("span",{className:"draft-comment-heading",children:[s.jsx("span",{className:"draft-comment-icon","aria-hidden":"true",children:s.jsx(Rh,{size:15})}),s.jsx("span",{children:"Local comment"})]}),s.jsx("span",{className:"draft-comment-label",children:w})]}),s.jsx("textarea",{"aria-label":w,placeholder:"Request change",ref:M,value:h,onChange:D=>b(D.target.value),onKeyDown:D=>{C4(D)&&(D.preventDefault(),v())}}),s.jsxs("div",{className:"draft-comment-actions",children:[s.jsx("button",{className:"secondary-button",type:"button",onClick:T,children:"Cancel"}),s.jsx("button",{"aria-keyshortcuts":"Meta+Enter",className:"primary-button",title:"Comment (Command+Enter)",type:"button",onClick:v,children:"Comment"})]})]})})}const D4=20;function R4(u,f){const d=f.oldStart-u.oldStart,o=d+f.lineCount-1,h=d>0,b=o<u.lineCount-1;return h&&b?"all":h?"down":b||u.beforeHunkIndex===0?"up":"all"}function Ef(u){const f=[];let d=0,o=0;return u.hunks.forEach((h,b)=>{const M=h.oldStart>d+1?h.oldStart-d-1:0,w=h.newStart>o+1?h.newStart-o-1:0,T=Math.min(M,w);if(T>0){const v=d+1,D=o+1;f.push({id:`${u.path}:${v}:${D}:${T}`,beforeHunkIndex:b,filePath:u.path,oldPath:u.oldPath,oldStart:v,newStart:D,lineCount:T})}d=h.oldStart+h.oldLines-1,o=h.newStart+h.newLines-1}),f}function U4(u,f){const d=Ru(u,f),o=bd(u,d),h=zf(u,f);if(o.length===0)return h.length>0?[{type:"lines",lines:h}]:[];const b=o[0]??0,M=o.at(-1)??u.lineCount-1,w=h.filter(v=>{const D=Ou(u,v);return D!=null&&D<b}),T=h.filter(v=>{const D=Ou(u,v);return D!=null&&D>M});return[...w.length>0?[{type:"lines",lines:w}]:[],{type:"hidden",oldStart:u.oldStart+b,newStart:u.newStart+b,lineCount:M-b+1},...T.length>0?[{type:"lines",lines:T}]:[]]}function L4(u,f,d,o=D4){const h=Ru(u,f),b=bd(u,h);if(b.length===0)return null;let M,w;if(d==="all")M=b[0]??0,w=b.at(-1)??u.lineCount-1,w=Math.min(w,M+O3-1);else if(d==="down"){for(M=b[0]??0,w=M;w+1<u.lineCount&&!h.has(w+1);)w+=1;w=Math.min(w,M+o-1)}else{for(w=b.at(-1)??u.lineCount-1,M=w;M-1>=0&&!h.has(M-1);)M-=1;M=Math.max(M,w-o+1)}return{oldStart:u.oldStart+M,newStart:u.newStart+M,lineCount:w-M+1}}function H4(u,f,d){const o=Ru(u,f);for(const h of d){const b=Ou(u,h);b!=null&&o.set(b,h)}return{lines:Array.from(o.entries()).toSorted(([h],[b])=>h-b).map(([,h])=>h),loading:!1,error:null}}function zf(u,f){return Array.from(Ru(u,f).entries()).toSorted(([d],[o])=>d-o).map(([,d])=>d)}function B4(u,f){const d=new Map(Ef(u).map(o=>[o.beforeHunkIndex,o]));return u.hunks.flatMap((o,h)=>{const b=d.get(h);return[...b?zf(b,f[b.id]):[],...o.lines]})}function q4(u,f){const d=new Map(Ef(u).map(h=>[h.beforeHunkIndex,h])),o=u.hunks.map((h,b)=>{const M=d.get(b),w=M?zf(M,f[M.id]):[];return w.length>0?{...h,lines:[...w,...h.lines]}:h});return{...u,hunks:o}}function bd(u,f){const d=[];for(let o=0;o<u.lineCount;o+=1)f.has(o)||d.push(o);return d}function Ru(u,f){const d=new Map;if(!u||!f)return d;for(const o of f.lines){const h=Ou(u,o);h!=null&&d.set(h,o)}return d}function Ou(u,f){const d=f.oldLine==null?null:f.oldLine-u.oldStart;if(d!=null&&d>=0&&d<u.lineCount)return d;const o=f.newLine==null?null:f.newLine-u.newStart;return o!=null&&o>=0&&o<u.lineCount?o:null}function Sd(u){return`gloss-file-${encodeURIComponent(u)}`}const zt='<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>',Nt='</title><path d="',Tt='"/></svg>',G4={title:"CSS",slug:"css",get svg(){return zt+"CSS"+Nt+this.path+Tt},path:"M0 0v20.16A3.84 3.84 0 0 0 3.84 24h16.32A3.84 3.84 0 0 0 24 20.16V3.84A3.84 3.84 0 0 0 20.16 0Zm14.256 13.08c1.56 0 2.28 1.08 2.304 2.64h-1.608c.024-.288-.048-.6-.144-.84-.096-.192-.288-.264-.552-.264-.456 0-.696.264-.696.84-.024.576.288.888.768 1.08.72.288 1.608.744 1.92 1.296q.432.648.432 1.656c0 1.608-.912 2.592-2.496 2.592-1.656 0-2.4-1.032-2.424-2.688h1.68c0 .792.264 1.176.792 1.176.264 0 .456-.072.552-.24.192-.312.24-1.176-.048-1.512-.312-.408-.912-.6-1.32-.816q-.828-.396-1.224-.936c-.24-.36-.36-.888-.36-1.536 0-1.44.936-2.472 2.424-2.448m5.4 0c1.584 0 2.304 1.08 2.328 2.64h-1.608c0-.288-.048-.6-.168-.84-.096-.192-.264-.264-.528-.264-.48 0-.72.264-.72.84s.288.888.792 1.08c.696.288 1.608.744 1.92 1.296.264.432.408.984.408 1.656.024 1.608-.888 2.592-2.472 2.592-1.68 0-2.424-1.056-2.448-2.688h1.68c0 .744.264 1.176.792 1.176.264 0 .456-.072.552-.24.216-.312.264-1.176-.048-1.512-.288-.408-.888-.6-1.32-.816-.552-.264-.96-.576-1.2-.936s-.36-.888-.36-1.536c-.024-1.44.912-2.472 2.4-2.448m-11.031.018c.711-.006 1.419.198 1.839.63.432.432.672 1.128.648 1.992H9.336c.024-.456-.096-.792-.432-.96-.312-.144-.768-.048-.888.24-.12.264-.192.576-.168.864v3.504c0 .744.264 1.128.768 1.128a.65.65 0 0 0 .552-.264c.168-.24.192-.552.168-.84h1.776c.096 1.632-.984 2.712-2.568 2.688-1.536 0-2.496-.864-2.472-2.472v-4.032c0-.816.24-1.44.696-1.848.432-.408 1.146-.624 1.857-.63",source:"https://github.com/CSS-Next/logo.css/blob/bacc20878227204b283c68a6b935f8279e06b0cd/css.svg",hex:"663399",guidelines:"https://github.com/CSS-Next/logo.css"},Y4={title:"GNU Bash",slug:"gnubash",get svg(){return zt+"GNU Bash"+Nt+this.path+Tt},path:"M21.038,4.9l-7.577-4.498C13.009,0.134,12.505,0,12,0c-0.505,0-1.009,0.134-1.462,0.403L2.961,4.9 C2.057,5.437,1.5,6.429,1.5,7.503v8.995c0,1.073,0.557,2.066,1.462,2.603l7.577,4.497C10.991,23.866,11.495,24,12,24 c0.505,0,1.009-0.134,1.461-0.402l7.577-4.497c0.904-0.537,1.462-1.529,1.462-2.603V7.503C22.5,6.429,21.943,5.437,21.038,4.9z M15.17,18.946l0.013,0.646c0.001,0.078-0.05,0.167-0.111,0.198l-0.383,0.22c-0.061,0.031-0.111-0.007-0.112-0.085L14.57,19.29 c-0.328,0.136-0.66,0.169-0.872,0.084c-0.04-0.016-0.057-0.075-0.041-0.142l0.139-0.584c0.011-0.046,0.036-0.092,0.069-0.121 c0.012-0.011,0.024-0.02,0.036-0.026c0.022-0.011,0.043-0.014,0.062-0.006c0.229,0.077,0.521,0.041,0.802-0.101 c0.357-0.181,0.596-0.545,0.592-0.907c-0.003-0.328-0.181-0.465-0.613-0.468c-0.55,0.001-1.064-0.107-1.072-0.917 c-0.007-0.667,0.34-1.361,0.889-1.8l-0.007-0.652c-0.001-0.08,0.048-0.168,0.111-0.2l0.37-0.236 c0.061-0.031,0.111,0.007,0.112,0.087l0.006,0.653c0.273-0.109,0.511-0.138,0.726-0.088c0.047,0.012,0.067,0.076,0.048,0.151 l-0.144,0.578c-0.011,0.044-0.036,0.088-0.065,0.116c-0.012,0.012-0.025,0.021-0.038,0.028c-0.019,0.01-0.038,0.013-0.057,0.009 c-0.098-0.022-0.332-0.073-0.699,0.113c-0.385,0.195-0.52,0.53-0.517,0.778c0.003,0.297,0.155,0.387,0.681,0.396 c0.7,0.012,1.003,0.318,1.01,1.023C16.105,17.747,15.736,18.491,15.17,18.946z M19.143,17.859c0,0.06-0.008,0.116-0.058,0.145 l-1.916,1.164c-0.05,0.029-0.09,0.004-0.09-0.056v-0.494c0-0.06,0.037-0.093,0.087-0.122l1.887-1.129 c0.05-0.029,0.09-0.004,0.09,0.056V17.859z M20.459,6.797l-7.168,4.427c-0.894,0.523-1.553,1.109-1.553,2.187v8.833 c0,0.645,0.26,1.063,0.66,1.184c-0.131,0.023-0.264,0.039-0.398,0.039c-0.42,0-0.833-0.114-1.197-0.33L3.226,18.64 c-0.741-0.44-1.201-1.261-1.201-2.142V7.503c0-0.881,0.46-1.702,1.201-2.142l7.577-4.498c0.363-0.216,0.777-0.33,1.197-0.33 c0.419,0,0.833,0.114,1.197,0.33l7.577,4.498c0.624,0.371,1.046,1.013,1.164,1.732C21.686,6.557,21.12,6.411,20.459,6.797z",source:"https://github.com/odb/official-bash-logo/tree/61eff022f2dad3c7468f5deb4f06652d15f2c143",hex:"4EAA25",guidelines:"https://github.com/odb/official-bash-logo",license:{type:"MIT",url:"https://spdx.org/licenses/MIT"}},V4={title:"Go",slug:"go",get svg(){return zt+"Go"+Nt+this.path+Tt},path:"M1.811 10.231c-.047 0-.058-.023-.035-.059l.246-.315c.023-.035.081-.058.128-.058h4.172c.046 0 .058.035.035.07l-.199.303c-.023.036-.082.07-.117.07zM.047 11.306c-.047 0-.059-.023-.035-.058l.245-.316c.023-.035.082-.058.129-.058h5.328c.047 0 .07.035.058.07l-.093.28c-.012.047-.058.07-.105.07zm2.828 1.075c-.047 0-.059-.035-.035-.07l.163-.292c.023-.035.07-.07.117-.07h2.337c.047 0 .07.035.07.082l-.023.28c0 .047-.047.082-.082.082zm12.129-2.36c-.736.187-1.239.327-1.963.514-.176.046-.187.058-.34-.117-.174-.199-.303-.327-.548-.444-.737-.362-1.45-.257-2.115.175-.795.514-1.204 1.274-1.192 2.22.011.935.654 1.706 1.577 1.835.795.105 1.46-.175 1.987-.77.105-.13.198-.27.315-.434H10.47c-.245 0-.304-.152-.222-.35.152-.362.432-.97.596-1.274a.315.315 0 01.292-.187h4.253c-.023.316-.023.631-.07.947a4.983 4.983 0 01-.958 2.29c-.841 1.11-1.94 1.8-3.33 1.986-1.145.152-2.209-.07-3.143-.77-.865-.655-1.356-1.52-1.484-2.595-.152-1.274.222-2.419.993-3.424.83-1.086 1.928-1.776 3.272-2.02 1.098-.2 2.15-.07 3.096.571.62.41 1.063.97 1.356 1.648.07.105.023.164-.117.2m3.868 6.461c-1.064-.024-2.034-.328-2.852-1.029a3.665 3.665 0 01-1.262-2.255c-.21-1.32.152-2.489.947-3.529.853-1.122 1.881-1.706 3.272-1.95 1.192-.21 2.314-.095 3.33.595.923.63 1.496 1.484 1.648 2.605.198 1.578-.257 2.863-1.344 3.962-.771.783-1.718 1.273-2.805 1.495-.315.06-.63.07-.934.106zm2.78-4.72c-.011-.153-.011-.27-.034-.387-.21-1.157-1.274-1.81-2.384-1.554-1.087.245-1.788.935-2.045 2.033-.21.912.234 1.835 1.075 2.21.643.28 1.285.244 1.905-.07.923-.48 1.425-1.228 1.484-2.233z",source:"https://blog.golang.org/go-brand",hex:"00ADD8",guidelines:"https://blog.golang.org/go-brand"},X4={title:"HTML5",slug:"html5",get svg(){return zt+"HTML5"+Nt+this.path+Tt},path:"M1.5 0h21l-1.91 21.563L11.977 24l-8.564-2.438L1.5 0zm7.031 9.75l-.232-2.718 10.059.003.23-2.622L5.412 4.41l.698 8.01h9.126l-.326 3.426-2.91.804-2.955-.81-.188-2.11H6.248l.33 4.171L12 19.351l5.379-1.443.744-8.157H8.531z",source:"https://www.w3.org/html/logo/",hex:"E34F26"},Q4={title:"JavaScript",slug:"javascript",get svg(){return zt+"JavaScript"+Nt+this.path+Tt},path:"M0 0h24v24H0V0zm22.034 18.276c-.175-1.095-.888-2.015-3.003-2.873-.736-.345-1.554-.585-1.797-1.14-.091-.33-.105-.51-.046-.705.15-.646.915-.84 1.515-.66.39.12.75.42.976.9 1.034-.676 1.034-.676 1.755-1.125-.27-.42-.404-.601-.586-.78-.63-.705-1.469-1.065-2.834-1.034l-.705.089c-.676.165-1.32.525-1.71 1.005-1.14 1.291-.811 3.541.569 4.471 1.365 1.02 3.361 1.244 3.616 2.205.24 1.17-.87 1.545-1.966 1.41-.811-.18-1.26-.586-1.755-1.336l-1.83 1.051c.21.48.45.689.81 1.109 1.74 1.756 6.09 1.666 6.871-1.004.029-.09.24-.705.074-1.65l.046.067zm-8.983-7.245h-2.248c0 1.938-.009 3.864-.009 5.805 0 1.232.063 2.363-.138 2.711-.33.689-1.18.601-1.566.48-.396-.196-.597-.466-.83-.855-.063-.105-.11-.196-.127-.196l-1.825 1.125c.305.63.75 1.172 1.324 1.517.855.51 2.004.675 3.207.405.783-.226 1.458-.691 1.811-1.411.51-.93.402-2.07.397-3.346.012-2.054 0-4.109 0-6.179l.004-.056z",source:"https://github.com/voodootikigod/logo.js/blob/1544bdeed6d618a6cfe4f0650d04ab8d9cfa76d9/js.svg",hex:"F7DF1E",license:{type:"MIT",url:"https://spdx.org/licenses/MIT"}},k4={title:"JSON",slug:"json",get svg(){return zt+"JSON"+Nt+this.path+Tt},path:"M12.043 23.968c.479-.004.953-.029 1.426-.094a11.805 11.805 0 003.146-.863 12.404 12.404 0 003.793-2.542 11.977 11.977 0 002.44-3.427 11.794 11.794 0 001.02-3.476c.149-1.16.135-2.346-.045-3.499a11.96 11.96 0 00-.793-2.788 11.197 11.197 0 00-.854-1.617c-1.168-1.837-2.861-3.314-4.81-4.3a12.835 12.835 0 00-2.172-.87h-.005c.119.063.24.132.345.201.12.074.239.146.351.225a8.93 8.93 0 011.559 1.33c1.063 1.145 1.797 2.548 2.218 4.041.284.982.434 1.998.495 3.017.044.743.044 1.491-.047 2.229-.149 1.27-.554 2.51-1.228 3.596a7.475 7.475 0 01-1.903 2.084c-1.244.928-2.877 1.482-4.436 1.114a3.916 3.916 0 01-.748-.258 4.692 4.692 0 01-.779-.45 6.08 6.08 0 01-1.244-1.105 6.507 6.507 0 01-1.049-1.747 7.366 7.366 0 01-.494-2.54c-.03-1.273.225-2.553.854-3.67a6.43 6.43 0 011.663-1.918c.225-.178.464-.333.704-.479l.016-.007a5.121 5.121 0 00-1.441-.12 4.963 4.963 0 00-1.228.24c-.359.12-.704.27-1.019.45a6.146 6.146 0 00-.733.494c-.211.18-.42.36-.615.555-1.123 1.153-1.768 2.682-2.022 4.256-.15.973-.15 1.96-.091 2.95.105 1.395.391 2.787.945 4.062a8.518 8.518 0 001.348 2.173 8.14 8.14 0 003.132 2.23 7.934 7.934 0 002.113.54c.074.015.149.015.209.015zm-2.934-.398a4.102 4.102 0 01-.45-.228 8.5 8.5 0 01-2.038-1.534c-1.094-1.137-1.827-2.566-2.247-4.08a15.184 15.184 0 01-.495-3.172 12.14 12.14 0 01.046-2.082c.135-1.257.495-2.501 1.124-3.58a6.889 6.889 0 011.783-2.053 6.23 6.23 0 011.633-.9 5.363 5.363 0 013.522-.045c.029 0 .029 0 .045.03.015.015.045.015.06.03.045.016.104.045.165.074.239.12.479.271.704.42a6.294 6.294 0 012.097 2.502c.42.914.615 1.934.631 2.938.014 1.079-.18 2.157-.645 3.146a6.42 6.42 0 01-2.638 2.832c.09.03.18.045.271.075.225.044.449.074.688.074 1.468.045 2.892-.66 3.94-1.647.195-.18.375-.375.54-.585.225-.27.435-.54.614-.823.239-.375.435-.75.614-1.154a8.112 8.112 0 00.509-1.664c.196-1.004.211-2.022.149-3.026-.135-2.022-.673-4.045-1.842-5.724a9.054 9.054 0 00-.555-.719 9.868 9.868 0 00-1.063-1.034 8.477 8.477 0 00-1.363-.915 9.927 9.927 0 00-1.692-.598l-.3-.06c-.209-.03-.42-.044-.634-.06a8.453 8.453 0 00-1.015.016c-.704.045-1.412.16-2.112.337C5.799 1.227 2.863 3.566 1.3 6.67A11.834 11.834 0 00.238 9.801a11.81 11.81 0 00-.104 3.775c.12 1.02.374 2.023.778 2.977.227.57.511 1.124.825 1.648 1.094 1.783 2.683 3.236 4.51 4.24.688.39 1.408.69 2.157.944.226.074.45.15.689.21z",source:"https://commons.wikimedia.org/wiki/File:JSON_vector_logo.svg",hex:"000000"},Z4={title:"Markdown",slug:"markdown",get svg(){return zt+"Markdown"+Nt+this.path+Tt},path:"M22.27 19.385H1.73A1.73 1.73 0 010 17.655V6.345a1.73 1.73 0 011.73-1.73h20.54A1.73 1.73 0 0124 6.345v11.308a1.73 1.73 0 01-1.73 1.731zM5.769 15.923v-4.5l2.308 2.885 2.307-2.885v4.5h2.308V8.078h-2.308l-2.307 2.885-2.308-2.885H3.46v7.847zM21.232 12h-2.309V8.077h-2.307V12h-2.308l3.461 4.039z",source:"https://github.com/dcurtis/markdown-mark/tree/360a3657fef7f6ad0b303296a95ad52985caa0d3",hex:"000000",guidelines:"https://github.com/dcurtis/markdown-mark",license:{type:"CC0-1.0",url:"https://spdx.org/licenses/CC0-1.0"}},K4={title:"Python",slug:"python",get svg(){return zt+"Python"+Nt+this.path+Tt},path:"M14.25.18l.9.2.73.26.59.3.45.32.34.34.25.34.16.33.1.3.04.26.02.2-.01.13V8.5l-.05.63-.13.55-.21.46-.26.38-.3.31-.33.25-.35.19-.35.14-.33.1-.3.07-.26.04-.21.02H8.77l-.69.05-.59.14-.5.22-.41.27-.33.32-.27.35-.2.36-.15.37-.1.35-.07.32-.04.27-.02.21v3.06H3.17l-.21-.03-.28-.07-.32-.12-.35-.18-.36-.26-.36-.36-.35-.46-.32-.59-.28-.73-.21-.88-.14-1.05-.05-1.23.06-1.22.16-1.04.24-.87.32-.71.36-.57.4-.44.42-.33.42-.24.4-.16.36-.1.32-.05.24-.01h.16l.06.01h8.16v-.83H6.18l-.01-2.75-.02-.37.05-.34.11-.31.17-.28.25-.26.31-.23.38-.2.44-.18.51-.15.58-.12.64-.1.71-.06.77-.04.84-.02 1.27.05zm-6.3 1.98l-.23.33-.08.41.08.41.23.34.33.22.41.09.41-.09.33-.22.23-.34.08-.41-.08-.41-.23-.33-.33-.22-.41-.09-.41.09zm13.09 3.95l.28.06.32.12.35.18.36.27.36.35.35.47.32.59.28.73.21.88.14 1.04.05 1.23-.06 1.23-.16 1.04-.24.86-.32.71-.36.57-.4.45-.42.33-.42.24-.4.16-.36.09-.32.05-.24.02-.16-.01h-8.22v.82h5.84l.01 2.76.02.36-.05.34-.11.31-.17.29-.25.25-.31.24-.38.2-.44.17-.51.15-.58.13-.64.09-.71.07-.77.04-.84.01-1.27-.04-1.07-.14-.9-.2-.73-.25-.59-.3-.45-.33-.34-.34-.25-.34-.16-.33-.1-.3-.04-.25-.02-.2.01-.13v-5.34l.05-.64.13-.54.21-.46.26-.38.3-.32.33-.24.35-.2.35-.14.33-.1.3-.06.26-.04.21-.02.13-.01h5.84l.69-.05.59-.14.5-.21.41-.28.33-.32.27-.35.2-.36.15-.36.1-.35.07-.32.04-.28.02-.21V6.07h2.09l.14.01zm-6.47 14.25l-.23.33-.08.41.08.41.23.33.33.23.41.08.41-.08.33-.23.23-.33.08-.41-.08-.41-.23-.33-.33-.23-.41-.08-.41.08z",source:"https://www.python.org/community/logos/",hex:"3776AB",guidelines:"https://www.python.org/community/logos/"},V0={title:"React",slug:"react",get svg(){return zt+"React"+Nt+this.path+Tt},path:"M14.23 12.004a2.236 2.236 0 0 1-2.235 2.236 2.236 2.236 0 0 1-2.236-2.236 2.236 2.236 0 0 1 2.235-2.236 2.236 2.236 0 0 1 2.236 2.236zm2.648-10.69c-1.346 0-3.107.96-4.888 2.622-1.78-1.653-3.542-2.602-4.887-2.602-.41 0-.783.093-1.106.278-1.375.793-1.683 3.264-.973 6.365C1.98 8.917 0 10.42 0 12.004c0 1.59 1.99 3.097 5.043 4.03-.704 3.113-.39 5.588.988 6.38.32.187.69.275 1.102.275 1.345 0 3.107-.96 4.888-2.624 1.78 1.654 3.542 2.603 4.887 2.603.41 0 .783-.09 1.106-.275 1.374-.792 1.683-3.263.973-6.365C22.02 15.096 24 13.59 24 12.004c0-1.59-1.99-3.097-5.043-4.032.704-3.11.39-5.587-.988-6.38-.318-.184-.688-.277-1.092-.278zm-.005 1.09v.006c.225 0 .406.044.558.127.666.382.955 1.835.73 3.704-.054.46-.142.945-.25 1.44-.96-.236-2.006-.417-3.107-.534-.66-.905-1.345-1.727-2.035-2.447 1.592-1.48 3.087-2.292 4.105-2.295zm-9.77.02c1.012 0 2.514.808 4.11 2.28-.686.72-1.37 1.537-2.02 2.442-1.107.117-2.154.298-3.113.538-.112-.49-.195-.964-.254-1.42-.23-1.868.054-3.32.714-3.707.19-.09.4-.127.563-.132zm4.882 3.05c.455.468.91.992 1.36 1.564-.44-.02-.89-.034-1.345-.034-.46 0-.915.01-1.36.034.44-.572.895-1.096 1.345-1.565zM12 8.1c.74 0 1.477.034 2.202.093.406.582.802 1.203 1.183 1.86.372.64.71 1.29 1.018 1.946-.308.655-.646 1.31-1.013 1.95-.38.66-.773 1.288-1.18 1.87-.728.063-1.466.098-2.21.098-.74 0-1.477-.035-2.202-.093-.406-.582-.802-1.204-1.183-1.86-.372-.64-.71-1.29-1.018-1.946.303-.657.646-1.313 1.013-1.954.38-.66.773-1.286 1.18-1.868.728-.064 1.466-.098 2.21-.098zm-3.635.254c-.24.377-.48.763-.704 1.16-.225.39-.435.782-.635 1.174-.265-.656-.49-1.31-.676-1.947.64-.15 1.315-.283 2.015-.386zm7.26 0c.695.103 1.365.23 2.006.387-.18.632-.405 1.282-.66 1.933-.2-.39-.41-.783-.64-1.174-.225-.392-.465-.774-.705-1.146zm3.063.675c.484.15.944.317 1.375.498 1.732.74 2.852 1.708 2.852 2.476-.005.768-1.125 1.74-2.857 2.475-.42.18-.88.342-1.355.493-.28-.958-.646-1.956-1.1-2.98.45-1.017.81-2.01 1.085-2.964zm-13.395.004c.278.96.645 1.957 1.1 2.98-.45 1.017-.812 2.01-1.086 2.964-.484-.15-.944-.318-1.37-.5-1.732-.737-2.852-1.706-2.852-2.474 0-.768 1.12-1.742 2.852-2.476.42-.18.88-.342 1.356-.494zm11.678 4.28c.265.657.49 1.312.676 1.948-.64.157-1.316.29-2.016.39.24-.375.48-.762.705-1.158.225-.39.435-.788.636-1.18zm-9.945.02c.2.392.41.783.64 1.175.23.39.465.772.705 1.143-.695-.102-1.365-.23-2.006-.386.18-.63.406-1.282.66-1.933zM17.92 16.32c.112.493.2.968.254 1.423.23 1.868-.054 3.32-.714 3.708-.147.09-.338.128-.563.128-1.012 0-2.514-.807-4.11-2.28.686-.72 1.37-1.536 2.02-2.44 1.107-.118 2.154-.3 3.113-.54zm-11.83.01c.96.234 2.006.415 3.107.532.66.905 1.345 1.727 2.035 2.446-1.595 1.483-3.092 2.295-4.11 2.295-.22-.005-.406-.05-.553-.132-.666-.38-.955-1.834-.73-3.703.054-.46.142-.944.25-1.438zm4.56.64c.44.02.89.034 1.345.034.46 0 .915-.01 1.36-.034-.44.572-.895 1.095-1.345 1.565-.455-.47-.91-.993-1.36-1.565z",source:"https://github.com/facebook/create-react-app/blob/282c03f9525fdf8061ffa1ec50dce89296d916bd/test/fixtures/relative-paths/src/logo.svg",hex:"61DAFB"},J4={title:"Ruby",slug:"ruby",get svg(){return zt+"Ruby"+Nt+this.path+Tt},path:"M20.156.083c3.033.525 3.893 2.598 3.829 4.77L24 4.822 22.635 22.71 4.89 23.926h.016C3.433 23.864.15 23.729 0 19.139l1.645-3 2.819 6.586.503 1.172 2.805-9.144-.03.007.016-.03 9.255 2.956-1.396-5.431-.99-3.9 8.82-.569-.615-.51L16.5 2.114 20.159.073l-.003.01zM0 19.089zM5.13 5.073c3.561-3.533 8.157-5.621 9.922-3.84 1.762 1.777-.105 6.105-3.673 9.636-3.563 3.532-8.103 5.734-9.864 3.957-1.766-1.777.045-6.217 3.612-9.75l.003-.003z",source:"https://www.ruby-lang.org/en/about/logo/",hex:"CC342D",license:{type:"CC-BY-SA-2.5",url:"https://spdx.org/licenses/CC-BY-SA-2.5"}},$4={title:"Rust",slug:"rust",get svg(){return zt+"Rust"+Nt+this.path+Tt},path:"M23.8346 11.7033l-1.0073-.6236a13.7268 13.7268 0 00-.0283-.2936l.8656-.8069a.3483.3483 0 00-.1154-.578l-1.1066-.414a8.4958 8.4958 0 00-.087-.2856l.6904-.9587a.3462.3462 0 00-.2257-.5446l-1.1663-.1894a9.3574 9.3574 0 00-.1407-.2622l.49-1.0761a.3437.3437 0 00-.0274-.3361.3486.3486 0 00-.3006-.154l-1.1845.0416a6.7444 6.7444 0 00-.1873-.2268l.2723-1.153a.3472.3472 0 00-.417-.4172l-1.1532.2724a14.0183 14.0183 0 00-.2278-.1873l.0415-1.1845a.3442.3442 0 00-.49-.328l-1.076.491c-.0872-.0476-.1742-.0952-.2623-.1407l-.1903-1.1673A.3483.3483 0 0016.256.955l-.9597.6905a8.4867 8.4867 0 00-.2855-.086l-.414-1.1066a.3483.3483 0 00-.5781-.1154l-.8069.8666a9.2936 9.2936 0 00-.2936-.0284L12.2946.1683a.3462.3462 0 00-.5892 0l-.6236 1.0073a13.7383 13.7383 0 00-.2936.0284L9.9803.3374a.3462.3462 0 00-.578.1154l-.4141 1.1065c-.0962.0274-.1903.0567-.2855.086L7.744.955a.3483.3483 0 00-.5447.2258L7.009 2.348a9.3574 9.3574 0 00-.2622.1407l-1.0762-.491a.3462.3462 0 00-.49.328l.0416 1.1845a7.9826 7.9826 0 00-.2278.1873L3.8413 3.425a.3472.3472 0 00-.4171.4171l.2713 1.1531c-.0628.075-.1255.1509-.1863.2268l-1.1845-.0415a.3462.3462 0 00-.328.49l.491 1.0761a9.167 9.167 0 00-.1407.2622l-1.1662.1894a.3483.3483 0 00-.2258.5446l.6904.9587a13.303 13.303 0 00-.087.2855l-1.1065.414a.3483.3483 0 00-.1155.5781l.8656.807a9.2936 9.2936 0 00-.0283.2935l-1.0073.6236a.3442.3442 0 000 .5892l1.0073.6236c.008.0982.0182.1964.0283.2936l-.8656.8079a.3462.3462 0 00.1155.578l1.1065.4141c.0273.0962.0567.1914.087.2855l-.6904.9587a.3452.3452 0 00.2268.5447l1.1662.1893c.0456.088.0922.1751.1408.2622l-.491 1.0762a.3462.3462 0 00.328.49l1.1834-.0415c.0618.0769.1235.1528.1873.2277l-.2713 1.1541a.3462.3462 0 00.4171.4161l1.153-.2713c.075.0638.151.1255.2279.1863l-.0415 1.1845a.3442.3442 0 00.49.327l1.0761-.49c.087.0486.1741.0951.2622.1407l.1903 1.1662a.3483.3483 0 00.5447.2268l.9587-.6904a9.299 9.299 0 00.2855.087l.414 1.1066a.3452.3452 0 00.5781.1154l.8079-.8656c.0972.0111.1954.0203.2936.0294l.6236 1.0073a.3472.3472 0 00.5892 0l.6236-1.0073c.0982-.0091.1964-.0183.2936-.0294l.8069.8656a.3483.3483 0 00.578-.1154l.4141-1.1066a8.4626 8.4626 0 00.2855-.087l.9587.6904a.3452.3452 0 00.5447-.2268l.1903-1.1662c.088-.0456.1751-.0931.2622-.1407l1.0762.49a.3472.3472 0 00.49-.327l-.0415-1.1845a6.7267 6.7267 0 00.2267-.1863l1.1531.2713a.3472.3472 0 00.4171-.416l-.2713-1.1542c.0628-.0749.1255-.1508.1863-.2278l1.1845.0415a.3442.3442 0 00.328-.49l-.49-1.076c.0475-.0872.0951-.1742.1407-.2623l1.1662-.1893a.3483.3483 0 00.2258-.5447l-.6904-.9587.087-.2855 1.1066-.414a.3462.3462 0 00.1154-.5781l-.8656-.8079c.0101-.0972.0202-.1954.0283-.2936l1.0073-.6236a.3442.3442 0 000-.5892zm-6.7413 8.3551a.7138.7138 0 01.2986-1.396.714.714 0 11-.2997 1.396zm-.3422-2.3142a.649.649 0 00-.7715.5l-.3573 1.6685c-1.1035.501-2.3285.7795-3.6193.7795a8.7368 8.7368 0 01-3.6951-.814l-.3574-1.6684a.648.648 0 00-.7714-.499l-1.473.3158a8.7216 8.7216 0 01-.7613-.898h7.1676c.081 0 .1356-.0141.1356-.088v-2.536c0-.074-.0536-.0881-.1356-.0881h-2.0966v-1.6077h2.2677c.2065 0 1.1065.0587 1.394 1.2088.0901.3533.2875 1.5044.4232 1.8729.1346.413.6833 1.2381 1.2685 1.2381h3.5716a.7492.7492 0 00.1296-.0131 8.7874 8.7874 0 01-.8119.9526zM6.8369 20.024a.714.714 0 11-.2997-1.396.714.714 0 01.2997 1.396zM4.1177 8.9972a.7137.7137 0 11-1.304.5791.7137.7137 0 011.304-.579zm-.8352 1.9813l1.5347-.6824a.65.65 0 00.33-.8585l-.3158-.7147h1.2432v5.6025H3.5669a8.7753 8.7753 0 01-.2834-3.348zm6.7343-.5437V8.7836h2.9601c.153 0 1.0792.1772 1.0792.8697 0 .575-.7107.7815-1.2948.7815zm10.7574 1.4862c0 .2187-.008.4363-.0243.651h-.9c-.09 0-.1265.0586-.1265.1477v.413c0 .973-.5487 1.1846-1.0296 1.2382-.4576.0517-.9648-.1913-1.0275-.4717-.2704-1.5186-.7198-1.8436-1.4305-2.4034.8817-.5599 1.799-1.386 1.799-2.4915 0-1.1936-.819-1.9458-1.3769-2.3153-.7825-.5163-1.6491-.6195-1.883-.6195H5.4682a8.7651 8.7651 0 014.907-2.7699l1.0974 1.151a.648.648 0 00.9182.0213l1.227-1.1743a8.7753 8.7753 0 016.0044 4.2762l-.8403 1.8982a.652.652 0 00.33.8585l1.6178.7188c.0283.2875.0425.577.0425.8717zm-9.3006-9.5993a.7128.7128 0 11.984 1.0316.7137.7137 0 01-.984-1.0316zm8.3389 6.71a.7107.7107 0 01.9395-.3625.7137.7137 0 11-.9405.3635z",source:"https://www.rust-lang.org",hex:"000000",guidelines:"https://www.rust-lang.org/policies/media-guide",license:{type:"CC-BY-SA-4.0",url:"https://spdx.org/licenses/CC-BY-SA-4.0"}},F4={title:"Swift",slug:"swift",get svg(){return zt+"Swift"+Nt+this.path+Tt},path:"M7.508 0c-.287 0-.573 0-.86.002-.241.002-.483.003-.724.01-.132.003-.263.009-.395.015A9.154 9.154 0 0 0 4.348.15 5.492 5.492 0 0 0 2.85.645 5.04 5.04 0 0 0 .645 2.848c-.245.48-.4.972-.495 1.5-.093.52-.122 1.05-.136 1.576a35.2 35.2 0 0 0-.012.724C0 6.935 0 7.221 0 7.508v8.984c0 .287 0 .575.002.862.002.24.005.481.012.722.014.526.043 1.057.136 1.576.095.528.25 1.02.495 1.5a5.03 5.03 0 0 0 2.205 2.203c.48.244.97.4 1.498.495.52.093 1.05.124 1.576.138.241.007.483.009.724.01.287.002.573.002.86.002h8.984c.287 0 .573 0 .86-.002.241-.001.483-.003.724-.01a10.523 10.523 0 0 0 1.578-.138 5.322 5.322 0 0 0 1.498-.495 5.035 5.035 0 0 0 2.203-2.203c.245-.48.4-.972.495-1.5.093-.52.124-1.05.138-1.576.007-.241.009-.481.01-.722.002-.287.002-.575.002-.862V7.508c0-.287 0-.573-.002-.86a33.662 33.662 0 0 0-.01-.724 10.5 10.5 0 0 0-.138-1.576 5.328 5.328 0 0 0-.495-1.5A5.039 5.039 0 0 0 21.152.645 5.32 5.32 0 0 0 19.654.15a10.493 10.493 0 0 0-1.578-.138 34.98 34.98 0 0 0-.722-.01C17.067 0 16.779 0 16.492 0H7.508zm6.035 3.41c4.114 2.47 6.545 7.162 5.549 11.131-.024.093-.05.181-.076.272l.002.001c2.062 2.538 1.5 5.258 1.236 4.745-1.072-2.086-3.066-1.568-4.088-1.043a6.803 6.803 0 0 1-.281.158l-.02.012-.002.002c-2.115 1.123-4.957 1.205-7.812-.022a12.568 12.568 0 0 1-5.64-4.838c.649.48 1.35.902 2.097 1.252 3.019 1.414 6.051 1.311 8.197-.002C9.651 12.73 7.101 9.67 5.146 7.191a10.628 10.628 0 0 1-1.005-1.384c2.34 2.142 6.038 4.83 7.365 5.576C8.69 8.408 6.208 4.743 6.324 4.86c4.436 4.47 8.528 6.996 8.528 6.996.154.085.27.154.36.213.085-.215.16-.437.224-.668.708-2.588-.09-5.548-1.893-7.992z",source:"https://developer.apple.com/swift/resources/",hex:"F05138",guidelines:"https://developer.apple.com/swift/resources/"},W4={title:"TypeScript",slug:"typescript",get svg(){return zt+"TypeScript"+Nt+this.path+Tt},path:"M1.125 0C.502 0 0 .502 0 1.125v21.75C0 23.498.502 24 1.125 24h21.75c.623 0 1.125-.502 1.125-1.125V1.125C24 .502 23.498 0 22.875 0zm17.363 9.75c.612 0 1.154.037 1.627.111a6.38 6.38 0 0 1 1.306.34v2.458a3.95 3.95 0 0 0-.643-.361 5.093 5.093 0 0 0-.717-.26 5.453 5.453 0 0 0-1.426-.2c-.3 0-.573.028-.819.086a2.1 2.1 0 0 0-.623.242c-.17.104-.3.229-.393.374a.888.888 0 0 0-.14.49c0 .196.053.373.156.529.104.156.252.304.443.444s.423.276.696.41c.273.135.582.274.926.416.47.197.892.407 1.266.628.374.222.695.473.963.753.268.279.472.598.614.957.142.359.214.776.214 1.253 0 .657-.125 1.21-.373 1.656a3.033 3.033 0 0 1-1.012 1.085 4.38 4.38 0 0 1-1.487.596c-.566.12-1.163.18-1.79.18a9.916 9.916 0 0 1-1.84-.164 5.544 5.544 0 0 1-1.512-.493v-2.63a5.033 5.033 0 0 0 3.237 1.2c.333 0 .624-.03.872-.09.249-.06.456-.144.623-.25.166-.108.29-.234.373-.38a1.023 1.023 0 0 0-.074-1.089 2.12 2.12 0 0 0-.537-.5 5.597 5.597 0 0 0-.807-.444 27.72 27.72 0 0 0-1.007-.436c-.918-.383-1.602-.852-2.053-1.405-.45-.553-.676-1.222-.676-2.005 0-.614.123-1.141.369-1.582.246-.441.58-.804 1.004-1.089a4.494 4.494 0 0 1 1.47-.629 7.536 7.536 0 0 1 1.77-.201zm-15.113.188h9.563v2.166H9.506v9.646H6.789v-9.646H3.375z",source:"https://www.typescriptlang.org/branding",hex:"3178C6",guidelines:"https://www.typescriptlang.org/branding"},I4={title:"YAML",slug:"yaml",get svg(){return zt+"YAML"+Nt+this.path+Tt},path:"m0 .97 4.111 6.453v4.09h2.638v-4.09L11.053.969H8.214L5.58 5.125 2.965.969Zm12.093.024-4.47 10.544h2.114l.97-2.345h4.775l.804 2.345h2.26L14.255.994Zm1.133 2.225 1.463 3.87h-3.096zm3.06 9.475v10.29H24v-2.199h-5.454v-8.091zm-12.175.002v10.335h2.217v-7.129l2.32 4.792h1.746l2.4-4.96v7.295h2.127V12.696h-2.904L9.44 17.37l-2.455-4.674Z",source:"https://commons.wikimedia.org/wiki/File:Official_YAML_Logo.svg",hex:"CB171E"},P4={bash:Y4,css:G4,go:V4,html:X4,js:Q4,json:k4,jsx:V0,markdown:Z4,python:K4,ruby:J4,rust:$4,swift:F4,ts:W4,tsx:V0,yaml:I4};function e6(u,f=!1){if(!u||f)return null;const d=P4[u];return d?{icon:d,color:l6(d.hex)}:null}function t6({isBinary:u=!1,language:f}){const d=e6(f,u);return d?s.jsx("span",{"aria-hidden":"true",className:"file-language-icon",style:{color:d.color},title:`${d.icon.title} file`,children:s.jsx("svg",{"aria-hidden":"true",className:"file-language-icon-svg",fill:"currentColor",viewBox:"0 0 24 24",children:s.jsx("path",{d:d.icon.path})})}):s.jsx("span",{"aria-hidden":"true",className:"file-language-icon",title:"File",children:s.jsx(pf,{size:17})})}function l6(u){const f=u.trim().replace(/^#/,"");if(!/^[\dA-Fa-f]{6}$/.test(f))return"currentColor";const d=Number.parseInt(f.slice(0,2),16),o=Number.parseInt(f.slice(2,4),16),h=Number.parseInt(f.slice(4,6),16),b=(.2126*d+.7152*o+.0722*h)/255;return b<.15||b>.9?"currentColor":`#${f}`}function n6({file:u,collapsed:f,viewed:d,onToggle:o,onViewedChange:h,onOpenFile:b}){const[M,w]=L.useState(!1),T=L.useRef(null);return L.useEffect(()=>{if(!M)return;const v=R=>{var q;(q=T.current)!=null&&q.contains(R.target)||w(!1)},D=R=>{R.key==="Escape"&&w(!1)};return window.addEventListener("pointerdown",v),window.addEventListener("keydown",D),()=>{window.removeEventListener("pointerdown",v),window.removeEventListener("keydown",D)}},[M]),s.jsxs("div",{className:"file-header",children:[s.jsxs("button",{className:"file-header-toggle",type:"button",onClick:o,children:[f?s.jsx(W0,{size:18}):s.jsx(ia,{size:18}),s.jsx(t6,{isBinary:u.isBinary,language:u.language}),s.jsx("span",{className:"file-path",children:u.path}),u.oldPath&&u.oldPath!==u.path?s.jsxs("span",{className:"rename-path",children:["from ",u.oldPath]}):null]}),s.jsxs("span",{className:"stat add",children:["+",u.additions]}),s.jsxs("span",{className:"stat del",children:["-",u.deletions]}),s.jsxs("label",{className:"viewed-toggle",children:[s.jsx("input",{type:"checkbox",checked:d,onChange:v=>h(v.currentTarget.checked)}),s.jsx("span",{children:"Viewed"})]}),s.jsxs("div",{className:"file-menu",ref:T,children:[s.jsx("button",{"aria-expanded":M,"aria-haspopup":"menu","aria-label":`Open actions for ${u.path}`,className:"icon-button file-menu-button",title:"File actions",type:"button",onClick:()=>w(v=>!v),children:s.jsx(bh,{size:17})}),M?s.jsx("div",{className:"file-menu-popover",role:"menu",children:s.jsxs("button",{role:"menuitem",type:"button",onClick:()=>{w(!1),b()},children:[s.jsx(xh,{size:16}),s.jsx("span",{children:"Open locally"})]})}):null]})]})}function a6({activeFilePath:u=null,contextSource:f,emptyState:d=null,files:o,record:h,diff:b=h.diff,readOnly:M=!1,reviewId:w,turnId:T,wrapLines:v=!1,viewedFiles:D=new Set,onViewedChange:R=()=>{},onOpenFile:q=()=>{}}){const[$,I]=L.useState(new Set),se=L.useRef(u),be=Et(G=>G.draft),Z=Et(G=>G.setDraft),Me=o??b.files;if(u!==se.current&&(se.current=u,u&&$.has(u))){const G=new Set($);G.delete(u),I(G)}const de=(G,ye)=>{ye&&((be==null?void 0:be.filePath)===G&&Z(null),I(te=>{const K=new Set(te);return K.add(G),K})),R(G,ye)};return s.jsx("section",{className:"diff-stack",children:Me.length===0?d??s.jsx(i6,{record:h}):Me.map(G=>{const ye=$.has(G.path);return s.jsxs("article",{className:`file-card ${u===G.path?"active":""}`,id:Sd(G.path),children:[s.jsx(n6,{file:G,collapsed:ye,viewed:D.has(G.path),onToggle:()=>{!ye&&(be==null?void 0:be.filePath)===G.path&&Z(null),I(te=>{const K=new Set(te);return K.has(G.path)?K.delete(G.path):K.add(G.path),K})},onViewedChange:te=>de(G.path,te),onOpenFile:()=>q(G.path)}),ye?null:s.jsx(u6,{contextSource:f,file:G,readOnly:M,reviewId:w,turnId:T,wrapLines:v},`${G.oldPath??""}:${G.path}:${m6(w,T,f)}`)]},`${G.oldPath??G.path}:${G.path}`)})})}function i6({record:u}){const f=u.diff.scope;return f.mode==="branch"?s.jsxs("div",{className:"empty-diff",children:[s.jsx("h2",{children:"No branch changes"}),s.jsxs("p",{children:["Working tree is clean, and ",f.comparison.ref," matches ",f.base.ref,"."]})]}):f.fallbackReason==="missing-branch-base"?s.jsxs("div",{className:"empty-diff",children:[s.jsx("h2",{children:"No changes to review"}),s.jsx("p",{children:"Working tree is clean and no upstream or default branch ref was found."})]}):f.mode==="explicit"?s.jsxs("div",{className:"empty-diff",children:[s.jsxs("h2",{children:["No changes against ",f.base.ref]}),s.jsx("p",{children:"The captured diff for this explicit base is empty."})]}):s.jsxs("div",{className:"empty-diff",children:[s.jsx("h2",{children:"No working changes"}),s.jsx("p",{children:"Working tree is clean."})]})}function u6({contextSource:u,file:f,readOnly:d,reviewId:o,turnId:h,wrapLines:b}){const M=Et(x=>x.comments),w=Et(x=>x.resolution),T=Et(x=>x.draft),v=Et(x=>x.setDraft),{resolvedTheme:D}=yd(),[R,q]=L.useState(null),[$,I]=L.useState(null),[se,be]=L.useState(null),[Z,Me]=L.useState({}),de=L.useRef(null),G=L.useRef(null),ye=L.useMemo(()=>Ef(f),[f]),te=L.useMemo(()=>new Map(ye.map(x=>[x.beforeHunkIndex,x])),[ye]),K=L.useMemo(()=>q4(f,Z),[Z,f]),Se=L.useMemo(()=>B4(f,Z),[Z,f]),He=L.useMemo(()=>h6(Se),[Se]),At=L.useMemo(()=>new Map(((w==null?void 0:w.comments)??[]).map(x=>[x.commentId,x])),[w]),lt=M.filter(x=>x.filePath===f.path),Y=R&&$&&R.filePath===f.path&&R.side===$.side?yf(He,R.side,R.line,$.line):null,xe=T&&T.filePath===f.path?yf(He,T.side,T.startLine,T.endLine):null,Ne=x=>{const{start:U,end:X}=x,Q=Math.min(U.line,X.line),fe=Math.max(U.line,X.line),ue=y6(Se,He,U.side,Q,fe)||U.snippet;v({filePath:f.path,side:U.side,startLine:Q,endLine:fe,originalSnippet:ue})};L.useEffect(()=>()=>{var x;return(x=G.current)==null?void 0:x.call(G)},[]);const Ve=x=>{var Q;if(x.dataset.filePath!==f.path)return null;const U=x.dataset.side,X=Number(x.dataset.line);return U!=="L"&&U!=="R"||!Number.isFinite(X)?null:{filePath:f.path,side:U,line:X,snippet:((Q=x.querySelector("code"))==null?void 0:Q.textContent)??""}},E=x=>{const U=Ve(x);U&&ve(U)},B=(x,U)=>{var ue;if(U.button!==0)return;U.preventDefault(),(ue=G.current)==null||ue.call(G),de.current={start:x,end:x},q(x),I(x);const X=Ie=>{var nt;const Pe=(nt=document.elementFromPoint(Ie.clientX,Ie.clientY))==null?void 0:nt.closest(".diff-row");Pe&&E(Pe)},Q=Ie=>{X(Ie);const Pe=de.current;Pe&&Ne(Pe),ne()},fe=()=>ne();window.addEventListener("mousemove",X),window.addEventListener("mouseup",Q),window.addEventListener("blur",fe),G.current=()=>{window.removeEventListener("mousemove",X),window.removeEventListener("mouseup",Q),window.removeEventListener("blur",fe),G.current=null}},F=(x,U)=>{var X;U.key!=="Enter"&&U.key!==" "||U.repeat||U.defaultPrevented||U.nativeEvent.isComposing||(U.preventDefault(),(X=G.current)==null||X.call(G),de.current=null,q(null),I(null),Ne({start:x,end:x}))},ve=x=>{const U=de.current;(U==null?void 0:U.start.filePath)===f.path&&U.start.side===x.side&&(de.current={...U,end:x},I(x))},ne=()=>{var x;(x=G.current)==null||x.call(G),de.current=null,q(null),I(null)},p=async(x,U)=>{if(!o||!u)return;const X=L4(x,Z[x.id],U);if(X){Me(Q=>{var fe;return{...Q,[x.id]:{lines:((fe=Q[x.id])==null?void 0:fe.lines)??[],loading:!0,error:null}}});try{const Q=await a4({reviewId:o,filePath:x.filePath,oldPath:x.oldPath,turnId:h,source:u,...X});Me(fe=>({...fe,[x.id]:H4(x,fe[x.id],Q.lines)}))}catch(Q){Me(fe=>{var ue;return{...fe,[x.id]:{lines:((ue=fe[x.id])==null?void 0:ue.lines)??[],loading:!1,error:Q instanceof Error?Q.message:String(Q)}}})}}};L.useEffect(()=>{let x=!1;return c4(async()=>{const{highlightDiffFile:U}=await import("./syntax-CtfqKZw2.js");return{highlightDiffFile:U}},[]).then(({highlightDiffFile:U})=>U(K,D)).then(U=>{x||be(U)}).catch(()=>{x||be(null)}),()=>{x=!0}},[K,D]);const C=(x,U)=>{const X=xf(x),Q=jf(x);if(Q==null)return null;const fe={filePath:f.path,side:X,line:Q,snippet:x.content},ue=He.get(si(X,Q)),Ie=ue!=null&&X0(ue,Y)?Y:ue!=null&&X0(ue,xe)?xe:null,Pe=ue!=null&&Ie?d6(ue,Ie.start,Ie.end):"",nt=T&&T.filePath===f.path&&T.side===X&&Q===T.endLine,el=lt.filter(Be=>Be.side===X&&Q===Math.max(Be.startLine,Be.endLine));return s.jsxs("div",{children:[s.jsxs("div",{className:`diff-row ${x.type} ${d?"read-only":""} ${Pe} ${nt?"range-continues":""}`,"data-file-path":f.path,"data-line":Q,"data-side":X,children:[Pe?s.jsx("span",{className:"selection-rail","aria-hidden":"true"}):null,s.jsxs("div",{className:"diff-gutter",children:[s.jsx("span",{className:"line-number old",children:x.oldLine??""}),s.jsx("span",{className:"line-number new",children:x.newLine??""}),s.jsx("span",{className:"marker",children:xd(x)}),d?null:s.jsx("button",{"aria-label":`Comment on ${f.path} line ${Q}`,className:"comment-handle",type:"button",onMouseDown:Be=>B(fe,Be),onKeyDown:Be=>F(fe,Be),children:s.jsx($h,{size:16,strokeWidth:2.4})})]}),s.jsx(o6,{content:x.content,tokens:(se==null?void 0:se.get(si(X,Q)))??null})]}),el.map(Be=>{const ot=At.get(Be.id);return s.jsxs("div",{className:`inline-comment ${ot?"resolved":"open"}`,children:[ot?s.jsx(I0,{size:14}):s.jsx(ed,{size:14}),s.jsxs("span",{className:"inline-comment-content",children:[d?s.jsx("span",{className:"inline-comment-status",children:ot?"Resolved":"Open · Needs fix"}):null,s.jsx("span",{className:"inline-comment-body",children:Be.body}),ot!=null&&ot.summary?s.jsx("span",{className:"inline-comment-summary",children:ot.summary}):null]})]},Be.id)}),nt&&!d?s.jsx(w4,{tone:x.type}):null]},`${U}:${x.type}:${x.oldLine??"x"}:${x.newLine??"x"}:${x.content}`)},H=x=>U4(x,Z[x.id]).map(U=>{var X,Q;return U.type==="lines"?U.lines.map(fe=>C(fe,`context:${x.id}`)):s.jsx(c6,{canExpand:!!(o&&u),direction:R4(x,U),error:((X=Z[x.id])==null?void 0:X.error)??null,loading:((Q=Z[x.id])==null?void 0:Q.loading)??!1,segment:U,onExpand:fe=>{p(x,fe)}},`hidden:${x.id}:${U.oldStart}:${U.newStart}:${U.lineCount}`)});return s.jsx("section",{"aria-label":`${f.path} diff`,className:`diff-scroller ${b?"wrap-lines":""}`,children:s.jsxs("div",{className:`diff-table ${R?"selecting":""}`,children:[f.isBinary?s.jsx("div",{className:"binary-note",children:"Binary file changed"}):null,f.hunks.map((x,U)=>{const X=te.get(U);return s.jsxs("div",{className:"hunk",children:[X?H(X):null,s.jsx("div",{className:"hunk-header",children:x.header||`@@ -${x.oldStart},${x.oldLines} +${x.newStart},${x.newLines} @@`}),x.lines.map(Q=>C(Q,"hunk"))]},`${x.oldStart}:${x.newStart}`)})]})},b?"wrapped":"unwrapped")}function c6({canExpand:u,direction:f,error:d,loading:o,segment:h,onExpand:b}){const M=!u||!!o,w=s6(f);return s.jsxs("div",{className:"hidden-lines",children:[s.jsxs("div",{className:"hidden-lines-main",children:[s.jsx("span",{className:"hidden-lines-count",children:o?s.jsxs(s.Fragment,{children:[s.jsx(P0,{className:"spin",size:14}),"Loading context"]}):`${h.lineCount} unmodified ${h.lineCount===1?"line":"lines"}`}),s.jsx("div",{className:"hidden-lines-actions",children:s.jsx("button",{"aria-label":w,className:"hidden-lines-action",disabled:M,title:w,type:"button",onClick:()=>b(f),children:s.jsx(f6,{direction:f})})})]}),d?s.jsx("div",{className:"hidden-lines-error",children:d}):null]})}function s6(u){return u==="up"?"Expand hidden context upward":u==="down"?"Expand hidden context downward":"Expand hidden context"}function f6({direction:u}){return u==="up"?s.jsx(oh,{size:15}):u==="down"?s.jsx(ia,{size:15}):s.jsx(dh,{size:15})}function o6({content:u,tokens:f}){return!f||f.length===0?s.jsx("code",{children:u||" "}):s.jsx("code",{children:f.map(d=>s.jsx("span",{style:r6(d),children:d.content},`${d.offset}:${d.content}`))})}function r6(u){const f={};u.color&&(f.color=u.color),u.fontStyle&&(u.fontStyle&1)!==0&&(f.fontStyle="italic"),u.fontStyle&&(u.fontStyle&2)!==0&&(f.fontWeight=700);const d=[];return u.fontStyle&&(u.fontStyle&4)!==0&&d.push("underline"),u.fontStyle&&(u.fontStyle&8)!==0&&d.push("line-through"),d.length>0&&(f.textDecorationLine=d.join(" ")),f}function xd(u){return u.type==="add"?"+":u.type==="delete"?"-":" "}function d6(u,f,d){return f===d?"range-selected range-single":u===f?"range-selected range-start":u===d?"range-selected range-end":"range-selected range-middle"}function m6(u,f,d){return!u||!d?"":d.mode==="turn"?`${u}:${f??""}:turn`:d.mode==="commit"?`${u}:${f??""}:commit:${d.sha}`:`${u}:${f??""}:range:${d.fromSha}:${d.toSha}`}function h6(u){const f=new Map;let d=0;for(const o of u){const h=xf(o),b=jf(o);b!=null&&(f.set(si(h,b),d),d+=1)}return f}function yf(u,f,d,o){const h=u.get(si(f,d)),b=u.get(si(f,o));return h==null||b==null?null:{start:Math.min(h,b),end:Math.max(h,b)}}function X0(u,f){return!!(f&&u>=f.start&&u<=f.end)}function y6(u,f,d,o,h){const b=[],M=yf(f,d,o,h);if(!M)return"";u.forEach((T,v)=>{jf(T)!=null&&v>=M.start&&v<=M.end&&b.push(T)});const w=new Set(b.map(T=>T.type)).size>1;return b.map(T=>w?`${xd(T)}${T.content}`:T.content).join(`
|
|
262
|
-
`)}const Mu="__gloss_no_extension__";function v6(u){const f=[u.name];let d=u;for(;d.children.length===1&&d.children[0].type==="directory";)d=d.children[0],f.push(d.name);return{name:f.join("/"),node:d}}function p6(u){const f=new Map;for(const d of u){const o=jd(d.path),h=f.get(o);h?h.count+=1:f.set(o,{id:o,label:o===Mu?"No extension":o,count:1})}return Array.from(f.values()).sort((d,o)=>d.id===Mu?1:o.id===Mu?-1:d.label.localeCompare(o.label,void 0,{sensitivity:"base"}))}function g6(u,f,d){const o=f.trim().toLowerCase();return d.size===0?[]:u.filter(h=>{const b=d.has(jd(h.path)),M=o.length===0||h.path.toLowerCase().includes(o);return b&&M})}function b6(u){const f={type:"directory",id:"root",name:"",path:"",children:[]},d=new Map;for(const o of u){const h=o.path.split("/").filter(Boolean);let b=f;for(const[M,w]of h.entries()){const T=M===h.length-1,v=h.slice(0,M+1).join("/");T?b.children.push({type:"file",id:`file:${o.path}`,name:w,path:o.path,file:o}):b=S6(b,w,v,d)}}return Ed(f),f}function S6(u,f,d,o){let h=o.get(u);h||(h=new Map,o.set(u,h));const b=h.get(f);if(b)return b;const M={type:"directory",id:`dir:${d}`,name:f,path:d,children:[]};return u.children.push(M),h.set(f,M),M}function jd(u){const f=u.split("/").pop()??u,d=f.lastIndexOf(".");return d<=0||d===f.length-1?Mu:f.slice(d).toLowerCase()}function Ed(u){u.children.sort((f,d)=>f.type!==d.type?f.type==="directory"?-1:1:f.name.localeCompare(d.name,void 0,{sensitivity:"base"}));for(const f of u.children)f.type==="directory"&&Ed(f)}function Q0({activeFilePath:u,extensionBuckets:f,files:d,filteredFiles:o,onCollapse:h,onClearExtensions:b,onFileSelect:M,onSearchChange:w,onSelectAllExtensions:T,onToggleExtension:v,searchQuery:D,selectedExtensionIds:R}){const[q,$]=L.useState(!1),[I,se]=L.useState(new Set),be=L.useRef(null),Z=L.useMemo(()=>b6(o),[o]),Me=L.useMemo(()=>{const te=j6(Z);for(const K of I)te.delete(K);return te},[I,Z]),G=R.size!==f.length;L.useEffect(()=>{if(!q)return;const te=Se=>{var He;(He=be.current)!=null&&He.contains(Se.target)||$(!1)},K=Se=>{Se.key==="Escape"&&$(!1)};return window.addEventListener("pointerdown",te),window.addEventListener("keydown",K),()=>{window.removeEventListener("pointerdown",te),window.removeEventListener("keydown",K)}},[q]);const ye=te=>{se(K=>{const Se=new Set(K);return Me.has(te)?Se.add(te):Se.delete(te),Se})};return s.jsxs("section",{className:"file-tree-panel","aria-label":"Changed files",children:[s.jsxs("div",{className:"file-tree-header",children:[s.jsx("span",{children:"Changed files"}),h?s.jsx("button",{"aria-label":"Collapse file tree",className:"file-tree-icon-button",title:"Collapse file tree",type:"button",onClick:h,children:s.jsx(Xh,{size:15})}):null]}),s.jsxs("div",{className:"file-tree-controls",children:[s.jsxs("label",{className:"file-tree-search",children:[s.jsx(Wh,{size:18}),s.jsx("span",{className:"sr-only",children:"Filter files"}),s.jsx("input",{type:"search",value:D,placeholder:"Filter files...",onChange:te=>w(te.target.value)}),D?s.jsx("button",{"aria-label":"Clear file search",className:"file-tree-clear",type:"button",onClick:()=>w(""),children:s.jsx(gf,{size:14})}):null]}),s.jsxs("div",{className:"file-tree-filter-shell",ref:be,children:[s.jsx("button",{"aria-label":"Filter by file extension","aria-expanded":q,className:`file-tree-filter-button ${G?"active":""}`,title:"Filter by file extension",type:"button",onClick:()=>$(te=>!te),children:s.jsx(t3,{size:17})}),q?s.jsx(x6,{buckets:f,selectedExtensionIds:R,onClear:b,onSelectAll:T,onToggle:v}):null]})]}),s.jsx("div",{className:"file-tree-summary",children:s.jsxs("span",{children:[o.length," of ",d.length," ",d.length===1?"file":"files"]})}),o.length===0?s.jsx("div",{className:"file-tree-empty",children:d.length===0?"No files changed":"No files match"}):s.jsx("div",{className:"file-tree-list",children:Z.children.map(te=>s.jsx(zd,{activeFilePath:u,expandedDirectoryIds:Me,node:te,depth:0,onFileSelect:M,onToggleDirectory:ye},te.id))})]})}function x6({buckets:u,onClear:f,onSelectAll:d,onToggle:o,selectedExtensionIds:h}){return s.jsxs("div",{className:"extension-popover",role:"menu","aria-label":"File extensions",children:[s.jsxs("div",{className:"extension-popover-header",children:[s.jsx("span",{children:"File extensions"}),s.jsxs("div",{className:"extension-popover-actions",children:[s.jsx("button",{type:"button",onClick:d,children:"All"}),s.jsx("button",{type:"button",onClick:f,children:"None"})]})]}),s.jsx("div",{className:"extension-options",children:u.map(b=>{const M=h.has(b.id);return s.jsxs("button",{"aria-checked":M,className:"extension-option",role:"menuitemcheckbox",type:"button",onClick:()=>o(b.id),children:[s.jsx("span",{className:"extension-check",children:M?s.jsx(yn,{size:16}):null}),s.jsx("span",{className:"extension-label",children:b.label}),s.jsx("span",{className:"extension-count",children:b.count})]},b.id)})})]})}function zd({activeFilePath:u,depth:f,expandedDirectoryIds:d,node:o,onFileSelect:h,onToggleDirectory:b}){const M={paddingLeft:8+f*14};if(o.type==="directory"){const w=v6(o),T=d.has(w.node.id);return s.jsxs("div",{children:[s.jsxs("button",{"aria-expanded":T,className:"file-tree-row directory",style:M,title:w.node.path,type:"button",onClick:()=>b(w.node.id),children:[T?s.jsx(ia,{size:16}):s.jsx(W0,{size:16}),T?s.jsx(Th,{size:17}):s.jsx(Mh,{size:17}),s.jsx("span",{className:"file-tree-name",children:w.name})]}),T?s.jsx("div",{children:w.node.children.map(v=>s.jsx(zd,{activeFilePath:u,expandedDirectoryIds:d,node:v,depth:f+1,onFileSelect:h,onToggleDirectory:b},v.id))}):null]})}return s.jsx("div",{children:s.jsxs("button",{className:`file-tree-row file ${u===o.path?"active":""}`,style:M,title:o.path,type:"button",onClick:()=>h(o.path),children:[s.jsx("span",{className:"file-tree-spacer"}),s.jsx(pf,{size:16}),s.jsx("span",{className:"file-tree-name",children:o.name}),s.jsxs("span",{className:"file-tree-stats",children:[s.jsxs("span",{className:"stat add",children:["+",o.file.additions]}),s.jsxs("span",{className:"stat del",children:["-",o.file.deletions]})]})]})})}function j6(u){const f=new Set,d=o=>{for(const h of o.children)h.type==="directory"&&(f.add(h.id),d(h))};return d(u),f}function k0(u){return u instanceof Error?u.message:String(u)}function E6({reviewId:u,reviewScope:f,onSubmitted:d}){const o=Et(q=>q.comments),h=Et(q=>q.removeComment),[b,M]=L.useState("idle"),[w,T]=L.useState(null),v=L.useRef(!1),D=b!=="submitting"&&b!=="done",R=L.useCallback(async()=>{if(!(!D||v.current)){v.current=!0,M("submitting"),T(null);try{await t4(u,o,f),M("done"),T("Submitted");try{await(d==null?void 0:d())}catch(q){T(`Submitted, but refresh failed: ${k0(q)}`)}}catch(q){v.current=!1,M("error"),T(k0(q))}}},[D,o,d,u,f]);return L.useEffect(()=>{const q=$=>{O4($)&&($.preventDefault(),R())};return window.addEventListener("keydown",q),()=>window.removeEventListener("keydown",q)},[R]),s.jsxs("aside",{className:"submit-bar",children:[s.jsx("div",{className:"comment-list",children:o.length===0?s.jsx("span",{className:"muted",children:"No comments yet"}):o.map(q=>s.jsxs("div",{className:"comment-chip",children:[s.jsxs("span",{children:[q.filePath,":",ci(q,{repeatSideOnEnd:!1})]}),s.jsx("button",{className:"icon-button",type:"button",title:"Remove comment",onClick:()=>h(q.id),children:s.jsx(td,{size:14})})]},q.id))}),s.jsxs("div",{className:"submit-actions",children:[w?s.jsx("span",{className:`submit-message ${b}`,children:w}):null,s.jsxs("button",{"aria-keyshortcuts":"Meta+Shift+Enter",className:"primary-button",type:"button",disabled:!D,title:"Submit review (Command+Shift+Enter)",onClick:R,children:[b==="done"?s.jsx(yn,{size:16}):s.jsx(Ph,{size:16}),"Submit ",o.length]})]})]})}const z6="gloss:viewed-files:";function Nd(u){return`${z6}${u}`}function of(u,f=Td()){if(!f)return new Set;const d=f.getItem(Nd(u));if(!d)return new Set;try{const o=JSON.parse(d);return new Set(Array.isArray(o)?o.filter(h=>typeof h=="string"):[])}catch{return new Set}}function N6(u,f,d=Td()){if(!d)return;const o=Nd(u);if(f.size===0){d.removeItem(o);return}d.setItem(o,JSON.stringify(Array.from(f).toSorted()))}function Td(){try{return typeof window>"u"?null:window.localStorage}catch{return null}}function T6(u){return u.type==="review.turn.created"||u.type==="review.submitted"||u.type==="review.updated"}function A6(u,f,d){return u.reviewId!==f||!u.selectedExtensionIds?new Set(d):new Set(d.filter(o=>{var h;return(h=u.selectedExtensionIds)==null?void 0:h.has(o)}))}function M6(u,f){return{icon:(u==null?void 0:u.trim())===f.trim()?"branch":null}}function _6(u,f){const d=(u==null?void 0:u.trim())??"",o=d||"detached";return o===f.trim()?null:{label:o,title:d||"Detached HEAD"}}function Ad(u){return u.length>1}const C6=300,O6=560,w6=360,D6={files:[],stats:{files:0,additions:0,deletions:0}},R6=[],U6=[],Md={diff:null,error:null,loading:!1},L6=new Intl.RelativeTimeFormat(void 0,{numeric:"auto"}),H6=new Intl.DateTimeFormat(void 0,{dateStyle:"medium",timeStyle:"short"}),rf=[["year",3600*24*365],["month",3600*24*30],["week",3600*24*7],["day",3600*24],["hour",3600],["minute",60],["second",1]];function B6({reviewId:u}){return s.jsx(Y6,{reviewId:u},u)}function q6(){const{preference:u,setPreference:f}=yd(),d=[{icon:Hh,label:"Match system theme",value:"system"},{icon:n3,label:"Use light theme",value:"light"},{icon:qh,label:"Use dark theme",value:"dark"}];return s.jsxs("fieldset",{className:"theme-toggle",children:[s.jsx("legend",{className:"sr-only",children:"Theme"}),d.map(o=>{const h=o.icon;return s.jsx("button",{"aria-label":o.label,"aria-pressed":u===o.value,className:"theme-toggle-option",title:o.label,type:"button",onClick:()=>f(o.value),children:s.jsx(h,{size:15})},o.value)})]})}function G6(u){const f=document.getElementById(Sd(u));if(!f)return;const o=f.getBoundingClientRect().top+window.scrollY-156;window.scrollTo({behavior:"smooth",top:Math.max(o,0)})}function Y6({reviewId:u}){const[f,d]=L.useState(null),[o,h]=L.useState(null),[b,M]=L.useState(!1),[w,T]=L.useState(null),[v,D]=L.useState(!0),[R,q]=L.useState(!1),[$,I]=L.useState(w6),[se,be]=L.useState({reviewId:null,searchQuery:"",selectedExtensionIds:null}),[Z,Me]=L.useState(null),[de,G]=L.useState({mode:"all"}),[ye,te]=L.useReducer(K6,Md),[K,Se]=L.useState(()=>({storageKey:u,files:of(u)})),[He,At]=L.useState(null),lt=Et(V=>V.reset),Y=Et(V=>V.hydrateReview),xe=Et(V=>V.setDraft),Ne=(f==null?void 0:f.turns[f.turns.length-1])??null,Ve=(Ne==null?void 0:Ne.id)??null,E=f&&Ne?f.turns.find(V=>V.id===Z)??Ne:null,B=f&&E?V6(f,E):null,F=B?R0(B):null,ve=(E==null?void 0:E.diff.commitDiffs)??U6,ne=L.useMemo(()=>Z6(de,ve),[ve,de]),p=E&&ne.mode==="single"?ve.find(V=>V.commit.sha===ne.sha)??null:null,C=E&&ne.mode==="range"?ye.diff??D6:null,H=E?C??p??E.diff:null,x=(H==null?void 0:H.files)??R6,U=L.useMemo(()=>p6(x),[x]),X=L.useMemo(()=>U.map(V=>V.id),[U]),Q=(f==null?void 0:f.meta.id)??null,fe=!!(Q&&se.reviewId===Q),ue=L.useMemo(()=>Q?A6(se,Q,X):new Set(X),[X,se,Q]),Ie=fe?se.searchQuery:"",Pe=L.useMemo(()=>g6(x,Ie,ue),[x,Ie,ue]),nt=E?`${u}:${E.id}`:u;let el=K.files;K.storageKey!==nt&&(el=of(nt),Se({storageKey:nt,files:el}));const Be=w&&Pe.some(V=>V.path===w)?w:null,ot=L.useCallback(V=>{d(V),document.title=R0(V)},[]),Zl=L.useCallback(()=>{G({mode:"all"}),te({type:"idle"}),xe(null)},[xe]),ua=L.useCallback(async()=>{var Fe;const V=await H0(u),ce=((Fe=V.turns[V.turns.length-1])==null?void 0:Fe.id)??null;Z===null&&Ve&&ce!==Ve&&Zl(),ot(V)},[u,Z,Ve,Zl,ot]);if(L.useEffect(()=>{let V=!1;return lt(),H0(u).then(ce=>{V||ot(ce)}).catch(ce=>{V||h(ce instanceof Error?ce.message:String(ce))}),()=>{V=!0}},[u,lt,ot]),L.useEffect(()=>{var V;E&&Y(((V=E.feedback)==null?void 0:V.comments)??[],E.resolution??null)},[Y,E]),L.useEffect(()=>{if(!E||ne.mode!=="range")return;let V=!1;return te({type:"loading"}),n4(u,ne.fromSha,ne.toSha,E.id).then(ce=>{V||te({type:"loaded",diff:ce})}).catch(ce=>{V||te({error:ce instanceof Error?ce.message:String(ce),type:"failed"})}),()=>{V=!0}},[ne,E,u]),L.useEffect(()=>{const V=new EventSource(`/api/reviews/${u}/events`);return V.onmessage=ce=>{const Fe=U3(ce.data,X3,"review event");T6(Fe)&&ua().catch(yt=>{h(yt instanceof Error?yt.message:String(yt))})},()=>{V.close()}},[u,ua]),o)return s.jsx("main",{className:"empty-shell",children:s.jsxs("section",{className:"empty-panel",children:[s.jsx("h1",{children:"Review unavailable"}),s.jsx("p",{children:o})]})});if(!f||!E||!B||!H||!F)return s.jsx("main",{className:"empty-shell",children:s.jsxs("section",{className:"empty-panel",children:[s.jsx(P0,{className:"spin",size:24}),s.jsx("p",{children:"Loading review"})]})});const oi=E.diff.scope,ca=H.stats,sa=M6(B.meta.branch,F),Kl=_6(B.meta.branch,F),Uu=I6(ne),Lu=P6(ne),at=E.id!==Ve||N3(E.status),Hu=Ad(f.turns),fa=ne.mode==="range"?ye.error:null,ri=ne.mode==="range"&&ye.loading,Jl=H.files.filter(V=>el.has(V.path)).length,Bu=H.files.length===0?0:Math.round(Jl/H.files.length*100),di=V=>{be(ce=>({reviewId:f.meta.id,searchQuery:V,selectedExtensionIds:ce.reviewId===f.meta.id?ce.selectedExtensionIds:null}))},qu=V=>{be(ce=>{const Fe=ce.reviewId===f.meta.id&&ce.selectedExtensionIds?new Set(ce.selectedExtensionIds):new Set(X);return Fe.has(V)?Fe.delete(V):Fe.add(V),{reviewId:f.meta.id,searchQuery:ce.reviewId===f.meta.id?ce.searchQuery:"",selectedExtensionIds:Fe}})},Gu=()=>{be(V=>({reviewId:f.meta.id,searchQuery:V.reviewId===f.meta.id?V.searchQuery:"",selectedExtensionIds:null}))},$l=()=>{be(V=>({reviewId:f.meta.id,searchQuery:V.reviewId===f.meta.id?V.searchQuery:"",selectedExtensionIds:new Set}))},dt=V=>{T(V),q(!1),window.requestAnimationFrame(()=>{window.setTimeout(()=>G6(V),0)})},$t=V=>{V.preventDefault();const ce=V.clientX,Fe=$,yt=hi=>{const oa=Fe+hi.clientX-ce;I(Math.min(O6,Math.max(C6,oa)))},tl=()=>{window.removeEventListener("pointermove",yt),window.removeEventListener("pointerup",tl)};window.addEventListener("pointermove",yt),window.addEventListener("pointerup",tl,{once:!0})},mt=(V,ce)=>{Se(Fe=>{const yt=Fe.storageKey===nt?Fe.files:of(nt),tl=new Set(yt);return ce?tl.add(V):tl.delete(V),N6(nt,tl),{storageKey:nt,files:tl}})},Yu=async V=>{At(null);try{await l4(u,V,E.id)}catch(ce){At(ce instanceof Error?ce.message:String(ce))}},mi={activeFilePath:Be,extensionBuckets:U,files:H.files,filteredFiles:Pe,searchQuery:Ie,selectedExtensionIds:ue,onClearExtensions:$l,onFileSelect:dt,onSearchChange:di,onSelectAllExtensions:Gu,onToggleExtension:qu},Vu=s.jsx(Q0,{...mi,onCollapse:()=>D(!0)}),pn=s.jsx(Q0,{...mi}),gn=H.files.length===0?null:s.jsxs("div",{className:"empty-diff filtered-empty",children:[s.jsx("h2",{children:"No matching files"}),s.jsx("p",{children:"Adjust the file search or extension filters to show changed files."})]});return s.jsxs("main",{className:"review-shell",children:[s.jsxs("header",{className:"topbar",children:[s.jsxs("div",{className:"topbar-header",children:[s.jsxs("div",{className:"topbar-title",children:[s.jsx("img",{className:"brand-mark",src:"/logo.svg",alt:""}),s.jsxs("div",{className:"review-heading",children:[s.jsx("p",{className:"product-name",children:"Gloss"}),s.jsxs("h1",{children:[sa.icon==="branch"?s.jsx(_u,{className:"review-title-icon",size:18}):null,s.jsx("span",{className:"review-title-text",children:F})]})]})]}),s.jsxs("div",{className:"topbar-actions",children:[s.jsx(J6,{commitDiffs:ve,value:ne,onChange:V=>{G(V),V.mode!=="range"&&te({type:"idle"}),xe(null)}}),s.jsxs("div",{className:"viewed-progress",title:"Viewed files",children:[s.jsx("span",{"aria-hidden":"true",className:"viewed-progress-ring",style:{"--viewed-progress":`${Bu}%`}}),Jl," / ",H.files.length," viewed"]}),s.jsx("button",{"aria-label":"Open file tree",className:"icon-button file-tree-mobile-toggle",title:"Open file tree",type:"button",onClick:()=>q(!0),children:s.jsx(pf,{size:16})}),s.jsx("button",{"aria-label":b?"Unwrap lines":"Wrap lines","aria-pressed":b,className:"icon-button wrap-toggle",title:b?"Unwrap lines":"Wrap lines",type:"button",onClick:()=>M(V=>!V),children:b?s.jsx(Yh,{size:16}):s.jsx(u3,{size:16})}),s.jsx(q6,{}),Kl?s.jsxs("div",{className:"branch-pill",title:Kl.title,children:[s.jsx(_u,{size:16}),s.jsx("span",{children:Kl.label})]}):null]})]}),s.jsx(X6,{scope:oi,selectedTurn:E,stats:ca,turns:f.turns,onSelectTurn:V=>{V!==E.id&&Zl(),Me(V===Ve?null:V)}})]}),He?s.jsx("div",{className:"open-file-message error",children:He}):null,fa?s.jsx("div",{className:"open-file-message error",children:fa}):null,ri?s.jsx("div",{className:"range-loading",children:"Loading range diff"}):null,s.jsxs("div",{className:`review-body ${v?"file-tree-collapsed":""}`,style:{"--file-tree-width":`${$}px`},children:[s.jsx("aside",{className:`review-sidebar ${v?"collapsed":""}`,children:v?s.jsxs("button",{"aria-label":"Expand file tree",className:"file-tree-rail",title:"Expand file tree",type:"button",onClick:()=>D(!1),children:[s.jsx(kh,{size:17}),s.jsx("span",{children:"Files"}),s.jsx("span",{children:Pe.length})]}):s.jsxs(s.Fragment,{children:[Vu,s.jsx("button",{"aria-label":"Resize file tree",className:"file-tree-resize-handle",title:"Resize file tree",type:"button",onPointerDown:$t})]})}),s.jsxs("section",{className:"review-diff-column",children:[at&&!Hu?s.jsx(l5,{record:B}):null,s.jsx(a6,{activeFilePath:Be,contextSource:Lu,diff:H,emptyState:gn,files:Pe,record:B,readOnly:at,reviewId:u,turnId:E.id,viewedFiles:el,wrapLines:b,onOpenFile:Yu,onViewedChange:mt})]})]}),R?s.jsx("dialog",{className:"file-tree-drawer-backdrop","aria-label":"Files",open:!0,children:s.jsxs("aside",{className:"file-tree-drawer",children:[s.jsxs("div",{className:"file-tree-drawer-header",children:[s.jsx("span",{children:"Changed files"}),s.jsx("button",{"aria-label":"Close file tree",className:"icon-button",type:"button",onClick:()=>q(!1),children:s.jsx(gf,{size:16})})]}),pn]})}):null,at?null:s.jsx(E6,{reviewId:u,reviewScope:Uu,onSubmitted:ua})]})}function V6(u,f){return{...u,meta:{...u.meta,activeTurnId:f.id,status:f.status,submittedAt:f.submittedAt,resolvedAt:f.resolvedAt,feedbackPath:f.feedbackPath,markdownPath:f.markdownPath},diff:f.diff,...f.feedback?{feedback:f.feedback}:{feedback:void 0},...f.resolution?{resolution:f.resolution}:{resolution:void 0}}}function X6({scope:u,selectedTurn:f,stats:d,turns:o,onSelectTurn:h}){return s.jsxs("div",{className:"review-context-bar",children:[s.jsxs("div",{className:"review-context-range",title:`${K0("Base",u.base.ref,u.base.sha)} to ${K0("Compare",u.comparison.ref,u.comparison.sha)}`,children:[s.jsx("span",{className:"review-context-ref",children:Z0(u.base.ref,u.base.sha)}),s.jsx(F0,{className:"review-context-arrow",size:14}),s.jsx("span",{className:"review-context-ref",children:Z0(u.comparison.ref,u.comparison.sha)})]}),s.jsx("span",{className:"review-context-divider","aria-hidden":"true"}),s.jsxs("div",{className:"review-context-stats",title:"Changed files",children:[s.jsxs("span",{children:[d.files," ",d.files===1?"file":"files"]}),s.jsxs("span",{className:"summary-add",children:["+",d.additions]}),s.jsxs("span",{className:"summary-del",children:["-",d.deletions]})]}),s.jsx(Q6,{selectedTurn:f,turns:o,onSelect:h})]})}function Q6({selectedTurn:u,turns:f,onSelect:d}){var T;const[o,h]=L.useState(!1),b=L.useRef(null);if(L.useEffect(()=>{if(!o)return;const v=R=>{var q;(q=b.current)!=null&&q.contains(R.target)||h(!1)},D=R=>{R.key==="Escape"&&h(!1)};return window.addEventListener("pointerdown",v),window.addEventListener("keydown",D),()=>{window.removeEventListener("pointerdown",v),window.removeEventListener("keydown",D)}},[o]),!Ad(f))return null;const M=(T=f[f.length-1])==null?void 0:T.id,w=[...f].reverse();return s.jsxs("div",{className:"turn-selector",ref:b,children:[s.jsxs("button",{"aria-expanded":o,"aria-haspopup":"menu",className:"turn-selector-trigger",type:"button",onClick:()=>h(v=>!v),children:[s.jsxs("span",{children:["Turn ",u.index," of ",f.length]}),s.jsx("span",{className:`turn-selector-status ${u.status}`,children:u.status}),s.jsx(ia,{size:14})]}),o?s.jsx("div",{className:"turn-menu",role:"menu","aria-label":"Review turns",children:w.map(v=>{var se;const D=ld(v),R=v.id===u.id,q=v.id===M,$=(se=v.feedback)!=null&&se.reviewScope?E3(v.feedback.reviewScope,v.diff.commitDiffs??[]):null,I=k6(v);return s.jsxs("button",{"aria-checked":R,className:`turn-menu-item ${R?"selected":""}`,role:"menuitemradio",type:"button",onClick:()=>{d(v.id),h(!1)},children:[s.jsxs("span",{className:"turn-menu-title",children:["Turn ",v.index,q?s.jsx("span",{className:"turn-menu-latest",children:"Latest"}):null]}),s.jsxs("span",{className:`turn-menu-meta ${v.status}`,children:[v.status,D.total>0?` · ${D.open} open / ${D.total}`:" · no comments"]}),I?s.jsx("time",{className:"turn-menu-time",dateTime:I,children:Cd(I)}):null,$?s.jsxs("span",{className:"turn-menu-scope",children:["Scope: ",$]}):null]},v.id)})}):null]})}function Z0(u,f){return f?`${u} ${f.slice(0,7)}`:u}function K0(u,f,d){return`${u} ${f}${d?` (${d})`:""}`}function k6(u){var f;return u.status==="resolved"?u.resolvedAt??((f=u.resolution)==null?void 0:f.resolvedAt)??null:u.status==="submitted"?u.submittedAt??null:null}function Z6(u,f){if(u.mode==="all")return u;if(u.mode==="single")return f.some(h=>h.commit.sha===u.sha)?u:{mode:"all"};const d=f.findIndex(h=>h.commit.sha===u.fromSha),o=f.findIndex(h=>h.commit.sha===u.toSha);return d>=0&&o>=d?u:{mode:"all"}}function K6(u,f){switch(f.type){case"idle":return Md;case"loading":return{diff:null,error:null,loading:!0};case"loaded":return{diff:f.diff,error:null,loading:!1};case"failed":return{diff:null,error:f.error,loading:!1}}}function J6({commitDiffs:u,value:f,onChange:d}){const[o,h]=L.useState(!1),[b,M]=L.useState("all"),[w,T]=L.useState(new Set),v=L.useRef(null),D=L.useRef(null),R=L.useMemo(()=>u.map(Z=>({sha:Z.commit.sha,shortSha:Z.commit.shortSha,subject:Z.commit.subject,authorName:Z.commit.authorName,committedAt:Z.commit.committedAt,fileCount:Z.files.length})),[u]);if(L.useEffect(()=>{if(!o)return;D.current=document.activeElement instanceof HTMLElement?document.activeElement:null;const Z=["button:not(:disabled)","input:not(:disabled)","select:not(:disabled)","textarea:not(:disabled)","a[href]",'[tabindex]:not([tabindex="-1"])'].join(","),Me=()=>{var G;return Array.from(((G=v.current)==null?void 0:G.querySelectorAll(Z))??[]).filter(ye=>ye.offsetParent!==null)};window.requestAnimationFrame(()=>{var G;(G=Me()[0]??v.current)==null||G.focus()});const de=G=>{var Se;if(G.key==="Escape"&&h(!1),G.key!=="Tab")return;const ye=Me();if(ye.length===0){G.preventDefault(),(Se=v.current)==null||Se.focus();return}const te=ye[0],K=ye[ye.length-1];G.shiftKey&&document.activeElement===te?(G.preventDefault(),K.focus()):!G.shiftKey&&document.activeElement===K&&(G.preventDefault(),te.focus())};return window.addEventListener("keydown",de),()=>{var G;window.removeEventListener("keydown",de),(G=D.current)==null||G.focus(),D.current=null}},[o]),R.length===0)return null;const q=()=>{const Z=$6(f,R);M(f.mode==="all"||Z.size===0?"all":"selected"),T(Z),h(!0)},$=_d(w,R),I=$.length>0?{from:R[$[0]],to:R[$[$.length-1]],count:$[$.length-1]-$[0]+1}:null,se=b==="all"?`${R.length} ${R.length===1?"commit":"commits"}`:I?I.from.sha===I.to.sha?I.from.shortSha:`${I.count} commits · ${I.from.shortSha} to ${I.to.shortSha}`:"No commits selected",be=b==="all"||$.length>0;return s.jsxs("div",{className:"commit-selector",children:[s.jsxs("button",{"aria-expanded":o,className:"commit-picker-trigger",type:"button",onClick:q,children:[s.jsx(Oh,{size:16}),s.jsx("span",{className:"commit-picker-trigger-text",children:e5(f,R)}),s.jsx(ia,{size:16})]}),o?x3.createPortal(s.jsx("div",{className:"commit-picker-backdrop",children:s.jsxs("dialog",{"aria-labelledby":"commit-picker-title","aria-modal":"true",className:"commit-picker-dialog",ref:v,open:!0,tabIndex:-1,children:[s.jsxs("header",{className:"commit-picker-header",children:[s.jsx("h2",{id:"commit-picker-title",children:"Select commits to view"}),s.jsx("button",{"aria-label":"Close commit picker",className:"icon-button commit-picker-close",type:"button",onClick:()=>h(!1),children:s.jsx(gf,{size:20})})]}),s.jsxs("div",{className:"commit-picker-body",children:[s.jsxs("label",{className:`commit-picker-all ${b==="all"?"selected":""}`,children:[s.jsx("input",{checked:b==="all",className:"commit-picker-checkbox",type:"checkbox",onChange:()=>{M("all"),T(new Set)}}),s.jsxs("span",{className:"commit-picker-all-copy",children:[s.jsx("span",{children:"All commits"}),s.jsxs("span",{children:[R.length," ",R.length===1?"commit":"commits"]})]})]}),s.jsx("div",{className:"commit-picker-section-label",children:"Select a range of commits"}),s.jsx("div",{className:"commit-picker-list",children:R.map(Z=>{const Me=b==="selected"&&w.has(Z.sha);return s.jsxs("label",{className:`commit-picker-row ${Me?"selected":""}`,children:[s.jsx("input",{checked:Me,className:"commit-picker-checkbox",type:"checkbox",onChange:()=>{M("selected"),T(de=>F6(de,Z.sha,R))}}),s.jsxs("span",{className:"commit-picker-row-copy",children:[s.jsx("span",{className:"commit-picker-subject",children:Z.subject}),s.jsxs("span",{className:"commit-picker-meta",children:[Z.authorName," committed ",t5(Z.committedAt)," ","· ",Z.fileCount," ",Z.fileCount===1?"file":"files"]})]}),s.jsx("span",{className:"commit-picker-sha",children:Z.shortSha})]},Z.sha)})})]}),s.jsxs("footer",{className:"commit-picker-footer",children:[s.jsx("span",{className:"commit-picker-summary",children:se}),s.jsx("button",{className:"secondary-button",type:"button",onClick:()=>h(!1),children:"Cancel"}),s.jsxs("button",{className:"primary-button",disabled:!be,type:"button",onClick:()=>{if(b==="all"){d({mode:"all"}),h(!1);return}const Z=W6($,R);Z&&(d(Z),h(!1))},children:[s.jsx(yn,{size:16}),"Save"]})]})]})}),document.body):null]})}function $6(u,f){if(u.mode==="all")return new Set;if(u.mode==="single")return f.some(h=>h.sha===u.sha)?new Set([u.sha]):new Set;const d=f.findIndex(h=>h.sha===u.fromSha),o=f.findIndex(h=>h.sha===u.toSha);return d<0||o<d?new Set:na(d,o,f)}function _d(u,f){const d=[];for(const[o,h]of f.entries())u.has(h.sha)&&d.push(o);return d}function F6(u,f,d){const o=d.findIndex(v=>v.sha===f);if(o<0)return u;const h=_d(u,d);if(!u.has(f)){const v=h.length>0?Math.min(h[0],o):o,D=h.length>0?Math.max(h[h.length-1],o):o;return na(v,D,d)}if(h.length<=1)return new Set;const b=h[0],M=h[h.length-1];if(o<=b)return na(b+1,M,d);if(o>=M)return na(b,M-1,d);const w=o-b,T=M-o;return w>=T?na(b,o-1,d):na(o+1,M,d)}function na(u,f,d){return u<0||f<u?new Set:new Set(d.slice(u,f+1).map(o=>o.sha))}function W6(u,f){if(u.length===0)return null;const d=u[0],o=u[u.length-1];return d===o?{mode:"single",sha:f[d].sha}:{mode:"range",fromSha:f[d].sha,toSha:f[o].sha}}function I6(u){return u.mode==="all"?{mode:"all"}:u.mode==="single"?{mode:"single",sha:u.sha}:{mode:"range",fromSha:u.fromSha,toSha:u.toSha}}function P6(u){return u.mode==="all"?{mode:"turn"}:u.mode==="single"?{mode:"commit",sha:u.sha}:{mode:"range",fromSha:u.fromSha,toSha:u.toSha}}function e5(u,f){if(u.mode==="all")return"All commits";if(u.mode==="single"){const b=f.find(M=>M.sha===u.sha);return b?`${b.shortSha} ${b.subject}`:"One commit"}const d=f.findIndex(b=>b.sha===u.fromSha),o=f.findIndex(b=>b.sha===u.toSha);return d<0||o<d?"Commit range":`${o-d+1} commits · ${f[d].shortSha} to ${f[o].shortSha}`}function t5(u){const f=new Date(u);if(Number.isNaN(f.getTime()))return"recently";const d=Math.round((f.getTime()-Date.now())/1e3),[o,h]=rf.find(([,b])=>Math.abs(d)>=b)??rf[rf.length-1];return L6.format(Math.round(d/h),o)}function l5({record:u}){var o;const f=n5(u);if(!f)return null;const d=u.meta.status==="resolved"?u.meta.resolvedAt??((o=u.resolution)==null?void 0:o.resolvedAt):u.meta.submittedAt;return s.jsxs("section",{className:`review-state-banner ${u.meta.status}`,children:[s.jsxs("div",{className:"review-state-title",children:[s.jsx(I0,{size:16}),s.jsx("span",{children:f.title})]}),s.jsx("p",{children:f.body}),d?s.jsx("time",{dateTime:d,children:Cd(d)}):null]})}function n5(u){const f=u.meta.status,d=ld(u),o=d.total>0?`${d.resolved} of ${d.total} comments resolved`:null;return f==="submitted"?{title:d.resolved>0&&o?`Submitted · ${o}`:"Submitted",body:d.resolved>0?"Feedback is being handled.":"Feedback has been submitted."}:f==="resolved"?{title:o?`Resolved · ${o}`:"Resolved",body:"This feedback turn is resolved."}:null}function Cd(u){return H6.format(new Date(u))}const a5="npx skills add iamrajjoshi/gloss --skill gloss -g -a claude-code",i5=`1. Run gloss open --json from the repo root unless the user names a base ref.
|
|
263
|
-
2. Wait for the browser review to be submitted.
|
|
264
|
-
3. Read feedbackPath from the JSON output.
|
|
265
|
-
4. Address each comment in file and line order.
|
|
266
|
-
5. Validate the fix with the narrowest relevant checks.
|
|
267
|
-
6. Optionally mark individual comments handled:
|
|
268
|
-
gloss resolve <reviewId> --comment <commentId> --summary "<what changed>"
|
|
269
|
-
7. Run gloss resolve <reviewId> --summary "<what changed>", then summarize what changed.`;function u5(){return s.jsxs("main",{className:"setup-page",children:[s.jsxs("nav",{className:"setup-nav","aria-label":"Gloss setup",children:[s.jsxs("a",{className:"marketing-wordmark",href:"/",children:[s.jsx("img",{className:"brand-mark",src:"/logo.svg",alt:"","aria-hidden":"true"}),"Gloss"]}),s.jsx("a",{href:"/setup.md",children:"Raw setup.md"})]}),s.jsxs("header",{className:"setup-header",children:[s.jsx("h1",{children:"Set up Gloss for agent reviews."}),s.jsx("p",{children:"Install the CLI, then add the Gloss instruction block to the file your coding agent already reads."})]}),s.jsxs("section",{className:"setup-section",children:[s.jsx("h2",{children:"Install"}),s.jsx("pre",{children:"brew install iamrajjoshi/tap/gloss"}),s.jsx("pre",{children:"npm install -g getgloss"}),s.jsx("pre",{children:"gloss help"})]}),s.jsxs("section",{className:"setup-section",children:[s.jsx("h2",{children:"Agent Instruction"}),s.jsx("p",{children:"Give a new agent chat this instruction:"}),s.jsx("pre",{children:"Install Gloss with Homebrew or npm. Then read https://getgloss.dev/setup.md."})]}),s.jsxs("section",{className:"setup-section",children:[s.jsx("h2",{children:"Claude Code Skill"}),s.jsxs("p",{children:["Gloss ships a packaged skill at ",s.jsx("code",{children:"skill/SKILL.md"}),". Install it when you want Claude Code to know when and how to use Gloss."]}),s.jsx("pre",{children:a5}),s.jsx("p",{children:"The skill pairs the CLI with the browser app:"}),s.jsx("pre",{children:i5})]}),s.jsxs("section",{className:"setup-section",children:[s.jsx("h2",{children:"Persistent Instructions"}),s.jsx("p",{children:"Add the canonical Gloss block to the instruction file your agent actually loads."}),s.jsx("pre",{children:"curl -fsSL https://getgloss.dev/prompt.md >> /absolute/path/to/AGENTS.md"}),s.jsxs("ul",{children:[s.jsxs("li",{children:["Codex usually reads ",s.jsx("code",{children:"${CODEX_HOME:-$HOME/.codex}/AGENTS.md"}),"."]}),s.jsxs("li",{children:["Claude Code usually reads ",s.jsx("code",{children:"$HOME/.claude/CLAUDE.md"}),"."]}),s.jsxs("li",{children:["Project-local agents often read ",s.jsx("code",{children:"AGENTS.md"})," from the repo root."]})]})]}),s.jsxs("section",{className:"setup-section",children:[s.jsx("h2",{children:"Use"}),s.jsx("pre",{children:"gloss open --json"}),s.jsxs("p",{children:["Leave the command running. Gloss exits after the browser review is submitted and writes feedback under ",s.jsx("code",{children:"~/.gloss/reviews/<reviewId>/"}),"."]}),s.jsxs("p",{children:["In the browser review, ",s.jsx("code",{children:"Command+Enter"})," saves the active draft comment and"," ",s.jsx("code",{children:"Command+Shift+Enter"})," submits already-saved comments."]}),s.jsx("p",{children:"Start a fresh session with the same command for follow-up diffs."})]}),s.jsx("section",{className:"setup-note",children:s.jsxs("p",{children:["Agents should read ",s.jsx("a",{href:"/setup.md",children:"/setup.md"}),". This page is the browser-friendly version."]})})]})}function c5(){if(window.location.pathname==="/setup"||window.location.pathname==="/setup/")return s.jsx(u5,{});const u=/^\/review\/([^/]+)/.exec(window.location.pathname);return u?s.jsx(B6,{reviewId:u[1]}):s.jsx(S3,{})}Im.createRoot(document.getElementById("root")).render(s.jsx(ai.StrictMode,{children:s.jsx(A4,{children:s.jsx(c5,{})})}));export{jf as a,xf as b,si as d};
|