getgloss 0.13.2 → 0.13.3
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 +1 -1
- package/dist/server/daemon.js.map +1 -1
- package/dist/web/assets/{index-CIEjEgi6.js → index-8vMs5Sir.js} +60 -60
- package/dist/web/assets/{index-Du5EuwDc.css → index-CHeLVBIi.css} +1 -1
- package/dist/web/assets/{syntax-DrIezw90.js → syntax-Cl5tCgsJ.js} +1 -1
- package/dist/web/index.html +2 -2
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(){const u=document.createElement("link").relList;if(u&&u.supports&&u.supports("modulepreload"))return;for(const h of document.querySelectorAll('link[rel="modulepreload"]'))r(h);new MutationObserver(h=>{for(const y of h)if(y.type==="childList")for(const z of y.addedNodes)z.tagName==="LINK"&&z.rel==="modulepreload"&&r(z)}).observe(document,{childList:!0,subtree:!0});function f(h){const y={};return h.integrity&&(y.integrity=h.integrity),h.referrerPolicy&&(y.referrerPolicy=h.referrerPolicy),h.crossOrigin==="use-credentials"?y.credentials="include":h.crossOrigin==="anonymous"?y.credentials="omit":y.credentials="same-origin",y}function r(h){if(h.ep)return;h.ep=!0;const y=f(h);fetch(h.href,y)}})();function
|
|
1
|
+
(function(){const u=document.createElement("link").relList;if(u&&u.supports&&u.supports("modulepreload"))return;for(const h of document.querySelectorAll('link[rel="modulepreload"]'))r(h);new MutationObserver(h=>{for(const y of h)if(y.type==="childList")for(const z of y.addedNodes)z.tagName==="LINK"&&z.rel==="modulepreload"&&r(z)}).observe(document,{childList:!0,subtree:!0});function f(h){const y={};return h.integrity&&(y.integrity=h.integrity),h.referrerPolicy&&(y.referrerPolicy=h.referrerPolicy),h.crossOrigin==="use-credentials"?y.credentials="include":h.crossOrigin==="anonymous"?y.credentials="omit":y.credentials="same-origin",y}function r(h){if(h.ep)return;h.ep=!0;const y=f(h);fetch(h.href,y)}})();function L3(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var zo={exports:{}},xi={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.production.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var Ff;function
|
|
9
|
+
*/var Ff;function H3(){if(Ff)return xi;Ff=1;var a=Symbol.for("react.transitional.element"),u=Symbol.for("react.fragment");function f(r,h,y){var z=null;if(y!==void 0&&(z=""+y),h.key!==void 0&&(z=""+h.key),"key"in h){y={};for(var C in h)C!=="key"&&(y[C]=h[C])}else y=h;return h=y.ref,{$$typeof:a,type:r,key:z,ref:h!==void 0?h:null,props:y}}return xi.Fragment=u,xi.jsx=f,xi.jsxs=f,xi}var Wf;function k3(){return Wf||(Wf=1,zo.exports=H3()),zo.exports}var s=k3(),To={exports:{}},ge={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react.production.js
|
|
12
12
|
*
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var If;function
|
|
17
|
+
*/var If;function U3(){if(If)return ge;If=1;var a=Symbol.for("react.transitional.element"),u=Symbol.for("react.portal"),f=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),h=Symbol.for("react.profiler"),y=Symbol.for("react.consumer"),z=Symbol.for("react.context"),C=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),D=Symbol.for("react.activity"),U=Symbol.iterator;function B(g){return g===null||typeof g!="object"?null:(g=U&&g[U]||g["@@iterator"],typeof g=="function"?g:null)}var $={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},he=Object.assign,me={};function Z(g,R,Q){this.props=g,this.context=R,this.refs=me,this.updater=Q||$}Z.prototype.isReactComponent={},Z.prototype.setState=function(g,R){if(typeof g!="object"&&typeof g!="function"&&g!=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,g,R,"setState")},Z.prototype.forceUpdate=function(g){this.updater.enqueueForceUpdate(this,g,"forceUpdate")};function je(){}je.prototype=Z.prototype;function re(g,R,Q){this.props=g,this.context=R,this.refs=me,this.updater=Q||$}var K=re.prototype=new je;K.constructor=re,he(K,Z.prototype),K.isPureReactComponent=!0;var fe=Array.isArray;function oe(){}var W={H:null,A:null,T:null,S:null},be=Object.prototype.hasOwnProperty;function Oe(g,R,Q){var J=Q.ref;return{$$typeof:a,type:g,key:R,ref:J!==void 0?J:null,props:Q}}function G(g,R){return Oe(g.type,R,g.props)}function I(g){return typeof g=="object"&&g!==null&&g.$$typeof===a}function q(g){var R={"=":"=0",":":"=2"};return"$"+g.replace(/[=:]/g,function(Q){return R[Q]})}var ie=/\/+/g;function ae(g,R){return typeof g=="object"&&g!==null&&g.key!=null?q(""+g.key):R.toString(36)}function De(g){switch(g.status){case"fulfilled":return g.value;case"rejected":throw g.reason;default:switch(typeof g.status=="string"?g.then(oe,oe):(g.status="pending",g.then(function(R){g.status==="pending"&&(g.status="fulfilled",g.value=R)},function(R){g.status==="pending"&&(g.status="rejected",g.reason=R)})),g.status){case"fulfilled":return g.value;case"rejected":throw g.reason}}throw g}function M(g,R,Q,J,k){var V=typeof g;(V==="undefined"||V==="boolean")&&(g=null);var b=!1;if(g===null)b=!0;else switch(V){case"bigint":case"string":case"number":b=!0;break;case"object":switch(g.$$typeof){case a:case u:b=!0;break;case T:return b=g._init,M(b(g._payload),R,Q,J,k)}}if(b)return k=k(g),b=J===""?"."+ae(g,0):J,fe(k)?(Q="",b!=null&&(Q=b.replace(ie,"$&/")+"/"),M(k,R,Q,"",function(ce){return ce})):k!=null&&(I(k)&&(k=G(k,Q+(k.key==null||g&&g.key===k.key?"":(""+k.key).replace(ie,"$&/")+"/")+b)),R.push(k)),1;b=0;var Y=J===""?".":J+":";if(fe(g))for(var F=0;F<g.length;F++)J=g[F],V=Y+ae(J,F),b+=M(J,R,Q,V,k);else if(F=B(g),typeof F=="function")for(g=F.call(g),F=0;!(J=g.next()).done;)J=J.value,V=Y+ae(J,F++),b+=M(J,R,Q,V,k);else if(V==="object"){if(typeof g.then=="function")return M(De(g),R,Q,J,k);throw R=String(g),Error("Objects are not valid as a React child (found: "+(R==="[object Object]"?"object with keys {"+Object.keys(g).join(", ")+"}":R)+"). If you meant to render a collection of children, use an array instead.")}return b}function X(g,R,Q){if(g==null)return g;var J=[],k=0;return M(g,J,"","",function(V){return R.call(Q,V,k++)}),J}function ne(g){if(g._status===-1){var R=g._result;R=R(),R.then(function(Q){(g._status===0||g._status===-1)&&(g._status=1,g._result=Q)},function(Q){(g._status===0||g._status===-1)&&(g._status=2,g._result=Q)}),g._status===-1&&(g._status=0,g._result=R)}if(g._status===1)return g._result.default;throw g._result}var ve=typeof reportError=="function"?reportError:function(g){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var R=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof g=="object"&&g!==null&&typeof g.message=="string"?String(g.message):String(g),error:g});if(!window.dispatchEvent(R))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",g);return}console.error(g)},ye={map:X,forEach:function(g,R,Q){X(g,function(){R.apply(this,arguments)},Q)},count:function(g){var R=0;return X(g,function(){R++}),R},toArray:function(g){return X(g,function(R){return R})||[]},only:function(g){if(!I(g))throw Error("React.Children.only expected to receive a single React element child.");return g}};return ge.Activity=D,ge.Children=ye,ge.Component=Z,ge.Fragment=f,ge.Profiler=h,ge.PureComponent=re,ge.StrictMode=r,ge.Suspense=x,ge.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=W,ge.__COMPILER_RUNTIME={__proto__:null,c:function(g){return W.H.useMemoCache(g)}},ge.cache=function(g){return function(){return g.apply(null,arguments)}},ge.cacheSignal=function(){return null},ge.cloneElement=function(g,R,Q){if(g==null)throw Error("The argument must be a React element, but you passed "+g+".");var J=he({},g.props),k=g.key;if(R!=null)for(V in R.key!==void 0&&(k=""+R.key),R)!be.call(R,V)||V==="key"||V==="__self"||V==="__source"||V==="ref"&&R.ref===void 0||(J[V]=R[V]);var V=arguments.length-2;if(V===1)J.children=Q;else if(1<V){for(var b=Array(V),Y=0;Y<V;Y++)b[Y]=arguments[Y+2];J.children=b}return Oe(g.type,k,J)},ge.createContext=function(g){return g={$$typeof:z,_currentValue:g,_currentValue2:g,_threadCount:0,Provider:null,Consumer:null},g.Provider=g,g.Consumer={$$typeof:y,_context:g},g},ge.createElement=function(g,R,Q){var J,k={},V=null;if(R!=null)for(J in R.key!==void 0&&(V=""+R.key),R)be.call(R,J)&&J!=="key"&&J!=="__self"&&J!=="__source"&&(k[J]=R[J]);var b=arguments.length-2;if(b===1)k.children=Q;else if(1<b){for(var Y=Array(b),F=0;F<b;F++)Y[F]=arguments[F+2];k.children=Y}if(g&&g.defaultProps)for(J in b=g.defaultProps,b)k[J]===void 0&&(k[J]=b[J]);return Oe(g,V,k)},ge.createRef=function(){return{current:null}},ge.forwardRef=function(g){return{$$typeof:C,render:g}},ge.isValidElement=I,ge.lazy=function(g){return{$$typeof:T,_payload:{_status:-1,_result:g},_init:ne}},ge.memo=function(g,R){return{$$typeof:m,type:g,compare:R===void 0?null:R}},ge.startTransition=function(g){var R=W.T,Q={};W.T=Q;try{var J=g(),k=W.S;k!==null&&k(Q,J),typeof J=="object"&&J!==null&&typeof J.then=="function"&&J.then(oe,ve)}catch(V){ve(V)}finally{R!==null&&Q.types!==null&&(R.types=Q.types),W.T=R}},ge.unstable_useCacheRefresh=function(){return W.H.useCacheRefresh()},ge.use=function(g){return W.H.use(g)},ge.useActionState=function(g,R,Q){return W.H.useActionState(g,R,Q)},ge.useCallback=function(g,R){return W.H.useCallback(g,R)},ge.useContext=function(g){return W.H.useContext(g)},ge.useDebugValue=function(){},ge.useDeferredValue=function(g,R){return W.H.useDeferredValue(g,R)},ge.useEffect=function(g,R){return W.H.useEffect(g,R)},ge.useEffectEvent=function(g){return W.H.useEffectEvent(g)},ge.useId=function(){return W.H.useId()},ge.useImperativeHandle=function(g,R,Q){return W.H.useImperativeHandle(g,R,Q)},ge.useInsertionEffect=function(g,R){return W.H.useInsertionEffect(g,R)},ge.useLayoutEffect=function(g,R){return W.H.useLayoutEffect(g,R)},ge.useMemo=function(g,R){return W.H.useMemo(g,R)},ge.useOptimistic=function(g,R){return W.H.useOptimistic(g,R)},ge.useReducer=function(g,R,Q){return W.H.useReducer(g,R,Q)},ge.useRef=function(g){return W.H.useRef(g)},ge.useState=function(g){return W.H.useState(g)},ge.useSyncExternalStore=function(g,R,Q){return W.H.useSyncExternalStore(g,R,Q)},ge.useTransition=function(){return W.H.useTransition()},ge.version="19.2.6",ge}var Pf;function Ko(){return Pf||(Pf=1,To.exports=U3()),To.exports}var N=Ko();const wi=L3(N);var Mo={exports:{}},ji={},Ao={exports:{}},Co={};/**
|
|
18
18
|
* @license React
|
|
19
19
|
* scheduler.production.js
|
|
20
20
|
*
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
*
|
|
23
23
|
* This source code is licensed under the MIT license found in the
|
|
24
24
|
* LICENSE file in the root directory of this source tree.
|
|
25
|
-
*/var e2;function
|
|
25
|
+
*/var e2;function B3(){return e2||(e2=1,(function(a){function u(M,X){var ne=M.length;M.push(X);e:for(;0<ne;){var ve=ne-1>>>1,ye=M[ve];if(0<h(ye,X))M[ve]=X,M[ne]=ye,ne=ve;else break e}}function f(M){return M.length===0?null:M[0]}function r(M){if(M.length===0)return null;var X=M[0],ne=M.pop();if(ne!==X){M[0]=ne;e:for(var ve=0,ye=M.length,g=ye>>>1;ve<g;){var R=2*(ve+1)-1,Q=M[R],J=R+1,k=M[J];if(0>h(Q,ne))J<ye&&0>h(k,Q)?(M[ve]=k,M[J]=ne,ve=J):(M[ve]=Q,M[R]=ne,ve=R);else if(J<ye&&0>h(k,ne))M[ve]=k,M[J]=ne,ve=J;else break e}}return X}function h(M,X){var ne=M.sortIndex-X.sortIndex;return ne!==0?ne:M.id-X.id}if(a.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var y=performance;a.unstable_now=function(){return y.now()}}else{var z=Date,C=z.now();a.unstable_now=function(){return z.now()-C}}var x=[],m=[],T=1,D=null,U=3,B=!1,$=!1,he=!1,me=!1,Z=typeof setTimeout=="function"?setTimeout:null,je=typeof clearTimeout=="function"?clearTimeout:null,re=typeof setImmediate<"u"?setImmediate:null;function K(M){for(var X=f(m);X!==null;){if(X.callback===null)r(m);else if(X.startTime<=M)r(m),X.sortIndex=X.expirationTime,u(x,X);else break;X=f(m)}}function fe(M){if(he=!1,K(M),!$)if(f(x)!==null)$=!0,oe||(oe=!0,q());else{var X=f(m);X!==null&&De(fe,X.startTime-M)}}var oe=!1,W=-1,be=5,Oe=-1;function G(){return me?!0:!(a.unstable_now()-Oe<be)}function I(){if(me=!1,oe){var M=a.unstable_now();Oe=M;var X=!0;try{e:{$=!1,he&&(he=!1,je(W),W=-1),B=!0;var ne=U;try{t:{for(K(M),D=f(x);D!==null&&!(D.expirationTime>M&&G());){var ve=D.callback;if(typeof ve=="function"){D.callback=null,U=D.priorityLevel;var ye=ve(D.expirationTime<=M);if(M=a.unstable_now(),typeof ye=="function"){D.callback=ye,K(M),X=!0;break t}D===f(x)&&r(x),K(M)}else r(x);D=f(x)}if(D!==null)X=!0;else{var g=f(m);g!==null&&De(fe,g.startTime-M),X=!1}}break e}finally{D=null,U=ne,B=!1}X=void 0}}finally{X?q():oe=!1}}}var q;if(typeof re=="function")q=function(){re(I)};else if(typeof MessageChannel<"u"){var ie=new MessageChannel,ae=ie.port2;ie.port1.onmessage=I,q=function(){ae.postMessage(null)}}else q=function(){Z(I,0)};function De(M,X){W=Z(function(){M(a.unstable_now())},X)}a.unstable_IdlePriority=5,a.unstable_ImmediatePriority=1,a.unstable_LowPriority=4,a.unstable_NormalPriority=3,a.unstable_Profiling=null,a.unstable_UserBlockingPriority=2,a.unstable_cancelCallback=function(M){M.callback=null},a.unstable_forceFrameRate=function(M){0>M||125<M?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):be=0<M?Math.floor(1e3/M):5},a.unstable_getCurrentPriorityLevel=function(){return U},a.unstable_next=function(M){switch(U){case 1:case 2:case 3:var X=3;break;default:X=U}var ne=U;U=X;try{return M()}finally{U=ne}},a.unstable_requestPaint=function(){me=!0},a.unstable_runWithPriority=function(M,X){switch(M){case 1:case 2:case 3:case 4:case 5:break;default:M=3}var ne=U;U=M;try{return X()}finally{U=ne}},a.unstable_scheduleCallback=function(M,X,ne){var ve=a.unstable_now();switch(typeof ne=="object"&&ne!==null?(ne=ne.delay,ne=typeof ne=="number"&&0<ne?ve+ne:ve):ne=ve,M){case 1:var ye=-1;break;case 2:ye=250;break;case 5:ye=1073741823;break;case 4:ye=1e4;break;default:ye=5e3}return ye=ne+ye,M={id:T++,callback:X,priorityLevel:M,startTime:ne,expirationTime:ye,sortIndex:-1},ne>ve?(M.sortIndex=ne,u(m,M),f(x)===null&&M===f(m)&&(he?(je(W),W=-1):he=!0,De(fe,ne-ve))):(M.sortIndex=ye,u(x,M),$||B||($=!0,oe||(oe=!0,q()))),M},a.unstable_shouldYield=G,a.unstable_wrapCallback=function(M){var X=U;return function(){var ne=U;U=X;try{return M.apply(this,arguments)}finally{U=ne}}}})(Co)),Co}var t2;function q3(){return t2||(t2=1,Ao.exports=B3()),Ao.exports}var _o={exports:{}},St={};/**
|
|
26
26
|
* @license React
|
|
27
27
|
* react-dom.production.js
|
|
28
28
|
*
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
*
|
|
31
31
|
* This source code is licensed under the MIT license found in the
|
|
32
32
|
* LICENSE file in the root directory of this source tree.
|
|
33
|
-
*/var n2;function
|
|
33
|
+
*/var n2;function G3(){if(n2)return St;n2=1;var a=Ko();function u(x){var m="https://react.dev/errors/"+x;if(1<arguments.length){m+="?args[]="+encodeURIComponent(arguments[1]);for(var T=2;T<arguments.length;T++)m+="&args[]="+encodeURIComponent(arguments[T])}return"Minified React error #"+x+"; visit "+m+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function f(){}var r={d:{f,r:function(){throw Error(u(522))},D:f,C:f,L:f,m:f,X:f,S:f,M:f},p:0,findDOMNode:null},h=Symbol.for("react.portal");function y(x,m,T){var D=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:h,key:D==null?null:""+D,children:x,containerInfo:m,implementation:T}}var z=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function C(x,m){if(x==="font")return"";if(typeof m=="string")return m==="use-credentials"?m:""}return St.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,St.createPortal=function(x,m){var T=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!m||m.nodeType!==1&&m.nodeType!==9&&m.nodeType!==11)throw Error(u(299));return y(x,m,null,T)},St.flushSync=function(x){var m=z.T,T=r.p;try{if(z.T=null,r.p=2,x)return x()}finally{z.T=m,r.p=T,r.d.f()}},St.preconnect=function(x,m){typeof x=="string"&&(m?(m=m.crossOrigin,m=typeof m=="string"?m==="use-credentials"?m:"":void 0):m=null,r.d.C(x,m))},St.prefetchDNS=function(x){typeof x=="string"&&r.d.D(x)},St.preinit=function(x,m){if(typeof x=="string"&&m&&typeof m.as=="string"){var T=m.as,D=C(T,m.crossOrigin),U=typeof m.integrity=="string"?m.integrity:void 0,B=typeof m.fetchPriority=="string"?m.fetchPriority:void 0;T==="style"?r.d.S(x,typeof m.precedence=="string"?m.precedence:void 0,{crossOrigin:D,integrity:U,fetchPriority:B}):T==="script"&&r.d.X(x,{crossOrigin:D,integrity:U,fetchPriority:B,nonce:typeof m.nonce=="string"?m.nonce:void 0})}},St.preinitModule=function(x,m){if(typeof x=="string")if(typeof m=="object"&&m!==null){if(m.as==null||m.as==="script"){var T=C(m.as,m.crossOrigin);r.d.M(x,{crossOrigin:T,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0})}}else m==null&&r.d.M(x)},St.preload=function(x,m){if(typeof x=="string"&&typeof m=="object"&&m!==null&&typeof m.as=="string"){var T=m.as,D=C(T,m.crossOrigin);r.d.L(x,T,{crossOrigin:D,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0,type:typeof m.type=="string"?m.type:void 0,fetchPriority:typeof m.fetchPriority=="string"?m.fetchPriority:void 0,referrerPolicy:typeof m.referrerPolicy=="string"?m.referrerPolicy:void 0,imageSrcSet:typeof m.imageSrcSet=="string"?m.imageSrcSet:void 0,imageSizes:typeof m.imageSizes=="string"?m.imageSizes:void 0,media:typeof m.media=="string"?m.media:void 0})}},St.preloadModule=function(x,m){if(typeof x=="string")if(m){var T=C(m.as,m.crossOrigin);r.d.m(x,{as:typeof m.as=="string"&&m.as!=="script"?m.as:void 0,crossOrigin:T,integrity:typeof m.integrity=="string"?m.integrity:void 0})}else r.d.m(x)},St.requestFormReset=function(x){r.d.r(x)},St.unstable_batchedUpdates=function(x,m){return x(m)},St.useFormState=function(x,m,T){return z.H.useFormState(x,m,T)},St.useFormStatus=function(){return z.H.useHostTransitionStatus()},St.version="19.2.6",St}var l2;function L2(){if(l2)return _o.exports;l2=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(u){console.error(u)}}return a(),_o.exports=G3(),_o.exports}/**
|
|
34
34
|
* @license React
|
|
35
35
|
* react-dom-client.production.js
|
|
36
36
|
*
|
|
@@ -38,15 +38,15 @@
|
|
|
38
38
|
*
|
|
39
39
|
* This source code is licensed under the MIT license found in the
|
|
40
40
|
* LICENSE file in the root directory of this source tree.
|
|
41
|
-
*/var a2;function
|
|
41
|
+
*/var a2;function V3(){if(a2)return ji;a2=1;var a=q3(),u=Ko(),f=L2();function r(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function h(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function y(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function z(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 C(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 x(e){if(y(e)!==e)throw Error(r(188))}function m(e){var t=e.alternate;if(!t){if(t=y(e),t===null)throw Error(r(188));return t!==e?null:e}for(var n=e,l=t;;){var i=n.return;if(i===null)break;var c=i.alternate;if(c===null){if(l=i.return,l!==null){n=l;continue}break}if(i.child===c.child){for(c=i.child;c;){if(c===n)return x(i),e;if(c===l)return x(i),t;c=c.sibling}throw Error(r(188))}if(n.return!==l.return)n=i,l=c;else{for(var o=!1,d=i.child;d;){if(d===n){o=!0,n=i,l=c;break}if(d===l){o=!0,l=i,n=c;break}d=d.sibling}if(!o){for(d=c.child;d;){if(d===n){o=!0,n=c,l=i;break}if(d===l){o=!0,l=c,n=i;break}d=d.sibling}if(!o)throw Error(r(189))}}if(n.alternate!==l)throw Error(r(190))}if(n.tag!==3)throw Error(r(188));return n.stateNode.current===n?e:t}function T(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=T(e),t!==null)return t;e=e.sibling}return null}var D=Object.assign,U=Symbol.for("react.element"),B=Symbol.for("react.transitional.element"),$=Symbol.for("react.portal"),he=Symbol.for("react.fragment"),me=Symbol.for("react.strict_mode"),Z=Symbol.for("react.profiler"),je=Symbol.for("react.consumer"),re=Symbol.for("react.context"),K=Symbol.for("react.forward_ref"),fe=Symbol.for("react.suspense"),oe=Symbol.for("react.suspense_list"),W=Symbol.for("react.memo"),be=Symbol.for("react.lazy"),Oe=Symbol.for("react.activity"),G=Symbol.for("react.memo_cache_sentinel"),I=Symbol.iterator;function q(e){return e===null||typeof e!="object"?null:(e=I&&e[I]||e["@@iterator"],typeof e=="function"?e:null)}var ie=Symbol.for("react.client.reference");function ae(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===ie?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case he:return"Fragment";case Z:return"Profiler";case me:return"StrictMode";case fe:return"Suspense";case oe:return"SuspenseList";case Oe:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case $:return"Portal";case re:return e.displayName||"Context";case je:return(e._context.displayName||"Context")+".Consumer";case K:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case W:return t=e.displayName||null,t!==null?t:ae(e.type)||"Memo";case be:t=e._payload,e=e._init;try{return ae(e(t))}catch{}}return null}var De=Array.isArray,M=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,X=f.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ne={pending:!1,data:null,method:null,action:null},ve=[],ye=-1;function g(e){return{current:e}}function R(e){0>ye||(e.current=ve[ye],ve[ye]=null,ye--)}function Q(e,t){ye++,ve[ye]=e.current,e.current=t}var J=g(null),k=g(null),V=g(null),b=g(null);function Y(e,t){switch(Q(V,t),Q(k,e),Q(J,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?bf(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=bf(t),e=Sf(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}R(J),Q(J,e)}function F(){R(J),R(k),R(V)}function ce(e){e.memoizedState!==null&&Q(b,e);var t=J.current,n=Sf(t,e.type);t!==n&&(Q(k,e),Q(J,n))}function pe(e){k.current===e&&(R(J),R(k)),b.current===e&&(R(b),gi._currentValue=ne)}var Me,et;function Xe(e){if(Me===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Me=t&&t[1]||"",et=-1<n.stack.indexOf(`
|
|
42
42
|
at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
43
43
|
`+Me+e+et}var lt=!1;function ot(e,t){if(!e||lt)return"";lt=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(t){var L=function(){throw Error()};if(Object.defineProperty(L.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(L,[])}catch(A){var w=A}Reflect.construct(e,[],L)}else{try{L.call()}catch(A){w=A}e.call(L.prototype)}}else{try{throw Error()}catch(A){w=A}(L=e())&&typeof L.catch=="function"&&L.catch(function(){})}}catch(A){if(A&&w&&typeof A.stack=="string")return[A.stack,w.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var i=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");i&&i.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var c=l.DetermineComponentFrameRoot(),o=c[0],d=c[1];if(o&&d){var p=o.split(`
|
|
44
44
|
`),E=d.split(`
|
|
45
45
|
`);for(i=l=0;l<p.length&&!p[l].includes("DetermineComponentFrameRoot");)l++;for(;i<E.length&&!E[i].includes("DetermineComponentFrameRoot");)i++;if(l===p.length||i===E.length)for(l=p.length-1,i=E.length-1;1<=l&&0<=i&&p[l]!==E[i];)i--;for(;1<=l&&0<=i;l--,i--)if(p[l]!==E[i]){if(l!==1||i!==1)do if(l--,i--,0>i||p[l]!==E[i]){var _=`
|
|
46
46
|
`+p[l].replace(" at new "," at ");return e.displayName&&_.includes("<anonymous>")&&(_=_.replace("<anonymous>",e.displayName)),_}while(1<=l&&0<=i);break}}}finally{lt=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?Xe(n):""}function rt(e,t){switch(e.tag){case 26:case 27:case 5:return Xe(e.type);case 16:return Xe("Lazy");case 13:return e.child!==t&&t!==null?Xe("Suspense Fallback"):Xe("Suspense");case 19:return Xe("SuspenseList");case 0:case 15:return ot(e.type,!1);case 11:return ot(e.type.render,!1);case 1:return ot(e.type,!0);case 31:return Xe("Activity");default:return""}}function xt(e){try{var t="",n=null;do t+=rt(e,n),n=e,e=e.return;while(e);return t}catch(l){return`
|
|
47
47
|
Error generating stack: `+l.message+`
|
|
48
|
-
`+l.stack}}var ul=Object.prototype.hasOwnProperty,ol=a.unstable_scheduleCallback,On=a.unstable_cancelCallback,rl=a.unstable_shouldYield,hs=a.unstable_requestPaint,mt=a.unstable_now,wa=a.unstable_getCurrentPriorityLevel,Dn=a.unstable_ImmediatePriority,en=a.unstable_UserBlockingPriority,rn=a.unstable_NormalPriority,_i=a.unstable_LowPriority,fl=a.unstable_IdlePriority,ql=a.log,Na=a.unstable_setDisableYieldValue,fn=null,jt=null;function tn(e){if(typeof ql=="function"&&Na(e),jt&&typeof jt.setStrictMode=="function")try{jt.setStrictMode(fn,e)}catch{}}var Et=Math.clz32?Math.clz32:Ta,za=Math.log,ms=Math.LN2;function Ta(e){return e>>>=0,e===0?32:31-(za(e)/ms|0)|0}var dn=256,Gl=262144,dl=4194304;function hn(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 hl(e,t,n){var l=e.pendingLanes;if(l===0)return 0;var i=0,c=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var d=l&134217727;return d!==0?(l=d&~c,l!==0?i=hn(l):(o&=d,o!==0?i=hn(o):n||(n=d&~e,n!==0&&(i=hn(n))))):(d=l&~c,d!==0?i=hn(d):o!==0?i=hn(o):n||(n=l&~e,n!==0&&(i=hn(n)))),i===0?0:t!==0&&t!==i&&(t&c)===0&&(c=i&-i,n=t&-t,c>=n||c===32&&(n&4194048)!==0)?t:i}function Ln(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function ps(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 Ri(){var e=dl;return dl<<=1,(dl&62914560)===0&&(dl=4194304),e}function Ma(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ml(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function ys(e,t,n,l,i,c){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var d=e.entanglements,p=e.expirationTimes,E=e.hiddenUpdates;for(n=o&~n;0<n;){var _=31-Et(n),L=1<<_;d[_]=0,p[_]=-1;var w=E[_];if(w!==null)for(E[_]=null,_=0;_<w.length;_++){var A=w[_];A!==null&&(A.lane&=-536870913)}n&=~L}l!==0&&Oi(e,l,0),c!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=c&~(o&~t))}function Oi(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var l=31-Et(t);e.entangledLanes|=t,e.entanglements[l]=e.entanglements[l]|1073741824|n&261930}function Di(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var l=31-Et(n),i=1<<l;i&t|e[l]&t&&(e[l]|=t),n&=~i}}function Aa(e,t){var n=t&-t;return n=(n&42)!==0?1:Ca(n),(n&(e.suspendedLanes|t))!==0?0:n}function Ca(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 _a(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Li(){var e=X.p;return e!==0?e:(e=window.event,e===void 0?32:Yf(e.type))}function Hi(e,t){var n=X.p;try{return X.p=e,t()}finally{X.p=n}}var nn=Math.random().toString(36).slice(2),ft="__reactFiber$"+nn,bt="__reactProps$"+nn,Hn="__reactContainer$"+nn,Ra="__reactEvents$"+nn,gs="__reactListeners$"+nn,ki="__reactHandles$"+nn,Ui="__reactResources$"+nn,pl="__reactMarker$"+nn;function Oa(e){delete e[ft],delete e[bt],delete e[Ra],delete e[gs],delete e[ki]}function H(e){var t=e[ft];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Hn]||n[ft]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Tf(e);e!==null;){if(n=e[ft])return n;e=Tf(e)}return t}e=n,n=e.parentNode}return null}function P(e){if(e=e[ft]||e[Hn]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function ue(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(r(33))}function Fe(e){var t=e[Ui];return t||(t=e[Ui]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Ze(e){e[pl]=!0}var Bi=new Set,qi={};function yl(e,t){Vl(e,t),Vl(e+"Capture",t)}function Vl(e,t){for(qi[e]=t,e=0;e<t.length;e++)Bi.add(t[e])}var Nd=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]*$"),u1={},o1={};function zd(e){return ul.call(o1,e)?!0:ul.call(u1,e)?!1:Nd.test(e)?o1[e]=!0:(u1[e]=!0,!1)}function Gi(e,t,n){if(zd(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var l=t.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+n)}}function Vi(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+n)}}function mn(e,t,n,l){if(l===null)e.removeAttribute(n);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttributeNS(t,n,""+l)}}function Bt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function r1(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Td(e,t,n){var l=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var i=l.get,c=l.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){n=""+o,c.call(this,o)}}),Object.defineProperty(e,t,{enumerable:l.enumerable}),{getValue:function(){return n},setValue:function(o){n=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function vs(e){if(!e._valueTracker){var t=r1(e)?"checked":"value";e._valueTracker=Td(e,t,""+e[t])}}function f1(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),l="";return e&&(l=r1(e)?e.checked?"true":"false":e.value),e=l,e!==n?(t.setValue(e),!0):!1}function Yi(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 Md=/[\n"\\]/g;function qt(e){return e.replace(Md,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function bs(e,t,n,l,i,c,o,d){e.name="",o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"?e.type=o:e.removeAttribute("type"),t!=null?o==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Bt(t)):e.value!==""+Bt(t)&&(e.value=""+Bt(t)):o!=="submit"&&o!=="reset"||e.removeAttribute("value"),t!=null?Ss(e,o,Bt(t)):n!=null?Ss(e,o,Bt(n)):l!=null&&e.removeAttribute("value"),i==null&&c!=null&&(e.defaultChecked=!!c),i!=null&&(e.checked=i&&typeof i!="function"&&typeof i!="symbol"),d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?e.name=""+Bt(d):e.removeAttribute("name")}function d1(e,t,n,l,i,c,o,d){if(c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(e.type=c),t!=null||n!=null){if(!(c!=="submit"&&c!=="reset"||t!=null)){vs(e);return}n=n!=null?""+Bt(n):"",t=t!=null?""+Bt(t):n,d||t===e.value||(e.value=t),e.defaultValue=t}l=l??i,l=typeof l!="function"&&typeof l!="symbol"&&!!l,e.checked=d?e.checked:!!l,e.defaultChecked=!!l,o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"&&(e.name=o),vs(e)}function Ss(e,t,n){t==="number"&&Yi(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function Yl(e,t,n,l){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&l&&(e[n].defaultSelected=!0)}else{for(n=""+Bt(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,l&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function h1(e,t,n){if(t!=null&&(t=""+Bt(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+Bt(n):""}function m1(e,t,n,l){if(t==null){if(l!=null){if(n!=null)throw Error(r(92));if(De(l)){if(1<l.length)throw Error(r(93));l=l[0]}n=l}n==null&&(n=""),t=n}n=Bt(t),e.defaultValue=n,l=e.textContent,l===n&&l!==""&&l!==null&&(e.value=l),vs(e)}function Xl(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ad=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 p1(e,t,n){var l=t.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?l?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":l?e.setProperty(t,n):typeof n!="number"||n===0||Ad.has(t)?t==="float"?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function y1(e,t,n){if(t!=null&&typeof t!="object")throw Error(r(62));if(e=e.style,n!=null){for(var l in n)!n.hasOwnProperty(l)||t!=null&&t.hasOwnProperty(l)||(l.indexOf("--")===0?e.setProperty(l,""):l==="float"?e.cssFloat="":e[l]="");for(var i in t)l=t[i],t.hasOwnProperty(i)&&n[i]!==l&&p1(e,i,l)}else for(var c in t)t.hasOwnProperty(c)&&p1(e,c,t[c])}function xs(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 Cd=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"]]),_d=/^[\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 Xi(e){return _d.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function pn(){}var js=null;function Es(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ql=null,Zl=null;function g1(e){var t=P(e);if(t&&(e=t.stateNode)){var n=e[bt]||null;e:switch(e=t.stateNode,t.type){case"input":if(bs(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+qt(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var l=n[t];if(l!==e&&l.form===e.form){var i=l[bt]||null;if(!i)throw Error(r(90));bs(l,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name)}}for(t=0;t<n.length;t++)l=n[t],l.form===e.form&&f1(l)}break e;case"textarea":h1(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&Yl(e,!!n.multiple,t,!1)}}}var ws=!1;function v1(e,t,n){if(ws)return e(t,n);ws=!0;try{var l=e(t);return l}finally{if(ws=!1,(Ql!==null||Zl!==null)&&(_c(),Ql&&(t=Ql,e=Zl,Zl=Ql=null,g1(t),e)))for(t=0;t<e.length;t++)g1(e[t])}}function Da(e,t){var n=e.stateNode;if(n===null)return null;var l=n[bt]||null;if(l===null)return null;n=l[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":(l=!l.disabled)||(e=e.type,l=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!l;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(r(231,t,typeof n));return n}var yn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ns=!1;if(yn)try{var La={};Object.defineProperty(La,"passive",{get:function(){Ns=!0}}),window.addEventListener("test",La,La),window.removeEventListener("test",La,La)}catch{Ns=!1}var kn=null,zs=null,Qi=null;function b1(){if(Qi)return Qi;var e,t=zs,n=t.length,l,i="value"in kn?kn.value:kn.textContent,c=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(l=1;l<=o&&t[n-l]===i[c-l];l++);return Qi=i.slice(e,1<l?1-l:void 0)}function Zi(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 Ki(){return!0}function S1(){return!1}function zt(e){function t(n,l,i,c,o){this._reactName=n,this._targetInst=i,this.type=l,this.nativeEvent=c,this.target=o,this.currentTarget=null;for(var d in e)e.hasOwnProperty(d)&&(n=e[d],this[d]=n?n(c):c[d]);return this.isDefaultPrevented=(c.defaultPrevented!=null?c.defaultPrevented:c.returnValue===!1)?Ki:S1,this.isPropagationStopped=S1,this}return D(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Ki)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Ki)},persist:function(){},isPersistent:Ki}),t}var gl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},$i=zt(gl),Ha=D({},gl,{view:0,detail:0}),Rd=zt(Ha),Ts,Ms,ka,Ji=D({},Ha,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cs,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!==ka&&(ka&&e.type==="mousemove"?(Ts=e.screenX-ka.screenX,Ms=e.screenY-ka.screenY):Ms=Ts=0,ka=e),Ts)},movementY:function(e){return"movementY"in e?e.movementY:Ms}}),x1=zt(Ji),Od=D({},Ji,{dataTransfer:0}),Dd=zt(Od),Ld=D({},Ha,{relatedTarget:0}),As=zt(Ld),Hd=D({},gl,{animationName:0,elapsedTime:0,pseudoElement:0}),kd=zt(Hd),Ud=D({},gl,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Bd=zt(Ud),qd=D({},gl,{data:0}),j1=zt(qd),Gd={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Vd={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"},Yd={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Xd(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Yd[e])?!!t[e]:!1}function Cs(){return Xd}var Qd=D({},Ha,{key:function(e){if(e.key){var t=Gd[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Zi(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Vd[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cs,charCode:function(e){return e.type==="keypress"?Zi(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Zi(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Zd=zt(Qd),Kd=D({},Ji,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),E1=zt(Kd),$d=D({},Ha,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cs}),Jd=zt($d),Fd=D({},gl,{propertyName:0,elapsedTime:0,pseudoElement:0}),Wd=zt(Fd),Id=D({},Ji,{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}),Pd=zt(Id),e4=D({},gl,{newState:0,oldState:0}),t4=zt(e4),n4=[9,13,27,32],_s=yn&&"CompositionEvent"in window,Ua=null;yn&&"documentMode"in document&&(Ua=document.documentMode);var l4=yn&&"TextEvent"in window&&!Ua,w1=yn&&(!_s||Ua&&8<Ua&&11>=Ua),N1=" ",z1=!1;function T1(e,t){switch(e){case"keyup":return n4.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function M1(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Kl=!1;function a4(e,t){switch(e){case"compositionend":return M1(t);case"keypress":return t.which!==32?null:(z1=!0,N1);case"textInput":return e=t.data,e===N1&&z1?null:e;default:return null}}function i4(e,t){if(Kl)return e==="compositionend"||!_s&&T1(e,t)?(e=b1(),Qi=zs=kn=null,Kl=!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 w1&&t.locale!=="ko"?null:t.data;default:return null}}var c4={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 A1(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!c4[e.type]:t==="textarea"}function C1(e,t,n,l){Ql?Zl?Zl.push(l):Zl=[l]:Ql=l,t=Uc(t,"onChange"),0<t.length&&(n=new $i("onChange","change",null,n,l),e.push({event:n,listeners:t}))}var Ba=null,qa=null;function s4(e){hf(e,0)}function Fi(e){var t=ue(e);if(f1(t))return e}function _1(e,t){if(e==="change")return t}var R1=!1;if(yn){var Rs;if(yn){var Os="oninput"in document;if(!Os){var O1=document.createElement("div");O1.setAttribute("oninput","return;"),Os=typeof O1.oninput=="function"}Rs=Os}else Rs=!1;R1=Rs&&(!document.documentMode||9<document.documentMode)}function D1(){Ba&&(Ba.detachEvent("onpropertychange",L1),qa=Ba=null)}function L1(e){if(e.propertyName==="value"&&Fi(qa)){var t=[];C1(t,qa,e,Es(e)),v1(s4,t)}}function u4(e,t,n){e==="focusin"?(D1(),Ba=t,qa=n,Ba.attachEvent("onpropertychange",L1)):e==="focusout"&&D1()}function o4(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Fi(qa)}function r4(e,t){if(e==="click")return Fi(t)}function f4(e,t){if(e==="input"||e==="change")return Fi(t)}function d4(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Rt=typeof Object.is=="function"?Object.is:d4;function Ga(e,t){if(Rt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),l=Object.keys(t);if(n.length!==l.length)return!1;for(l=0;l<n.length;l++){var i=n[l];if(!ul.call(t,i)||!Rt(e[i],t[i]))return!1}return!0}function H1(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function k1(e,t){var n=H1(e);e=0;for(var l;n;){if(n.nodeType===3){if(l=e+n.textContent.length,e<=t&&l>=t)return{node:n,offset:t-e};e=l}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=H1(n)}}function U1(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?U1(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function B1(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Yi(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Yi(e.document)}return t}function Ds(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 h4=yn&&"documentMode"in document&&11>=document.documentMode,$l=null,Ls=null,Va=null,Hs=!1;function q1(e,t,n){var l=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Hs||$l==null||$l!==Yi(l)||(l=$l,"selectionStart"in l&&Ds(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),Va&&Ga(Va,l)||(Va=l,l=Uc(Ls,"onSelect"),0<l.length&&(t=new $i("onSelect","select",null,t,n),e.push({event:t,listeners:l}),t.target=$l)))}function vl(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Jl={animationend:vl("Animation","AnimationEnd"),animationiteration:vl("Animation","AnimationIteration"),animationstart:vl("Animation","AnimationStart"),transitionrun:vl("Transition","TransitionRun"),transitionstart:vl("Transition","TransitionStart"),transitioncancel:vl("Transition","TransitionCancel"),transitionend:vl("Transition","TransitionEnd")},ks={},G1={};yn&&(G1=document.createElement("div").style,"AnimationEvent"in window||(delete Jl.animationend.animation,delete Jl.animationiteration.animation,delete Jl.animationstart.animation),"TransitionEvent"in window||delete Jl.transitionend.transition);function bl(e){if(ks[e])return ks[e];if(!Jl[e])return e;var t=Jl[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in G1)return ks[e]=t[n];return e}var V1=bl("animationend"),Y1=bl("animationiteration"),X1=bl("animationstart"),m4=bl("transitionrun"),p4=bl("transitionstart"),y4=bl("transitioncancel"),Q1=bl("transitionend"),Z1=new Map,Us="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(" ");Us.push("scrollEnd");function Ft(e,t){Z1.set(e,t),yl(t,[e])}var Wi=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)},Gt=[],Fl=0,Bs=0;function Ii(){for(var e=Fl,t=Bs=Fl=0;t<e;){var n=Gt[t];Gt[t++]=null;var l=Gt[t];Gt[t++]=null;var i=Gt[t];Gt[t++]=null;var c=Gt[t];if(Gt[t++]=null,l!==null&&i!==null){var o=l.pending;o===null?i.next=i:(i.next=o.next,o.next=i),l.pending=i}c!==0&&K1(n,i,c)}}function Pi(e,t,n,l){Gt[Fl++]=e,Gt[Fl++]=t,Gt[Fl++]=n,Gt[Fl++]=l,Bs|=l,e.lanes|=l,e=e.alternate,e!==null&&(e.lanes|=l)}function qs(e,t,n,l){return Pi(e,t,n,l),ec(e)}function Sl(e,t){return Pi(e,null,null,t),ec(e)}function K1(e,t,n){e.lanes|=n;var l=e.alternate;l!==null&&(l.lanes|=n);for(var i=!1,c=e.return;c!==null;)c.childLanes|=n,l=c.alternate,l!==null&&(l.childLanes|=n),c.tag===22&&(e=c.stateNode,e===null||e._visibility&1||(i=!0)),e=c,c=c.return;return e.tag===3?(c=e.stateNode,i&&t!==null&&(i=31-Et(n),e=c.hiddenUpdates,l=e[i],l===null?e[i]=[t]:l.push(t),t.lane=n|536870912),c):null}function ec(e){if(50<ri)throw ri=0,Ju=null,Error(r(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Wl={};function g4(e,t,n,l){this.tag=e,this.key=n,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=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ot(e,t,n,l){return new g4(e,t,n,l)}function Gs(e){return e=e.prototype,!(!e||!e.isReactComponent)}function gn(e,t){var n=e.alternate;return n===null?(n=Ot(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function $1(e,t){e.flags&=65011714;var n=e.alternate;return n===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=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function tc(e,t,n,l,i,c){var o=0;if(l=e,typeof e=="function")Gs(e)&&(o=1);else if(typeof e=="string")o=j3(e,n,J.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case Oe:return e=Ot(31,n,t,i),e.elementType=Oe,e.lanes=c,e;case he:return xl(n.children,i,c,t);case me:o=8,i|=24;break;case Z:return e=Ot(12,n,t,i|2),e.elementType=Z,e.lanes=c,e;case fe:return e=Ot(13,n,t,i),e.elementType=fe,e.lanes=c,e;case oe:return e=Ot(19,n,t,i),e.elementType=oe,e.lanes=c,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case re:o=10;break e;case je:o=9;break e;case K:o=11;break e;case W:o=14;break e;case be:o=16,l=null;break e}o=29,n=Error(r(130,e===null?"null":typeof e,"")),l=null}return t=Ot(o,n,t,i),t.elementType=e,t.type=l,t.lanes=c,t}function xl(e,t,n,l){return e=Ot(7,e,l,t),e.lanes=n,e}function Vs(e,t,n){return e=Ot(6,e,null,t),e.lanes=n,e}function J1(e){var t=Ot(18,null,null,0);return t.stateNode=e,t}function Ys(e,t,n){return t=Ot(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var F1=new WeakMap;function Vt(e,t){if(typeof e=="object"&&e!==null){var n=F1.get(e);return n!==void 0?n:(t={value:e,source:t,stack:xt(t)},F1.set(e,t),t)}return{value:e,source:t,stack:xt(t)}}var Il=[],Pl=0,nc=null,Ya=0,Yt=[],Xt=0,Un=null,ln=1,an="";function vn(e,t){Il[Pl++]=Ya,Il[Pl++]=nc,nc=e,Ya=t}function W1(e,t,n){Yt[Xt++]=ln,Yt[Xt++]=an,Yt[Xt++]=Un,Un=e;var l=ln;e=an;var i=32-Et(l)-1;l&=~(1<<i),n+=1;var c=32-Et(t)+i;if(30<c){var o=i-i%5;c=(l&(1<<o)-1).toString(32),l>>=o,i-=o,ln=1<<32-Et(t)+i|n<<i|l,an=c+e}else ln=1<<c|n<<i|l,an=e}function Xs(e){e.return!==null&&(vn(e,1),W1(e,1,0))}function Qs(e){for(;e===nc;)nc=Il[--Pl],Il[Pl]=null,Ya=Il[--Pl],Il[Pl]=null;for(;e===Un;)Un=Yt[--Xt],Yt[Xt]=null,an=Yt[--Xt],Yt[Xt]=null,ln=Yt[--Xt],Yt[Xt]=null}function I1(e,t){Yt[Xt++]=ln,Yt[Xt++]=an,Yt[Xt++]=Un,ln=t.id,an=t.overflow,Un=e}var pt=null,Ke=null,Ae=!1,Bn=null,Qt=!1,Zs=Error(r(519));function qn(e){var t=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Xa(Vt(t,e)),Zs}function P1(e){var t=e.stateNode,n=e.type,l=e.memoizedProps;switch(t[ft]=e,t[bt]=l,n){case"dialog":Ne("cancel",t),Ne("close",t);break;case"iframe":case"object":case"embed":Ne("load",t);break;case"video":case"audio":for(n=0;n<di.length;n++)Ne(di[n],t);break;case"source":Ne("error",t);break;case"img":case"image":case"link":Ne("error",t),Ne("load",t);break;case"details":Ne("toggle",t);break;case"input":Ne("invalid",t),d1(t,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case"select":Ne("invalid",t);break;case"textarea":Ne("invalid",t),m1(t,l.value,l.defaultValue,l.children)}n=l.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||t.textContent===""+n||l.suppressHydrationWarning===!0||gf(t.textContent,n)?(l.popover!=null&&(Ne("beforetoggle",t),Ne("toggle",t)),l.onScroll!=null&&Ne("scroll",t),l.onScrollEnd!=null&&Ne("scrollend",t),l.onClick!=null&&(t.onclick=pn),t=!0):t=!1,t||qn(e,!0)}function er(e){for(pt=e.return;pt;)switch(pt.tag){case 5:case 31:case 13:Qt=!1;return;case 27:case 3:Qt=!0;return;default:pt=pt.return}}function ea(e){if(e!==pt)return!1;if(!Ae)return er(e),Ae=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||ro(e.type,e.memoizedProps)),n=!n),n&&Ke&&qn(e),er(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));Ke=zf(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));Ke=zf(e)}else t===27?(t=Ke,el(e.type)?(e=yo,yo=null,Ke=e):Ke=t):Ke=pt?Kt(e.stateNode.nextSibling):null;return!0}function jl(){Ke=pt=null,Ae=!1}function Ks(){var e=Bn;return e!==null&&(Ct===null?Ct=e:Ct.push.apply(Ct,e),Bn=null),e}function Xa(e){Bn===null?Bn=[e]:Bn.push(e)}var $s=g(null),El=null,bn=null;function Gn(e,t,n){Q($s,t._currentValue),t._currentValue=n}function Sn(e){e._currentValue=$s.current,R($s)}function Js(e,t,n){for(;e!==null;){var l=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,l!==null&&(l.childLanes|=t)):l!==null&&(l.childLanes&t)!==t&&(l.childLanes|=t),e===n)break;e=e.return}}function Fs(e,t,n,l){var i=e.child;for(i!==null&&(i.return=e);i!==null;){var c=i.dependencies;if(c!==null){var o=i.child;c=c.firstContext;e:for(;c!==null;){var d=c;c=i;for(var p=0;p<t.length;p++)if(d.context===t[p]){c.lanes|=n,d=c.alternate,d!==null&&(d.lanes|=n),Js(c.return,n,e),l||(o=null);break e}c=d.next}}else if(i.tag===18){if(o=i.return,o===null)throw Error(r(341));o.lanes|=n,c=o.alternate,c!==null&&(c.lanes|=n),Js(o,n,e),o=null}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===e){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}}function ta(e,t,n,l){e=null;for(var i=t,c=!1;i!==null;){if(!c){if((i.flags&524288)!==0)c=!0;else if((i.flags&262144)!==0)break}if(i.tag===10){var o=i.alternate;if(o===null)throw Error(r(387));if(o=o.memoizedProps,o!==null){var d=i.type;Rt(i.pendingProps.value,o.value)||(e!==null?e.push(d):e=[d])}}else if(i===b.current){if(o=i.alternate,o===null)throw Error(r(387));o.memoizedState.memoizedState!==i.memoizedState.memoizedState&&(e!==null?e.push(gi):e=[gi])}i=i.return}e!==null&&Fs(t,e,n,l),t.flags|=262144}function lc(e){for(e=e.firstContext;e!==null;){if(!Rt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function wl(e){El=e,bn=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function yt(e){return tr(El,e)}function ac(e,t){return El===null&&wl(e),tr(e,t)}function tr(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},bn===null){if(e===null)throw Error(r(308));bn=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else bn=bn.next=t;return n}var v4=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,l){e.push(l)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},b4=a.unstable_scheduleCallback,S4=a.unstable_NormalPriority,at={$$typeof:re,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ws(){return{controller:new v4,data:new Map,refCount:0}}function Qa(e){e.refCount--,e.refCount===0&&b4(S4,function(){e.controller.abort()})}var Za=null,Is=0,na=0,la=null;function x4(e,t){if(Za===null){var n=Za=[];Is=0,na=to(),la={status:"pending",value:void 0,then:function(l){n.push(l)}}}return Is++,t.then(nr,nr),t}function nr(){if(--Is===0&&Za!==null){la!==null&&(la.status="fulfilled");var e=Za;Za=null,na=0,la=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function j4(e,t){var n=[],l={status:"pending",value:null,reason:null,then:function(i){n.push(i)}};return e.then(function(){l.status="fulfilled",l.value=t;for(var i=0;i<n.length;i++)(0,n[i])(t)},function(i){for(l.status="rejected",l.reason=i,i=0;i<n.length;i++)(0,n[i])(void 0)}),l}var lr=M.S;M.S=function(e,t){q0=mt(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&x4(e,t),lr!==null&&lr(e,t)};var Nl=g(null);function Ps(){var e=Nl.current;return e!==null?e:Qe.pooledCache}function ic(e,t){t===null?Q(Nl,Nl.current):Q(Nl,t.pool)}function ar(){var e=Ps();return e===null?null:{parent:at._currentValue,pool:e}}var aa=Error(r(460)),eu=Error(r(474)),cc=Error(r(542)),sc={then:function(){}};function ir(e){return e=e.status,e==="fulfilled"||e==="rejected"}function cr(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(pn,pn),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,ur(e),e;default:if(typeof t.status=="string")t.then(pn,pn);else{if(e=Qe,e!==null&&100<e.shellSuspendCounter)throw Error(r(482));e=t,e.status="pending",e.then(function(l){if(t.status==="pending"){var i=t;i.status="fulfilled",i.value=l}},function(l){if(t.status==="pending"){var i=t;i.status="rejected",i.reason=l}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,ur(e),e}throw Tl=t,aa}}function zl(e){try{var t=e._init;return t(e._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?(Tl=n,aa):n}}var Tl=null;function sr(){if(Tl===null)throw Error(r(459));var e=Tl;return Tl=null,e}function ur(e){if(e===aa||e===cc)throw Error(r(483))}var ia=null,Ka=0;function uc(e){var t=Ka;return Ka+=1,ia===null&&(ia=[]),cr(ia,e,t)}function $a(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function oc(e,t){throw t.$$typeof===U?Error(r(525)):(e=Object.prototype.toString.call(t),Error(r(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function or(e){function t(S,v){if(e){var j=S.deletions;j===null?(S.deletions=[v],S.flags|=16):j.push(v)}}function n(S,v){if(!e)return null;for(;v!==null;)t(S,v),v=v.sibling;return null}function l(S){for(var v=new Map;S!==null;)S.key!==null?v.set(S.key,S):v.set(S.index,S),S=S.sibling;return v}function i(S,v){return S=gn(S,v),S.index=0,S.sibling=null,S}function c(S,v,j){return S.index=j,e?(j=S.alternate,j!==null?(j=j.index,j<v?(S.flags|=67108866,v):j):(S.flags|=67108866,v)):(S.flags|=1048576,v)}function o(S){return e&&S.alternate===null&&(S.flags|=67108866),S}function d(S,v,j,O){return v===null||v.tag!==6?(v=Vs(j,S.mode,O),v.return=S,v):(v=i(v,j),v.return=S,v)}function p(S,v,j,O){var se=j.type;return se===he?_(S,v,j.props.children,O,j.key):v!==null&&(v.elementType===se||typeof se=="object"&&se!==null&&se.$$typeof===be&&zl(se)===v.type)?(v=i(v,j.props),$a(v,j),v.return=S,v):(v=tc(j.type,j.key,j.props,null,S.mode,O),$a(v,j),v.return=S,v)}function E(S,v,j,O){return v===null||v.tag!==4||v.stateNode.containerInfo!==j.containerInfo||v.stateNode.implementation!==j.implementation?(v=Ys(j,S.mode,O),v.return=S,v):(v=i(v,j.children||[]),v.return=S,v)}function _(S,v,j,O,se){return v===null||v.tag!==7?(v=xl(j,S.mode,O,se),v.return=S,v):(v=i(v,j),v.return=S,v)}function L(S,v,j){if(typeof v=="string"&&v!==""||typeof v=="number"||typeof v=="bigint")return v=Vs(""+v,S.mode,j),v.return=S,v;if(typeof v=="object"&&v!==null){switch(v.$$typeof){case B:return j=tc(v.type,v.key,v.props,null,S.mode,j),$a(j,v),j.return=S,j;case $:return v=Ys(v,S.mode,j),v.return=S,v;case be:return v=zl(v),L(S,v,j)}if(De(v)||q(v))return v=xl(v,S.mode,j,null),v.return=S,v;if(typeof v.then=="function")return L(S,uc(v),j);if(v.$$typeof===re)return L(S,ac(S,v),j);oc(S,v)}return null}function w(S,v,j,O){var se=v!==null?v.key:null;if(typeof j=="string"&&j!==""||typeof j=="number"||typeof j=="bigint")return se!==null?null:d(S,v,""+j,O);if(typeof j=="object"&&j!==null){switch(j.$$typeof){case B:return j.key===se?p(S,v,j,O):null;case $:return j.key===se?E(S,v,j,O):null;case be:return j=zl(j),w(S,v,j,O)}if(De(j)||q(j))return se!==null?null:_(S,v,j,O,null);if(typeof j.then=="function")return w(S,v,uc(j),O);if(j.$$typeof===re)return w(S,v,ac(S,j),O);oc(S,j)}return null}function A(S,v,j,O,se){if(typeof O=="string"&&O!==""||typeof O=="number"||typeof O=="bigint")return S=S.get(j)||null,d(v,S,""+O,se);if(typeof O=="object"&&O!==null){switch(O.$$typeof){case B:return S=S.get(O.key===null?j:O.key)||null,p(v,S,O,se);case $:return S=S.get(O.key===null?j:O.key)||null,E(v,S,O,se);case be:return O=zl(O),A(S,v,j,O,se)}if(De(O)||q(O))return S=S.get(j)||null,_(v,S,O,se,null);if(typeof O.then=="function")return A(S,v,j,uc(O),se);if(O.$$typeof===re)return A(S,v,j,ac(v,O),se);oc(v,O)}return null}function ee(S,v,j,O){for(var se=null,Le=null,le=v,Ee=v=0,Te=null;le!==null&&Ee<j.length;Ee++){le.index>Ee?(Te=le,le=null):Te=le.sibling;var He=w(S,le,j[Ee],O);if(He===null){le===null&&(le=Te);break}e&&le&&He.alternate===null&&t(S,le),v=c(He,v,Ee),Le===null?se=He:Le.sibling=He,Le=He,le=Te}if(Ee===j.length)return n(S,le),Ae&&vn(S,Ee),se;if(le===null){for(;Ee<j.length;Ee++)le=L(S,j[Ee],O),le!==null&&(v=c(le,v,Ee),Le===null?se=le:Le.sibling=le,Le=le);return Ae&&vn(S,Ee),se}for(le=l(le);Ee<j.length;Ee++)Te=A(le,S,Ee,j[Ee],O),Te!==null&&(e&&Te.alternate!==null&&le.delete(Te.key===null?Ee:Te.key),v=c(Te,v,Ee),Le===null?se=Te:Le.sibling=Te,Le=Te);return e&&le.forEach(function(il){return t(S,il)}),Ae&&vn(S,Ee),se}function de(S,v,j,O){if(j==null)throw Error(r(151));for(var se=null,Le=null,le=v,Ee=v=0,Te=null,He=j.next();le!==null&&!He.done;Ee++,He=j.next()){le.index>Ee?(Te=le,le=null):Te=le.sibling;var il=w(S,le,He.value,O);if(il===null){le===null&&(le=Te);break}e&&le&&il.alternate===null&&t(S,le),v=c(il,v,Ee),Le===null?se=il:Le.sibling=il,Le=il,le=Te}if(He.done)return n(S,le),Ae&&vn(S,Ee),se;if(le===null){for(;!He.done;Ee++,He=j.next())He=L(S,He.value,O),He!==null&&(v=c(He,v,Ee),Le===null?se=He:Le.sibling=He,Le=He);return Ae&&vn(S,Ee),se}for(le=l(le);!He.done;Ee++,He=j.next())He=A(le,S,Ee,He.value,O),He!==null&&(e&&He.alternate!==null&&le.delete(He.key===null?Ee:He.key),v=c(He,v,Ee),Le===null?se=He:Le.sibling=He,Le=He);return e&&le.forEach(function(O3){return t(S,O3)}),Ae&&vn(S,Ee),se}function Ye(S,v,j,O){if(typeof j=="object"&&j!==null&&j.type===he&&j.key===null&&(j=j.props.children),typeof j=="object"&&j!==null){switch(j.$$typeof){case B:e:{for(var se=j.key;v!==null;){if(v.key===se){if(se=j.type,se===he){if(v.tag===7){n(S,v.sibling),O=i(v,j.props.children),O.return=S,S=O;break e}}else if(v.elementType===se||typeof se=="object"&&se!==null&&se.$$typeof===be&&zl(se)===v.type){n(S,v.sibling),O=i(v,j.props),$a(O,j),O.return=S,S=O;break e}n(S,v);break}else t(S,v);v=v.sibling}j.type===he?(O=xl(j.props.children,S.mode,O,j.key),O.return=S,S=O):(O=tc(j.type,j.key,j.props,null,S.mode,O),$a(O,j),O.return=S,S=O)}return o(S);case $:e:{for(se=j.key;v!==null;){if(v.key===se)if(v.tag===4&&v.stateNode.containerInfo===j.containerInfo&&v.stateNode.implementation===j.implementation){n(S,v.sibling),O=i(v,j.children||[]),O.return=S,S=O;break e}else{n(S,v);break}else t(S,v);v=v.sibling}O=Ys(j,S.mode,O),O.return=S,S=O}return o(S);case be:return j=zl(j),Ye(S,v,j,O)}if(De(j))return ee(S,v,j,O);if(q(j)){if(se=q(j),typeof se!="function")throw Error(r(150));return j=se.call(j),de(S,v,j,O)}if(typeof j.then=="function")return Ye(S,v,uc(j),O);if(j.$$typeof===re)return Ye(S,v,ac(S,j),O);oc(S,j)}return typeof j=="string"&&j!==""||typeof j=="number"||typeof j=="bigint"?(j=""+j,v!==null&&v.tag===6?(n(S,v.sibling),O=i(v,j),O.return=S,S=O):(n(S,v),O=Vs(j,S.mode,O),O.return=S,S=O),o(S)):n(S,v)}return function(S,v,j,O){try{Ka=0;var se=Ye(S,v,j,O);return ia=null,se}catch(le){if(le===aa||le===cc)throw le;var Le=Ot(29,le,null,S.mode);return Le.lanes=O,Le.return=S,Le}finally{}}}var Ml=or(!0),rr=or(!1),Vn=!1;function tu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function nu(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 Yn(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Xn(e,t,n){var l=e.updateQueue;if(l===null)return null;if(l=l.shared,(Ue&2)!==0){var i=l.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),l.pending=t,t=ec(e),K1(e,null,n),t}return Pi(e,l,t,n),ec(e)}function Ja(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var l=t.lanes;l&=e.pendingLanes,n|=l,t.lanes=n,Di(e,n)}}function lu(e,t){var n=e.updateQueue,l=e.alternate;if(l!==null&&(l=l.updateQueue,n===l)){var i=null,c=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};c===null?i=c=o:c=c.next=o,n=n.next}while(n!==null);c===null?i=c=t:c=c.next=t}else i=c=t;n={baseState:l.baseState,firstBaseUpdate:i,lastBaseUpdate:c,shared:l.shared,callbacks:l.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var au=!1;function Fa(){if(au){var e=la;if(e!==null)throw e}}function Wa(e,t,n,l){au=!1;var i=e.updateQueue;Vn=!1;var c=i.firstBaseUpdate,o=i.lastBaseUpdate,d=i.shared.pending;if(d!==null){i.shared.pending=null;var p=d,E=p.next;p.next=null,o===null?c=E:o.next=E,o=p;var _=e.alternate;_!==null&&(_=_.updateQueue,d=_.lastBaseUpdate,d!==o&&(d===null?_.firstBaseUpdate=E:d.next=E,_.lastBaseUpdate=p))}if(c!==null){var L=i.baseState;o=0,_=E=p=null,d=c;do{var w=d.lane&-536870913,A=w!==d.lane;if(A?(ze&w)===w:(l&w)===w){w!==0&&w===na&&(au=!0),_!==null&&(_=_.next={lane:0,tag:d.tag,payload:d.payload,callback:null,next:null});e:{var ee=e,de=d;w=t;var Ye=n;switch(de.tag){case 1:if(ee=de.payload,typeof ee=="function"){L=ee.call(Ye,L,w);break e}L=ee;break e;case 3:ee.flags=ee.flags&-65537|128;case 0:if(ee=de.payload,w=typeof ee=="function"?ee.call(Ye,L,w):ee,w==null)break e;L=D({},L,w);break e;case 2:Vn=!0}}w=d.callback,w!==null&&(e.flags|=64,A&&(e.flags|=8192),A=i.callbacks,A===null?i.callbacks=[w]:A.push(w))}else A={lane:w,tag:d.tag,payload:d.payload,callback:d.callback,next:null},_===null?(E=_=A,p=L):_=_.next=A,o|=w;if(d=d.next,d===null){if(d=i.shared.pending,d===null)break;A=d,d=A.next,A.next=null,i.lastBaseUpdate=A,i.shared.pending=null}}while(!0);_===null&&(p=L),i.baseState=p,i.firstBaseUpdate=E,i.lastBaseUpdate=_,c===null&&(i.shared.lanes=0),Jn|=o,e.lanes=o,e.memoizedState=L}}function fr(e,t){if(typeof e!="function")throw Error(r(191,e));e.call(t)}function dr(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)fr(n[e],t)}var ca=g(null),rc=g(0);function hr(e,t){e=An,Q(rc,e),Q(ca,t),An=e|t.baseLanes}function iu(){Q(rc,An),Q(ca,ca.current)}function cu(){An=rc.current,R(ca),R(rc)}var Dt=g(null),Zt=null;function Qn(e){var t=e.alternate;Q(tt,tt.current&1),Q(Dt,e),Zt===null&&(t===null||ca.current!==null||t.memoizedState!==null)&&(Zt=e)}function su(e){Q(tt,tt.current),Q(Dt,e),Zt===null&&(Zt=e)}function mr(e){e.tag===22?(Q(tt,tt.current),Q(Dt,e),Zt===null&&(Zt=e)):Zn()}function Zn(){Q(tt,tt.current),Q(Dt,Dt.current)}function Lt(e){R(Dt),Zt===e&&(Zt=null),R(tt)}var tt=g(0);function fc(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||mo(n)||po(n)))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 xn=0,Se=null,Ge=null,it=null,dc=!1,sa=!1,Al=!1,hc=0,Ia=0,ua=null,E4=0;function Ie(){throw Error(r(321))}function uu(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Rt(e[n],t[n]))return!1;return!0}function ou(e,t,n,l,i,c){return xn=c,Se=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,M.H=e===null||e.memoizedState===null?Wr:wu,Al=!1,c=n(l,i),Al=!1,sa&&(c=yr(t,n,l,i)),pr(e),c}function pr(e){M.H=ti;var t=Ge!==null&&Ge.next!==null;if(xn=0,it=Ge=Se=null,dc=!1,Ia=0,ua=null,t)throw Error(r(300));e===null||ct||(e=e.dependencies,e!==null&&lc(e)&&(ct=!0))}function yr(e,t,n,l){Se=e;var i=0;do{if(sa&&(ua=null),Ia=0,sa=!1,25<=i)throw Error(r(301));if(i+=1,it=Ge=null,e.updateQueue!=null){var c=e.updateQueue;c.lastEffect=null,c.events=null,c.stores=null,c.memoCache!=null&&(c.memoCache.index=0)}M.H=Ir,c=t(n,l)}while(sa);return c}function w4(){var e=M.H,t=e.useState()[0];return t=typeof t.then=="function"?Pa(t):t,e=e.useState()[0],(Ge!==null?Ge.memoizedState:null)!==e&&(Se.flags|=1024),t}function ru(){var e=hc!==0;return hc=0,e}function fu(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function du(e){if(dc){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}dc=!1}xn=0,it=Ge=Se=null,sa=!1,Ia=hc=0,ua=null}function wt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return it===null?Se.memoizedState=it=e:it=it.next=e,it}function nt(){if(Ge===null){var e=Se.alternate;e=e!==null?e.memoizedState:null}else e=Ge.next;var t=it===null?Se.memoizedState:it.next;if(t!==null)it=t,Ge=e;else{if(e===null)throw Se.alternate===null?Error(r(467)):Error(r(310));Ge=e,e={memoizedState:Ge.memoizedState,baseState:Ge.baseState,baseQueue:Ge.baseQueue,queue:Ge.queue,next:null},it===null?Se.memoizedState=it=e:it=it.next=e}return it}function mc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Pa(e){var t=Ia;return Ia+=1,ua===null&&(ua=[]),e=cr(ua,e,t),t=Se,(it===null?t.memoizedState:it.next)===null&&(t=t.alternate,M.H=t===null||t.memoizedState===null?Wr:wu),e}function pc(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Pa(e);if(e.$$typeof===re)return yt(e)}throw Error(r(438,String(e)))}function hu(e){var t=null,n=Se.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var l=Se.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(t={data:l.data.map(function(i){return i.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=mc(),Se.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),l=0;l<e;l++)n[l]=G;return t.index++,n}function jn(e,t){return typeof t=="function"?t(e):t}function yc(e){var t=nt();return mu(t,Ge,e)}function mu(e,t,n){var l=e.queue;if(l===null)throw Error(r(311));l.lastRenderedReducer=n;var i=e.baseQueue,c=l.pending;if(c!==null){if(i!==null){var o=i.next;i.next=c.next,c.next=o}t.baseQueue=i=c,l.pending=null}if(c=e.baseState,i===null)e.memoizedState=c;else{t=i.next;var d=o=null,p=null,E=t,_=!1;do{var L=E.lane&-536870913;if(L!==E.lane?(ze&L)===L:(xn&L)===L){var w=E.revertLane;if(w===0)p!==null&&(p=p.next={lane:0,revertLane:0,gesture:null,action:E.action,hasEagerState:E.hasEagerState,eagerState:E.eagerState,next:null}),L===na&&(_=!0);else if((xn&w)===w){E=E.next,w===na&&(_=!0);continue}else L={lane:0,revertLane:E.revertLane,gesture:null,action:E.action,hasEagerState:E.hasEagerState,eagerState:E.eagerState,next:null},p===null?(d=p=L,o=c):p=p.next=L,Se.lanes|=w,Jn|=w;L=E.action,Al&&n(c,L),c=E.hasEagerState?E.eagerState:n(c,L)}else w={lane:L,revertLane:E.revertLane,gesture:E.gesture,action:E.action,hasEagerState:E.hasEagerState,eagerState:E.eagerState,next:null},p===null?(d=p=w,o=c):p=p.next=w,Se.lanes|=L,Jn|=L;E=E.next}while(E!==null&&E!==t);if(p===null?o=c:p.next=d,!Rt(c,e.memoizedState)&&(ct=!0,_&&(n=la,n!==null)))throw n;e.memoizedState=c,e.baseState=o,e.baseQueue=p,l.lastRenderedState=c}return i===null&&(l.lanes=0),[e.memoizedState,l.dispatch]}function pu(e){var t=nt(),n=t.queue;if(n===null)throw Error(r(311));n.lastRenderedReducer=e;var l=n.dispatch,i=n.pending,c=t.memoizedState;if(i!==null){n.pending=null;var o=i=i.next;do c=e(c,o.action),o=o.next;while(o!==i);Rt(c,t.memoizedState)||(ct=!0),t.memoizedState=c,t.baseQueue===null&&(t.baseState=c),n.lastRenderedState=c}return[c,l]}function gr(e,t,n){var l=Se,i=nt(),c=Ae;if(c){if(n===void 0)throw Error(r(407));n=n()}else n=t();var o=!Rt((Ge||i).memoizedState,n);if(o&&(i.memoizedState=n,ct=!0),i=i.queue,vu(Sr.bind(null,l,i,e),[e]),i.getSnapshot!==t||o||it!==null&&it.memoizedState.tag&1){if(l.flags|=2048,oa(9,{destroy:void 0},br.bind(null,l,i,n,t),null),Qe===null)throw Error(r(349));c||(xn&127)!==0||vr(l,t,n)}return n}function vr(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Se.updateQueue,t===null?(t=mc(),Se.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function br(e,t,n,l){t.value=n,t.getSnapshot=l,xr(t)&&jr(e)}function Sr(e,t,n){return n(function(){xr(t)&&jr(e)})}function xr(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Rt(e,n)}catch{return!0}}function jr(e){var t=Sl(e,2);t!==null&&_t(t,e,2)}function yu(e){var t=wt();if(typeof e=="function"){var n=e;if(e=n(),Al){tn(!0);try{n()}finally{tn(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:jn,lastRenderedState:e},t}function Er(e,t,n,l){return e.baseState=n,mu(e,Ge,typeof l=="function"?l:jn)}function N4(e,t,n,l,i){if(bc(e))throw Error(r(485));if(e=t.action,e!==null){var c={payload:i,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(o){c.listeners.push(o)}};M.T!==null?n(!0):c.isTransition=!1,l(c),n=t.pending,n===null?(c.next=t.pending=c,wr(t,c)):(c.next=n.next,t.pending=n.next=c)}}function wr(e,t){var n=t.action,l=t.payload,i=e.state;if(t.isTransition){var c=M.T,o={};M.T=o;try{var d=n(i,l),p=M.S;p!==null&&p(o,d),Nr(e,t,d)}catch(E){gu(e,t,E)}finally{c!==null&&o.types!==null&&(c.types=o.types),M.T=c}}else try{c=n(i,l),Nr(e,t,c)}catch(E){gu(e,t,E)}}function Nr(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(l){zr(e,t,l)},function(l){return gu(e,t,l)}):zr(e,t,n)}function zr(e,t,n){t.status="fulfilled",t.value=n,Tr(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,wr(e,n)))}function gu(e,t,n){var l=e.pending;if(e.pending=null,l!==null){l=l.next;do t.status="rejected",t.reason=n,Tr(t),t=t.next;while(t!==l)}e.action=null}function Tr(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Mr(e,t){return t}function Ar(e,t){if(Ae){var n=Qe.formState;if(n!==null){e:{var l=Se;if(Ae){if(Ke){t:{for(var i=Ke,c=Qt;i.nodeType!==8;){if(!c){i=null;break t}if(i=Kt(i.nextSibling),i===null){i=null;break t}}c=i.data,i=c==="F!"||c==="F"?i:null}if(i){Ke=Kt(i.nextSibling),l=i.data==="F!";break e}}qn(l)}l=!1}l&&(t=n[0])}}return n=wt(),n.memoizedState=n.baseState=t,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Mr,lastRenderedState:t},n.queue=l,n=$r.bind(null,Se,l),l.dispatch=n,l=yu(!1),c=Eu.bind(null,Se,!1,l.queue),l=wt(),i={state:t,dispatch:null,action:e,pending:null},l.queue=i,n=N4.bind(null,Se,i,c,n),i.dispatch=n,l.memoizedState=e,[t,n,!1]}function Cr(e){var t=nt();return _r(t,Ge,e)}function _r(e,t,n){if(t=mu(e,t,Mr)[0],e=yc(jn)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var l=Pa(t)}catch(o){throw o===aa?cc:o}else l=t;t=nt();var i=t.queue,c=i.dispatch;return n!==t.memoizedState&&(Se.flags|=2048,oa(9,{destroy:void 0},z4.bind(null,i,n),null)),[l,c,e]}function z4(e,t){e.action=t}function Rr(e){var t=nt(),n=Ge;if(n!==null)return _r(t,n,e);nt(),t=t.memoizedState,n=nt();var l=n.queue.dispatch;return n.memoizedState=e,[t,l,!1]}function oa(e,t,n,l){return e={tag:e,create:n,deps:l,inst:t,next:null},t=Se.updateQueue,t===null&&(t=mc(),Se.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(l=n.next,n.next=e,e.next=l,t.lastEffect=e),e}function Or(){return nt().memoizedState}function gc(e,t,n,l){var i=wt();Se.flags|=e,i.memoizedState=oa(1|t,{destroy:void 0},n,l===void 0?null:l)}function vc(e,t,n,l){var i=nt();l=l===void 0?null:l;var c=i.memoizedState.inst;Ge!==null&&l!==null&&uu(l,Ge.memoizedState.deps)?i.memoizedState=oa(t,c,n,l):(Se.flags|=e,i.memoizedState=oa(1|t,c,n,l))}function Dr(e,t){gc(8390656,8,e,t)}function vu(e,t){vc(2048,8,e,t)}function T4(e){Se.flags|=4;var t=Se.updateQueue;if(t===null)t=mc(),Se.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function Lr(e){var t=nt().memoizedState;return T4({ref:t,nextImpl:e}),function(){if((Ue&2)!==0)throw Error(r(440));return t.impl.apply(void 0,arguments)}}function Hr(e,t){return vc(4,2,e,t)}function kr(e,t){return vc(4,4,e,t)}function Ur(e,t){if(typeof t=="function"){e=e();var n=t(e);return function(){typeof n=="function"?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Br(e,t,n){n=n!=null?n.concat([e]):null,vc(4,4,Ur.bind(null,t,e),n)}function bu(){}function qr(e,t){var n=nt();t=t===void 0?null:t;var l=n.memoizedState;return t!==null&&uu(t,l[1])?l[0]:(n.memoizedState=[e,t],e)}function Gr(e,t){var n=nt();t=t===void 0?null:t;var l=n.memoizedState;if(t!==null&&uu(t,l[1]))return l[0];if(l=e(),Al){tn(!0);try{e()}finally{tn(!1)}}return n.memoizedState=[l,t],l}function Su(e,t,n){return n===void 0||(xn&1073741824)!==0&&(ze&261930)===0?e.memoizedState=t:(e.memoizedState=n,e=V0(),Se.lanes|=e,Jn|=e,n)}function Vr(e,t,n,l){return Rt(n,t)?n:ca.current!==null?(e=Su(e,n,l),Rt(e,t)||(ct=!0),e):(xn&42)===0||(xn&1073741824)!==0&&(ze&261930)===0?(ct=!0,e.memoizedState=n):(e=V0(),Se.lanes|=e,Jn|=e,t)}function Yr(e,t,n,l,i){var c=X.p;X.p=c!==0&&8>c?c:8;var o=M.T,d={};M.T=d,Eu(e,!1,t,n);try{var p=i(),E=M.S;if(E!==null&&E(d,p),p!==null&&typeof p=="object"&&typeof p.then=="function"){var _=j4(p,l);ei(e,t,_,Ut(e))}else ei(e,t,l,Ut(e))}catch(L){ei(e,t,{then:function(){},status:"rejected",reason:L},Ut())}finally{X.p=c,o!==null&&d.types!==null&&(o.types=d.types),M.T=o}}function M4(){}function xu(e,t,n,l){if(e.tag!==5)throw Error(r(476));var i=Xr(e).queue;Yr(e,i,t,ne,n===null?M4:function(){return Qr(e),n(l)})}function Xr(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ne,baseState:ne,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:jn,lastRenderedState:ne},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:jn,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Qr(e){var t=Xr(e);t.next===null&&(t=e.alternate.memoizedState),ei(e,t.next.queue,{},Ut())}function ju(){return yt(gi)}function Zr(){return nt().memoizedState}function Kr(){return nt().memoizedState}function A4(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=Ut();e=Yn(n);var l=Xn(t,e,n);l!==null&&(_t(l,t,n),Ja(l,t,n)),t={cache:Ws()},e.payload=t;return}t=t.return}}function C4(e,t,n){var l=Ut();n={lane:l,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},bc(e)?Jr(t,n):(n=qs(e,t,n,l),n!==null&&(_t(n,e,l),Fr(n,t,l)))}function $r(e,t,n){var l=Ut();ei(e,t,n,l)}function ei(e,t,n,l){var i={lane:l,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(bc(e))Jr(t,i);else{var c=e.alternate;if(e.lanes===0&&(c===null||c.lanes===0)&&(c=t.lastRenderedReducer,c!==null))try{var o=t.lastRenderedState,d=c(o,n);if(i.hasEagerState=!0,i.eagerState=d,Rt(d,o))return Pi(e,t,i,0),Qe===null&&Ii(),!1}catch{}finally{}if(n=qs(e,t,i,l),n!==null)return _t(n,e,l),Fr(n,t,l),!0}return!1}function Eu(e,t,n,l){if(l={lane:2,revertLane:to(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},bc(e)){if(t)throw Error(r(479))}else t=qs(e,n,l,2),t!==null&&_t(t,e,2)}function bc(e){var t=e.alternate;return e===Se||t!==null&&t===Se}function Jr(e,t){sa=dc=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Fr(e,t,n){if((n&4194048)!==0){var l=t.lanes;l&=e.pendingLanes,n|=l,t.lanes=n,Di(e,n)}}var ti={readContext:yt,use:pc,useCallback:Ie,useContext:Ie,useEffect:Ie,useImperativeHandle:Ie,useLayoutEffect:Ie,useInsertionEffect:Ie,useMemo:Ie,useReducer:Ie,useRef:Ie,useState:Ie,useDebugValue:Ie,useDeferredValue:Ie,useTransition:Ie,useSyncExternalStore:Ie,useId:Ie,useHostTransitionStatus:Ie,useFormState:Ie,useActionState:Ie,useOptimistic:Ie,useMemoCache:Ie,useCacheRefresh:Ie};ti.useEffectEvent=Ie;var Wr={readContext:yt,use:pc,useCallback:function(e,t){return wt().memoizedState=[e,t===void 0?null:t],e},useContext:yt,useEffect:Dr,useImperativeHandle:function(e,t,n){n=n!=null?n.concat([e]):null,gc(4194308,4,Ur.bind(null,t,e),n)},useLayoutEffect:function(e,t){return gc(4194308,4,e,t)},useInsertionEffect:function(e,t){gc(4,2,e,t)},useMemo:function(e,t){var n=wt();t=t===void 0?null:t;var l=e();if(Al){tn(!0);try{e()}finally{tn(!1)}}return n.memoizedState=[l,t],l},useReducer:function(e,t,n){var l=wt();if(n!==void 0){var i=n(t);if(Al){tn(!0);try{n(t)}finally{tn(!1)}}}else i=t;return l.memoizedState=l.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},l.queue=e,e=e.dispatch=C4.bind(null,Se,e),[l.memoizedState,e]},useRef:function(e){var t=wt();return e={current:e},t.memoizedState=e},useState:function(e){e=yu(e);var t=e.queue,n=$r.bind(null,Se,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:bu,useDeferredValue:function(e,t){var n=wt();return Su(n,e,t)},useTransition:function(){var e=yu(!1);return e=Yr.bind(null,Se,e.queue,!0,!1),wt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var l=Se,i=wt();if(Ae){if(n===void 0)throw Error(r(407));n=n()}else{if(n=t(),Qe===null)throw Error(r(349));(ze&127)!==0||vr(l,t,n)}i.memoizedState=n;var c={value:n,getSnapshot:t};return i.queue=c,Dr(Sr.bind(null,l,c,e),[e]),l.flags|=2048,oa(9,{destroy:void 0},br.bind(null,l,c,n,t),null),n},useId:function(){var e=wt(),t=Qe.identifierPrefix;if(Ae){var n=an,l=ln;n=(l&~(1<<32-Et(l)-1)).toString(32)+n,t="_"+t+"R_"+n,n=hc++,0<n&&(t+="H"+n.toString(32)),t+="_"}else n=E4++,t="_"+t+"r_"+n.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:ju,useFormState:Ar,useActionState:Ar,useOptimistic:function(e){var t=wt();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Eu.bind(null,Se,!0,n),n.dispatch=t,[e,t]},useMemoCache:hu,useCacheRefresh:function(){return wt().memoizedState=A4.bind(null,Se)},useEffectEvent:function(e){var t=wt(),n={impl:e};return t.memoizedState=n,function(){if((Ue&2)!==0)throw Error(r(440));return n.impl.apply(void 0,arguments)}}},wu={readContext:yt,use:pc,useCallback:qr,useContext:yt,useEffect:vu,useImperativeHandle:Br,useInsertionEffect:Hr,useLayoutEffect:kr,useMemo:Gr,useReducer:yc,useRef:Or,useState:function(){return yc(jn)},useDebugValue:bu,useDeferredValue:function(e,t){var n=nt();return Vr(n,Ge.memoizedState,e,t)},useTransition:function(){var e=yc(jn)[0],t=nt().memoizedState;return[typeof e=="boolean"?e:Pa(e),t]},useSyncExternalStore:gr,useId:Zr,useHostTransitionStatus:ju,useFormState:Cr,useActionState:Cr,useOptimistic:function(e,t){var n=nt();return Er(n,Ge,e,t)},useMemoCache:hu,useCacheRefresh:Kr};wu.useEffectEvent=Lr;var Ir={readContext:yt,use:pc,useCallback:qr,useContext:yt,useEffect:vu,useImperativeHandle:Br,useInsertionEffect:Hr,useLayoutEffect:kr,useMemo:Gr,useReducer:pu,useRef:Or,useState:function(){return pu(jn)},useDebugValue:bu,useDeferredValue:function(e,t){var n=nt();return Ge===null?Su(n,e,t):Vr(n,Ge.memoizedState,e,t)},useTransition:function(){var e=pu(jn)[0],t=nt().memoizedState;return[typeof e=="boolean"?e:Pa(e),t]},useSyncExternalStore:gr,useId:Zr,useHostTransitionStatus:ju,useFormState:Rr,useActionState:Rr,useOptimistic:function(e,t){var n=nt();return Ge!==null?Er(n,Ge,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:hu,useCacheRefresh:Kr};Ir.useEffectEvent=Lr;function Nu(e,t,n,l){t=e.memoizedState,n=n(l,t),n=n==null?t:D({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var zu={enqueueSetState:function(e,t,n){e=e._reactInternals;var l=Ut(),i=Yn(l);i.payload=t,n!=null&&(i.callback=n),t=Xn(e,i,l),t!==null&&(_t(t,e,l),Ja(t,e,l))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var l=Ut(),i=Yn(l);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Xn(e,i,l),t!==null&&(_t(t,e,l),Ja(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ut(),l=Yn(n);l.tag=2,t!=null&&(l.callback=t),t=Xn(e,l,n),t!==null&&(_t(t,e,n),Ja(t,e,n))}};function Pr(e,t,n,l,i,c,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(l,c,o):t.prototype&&t.prototype.isPureReactComponent?!Ga(n,l)||!Ga(i,c):!0}function e0(e,t,n,l){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,l),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,l),t.state!==e&&zu.enqueueReplaceState(t,t.state,null)}function Cl(e,t){var n=t;if("ref"in t){n={};for(var l in t)l!=="ref"&&(n[l]=t[l])}if(e=e.defaultProps){n===t&&(n=D({},n));for(var i in e)n[i]===void 0&&(n[i]=e[i])}return n}function t0(e){Wi(e)}function n0(e){console.error(e)}function l0(e){Wi(e)}function Sc(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(l){setTimeout(function(){throw l})}}function a0(e,t,n){try{var l=e.onCaughtError;l(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(i){setTimeout(function(){throw i})}}function Tu(e,t,n){return n=Yn(n),n.tag=3,n.payload={element:null},n.callback=function(){Sc(e,t)},n}function i0(e){return e=Yn(e),e.tag=3,e}function c0(e,t,n,l){var i=n.type.getDerivedStateFromError;if(typeof i=="function"){var c=l.value;e.payload=function(){return i(c)},e.callback=function(){a0(t,n,l)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch=="function"&&(e.callback=function(){a0(t,n,l),typeof i!="function"&&(Fn===null?Fn=new Set([this]):Fn.add(this));var d=l.stack;this.componentDidCatch(l.value,{componentStack:d!==null?d:""})})}function _4(e,t,n,l,i){if(n.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(t=n.alternate,t!==null&&ta(t,n,i,!0),n=Dt.current,n!==null){switch(n.tag){case 31:case 13:return Zt===null?Rc():n.alternate===null&&Pe===0&&(Pe=3),n.flags&=-257,n.flags|=65536,n.lanes=i,l===sc?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([l]):t.add(l),Iu(e,l,i)),!1;case 22:return n.flags|=65536,l===sc?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([l])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([l]):n.add(l)),Iu(e,l,i)),!1}throw Error(r(435,n.tag))}return Iu(e,l,i),Rc(),!1}if(Ae)return t=Dt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=i,l!==Zs&&(e=Error(r(422),{cause:l}),Xa(Vt(e,n)))):(l!==Zs&&(t=Error(r(423),{cause:l}),Xa(Vt(t,n))),e=e.current.alternate,e.flags|=65536,i&=-i,e.lanes|=i,l=Vt(l,n),i=Tu(e.stateNode,l,i),lu(e,i),Pe!==4&&(Pe=2)),!1;var c=Error(r(520),{cause:l});if(c=Vt(c,n),oi===null?oi=[c]:oi.push(c),Pe!==4&&(Pe=2),t===null)return!0;l=Vt(l,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=i&-i,n.lanes|=e,e=Tu(n.stateNode,l,e),lu(n,e),!1;case 1:if(t=n.type,c=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||c!==null&&typeof c.componentDidCatch=="function"&&(Fn===null||!Fn.has(c))))return n.flags|=65536,i&=-i,n.lanes|=i,i=i0(i),c0(i,e,n,l),lu(n,i),!1}n=n.return}while(n!==null);return!1}var Mu=Error(r(461)),ct=!1;function gt(e,t,n,l){t.child=e===null?rr(t,null,n,l):Ml(t,e.child,n,l)}function s0(e,t,n,l,i){n=n.render;var c=t.ref;if("ref"in l){var o={};for(var d in l)d!=="ref"&&(o[d]=l[d])}else o=l;return wl(t),l=ou(e,t,n,o,c,i),d=ru(),e!==null&&!ct?(fu(e,t,i),En(e,t,i)):(Ae&&d&&Xs(t),t.flags|=1,gt(e,t,l,i),t.child)}function u0(e,t,n,l,i){if(e===null){var c=n.type;return typeof c=="function"&&!Gs(c)&&c.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=c,o0(e,t,c,l,i)):(e=tc(n.type,null,l,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(c=e.child,!Hu(e,i)){var o=c.memoizedProps;if(n=n.compare,n=n!==null?n:Ga,n(o,l)&&e.ref===t.ref)return En(e,t,i)}return t.flags|=1,e=gn(c,l),e.ref=t.ref,e.return=t,t.child=e}function o0(e,t,n,l,i){if(e!==null){var c=e.memoizedProps;if(Ga(c,l)&&e.ref===t.ref)if(ct=!1,t.pendingProps=l=c,Hu(e,i))(e.flags&131072)!==0&&(ct=!0);else return t.lanes=e.lanes,En(e,t,i)}return Au(e,t,n,l,i)}function r0(e,t,n,l){var i=l.children,c=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.mode==="hidden"){if((t.flags&128)!==0){if(c=c!==null?c.baseLanes|n:n,e!==null){for(l=t.child=e.child,i=0;l!==null;)i=i|l.lanes|l.childLanes,l=l.sibling;l=i&~c}else l=0,t.child=null;return f0(e,t,c,n,l)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&ic(t,c!==null?c.cachePool:null),c!==null?hr(t,c):iu(),mr(t);else return l=t.lanes=536870912,f0(e,t,c!==null?c.baseLanes|n:n,n,l)}else c!==null?(ic(t,c.cachePool),hr(t,c),Zn(),t.memoizedState=null):(e!==null&&ic(t,null),iu(),Zn());return gt(e,t,i,n),t.child}function ni(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function f0(e,t,n,l,i){var c=Ps();return c=c===null?null:{parent:at._currentValue,pool:c},t.memoizedState={baseLanes:n,cachePool:c},e!==null&&ic(t,null),iu(),mr(t),e!==null&&ta(e,t,l,!0),t.childLanes=i,null}function xc(e,t){return t=Ec({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function d0(e,t,n){return Ml(t,e.child,null,n),e=xc(t,t.pendingProps),e.flags|=2,Lt(t),t.memoizedState=null,e}function R4(e,t,n){var l=t.pendingProps,i=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(Ae){if(l.mode==="hidden")return e=xc(t,l),t.lanes=536870912,ni(null,e);if(su(t),(e=Ke)?(e=Nf(e,Qt),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Un!==null?{id:ln,overflow:an}:null,retryLane:536870912,hydrationErrors:null},n=J1(e),n.return=t,t.child=n,pt=t,Ke=null)):e=null,e===null)throw qn(t);return t.lanes=536870912,null}return xc(t,l)}var c=e.memoizedState;if(c!==null){var o=c.dehydrated;if(su(t),i)if(t.flags&256)t.flags&=-257,t=d0(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(r(558));else if(ct||ta(e,t,n,!1),i=(n&e.childLanes)!==0,ct||i){if(l=Qe,l!==null&&(o=Aa(l,n),o!==0&&o!==c.retryLane))throw c.retryLane=o,Sl(e,o),_t(l,e,o),Mu;Rc(),t=d0(e,t,n)}else e=c.treeContext,Ke=Kt(o.nextSibling),pt=t,Ae=!0,Bn=null,Qt=!1,e!==null&&I1(t,e),t=xc(t,l),t.flags|=4096;return t}return e=gn(e.child,{mode:l.mode,children:l.children}),e.ref=t.ref,t.child=e,e.return=t,e}function jc(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error(r(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function Au(e,t,n,l,i){return wl(t),n=ou(e,t,n,l,void 0,i),l=ru(),e!==null&&!ct?(fu(e,t,i),En(e,t,i)):(Ae&&l&&Xs(t),t.flags|=1,gt(e,t,n,i),t.child)}function h0(e,t,n,l,i,c){return wl(t),t.updateQueue=null,n=yr(t,l,n,i),pr(e),l=ru(),e!==null&&!ct?(fu(e,t,c),En(e,t,c)):(Ae&&l&&Xs(t),t.flags|=1,gt(e,t,n,c),t.child)}function m0(e,t,n,l,i){if(wl(t),t.stateNode===null){var c=Wl,o=n.contextType;typeof o=="object"&&o!==null&&(c=yt(o)),c=new n(l,c),t.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=zu,t.stateNode=c,c._reactInternals=t,c=t.stateNode,c.props=l,c.state=t.memoizedState,c.refs={},tu(t),o=n.contextType,c.context=typeof o=="object"&&o!==null?yt(o):Wl,c.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o=="function"&&(Nu(t,n,o,l),c.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(o=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),o!==c.state&&zu.enqueueReplaceState(c,c.state,null),Wa(t,l,c,i),Fa(),c.state=t.memoizedState),typeof c.componentDidMount=="function"&&(t.flags|=4194308),l=!0}else if(e===null){c=t.stateNode;var d=t.memoizedProps,p=Cl(n,d);c.props=p;var E=c.context,_=n.contextType;o=Wl,typeof _=="object"&&_!==null&&(o=yt(_));var L=n.getDerivedStateFromProps;_=typeof L=="function"||typeof c.getSnapshotBeforeUpdate=="function",d=t.pendingProps!==d,_||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(d||E!==o)&&e0(t,c,l,o),Vn=!1;var w=t.memoizedState;c.state=w,Wa(t,l,c,i),Fa(),E=t.memoizedState,d||w!==E||Vn?(typeof L=="function"&&(Nu(t,n,L,l),E=t.memoizedState),(p=Vn||Pr(t,n,p,l,w,E,o))?(_||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount()),typeof c.componentDidMount=="function"&&(t.flags|=4194308)):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=l,t.memoizedState=E),c.props=l,c.state=E,c.context=o,l=p):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),l=!1)}else{c=t.stateNode,nu(e,t),o=t.memoizedProps,_=Cl(n,o),c.props=_,L=t.pendingProps,w=c.context,E=n.contextType,p=Wl,typeof E=="object"&&E!==null&&(p=yt(E)),d=n.getDerivedStateFromProps,(E=typeof d=="function"||typeof c.getSnapshotBeforeUpdate=="function")||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(o!==L||w!==p)&&e0(t,c,l,p),Vn=!1,w=t.memoizedState,c.state=w,Wa(t,l,c,i),Fa();var A=t.memoizedState;o!==L||w!==A||Vn||e!==null&&e.dependencies!==null&&lc(e.dependencies)?(typeof d=="function"&&(Nu(t,n,d,l),A=t.memoizedState),(_=Vn||Pr(t,n,_,l,w,A,p)||e!==null&&e.dependencies!==null&&lc(e.dependencies))?(E||typeof c.UNSAFE_componentWillUpdate!="function"&&typeof c.componentWillUpdate!="function"||(typeof c.componentWillUpdate=="function"&&c.componentWillUpdate(l,A,p),typeof c.UNSAFE_componentWillUpdate=="function"&&c.UNSAFE_componentWillUpdate(l,A,p)),typeof c.componentDidUpdate=="function"&&(t.flags|=4),typeof c.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof c.componentDidUpdate!="function"||o===e.memoizedProps&&w===e.memoizedState||(t.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&w===e.memoizedState||(t.flags|=1024),t.memoizedProps=l,t.memoizedState=A),c.props=l,c.state=A,c.context=p,l=_):(typeof c.componentDidUpdate!="function"||o===e.memoizedProps&&w===e.memoizedState||(t.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&w===e.memoizedState||(t.flags|=1024),l=!1)}return c=l,jc(e,t),l=(t.flags&128)!==0,c||l?(c=t.stateNode,n=l&&typeof n.getDerivedStateFromError!="function"?null:c.render(),t.flags|=1,e!==null&&l?(t.child=Ml(t,e.child,null,i),t.child=Ml(t,null,n,i)):gt(e,t,n,i),t.memoizedState=c.state,e=t.child):e=En(e,t,i),e}function p0(e,t,n,l){return jl(),t.flags|=256,gt(e,t,n,l),t.child}var Cu={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function _u(e){return{baseLanes:e,cachePool:ar()}}function Ru(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=kt),e}function y0(e,t,n){var l=t.pendingProps,i=!1,c=(t.flags&128)!==0,o;if((o=c)||(o=e!==null&&e.memoizedState===null?!1:(tt.current&2)!==0),o&&(i=!0,t.flags&=-129),o=(t.flags&32)!==0,t.flags&=-33,e===null){if(Ae){if(i?Qn(t):Zn(),(e=Ke)?(e=Nf(e,Qt),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Un!==null?{id:ln,overflow:an}:null,retryLane:536870912,hydrationErrors:null},n=J1(e),n.return=t,t.child=n,pt=t,Ke=null)):e=null,e===null)throw qn(t);return po(e)?t.lanes=32:t.lanes=536870912,null}var d=l.children;return l=l.fallback,i?(Zn(),i=t.mode,d=Ec({mode:"hidden",children:d},i),l=xl(l,i,n,null),d.return=t,l.return=t,d.sibling=l,t.child=d,l=t.child,l.memoizedState=_u(n),l.childLanes=Ru(e,o,n),t.memoizedState=Cu,ni(null,l)):(Qn(t),Ou(t,d))}var p=e.memoizedState;if(p!==null&&(d=p.dehydrated,d!==null)){if(c)t.flags&256?(Qn(t),t.flags&=-257,t=Du(e,t,n)):t.memoizedState!==null?(Zn(),t.child=e.child,t.flags|=128,t=null):(Zn(),d=l.fallback,i=t.mode,l=Ec({mode:"visible",children:l.children},i),d=xl(d,i,n,null),d.flags|=2,l.return=t,d.return=t,l.sibling=d,t.child=l,Ml(t,e.child,null,n),l=t.child,l.memoizedState=_u(n),l.childLanes=Ru(e,o,n),t.memoizedState=Cu,t=ni(null,l));else if(Qn(t),po(d)){if(o=d.nextSibling&&d.nextSibling.dataset,o)var E=o.dgst;o=E,l=Error(r(419)),l.stack="",l.digest=o,Xa({value:l,source:null,stack:null}),t=Du(e,t,n)}else if(ct||ta(e,t,n,!1),o=(n&e.childLanes)!==0,ct||o){if(o=Qe,o!==null&&(l=Aa(o,n),l!==0&&l!==p.retryLane))throw p.retryLane=l,Sl(e,l),_t(o,e,l),Mu;mo(d)||Rc(),t=Du(e,t,n)}else mo(d)?(t.flags|=192,t.child=e.child,t=null):(e=p.treeContext,Ke=Kt(d.nextSibling),pt=t,Ae=!0,Bn=null,Qt=!1,e!==null&&I1(t,e),t=Ou(t,l.children),t.flags|=4096);return t}return i?(Zn(),d=l.fallback,i=t.mode,p=e.child,E=p.sibling,l=gn(p,{mode:"hidden",children:l.children}),l.subtreeFlags=p.subtreeFlags&65011712,E!==null?d=gn(E,d):(d=xl(d,i,n,null),d.flags|=2),d.return=t,l.return=t,l.sibling=d,t.child=l,ni(null,l),l=t.child,d=e.child.memoizedState,d===null?d=_u(n):(i=d.cachePool,i!==null?(p=at._currentValue,i=i.parent!==p?{parent:p,pool:p}:i):i=ar(),d={baseLanes:d.baseLanes|n,cachePool:i}),l.memoizedState=d,l.childLanes=Ru(e,o,n),t.memoizedState=Cu,ni(e.child,l)):(Qn(t),n=e.child,e=n.sibling,n=gn(n,{mode:"visible",children:l.children}),n.return=t,n.sibling=null,e!==null&&(o=t.deletions,o===null?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=n,t.memoizedState=null,n)}function Ou(e,t){return t=Ec({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Ec(e,t){return e=Ot(22,e,null,t),e.lanes=0,e}function Du(e,t,n){return Ml(t,e.child,null,n),e=Ou(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function g0(e,t,n){e.lanes|=t;var l=e.alternate;l!==null&&(l.lanes|=t),Js(e.return,t,n)}function Lu(e,t,n,l,i,c){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:l,tail:n,tailMode:i,treeForkCount:c}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=l,o.tail=n,o.tailMode=i,o.treeForkCount=c)}function v0(e,t,n){var l=t.pendingProps,i=l.revealOrder,c=l.tail;l=l.children;var o=tt.current,d=(o&2)!==0;if(d?(o=o&1|2,t.flags|=128):o&=1,Q(tt,o),gt(e,t,l,n),l=Ae?Ya:0,!d&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&g0(e,n,t);else if(e.tag===19)g0(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&fc(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Lu(t,!1,i,n,c,l);break;case"backwards":case"unstable_legacy-backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&fc(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Lu(t,!0,n,null,c,l);break;case"together":Lu(t,!1,null,null,void 0,l);break;default:t.memoizedState=null}return t.child}function En(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Jn|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(ta(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(r(153));if(t.child!==null){for(e=t.child,n=gn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=gn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Hu(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&lc(e)))}function O4(e,t,n){switch(t.tag){case 3:Y(t,t.stateNode.containerInfo),Gn(t,at,e.memoizedState.cache),jl();break;case 27:case 5:ce(t);break;case 4:Y(t,t.stateNode.containerInfo);break;case 10:Gn(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,su(t),null;break;case 13:var l=t.memoizedState;if(l!==null)return l.dehydrated!==null?(Qn(t),t.flags|=128,null):(n&t.child.childLanes)!==0?y0(e,t,n):(Qn(t),e=En(e,t,n),e!==null?e.sibling:null);Qn(t);break;case 19:var i=(e.flags&128)!==0;if(l=(n&t.childLanes)!==0,l||(ta(e,t,n,!1),l=(n&t.childLanes)!==0),i){if(l)return v0(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Q(tt,tt.current),l)break;return null;case 22:return t.lanes=0,r0(e,t,n,t.pendingProps);case 24:Gn(t,at,e.memoizedState.cache)}return En(e,t,n)}function b0(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)ct=!0;else{if(!Hu(e,n)&&(t.flags&128)===0)return ct=!1,O4(e,t,n);ct=(e.flags&131072)!==0}else ct=!1,Ae&&(t.flags&1048576)!==0&&W1(t,Ya,t.index);switch(t.lanes=0,t.tag){case 16:e:{var l=t.pendingProps;if(e=zl(t.elementType),t.type=e,typeof e=="function")Gs(e)?(l=Cl(e,l),t.tag=1,t=m0(null,t,e,l,n)):(t.tag=0,t=Au(null,t,e,l,n));else{if(e!=null){var i=e.$$typeof;if(i===K){t.tag=11,t=s0(null,t,e,l,n);break e}else if(i===W){t.tag=14,t=u0(null,t,e,l,n);break e}}throw t=ae(e)||e,Error(r(306,t,""))}}return t;case 0:return Au(e,t,t.type,t.pendingProps,n);case 1:return l=t.type,i=Cl(l,t.pendingProps),m0(e,t,l,i,n);case 3:e:{if(Y(t,t.stateNode.containerInfo),e===null)throw Error(r(387));l=t.pendingProps;var c=t.memoizedState;i=c.element,nu(e,t),Wa(t,l,null,n);var o=t.memoizedState;if(l=o.cache,Gn(t,at,l),l!==c.cache&&Fs(t,[at],n,!0),Fa(),l=o.element,c.isDehydrated)if(c={element:l,isDehydrated:!1,cache:o.cache},t.updateQueue.baseState=c,t.memoizedState=c,t.flags&256){t=p0(e,t,l,n);break e}else if(l!==i){i=Vt(Error(r(424)),t),Xa(i),t=p0(e,t,l,n);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(Ke=Kt(e.firstChild),pt=t,Ae=!0,Bn=null,Qt=!0,n=rr(t,null,l,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(jl(),l===i){t=En(e,t,n);break e}gt(e,t,l,n)}t=t.child}return t;case 26:return jc(e,t),e===null?(n=_f(t.type,null,t.pendingProps,null))?t.memoizedState=n:Ae||(n=t.type,e=t.pendingProps,l=Bc(V.current).createElement(n),l[ft]=t,l[bt]=e,vt(l,n,e),Ze(l),t.stateNode=l):t.memoizedState=_f(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return ce(t),e===null&&Ae&&(l=t.stateNode=Mf(t.type,t.pendingProps,V.current),pt=t,Qt=!0,i=Ke,el(t.type)?(yo=i,Ke=Kt(l.firstChild)):Ke=i),gt(e,t,t.pendingProps.children,n),jc(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Ae&&((i=l=Ke)&&(l=o3(l,t.type,t.pendingProps,Qt),l!==null?(t.stateNode=l,pt=t,Ke=Kt(l.firstChild),Qt=!1,i=!0):i=!1),i||qn(t)),ce(t),i=t.type,c=t.pendingProps,o=e!==null?e.memoizedProps:null,l=c.children,ro(i,c)?l=null:o!==null&&ro(i,o)&&(t.flags|=32),t.memoizedState!==null&&(i=ou(e,t,w4,null,null,n),gi._currentValue=i),jc(e,t),gt(e,t,l,n),t.child;case 6:return e===null&&Ae&&((e=n=Ke)&&(n=r3(n,t.pendingProps,Qt),n!==null?(t.stateNode=n,pt=t,Ke=null,e=!0):e=!1),e||qn(t)),null;case 13:return y0(e,t,n);case 4:return Y(t,t.stateNode.containerInfo),l=t.pendingProps,e===null?t.child=Ml(t,null,l,n):gt(e,t,l,n),t.child;case 11:return s0(e,t,t.type,t.pendingProps,n);case 7:return gt(e,t,t.pendingProps,n),t.child;case 8:return gt(e,t,t.pendingProps.children,n),t.child;case 12:return gt(e,t,t.pendingProps.children,n),t.child;case 10:return l=t.pendingProps,Gn(t,t.type,l.value),gt(e,t,l.children,n),t.child;case 9:return i=t.type._context,l=t.pendingProps.children,wl(t),i=yt(i),l=l(i),t.flags|=1,gt(e,t,l,n),t.child;case 14:return u0(e,t,t.type,t.pendingProps,n);case 15:return o0(e,t,t.type,t.pendingProps,n);case 19:return v0(e,t,n);case 31:return R4(e,t,n);case 22:return r0(e,t,n,t.pendingProps);case 24:return wl(t),l=yt(at),e===null?(i=Ps(),i===null&&(i=Qe,c=Ws(),i.pooledCache=c,c.refCount++,c!==null&&(i.pooledCacheLanes|=n),i=c),t.memoizedState={parent:l,cache:i},tu(t),Gn(t,at,i)):((e.lanes&n)!==0&&(nu(e,t),Wa(t,null,null,n),Fa()),i=e.memoizedState,c=t.memoizedState,i.parent!==l?(i={parent:l,cache:l},t.memoizedState=i,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=i),Gn(t,at,l)):(l=c.cache,Gn(t,at,l),l!==i.cache&&Fs(t,[at],n,!0))),gt(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(r(156,t.tag))}function wn(e){e.flags|=4}function ku(e,t,n,l,i){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(i&335544128)===i)if(e.stateNode.complete)e.flags|=8192;else if(Z0())e.flags|=8192;else throw Tl=sc,eu}else e.flags&=-16777217}function S0(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Hf(t))if(Z0())e.flags|=8192;else throw Tl=sc,eu}function wc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Ri():536870912,e.lanes|=t,ha|=t)}function li(e,t){if(!Ae)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var l=null;n!==null;)n.alternate!==null&&(l=n),n=n.sibling;l===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:l.sibling=null}}function $e(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,l=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,l|=i.subtreeFlags&65011712,l|=i.flags&65011712,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,l|=i.subtreeFlags,l|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=l,e.childLanes=n,t}function D4(e,t,n){var l=t.pendingProps;switch(Qs(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return $e(t),null;case 1:return $e(t),null;case 3:return n=t.stateNode,l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),Sn(at),F(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(ea(t)?wn(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Ks())),$e(t),null;case 26:var i=t.type,c=t.memoizedState;return e===null?(wn(t),c!==null?($e(t),S0(t,c)):($e(t),ku(t,i,null,l,n))):c?c!==e.memoizedState?(wn(t),$e(t),S0(t,c)):($e(t),t.flags&=-16777217):(e=e.memoizedProps,e!==l&&wn(t),$e(t),ku(t,i,e,l,n)),null;case 27:if(pe(t),n=V.current,i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==l&&wn(t);else{if(!l){if(t.stateNode===null)throw Error(r(166));return $e(t),null}e=J.current,ea(t)?P1(t):(e=Mf(i,l,n),t.stateNode=e,wn(t))}return $e(t),null;case 5:if(pe(t),i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==l&&wn(t);else{if(!l){if(t.stateNode===null)throw Error(r(166));return $e(t),null}if(c=J.current,ea(t))P1(t);else{var o=Bc(V.current);switch(c){case 1:c=o.createElementNS("http://www.w3.org/2000/svg",i);break;case 2:c=o.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;default:switch(i){case"svg":c=o.createElementNS("http://www.w3.org/2000/svg",i);break;case"math":c=o.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;case"script":c=o.createElement("div"),c.innerHTML="<script><\/script>",c=c.removeChild(c.firstChild);break;case"select":c=typeof l.is=="string"?o.createElement("select",{is:l.is}):o.createElement("select"),l.multiple?c.multiple=!0:l.size&&(c.size=l.size);break;default:c=typeof l.is=="string"?o.createElement(i,{is:l.is}):o.createElement(i)}}c[ft]=t,c[bt]=l;e:for(o=t.child;o!==null;){if(o.tag===5||o.tag===6)c.appendChild(o.stateNode);else if(o.tag!==4&&o.tag!==27&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===t)break e;for(;o.sibling===null;){if(o.return===null||o.return===t)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}t.stateNode=c;e:switch(vt(c,i,l),i){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break e;case"img":l=!0;break e;default:l=!1}l&&wn(t)}}return $e(t),ku(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==l&&wn(t);else{if(typeof l!="string"&&t.stateNode===null)throw Error(r(166));if(e=V.current,ea(t)){if(e=t.stateNode,n=t.memoizedProps,l=null,i=pt,i!==null)switch(i.tag){case 27:case 5:l=i.memoizedProps}e[ft]=t,e=!!(e.nodeValue===n||l!==null&&l.suppressHydrationWarning===!0||gf(e.nodeValue,n)),e||qn(t,!0)}else e=Bc(e).createTextNode(l),e[ft]=t,t.stateNode=e}return $e(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(l=ea(t),n!==null){if(e===null){if(!l)throw Error(r(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(557));e[ft]=t}else jl(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;$e(t),e=!1}else n=Ks(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(Lt(t),t):(Lt(t),null);if((t.flags&128)!==0)throw Error(r(558))}return $e(t),null;case 13:if(l=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(i=ea(t),l!==null&&l.dehydrated!==null){if(e===null){if(!i)throw Error(r(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(r(317));i[ft]=t}else jl(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;$e(t),i=!1}else i=Ks(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),i=!0;if(!i)return t.flags&256?(Lt(t),t):(Lt(t),null)}return Lt(t),(t.flags&128)!==0?(t.lanes=n,t):(n=l!==null,e=e!==null&&e.memoizedState!==null,n&&(l=t.child,i=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(i=l.alternate.memoizedState.cachePool.pool),c=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(c=l.memoizedState.cachePool.pool),c!==i&&(l.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),wc(t,t.updateQueue),$e(t),null);case 4:return F(),e===null&&io(t.stateNode.containerInfo),$e(t),null;case 10:return Sn(t.type),$e(t),null;case 19:if(R(tt),l=t.memoizedState,l===null)return $e(t),null;if(i=(t.flags&128)!==0,c=l.rendering,c===null)if(i)li(l,!1);else{if(Pe!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(c=fc(e),c!==null){for(t.flags|=128,li(l,!1),e=c.updateQueue,t.updateQueue=e,wc(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)$1(n,e),n=n.sibling;return Q(tt,tt.current&1|2),Ae&&vn(t,l.treeForkCount),t.child}e=e.sibling}l.tail!==null&&mt()>Ac&&(t.flags|=128,i=!0,li(l,!1),t.lanes=4194304)}else{if(!i)if(e=fc(c),e!==null){if(t.flags|=128,i=!0,e=e.updateQueue,t.updateQueue=e,wc(t,e),li(l,!0),l.tail===null&&l.tailMode==="hidden"&&!c.alternate&&!Ae)return $e(t),null}else 2*mt()-l.renderingStartTime>Ac&&n!==536870912&&(t.flags|=128,i=!0,li(l,!1),t.lanes=4194304);l.isBackwards?(c.sibling=t.child,t.child=c):(e=l.last,e!==null?e.sibling=c:t.child=c,l.last=c)}return l.tail!==null?(e=l.tail,l.rendering=e,l.tail=e.sibling,l.renderingStartTime=mt(),e.sibling=null,n=tt.current,Q(tt,i?n&1|2:n&1),Ae&&vn(t,l.treeForkCount),e):($e(t),null);case 22:case 23:return Lt(t),cu(),l=t.memoizedState!==null,e!==null?e.memoizedState!==null!==l&&(t.flags|=8192):l&&(t.flags|=8192),l?(n&536870912)!==0&&(t.flags&128)===0&&($e(t),t.subtreeFlags&6&&(t.flags|=8192)):$e(t),n=t.updateQueue,n!==null&&wc(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),l=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),l!==n&&(t.flags|=2048),e!==null&&R(Nl),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Sn(at),$e(t),null;case 25:return null;case 30:return null}throw Error(r(156,t.tag))}function L4(e,t){switch(Qs(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Sn(at),F(),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(Lt(t),t.alternate===null)throw Error(r(340));jl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Lt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(r(340));jl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return R(tt),null;case 4:return F(),null;case 10:return Sn(t.type),null;case 22:case 23:return Lt(t),cu(),e!==null&&R(Nl),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Sn(at),null;case 25:return null;default:return null}}function x0(e,t){switch(Qs(t),t.tag){case 3:Sn(at),F();break;case 26:case 27:case 5:pe(t);break;case 4:F();break;case 31:t.memoizedState!==null&&Lt(t);break;case 13:Lt(t);break;case 19:R(tt);break;case 10:Sn(t.type);break;case 22:case 23:Lt(t),cu(),e!==null&&R(Nl);break;case 24:Sn(at)}}function ai(e,t){try{var n=t.updateQueue,l=n!==null?n.lastEffect:null;if(l!==null){var i=l.next;n=i;do{if((n.tag&e)===e){l=void 0;var c=n.create,o=n.inst;l=c(),o.destroy=l}n=n.next}while(n!==i)}}catch(d){qe(t,t.return,d)}}function Kn(e,t,n){try{var l=t.updateQueue,i=l!==null?l.lastEffect:null;if(i!==null){var c=i.next;l=c;do{if((l.tag&e)===e){var o=l.inst,d=o.destroy;if(d!==void 0){o.destroy=void 0,i=t;var p=n,E=d;try{E()}catch(_){qe(i,p,_)}}}l=l.next}while(l!==c)}}catch(_){qe(t,t.return,_)}}function j0(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{dr(t,n)}catch(l){qe(e,e.return,l)}}}function E0(e,t,n){n.props=Cl(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(l){qe(e,t,l)}}function ii(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var l=e.stateNode;break;case 30:l=e.stateNode;break;default:l=e.stateNode}typeof n=="function"?e.refCleanup=n(l):n.current=l}}catch(i){qe(e,t,i)}}function cn(e,t){var n=e.ref,l=e.refCleanup;if(n!==null)if(typeof l=="function")try{l()}catch(i){qe(e,t,i)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(i){qe(e,t,i)}else n.current=null}function w0(e){var t=e.type,n=e.memoizedProps,l=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&l.focus();break e;case"img":n.src?l.src=n.src:n.srcSet&&(l.srcset=n.srcSet)}}catch(i){qe(e,e.return,i)}}function Uu(e,t,n){try{var l=e.stateNode;l3(l,e.type,n,t),l[bt]=t}catch(i){qe(e,e.return,i)}}function N0(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&el(e.type)||e.tag===4}function Bu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||N0(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&&el(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 qu(e,t,n){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=pn));else if(l!==4&&(l===27&&el(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(qu(e,t,n),e=e.sibling;e!==null;)qu(e,t,n),e=e.sibling}function Nc(e,t,n){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(l!==4&&(l===27&&el(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(Nc(e,t,n),e=e.sibling;e!==null;)Nc(e,t,n),e=e.sibling}function z0(e){var t=e.stateNode,n=e.memoizedProps;try{for(var l=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);vt(t,l,n),t[ft]=e,t[bt]=n}catch(c){qe(e,e.return,c)}}var Nn=!1,st=!1,Gu=!1,T0=typeof WeakSet=="function"?WeakSet:Set,ht=null;function H4(e,t){if(e=e.containerInfo,uo=Zc,e=B1(e),Ds(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var l=n.getSelection&&n.getSelection();if(l&&l.rangeCount!==0){n=l.anchorNode;var i=l.anchorOffset,c=l.focusNode;l=l.focusOffset;try{n.nodeType,c.nodeType}catch{n=null;break e}var o=0,d=-1,p=-1,E=0,_=0,L=e,w=null;t:for(;;){for(var A;L!==n||i!==0&&L.nodeType!==3||(d=o+i),L!==c||l!==0&&L.nodeType!==3||(p=o+l),L.nodeType===3&&(o+=L.nodeValue.length),(A=L.firstChild)!==null;)w=L,L=A;for(;;){if(L===e)break t;if(w===n&&++E===i&&(d=o),w===c&&++_===l&&(p=o),(A=L.nextSibling)!==null)break;L=w,w=L.parentNode}L=A}n=d===-1||p===-1?null:{start:d,end:p}}else n=null}n=n||{start:0,end:0}}else n=null;for(oo={focusedElem:e,selectionRange:n},Zc=!1,ht=t;ht!==null;)if(t=ht,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ht=e;else for(;ht!==null;){switch(t=ht,c=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(n=0;n<e.length;n++)i=e[n],i.ref.impl=i.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&c!==null){e=void 0,n=t,i=c.memoizedProps,c=c.memoizedState,l=n.stateNode;try{var ee=Cl(n.type,i);e=l.getSnapshotBeforeUpdate(ee,c),l.__reactInternalSnapshotBeforeUpdate=e}catch(de){qe(n,n.return,de)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)ho(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":ho(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(r(163))}if(e=t.sibling,e!==null){e.return=t.return,ht=e;break}ht=t.return}}function M0(e,t,n){var l=n.flags;switch(n.tag){case 0:case 11:case 15:Tn(e,n),l&4&&ai(5,n);break;case 1:if(Tn(e,n),l&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(o){qe(n,n.return,o)}else{var i=Cl(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(o){qe(n,n.return,o)}}l&64&&j0(n),l&512&&ii(n,n.return);break;case 3:if(Tn(e,n),l&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{dr(e,t)}catch(o){qe(n,n.return,o)}}break;case 27:t===null&&l&4&&z0(n);case 26:case 5:Tn(e,n),t===null&&l&4&&w0(n),l&512&&ii(n,n.return);break;case 12:Tn(e,n);break;case 31:Tn(e,n),l&4&&_0(e,n);break;case 13:Tn(e,n),l&4&&R0(e,n),l&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=Q4.bind(null,n),f3(e,n))));break;case 22:if(l=n.memoizedState!==null||Nn,!l){t=t!==null&&t.memoizedState!==null||st,i=Nn;var c=st;Nn=l,(st=t)&&!c?Mn(e,n,(n.subtreeFlags&8772)!==0):Tn(e,n),Nn=i,st=c}break;case 30:break;default:Tn(e,n)}}function A0(e){var t=e.alternate;t!==null&&(e.alternate=null,A0(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Oa(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 Je=null,Tt=!1;function zn(e,t,n){for(n=n.child;n!==null;)C0(e,t,n),n=n.sibling}function C0(e,t,n){if(jt&&typeof jt.onCommitFiberUnmount=="function")try{jt.onCommitFiberUnmount(fn,n)}catch{}switch(n.tag){case 26:st||cn(n,t),zn(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:st||cn(n,t);var l=Je,i=Tt;el(n.type)&&(Je=n.stateNode,Tt=!1),zn(e,t,n),mi(n.stateNode),Je=l,Tt=i;break;case 5:st||cn(n,t);case 6:if(l=Je,i=Tt,Je=null,zn(e,t,n),Je=l,Tt=i,Je!==null)if(Tt)try{(Je.nodeType===9?Je.body:Je.nodeName==="HTML"?Je.ownerDocument.body:Je).removeChild(n.stateNode)}catch(c){qe(n,t,c)}else try{Je.removeChild(n.stateNode)}catch(c){qe(n,t,c)}break;case 18:Je!==null&&(Tt?(e=Je,Ef(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),xa(e)):Ef(Je,n.stateNode));break;case 4:l=Je,i=Tt,Je=n.stateNode.containerInfo,Tt=!0,zn(e,t,n),Je=l,Tt=i;break;case 0:case 11:case 14:case 15:Kn(2,n,t),st||Kn(4,n,t),zn(e,t,n);break;case 1:st||(cn(n,t),l=n.stateNode,typeof l.componentWillUnmount=="function"&&E0(n,t,l)),zn(e,t,n);break;case 21:zn(e,t,n);break;case 22:st=(l=st)||n.memoizedState!==null,zn(e,t,n),st=l;break;default:zn(e,t,n)}}function _0(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{xa(e)}catch(n){qe(t,t.return,n)}}}function R0(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{xa(e)}catch(n){qe(t,t.return,n)}}function k4(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new T0),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new T0),t;default:throw Error(r(435,e.tag))}}function zc(e,t){var n=k4(e);t.forEach(function(l){if(!n.has(l)){n.add(l);var i=Z4.bind(null,e,l);l.then(i,i)}})}function Mt(e,t){var n=t.deletions;if(n!==null)for(var l=0;l<n.length;l++){var i=n[l],c=e,o=t,d=o;e:for(;d!==null;){switch(d.tag){case 27:if(el(d.type)){Je=d.stateNode,Tt=!1;break e}break;case 5:Je=d.stateNode,Tt=!1;break e;case 3:case 4:Je=d.stateNode.containerInfo,Tt=!0;break e}d=d.return}if(Je===null)throw Error(r(160));C0(c,o,i),Je=null,Tt=!1,c=i.alternate,c!==null&&(c.return=null),i.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)O0(t,e),t=t.sibling}var Wt=null;function O0(e,t){var n=e.alternate,l=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Mt(t,e),At(e),l&4&&(Kn(3,e,e.return),ai(3,e),Kn(5,e,e.return));break;case 1:Mt(t,e),At(e),l&512&&(st||n===null||cn(n,n.return)),l&64&&Nn&&(e=e.updateQueue,e!==null&&(l=e.callbacks,l!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?l:n.concat(l))));break;case 26:var i=Wt;if(Mt(t,e),At(e),l&512&&(st||n===null||cn(n,n.return)),l&4){var c=n!==null?n.memoizedState:null;if(l=e.memoizedState,n===null)if(l===null)if(e.stateNode===null){e:{l=e.type,n=e.memoizedProps,i=i.ownerDocument||i;t:switch(l){case"title":c=i.getElementsByTagName("title")[0],(!c||c[pl]||c[ft]||c.namespaceURI==="http://www.w3.org/2000/svg"||c.hasAttribute("itemprop"))&&(c=i.createElement(l),i.head.insertBefore(c,i.querySelector("head > title"))),vt(c,l,n),c[ft]=e,Ze(c),l=c;break e;case"link":var o=Df("link","href",i).get(l+(n.href||""));if(o){for(var d=0;d<o.length;d++)if(c=o[d],c.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&c.getAttribute("rel")===(n.rel==null?null:n.rel)&&c.getAttribute("title")===(n.title==null?null:n.title)&&c.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){o.splice(d,1);break t}}c=i.createElement(l),vt(c,l,n),i.head.appendChild(c);break;case"meta":if(o=Df("meta","content",i).get(l+(n.content||""))){for(d=0;d<o.length;d++)if(c=o[d],c.getAttribute("content")===(n.content==null?null:""+n.content)&&c.getAttribute("name")===(n.name==null?null:n.name)&&c.getAttribute("property")===(n.property==null?null:n.property)&&c.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&c.getAttribute("charset")===(n.charSet==null?null:n.charSet)){o.splice(d,1);break t}}c=i.createElement(l),vt(c,l,n),i.head.appendChild(c);break;default:throw Error(r(468,l))}c[ft]=e,Ze(c),l=c}e.stateNode=l}else Lf(i,e.type,e.stateNode);else e.stateNode=Of(i,l,e.memoizedProps);else c!==l?(c===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):c.count--,l===null?Lf(i,e.type,e.stateNode):Of(i,l,e.memoizedProps)):l===null&&e.stateNode!==null&&Uu(e,e.memoizedProps,n.memoizedProps)}break;case 27:Mt(t,e),At(e),l&512&&(st||n===null||cn(n,n.return)),n!==null&&l&4&&Uu(e,e.memoizedProps,n.memoizedProps);break;case 5:if(Mt(t,e),At(e),l&512&&(st||n===null||cn(n,n.return)),e.flags&32){i=e.stateNode;try{Xl(i,"")}catch(ee){qe(e,e.return,ee)}}l&4&&e.stateNode!=null&&(i=e.memoizedProps,Uu(e,i,n!==null?n.memoizedProps:i)),l&1024&&(Gu=!0);break;case 6:if(Mt(t,e),At(e),l&4){if(e.stateNode===null)throw Error(r(162));l=e.memoizedProps,n=e.stateNode;try{n.nodeValue=l}catch(ee){qe(e,e.return,ee)}}break;case 3:if(Vc=null,i=Wt,Wt=qc(t.containerInfo),Mt(t,e),Wt=i,At(e),l&4&&n!==null&&n.memoizedState.isDehydrated)try{xa(t.containerInfo)}catch(ee){qe(e,e.return,ee)}Gu&&(Gu=!1,D0(e));break;case 4:l=Wt,Wt=qc(e.stateNode.containerInfo),Mt(t,e),At(e),Wt=l;break;case 12:Mt(t,e),At(e);break;case 31:Mt(t,e),At(e),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,zc(e,l)));break;case 13:Mt(t,e),At(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(Mc=mt()),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,zc(e,l)));break;case 22:i=e.memoizedState!==null;var p=n!==null&&n.memoizedState!==null,E=Nn,_=st;if(Nn=E||i,st=_||p,Mt(t,e),st=_,Nn=E,At(e),l&8192)e:for(t=e.stateNode,t._visibility=i?t._visibility&-2:t._visibility|1,i&&(n===null||p||Nn||st||_l(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){p=n=t;try{if(c=p.stateNode,i)o=c.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none";else{d=p.stateNode;var L=p.memoizedProps.style,w=L!=null&&L.hasOwnProperty("display")?L.display:null;d.style.display=w==null||typeof w=="boolean"?"":(""+w).trim()}}catch(ee){qe(p,p.return,ee)}}}else if(t.tag===6){if(n===null){p=t;try{p.stateNode.nodeValue=i?"":p.memoizedProps}catch(ee){qe(p,p.return,ee)}}}else if(t.tag===18){if(n===null){p=t;try{var A=p.stateNode;i?wf(A,!0):wf(p.stateNode,!1)}catch(ee){qe(p,p.return,ee)}}}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;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}l&4&&(l=e.updateQueue,l!==null&&(n=l.retryQueue,n!==null&&(l.retryQueue=null,zc(e,n))));break;case 19:Mt(t,e),At(e),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,zc(e,l)));break;case 30:break;case 21:break;default:Mt(t,e),At(e)}}function At(e){var t=e.flags;if(t&2){try{for(var n,l=e.return;l!==null;){if(N0(l)){n=l;break}l=l.return}if(n==null)throw Error(r(160));switch(n.tag){case 27:var i=n.stateNode,c=Bu(e);Nc(e,c,i);break;case 5:var o=n.stateNode;n.flags&32&&(Xl(o,""),n.flags&=-33);var d=Bu(e);Nc(e,d,o);break;case 3:case 4:var p=n.stateNode.containerInfo,E=Bu(e);qu(e,E,p);break;default:throw Error(r(161))}}catch(_){qe(e,e.return,_)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function D0(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;D0(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Tn(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)M0(e,t.alternate,t),t=t.sibling}function _l(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Kn(4,t,t.return),_l(t);break;case 1:cn(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount=="function"&&E0(t,t.return,n),_l(t);break;case 27:mi(t.stateNode);case 26:case 5:cn(t,t.return),_l(t);break;case 22:t.memoizedState===null&&_l(t);break;case 30:_l(t);break;default:_l(t)}e=e.sibling}}function Mn(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var l=t.alternate,i=e,c=t,o=c.flags;switch(c.tag){case 0:case 11:case 15:Mn(i,c,n),ai(4,c);break;case 1:if(Mn(i,c,n),l=c,i=l.stateNode,typeof i.componentDidMount=="function")try{i.componentDidMount()}catch(E){qe(l,l.return,E)}if(l=c,i=l.updateQueue,i!==null){var d=l.stateNode;try{var p=i.shared.hiddenCallbacks;if(p!==null)for(i.shared.hiddenCallbacks=null,i=0;i<p.length;i++)fr(p[i],d)}catch(E){qe(l,l.return,E)}}n&&o&64&&j0(c),ii(c,c.return);break;case 27:z0(c);case 26:case 5:Mn(i,c,n),n&&l===null&&o&4&&w0(c),ii(c,c.return);break;case 12:Mn(i,c,n);break;case 31:Mn(i,c,n),n&&o&4&&_0(i,c);break;case 13:Mn(i,c,n),n&&o&4&&R0(i,c);break;case 22:c.memoizedState===null&&Mn(i,c,n),ii(c,c.return);break;case 30:break;default:Mn(i,c,n)}t=t.sibling}}function Vu(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&Qa(n))}function Yu(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Qa(e))}function It(e,t,n,l){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)L0(e,t,n,l),t=t.sibling}function L0(e,t,n,l){var i=t.flags;switch(t.tag){case 0:case 11:case 15:It(e,t,n,l),i&2048&&ai(9,t);break;case 1:It(e,t,n,l);break;case 3:It(e,t,n,l),i&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Qa(e)));break;case 12:if(i&2048){It(e,t,n,l),e=t.stateNode;try{var c=t.memoizedProps,o=c.id,d=c.onPostCommit;typeof d=="function"&&d(o,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(p){qe(t,t.return,p)}}else It(e,t,n,l);break;case 31:It(e,t,n,l);break;case 13:It(e,t,n,l);break;case 23:break;case 22:c=t.stateNode,o=t.alternate,t.memoizedState!==null?c._visibility&2?It(e,t,n,l):ci(e,t):c._visibility&2?It(e,t,n,l):(c._visibility|=2,ra(e,t,n,l,(t.subtreeFlags&10256)!==0||!1)),i&2048&&Vu(o,t);break;case 24:It(e,t,n,l),i&2048&&Yu(t.alternate,t);break;default:It(e,t,n,l)}}function ra(e,t,n,l,i){for(i=i&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var c=e,o=t,d=n,p=l,E=o.flags;switch(o.tag){case 0:case 11:case 15:ra(c,o,d,p,i),ai(8,o);break;case 23:break;case 22:var _=o.stateNode;o.memoizedState!==null?_._visibility&2?ra(c,o,d,p,i):ci(c,o):(_._visibility|=2,ra(c,o,d,p,i)),i&&E&2048&&Vu(o.alternate,o);break;case 24:ra(c,o,d,p,i),i&&E&2048&&Yu(o.alternate,o);break;default:ra(c,o,d,p,i)}t=t.sibling}}function ci(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,l=t,i=l.flags;switch(l.tag){case 22:ci(n,l),i&2048&&Vu(l.alternate,l);break;case 24:ci(n,l),i&2048&&Yu(l.alternate,l);break;default:ci(n,l)}t=t.sibling}}var si=8192;function fa(e,t,n){if(e.subtreeFlags&si)for(e=e.child;e!==null;)H0(e,t,n),e=e.sibling}function H0(e,t,n){switch(e.tag){case 26:fa(e,t,n),e.flags&si&&e.memoizedState!==null&&E3(n,Wt,e.memoizedState,e.memoizedProps);break;case 5:fa(e,t,n);break;case 3:case 4:var l=Wt;Wt=qc(e.stateNode.containerInfo),fa(e,t,n),Wt=l;break;case 22:e.memoizedState===null&&(l=e.alternate,l!==null&&l.memoizedState!==null?(l=si,si=16777216,fa(e,t,n),si=l):fa(e,t,n));break;default:fa(e,t,n)}}function k0(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 ui(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var l=t[n];ht=l,B0(l,e)}k0(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)U0(e),e=e.sibling}function U0(e){switch(e.tag){case 0:case 11:case 15:ui(e),e.flags&2048&&Kn(9,e,e.return);break;case 3:ui(e);break;case 12:ui(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Tc(e)):ui(e);break;default:ui(e)}}function Tc(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var l=t[n];ht=l,B0(l,e)}k0(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Kn(8,t,t.return),Tc(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,Tc(t));break;default:Tc(t)}e=e.sibling}}function B0(e,t){for(;ht!==null;){var n=ht;switch(n.tag){case 0:case 11:case 15:Kn(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var l=n.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:Qa(n.memoizedState.cache)}if(l=n.child,l!==null)l.return=n,ht=l;else e:for(n=e;ht!==null;){l=ht;var i=l.sibling,c=l.return;if(A0(l),l===n){ht=null;break e}if(i!==null){i.return=c,ht=i;break e}ht=c}}}var U4={getCacheForType:function(e){var t=yt(at),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return yt(at).controller.signal}},B4=typeof WeakMap=="function"?WeakMap:Map,Ue=0,Qe=null,we=null,ze=0,Be=0,Ht=null,$n=!1,da=!1,Xu=!1,An=0,Pe=0,Jn=0,Rl=0,Qu=0,kt=0,ha=0,oi=null,Ct=null,Zu=!1,Mc=0,q0=0,Ac=1/0,Cc=null,Fn=null,dt=0,Wn=null,ma=null,Cn=0,Ku=0,$u=null,G0=null,ri=0,Ju=null;function Ut(){return(Ue&2)!==0&&ze!==0?ze&-ze:M.T!==null?to():Li()}function V0(){if(kt===0)if((ze&536870912)===0||Ae){var e=Gl;Gl<<=1,(Gl&3932160)===0&&(Gl=262144),kt=e}else kt=536870912;return e=Dt.current,e!==null&&(e.flags|=32),kt}function _t(e,t,n){(e===Qe&&(Be===2||Be===9)||e.cancelPendingCommit!==null)&&(pa(e,0),In(e,ze,kt,!1)),ml(e,n),((Ue&2)===0||e!==Qe)&&(e===Qe&&((Ue&2)===0&&(Rl|=n),Pe===4&&In(e,ze,kt,!1)),sn(e))}function Y0(e,t,n){if((Ue&6)!==0)throw Error(r(327));var l=!n&&(t&127)===0&&(t&e.expiredLanes)===0||Ln(e,t),i=l?V4(e,t):Wu(e,t,!0),c=l;do{if(i===0){da&&!l&&In(e,t,0,!1);break}else{if(n=e.current.alternate,c&&!q4(n)){i=Wu(e,t,!1),c=!1;continue}if(i===2){if(c=t,e.errorRecoveryDisabledLanes&c)var o=0;else o=e.pendingLanes&-536870913,o=o!==0?o:o&536870912?536870912:0;if(o!==0){t=o;e:{var d=e;i=oi;var p=d.current.memoizedState.isDehydrated;if(p&&(pa(d,o).flags|=256),o=Wu(d,o,!1),o!==2){if(Xu&&!p){d.errorRecoveryDisabledLanes|=c,Rl|=c,i=4;break e}c=Ct,Ct=i,c!==null&&(Ct===null?Ct=c:Ct.push.apply(Ct,c))}i=o}if(c=!1,i!==2)continue}}if(i===1){pa(e,0),In(e,t,0,!0);break}e:{switch(l=e,c=i,c){case 0:case 1:throw Error(r(345));case 4:if((t&4194048)!==t)break;case 6:In(l,t,kt,!$n);break e;case 2:Ct=null;break;case 3:case 5:break;default:throw Error(r(329))}if((t&62914560)===t&&(i=Mc+300-mt(),10<i)){if(In(l,t,kt,!$n),hl(l,0,!0)!==0)break e;Cn=t,l.timeoutHandle=xf(X0.bind(null,l,n,Ct,Cc,Zu,t,kt,Rl,ha,$n,c,"Throttled",-0,0),i);break e}X0(l,n,Ct,Cc,Zu,t,kt,Rl,ha,$n,c,null,-0,0)}}break}while(!0);sn(e)}function X0(e,t,n,l,i,c,o,d,p,E,_,L,w,A){if(e.timeoutHandle=-1,L=t.subtreeFlags,L&8192||(L&16785408)===16785408){L={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:pn},H0(t,c,L);var ee=(c&62914560)===c?Mc-mt():(c&4194048)===c?q0-mt():0;if(ee=w3(L,ee),ee!==null){Cn=c,e.cancelPendingCommit=ee(I0.bind(null,e,t,c,n,l,i,o,d,p,_,L,null,w,A)),In(e,c,o,!E);return}}I0(e,t,c,n,l,i,o,d,p)}function q4(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var l=0;l<n.length;l++){var i=n[l],c=i.getSnapshot;i=i.value;try{if(!Rt(c(),i))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function In(e,t,n,l){t&=~Qu,t&=~Rl,e.suspendedLanes|=t,e.pingedLanes&=~t,l&&(e.warmLanes|=t),l=e.expirationTimes;for(var i=t;0<i;){var c=31-Et(i),o=1<<c;l[c]=-1,i&=~o}n!==0&&Oi(e,n,t)}function _c(){return(Ue&6)===0?(fi(0),!1):!0}function Fu(){if(we!==null){if(Be===0)var e=we.return;else e=we,bn=El=null,du(e),ia=null,Ka=0,e=we;for(;e!==null;)x0(e.alternate,e),e=e.return;we=null}}function pa(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,c3(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),Cn=0,Fu(),Qe=e,we=n=gn(e.current,null),ze=t,Be=0,Ht=null,$n=!1,da=Ln(e,t),Xu=!1,ha=kt=Qu=Rl=Jn=Pe=0,Ct=oi=null,Zu=!1,(t&8)!==0&&(t|=t&32);var l=e.entangledLanes;if(l!==0)for(e=e.entanglements,l&=t;0<l;){var i=31-Et(l),c=1<<i;t|=e[i],l&=~c}return An=t,Ii(),n}function Q0(e,t){Se=null,M.H=ti,t===aa||t===cc?(t=sr(),Be=3):t===eu?(t=sr(),Be=4):Be=t===Mu?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Ht=t,we===null&&(Pe=1,Sc(e,Vt(t,e.current)))}function Z0(){var e=Dt.current;return e===null?!0:(ze&4194048)===ze?Zt===null:(ze&62914560)===ze||(ze&536870912)!==0?e===Zt:!1}function K0(){var e=M.H;return M.H=ti,e===null?ti:e}function $0(){var e=M.A;return M.A=U4,e}function Rc(){Pe=4,$n||(ze&4194048)!==ze&&Dt.current!==null||(da=!0),(Jn&134217727)===0&&(Rl&134217727)===0||Qe===null||In(Qe,ze,kt,!1)}function Wu(e,t,n){var l=Ue;Ue|=2;var i=K0(),c=$0();(Qe!==e||ze!==t)&&(Cc=null,pa(e,t)),t=!1;var o=Pe;e:do try{if(Be!==0&&we!==null){var d=we,p=Ht;switch(Be){case 8:Fu(),o=6;break e;case 3:case 2:case 9:case 6:Dt.current===null&&(t=!0);var E=Be;if(Be=0,Ht=null,ya(e,d,p,E),n&&da){o=0;break e}break;default:E=Be,Be=0,Ht=null,ya(e,d,p,E)}}G4(),o=Pe;break}catch(_){Q0(e,_)}while(!0);return t&&e.shellSuspendCounter++,bn=El=null,Ue=l,M.H=i,M.A=c,we===null&&(Qe=null,ze=0,Ii()),o}function G4(){for(;we!==null;)J0(we)}function V4(e,t){var n=Ue;Ue|=2;var l=K0(),i=$0();Qe!==e||ze!==t?(Cc=null,Ac=mt()+500,pa(e,t)):da=Ln(e,t);e:do try{if(Be!==0&&we!==null){t=we;var c=Ht;t:switch(Be){case 1:Be=0,Ht=null,ya(e,t,c,1);break;case 2:case 9:if(ir(c)){Be=0,Ht=null,F0(t);break}t=function(){Be!==2&&Be!==9||Qe!==e||(Be=7),sn(e)},c.then(t,t);break e;case 3:Be=7;break e;case 4:Be=5;break e;case 7:ir(c)?(Be=0,Ht=null,F0(t)):(Be=0,Ht=null,ya(e,t,c,7));break;case 5:var o=null;switch(we.tag){case 26:o=we.memoizedState;case 5:case 27:var d=we;if(o?Hf(o):d.stateNode.complete){Be=0,Ht=null;var p=d.sibling;if(p!==null)we=p;else{var E=d.return;E!==null?(we=E,Oc(E)):we=null}break t}}Be=0,Ht=null,ya(e,t,c,5);break;case 6:Be=0,Ht=null,ya(e,t,c,6);break;case 8:Fu(),Pe=6;break e;default:throw Error(r(462))}}Y4();break}catch(_){Q0(e,_)}while(!0);return bn=El=null,M.H=l,M.A=i,Ue=n,we!==null?0:(Qe=null,ze=0,Ii(),Pe)}function Y4(){for(;we!==null&&!rl();)J0(we)}function J0(e){var t=b0(e.alternate,e,An);e.memoizedProps=e.pendingProps,t===null?Oc(e):we=t}function F0(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=h0(n,t,t.pendingProps,t.type,void 0,ze);break;case 11:t=h0(n,t,t.pendingProps,t.type.render,t.ref,ze);break;case 5:du(t);default:x0(n,t),t=we=$1(t,An),t=b0(n,t,An)}e.memoizedProps=e.pendingProps,t===null?Oc(e):we=t}function ya(e,t,n,l){bn=El=null,du(t),ia=null,Ka=0;var i=t.return;try{if(_4(e,i,t,n,ze)){Pe=1,Sc(e,Vt(n,e.current)),we=null;return}}catch(c){if(i!==null)throw we=i,c;Pe=1,Sc(e,Vt(n,e.current)),we=null;return}t.flags&32768?(Ae||l===1?e=!0:da||(ze&536870912)!==0?e=!1:($n=e=!0,(l===2||l===9||l===3||l===6)&&(l=Dt.current,l!==null&&l.tag===13&&(l.flags|=16384))),W0(t,e)):Oc(t)}function Oc(e){var t=e;do{if((t.flags&32768)!==0){W0(t,$n);return}e=t.return;var n=D4(t.alternate,t,An);if(n!==null){we=n;return}if(t=t.sibling,t!==null){we=t;return}we=t=e}while(t!==null);Pe===0&&(Pe=5)}function W0(e,t){do{var n=L4(e.alternate,e);if(n!==null){n.flags&=32767,we=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){we=e;return}we=e=n}while(e!==null);Pe=6,we=null}function I0(e,t,n,l,i,c,o,d,p){e.cancelPendingCommit=null;do Dc();while(dt!==0);if((Ue&6)!==0)throw Error(r(327));if(t!==null){if(t===e.current)throw Error(r(177));if(c=t.lanes|t.childLanes,c|=Bs,ys(e,n,c,o,d,p),e===Qe&&(we=Qe=null,ze=0),ma=t,Wn=e,Cn=n,Ku=c,$u=i,G0=l,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,K4(rn,function(){return lf(),null})):(e.callbackNode=null,e.callbackPriority=0),l=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||l){l=M.T,M.T=null,i=X.p,X.p=2,o=Ue,Ue|=4;try{H4(e,t,n)}finally{Ue=o,X.p=i,M.T=l}}dt=1,P0(),ef(),tf()}}function P0(){if(dt===1){dt=0;var e=Wn,t=ma,n=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||n){n=M.T,M.T=null;var l=X.p;X.p=2;var i=Ue;Ue|=4;try{O0(t,e);var c=oo,o=B1(e.containerInfo),d=c.focusedElem,p=c.selectionRange;if(o!==d&&d&&d.ownerDocument&&U1(d.ownerDocument.documentElement,d)){if(p!==null&&Ds(d)){var E=p.start,_=p.end;if(_===void 0&&(_=E),"selectionStart"in d)d.selectionStart=E,d.selectionEnd=Math.min(_,d.value.length);else{var L=d.ownerDocument||document,w=L&&L.defaultView||window;if(w.getSelection){var A=w.getSelection(),ee=d.textContent.length,de=Math.min(p.start,ee),Ye=p.end===void 0?de:Math.min(p.end,ee);!A.extend&&de>Ye&&(o=Ye,Ye=de,de=o);var S=k1(d,de),v=k1(d,Ye);if(S&&v&&(A.rangeCount!==1||A.anchorNode!==S.node||A.anchorOffset!==S.offset||A.focusNode!==v.node||A.focusOffset!==v.offset)){var j=L.createRange();j.setStart(S.node,S.offset),A.removeAllRanges(),de>Ye?(A.addRange(j),A.extend(v.node,v.offset)):(j.setEnd(v.node,v.offset),A.addRange(j))}}}}for(L=[],A=d;A=A.parentNode;)A.nodeType===1&&L.push({element:A,left:A.scrollLeft,top:A.scrollTop});for(typeof d.focus=="function"&&d.focus(),d=0;d<L.length;d++){var O=L[d];O.element.scrollLeft=O.left,O.element.scrollTop=O.top}}Zc=!!uo,oo=uo=null}finally{Ue=i,X.p=l,M.T=n}}e.current=t,dt=2}}function ef(){if(dt===2){dt=0;var e=Wn,t=ma,n=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||n){n=M.T,M.T=null;var l=X.p;X.p=2;var i=Ue;Ue|=4;try{M0(e,t.alternate,t)}finally{Ue=i,X.p=l,M.T=n}}dt=3}}function tf(){if(dt===4||dt===3){dt=0,hs();var e=Wn,t=ma,n=Cn,l=G0;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?dt=5:(dt=0,ma=Wn=null,nf(e,e.pendingLanes));var i=e.pendingLanes;if(i===0&&(Fn=null),_a(n),t=t.stateNode,jt&&typeof jt.onCommitFiberRoot=="function")try{jt.onCommitFiberRoot(fn,t,void 0,(t.current.flags&128)===128)}catch{}if(l!==null){t=M.T,i=X.p,X.p=2,M.T=null;try{for(var c=e.onRecoverableError,o=0;o<l.length;o++){var d=l[o];c(d.value,{componentStack:d.stack})}}finally{M.T=t,X.p=i}}(Cn&3)!==0&&Dc(),sn(e),i=e.pendingLanes,(n&261930)!==0&&(i&42)!==0?e===Ju?ri++:(ri=0,Ju=e):ri=0,fi(0)}}function nf(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Qa(t)))}function Dc(){return P0(),ef(),tf(),lf()}function lf(){if(dt!==5)return!1;var e=Wn,t=Ku;Ku=0;var n=_a(Cn),l=M.T,i=X.p;try{X.p=32>n?32:n,M.T=null,n=$u,$u=null;var c=Wn,o=Cn;if(dt=0,ma=Wn=null,Cn=0,(Ue&6)!==0)throw Error(r(331));var d=Ue;if(Ue|=4,U0(c.current),L0(c,c.current,o,n),Ue=d,fi(0,!1),jt&&typeof jt.onPostCommitFiberRoot=="function")try{jt.onPostCommitFiberRoot(fn,c)}catch{}return!0}finally{X.p=i,M.T=l,nf(e,t)}}function af(e,t,n){t=Vt(n,t),t=Tu(e.stateNode,t,2),e=Xn(e,t,2),e!==null&&(ml(e,2),sn(e))}function qe(e,t,n){if(e.tag===3)af(e,e,n);else for(;t!==null;){if(t.tag===3){af(t,e,n);break}else if(t.tag===1){var l=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(Fn===null||!Fn.has(l))){e=Vt(n,e),n=i0(2),l=Xn(t,n,2),l!==null&&(c0(n,l,t,e),ml(l,2),sn(l));break}}t=t.return}}function Iu(e,t,n){var l=e.pingCache;if(l===null){l=e.pingCache=new B4;var i=new Set;l.set(t,i)}else i=l.get(t),i===void 0&&(i=new Set,l.set(t,i));i.has(n)||(Xu=!0,i.add(n),e=X4.bind(null,e,t,n),t.then(e,e))}function X4(e,t,n){var l=e.pingCache;l!==null&&l.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Qe===e&&(ze&n)===n&&(Pe===4||Pe===3&&(ze&62914560)===ze&&300>mt()-Mc?(Ue&2)===0&&pa(e,0):Qu|=n,ha===ze&&(ha=0)),sn(e)}function cf(e,t){t===0&&(t=Ri()),e=Sl(e,t),e!==null&&(ml(e,t),sn(e))}function Q4(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),cf(e,n)}function Z4(e,t){var n=0;switch(e.tag){case 31:case 13:var l=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:l=e.stateNode;break;case 22:l=e.stateNode._retryCache;break;default:throw Error(r(314))}l!==null&&l.delete(t),cf(e,n)}function K4(e,t){return ol(e,t)}var Lc=null,ga=null,Pu=!1,Hc=!1,eo=!1,Pn=0;function sn(e){e!==ga&&e.next===null&&(ga===null?Lc=ga=e:ga=ga.next=e),Hc=!0,Pu||(Pu=!0,J4())}function fi(e,t){if(!eo&&Hc){eo=!0;do for(var n=!1,l=Lc;l!==null;){if(e!==0){var i=l.pendingLanes;if(i===0)var c=0;else{var o=l.suspendedLanes,d=l.pingedLanes;c=(1<<31-Et(42|e)+1)-1,c&=i&~(o&~d),c=c&201326741?c&201326741|1:c?c|2:0}c!==0&&(n=!0,rf(l,c))}else c=ze,c=hl(l,l===Qe?c:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(c&3)===0||Ln(l,c)||(n=!0,rf(l,c));l=l.next}while(n);eo=!1}}function $4(){sf()}function sf(){Hc=Pu=!1;var e=0;Pn!==0&&i3()&&(e=Pn);for(var t=mt(),n=null,l=Lc;l!==null;){var i=l.next,c=uf(l,t);c===0?(l.next=null,n===null?Lc=i:n.next=i,i===null&&(ga=n)):(n=l,(e!==0||(c&3)!==0)&&(Hc=!0)),l=i}dt!==0&&dt!==5||fi(e),Pn!==0&&(Pn=0)}function uf(e,t){for(var n=e.suspendedLanes,l=e.pingedLanes,i=e.expirationTimes,c=e.pendingLanes&-62914561;0<c;){var o=31-Et(c),d=1<<o,p=i[o];p===-1?((d&n)===0||(d&l)!==0)&&(i[o]=ps(d,t)):p<=t&&(e.expiredLanes|=d),c&=~d}if(t=Qe,n=ze,n=hl(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l=e.callbackNode,n===0||e===t&&(Be===2||Be===9)||e.cancelPendingCommit!==null)return l!==null&&l!==null&&On(l),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||Ln(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(l!==null&&On(l),_a(n)){case 2:case 8:n=en;break;case 32:n=rn;break;case 268435456:n=fl;break;default:n=rn}return l=of.bind(null,e),n=ol(n,l),e.callbackPriority=t,e.callbackNode=n,t}return l!==null&&l!==null&&On(l),e.callbackPriority=2,e.callbackNode=null,2}function of(e,t){if(dt!==0&&dt!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Dc()&&e.callbackNode!==n)return null;var l=ze;return l=hl(e,e===Qe?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l===0?null:(Y0(e,l,t),uf(e,mt()),e.callbackNode!=null&&e.callbackNode===n?of.bind(null,e):null)}function rf(e,t){if(Dc())return null;Y0(e,t,!0)}function J4(){s3(function(){(Ue&6)!==0?ol(Dn,$4):sf()})}function to(){if(Pn===0){var e=na;e===0&&(e=dn,dn<<=1,(dn&261888)===0&&(dn=256)),Pn=e}return Pn}function ff(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Xi(""+e)}function df(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function F4(e,t,n,l,i){if(t==="submit"&&n&&n.stateNode===i){var c=ff((i[bt]||null).action),o=l.submitter;o&&(t=(t=o[bt]||null)?ff(t.formAction):o.getAttribute("formAction"),t!==null&&(c=t,o=null));var d=new $i("action","action",null,l,i);e.push({event:d,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(Pn!==0){var p=o?df(i,o):new FormData(i);xu(n,{pending:!0,data:p,method:i.method,action:c},null,p)}}else typeof c=="function"&&(d.preventDefault(),p=o?df(i,o):new FormData(i),xu(n,{pending:!0,data:p,method:i.method,action:c},c,p))},currentTarget:i}]})}}for(var no=0;no<Us.length;no++){var lo=Us[no],W4=lo.toLowerCase(),I4=lo[0].toUpperCase()+lo.slice(1);Ft(W4,"on"+I4)}Ft(V1,"onAnimationEnd"),Ft(Y1,"onAnimationIteration"),Ft(X1,"onAnimationStart"),Ft("dblclick","onDoubleClick"),Ft("focusin","onFocus"),Ft("focusout","onBlur"),Ft(m4,"onTransitionRun"),Ft(p4,"onTransitionStart"),Ft(y4,"onTransitionCancel"),Ft(Q1,"onTransitionEnd"),Vl("onMouseEnter",["mouseout","mouseover"]),Vl("onMouseLeave",["mouseout","mouseover"]),Vl("onPointerEnter",["pointerout","pointerover"]),Vl("onPointerLeave",["pointerout","pointerover"]),yl("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),yl("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),yl("onBeforeInput",["compositionend","keypress","textInput","paste"]),yl("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),yl("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),yl("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var di="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(" "),P4=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(di));function hf(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var l=e[n],i=l.event;l=l.listeners;e:{var c=void 0;if(t)for(var o=l.length-1;0<=o;o--){var d=l[o],p=d.instance,E=d.currentTarget;if(d=d.listener,p!==c&&i.isPropagationStopped())break e;c=d,i.currentTarget=E;try{c(i)}catch(_){Wi(_)}i.currentTarget=null,c=p}else for(o=0;o<l.length;o++){if(d=l[o],p=d.instance,E=d.currentTarget,d=d.listener,p!==c&&i.isPropagationStopped())break e;c=d,i.currentTarget=E;try{c(i)}catch(_){Wi(_)}i.currentTarget=null,c=p}}}}function Ne(e,t){var n=t[Ra];n===void 0&&(n=t[Ra]=new Set);var l=e+"__bubble";n.has(l)||(mf(t,e,2,!1),n.add(l))}function ao(e,t,n){var l=0;t&&(l|=4),mf(n,e,l,t)}var kc="_reactListening"+Math.random().toString(36).slice(2);function io(e){if(!e[kc]){e[kc]=!0,Bi.forEach(function(n){n!=="selectionchange"&&(P4.has(n)||ao(n,!1,e),ao(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[kc]||(t[kc]=!0,ao("selectionchange",!1,t))}}function mf(e,t,n,l){switch(Yf(t)){case 2:var i=T3;break;case 8:i=M3;break;default:i=xo}n=i.bind(null,t,n,e),i=void 0,!Ns||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),l?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function co(e,t,n,l,i){var c=l;if((t&1)===0&&(t&2)===0&&l!==null)e:for(;;){if(l===null)return;var o=l.tag;if(o===3||o===4){var d=l.stateNode.containerInfo;if(d===i)break;if(o===4)for(o=l.return;o!==null;){var p=o.tag;if((p===3||p===4)&&o.stateNode.containerInfo===i)return;o=o.return}for(;d!==null;){if(o=H(d),o===null)return;if(p=o.tag,p===5||p===6||p===26||p===27){l=c=o;continue e}d=d.parentNode}}l=l.return}v1(function(){var E=c,_=Es(n),L=[];e:{var w=Z1.get(e);if(w!==void 0){var A=$i,ee=e;switch(e){case"keypress":if(Zi(n)===0)break e;case"keydown":case"keyup":A=Zd;break;case"focusin":ee="focus",A=As;break;case"focusout":ee="blur",A=As;break;case"beforeblur":case"afterblur":A=As;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":A=x1;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":A=Dd;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":A=Jd;break;case V1:case Y1:case X1:A=kd;break;case Q1:A=Wd;break;case"scroll":case"scrollend":A=Rd;break;case"wheel":A=Pd;break;case"copy":case"cut":case"paste":A=Bd;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":A=E1;break;case"toggle":case"beforetoggle":A=t4}var de=(t&4)!==0,Ye=!de&&(e==="scroll"||e==="scrollend"),S=de?w!==null?w+"Capture":null:w;de=[];for(var v=E,j;v!==null;){var O=v;if(j=O.stateNode,O=O.tag,O!==5&&O!==26&&O!==27||j===null||S===null||(O=Da(v,S),O!=null&&de.push(hi(v,O,j))),Ye)break;v=v.return}0<de.length&&(w=new A(w,ee,null,n,_),L.push({event:w,listeners:de}))}}if((t&7)===0){e:{if(w=e==="mouseover"||e==="pointerover",A=e==="mouseout"||e==="pointerout",w&&n!==js&&(ee=n.relatedTarget||n.fromElement)&&(H(ee)||ee[Hn]))break e;if((A||w)&&(w=_.window===_?_:(w=_.ownerDocument)?w.defaultView||w.parentWindow:window,A?(ee=n.relatedTarget||n.toElement,A=E,ee=ee?H(ee):null,ee!==null&&(Ye=y(ee),de=ee.tag,ee!==Ye||de!==5&&de!==27&&de!==6)&&(ee=null)):(A=null,ee=E),A!==ee)){if(de=x1,O="onMouseLeave",S="onMouseEnter",v="mouse",(e==="pointerout"||e==="pointerover")&&(de=E1,O="onPointerLeave",S="onPointerEnter",v="pointer"),Ye=A==null?w:ue(A),j=ee==null?w:ue(ee),w=new de(O,v+"leave",A,n,_),w.target=Ye,w.relatedTarget=j,O=null,H(_)===E&&(de=new de(S,v+"enter",ee,n,_),de.target=j,de.relatedTarget=Ye,O=de),Ye=O,A&&ee)t:{for(de=e3,S=A,v=ee,j=0,O=S;O;O=de(O))j++;O=0;for(var se=v;se;se=de(se))O++;for(;0<j-O;)S=de(S),j--;for(;0<O-j;)v=de(v),O--;for(;j--;){if(S===v||v!==null&&S===v.alternate){de=S;break t}S=de(S),v=de(v)}de=null}else de=null;A!==null&&pf(L,w,A,de,!1),ee!==null&&Ye!==null&&pf(L,Ye,ee,de,!0)}}e:{if(w=E?ue(E):window,A=w.nodeName&&w.nodeName.toLowerCase(),A==="select"||A==="input"&&w.type==="file")var Le=_1;else if(A1(w))if(R1)Le=f4;else{Le=o4;var le=u4}else A=w.nodeName,!A||A.toLowerCase()!=="input"||w.type!=="checkbox"&&w.type!=="radio"?E&&xs(E.elementType)&&(Le=_1):Le=r4;if(Le&&(Le=Le(e,E))){C1(L,Le,n,_);break e}le&&le(e,w,E),e==="focusout"&&E&&w.type==="number"&&E.memoizedProps.value!=null&&Ss(w,"number",w.value)}switch(le=E?ue(E):window,e){case"focusin":(A1(le)||le.contentEditable==="true")&&($l=le,Ls=E,Va=null);break;case"focusout":Va=Ls=$l=null;break;case"mousedown":Hs=!0;break;case"contextmenu":case"mouseup":case"dragend":Hs=!1,q1(L,n,_);break;case"selectionchange":if(h4)break;case"keydown":case"keyup":q1(L,n,_)}var Ee;if(_s)e:{switch(e){case"compositionstart":var Te="onCompositionStart";break e;case"compositionend":Te="onCompositionEnd";break e;case"compositionupdate":Te="onCompositionUpdate";break e}Te=void 0}else Kl?T1(e,n)&&(Te="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(Te="onCompositionStart");Te&&(w1&&n.locale!=="ko"&&(Kl||Te!=="onCompositionStart"?Te==="onCompositionEnd"&&Kl&&(Ee=b1()):(kn=_,zs="value"in kn?kn.value:kn.textContent,Kl=!0)),le=Uc(E,Te),0<le.length&&(Te=new j1(Te,e,null,n,_),L.push({event:Te,listeners:le}),Ee?Te.data=Ee:(Ee=M1(n),Ee!==null&&(Te.data=Ee)))),(Ee=l4?a4(e,n):i4(e,n))&&(Te=Uc(E,"onBeforeInput"),0<Te.length&&(le=new j1("onBeforeInput","beforeinput",null,n,_),L.push({event:le,listeners:Te}),le.data=Ee)),F4(L,e,E,n,_)}hf(L,t)})}function hi(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Uc(e,t){for(var n=t+"Capture",l=[];e!==null;){var i=e,c=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||c===null||(i=Da(e,n),i!=null&&l.unshift(hi(e,i,c)),i=Da(e,t),i!=null&&l.push(hi(e,i,c))),e.tag===3)return l;e=e.return}return[]}function e3(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function pf(e,t,n,l,i){for(var c=t._reactName,o=[];n!==null&&n!==l;){var d=n,p=d.alternate,E=d.stateNode;if(d=d.tag,p!==null&&p===l)break;d!==5&&d!==26&&d!==27||E===null||(p=E,i?(E=Da(n,c),E!=null&&o.unshift(hi(n,E,p))):i||(E=Da(n,c),E!=null&&o.push(hi(n,E,p)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var t3=/\r\n?/g,n3=/\u0000|\uFFFD/g;function yf(e){return(typeof e=="string"?e:""+e).replace(t3,`
|
|
49
|
-
`).replace(n3,"")}function gf(e,t){return t=yf(t),yf(e)===t}function Ve(e,t,n,l,i,c){switch(n){case"children":typeof l=="string"?t==="body"||t==="textarea"&&l===""||Xl(e,l):(typeof l=="number"||typeof l=="bigint")&&t!=="body"&&Xl(e,""+l);break;case"className":Vi(e,"class",l);break;case"tabIndex":Vi(e,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":Vi(e,n,l);break;case"style":y1(e,l,c);break;case"data":if(t!=="object"){Vi(e,"data",l);break}case"src":case"href":if(l===""&&(t!=="a"||n!=="href")){e.removeAttribute(n);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(n);break}l=Xi(""+l),e.setAttribute(n,l);break;case"action":case"formAction":if(typeof l=="function"){e.setAttribute(n,"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 c=="function"&&(n==="formAction"?(t!=="input"&&Ve(e,t,"name",i.name,i,null),Ve(e,t,"formEncType",i.formEncType,i,null),Ve(e,t,"formMethod",i.formMethod,i,null),Ve(e,t,"formTarget",i.formTarget,i,null)):(Ve(e,t,"encType",i.encType,i,null),Ve(e,t,"method",i.method,i,null),Ve(e,t,"target",i.target,i,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(n);break}l=Xi(""+l),e.setAttribute(n,l);break;case"onClick":l!=null&&(e.onclick=pn);break;case"onScroll":l!=null&&Ne("scroll",e);break;case"onScrollEnd":l!=null&&Ne("scrollend",e);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(r(61));if(n=l.__html,n!=null){if(i.children!=null)throw Error(r(60));e.innerHTML=n}}break;case"multiple":e.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":e.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){e.removeAttribute("xlink:href");break}n=Xi(""+l),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(n,""+l):e.removeAttribute(n);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":l&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":l===!0?e.setAttribute(n,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(n,l):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?e.setAttribute(n,l):e.removeAttribute(n);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?e.removeAttribute(n):e.setAttribute(n,l);break;case"popover":Ne("beforetoggle",e),Ne("toggle",e),Gi(e,"popover",l);break;case"xlinkActuate":mn(e,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":mn(e,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":mn(e,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":mn(e,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":mn(e,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":mn(e,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":mn(e,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":mn(e,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":mn(e,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":Gi(e,"is",l);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=Cd.get(n)||n,Gi(e,n,l))}}function so(e,t,n,l,i,c){switch(n){case"style":y1(e,l,c);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(r(61));if(n=l.__html,n!=null){if(i.children!=null)throw Error(r(60));e.innerHTML=n}}break;case"children":typeof l=="string"?Xl(e,l):(typeof l=="number"||typeof l=="bigint")&&Xl(e,""+l);break;case"onScroll":l!=null&&Ne("scroll",e);break;case"onScrollEnd":l!=null&&Ne("scrollend",e);break;case"onClick":l!=null&&(e.onclick=pn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!qi.hasOwnProperty(n))e:{if(n[0]==="o"&&n[1]==="n"&&(i=n.endsWith("Capture"),t=n.slice(2,i?n.length-7:void 0),c=e[bt]||null,c=c!=null?c[n]:null,typeof c=="function"&&e.removeEventListener(t,c,i),typeof l=="function")){typeof c!="function"&&c!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,l,i);break e}n in e?e[n]=l:l===!0?e.setAttribute(n,""):Gi(e,n,l)}}}function vt(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ne("error",e),Ne("load",e);var l=!1,i=!1,c;for(c in n)if(n.hasOwnProperty(c)){var o=n[c];if(o!=null)switch(c){case"src":l=!0;break;case"srcSet":i=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:Ve(e,t,c,o,n,null)}}i&&Ve(e,t,"srcSet",n.srcSet,n,null),l&&Ve(e,t,"src",n.src,n,null);return;case"input":Ne("invalid",e);var d=c=o=i=null,p=null,E=null;for(l in n)if(n.hasOwnProperty(l)){var _=n[l];if(_!=null)switch(l){case"name":i=_;break;case"type":o=_;break;case"checked":p=_;break;case"defaultChecked":E=_;break;case"value":c=_;break;case"defaultValue":d=_;break;case"children":case"dangerouslySetInnerHTML":if(_!=null)throw Error(r(137,t));break;default:Ve(e,t,l,_,n,null)}}d1(e,c,d,p,E,o,i,!1);return;case"select":Ne("invalid",e),l=o=c=null;for(i in n)if(n.hasOwnProperty(i)&&(d=n[i],d!=null))switch(i){case"value":c=d;break;case"defaultValue":o=d;break;case"multiple":l=d;default:Ve(e,t,i,d,n,null)}t=c,n=o,e.multiple=!!l,t!=null?Yl(e,!!l,t,!1):n!=null&&Yl(e,!!l,n,!0);return;case"textarea":Ne("invalid",e),c=i=l=null;for(o in n)if(n.hasOwnProperty(o)&&(d=n[o],d!=null))switch(o){case"value":l=d;break;case"defaultValue":i=d;break;case"children":c=d;break;case"dangerouslySetInnerHTML":if(d!=null)throw Error(r(91));break;default:Ve(e,t,o,d,n,null)}m1(e,l,i,c);return;case"option":for(p in n)if(n.hasOwnProperty(p)&&(l=n[p],l!=null))switch(p){case"selected":e.selected=l&&typeof l!="function"&&typeof l!="symbol";break;default:Ve(e,t,p,l,n,null)}return;case"dialog":Ne("beforetoggle",e),Ne("toggle",e),Ne("cancel",e),Ne("close",e);break;case"iframe":case"object":Ne("load",e);break;case"video":case"audio":for(l=0;l<di.length;l++)Ne(di[l],e);break;case"image":Ne("error",e),Ne("load",e);break;case"details":Ne("toggle",e);break;case"embed":case"source":case"link":Ne("error",e),Ne("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(E in n)if(n.hasOwnProperty(E)&&(l=n[E],l!=null))switch(E){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:Ve(e,t,E,l,n,null)}return;default:if(xs(t)){for(_ in n)n.hasOwnProperty(_)&&(l=n[_],l!==void 0&&so(e,t,_,l,n,void 0));return}}for(d in n)n.hasOwnProperty(d)&&(l=n[d],l!=null&&Ve(e,t,d,l,n,null))}function l3(e,t,n,l){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var i=null,c=null,o=null,d=null,p=null,E=null,_=null;for(A in n){var L=n[A];if(n.hasOwnProperty(A)&&L!=null)switch(A){case"checked":break;case"value":break;case"defaultValue":p=L;default:l.hasOwnProperty(A)||Ve(e,t,A,null,l,L)}}for(var w in l){var A=l[w];if(L=n[w],l.hasOwnProperty(w)&&(A!=null||L!=null))switch(w){case"type":c=A;break;case"name":i=A;break;case"checked":E=A;break;case"defaultChecked":_=A;break;case"value":o=A;break;case"defaultValue":d=A;break;case"children":case"dangerouslySetInnerHTML":if(A!=null)throw Error(r(137,t));break;default:A!==L&&Ve(e,t,w,A,l,L)}}bs(e,o,d,p,E,_,c,i);return;case"select":A=o=d=w=null;for(c in n)if(p=n[c],n.hasOwnProperty(c)&&p!=null)switch(c){case"value":break;case"multiple":A=p;default:l.hasOwnProperty(c)||Ve(e,t,c,null,l,p)}for(i in l)if(c=l[i],p=n[i],l.hasOwnProperty(i)&&(c!=null||p!=null))switch(i){case"value":w=c;break;case"defaultValue":d=c;break;case"multiple":o=c;default:c!==p&&Ve(e,t,i,c,l,p)}t=d,n=o,l=A,w!=null?Yl(e,!!n,w,!1):!!l!=!!n&&(t!=null?Yl(e,!!n,t,!0):Yl(e,!!n,n?[]:"",!1));return;case"textarea":A=w=null;for(d in n)if(i=n[d],n.hasOwnProperty(d)&&i!=null&&!l.hasOwnProperty(d))switch(d){case"value":break;case"children":break;default:Ve(e,t,d,null,l,i)}for(o in l)if(i=l[o],c=n[o],l.hasOwnProperty(o)&&(i!=null||c!=null))switch(o){case"value":w=i;break;case"defaultValue":A=i;break;case"children":break;case"dangerouslySetInnerHTML":if(i!=null)throw Error(r(91));break;default:i!==c&&Ve(e,t,o,i,l,c)}h1(e,w,A);return;case"option":for(var ee in n)if(w=n[ee],n.hasOwnProperty(ee)&&w!=null&&!l.hasOwnProperty(ee))switch(ee){case"selected":e.selected=!1;break;default:Ve(e,t,ee,null,l,w)}for(p in l)if(w=l[p],A=n[p],l.hasOwnProperty(p)&&w!==A&&(w!=null||A!=null))switch(p){case"selected":e.selected=w&&typeof w!="function"&&typeof w!="symbol";break;default:Ve(e,t,p,w,l,A)}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 de in n)w=n[de],n.hasOwnProperty(de)&&w!=null&&!l.hasOwnProperty(de)&&Ve(e,t,de,null,l,w);for(E in l)if(w=l[E],A=n[E],l.hasOwnProperty(E)&&w!==A&&(w!=null||A!=null))switch(E){case"children":case"dangerouslySetInnerHTML":if(w!=null)throw Error(r(137,t));break;default:Ve(e,t,E,w,l,A)}return;default:if(xs(t)){for(var Ye in n)w=n[Ye],n.hasOwnProperty(Ye)&&w!==void 0&&!l.hasOwnProperty(Ye)&&so(e,t,Ye,void 0,l,w);for(_ in l)w=l[_],A=n[_],!l.hasOwnProperty(_)||w===A||w===void 0&&A===void 0||so(e,t,_,w,l,A);return}}for(var S in n)w=n[S],n.hasOwnProperty(S)&&w!=null&&!l.hasOwnProperty(S)&&Ve(e,t,S,null,l,w);for(L in l)w=l[L],A=n[L],!l.hasOwnProperty(L)||w===A||w==null&&A==null||Ve(e,t,L,w,l,A)}function vf(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function a3(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,n=performance.getEntriesByType("resource"),l=0;l<n.length;l++){var i=n[l],c=i.transferSize,o=i.initiatorType,d=i.duration;if(c&&d&&vf(o)){for(o=0,d=i.responseEnd,l+=1;l<n.length;l++){var p=n[l],E=p.startTime;if(E>d)break;var _=p.transferSize,L=p.initiatorType;_&&vf(L)&&(p=p.responseEnd,o+=_*(p<d?1:(d-E)/(p-E)))}if(--l,t+=8*(c+o)/(i.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 uo=null,oo=null;function Bc(e){return e.nodeType===9?e:e.ownerDocument}function bf(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 Sf(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 ro(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 fo=null;function i3(){var e=window.event;return e&&e.type==="popstate"?e===fo?!1:(fo=e,!0):(fo=null,!1)}var xf=typeof setTimeout=="function"?setTimeout:void 0,c3=typeof clearTimeout=="function"?clearTimeout:void 0,jf=typeof Promise=="function"?Promise:void 0,s3=typeof queueMicrotask=="function"?queueMicrotask:typeof jf<"u"?function(e){return jf.resolve(null).then(e).catch(u3)}:xf;function u3(e){setTimeout(function(){throw e})}function el(e){return e==="head"}function Ef(e,t){var n=t,l=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"||n==="/&"){if(l===0){e.removeChild(i),xa(t);return}l--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")l++;else if(n==="html")mi(e.ownerDocument.documentElement);else if(n==="head"){n=e.ownerDocument.head,mi(n);for(var c=n.firstChild;c;){var o=c.nextSibling,d=c.nodeName;c[pl]||d==="SCRIPT"||d==="STYLE"||d==="LINK"&&c.rel.toLowerCase()==="stylesheet"||n.removeChild(c),c=o}}else n==="body"&&mi(e.ownerDocument.body);n=i}while(n);xa(t)}function wf(e,t){var n=e;e=0;do{var l=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),l&&l.nodeType===8)if(n=l.data,n==="/$"){if(e===0)break;e--}else n!=="$"&&n!=="$?"&&n!=="$~"&&n!=="$!"||e++;n=l}while(n)}function ho(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":ho(n),Oa(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function o3(e,t,n,l){for(;e.nodeType===1;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!l&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(l){if(!e[pl])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(c=e.getAttribute("rel"),c==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(c!==i.rel||e.getAttribute("href")!==(i.href==null||i.href===""?null:i.href)||e.getAttribute("crossorigin")!==(i.crossOrigin==null?null:i.crossOrigin)||e.getAttribute("title")!==(i.title==null?null:i.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(c=e.getAttribute("src"),(c!==(i.src==null?null:i.src)||e.getAttribute("type")!==(i.type==null?null:i.type)||e.getAttribute("crossorigin")!==(i.crossOrigin==null?null:i.crossOrigin))&&c&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var c=i.name==null?null:""+i.name;if(i.type==="hidden"&&e.getAttribute("name")===c)return e}else return e;if(e=Kt(e.nextSibling),e===null)break}return null}function r3(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=Kt(e.nextSibling),e===null))return null;return e}function Nf(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Kt(e.nextSibling),e===null))return null;return e}function mo(e){return e.data==="$?"||e.data==="$~"}function po(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function f3(e,t){var n=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||n.readyState!=="loading")t();else{var l=function(){t(),n.removeEventListener("DOMContentLoaded",l)};n.addEventListener("DOMContentLoaded",l),e._reactRetry=l}}function Kt(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 yo=null;function zf(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"||n==="/&"){if(t===0)return Kt(e.nextSibling);t--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||t++}e=e.nextSibling}return null}function Tf(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"){if(t===0)return e;t--}else n!=="/$"&&n!=="/&"||t++}e=e.previousSibling}return null}function Mf(e,t,n){switch(t=Bc(n),e){case"html":if(e=t.documentElement,!e)throw Error(r(452));return e;case"head":if(e=t.head,!e)throw Error(r(453));return e;case"body":if(e=t.body,!e)throw Error(r(454));return e;default:throw Error(r(451))}}function mi(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Oa(e)}var $t=new Map,Af=new Set;function qc(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var _n=X.d;X.d={f:d3,r:h3,D:m3,C:p3,L:y3,m:g3,X:b3,S:v3,M:S3};function d3(){var e=_n.f(),t=_c();return e||t}function h3(e){var t=P(e);t!==null&&t.tag===5&&t.type==="form"?Qr(t):_n.r(e)}var va=typeof document>"u"?null:document;function Cf(e,t,n){var l=va;if(l&&typeof t=="string"&&t){var i=qt(t);i='link[rel="'+e+'"][href="'+i+'"]',typeof n=="string"&&(i+='[crossorigin="'+n+'"]'),Af.has(i)||(Af.add(i),e={rel:e,crossOrigin:n,href:t},l.querySelector(i)===null&&(t=l.createElement("link"),vt(t,"link",e),Ze(t),l.head.appendChild(t)))}}function m3(e){_n.D(e),Cf("dns-prefetch",e,null)}function p3(e,t){_n.C(e,t),Cf("preconnect",e,t)}function y3(e,t,n){_n.L(e,t,n);var l=va;if(l&&e&&t){var i='link[rel="preload"][as="'+qt(t)+'"]';t==="image"&&n&&n.imageSrcSet?(i+='[imagesrcset="'+qt(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(i+='[imagesizes="'+qt(n.imageSizes)+'"]')):i+='[href="'+qt(e)+'"]';var c=i;switch(t){case"style":c=ba(e);break;case"script":c=Sa(e)}$t.has(c)||(e=D({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),$t.set(c,e),l.querySelector(i)!==null||t==="style"&&l.querySelector(pi(c))||t==="script"&&l.querySelector(yi(c))||(t=l.createElement("link"),vt(t,"link",e),Ze(t),l.head.appendChild(t)))}}function g3(e,t){_n.m(e,t);var n=va;if(n&&e){var l=t&&typeof t.as=="string"?t.as:"script",i='link[rel="modulepreload"][as="'+qt(l)+'"][href="'+qt(e)+'"]',c=i;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c=Sa(e)}if(!$t.has(c)&&(e=D({rel:"modulepreload",href:e},t),$t.set(c,e),n.querySelector(i)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(yi(c)))return}l=n.createElement("link"),vt(l,"link",e),Ze(l),n.head.appendChild(l)}}}function v3(e,t,n){_n.S(e,t,n);var l=va;if(l&&e){var i=Fe(l).hoistableStyles,c=ba(e);t=t||"default";var o=i.get(c);if(!o){var d={loading:0,preload:null};if(o=l.querySelector(pi(c)))d.loading=5;else{e=D({rel:"stylesheet",href:e,"data-precedence":t},n),(n=$t.get(c))&&go(e,n);var p=o=l.createElement("link");Ze(p),vt(p,"link",e),p._p=new Promise(function(E,_){p.onload=E,p.onerror=_}),p.addEventListener("load",function(){d.loading|=1}),p.addEventListener("error",function(){d.loading|=2}),d.loading|=4,Gc(o,t,l)}o={type:"stylesheet",instance:o,count:1,state:d},i.set(c,o)}}}function b3(e,t){_n.X(e,t);var n=va;if(n&&e){var l=Fe(n).hoistableScripts,i=Sa(e),c=l.get(i);c||(c=n.querySelector(yi(i)),c||(e=D({src:e,async:!0},t),(t=$t.get(i))&&vo(e,t),c=n.createElement("script"),Ze(c),vt(c,"link",e),n.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},l.set(i,c))}}function S3(e,t){_n.M(e,t);var n=va;if(n&&e){var l=Fe(n).hoistableScripts,i=Sa(e),c=l.get(i);c||(c=n.querySelector(yi(i)),c||(e=D({src:e,async:!0,type:"module"},t),(t=$t.get(i))&&vo(e,t),c=n.createElement("script"),Ze(c),vt(c,"link",e),n.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},l.set(i,c))}}function _f(e,t,n,l){var i=(i=V.current)?qc(i):null;if(!i)throw Error(r(446));switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(t=ba(n.href),n=Fe(i).hoistableStyles,l=n.get(t),l||(l={type:"style",instance:null,count:0,state:null},n.set(t,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=ba(n.href);var c=Fe(i).hoistableStyles,o=c.get(e);if(o||(i=i.ownerDocument||i,o={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(e,o),(c=i.querySelector(pi(e)))&&!c._p&&(o.instance=c,o.state.loading=5),$t.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},$t.set(e,n),c||x3(i,e,n,o.state))),t&&l===null)throw Error(r(528,""));return o}if(t&&l!==null)throw Error(r(529,""));return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Sa(n),n=Fe(i).hoistableScripts,l=n.get(t),l||(l={type:"script",instance:null,count:0,state:null},n.set(t,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,e))}}function ba(e){return'href="'+qt(e)+'"'}function pi(e){return'link[rel="stylesheet"]['+e+"]"}function Rf(e){return D({},e,{"data-precedence":e.precedence,precedence:null})}function x3(e,t,n,l){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?l.loading=1:(t=e.createElement("link"),l.preload=t,t.addEventListener("load",function(){return l.loading|=1}),t.addEventListener("error",function(){return l.loading|=2}),vt(t,"link",n),Ze(t),e.head.appendChild(t))}function Sa(e){return'[src="'+qt(e)+'"]'}function yi(e){return"script[async]"+e}function Of(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var l=e.querySelector('style[data-href~="'+qt(n.href)+'"]');if(l)return t.instance=l,Ze(l),l;var i=D({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return l=(e.ownerDocument||e).createElement("style"),Ze(l),vt(l,"style",i),Gc(l,n.precedence,e),t.instance=l;case"stylesheet":i=ba(n.href);var c=e.querySelector(pi(i));if(c)return t.state.loading|=4,t.instance=c,Ze(c),c;l=Rf(n),(i=$t.get(i))&&go(l,i),c=(e.ownerDocument||e).createElement("link"),Ze(c);var o=c;return o._p=new Promise(function(d,p){o.onload=d,o.onerror=p}),vt(c,"link",l),t.state.loading|=4,Gc(c,n.precedence,e),t.instance=c;case"script":return c=Sa(n.src),(i=e.querySelector(yi(c)))?(t.instance=i,Ze(i),i):(l=n,(i=$t.get(c))&&(l=D({},n),vo(l,i)),e=e.ownerDocument||e,i=e.createElement("script"),Ze(i),vt(i,"link",l),e.head.appendChild(i),t.instance=i);case"void":return null;default:throw Error(r(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(l=t.instance,t.state.loading|=4,Gc(l,n.precedence,e));return t.instance}function Gc(e,t,n){for(var l=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),i=l.length?l[l.length-1]:null,c=i,o=0;o<l.length;o++){var d=l[o];if(d.dataset.precedence===t)c=d;else if(c!==i)break}c?c.parentNode.insertBefore(e,c.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function go(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function vo(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Vc=null;function Df(e,t,n){if(Vc===null){var l=new Map,i=Vc=new Map;i.set(n,l)}else i=Vc,l=i.get(n),l||(l=new Map,i.set(n,l));if(l.has(e))return l;for(l.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var c=n[i];if(!(c[pl]||c[ft]||e==="link"&&c.getAttribute("rel")==="stylesheet")&&c.namespaceURI!=="http://www.w3.org/2000/svg"){var o=c.getAttribute(t)||"";o=e+o;var d=l.get(o);d?d.push(c):l.set(o,[c])}}return l}function Lf(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function j3(e,t,n){if(n===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 Hf(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function E3(e,t,n,l){if(n.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var i=ba(l.href),c=t.querySelector(pi(i));if(c){t=c._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Yc.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=c,Ze(c);return}c=t.ownerDocument||t,l=Rf(l),(i=$t.get(i))&&go(l,i),c=c.createElement("link"),Ze(c);var o=c;o._p=new Promise(function(d,p){o.onload=d,o.onerror=p}),vt(c,"link",l),n.instance=c}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&(n.state.loading&3)===0&&(e.count++,n=Yc.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}var bo=0;function w3(e,t){return e.stylesheets&&e.count===0&&Qc(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var l=setTimeout(function(){if(e.stylesheets&&Qc(e,e.stylesheets),e.unsuspend){var c=e.unsuspend;e.unsuspend=null,c()}},6e4+t);0<e.imgBytes&&bo===0&&(bo=62500*a3());var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Qc(e,e.stylesheets),e.unsuspend)){var c=e.unsuspend;e.unsuspend=null,c()}},(e.imgBytes>bo?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(l),clearTimeout(i)}}:null}function Yc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Qc(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Xc=null;function Qc(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Xc=new Map,t.forEach(N3,e),Xc=null,Yc.call(e))}function N3(e,t){if(!(t.state.loading&4)){var n=Xc.get(e);if(n)var l=n.get(null);else{n=new Map,Xc.set(e,n);for(var i=e.querySelectorAll("link[data-precedence],style[data-precedence]"),c=0;c<i.length;c++){var o=i[c];(o.nodeName==="LINK"||o.getAttribute("media")!=="not all")&&(n.set(o.dataset.precedence,o),l=o)}l&&n.set(null,l)}i=t.instance,o=i.getAttribute("data-precedence"),c=n.get(o)||l,c===l&&n.set(null,i),n.set(o,i),this.count++,l=Yc.bind(this),i.addEventListener("load",l),i.addEventListener("error",l),c?c.parentNode.insertBefore(i,c.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),t.state.loading|=4}}var gi={$$typeof:re,Provider:null,Consumer:null,_currentValue:ne,_currentValue2:ne,_threadCount:0};function z3(e,t,n,l,i,c,o,d,p){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=Ma(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ma(0),this.hiddenUpdates=Ma(null),this.identifierPrefix=l,this.onUncaughtError=i,this.onCaughtError=c,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=p,this.incompleteTransitions=new Map}function kf(e,t,n,l,i,c,o,d,p,E,_,L){return e=new z3(e,t,n,o,p,E,_,L,d),t=1,c===!0&&(t|=24),c=Ot(3,null,null,t),e.current=c,c.stateNode=e,t=Ws(),t.refCount++,e.pooledCache=t,t.refCount++,c.memoizedState={element:l,isDehydrated:n,cache:t},tu(c),e}function Uf(e){return e?(e=Wl,e):Wl}function Bf(e,t,n,l,i,c){i=Uf(i),l.context===null?l.context=i:l.pendingContext=i,l=Yn(t),l.payload={element:n},c=c===void 0?null:c,c!==null&&(l.callback=c),n=Xn(e,l,t),n!==null&&(_t(n,e,t),Ja(n,e,t))}function qf(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function So(e,t){qf(e,t),(e=e.alternate)&&qf(e,t)}function Gf(e){if(e.tag===13||e.tag===31){var t=Sl(e,67108864);t!==null&&_t(t,e,67108864),So(e,67108864)}}function Vf(e){if(e.tag===13||e.tag===31){var t=Ut();t=Ca(t);var n=Sl(e,t);n!==null&&_t(n,e,t),So(e,t)}}var Zc=!0;function T3(e,t,n,l){var i=M.T;M.T=null;var c=X.p;try{X.p=2,xo(e,t,n,l)}finally{X.p=c,M.T=i}}function M3(e,t,n,l){var i=M.T;M.T=null;var c=X.p;try{X.p=8,xo(e,t,n,l)}finally{X.p=c,M.T=i}}function xo(e,t,n,l){if(Zc){var i=jo(l);if(i===null)co(e,t,l,Kc,n),Xf(e,l);else if(C3(i,e,t,n,l))l.stopPropagation();else if(Xf(e,l),t&4&&-1<A3.indexOf(e)){for(;i!==null;){var c=P(i);if(c!==null)switch(c.tag){case 3:if(c=c.stateNode,c.current.memoizedState.isDehydrated){var o=hn(c.pendingLanes);if(o!==0){var d=c;for(d.pendingLanes|=2,d.entangledLanes|=2;o;){var p=1<<31-Et(o);d.entanglements[1]|=p,o&=~p}sn(c),(Ue&6)===0&&(Ac=mt()+500,fi(0))}}break;case 31:case 13:d=Sl(c,2),d!==null&&_t(d,c,2),_c(),So(c,2)}if(c=jo(l),c===null&&co(e,t,l,Kc,n),c===i)break;i=c}i!==null&&l.stopPropagation()}else co(e,t,l,null,n)}}function jo(e){return e=Es(e),Eo(e)}var Kc=null;function Eo(e){if(Kc=null,e=H(e),e!==null){var t=y(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=z(t),e!==null)return e;e=null}else if(n===31){if(e=C(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Kc=e,null}function Yf(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(wa()){case Dn:return 2;case en:return 8;case rn:case _i:return 32;case fl:return 268435456;default:return 32}default:return 32}}var wo=!1,tl=null,nl=null,ll=null,vi=new Map,bi=new Map,al=[],A3="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 Xf(e,t){switch(e){case"focusin":case"focusout":tl=null;break;case"dragenter":case"dragleave":nl=null;break;case"mouseover":case"mouseout":ll=null;break;case"pointerover":case"pointerout":vi.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":bi.delete(t.pointerId)}}function Si(e,t,n,l,i,c){return e===null||e.nativeEvent!==c?(e={blockedOn:t,domEventName:n,eventSystemFlags:l,nativeEvent:c,targetContainers:[i]},t!==null&&(t=P(t),t!==null&&Gf(t)),e):(e.eventSystemFlags|=l,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function C3(e,t,n,l,i){switch(t){case"focusin":return tl=Si(tl,e,t,n,l,i),!0;case"dragenter":return nl=Si(nl,e,t,n,l,i),!0;case"mouseover":return ll=Si(ll,e,t,n,l,i),!0;case"pointerover":var c=i.pointerId;return vi.set(c,Si(vi.get(c)||null,e,t,n,l,i)),!0;case"gotpointercapture":return c=i.pointerId,bi.set(c,Si(bi.get(c)||null,e,t,n,l,i)),!0}return!1}function Qf(e){var t=H(e.target);if(t!==null){var n=y(t);if(n!==null){if(t=n.tag,t===13){if(t=z(n),t!==null){e.blockedOn=t,Hi(e.priority,function(){Vf(n)});return}}else if(t===31){if(t=C(n),t!==null){e.blockedOn=t,Hi(e.priority,function(){Vf(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function $c(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=jo(e.nativeEvent);if(n===null){n=e.nativeEvent;var l=new n.constructor(n.type,n);js=l,n.target.dispatchEvent(l),js=null}else return t=P(n),t!==null&&Gf(t),e.blockedOn=n,!1;t.shift()}return!0}function Zf(e,t,n){$c(e)&&n.delete(t)}function _3(){wo=!1,tl!==null&&$c(tl)&&(tl=null),nl!==null&&$c(nl)&&(nl=null),ll!==null&&$c(ll)&&(ll=null),vi.forEach(Zf),bi.forEach(Zf)}function Jc(e,t){e.blockedOn===t&&(e.blockedOn=null,wo||(wo=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,_3)))}var Fc=null;function Kf(e){Fc!==e&&(Fc=e,a.unstable_scheduleCallback(a.unstable_NormalPriority,function(){Fc===e&&(Fc=null);for(var t=0;t<e.length;t+=3){var n=e[t],l=e[t+1],i=e[t+2];if(typeof l!="function"){if(Eo(l||n)===null)continue;break}var c=P(n);c!==null&&(e.splice(t,3),t-=3,xu(c,{pending:!0,data:i,method:n.method,action:l},l,i))}}))}function xa(e){function t(p){return Jc(p,e)}tl!==null&&Jc(tl,e),nl!==null&&Jc(nl,e),ll!==null&&Jc(ll,e),vi.forEach(t),bi.forEach(t);for(var n=0;n<al.length;n++){var l=al[n];l.blockedOn===e&&(l.blockedOn=null)}for(;0<al.length&&(n=al[0],n.blockedOn===null);)Qf(n),n.blockedOn===null&&al.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(l=0;l<n.length;l+=3){var i=n[l],c=n[l+1],o=i[bt]||null;if(typeof c=="function")o||Kf(n);else if(o){var d=null;if(c&&c.hasAttribute("formAction")){if(i=c,o=c[bt]||null)d=o.formAction;else if(Eo(i)!==null)continue}else d=o.action;typeof d=="function"?n[l+1]=d:(n.splice(l,3),l-=3),Kf(n)}}}function $f(){function e(c){c.canIntercept&&c.info==="react-transition"&&c.intercept({handler:function(){return new Promise(function(o){return i=o})},focusReset:"manual",scroll:"manual"})}function t(){i!==null&&(i(),i=null),l||setTimeout(n,20)}function n(){if(!l&&!navigation.transition){var c=navigation.currentEntry;c&&c.url!=null&&navigation.navigate(c.url,{state:c.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var l=!1,i=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){l=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),i!==null&&(i(),i=null)}}}function No(e){this._internalRoot=e}Wc.prototype.render=No.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(r(409));var n=t.current,l=Ut();Bf(n,l,e,t,null,null)},Wc.prototype.unmount=No.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Bf(e.current,2,null,e,null,null),_c(),t[Hn]=null}};function Wc(e){this._internalRoot=e}Wc.prototype.unstable_scheduleHydration=function(e){if(e){var t=Li();e={blockedOn:null,target:e,priority:t};for(var n=0;n<al.length&&t!==0&&t<al[n].priority;n++);al.splice(n,0,e),n===0&&Qf(e)}};var Jf=u.version;if(Jf!=="19.2.6")throw Error(r(527,Jf,"19.2.6"));X.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(r(188)):(e=Object.keys(e).join(","),Error(r(268,e)));return e=m(t),e=e!==null?T(e):null,e=e===null?null:e.stateNode,e};var R3={bundleType:0,version:"19.2.6",rendererPackageName:"react-dom",currentDispatcherRef:M,reconcilerVersion:"19.2.6"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ic=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ic.isDisabled&&Ic.supportsFiber)try{fn=Ic.inject(R3),jt=Ic}catch{}}return ji.createRoot=function(e,t){if(!h(e))throw Error(r(299));var n=!1,l="",i=t0,c=n0,o=l0;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(l=t.identifierPrefix),t.onUncaughtError!==void 0&&(i=t.onUncaughtError),t.onCaughtError!==void 0&&(c=t.onCaughtError),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=kf(e,1,!1,null,null,n,l,null,i,c,o,$f),e[Hn]=t.current,io(e),new No(t)},ji.hydrateRoot=function(e,t,n){if(!h(e))throw Error(r(299));var l=!1,i="",c=t0,o=n0,d=l0,p=null;return n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onUncaughtError!==void 0&&(c=n.onUncaughtError),n.onCaughtError!==void 0&&(o=n.onCaughtError),n.onRecoverableError!==void 0&&(d=n.onRecoverableError),n.formState!==void 0&&(p=n.formState)),t=kf(e,1,!0,t,n??null,l,i,p,c,o,d,$f),t.context=Uf(null),n=t.current,l=Ut(),l=Ca(l),i=Yn(l),i.callback=null,Xn(n,i,l),n=l,t.current.lanes=n,ml(t,n),sn(t),e[Hn]=t.current,io(e),new Wc(t)},ji.version="19.2.6",ji}var i2;function V3(){if(i2)return Mo.exports;i2=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(u){console.error(u)}}return a(),Mo.exports=G3(),Mo.exports}var Y3=V3();/**
|
|
48
|
+
`+l.stack}}var ul=Object.prototype.hasOwnProperty,ol=a.unstable_scheduleCallback,On=a.unstable_cancelCallback,rl=a.unstable_shouldYield,hs=a.unstable_requestPaint,mt=a.unstable_now,wa=a.unstable_getCurrentPriorityLevel,Dn=a.unstable_ImmediatePriority,en=a.unstable_UserBlockingPriority,rn=a.unstable_NormalPriority,_i=a.unstable_LowPriority,fl=a.unstable_IdlePriority,ql=a.log,Na=a.unstable_setDisableYieldValue,fn=null,jt=null;function tn(e){if(typeof ql=="function"&&Na(e),jt&&typeof jt.setStrictMode=="function")try{jt.setStrictMode(fn,e)}catch{}}var Et=Math.clz32?Math.clz32:Ta,za=Math.log,ms=Math.LN2;function Ta(e){return e>>>=0,e===0?32:31-(za(e)/ms|0)|0}var dn=256,Gl=262144,dl=4194304;function hn(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 hl(e,t,n){var l=e.pendingLanes;if(l===0)return 0;var i=0,c=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var d=l&134217727;return d!==0?(l=d&~c,l!==0?i=hn(l):(o&=d,o!==0?i=hn(o):n||(n=d&~e,n!==0&&(i=hn(n))))):(d=l&~c,d!==0?i=hn(d):o!==0?i=hn(o):n||(n=l&~e,n!==0&&(i=hn(n)))),i===0?0:t!==0&&t!==i&&(t&c)===0&&(c=i&-i,n=t&-t,c>=n||c===32&&(n&4194048)!==0)?t:i}function Ln(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function ps(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 Ri(){var e=dl;return dl<<=1,(dl&62914560)===0&&(dl=4194304),e}function Ma(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ml(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function ys(e,t,n,l,i,c){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var d=e.entanglements,p=e.expirationTimes,E=e.hiddenUpdates;for(n=o&~n;0<n;){var _=31-Et(n),L=1<<_;d[_]=0,p[_]=-1;var w=E[_];if(w!==null)for(E[_]=null,_=0;_<w.length;_++){var A=w[_];A!==null&&(A.lane&=-536870913)}n&=~L}l!==0&&Oi(e,l,0),c!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=c&~(o&~t))}function Oi(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var l=31-Et(t);e.entangledLanes|=t,e.entanglements[l]=e.entanglements[l]|1073741824|n&261930}function Di(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var l=31-Et(n),i=1<<l;i&t|e[l]&t&&(e[l]|=t),n&=~i}}function Aa(e,t){var n=t&-t;return n=(n&42)!==0?1:Ca(n),(n&(e.suspendedLanes|t))!==0?0:n}function Ca(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 _a(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Li(){var e=X.p;return e!==0?e:(e=window.event,e===void 0?32:Yf(e.type))}function Hi(e,t){var n=X.p;try{return X.p=e,t()}finally{X.p=n}}var nn=Math.random().toString(36).slice(2),ft="__reactFiber$"+nn,bt="__reactProps$"+nn,Hn="__reactContainer$"+nn,Ra="__reactEvents$"+nn,gs="__reactListeners$"+nn,ki="__reactHandles$"+nn,Ui="__reactResources$"+nn,pl="__reactMarker$"+nn;function Oa(e){delete e[ft],delete e[bt],delete e[Ra],delete e[gs],delete e[ki]}function H(e){var t=e[ft];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Hn]||n[ft]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Tf(e);e!==null;){if(n=e[ft])return n;e=Tf(e)}return t}e=n,n=e.parentNode}return null}function P(e){if(e=e[ft]||e[Hn]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function ue(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(r(33))}function Fe(e){var t=e[Ui];return t||(t=e[Ui]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Ze(e){e[pl]=!0}var Bi=new Set,qi={};function yl(e,t){Vl(e,t),Vl(e+"Capture",t)}function Vl(e,t){for(qi[e]=t,e=0;e<t.length;e++)Bi.add(t[e])}var zd=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]*$"),u1={},o1={};function Td(e){return ul.call(o1,e)?!0:ul.call(u1,e)?!1:zd.test(e)?o1[e]=!0:(u1[e]=!0,!1)}function Gi(e,t,n){if(Td(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var l=t.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+n)}}function Vi(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+n)}}function mn(e,t,n,l){if(l===null)e.removeAttribute(n);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttributeNS(t,n,""+l)}}function Bt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function r1(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Md(e,t,n){var l=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var i=l.get,c=l.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){n=""+o,c.call(this,o)}}),Object.defineProperty(e,t,{enumerable:l.enumerable}),{getValue:function(){return n},setValue:function(o){n=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function vs(e){if(!e._valueTracker){var t=r1(e)?"checked":"value";e._valueTracker=Md(e,t,""+e[t])}}function f1(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),l="";return e&&(l=r1(e)?e.checked?"true":"false":e.value),e=l,e!==n?(t.setValue(e),!0):!1}function Yi(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 Ad=/[\n"\\]/g;function qt(e){return e.replace(Ad,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function bs(e,t,n,l,i,c,o,d){e.name="",o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"?e.type=o:e.removeAttribute("type"),t!=null?o==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Bt(t)):e.value!==""+Bt(t)&&(e.value=""+Bt(t)):o!=="submit"&&o!=="reset"||e.removeAttribute("value"),t!=null?Ss(e,o,Bt(t)):n!=null?Ss(e,o,Bt(n)):l!=null&&e.removeAttribute("value"),i==null&&c!=null&&(e.defaultChecked=!!c),i!=null&&(e.checked=i&&typeof i!="function"&&typeof i!="symbol"),d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?e.name=""+Bt(d):e.removeAttribute("name")}function d1(e,t,n,l,i,c,o,d){if(c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(e.type=c),t!=null||n!=null){if(!(c!=="submit"&&c!=="reset"||t!=null)){vs(e);return}n=n!=null?""+Bt(n):"",t=t!=null?""+Bt(t):n,d||t===e.value||(e.value=t),e.defaultValue=t}l=l??i,l=typeof l!="function"&&typeof l!="symbol"&&!!l,e.checked=d?e.checked:!!l,e.defaultChecked=!!l,o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"&&(e.name=o),vs(e)}function Ss(e,t,n){t==="number"&&Yi(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function Yl(e,t,n,l){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&l&&(e[n].defaultSelected=!0)}else{for(n=""+Bt(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,l&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function h1(e,t,n){if(t!=null&&(t=""+Bt(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+Bt(n):""}function m1(e,t,n,l){if(t==null){if(l!=null){if(n!=null)throw Error(r(92));if(De(l)){if(1<l.length)throw Error(r(93));l=l[0]}n=l}n==null&&(n=""),t=n}n=Bt(t),e.defaultValue=n,l=e.textContent,l===n&&l!==""&&l!==null&&(e.value=l),vs(e)}function Xl(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Cd=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 p1(e,t,n){var l=t.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?l?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":l?e.setProperty(t,n):typeof n!="number"||n===0||Cd.has(t)?t==="float"?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function y1(e,t,n){if(t!=null&&typeof t!="object")throw Error(r(62));if(e=e.style,n!=null){for(var l in n)!n.hasOwnProperty(l)||t!=null&&t.hasOwnProperty(l)||(l.indexOf("--")===0?e.setProperty(l,""):l==="float"?e.cssFloat="":e[l]="");for(var i in t)l=t[i],t.hasOwnProperty(i)&&n[i]!==l&&p1(e,i,l)}else for(var c in t)t.hasOwnProperty(c)&&p1(e,c,t[c])}function xs(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 _d=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"]]),Rd=/^[\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 Xi(e){return Rd.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function pn(){}var js=null;function Es(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ql=null,Zl=null;function g1(e){var t=P(e);if(t&&(e=t.stateNode)){var n=e[bt]||null;e:switch(e=t.stateNode,t.type){case"input":if(bs(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+qt(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var l=n[t];if(l!==e&&l.form===e.form){var i=l[bt]||null;if(!i)throw Error(r(90));bs(l,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name)}}for(t=0;t<n.length;t++)l=n[t],l.form===e.form&&f1(l)}break e;case"textarea":h1(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&Yl(e,!!n.multiple,t,!1)}}}var ws=!1;function v1(e,t,n){if(ws)return e(t,n);ws=!0;try{var l=e(t);return l}finally{if(ws=!1,(Ql!==null||Zl!==null)&&(_c(),Ql&&(t=Ql,e=Zl,Zl=Ql=null,g1(t),e)))for(t=0;t<e.length;t++)g1(e[t])}}function Da(e,t){var n=e.stateNode;if(n===null)return null;var l=n[bt]||null;if(l===null)return null;n=l[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":(l=!l.disabled)||(e=e.type,l=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!l;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(r(231,t,typeof n));return n}var yn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ns=!1;if(yn)try{var La={};Object.defineProperty(La,"passive",{get:function(){Ns=!0}}),window.addEventListener("test",La,La),window.removeEventListener("test",La,La)}catch{Ns=!1}var kn=null,zs=null,Qi=null;function b1(){if(Qi)return Qi;var e,t=zs,n=t.length,l,i="value"in kn?kn.value:kn.textContent,c=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(l=1;l<=o&&t[n-l]===i[c-l];l++);return Qi=i.slice(e,1<l?1-l:void 0)}function Zi(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 Ki(){return!0}function S1(){return!1}function zt(e){function t(n,l,i,c,o){this._reactName=n,this._targetInst=i,this.type=l,this.nativeEvent=c,this.target=o,this.currentTarget=null;for(var d in e)e.hasOwnProperty(d)&&(n=e[d],this[d]=n?n(c):c[d]);return this.isDefaultPrevented=(c.defaultPrevented!=null?c.defaultPrevented:c.returnValue===!1)?Ki:S1,this.isPropagationStopped=S1,this}return D(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Ki)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Ki)},persist:function(){},isPersistent:Ki}),t}var gl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},$i=zt(gl),Ha=D({},gl,{view:0,detail:0}),Od=zt(Ha),Ts,Ms,ka,Ji=D({},Ha,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cs,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!==ka&&(ka&&e.type==="mousemove"?(Ts=e.screenX-ka.screenX,Ms=e.screenY-ka.screenY):Ms=Ts=0,ka=e),Ts)},movementY:function(e){return"movementY"in e?e.movementY:Ms}}),x1=zt(Ji),Dd=D({},Ji,{dataTransfer:0}),Ld=zt(Dd),Hd=D({},Ha,{relatedTarget:0}),As=zt(Hd),kd=D({},gl,{animationName:0,elapsedTime:0,pseudoElement:0}),Ud=zt(kd),Bd=D({},gl,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),qd=zt(Bd),Gd=D({},gl,{data:0}),j1=zt(Gd),Vd={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Yd={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"},Xd={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Qd(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Xd[e])?!!t[e]:!1}function Cs(){return Qd}var Zd=D({},Ha,{key:function(e){if(e.key){var t=Vd[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Zi(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Yd[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cs,charCode:function(e){return e.type==="keypress"?Zi(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Zi(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Kd=zt(Zd),$d=D({},Ji,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),E1=zt($d),Jd=D({},Ha,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cs}),Fd=zt(Jd),Wd=D({},gl,{propertyName:0,elapsedTime:0,pseudoElement:0}),Id=zt(Wd),Pd=D({},Ji,{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}),e4=zt(Pd),t4=D({},gl,{newState:0,oldState:0}),n4=zt(t4),l4=[9,13,27,32],_s=yn&&"CompositionEvent"in window,Ua=null;yn&&"documentMode"in document&&(Ua=document.documentMode);var a4=yn&&"TextEvent"in window&&!Ua,w1=yn&&(!_s||Ua&&8<Ua&&11>=Ua),N1=" ",z1=!1;function T1(e,t){switch(e){case"keyup":return l4.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function M1(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Kl=!1;function i4(e,t){switch(e){case"compositionend":return M1(t);case"keypress":return t.which!==32?null:(z1=!0,N1);case"textInput":return e=t.data,e===N1&&z1?null:e;default:return null}}function c4(e,t){if(Kl)return e==="compositionend"||!_s&&T1(e,t)?(e=b1(),Qi=zs=kn=null,Kl=!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 w1&&t.locale!=="ko"?null:t.data;default:return null}}var s4={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 A1(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!s4[e.type]:t==="textarea"}function C1(e,t,n,l){Ql?Zl?Zl.push(l):Zl=[l]:Ql=l,t=Uc(t,"onChange"),0<t.length&&(n=new $i("onChange","change",null,n,l),e.push({event:n,listeners:t}))}var Ba=null,qa=null;function u4(e){hf(e,0)}function Fi(e){var t=ue(e);if(f1(t))return e}function _1(e,t){if(e==="change")return t}var R1=!1;if(yn){var Rs;if(yn){var Os="oninput"in document;if(!Os){var O1=document.createElement("div");O1.setAttribute("oninput","return;"),Os=typeof O1.oninput=="function"}Rs=Os}else Rs=!1;R1=Rs&&(!document.documentMode||9<document.documentMode)}function D1(){Ba&&(Ba.detachEvent("onpropertychange",L1),qa=Ba=null)}function L1(e){if(e.propertyName==="value"&&Fi(qa)){var t=[];C1(t,qa,e,Es(e)),v1(u4,t)}}function o4(e,t,n){e==="focusin"?(D1(),Ba=t,qa=n,Ba.attachEvent("onpropertychange",L1)):e==="focusout"&&D1()}function r4(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Fi(qa)}function f4(e,t){if(e==="click")return Fi(t)}function d4(e,t){if(e==="input"||e==="change")return Fi(t)}function h4(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Rt=typeof Object.is=="function"?Object.is:h4;function Ga(e,t){if(Rt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),l=Object.keys(t);if(n.length!==l.length)return!1;for(l=0;l<n.length;l++){var i=n[l];if(!ul.call(t,i)||!Rt(e[i],t[i]))return!1}return!0}function H1(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function k1(e,t){var n=H1(e);e=0;for(var l;n;){if(n.nodeType===3){if(l=e+n.textContent.length,e<=t&&l>=t)return{node:n,offset:t-e};e=l}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=H1(n)}}function U1(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?U1(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function B1(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Yi(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Yi(e.document)}return t}function Ds(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 m4=yn&&"documentMode"in document&&11>=document.documentMode,$l=null,Ls=null,Va=null,Hs=!1;function q1(e,t,n){var l=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Hs||$l==null||$l!==Yi(l)||(l=$l,"selectionStart"in l&&Ds(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),Va&&Ga(Va,l)||(Va=l,l=Uc(Ls,"onSelect"),0<l.length&&(t=new $i("onSelect","select",null,t,n),e.push({event:t,listeners:l}),t.target=$l)))}function vl(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Jl={animationend:vl("Animation","AnimationEnd"),animationiteration:vl("Animation","AnimationIteration"),animationstart:vl("Animation","AnimationStart"),transitionrun:vl("Transition","TransitionRun"),transitionstart:vl("Transition","TransitionStart"),transitioncancel:vl("Transition","TransitionCancel"),transitionend:vl("Transition","TransitionEnd")},ks={},G1={};yn&&(G1=document.createElement("div").style,"AnimationEvent"in window||(delete Jl.animationend.animation,delete Jl.animationiteration.animation,delete Jl.animationstart.animation),"TransitionEvent"in window||delete Jl.transitionend.transition);function bl(e){if(ks[e])return ks[e];if(!Jl[e])return e;var t=Jl[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in G1)return ks[e]=t[n];return e}var V1=bl("animationend"),Y1=bl("animationiteration"),X1=bl("animationstart"),p4=bl("transitionrun"),y4=bl("transitionstart"),g4=bl("transitioncancel"),Q1=bl("transitionend"),Z1=new Map,Us="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(" ");Us.push("scrollEnd");function Ft(e,t){Z1.set(e,t),yl(t,[e])}var Wi=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)},Gt=[],Fl=0,Bs=0;function Ii(){for(var e=Fl,t=Bs=Fl=0;t<e;){var n=Gt[t];Gt[t++]=null;var l=Gt[t];Gt[t++]=null;var i=Gt[t];Gt[t++]=null;var c=Gt[t];if(Gt[t++]=null,l!==null&&i!==null){var o=l.pending;o===null?i.next=i:(i.next=o.next,o.next=i),l.pending=i}c!==0&&K1(n,i,c)}}function Pi(e,t,n,l){Gt[Fl++]=e,Gt[Fl++]=t,Gt[Fl++]=n,Gt[Fl++]=l,Bs|=l,e.lanes|=l,e=e.alternate,e!==null&&(e.lanes|=l)}function qs(e,t,n,l){return Pi(e,t,n,l),ec(e)}function Sl(e,t){return Pi(e,null,null,t),ec(e)}function K1(e,t,n){e.lanes|=n;var l=e.alternate;l!==null&&(l.lanes|=n);for(var i=!1,c=e.return;c!==null;)c.childLanes|=n,l=c.alternate,l!==null&&(l.childLanes|=n),c.tag===22&&(e=c.stateNode,e===null||e._visibility&1||(i=!0)),e=c,c=c.return;return e.tag===3?(c=e.stateNode,i&&t!==null&&(i=31-Et(n),e=c.hiddenUpdates,l=e[i],l===null?e[i]=[t]:l.push(t),t.lane=n|536870912),c):null}function ec(e){if(50<ri)throw ri=0,Ju=null,Error(r(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Wl={};function v4(e,t,n,l){this.tag=e,this.key=n,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=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ot(e,t,n,l){return new v4(e,t,n,l)}function Gs(e){return e=e.prototype,!(!e||!e.isReactComponent)}function gn(e,t){var n=e.alternate;return n===null?(n=Ot(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function $1(e,t){e.flags&=65011714;var n=e.alternate;return n===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=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function tc(e,t,n,l,i,c){var o=0;if(l=e,typeof e=="function")Gs(e)&&(o=1);else if(typeof e=="string")o=E3(e,n,J.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case Oe:return e=Ot(31,n,t,i),e.elementType=Oe,e.lanes=c,e;case he:return xl(n.children,i,c,t);case me:o=8,i|=24;break;case Z:return e=Ot(12,n,t,i|2),e.elementType=Z,e.lanes=c,e;case fe:return e=Ot(13,n,t,i),e.elementType=fe,e.lanes=c,e;case oe:return e=Ot(19,n,t,i),e.elementType=oe,e.lanes=c,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case re:o=10;break e;case je:o=9;break e;case K:o=11;break e;case W:o=14;break e;case be:o=16,l=null;break e}o=29,n=Error(r(130,e===null?"null":typeof e,"")),l=null}return t=Ot(o,n,t,i),t.elementType=e,t.type=l,t.lanes=c,t}function xl(e,t,n,l){return e=Ot(7,e,l,t),e.lanes=n,e}function Vs(e,t,n){return e=Ot(6,e,null,t),e.lanes=n,e}function J1(e){var t=Ot(18,null,null,0);return t.stateNode=e,t}function Ys(e,t,n){return t=Ot(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var F1=new WeakMap;function Vt(e,t){if(typeof e=="object"&&e!==null){var n=F1.get(e);return n!==void 0?n:(t={value:e,source:t,stack:xt(t)},F1.set(e,t),t)}return{value:e,source:t,stack:xt(t)}}var Il=[],Pl=0,nc=null,Ya=0,Yt=[],Xt=0,Un=null,ln=1,an="";function vn(e,t){Il[Pl++]=Ya,Il[Pl++]=nc,nc=e,Ya=t}function W1(e,t,n){Yt[Xt++]=ln,Yt[Xt++]=an,Yt[Xt++]=Un,Un=e;var l=ln;e=an;var i=32-Et(l)-1;l&=~(1<<i),n+=1;var c=32-Et(t)+i;if(30<c){var o=i-i%5;c=(l&(1<<o)-1).toString(32),l>>=o,i-=o,ln=1<<32-Et(t)+i|n<<i|l,an=c+e}else ln=1<<c|n<<i|l,an=e}function Xs(e){e.return!==null&&(vn(e,1),W1(e,1,0))}function Qs(e){for(;e===nc;)nc=Il[--Pl],Il[Pl]=null,Ya=Il[--Pl],Il[Pl]=null;for(;e===Un;)Un=Yt[--Xt],Yt[Xt]=null,an=Yt[--Xt],Yt[Xt]=null,ln=Yt[--Xt],Yt[Xt]=null}function I1(e,t){Yt[Xt++]=ln,Yt[Xt++]=an,Yt[Xt++]=Un,ln=t.id,an=t.overflow,Un=e}var pt=null,Ke=null,Ae=!1,Bn=null,Qt=!1,Zs=Error(r(519));function qn(e){var t=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Xa(Vt(t,e)),Zs}function P1(e){var t=e.stateNode,n=e.type,l=e.memoizedProps;switch(t[ft]=e,t[bt]=l,n){case"dialog":Ne("cancel",t),Ne("close",t);break;case"iframe":case"object":case"embed":Ne("load",t);break;case"video":case"audio":for(n=0;n<di.length;n++)Ne(di[n],t);break;case"source":Ne("error",t);break;case"img":case"image":case"link":Ne("error",t),Ne("load",t);break;case"details":Ne("toggle",t);break;case"input":Ne("invalid",t),d1(t,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case"select":Ne("invalid",t);break;case"textarea":Ne("invalid",t),m1(t,l.value,l.defaultValue,l.children)}n=l.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||t.textContent===""+n||l.suppressHydrationWarning===!0||gf(t.textContent,n)?(l.popover!=null&&(Ne("beforetoggle",t),Ne("toggle",t)),l.onScroll!=null&&Ne("scroll",t),l.onScrollEnd!=null&&Ne("scrollend",t),l.onClick!=null&&(t.onclick=pn),t=!0):t=!1,t||qn(e,!0)}function er(e){for(pt=e.return;pt;)switch(pt.tag){case 5:case 31:case 13:Qt=!1;return;case 27:case 3:Qt=!0;return;default:pt=pt.return}}function ea(e){if(e!==pt)return!1;if(!Ae)return er(e),Ae=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||ro(e.type,e.memoizedProps)),n=!n),n&&Ke&&qn(e),er(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));Ke=zf(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));Ke=zf(e)}else t===27?(t=Ke,el(e.type)?(e=yo,yo=null,Ke=e):Ke=t):Ke=pt?Kt(e.stateNode.nextSibling):null;return!0}function jl(){Ke=pt=null,Ae=!1}function Ks(){var e=Bn;return e!==null&&(Ct===null?Ct=e:Ct.push.apply(Ct,e),Bn=null),e}function Xa(e){Bn===null?Bn=[e]:Bn.push(e)}var $s=g(null),El=null,bn=null;function Gn(e,t,n){Q($s,t._currentValue),t._currentValue=n}function Sn(e){e._currentValue=$s.current,R($s)}function Js(e,t,n){for(;e!==null;){var l=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,l!==null&&(l.childLanes|=t)):l!==null&&(l.childLanes&t)!==t&&(l.childLanes|=t),e===n)break;e=e.return}}function Fs(e,t,n,l){var i=e.child;for(i!==null&&(i.return=e);i!==null;){var c=i.dependencies;if(c!==null){var o=i.child;c=c.firstContext;e:for(;c!==null;){var d=c;c=i;for(var p=0;p<t.length;p++)if(d.context===t[p]){c.lanes|=n,d=c.alternate,d!==null&&(d.lanes|=n),Js(c.return,n,e),l||(o=null);break e}c=d.next}}else if(i.tag===18){if(o=i.return,o===null)throw Error(r(341));o.lanes|=n,c=o.alternate,c!==null&&(c.lanes|=n),Js(o,n,e),o=null}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===e){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}}function ta(e,t,n,l){e=null;for(var i=t,c=!1;i!==null;){if(!c){if((i.flags&524288)!==0)c=!0;else if((i.flags&262144)!==0)break}if(i.tag===10){var o=i.alternate;if(o===null)throw Error(r(387));if(o=o.memoizedProps,o!==null){var d=i.type;Rt(i.pendingProps.value,o.value)||(e!==null?e.push(d):e=[d])}}else if(i===b.current){if(o=i.alternate,o===null)throw Error(r(387));o.memoizedState.memoizedState!==i.memoizedState.memoizedState&&(e!==null?e.push(gi):e=[gi])}i=i.return}e!==null&&Fs(t,e,n,l),t.flags|=262144}function lc(e){for(e=e.firstContext;e!==null;){if(!Rt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function wl(e){El=e,bn=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function yt(e){return tr(El,e)}function ac(e,t){return El===null&&wl(e),tr(e,t)}function tr(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},bn===null){if(e===null)throw Error(r(308));bn=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else bn=bn.next=t;return n}var b4=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,l){e.push(l)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},S4=a.unstable_scheduleCallback,x4=a.unstable_NormalPriority,at={$$typeof:re,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ws(){return{controller:new b4,data:new Map,refCount:0}}function Qa(e){e.refCount--,e.refCount===0&&S4(x4,function(){e.controller.abort()})}var Za=null,Is=0,na=0,la=null;function j4(e,t){if(Za===null){var n=Za=[];Is=0,na=to(),la={status:"pending",value:void 0,then:function(l){n.push(l)}}}return Is++,t.then(nr,nr),t}function nr(){if(--Is===0&&Za!==null){la!==null&&(la.status="fulfilled");var e=Za;Za=null,na=0,la=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function E4(e,t){var n=[],l={status:"pending",value:null,reason:null,then:function(i){n.push(i)}};return e.then(function(){l.status="fulfilled",l.value=t;for(var i=0;i<n.length;i++)(0,n[i])(t)},function(i){for(l.status="rejected",l.reason=i,i=0;i<n.length;i++)(0,n[i])(void 0)}),l}var lr=M.S;M.S=function(e,t){q0=mt(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&j4(e,t),lr!==null&&lr(e,t)};var Nl=g(null);function Ps(){var e=Nl.current;return e!==null?e:Qe.pooledCache}function ic(e,t){t===null?Q(Nl,Nl.current):Q(Nl,t.pool)}function ar(){var e=Ps();return e===null?null:{parent:at._currentValue,pool:e}}var aa=Error(r(460)),eu=Error(r(474)),cc=Error(r(542)),sc={then:function(){}};function ir(e){return e=e.status,e==="fulfilled"||e==="rejected"}function cr(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(pn,pn),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,ur(e),e;default:if(typeof t.status=="string")t.then(pn,pn);else{if(e=Qe,e!==null&&100<e.shellSuspendCounter)throw Error(r(482));e=t,e.status="pending",e.then(function(l){if(t.status==="pending"){var i=t;i.status="fulfilled",i.value=l}},function(l){if(t.status==="pending"){var i=t;i.status="rejected",i.reason=l}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,ur(e),e}throw Tl=t,aa}}function zl(e){try{var t=e._init;return t(e._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?(Tl=n,aa):n}}var Tl=null;function sr(){if(Tl===null)throw Error(r(459));var e=Tl;return Tl=null,e}function ur(e){if(e===aa||e===cc)throw Error(r(483))}var ia=null,Ka=0;function uc(e){var t=Ka;return Ka+=1,ia===null&&(ia=[]),cr(ia,e,t)}function $a(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function oc(e,t){throw t.$$typeof===U?Error(r(525)):(e=Object.prototype.toString.call(t),Error(r(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function or(e){function t(S,v){if(e){var j=S.deletions;j===null?(S.deletions=[v],S.flags|=16):j.push(v)}}function n(S,v){if(!e)return null;for(;v!==null;)t(S,v),v=v.sibling;return null}function l(S){for(var v=new Map;S!==null;)S.key!==null?v.set(S.key,S):v.set(S.index,S),S=S.sibling;return v}function i(S,v){return S=gn(S,v),S.index=0,S.sibling=null,S}function c(S,v,j){return S.index=j,e?(j=S.alternate,j!==null?(j=j.index,j<v?(S.flags|=67108866,v):j):(S.flags|=67108866,v)):(S.flags|=1048576,v)}function o(S){return e&&S.alternate===null&&(S.flags|=67108866),S}function d(S,v,j,O){return v===null||v.tag!==6?(v=Vs(j,S.mode,O),v.return=S,v):(v=i(v,j),v.return=S,v)}function p(S,v,j,O){var se=j.type;return se===he?_(S,v,j.props.children,O,j.key):v!==null&&(v.elementType===se||typeof se=="object"&&se!==null&&se.$$typeof===be&&zl(se)===v.type)?(v=i(v,j.props),$a(v,j),v.return=S,v):(v=tc(j.type,j.key,j.props,null,S.mode,O),$a(v,j),v.return=S,v)}function E(S,v,j,O){return v===null||v.tag!==4||v.stateNode.containerInfo!==j.containerInfo||v.stateNode.implementation!==j.implementation?(v=Ys(j,S.mode,O),v.return=S,v):(v=i(v,j.children||[]),v.return=S,v)}function _(S,v,j,O,se){return v===null||v.tag!==7?(v=xl(j,S.mode,O,se),v.return=S,v):(v=i(v,j),v.return=S,v)}function L(S,v,j){if(typeof v=="string"&&v!==""||typeof v=="number"||typeof v=="bigint")return v=Vs(""+v,S.mode,j),v.return=S,v;if(typeof v=="object"&&v!==null){switch(v.$$typeof){case B:return j=tc(v.type,v.key,v.props,null,S.mode,j),$a(j,v),j.return=S,j;case $:return v=Ys(v,S.mode,j),v.return=S,v;case be:return v=zl(v),L(S,v,j)}if(De(v)||q(v))return v=xl(v,S.mode,j,null),v.return=S,v;if(typeof v.then=="function")return L(S,uc(v),j);if(v.$$typeof===re)return L(S,ac(S,v),j);oc(S,v)}return null}function w(S,v,j,O){var se=v!==null?v.key:null;if(typeof j=="string"&&j!==""||typeof j=="number"||typeof j=="bigint")return se!==null?null:d(S,v,""+j,O);if(typeof j=="object"&&j!==null){switch(j.$$typeof){case B:return j.key===se?p(S,v,j,O):null;case $:return j.key===se?E(S,v,j,O):null;case be:return j=zl(j),w(S,v,j,O)}if(De(j)||q(j))return se!==null?null:_(S,v,j,O,null);if(typeof j.then=="function")return w(S,v,uc(j),O);if(j.$$typeof===re)return w(S,v,ac(S,j),O);oc(S,j)}return null}function A(S,v,j,O,se){if(typeof O=="string"&&O!==""||typeof O=="number"||typeof O=="bigint")return S=S.get(j)||null,d(v,S,""+O,se);if(typeof O=="object"&&O!==null){switch(O.$$typeof){case B:return S=S.get(O.key===null?j:O.key)||null,p(v,S,O,se);case $:return S=S.get(O.key===null?j:O.key)||null,E(v,S,O,se);case be:return O=zl(O),A(S,v,j,O,se)}if(De(O)||q(O))return S=S.get(j)||null,_(v,S,O,se,null);if(typeof O.then=="function")return A(S,v,j,uc(O),se);if(O.$$typeof===re)return A(S,v,j,ac(v,O),se);oc(v,O)}return null}function ee(S,v,j,O){for(var se=null,Le=null,le=v,Ee=v=0,Te=null;le!==null&&Ee<j.length;Ee++){le.index>Ee?(Te=le,le=null):Te=le.sibling;var He=w(S,le,j[Ee],O);if(He===null){le===null&&(le=Te);break}e&&le&&He.alternate===null&&t(S,le),v=c(He,v,Ee),Le===null?se=He:Le.sibling=He,Le=He,le=Te}if(Ee===j.length)return n(S,le),Ae&&vn(S,Ee),se;if(le===null){for(;Ee<j.length;Ee++)le=L(S,j[Ee],O),le!==null&&(v=c(le,v,Ee),Le===null?se=le:Le.sibling=le,Le=le);return Ae&&vn(S,Ee),se}for(le=l(le);Ee<j.length;Ee++)Te=A(le,S,Ee,j[Ee],O),Te!==null&&(e&&Te.alternate!==null&&le.delete(Te.key===null?Ee:Te.key),v=c(Te,v,Ee),Le===null?se=Te:Le.sibling=Te,Le=Te);return e&&le.forEach(function(il){return t(S,il)}),Ae&&vn(S,Ee),se}function de(S,v,j,O){if(j==null)throw Error(r(151));for(var se=null,Le=null,le=v,Ee=v=0,Te=null,He=j.next();le!==null&&!He.done;Ee++,He=j.next()){le.index>Ee?(Te=le,le=null):Te=le.sibling;var il=w(S,le,He.value,O);if(il===null){le===null&&(le=Te);break}e&&le&&il.alternate===null&&t(S,le),v=c(il,v,Ee),Le===null?se=il:Le.sibling=il,Le=il,le=Te}if(He.done)return n(S,le),Ae&&vn(S,Ee),se;if(le===null){for(;!He.done;Ee++,He=j.next())He=L(S,He.value,O),He!==null&&(v=c(He,v,Ee),Le===null?se=He:Le.sibling=He,Le=He);return Ae&&vn(S,Ee),se}for(le=l(le);!He.done;Ee++,He=j.next())He=A(le,S,Ee,He.value,O),He!==null&&(e&&He.alternate!==null&&le.delete(He.key===null?Ee:He.key),v=c(He,v,Ee),Le===null?se=He:Le.sibling=He,Le=He);return e&&le.forEach(function(D3){return t(S,D3)}),Ae&&vn(S,Ee),se}function Ye(S,v,j,O){if(typeof j=="object"&&j!==null&&j.type===he&&j.key===null&&(j=j.props.children),typeof j=="object"&&j!==null){switch(j.$$typeof){case B:e:{for(var se=j.key;v!==null;){if(v.key===se){if(se=j.type,se===he){if(v.tag===7){n(S,v.sibling),O=i(v,j.props.children),O.return=S,S=O;break e}}else if(v.elementType===se||typeof se=="object"&&se!==null&&se.$$typeof===be&&zl(se)===v.type){n(S,v.sibling),O=i(v,j.props),$a(O,j),O.return=S,S=O;break e}n(S,v);break}else t(S,v);v=v.sibling}j.type===he?(O=xl(j.props.children,S.mode,O,j.key),O.return=S,S=O):(O=tc(j.type,j.key,j.props,null,S.mode,O),$a(O,j),O.return=S,S=O)}return o(S);case $:e:{for(se=j.key;v!==null;){if(v.key===se)if(v.tag===4&&v.stateNode.containerInfo===j.containerInfo&&v.stateNode.implementation===j.implementation){n(S,v.sibling),O=i(v,j.children||[]),O.return=S,S=O;break e}else{n(S,v);break}else t(S,v);v=v.sibling}O=Ys(j,S.mode,O),O.return=S,S=O}return o(S);case be:return j=zl(j),Ye(S,v,j,O)}if(De(j))return ee(S,v,j,O);if(q(j)){if(se=q(j),typeof se!="function")throw Error(r(150));return j=se.call(j),de(S,v,j,O)}if(typeof j.then=="function")return Ye(S,v,uc(j),O);if(j.$$typeof===re)return Ye(S,v,ac(S,j),O);oc(S,j)}return typeof j=="string"&&j!==""||typeof j=="number"||typeof j=="bigint"?(j=""+j,v!==null&&v.tag===6?(n(S,v.sibling),O=i(v,j),O.return=S,S=O):(n(S,v),O=Vs(j,S.mode,O),O.return=S,S=O),o(S)):n(S,v)}return function(S,v,j,O){try{Ka=0;var se=Ye(S,v,j,O);return ia=null,se}catch(le){if(le===aa||le===cc)throw le;var Le=Ot(29,le,null,S.mode);return Le.lanes=O,Le.return=S,Le}finally{}}}var Ml=or(!0),rr=or(!1),Vn=!1;function tu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function nu(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 Yn(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Xn(e,t,n){var l=e.updateQueue;if(l===null)return null;if(l=l.shared,(Ue&2)!==0){var i=l.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),l.pending=t,t=ec(e),K1(e,null,n),t}return Pi(e,l,t,n),ec(e)}function Ja(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var l=t.lanes;l&=e.pendingLanes,n|=l,t.lanes=n,Di(e,n)}}function lu(e,t){var n=e.updateQueue,l=e.alternate;if(l!==null&&(l=l.updateQueue,n===l)){var i=null,c=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};c===null?i=c=o:c=c.next=o,n=n.next}while(n!==null);c===null?i=c=t:c=c.next=t}else i=c=t;n={baseState:l.baseState,firstBaseUpdate:i,lastBaseUpdate:c,shared:l.shared,callbacks:l.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var au=!1;function Fa(){if(au){var e=la;if(e!==null)throw e}}function Wa(e,t,n,l){au=!1;var i=e.updateQueue;Vn=!1;var c=i.firstBaseUpdate,o=i.lastBaseUpdate,d=i.shared.pending;if(d!==null){i.shared.pending=null;var p=d,E=p.next;p.next=null,o===null?c=E:o.next=E,o=p;var _=e.alternate;_!==null&&(_=_.updateQueue,d=_.lastBaseUpdate,d!==o&&(d===null?_.firstBaseUpdate=E:d.next=E,_.lastBaseUpdate=p))}if(c!==null){var L=i.baseState;o=0,_=E=p=null,d=c;do{var w=d.lane&-536870913,A=w!==d.lane;if(A?(ze&w)===w:(l&w)===w){w!==0&&w===na&&(au=!0),_!==null&&(_=_.next={lane:0,tag:d.tag,payload:d.payload,callback:null,next:null});e:{var ee=e,de=d;w=t;var Ye=n;switch(de.tag){case 1:if(ee=de.payload,typeof ee=="function"){L=ee.call(Ye,L,w);break e}L=ee;break e;case 3:ee.flags=ee.flags&-65537|128;case 0:if(ee=de.payload,w=typeof ee=="function"?ee.call(Ye,L,w):ee,w==null)break e;L=D({},L,w);break e;case 2:Vn=!0}}w=d.callback,w!==null&&(e.flags|=64,A&&(e.flags|=8192),A=i.callbacks,A===null?i.callbacks=[w]:A.push(w))}else A={lane:w,tag:d.tag,payload:d.payload,callback:d.callback,next:null},_===null?(E=_=A,p=L):_=_.next=A,o|=w;if(d=d.next,d===null){if(d=i.shared.pending,d===null)break;A=d,d=A.next,A.next=null,i.lastBaseUpdate=A,i.shared.pending=null}}while(!0);_===null&&(p=L),i.baseState=p,i.firstBaseUpdate=E,i.lastBaseUpdate=_,c===null&&(i.shared.lanes=0),Jn|=o,e.lanes=o,e.memoizedState=L}}function fr(e,t){if(typeof e!="function")throw Error(r(191,e));e.call(t)}function dr(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)fr(n[e],t)}var ca=g(null),rc=g(0);function hr(e,t){e=An,Q(rc,e),Q(ca,t),An=e|t.baseLanes}function iu(){Q(rc,An),Q(ca,ca.current)}function cu(){An=rc.current,R(ca),R(rc)}var Dt=g(null),Zt=null;function Qn(e){var t=e.alternate;Q(tt,tt.current&1),Q(Dt,e),Zt===null&&(t===null||ca.current!==null||t.memoizedState!==null)&&(Zt=e)}function su(e){Q(tt,tt.current),Q(Dt,e),Zt===null&&(Zt=e)}function mr(e){e.tag===22?(Q(tt,tt.current),Q(Dt,e),Zt===null&&(Zt=e)):Zn()}function Zn(){Q(tt,tt.current),Q(Dt,Dt.current)}function Lt(e){R(Dt),Zt===e&&(Zt=null),R(tt)}var tt=g(0);function fc(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||mo(n)||po(n)))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 xn=0,Se=null,Ge=null,it=null,dc=!1,sa=!1,Al=!1,hc=0,Ia=0,ua=null,w4=0;function Ie(){throw Error(r(321))}function uu(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Rt(e[n],t[n]))return!1;return!0}function ou(e,t,n,l,i,c){return xn=c,Se=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,M.H=e===null||e.memoizedState===null?Wr:wu,Al=!1,c=n(l,i),Al=!1,sa&&(c=yr(t,n,l,i)),pr(e),c}function pr(e){M.H=ti;var t=Ge!==null&&Ge.next!==null;if(xn=0,it=Ge=Se=null,dc=!1,Ia=0,ua=null,t)throw Error(r(300));e===null||ct||(e=e.dependencies,e!==null&&lc(e)&&(ct=!0))}function yr(e,t,n,l){Se=e;var i=0;do{if(sa&&(ua=null),Ia=0,sa=!1,25<=i)throw Error(r(301));if(i+=1,it=Ge=null,e.updateQueue!=null){var c=e.updateQueue;c.lastEffect=null,c.events=null,c.stores=null,c.memoCache!=null&&(c.memoCache.index=0)}M.H=Ir,c=t(n,l)}while(sa);return c}function N4(){var e=M.H,t=e.useState()[0];return t=typeof t.then=="function"?Pa(t):t,e=e.useState()[0],(Ge!==null?Ge.memoizedState:null)!==e&&(Se.flags|=1024),t}function ru(){var e=hc!==0;return hc=0,e}function fu(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function du(e){if(dc){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}dc=!1}xn=0,it=Ge=Se=null,sa=!1,Ia=hc=0,ua=null}function wt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return it===null?Se.memoizedState=it=e:it=it.next=e,it}function nt(){if(Ge===null){var e=Se.alternate;e=e!==null?e.memoizedState:null}else e=Ge.next;var t=it===null?Se.memoizedState:it.next;if(t!==null)it=t,Ge=e;else{if(e===null)throw Se.alternate===null?Error(r(467)):Error(r(310));Ge=e,e={memoizedState:Ge.memoizedState,baseState:Ge.baseState,baseQueue:Ge.baseQueue,queue:Ge.queue,next:null},it===null?Se.memoizedState=it=e:it=it.next=e}return it}function mc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Pa(e){var t=Ia;return Ia+=1,ua===null&&(ua=[]),e=cr(ua,e,t),t=Se,(it===null?t.memoizedState:it.next)===null&&(t=t.alternate,M.H=t===null||t.memoizedState===null?Wr:wu),e}function pc(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Pa(e);if(e.$$typeof===re)return yt(e)}throw Error(r(438,String(e)))}function hu(e){var t=null,n=Se.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var l=Se.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(t={data:l.data.map(function(i){return i.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=mc(),Se.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),l=0;l<e;l++)n[l]=G;return t.index++,n}function jn(e,t){return typeof t=="function"?t(e):t}function yc(e){var t=nt();return mu(t,Ge,e)}function mu(e,t,n){var l=e.queue;if(l===null)throw Error(r(311));l.lastRenderedReducer=n;var i=e.baseQueue,c=l.pending;if(c!==null){if(i!==null){var o=i.next;i.next=c.next,c.next=o}t.baseQueue=i=c,l.pending=null}if(c=e.baseState,i===null)e.memoizedState=c;else{t=i.next;var d=o=null,p=null,E=t,_=!1;do{var L=E.lane&-536870913;if(L!==E.lane?(ze&L)===L:(xn&L)===L){var w=E.revertLane;if(w===0)p!==null&&(p=p.next={lane:0,revertLane:0,gesture:null,action:E.action,hasEagerState:E.hasEagerState,eagerState:E.eagerState,next:null}),L===na&&(_=!0);else if((xn&w)===w){E=E.next,w===na&&(_=!0);continue}else L={lane:0,revertLane:E.revertLane,gesture:null,action:E.action,hasEagerState:E.hasEagerState,eagerState:E.eagerState,next:null},p===null?(d=p=L,o=c):p=p.next=L,Se.lanes|=w,Jn|=w;L=E.action,Al&&n(c,L),c=E.hasEagerState?E.eagerState:n(c,L)}else w={lane:L,revertLane:E.revertLane,gesture:E.gesture,action:E.action,hasEagerState:E.hasEagerState,eagerState:E.eagerState,next:null},p===null?(d=p=w,o=c):p=p.next=w,Se.lanes|=L,Jn|=L;E=E.next}while(E!==null&&E!==t);if(p===null?o=c:p.next=d,!Rt(c,e.memoizedState)&&(ct=!0,_&&(n=la,n!==null)))throw n;e.memoizedState=c,e.baseState=o,e.baseQueue=p,l.lastRenderedState=c}return i===null&&(l.lanes=0),[e.memoizedState,l.dispatch]}function pu(e){var t=nt(),n=t.queue;if(n===null)throw Error(r(311));n.lastRenderedReducer=e;var l=n.dispatch,i=n.pending,c=t.memoizedState;if(i!==null){n.pending=null;var o=i=i.next;do c=e(c,o.action),o=o.next;while(o!==i);Rt(c,t.memoizedState)||(ct=!0),t.memoizedState=c,t.baseQueue===null&&(t.baseState=c),n.lastRenderedState=c}return[c,l]}function gr(e,t,n){var l=Se,i=nt(),c=Ae;if(c){if(n===void 0)throw Error(r(407));n=n()}else n=t();var o=!Rt((Ge||i).memoizedState,n);if(o&&(i.memoizedState=n,ct=!0),i=i.queue,vu(Sr.bind(null,l,i,e),[e]),i.getSnapshot!==t||o||it!==null&&it.memoizedState.tag&1){if(l.flags|=2048,oa(9,{destroy:void 0},br.bind(null,l,i,n,t),null),Qe===null)throw Error(r(349));c||(xn&127)!==0||vr(l,t,n)}return n}function vr(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Se.updateQueue,t===null?(t=mc(),Se.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function br(e,t,n,l){t.value=n,t.getSnapshot=l,xr(t)&&jr(e)}function Sr(e,t,n){return n(function(){xr(t)&&jr(e)})}function xr(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Rt(e,n)}catch{return!0}}function jr(e){var t=Sl(e,2);t!==null&&_t(t,e,2)}function yu(e){var t=wt();if(typeof e=="function"){var n=e;if(e=n(),Al){tn(!0);try{n()}finally{tn(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:jn,lastRenderedState:e},t}function Er(e,t,n,l){return e.baseState=n,mu(e,Ge,typeof l=="function"?l:jn)}function z4(e,t,n,l,i){if(bc(e))throw Error(r(485));if(e=t.action,e!==null){var c={payload:i,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(o){c.listeners.push(o)}};M.T!==null?n(!0):c.isTransition=!1,l(c),n=t.pending,n===null?(c.next=t.pending=c,wr(t,c)):(c.next=n.next,t.pending=n.next=c)}}function wr(e,t){var n=t.action,l=t.payload,i=e.state;if(t.isTransition){var c=M.T,o={};M.T=o;try{var d=n(i,l),p=M.S;p!==null&&p(o,d),Nr(e,t,d)}catch(E){gu(e,t,E)}finally{c!==null&&o.types!==null&&(c.types=o.types),M.T=c}}else try{c=n(i,l),Nr(e,t,c)}catch(E){gu(e,t,E)}}function Nr(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(l){zr(e,t,l)},function(l){return gu(e,t,l)}):zr(e,t,n)}function zr(e,t,n){t.status="fulfilled",t.value=n,Tr(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,wr(e,n)))}function gu(e,t,n){var l=e.pending;if(e.pending=null,l!==null){l=l.next;do t.status="rejected",t.reason=n,Tr(t),t=t.next;while(t!==l)}e.action=null}function Tr(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Mr(e,t){return t}function Ar(e,t){if(Ae){var n=Qe.formState;if(n!==null){e:{var l=Se;if(Ae){if(Ke){t:{for(var i=Ke,c=Qt;i.nodeType!==8;){if(!c){i=null;break t}if(i=Kt(i.nextSibling),i===null){i=null;break t}}c=i.data,i=c==="F!"||c==="F"?i:null}if(i){Ke=Kt(i.nextSibling),l=i.data==="F!";break e}}qn(l)}l=!1}l&&(t=n[0])}}return n=wt(),n.memoizedState=n.baseState=t,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Mr,lastRenderedState:t},n.queue=l,n=$r.bind(null,Se,l),l.dispatch=n,l=yu(!1),c=Eu.bind(null,Se,!1,l.queue),l=wt(),i={state:t,dispatch:null,action:e,pending:null},l.queue=i,n=z4.bind(null,Se,i,c,n),i.dispatch=n,l.memoizedState=e,[t,n,!1]}function Cr(e){var t=nt();return _r(t,Ge,e)}function _r(e,t,n){if(t=mu(e,t,Mr)[0],e=yc(jn)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var l=Pa(t)}catch(o){throw o===aa?cc:o}else l=t;t=nt();var i=t.queue,c=i.dispatch;return n!==t.memoizedState&&(Se.flags|=2048,oa(9,{destroy:void 0},T4.bind(null,i,n),null)),[l,c,e]}function T4(e,t){e.action=t}function Rr(e){var t=nt(),n=Ge;if(n!==null)return _r(t,n,e);nt(),t=t.memoizedState,n=nt();var l=n.queue.dispatch;return n.memoizedState=e,[t,l,!1]}function oa(e,t,n,l){return e={tag:e,create:n,deps:l,inst:t,next:null},t=Se.updateQueue,t===null&&(t=mc(),Se.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(l=n.next,n.next=e,e.next=l,t.lastEffect=e),e}function Or(){return nt().memoizedState}function gc(e,t,n,l){var i=wt();Se.flags|=e,i.memoizedState=oa(1|t,{destroy:void 0},n,l===void 0?null:l)}function vc(e,t,n,l){var i=nt();l=l===void 0?null:l;var c=i.memoizedState.inst;Ge!==null&&l!==null&&uu(l,Ge.memoizedState.deps)?i.memoizedState=oa(t,c,n,l):(Se.flags|=e,i.memoizedState=oa(1|t,c,n,l))}function Dr(e,t){gc(8390656,8,e,t)}function vu(e,t){vc(2048,8,e,t)}function M4(e){Se.flags|=4;var t=Se.updateQueue;if(t===null)t=mc(),Se.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function Lr(e){var t=nt().memoizedState;return M4({ref:t,nextImpl:e}),function(){if((Ue&2)!==0)throw Error(r(440));return t.impl.apply(void 0,arguments)}}function Hr(e,t){return vc(4,2,e,t)}function kr(e,t){return vc(4,4,e,t)}function Ur(e,t){if(typeof t=="function"){e=e();var n=t(e);return function(){typeof n=="function"?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Br(e,t,n){n=n!=null?n.concat([e]):null,vc(4,4,Ur.bind(null,t,e),n)}function bu(){}function qr(e,t){var n=nt();t=t===void 0?null:t;var l=n.memoizedState;return t!==null&&uu(t,l[1])?l[0]:(n.memoizedState=[e,t],e)}function Gr(e,t){var n=nt();t=t===void 0?null:t;var l=n.memoizedState;if(t!==null&&uu(t,l[1]))return l[0];if(l=e(),Al){tn(!0);try{e()}finally{tn(!1)}}return n.memoizedState=[l,t],l}function Su(e,t,n){return n===void 0||(xn&1073741824)!==0&&(ze&261930)===0?e.memoizedState=t:(e.memoizedState=n,e=V0(),Se.lanes|=e,Jn|=e,n)}function Vr(e,t,n,l){return Rt(n,t)?n:ca.current!==null?(e=Su(e,n,l),Rt(e,t)||(ct=!0),e):(xn&42)===0||(xn&1073741824)!==0&&(ze&261930)===0?(ct=!0,e.memoizedState=n):(e=V0(),Se.lanes|=e,Jn|=e,t)}function Yr(e,t,n,l,i){var c=X.p;X.p=c!==0&&8>c?c:8;var o=M.T,d={};M.T=d,Eu(e,!1,t,n);try{var p=i(),E=M.S;if(E!==null&&E(d,p),p!==null&&typeof p=="object"&&typeof p.then=="function"){var _=E4(p,l);ei(e,t,_,Ut(e))}else ei(e,t,l,Ut(e))}catch(L){ei(e,t,{then:function(){},status:"rejected",reason:L},Ut())}finally{X.p=c,o!==null&&d.types!==null&&(o.types=d.types),M.T=o}}function A4(){}function xu(e,t,n,l){if(e.tag!==5)throw Error(r(476));var i=Xr(e).queue;Yr(e,i,t,ne,n===null?A4:function(){return Qr(e),n(l)})}function Xr(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ne,baseState:ne,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:jn,lastRenderedState:ne},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:jn,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Qr(e){var t=Xr(e);t.next===null&&(t=e.alternate.memoizedState),ei(e,t.next.queue,{},Ut())}function ju(){return yt(gi)}function Zr(){return nt().memoizedState}function Kr(){return nt().memoizedState}function C4(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=Ut();e=Yn(n);var l=Xn(t,e,n);l!==null&&(_t(l,t,n),Ja(l,t,n)),t={cache:Ws()},e.payload=t;return}t=t.return}}function _4(e,t,n){var l=Ut();n={lane:l,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},bc(e)?Jr(t,n):(n=qs(e,t,n,l),n!==null&&(_t(n,e,l),Fr(n,t,l)))}function $r(e,t,n){var l=Ut();ei(e,t,n,l)}function ei(e,t,n,l){var i={lane:l,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(bc(e))Jr(t,i);else{var c=e.alternate;if(e.lanes===0&&(c===null||c.lanes===0)&&(c=t.lastRenderedReducer,c!==null))try{var o=t.lastRenderedState,d=c(o,n);if(i.hasEagerState=!0,i.eagerState=d,Rt(d,o))return Pi(e,t,i,0),Qe===null&&Ii(),!1}catch{}finally{}if(n=qs(e,t,i,l),n!==null)return _t(n,e,l),Fr(n,t,l),!0}return!1}function Eu(e,t,n,l){if(l={lane:2,revertLane:to(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},bc(e)){if(t)throw Error(r(479))}else t=qs(e,n,l,2),t!==null&&_t(t,e,2)}function bc(e){var t=e.alternate;return e===Se||t!==null&&t===Se}function Jr(e,t){sa=dc=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Fr(e,t,n){if((n&4194048)!==0){var l=t.lanes;l&=e.pendingLanes,n|=l,t.lanes=n,Di(e,n)}}var ti={readContext:yt,use:pc,useCallback:Ie,useContext:Ie,useEffect:Ie,useImperativeHandle:Ie,useLayoutEffect:Ie,useInsertionEffect:Ie,useMemo:Ie,useReducer:Ie,useRef:Ie,useState:Ie,useDebugValue:Ie,useDeferredValue:Ie,useTransition:Ie,useSyncExternalStore:Ie,useId:Ie,useHostTransitionStatus:Ie,useFormState:Ie,useActionState:Ie,useOptimistic:Ie,useMemoCache:Ie,useCacheRefresh:Ie};ti.useEffectEvent=Ie;var Wr={readContext:yt,use:pc,useCallback:function(e,t){return wt().memoizedState=[e,t===void 0?null:t],e},useContext:yt,useEffect:Dr,useImperativeHandle:function(e,t,n){n=n!=null?n.concat([e]):null,gc(4194308,4,Ur.bind(null,t,e),n)},useLayoutEffect:function(e,t){return gc(4194308,4,e,t)},useInsertionEffect:function(e,t){gc(4,2,e,t)},useMemo:function(e,t){var n=wt();t=t===void 0?null:t;var l=e();if(Al){tn(!0);try{e()}finally{tn(!1)}}return n.memoizedState=[l,t],l},useReducer:function(e,t,n){var l=wt();if(n!==void 0){var i=n(t);if(Al){tn(!0);try{n(t)}finally{tn(!1)}}}else i=t;return l.memoizedState=l.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},l.queue=e,e=e.dispatch=_4.bind(null,Se,e),[l.memoizedState,e]},useRef:function(e){var t=wt();return e={current:e},t.memoizedState=e},useState:function(e){e=yu(e);var t=e.queue,n=$r.bind(null,Se,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:bu,useDeferredValue:function(e,t){var n=wt();return Su(n,e,t)},useTransition:function(){var e=yu(!1);return e=Yr.bind(null,Se,e.queue,!0,!1),wt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var l=Se,i=wt();if(Ae){if(n===void 0)throw Error(r(407));n=n()}else{if(n=t(),Qe===null)throw Error(r(349));(ze&127)!==0||vr(l,t,n)}i.memoizedState=n;var c={value:n,getSnapshot:t};return i.queue=c,Dr(Sr.bind(null,l,c,e),[e]),l.flags|=2048,oa(9,{destroy:void 0},br.bind(null,l,c,n,t),null),n},useId:function(){var e=wt(),t=Qe.identifierPrefix;if(Ae){var n=an,l=ln;n=(l&~(1<<32-Et(l)-1)).toString(32)+n,t="_"+t+"R_"+n,n=hc++,0<n&&(t+="H"+n.toString(32)),t+="_"}else n=w4++,t="_"+t+"r_"+n.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:ju,useFormState:Ar,useActionState:Ar,useOptimistic:function(e){var t=wt();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Eu.bind(null,Se,!0,n),n.dispatch=t,[e,t]},useMemoCache:hu,useCacheRefresh:function(){return wt().memoizedState=C4.bind(null,Se)},useEffectEvent:function(e){var t=wt(),n={impl:e};return t.memoizedState=n,function(){if((Ue&2)!==0)throw Error(r(440));return n.impl.apply(void 0,arguments)}}},wu={readContext:yt,use:pc,useCallback:qr,useContext:yt,useEffect:vu,useImperativeHandle:Br,useInsertionEffect:Hr,useLayoutEffect:kr,useMemo:Gr,useReducer:yc,useRef:Or,useState:function(){return yc(jn)},useDebugValue:bu,useDeferredValue:function(e,t){var n=nt();return Vr(n,Ge.memoizedState,e,t)},useTransition:function(){var e=yc(jn)[0],t=nt().memoizedState;return[typeof e=="boolean"?e:Pa(e),t]},useSyncExternalStore:gr,useId:Zr,useHostTransitionStatus:ju,useFormState:Cr,useActionState:Cr,useOptimistic:function(e,t){var n=nt();return Er(n,Ge,e,t)},useMemoCache:hu,useCacheRefresh:Kr};wu.useEffectEvent=Lr;var Ir={readContext:yt,use:pc,useCallback:qr,useContext:yt,useEffect:vu,useImperativeHandle:Br,useInsertionEffect:Hr,useLayoutEffect:kr,useMemo:Gr,useReducer:pu,useRef:Or,useState:function(){return pu(jn)},useDebugValue:bu,useDeferredValue:function(e,t){var n=nt();return Ge===null?Su(n,e,t):Vr(n,Ge.memoizedState,e,t)},useTransition:function(){var e=pu(jn)[0],t=nt().memoizedState;return[typeof e=="boolean"?e:Pa(e),t]},useSyncExternalStore:gr,useId:Zr,useHostTransitionStatus:ju,useFormState:Rr,useActionState:Rr,useOptimistic:function(e,t){var n=nt();return Ge!==null?Er(n,Ge,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:hu,useCacheRefresh:Kr};Ir.useEffectEvent=Lr;function Nu(e,t,n,l){t=e.memoizedState,n=n(l,t),n=n==null?t:D({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var zu={enqueueSetState:function(e,t,n){e=e._reactInternals;var l=Ut(),i=Yn(l);i.payload=t,n!=null&&(i.callback=n),t=Xn(e,i,l),t!==null&&(_t(t,e,l),Ja(t,e,l))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var l=Ut(),i=Yn(l);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Xn(e,i,l),t!==null&&(_t(t,e,l),Ja(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ut(),l=Yn(n);l.tag=2,t!=null&&(l.callback=t),t=Xn(e,l,n),t!==null&&(_t(t,e,n),Ja(t,e,n))}};function Pr(e,t,n,l,i,c,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(l,c,o):t.prototype&&t.prototype.isPureReactComponent?!Ga(n,l)||!Ga(i,c):!0}function e0(e,t,n,l){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,l),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,l),t.state!==e&&zu.enqueueReplaceState(t,t.state,null)}function Cl(e,t){var n=t;if("ref"in t){n={};for(var l in t)l!=="ref"&&(n[l]=t[l])}if(e=e.defaultProps){n===t&&(n=D({},n));for(var i in e)n[i]===void 0&&(n[i]=e[i])}return n}function t0(e){Wi(e)}function n0(e){console.error(e)}function l0(e){Wi(e)}function Sc(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(l){setTimeout(function(){throw l})}}function a0(e,t,n){try{var l=e.onCaughtError;l(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(i){setTimeout(function(){throw i})}}function Tu(e,t,n){return n=Yn(n),n.tag=3,n.payload={element:null},n.callback=function(){Sc(e,t)},n}function i0(e){return e=Yn(e),e.tag=3,e}function c0(e,t,n,l){var i=n.type.getDerivedStateFromError;if(typeof i=="function"){var c=l.value;e.payload=function(){return i(c)},e.callback=function(){a0(t,n,l)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch=="function"&&(e.callback=function(){a0(t,n,l),typeof i!="function"&&(Fn===null?Fn=new Set([this]):Fn.add(this));var d=l.stack;this.componentDidCatch(l.value,{componentStack:d!==null?d:""})})}function R4(e,t,n,l,i){if(n.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(t=n.alternate,t!==null&&ta(t,n,i,!0),n=Dt.current,n!==null){switch(n.tag){case 31:case 13:return Zt===null?Rc():n.alternate===null&&Pe===0&&(Pe=3),n.flags&=-257,n.flags|=65536,n.lanes=i,l===sc?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([l]):t.add(l),Iu(e,l,i)),!1;case 22:return n.flags|=65536,l===sc?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([l])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([l]):n.add(l)),Iu(e,l,i)),!1}throw Error(r(435,n.tag))}return Iu(e,l,i),Rc(),!1}if(Ae)return t=Dt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=i,l!==Zs&&(e=Error(r(422),{cause:l}),Xa(Vt(e,n)))):(l!==Zs&&(t=Error(r(423),{cause:l}),Xa(Vt(t,n))),e=e.current.alternate,e.flags|=65536,i&=-i,e.lanes|=i,l=Vt(l,n),i=Tu(e.stateNode,l,i),lu(e,i),Pe!==4&&(Pe=2)),!1;var c=Error(r(520),{cause:l});if(c=Vt(c,n),oi===null?oi=[c]:oi.push(c),Pe!==4&&(Pe=2),t===null)return!0;l=Vt(l,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=i&-i,n.lanes|=e,e=Tu(n.stateNode,l,e),lu(n,e),!1;case 1:if(t=n.type,c=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||c!==null&&typeof c.componentDidCatch=="function"&&(Fn===null||!Fn.has(c))))return n.flags|=65536,i&=-i,n.lanes|=i,i=i0(i),c0(i,e,n,l),lu(n,i),!1}n=n.return}while(n!==null);return!1}var Mu=Error(r(461)),ct=!1;function gt(e,t,n,l){t.child=e===null?rr(t,null,n,l):Ml(t,e.child,n,l)}function s0(e,t,n,l,i){n=n.render;var c=t.ref;if("ref"in l){var o={};for(var d in l)d!=="ref"&&(o[d]=l[d])}else o=l;return wl(t),l=ou(e,t,n,o,c,i),d=ru(),e!==null&&!ct?(fu(e,t,i),En(e,t,i)):(Ae&&d&&Xs(t),t.flags|=1,gt(e,t,l,i),t.child)}function u0(e,t,n,l,i){if(e===null){var c=n.type;return typeof c=="function"&&!Gs(c)&&c.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=c,o0(e,t,c,l,i)):(e=tc(n.type,null,l,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(c=e.child,!Hu(e,i)){var o=c.memoizedProps;if(n=n.compare,n=n!==null?n:Ga,n(o,l)&&e.ref===t.ref)return En(e,t,i)}return t.flags|=1,e=gn(c,l),e.ref=t.ref,e.return=t,t.child=e}function o0(e,t,n,l,i){if(e!==null){var c=e.memoizedProps;if(Ga(c,l)&&e.ref===t.ref)if(ct=!1,t.pendingProps=l=c,Hu(e,i))(e.flags&131072)!==0&&(ct=!0);else return t.lanes=e.lanes,En(e,t,i)}return Au(e,t,n,l,i)}function r0(e,t,n,l){var i=l.children,c=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.mode==="hidden"){if((t.flags&128)!==0){if(c=c!==null?c.baseLanes|n:n,e!==null){for(l=t.child=e.child,i=0;l!==null;)i=i|l.lanes|l.childLanes,l=l.sibling;l=i&~c}else l=0,t.child=null;return f0(e,t,c,n,l)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&ic(t,c!==null?c.cachePool:null),c!==null?hr(t,c):iu(),mr(t);else return l=t.lanes=536870912,f0(e,t,c!==null?c.baseLanes|n:n,n,l)}else c!==null?(ic(t,c.cachePool),hr(t,c),Zn(),t.memoizedState=null):(e!==null&&ic(t,null),iu(),Zn());return gt(e,t,i,n),t.child}function ni(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function f0(e,t,n,l,i){var c=Ps();return c=c===null?null:{parent:at._currentValue,pool:c},t.memoizedState={baseLanes:n,cachePool:c},e!==null&&ic(t,null),iu(),mr(t),e!==null&&ta(e,t,l,!0),t.childLanes=i,null}function xc(e,t){return t=Ec({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function d0(e,t,n){return Ml(t,e.child,null,n),e=xc(t,t.pendingProps),e.flags|=2,Lt(t),t.memoizedState=null,e}function O4(e,t,n){var l=t.pendingProps,i=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(Ae){if(l.mode==="hidden")return e=xc(t,l),t.lanes=536870912,ni(null,e);if(su(t),(e=Ke)?(e=Nf(e,Qt),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Un!==null?{id:ln,overflow:an}:null,retryLane:536870912,hydrationErrors:null},n=J1(e),n.return=t,t.child=n,pt=t,Ke=null)):e=null,e===null)throw qn(t);return t.lanes=536870912,null}return xc(t,l)}var c=e.memoizedState;if(c!==null){var o=c.dehydrated;if(su(t),i)if(t.flags&256)t.flags&=-257,t=d0(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(r(558));else if(ct||ta(e,t,n,!1),i=(n&e.childLanes)!==0,ct||i){if(l=Qe,l!==null&&(o=Aa(l,n),o!==0&&o!==c.retryLane))throw c.retryLane=o,Sl(e,o),_t(l,e,o),Mu;Rc(),t=d0(e,t,n)}else e=c.treeContext,Ke=Kt(o.nextSibling),pt=t,Ae=!0,Bn=null,Qt=!1,e!==null&&I1(t,e),t=xc(t,l),t.flags|=4096;return t}return e=gn(e.child,{mode:l.mode,children:l.children}),e.ref=t.ref,t.child=e,e.return=t,e}function jc(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error(r(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function Au(e,t,n,l,i){return wl(t),n=ou(e,t,n,l,void 0,i),l=ru(),e!==null&&!ct?(fu(e,t,i),En(e,t,i)):(Ae&&l&&Xs(t),t.flags|=1,gt(e,t,n,i),t.child)}function h0(e,t,n,l,i,c){return wl(t),t.updateQueue=null,n=yr(t,l,n,i),pr(e),l=ru(),e!==null&&!ct?(fu(e,t,c),En(e,t,c)):(Ae&&l&&Xs(t),t.flags|=1,gt(e,t,n,c),t.child)}function m0(e,t,n,l,i){if(wl(t),t.stateNode===null){var c=Wl,o=n.contextType;typeof o=="object"&&o!==null&&(c=yt(o)),c=new n(l,c),t.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=zu,t.stateNode=c,c._reactInternals=t,c=t.stateNode,c.props=l,c.state=t.memoizedState,c.refs={},tu(t),o=n.contextType,c.context=typeof o=="object"&&o!==null?yt(o):Wl,c.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o=="function"&&(Nu(t,n,o,l),c.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(o=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),o!==c.state&&zu.enqueueReplaceState(c,c.state,null),Wa(t,l,c,i),Fa(),c.state=t.memoizedState),typeof c.componentDidMount=="function"&&(t.flags|=4194308),l=!0}else if(e===null){c=t.stateNode;var d=t.memoizedProps,p=Cl(n,d);c.props=p;var E=c.context,_=n.contextType;o=Wl,typeof _=="object"&&_!==null&&(o=yt(_));var L=n.getDerivedStateFromProps;_=typeof L=="function"||typeof c.getSnapshotBeforeUpdate=="function",d=t.pendingProps!==d,_||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(d||E!==o)&&e0(t,c,l,o),Vn=!1;var w=t.memoizedState;c.state=w,Wa(t,l,c,i),Fa(),E=t.memoizedState,d||w!==E||Vn?(typeof L=="function"&&(Nu(t,n,L,l),E=t.memoizedState),(p=Vn||Pr(t,n,p,l,w,E,o))?(_||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount()),typeof c.componentDidMount=="function"&&(t.flags|=4194308)):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=l,t.memoizedState=E),c.props=l,c.state=E,c.context=o,l=p):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),l=!1)}else{c=t.stateNode,nu(e,t),o=t.memoizedProps,_=Cl(n,o),c.props=_,L=t.pendingProps,w=c.context,E=n.contextType,p=Wl,typeof E=="object"&&E!==null&&(p=yt(E)),d=n.getDerivedStateFromProps,(E=typeof d=="function"||typeof c.getSnapshotBeforeUpdate=="function")||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(o!==L||w!==p)&&e0(t,c,l,p),Vn=!1,w=t.memoizedState,c.state=w,Wa(t,l,c,i),Fa();var A=t.memoizedState;o!==L||w!==A||Vn||e!==null&&e.dependencies!==null&&lc(e.dependencies)?(typeof d=="function"&&(Nu(t,n,d,l),A=t.memoizedState),(_=Vn||Pr(t,n,_,l,w,A,p)||e!==null&&e.dependencies!==null&&lc(e.dependencies))?(E||typeof c.UNSAFE_componentWillUpdate!="function"&&typeof c.componentWillUpdate!="function"||(typeof c.componentWillUpdate=="function"&&c.componentWillUpdate(l,A,p),typeof c.UNSAFE_componentWillUpdate=="function"&&c.UNSAFE_componentWillUpdate(l,A,p)),typeof c.componentDidUpdate=="function"&&(t.flags|=4),typeof c.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof c.componentDidUpdate!="function"||o===e.memoizedProps&&w===e.memoizedState||(t.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&w===e.memoizedState||(t.flags|=1024),t.memoizedProps=l,t.memoizedState=A),c.props=l,c.state=A,c.context=p,l=_):(typeof c.componentDidUpdate!="function"||o===e.memoizedProps&&w===e.memoizedState||(t.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&w===e.memoizedState||(t.flags|=1024),l=!1)}return c=l,jc(e,t),l=(t.flags&128)!==0,c||l?(c=t.stateNode,n=l&&typeof n.getDerivedStateFromError!="function"?null:c.render(),t.flags|=1,e!==null&&l?(t.child=Ml(t,e.child,null,i),t.child=Ml(t,null,n,i)):gt(e,t,n,i),t.memoizedState=c.state,e=t.child):e=En(e,t,i),e}function p0(e,t,n,l){return jl(),t.flags|=256,gt(e,t,n,l),t.child}var Cu={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function _u(e){return{baseLanes:e,cachePool:ar()}}function Ru(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=kt),e}function y0(e,t,n){var l=t.pendingProps,i=!1,c=(t.flags&128)!==0,o;if((o=c)||(o=e!==null&&e.memoizedState===null?!1:(tt.current&2)!==0),o&&(i=!0,t.flags&=-129),o=(t.flags&32)!==0,t.flags&=-33,e===null){if(Ae){if(i?Qn(t):Zn(),(e=Ke)?(e=Nf(e,Qt),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Un!==null?{id:ln,overflow:an}:null,retryLane:536870912,hydrationErrors:null},n=J1(e),n.return=t,t.child=n,pt=t,Ke=null)):e=null,e===null)throw qn(t);return po(e)?t.lanes=32:t.lanes=536870912,null}var d=l.children;return l=l.fallback,i?(Zn(),i=t.mode,d=Ec({mode:"hidden",children:d},i),l=xl(l,i,n,null),d.return=t,l.return=t,d.sibling=l,t.child=d,l=t.child,l.memoizedState=_u(n),l.childLanes=Ru(e,o,n),t.memoizedState=Cu,ni(null,l)):(Qn(t),Ou(t,d))}var p=e.memoizedState;if(p!==null&&(d=p.dehydrated,d!==null)){if(c)t.flags&256?(Qn(t),t.flags&=-257,t=Du(e,t,n)):t.memoizedState!==null?(Zn(),t.child=e.child,t.flags|=128,t=null):(Zn(),d=l.fallback,i=t.mode,l=Ec({mode:"visible",children:l.children},i),d=xl(d,i,n,null),d.flags|=2,l.return=t,d.return=t,l.sibling=d,t.child=l,Ml(t,e.child,null,n),l=t.child,l.memoizedState=_u(n),l.childLanes=Ru(e,o,n),t.memoizedState=Cu,t=ni(null,l));else if(Qn(t),po(d)){if(o=d.nextSibling&&d.nextSibling.dataset,o)var E=o.dgst;o=E,l=Error(r(419)),l.stack="",l.digest=o,Xa({value:l,source:null,stack:null}),t=Du(e,t,n)}else if(ct||ta(e,t,n,!1),o=(n&e.childLanes)!==0,ct||o){if(o=Qe,o!==null&&(l=Aa(o,n),l!==0&&l!==p.retryLane))throw p.retryLane=l,Sl(e,l),_t(o,e,l),Mu;mo(d)||Rc(),t=Du(e,t,n)}else mo(d)?(t.flags|=192,t.child=e.child,t=null):(e=p.treeContext,Ke=Kt(d.nextSibling),pt=t,Ae=!0,Bn=null,Qt=!1,e!==null&&I1(t,e),t=Ou(t,l.children),t.flags|=4096);return t}return i?(Zn(),d=l.fallback,i=t.mode,p=e.child,E=p.sibling,l=gn(p,{mode:"hidden",children:l.children}),l.subtreeFlags=p.subtreeFlags&65011712,E!==null?d=gn(E,d):(d=xl(d,i,n,null),d.flags|=2),d.return=t,l.return=t,l.sibling=d,t.child=l,ni(null,l),l=t.child,d=e.child.memoizedState,d===null?d=_u(n):(i=d.cachePool,i!==null?(p=at._currentValue,i=i.parent!==p?{parent:p,pool:p}:i):i=ar(),d={baseLanes:d.baseLanes|n,cachePool:i}),l.memoizedState=d,l.childLanes=Ru(e,o,n),t.memoizedState=Cu,ni(e.child,l)):(Qn(t),n=e.child,e=n.sibling,n=gn(n,{mode:"visible",children:l.children}),n.return=t,n.sibling=null,e!==null&&(o=t.deletions,o===null?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=n,t.memoizedState=null,n)}function Ou(e,t){return t=Ec({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Ec(e,t){return e=Ot(22,e,null,t),e.lanes=0,e}function Du(e,t,n){return Ml(t,e.child,null,n),e=Ou(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function g0(e,t,n){e.lanes|=t;var l=e.alternate;l!==null&&(l.lanes|=t),Js(e.return,t,n)}function Lu(e,t,n,l,i,c){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:l,tail:n,tailMode:i,treeForkCount:c}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=l,o.tail=n,o.tailMode=i,o.treeForkCount=c)}function v0(e,t,n){var l=t.pendingProps,i=l.revealOrder,c=l.tail;l=l.children;var o=tt.current,d=(o&2)!==0;if(d?(o=o&1|2,t.flags|=128):o&=1,Q(tt,o),gt(e,t,l,n),l=Ae?Ya:0,!d&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&g0(e,n,t);else if(e.tag===19)g0(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&fc(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Lu(t,!1,i,n,c,l);break;case"backwards":case"unstable_legacy-backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&fc(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Lu(t,!0,n,null,c,l);break;case"together":Lu(t,!1,null,null,void 0,l);break;default:t.memoizedState=null}return t.child}function En(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Jn|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(ta(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(r(153));if(t.child!==null){for(e=t.child,n=gn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=gn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Hu(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&lc(e)))}function D4(e,t,n){switch(t.tag){case 3:Y(t,t.stateNode.containerInfo),Gn(t,at,e.memoizedState.cache),jl();break;case 27:case 5:ce(t);break;case 4:Y(t,t.stateNode.containerInfo);break;case 10:Gn(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,su(t),null;break;case 13:var l=t.memoizedState;if(l!==null)return l.dehydrated!==null?(Qn(t),t.flags|=128,null):(n&t.child.childLanes)!==0?y0(e,t,n):(Qn(t),e=En(e,t,n),e!==null?e.sibling:null);Qn(t);break;case 19:var i=(e.flags&128)!==0;if(l=(n&t.childLanes)!==0,l||(ta(e,t,n,!1),l=(n&t.childLanes)!==0),i){if(l)return v0(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Q(tt,tt.current),l)break;return null;case 22:return t.lanes=0,r0(e,t,n,t.pendingProps);case 24:Gn(t,at,e.memoizedState.cache)}return En(e,t,n)}function b0(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)ct=!0;else{if(!Hu(e,n)&&(t.flags&128)===0)return ct=!1,D4(e,t,n);ct=(e.flags&131072)!==0}else ct=!1,Ae&&(t.flags&1048576)!==0&&W1(t,Ya,t.index);switch(t.lanes=0,t.tag){case 16:e:{var l=t.pendingProps;if(e=zl(t.elementType),t.type=e,typeof e=="function")Gs(e)?(l=Cl(e,l),t.tag=1,t=m0(null,t,e,l,n)):(t.tag=0,t=Au(null,t,e,l,n));else{if(e!=null){var i=e.$$typeof;if(i===K){t.tag=11,t=s0(null,t,e,l,n);break e}else if(i===W){t.tag=14,t=u0(null,t,e,l,n);break e}}throw t=ae(e)||e,Error(r(306,t,""))}}return t;case 0:return Au(e,t,t.type,t.pendingProps,n);case 1:return l=t.type,i=Cl(l,t.pendingProps),m0(e,t,l,i,n);case 3:e:{if(Y(t,t.stateNode.containerInfo),e===null)throw Error(r(387));l=t.pendingProps;var c=t.memoizedState;i=c.element,nu(e,t),Wa(t,l,null,n);var o=t.memoizedState;if(l=o.cache,Gn(t,at,l),l!==c.cache&&Fs(t,[at],n,!0),Fa(),l=o.element,c.isDehydrated)if(c={element:l,isDehydrated:!1,cache:o.cache},t.updateQueue.baseState=c,t.memoizedState=c,t.flags&256){t=p0(e,t,l,n);break e}else if(l!==i){i=Vt(Error(r(424)),t),Xa(i),t=p0(e,t,l,n);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(Ke=Kt(e.firstChild),pt=t,Ae=!0,Bn=null,Qt=!0,n=rr(t,null,l,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(jl(),l===i){t=En(e,t,n);break e}gt(e,t,l,n)}t=t.child}return t;case 26:return jc(e,t),e===null?(n=_f(t.type,null,t.pendingProps,null))?t.memoizedState=n:Ae||(n=t.type,e=t.pendingProps,l=Bc(V.current).createElement(n),l[ft]=t,l[bt]=e,vt(l,n,e),Ze(l),t.stateNode=l):t.memoizedState=_f(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return ce(t),e===null&&Ae&&(l=t.stateNode=Mf(t.type,t.pendingProps,V.current),pt=t,Qt=!0,i=Ke,el(t.type)?(yo=i,Ke=Kt(l.firstChild)):Ke=i),gt(e,t,t.pendingProps.children,n),jc(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Ae&&((i=l=Ke)&&(l=r3(l,t.type,t.pendingProps,Qt),l!==null?(t.stateNode=l,pt=t,Ke=Kt(l.firstChild),Qt=!1,i=!0):i=!1),i||qn(t)),ce(t),i=t.type,c=t.pendingProps,o=e!==null?e.memoizedProps:null,l=c.children,ro(i,c)?l=null:o!==null&&ro(i,o)&&(t.flags|=32),t.memoizedState!==null&&(i=ou(e,t,N4,null,null,n),gi._currentValue=i),jc(e,t),gt(e,t,l,n),t.child;case 6:return e===null&&Ae&&((e=n=Ke)&&(n=f3(n,t.pendingProps,Qt),n!==null?(t.stateNode=n,pt=t,Ke=null,e=!0):e=!1),e||qn(t)),null;case 13:return y0(e,t,n);case 4:return Y(t,t.stateNode.containerInfo),l=t.pendingProps,e===null?t.child=Ml(t,null,l,n):gt(e,t,l,n),t.child;case 11:return s0(e,t,t.type,t.pendingProps,n);case 7:return gt(e,t,t.pendingProps,n),t.child;case 8:return gt(e,t,t.pendingProps.children,n),t.child;case 12:return gt(e,t,t.pendingProps.children,n),t.child;case 10:return l=t.pendingProps,Gn(t,t.type,l.value),gt(e,t,l.children,n),t.child;case 9:return i=t.type._context,l=t.pendingProps.children,wl(t),i=yt(i),l=l(i),t.flags|=1,gt(e,t,l,n),t.child;case 14:return u0(e,t,t.type,t.pendingProps,n);case 15:return o0(e,t,t.type,t.pendingProps,n);case 19:return v0(e,t,n);case 31:return O4(e,t,n);case 22:return r0(e,t,n,t.pendingProps);case 24:return wl(t),l=yt(at),e===null?(i=Ps(),i===null&&(i=Qe,c=Ws(),i.pooledCache=c,c.refCount++,c!==null&&(i.pooledCacheLanes|=n),i=c),t.memoizedState={parent:l,cache:i},tu(t),Gn(t,at,i)):((e.lanes&n)!==0&&(nu(e,t),Wa(t,null,null,n),Fa()),i=e.memoizedState,c=t.memoizedState,i.parent!==l?(i={parent:l,cache:l},t.memoizedState=i,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=i),Gn(t,at,l)):(l=c.cache,Gn(t,at,l),l!==i.cache&&Fs(t,[at],n,!0))),gt(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(r(156,t.tag))}function wn(e){e.flags|=4}function ku(e,t,n,l,i){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(i&335544128)===i)if(e.stateNode.complete)e.flags|=8192;else if(Z0())e.flags|=8192;else throw Tl=sc,eu}else e.flags&=-16777217}function S0(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Hf(t))if(Z0())e.flags|=8192;else throw Tl=sc,eu}function wc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Ri():536870912,e.lanes|=t,ha|=t)}function li(e,t){if(!Ae)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var l=null;n!==null;)n.alternate!==null&&(l=n),n=n.sibling;l===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:l.sibling=null}}function $e(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,l=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,l|=i.subtreeFlags&65011712,l|=i.flags&65011712,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,l|=i.subtreeFlags,l|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=l,e.childLanes=n,t}function L4(e,t,n){var l=t.pendingProps;switch(Qs(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return $e(t),null;case 1:return $e(t),null;case 3:return n=t.stateNode,l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),Sn(at),F(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(ea(t)?wn(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Ks())),$e(t),null;case 26:var i=t.type,c=t.memoizedState;return e===null?(wn(t),c!==null?($e(t),S0(t,c)):($e(t),ku(t,i,null,l,n))):c?c!==e.memoizedState?(wn(t),$e(t),S0(t,c)):($e(t),t.flags&=-16777217):(e=e.memoizedProps,e!==l&&wn(t),$e(t),ku(t,i,e,l,n)),null;case 27:if(pe(t),n=V.current,i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==l&&wn(t);else{if(!l){if(t.stateNode===null)throw Error(r(166));return $e(t),null}e=J.current,ea(t)?P1(t):(e=Mf(i,l,n),t.stateNode=e,wn(t))}return $e(t),null;case 5:if(pe(t),i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==l&&wn(t);else{if(!l){if(t.stateNode===null)throw Error(r(166));return $e(t),null}if(c=J.current,ea(t))P1(t);else{var o=Bc(V.current);switch(c){case 1:c=o.createElementNS("http://www.w3.org/2000/svg",i);break;case 2:c=o.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;default:switch(i){case"svg":c=o.createElementNS("http://www.w3.org/2000/svg",i);break;case"math":c=o.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;case"script":c=o.createElement("div"),c.innerHTML="<script><\/script>",c=c.removeChild(c.firstChild);break;case"select":c=typeof l.is=="string"?o.createElement("select",{is:l.is}):o.createElement("select"),l.multiple?c.multiple=!0:l.size&&(c.size=l.size);break;default:c=typeof l.is=="string"?o.createElement(i,{is:l.is}):o.createElement(i)}}c[ft]=t,c[bt]=l;e:for(o=t.child;o!==null;){if(o.tag===5||o.tag===6)c.appendChild(o.stateNode);else if(o.tag!==4&&o.tag!==27&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===t)break e;for(;o.sibling===null;){if(o.return===null||o.return===t)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}t.stateNode=c;e:switch(vt(c,i,l),i){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break e;case"img":l=!0;break e;default:l=!1}l&&wn(t)}}return $e(t),ku(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==l&&wn(t);else{if(typeof l!="string"&&t.stateNode===null)throw Error(r(166));if(e=V.current,ea(t)){if(e=t.stateNode,n=t.memoizedProps,l=null,i=pt,i!==null)switch(i.tag){case 27:case 5:l=i.memoizedProps}e[ft]=t,e=!!(e.nodeValue===n||l!==null&&l.suppressHydrationWarning===!0||gf(e.nodeValue,n)),e||qn(t,!0)}else e=Bc(e).createTextNode(l),e[ft]=t,t.stateNode=e}return $e(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(l=ea(t),n!==null){if(e===null){if(!l)throw Error(r(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(557));e[ft]=t}else jl(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;$e(t),e=!1}else n=Ks(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(Lt(t),t):(Lt(t),null);if((t.flags&128)!==0)throw Error(r(558))}return $e(t),null;case 13:if(l=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(i=ea(t),l!==null&&l.dehydrated!==null){if(e===null){if(!i)throw Error(r(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(r(317));i[ft]=t}else jl(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;$e(t),i=!1}else i=Ks(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),i=!0;if(!i)return t.flags&256?(Lt(t),t):(Lt(t),null)}return Lt(t),(t.flags&128)!==0?(t.lanes=n,t):(n=l!==null,e=e!==null&&e.memoizedState!==null,n&&(l=t.child,i=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(i=l.alternate.memoizedState.cachePool.pool),c=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(c=l.memoizedState.cachePool.pool),c!==i&&(l.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),wc(t,t.updateQueue),$e(t),null);case 4:return F(),e===null&&io(t.stateNode.containerInfo),$e(t),null;case 10:return Sn(t.type),$e(t),null;case 19:if(R(tt),l=t.memoizedState,l===null)return $e(t),null;if(i=(t.flags&128)!==0,c=l.rendering,c===null)if(i)li(l,!1);else{if(Pe!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(c=fc(e),c!==null){for(t.flags|=128,li(l,!1),e=c.updateQueue,t.updateQueue=e,wc(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)$1(n,e),n=n.sibling;return Q(tt,tt.current&1|2),Ae&&vn(t,l.treeForkCount),t.child}e=e.sibling}l.tail!==null&&mt()>Ac&&(t.flags|=128,i=!0,li(l,!1),t.lanes=4194304)}else{if(!i)if(e=fc(c),e!==null){if(t.flags|=128,i=!0,e=e.updateQueue,t.updateQueue=e,wc(t,e),li(l,!0),l.tail===null&&l.tailMode==="hidden"&&!c.alternate&&!Ae)return $e(t),null}else 2*mt()-l.renderingStartTime>Ac&&n!==536870912&&(t.flags|=128,i=!0,li(l,!1),t.lanes=4194304);l.isBackwards?(c.sibling=t.child,t.child=c):(e=l.last,e!==null?e.sibling=c:t.child=c,l.last=c)}return l.tail!==null?(e=l.tail,l.rendering=e,l.tail=e.sibling,l.renderingStartTime=mt(),e.sibling=null,n=tt.current,Q(tt,i?n&1|2:n&1),Ae&&vn(t,l.treeForkCount),e):($e(t),null);case 22:case 23:return Lt(t),cu(),l=t.memoizedState!==null,e!==null?e.memoizedState!==null!==l&&(t.flags|=8192):l&&(t.flags|=8192),l?(n&536870912)!==0&&(t.flags&128)===0&&($e(t),t.subtreeFlags&6&&(t.flags|=8192)):$e(t),n=t.updateQueue,n!==null&&wc(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),l=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),l!==n&&(t.flags|=2048),e!==null&&R(Nl),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Sn(at),$e(t),null;case 25:return null;case 30:return null}throw Error(r(156,t.tag))}function H4(e,t){switch(Qs(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Sn(at),F(),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(Lt(t),t.alternate===null)throw Error(r(340));jl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Lt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(r(340));jl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return R(tt),null;case 4:return F(),null;case 10:return Sn(t.type),null;case 22:case 23:return Lt(t),cu(),e!==null&&R(Nl),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Sn(at),null;case 25:return null;default:return null}}function x0(e,t){switch(Qs(t),t.tag){case 3:Sn(at),F();break;case 26:case 27:case 5:pe(t);break;case 4:F();break;case 31:t.memoizedState!==null&&Lt(t);break;case 13:Lt(t);break;case 19:R(tt);break;case 10:Sn(t.type);break;case 22:case 23:Lt(t),cu(),e!==null&&R(Nl);break;case 24:Sn(at)}}function ai(e,t){try{var n=t.updateQueue,l=n!==null?n.lastEffect:null;if(l!==null){var i=l.next;n=i;do{if((n.tag&e)===e){l=void 0;var c=n.create,o=n.inst;l=c(),o.destroy=l}n=n.next}while(n!==i)}}catch(d){qe(t,t.return,d)}}function Kn(e,t,n){try{var l=t.updateQueue,i=l!==null?l.lastEffect:null;if(i!==null){var c=i.next;l=c;do{if((l.tag&e)===e){var o=l.inst,d=o.destroy;if(d!==void 0){o.destroy=void 0,i=t;var p=n,E=d;try{E()}catch(_){qe(i,p,_)}}}l=l.next}while(l!==c)}}catch(_){qe(t,t.return,_)}}function j0(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{dr(t,n)}catch(l){qe(e,e.return,l)}}}function E0(e,t,n){n.props=Cl(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(l){qe(e,t,l)}}function ii(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var l=e.stateNode;break;case 30:l=e.stateNode;break;default:l=e.stateNode}typeof n=="function"?e.refCleanup=n(l):n.current=l}}catch(i){qe(e,t,i)}}function cn(e,t){var n=e.ref,l=e.refCleanup;if(n!==null)if(typeof l=="function")try{l()}catch(i){qe(e,t,i)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(i){qe(e,t,i)}else n.current=null}function w0(e){var t=e.type,n=e.memoizedProps,l=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&l.focus();break e;case"img":n.src?l.src=n.src:n.srcSet&&(l.srcset=n.srcSet)}}catch(i){qe(e,e.return,i)}}function Uu(e,t,n){try{var l=e.stateNode;a3(l,e.type,n,t),l[bt]=t}catch(i){qe(e,e.return,i)}}function N0(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&el(e.type)||e.tag===4}function Bu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||N0(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&&el(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 qu(e,t,n){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=pn));else if(l!==4&&(l===27&&el(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(qu(e,t,n),e=e.sibling;e!==null;)qu(e,t,n),e=e.sibling}function Nc(e,t,n){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(l!==4&&(l===27&&el(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(Nc(e,t,n),e=e.sibling;e!==null;)Nc(e,t,n),e=e.sibling}function z0(e){var t=e.stateNode,n=e.memoizedProps;try{for(var l=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);vt(t,l,n),t[ft]=e,t[bt]=n}catch(c){qe(e,e.return,c)}}var Nn=!1,st=!1,Gu=!1,T0=typeof WeakSet=="function"?WeakSet:Set,ht=null;function k4(e,t){if(e=e.containerInfo,uo=Zc,e=B1(e),Ds(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var l=n.getSelection&&n.getSelection();if(l&&l.rangeCount!==0){n=l.anchorNode;var i=l.anchorOffset,c=l.focusNode;l=l.focusOffset;try{n.nodeType,c.nodeType}catch{n=null;break e}var o=0,d=-1,p=-1,E=0,_=0,L=e,w=null;t:for(;;){for(var A;L!==n||i!==0&&L.nodeType!==3||(d=o+i),L!==c||l!==0&&L.nodeType!==3||(p=o+l),L.nodeType===3&&(o+=L.nodeValue.length),(A=L.firstChild)!==null;)w=L,L=A;for(;;){if(L===e)break t;if(w===n&&++E===i&&(d=o),w===c&&++_===l&&(p=o),(A=L.nextSibling)!==null)break;L=w,w=L.parentNode}L=A}n=d===-1||p===-1?null:{start:d,end:p}}else n=null}n=n||{start:0,end:0}}else n=null;for(oo={focusedElem:e,selectionRange:n},Zc=!1,ht=t;ht!==null;)if(t=ht,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ht=e;else for(;ht!==null;){switch(t=ht,c=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(n=0;n<e.length;n++)i=e[n],i.ref.impl=i.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&c!==null){e=void 0,n=t,i=c.memoizedProps,c=c.memoizedState,l=n.stateNode;try{var ee=Cl(n.type,i);e=l.getSnapshotBeforeUpdate(ee,c),l.__reactInternalSnapshotBeforeUpdate=e}catch(de){qe(n,n.return,de)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)ho(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":ho(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(r(163))}if(e=t.sibling,e!==null){e.return=t.return,ht=e;break}ht=t.return}}function M0(e,t,n){var l=n.flags;switch(n.tag){case 0:case 11:case 15:Tn(e,n),l&4&&ai(5,n);break;case 1:if(Tn(e,n),l&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(o){qe(n,n.return,o)}else{var i=Cl(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(o){qe(n,n.return,o)}}l&64&&j0(n),l&512&&ii(n,n.return);break;case 3:if(Tn(e,n),l&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{dr(e,t)}catch(o){qe(n,n.return,o)}}break;case 27:t===null&&l&4&&z0(n);case 26:case 5:Tn(e,n),t===null&&l&4&&w0(n),l&512&&ii(n,n.return);break;case 12:Tn(e,n);break;case 31:Tn(e,n),l&4&&_0(e,n);break;case 13:Tn(e,n),l&4&&R0(e,n),l&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=Z4.bind(null,n),d3(e,n))));break;case 22:if(l=n.memoizedState!==null||Nn,!l){t=t!==null&&t.memoizedState!==null||st,i=Nn;var c=st;Nn=l,(st=t)&&!c?Mn(e,n,(n.subtreeFlags&8772)!==0):Tn(e,n),Nn=i,st=c}break;case 30:break;default:Tn(e,n)}}function A0(e){var t=e.alternate;t!==null&&(e.alternate=null,A0(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Oa(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 Je=null,Tt=!1;function zn(e,t,n){for(n=n.child;n!==null;)C0(e,t,n),n=n.sibling}function C0(e,t,n){if(jt&&typeof jt.onCommitFiberUnmount=="function")try{jt.onCommitFiberUnmount(fn,n)}catch{}switch(n.tag){case 26:st||cn(n,t),zn(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:st||cn(n,t);var l=Je,i=Tt;el(n.type)&&(Je=n.stateNode,Tt=!1),zn(e,t,n),mi(n.stateNode),Je=l,Tt=i;break;case 5:st||cn(n,t);case 6:if(l=Je,i=Tt,Je=null,zn(e,t,n),Je=l,Tt=i,Je!==null)if(Tt)try{(Je.nodeType===9?Je.body:Je.nodeName==="HTML"?Je.ownerDocument.body:Je).removeChild(n.stateNode)}catch(c){qe(n,t,c)}else try{Je.removeChild(n.stateNode)}catch(c){qe(n,t,c)}break;case 18:Je!==null&&(Tt?(e=Je,Ef(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),xa(e)):Ef(Je,n.stateNode));break;case 4:l=Je,i=Tt,Je=n.stateNode.containerInfo,Tt=!0,zn(e,t,n),Je=l,Tt=i;break;case 0:case 11:case 14:case 15:Kn(2,n,t),st||Kn(4,n,t),zn(e,t,n);break;case 1:st||(cn(n,t),l=n.stateNode,typeof l.componentWillUnmount=="function"&&E0(n,t,l)),zn(e,t,n);break;case 21:zn(e,t,n);break;case 22:st=(l=st)||n.memoizedState!==null,zn(e,t,n),st=l;break;default:zn(e,t,n)}}function _0(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{xa(e)}catch(n){qe(t,t.return,n)}}}function R0(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{xa(e)}catch(n){qe(t,t.return,n)}}function U4(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new T0),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new T0),t;default:throw Error(r(435,e.tag))}}function zc(e,t){var n=U4(e);t.forEach(function(l){if(!n.has(l)){n.add(l);var i=K4.bind(null,e,l);l.then(i,i)}})}function Mt(e,t){var n=t.deletions;if(n!==null)for(var l=0;l<n.length;l++){var i=n[l],c=e,o=t,d=o;e:for(;d!==null;){switch(d.tag){case 27:if(el(d.type)){Je=d.stateNode,Tt=!1;break e}break;case 5:Je=d.stateNode,Tt=!1;break e;case 3:case 4:Je=d.stateNode.containerInfo,Tt=!0;break e}d=d.return}if(Je===null)throw Error(r(160));C0(c,o,i),Je=null,Tt=!1,c=i.alternate,c!==null&&(c.return=null),i.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)O0(t,e),t=t.sibling}var Wt=null;function O0(e,t){var n=e.alternate,l=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Mt(t,e),At(e),l&4&&(Kn(3,e,e.return),ai(3,e),Kn(5,e,e.return));break;case 1:Mt(t,e),At(e),l&512&&(st||n===null||cn(n,n.return)),l&64&&Nn&&(e=e.updateQueue,e!==null&&(l=e.callbacks,l!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?l:n.concat(l))));break;case 26:var i=Wt;if(Mt(t,e),At(e),l&512&&(st||n===null||cn(n,n.return)),l&4){var c=n!==null?n.memoizedState:null;if(l=e.memoizedState,n===null)if(l===null)if(e.stateNode===null){e:{l=e.type,n=e.memoizedProps,i=i.ownerDocument||i;t:switch(l){case"title":c=i.getElementsByTagName("title")[0],(!c||c[pl]||c[ft]||c.namespaceURI==="http://www.w3.org/2000/svg"||c.hasAttribute("itemprop"))&&(c=i.createElement(l),i.head.insertBefore(c,i.querySelector("head > title"))),vt(c,l,n),c[ft]=e,Ze(c),l=c;break e;case"link":var o=Df("link","href",i).get(l+(n.href||""));if(o){for(var d=0;d<o.length;d++)if(c=o[d],c.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&c.getAttribute("rel")===(n.rel==null?null:n.rel)&&c.getAttribute("title")===(n.title==null?null:n.title)&&c.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){o.splice(d,1);break t}}c=i.createElement(l),vt(c,l,n),i.head.appendChild(c);break;case"meta":if(o=Df("meta","content",i).get(l+(n.content||""))){for(d=0;d<o.length;d++)if(c=o[d],c.getAttribute("content")===(n.content==null?null:""+n.content)&&c.getAttribute("name")===(n.name==null?null:n.name)&&c.getAttribute("property")===(n.property==null?null:n.property)&&c.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&c.getAttribute("charset")===(n.charSet==null?null:n.charSet)){o.splice(d,1);break t}}c=i.createElement(l),vt(c,l,n),i.head.appendChild(c);break;default:throw Error(r(468,l))}c[ft]=e,Ze(c),l=c}e.stateNode=l}else Lf(i,e.type,e.stateNode);else e.stateNode=Of(i,l,e.memoizedProps);else c!==l?(c===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):c.count--,l===null?Lf(i,e.type,e.stateNode):Of(i,l,e.memoizedProps)):l===null&&e.stateNode!==null&&Uu(e,e.memoizedProps,n.memoizedProps)}break;case 27:Mt(t,e),At(e),l&512&&(st||n===null||cn(n,n.return)),n!==null&&l&4&&Uu(e,e.memoizedProps,n.memoizedProps);break;case 5:if(Mt(t,e),At(e),l&512&&(st||n===null||cn(n,n.return)),e.flags&32){i=e.stateNode;try{Xl(i,"")}catch(ee){qe(e,e.return,ee)}}l&4&&e.stateNode!=null&&(i=e.memoizedProps,Uu(e,i,n!==null?n.memoizedProps:i)),l&1024&&(Gu=!0);break;case 6:if(Mt(t,e),At(e),l&4){if(e.stateNode===null)throw Error(r(162));l=e.memoizedProps,n=e.stateNode;try{n.nodeValue=l}catch(ee){qe(e,e.return,ee)}}break;case 3:if(Vc=null,i=Wt,Wt=qc(t.containerInfo),Mt(t,e),Wt=i,At(e),l&4&&n!==null&&n.memoizedState.isDehydrated)try{xa(t.containerInfo)}catch(ee){qe(e,e.return,ee)}Gu&&(Gu=!1,D0(e));break;case 4:l=Wt,Wt=qc(e.stateNode.containerInfo),Mt(t,e),At(e),Wt=l;break;case 12:Mt(t,e),At(e);break;case 31:Mt(t,e),At(e),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,zc(e,l)));break;case 13:Mt(t,e),At(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(Mc=mt()),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,zc(e,l)));break;case 22:i=e.memoizedState!==null;var p=n!==null&&n.memoizedState!==null,E=Nn,_=st;if(Nn=E||i,st=_||p,Mt(t,e),st=_,Nn=E,At(e),l&8192)e:for(t=e.stateNode,t._visibility=i?t._visibility&-2:t._visibility|1,i&&(n===null||p||Nn||st||_l(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){p=n=t;try{if(c=p.stateNode,i)o=c.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none";else{d=p.stateNode;var L=p.memoizedProps.style,w=L!=null&&L.hasOwnProperty("display")?L.display:null;d.style.display=w==null||typeof w=="boolean"?"":(""+w).trim()}}catch(ee){qe(p,p.return,ee)}}}else if(t.tag===6){if(n===null){p=t;try{p.stateNode.nodeValue=i?"":p.memoizedProps}catch(ee){qe(p,p.return,ee)}}}else if(t.tag===18){if(n===null){p=t;try{var A=p.stateNode;i?wf(A,!0):wf(p.stateNode,!1)}catch(ee){qe(p,p.return,ee)}}}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;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}l&4&&(l=e.updateQueue,l!==null&&(n=l.retryQueue,n!==null&&(l.retryQueue=null,zc(e,n))));break;case 19:Mt(t,e),At(e),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,zc(e,l)));break;case 30:break;case 21:break;default:Mt(t,e),At(e)}}function At(e){var t=e.flags;if(t&2){try{for(var n,l=e.return;l!==null;){if(N0(l)){n=l;break}l=l.return}if(n==null)throw Error(r(160));switch(n.tag){case 27:var i=n.stateNode,c=Bu(e);Nc(e,c,i);break;case 5:var o=n.stateNode;n.flags&32&&(Xl(o,""),n.flags&=-33);var d=Bu(e);Nc(e,d,o);break;case 3:case 4:var p=n.stateNode.containerInfo,E=Bu(e);qu(e,E,p);break;default:throw Error(r(161))}}catch(_){qe(e,e.return,_)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function D0(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;D0(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Tn(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)M0(e,t.alternate,t),t=t.sibling}function _l(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Kn(4,t,t.return),_l(t);break;case 1:cn(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount=="function"&&E0(t,t.return,n),_l(t);break;case 27:mi(t.stateNode);case 26:case 5:cn(t,t.return),_l(t);break;case 22:t.memoizedState===null&&_l(t);break;case 30:_l(t);break;default:_l(t)}e=e.sibling}}function Mn(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var l=t.alternate,i=e,c=t,o=c.flags;switch(c.tag){case 0:case 11:case 15:Mn(i,c,n),ai(4,c);break;case 1:if(Mn(i,c,n),l=c,i=l.stateNode,typeof i.componentDidMount=="function")try{i.componentDidMount()}catch(E){qe(l,l.return,E)}if(l=c,i=l.updateQueue,i!==null){var d=l.stateNode;try{var p=i.shared.hiddenCallbacks;if(p!==null)for(i.shared.hiddenCallbacks=null,i=0;i<p.length;i++)fr(p[i],d)}catch(E){qe(l,l.return,E)}}n&&o&64&&j0(c),ii(c,c.return);break;case 27:z0(c);case 26:case 5:Mn(i,c,n),n&&l===null&&o&4&&w0(c),ii(c,c.return);break;case 12:Mn(i,c,n);break;case 31:Mn(i,c,n),n&&o&4&&_0(i,c);break;case 13:Mn(i,c,n),n&&o&4&&R0(i,c);break;case 22:c.memoizedState===null&&Mn(i,c,n),ii(c,c.return);break;case 30:break;default:Mn(i,c,n)}t=t.sibling}}function Vu(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&Qa(n))}function Yu(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Qa(e))}function It(e,t,n,l){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)L0(e,t,n,l),t=t.sibling}function L0(e,t,n,l){var i=t.flags;switch(t.tag){case 0:case 11:case 15:It(e,t,n,l),i&2048&&ai(9,t);break;case 1:It(e,t,n,l);break;case 3:It(e,t,n,l),i&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Qa(e)));break;case 12:if(i&2048){It(e,t,n,l),e=t.stateNode;try{var c=t.memoizedProps,o=c.id,d=c.onPostCommit;typeof d=="function"&&d(o,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(p){qe(t,t.return,p)}}else It(e,t,n,l);break;case 31:It(e,t,n,l);break;case 13:It(e,t,n,l);break;case 23:break;case 22:c=t.stateNode,o=t.alternate,t.memoizedState!==null?c._visibility&2?It(e,t,n,l):ci(e,t):c._visibility&2?It(e,t,n,l):(c._visibility|=2,ra(e,t,n,l,(t.subtreeFlags&10256)!==0||!1)),i&2048&&Vu(o,t);break;case 24:It(e,t,n,l),i&2048&&Yu(t.alternate,t);break;default:It(e,t,n,l)}}function ra(e,t,n,l,i){for(i=i&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var c=e,o=t,d=n,p=l,E=o.flags;switch(o.tag){case 0:case 11:case 15:ra(c,o,d,p,i),ai(8,o);break;case 23:break;case 22:var _=o.stateNode;o.memoizedState!==null?_._visibility&2?ra(c,o,d,p,i):ci(c,o):(_._visibility|=2,ra(c,o,d,p,i)),i&&E&2048&&Vu(o.alternate,o);break;case 24:ra(c,o,d,p,i),i&&E&2048&&Yu(o.alternate,o);break;default:ra(c,o,d,p,i)}t=t.sibling}}function ci(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,l=t,i=l.flags;switch(l.tag){case 22:ci(n,l),i&2048&&Vu(l.alternate,l);break;case 24:ci(n,l),i&2048&&Yu(l.alternate,l);break;default:ci(n,l)}t=t.sibling}}var si=8192;function fa(e,t,n){if(e.subtreeFlags&si)for(e=e.child;e!==null;)H0(e,t,n),e=e.sibling}function H0(e,t,n){switch(e.tag){case 26:fa(e,t,n),e.flags&si&&e.memoizedState!==null&&w3(n,Wt,e.memoizedState,e.memoizedProps);break;case 5:fa(e,t,n);break;case 3:case 4:var l=Wt;Wt=qc(e.stateNode.containerInfo),fa(e,t,n),Wt=l;break;case 22:e.memoizedState===null&&(l=e.alternate,l!==null&&l.memoizedState!==null?(l=si,si=16777216,fa(e,t,n),si=l):fa(e,t,n));break;default:fa(e,t,n)}}function k0(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 ui(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var l=t[n];ht=l,B0(l,e)}k0(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)U0(e),e=e.sibling}function U0(e){switch(e.tag){case 0:case 11:case 15:ui(e),e.flags&2048&&Kn(9,e,e.return);break;case 3:ui(e);break;case 12:ui(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Tc(e)):ui(e);break;default:ui(e)}}function Tc(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var l=t[n];ht=l,B0(l,e)}k0(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Kn(8,t,t.return),Tc(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,Tc(t));break;default:Tc(t)}e=e.sibling}}function B0(e,t){for(;ht!==null;){var n=ht;switch(n.tag){case 0:case 11:case 15:Kn(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var l=n.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:Qa(n.memoizedState.cache)}if(l=n.child,l!==null)l.return=n,ht=l;else e:for(n=e;ht!==null;){l=ht;var i=l.sibling,c=l.return;if(A0(l),l===n){ht=null;break e}if(i!==null){i.return=c,ht=i;break e}ht=c}}}var B4={getCacheForType:function(e){var t=yt(at),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return yt(at).controller.signal}},q4=typeof WeakMap=="function"?WeakMap:Map,Ue=0,Qe=null,we=null,ze=0,Be=0,Ht=null,$n=!1,da=!1,Xu=!1,An=0,Pe=0,Jn=0,Rl=0,Qu=0,kt=0,ha=0,oi=null,Ct=null,Zu=!1,Mc=0,q0=0,Ac=1/0,Cc=null,Fn=null,dt=0,Wn=null,ma=null,Cn=0,Ku=0,$u=null,G0=null,ri=0,Ju=null;function Ut(){return(Ue&2)!==0&&ze!==0?ze&-ze:M.T!==null?to():Li()}function V0(){if(kt===0)if((ze&536870912)===0||Ae){var e=Gl;Gl<<=1,(Gl&3932160)===0&&(Gl=262144),kt=e}else kt=536870912;return e=Dt.current,e!==null&&(e.flags|=32),kt}function _t(e,t,n){(e===Qe&&(Be===2||Be===9)||e.cancelPendingCommit!==null)&&(pa(e,0),In(e,ze,kt,!1)),ml(e,n),((Ue&2)===0||e!==Qe)&&(e===Qe&&((Ue&2)===0&&(Rl|=n),Pe===4&&In(e,ze,kt,!1)),sn(e))}function Y0(e,t,n){if((Ue&6)!==0)throw Error(r(327));var l=!n&&(t&127)===0&&(t&e.expiredLanes)===0||Ln(e,t),i=l?Y4(e,t):Wu(e,t,!0),c=l;do{if(i===0){da&&!l&&In(e,t,0,!1);break}else{if(n=e.current.alternate,c&&!G4(n)){i=Wu(e,t,!1),c=!1;continue}if(i===2){if(c=t,e.errorRecoveryDisabledLanes&c)var o=0;else o=e.pendingLanes&-536870913,o=o!==0?o:o&536870912?536870912:0;if(o!==0){t=o;e:{var d=e;i=oi;var p=d.current.memoizedState.isDehydrated;if(p&&(pa(d,o).flags|=256),o=Wu(d,o,!1),o!==2){if(Xu&&!p){d.errorRecoveryDisabledLanes|=c,Rl|=c,i=4;break e}c=Ct,Ct=i,c!==null&&(Ct===null?Ct=c:Ct.push.apply(Ct,c))}i=o}if(c=!1,i!==2)continue}}if(i===1){pa(e,0),In(e,t,0,!0);break}e:{switch(l=e,c=i,c){case 0:case 1:throw Error(r(345));case 4:if((t&4194048)!==t)break;case 6:In(l,t,kt,!$n);break e;case 2:Ct=null;break;case 3:case 5:break;default:throw Error(r(329))}if((t&62914560)===t&&(i=Mc+300-mt(),10<i)){if(In(l,t,kt,!$n),hl(l,0,!0)!==0)break e;Cn=t,l.timeoutHandle=xf(X0.bind(null,l,n,Ct,Cc,Zu,t,kt,Rl,ha,$n,c,"Throttled",-0,0),i);break e}X0(l,n,Ct,Cc,Zu,t,kt,Rl,ha,$n,c,null,-0,0)}}break}while(!0);sn(e)}function X0(e,t,n,l,i,c,o,d,p,E,_,L,w,A){if(e.timeoutHandle=-1,L=t.subtreeFlags,L&8192||(L&16785408)===16785408){L={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:pn},H0(t,c,L);var ee=(c&62914560)===c?Mc-mt():(c&4194048)===c?q0-mt():0;if(ee=N3(L,ee),ee!==null){Cn=c,e.cancelPendingCommit=ee(I0.bind(null,e,t,c,n,l,i,o,d,p,_,L,null,w,A)),In(e,c,o,!E);return}}I0(e,t,c,n,l,i,o,d,p)}function G4(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var l=0;l<n.length;l++){var i=n[l],c=i.getSnapshot;i=i.value;try{if(!Rt(c(),i))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function In(e,t,n,l){t&=~Qu,t&=~Rl,e.suspendedLanes|=t,e.pingedLanes&=~t,l&&(e.warmLanes|=t),l=e.expirationTimes;for(var i=t;0<i;){var c=31-Et(i),o=1<<c;l[c]=-1,i&=~o}n!==0&&Oi(e,n,t)}function _c(){return(Ue&6)===0?(fi(0),!1):!0}function Fu(){if(we!==null){if(Be===0)var e=we.return;else e=we,bn=El=null,du(e),ia=null,Ka=0,e=we;for(;e!==null;)x0(e.alternate,e),e=e.return;we=null}}function pa(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,s3(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),Cn=0,Fu(),Qe=e,we=n=gn(e.current,null),ze=t,Be=0,Ht=null,$n=!1,da=Ln(e,t),Xu=!1,ha=kt=Qu=Rl=Jn=Pe=0,Ct=oi=null,Zu=!1,(t&8)!==0&&(t|=t&32);var l=e.entangledLanes;if(l!==0)for(e=e.entanglements,l&=t;0<l;){var i=31-Et(l),c=1<<i;t|=e[i],l&=~c}return An=t,Ii(),n}function Q0(e,t){Se=null,M.H=ti,t===aa||t===cc?(t=sr(),Be=3):t===eu?(t=sr(),Be=4):Be=t===Mu?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Ht=t,we===null&&(Pe=1,Sc(e,Vt(t,e.current)))}function Z0(){var e=Dt.current;return e===null?!0:(ze&4194048)===ze?Zt===null:(ze&62914560)===ze||(ze&536870912)!==0?e===Zt:!1}function K0(){var e=M.H;return M.H=ti,e===null?ti:e}function $0(){var e=M.A;return M.A=B4,e}function Rc(){Pe=4,$n||(ze&4194048)!==ze&&Dt.current!==null||(da=!0),(Jn&134217727)===0&&(Rl&134217727)===0||Qe===null||In(Qe,ze,kt,!1)}function Wu(e,t,n){var l=Ue;Ue|=2;var i=K0(),c=$0();(Qe!==e||ze!==t)&&(Cc=null,pa(e,t)),t=!1;var o=Pe;e:do try{if(Be!==0&&we!==null){var d=we,p=Ht;switch(Be){case 8:Fu(),o=6;break e;case 3:case 2:case 9:case 6:Dt.current===null&&(t=!0);var E=Be;if(Be=0,Ht=null,ya(e,d,p,E),n&&da){o=0;break e}break;default:E=Be,Be=0,Ht=null,ya(e,d,p,E)}}V4(),o=Pe;break}catch(_){Q0(e,_)}while(!0);return t&&e.shellSuspendCounter++,bn=El=null,Ue=l,M.H=i,M.A=c,we===null&&(Qe=null,ze=0,Ii()),o}function V4(){for(;we!==null;)J0(we)}function Y4(e,t){var n=Ue;Ue|=2;var l=K0(),i=$0();Qe!==e||ze!==t?(Cc=null,Ac=mt()+500,pa(e,t)):da=Ln(e,t);e:do try{if(Be!==0&&we!==null){t=we;var c=Ht;t:switch(Be){case 1:Be=0,Ht=null,ya(e,t,c,1);break;case 2:case 9:if(ir(c)){Be=0,Ht=null,F0(t);break}t=function(){Be!==2&&Be!==9||Qe!==e||(Be=7),sn(e)},c.then(t,t);break e;case 3:Be=7;break e;case 4:Be=5;break e;case 7:ir(c)?(Be=0,Ht=null,F0(t)):(Be=0,Ht=null,ya(e,t,c,7));break;case 5:var o=null;switch(we.tag){case 26:o=we.memoizedState;case 5:case 27:var d=we;if(o?Hf(o):d.stateNode.complete){Be=0,Ht=null;var p=d.sibling;if(p!==null)we=p;else{var E=d.return;E!==null?(we=E,Oc(E)):we=null}break t}}Be=0,Ht=null,ya(e,t,c,5);break;case 6:Be=0,Ht=null,ya(e,t,c,6);break;case 8:Fu(),Pe=6;break e;default:throw Error(r(462))}}X4();break}catch(_){Q0(e,_)}while(!0);return bn=El=null,M.H=l,M.A=i,Ue=n,we!==null?0:(Qe=null,ze=0,Ii(),Pe)}function X4(){for(;we!==null&&!rl();)J0(we)}function J0(e){var t=b0(e.alternate,e,An);e.memoizedProps=e.pendingProps,t===null?Oc(e):we=t}function F0(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=h0(n,t,t.pendingProps,t.type,void 0,ze);break;case 11:t=h0(n,t,t.pendingProps,t.type.render,t.ref,ze);break;case 5:du(t);default:x0(n,t),t=we=$1(t,An),t=b0(n,t,An)}e.memoizedProps=e.pendingProps,t===null?Oc(e):we=t}function ya(e,t,n,l){bn=El=null,du(t),ia=null,Ka=0;var i=t.return;try{if(R4(e,i,t,n,ze)){Pe=1,Sc(e,Vt(n,e.current)),we=null;return}}catch(c){if(i!==null)throw we=i,c;Pe=1,Sc(e,Vt(n,e.current)),we=null;return}t.flags&32768?(Ae||l===1?e=!0:da||(ze&536870912)!==0?e=!1:($n=e=!0,(l===2||l===9||l===3||l===6)&&(l=Dt.current,l!==null&&l.tag===13&&(l.flags|=16384))),W0(t,e)):Oc(t)}function Oc(e){var t=e;do{if((t.flags&32768)!==0){W0(t,$n);return}e=t.return;var n=L4(t.alternate,t,An);if(n!==null){we=n;return}if(t=t.sibling,t!==null){we=t;return}we=t=e}while(t!==null);Pe===0&&(Pe=5)}function W0(e,t){do{var n=H4(e.alternate,e);if(n!==null){n.flags&=32767,we=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){we=e;return}we=e=n}while(e!==null);Pe=6,we=null}function I0(e,t,n,l,i,c,o,d,p){e.cancelPendingCommit=null;do Dc();while(dt!==0);if((Ue&6)!==0)throw Error(r(327));if(t!==null){if(t===e.current)throw Error(r(177));if(c=t.lanes|t.childLanes,c|=Bs,ys(e,n,c,o,d,p),e===Qe&&(we=Qe=null,ze=0),ma=t,Wn=e,Cn=n,Ku=c,$u=i,G0=l,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,$4(rn,function(){return lf(),null})):(e.callbackNode=null,e.callbackPriority=0),l=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||l){l=M.T,M.T=null,i=X.p,X.p=2,o=Ue,Ue|=4;try{k4(e,t,n)}finally{Ue=o,X.p=i,M.T=l}}dt=1,P0(),ef(),tf()}}function P0(){if(dt===1){dt=0;var e=Wn,t=ma,n=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||n){n=M.T,M.T=null;var l=X.p;X.p=2;var i=Ue;Ue|=4;try{O0(t,e);var c=oo,o=B1(e.containerInfo),d=c.focusedElem,p=c.selectionRange;if(o!==d&&d&&d.ownerDocument&&U1(d.ownerDocument.documentElement,d)){if(p!==null&&Ds(d)){var E=p.start,_=p.end;if(_===void 0&&(_=E),"selectionStart"in d)d.selectionStart=E,d.selectionEnd=Math.min(_,d.value.length);else{var L=d.ownerDocument||document,w=L&&L.defaultView||window;if(w.getSelection){var A=w.getSelection(),ee=d.textContent.length,de=Math.min(p.start,ee),Ye=p.end===void 0?de:Math.min(p.end,ee);!A.extend&&de>Ye&&(o=Ye,Ye=de,de=o);var S=k1(d,de),v=k1(d,Ye);if(S&&v&&(A.rangeCount!==1||A.anchorNode!==S.node||A.anchorOffset!==S.offset||A.focusNode!==v.node||A.focusOffset!==v.offset)){var j=L.createRange();j.setStart(S.node,S.offset),A.removeAllRanges(),de>Ye?(A.addRange(j),A.extend(v.node,v.offset)):(j.setEnd(v.node,v.offset),A.addRange(j))}}}}for(L=[],A=d;A=A.parentNode;)A.nodeType===1&&L.push({element:A,left:A.scrollLeft,top:A.scrollTop});for(typeof d.focus=="function"&&d.focus(),d=0;d<L.length;d++){var O=L[d];O.element.scrollLeft=O.left,O.element.scrollTop=O.top}}Zc=!!uo,oo=uo=null}finally{Ue=i,X.p=l,M.T=n}}e.current=t,dt=2}}function ef(){if(dt===2){dt=0;var e=Wn,t=ma,n=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||n){n=M.T,M.T=null;var l=X.p;X.p=2;var i=Ue;Ue|=4;try{M0(e,t.alternate,t)}finally{Ue=i,X.p=l,M.T=n}}dt=3}}function tf(){if(dt===4||dt===3){dt=0,hs();var e=Wn,t=ma,n=Cn,l=G0;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?dt=5:(dt=0,ma=Wn=null,nf(e,e.pendingLanes));var i=e.pendingLanes;if(i===0&&(Fn=null),_a(n),t=t.stateNode,jt&&typeof jt.onCommitFiberRoot=="function")try{jt.onCommitFiberRoot(fn,t,void 0,(t.current.flags&128)===128)}catch{}if(l!==null){t=M.T,i=X.p,X.p=2,M.T=null;try{for(var c=e.onRecoverableError,o=0;o<l.length;o++){var d=l[o];c(d.value,{componentStack:d.stack})}}finally{M.T=t,X.p=i}}(Cn&3)!==0&&Dc(),sn(e),i=e.pendingLanes,(n&261930)!==0&&(i&42)!==0?e===Ju?ri++:(ri=0,Ju=e):ri=0,fi(0)}}function nf(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Qa(t)))}function Dc(){return P0(),ef(),tf(),lf()}function lf(){if(dt!==5)return!1;var e=Wn,t=Ku;Ku=0;var n=_a(Cn),l=M.T,i=X.p;try{X.p=32>n?32:n,M.T=null,n=$u,$u=null;var c=Wn,o=Cn;if(dt=0,ma=Wn=null,Cn=0,(Ue&6)!==0)throw Error(r(331));var d=Ue;if(Ue|=4,U0(c.current),L0(c,c.current,o,n),Ue=d,fi(0,!1),jt&&typeof jt.onPostCommitFiberRoot=="function")try{jt.onPostCommitFiberRoot(fn,c)}catch{}return!0}finally{X.p=i,M.T=l,nf(e,t)}}function af(e,t,n){t=Vt(n,t),t=Tu(e.stateNode,t,2),e=Xn(e,t,2),e!==null&&(ml(e,2),sn(e))}function qe(e,t,n){if(e.tag===3)af(e,e,n);else for(;t!==null;){if(t.tag===3){af(t,e,n);break}else if(t.tag===1){var l=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(Fn===null||!Fn.has(l))){e=Vt(n,e),n=i0(2),l=Xn(t,n,2),l!==null&&(c0(n,l,t,e),ml(l,2),sn(l));break}}t=t.return}}function Iu(e,t,n){var l=e.pingCache;if(l===null){l=e.pingCache=new q4;var i=new Set;l.set(t,i)}else i=l.get(t),i===void 0&&(i=new Set,l.set(t,i));i.has(n)||(Xu=!0,i.add(n),e=Q4.bind(null,e,t,n),t.then(e,e))}function Q4(e,t,n){var l=e.pingCache;l!==null&&l.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Qe===e&&(ze&n)===n&&(Pe===4||Pe===3&&(ze&62914560)===ze&&300>mt()-Mc?(Ue&2)===0&&pa(e,0):Qu|=n,ha===ze&&(ha=0)),sn(e)}function cf(e,t){t===0&&(t=Ri()),e=Sl(e,t),e!==null&&(ml(e,t),sn(e))}function Z4(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),cf(e,n)}function K4(e,t){var n=0;switch(e.tag){case 31:case 13:var l=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:l=e.stateNode;break;case 22:l=e.stateNode._retryCache;break;default:throw Error(r(314))}l!==null&&l.delete(t),cf(e,n)}function $4(e,t){return ol(e,t)}var Lc=null,ga=null,Pu=!1,Hc=!1,eo=!1,Pn=0;function sn(e){e!==ga&&e.next===null&&(ga===null?Lc=ga=e:ga=ga.next=e),Hc=!0,Pu||(Pu=!0,F4())}function fi(e,t){if(!eo&&Hc){eo=!0;do for(var n=!1,l=Lc;l!==null;){if(e!==0){var i=l.pendingLanes;if(i===0)var c=0;else{var o=l.suspendedLanes,d=l.pingedLanes;c=(1<<31-Et(42|e)+1)-1,c&=i&~(o&~d),c=c&201326741?c&201326741|1:c?c|2:0}c!==0&&(n=!0,rf(l,c))}else c=ze,c=hl(l,l===Qe?c:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(c&3)===0||Ln(l,c)||(n=!0,rf(l,c));l=l.next}while(n);eo=!1}}function J4(){sf()}function sf(){Hc=Pu=!1;var e=0;Pn!==0&&c3()&&(e=Pn);for(var t=mt(),n=null,l=Lc;l!==null;){var i=l.next,c=uf(l,t);c===0?(l.next=null,n===null?Lc=i:n.next=i,i===null&&(ga=n)):(n=l,(e!==0||(c&3)!==0)&&(Hc=!0)),l=i}dt!==0&&dt!==5||fi(e),Pn!==0&&(Pn=0)}function uf(e,t){for(var n=e.suspendedLanes,l=e.pingedLanes,i=e.expirationTimes,c=e.pendingLanes&-62914561;0<c;){var o=31-Et(c),d=1<<o,p=i[o];p===-1?((d&n)===0||(d&l)!==0)&&(i[o]=ps(d,t)):p<=t&&(e.expiredLanes|=d),c&=~d}if(t=Qe,n=ze,n=hl(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l=e.callbackNode,n===0||e===t&&(Be===2||Be===9)||e.cancelPendingCommit!==null)return l!==null&&l!==null&&On(l),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||Ln(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(l!==null&&On(l),_a(n)){case 2:case 8:n=en;break;case 32:n=rn;break;case 268435456:n=fl;break;default:n=rn}return l=of.bind(null,e),n=ol(n,l),e.callbackPriority=t,e.callbackNode=n,t}return l!==null&&l!==null&&On(l),e.callbackPriority=2,e.callbackNode=null,2}function of(e,t){if(dt!==0&&dt!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Dc()&&e.callbackNode!==n)return null;var l=ze;return l=hl(e,e===Qe?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l===0?null:(Y0(e,l,t),uf(e,mt()),e.callbackNode!=null&&e.callbackNode===n?of.bind(null,e):null)}function rf(e,t){if(Dc())return null;Y0(e,t,!0)}function F4(){u3(function(){(Ue&6)!==0?ol(Dn,J4):sf()})}function to(){if(Pn===0){var e=na;e===0&&(e=dn,dn<<=1,(dn&261888)===0&&(dn=256)),Pn=e}return Pn}function ff(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Xi(""+e)}function df(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function W4(e,t,n,l,i){if(t==="submit"&&n&&n.stateNode===i){var c=ff((i[bt]||null).action),o=l.submitter;o&&(t=(t=o[bt]||null)?ff(t.formAction):o.getAttribute("formAction"),t!==null&&(c=t,o=null));var d=new $i("action","action",null,l,i);e.push({event:d,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(Pn!==0){var p=o?df(i,o):new FormData(i);xu(n,{pending:!0,data:p,method:i.method,action:c},null,p)}}else typeof c=="function"&&(d.preventDefault(),p=o?df(i,o):new FormData(i),xu(n,{pending:!0,data:p,method:i.method,action:c},c,p))},currentTarget:i}]})}}for(var no=0;no<Us.length;no++){var lo=Us[no],I4=lo.toLowerCase(),P4=lo[0].toUpperCase()+lo.slice(1);Ft(I4,"on"+P4)}Ft(V1,"onAnimationEnd"),Ft(Y1,"onAnimationIteration"),Ft(X1,"onAnimationStart"),Ft("dblclick","onDoubleClick"),Ft("focusin","onFocus"),Ft("focusout","onBlur"),Ft(p4,"onTransitionRun"),Ft(y4,"onTransitionStart"),Ft(g4,"onTransitionCancel"),Ft(Q1,"onTransitionEnd"),Vl("onMouseEnter",["mouseout","mouseover"]),Vl("onMouseLeave",["mouseout","mouseover"]),Vl("onPointerEnter",["pointerout","pointerover"]),Vl("onPointerLeave",["pointerout","pointerover"]),yl("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),yl("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),yl("onBeforeInput",["compositionend","keypress","textInput","paste"]),yl("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),yl("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),yl("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var di="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(" "),e3=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(di));function hf(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var l=e[n],i=l.event;l=l.listeners;e:{var c=void 0;if(t)for(var o=l.length-1;0<=o;o--){var d=l[o],p=d.instance,E=d.currentTarget;if(d=d.listener,p!==c&&i.isPropagationStopped())break e;c=d,i.currentTarget=E;try{c(i)}catch(_){Wi(_)}i.currentTarget=null,c=p}else for(o=0;o<l.length;o++){if(d=l[o],p=d.instance,E=d.currentTarget,d=d.listener,p!==c&&i.isPropagationStopped())break e;c=d,i.currentTarget=E;try{c(i)}catch(_){Wi(_)}i.currentTarget=null,c=p}}}}function Ne(e,t){var n=t[Ra];n===void 0&&(n=t[Ra]=new Set);var l=e+"__bubble";n.has(l)||(mf(t,e,2,!1),n.add(l))}function ao(e,t,n){var l=0;t&&(l|=4),mf(n,e,l,t)}var kc="_reactListening"+Math.random().toString(36).slice(2);function io(e){if(!e[kc]){e[kc]=!0,Bi.forEach(function(n){n!=="selectionchange"&&(e3.has(n)||ao(n,!1,e),ao(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[kc]||(t[kc]=!0,ao("selectionchange",!1,t))}}function mf(e,t,n,l){switch(Yf(t)){case 2:var i=M3;break;case 8:i=A3;break;default:i=xo}n=i.bind(null,t,n,e),i=void 0,!Ns||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),l?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function co(e,t,n,l,i){var c=l;if((t&1)===0&&(t&2)===0&&l!==null)e:for(;;){if(l===null)return;var o=l.tag;if(o===3||o===4){var d=l.stateNode.containerInfo;if(d===i)break;if(o===4)for(o=l.return;o!==null;){var p=o.tag;if((p===3||p===4)&&o.stateNode.containerInfo===i)return;o=o.return}for(;d!==null;){if(o=H(d),o===null)return;if(p=o.tag,p===5||p===6||p===26||p===27){l=c=o;continue e}d=d.parentNode}}l=l.return}v1(function(){var E=c,_=Es(n),L=[];e:{var w=Z1.get(e);if(w!==void 0){var A=$i,ee=e;switch(e){case"keypress":if(Zi(n)===0)break e;case"keydown":case"keyup":A=Kd;break;case"focusin":ee="focus",A=As;break;case"focusout":ee="blur",A=As;break;case"beforeblur":case"afterblur":A=As;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":A=x1;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":A=Ld;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":A=Fd;break;case V1:case Y1:case X1:A=Ud;break;case Q1:A=Id;break;case"scroll":case"scrollend":A=Od;break;case"wheel":A=e4;break;case"copy":case"cut":case"paste":A=qd;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":A=E1;break;case"toggle":case"beforetoggle":A=n4}var de=(t&4)!==0,Ye=!de&&(e==="scroll"||e==="scrollend"),S=de?w!==null?w+"Capture":null:w;de=[];for(var v=E,j;v!==null;){var O=v;if(j=O.stateNode,O=O.tag,O!==5&&O!==26&&O!==27||j===null||S===null||(O=Da(v,S),O!=null&&de.push(hi(v,O,j))),Ye)break;v=v.return}0<de.length&&(w=new A(w,ee,null,n,_),L.push({event:w,listeners:de}))}}if((t&7)===0){e:{if(w=e==="mouseover"||e==="pointerover",A=e==="mouseout"||e==="pointerout",w&&n!==js&&(ee=n.relatedTarget||n.fromElement)&&(H(ee)||ee[Hn]))break e;if((A||w)&&(w=_.window===_?_:(w=_.ownerDocument)?w.defaultView||w.parentWindow:window,A?(ee=n.relatedTarget||n.toElement,A=E,ee=ee?H(ee):null,ee!==null&&(Ye=y(ee),de=ee.tag,ee!==Ye||de!==5&&de!==27&&de!==6)&&(ee=null)):(A=null,ee=E),A!==ee)){if(de=x1,O="onMouseLeave",S="onMouseEnter",v="mouse",(e==="pointerout"||e==="pointerover")&&(de=E1,O="onPointerLeave",S="onPointerEnter",v="pointer"),Ye=A==null?w:ue(A),j=ee==null?w:ue(ee),w=new de(O,v+"leave",A,n,_),w.target=Ye,w.relatedTarget=j,O=null,H(_)===E&&(de=new de(S,v+"enter",ee,n,_),de.target=j,de.relatedTarget=Ye,O=de),Ye=O,A&&ee)t:{for(de=t3,S=A,v=ee,j=0,O=S;O;O=de(O))j++;O=0;for(var se=v;se;se=de(se))O++;for(;0<j-O;)S=de(S),j--;for(;0<O-j;)v=de(v),O--;for(;j--;){if(S===v||v!==null&&S===v.alternate){de=S;break t}S=de(S),v=de(v)}de=null}else de=null;A!==null&&pf(L,w,A,de,!1),ee!==null&&Ye!==null&&pf(L,Ye,ee,de,!0)}}e:{if(w=E?ue(E):window,A=w.nodeName&&w.nodeName.toLowerCase(),A==="select"||A==="input"&&w.type==="file")var Le=_1;else if(A1(w))if(R1)Le=d4;else{Le=r4;var le=o4}else A=w.nodeName,!A||A.toLowerCase()!=="input"||w.type!=="checkbox"&&w.type!=="radio"?E&&xs(E.elementType)&&(Le=_1):Le=f4;if(Le&&(Le=Le(e,E))){C1(L,Le,n,_);break e}le&&le(e,w,E),e==="focusout"&&E&&w.type==="number"&&E.memoizedProps.value!=null&&Ss(w,"number",w.value)}switch(le=E?ue(E):window,e){case"focusin":(A1(le)||le.contentEditable==="true")&&($l=le,Ls=E,Va=null);break;case"focusout":Va=Ls=$l=null;break;case"mousedown":Hs=!0;break;case"contextmenu":case"mouseup":case"dragend":Hs=!1,q1(L,n,_);break;case"selectionchange":if(m4)break;case"keydown":case"keyup":q1(L,n,_)}var Ee;if(_s)e:{switch(e){case"compositionstart":var Te="onCompositionStart";break e;case"compositionend":Te="onCompositionEnd";break e;case"compositionupdate":Te="onCompositionUpdate";break e}Te=void 0}else Kl?T1(e,n)&&(Te="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(Te="onCompositionStart");Te&&(w1&&n.locale!=="ko"&&(Kl||Te!=="onCompositionStart"?Te==="onCompositionEnd"&&Kl&&(Ee=b1()):(kn=_,zs="value"in kn?kn.value:kn.textContent,Kl=!0)),le=Uc(E,Te),0<le.length&&(Te=new j1(Te,e,null,n,_),L.push({event:Te,listeners:le}),Ee?Te.data=Ee:(Ee=M1(n),Ee!==null&&(Te.data=Ee)))),(Ee=a4?i4(e,n):c4(e,n))&&(Te=Uc(E,"onBeforeInput"),0<Te.length&&(le=new j1("onBeforeInput","beforeinput",null,n,_),L.push({event:le,listeners:Te}),le.data=Ee)),W4(L,e,E,n,_)}hf(L,t)})}function hi(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Uc(e,t){for(var n=t+"Capture",l=[];e!==null;){var i=e,c=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||c===null||(i=Da(e,n),i!=null&&l.unshift(hi(e,i,c)),i=Da(e,t),i!=null&&l.push(hi(e,i,c))),e.tag===3)return l;e=e.return}return[]}function t3(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function pf(e,t,n,l,i){for(var c=t._reactName,o=[];n!==null&&n!==l;){var d=n,p=d.alternate,E=d.stateNode;if(d=d.tag,p!==null&&p===l)break;d!==5&&d!==26&&d!==27||E===null||(p=E,i?(E=Da(n,c),E!=null&&o.unshift(hi(n,E,p))):i||(E=Da(n,c),E!=null&&o.push(hi(n,E,p)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var n3=/\r\n?/g,l3=/\u0000|\uFFFD/g;function yf(e){return(typeof e=="string"?e:""+e).replace(n3,`
|
|
49
|
+
`).replace(l3,"")}function gf(e,t){return t=yf(t),yf(e)===t}function Ve(e,t,n,l,i,c){switch(n){case"children":typeof l=="string"?t==="body"||t==="textarea"&&l===""||Xl(e,l):(typeof l=="number"||typeof l=="bigint")&&t!=="body"&&Xl(e,""+l);break;case"className":Vi(e,"class",l);break;case"tabIndex":Vi(e,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":Vi(e,n,l);break;case"style":y1(e,l,c);break;case"data":if(t!=="object"){Vi(e,"data",l);break}case"src":case"href":if(l===""&&(t!=="a"||n!=="href")){e.removeAttribute(n);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(n);break}l=Xi(""+l),e.setAttribute(n,l);break;case"action":case"formAction":if(typeof l=="function"){e.setAttribute(n,"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 c=="function"&&(n==="formAction"?(t!=="input"&&Ve(e,t,"name",i.name,i,null),Ve(e,t,"formEncType",i.formEncType,i,null),Ve(e,t,"formMethod",i.formMethod,i,null),Ve(e,t,"formTarget",i.formTarget,i,null)):(Ve(e,t,"encType",i.encType,i,null),Ve(e,t,"method",i.method,i,null),Ve(e,t,"target",i.target,i,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(n);break}l=Xi(""+l),e.setAttribute(n,l);break;case"onClick":l!=null&&(e.onclick=pn);break;case"onScroll":l!=null&&Ne("scroll",e);break;case"onScrollEnd":l!=null&&Ne("scrollend",e);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(r(61));if(n=l.__html,n!=null){if(i.children!=null)throw Error(r(60));e.innerHTML=n}}break;case"multiple":e.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":e.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){e.removeAttribute("xlink:href");break}n=Xi(""+l),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(n,""+l):e.removeAttribute(n);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":l&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":l===!0?e.setAttribute(n,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(n,l):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?e.setAttribute(n,l):e.removeAttribute(n);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?e.removeAttribute(n):e.setAttribute(n,l);break;case"popover":Ne("beforetoggle",e),Ne("toggle",e),Gi(e,"popover",l);break;case"xlinkActuate":mn(e,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":mn(e,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":mn(e,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":mn(e,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":mn(e,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":mn(e,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":mn(e,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":mn(e,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":mn(e,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":Gi(e,"is",l);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=_d.get(n)||n,Gi(e,n,l))}}function so(e,t,n,l,i,c){switch(n){case"style":y1(e,l,c);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(r(61));if(n=l.__html,n!=null){if(i.children!=null)throw Error(r(60));e.innerHTML=n}}break;case"children":typeof l=="string"?Xl(e,l):(typeof l=="number"||typeof l=="bigint")&&Xl(e,""+l);break;case"onScroll":l!=null&&Ne("scroll",e);break;case"onScrollEnd":l!=null&&Ne("scrollend",e);break;case"onClick":l!=null&&(e.onclick=pn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!qi.hasOwnProperty(n))e:{if(n[0]==="o"&&n[1]==="n"&&(i=n.endsWith("Capture"),t=n.slice(2,i?n.length-7:void 0),c=e[bt]||null,c=c!=null?c[n]:null,typeof c=="function"&&e.removeEventListener(t,c,i),typeof l=="function")){typeof c!="function"&&c!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,l,i);break e}n in e?e[n]=l:l===!0?e.setAttribute(n,""):Gi(e,n,l)}}}function vt(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ne("error",e),Ne("load",e);var l=!1,i=!1,c;for(c in n)if(n.hasOwnProperty(c)){var o=n[c];if(o!=null)switch(c){case"src":l=!0;break;case"srcSet":i=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:Ve(e,t,c,o,n,null)}}i&&Ve(e,t,"srcSet",n.srcSet,n,null),l&&Ve(e,t,"src",n.src,n,null);return;case"input":Ne("invalid",e);var d=c=o=i=null,p=null,E=null;for(l in n)if(n.hasOwnProperty(l)){var _=n[l];if(_!=null)switch(l){case"name":i=_;break;case"type":o=_;break;case"checked":p=_;break;case"defaultChecked":E=_;break;case"value":c=_;break;case"defaultValue":d=_;break;case"children":case"dangerouslySetInnerHTML":if(_!=null)throw Error(r(137,t));break;default:Ve(e,t,l,_,n,null)}}d1(e,c,d,p,E,o,i,!1);return;case"select":Ne("invalid",e),l=o=c=null;for(i in n)if(n.hasOwnProperty(i)&&(d=n[i],d!=null))switch(i){case"value":c=d;break;case"defaultValue":o=d;break;case"multiple":l=d;default:Ve(e,t,i,d,n,null)}t=c,n=o,e.multiple=!!l,t!=null?Yl(e,!!l,t,!1):n!=null&&Yl(e,!!l,n,!0);return;case"textarea":Ne("invalid",e),c=i=l=null;for(o in n)if(n.hasOwnProperty(o)&&(d=n[o],d!=null))switch(o){case"value":l=d;break;case"defaultValue":i=d;break;case"children":c=d;break;case"dangerouslySetInnerHTML":if(d!=null)throw Error(r(91));break;default:Ve(e,t,o,d,n,null)}m1(e,l,i,c);return;case"option":for(p in n)if(n.hasOwnProperty(p)&&(l=n[p],l!=null))switch(p){case"selected":e.selected=l&&typeof l!="function"&&typeof l!="symbol";break;default:Ve(e,t,p,l,n,null)}return;case"dialog":Ne("beforetoggle",e),Ne("toggle",e),Ne("cancel",e),Ne("close",e);break;case"iframe":case"object":Ne("load",e);break;case"video":case"audio":for(l=0;l<di.length;l++)Ne(di[l],e);break;case"image":Ne("error",e),Ne("load",e);break;case"details":Ne("toggle",e);break;case"embed":case"source":case"link":Ne("error",e),Ne("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(E in n)if(n.hasOwnProperty(E)&&(l=n[E],l!=null))switch(E){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:Ve(e,t,E,l,n,null)}return;default:if(xs(t)){for(_ in n)n.hasOwnProperty(_)&&(l=n[_],l!==void 0&&so(e,t,_,l,n,void 0));return}}for(d in n)n.hasOwnProperty(d)&&(l=n[d],l!=null&&Ve(e,t,d,l,n,null))}function a3(e,t,n,l){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var i=null,c=null,o=null,d=null,p=null,E=null,_=null;for(A in n){var L=n[A];if(n.hasOwnProperty(A)&&L!=null)switch(A){case"checked":break;case"value":break;case"defaultValue":p=L;default:l.hasOwnProperty(A)||Ve(e,t,A,null,l,L)}}for(var w in l){var A=l[w];if(L=n[w],l.hasOwnProperty(w)&&(A!=null||L!=null))switch(w){case"type":c=A;break;case"name":i=A;break;case"checked":E=A;break;case"defaultChecked":_=A;break;case"value":o=A;break;case"defaultValue":d=A;break;case"children":case"dangerouslySetInnerHTML":if(A!=null)throw Error(r(137,t));break;default:A!==L&&Ve(e,t,w,A,l,L)}}bs(e,o,d,p,E,_,c,i);return;case"select":A=o=d=w=null;for(c in n)if(p=n[c],n.hasOwnProperty(c)&&p!=null)switch(c){case"value":break;case"multiple":A=p;default:l.hasOwnProperty(c)||Ve(e,t,c,null,l,p)}for(i in l)if(c=l[i],p=n[i],l.hasOwnProperty(i)&&(c!=null||p!=null))switch(i){case"value":w=c;break;case"defaultValue":d=c;break;case"multiple":o=c;default:c!==p&&Ve(e,t,i,c,l,p)}t=d,n=o,l=A,w!=null?Yl(e,!!n,w,!1):!!l!=!!n&&(t!=null?Yl(e,!!n,t,!0):Yl(e,!!n,n?[]:"",!1));return;case"textarea":A=w=null;for(d in n)if(i=n[d],n.hasOwnProperty(d)&&i!=null&&!l.hasOwnProperty(d))switch(d){case"value":break;case"children":break;default:Ve(e,t,d,null,l,i)}for(o in l)if(i=l[o],c=n[o],l.hasOwnProperty(o)&&(i!=null||c!=null))switch(o){case"value":w=i;break;case"defaultValue":A=i;break;case"children":break;case"dangerouslySetInnerHTML":if(i!=null)throw Error(r(91));break;default:i!==c&&Ve(e,t,o,i,l,c)}h1(e,w,A);return;case"option":for(var ee in n)if(w=n[ee],n.hasOwnProperty(ee)&&w!=null&&!l.hasOwnProperty(ee))switch(ee){case"selected":e.selected=!1;break;default:Ve(e,t,ee,null,l,w)}for(p in l)if(w=l[p],A=n[p],l.hasOwnProperty(p)&&w!==A&&(w!=null||A!=null))switch(p){case"selected":e.selected=w&&typeof w!="function"&&typeof w!="symbol";break;default:Ve(e,t,p,w,l,A)}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 de in n)w=n[de],n.hasOwnProperty(de)&&w!=null&&!l.hasOwnProperty(de)&&Ve(e,t,de,null,l,w);for(E in l)if(w=l[E],A=n[E],l.hasOwnProperty(E)&&w!==A&&(w!=null||A!=null))switch(E){case"children":case"dangerouslySetInnerHTML":if(w!=null)throw Error(r(137,t));break;default:Ve(e,t,E,w,l,A)}return;default:if(xs(t)){for(var Ye in n)w=n[Ye],n.hasOwnProperty(Ye)&&w!==void 0&&!l.hasOwnProperty(Ye)&&so(e,t,Ye,void 0,l,w);for(_ in l)w=l[_],A=n[_],!l.hasOwnProperty(_)||w===A||w===void 0&&A===void 0||so(e,t,_,w,l,A);return}}for(var S in n)w=n[S],n.hasOwnProperty(S)&&w!=null&&!l.hasOwnProperty(S)&&Ve(e,t,S,null,l,w);for(L in l)w=l[L],A=n[L],!l.hasOwnProperty(L)||w===A||w==null&&A==null||Ve(e,t,L,w,l,A)}function vf(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function i3(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,n=performance.getEntriesByType("resource"),l=0;l<n.length;l++){var i=n[l],c=i.transferSize,o=i.initiatorType,d=i.duration;if(c&&d&&vf(o)){for(o=0,d=i.responseEnd,l+=1;l<n.length;l++){var p=n[l],E=p.startTime;if(E>d)break;var _=p.transferSize,L=p.initiatorType;_&&vf(L)&&(p=p.responseEnd,o+=_*(p<d?1:(d-E)/(p-E)))}if(--l,t+=8*(c+o)/(i.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 uo=null,oo=null;function Bc(e){return e.nodeType===9?e:e.ownerDocument}function bf(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 Sf(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 ro(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 fo=null;function c3(){var e=window.event;return e&&e.type==="popstate"?e===fo?!1:(fo=e,!0):(fo=null,!1)}var xf=typeof setTimeout=="function"?setTimeout:void 0,s3=typeof clearTimeout=="function"?clearTimeout:void 0,jf=typeof Promise=="function"?Promise:void 0,u3=typeof queueMicrotask=="function"?queueMicrotask:typeof jf<"u"?function(e){return jf.resolve(null).then(e).catch(o3)}:xf;function o3(e){setTimeout(function(){throw e})}function el(e){return e==="head"}function Ef(e,t){var n=t,l=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"||n==="/&"){if(l===0){e.removeChild(i),xa(t);return}l--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")l++;else if(n==="html")mi(e.ownerDocument.documentElement);else if(n==="head"){n=e.ownerDocument.head,mi(n);for(var c=n.firstChild;c;){var o=c.nextSibling,d=c.nodeName;c[pl]||d==="SCRIPT"||d==="STYLE"||d==="LINK"&&c.rel.toLowerCase()==="stylesheet"||n.removeChild(c),c=o}}else n==="body"&&mi(e.ownerDocument.body);n=i}while(n);xa(t)}function wf(e,t){var n=e;e=0;do{var l=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),l&&l.nodeType===8)if(n=l.data,n==="/$"){if(e===0)break;e--}else n!=="$"&&n!=="$?"&&n!=="$~"&&n!=="$!"||e++;n=l}while(n)}function ho(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":ho(n),Oa(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function r3(e,t,n,l){for(;e.nodeType===1;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!l&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(l){if(!e[pl])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(c=e.getAttribute("rel"),c==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(c!==i.rel||e.getAttribute("href")!==(i.href==null||i.href===""?null:i.href)||e.getAttribute("crossorigin")!==(i.crossOrigin==null?null:i.crossOrigin)||e.getAttribute("title")!==(i.title==null?null:i.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(c=e.getAttribute("src"),(c!==(i.src==null?null:i.src)||e.getAttribute("type")!==(i.type==null?null:i.type)||e.getAttribute("crossorigin")!==(i.crossOrigin==null?null:i.crossOrigin))&&c&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var c=i.name==null?null:""+i.name;if(i.type==="hidden"&&e.getAttribute("name")===c)return e}else return e;if(e=Kt(e.nextSibling),e===null)break}return null}function f3(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=Kt(e.nextSibling),e===null))return null;return e}function Nf(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Kt(e.nextSibling),e===null))return null;return e}function mo(e){return e.data==="$?"||e.data==="$~"}function po(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function d3(e,t){var n=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||n.readyState!=="loading")t();else{var l=function(){t(),n.removeEventListener("DOMContentLoaded",l)};n.addEventListener("DOMContentLoaded",l),e._reactRetry=l}}function Kt(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 yo=null;function zf(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"||n==="/&"){if(t===0)return Kt(e.nextSibling);t--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||t++}e=e.nextSibling}return null}function Tf(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"){if(t===0)return e;t--}else n!=="/$"&&n!=="/&"||t++}e=e.previousSibling}return null}function Mf(e,t,n){switch(t=Bc(n),e){case"html":if(e=t.documentElement,!e)throw Error(r(452));return e;case"head":if(e=t.head,!e)throw Error(r(453));return e;case"body":if(e=t.body,!e)throw Error(r(454));return e;default:throw Error(r(451))}}function mi(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Oa(e)}var $t=new Map,Af=new Set;function qc(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var _n=X.d;X.d={f:h3,r:m3,D:p3,C:y3,L:g3,m:v3,X:S3,S:b3,M:x3};function h3(){var e=_n.f(),t=_c();return e||t}function m3(e){var t=P(e);t!==null&&t.tag===5&&t.type==="form"?Qr(t):_n.r(e)}var va=typeof document>"u"?null:document;function Cf(e,t,n){var l=va;if(l&&typeof t=="string"&&t){var i=qt(t);i='link[rel="'+e+'"][href="'+i+'"]',typeof n=="string"&&(i+='[crossorigin="'+n+'"]'),Af.has(i)||(Af.add(i),e={rel:e,crossOrigin:n,href:t},l.querySelector(i)===null&&(t=l.createElement("link"),vt(t,"link",e),Ze(t),l.head.appendChild(t)))}}function p3(e){_n.D(e),Cf("dns-prefetch",e,null)}function y3(e,t){_n.C(e,t),Cf("preconnect",e,t)}function g3(e,t,n){_n.L(e,t,n);var l=va;if(l&&e&&t){var i='link[rel="preload"][as="'+qt(t)+'"]';t==="image"&&n&&n.imageSrcSet?(i+='[imagesrcset="'+qt(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(i+='[imagesizes="'+qt(n.imageSizes)+'"]')):i+='[href="'+qt(e)+'"]';var c=i;switch(t){case"style":c=ba(e);break;case"script":c=Sa(e)}$t.has(c)||(e=D({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),$t.set(c,e),l.querySelector(i)!==null||t==="style"&&l.querySelector(pi(c))||t==="script"&&l.querySelector(yi(c))||(t=l.createElement("link"),vt(t,"link",e),Ze(t),l.head.appendChild(t)))}}function v3(e,t){_n.m(e,t);var n=va;if(n&&e){var l=t&&typeof t.as=="string"?t.as:"script",i='link[rel="modulepreload"][as="'+qt(l)+'"][href="'+qt(e)+'"]',c=i;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c=Sa(e)}if(!$t.has(c)&&(e=D({rel:"modulepreload",href:e},t),$t.set(c,e),n.querySelector(i)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(yi(c)))return}l=n.createElement("link"),vt(l,"link",e),Ze(l),n.head.appendChild(l)}}}function b3(e,t,n){_n.S(e,t,n);var l=va;if(l&&e){var i=Fe(l).hoistableStyles,c=ba(e);t=t||"default";var o=i.get(c);if(!o){var d={loading:0,preload:null};if(o=l.querySelector(pi(c)))d.loading=5;else{e=D({rel:"stylesheet",href:e,"data-precedence":t},n),(n=$t.get(c))&&go(e,n);var p=o=l.createElement("link");Ze(p),vt(p,"link",e),p._p=new Promise(function(E,_){p.onload=E,p.onerror=_}),p.addEventListener("load",function(){d.loading|=1}),p.addEventListener("error",function(){d.loading|=2}),d.loading|=4,Gc(o,t,l)}o={type:"stylesheet",instance:o,count:1,state:d},i.set(c,o)}}}function S3(e,t){_n.X(e,t);var n=va;if(n&&e){var l=Fe(n).hoistableScripts,i=Sa(e),c=l.get(i);c||(c=n.querySelector(yi(i)),c||(e=D({src:e,async:!0},t),(t=$t.get(i))&&vo(e,t),c=n.createElement("script"),Ze(c),vt(c,"link",e),n.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},l.set(i,c))}}function x3(e,t){_n.M(e,t);var n=va;if(n&&e){var l=Fe(n).hoistableScripts,i=Sa(e),c=l.get(i);c||(c=n.querySelector(yi(i)),c||(e=D({src:e,async:!0,type:"module"},t),(t=$t.get(i))&&vo(e,t),c=n.createElement("script"),Ze(c),vt(c,"link",e),n.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},l.set(i,c))}}function _f(e,t,n,l){var i=(i=V.current)?qc(i):null;if(!i)throw Error(r(446));switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(t=ba(n.href),n=Fe(i).hoistableStyles,l=n.get(t),l||(l={type:"style",instance:null,count:0,state:null},n.set(t,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=ba(n.href);var c=Fe(i).hoistableStyles,o=c.get(e);if(o||(i=i.ownerDocument||i,o={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(e,o),(c=i.querySelector(pi(e)))&&!c._p&&(o.instance=c,o.state.loading=5),$t.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},$t.set(e,n),c||j3(i,e,n,o.state))),t&&l===null)throw Error(r(528,""));return o}if(t&&l!==null)throw Error(r(529,""));return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Sa(n),n=Fe(i).hoistableScripts,l=n.get(t),l||(l={type:"script",instance:null,count:0,state:null},n.set(t,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,e))}}function ba(e){return'href="'+qt(e)+'"'}function pi(e){return'link[rel="stylesheet"]['+e+"]"}function Rf(e){return D({},e,{"data-precedence":e.precedence,precedence:null})}function j3(e,t,n,l){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?l.loading=1:(t=e.createElement("link"),l.preload=t,t.addEventListener("load",function(){return l.loading|=1}),t.addEventListener("error",function(){return l.loading|=2}),vt(t,"link",n),Ze(t),e.head.appendChild(t))}function Sa(e){return'[src="'+qt(e)+'"]'}function yi(e){return"script[async]"+e}function Of(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var l=e.querySelector('style[data-href~="'+qt(n.href)+'"]');if(l)return t.instance=l,Ze(l),l;var i=D({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return l=(e.ownerDocument||e).createElement("style"),Ze(l),vt(l,"style",i),Gc(l,n.precedence,e),t.instance=l;case"stylesheet":i=ba(n.href);var c=e.querySelector(pi(i));if(c)return t.state.loading|=4,t.instance=c,Ze(c),c;l=Rf(n),(i=$t.get(i))&&go(l,i),c=(e.ownerDocument||e).createElement("link"),Ze(c);var o=c;return o._p=new Promise(function(d,p){o.onload=d,o.onerror=p}),vt(c,"link",l),t.state.loading|=4,Gc(c,n.precedence,e),t.instance=c;case"script":return c=Sa(n.src),(i=e.querySelector(yi(c)))?(t.instance=i,Ze(i),i):(l=n,(i=$t.get(c))&&(l=D({},n),vo(l,i)),e=e.ownerDocument||e,i=e.createElement("script"),Ze(i),vt(i,"link",l),e.head.appendChild(i),t.instance=i);case"void":return null;default:throw Error(r(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(l=t.instance,t.state.loading|=4,Gc(l,n.precedence,e));return t.instance}function Gc(e,t,n){for(var l=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),i=l.length?l[l.length-1]:null,c=i,o=0;o<l.length;o++){var d=l[o];if(d.dataset.precedence===t)c=d;else if(c!==i)break}c?c.parentNode.insertBefore(e,c.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function go(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function vo(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Vc=null;function Df(e,t,n){if(Vc===null){var l=new Map,i=Vc=new Map;i.set(n,l)}else i=Vc,l=i.get(n),l||(l=new Map,i.set(n,l));if(l.has(e))return l;for(l.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var c=n[i];if(!(c[pl]||c[ft]||e==="link"&&c.getAttribute("rel")==="stylesheet")&&c.namespaceURI!=="http://www.w3.org/2000/svg"){var o=c.getAttribute(t)||"";o=e+o;var d=l.get(o);d?d.push(c):l.set(o,[c])}}return l}function Lf(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function E3(e,t,n){if(n===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 Hf(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function w3(e,t,n,l){if(n.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var i=ba(l.href),c=t.querySelector(pi(i));if(c){t=c._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Yc.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=c,Ze(c);return}c=t.ownerDocument||t,l=Rf(l),(i=$t.get(i))&&go(l,i),c=c.createElement("link"),Ze(c);var o=c;o._p=new Promise(function(d,p){o.onload=d,o.onerror=p}),vt(c,"link",l),n.instance=c}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&(n.state.loading&3)===0&&(e.count++,n=Yc.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}var bo=0;function N3(e,t){return e.stylesheets&&e.count===0&&Qc(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var l=setTimeout(function(){if(e.stylesheets&&Qc(e,e.stylesheets),e.unsuspend){var c=e.unsuspend;e.unsuspend=null,c()}},6e4+t);0<e.imgBytes&&bo===0&&(bo=62500*i3());var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Qc(e,e.stylesheets),e.unsuspend)){var c=e.unsuspend;e.unsuspend=null,c()}},(e.imgBytes>bo?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(l),clearTimeout(i)}}:null}function Yc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Qc(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Xc=null;function Qc(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Xc=new Map,t.forEach(z3,e),Xc=null,Yc.call(e))}function z3(e,t){if(!(t.state.loading&4)){var n=Xc.get(e);if(n)var l=n.get(null);else{n=new Map,Xc.set(e,n);for(var i=e.querySelectorAll("link[data-precedence],style[data-precedence]"),c=0;c<i.length;c++){var o=i[c];(o.nodeName==="LINK"||o.getAttribute("media")!=="not all")&&(n.set(o.dataset.precedence,o),l=o)}l&&n.set(null,l)}i=t.instance,o=i.getAttribute("data-precedence"),c=n.get(o)||l,c===l&&n.set(null,i),n.set(o,i),this.count++,l=Yc.bind(this),i.addEventListener("load",l),i.addEventListener("error",l),c?c.parentNode.insertBefore(i,c.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),t.state.loading|=4}}var gi={$$typeof:re,Provider:null,Consumer:null,_currentValue:ne,_currentValue2:ne,_threadCount:0};function T3(e,t,n,l,i,c,o,d,p){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=Ma(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ma(0),this.hiddenUpdates=Ma(null),this.identifierPrefix=l,this.onUncaughtError=i,this.onCaughtError=c,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=p,this.incompleteTransitions=new Map}function kf(e,t,n,l,i,c,o,d,p,E,_,L){return e=new T3(e,t,n,o,p,E,_,L,d),t=1,c===!0&&(t|=24),c=Ot(3,null,null,t),e.current=c,c.stateNode=e,t=Ws(),t.refCount++,e.pooledCache=t,t.refCount++,c.memoizedState={element:l,isDehydrated:n,cache:t},tu(c),e}function Uf(e){return e?(e=Wl,e):Wl}function Bf(e,t,n,l,i,c){i=Uf(i),l.context===null?l.context=i:l.pendingContext=i,l=Yn(t),l.payload={element:n},c=c===void 0?null:c,c!==null&&(l.callback=c),n=Xn(e,l,t),n!==null&&(_t(n,e,t),Ja(n,e,t))}function qf(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function So(e,t){qf(e,t),(e=e.alternate)&&qf(e,t)}function Gf(e){if(e.tag===13||e.tag===31){var t=Sl(e,67108864);t!==null&&_t(t,e,67108864),So(e,67108864)}}function Vf(e){if(e.tag===13||e.tag===31){var t=Ut();t=Ca(t);var n=Sl(e,t);n!==null&&_t(n,e,t),So(e,t)}}var Zc=!0;function M3(e,t,n,l){var i=M.T;M.T=null;var c=X.p;try{X.p=2,xo(e,t,n,l)}finally{X.p=c,M.T=i}}function A3(e,t,n,l){var i=M.T;M.T=null;var c=X.p;try{X.p=8,xo(e,t,n,l)}finally{X.p=c,M.T=i}}function xo(e,t,n,l){if(Zc){var i=jo(l);if(i===null)co(e,t,l,Kc,n),Xf(e,l);else if(_3(i,e,t,n,l))l.stopPropagation();else if(Xf(e,l),t&4&&-1<C3.indexOf(e)){for(;i!==null;){var c=P(i);if(c!==null)switch(c.tag){case 3:if(c=c.stateNode,c.current.memoizedState.isDehydrated){var o=hn(c.pendingLanes);if(o!==0){var d=c;for(d.pendingLanes|=2,d.entangledLanes|=2;o;){var p=1<<31-Et(o);d.entanglements[1]|=p,o&=~p}sn(c),(Ue&6)===0&&(Ac=mt()+500,fi(0))}}break;case 31:case 13:d=Sl(c,2),d!==null&&_t(d,c,2),_c(),So(c,2)}if(c=jo(l),c===null&&co(e,t,l,Kc,n),c===i)break;i=c}i!==null&&l.stopPropagation()}else co(e,t,l,null,n)}}function jo(e){return e=Es(e),Eo(e)}var Kc=null;function Eo(e){if(Kc=null,e=H(e),e!==null){var t=y(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=z(t),e!==null)return e;e=null}else if(n===31){if(e=C(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Kc=e,null}function Yf(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(wa()){case Dn:return 2;case en:return 8;case rn:case _i:return 32;case fl:return 268435456;default:return 32}default:return 32}}var wo=!1,tl=null,nl=null,ll=null,vi=new Map,bi=new Map,al=[],C3="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 Xf(e,t){switch(e){case"focusin":case"focusout":tl=null;break;case"dragenter":case"dragleave":nl=null;break;case"mouseover":case"mouseout":ll=null;break;case"pointerover":case"pointerout":vi.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":bi.delete(t.pointerId)}}function Si(e,t,n,l,i,c){return e===null||e.nativeEvent!==c?(e={blockedOn:t,domEventName:n,eventSystemFlags:l,nativeEvent:c,targetContainers:[i]},t!==null&&(t=P(t),t!==null&&Gf(t)),e):(e.eventSystemFlags|=l,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function _3(e,t,n,l,i){switch(t){case"focusin":return tl=Si(tl,e,t,n,l,i),!0;case"dragenter":return nl=Si(nl,e,t,n,l,i),!0;case"mouseover":return ll=Si(ll,e,t,n,l,i),!0;case"pointerover":var c=i.pointerId;return vi.set(c,Si(vi.get(c)||null,e,t,n,l,i)),!0;case"gotpointercapture":return c=i.pointerId,bi.set(c,Si(bi.get(c)||null,e,t,n,l,i)),!0}return!1}function Qf(e){var t=H(e.target);if(t!==null){var n=y(t);if(n!==null){if(t=n.tag,t===13){if(t=z(n),t!==null){e.blockedOn=t,Hi(e.priority,function(){Vf(n)});return}}else if(t===31){if(t=C(n),t!==null){e.blockedOn=t,Hi(e.priority,function(){Vf(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function $c(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=jo(e.nativeEvent);if(n===null){n=e.nativeEvent;var l=new n.constructor(n.type,n);js=l,n.target.dispatchEvent(l),js=null}else return t=P(n),t!==null&&Gf(t),e.blockedOn=n,!1;t.shift()}return!0}function Zf(e,t,n){$c(e)&&n.delete(t)}function R3(){wo=!1,tl!==null&&$c(tl)&&(tl=null),nl!==null&&$c(nl)&&(nl=null),ll!==null&&$c(ll)&&(ll=null),vi.forEach(Zf),bi.forEach(Zf)}function Jc(e,t){e.blockedOn===t&&(e.blockedOn=null,wo||(wo=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,R3)))}var Fc=null;function Kf(e){Fc!==e&&(Fc=e,a.unstable_scheduleCallback(a.unstable_NormalPriority,function(){Fc===e&&(Fc=null);for(var t=0;t<e.length;t+=3){var n=e[t],l=e[t+1],i=e[t+2];if(typeof l!="function"){if(Eo(l||n)===null)continue;break}var c=P(n);c!==null&&(e.splice(t,3),t-=3,xu(c,{pending:!0,data:i,method:n.method,action:l},l,i))}}))}function xa(e){function t(p){return Jc(p,e)}tl!==null&&Jc(tl,e),nl!==null&&Jc(nl,e),ll!==null&&Jc(ll,e),vi.forEach(t),bi.forEach(t);for(var n=0;n<al.length;n++){var l=al[n];l.blockedOn===e&&(l.blockedOn=null)}for(;0<al.length&&(n=al[0],n.blockedOn===null);)Qf(n),n.blockedOn===null&&al.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(l=0;l<n.length;l+=3){var i=n[l],c=n[l+1],o=i[bt]||null;if(typeof c=="function")o||Kf(n);else if(o){var d=null;if(c&&c.hasAttribute("formAction")){if(i=c,o=c[bt]||null)d=o.formAction;else if(Eo(i)!==null)continue}else d=o.action;typeof d=="function"?n[l+1]=d:(n.splice(l,3),l-=3),Kf(n)}}}function $f(){function e(c){c.canIntercept&&c.info==="react-transition"&&c.intercept({handler:function(){return new Promise(function(o){return i=o})},focusReset:"manual",scroll:"manual"})}function t(){i!==null&&(i(),i=null),l||setTimeout(n,20)}function n(){if(!l&&!navigation.transition){var c=navigation.currentEntry;c&&c.url!=null&&navigation.navigate(c.url,{state:c.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var l=!1,i=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){l=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),i!==null&&(i(),i=null)}}}function No(e){this._internalRoot=e}Wc.prototype.render=No.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(r(409));var n=t.current,l=Ut();Bf(n,l,e,t,null,null)},Wc.prototype.unmount=No.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Bf(e.current,2,null,e,null,null),_c(),t[Hn]=null}};function Wc(e){this._internalRoot=e}Wc.prototype.unstable_scheduleHydration=function(e){if(e){var t=Li();e={blockedOn:null,target:e,priority:t};for(var n=0;n<al.length&&t!==0&&t<al[n].priority;n++);al.splice(n,0,e),n===0&&Qf(e)}};var Jf=u.version;if(Jf!=="19.2.6")throw Error(r(527,Jf,"19.2.6"));X.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(r(188)):(e=Object.keys(e).join(","),Error(r(268,e)));return e=m(t),e=e!==null?T(e):null,e=e===null?null:e.stateNode,e};var O3={bundleType:0,version:"19.2.6",rendererPackageName:"react-dom",currentDispatcherRef:M,reconcilerVersion:"19.2.6"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ic=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ic.isDisabled&&Ic.supportsFiber)try{fn=Ic.inject(O3),jt=Ic}catch{}}return ji.createRoot=function(e,t){if(!h(e))throw Error(r(299));var n=!1,l="",i=t0,c=n0,o=l0;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(l=t.identifierPrefix),t.onUncaughtError!==void 0&&(i=t.onUncaughtError),t.onCaughtError!==void 0&&(c=t.onCaughtError),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=kf(e,1,!1,null,null,n,l,null,i,c,o,$f),e[Hn]=t.current,io(e),new No(t)},ji.hydrateRoot=function(e,t,n){if(!h(e))throw Error(r(299));var l=!1,i="",c=t0,o=n0,d=l0,p=null;return n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onUncaughtError!==void 0&&(c=n.onUncaughtError),n.onCaughtError!==void 0&&(o=n.onCaughtError),n.onRecoverableError!==void 0&&(d=n.onRecoverableError),n.formState!==void 0&&(p=n.formState)),t=kf(e,1,!0,t,n??null,l,i,p,c,o,d,$f),t.context=Uf(null),n=t.current,l=Ut(),l=Ca(l),i=Yn(l),i.callback=null,Xn(n,i,l),n=l,t.current.lanes=n,ml(t,n),sn(t),e[Hn]=t.current,io(e),new Wc(t)},ji.version="19.2.6",ji}var i2;function Y3(){if(i2)return Mo.exports;i2=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(u){console.error(u)}}return a(),Mo.exports=V3(),Mo.exports}var X3=Y3();/**
|
|
50
50
|
* @license lucide-react v1.16.0 - ISC
|
|
51
51
|
*
|
|
52
52
|
* This source code is licensed under the ISC license.
|
|
@@ -56,17 +56,17 @@ Error generating stack: `+l.message+`
|
|
|
56
56
|
*
|
|
57
57
|
* This source code is licensed under the ISC license.
|
|
58
58
|
* See the LICENSE file in the root directory of this source tree.
|
|
59
|
-
*/const
|
|
59
|
+
*/const Q3=a=>a.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
|
|
60
60
|
* @license lucide-react v1.16.0 - ISC
|
|
61
61
|
*
|
|
62
62
|
* This source code is licensed under the ISC license.
|
|
63
63
|
* See the LICENSE file in the root directory of this source tree.
|
|
64
|
-
*/const
|
|
64
|
+
*/const Z3=a=>a.replace(/^([A-Z])|[\s-_]+(\w)/g,(u,f,r)=>r?r.toUpperCase():f.toLowerCase());/**
|
|
65
65
|
* @license lucide-react v1.16.0 - ISC
|
|
66
66
|
*
|
|
67
67
|
* This source code is licensed under the ISC license.
|
|
68
68
|
* See the LICENSE file in the root directory of this source tree.
|
|
69
|
-
*/const c2=a=>{const u=
|
|
69
|
+
*/const c2=a=>{const u=Z3(a);return u.charAt(0).toUpperCase()+u.slice(1)};/**
|
|
70
70
|
* @license lucide-react v1.16.0 - ISC
|
|
71
71
|
*
|
|
72
72
|
* This source code is licensed under the ISC license.
|
|
@@ -76,232 +76,232 @@ Error generating stack: `+l.message+`
|
|
|
76
76
|
*
|
|
77
77
|
* This source code is licensed under the ISC license.
|
|
78
78
|
* See the LICENSE file in the root directory of this source tree.
|
|
79
|
-
*/const
|
|
79
|
+
*/const K3=a=>{for(const u in a)if(u.startsWith("aria-")||u==="role"||u==="title")return!0;return!1},$3=N.createContext({}),J3=()=>N.useContext($3),F3=N.forwardRef(({color:a,size:u,strokeWidth:f,absoluteStrokeWidth:r,className:h="",children:y,iconNode:z,...C},x)=>{const{size:m=24,strokeWidth:T=2,absoluteStrokeWidth:D=!1,color:U="currentColor",className:B=""}=J3()??{},$=r??D?Number(f??T)*24/Number(u??m):f??T;return N.createElement("svg",{ref:x,...Ro,width:u??m??Ro.width,height:u??m??Ro.height,stroke:a??U,strokeWidth:$,className:H2("lucide",B,h),...!y&&!K3(C)&&{"aria-hidden":"true"},...C},[...z.map(([he,me])=>N.createElement(he,me)),...Array.isArray(y)?y:[y]])});/**
|
|
80
80
|
* @license lucide-react v1.16.0 - ISC
|
|
81
81
|
*
|
|
82
82
|
* This source code is licensed under the ISC license.
|
|
83
83
|
* See the LICENSE file in the root directory of this source tree.
|
|
84
|
-
*/const xe=(a,u)=>{const f=N.forwardRef(({className:r,...h},y)=>N.createElement(
|
|
84
|
+
*/const xe=(a,u)=>{const f=N.forwardRef(({className:r,...h},y)=>N.createElement(F3,{ref:y,iconNode:u,className:H2(`lucide-${Q3(c2(a))}`,`lucide-${a}`,r),...h}));return f.displayName=c2(a),f};/**
|
|
85
85
|
* @license lucide-react v1.16.0 - ISC
|
|
86
86
|
*
|
|
87
87
|
* This source code is licensed under the ISC license.
|
|
88
88
|
* See the LICENSE file in the root directory of this source tree.
|
|
89
|
-
*/const
|
|
89
|
+
*/const W3=[["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}],["path",{d:"M10 4v4",key:"pp8u80"}],["path",{d:"M2 8h20",key:"d11cs7"}],["path",{d:"M6 4v4",key:"1svtjw"}]],I3=xe("app-window",W3);/**
|
|
90
90
|
* @license lucide-react v1.16.0 - ISC
|
|
91
91
|
*
|
|
92
92
|
* This source code is licensed under the ISC license.
|
|
93
93
|
* See the LICENSE file in the root directory of this source tree.
|
|
94
|
-
*/const
|
|
94
|
+
*/const P3=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],k2=xe("arrow-right",P3);/**
|
|
95
95
|
* @license lucide-react v1.16.0 - ISC
|
|
96
96
|
*
|
|
97
97
|
* This source code is licensed under the ISC license.
|
|
98
98
|
* See the LICENSE file in the root directory of this source tree.
|
|
99
|
-
*/const
|
|
99
|
+
*/const eh=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],sl=xe("check",eh);/**
|
|
100
100
|
* @license lucide-react v1.16.0 - ISC
|
|
101
101
|
*
|
|
102
102
|
* This source code is licensed under the ISC license.
|
|
103
103
|
* See the LICENSE file in the root directory of this source tree.
|
|
104
|
-
*/const
|
|
104
|
+
*/const th=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Bl=xe("chevron-down",th);/**
|
|
105
105
|
* @license lucide-react v1.16.0 - ISC
|
|
106
106
|
*
|
|
107
107
|
* This source code is licensed under the ISC license.
|
|
108
108
|
* See the LICENSE file in the root directory of this source tree.
|
|
109
|
-
*/const
|
|
109
|
+
*/const nh=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],U2=xe("chevron-right",nh);/**
|
|
110
110
|
* @license lucide-react v1.16.0 - ISC
|
|
111
111
|
*
|
|
112
112
|
* This source code is licensed under the ISC license.
|
|
113
113
|
* See the LICENSE file in the root directory of this source tree.
|
|
114
|
-
*/const
|
|
114
|
+
*/const lh=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],ah=xe("chevron-up",lh);/**
|
|
115
115
|
* @license lucide-react v1.16.0 - ISC
|
|
116
116
|
*
|
|
117
117
|
* This source code is licensed under the ISC license.
|
|
118
118
|
* See the LICENSE file in the root directory of this source tree.
|
|
119
|
-
*/const
|
|
119
|
+
*/const ih=[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]],ch=xe("chevrons-up-down",ih);/**
|
|
120
120
|
* @license lucide-react v1.16.0 - ISC
|
|
121
121
|
*
|
|
122
122
|
* This source code is licensed under the ISC license.
|
|
123
123
|
* See the LICENSE file in the root directory of this source tree.
|
|
124
|
-
*/const
|
|
124
|
+
*/const sh=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],uh=xe("circle-alert",sh);/**
|
|
125
125
|
* @license lucide-react v1.16.0 - ISC
|
|
126
126
|
*
|
|
127
127
|
* This source code is licensed under the ISC license.
|
|
128
128
|
* See the LICENSE file in the root directory of this source tree.
|
|
129
|
-
*/const
|
|
129
|
+
*/const oh=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],$o=xe("circle-check",oh);/**
|
|
130
130
|
* @license lucide-react v1.16.0 - ISC
|
|
131
131
|
*
|
|
132
132
|
* This source code is licensed under the ISC license.
|
|
133
133
|
* See the LICENSE file in the root directory of this source tree.
|
|
134
|
-
*/const
|
|
134
|
+
*/const rh=[["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"}]],fh=xe("clipboard",rh);/**
|
|
135
135
|
* @license lucide-react v1.16.0 - ISC
|
|
136
136
|
*
|
|
137
137
|
* This source code is licensed under the ISC license.
|
|
138
138
|
* See the LICENSE file in the root directory of this source tree.
|
|
139
|
-
*/const
|
|
139
|
+
*/const dh=[["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"}]],cl=xe("code-xml",dh);/**
|
|
140
140
|
* @license lucide-react v1.16.0 - ISC
|
|
141
141
|
*
|
|
142
142
|
* This source code is licensed under the ISC license.
|
|
143
143
|
* See the LICENSE file in the root directory of this source tree.
|
|
144
|
-
*/const
|
|
144
|
+
*/const hh=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],mh=xe("copy",hh);/**
|
|
145
145
|
* @license lucide-react v1.16.0 - ISC
|
|
146
146
|
*
|
|
147
147
|
* This source code is licensed under the ISC license.
|
|
148
148
|
* See the LICENSE file in the root directory of this source tree.
|
|
149
|
-
*/const
|
|
149
|
+
*/const ph=[["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"}]],yh=xe("ellipsis",ph);/**
|
|
150
150
|
* @license lucide-react v1.16.0 - ISC
|
|
151
151
|
*
|
|
152
152
|
* This source code is licensed under the ISC license.
|
|
153
153
|
* See the LICENSE file in the root directory of this source tree.
|
|
154
|
-
*/const
|
|
154
|
+
*/const gh=[["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"}]],vh=xe("external-link",gh);/**
|
|
155
155
|
* @license lucide-react v1.16.0 - ISC
|
|
156
156
|
*
|
|
157
157
|
* This source code is licensed under the ISC license.
|
|
158
158
|
* See the LICENSE file in the root directory of this source tree.
|
|
159
|
-
*/const
|
|
159
|
+
*/const bh=[["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"}]],Sh=xe("file-braces-corner",bh);/**
|
|
160
160
|
* @license lucide-react v1.16.0 - ISC
|
|
161
161
|
*
|
|
162
162
|
* This source code is licensed under the ISC license.
|
|
163
163
|
* See the LICENSE file in the root directory of this source tree.
|
|
164
|
-
*/const
|
|
164
|
+
*/const xh=[["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"}]],Jo=xe("file-code-corner",xh);/**
|
|
165
165
|
* @license lucide-react v1.16.0 - ISC
|
|
166
166
|
*
|
|
167
167
|
* This source code is licensed under the ISC license.
|
|
168
168
|
* See the LICENSE file in the root directory of this source tree.
|
|
169
|
-
*/const
|
|
169
|
+
*/const jh=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["circle",{cx:"11.5",cy:"14.5",r:"2.5",key:"1bq0ko"}],["path",{d:"M13.3 16.3 15 18",key:"2quom7"}]],Eh=xe("file-search",jh);/**
|
|
170
170
|
* @license lucide-react v1.16.0 - ISC
|
|
171
171
|
*
|
|
172
172
|
* This source code is licensed under the ISC license.
|
|
173
173
|
* See the LICENSE file in the root directory of this source tree.
|
|
174
|
-
*/const
|
|
174
|
+
*/const wh=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],B2=xe("file-text",wh);/**
|
|
175
175
|
* @license lucide-react v1.16.0 - ISC
|
|
176
176
|
*
|
|
177
177
|
* This source code is licensed under the ISC license.
|
|
178
178
|
* See the LICENSE file in the root directory of this source tree.
|
|
179
|
-
*/const
|
|
179
|
+
*/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"}]],q2=xe("folder-open",Nh);/**
|
|
180
180
|
* @license lucide-react v1.16.0 - ISC
|
|
181
181
|
*
|
|
182
182
|
* This source code is licensed under the ISC license.
|
|
183
183
|
* See the LICENSE file in the root directory of this source tree.
|
|
184
|
-
*/const
|
|
184
|
+
*/const zh=[["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"}]],Th=xe("folder",zh);/**
|
|
185
185
|
* @license lucide-react v1.16.0 - ISC
|
|
186
186
|
*
|
|
187
187
|
* This source code is licensed under the ISC license.
|
|
188
188
|
* See the LICENSE file in the root directory of this source tree.
|
|
189
|
-
*/const
|
|
189
|
+
*/const Mh=[["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"}]],as=xe("git-branch",Mh);/**
|
|
190
190
|
* @license lucide-react v1.16.0 - ISC
|
|
191
191
|
*
|
|
192
192
|
* This source code is licensed under the ISC license.
|
|
193
193
|
* See the LICENSE file in the root directory of this source tree.
|
|
194
|
-
*/const
|
|
194
|
+
*/const Ah=[["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"}]],Ch=xe("git-commit-horizontal",Ah);/**
|
|
195
195
|
* @license lucide-react v1.16.0 - ISC
|
|
196
196
|
*
|
|
197
197
|
* This source code is licensed under the ISC license.
|
|
198
198
|
* See the LICENSE file in the root directory of this source tree.
|
|
199
|
-
*/const
|
|
199
|
+
*/const _h=[["circle",{cx:"12",cy:"9",r:"1",key:"124mty"}],["circle",{cx:"19",cy:"9",r:"1",key:"1ruzo2"}],["circle",{cx:"5",cy:"9",r:"1",key:"1a8b28"}],["circle",{cx:"12",cy:"15",r:"1",key:"1e56xg"}],["circle",{cx:"19",cy:"15",r:"1",key:"1a92ep"}],["circle",{cx:"5",cy:"15",r:"1",key:"5r1jwy"}]],Rh=xe("grip-horizontal",_h);/**
|
|
200
200
|
* @license lucide-react v1.16.0 - ISC
|
|
201
201
|
*
|
|
202
202
|
* This source code is licensed under the ISC license.
|
|
203
203
|
* See the LICENSE file in the root directory of this source tree.
|
|
204
|
-
*/const
|
|
204
|
+
*/const Oh=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],Fo=xe("loader-circle",Oh);/**
|
|
205
205
|
* @license lucide-react v1.16.0 - ISC
|
|
206
206
|
*
|
|
207
207
|
* This source code is licensed under the ISC license.
|
|
208
208
|
* See the LICENSE file in the root directory of this source tree.
|
|
209
|
-
*/const
|
|
209
|
+
*/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"}]],Lh=xe("message-square-plus",Dh);/**
|
|
210
210
|
* @license lucide-react v1.16.0 - ISC
|
|
211
211
|
*
|
|
212
212
|
* This source code is licensed under the ISC license.
|
|
213
213
|
* See the LICENSE file in the root directory of this source tree.
|
|
214
|
-
*/const
|
|
214
|
+
*/const Hh=[["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"}]],Hl=xe("message-square",Hh);/**
|
|
215
215
|
* @license lucide-react v1.16.0 - ISC
|
|
216
216
|
*
|
|
217
217
|
* This source code is licensed under the ISC license.
|
|
218
218
|
* See the LICENSE file in the root directory of this source tree.
|
|
219
|
-
*/const
|
|
219
|
+
*/const kh=[["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"}]],Uh=xe("monitor",kh);/**
|
|
220
220
|
* @license lucide-react v1.16.0 - ISC
|
|
221
221
|
*
|
|
222
222
|
* This source code is licensed under the ISC license.
|
|
223
223
|
* See the LICENSE file in the root directory of this source tree.
|
|
224
|
-
*/const
|
|
224
|
+
*/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=xe("moon",Bh);/**
|
|
225
225
|
* @license lucide-react v1.16.0 - ISC
|
|
226
226
|
*
|
|
227
227
|
* This source code is licensed under the ISC license.
|
|
228
228
|
* See the LICENSE file in the root directory of this source tree.
|
|
229
|
-
*/const
|
|
229
|
+
*/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"}]],Vh=xe("move-horizontal",Gh);/**
|
|
230
230
|
* @license lucide-react v1.16.0 - ISC
|
|
231
231
|
*
|
|
232
232
|
* This source code is licensed under the ISC license.
|
|
233
233
|
* See the LICENSE file in the root directory of this source tree.
|
|
234
|
-
*/const
|
|
234
|
+
*/const Yh=[["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=xe("panel-left-close",Yh);/**
|
|
235
235
|
* @license lucide-react v1.16.0 - ISC
|
|
236
236
|
*
|
|
237
237
|
* This source code is licensed under the ISC license.
|
|
238
238
|
* See the LICENSE file in the root directory of this source tree.
|
|
239
|
-
*/const
|
|
239
|
+
*/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"}]],Zh=xe("panel-left-open",Qh);/**
|
|
240
240
|
* @license lucide-react v1.16.0 - ISC
|
|
241
241
|
*
|
|
242
242
|
* This source code is licensed under the ISC license.
|
|
243
243
|
* See the LICENSE file in the root directory of this source tree.
|
|
244
|
-
*/const
|
|
244
|
+
*/const Kh=[["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"}]],$h=xe("play",Kh);/**
|
|
245
245
|
* @license lucide-react v1.16.0 - ISC
|
|
246
246
|
*
|
|
247
247
|
* This source code is licensed under the ISC license.
|
|
248
248
|
* See the LICENSE file in the root directory of this source tree.
|
|
249
|
-
*/const
|
|
249
|
+
*/const Jh=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],G2=xe("plus",Jh);/**
|
|
250
250
|
* @license lucide-react v1.16.0 - ISC
|
|
251
251
|
*
|
|
252
252
|
* This source code is licensed under the ISC license.
|
|
253
253
|
* See the LICENSE file in the root directory of this source tree.
|
|
254
|
-
*/const
|
|
254
|
+
*/const Fh=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],Wh=xe("search",Fh);/**
|
|
255
255
|
* @license lucide-react v1.16.0 - ISC
|
|
256
256
|
*
|
|
257
257
|
* This source code is licensed under the ISC license.
|
|
258
258
|
* See the LICENSE file in the root directory of this source tree.
|
|
259
|
-
*/const
|
|
259
|
+
*/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=xe("send",Ih);/**
|
|
260
260
|
* @license lucide-react v1.16.0 - ISC
|
|
261
261
|
*
|
|
262
262
|
* This source code is licensed under the ISC license.
|
|
263
263
|
* See the LICENSE file in the root directory of this source tree.
|
|
264
|
-
*/const
|
|
264
|
+
*/const em=[["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"}]],tm=xe("sliders-horizontal",em);/**
|
|
265
265
|
* @license lucide-react v1.16.0 - ISC
|
|
266
266
|
*
|
|
267
267
|
* This source code is licensed under the ISC license.
|
|
268
268
|
* See the LICENSE file in the root directory of this source tree.
|
|
269
|
-
*/const
|
|
269
|
+
*/const nm=[["path",{d:"m7 11 2-2-2-2",key:"1lz0vl"}],["path",{d:"M11 13h4",key:"1p7l4v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}]],lm=xe("square-terminal",nm);/**
|
|
270
270
|
* @license lucide-react v1.16.0 - ISC
|
|
271
271
|
*
|
|
272
272
|
* This source code is licensed under the ISC license.
|
|
273
273
|
* See the LICENSE file in the root directory of this source tree.
|
|
274
|
-
*/const
|
|
274
|
+
*/const am=[["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"}]],im=xe("sun",am);/**
|
|
275
275
|
* @license lucide-react v1.16.0 - ISC
|
|
276
276
|
*
|
|
277
277
|
* This source code is licensed under the ISC license.
|
|
278
278
|
* See the LICENSE file in the root directory of this source tree.
|
|
279
|
-
*/const
|
|
279
|
+
*/const cm=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],Vo=xe("terminal",cm);/**
|
|
280
280
|
* @license lucide-react v1.16.0 - ISC
|
|
281
281
|
*
|
|
282
282
|
* This source code is licensed under the ISC license.
|
|
283
283
|
* See the LICENSE file in the root directory of this source tree.
|
|
284
|
-
*/const
|
|
284
|
+
*/const sm=[["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"}]],V2=xe("text-wrap",sm);/**
|
|
285
285
|
* @license lucide-react v1.16.0 - ISC
|
|
286
286
|
*
|
|
287
287
|
* This source code is licensed under the ISC license.
|
|
288
288
|
* See the LICENSE file in the root directory of this source tree.
|
|
289
|
-
*/const
|
|
289
|
+
*/const um=[["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"}]],ns=xe("trash-2",um);/**
|
|
290
290
|
* @license lucide-react v1.16.0 - ISC
|
|
291
291
|
*
|
|
292
292
|
* This source code is licensed under the ISC license.
|
|
293
293
|
* See the LICENSE file in the root directory of this source tree.
|
|
294
|
-
*/const um=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Ci=xe("x",um);function zi(a){return a.kind===void 0||a.kind==="line"}function Ti(a,u={}){const f=Math.min(a.startLine,a.endLine),r=Math.max(a.startLine,a.endLine);if(f===r)return`${a.side}${f}`;const h=u.repeatSideOnEnd===!1?"":a.side;return`${a.side}${f}-${h}${r}`}function om(a,u=[]){const f=(a==null?void 0:a.comments)??[],r=new Set(u.map(y=>y.commentId)),h=f.filter(y=>r.has(y.id)).length;return{total:f.length,resolved:h,open:f.length-h}}function Y2(a){var u;return om(a.feedback,((u=a.resolution)==null?void 0:u.comments)??[])}const rm="brew install iamrajjoshi/tap/gloss",fm="npm install -g getgloss",dm="gloss open --json",Oo="npx getgloss open --json",s2="npx skills add iamrajjoshi/gloss --skill gloss -g -a claude-code",hm={side:"R",startLine:45,endLine:45},mm=[{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"}],u2=[{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 pm(a){return a.startLine===a.endLine?`Comment on line ${Ti(a)}`:`Comment on range ${Ti(a)}`}function ym(a,u){const f=typeof crypto<"u"&&"randomUUID"in crypto?crypto.randomUUID():`${Date.now()}-${Math.random().toString(16).slice(2)}`;return{...u,id:f,body:a,createdAt:new Date().toISOString()}}function Yo({value:a,label:u}){const[f,r]=N.useState(!1);return s.jsxs("button",{className:"marketing-copy",type:"button",onClick:async()=>{await navigator.clipboard.writeText(a),r(!0),window.setTimeout(()=>r(!1),1400)},children:[f?s.jsx(sl,{size:15}):s.jsx(rh,{size:15}),s.jsx("span",{children:f?"Copied":u})]})}function Pc({command:a}){return s.jsxs("div",{className:"command-line",children:[s.jsx("span",{children:"$"}),s.jsx("code",{children:a}),s.jsx(Yo,{value:a,label:"Copy"})]})}function gm(){const[a,u]=N.useState(!0),[f,r]=N.useState(hm),[h,y]=N.useState(!1),[z,C]=N.useState(null),[x,m]=N.useState(""),[T,D]=N.useState(mm),[U,B]=N.useState("idle"),$=U==="submitted",he=T.find(q=>q.id===z),me=pm(f),Z=x.trim(),je=`${T.length} review comment${T.length===1?"":"s"}`,re=$?[{marker:"✓",text:"review.submitted received"},{marker:"→",text:"reading ~/.gloss/reviews/01KS5/feedback.json"},{marker:"→",text:`applying ${je}`},{marker:"→",text:"running pnpm check"}]:[{marker:"$",text:"gloss open --json"},{marker:"→",text:"captured 4 files, +128 -31"},{marker:"→",text:"waiting for review.submitted"}],K=a?u2:u2.filter(q=>!q.hiddenUntilExpanded),fe=N.useMemo(()=>JSON.stringify({reviewId:"01KS5...",comments:T.map(q=>({filePath:"src/web/routes/Home.tsx",side:q.side,startLine:q.startLine,endLine:q.endLine,body:q.body}))},null,2),[T]),oe=(q,ie)=>f.side===q&&f.startLine===ie&&f.endLine===ie,W=q=>{r(q),C(null),m(""),y(!0),B("idle")},be=q=>{r({side:q.side,startLine:q.startLine,endLine:q.endLine}),C(q.id),m(q.body),y(!0),B("idle")},Oe=()=>{Z&&(D(q=>z?q.map(ie=>ie.id===z?{...ie,body:Z}:ie):[...q,ym(Z,f)]),m(""),C(null),y(!1),B("idle"))},G=q=>{D(ie=>ie.filter(ae=>ae.id!==q)),z===q&&(C(null),m(""),y(!1)),B("idle")},I=(q,ie)=>T.filter(ae=>ae.side===q&&Math.max(ae.startLine,ae.endLine)===ie&&Math.min(ae.startLine,ae.endLine)===ie);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(as,{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(Vo,{size:14}),s.jsx("span",{children:"agent terminal"})]}),s.jsx("div",{className:"terminal-lines",children:re.map(q=>s.jsxs("p",{children:[s.jsx("span",{children:q.marker})," ",q.text]},q.text))})]}),s.jsxs("div",{className:"scene-review",children:[s.jsxs("button",{className:"scene-file-header",type:"button",children:[s.jsx(Bl,{size:16}),s.jsx(cl,{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:()=>u(q=>!q),children:a?"Hide unchanged context":"194 unmodified lines"}),s.jsx("div",{className:"scene-hunk",children:"@@ -38,11 +38,20 @@ export function Home()"}),K.map(q=>{const ie=q.side==="L"?q.oldLine:q.newLine;if(ie==null)return null;const ae=oe(q.side,ie),De=$&&(q.key==="skip-review"||q.key==="skip-status"),M=$&&["apply-feedback","resolve-threads","run-checks"].includes(q.key);return s.jsxs("div",{children:[s.jsxs("button",{className:`scene-row ${q.tone} ${q.hiddenUntilExpanded?"dimmed":""} ${ae?"selected":""} ${De?"agent-dimmed":""} ${M?"agent-applied":""}`,type:"button","aria-pressed":ae,onClick:()=>W({side:q.side,startLine:ie,endLine:ie}),children:[s.jsx("span",{children:q.oldLine??""}),s.jsx("span",{children:q.newLine??""}),s.jsx("code",{children:q.code||" "})]}),$&&q.key==="apply-feedback"?s.jsxs("div",{className:"scene-applied-status",children:[s.jsx(sl,{size:13}),s.jsx("span",{children:"applied by agent"})]}):null,s.jsx(vm,{comments:I(q.side,ie),onOpen:be,onRemove:G}),h&&f.side===q.side&&f.endLine===ie?s.jsxs("div",{className:"scene-composer",children:[s.jsxs("div",{className:"scene-composer-title",children:[s.jsx("strong",{children:he?"Review comment":"New local comment"}),s.jsx("span",{children:me})]}),s.jsx("textarea",{"aria-label":me,placeholder:"Request change",value:x,onChange:X=>m(X.target.value)}),s.jsxs("div",{className:"scene-composer-actions",children:[s.jsx("button",{className:"scene-secondary-action",type:"button",onClick:()=>{m(""),C(null),y(!1)},children:"Cancel"}),s.jsx("button",{type:"button",disabled:!Z,onClick:Oe,children:he?"Update":"Comment"})]})]}):null]},q.key)})]}),s.jsx("div",{className:"scene-feedback",children:$?s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:"feedback-title",children:[s.jsx(Vo,{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(q=>s.jsxs("li",{children:[s.jsx(sl,{size:13}),s.jsx("span",{children:q})]},q))})]})]}):s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:"feedback-title",children:[s.jsx(bh,{size:15}),s.jsx("span",{children:"~/.gloss/reviews/01KS5/feedback.json"})]}),s.jsx("pre",{children:fe})]})})]}),s.jsxs("div",{className:"scene-submit",children:[s.jsx("span",{children:T.length===0?"No local comments yet":$?"Sent to agent":`${T.length} local comment${T.length===1?"":"s"} ready`}),s.jsxs("button",{type:"button",disabled:T.length===0,onClick:()=>B("submitted"),children:[$?s.jsx(sl,{size:14}):s.jsx(Kh,{size:14}),$?"Sent to agent":"Submit review"]})]})]})}function vm({comments:a,onOpen:u,onRemove:f}){return a.map(r=>s.jsxs("div",{className:"scene-inline-comment",children:[s.jsxs("button",{className:"scene-inline-comment-body",type:"button",onClick:()=>u(r),children:[s.jsx(Hl,{size:14}),s.jsx("span",{children:r.body})]}),s.jsx("button",{className:"scene-inline-comment-remove",type:"button",title:`Remove comment on ${r.side}${r.startLine}`,onClick:()=>f(r.id),children:s.jsx(ns,{size:13})})]},r.id))}function Ei({step:a,title:u,body:f}){return s.jsxs("div",{className:"workflow-step",children:[s.jsx("span",{children:a}),s.jsxs("div",{children:[s.jsx("h3",{children:u}),s.jsx("p",{children:f})]})]})}function bm(){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 Sm(){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(k2,{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:Oo}),s.jsx(Yo,{value:Oo,label:"Copy command"})]})]}),s.jsx(gm,{})]}),s.jsx(bm,{}),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(Pc,{command:rm}),s.jsx(Pc,{command:fm}),s.jsx(Pc,{command:dm}),s.jsx(Pc,{command:Oo})]}),s.jsxs("div",{className:"agent-prompt",children:[s.jsxs("div",{className:"agent-prompt-label",children:[s.jsx(Vo,{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:s2}),s.jsx(Yo,{value:s2,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(Ei,{step:"01",title:"Open a review",body:"The agent runs `gloss open --json`."}),s.jsx(Ei,{step:"02",title:"Wait",body:"Gloss blocks while you review the diff."}),s.jsx(Ei,{step:"03",title:"Receive feedback",body:"The agent reads `feedbackPath`."}),s.jsx(Ei,{step:"04",title:"Fix and validate",body:"The agent applies comments and runs checks."}),s.jsx(Ei,{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
|
|
294
|
+
*/const om=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Ci=xe("x",om);function zi(a){return a.kind===void 0||a.kind==="line"}function Ti(a,u={}){const f=Math.min(a.startLine,a.endLine),r=Math.max(a.startLine,a.endLine);if(f===r)return`${a.side}${f}`;const h=u.repeatSideOnEnd===!1?"":a.side;return`${a.side}${f}-${h}${r}`}function rm(a,u=[]){const f=(a==null?void 0:a.comments)??[],r=new Set(u.map(y=>y.commentId)),h=f.filter(y=>r.has(y.id)).length;return{total:f.length,resolved:h,open:f.length-h}}function Y2(a){var u;return rm(a.feedback,((u=a.resolution)==null?void 0:u.comments)??[])}const fm="brew install iamrajjoshi/tap/gloss",dm="npm install -g getgloss",hm="gloss open --json",Oo="npx getgloss open --json",s2="npx skills add iamrajjoshi/gloss --skill gloss -g -a claude-code",mm={side:"R",startLine:45,endLine:45},pm=[{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"}],u2=[{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 ym(a){return a.startLine===a.endLine?`Comment on line ${Ti(a)}`:`Comment on range ${Ti(a)}`}function gm(a,u){const f=typeof crypto<"u"&&"randomUUID"in crypto?crypto.randomUUID():`${Date.now()}-${Math.random().toString(16).slice(2)}`;return{...u,id:f,body:a,createdAt:new Date().toISOString()}}function Yo({value:a,label:u}){const[f,r]=N.useState(!1);return s.jsxs("button",{className:"marketing-copy",type:"button",onClick:async()=>{await navigator.clipboard.writeText(a),r(!0),window.setTimeout(()=>r(!1),1400)},children:[f?s.jsx(sl,{size:15}):s.jsx(fh,{size:15}),s.jsx("span",{children:f?"Copied":u})]})}function Pc({command:a}){return s.jsxs("div",{className:"command-line",children:[s.jsx("span",{children:"$"}),s.jsx("code",{children:a}),s.jsx(Yo,{value:a,label:"Copy"})]})}function vm(){const[a,u]=N.useState(!0),[f,r]=N.useState(mm),[h,y]=N.useState(!1),[z,C]=N.useState(null),[x,m]=N.useState(""),[T,D]=N.useState(pm),[U,B]=N.useState("idle"),$=U==="submitted",he=T.find(q=>q.id===z),me=ym(f),Z=x.trim(),je=`${T.length} review comment${T.length===1?"":"s"}`,re=$?[{marker:"✓",text:"review.submitted received"},{marker:"→",text:"reading ~/.gloss/reviews/01KS5/feedback.json"},{marker:"→",text:`applying ${je}`},{marker:"→",text:"running pnpm check"}]:[{marker:"$",text:"gloss open --json"},{marker:"→",text:"captured 4 files, +128 -31"},{marker:"→",text:"waiting for review.submitted"}],K=a?u2:u2.filter(q=>!q.hiddenUntilExpanded),fe=N.useMemo(()=>JSON.stringify({reviewId:"01KS5...",comments:T.map(q=>({filePath:"src/web/routes/Home.tsx",side:q.side,startLine:q.startLine,endLine:q.endLine,body:q.body}))},null,2),[T]),oe=(q,ie)=>f.side===q&&f.startLine===ie&&f.endLine===ie,W=q=>{r(q),C(null),m(""),y(!0),B("idle")},be=q=>{r({side:q.side,startLine:q.startLine,endLine:q.endLine}),C(q.id),m(q.body),y(!0),B("idle")},Oe=()=>{Z&&(D(q=>z?q.map(ie=>ie.id===z?{...ie,body:Z}:ie):[...q,gm(Z,f)]),m(""),C(null),y(!1),B("idle"))},G=q=>{D(ie=>ie.filter(ae=>ae.id!==q)),z===q&&(C(null),m(""),y(!1)),B("idle")},I=(q,ie)=>T.filter(ae=>ae.side===q&&Math.max(ae.startLine,ae.endLine)===ie&&Math.min(ae.startLine,ae.endLine)===ie);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(as,{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(Vo,{size:14}),s.jsx("span",{children:"agent terminal"})]}),s.jsx("div",{className:"terminal-lines",children:re.map(q=>s.jsxs("p",{children:[s.jsx("span",{children:q.marker})," ",q.text]},q.text))})]}),s.jsxs("div",{className:"scene-review",children:[s.jsxs("button",{className:"scene-file-header",type:"button",children:[s.jsx(Bl,{size:16}),s.jsx(cl,{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:()=>u(q=>!q),children:a?"Hide unchanged context":"194 unmodified lines"}),s.jsx("div",{className:"scene-hunk",children:"@@ -38,11 +38,20 @@ export function Home()"}),K.map(q=>{const ie=q.side==="L"?q.oldLine:q.newLine;if(ie==null)return null;const ae=oe(q.side,ie),De=$&&(q.key==="skip-review"||q.key==="skip-status"),M=$&&["apply-feedback","resolve-threads","run-checks"].includes(q.key);return s.jsxs("div",{children:[s.jsxs("button",{className:`scene-row ${q.tone} ${q.hiddenUntilExpanded?"dimmed":""} ${ae?"selected":""} ${De?"agent-dimmed":""} ${M?"agent-applied":""}`,type:"button","aria-pressed":ae,onClick:()=>W({side:q.side,startLine:ie,endLine:ie}),children:[s.jsx("span",{children:q.oldLine??""}),s.jsx("span",{children:q.newLine??""}),s.jsx("code",{children:q.code||" "})]}),$&&q.key==="apply-feedback"?s.jsxs("div",{className:"scene-applied-status",children:[s.jsx(sl,{size:13}),s.jsx("span",{children:"applied by agent"})]}):null,s.jsx(bm,{comments:I(q.side,ie),onOpen:be,onRemove:G}),h&&f.side===q.side&&f.endLine===ie?s.jsxs("div",{className:"scene-composer",children:[s.jsxs("div",{className:"scene-composer-title",children:[s.jsx("strong",{children:he?"Review comment":"New local comment"}),s.jsx("span",{children:me})]}),s.jsx("textarea",{"aria-label":me,placeholder:"Request change",value:x,onChange:X=>m(X.target.value)}),s.jsxs("div",{className:"scene-composer-actions",children:[s.jsx("button",{className:"scene-secondary-action",type:"button",onClick:()=>{m(""),C(null),y(!1)},children:"Cancel"}),s.jsx("button",{type:"button",disabled:!Z,onClick:Oe,children:he?"Update":"Comment"})]})]}):null]},q.key)})]}),s.jsx("div",{className:"scene-feedback",children:$?s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:"feedback-title",children:[s.jsx(Vo,{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(q=>s.jsxs("li",{children:[s.jsx(sl,{size:13}),s.jsx("span",{children:q})]},q))})]})]}):s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:"feedback-title",children:[s.jsx(Sh,{size:15}),s.jsx("span",{children:"~/.gloss/reviews/01KS5/feedback.json"})]}),s.jsx("pre",{children:fe})]})})]}),s.jsxs("div",{className:"scene-submit",children:[s.jsx("span",{children:T.length===0?"No local comments yet":$?"Sent to agent":`${T.length} local comment${T.length===1?"":"s"} ready`}),s.jsxs("button",{type:"button",disabled:T.length===0,onClick:()=>B("submitted"),children:[$?s.jsx(sl,{size:14}):s.jsx($h,{size:14}),$?"Sent to agent":"Submit review"]})]})]})}function bm({comments:a,onOpen:u,onRemove:f}){return a.map(r=>s.jsxs("div",{className:"scene-inline-comment",children:[s.jsxs("button",{className:"scene-inline-comment-body",type:"button",onClick:()=>u(r),children:[s.jsx(Hl,{size:14}),s.jsx("span",{children:r.body})]}),s.jsx("button",{className:"scene-inline-comment-remove",type:"button",title:`Remove comment on ${r.side}${r.startLine}`,onClick:()=>f(r.id),children:s.jsx(ns,{size:13})})]},r.id))}function Ei({step:a,title:u,body:f}){return s.jsxs("div",{className:"workflow-step",children:[s.jsx("span",{children:a}),s.jsxs("div",{children:[s.jsx("h3",{children:u}),s.jsx("p",{children:f})]})]})}function Sm(){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 xm(){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(k2,{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:Oo}),s.jsx(Yo,{value:Oo,label:"Copy command"})]})]}),s.jsx(vm,{})]}),s.jsx(Sm,{}),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(Pc,{command:fm}),s.jsx(Pc,{command:dm}),s.jsx(Pc,{command:hm}),s.jsx(Pc,{command:Oo})]}),s.jsxs("div",{className:"agent-prompt",children:[s.jsxs("div",{className:"agent-prompt-label",children:[s.jsx(Vo,{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:s2}),s.jsx(Yo,{value:s2,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(Ei,{step:"01",title:"Open a review",body:"The agent runs `gloss open --json`."}),s.jsx(Ei,{step:"02",title:"Wait",body:"Gloss blocks while you review the diff."}),s.jsx(Ei,{step:"03",title:"Receive feedback",body:"The agent reads `feedbackPath`."}),s.jsx(Ei,{step:"04",title:"Fix and validate",body:"The agent applies comments and runs checks."}),s.jsx(Ei,{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
|
|
295
295
|
~/.gloss/reviews/<reviewId>/feedback.md
|
|
296
|
-
~/.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(as,{size:16}),s.jsx("span",{children:"GitHub"})]})})]})}var Mi=L2();const xm=["lockfiles","snapshots","generated","vendored"],X2=[{id:"lockfiles",label:"Lockfiles"},{id:"snapshots",label:"Snapshots"},{id:"generated",label:"Generated"},{id:"vendored",label:"Vendored"}],jm=new Set(["package-lock.json","pnpm-lock.yaml","yarn.lock","Cargo.lock","Gemfile.lock","Pipfile.lock","poetry.lock","uv.lock","go.sum","composer.lock","mix.lock","flake.lock","deno.lock","Podfile.lock"]),Em=["@generated","Code generated","DO NOT EDIT","automatically generated"];function Q2(a){const u=new Set,f=[a.path,a.oldPath].filter(r=>!!r);return f.some(Tm)&&u.add("lockfiles"),f.some(Mm)&&u.add("snapshots"),(f.some(Am)||_m(a))&&u.add("generated"),f.some(Cm)&&u.add("vendored"),u}function wm(a,u){if(u.size===0)return!1;const f=Q2(a);for(const r of u)if(f.has(r))return!0;return!1}function Nm(a,u){if(u.size===0)return{files:a,hidden:[]};const f=[],r=[];for(const h of a)(wm(h,u)?r:f).push(h);return{files:f,hidden:r}}function zm(a){if(!Array.isArray(a))return new Set;const u=new Set(xm);return new Set(a.filter(f=>u.has(String(f))))}function Tm(a){const u=Wo(a);return jm.has(u)||/^bun\.lock/.test(u)}function Mm(a){const u=os(a),f=Wo(u);return u.split("/").includes("__snapshots__")||/\.snap(?:\.|$)/.test(f)||/\.snapshot(?:\.|$)/.test(f)}function Am(a){const u=os(a),f=Wo(u),r=u.split("/");return r.includes("__generated__")||r.includes("generated")||/\.generated\./.test(f)||/\.gen\./.test(f)||/\.pb\./.test(f)}function Cm(a){const u=os(a).split("/");return u.includes("vendor")||u.includes("vendors")||u.includes("third_party")||u.includes("third-party")||u.includes("external")||u.includes("node_modules")||u.includes("bower_components")||u.includes("Pods")||u.includes("Carthage")||Om(u,[".yarn","cache"])}function _m(a){for(const u of a.hunks)for(const f of u.lines)if(Rm(f.content))return!0;return!1}function Rm(a){const u=a.trim(),f=u.toLowerCase();return/^(\/\/|#|\/\*|\*|<!--|;|--)/.test(u)?Em.some(r=>f.includes(r.toLowerCase())):!1}function Om(a,u){return a.some((f,r)=>u.every((h,y)=>a[r+y]===h))}function os(a){return a.replace(/\\/g,"/")}function Wo(a){return os(a).split("/").pop()??a}function Z2(a,u,f="",r=""){return a.localeCompare(u,void 0,{sensitivity:"base"})||a.localeCompare(u)||f.localeCompare(r,void 0,{sensitivity:"base"})||f.localeCompare(r)}function Dm(a,u){return Z2(a.path,u.path,a.oldPath??"",u.oldPath??"")}function Lm(a){return a.toSorted(Dm)}const Hm={mode:"all"};function km(a=Hm,u=[]){if(a.mode==="all")return"All commits";if(a.mode==="single"){const h=u.find(y=>y.commit.sha===a.sha);return h?`${h.commit.shortSha} ${h.commit.subject}`:`Commit ${Do(a.sha)}`}const f=u.findIndex(h=>h.commit.sha===a.fromSha),r=u.findIndex(h=>h.commit.sha===a.toSha);return f>=0&&r>=f?`${r-f+1} commits · ${u[f].commit.shortSha} to ${u[r].commit.shortSha}`:`Commit range ${Do(a.fromSha)} to ${Do(a.toSha)}`}function Do(a){return a.slice(0,7)}function o2(a){var f;const u=(f=a.meta.branch??a.diff.branch)==null?void 0:f.trim();return u||Um(a.diff)}function Um(a){switch(a.scope.mode){case"branch":return"Branch diff";case"explicit":return`Diff against ${a.scope.requestedBase??a.base.ref}`;case"working":return"Working changes"}}function Bm(a){return a==="submitted"||a==="resolved"}const qm=["L","R"],Gm=["pending","submitted","cancelled","resolved"],Vm=["context","add","delete"],Ym=["working","branch","explicit"],Xm=["working-tree-clean","missing-branch-base"],Qm=500,Zm=240,Km=["import","same-file","repo-search","module"],$m=["all","single","range"],Jm=["partial","resolved"],Fm=["review-resolved","comment-resolved","comment-reopened","turn-created"],Wm=["default","vscode","vscode-insiders","vscodium","cursor","sublime","zed","windsurf","webstorm","intellij","pycharm","goland","phpstorm","rubymine","clion","datagrip","android-studio","fleet","neovide","macvim","emacs","lapce","textmate","bbedit","coteditor","nova","textedit","xcode","terminal","iterm2","ghostty","folder"];function Im(a,u,f){const r=JSON.parse(a);return K2(r,u,f)}function K2(a,u,f){if(!u(a))throw new Error(`Invalid ${f}`);return a}function Pm(a){return ke(a)&&te(a.reviewId)&&ut(a.turnId)&&Ea(a.turnIndex)&&te(a.url)&&We(a.files)&&Ea(a.comments)&&ut(a.feedbackPath)&&ut(a.markdownPath)&&ut(a.artifactDir)}function e5(a){return ke(a)&&a.ok===!0&&te(a.path)}function t5(a){return ke(a)&&Jt(a.targets,E5)}function n5(a){return ke(a)&&te(a.filePath)&&te(a.content)}function l5(a){return ke(a)&&te(a.fromSha)&&te(a.toSha)&&fs(a.stats)&&te(a.rawDiff)&&Jt(a.files,Io)}function a5(a){return ke(a)&&te(a.filePath)&&kl(a.oldStart)&&kl(a.newStart)&&Jt(a.lines,I2)}function i5(a){return ke(a)&&te(a.symbol)&&te(a.targetSymbol)&&te(a.filePath)&&kl(a.startLine)&&kl(a.line)&&N5(a.column)&&un(a.language)&&te(a.content)&&Pt(a.truncated)&&kl(a.totalLines)&&Pt(a.hasMoreAbove)&&Pt(a.hasMoreBelow)&&x5(a.matchReason)}function c5(a){return ke(a)&&te(a.filePath)&&kl(a.startLine)&&kl(a.totalLines)&&te(a.content)&&Pt(a.truncated)&&Pt(a.hasMoreAbove)&&Pt(a.hasMoreBelow)}function s5(a){return ke(a)&&o5(a.meta)&&Jt(a.turns,d5)&&$2(a.diff)&&Ul(a.feedback,J2)&&Ul(a.resolution,F2)}function u5(a){return ke(a)&&te(a.id)&&te(a.cwd)&&rs(a.base)&&un(a.branch)&&Po(a.status)&&te(a.createdAt)&&ut(a.submittedAt)&&ut(a.resolvedAt)&&ut(a.artifactDir)&&ut(a.activeTurnId)&&Ul(a.turns,u=>Jt(u,f5))&&ut(a.feedbackPath)&&ut(a.markdownPath)}function o5(a){return u5(a)&&te(a.artifactDir)}function $2(a){return ke(a)&&rs(a.base)&&un(a.branch)&&te(a.cwd)&&h5(a.scope)&&fs(a.stats)&&te(a.rawDiff)&&Jt(a.files,Io)&&Ul(a.commitDiffs,u=>Jt(u,y5))&&te(a.capturedAt)}function J2(a){return ke(a)&&a.version===1&&te(a.reviewId)&&ut(a.turnId)&&Ea(a.turnIndex)&&te(a.timestamp)&&rs(a.base)&&un(a.branch)&&Ul(a.reviewScope,g5)&&Jt(a.comments,b5)}function F2(a){return ke(a)&&te(a.reviewId)&&ut(a.turnId)&&Ea(a.turnIndex)&&ed(a.status)&&un(a.summary)&&un(a.resolvedAt)&&Jt(a.comments,S5)}function r5(a){if(!ke(a)||!te(a.reviewId)||!te(a.type))return!1;switch(a.type){case"review.opened":case"review.cancelled":return!0;case"review.turn.created":return te(a.turnId)&&We(a.turnIndex)&&Pt(a.reused);case"review.submitted":return ut(a.turnId)&&Ea(a.turnIndex)&&ke(a.counts)&&We(a.counts.files)&&We(a.counts.comments);case"review.updated":return ut(a.turnId)&&Ea(a.turnIndex)&&w5(a.reason)&&Po(a.status)&&ed(a.resolutionStatus)&&P2(a.counts);default:return!1}}function W2(a){return ke(a)&&te(a.id)&&We(a.index)&&Po(a.status)&&te(a.createdAt)&&ut(a.submittedAt)&&ut(a.resolvedAt)&&te(a.artifactDir)&&te(a.diffPath)&&ut(a.feedbackPath)&&ut(a.markdownPath)&&ut(a.resolvedPath)}function f5(a){return!ke(a)||!W2(a)?!1:te(a.capturedAt)&&fs(a.stats)&&P2(a.comments)}function d5(a){return!ke(a)||!W2(a)?!1:$2(a.diff)&&Ul(a.feedback,J2)&&Ul(a.resolution,F2)}function h5(a){return ke(a)&&on(a.mode,Ym)&&un(a.requestedBase)&&rs(a.base)&&m5(a.comparison)&&(a.fallbackReason===null||on(a.fallbackReason,Xm))}function m5(a){return ke(a)&&te(a.ref)&&un(a.sha)}function rs(a){return ke(a)&&te(a.ref)&&te(a.sha)}function fs(a){return ke(a)&&We(a.files)&&We(a.additions)&&We(a.deletions)}function p5(a){return ke(a)&&te(a.sha)&&te(a.shortSha)&&te(a.subject)&&te(a.authorName)&&te(a.authorEmail)&&te(a.authoredAt)&&te(a.committedAt)}function y5(a){return ke(a)&&p5(a.commit)&&fs(a.stats)&&te(a.rawDiff)&&Jt(a.files,Io)}function g5(a){if(!ke(a)||!on(a.mode,$m))return!1;switch(a.mode){case"all":return!0;case"single":return te(a.sha);case"range":return te(a.fromSha)&&te(a.toSha)}}function Io(a){return ke(a)&&te(a.path)&&un(a.oldPath)&&We(a.additions)&&We(a.deletions)&&Pt(a.isBinary)&&Pt(a.isDeleted)&&Pt(a.isNew)&&Pt(a.isRenamed)&&un(a.language)&&Jt(a.hunks,v5)}function v5(a){return ke(a)&&We(a.oldStart)&&We(a.oldLines)&&We(a.newStart)&&We(a.newLines)&&te(a.header)&&Jt(a.lines,I2)}function I2(a){return ke(a)&&on(a.type,Vm)&&r2(a.oldLine)&&r2(a.newLine)&&te(a.content)}function b5(a){return ke(a)?a.kind==="general"?te(a.id)&&te(a.body)&&te(a.createdAt):te(a.id)&&(a.kind===void 0||a.kind==="line")&&te(a.filePath)&&We(a.startLine)&&We(a.endLine)&&on(a.side,qm)&&te(a.body)&&te(a.originalSnippet)&&te(a.createdAt):!1}function S5(a){return ke(a)&&te(a.commentId)&&a.status==="resolved"&&ut(a.summary)&&te(a.resolvedAt)}function P2(a){return ke(a)&&We(a.total)&&We(a.resolved)&&We(a.open)}function Po(a){return on(a,Gm)}function ed(a){return on(a,Jm)}function x5(a){return on(a,Km)}function j5(a){return on(a,Wm)}function E5(a){return ke(a)&&j5(a.target)&&te(a.label)}function w5(a){return on(a,Fm)}function ke(a){return typeof a=="object"&&a!==null&&!Array.isArray(a)}function Jt(a,u){return Array.isArray(a)&&a.every(u)}function Ul(a,u){return a===void 0||u(a)}function te(a){return typeof a=="string"}function ut(a){return a===void 0||te(a)}function un(a){return a===null||te(a)}function We(a){return typeof a=="number"&&Number.isFinite(a)}function kl(a){return We(a)&&Number.isInteger(a)&&a>0}function N5(a){return We(a)&&Number.isInteger(a)&&a>=0}function Ea(a){return a===void 0||We(a)}function r2(a){return a===null||We(a)}function Pt(a){return typeof a=="boolean"}function on(a,u){return typeof a=="string"&&u.includes(a)}async function Rn(a,u,f){if(!a.ok)throw new Error(await z5(a));const r=await a.json();return K2(r,u,f)}async function z5(a){const u=await a.text();return T5(u)??`${a.status}: ${u||a.statusText}`}function T5(a){try{const u=JSON.parse(a);if(typeof u=="object"&&u!==null&&!Array.isArray(u)&&typeof u.error=="string")return u.error}catch{}return null}async function f2(a){return Rn(await fetch(`/api/reviews/${a}`),s5,"review response")}async function M5(a,u,f){const r={comments:u,reviewScope:f};return Rn(await fetch(`/api/reviews/${a}/submit`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(r)}),Pm,"submit review response")}async function d2(a,u,f,r={}){const h={filePath:u,turnId:f,...r};return Rn(await fetch(`/api/reviews/${a}/files/open`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(h)}),e5,"open file response")}async function A5(){return Rn(await fetch("/api/open-targets"),t5,"open targets response")}async function h2(a,u,f,r={}){const h={filePath:u,turnId:f,...r};return Rn(await fetch(`/api/reviews/${a}/files/content`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(h)}),n5,"file content response")}async function C5(a,u,f,r){const h={fromSha:u,toSha:f,turnId:r};return Rn(await fetch(`/api/reviews/${a}/commits/range`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(h)}),l5,"commit range diff response")}async function _5({filePath:a,lineCount:u,newStart:f,oldPath:r,oldStart:h,reviewId:y,source:z,turnId:C}){const x={filePath:a,oldPath:r,turnId:C,source:z,oldStart:h,newStart:f,lineCount:u};return Rn(await fetch(`/api/reviews/${y}/files/context`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(x)}),a5,"diff context response")}async function R5({column:a,filePath:u,line:f,oldPath:r,reviewId:h,side:y,source:z,symbol:C,turnId:x}){const m={filePath:u,oldPath:r,turnId:x,source:z,side:y,line:f,column:a,symbol:C};return Rn(await fetch(`/api/reviews/${h}/source-peek`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(m)}),i5,"source peek response")}async function O5({filePath:a,lineCount:u,reviewId:f,side:r,source:h,startLine:y,turnId:z}){const C={filePath:a,turnId:z,source:h,side:r,startLine:y,lineCount:u};return Rn(await fetch(`/api/reviews/${f}/source-peek/range`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(C)}),c5,"source peek range response")}const D5="modulepreload",L5=function(a){return"/"+a},m2={},td=function(u,f,r){let h=Promise.resolve();if(f&&f.length>0){let z=function(m){return Promise.all(m.map(T=>Promise.resolve(T).then(D=>({status:"fulfilled",value:D}),D=>({status:"rejected",reason:D}))))};document.getElementsByTagName("link");const C=document.querySelector("meta[property=csp-nonce]"),x=(C==null?void 0:C.nonce)||(C==null?void 0:C.getAttribute("nonce"));h=z(f.map(m=>{if(m=L5(m),m in m2)return;m2[m]=!0;const T=m.endsWith(".css"),D=T?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${m}"]${D}`))return;const U=document.createElement("link");if(U.rel=T?"stylesheet":D5,T||(U.as="script"),U.crossOrigin="",U.href=m,x&&U.setAttribute("nonce",x),document.head.appendChild(U),T)return new Promise((B,$)=>{U.addEventListener("load",B),U.addEventListener("error",()=>$(new Error(`Unable to preload CSS for ${m}`)))})}))}function y(z){const C=new Event("vite:preloadError",{cancelable:!0});if(C.payload=z,window.dispatchEvent(C),!C.defaultPrevented)throw z}return h.then(z=>{for(const C of z||[])C.status==="rejected"&&y(C.reason);return u().catch(y)})};function e1(a){return a.type==="delete"?"L":"R"}function t1(a){return e1(a)==="L"?a.oldLine:a.newLine}function Ai(a,u){return`${a}:${u}`}const nd="0123456789ABCDEFGHJKMNPQRSTVWXYZ",is=32,H5=16,ld=10,p2=0xffffffffffff;var Ol;(function(a){a.Base32IncorrectEncoding="B32_ENC_INVALID",a.DecodeTimeInvalidCharacter="DEC_TIME_CHAR",a.DecodeTimeValueMalformed="DEC_TIME_MALFORMED",a.EncodeTimeNegative="ENC_TIME_NEG",a.EncodeTimeSizeExceeded="ENC_TIME_SIZE_EXCEED",a.EncodeTimeValueMalformed="ENC_TIME_MALFORMED",a.PRNGDetectFailure="PRNG_DETECT",a.ULIDInvalid="ULID_INVALID",a.Unexpected="UNEXPECTED",a.UUIDInvalid="UUID_INVALID"})(Ol||(Ol={}));class Ni extends Error{constructor(u,f){super(`${f} (${u})`),this.name="ULIDError",this.code=u}}function k5(a){const u=Math.floor(a()*is)%is;return nd.charAt(u)}function U5(a){const u=B5(),f=u&&(u.crypto||u.msCrypto)||null;if(typeof(f==null?void 0:f.getRandomValues)=="function")return()=>{const r=new Uint8Array(1);return f.getRandomValues(r),r[0]/256};if(typeof(f==null?void 0:f.randomBytes)=="function")return()=>f.randomBytes(1).readUInt8()/256;throw new Ni(Ol.PRNGDetectFailure,"Failed to find a reliable PRNG")}function B5(){return V5()?self:typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:null}function q5(a,u){let f="";for(;a>0;a--)f=k5(u)+f;return f}function G5(a,u=ld){if(isNaN(a))throw new Ni(Ol.EncodeTimeValueMalformed,`Time must be a number: ${a}`);if(a>p2)throw new Ni(Ol.EncodeTimeSizeExceeded,`Cannot encode a time larger than ${p2}: ${a}`);if(a<0)throw new Ni(Ol.EncodeTimeNegative,`Time must be positive: ${a}`);if(Number.isInteger(a)===!1)throw new Ni(Ol.EncodeTimeValueMalformed,`Time must be an integer: ${a}`);let f,r="";for(let h=u;h>0;h--)f=a%is,r=nd.charAt(f)+r,a=(a-f)/is;return r}function V5(){return typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope}function y2(a,u){const f=U5(),r=Date.now();return G5(r,ld)+q5(H5,f)}const g2=a=>{let u;const f=new Set,r=(m,T)=>{const D=typeof m=="function"?m(u):m;if(!Object.is(D,u)){const U=u;u=T??(typeof D!="object"||D===null)?D:Object.assign({},u,D),f.forEach(B=>B(u,U))}},h=()=>u,C={setState:r,getState:h,getInitialState:()=>x,subscribe:m=>(f.add(m),()=>f.delete(m))},x=u=a(r,h,C);return C},Y5=(a=>a?g2(a):g2),X5=a=>a;function Q5(a,u=X5){const f=wi.useSyncExternalStore(a.subscribe,wi.useCallback(()=>u(a.getState()),[a,u]),wi.useCallback(()=>u(a.getInitialState()),[a,u]));return wi.useDebugValue(f),f}const v2=a=>{const u=Y5(a),f=r=>Q5(u,r);return Object.assign(f,u),f},Z5=(a=>a?v2(a):v2),Nt=Z5((a,u)=>({comments:[],resolution:null,draft:null,setDraft:f=>a({draft:f}),hydrateComments:f=>a({comments:f,resolution:null,draft:null}),hydrateReview:(f,r=null)=>a({comments:f,resolution:r,draft:null}),addComment:f=>{const r=u().draft;!r||f.trim().length===0||a(h=>({comments:[...h.comments,{kind:"line",id:y2(),filePath:r.filePath,side:r.side,startLine:Math.min(r.startLine,r.endLine),endLine:Math.max(r.startLine,r.endLine),body:f.trim(),originalSnippet:r.originalSnippet,createdAt:new Date().toISOString()}],draft:null}))},addGeneralComment:f=>{const r=f.trim();r.length!==0&&a(h=>({comments:[...h.comments,{kind:"general",id:y2(),body:r,createdAt:new Date().toISOString()}]}))},removeComment:f=>a(r=>({comments:r.comments.filter(h=>h.id!==f)})),reset:()=>a({comments:[],resolution:null,draft:null})})),ad="gloss:theme-preference",K5="(prefers-color-scheme: dark)",$5=new Set(["system","light","dark"]),id=N.createContext(null);function J5(a){return!!(a&&$5.has(a))}function F5(a=cd()){if(!a)return"system";try{const u=a.getItem(ad);return J5(u)?u:"system"}catch{return"system"}}function W5(a,u=cd()){if(u)try{u.setItem(ad,a)}catch{}}function Xo(a){return a?"dark":"light"}function I5(a,u){return a==="system"?u:a}function P5(a,u=n6()){u&&(u.dataset.theme=a)}function e6({children:a}){const[u,f]=N.useState(()=>F5()),[r,h]=N.useState(()=>t6()),y=I5(u,r);N.useEffect(()=>{const x=sd();if(!x)return;const m=T=>{h(Xo(T.matches))};return h(Xo(x.matches)),typeof x.addEventListener=="function"?(x.addEventListener("change",m),()=>x.removeEventListener("change",m)):(x.addListener(m),()=>x.removeListener(m))},[]),N.useEffect(()=>{P5(y)},[y]);const z=N.useCallback(x=>{W5(x),f(x)},[]),C=N.useMemo(()=>({preference:u,resolvedTheme:y,setPreference:z}),[u,y,z]);return s.jsx(id.Provider,{value:C,children:a})}function n1(){const a=N.useContext(id);if(!a)throw new Error("useTheme must be used within ThemeProvider");return a}function t6(a=sd()){return Xo(!!(a!=null&&a.matches))}function cd(){try{return typeof window>"u"?null:window.localStorage}catch{return null}}function sd(){try{return typeof window>"u"||typeof window.matchMedia!="function"?null:window.matchMedia(K5)}catch{return null}}function n6(){return typeof document>"u"?null:document.documentElement}function ud(a){return od(a)&&!a.shiftKey}function l6(a){return od(a)&&a.shiftKey===!0}function od(a){var u;return a.key==="Enter"&&a.metaKey===!0&&a.ctrlKey!==!0&&a.altKey!==!0&&a.repeat!==!0&&a.defaultPrevented!==!0&&a.isComposing!==!0&&((u=a.nativeEvent)==null?void 0:u.isComposing)!==!0}function a6({tone:a}){const u=Nt(T=>T.draft),f=Nt(T=>T.setDraft),r=Nt(T=>T.addComment),[h,y]=N.useState(""),z=N.useRef(null);if(N.useEffect(()=>{var T;u&&((T=z.current)==null||T.focus({preventScroll:!0}))},[u]),!u)return null;const C=u.startLine===u.endLine?`Comment on line ${Ti(u)}`:`Comment on range ${Ti(u)}`,x=()=>{y(""),f(null)},m=()=>{r(h),y("")};return s.jsx("div",{className:`draft-comment-shell tone-${a}`,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(Dh,{size:15})}),s.jsx("span",{children:"Local comment"})]}),s.jsx("span",{className:"draft-comment-label",children:C})]}),s.jsx("textarea",{"aria-label":C,placeholder:"Request change",ref:z,value:h,onChange:T=>y(T.target.value),onKeyDown:T=>{ud(T)&&(T.preventDefault(),m())}}),s.jsxs("div",{className:"draft-comment-actions",children:[s.jsx("button",{className:"secondary-button",type:"button",onClick:x,children:"Cancel"}),s.jsx("button",{"aria-keyshortcuts":"Meta+Enter",className:"primary-button",title:"Comment (Command+Enter)",type:"button",onClick:m,children:"Comment"})]})]})})}const i6=20;function c6(a,u){const f=u.oldStart-a.oldStart,r=f+u.lineCount-1,h=f>0,y=r<a.lineCount-1;return h&&y?"all":h?"down":y||a.beforeHunkIndex===0?"up":"all"}function l1(a){const u=[];let f=0,r=0;return a.hunks.forEach((h,y)=>{const z=h.oldStart>f+1?h.oldStart-f-1:0,C=h.newStart>r+1?h.newStart-r-1:0,x=Math.min(z,C);if(x>0){const m=f+1,T=r+1;u.push({id:`${a.path}:${m}:${T}:${x}`,beforeHunkIndex:y,filePath:a.path,oldPath:a.oldPath,oldStart:m,newStart:T,lineCount:x})}f=h.oldStart+h.oldLines-1,r=h.newStart+h.newLines-1}),u}function s6(a,u){const f=ds(a,u),r=rd(a,f),h=a1(a,u);if(r.length===0)return h.length>0?[{type:"lines",lines:h}]:[];const y=r[0]??0,z=r.at(-1)??a.lineCount-1,C=h.filter(m=>{const T=cs(a,m);return T!=null&&T<y}),x=h.filter(m=>{const T=cs(a,m);return T!=null&&T>z});return[...C.length>0?[{type:"lines",lines:C}]:[],{type:"hidden",oldStart:a.oldStart+y,newStart:a.newStart+y,lineCount:z-y+1},...x.length>0?[{type:"lines",lines:x}]:[]]}function u6(a,u,f,r=i6){const h=ds(a,u),y=rd(a,h);if(y.length===0)return null;let z,C;if(f==="all")z=y[0]??0,C=y.at(-1)??a.lineCount-1,C=Math.min(C,z+Qm-1);else if(f==="down"){for(z=y[0]??0,C=z;C+1<a.lineCount&&!h.has(C+1);)C+=1;C=Math.min(C,z+r-1)}else{for(C=y.at(-1)??a.lineCount-1,z=C;z-1>=0&&!h.has(z-1);)z-=1;z=Math.max(z,C-r+1)}return{oldStart:a.oldStart+z,newStart:a.newStart+z,lineCount:C-z+1}}function o6(a,u,f){const r=ds(a,u);for(const h of f){const y=cs(a,h);y!=null&&r.set(y,h)}return{lines:Array.from(r.entries()).toSorted(([h],[y])=>h-y).map(([,h])=>h),loading:!1,error:null}}function a1(a,u){return Array.from(ds(a,u).entries()).toSorted(([f],[r])=>f-r).map(([,f])=>f)}function r6(a,u){const f=new Map(l1(a).map(r=>[r.beforeHunkIndex,r]));return a.hunks.flatMap((r,h)=>{const y=f.get(h);return[...y?a1(y,u[y.id]):[],...r.lines]})}function f6(a,u){const f=new Map(l1(a).map(h=>[h.beforeHunkIndex,h])),r=a.hunks.map((h,y)=>{const z=f.get(y),C=z?a1(z,u[z.id]):[];return C.length>0?{...h,lines:[...C,...h.lines]}:h});return{...a,hunks:r}}function rd(a,u){const f=[];for(let r=0;r<a.lineCount;r+=1)u.has(r)||f.push(r);return f}function ds(a,u){const f=new Map;if(!a||!u)return f;for(const r of u.lines){const h=cs(a,r);h!=null&&f.set(h,r)}return f}function cs(a,u){const f=u.oldLine==null?null:u.oldLine-a.oldStart;if(f!=null&&f>=0&&f<a.lineCount)return f;const r=u.newLine==null?null:u.newLine-a.newStart;return r!=null&&r>=0&&r<a.lineCount?r:null}function i1(a){return`gloss-file-${encodeURIComponent(a)}`}const Ce='<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>',_e='</title><path d="',Re='"/></svg>',d6={title:"Android Studio",slug:"androidstudio",get svg(){return Ce+"Android Studio"+_e+this.path+Re},path:"M19.2693 10.3368c-.3321 0-.6026.2705-.6026.6031v9.8324h-1.7379l-3.3355-6.9396c.476-.5387.6797-1.286.5243-2.0009a2.2862 2.2862 0 0 0-1.2893-1.6248v-.8124c.0121-.2871-.1426-.5787-.4043-.7407-.1391-.0825-.2884-.1234-.4402-.1234a.8478.8478 0 0 0-.4318.1182c-.2701.1671-.4248.4587-.4123.7662l-.0003.721c-1.0149.3668-1.6619 1.4153-1.4867 2.5197a2.282 2.282 0 0 0 .5916 1.2103l-3.2096 6.9064H4.0928c-1.0949-.007-1.9797-.8948-1.9832-1.9896V5.016c-.0055 1.1024.8836 2.0006 1.9859 2.0062a2.024 2.024 0 0 0 .1326-.0037h14.7453s2.5343-.2189 2.8619 1.5392c-.2491.0287-.4449.2321-.4449.4889 0 .7115-.5791 1.2901-1.3028 1.2901h-.8183zM17.222 22.5366c.2347.4837.0329 1.066-.4507 1.3007-.1296.0629-.2666.0895-.4018.0927a.9738.9738 0 0 1-.3194-.0455c-.024-.0078-.046-.0209-.0694-.0305a.9701.9701 0 0 1-.2277-.1321c-.0247-.0192-.0495-.038-.0724-.0598-.0825-.0783-.1574-.1672-.21-.2757l-1.2554-2.6143-1.5585-3.2452a.7725.7725 0 0 0-.6995-.4443h-.0024a.792.792 0 0 0-.7083.4443l-1.5109 3.2452-1.2321 2.6464a.9722.9722 0 0 1-.7985.5795c-.0626.0053-.1238-.0024-.185-.0087-.0344-.0036-.069-.0053-.1025-.0124-.0489-.0103-.0954-.0278-.142-.0452-.0301-.0113-.0613-.0197-.0901-.0339-.0496-.0244-.0948-.0565-.1397-.0889-.0217-.0156-.0457-.0275-.0662-.045a.9862.9862 0 0 1-.1695-.1844.9788.9788 0 0 1-.0708-.9852l.8469-1.8223 3.2676-7.0314a1.7964 1.7964 0 0 1-.7072-1.1637c-.1555-.9799.5129-1.9003 1.4928-2.0559V9.3946a.3542.3542 0 0 1 .1674-.3155.3468.3468 0 0 1 .3541 0 .354.354 0 0 1 .1674.3155v1.159l.0129.0064a1.8028 1.8028 0 0 1 1.2878 1.378 1.7835 1.7835 0 0 1-.6439 1.7836l3.3889 7.0507.8481 1.7643zM12.9841 12.306c.0042-.6081-.4854-1.1044-1.0935-1.1085a1.1204 1.1204 0 0 0-.7856.3219 1.101 1.101 0 0 0-.323.7716c-.0042.6081.4854 1.1044 1.0935 1.1085h.0077c.6046 0 1.0967-.488 1.1009-1.0935zm-1.027 5.2768c-.1119.0005-.2121.0632-.2571.1553l-1.4127 3.0342h3.3733l-1.4564-3.0328a.274.274 0 0 0-.2471-.1567zm8.1432-6.7459l-.0129-.0001h-.8177a.103.103 0 0 0-.103.103v12.9103a.103.103 0 0 0 .0966.103h.8435c.9861-.0035 1.7836-.804 1.7836-1.79V9.0468c0 .9887-.8014 1.7901-1.7901 1.7901zM2.6098 5.0161v.019c.0039.816.6719 1.483 1.4874 1.4869a12.061 12.061 0 0 1 .1309-.0034h1.1286c.1972-1.315.7607-2.525 1.638-3.4859H4.0993c-.9266.0031-1.6971.6401-1.9191 1.4975.2417.0355.4296.235.4296.4859zm6.3381-2.8977L7.9112.3284a.219.219 0 0 1 0-.2189A.2384.2384 0 0 1 8.098 0a.219.219 0 0 1 .1867.1094l1.0496 1.8158a6.4907 6.4907 0 0 1 5.3186 0L15.696.1094a.2189.2189 0 0 1 .3734.2189l-1.0302 1.79c1.6671.9125 2.7974 2.5439 3.0975 4.4018l-12.286-.0014c.3004-1.8572 1.4305-3.488 3.0972-4.4003zm5.3774 2.6202a.515.515 0 0 0 .5271.5028.515.515 0 0 0 .5151-.5151.5213.5213 0 0 0-.8885-.367.5151.5151 0 0 0-.1537.3793zm-5.7178-.0067a.5151.5151 0 0 0 .5207.5095.5086.5086 0 0 0 .367-.1481.5215.5215 0 1 0-.734-.7341.515.515 0 0 0-.1537.3727z",source:"https://developer.android.com/studio",hex:"3DDC84"},h6={title:"CLion",slug:"clion",get svg(){return Ce+"CLion"+_e+this.path+Re},path:"M0 0v24h24V0H0zm7.041 3a5.049 5.049 0 0 1 .219 0c1.86 0 3 .6 3.9 1.56L9.78 6.18C9 5.46 8.22 5.04 7.26 5.04c-1.68 0-2.88 1.38-2.88 3.12 0 1.68 1.2 3.12 2.88 3.12 1.14 0 1.86-.48 2.64-1.14l1.38 1.38c-1.02 1.08-2.16 1.8-4.08 1.8a5.1 5.1 0 0 1-5.1-5.16A5.049 5.049 0 0 1 7.04 3zm5.738.12H15v8.1h4.32v1.86h-6.54V3.12zM2.28 19.5h9V21h-9v-1.5Z",source:"https://www.jetbrains.com/company/brand/logos/",hex:"000000",guidelines:"https://www.jetbrains.com/company/brand/"},m6={title:"CSS",slug:"css",get svg(){return Ce+"CSS"+_e+this.path+Re},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"},p6={title:"Cursor",slug:"cursor",get svg(){return Ce+"Cursor"+_e+this.path+Re},path:"M11.503.131 1.891 5.678a.84.84 0 0 0-.42.726v11.188c0 .3.162.575.42.724l9.609 5.55a1 1 0 0 0 .998 0l9.61-5.55a.84.84 0 0 0 .42-.724V6.404a.84.84 0 0 0-.42-.726L12.497.131a1.01 1.01 0 0 0-.996 0M2.657 6.338h18.55c.263 0 .43.287.297.515L12.23 22.918c-.062.107-.229.064-.229-.06V12.335a.59.59 0 0 0-.295-.51l-9.11-5.257c-.109-.063-.064-.23.061-.23",source:"https://cursor.com/brand",hex:"000000"},y6={title:"DataGrip",slug:"datagrip",get svg(){return Ce+"DataGrip"+_e+this.path+Re},path:"M0 0v24h24V0Zm17.1797 2.9477a5.452 5.452 0 0 1 3.9047 1.364L19.7078 5.972a3.672 3.672 0 0 0-2.596-1.0086c-1.6 0-2.8555 1.408-2.8555 3.096v.0282c0 1.816 1.2517 3.1523 3.0117 3.1523a3.492 3.492 0 0 0 2.064-.5921V9.2234h-2.2V7.336h4.3157v4.3157a6.436 6.436 0 0 1-4.2438 1.5757c-3.096 0-5.2242-2.1797-5.2242-5.1117v-.0281a5.1 5.1 0 0 1 5.2-5.1398zm-14.7438.1718h3.8758c3.12 0 5.2805 2.1439 5.2805 4.9399v.028c0 2.8-2.1605 4.968-5.2805 4.968H2.436Zm4.075 1.9688a2.852 2.852 0 0 0-.1992.003H4.6203v6h1.6914A2.832 2.832 0 0 0 9.304 8.1235v-.036a2.852 2.852 0 0 0-2.793-2.9991Zm-4.303 14.407h9v1.5h-9z",source:"https://www.jetbrains.com/company/brand/logos/",hex:"000000",guidelines:"https://www.jetbrains.com/company/brand/"},g6={title:"Ghostty",slug:"ghostty",get svg(){return Ce+"Ghostty"+_e+this.path+Re},path:"M12 0C6.7 0 2.4 4.3 2.4 9.6v11.146c0 1.772 1.45 3.267 3.222 3.254a3.18 3.18 0 0 0 1.955-.686 1.96 1.96 0 0 1 2.444 0 3.18 3.18 0 0 0 1.976.686c.75 0 1.436-.257 1.98-.686.715-.563 1.71-.587 2.419-.018.59.476 1.355.743 2.182.699 1.705-.094 3.022-1.537 3.022-3.244V9.601C21.6 4.3 17.302 0 12 0M6.069 6.562a1 1 0 0 1 .46.131l3.578 2.065v.002a.974.974 0 0 1 0 1.687L6.53 12.512a.975.975 0 0 1-.976-1.687L7.67 9.602 5.553 8.38a.975.975 0 0 1 .515-1.818m7.438 2.063h4.7a.975.975 0 1 1 0 1.95h-4.7a.975.975 0 0 1 0-1.95",source:"https://github.com/ghostty-org/website/blob/7093f052a2f35e0247fcb828ede644ed74a749a0/public/ghostty-logo.svg",hex:"3551F3"},v6={title:"GNU Bash",slug:"gnubash",get svg(){return Ce+"GNU Bash"+_e+this.path+Re},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"}},b6={title:"GNU Emacs",slug:"gnuemacs",get svg(){return Ce+"GNU Emacs"+_e+this.path+Re},path:"M12,24C5.448,24,0.118,18.617,0.118,12S5.448,0,12,0c6.552,0,11.882,5.383,11.882,12S18.552,24,12,24z M12,0.661 C5.813,0.661,0.779,5.748,0.779,12S5.813,23.339,12,23.339c6.187,0,11.221-5.086,11.221-11.339S18.187,0.661,12,0.661z M8.03,20.197 c0,0,0.978,0.069,2.236-0.042c0.51-0.045,2.444-0.235,3.891-0.552c0,0,1.764-0.377,2.707-0.725c0.987-0.364,1.524-0.673,1.766-1.11 c-0.011-0.09,0.074-0.408-0.381-0.599c-1.164-0.488-2.514-0.4-5.185-0.457c-2.962-0.102-3.948-0.598-4.472-0.997 c-0.503-0.405-0.25-1.526,1.907-2.513c1.086-0.526,5.345-1.496,5.345-1.496c-1.434-0.709-4.109-1.955-4.659-2.224 c-0.482-0.236-1.254-0.591-1.421-1.021c-0.19-0.413,0.448-0.768,0.804-0.87c1.147-0.331,2.766-0.536,4.24-0.56 c0.741-0.012,0.861-0.059,0.861-0.059c1.022-0.17,1.695-0.869,1.414-1.976c-0.252-1.13-1.579-1.795-2.84-1.565 c-1.188,0.217-4.05,1.048-4.05,1.048c3.539-0.031,4.131,0.028,4.395,0.398c0.156,0.218-0.071,0.518-1.015,0.672 c-1.027,0.168-3.163,0.37-3.163,0.37c-2.049,0.122-3.492,0.13-3.925,1.046C6.202,7.564,6.787,8.094,7.043,8.425 c1.082,1.204,2.646,1.853,3.652,2.331c0.379,0.18,1.49,0.52,1.49,0.52c-3.265-0.18-5.619,0.823-7.001,1.977 c-1.562,1.445-0.871,3.168,2.33,4.228c1.891,0.626,2.828,0.921,5.648,0.667c1.661-0.09,1.923-0.036,1.939,0.1 c0.023,0.192-1.845,0.669-2.355,0.816C11.448,19.438,8.047,20.193,8.03,20.197z",source:"https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/images/icons/hicolor/scalable/apps/emacs.svg",hex:"7F5AB6",license:{type:"GPL-2.0-or-later",url:"https://spdx.org/licenses/GPL-2.0-or-later"}},S6={title:"Go",slug:"go",get svg(){return Ce+"Go"+_e+this.path+Re},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"},x6={title:"GoLand",slug:"goland",get svg(){return Ce+"GoLand"+_e+this.path+Re},path:"M0 0v24h24V0Zm6.764 3a5.448 5.448 0 0 1 3.892 1.356L9.284 6.012A3.652 3.652 0 0 0 6.696 5c-1.6 0-2.844 1.4-2.844 3.08v.028c0 1.812 1.244 3.14 3 3.14a3.468 3.468 0 0 0 2.048-.596V9.228H6.708v-1.88H11v4.296a6.428 6.428 0 0 1-4.228 1.572c-3.076 0-5.196-2.164-5.196-5.092v-.028A5.08 5.08 0 0 1 6.764 3Zm10.432 0c3.052 0 5.244 2.276 5.244 5.088v.028a5.116 5.116 0 0 1-5.272 5.12c-3.056-.02-5.248-2.296-5.248-5.112v-.028A5.116 5.116 0 0 1 17.196 3Zm-.028 2A2.96 2.96 0 0 0 14.2 8.068v.028a3.008 3.008 0 0 0 3 3.112 2.96 2.96 0 0 0 2.964-3.084v-.028A3.004 3.004 0 0 0 17.168 5ZM2.252 19.5h9V21h-9z",source:"https://www.jetbrains.com/company/brand/#logos-and-icons-jetbrains-logos",hex:"000000",guidelines:"https://www.jetbrains.com/company/brand/#brand-guidelines"},j6={title:"HTML5",slug:"html5",get svg(){return Ce+"HTML5"+_e+this.path+Re},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"},E6={title:"IntelliJ IDEA",slug:"intellijidea",get svg(){return Ce+"IntelliJ IDEA"+_e+this.path+Re},path:"M0 0v24h24V0zm3.723 3.111h5v1.834h-1.39v6.277h1.39v1.834h-5v-1.834h1.444V4.945H3.723zm11.055 0H17v6.5c0 .612-.055 1.111-.222 1.556-.167.444-.39.777-.723 1.11-.277.279-.666.557-1.11.668a3.933 3.933 0 0 1-1.445.278c-.778 0-1.444-.167-1.944-.445a4.81 4.81 0 0 1-1.279-1.056l1.39-1.555c.277.334.555.555.833.722.277.167.611.278.945.278.389 0 .721-.111 1-.389.221-.278.333-.667.333-1.278zM2.222 19.5h9V21h-9z",source:"https://www.jetbrains.com/idea/",hex:"000000",guidelines:"https://www.jetbrains.com/company/brand/"},w6={title:"iTerm2",slug:"iterm2",get svg(){return Ce+"iTerm2"+_e+this.path+Re},path:"M24 5.359v13.282A5.36 5.36 0 0 1 18.641 24H5.359A5.36 5.36 0 0 1 0 18.641V5.359A5.36 5.36 0 0 1 5.359 0h13.282A5.36 5.36 0 0 1 24 5.359m-.932-.233A4.196 4.196 0 0 0 18.874.932H5.126A4.196 4.196 0 0 0 .932 5.126v13.748a4.196 4.196 0 0 0 4.194 4.194h13.748a4.196 4.196 0 0 0 4.194-4.194zm-.816.233v13.282a3.613 3.613 0 0 1-3.611 3.611H5.359a3.613 3.613 0 0 1-3.611-3.611V5.359a3.613 3.613 0 0 1 3.611-3.611h13.282a3.613 3.613 0 0 1 3.611 3.611M8.854 4.194v6.495h.962V4.194zM5.483 9.493v1.085h.597V9.48q.283-.037.508-.133.373-.165.575-.448.208-.284.208-.649a.9.9 0 0 0-.171-.568 1.4 1.4 0 0 0-.426-.388 3 3 0 0 0-.544-.261 32 32 0 0 0-.545-.209 1.8 1.8 0 0 1-.426-.216q-.164-.12-.164-.284 0-.223.179-.351.18-.126.485-.127.344 0 .575.105.239.105.5.298l.433-.5a2.3 2.3 0 0 0-.605-.433 1.6 1.6 0 0 0-.582-.159v-.968h-.597v.978a2 2 0 0 0-.477.127 1.2 1.2 0 0 0-.545.411q-.194.268-.194.634 0 .335.164.56.164.224.418.38a4 4 0 0 0 .552.262q.291.104.545.209.261.104.425.238a.39.39 0 0 1 .165.321q0 .225-.187.359-.18.134-.537.134-.381 0-.717-.134a4.4 4.4 0 0 1-.649-.351l-.388.589q.209.173.477.306.276.135.575.217.191.046.373.064",source:"https://github.com/gnachman/iTerm2/blob/6a857f3f5872eb1465ddc0dd83412015991e79ae/images/AppIcon/iTermIcon.sketch",hex:"000000"},N6={title:"JavaScript",slug:"javascript",get svg(){return Ce+"JavaScript"+_e+this.path+Re},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"}},z6={title:"JSON",slug:"json",get svg(){return Ce+"JSON"+_e+this.path+Re},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"},T6={title:"Lapce",slug:"lapce",get svg(){return Ce+"Lapce"+_e+this.path+Re},path:"M3.802 1.267 1.608 0v24L8 20.31v-2.535L3.802 20.2Zm4.208 13.9V6.231L18.003 12l-7.798 4.503v2.533L22.392 12 5.806 2.424V16.44Zm5.598-3.231L10.205 9.97v3.93Z",source:"https://github.com/lapce/lapce/blob/95c4cf2d87083e348c0b621d0be0ea17f79ed703/extra/images/logo.svg",hex:"3B82F6"},M6={title:"Markdown",slug:"markdown",get svg(){return Ce+"Markdown"+_e+this.path+Re},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"}},A6={title:"Neovim",slug:"neovim",get svg(){return Ce+"Neovim"+_e+this.path+Re},path:"M2.214 4.954v13.615L7.655 24V10.314L3.312 3.845 2.214 4.954zm4.999 17.98l-4.557-4.548V5.136l.59-.596 3.967 5.908v12.485zm14.573-4.457l-.862.937-4.24-6.376V0l5.068 5.092.034 13.385zM7.431.001l12.998 19.835-3.637 3.637L3.787 3.683 7.43 0z",source:"https://neovim.io",hex:"57A143",license:{type:"CC-BY-SA-3.0",url:"https://spdx.org/licenses/CC-BY-SA-3.0"}},C6={title:"PhpStorm",slug:"phpstorm",get svg(){return Ce+"PhpStorm"+_e+this.path+Re},path:"M7.833 6.611v-.055c0-1-.667-1.5-1.778-1.5H4.389v3.056h1.722c1.111-.001 1.722-.668 1.722-1.501zM0 0v24h24V0H0zm2.167 3.111h4.056c2.389 0 3.833 1.389 3.833 3.445v.055c0 2.333-1.778 3.5-4.056 3.5H4.333v3H2.167v-10zM11.278 21h-9v-1.5h9V21zM18.5 10.222c0 2-1.5 3.111-3.667 3.111-1.5-.056-3-.611-4.222-1.667l1.278-1.556c.89.722 1.833 1.222 3 1.222.889 0 1.444-.333 1.444-.944v-.056c0-.555-.333-.833-2-1.277C12.333 8.555 11 8 11 6v-.056c0-1.833 1.444-3 3.5-3 1.444 0 2.723.444 3.723 1.278l-1.167 1.667c-.889-.611-1.777-1-2.611-1-.833 0-1.278.389-1.278.889v.056c0 .667.445.889 2.167 1.333 2 .556 3.167 1.278 3.167 3v.055z",source:"https://www.jetbrains.com/company/brand/logos/",hex:"000000",guidelines:"https://www.jetbrains.com/company/brand/"},_6={title:"PyCharm",slug:"pycharm",get svg(){return Ce+"PyCharm"+_e+this.path+Re},path:"M7.833 6.666v-.055c0-1-.667-1.5-1.778-1.5H4.389v3.055h1.723c1.111 0 1.721-.666 1.721-1.5zM0 0v24h24V0H0zm2.223 3.167h4c2.389 0 3.833 1.389 3.833 3.445v.055c0 2.278-1.778 3.5-4.001 3.5H4.389v2.945H2.223V3.167zM11.277 21h-9v-1.5h9V21zm4.779-7.777c-2.944.055-5.111-2.223-5.111-5.057C10.944 5.333 13.056 3 16.111 3c1.889 0 3 .611 3.944 1.556l-1.389 1.61c-.778-.722-1.556-1.111-2.556-1.111-1.658 0-2.873 1.375-2.887 3.084.014 1.709 1.174 3.083 2.887 3.083 1.111 0 1.833-.445 2.61-1.167l1.39 1.389c-.999 1.112-2.166 1.779-4.054 1.779z",source:"https://www.jetbrains.com/company/brand/logos/",hex:"000000",guidelines:"https://www.jetbrains.com/company/brand/"},R6={title:"Python",slug:"python",get svg(){return Ce+"Python"+_e+this.path+Re},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/"},b2={title:"React",slug:"react",get svg(){return Ce+"React"+_e+this.path+Re},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"},O6={title:"Ruby",slug:"ruby",get svg(){return Ce+"Ruby"+_e+this.path+Re},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"}},D6={title:"RubyMine",slug:"rubymine",get svg(){return Ce+"RubyMine"+_e+this.path+Re},path:"M0 0v24h24V0Zm3.056 3H6.92q.945 0 1.665.347t1.106.977c.262.42.392.902.392 1.46q0 .835-.399 1.478a2.6 2.6 0 0 1-1.125.99 2 2 0 0 1-.297.103q-.066.02-.13.04L10.276 12H8.264l-1.94-3.4H4.811V12H3.056Zm8.51 0h2.444l1.851 5.907.154.773.136-.773L17.937 3h2.482v9h-1.736V5.578l.026-.47L16.613 12H15.34l-2.07-6.846.026.424V12h-1.73ZM4.812 4.459V7.14h1.993q.444-.001.771-.161.335-.167.515-.47c.12-.205.18-.439.18-.713q0-.411-.18-.707a1.17 1.17 0 0 0-.515-.462 1.7 1.7 0 0 0-.77-.168ZM2.996 19.2h9.6V21h-9.6z",source:"https://www.jetbrains.com/company/brand/logos",hex:"000000",guidelines:"https://www.jetbrains.com/company/brand"},L6={title:"Rust",slug:"rust",get svg(){return Ce+"Rust"+_e+this.path+Re},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"}},H6={title:"Sublime Text",slug:"sublimetext",get svg(){return Ce+"Sublime Text"+_e+this.path+Re},path:"M20.953.004a.397.397 0 0 0-.18.017L3.225 5.585c-.175.055-.323.214-.402.398a.42.42 0 0 0-.06.22v5.726a.42.42 0 0 0 .06.22c.079.183.227.341.402.397l7.454 2.364-7.454 2.363c-.255.08-.463.374-.463.655v5.688c0 .282.208.444.463.363l17.55-5.565c.237-.075.426-.336.452-.6.003-.022.013-.04.013-.065V12.06c0-.281-.208-.575-.463-.656L13.4 9.065l7.375-2.339c.255-.08.462-.375.462-.656V.384c0-.211-.117-.355-.283-.38z",source:"https://www.sublimetext.com",hex:"FF9800"},k6={title:"Swift",slug:"swift",get svg(){return Ce+"Swift"+_e+this.path+Re},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/"},U6={title:"TypeScript",slug:"typescript",get svg(){return Ce+"TypeScript"+_e+this.path+Re},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"},B6={title:"Vim",slug:"vim",get svg(){return Ce+"Vim"+_e+this.path+Re},path:"M24 11.986h-.027l-4.318-4.318 4.303-4.414V1.461l-.649-.648h-8.198l-.66.605v1.045L12.015.027V0L12 .014 11.986 0v.027l-1.29 1.291-.538-.539H2.035l-.638.692v1.885l.616.616h.72v5.31L.027 11.987H0L.014 12 0 12.014h.027l2.706 2.706v6.467l.907.523h2.322l1.857-1.904 4.166 4.166V24l.015-.014.014.014v-.028l2.51-2.509h.485c.111 0 .211-.07.25-.179l.146-.426c.028-.084.012-.172-.037-.239l1.462-1.462-.612 1.962c-.043.141.036.289.177.332.025.008.052.012.078.012h1.824c.106-.001.201-.064.243-.163l.165-.394c.025-.065.024-.138-.004-.203-.027-.065-.08-.116-.146-.142-.029-.012-.062-.019-.097-.02h-.075l.84-2.644h1.232l-1.016 3.221c-.043.141.036.289.176.332.025.008.052.012.079.012h2.002c.11 0 .207-.066.248-.17l.164-.428c.051-.138-.021-.29-.158-.341-.029-.011-.06-.017-.091-.017h-.145l1.131-3.673c.027-.082.012-.173-.039-.24l-.375-.504-.003-.005c-.051-.064-.127-.102-.209-.102h-1.436c-.071 0-.141.03-.19.081l-.4.439h-.624l-.042-.046 4.445-4.445H24L23.986 12l.014-.014zM9.838 21.139l1.579-4.509h-.501l.297-.304h1.659l-1.563 4.555h.623l-.079.258H9.838zm3.695-7.516l.15.151-.269.922-.225.226h-.969l-.181-.181.311-.871.288-.247h.895zM5.59 20.829H3.877l-.262-.15V3.091H2.379l-.1-.1V1.815l.143-.154h7.371l.213.214v1.108l-.142.173H8.785v8.688l8.807-8.688h-2.086l-.175-.188V1.805l.121-.111h7.49l.132.133v1.07L12.979 13.25h-.373c-.015-.001-.028 0-.042.001l-.02.003c-.045.01-.086.03-.119.06l-.343.295-.004.003c-.033.031-.059.069-.073.111l-.296.83-6.119 6.276zm14.768-3.952l.474-.519h1.334l.309.415-1.265 4.107h.493l-.08.209H19.84l1.124-3.564h-2.015l-1.077 3.391h.424l-.073.174h-1.605l1.107-3.548h-2.096l-1.062 3.339h.436l-.072.209H13.27l1.514-4.46H14.198l.091-.271h1.65l.519.537h.906l.491-.554h1.061l.489.535h.953z",source:"https://commons.wikimedia.org/wiki/File:Vimlogo.svg",hex:"019733"},q6={title:"VSCodium",slug:"vscodium",get svg(){return Ce+"VSCodium"+_e+this.path+Re},path:"M11.583.54a1.467 1.467 0 0 0-.441 2.032c2.426 3.758 2.999 6.592 2.75 9.075-1.004 4.756-3.187 5.721-5.094 5.721-1.863 0-1.364-3.065.036-3.962.836-.522 1.906-.861 2.728-.861.814 0 1.474-.658 1.474-1.47 0-.812-.66-1.47-1.474-1.47-.96 0-1.901.202-2.78.545.18-.847.246-1.762.014-2.735-.352-1.477-1.367-2.889-3.128-4.257a1.476 1.476 0 0 0-2.069.256c-.5.64-.384 1.564.259 2.063 1.435 1.114 1.908 1.939 2.07 2.618.162.679.032 1.407-.293 2.408-.416 1.349-.9 2.553-1.11 3.708-.105.568-.114 1.187-.14 1.68-1.034-1.006-1.438-2.336-1.438-4.279 0-.811-.66-1.47-1.474-1.47-.814.001-1.473.659-1.473 1.47 0 2.654.776 5.179 2.855 6.863 1.883 1.793 6.67 1.13 6.67 4.01 0 .812 1.19 1.208 2.004 1.208.834 0 1.885-.558 1.885-1.208 0-3.267 3.443-5.253 9.11-5.244A1.472 1.472 0 0 0 24 15.773 1.472 1.472 0 0 0 22.53 14.3c-.388 0-.765.013-1.138.035.634-1.49.915-3.13.857-4.903a1.473 1.473 0 0 0-1.522-1.42 1.472 1.472 0 0 0-1.425 1.517c.076 2.32-.01 4.393-1.74 5.485-.49.31-1.062.58-1.604.58.42-1.145.738-2.353.869-3.655.083-.83.091-1.818-.003-2.585-.148-1.188-.325-2.535.126-3.55.405-.874 1.313-1.24 2.645-1.24.814 0 1.473-.659 1.473-1.47 0-.811-.659-1.47-1.473-1.47-1.98 0-3.481 1.042-4.332 2.3-.445-.95-.987-1.929-1.642-2.943a1.474 1.474 0 0 0-2.037-.44z",source:"https://github.com/VSCodium/vscodium.github.io/blob/ed028c57f10e6432ec55dfc34d4db1a83fba941d/img/codium_cnl.svg",hex:"2F80ED"},G6={title:"WebStorm",slug:"webstorm",get svg(){return Ce+"WebStorm"+_e+this.path+Re},path:"M0 0v24h24V0H0zm17.889 2.889c1.444 0 2.667.444 3.667 1.278l-1.111 1.667c-.889-.611-1.722-1-2.556-1s-1.278.389-1.278.889v.056c0 .667.444.889 2.111 1.333 2 .556 3.111 1.278 3.111 3v.056c0 2-1.5 3.111-3.611 3.111-1.5-.056-3-.611-4.167-1.667l1.278-1.556c.889.722 1.833 1.222 2.944 1.222.889 0 1.389-.333 1.389-.944v-.056c0-.556-.333-.833-2-1.278-2-.5-3.222-1.056-3.222-3.056v-.056c0-1.833 1.444-3 3.444-3zm-16.111.222h2.278l1.5 5.778 1.722-5.778h1.667l1.667 5.778 1.5-5.778h2.333l-2.833 9.944H9.723L8.112 7.277l-1.667 5.778H4.612L1.779 3.111zm.5 16.389h9V21h-9v-1.5z",source:"https://www.jetbrains.com/company/brand/logos",hex:"000000",guidelines:"https://www.jetbrains.com/company/brand"},V6={title:"Windsurf",slug:"windsurf",get svg(){return Ce+"Windsurf"+_e+this.path+Re},path:"M23.55 5.067c-1.2038-.002-2.1806.973-2.1806 2.1765v4.8676c0 .972-.8035 1.7594-1.7597 1.7594-.568 0-1.1352-.286-1.4718-.7659l-4.9713-7.1003c-.4125-.5896-1.0837-.941-1.8103-.941-1.1334 0-2.1533.9635-2.1533 2.153v4.8957c0 .972-.7969 1.7594-1.7596 1.7594-.57 0-1.1363-.286-1.4728-.7658L.4076 5.1598C.2822 4.9798 0 5.0688 0 5.2882v4.2452c0 .2147.0656.4228.1884.599l5.4748 7.8183c.3234.462.8006.8052 1.3509.9298 1.3771.313 2.6446-.747 2.6446-2.0977v-4.893c0-.972.7875-1.7593 1.7596-1.7593h.003a1.798 1.798 0 0 1 1.4718.7658l4.9723 7.0994c.4135.5905 1.05.941 1.8093.941 1.1587 0 2.1515-.9645 2.1515-2.153v-4.8948c0-.972.7875-1.7594 1.7596-1.7594h.194a.22.22 0 0 0 .2204-.2202v-4.622a.22.22 0 0 0-.2203-.2203Z",source:"https://windsurf.com/brand",hex:"0B100F",guidelines:"https://windsurf.com/brand"},Y6={title:"Xcode",slug:"xcode",get svg(){return Ce+"Xcode"+_e+this.path+Re},path:"M19.06 5.3327c.4517-.1936.7744-.2581 1.097-.1936.5163.1291.7744.5163.968.7098.1936.3872.9034.7744 1.2261.8389.2581.0645.7098-.6453 1.0325-1.2906.3227-.5808.5163-1.3552.4517-1.5488-.0645-.1936-.968-.5808-1.1616-.5808-.1291 0-.3872.1291-.8389.0645-.4517-.0645-.9034-.5808-1.1616-.968-.4517-.6453-1.097-1.0325-1.6778-1.3552-.6453-.3227-1.3552-.5163-2.065-.6453-1.0325-.2581-2.065-.4517-3.0975-.3227-.5808.0645-1.2906.1291-1.8069.3227-.0645 0-.1936.1936-.0645.1936s.5808.0645.5808.0645-.5807.1292-.5807.2583c0 .1291.0645.1291.1291.1291.0645 0 1.4842-.0645 2.065 0 .6453.1291 1.3552.4517 1.8069 1.2261.7744 1.4197.4517 2.7749.2581 3.2266-.968 2.1295-8.6472 15.2294-9.0344 16.1328-.3873.9034-.5163 1.4842.5807 2.065s1.6778.3227 2.0005-.0645c.3872-.5163 7.0339-17.1654 9.2925-18.2624zm-3.6138 8.7117h1.5488c1.0325 0 1.2261.5163 1.2261.7098.0645.5163-.1936 1.1616-1.2261 1.1616h-.968l.7744 1.2906c.4517.7744.2581 1.1616 0 1.4197-.3872.3872-1.2261.3872-1.6778-.4517l-.9034-1.5488c-.6453 1.4197-1.2906 2.9684-2.065 4.7753h4.0009c1.9359 0 3.5492-1.6133 3.5492-3.5492V6.5588c-.0645-.1291-.1936-.0645-.2581 0-.3872.4517-1.4842 2.0004-4.001 7.4856zm-9.8087 8.0019h-.3227c-2.3231 0-4.1945-1.8714-4.1945-4.1945V7.0105c0-2.3231 1.8714-4.1945 4.1945-4.1945h9.3571c-.1936-.1936-.968-.5163-1.7423-.4517-.3227 0-.968.1291-1.3552-.1291-.3872-.3227-.3227-.5163-.9034-.5163H4.9277c-2.6458 0-4.7753 2.1295-4.7753 4.7753v11.7447c0 2.6458 2.1295 4.7753 4.4527 4.7108.6452 0 .8388-.5162 1.0324-.9034zM20.4152 6.9459v10.9058c0 2.3231-1.8714 4.1945-4.1945 4.1945H11.897s-.3872 1.0325.8389 1.0325h3.8719c2.6458 0 4.7753-2.1295 4.7753-4.7753V8.8173c.0646-.9034-.7098-1.4842-.9679-1.8714zm-18.5851.0646v10.8413c0 1.9359 1.6133 3.5492 3.5492 3.5492h.5808c0-.0645.7744-1.4197 2.4522-4.2591.1936-.3872.4517-.7744.7098-1.2261H4.4114c-.5808 0-.9034-.3872-.968-.7098-.1291-.5163.1936-1.1616.9034-1.1616h2.3877l3.033-5.2916s-.7098-1.2906-.9034-1.6133c-.2582-.4517-.1291-.9034.129-1.1615.3872-.3872 1.0325-.5808 1.6778.4517l.2581.3872.2581-.3872c.5808-.8389.968-.7744 1.2906-.7098.5163.1291.8389.7098.3872 1.6133L8.864 14.0444h1.3552c.4517-.7744.9034-1.5488 1.3552-2.3877-.0645-.3227-.1291-.7098-.0645-1.0325.0645-.5163.3227-.968.6453-1.3552l.3872.6453c1.2261-2.1295 2.1295-3.9364 2.3877-4.6463.1291-.3872.3227-1.1616.1291-1.8069H5.3794c-2.0005.0001-3.5493 1.6134-3.5493 3.5494zM4.605 17.7872c0-.0645.7744-1.4197.7744-1.4197 1.2261-.3227 1.8069.4517 1.8714.5163 0 0-.8389 1.4842-1.097 1.7423s-.5808.3227-.9034.2581c-.5164-.129-.839-.6453-.6454-1.097z",source:"https://developer.apple.com/develop",hex:"147EFB"},X6={title:"YAML",slug:"yaml",get svg(){return Ce+"YAML"+_e+this.path+Re},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"},Q6={title:"Zed Industries",slug:"zedindustries",get svg(){return Ce+"Zed Industries"+_e+this.path+Re},path:"M2.25 1.5a.75.75 0 0 0-.75.75v16.5H0V2.25A2.25 2.25 0 0 1 2.25 0h20.095c1.002 0 1.504 1.212.795 1.92L10.764 14.298h3.486V12.75h1.5v1.922a1.125 1.125 0 0 1-1.125 1.125H9.264l-2.578 2.578h11.689V9h1.5v9.375a1.5 1.5 0 0 1-1.5 1.5H5.185L2.562 22.5H21.75a.75.75 0 0 0 .75-.75V5.25H24v16.5A2.25 2.25 0 0 1 21.75 24H1.655C.653 24 .151 22.788.86 22.08L13.19 9.75H9.75v1.5h-1.5V9.375A1.125 1.125 0 0 1 9.375 8.25h5.314l2.625-2.625H5.625V15h-1.5V5.625a1.5 1.5 0 0 1 1.5-1.5h13.19L21.438 1.5z",source:"https://github.com/zed-industries/zed/blob/ccc939124fa2f366b3029926447fd0a0c46a85c7/assets/icons/logo_96.svg",hex:"084CCF"},Z6=[{label:"Default app",target:"default"},{label:"Open in folder",target:"folder"}],S2=190,x2=172,es=8,K6={"android-studio":{icon:d6,kind:"simple"},bbedit:{Icon:cl,kind:"lucide"},clion:{icon:h6,kind:"simple"},coteditor:{Icon:cl,kind:"lucide"},cursor:{icon:p6,kind:"simple"},datagrip:{icon:y6,kind:"simple"},default:{Icon:W3,kind:"lucide"},emacs:{icon:b6,kind:"simple"},fleet:{Icon:cl,kind:"lucide"},folder:{Icon:q2,kind:"lucide"},ghostty:{icon:g6,kind:"simple"},goland:{icon:x6,kind:"simple"},intellij:{icon:E6,kind:"simple"},iterm2:{icon:w6,kind:"simple"},lapce:{icon:T6,kind:"simple"},macvim:{icon:B6,kind:"simple"},neovide:{icon:A6,kind:"simple"},nova:{Icon:cl,kind:"lucide"},phpstorm:{icon:C6,kind:"simple"},pycharm:{icon:_6,kind:"simple"},rubymine:{icon:D6,kind:"simple"},sublime:{icon:H6,kind:"simple"},terminal:{Icon:nm,kind:"lucide"},textedit:{Icon:B2,kind:"lucide"},textmate:{Icon:cl,kind:"lucide"},vscodium:{icon:q6,kind:"simple"},vscode:{Icon:cl,kind:"lucide"},"vscode-insiders":{Icon:cl,kind:"lucide"},webstorm:{icon:G6,kind:"simple"},windsurf:{icon:V6,kind:"simple"},xcode:{icon:Y6,kind:"simple"},zed:{icon:Q6,kind:"simple"}};function fd({fileContent:a,filePath:u,openTargets:f,wordWrap:r,onActionMessage:h,onCopyFileContents:y,onOpenFile:z,onWordWrapChange:C}){const[x,m]=N.useState(!1),[T,D]=N.useState(!1),[U,B]=N.useState(null),[$,he]=N.useState(null),me=N.useRef(null),Z=N.useRef(null),je=N.useRef(null),re=N.useRef(null),K=N.useRef(null),fe=N.useMemo(()=>f.length>0?f:Z6,[f]),oe=a!==void 0||y!==void 0,W=N.useCallback(()=>{m(!1),D(!1)},[]),be=N.useCallback(()=>{x&&B(ts(me.current,S2)),T&&he(ts(re.current,x2))},[x,T]);N.useEffect(()=>{if(!(!x&&!T))return be(),window.addEventListener("resize",be),window.addEventListener("scroll",be,!0),()=>{window.removeEventListener("resize",be),window.removeEventListener("scroll",be,!0)}},[x,T,be]),N.useEffect(()=>{if(!x&&!T)return;const ae=M=>{var ne,ve,ye;const X=M.target;!((ne=je.current)!=null&&ne.contains(X))&&!((ve=Z.current)!=null&&ve.contains(X))&&!((ye=K.current)!=null&&ye.contains(X))&&W()},De=M=>{M.key==="Escape"&&W()};return window.addEventListener("pointerdown",ae),window.addEventListener("keydown",De),()=>{window.removeEventListener("pointerdown",ae),window.removeEventListener("keydown",De)}},[x,W,T]);const Oe=async(ae,De)=>{W();try{await navigator.clipboard.writeText(ae),h==null||h(`${De} copied`)}catch(M){h==null||h(`Could not copy ${De.toLowerCase()}: ${Lo(M)}`)}},G=async()=>{W();try{const ae=a??await(y==null?void 0:y());if(ae===void 0)return;await navigator.clipboard.writeText(ae),h==null||h("File contents copied")}catch(ae){h==null||h(`Could not copy file contents: ${Lo(ae)}`)}},I=async(ae,De)=>{W(),h==null||h(`Opening in ${De}`);try{await z(ae),h==null||h(`Opened in ${De}`)}catch(M){h==null||h(`Could not open in ${De}: ${Lo(M)}`)}},q=x&&U?Mi.createPortal(s.jsxs("div",{className:"file-actions-popover actions",ref:Z,role:"menu",style:U,children:[s.jsxs("button",{role:"menuitem",type:"button",onClick:()=>Oe(u,"Path"),children:[s.jsx(hh,{size:16}),s.jsx("span",{children:"Copy path"})]}),oe?s.jsxs("button",{role:"menuitem",type:"button",onClick:G,children:[s.jsx(B2,{size:16}),s.jsx("span",{children:"Copy file contents"})]}):null,C?s.jsxs("button",{"aria-checked":!!r,role:"menuitemcheckbox",type:"button",onClick:()=>{C(!r),W()},children:[s.jsx(V2,{size:16}),s.jsxs("span",{children:[r?"Disable":"Enable"," word wrap"]})]}):null]}),document.body):null,ie=T&&$?Mi.createPortal(s.jsx("div",{className:"file-actions-popover open",ref:K,role:"menu",style:$,children:fe.map((ae,De)=>s.jsxs("button",{className:De===fe.length-1?"separated":"",role:"menuitem",type:"button",onClick:()=>I(ae.target,ae.label),children:[s.jsx($6,{option:ae}),s.jsx("span",{children:ae.label})]},ae.target))}),document.body):null;return s.jsxs("div",{className:"file-actions-menu",ref:je,children:[s.jsxs("div",{className:"file-actions-menu-group",children:[s.jsx("button",{"aria-expanded":x,"aria-haspopup":"menu","aria-label":"File actions",className:"icon-button file-actions-menu-trigger",ref:me,type:"button",onClick:()=>{B(ts(me.current,S2)),m(ae=>!ae),D(!1)},children:s.jsx(ph,{size:17})}),q]}),s.jsxs("div",{className:"file-actions-menu-group",children:[s.jsxs("button",{"aria-expanded":T,"aria-haspopup":"menu",className:"file-actions-open-button",ref:re,type:"button",onClick:()=>{he(ts(re.current,x2)),D(ae=>!ae),m(!1)},children:[s.jsx(gh,{size:16}),s.jsx("span",{children:"Open"}),s.jsx(Bl,{size:15})]}),ie]})]})}function ts(a,u){if(!a)return null;const f=a.getBoundingClientRect(),r=Math.max(es,window.innerWidth-f.right),h=Math.max(es,window.innerWidth-u-es);return{right:Math.min(r,h),top:f.bottom+es}}function $6({option:a}){const u=K6[a.target];return u.kind==="simple"?s.jsx("svg",{"aria-hidden":"true",className:"file-actions-brand-icon",focusable:"false",role:"img",style:{color:J6(u.icon)},viewBox:"0 0 24 24",children:s.jsx("path",{d:u.icon.path})}):s.jsx(u.Icon,{"aria-hidden":"true",className:"file-actions-target-icon",size:16})}function J6(a){return a.hex==="000000"?"var(--ide-fg-muted)":`#${a.hex}`}function Lo(a){return a instanceof Error?a.message:String(a)}const F6={bash:v6,css:m6,go:S6,html:j6,js:N6,json:z6,jsx:b2,markdown:M6,python:R6,ruby:O6,rust:L6,swift:k6,ts:U6,tsx:b2,yaml:X6};function W6(a,u=!1){if(!a||u)return null;const f=F6[a];return f?{icon:f,color:P6(f.hex)}:null}function I6({isBinary:a=!1,language:u}){const f=W6(u,a);return f?s.jsx("span",{"aria-hidden":"true",className:"file-language-icon",style:{color:f.color},title:`${f.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:f.icon.path})})}):s.jsx("span",{"aria-hidden":"true",className:"file-language-icon",title:"File",children:s.jsx(Jo,{size:17})})}function P6(a){const u=a.trim().replace(/^#/,"");if(!/^[\dA-Fa-f]{6}$/.test(u))return"currentColor";const f=Number.parseInt(u.slice(0,2),16),r=Number.parseInt(u.slice(2,4),16),h=Number.parseInt(u.slice(4,6),16),y=(.2126*f+.7152*r+.0722*h)/255;return y<.15||y>.9?"currentColor":`#${u}`}function e8({file:a,collapsed:u,viewed:f,onToggle:r,onCopyFileContents:h,onViewedChange:y,onOpenFile:z,openTargets:C}){return s.jsxs("div",{className:"file-header",children:[s.jsxs("button",{className:"file-header-toggle",type:"button",onClick:r,children:[u?s.jsx(U2,{size:18}):s.jsx(Bl,{size:18}),s.jsx(I6,{isBinary:a.isBinary,language:a.language}),s.jsx("span",{className:"file-path",children:a.path}),a.oldPath&&a.oldPath!==a.path?s.jsxs("span",{className:"rename-path",children:["from ",a.oldPath]}):null]}),s.jsxs("span",{className:"stat add",children:["+",a.additions]}),s.jsxs("span",{className:"stat del",children:["-",a.deletions]}),s.jsxs("label",{className:"viewed-toggle",children:[s.jsx("input",{type:"checkbox",checked:f,onChange:x=>y(x.currentTarget.checked)}),s.jsx("span",{children:"Viewed"})]}),s.jsx(fd,{filePath:a.path,openTargets:C,onCopyFileContents:h,onOpenFile:async x=>z(x)})]})}const t8=[];function n8({activeFilePath:a=null,contextSource:u,emptyState:f=null,files:r,record:h,diff:y=h.diff,readOnly:z=!1,reviewId:C,turnId:x,wrapLines:m=!1,viewedFiles:T=new Set,onViewedChange:D=()=>{},openTargets:U=t8,selectedSourcePeek:B=null,onCopyFileContents:$,onOpenFile:he=()=>{},onSourcePeek:me=()=>{},hiddenFiles:Z=new Map,onRevealHiddenFile:je=()=>{}}){const[re,K]=N.useState(new Set),fe=N.useRef(a),oe=Nt(G=>G.draft),W=Nt(G=>G.setDraft),be=r??y.files;if(a!==fe.current&&(fe.current=a,a&&re.has(a))){const G=new Set(re);G.delete(a),K(G)}const Oe=(G,I)=>{I&&((oe==null?void 0:oe.filePath)===G&&W(null),K(q=>{const ie=new Set(q);return ie.add(G),ie})),D(G,I)};return s.jsx("section",{className:"diff-stack",children:be.length===0?f??s.jsx(i8,{record:h}):be.map(G=>{const I=re.has(G.path),q=Z.get(G.path)??null;return s.jsxs("article",{className:`file-card ${a===G.path?"active":""}`,id:i1(G.path),children:[s.jsx(e8,{file:G,openTargets:U,collapsed:I,viewed:T.has(G.path),onToggle:()=>{!I&&(oe==null?void 0:oe.filePath)===G.path&&W(null),K(ie=>{const ae=new Set(ie);return ae.has(G.path)?ae.delete(G.path):ae.add(G.path),ae})},onCopyFileContents:$?()=>$(G.path):void 0,onViewedChange:ie=>Oe(G.path,ie),onOpenFile:ie=>he(G.path,ie)}),I?null:q?s.jsx(l8,{info:q,onReveal:()=>je(G.path)}):s.jsx(c8,{contextSource:u,file:G,readOnly:z,reviewId:C,selectedSourcePeek:B,turnId:x,wrapLines:m,onSourcePeek:me},`${G.oldPath??""}:${G.path}:${m8(C,x,u)}`)]},`${G.oldPath??G.path}:${G.path}`)})})}function l8({info:a,onReveal:u}){const f=a8(a.presetLabels);return s.jsxs("div",{className:"hidden-diff-placeholder",children:[s.jsxs("div",{className:"hidden-diff-skeleton","aria-hidden":"true",children:[s.jsx("span",{}),s.jsx("span",{}),s.jsx("span",{}),s.jsx("span",{}),s.jsx("span",{})]}),s.jsxs("div",{className:"hidden-diff-message",children:[s.jsx("button",{className:"hidden-diff-load",type:"button",onClick:u,children:"Load diff"}),s.jsxs("p",{children:[f," are not rendered by default."]})]})]})}function a8(a){return a.length===0?"Files matching selected presets":a.length===1?a[0]:a.length===2?`${a[0]} and ${Ho(a[1])}`:`${a.slice(0,-1).map((u,f)=>f===0?u:Ho(u)).join(", ")}, and ${Ho(a[a.length-1])}`}function Ho(a){return`${a.charAt(0).toLowerCase()}${a.slice(1)}`}function i8({record:a}){const u=a.diff.scope;return u.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 ",u.comparison.ref," matches ",u.base.ref,"."]})]}):u.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."})]}):u.mode==="explicit"?s.jsxs("div",{className:"empty-diff",children:[s.jsxs("h2",{children:["No changes against ",u.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 c8({contextSource:a,file:u,readOnly:f,reviewId:r,selectedSourcePeek:h,turnId:y,wrapLines:z,onSourcePeek:C}){const x=Nt(b=>b.comments),m=Nt(b=>b.resolution),T=Nt(b=>b.draft),D=Nt(b=>b.setDraft),{resolvedTheme:U}=n1(),[B,$]=N.useState(null),[he,me]=N.useState(null),[Z,je]=N.useState(null),[re,K]=N.useState({}),fe=N.useRef(null),oe=N.useRef(null),W=N.useMemo(()=>l1(u),[u]),be=N.useMemo(()=>new Map(W.map(b=>[b.beforeHunkIndex,b])),[W]),Oe=N.useMemo(()=>f6(u,re),[re,u]),G=(Z==null?void 0:Z.file)===Oe&&Z.theme===U?Z.lines:null,I=N.useMemo(()=>r6(u,re),[re,u]),q=N.useMemo(()=>p8(I),[I]),ie=N.useMemo(()=>new Map(((m==null?void 0:m.comments)??[]).map(b=>[b.commentId,b])),[m]),ae=x.filter(b=>zi(b)&&b.filePath===u.path),De=B&&he&&B.filePath===u.path&&B.side===he.side?Qo(q,B.side,B.line,he.line):null,M=T&&T.filePath===u.path?Qo(q,T.side,T.startLine,T.endLine):null,X=b=>{const{start:Y,end:F}=b,ce=Math.min(Y.line,F.line),pe=Math.max(Y.line,F.line),Me=y8(I,q,Y.side,ce,pe)||Y.snippet;D({filePath:u.path,side:Y.side,startLine:ce,endLine:pe,originalSnippet:Me})};N.useEffect(()=>()=>{var b;return(b=oe.current)==null?void 0:b.call(oe)},[]);const ne=b=>{var ce;if(b.dataset.filePath!==u.path)return null;const Y=b.dataset.side,F=Number(b.dataset.line);return Y!=="L"&&Y!=="R"||!Number.isFinite(F)?null:{filePath:u.path,side:Y,line:F,snippet:((ce=b.querySelector("code"))==null?void 0:ce.textContent)??""}},ve=b=>{const Y=ne(b);Y&&R(Y)},ye=(b,Y)=>{var Me;if(Y.button!==0)return;Y.preventDefault(),(Me=oe.current)==null||Me.call(oe),fe.current={start:b,end:b},$(b),me(b);const F=et=>{var lt;const Xe=(lt=document.elementFromPoint(et.clientX,et.clientY))==null?void 0:lt.closest(".diff-row");Xe&&ve(Xe)},ce=et=>{F(et);const Xe=fe.current;Xe&&X(Xe),Q()},pe=()=>Q();window.addEventListener("mousemove",F),window.addEventListener("mouseup",ce),window.addEventListener("blur",pe),oe.current=()=>{window.removeEventListener("mousemove",F),window.removeEventListener("mouseup",ce),window.removeEventListener("blur",pe),oe.current=null}},g=(b,Y)=>{var F;Y.key!=="Enter"&&Y.key!==" "||Y.repeat||Y.defaultPrevented||Y.nativeEvent.isComposing||(Y.preventDefault(),(F=oe.current)==null||F.call(oe),fe.current=null,$(null),me(null),X({start:b,end:b}))},R=b=>{const Y=fe.current;(Y==null?void 0:Y.start.filePath)===u.path&&Y.start.side===b.side&&(fe.current={...Y,end:b},me(b))},Q=()=>{var b;(b=oe.current)==null||b.call(oe),fe.current=null,$(null),me(null)},J=async(b,Y)=>{if(!r||!a)return;const F=u6(b,re[b.id],Y);if(F){K(ce=>{var pe;return{...ce,[b.id]:{lines:((pe=ce[b.id])==null?void 0:pe.lines)??[],loading:!0,error:null}}});try{const ce=await _5({reviewId:r,filePath:b.filePath,oldPath:b.oldPath,turnId:y,source:a,...F});K(pe=>({...pe,[b.id]:o6(b,pe[b.id],ce.lines)}))}catch(ce){K(pe=>{var Me;return{...pe,[b.id]:{lines:((Me=pe[b.id])==null?void 0:Me.lines)??[],loading:!1,error:ce instanceof Error?ce.message:String(ce)}}})}}};N.useEffect(()=>{let b=!1;return td(async()=>{const{highlightDiffFile:Y}=await import("./syntax-DrIezw90.js");return{highlightDiffFile:Y}},[]).then(({highlightDiffFile:Y})=>Y(Oe,U)).then(Y=>{b||je({file:Oe,lines:Y,theme:U})}).catch(()=>{b||je({file:Oe,lines:null,theme:U})}),()=>{b=!0}},[Oe,U]);const k=(b,Y)=>{const F=e1(b),ce=t1(b);if(ce==null)return null;const pe={filePath:u.path,side:F,line:ce,snippet:b.content},Me=q.get(Ai(F,ce)),et=Me!=null&&E2(Me,De)?De:Me!=null&&E2(Me,M)?M:null,Xe=Me!=null&&et?h8(Me,et.start,et.end):"",lt=T&&T.filePath===u.path&&T.side===F&&ce===T.endLine,ot=ae.filter(rt=>rt.side===F&&ce===Math.max(rt.startLine,rt.endLine));return s.jsxs("div",{children:[s.jsxs("div",{className:`diff-row ${b.type} ${f?"read-only":""} ${Xe} ${lt?"range-continues":""}`,"data-file-path":u.path,"data-line":ce,"data-side":F,children:[Xe?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:b.oldLine??""}),s.jsx("span",{className:"line-number new",children:b.newLine??""}),s.jsx("span",{className:"marker",children:dd(b)}),f?null:s.jsx("button",{"aria-label":`Comment on ${u.path} line ${ce}`,className:"comment-handle",type:"button",onMouseDown:rt=>ye(pe,rt),onKeyDown:rt=>g(pe,rt),children:s.jsx(G2,{size:16,strokeWidth:2.4})})]}),s.jsx(r8,{content:b.content,selectedSourcePeek:h&&h.filePath===u.path&&h.oldPath===u.oldPath&&h.side===F&&h.line===ce?h:null,tokens:(G==null?void 0:G.get(Ai(F,ce)))??null,onSourcePeek:(rt,xt)=>C({column:xt,filePath:u.path,line:ce,oldPath:u.oldPath,side:F,symbol:rt})})]}),ot.map(rt=>{const xt=ie.get(rt.id);return s.jsxs("div",{className:`inline-comment ${xt?"resolved":"open"}`,"data-comment-id":rt.id,children:[xt?s.jsx($o,{size:14}):s.jsx(Hl,{size:14}),s.jsxs("span",{className:"inline-comment-content",children:[f?s.jsx("span",{className:"inline-comment-status",children:xt?"Resolved":"Open · Needs fix"}):null,s.jsx("span",{className:"inline-comment-body",children:rt.body}),xt!=null&&xt.summary?s.jsx("span",{className:"inline-comment-summary",children:xt.summary}):null]})]},rt.id)}),lt&&!f?s.jsx(a6,{tone:b.type}):null]},`${Y}:${b.type}:${b.oldLine??"x"}:${b.newLine??"x"}:${b.content}`)},V=b=>s6(b,re[b.id]).map(Y=>{var F,ce;return Y.type==="lines"?Y.lines.map(pe=>k(pe,`context:${b.id}`)):s.jsx(s8,{canExpand:!!(r&&a),direction:c6(b,Y),error:((F=re[b.id])==null?void 0:F.error)??null,loading:((ce=re[b.id])==null?void 0:ce.loading)??!1,segment:Y,onExpand:pe=>{J(b,pe)}},`hidden:${b.id}:${Y.oldStart}:${Y.newStart}:${Y.lineCount}`)});return s.jsx("section",{"aria-label":`${u.path} diff`,className:`diff-scroller ${z?"wrap-lines":""}`,children:s.jsxs("div",{className:`diff-table ${B?"selecting":""}`,children:[u.isBinary?s.jsx("div",{className:"binary-note",children:"Binary file changed"}):null,u.hunks.map((b,Y)=>{const F=be.get(Y);return s.jsxs("div",{className:"hunk",children:[F?V(F):null,s.jsx("div",{className:"hunk-header",children:b.header||`@@ -${b.oldStart},${b.oldLines} +${b.newStart},${b.newLines} @@`}),b.lines.map(ce=>k(ce,"hunk"))]},`${b.oldStart}:${b.newStart}`)})]})},z?"wrapped":"unwrapped")}function s8({canExpand:a,direction:u,error:f,loading:r,segment:h,onExpand:y}){const z=!a||!!r,C=u8(u);return s.jsxs("div",{className:"hidden-lines",children:[s.jsxs("div",{className:"hidden-lines-main",children:[s.jsx("span",{className:"hidden-lines-count",children:r?s.jsxs(s.Fragment,{children:[s.jsx(Fo,{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":C,className:"hidden-lines-action",disabled:z,title:C,type:"button",onClick:()=>y(u),children:s.jsx(o8,{direction:u})})})]}),f?s.jsx("div",{className:"hidden-lines-error",children:f}):null]})}function u8(a){return a==="up"?"Expand hidden context upward":a==="down"?"Expand hidden context downward":"Expand hidden context"}function o8({direction:a}){return a==="up"?s.jsx(lh,{size:15}):a==="down"?s.jsx(Bl,{size:15}):s.jsx(ih,{size:15})}function r8({content:a,selectedSourcePeek:u,tokens:f,onSourcePeek:r}){return!f||f.length===0?s.jsx("code",{children:s.jsx(j2,{offsetBase:0,selectedSourcePeek:u,text:a||" ",onSourcePeek:r})}):s.jsx("code",{children:f.map(h=>{const y=d8(h);return s.jsx("span",{style:y,children:s.jsx(j2,{offsetBase:h.offset,selectedSourcePeek:u,style:y,text:h.content,onSourcePeek:r})},`${h.offset}:${h.content}`)})})}const ko=/[A-Za-z_$][\w$]*/g,f8=new Set(["as","async","await","break","case","catch","class","const","continue","default","delete","do","else","enum","export","extends","false","finally","for","from","function","if","implements","import","in","instanceof","interface","let","new","null","of","return","static","super","switch","this","throw","true","try","type","typeof","undefined","var","void","while","with","yield"]);function j2({offsetBase:a,selectedSourcePeek:u,style:f,text:r,onSourcePeek:h}){const y=[];let z=0;ko.lastIndex=0;let C=ko.exec(r);for(;C!==null;){const x=C[0],m=C.index;if(m>z&&y.push(r.slice(z,m)),f8.has(x))y.push(x);else{const T=a+m,D=(u==null?void 0:u.column)===T&&u.symbol===x;y.push(s.jsx("button",{"aria-current":D?"location":void 0,className:`source-symbol ${D?"selected":""}`,"data-source-symbol":x,style:f,tabIndex:-1,title:"Command-click or Control-click to peek source",type:"button",onClick:U=>{!U.metaKey&&!U.ctrlKey||(U.preventDefault(),U.stopPropagation(),h(x,T))},onMouseDown:U=>{(U.metaKey||U.ctrlKey)&&U.preventDefault()},onContextMenu:U=>{!U.metaKey&&!U.ctrlKey||(U.preventDefault(),U.stopPropagation(),h(x,T))},onKeyDown:U=>{U.key!=="Enter"&&U.key!==" "||(U.preventDefault(),U.stopPropagation(),h(x,T))},children:x},`${a}:${m}:${x}`))}z=m+x.length,C=ko.exec(r)}return z<r.length&&y.push(r.slice(z)),s.jsx(s.Fragment,{children:y.length>0?y:r})}function d8(a){const u={};a.color&&(u.color=a.color),a.fontStyle&&(a.fontStyle&1)!==0&&(u.fontStyle="italic"),a.fontStyle&&(a.fontStyle&2)!==0&&(u.fontWeight=700);const f=[];return a.fontStyle&&(a.fontStyle&4)!==0&&f.push("underline"),a.fontStyle&&(a.fontStyle&8)!==0&&f.push("line-through"),f.length>0&&(u.textDecorationLine=f.join(" ")),u}function dd(a){return a.type==="add"?"+":a.type==="delete"?"-":" "}function h8(a,u,f){return u===f?"range-selected range-single":a===u?"range-selected range-start":a===f?"range-selected range-end":"range-selected range-middle"}function m8(a,u,f){return!a||!f?"":f.mode==="turn"?`${a}:${u??""}:turn`:f.mode==="commit"?`${a}:${u??""}:commit:${f.sha}`:`${a}:${u??""}:range:${f.fromSha}:${f.toSha}`}function p8(a){const u=new Map;let f=0;for(const r of a){const h=e1(r),y=t1(r);y!=null&&(u.set(Ai(h,y),f),f+=1)}return u}function Qo(a,u,f,r){const h=a.get(Ai(u,f)),y=a.get(Ai(u,r));return h==null||y==null?null:{start:Math.min(h,y),end:Math.max(h,y)}}function E2(a,u){return!!(u&&a>=u.start&&a<=u.end)}function y8(a,u,f,r,h){const y=[],z=Qo(u,f,r,h);if(!z)return"";a.forEach((x,m)=>{t1(x)!=null&&m>=z.start&&m<=z.end&&y.push(x)});const C=new Set(y.map(x=>x.type)).size>1;return y.map(x=>C?`${dd(x)}${x.content}`:x.content).join(`
|
|
297
|
-
`)}const ls="__gloss_no_extension__";function
|
|
298
|
-
`),startLine:h,totalLines:z,truncated:m||C||x,hasMoreAbove:C,hasMoreBelow:x}}function
|
|
296
|
+
~/.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(as,{size:16}),s.jsx("span",{children:"GitHub"})]})})]})}var Mi=L2();const jm=["lockfiles","snapshots","generated","vendored"],X2=[{id:"lockfiles",label:"Lockfiles"},{id:"snapshots",label:"Snapshots"},{id:"generated",label:"Generated"},{id:"vendored",label:"Vendored"}],Em=new Set(["package-lock.json","pnpm-lock.yaml","yarn.lock","Cargo.lock","Gemfile.lock","Pipfile.lock","poetry.lock","uv.lock","go.sum","composer.lock","mix.lock","flake.lock","deno.lock","Podfile.lock"]),wm=["@generated","Code generated","DO NOT EDIT","automatically generated"];function Q2(a){const u=new Set,f=[a.path,a.oldPath].filter(r=>!!r);return f.some(Mm)&&u.add("lockfiles"),f.some(Am)&&u.add("snapshots"),(f.some(Cm)||Rm(a))&&u.add("generated"),f.some(_m)&&u.add("vendored"),u}function Nm(a,u){if(u.size===0)return!1;const f=Q2(a);for(const r of u)if(f.has(r))return!0;return!1}function zm(a,u){if(u.size===0)return{files:a,hidden:[]};const f=[],r=[];for(const h of a)(Nm(h,u)?r:f).push(h);return{files:f,hidden:r}}function Tm(a){if(!Array.isArray(a))return new Set;const u=new Set(jm);return new Set(a.filter(f=>u.has(String(f))))}function Mm(a){const u=Wo(a);return Em.has(u)||/^bun\.lock/.test(u)}function Am(a){const u=os(a),f=Wo(u);return u.split("/").includes("__snapshots__")||/\.snap(?:\.|$)/.test(f)||/\.snapshot(?:\.|$)/.test(f)}function Cm(a){const u=os(a),f=Wo(u),r=u.split("/");return r.includes("__generated__")||r.includes("generated")||/\.generated\./.test(f)||/\.gen\./.test(f)||/\.pb\./.test(f)}function _m(a){const u=os(a).split("/");return u.includes("vendor")||u.includes("vendors")||u.includes("third_party")||u.includes("third-party")||u.includes("external")||u.includes("node_modules")||u.includes("bower_components")||u.includes("Pods")||u.includes("Carthage")||Dm(u,[".yarn","cache"])}function Rm(a){for(const u of a.hunks)for(const f of u.lines)if(Om(f.content))return!0;return!1}function Om(a){const u=a.trim(),f=u.toLowerCase();return/^(\/\/|#|\/\*|\*|<!--|;|--)/.test(u)?wm.some(r=>f.includes(r.toLowerCase())):!1}function Dm(a,u){return a.some((f,r)=>u.every((h,y)=>a[r+y]===h))}function os(a){return a.replace(/\\/g,"/")}function Wo(a){return os(a).split("/").pop()??a}function Z2(a,u,f="",r=""){return a.localeCompare(u,void 0,{sensitivity:"base"})||a.localeCompare(u)||f.localeCompare(r,void 0,{sensitivity:"base"})||f.localeCompare(r)}function Lm(a,u){return Z2(a.path,u.path,a.oldPath??"",u.oldPath??"")}function Hm(a){return a.toSorted(Lm)}const km={mode:"all"};function Um(a=km,u=[]){if(a.mode==="all")return"All commits";if(a.mode==="single"){const h=u.find(y=>y.commit.sha===a.sha);return h?`${h.commit.shortSha} ${h.commit.subject}`:`Commit ${Do(a.sha)}`}const f=u.findIndex(h=>h.commit.sha===a.fromSha),r=u.findIndex(h=>h.commit.sha===a.toSha);return f>=0&&r>=f?`${r-f+1} commits · ${u[f].commit.shortSha} to ${u[r].commit.shortSha}`:`Commit range ${Do(a.fromSha)} to ${Do(a.toSha)}`}function Do(a){return a.slice(0,7)}function o2(a){var f;const u=(f=a.meta.branch??a.diff.branch)==null?void 0:f.trim();return u||Bm(a.diff)}function Bm(a){switch(a.scope.mode){case"branch":return"Branch diff";case"explicit":return`Diff against ${a.scope.requestedBase??a.base.ref}`;case"working":return"Working changes"}}function qm(a){return a==="submitted"||a==="resolved"}const Gm=["L","R"],Vm=["pending","submitted","cancelled","resolved"],Ym=["context","add","delete"],Xm=["working","branch","explicit"],Qm=["working-tree-clean","missing-branch-base"],Zm=500,Km=240,$m=["import","same-file","repo-search","module"],Jm=["all","single","range"],Fm=["partial","resolved"],Wm=["review-resolved","comment-resolved","comment-reopened","turn-created"],Im=["default","vscode","vscode-insiders","vscodium","cursor","sublime","zed","windsurf","webstorm","intellij","pycharm","goland","phpstorm","rubymine","clion","datagrip","android-studio","fleet","neovide","macvim","emacs","lapce","textmate","bbedit","coteditor","nova","textedit","xcode","terminal","iterm2","ghostty","folder"];function Pm(a,u,f){const r=JSON.parse(a);return K2(r,u,f)}function K2(a,u,f){if(!u(a))throw new Error(`Invalid ${f}`);return a}function e5(a){return ke(a)&&te(a.reviewId)&&ut(a.turnId)&&Ea(a.turnIndex)&&te(a.url)&&We(a.files)&&Ea(a.comments)&&ut(a.feedbackPath)&&ut(a.markdownPath)&&ut(a.artifactDir)}function t5(a){return ke(a)&&a.ok===!0&&te(a.path)}function n5(a){return ke(a)&&Jt(a.targets,w5)}function l5(a){return ke(a)&&te(a.filePath)&&te(a.content)}function a5(a){return ke(a)&&te(a.fromSha)&&te(a.toSha)&&fs(a.stats)&&te(a.rawDiff)&&Jt(a.files,Io)}function i5(a){return ke(a)&&te(a.filePath)&&kl(a.oldStart)&&kl(a.newStart)&&Jt(a.lines,I2)}function c5(a){return ke(a)&&te(a.symbol)&&te(a.targetSymbol)&&te(a.filePath)&&kl(a.startLine)&&kl(a.line)&&z5(a.column)&&un(a.language)&&te(a.content)&&Pt(a.truncated)&&kl(a.totalLines)&&Pt(a.hasMoreAbove)&&Pt(a.hasMoreBelow)&&j5(a.matchReason)}function s5(a){return ke(a)&&te(a.filePath)&&kl(a.startLine)&&kl(a.totalLines)&&te(a.content)&&Pt(a.truncated)&&Pt(a.hasMoreAbove)&&Pt(a.hasMoreBelow)}function u5(a){return ke(a)&&r5(a.meta)&&Jt(a.turns,h5)&&$2(a.diff)&&Ul(a.feedback,J2)&&Ul(a.resolution,F2)}function o5(a){return ke(a)&&te(a.id)&&te(a.cwd)&&rs(a.base)&&un(a.branch)&&Po(a.status)&&te(a.createdAt)&&ut(a.submittedAt)&&ut(a.resolvedAt)&&ut(a.artifactDir)&&ut(a.activeTurnId)&&Ul(a.turns,u=>Jt(u,d5))&&ut(a.feedbackPath)&&ut(a.markdownPath)}function r5(a){return o5(a)&&te(a.artifactDir)}function $2(a){return ke(a)&&rs(a.base)&&un(a.branch)&&te(a.cwd)&&m5(a.scope)&&fs(a.stats)&&te(a.rawDiff)&&Jt(a.files,Io)&&Ul(a.commitDiffs,u=>Jt(u,g5))&&te(a.capturedAt)}function J2(a){return ke(a)&&a.version===1&&te(a.reviewId)&&ut(a.turnId)&&Ea(a.turnIndex)&&te(a.timestamp)&&rs(a.base)&&un(a.branch)&&Ul(a.reviewScope,v5)&&Jt(a.comments,S5)}function F2(a){return ke(a)&&te(a.reviewId)&&ut(a.turnId)&&Ea(a.turnIndex)&&ed(a.status)&&un(a.summary)&&un(a.resolvedAt)&&Jt(a.comments,x5)}function f5(a){if(!ke(a)||!te(a.reviewId)||!te(a.type))return!1;switch(a.type){case"review.opened":case"review.cancelled":return!0;case"review.turn.created":return te(a.turnId)&&We(a.turnIndex)&&Pt(a.reused);case"review.submitted":return ut(a.turnId)&&Ea(a.turnIndex)&&ke(a.counts)&&We(a.counts.files)&&We(a.counts.comments);case"review.updated":return ut(a.turnId)&&Ea(a.turnIndex)&&N5(a.reason)&&Po(a.status)&&ed(a.resolutionStatus)&&P2(a.counts);default:return!1}}function W2(a){return ke(a)&&te(a.id)&&We(a.index)&&Po(a.status)&&te(a.createdAt)&&ut(a.submittedAt)&&ut(a.resolvedAt)&&te(a.artifactDir)&&te(a.diffPath)&&ut(a.feedbackPath)&&ut(a.markdownPath)&&ut(a.resolvedPath)}function d5(a){return!ke(a)||!W2(a)?!1:te(a.capturedAt)&&fs(a.stats)&&P2(a.comments)}function h5(a){return!ke(a)||!W2(a)?!1:$2(a.diff)&&Ul(a.feedback,J2)&&Ul(a.resolution,F2)}function m5(a){return ke(a)&&on(a.mode,Xm)&&un(a.requestedBase)&&rs(a.base)&&p5(a.comparison)&&(a.fallbackReason===null||on(a.fallbackReason,Qm))}function p5(a){return ke(a)&&te(a.ref)&&un(a.sha)}function rs(a){return ke(a)&&te(a.ref)&&te(a.sha)}function fs(a){return ke(a)&&We(a.files)&&We(a.additions)&&We(a.deletions)}function y5(a){return ke(a)&&te(a.sha)&&te(a.shortSha)&&te(a.subject)&&te(a.authorName)&&te(a.authorEmail)&&te(a.authoredAt)&&te(a.committedAt)}function g5(a){return ke(a)&&y5(a.commit)&&fs(a.stats)&&te(a.rawDiff)&&Jt(a.files,Io)}function v5(a){if(!ke(a)||!on(a.mode,Jm))return!1;switch(a.mode){case"all":return!0;case"single":return te(a.sha);case"range":return te(a.fromSha)&&te(a.toSha)}}function Io(a){return ke(a)&&te(a.path)&&un(a.oldPath)&&We(a.additions)&&We(a.deletions)&&Pt(a.isBinary)&&Pt(a.isDeleted)&&Pt(a.isNew)&&Pt(a.isRenamed)&&un(a.language)&&Jt(a.hunks,b5)}function b5(a){return ke(a)&&We(a.oldStart)&&We(a.oldLines)&&We(a.newStart)&&We(a.newLines)&&te(a.header)&&Jt(a.lines,I2)}function I2(a){return ke(a)&&on(a.type,Ym)&&r2(a.oldLine)&&r2(a.newLine)&&te(a.content)}function S5(a){return ke(a)?a.kind==="general"?te(a.id)&&te(a.body)&&te(a.createdAt):te(a.id)&&(a.kind===void 0||a.kind==="line")&&te(a.filePath)&&We(a.startLine)&&We(a.endLine)&&on(a.side,Gm)&&te(a.body)&&te(a.originalSnippet)&&te(a.createdAt):!1}function x5(a){return ke(a)&&te(a.commentId)&&a.status==="resolved"&&ut(a.summary)&&te(a.resolvedAt)}function P2(a){return ke(a)&&We(a.total)&&We(a.resolved)&&We(a.open)}function Po(a){return on(a,Vm)}function ed(a){return on(a,Fm)}function j5(a){return on(a,$m)}function E5(a){return on(a,Im)}function w5(a){return ke(a)&&E5(a.target)&&te(a.label)}function N5(a){return on(a,Wm)}function ke(a){return typeof a=="object"&&a!==null&&!Array.isArray(a)}function Jt(a,u){return Array.isArray(a)&&a.every(u)}function Ul(a,u){return a===void 0||u(a)}function te(a){return typeof a=="string"}function ut(a){return a===void 0||te(a)}function un(a){return a===null||te(a)}function We(a){return typeof a=="number"&&Number.isFinite(a)}function kl(a){return We(a)&&Number.isInteger(a)&&a>0}function z5(a){return We(a)&&Number.isInteger(a)&&a>=0}function Ea(a){return a===void 0||We(a)}function r2(a){return a===null||We(a)}function Pt(a){return typeof a=="boolean"}function on(a,u){return typeof a=="string"&&u.includes(a)}async function Rn(a,u,f){if(!a.ok)throw new Error(await T5(a));const r=await a.json();return K2(r,u,f)}async function T5(a){const u=await a.text();return M5(u)??`${a.status}: ${u||a.statusText}`}function M5(a){try{const u=JSON.parse(a);if(typeof u=="object"&&u!==null&&!Array.isArray(u)&&typeof u.error=="string")return u.error}catch{}return null}async function f2(a){return Rn(await fetch(`/api/reviews/${a}`),u5,"review response")}async function A5(a,u,f){const r={comments:u,reviewScope:f};return Rn(await fetch(`/api/reviews/${a}/submit`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(r)}),e5,"submit review response")}async function d2(a,u,f,r={}){const h={filePath:u,turnId:f,...r};return Rn(await fetch(`/api/reviews/${a}/files/open`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(h)}),t5,"open file response")}async function C5(){return Rn(await fetch("/api/open-targets"),n5,"open targets response")}async function h2(a,u,f,r={}){const h={filePath:u,turnId:f,...r};return Rn(await fetch(`/api/reviews/${a}/files/content`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(h)}),l5,"file content response")}async function _5(a,u,f,r){const h={fromSha:u,toSha:f,turnId:r};return Rn(await fetch(`/api/reviews/${a}/commits/range`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(h)}),a5,"commit range diff response")}async function R5({filePath:a,lineCount:u,newStart:f,oldPath:r,oldStart:h,reviewId:y,source:z,turnId:C}){const x={filePath:a,oldPath:r,turnId:C,source:z,oldStart:h,newStart:f,lineCount:u};return Rn(await fetch(`/api/reviews/${y}/files/context`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(x)}),i5,"diff context response")}async function O5({column:a,filePath:u,line:f,oldPath:r,reviewId:h,side:y,source:z,symbol:C,turnId:x}){const m={filePath:u,oldPath:r,turnId:x,source:z,side:y,line:f,column:a,symbol:C};return Rn(await fetch(`/api/reviews/${h}/source-peek`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(m)}),c5,"source peek response")}async function D5({filePath:a,lineCount:u,reviewId:f,side:r,source:h,startLine:y,turnId:z}){const C={filePath:a,turnId:z,source:h,side:r,startLine:y,lineCount:u};return Rn(await fetch(`/api/reviews/${f}/source-peek/range`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(C)}),s5,"source peek range response")}const L5="modulepreload",H5=function(a){return"/"+a},m2={},td=function(u,f,r){let h=Promise.resolve();if(f&&f.length>0){let z=function(m){return Promise.all(m.map(T=>Promise.resolve(T).then(D=>({status:"fulfilled",value:D}),D=>({status:"rejected",reason:D}))))};document.getElementsByTagName("link");const C=document.querySelector("meta[property=csp-nonce]"),x=(C==null?void 0:C.nonce)||(C==null?void 0:C.getAttribute("nonce"));h=z(f.map(m=>{if(m=H5(m),m in m2)return;m2[m]=!0;const T=m.endsWith(".css"),D=T?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${m}"]${D}`))return;const U=document.createElement("link");if(U.rel=T?"stylesheet":L5,T||(U.as="script"),U.crossOrigin="",U.href=m,x&&U.setAttribute("nonce",x),document.head.appendChild(U),T)return new Promise((B,$)=>{U.addEventListener("load",B),U.addEventListener("error",()=>$(new Error(`Unable to preload CSS for ${m}`)))})}))}function y(z){const C=new Event("vite:preloadError",{cancelable:!0});if(C.payload=z,window.dispatchEvent(C),!C.defaultPrevented)throw z}return h.then(z=>{for(const C of z||[])C.status==="rejected"&&y(C.reason);return u().catch(y)})};function e1(a){return a.type==="delete"?"L":"R"}function t1(a){return e1(a)==="L"?a.oldLine:a.newLine}function Ai(a,u){return`${a}:${u}`}const nd="0123456789ABCDEFGHJKMNPQRSTVWXYZ",is=32,k5=16,ld=10,p2=0xffffffffffff;var Ol;(function(a){a.Base32IncorrectEncoding="B32_ENC_INVALID",a.DecodeTimeInvalidCharacter="DEC_TIME_CHAR",a.DecodeTimeValueMalformed="DEC_TIME_MALFORMED",a.EncodeTimeNegative="ENC_TIME_NEG",a.EncodeTimeSizeExceeded="ENC_TIME_SIZE_EXCEED",a.EncodeTimeValueMalformed="ENC_TIME_MALFORMED",a.PRNGDetectFailure="PRNG_DETECT",a.ULIDInvalid="ULID_INVALID",a.Unexpected="UNEXPECTED",a.UUIDInvalid="UUID_INVALID"})(Ol||(Ol={}));class Ni extends Error{constructor(u,f){super(`${f} (${u})`),this.name="ULIDError",this.code=u}}function U5(a){const u=Math.floor(a()*is)%is;return nd.charAt(u)}function B5(a){const u=q5(),f=u&&(u.crypto||u.msCrypto)||null;if(typeof(f==null?void 0:f.getRandomValues)=="function")return()=>{const r=new Uint8Array(1);return f.getRandomValues(r),r[0]/256};if(typeof(f==null?void 0:f.randomBytes)=="function")return()=>f.randomBytes(1).readUInt8()/256;throw new Ni(Ol.PRNGDetectFailure,"Failed to find a reliable PRNG")}function q5(){return Y5()?self:typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:null}function G5(a,u){let f="";for(;a>0;a--)f=U5(u)+f;return f}function V5(a,u=ld){if(isNaN(a))throw new Ni(Ol.EncodeTimeValueMalformed,`Time must be a number: ${a}`);if(a>p2)throw new Ni(Ol.EncodeTimeSizeExceeded,`Cannot encode a time larger than ${p2}: ${a}`);if(a<0)throw new Ni(Ol.EncodeTimeNegative,`Time must be positive: ${a}`);if(Number.isInteger(a)===!1)throw new Ni(Ol.EncodeTimeValueMalformed,`Time must be an integer: ${a}`);let f,r="";for(let h=u;h>0;h--)f=a%is,r=nd.charAt(f)+r,a=(a-f)/is;return r}function Y5(){return typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope}function y2(a,u){const f=B5(),r=Date.now();return V5(r,ld)+G5(k5,f)}const g2=a=>{let u;const f=new Set,r=(m,T)=>{const D=typeof m=="function"?m(u):m;if(!Object.is(D,u)){const U=u;u=T??(typeof D!="object"||D===null)?D:Object.assign({},u,D),f.forEach(B=>B(u,U))}},h=()=>u,C={setState:r,getState:h,getInitialState:()=>x,subscribe:m=>(f.add(m),()=>f.delete(m))},x=u=a(r,h,C);return C},X5=(a=>a?g2(a):g2),Q5=a=>a;function Z5(a,u=Q5){const f=wi.useSyncExternalStore(a.subscribe,wi.useCallback(()=>u(a.getState()),[a,u]),wi.useCallback(()=>u(a.getInitialState()),[a,u]));return wi.useDebugValue(f),f}const v2=a=>{const u=X5(a),f=r=>Z5(u,r);return Object.assign(f,u),f},K5=(a=>a?v2(a):v2),Nt=K5((a,u)=>({comments:[],resolution:null,draft:null,setDraft:f=>a({draft:f}),hydrateComments:f=>a({comments:f,resolution:null,draft:null}),hydrateReview:(f,r=null)=>a({comments:f,resolution:r,draft:null}),addComment:f=>{const r=u().draft;!r||f.trim().length===0||a(h=>({comments:[...h.comments,{kind:"line",id:y2(),filePath:r.filePath,side:r.side,startLine:Math.min(r.startLine,r.endLine),endLine:Math.max(r.startLine,r.endLine),body:f.trim(),originalSnippet:r.originalSnippet,createdAt:new Date().toISOString()}],draft:null}))},addGeneralComment:f=>{const r=f.trim();r.length!==0&&a(h=>({comments:[...h.comments,{kind:"general",id:y2(),body:r,createdAt:new Date().toISOString()}]}))},removeComment:f=>a(r=>({comments:r.comments.filter(h=>h.id!==f)})),reset:()=>a({comments:[],resolution:null,draft:null})})),ad="gloss:theme-preference",$5="(prefers-color-scheme: dark)",J5=new Set(["system","light","dark"]),id=N.createContext(null);function F5(a){return!!(a&&J5.has(a))}function W5(a=cd()){if(!a)return"system";try{const u=a.getItem(ad);return F5(u)?u:"system"}catch{return"system"}}function I5(a,u=cd()){if(u)try{u.setItem(ad,a)}catch{}}function Xo(a){return a?"dark":"light"}function P5(a,u){return a==="system"?u:a}function e6(a,u=l6()){u&&(u.dataset.theme=a)}function t6({children:a}){const[u,f]=N.useState(()=>W5()),[r,h]=N.useState(()=>n6()),y=P5(u,r);N.useEffect(()=>{const x=sd();if(!x)return;const m=T=>{h(Xo(T.matches))};return h(Xo(x.matches)),typeof x.addEventListener=="function"?(x.addEventListener("change",m),()=>x.removeEventListener("change",m)):(x.addListener(m),()=>x.removeListener(m))},[]),N.useEffect(()=>{e6(y)},[y]);const z=N.useCallback(x=>{I5(x),f(x)},[]),C=N.useMemo(()=>({preference:u,resolvedTheme:y,setPreference:z}),[u,y,z]);return s.jsx(id.Provider,{value:C,children:a})}function n1(){const a=N.useContext(id);if(!a)throw new Error("useTheme must be used within ThemeProvider");return a}function n6(a=sd()){return Xo(!!(a!=null&&a.matches))}function cd(){try{return typeof window>"u"?null:window.localStorage}catch{return null}}function sd(){try{return typeof window>"u"||typeof window.matchMedia!="function"?null:window.matchMedia($5)}catch{return null}}function l6(){return typeof document>"u"?null:document.documentElement}function ud(a){return od(a)&&!a.shiftKey}function a6(a){return od(a)&&a.shiftKey===!0}function od(a){var u;return a.key==="Enter"&&a.metaKey===!0&&a.ctrlKey!==!0&&a.altKey!==!0&&a.repeat!==!0&&a.defaultPrevented!==!0&&a.isComposing!==!0&&((u=a.nativeEvent)==null?void 0:u.isComposing)!==!0}function i6({tone:a}){const u=Nt(T=>T.draft),f=Nt(T=>T.setDraft),r=Nt(T=>T.addComment),[h,y]=N.useState(""),z=N.useRef(null);if(N.useEffect(()=>{var T;u&&((T=z.current)==null||T.focus({preventScroll:!0}))},[u]),!u)return null;const C=u.startLine===u.endLine?`Comment on line ${Ti(u)}`:`Comment on range ${Ti(u)}`,x=()=>{y(""),f(null)},m=()=>{r(h),y("")};return s.jsx("div",{className:`draft-comment-shell tone-${a}`,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(Lh,{size:15})}),s.jsx("span",{children:"Local comment"})]}),s.jsx("span",{className:"draft-comment-label",children:C})]}),s.jsx("textarea",{"aria-label":C,placeholder:"Request change",ref:z,value:h,onChange:T=>y(T.target.value),onKeyDown:T=>{ud(T)&&(T.preventDefault(),m())}}),s.jsxs("div",{className:"draft-comment-actions",children:[s.jsx("button",{className:"secondary-button",type:"button",onClick:x,children:"Cancel"}),s.jsx("button",{"aria-keyshortcuts":"Meta+Enter",className:"primary-button",title:"Comment (Command+Enter)",type:"button",onClick:m,children:"Comment"})]})]})})}const rd=20;function c6(a,u){const f=u.oldStart-a.oldStart,r=f+u.lineCount-1,h=f>0,y=r<a.lineCount-1;return h&&y?"all":h?"down":y||a.beforeHunkIndex===0?"up":"all"}function s6(a,u){return u.lineCount<=rd?[c6(a,u)]:u.oldStart-a.oldStart>0||a.beforeHunkIndex>0?["up","down"]:["up"]}function l1(a){const u=[];let f=0,r=0;return a.hunks.forEach((h,y)=>{const z=h.oldStart>f+1?h.oldStart-f-1:0,C=h.newStart>r+1?h.newStart-r-1:0,x=Math.min(z,C);if(x>0){const m=f+1,T=r+1;u.push({id:`${a.path}:${m}:${T}:${x}`,beforeHunkIndex:y,filePath:a.path,oldPath:a.oldPath,oldStart:m,newStart:T,lineCount:x})}f=h.oldStart+h.oldLines-1,r=h.newStart+h.newLines-1}),u}function u6(a,u){const f=ds(a,u),r=fd(a,f),h=a1(a,u);if(r.length===0)return h.length>0?[{type:"lines",lines:h}]:[];const y=r[0]??0,z=r.at(-1)??a.lineCount-1,C=h.filter(m=>{const T=cs(a,m);return T!=null&&T<y}),x=h.filter(m=>{const T=cs(a,m);return T!=null&&T>z});return[...C.length>0?[{type:"lines",lines:C}]:[],{type:"hidden",oldStart:a.oldStart+y,newStart:a.newStart+y,lineCount:z-y+1},...x.length>0?[{type:"lines",lines:x}]:[]]}function o6(a,u,f,r=rd){const h=ds(a,u),y=fd(a,h);if(y.length===0)return null;let z,C;if(f==="all")z=y[0]??0,C=y.at(-1)??a.lineCount-1,C=Math.min(C,z+Zm-1);else if(f==="down"){for(z=y[0]??0,C=z;C+1<a.lineCount&&!h.has(C+1);)C+=1;C=Math.min(C,z+r-1)}else{for(C=y.at(-1)??a.lineCount-1,z=C;z-1>=0&&!h.has(z-1);)z-=1;z=Math.max(z,C-r+1)}return{oldStart:a.oldStart+z,newStart:a.newStart+z,lineCount:C-z+1}}function r6(a,u,f){const r=ds(a,u);for(const h of f){const y=cs(a,h);y!=null&&r.set(y,h)}return{lines:Array.from(r.entries()).toSorted(([h],[y])=>h-y).map(([,h])=>h),loading:!1,error:null}}function a1(a,u){return Array.from(ds(a,u).entries()).toSorted(([f],[r])=>f-r).map(([,f])=>f)}function f6(a,u){const f=new Map(l1(a).map(r=>[r.beforeHunkIndex,r]));return a.hunks.flatMap((r,h)=>{const y=f.get(h);return[...y?a1(y,u[y.id]):[],...r.lines]})}function d6(a,u){const f=new Map(l1(a).map(h=>[h.beforeHunkIndex,h])),r=a.hunks.map((h,y)=>{const z=f.get(y),C=z?a1(z,u[z.id]):[];return C.length>0?{...h,lines:[...C,...h.lines]}:h});return{...a,hunks:r}}function fd(a,u){const f=[];for(let r=0;r<a.lineCount;r+=1)u.has(r)||f.push(r);return f}function ds(a,u){const f=new Map;if(!a||!u)return f;for(const r of u.lines){const h=cs(a,r);h!=null&&f.set(h,r)}return f}function cs(a,u){const f=u.oldLine==null?null:u.oldLine-a.oldStart;if(f!=null&&f>=0&&f<a.lineCount)return f;const r=u.newLine==null?null:u.newLine-a.newStart;return r!=null&&r>=0&&r<a.lineCount?r:null}function i1(a){return`gloss-file-${encodeURIComponent(a)}`}const Ce='<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>',_e='</title><path d="',Re='"/></svg>',h6={title:"Android Studio",slug:"androidstudio",get svg(){return Ce+"Android Studio"+_e+this.path+Re},path:"M19.2693 10.3368c-.3321 0-.6026.2705-.6026.6031v9.8324h-1.7379l-3.3355-6.9396c.476-.5387.6797-1.286.5243-2.0009a2.2862 2.2862 0 0 0-1.2893-1.6248v-.8124c.0121-.2871-.1426-.5787-.4043-.7407-.1391-.0825-.2884-.1234-.4402-.1234a.8478.8478 0 0 0-.4318.1182c-.2701.1671-.4248.4587-.4123.7662l-.0003.721c-1.0149.3668-1.6619 1.4153-1.4867 2.5197a2.282 2.282 0 0 0 .5916 1.2103l-3.2096 6.9064H4.0928c-1.0949-.007-1.9797-.8948-1.9832-1.9896V5.016c-.0055 1.1024.8836 2.0006 1.9859 2.0062a2.024 2.024 0 0 0 .1326-.0037h14.7453s2.5343-.2189 2.8619 1.5392c-.2491.0287-.4449.2321-.4449.4889 0 .7115-.5791 1.2901-1.3028 1.2901h-.8183zM17.222 22.5366c.2347.4837.0329 1.066-.4507 1.3007-.1296.0629-.2666.0895-.4018.0927a.9738.9738 0 0 1-.3194-.0455c-.024-.0078-.046-.0209-.0694-.0305a.9701.9701 0 0 1-.2277-.1321c-.0247-.0192-.0495-.038-.0724-.0598-.0825-.0783-.1574-.1672-.21-.2757l-1.2554-2.6143-1.5585-3.2452a.7725.7725 0 0 0-.6995-.4443h-.0024a.792.792 0 0 0-.7083.4443l-1.5109 3.2452-1.2321 2.6464a.9722.9722 0 0 1-.7985.5795c-.0626.0053-.1238-.0024-.185-.0087-.0344-.0036-.069-.0053-.1025-.0124-.0489-.0103-.0954-.0278-.142-.0452-.0301-.0113-.0613-.0197-.0901-.0339-.0496-.0244-.0948-.0565-.1397-.0889-.0217-.0156-.0457-.0275-.0662-.045a.9862.9862 0 0 1-.1695-.1844.9788.9788 0 0 1-.0708-.9852l.8469-1.8223 3.2676-7.0314a1.7964 1.7964 0 0 1-.7072-1.1637c-.1555-.9799.5129-1.9003 1.4928-2.0559V9.3946a.3542.3542 0 0 1 .1674-.3155.3468.3468 0 0 1 .3541 0 .354.354 0 0 1 .1674.3155v1.159l.0129.0064a1.8028 1.8028 0 0 1 1.2878 1.378 1.7835 1.7835 0 0 1-.6439 1.7836l3.3889 7.0507.8481 1.7643zM12.9841 12.306c.0042-.6081-.4854-1.1044-1.0935-1.1085a1.1204 1.1204 0 0 0-.7856.3219 1.101 1.101 0 0 0-.323.7716c-.0042.6081.4854 1.1044 1.0935 1.1085h.0077c.6046 0 1.0967-.488 1.1009-1.0935zm-1.027 5.2768c-.1119.0005-.2121.0632-.2571.1553l-1.4127 3.0342h3.3733l-1.4564-3.0328a.274.274 0 0 0-.2471-.1567zm8.1432-6.7459l-.0129-.0001h-.8177a.103.103 0 0 0-.103.103v12.9103a.103.103 0 0 0 .0966.103h.8435c.9861-.0035 1.7836-.804 1.7836-1.79V9.0468c0 .9887-.8014 1.7901-1.7901 1.7901zM2.6098 5.0161v.019c.0039.816.6719 1.483 1.4874 1.4869a12.061 12.061 0 0 1 .1309-.0034h1.1286c.1972-1.315.7607-2.525 1.638-3.4859H4.0993c-.9266.0031-1.6971.6401-1.9191 1.4975.2417.0355.4296.235.4296.4859zm6.3381-2.8977L7.9112.3284a.219.219 0 0 1 0-.2189A.2384.2384 0 0 1 8.098 0a.219.219 0 0 1 .1867.1094l1.0496 1.8158a6.4907 6.4907 0 0 1 5.3186 0L15.696.1094a.2189.2189 0 0 1 .3734.2189l-1.0302 1.79c1.6671.9125 2.7974 2.5439 3.0975 4.4018l-12.286-.0014c.3004-1.8572 1.4305-3.488 3.0972-4.4003zm5.3774 2.6202a.515.515 0 0 0 .5271.5028.515.515 0 0 0 .5151-.5151.5213.5213 0 0 0-.8885-.367.5151.5151 0 0 0-.1537.3793zm-5.7178-.0067a.5151.5151 0 0 0 .5207.5095.5086.5086 0 0 0 .367-.1481.5215.5215 0 1 0-.734-.7341.515.515 0 0 0-.1537.3727z",source:"https://developer.android.com/studio",hex:"3DDC84"},m6={title:"CLion",slug:"clion",get svg(){return Ce+"CLion"+_e+this.path+Re},path:"M0 0v24h24V0H0zm7.041 3a5.049 5.049 0 0 1 .219 0c1.86 0 3 .6 3.9 1.56L9.78 6.18C9 5.46 8.22 5.04 7.26 5.04c-1.68 0-2.88 1.38-2.88 3.12 0 1.68 1.2 3.12 2.88 3.12 1.14 0 1.86-.48 2.64-1.14l1.38 1.38c-1.02 1.08-2.16 1.8-4.08 1.8a5.1 5.1 0 0 1-5.1-5.16A5.049 5.049 0 0 1 7.04 3zm5.738.12H15v8.1h4.32v1.86h-6.54V3.12zM2.28 19.5h9V21h-9v-1.5Z",source:"https://www.jetbrains.com/company/brand/logos/",hex:"000000",guidelines:"https://www.jetbrains.com/company/brand/"},p6={title:"CSS",slug:"css",get svg(){return Ce+"CSS"+_e+this.path+Re},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"},y6={title:"Cursor",slug:"cursor",get svg(){return Ce+"Cursor"+_e+this.path+Re},path:"M11.503.131 1.891 5.678a.84.84 0 0 0-.42.726v11.188c0 .3.162.575.42.724l9.609 5.55a1 1 0 0 0 .998 0l9.61-5.55a.84.84 0 0 0 .42-.724V6.404a.84.84 0 0 0-.42-.726L12.497.131a1.01 1.01 0 0 0-.996 0M2.657 6.338h18.55c.263 0 .43.287.297.515L12.23 22.918c-.062.107-.229.064-.229-.06V12.335a.59.59 0 0 0-.295-.51l-9.11-5.257c-.109-.063-.064-.23.061-.23",source:"https://cursor.com/brand",hex:"000000"},g6={title:"DataGrip",slug:"datagrip",get svg(){return Ce+"DataGrip"+_e+this.path+Re},path:"M0 0v24h24V0Zm17.1797 2.9477a5.452 5.452 0 0 1 3.9047 1.364L19.7078 5.972a3.672 3.672 0 0 0-2.596-1.0086c-1.6 0-2.8555 1.408-2.8555 3.096v.0282c0 1.816 1.2517 3.1523 3.0117 3.1523a3.492 3.492 0 0 0 2.064-.5921V9.2234h-2.2V7.336h4.3157v4.3157a6.436 6.436 0 0 1-4.2438 1.5757c-3.096 0-5.2242-2.1797-5.2242-5.1117v-.0281a5.1 5.1 0 0 1 5.2-5.1398zm-14.7438.1718h3.8758c3.12 0 5.2805 2.1439 5.2805 4.9399v.028c0 2.8-2.1605 4.968-5.2805 4.968H2.436Zm4.075 1.9688a2.852 2.852 0 0 0-.1992.003H4.6203v6h1.6914A2.832 2.832 0 0 0 9.304 8.1235v-.036a2.852 2.852 0 0 0-2.793-2.9991Zm-4.303 14.407h9v1.5h-9z",source:"https://www.jetbrains.com/company/brand/logos/",hex:"000000",guidelines:"https://www.jetbrains.com/company/brand/"},v6={title:"Ghostty",slug:"ghostty",get svg(){return Ce+"Ghostty"+_e+this.path+Re},path:"M12 0C6.7 0 2.4 4.3 2.4 9.6v11.146c0 1.772 1.45 3.267 3.222 3.254a3.18 3.18 0 0 0 1.955-.686 1.96 1.96 0 0 1 2.444 0 3.18 3.18 0 0 0 1.976.686c.75 0 1.436-.257 1.98-.686.715-.563 1.71-.587 2.419-.018.59.476 1.355.743 2.182.699 1.705-.094 3.022-1.537 3.022-3.244V9.601C21.6 4.3 17.302 0 12 0M6.069 6.562a1 1 0 0 1 .46.131l3.578 2.065v.002a.974.974 0 0 1 0 1.687L6.53 12.512a.975.975 0 0 1-.976-1.687L7.67 9.602 5.553 8.38a.975.975 0 0 1 .515-1.818m7.438 2.063h4.7a.975.975 0 1 1 0 1.95h-4.7a.975.975 0 0 1 0-1.95",source:"https://github.com/ghostty-org/website/blob/7093f052a2f35e0247fcb828ede644ed74a749a0/public/ghostty-logo.svg",hex:"3551F3"},b6={title:"GNU Bash",slug:"gnubash",get svg(){return Ce+"GNU Bash"+_e+this.path+Re},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"}},S6={title:"GNU Emacs",slug:"gnuemacs",get svg(){return Ce+"GNU Emacs"+_e+this.path+Re},path:"M12,24C5.448,24,0.118,18.617,0.118,12S5.448,0,12,0c6.552,0,11.882,5.383,11.882,12S18.552,24,12,24z M12,0.661 C5.813,0.661,0.779,5.748,0.779,12S5.813,23.339,12,23.339c6.187,0,11.221-5.086,11.221-11.339S18.187,0.661,12,0.661z M8.03,20.197 c0,0,0.978,0.069,2.236-0.042c0.51-0.045,2.444-0.235,3.891-0.552c0,0,1.764-0.377,2.707-0.725c0.987-0.364,1.524-0.673,1.766-1.11 c-0.011-0.09,0.074-0.408-0.381-0.599c-1.164-0.488-2.514-0.4-5.185-0.457c-2.962-0.102-3.948-0.598-4.472-0.997 c-0.503-0.405-0.25-1.526,1.907-2.513c1.086-0.526,5.345-1.496,5.345-1.496c-1.434-0.709-4.109-1.955-4.659-2.224 c-0.482-0.236-1.254-0.591-1.421-1.021c-0.19-0.413,0.448-0.768,0.804-0.87c1.147-0.331,2.766-0.536,4.24-0.56 c0.741-0.012,0.861-0.059,0.861-0.059c1.022-0.17,1.695-0.869,1.414-1.976c-0.252-1.13-1.579-1.795-2.84-1.565 c-1.188,0.217-4.05,1.048-4.05,1.048c3.539-0.031,4.131,0.028,4.395,0.398c0.156,0.218-0.071,0.518-1.015,0.672 c-1.027,0.168-3.163,0.37-3.163,0.37c-2.049,0.122-3.492,0.13-3.925,1.046C6.202,7.564,6.787,8.094,7.043,8.425 c1.082,1.204,2.646,1.853,3.652,2.331c0.379,0.18,1.49,0.52,1.49,0.52c-3.265-0.18-5.619,0.823-7.001,1.977 c-1.562,1.445-0.871,3.168,2.33,4.228c1.891,0.626,2.828,0.921,5.648,0.667c1.661-0.09,1.923-0.036,1.939,0.1 c0.023,0.192-1.845,0.669-2.355,0.816C11.448,19.438,8.047,20.193,8.03,20.197z",source:"https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/images/icons/hicolor/scalable/apps/emacs.svg",hex:"7F5AB6",license:{type:"GPL-2.0-or-later",url:"https://spdx.org/licenses/GPL-2.0-or-later"}},x6={title:"Go",slug:"go",get svg(){return Ce+"Go"+_e+this.path+Re},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"},j6={title:"GoLand",slug:"goland",get svg(){return Ce+"GoLand"+_e+this.path+Re},path:"M0 0v24h24V0Zm6.764 3a5.448 5.448 0 0 1 3.892 1.356L9.284 6.012A3.652 3.652 0 0 0 6.696 5c-1.6 0-2.844 1.4-2.844 3.08v.028c0 1.812 1.244 3.14 3 3.14a3.468 3.468 0 0 0 2.048-.596V9.228H6.708v-1.88H11v4.296a6.428 6.428 0 0 1-4.228 1.572c-3.076 0-5.196-2.164-5.196-5.092v-.028A5.08 5.08 0 0 1 6.764 3Zm10.432 0c3.052 0 5.244 2.276 5.244 5.088v.028a5.116 5.116 0 0 1-5.272 5.12c-3.056-.02-5.248-2.296-5.248-5.112v-.028A5.116 5.116 0 0 1 17.196 3Zm-.028 2A2.96 2.96 0 0 0 14.2 8.068v.028a3.008 3.008 0 0 0 3 3.112 2.96 2.96 0 0 0 2.964-3.084v-.028A3.004 3.004 0 0 0 17.168 5ZM2.252 19.5h9V21h-9z",source:"https://www.jetbrains.com/company/brand/#logos-and-icons-jetbrains-logos",hex:"000000",guidelines:"https://www.jetbrains.com/company/brand/#brand-guidelines"},E6={title:"HTML5",slug:"html5",get svg(){return Ce+"HTML5"+_e+this.path+Re},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"},w6={title:"IntelliJ IDEA",slug:"intellijidea",get svg(){return Ce+"IntelliJ IDEA"+_e+this.path+Re},path:"M0 0v24h24V0zm3.723 3.111h5v1.834h-1.39v6.277h1.39v1.834h-5v-1.834h1.444V4.945H3.723zm11.055 0H17v6.5c0 .612-.055 1.111-.222 1.556-.167.444-.39.777-.723 1.11-.277.279-.666.557-1.11.668a3.933 3.933 0 0 1-1.445.278c-.778 0-1.444-.167-1.944-.445a4.81 4.81 0 0 1-1.279-1.056l1.39-1.555c.277.334.555.555.833.722.277.167.611.278.945.278.389 0 .721-.111 1-.389.221-.278.333-.667.333-1.278zM2.222 19.5h9V21h-9z",source:"https://www.jetbrains.com/idea/",hex:"000000",guidelines:"https://www.jetbrains.com/company/brand/"},N6={title:"iTerm2",slug:"iterm2",get svg(){return Ce+"iTerm2"+_e+this.path+Re},path:"M24 5.359v13.282A5.36 5.36 0 0 1 18.641 24H5.359A5.36 5.36 0 0 1 0 18.641V5.359A5.36 5.36 0 0 1 5.359 0h13.282A5.36 5.36 0 0 1 24 5.359m-.932-.233A4.196 4.196 0 0 0 18.874.932H5.126A4.196 4.196 0 0 0 .932 5.126v13.748a4.196 4.196 0 0 0 4.194 4.194h13.748a4.196 4.196 0 0 0 4.194-4.194zm-.816.233v13.282a3.613 3.613 0 0 1-3.611 3.611H5.359a3.613 3.613 0 0 1-3.611-3.611V5.359a3.613 3.613 0 0 1 3.611-3.611h13.282a3.613 3.613 0 0 1 3.611 3.611M8.854 4.194v6.495h.962V4.194zM5.483 9.493v1.085h.597V9.48q.283-.037.508-.133.373-.165.575-.448.208-.284.208-.649a.9.9 0 0 0-.171-.568 1.4 1.4 0 0 0-.426-.388 3 3 0 0 0-.544-.261 32 32 0 0 0-.545-.209 1.8 1.8 0 0 1-.426-.216q-.164-.12-.164-.284 0-.223.179-.351.18-.126.485-.127.344 0 .575.105.239.105.5.298l.433-.5a2.3 2.3 0 0 0-.605-.433 1.6 1.6 0 0 0-.582-.159v-.968h-.597v.978a2 2 0 0 0-.477.127 1.2 1.2 0 0 0-.545.411q-.194.268-.194.634 0 .335.164.56.164.224.418.38a4 4 0 0 0 .552.262q.291.104.545.209.261.104.425.238a.39.39 0 0 1 .165.321q0 .225-.187.359-.18.134-.537.134-.381 0-.717-.134a4.4 4.4 0 0 1-.649-.351l-.388.589q.209.173.477.306.276.135.575.217.191.046.373.064",source:"https://github.com/gnachman/iTerm2/blob/6a857f3f5872eb1465ddc0dd83412015991e79ae/images/AppIcon/iTermIcon.sketch",hex:"000000"},z6={title:"JavaScript",slug:"javascript",get svg(){return Ce+"JavaScript"+_e+this.path+Re},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"}},T6={title:"JSON",slug:"json",get svg(){return Ce+"JSON"+_e+this.path+Re},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"},M6={title:"Lapce",slug:"lapce",get svg(){return Ce+"Lapce"+_e+this.path+Re},path:"M3.802 1.267 1.608 0v24L8 20.31v-2.535L3.802 20.2Zm4.208 13.9V6.231L18.003 12l-7.798 4.503v2.533L22.392 12 5.806 2.424V16.44Zm5.598-3.231L10.205 9.97v3.93Z",source:"https://github.com/lapce/lapce/blob/95c4cf2d87083e348c0b621d0be0ea17f79ed703/extra/images/logo.svg",hex:"3B82F6"},A6={title:"Markdown",slug:"markdown",get svg(){return Ce+"Markdown"+_e+this.path+Re},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"}},C6={title:"Neovim",slug:"neovim",get svg(){return Ce+"Neovim"+_e+this.path+Re},path:"M2.214 4.954v13.615L7.655 24V10.314L3.312 3.845 2.214 4.954zm4.999 17.98l-4.557-4.548V5.136l.59-.596 3.967 5.908v12.485zm14.573-4.457l-.862.937-4.24-6.376V0l5.068 5.092.034 13.385zM7.431.001l12.998 19.835-3.637 3.637L3.787 3.683 7.43 0z",source:"https://neovim.io",hex:"57A143",license:{type:"CC-BY-SA-3.0",url:"https://spdx.org/licenses/CC-BY-SA-3.0"}},_6={title:"PhpStorm",slug:"phpstorm",get svg(){return Ce+"PhpStorm"+_e+this.path+Re},path:"M7.833 6.611v-.055c0-1-.667-1.5-1.778-1.5H4.389v3.056h1.722c1.111-.001 1.722-.668 1.722-1.501zM0 0v24h24V0H0zm2.167 3.111h4.056c2.389 0 3.833 1.389 3.833 3.445v.055c0 2.333-1.778 3.5-4.056 3.5H4.333v3H2.167v-10zM11.278 21h-9v-1.5h9V21zM18.5 10.222c0 2-1.5 3.111-3.667 3.111-1.5-.056-3-.611-4.222-1.667l1.278-1.556c.89.722 1.833 1.222 3 1.222.889 0 1.444-.333 1.444-.944v-.056c0-.555-.333-.833-2-1.277C12.333 8.555 11 8 11 6v-.056c0-1.833 1.444-3 3.5-3 1.444 0 2.723.444 3.723 1.278l-1.167 1.667c-.889-.611-1.777-1-2.611-1-.833 0-1.278.389-1.278.889v.056c0 .667.445.889 2.167 1.333 2 .556 3.167 1.278 3.167 3v.055z",source:"https://www.jetbrains.com/company/brand/logos/",hex:"000000",guidelines:"https://www.jetbrains.com/company/brand/"},R6={title:"PyCharm",slug:"pycharm",get svg(){return Ce+"PyCharm"+_e+this.path+Re},path:"M7.833 6.666v-.055c0-1-.667-1.5-1.778-1.5H4.389v3.055h1.723c1.111 0 1.721-.666 1.721-1.5zM0 0v24h24V0H0zm2.223 3.167h4c2.389 0 3.833 1.389 3.833 3.445v.055c0 2.278-1.778 3.5-4.001 3.5H4.389v2.945H2.223V3.167zM11.277 21h-9v-1.5h9V21zm4.779-7.777c-2.944.055-5.111-2.223-5.111-5.057C10.944 5.333 13.056 3 16.111 3c1.889 0 3 .611 3.944 1.556l-1.389 1.61c-.778-.722-1.556-1.111-2.556-1.111-1.658 0-2.873 1.375-2.887 3.084.014 1.709 1.174 3.083 2.887 3.083 1.111 0 1.833-.445 2.61-1.167l1.39 1.389c-.999 1.112-2.166 1.779-4.054 1.779z",source:"https://www.jetbrains.com/company/brand/logos/",hex:"000000",guidelines:"https://www.jetbrains.com/company/brand/"},O6={title:"Python",slug:"python",get svg(){return Ce+"Python"+_e+this.path+Re},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/"},b2={title:"React",slug:"react",get svg(){return Ce+"React"+_e+this.path+Re},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"},D6={title:"Ruby",slug:"ruby",get svg(){return Ce+"Ruby"+_e+this.path+Re},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"}},L6={title:"RubyMine",slug:"rubymine",get svg(){return Ce+"RubyMine"+_e+this.path+Re},path:"M0 0v24h24V0Zm3.056 3H6.92q.945 0 1.665.347t1.106.977c.262.42.392.902.392 1.46q0 .835-.399 1.478a2.6 2.6 0 0 1-1.125.99 2 2 0 0 1-.297.103q-.066.02-.13.04L10.276 12H8.264l-1.94-3.4H4.811V12H3.056Zm8.51 0h2.444l1.851 5.907.154.773.136-.773L17.937 3h2.482v9h-1.736V5.578l.026-.47L16.613 12H15.34l-2.07-6.846.026.424V12h-1.73ZM4.812 4.459V7.14h1.993q.444-.001.771-.161.335-.167.515-.47c.12-.205.18-.439.18-.713q0-.411-.18-.707a1.17 1.17 0 0 0-.515-.462 1.7 1.7 0 0 0-.77-.168ZM2.996 19.2h9.6V21h-9.6z",source:"https://www.jetbrains.com/company/brand/logos",hex:"000000",guidelines:"https://www.jetbrains.com/company/brand"},H6={title:"Rust",slug:"rust",get svg(){return Ce+"Rust"+_e+this.path+Re},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"}},k6={title:"Sublime Text",slug:"sublimetext",get svg(){return Ce+"Sublime Text"+_e+this.path+Re},path:"M20.953.004a.397.397 0 0 0-.18.017L3.225 5.585c-.175.055-.323.214-.402.398a.42.42 0 0 0-.06.22v5.726a.42.42 0 0 0 .06.22c.079.183.227.341.402.397l7.454 2.364-7.454 2.363c-.255.08-.463.374-.463.655v5.688c0 .282.208.444.463.363l17.55-5.565c.237-.075.426-.336.452-.6.003-.022.013-.04.013-.065V12.06c0-.281-.208-.575-.463-.656L13.4 9.065l7.375-2.339c.255-.08.462-.375.462-.656V.384c0-.211-.117-.355-.283-.38z",source:"https://www.sublimetext.com",hex:"FF9800"},U6={title:"Swift",slug:"swift",get svg(){return Ce+"Swift"+_e+this.path+Re},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/"},B6={title:"TypeScript",slug:"typescript",get svg(){return Ce+"TypeScript"+_e+this.path+Re},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"},q6={title:"Vim",slug:"vim",get svg(){return Ce+"Vim"+_e+this.path+Re},path:"M24 11.986h-.027l-4.318-4.318 4.303-4.414V1.461l-.649-.648h-8.198l-.66.605v1.045L12.015.027V0L12 .014 11.986 0v.027l-1.29 1.291-.538-.539H2.035l-.638.692v1.885l.616.616h.72v5.31L.027 11.987H0L.014 12 0 12.014h.027l2.706 2.706v6.467l.907.523h2.322l1.857-1.904 4.166 4.166V24l.015-.014.014.014v-.028l2.51-2.509h.485c.111 0 .211-.07.25-.179l.146-.426c.028-.084.012-.172-.037-.239l1.462-1.462-.612 1.962c-.043.141.036.289.177.332.025.008.052.012.078.012h1.824c.106-.001.201-.064.243-.163l.165-.394c.025-.065.024-.138-.004-.203-.027-.065-.08-.116-.146-.142-.029-.012-.062-.019-.097-.02h-.075l.84-2.644h1.232l-1.016 3.221c-.043.141.036.289.176.332.025.008.052.012.079.012h2.002c.11 0 .207-.066.248-.17l.164-.428c.051-.138-.021-.29-.158-.341-.029-.011-.06-.017-.091-.017h-.145l1.131-3.673c.027-.082.012-.173-.039-.24l-.375-.504-.003-.005c-.051-.064-.127-.102-.209-.102h-1.436c-.071 0-.141.03-.19.081l-.4.439h-.624l-.042-.046 4.445-4.445H24L23.986 12l.014-.014zM9.838 21.139l1.579-4.509h-.501l.297-.304h1.659l-1.563 4.555h.623l-.079.258H9.838zm3.695-7.516l.15.151-.269.922-.225.226h-.969l-.181-.181.311-.871.288-.247h.895zM5.59 20.829H3.877l-.262-.15V3.091H2.379l-.1-.1V1.815l.143-.154h7.371l.213.214v1.108l-.142.173H8.785v8.688l8.807-8.688h-2.086l-.175-.188V1.805l.121-.111h7.49l.132.133v1.07L12.979 13.25h-.373c-.015-.001-.028 0-.042.001l-.02.003c-.045.01-.086.03-.119.06l-.343.295-.004.003c-.033.031-.059.069-.073.111l-.296.83-6.119 6.276zm14.768-3.952l.474-.519h1.334l.309.415-1.265 4.107h.493l-.08.209H19.84l1.124-3.564h-2.015l-1.077 3.391h.424l-.073.174h-1.605l1.107-3.548h-2.096l-1.062 3.339h.436l-.072.209H13.27l1.514-4.46H14.198l.091-.271h1.65l.519.537h.906l.491-.554h1.061l.489.535h.953z",source:"https://commons.wikimedia.org/wiki/File:Vimlogo.svg",hex:"019733"},G6={title:"VSCodium",slug:"vscodium",get svg(){return Ce+"VSCodium"+_e+this.path+Re},path:"M11.583.54a1.467 1.467 0 0 0-.441 2.032c2.426 3.758 2.999 6.592 2.75 9.075-1.004 4.756-3.187 5.721-5.094 5.721-1.863 0-1.364-3.065.036-3.962.836-.522 1.906-.861 2.728-.861.814 0 1.474-.658 1.474-1.47 0-.812-.66-1.47-1.474-1.47-.96 0-1.901.202-2.78.545.18-.847.246-1.762.014-2.735-.352-1.477-1.367-2.889-3.128-4.257a1.476 1.476 0 0 0-2.069.256c-.5.64-.384 1.564.259 2.063 1.435 1.114 1.908 1.939 2.07 2.618.162.679.032 1.407-.293 2.408-.416 1.349-.9 2.553-1.11 3.708-.105.568-.114 1.187-.14 1.68-1.034-1.006-1.438-2.336-1.438-4.279 0-.811-.66-1.47-1.474-1.47-.814.001-1.473.659-1.473 1.47 0 2.654.776 5.179 2.855 6.863 1.883 1.793 6.67 1.13 6.67 4.01 0 .812 1.19 1.208 2.004 1.208.834 0 1.885-.558 1.885-1.208 0-3.267 3.443-5.253 9.11-5.244A1.472 1.472 0 0 0 24 15.773 1.472 1.472 0 0 0 22.53 14.3c-.388 0-.765.013-1.138.035.634-1.49.915-3.13.857-4.903a1.473 1.473 0 0 0-1.522-1.42 1.472 1.472 0 0 0-1.425 1.517c.076 2.32-.01 4.393-1.74 5.485-.49.31-1.062.58-1.604.58.42-1.145.738-2.353.869-3.655.083-.83.091-1.818-.003-2.585-.148-1.188-.325-2.535.126-3.55.405-.874 1.313-1.24 2.645-1.24.814 0 1.473-.659 1.473-1.47 0-.811-.659-1.47-1.473-1.47-1.98 0-3.481 1.042-4.332 2.3-.445-.95-.987-1.929-1.642-2.943a1.474 1.474 0 0 0-2.037-.44z",source:"https://github.com/VSCodium/vscodium.github.io/blob/ed028c57f10e6432ec55dfc34d4db1a83fba941d/img/codium_cnl.svg",hex:"2F80ED"},V6={title:"WebStorm",slug:"webstorm",get svg(){return Ce+"WebStorm"+_e+this.path+Re},path:"M0 0v24h24V0H0zm17.889 2.889c1.444 0 2.667.444 3.667 1.278l-1.111 1.667c-.889-.611-1.722-1-2.556-1s-1.278.389-1.278.889v.056c0 .667.444.889 2.111 1.333 2 .556 3.111 1.278 3.111 3v.056c0 2-1.5 3.111-3.611 3.111-1.5-.056-3-.611-4.167-1.667l1.278-1.556c.889.722 1.833 1.222 2.944 1.222.889 0 1.389-.333 1.389-.944v-.056c0-.556-.333-.833-2-1.278-2-.5-3.222-1.056-3.222-3.056v-.056c0-1.833 1.444-3 3.444-3zm-16.111.222h2.278l1.5 5.778 1.722-5.778h1.667l1.667 5.778 1.5-5.778h2.333l-2.833 9.944H9.723L8.112 7.277l-1.667 5.778H4.612L1.779 3.111zm.5 16.389h9V21h-9v-1.5z",source:"https://www.jetbrains.com/company/brand/logos",hex:"000000",guidelines:"https://www.jetbrains.com/company/brand"},Y6={title:"Windsurf",slug:"windsurf",get svg(){return Ce+"Windsurf"+_e+this.path+Re},path:"M23.55 5.067c-1.2038-.002-2.1806.973-2.1806 2.1765v4.8676c0 .972-.8035 1.7594-1.7597 1.7594-.568 0-1.1352-.286-1.4718-.7659l-4.9713-7.1003c-.4125-.5896-1.0837-.941-1.8103-.941-1.1334 0-2.1533.9635-2.1533 2.153v4.8957c0 .972-.7969 1.7594-1.7596 1.7594-.57 0-1.1363-.286-1.4728-.7658L.4076 5.1598C.2822 4.9798 0 5.0688 0 5.2882v4.2452c0 .2147.0656.4228.1884.599l5.4748 7.8183c.3234.462.8006.8052 1.3509.9298 1.3771.313 2.6446-.747 2.6446-2.0977v-4.893c0-.972.7875-1.7593 1.7596-1.7593h.003a1.798 1.798 0 0 1 1.4718.7658l4.9723 7.0994c.4135.5905 1.05.941 1.8093.941 1.1587 0 2.1515-.9645 2.1515-2.153v-4.8948c0-.972.7875-1.7594 1.7596-1.7594h.194a.22.22 0 0 0 .2204-.2202v-4.622a.22.22 0 0 0-.2203-.2203Z",source:"https://windsurf.com/brand",hex:"0B100F",guidelines:"https://windsurf.com/brand"},X6={title:"Xcode",slug:"xcode",get svg(){return Ce+"Xcode"+_e+this.path+Re},path:"M19.06 5.3327c.4517-.1936.7744-.2581 1.097-.1936.5163.1291.7744.5163.968.7098.1936.3872.9034.7744 1.2261.8389.2581.0645.7098-.6453 1.0325-1.2906.3227-.5808.5163-1.3552.4517-1.5488-.0645-.1936-.968-.5808-1.1616-.5808-.1291 0-.3872.1291-.8389.0645-.4517-.0645-.9034-.5808-1.1616-.968-.4517-.6453-1.097-1.0325-1.6778-1.3552-.6453-.3227-1.3552-.5163-2.065-.6453-1.0325-.2581-2.065-.4517-3.0975-.3227-.5808.0645-1.2906.1291-1.8069.3227-.0645 0-.1936.1936-.0645.1936s.5808.0645.5808.0645-.5807.1292-.5807.2583c0 .1291.0645.1291.1291.1291.0645 0 1.4842-.0645 2.065 0 .6453.1291 1.3552.4517 1.8069 1.2261.7744 1.4197.4517 2.7749.2581 3.2266-.968 2.1295-8.6472 15.2294-9.0344 16.1328-.3873.9034-.5163 1.4842.5807 2.065s1.6778.3227 2.0005-.0645c.3872-.5163 7.0339-17.1654 9.2925-18.2624zm-3.6138 8.7117h1.5488c1.0325 0 1.2261.5163 1.2261.7098.0645.5163-.1936 1.1616-1.2261 1.1616h-.968l.7744 1.2906c.4517.7744.2581 1.1616 0 1.4197-.3872.3872-1.2261.3872-1.6778-.4517l-.9034-1.5488c-.6453 1.4197-1.2906 2.9684-2.065 4.7753h4.0009c1.9359 0 3.5492-1.6133 3.5492-3.5492V6.5588c-.0645-.1291-.1936-.0645-.2581 0-.3872.4517-1.4842 2.0004-4.001 7.4856zm-9.8087 8.0019h-.3227c-2.3231 0-4.1945-1.8714-4.1945-4.1945V7.0105c0-2.3231 1.8714-4.1945 4.1945-4.1945h9.3571c-.1936-.1936-.968-.5163-1.7423-.4517-.3227 0-.968.1291-1.3552-.1291-.3872-.3227-.3227-.5163-.9034-.5163H4.9277c-2.6458 0-4.7753 2.1295-4.7753 4.7753v11.7447c0 2.6458 2.1295 4.7753 4.4527 4.7108.6452 0 .8388-.5162 1.0324-.9034zM20.4152 6.9459v10.9058c0 2.3231-1.8714 4.1945-4.1945 4.1945H11.897s-.3872 1.0325.8389 1.0325h3.8719c2.6458 0 4.7753-2.1295 4.7753-4.7753V8.8173c.0646-.9034-.7098-1.4842-.9679-1.8714zm-18.5851.0646v10.8413c0 1.9359 1.6133 3.5492 3.5492 3.5492h.5808c0-.0645.7744-1.4197 2.4522-4.2591.1936-.3872.4517-.7744.7098-1.2261H4.4114c-.5808 0-.9034-.3872-.968-.7098-.1291-.5163.1936-1.1616.9034-1.1616h2.3877l3.033-5.2916s-.7098-1.2906-.9034-1.6133c-.2582-.4517-.1291-.9034.129-1.1615.3872-.3872 1.0325-.5808 1.6778.4517l.2581.3872.2581-.3872c.5808-.8389.968-.7744 1.2906-.7098.5163.1291.8389.7098.3872 1.6133L8.864 14.0444h1.3552c.4517-.7744.9034-1.5488 1.3552-2.3877-.0645-.3227-.1291-.7098-.0645-1.0325.0645-.5163.3227-.968.6453-1.3552l.3872.6453c1.2261-2.1295 2.1295-3.9364 2.3877-4.6463.1291-.3872.3227-1.1616.1291-1.8069H5.3794c-2.0005.0001-3.5493 1.6134-3.5493 3.5494zM4.605 17.7872c0-.0645.7744-1.4197.7744-1.4197 1.2261-.3227 1.8069.4517 1.8714.5163 0 0-.8389 1.4842-1.097 1.7423s-.5808.3227-.9034.2581c-.5164-.129-.839-.6453-.6454-1.097z",source:"https://developer.apple.com/develop",hex:"147EFB"},Q6={title:"YAML",slug:"yaml",get svg(){return Ce+"YAML"+_e+this.path+Re},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"},Z6={title:"Zed Industries",slug:"zedindustries",get svg(){return Ce+"Zed Industries"+_e+this.path+Re},path:"M2.25 1.5a.75.75 0 0 0-.75.75v16.5H0V2.25A2.25 2.25 0 0 1 2.25 0h20.095c1.002 0 1.504 1.212.795 1.92L10.764 14.298h3.486V12.75h1.5v1.922a1.125 1.125 0 0 1-1.125 1.125H9.264l-2.578 2.578h11.689V9h1.5v9.375a1.5 1.5 0 0 1-1.5 1.5H5.185L2.562 22.5H21.75a.75.75 0 0 0 .75-.75V5.25H24v16.5A2.25 2.25 0 0 1 21.75 24H1.655C.653 24 .151 22.788.86 22.08L13.19 9.75H9.75v1.5h-1.5V9.375A1.125 1.125 0 0 1 9.375 8.25h5.314l2.625-2.625H5.625V15h-1.5V5.625a1.5 1.5 0 0 1 1.5-1.5h13.19L21.438 1.5z",source:"https://github.com/zed-industries/zed/blob/ccc939124fa2f366b3029926447fd0a0c46a85c7/assets/icons/logo_96.svg",hex:"084CCF"},K6=[{label:"Default app",target:"default"},{label:"Open in folder",target:"folder"}],S2=190,x2=172,es=8,$6={"android-studio":{icon:h6,kind:"simple"},bbedit:{Icon:cl,kind:"lucide"},clion:{icon:m6,kind:"simple"},coteditor:{Icon:cl,kind:"lucide"},cursor:{icon:y6,kind:"simple"},datagrip:{icon:g6,kind:"simple"},default:{Icon:I3,kind:"lucide"},emacs:{icon:S6,kind:"simple"},fleet:{Icon:cl,kind:"lucide"},folder:{Icon:q2,kind:"lucide"},ghostty:{icon:v6,kind:"simple"},goland:{icon:j6,kind:"simple"},intellij:{icon:w6,kind:"simple"},iterm2:{icon:N6,kind:"simple"},lapce:{icon:M6,kind:"simple"},macvim:{icon:q6,kind:"simple"},neovide:{icon:C6,kind:"simple"},nova:{Icon:cl,kind:"lucide"},phpstorm:{icon:_6,kind:"simple"},pycharm:{icon:R6,kind:"simple"},rubymine:{icon:L6,kind:"simple"},sublime:{icon:k6,kind:"simple"},terminal:{Icon:lm,kind:"lucide"},textedit:{Icon:B2,kind:"lucide"},textmate:{Icon:cl,kind:"lucide"},vscodium:{icon:G6,kind:"simple"},vscode:{Icon:cl,kind:"lucide"},"vscode-insiders":{Icon:cl,kind:"lucide"},webstorm:{icon:V6,kind:"simple"},windsurf:{icon:Y6,kind:"simple"},xcode:{icon:X6,kind:"simple"},zed:{icon:Z6,kind:"simple"}};function dd({fileContent:a,filePath:u,openTargets:f,wordWrap:r,onActionMessage:h,onCopyFileContents:y,onOpenFile:z,onWordWrapChange:C}){const[x,m]=N.useState(!1),[T,D]=N.useState(!1),[U,B]=N.useState(null),[$,he]=N.useState(null),me=N.useRef(null),Z=N.useRef(null),je=N.useRef(null),re=N.useRef(null),K=N.useRef(null),fe=N.useMemo(()=>f.length>0?f:K6,[f]),oe=a!==void 0||y!==void 0,W=N.useCallback(()=>{m(!1),D(!1)},[]),be=N.useCallback(()=>{x&&B(ts(me.current,S2)),T&&he(ts(re.current,x2))},[x,T]);N.useEffect(()=>{if(!(!x&&!T))return be(),window.addEventListener("resize",be),window.addEventListener("scroll",be,!0),()=>{window.removeEventListener("resize",be),window.removeEventListener("scroll",be,!0)}},[x,T,be]),N.useEffect(()=>{if(!x&&!T)return;const ae=M=>{var ne,ve,ye;const X=M.target;!((ne=je.current)!=null&&ne.contains(X))&&!((ve=Z.current)!=null&&ve.contains(X))&&!((ye=K.current)!=null&&ye.contains(X))&&W()},De=M=>{M.key==="Escape"&&W()};return window.addEventListener("pointerdown",ae),window.addEventListener("keydown",De),()=>{window.removeEventListener("pointerdown",ae),window.removeEventListener("keydown",De)}},[x,W,T]);const Oe=async(ae,De)=>{W();try{await navigator.clipboard.writeText(ae),h==null||h(`${De} copied`)}catch(M){h==null||h(`Could not copy ${De.toLowerCase()}: ${Lo(M)}`)}},G=async()=>{W();try{const ae=a??await(y==null?void 0:y());if(ae===void 0)return;await navigator.clipboard.writeText(ae),h==null||h("File contents copied")}catch(ae){h==null||h(`Could not copy file contents: ${Lo(ae)}`)}},I=async(ae,De)=>{W(),h==null||h(`Opening in ${De}`);try{await z(ae),h==null||h(`Opened in ${De}`)}catch(M){h==null||h(`Could not open in ${De}: ${Lo(M)}`)}},q=x&&U?Mi.createPortal(s.jsxs("div",{className:"file-actions-popover actions",ref:Z,role:"menu",style:U,children:[s.jsxs("button",{role:"menuitem",type:"button",onClick:()=>Oe(u,"Path"),children:[s.jsx(mh,{size:16}),s.jsx("span",{children:"Copy path"})]}),oe?s.jsxs("button",{role:"menuitem",type:"button",onClick:G,children:[s.jsx(B2,{size:16}),s.jsx("span",{children:"Copy file contents"})]}):null,C?s.jsxs("button",{"aria-checked":!!r,role:"menuitemcheckbox",type:"button",onClick:()=>{C(!r),W()},children:[s.jsx(V2,{size:16}),s.jsxs("span",{children:[r?"Disable":"Enable"," word wrap"]})]}):null]}),document.body):null,ie=T&&$?Mi.createPortal(s.jsx("div",{className:"file-actions-popover open",ref:K,role:"menu",style:$,children:fe.map((ae,De)=>s.jsxs("button",{className:De===fe.length-1?"separated":"",role:"menuitem",type:"button",onClick:()=>I(ae.target,ae.label),children:[s.jsx(J6,{option:ae}),s.jsx("span",{children:ae.label})]},ae.target))}),document.body):null;return s.jsxs("div",{className:"file-actions-menu",ref:je,children:[s.jsxs("div",{className:"file-actions-menu-group",children:[s.jsx("button",{"aria-expanded":x,"aria-haspopup":"menu","aria-label":"File actions",className:"icon-button file-actions-menu-trigger",ref:me,type:"button",onClick:()=>{B(ts(me.current,S2)),m(ae=>!ae),D(!1)},children:s.jsx(yh,{size:17})}),q]}),s.jsxs("div",{className:"file-actions-menu-group",children:[s.jsxs("button",{"aria-expanded":T,"aria-haspopup":"menu",className:"file-actions-open-button",ref:re,type:"button",onClick:()=>{he(ts(re.current,x2)),D(ae=>!ae),m(!1)},children:[s.jsx(vh,{size:16}),s.jsx("span",{children:"Open"}),s.jsx(Bl,{size:15})]}),ie]})]})}function ts(a,u){if(!a)return null;const f=a.getBoundingClientRect(),r=Math.max(es,window.innerWidth-f.right),h=Math.max(es,window.innerWidth-u-es);return{right:Math.min(r,h),top:f.bottom+es}}function J6({option:a}){const u=$6[a.target];return u.kind==="simple"?s.jsx("svg",{"aria-hidden":"true",className:"file-actions-brand-icon",focusable:"false",role:"img",style:{color:F6(u.icon)},viewBox:"0 0 24 24",children:s.jsx("path",{d:u.icon.path})}):s.jsx(u.Icon,{"aria-hidden":"true",className:"file-actions-target-icon",size:16})}function F6(a){return a.hex==="000000"?"var(--ide-fg-muted)":`#${a.hex}`}function Lo(a){return a instanceof Error?a.message:String(a)}const W6={bash:b6,css:p6,go:x6,html:E6,js:z6,json:T6,jsx:b2,markdown:A6,python:O6,ruby:D6,rust:H6,swift:U6,ts:B6,tsx:b2,yaml:Q6};function I6(a,u=!1){if(!a||u)return null;const f=W6[a];return f?{icon:f,color:e8(f.hex)}:null}function P6({isBinary:a=!1,language:u}){const f=I6(u,a);return f?s.jsx("span",{"aria-hidden":"true",className:"file-language-icon",style:{color:f.color},title:`${f.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:f.icon.path})})}):s.jsx("span",{"aria-hidden":"true",className:"file-language-icon",title:"File",children:s.jsx(Jo,{size:17})})}function e8(a){const u=a.trim().replace(/^#/,"");if(!/^[\dA-Fa-f]{6}$/.test(u))return"currentColor";const f=Number.parseInt(u.slice(0,2),16),r=Number.parseInt(u.slice(2,4),16),h=Number.parseInt(u.slice(4,6),16),y=(.2126*f+.7152*r+.0722*h)/255;return y<.15||y>.9?"currentColor":`#${u}`}function t8({file:a,collapsed:u,viewed:f,onToggle:r,onCopyFileContents:h,onViewedChange:y,onOpenFile:z,openTargets:C}){return s.jsxs("div",{className:"file-header",children:[s.jsxs("button",{className:"file-header-toggle",type:"button",onClick:r,children:[u?s.jsx(U2,{size:18}):s.jsx(Bl,{size:18}),s.jsx(P6,{isBinary:a.isBinary,language:a.language}),s.jsx("span",{className:"file-path",children:a.path}),a.oldPath&&a.oldPath!==a.path?s.jsxs("span",{className:"rename-path",children:["from ",a.oldPath]}):null]}),s.jsxs("span",{className:"stat add",children:["+",a.additions]}),s.jsxs("span",{className:"stat del",children:["-",a.deletions]}),s.jsxs("label",{className:"viewed-toggle",children:[s.jsx("input",{type:"checkbox",checked:f,onChange:x=>y(x.currentTarget.checked)}),s.jsx("span",{children:"Viewed"})]}),s.jsx(dd,{filePath:a.path,openTargets:C,onCopyFileContents:h,onOpenFile:async x=>z(x)})]})}const n8=[];function l8({activeFilePath:a=null,contextSource:u,emptyState:f=null,files:r,record:h,diff:y=h.diff,readOnly:z=!1,reviewId:C,turnId:x,wrapLines:m=!1,viewedFiles:T=new Set,onViewedChange:D=()=>{},openTargets:U=n8,selectedSourcePeek:B=null,onCopyFileContents:$,onOpenFile:he=()=>{},onSourcePeek:me=()=>{},hiddenFiles:Z=new Map,onRevealHiddenFile:je=()=>{}}){const[re,K]=N.useState(new Set),fe=N.useRef(a),oe=Nt(G=>G.draft),W=Nt(G=>G.setDraft),be=r??y.files;if(a!==fe.current&&(fe.current=a,a&&re.has(a))){const G=new Set(re);G.delete(a),K(G)}const Oe=(G,I)=>{I&&((oe==null?void 0:oe.filePath)===G&&W(null),K(q=>{const ie=new Set(q);return ie.add(G),ie})),D(G,I)};return s.jsx("section",{className:"diff-stack",children:be.length===0?f??s.jsx(c8,{record:h}):be.map(G=>{const I=re.has(G.path),q=Z.get(G.path)??null;return s.jsxs("article",{className:`file-card ${a===G.path?"active":""}`,id:i1(G.path),children:[s.jsx(t8,{file:G,openTargets:U,collapsed:I,viewed:T.has(G.path),onToggle:()=>{!I&&(oe==null?void 0:oe.filePath)===G.path&&W(null),K(ie=>{const ae=new Set(ie);return ae.has(G.path)?ae.delete(G.path):ae.add(G.path),ae})},onCopyFileContents:$?()=>$(G.path):void 0,onViewedChange:ie=>Oe(G.path,ie),onOpenFile:ie=>he(G.path,ie)}),I?null:q?s.jsx(a8,{info:q,onReveal:()=>je(G.path)}):s.jsx(s8,{contextSource:u,file:G,readOnly:z,reviewId:C,selectedSourcePeek:B,turnId:x,wrapLines:m,onSourcePeek:me},`${G.oldPath??""}:${G.path}:${p8(C,x,u)}`)]},`${G.oldPath??G.path}:${G.path}`)})})}function a8({info:a,onReveal:u}){const f=i8(a.presetLabels);return s.jsxs("div",{className:"hidden-diff-placeholder",children:[s.jsxs("div",{className:"hidden-diff-skeleton","aria-hidden":"true",children:[s.jsx("span",{}),s.jsx("span",{}),s.jsx("span",{}),s.jsx("span",{}),s.jsx("span",{})]}),s.jsxs("div",{className:"hidden-diff-message",children:[s.jsx("button",{className:"hidden-diff-load",type:"button",onClick:u,children:"Load diff"}),s.jsxs("p",{children:[f," are not rendered by default."]})]})]})}function i8(a){return a.length===0?"Files matching selected presets":a.length===1?a[0]:a.length===2?`${a[0]} and ${Ho(a[1])}`:`${a.slice(0,-1).map((u,f)=>f===0?u:Ho(u)).join(", ")}, and ${Ho(a[a.length-1])}`}function Ho(a){return`${a.charAt(0).toLowerCase()}${a.slice(1)}`}function c8({record:a}){const u=a.diff.scope;return u.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 ",u.comparison.ref," matches ",u.base.ref,"."]})]}):u.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."})]}):u.mode==="explicit"?s.jsxs("div",{className:"empty-diff",children:[s.jsxs("h2",{children:["No changes against ",u.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 s8({contextSource:a,file:u,readOnly:f,reviewId:r,selectedSourcePeek:h,turnId:y,wrapLines:z,onSourcePeek:C}){const x=Nt(b=>b.comments),m=Nt(b=>b.resolution),T=Nt(b=>b.draft),D=Nt(b=>b.setDraft),{resolvedTheme:U}=n1(),[B,$]=N.useState(null),[he,me]=N.useState(null),[Z,je]=N.useState(null),[re,K]=N.useState({}),fe=N.useRef(null),oe=N.useRef(null),W=N.useMemo(()=>l1(u),[u]),be=N.useMemo(()=>new Map(W.map(b=>[b.beforeHunkIndex,b])),[W]),Oe=N.useMemo(()=>d6(u,re),[re,u]),G=(Z==null?void 0:Z.file)===Oe&&Z.theme===U?Z.lines:null,I=N.useMemo(()=>f6(u,re),[re,u]),q=N.useMemo(()=>y8(I),[I]),ie=N.useMemo(()=>new Map(((m==null?void 0:m.comments)??[]).map(b=>[b.commentId,b])),[m]),ae=x.filter(b=>zi(b)&&b.filePath===u.path),De=B&&he&&B.filePath===u.path&&B.side===he.side?Qo(q,B.side,B.line,he.line):null,M=T&&T.filePath===u.path?Qo(q,T.side,T.startLine,T.endLine):null,X=b=>{const{start:Y,end:F}=b,ce=Math.min(Y.line,F.line),pe=Math.max(Y.line,F.line),Me=g8(I,q,Y.side,ce,pe)||Y.snippet;D({filePath:u.path,side:Y.side,startLine:ce,endLine:pe,originalSnippet:Me})};N.useEffect(()=>()=>{var b;return(b=oe.current)==null?void 0:b.call(oe)},[]);const ne=b=>{var ce;if(b.dataset.filePath!==u.path)return null;const Y=b.dataset.side,F=Number(b.dataset.line);return Y!=="L"&&Y!=="R"||!Number.isFinite(F)?null:{filePath:u.path,side:Y,line:F,snippet:((ce=b.querySelector("code"))==null?void 0:ce.textContent)??""}},ve=b=>{const Y=ne(b);Y&&R(Y)},ye=(b,Y)=>{var Me;if(Y.button!==0)return;Y.preventDefault(),(Me=oe.current)==null||Me.call(oe),fe.current={start:b,end:b},$(b),me(b);const F=et=>{var lt;const Xe=(lt=document.elementFromPoint(et.clientX,et.clientY))==null?void 0:lt.closest(".diff-row");Xe&&ve(Xe)},ce=et=>{F(et);const Xe=fe.current;Xe&&X(Xe),Q()},pe=()=>Q();window.addEventListener("mousemove",F),window.addEventListener("mouseup",ce),window.addEventListener("blur",pe),oe.current=()=>{window.removeEventListener("mousemove",F),window.removeEventListener("mouseup",ce),window.removeEventListener("blur",pe),oe.current=null}},g=(b,Y)=>{var F;Y.key!=="Enter"&&Y.key!==" "||Y.repeat||Y.defaultPrevented||Y.nativeEvent.isComposing||(Y.preventDefault(),(F=oe.current)==null||F.call(oe),fe.current=null,$(null),me(null),X({start:b,end:b}))},R=b=>{const Y=fe.current;(Y==null?void 0:Y.start.filePath)===u.path&&Y.start.side===b.side&&(fe.current={...Y,end:b},me(b))},Q=()=>{var b;(b=oe.current)==null||b.call(oe),fe.current=null,$(null),me(null)},J=async(b,Y)=>{if(!r||!a)return;const F=o6(b,re[b.id],Y);if(F){K(ce=>{var pe;return{...ce,[b.id]:{lines:((pe=ce[b.id])==null?void 0:pe.lines)??[],loading:!0,error:null}}});try{const ce=await R5({reviewId:r,filePath:b.filePath,oldPath:b.oldPath,turnId:y,source:a,...F});K(pe=>({...pe,[b.id]:r6(b,pe[b.id],ce.lines)}))}catch(ce){K(pe=>{var Me;return{...pe,[b.id]:{lines:((Me=pe[b.id])==null?void 0:Me.lines)??[],loading:!1,error:ce instanceof Error?ce.message:String(ce)}}})}}};N.useEffect(()=>{let b=!1;return td(async()=>{const{highlightDiffFile:Y}=await import("./syntax-Cl5tCgsJ.js");return{highlightDiffFile:Y}},[]).then(({highlightDiffFile:Y})=>Y(Oe,U)).then(Y=>{b||je({file:Oe,lines:Y,theme:U})}).catch(()=>{b||je({file:Oe,lines:null,theme:U})}),()=>{b=!0}},[Oe,U]);const k=(b,Y)=>{const F=e1(b),ce=t1(b);if(ce==null)return null;const pe={filePath:u.path,side:F,line:ce,snippet:b.content},Me=q.get(Ai(F,ce)),et=Me!=null&&E2(Me,De)?De:Me!=null&&E2(Me,M)?M:null,Xe=Me!=null&&et?m8(Me,et.start,et.end):"",lt=T&&T.filePath===u.path&&T.side===F&&ce===T.endLine,ot=ae.filter(rt=>rt.side===F&&ce===Math.max(rt.startLine,rt.endLine));return s.jsxs("div",{children:[s.jsxs("div",{className:`diff-row ${b.type} ${f?"read-only":""} ${Xe} ${lt?"range-continues":""}`,"data-file-path":u.path,"data-line":ce,"data-side":F,children:[Xe?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:b.oldLine??""}),s.jsx("span",{className:"line-number new",children:b.newLine??""}),s.jsx("span",{className:"marker",children:hd(b)}),f?null:s.jsx("button",{"aria-label":`Comment on ${u.path} line ${ce}`,className:"comment-handle",type:"button",onMouseDown:rt=>ye(pe,rt),onKeyDown:rt=>g(pe,rt),children:s.jsx(G2,{size:16,strokeWidth:2.4})})]}),s.jsx(f8,{content:b.content,selectedSourcePeek:h&&h.filePath===u.path&&h.oldPath===u.oldPath&&h.side===F&&h.line===ce?h:null,tokens:(G==null?void 0:G.get(Ai(F,ce)))??null,onSourcePeek:(rt,xt)=>C({column:xt,filePath:u.path,line:ce,oldPath:u.oldPath,side:F,symbol:rt})})]}),ot.map(rt=>{const xt=ie.get(rt.id);return s.jsxs("div",{className:`inline-comment ${xt?"resolved":"open"}`,"data-comment-id":rt.id,children:[xt?s.jsx($o,{size:14}):s.jsx(Hl,{size:14}),s.jsxs("span",{className:"inline-comment-content",children:[f?s.jsx("span",{className:"inline-comment-status",children:xt?"Resolved":"Open · Needs fix"}):null,s.jsx("span",{className:"inline-comment-body",children:rt.body}),xt!=null&&xt.summary?s.jsx("span",{className:"inline-comment-summary",children:xt.summary}):null]})]},rt.id)}),lt&&!f?s.jsx(i6,{tone:b.type}):null]},`${Y}:${b.type}:${b.oldLine??"x"}:${b.newLine??"x"}:${b.content}`)},V=b=>u6(b,re[b.id]).map(Y=>{var F,ce;return Y.type==="lines"?Y.lines.map(pe=>k(pe,`context:${b.id}`)):s.jsx(u8,{canExpand:!!(r&&a),directions:s6(b,Y),error:((F=re[b.id])==null?void 0:F.error)??null,loading:((ce=re[b.id])==null?void 0:ce.loading)??!1,segment:Y,onExpand:pe=>{J(b,pe)}},`hidden:${b.id}:${Y.oldStart}:${Y.newStart}:${Y.lineCount}`)});return s.jsx("section",{"aria-label":`${u.path} diff`,className:`diff-scroller ${z?"wrap-lines":""}`,children:s.jsxs("div",{className:`diff-table ${B?"selecting":""}`,children:[u.isBinary?s.jsx("div",{className:"binary-note",children:"Binary file changed"}):null,u.hunks.map((b,Y)=>{const F=be.get(Y);return s.jsxs("div",{className:"hunk",children:[F?V(F):null,s.jsx("div",{className:"hunk-header",children:b.header||`@@ -${b.oldStart},${b.oldLines} +${b.newStart},${b.newLines} @@`}),b.lines.map(ce=>k(ce,"hunk"))]},`${b.oldStart}:${b.newStart}`)})]})},z?"wrapped":"unwrapped")}function u8({canExpand:a,directions:u,error:f,loading:r,segment:h,onExpand:y}){const z=!a||!!r;return s.jsxs("div",{className:"hidden-lines",children:[s.jsxs("div",{className:"hidden-lines-main",children:[s.jsx("span",{className:"hidden-lines-count",children:r?s.jsxs(s.Fragment,{children:[s.jsx(Fo,{className:"spin",size:14}),"Loading context"]}):`${h.lineCount} unmodified ${h.lineCount===1?"line":"lines"}`}),s.jsx("div",{className:"hidden-lines-actions",children:u.map(C=>{const x=o8(C);return s.jsx("button",{"aria-label":x,className:"hidden-lines-action",disabled:z,title:x,type:"button",onClick:()=>y(C),children:s.jsx(r8,{direction:C})},C)})})]}),f?s.jsx("div",{className:"hidden-lines-error",children:f}):null]})}function o8(a){return a==="up"?"Expand hidden context upward":a==="down"?"Expand hidden context downward":"Expand hidden context"}function r8({direction:a}){return a==="up"?s.jsx(ah,{size:15}):a==="down"?s.jsx(Bl,{size:15}):s.jsx(ch,{size:15})}function f8({content:a,selectedSourcePeek:u,tokens:f,onSourcePeek:r}){return!f||f.length===0?s.jsx("code",{children:s.jsx(j2,{offsetBase:0,selectedSourcePeek:u,text:a||" ",onSourcePeek:r})}):s.jsx("code",{children:f.map(h=>{const y=h8(h);return s.jsx("span",{style:y,children:s.jsx(j2,{offsetBase:h.offset,selectedSourcePeek:u,style:y,text:h.content,onSourcePeek:r})},`${h.offset}:${h.content}`)})})}const ko=/[A-Za-z_$][\w$]*/g,d8=new Set(["as","async","await","break","case","catch","class","const","continue","default","delete","do","else","enum","export","extends","false","finally","for","from","function","if","implements","import","in","instanceof","interface","let","new","null","of","return","static","super","switch","this","throw","true","try","type","typeof","undefined","var","void","while","with","yield"]);function j2({offsetBase:a,selectedSourcePeek:u,style:f,text:r,onSourcePeek:h}){const y=[];let z=0;ko.lastIndex=0;let C=ko.exec(r);for(;C!==null;){const x=C[0],m=C.index;if(m>z&&y.push(r.slice(z,m)),d8.has(x))y.push(x);else{const T=a+m,D=(u==null?void 0:u.column)===T&&u.symbol===x;y.push(s.jsx("button",{"aria-current":D?"location":void 0,className:`source-symbol ${D?"selected":""}`,"data-source-symbol":x,style:f,tabIndex:-1,title:"Command-click or Control-click to peek source",type:"button",onClick:U=>{!U.metaKey&&!U.ctrlKey||(U.preventDefault(),U.stopPropagation(),h(x,T))},onMouseDown:U=>{(U.metaKey||U.ctrlKey)&&U.preventDefault()},onContextMenu:U=>{!U.metaKey&&!U.ctrlKey||(U.preventDefault(),U.stopPropagation(),h(x,T))},onKeyDown:U=>{U.key!=="Enter"&&U.key!==" "||(U.preventDefault(),U.stopPropagation(),h(x,T))},children:x},`${a}:${m}:${x}`))}z=m+x.length,C=ko.exec(r)}return z<r.length&&y.push(r.slice(z)),s.jsx(s.Fragment,{children:y.length>0?y:r})}function h8(a){const u={};a.color&&(u.color=a.color),a.fontStyle&&(a.fontStyle&1)!==0&&(u.fontStyle="italic"),a.fontStyle&&(a.fontStyle&2)!==0&&(u.fontWeight=700);const f=[];return a.fontStyle&&(a.fontStyle&4)!==0&&f.push("underline"),a.fontStyle&&(a.fontStyle&8)!==0&&f.push("line-through"),f.length>0&&(u.textDecorationLine=f.join(" ")),u}function hd(a){return a.type==="add"?"+":a.type==="delete"?"-":" "}function m8(a,u,f){return u===f?"range-selected range-single":a===u?"range-selected range-start":a===f?"range-selected range-end":"range-selected range-middle"}function p8(a,u,f){return!a||!f?"":f.mode==="turn"?`${a}:${u??""}:turn`:f.mode==="commit"?`${a}:${u??""}:commit:${f.sha}`:`${a}:${u??""}:range:${f.fromSha}:${f.toSha}`}function y8(a){const u=new Map;let f=0;for(const r of a){const h=e1(r),y=t1(r);y!=null&&(u.set(Ai(h,y),f),f+=1)}return u}function Qo(a,u,f,r){const h=a.get(Ai(u,f)),y=a.get(Ai(u,r));return h==null||y==null?null:{start:Math.min(h,y),end:Math.max(h,y)}}function E2(a,u){return!!(u&&a>=u.start&&a<=u.end)}function g8(a,u,f,r,h){const y=[],z=Qo(u,f,r,h);if(!z)return"";a.forEach((x,m)=>{t1(x)!=null&&m>=z.start&&m<=z.end&&y.push(x)});const C=new Set(y.map(x=>x.type)).size>1;return y.map(x=>C?`${hd(x)}${x.content}`:x.content).join(`
|
|
297
|
+
`)}const ls="__gloss_no_extension__";function v8(a){const u=[a.name];let f=a;for(;f.children.length===1&&f.children[0].type==="directory";)f=f.children[0],u.push(f.name);return{name:u.join("/"),node:f}}function b8(a){const u=new Map;for(const f of a){const r=md(f.path),h=u.get(r);h?h.count+=1:u.set(r,{id:r,label:r===ls?"No extension":r,count:1})}return Array.from(u.values()).sort((f,r)=>f.id===ls?1:r.id===ls?-1:f.label.localeCompare(r.label,void 0,{sensitivity:"base"}))}function S8(a,u,f){const r=u.trim().toLowerCase();return f.size===0?[]:a.filter(h=>{const y=f.has(md(h.path)),z=r.length===0||h.path.toLowerCase().includes(r);return y&&z})}function x8(a){const u={type:"directory",id:"root",name:"",path:"",children:[]},f=new Map;for(const r of a){const h=r.path.split("/").filter(Boolean);let y=u;for(const[z,C]of h.entries()){const x=z===h.length-1,m=h.slice(0,z+1).join("/");x?y.children.push({type:"file",id:`file:${r.path}`,name:C,path:r.path,file:r}):y=j8(y,C,m,f)}}return pd(u),u}function j8(a,u,f,r){let h=r.get(a);h||(h=new Map,r.set(a,h));const y=h.get(u);if(y)return y;const z={type:"directory",id:`dir:${f}`,name:u,path:f,children:[]};return a.children.push(z),h.set(u,z),z}function md(a){const u=a.split("/").pop()??a,f=u.lastIndexOf(".");return f<=0||f===u.length-1?ls:u.slice(f).toLowerCase()}function pd(a){a.children.sort((u,f)=>u.type!==f.type?u.type==="directory"?-1:1:Z2(u.name,f.name));for(const u of a.children)u.type==="directory"&&pd(u)}function w2({activeFilePath:a,extensionBuckets:u,files:f,filteredFiles:r,hiddenBoringFileCount:h,hiddenBoringPresets:y,onCollapse:z,onClearExtensions:C,onFileSelect:x,onSearchChange:m,onSelectAllExtensions:T,onShowAllBoringFiles:D,onToggleBoringPreset:U,onToggleExtension:B,searchQuery:$,selectedExtensionIds:he}){const[me,Z]=N.useState(!1),[je,re]=N.useState(new Set),K=N.useRef(null),fe=N.useMemo(()=>x8(r),[r]),oe=N.useMemo(()=>{const I=w8(fe);for(const q of je)I.delete(q);return I},[je,fe]),be=he.size!==u.length,Oe=y.size>0;N.useEffect(()=>{if(!me)return;const I=ie=>{var ae;(ae=K.current)!=null&&ae.contains(ie.target)||Z(!1)},q=ie=>{ie.key==="Escape"&&Z(!1)};return window.addEventListener("pointerdown",I),window.addEventListener("keydown",q),()=>{window.removeEventListener("pointerdown",I),window.removeEventListener("keydown",q)}},[me]);const G=I=>{re(q=>{const ie=new Set(q);return oe.has(I)?ie.add(I):ie.delete(I),ie})};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"}),z?s.jsx("button",{"aria-label":"Collapse file tree",className:"file-tree-icon-button",title:"Collapse file tree",type:"button",onClick:z,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:$,placeholder:"Filter files...",onChange:I=>m(I.target.value)}),$?s.jsx("button",{"aria-label":"Clear file search",className:"file-tree-clear",type:"button",onClick:()=>m(""),children:s.jsx(Ci,{size:14})}):null]}),s.jsxs("div",{className:"file-tree-filter-shell",ref:K,children:[s.jsx("button",{"aria-label":"Filter files","aria-expanded":me,className:`file-tree-filter-button ${be||Oe?"active":""}`,title:"Filter files",type:"button",onClick:()=>Z(I=>!I),children:s.jsx(tm,{size:17})}),me?s.jsx(E8,{buckets:u,hiddenBoringFileCount:h,hiddenBoringPresets:y,selectedExtensionIds:he,onClear:C,onSelectAll:T,onShowAllBoringFiles:D,onToggleBoringPreset:U,onToggle:B}):null]})]}),s.jsxs("div",{className:"file-tree-summary",children:[s.jsxs("span",{children:[r.length," of ",f.length," ",f.length===1?"file":"files"]}),h>0?s.jsxs("span",{children:[h," hidden ",h===1?"diff":"diffs"]}):null]}),r.length===0?s.jsx("div",{className:"file-tree-empty",children:f.length===0?"No files changed":"No files match"}):s.jsx("div",{className:"file-tree-list",children:fe.children.map(I=>s.jsx(yd,{activeFilePath:a,expandedDirectoryIds:oe,node:I,depth:0,onFileSelect:x,onToggleDirectory:G},I.id))})]})}function E8({buckets:a,hiddenBoringFileCount:u,hiddenBoringPresets:f,onClear:r,onSelectAll:h,onShowAllBoringFiles:y,onToggleBoringPreset:z,onToggle:C,selectedExtensionIds:x}){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:h,children:"All"}),s.jsx("button",{type:"button",onClick:r,children:"None"})]})]}),s.jsx("div",{className:"extension-options",children:a.map(m=>{const T=x.has(m.id);return s.jsxs("button",{"aria-checked":T,className:"extension-option",role:"menuitemcheckbox",type:"button",onClick:()=>C(m.id),children:[s.jsx("span",{className:"extension-check",children:T?s.jsx(sl,{size:16}):null}),s.jsx("span",{className:"extension-label",children:m.label}),s.jsx("span",{className:"extension-count",children:m.count})]},m.id)})}),s.jsxs("div",{className:"extension-popover-section",children:[s.jsxs("div",{className:"extension-popover-header",children:[s.jsx("span",{children:"Hide boring files"}),s.jsx("div",{className:"extension-popover-actions",children:s.jsx("button",{type:"button",onClick:y,children:"Show all"})})]}),s.jsx("div",{className:"extension-options",children:X2.map(m=>{const T=f.has(m.id);return s.jsxs("button",{"aria-checked":T,className:"extension-option",role:"menuitemcheckbox",type:"button",onClick:()=>z(m.id),children:[s.jsx("span",{className:`extension-check ${T?"checked":""}`,children:T?s.jsx(sl,{size:13}):null}),s.jsx("span",{children:m.label})]},m.id)})}),u>0?s.jsxs("div",{className:"extension-popover-note",children:[u," ",u===1?"diff":"diffs"," hidden by presets"]}):null]})]})}function yd({activeFilePath:a,depth:u,expandedDirectoryIds:f,node:r,onFileSelect:h,onToggleDirectory:y}){const z={paddingLeft:8+u*14};if(r.type==="directory"){const C=v8(r),x=f.has(C.node.id);return s.jsxs("div",{children:[s.jsxs("button",{"aria-expanded":x,className:"file-tree-row directory",style:z,title:C.node.path,type:"button",onClick:()=>y(C.node.id),children:[x?s.jsx(Bl,{size:16}):s.jsx(U2,{size:16}),x?s.jsx(q2,{size:17}):s.jsx(Th,{size:17}),s.jsx("span",{className:"file-tree-name",children:C.name})]}),x?s.jsx("div",{children:C.node.children.map(m=>s.jsx(yd,{activeFilePath:a,expandedDirectoryIds:f,node:m,depth:u+1,onFileSelect:h,onToggleDirectory:y},m.id))}):null]})}return s.jsx("div",{children:s.jsxs("button",{className:`file-tree-row file ${a===r.path?"active":""}`,style:z,title:r.path,type:"button",onClick:()=>h(r.path),children:[s.jsx("span",{className:"file-tree-spacer"}),s.jsx(Jo,{size:16}),s.jsx("span",{className:"file-tree-name",children:r.name}),s.jsxs("span",{className:"file-tree-stats",children:[s.jsxs("span",{className:"stat add",children:["+",r.file.additions]}),s.jsxs("span",{className:"stat del",children:["-",r.file.deletions]})]})]})})}function w8(a){const u=new Set,f=r=>{for(const h of r.children)h.type==="directory"&&(u.add(h.id),f(h))};return f(a),u}function N2(a){return{response:a,content:a.content,startLine:a.startLine,totalLines:a.totalLines,truncated:a.truncated,hasMoreAbove:a.hasMoreAbove,hasMoreBelow:a.hasMoreBelow}}function N8(a,u,f=Km){if(u==="above"){if(!a.hasMoreAbove)return null;const y=Math.max(1,a.startLine-f),z=a.startLine-y;return z>0?{startLine:y,lineCount:z}:null}if(!a.hasMoreBelow)return null;const r=gd(a)+1,h=Math.min(f,a.totalLines-r+1);return h>0?{startLine:r,lineCount:h}:null}function z8(a,u){var T,D;const f=new Map;for(const[U,B]of ss(a.content).entries())f.set(a.startLine+U,B);for(const[U,B]of ss(u.content).entries())f.set(u.startLine+U,B);const r=Array.from(f.entries()).toSorted(([U],[B])=>U-B);if(r.length===0)return a;const h=((T=r[0])==null?void 0:T[0])??a.startLine,y=((D=r.at(-1))==null?void 0:D[0])??gd(a),z=Math.max(a.totalLines,u.totalLines),C=h>1&&(a.hasMoreAbove||u.hasMoreAbove),x=y<z&&(a.hasMoreBelow||u.hasMoreBelow),m=a.truncated&&!a.hasMoreAbove&&!a.hasMoreBelow||u.truncated&&!u.hasMoreAbove&&!u.hasMoreBelow;return{response:a.response,content:r.map(([,U])=>U).join(`
|
|
298
|
+
`),startLine:h,totalLines:z,truncated:m||C||x,hasMoreAbove:C,hasMoreBelow:x}}function gd(a){return a.startLine+ss(a.content).length-1}function ss(a){const u=a.replace(/\r\n/g,`
|
|
299
299
|
`).split(`
|
|
300
|
-
`);return u.at(-1)===""&&u.pop(),u.length>0?u:[""]}const z8=16,us=360,Zo=280,z2=360,gd={above:!1,below:!1};function T2(){return{...gd}}function T8({openTargets:a,onCopyFileContents:u,onLoadRange:f,onOpenFile:r,state:h,onClose:y}){const{resolvedTheme:z}=n1(),C=N.useRef(null),x=N.useRef(null),m=N.useRef(null),T=N.useRef(null),D=N.useRef(null),U=N.useRef(null),B=h.status==="ready"?h.response:null,$=h.status==="error"?R8(h.message,h.symbol):null,he=N.useRef(gd),me=N.useRef({above:0,below:0}),Z=N.useRef(B),[je,re]=N.useState(null),[K,fe]=N.useState(()=>B?N2(B):null),oe=N.useRef(B),[W,be]=N.useState(T2),[Oe,G]=N.useState(null),[I,q]=N.useState(!1),[ie,ae]=N.useState(null);if(B!==oe.current){const k=T2();oe.current=B,Z.current=B,me.current={above:me.current.above+1,below:me.current.below+1},he.current=k,fe(B?N2(B):null),G(null),be(k),ae(null)}const De=N.useMemo(()=>K?ss(K.content):[],[K]),M=K&&B&&(je==null?void 0:je.content)===K.content&&je.language===B.language&&je.theme===z?je.lines:null,X=K?_8(K,W,Oe):null,ne=N.useCallback(k=>{D.current=k,T.current===null&&(T.current=window.requestAnimationFrame(()=>{T.current=null;const V=D.current,b=C.current;!V||!b||(b.style.top=`${Math.round(V.top)}px`,b.style.left=`${Math.round(V.left)}px`,b.style.right="auto",b.style.bottom="auto",b.style.width=`${Math.round(V.width)}px`,b.style.height=`${Math.round(V.height)}px`,b.style.transform="")}))},[]),ve=N.useCallback(()=>{var k;(k=U.current)==null||k.call(U),U.current=null,document.body.classList.remove("source-peek-interacting"),document.body.style.cursor="",document.body.style.userSelect=""},[]),ye=N.useCallback((k,V)=>{const b={...he.current,[k]:V};he.current=b,be(b)},[]);N.useEffect(()=>{const k=V=>{V.key==="Escape"&&y()};return window.addEventListener("keydown",k),()=>window.removeEventListener("keydown",k)},[y]),N.useEffect(()=>{if(!ie)return;const k=window.setTimeout(()=>ae(null),2200);return()=>window.clearTimeout(k)},[ie]),N.useEffect(()=>{const k=C.current;if(!k)return;const V=b=>{if(b.defaultPrevented)return;const Y=b.target;if(!(Y instanceof Node)||!k.contains(Y))return;b.preventDefault(),b.stopPropagation();const F=x.current;if(!F)return;const ce=O8(b,F);F.scrollTop+=ce.y,F.scrollLeft+=ce.x};return k.addEventListener("wheel",V,{passive:!1}),()=>k.removeEventListener("wheel",V)},[]),N.useEffect(()=>{if(!B||!K)return;let k=!1;return td(async()=>{const{highlightSourceContent:V}=await import("./syntax-DrIezw90.js");return{highlightSourceContent:V}},[]).then(({highlightSourceContent:V})=>V(K.content,B.language,z)).then(V=>{k||re({lines:V,content:K.content,language:B.language,theme:z})}).catch(()=>{k||re({lines:null,content:K.content,language:B.language,theme:z})}),()=>{k=!0}},[K,B,z]),N.useEffect(()=>{B&&window.requestAnimationFrame(()=>{var k;(k=m.current)==null||k.scrollIntoView({block:"center"})})},[B]),N.useEffect(()=>{const k=()=>{const V=C.current;V&&ne(Dl(Uo(V)))};return window.requestAnimationFrame(()=>ne(M8())),window.addEventListener("resize",k),()=>{window.removeEventListener("resize",k)}},[ne]),N.useEffect(()=>()=>{ve(),T.current!==null&&window.cancelAnimationFrame(T.current)},[ve]);const g=k=>{if(k.button!==0||k.target.closest("button"))return;k.preventDefault(),ve();const V=C.current;if(!V)return;const b=Dl(Uo(V)),Y=k.clientX,F=k.clientY;D.current=b,document.body.classList.add("source-peek-interacting"),document.body.style.cursor="grabbing",document.body.style.userSelect="none",V.classList.add("dragging");const ce=et=>{const Xe=Dl({...b,left:b.left+et.clientX-Y,top:b.top+et.clientY-F});V.style.transform=`translate3d(${Math.round(Xe.left-b.left)}px, ${Math.round(Xe.top-b.top)}px, 0)`,D.current=Xe},pe=()=>{const et=D.current??b;V.classList.remove("dragging"),ne(et),ve()},Me=()=>{window.removeEventListener("pointermove",ce),window.removeEventListener("pointerup",pe),V.classList.remove("dragging")};U.current=Me,window.addEventListener("pointermove",ce),window.addEventListener("pointerup",pe,{once:!0})},R=k=>V=>{if(V.button!==0)return;V.preventDefault(),V.stopPropagation(),ve();const b=C.current;if(!b)return;const Y=Dl(Uo(b)),F=V.clientX,ce=V.clientY,pe=C8(k);D.current=Y,document.body.classList.add("source-peek-interacting"),document.body.style.cursor=pe,document.body.style.userSelect="none";const Me=lt=>{const ot=lt.clientX-F,rt=lt.clientY-ce;ne(A8(Y,k,ot,rt))},et=()=>ve(),Xe=()=>{window.removeEventListener("pointermove",Me),window.removeEventListener("pointerup",et)};U.current=Xe,window.addEventListener("pointermove",Me),window.addEventListener("pointerup",et,{once:!0})},Q=N.useCallback(async k=>{var ce;if(!B||!K||he.current[k])return;const V=w8(K,k);if(!V)return;const b=me.current[k]+1;me.current={...me.current,[k]:b};const Y=()=>Z.current===B&&me.current[k]===b,F=k==="above"?((ce=x.current)==null?void 0:ce.scrollHeight)??null:null;if(Y()){ye(k,!0),G(null);try{const pe=await f(B.filePath,V.startLine,V.lineCount);Y()&&(fe(Me=>(Me==null?void 0:Me.response)===B?N8(Me,pe):Me),k==="above"&&F!==null&&window.requestAnimationFrame(()=>{const Me=x.current;Me&&(Me.scrollTop+=Me.scrollHeight-F)}))}catch(pe){Y()&&G(pe instanceof Error?pe.message:String(pe))}finally{Y()&&ye(k,!1)}}},[K,f,B,ye]),J=N.useCallback(k=>{const V=k.currentTarget,b=V.scrollHeight-V.scrollTop-V.clientHeight;V.scrollTop<=z2&&Q("above"),b<=z2&&Q("below")},[Q]);return s.jsxs("aside",{"aria-label":"Source peek",className:"source-peek-panel",ref:C,children:[s.jsx("button",{"aria-label":"Resize source peek horizontally",className:"source-peek-resize-handle left",type:"button",onPointerDown:R({left:!0})}),s.jsx("button",{"aria-label":"Resize source peek vertically",className:"source-peek-resize-handle bottom",type:"button",onPointerDown:R({bottom:!0})}),s.jsx("button",{"aria-label":"Resize source peek",className:"source-peek-resize-handle bottom-left",type:"button",onPointerDown:R({bottom:!0,left:!0})}),s.jsx("button",{"aria-label":"Resize source peek",className:"source-peek-resize-handle bottom-right",type:"button",onPointerDown:R({bottom:!0,right:!0})}),s.jsxs("header",{className:"source-peek-header",onPointerDown:g,children:[s.jsxs("div",{className:"source-peek-title",children:[s.jsx(jh,{size:17}),s.jsx("span",{children:"Source peek"})]}),s.jsx(_h,{className:"source-peek-drag-indicator",size:16,"aria-hidden":"true"}),s.jsxs("div",{className:"source-peek-toolbar",children:[B?s.jsx(fd,{filePath:B.filePath,openTargets:a,wordWrap:I,onActionMessage:ae,onCopyFileContents:()=>u(B.filePath),onOpenFile:k=>r(B.filePath,k),onWordWrapChange:q}):null,s.jsx("button",{"aria-label":"Close source peek",className:"icon-button source-peek-close",type:"button",onClick:y,children:s.jsx(Ci,{size:17})})]})]}),h.status==="loading"?s.jsxs("div",{className:"source-peek-status",children:[s.jsx(Fo,{className:"spin",size:18}),s.jsxs("span",{children:["Resolving ",h.symbol]})]}):null,h.status==="error"?s.jsx("div",{className:"source-peek-status error",children:s.jsxs("div",{className:"source-peek-error-card",children:[s.jsx(sh,{size:18}),s.jsxs("div",{className:"source-peek-error-copy",children:[s.jsx("strong",{children:$==null?void 0:$.title}),s.jsx("p",{children:$==null?void 0:$.message}),$!=null&&$.hint?s.jsx("span",{children:$.hint}):null]})]})}):null,B?s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:"source-peek-meta",children:[s.jsx("span",{className:"source-peek-symbol",children:B.targetSymbol}),s.jsxs("span",{className:"source-peek-path",title:`${B.filePath}:${B.line}`,children:[B.filePath,":",B.line]}),ie?s.jsx("span",{className:"source-peek-action-message",children:ie}):null]}),X?s.jsx("div",{className:"source-peek-truncated",children:X}):null,s.jsx("section",{className:`source-peek-code ${I?"wrap-lines":""}`,"aria-label":B.filePath,ref:x,onScroll:J,children:De.map((k,V)=>{const b=((K==null?void 0:K.startLine)??B.startLine)+V,Y=b===B.line;return s.jsxs("div",{className:`source-peek-row ${Y?"target":""}`,ref:Y?m:null,children:[s.jsx("span",{className:"source-peek-line-number",children:b}),s.jsx("code",{children:H8(k||" ",(M==null?void 0:M[V])??null)})]},b)})})]}):null]})}function Uo(a){const u=a.getBoundingClientRect();return{height:u.height,left:u.left,top:u.top,width:u.width}}function Dl(a){const u=s1();if(window.innerWidth<=980)return{height:window.innerHeight-u*2,left:u,top:u,width:window.innerWidth-u*2};const f=Math.max(us,window.innerWidth-u*2),r=Math.max(Zo,window.innerHeight-u*2),h=Ll(a.width,us,f),y=Ll(a.height,Zo,r);return{height:y,left:Ll(a.left,u,window.innerWidth-h-u),top:Ll(a.top,u,window.innerHeight-y-u),width:h}}function M8(){const a=s1();if(window.innerWidth<=980)return Dl({height:window.innerHeight-a*2,left:a,top:a,width:window.innerWidth-a*2});const u=Math.max(a,Math.round(window.innerWidth/3)),f=window.innerWidth-u-a,r=window.innerHeight-a*2;return Dl({height:r,left:u,top:a,width:f})}function A8(a,u,f,r){const h=s1();let y=a.left,z=a.width,C=a.height;if(u.left){const x=a.left+a.width,m=h,T=x-us;y=Ll(a.left+f,m,T),z=x-y}return u.right&&(z=Ll(a.width+f,us,window.innerWidth-a.left-h)),u.bottom&&(C=Ll(a.height+r,Zo,window.innerHeight-a.top-h)),Dl({height:C,left:y,top:a.top,width:z})}function C8(a){return a.bottom&&a.left?"nesw-resize":a.bottom&&a.right?"nwse-resize":a.bottom?"row-resize":"col-resize"}function _8(a,u,f){return f?`Could not load more source: ${c1(f)}`:u.above&&u.below?"Loading more source lines above and below.":u.above?"Loading more source lines above.":u.below?"Loading more source lines below.":a.hasMoreAbove||a.hasMoreBelow?"Large source file - more lines load as you scroll.":a.truncated?"Source preview was shortened for a very long line.":null}function R8(a,u){const f=c1(a);return/no definition found/i.test(f)?{hint:"This can happen for Node built-ins, package exports, or symbols outside the repo.",message:`Gloss could not find a project definition for ${u}.`,title:"No definition found"}:{hint:null,message:f,title:"Source peek unavailable"}}function c1(a){const u=a.replace(/^\d+:\s*/,"").trim();try{const f=JSON.parse(u);if(typeof f=="object"&&f!==null&&!Array.isArray(f)&&typeof f.error=="string")return c1(f.error)}catch{}return u.replace(/^source peek unavailable:\s*/i,"").trim()}function s1(){return window.innerWidth<=720?8:z8}function Ll(a,u,f){return Math.min(f,Math.max(u,a))}function O8(a,u){const f=D8(a,u);return{x:a.deltaX*f,y:a.deltaY*f}}function D8(a,u){return a.deltaMode===WheelEvent.DOM_DELTA_LINE?L8(u):a.deltaMode===WheelEvent.DOM_DELTA_PAGE?u.clientHeight||window.innerHeight:1}function L8(a){const u=Number.parseFloat(window.getComputedStyle(a).lineHeight);return Number.isFinite(u)?u:24}function H8(a,u){return!u||u.length===0?a:u.map(f=>s.jsx("span",{style:k8(f),children:f.content},`${f.offset}:${f.content}`))}function k8(a){const u={};a.color&&(u.color=a.color),a.fontStyle&&(a.fontStyle&1)!==0&&(u.fontStyle="italic"),a.fontStyle&&(a.fontStyle&2)!==0&&(u.fontWeight=700);const f=[];return a.fontStyle&&(a.fontStyle&4)!==0&&f.push("underline"),a.fontStyle&&(a.fontStyle&8)!==0&&f.push("line-through"),f.length>0&&(u.textDecorationLine=f.join(" ")),u}function M2(a){return a instanceof Error?a.message:String(a)}function U8({reviewId:a,reviewScope:u,onLineCommentSelect:f,onSubmitted:r}){const h=Nt(G=>G.comments),y=Nt(G=>G.addGeneralComment),z=Nt(G=>G.removeComment),[C,x]=N.useState(""),[m,T]=N.useState(null),[D,U]=N.useState("idle"),[B,$]=N.useState(null),he=N.useRef(null),me=N.useRef(!1),Z=D!=="submitting"&&D!=="done",je=C.trim(),re=h.filter(zi),K=h.filter(G=>!zi(G)),fe=m===null?null:K.find(G=>G.id===m)??null,oe=re.length>0,W=N.useCallback(()=>T(null),[]),be=()=>{je&&(y(je),x(""))},Oe=N.useCallback(async()=>{if(!(!Z||me.current)){me.current=!0,U("submitting"),$(null);try{await M5(a,h,u),U("done"),$("Submitted");try{await(r==null?void 0:r())}catch(G){$(`Submitted, but refresh failed: ${M2(G)}`)}}catch(G){me.current=!1,U("error"),$(M2(G))}}},[Z,h,r,a,u]);return N.useEffect(()=>{const G=I=>{l6(I)&&(I.preventDefault(),Oe())};return window.addEventListener("keydown",G),()=>window.removeEventListener("keydown",G)},[Oe]),N.useEffect(()=>{m!==null&&fe===null&&T(null)},[fe,m]),N.useEffect(()=>{var I;if(fe===null)return;const G=q=>{q.key==="Escape"&&(q.preventDefault(),W())};return(I=he.current)==null||I.focus(),window.addEventListener("keydown",G),()=>window.removeEventListener("keydown",G)},[W,fe]),s.jsxs(s.Fragment,{children:[s.jsxs("aside",{className:"submit-bar",children:[s.jsxs("div",{className:"feedback-panel",children:[oe?s.jsxs("div",{className:"inline-feedback-row",children:[s.jsxs("span",{className:"feedback-row-label inline-feedback-label",children:[s.jsx(Hl,{size:14}),"Inline feedback",s.jsx("span",{className:"feedback-row-count",children:re.length})]}),s.jsx("div",{className:"comment-list",children:re.map(G=>{const I=A2(G);return s.jsxs("div",{className:`comment-chip ${I.tone}`,title:I.title,children:[s.jsxs("button",{className:"comment-chip-target",type:"button",title:`Jump to ${I.title}`,onClick:()=>f==null?void 0:f(G),children:[s.jsx("span",{className:"comment-chip-kind",children:I.kind}),s.jsx("span",{className:"comment-chip-text",children:I.text})]}),s.jsx("button",{className:"icon-button",type:"button",title:"Remove comment",onClick:()=>z(G.id),children:s.jsx(ns,{size:14})})]},G.id)})})]}):null,K.length>0?s.jsxs("div",{className:"general-feedback-summary-row",children:[s.jsxs("span",{className:"feedback-row-label general-feedback-label",children:[s.jsx(Hl,{size:14}),"General feedback",s.jsx("span",{className:"feedback-row-count general-feedback-count",children:K.length})]}),s.jsx("div",{className:"general-feedback-list",children:K.map(G=>{const I=A2(G);return s.jsxs("div",{className:`comment-chip ${I.tone}`,title:I.title,children:[s.jsxs("button",{className:"comment-chip-target",type:"button",title:"View general feedback",onClick:()=>T(G.id),children:[s.jsx("span",{className:"comment-chip-kind",children:I.kind}),s.jsx("span",{className:"comment-chip-text",children:I.text})]}),s.jsx("button",{className:"icon-button",type:"button",title:"Remove comment",onClick:()=>z(G.id),children:s.jsx(ns,{size:14})})]},G.id)})})]}):null,s.jsx("div",{className:"general-feedback-row",children:s.jsx("form",{className:"general-comment-form",onSubmit:G=>{G.preventDefault(),be()},children:s.jsxs("div",{className:"general-comment-compose",children:[s.jsx(Hl,{className:"general-comment-compose-icon",size:15}),s.jsx("textarea",{"aria-label":"General feedback",placeholder:"General feedback",rows:1,value:C,onChange:G=>x(G.target.value),onKeyDown:G=>{ud(G)&&(G.preventDefault(),be())}}),s.jsxs("button",{"aria-keyshortcuts":"Meta+Enter",className:"general-comment-add",type:"submit",disabled:!je,title:"Add general feedback (Command+Enter)",children:[s.jsx(G2,{size:14}),s.jsx("span",{children:"Add"})]})]})})})]}),s.jsxs("div",{className:"submit-actions",children:[B?s.jsx("span",{className:`submit-message ${D}`,children:B}):null,s.jsxs("button",{"aria-keyshortcuts":"Meta+Shift+Enter",className:"primary-button",type:"button",disabled:!Z,title:"Submit review (Command+Shift+Enter)",onClick:Oe,children:[D==="done"?s.jsx(sl,{size:16}):s.jsx(Ih,{size:16}),"Submit ",h.length]})]})]}),fe?Mi.createPortal(s.jsx("div",{className:"general-feedback-dialog-backdrop",children:s.jsxs("dialog",{"aria-labelledby":"general-feedback-dialog-title","aria-modal":"true",className:"general-feedback-dialog",ref:he,open:!0,tabIndex:-1,children:[s.jsxs("header",{className:"general-feedback-dialog-header",children:[s.jsx("h2",{id:"general-feedback-dialog-title",children:"General feedback"}),s.jsx("button",{"aria-label":"Close general feedback",className:"icon-button general-feedback-dialog-close",type:"button",onClick:W,children:s.jsx(Ci,{size:18})})]}),s.jsx("div",{className:"general-feedback-dialog-body",children:s.jsx("p",{className:"general-feedback-dialog-text",children:fe.body})}),s.jsxs("footer",{className:"general-feedback-dialog-footer",children:[s.jsxs("button",{className:"secondary-button",type:"button",onClick:()=>{z(fe.id),W()},children:[s.jsx(ns,{size:14}),"Delete"]}),s.jsx("button",{className:"primary-button",type:"button",onClick:W,children:"Close"})]})]})}),document.body):null]})}function A2(a){if(!zi(a))return{kind:"General",text:a.body,title:a.body,tone:"general"};const u=`${a.filePath}:${Ti(a,{repeatSideOnEnd:!1})}`;return{kind:"Line",text:u,title:u,tone:"line"}}const B8="gloss:viewed-files:";function vd(a){return`${B8}${a}`}function Bo(a,u=bd()){if(!u)return new Set;const f=u.getItem(vd(a));if(!f)return new Set;try{const r=JSON.parse(f);return new Set(Array.isArray(r)?r.filter(h=>typeof h=="string"):[])}catch{return new Set}}function q8(a,u,f=bd()){if(!f)return;const r=vd(a);if(u.size===0){f.removeItem(r);return}f.setItem(r,JSON.stringify(Array.from(u).toSorted()))}function bd(){try{return typeof window>"u"?null:window.localStorage}catch{return null}}function G8(a){return a.type==="review.turn.created"||a.type==="review.submitted"||a.type==="review.updated"}function V8(a,u,f){return a.reviewId!==u||!a.selectedExtensionIds?new Set(f):new Set(f.filter(r=>{var h;return(h=a.selectedExtensionIds)==null?void 0:h.has(r)}))}function Y8(a,u){const f=new Map(((u==null?void 0:u.comments)??[]).map(r=>[r.commentId,r]));return((a==null?void 0:a.comments)??[]).filter(r=>!zi(r)).map(r=>{const h=f.get(r.id)??null;return{comment:r,resolvedComment:h,status:h?"resolved":"open",summary:(h==null?void 0:h.summary)??null}})}function X8(a,u){return{icon:(a==null?void 0:a.trim())===u.trim()?"branch":null}}function Q8(a,u){const f=(a==null?void 0:a.trim())??"",r=f||"detached";return r===u.trim()?null:{label:r,title:f||"Detached HEAD"}}function Sd(a){return a.length>1}const Z8=300,K8=560,$8=360,J8={files:[],stats:{files:0,additions:0,deletions:0}},F8=[],W8=[],qo=[{label:"Default app",target:"default"},{label:"Open in folder",target:"folder"}],C2=["lockfiles"],xd="gloss:hidden-boring-file-presets:v2",I8=new Map(X2.map(a=>[a.id,a.label])),jd={diff:null,error:null,loading:!1},P8=new Intl.RelativeTimeFormat(void 0,{numeric:"auto"}),e7=new Intl.DateTimeFormat(void 0,{dateStyle:"medium",timeStyle:"short"}),Go=[["year",3600*24*365],["month",3600*24*30],["week",3600*24*7],["day",3600*24],["hour",3600],["minute",60],["second",1]],t7=[{icon:kh,label:"Match system theme",value:"system"},{icon:am,label:"Use light theme",value:"light"},{icon:Bh,label:"Use dark theme",value:"dark"}];function n7({reviewId:a}){return s.jsx(u7,{reviewId:a},a)}function l7(){const{preference:a,setPreference:u}=n1();return s.jsxs("fieldset",{className:"theme-toggle",children:[s.jsx("legend",{className:"sr-only",children:"Theme"}),t7.map(f=>{const r=f.icon;return s.jsx("button",{"aria-label":f.label,"aria-pressed":a===f.value,className:"theme-toggle-option",title:f.label,type:"button",onClick:()=>u(f.value),children:s.jsx(r,{size:15})},f.value)})]})}function a7(){try{const a=window.localStorage.getItem(xd);return a===null?new Set(C2):zm(JSON.parse(a))}catch{return new Set(C2)}}function _2(a){try{window.localStorage.setItem(xd,JSON.stringify(Array.from(a)))}catch{}}function i7(a,u){const f=Q2(a);return{presetLabels:Array.from(u).filter(h=>f.has(h)).map(h=>I8.get(h)??h)}}function R2(a){const u=document.getElementById(i1(a));if(!u)return;const r=u.getBoundingClientRect().top+window.scrollY-156;window.scrollTo({behavior:"smooth",top:Math.max(r,0)})}function c7(a){const u=document.getElementById(i1(a.filePath));if(!u)return!1;const f=Math.max(a.startLine,a.endLine),r=Array.from(u.querySelectorAll(".inline-comment")).find(x=>x.dataset.commentId===a.id),h=Array.from(u.querySelectorAll(".diff-row")).find(x=>x.dataset.side===a.side&&Number(x.dataset.line)===f),y=r??h;if(!y)return!1;const z=y.getBoundingClientRect(),C=z.top+window.scrollY-window.innerHeight/2+z.height/2;return window.scrollTo({behavior:"auto",top:Math.max(C,0)}),s7(y),!0}function s7(a){a.classList.remove("jump-target"),a.getBoundingClientRect(),a.classList.add("jump-target"),window.setTimeout(()=>a.classList.remove("jump-target"),1400)}function u7({reviewId:a}){const[u,f]=N.useState(null),[r,h]=N.useState(null),[y,z]=N.useState(!1),[C,x]=N.useState(null),[m,T]=N.useState(!0),[D,U]=N.useState(!1),[B,$]=N.useState($8),[he,me]=N.useState({reviewId:null,searchQuery:"",selectedExtensionIds:null}),[Z,je]=N.useState(()=>a7()),[re,K]=N.useState(new Set),[fe,oe]=N.useState(null),[W,be]=N.useState({mode:"all"}),[Oe,G]=N.useReducer(m7,jd),[I,q]=N.useState(null),[ie,ae]=N.useState(null),[De,M]=N.useState(qo),[X,ne]=N.useState(()=>({storageKey:a,files:Bo(a)})),[ve,ye]=N.useState(null),g=N.useRef(0),R=Nt(H=>H.reset),Q=Nt(H=>H.hydrateReview),J=Nt(H=>H.setDraft),k=(u==null?void 0:u.turns[u.turns.length-1])??null,V=(k==null?void 0:k.id)??null,b=u&&k?u.turns.find(H=>H.id===fe)??k:null,Y=u&&b?o7(u,b):null,F=Y?o2(Y):null,ce=(b==null?void 0:b.diff.commitDiffs)??W8,pe=N.useMemo(()=>h7(W,ce),[ce,W]),Me=b&&pe.mode==="single"?ce.find(H=>H.commit.sha===pe.sha)??null:null,et=b&&pe.mode==="range"?Oe.diff??J8:null,Xe=b?et??Me??b.diff:null,lt=N.useMemo(()=>Xe?{...Xe,files:Lm(Xe.files)}:null,[Xe]),ot=(lt==null?void 0:lt.files)??F8,xt=N.useMemo(()=>Nm(ot,Z),[Z,ot]).hidden,ul=N.useMemo(()=>new Map(xt.filter(H=>!re.has(H.path)).map(H=>[H.path,i7(H,Z)])),[xt,Z,re]),ol=N.useMemo(()=>v8(ot),[ot]),On=N.useMemo(()=>ol.map(H=>H.id),[ol]),rl=(u==null?void 0:u.meta.id)??null,hs=!!(rl&&he.reviewId===rl),mt=N.useMemo(()=>rl?V8(he,rl,On):new Set(On),[On,he,rl]),wa=hs?he.searchQuery:"",Dn=N.useMemo(()=>b8(ot,wa,mt),[ot,wa,mt]),en=b?`${a}:${b.id}`:a;let rn=X.files;X.storageKey!==en&&(rn=Bo(en),ne({storageKey:en,files:rn}));const _i=C&&Dn.some(H=>H.path===C)?C:null,fl=N.useCallback(H=>{f(H),document.title=o2(H)},[]),ql=N.useCallback(()=>{g.current+=1,ae(null),q(null)},[]),Na=N.useCallback(()=>{be({mode:"all"}),G({type:"idle"}),ql(),J(null)},[ql,J]),fn=N.useCallback(async()=>{var ue;const H=await f2(a),P=((ue=H.turns[H.turns.length-1])==null?void 0:ue.id)??null;fe===null&&V&&P!==V&&Na(),fl(H)},[a,fe,V,Na,fl]);if(N.useEffect(()=>{let H=!1;return R(),f2(a).then(P=>{H||fl(P)}).catch(P=>{H||h(P instanceof Error?P.message:String(P))}),()=>{H=!0}},[a,R,fl]),N.useEffect(()=>{let H=!1;return A5().then(({targets:P})=>{H||M(P.length>0?P:qo)}).catch(()=>{H||M(qo)}),()=>{H=!0}},[]),N.useEffect(()=>{var H;b&&Q(((H=b.feedback)==null?void 0:H.comments)??[],b.resolution??null)},[Q,b]),N.useEffect(()=>{if(!b||pe.mode!=="range")return;let H=!1;return G({type:"loading"}),C5(a,pe.fromSha,pe.toSha,b.id).then(P=>{H||G({type:"loaded",diff:P})}).catch(P=>{H||G({error:P instanceof Error?P.message:String(P),type:"failed"})}),()=>{H=!0}},[pe,b,a]),N.useEffect(()=>{const H=new EventSource(`/api/reviews/${a}/events`);return H.onmessage=P=>{const ue=Im(P.data,r5,"review event");G8(ue)&&fn().catch(Fe=>{h(Fe instanceof Error?Fe.message:String(Fe))})},()=>{H.close()}},[a,fn]),r)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:r})]})});if(!u||!b||!Y||!lt||!F)return s.jsx("main",{className:"empty-shell",children:s.jsxs("section",{className:"empty-panel",children:[s.jsx(Fo,{className:"spin",size:24}),s.jsx("p",{children:"Loading review"})]})});const jt=b.diff.scope,tn=lt.stats,Et=X8(Y.meta.branch,F),za=Q8(Y.meta.branch,F),ms=b7(pe),Ta=S7(pe),dn=b.id!==V||Bm(b.status),Gl=Sd(u.turns),dl=pe.mode==="range"?Oe.error:null,hn=pe.mode==="range"&&Oe.loading,hl=Y8(Y.feedback,Y.resolution),Ln=ot.filter(H=>rn.has(H.path)).length,ps=ot.length===0?0:Math.round(Ln/ot.length*100),Ri=H=>{me(P=>({reviewId:u.meta.id,searchQuery:H,selectedExtensionIds:P.reviewId===u.meta.id?P.selectedExtensionIds:null}))},Ma=H=>{me(P=>{const ue=P.reviewId===u.meta.id&&P.selectedExtensionIds?new Set(P.selectedExtensionIds):new Set(On);return ue.has(H)?ue.delete(H):ue.add(H),{reviewId:u.meta.id,searchQuery:P.reviewId===u.meta.id?P.searchQuery:"",selectedExtensionIds:ue}})},ml=()=>{me(H=>({reviewId:u.meta.id,searchQuery:H.reviewId===u.meta.id?H.searchQuery:"",selectedExtensionIds:null}))},ys=()=>{me(H=>({reviewId:u.meta.id,searchQuery:H.reviewId===u.meta.id?H.searchQuery:"",selectedExtensionIds:new Set}))},Oi=H=>{je(P=>{const ue=new Set(P);return ue.has(H)?ue.delete(H):ue.add(H),_2(ue),ue})},Di=()=>{const H=new Set;_2(H),je(H)},Aa=H=>{K(P=>{const ue=new Set(P);return ue.add(H),ue})},Ca=H=>{x(H.filePath),U(!1),Dn.some(Fe=>Fe.path===H.filePath)||me({reviewId:u.meta.id,searchQuery:"",selectedExtensionIds:null}),ul.has(H.filePath)&&Aa(H.filePath);let P=0;const ue=()=>{if(!c7(H)){if(P<8){P+=1,window.requestAnimationFrame(ue);return}R2(H.filePath)}};window.requestAnimationFrame(ue)},_a=H=>{x(H),U(!1),window.requestAnimationFrame(()=>{window.setTimeout(()=>R2(H),0)})},Li=H=>{H.preventDefault();const P=H.clientX,ue=B,Fe=Bi=>{const qi=ue+Bi.clientX-P;$(Math.min(K8,Math.max(Z8,qi)))},Ze=()=>{window.removeEventListener("pointermove",Fe),window.removeEventListener("pointerup",Ze)};window.addEventListener("pointermove",Fe),window.addEventListener("pointerup",Ze,{once:!0})},Hi=(H,P)=>{ne(ue=>{const Fe=ue.storageKey===en?ue.files:Bo(en),Ze=new Set(Fe);return P?Ze.add(H):Ze.delete(H),q8(en,Ze),{storageKey:en,files:Ze}})},nn=async(H,P)=>{ye(null);try{await d2(a,H,b.id,{target:P})}catch(ue){const Fe=ue instanceof Error?ue.message:String(ue);throw ye(Fe),new Error(Fe)}},ft=async(H,P)=>{ye(null);try{await d2(a,H,b.id,{scope:"repo",target:P})}catch(ue){const Fe=ue instanceof Error?ue.message:String(ue);throw ye(Fe),new Error(Fe)}},bt=async H=>{ye(null);try{return(await h2(a,H,b.id)).content}catch(P){const ue=P instanceof Error?P.message:String(P);throw ye(ue),new Error(ue)}},Hn=async H=>{ye(null);try{return(await h2(a,H,b.id,{scope:"repo"})).content}catch(P){const ue=P instanceof Error?P.message:String(P);throw ye(ue),new Error(ue)}},Ra=async H=>{const P=g.current+1;g.current=P,ae(H),q({status:"loading",symbol:H.symbol});try{const ue=await R5({reviewId:a,turnId:b.id,source:Ta,...H});g.current===P&&q({status:"ready",response:ue})}catch(ue){g.current===P&&q({message:ue instanceof Error?ue.message:String(ue),status:"error",symbol:H.symbol})}},gs=async(H,P,ue)=>{if(!ie)throw new Error("source peek selection is no longer available");return O5({reviewId:a,turnId:b.id,source:Ta,side:ie.side,filePath:H,startLine:P,lineCount:ue})},ki={activeFilePath:_i,extensionBuckets:ol,files:ot,filteredFiles:Dn,hiddenBoringFileCount:ul.size,hiddenBoringPresets:Z,searchQuery:wa,selectedExtensionIds:mt,onClearExtensions:ys,onFileSelect:_a,onSearchChange:Ri,onSelectAllExtensions:ml,onShowAllBoringFiles:Di,onToggleBoringPreset:Oi,onToggleExtension:Ma},Ui=s.jsx(w2,{...ki,onCollapse:()=>T(!0)}),pl=s.jsx(w2,{...ki}),Oa=lt.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.jsx("main",{className:"review-shell",children:s.jsxs("div",{className:"review-split",children:[s.jsxs("div",{className:"review-main-pane",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:[Et.icon==="branch"?s.jsx(as,{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(p7,{commitDiffs:ce,value:pe,onChange:H=>{be(H),H.mode!=="range"&&G({type:"idle"}),ql(),J(null)}}),s.jsxs("div",{className:"viewed-progress",title:"Viewed files",children:[s.jsx("span",{"aria-hidden":"true",className:"viewed-progress-ring",style:{"--viewed-progress":`${ps}%`}}),Ln," / ",ot.length," viewed"]}),s.jsx("button",{"aria-label":"Open file tree",className:"icon-button file-tree-mobile-toggle",title:"Open file tree",type:"button",onClick:()=>U(!0),children:s.jsx(Jo,{size:16})}),s.jsx("button",{"aria-label":y?"Unwrap lines":"Wrap lines","aria-pressed":y,className:"icon-button wrap-toggle",title:y?"Unwrap lines":"Wrap lines",type:"button",onClick:()=>z(H=>!H),children:y?s.jsx(Gh,{size:16}):s.jsx(V2,{size:16})}),s.jsx(l7,{}),za?s.jsxs("div",{className:"branch-pill",title:za.title,children:[s.jsx(as,{size:16}),s.jsx("span",{children:za.label})]}):null]})]}),s.jsx(r7,{scope:jt,selectedTurn:b,stats:tn,turns:u.turns,onSelectTurn:H=>{H!==b.id&&Na(),oe(H===V?null:H)}})]}),ve?s.jsx("div",{className:"open-file-message error",children:ve}):null,dl?s.jsx("div",{className:"open-file-message error",children:dl}):null,hn?s.jsx("div",{className:"range-loading",children:"Loading range diff"}):null,s.jsxs("div",{className:`review-body ${m?"file-tree-collapsed":""}`,style:{"--file-tree-width":`${B}px`},children:[s.jsx("aside",{className:`review-sidebar ${m?"collapsed":""}`,children:m?s.jsxs("button",{"aria-label":"Expand file tree",className:"file-tree-rail",title:"Expand file tree",type:"button",onClick:()=>T(!1),children:[s.jsx(Qh,{size:17}),s.jsx("span",{children:"Files"}),s.jsx("span",{children:Dn.length})]}):s.jsxs(s.Fragment,{children:[Ui,s.jsx("button",{"aria-label":"Resize file tree",className:"file-tree-resize-handle",title:"Resize file tree",type:"button",onPointerDown:Li})]})}),s.jsxs("section",{className:"review-diff-column",children:[dn&&!Gl?s.jsx(w7,{record:Y}):null,dn&&hl.length>0?s.jsx(E7,{items:hl}):null,s.jsx(n8,{activeFilePath:_i,contextSource:Ta,diff:lt,emptyState:Oa,files:Dn,hiddenFiles:ul,record:Y,readOnly:dn,reviewId:a,selectedSourcePeek:ie,turnId:b.id,viewedFiles:rn,wrapLines:y,openTargets:De,onCopyFileContents:bt,onOpenFile:nn,onRevealHiddenFile:Aa,onSourcePeek:Ra,onViewedChange:Hi})]})]}),D?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:()=>U(!1),children:s.jsx(Ci,{size:16})})]}),pl]})}):null,dn?null:s.jsx(U8,{reviewId:a,reviewScope:ms,onLineCommentSelect:Ca,onSubmitted:fn})]}),I?Mi.createPortal(s.jsx(T8,{openTargets:De,state:I,onCopyFileContents:Hn,onLoadRange:gs,onOpenFile:ft,onClose:ql}),document.body):null]})})}function o7(a,u){return{...a,meta:{...a.meta,activeTurnId:u.id,status:u.status,submittedAt:u.submittedAt,resolvedAt:u.resolvedAt,feedbackPath:u.feedbackPath,markdownPath:u.markdownPath},diff:u.diff,...u.feedback?{feedback:u.feedback}:{feedback:void 0},...u.resolution?{resolution:u.resolution}:{resolution:void 0}}}function r7({scope:a,selectedTurn:u,stats:f,turns:r,onSelectTurn:h}){return s.jsxs("div",{className:"review-context-bar",children:[s.jsxs("div",{className:"review-context-range",title:`${D2("Base",a.base.ref,a.base.sha)} to ${D2("Compare",a.comparison.ref,a.comparison.sha)}`,children:[s.jsx("span",{className:"review-context-ref",children:O2(a.base.ref,a.base.sha)}),s.jsx(k2,{className:"review-context-arrow",size:14}),s.jsx("span",{className:"review-context-ref",children:O2(a.comparison.ref,a.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:[f.files," ",f.files===1?"file":"files"]}),s.jsxs("span",{className:"summary-add",children:["+",f.additions]}),s.jsxs("span",{className:"summary-del",children:["-",f.deletions]})]}),s.jsx(f7,{selectedTurn:u,turns:r,onSelect:h})]})}function f7({selectedTurn:a,turns:u,onSelect:f}){var x;const[r,h]=N.useState(!1),y=N.useRef(null);if(N.useEffect(()=>{if(!r)return;const m=D=>{var U;(U=y.current)!=null&&U.contains(D.target)||h(!1)},T=D=>{D.key==="Escape"&&h(!1)};return window.addEventListener("pointerdown",m),window.addEventListener("keydown",T),()=>{window.removeEventListener("pointerdown",m),window.removeEventListener("keydown",T)}},[r]),!Sd(u))return null;const z=(x=u[u.length-1])==null?void 0:x.id,C=[...u].reverse();return s.jsxs("div",{className:"turn-selector",ref:y,children:[s.jsxs("button",{"aria-expanded":r,"aria-haspopup":"menu",className:"turn-selector-trigger",type:"button",onClick:()=>h(m=>!m),children:[s.jsxs("span",{children:["Turn ",a.index," of ",u.length]}),s.jsx("span",{className:`turn-selector-status ${a.status}`,children:a.status}),s.jsx(Bl,{size:14})]}),r?s.jsx("div",{className:"turn-menu",role:"menu","aria-label":"Review turns",children:C.map(m=>{var he;const T=Y2(m),D=m.id===a.id,U=m.id===z,B=(he=m.feedback)!=null&&he.reviewScope?km(m.feedback.reviewScope,m.diff.commitDiffs??[]):null,$=d7(m);return s.jsxs("button",{"aria-checked":D,className:`turn-menu-item ${D?"selected":""}`,role:"menuitemradio",type:"button",onClick:()=>{f(m.id),h(!1)},children:[s.jsxs("span",{className:"turn-menu-title",children:["Turn ",m.index,U?s.jsx("span",{className:"turn-menu-latest",children:"Latest"}):null]}),s.jsxs("span",{className:`turn-menu-meta ${m.status}`,children:[m.status,T.total>0?` · ${T.open} open / ${T.total}`:" · no comments"]}),$?s.jsx("time",{className:"turn-menu-time",dateTime:$,children:wd($)}):null,B?s.jsxs("span",{className:"turn-menu-scope",children:["Scope: ",B]}):null]},m.id)})}):null]})}function O2(a,u){return u?`${a} ${u.slice(0,7)}`:a}function D2(a,u,f){return`${a} ${u}${f?` (${f})`:""}`}function d7(a){var u;return a.status==="resolved"?a.resolvedAt??((u=a.resolution)==null?void 0:u.resolvedAt)??null:a.status==="submitted"?a.submittedAt??null:null}function h7(a,u){if(a.mode==="all")return a;if(a.mode==="single")return u.some(h=>h.commit.sha===a.sha)?a:{mode:"all"};const f=u.findIndex(h=>h.commit.sha===a.fromSha),r=u.findIndex(h=>h.commit.sha===a.toSha);return f>=0&&r>=f?a:{mode:"all"}}function m7(a,u){switch(u.type){case"idle":return jd;case"loading":return{diff:null,error:null,loading:!0};case"loaded":return{diff:u.diff,error:null,loading:!1};case"failed":return{diff:null,error:u.error,loading:!1}}}function p7({commitDiffs:a,value:u,onChange:f}){const[r,h]=N.useState(!1),[y,z]=N.useState("all"),[C,x]=N.useState(new Set),m=N.useRef(null),T=N.useRef(null),D=N.useMemo(()=>a.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})),[a]);if(N.useEffect(()=>{if(!r)return;T.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(","),je=()=>{var K;return Array.from(((K=m.current)==null?void 0:K.querySelectorAll(Z))??[]).filter(fe=>fe.offsetParent!==null)};window.requestAnimationFrame(()=>{var K;(K=je()[0]??m.current)==null||K.focus()});const re=K=>{var be;if(K.key==="Escape"&&h(!1),K.key!=="Tab")return;const fe=je();if(fe.length===0){K.preventDefault(),(be=m.current)==null||be.focus();return}const oe=fe[0],W=fe[fe.length-1];K.shiftKey&&document.activeElement===oe?(K.preventDefault(),W.focus()):!K.shiftKey&&document.activeElement===W&&(K.preventDefault(),oe.focus())};return window.addEventListener("keydown",re),()=>{var K;window.removeEventListener("keydown",re),(K=T.current)==null||K.focus(),T.current=null}},[r]),D.length===0)return null;const U=()=>{const Z=y7(u,D);z(u.mode==="all"||Z.size===0?"all":"selected"),x(Z),h(!0)},B=Ed(C,D),$=B.length>0?{from:D[B[0]],to:D[B[B.length-1]],count:B[B.length-1]-B[0]+1}:null,he=y==="all"?`${D.length} ${D.length===1?"commit":"commits"}`:$?$.from.sha===$.to.sha?$.from.shortSha:`${$.count} commits · ${$.from.shortSha} to ${$.to.shortSha}`:"No commits selected",me=y==="all"||B.length>0;return s.jsxs("div",{className:"commit-selector",children:[s.jsxs("button",{"aria-expanded":r,className:"commit-picker-trigger",type:"button",onClick:U,children:[s.jsx(Ah,{size:16}),s.jsx("span",{className:"commit-picker-trigger-text",children:x7(u,D)}),s.jsx(Bl,{size:16})]}),r?Mi.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:m,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(Ci,{size:20})})]}),s.jsxs("div",{className:"commit-picker-body",children:[s.jsxs("label",{className:`commit-picker-all ${y==="all"?"selected":""}`,children:[s.jsx("input",{checked:y==="all",className:"commit-picker-checkbox",type:"checkbox",onChange:()=>{z("all"),x(new Set)}}),s.jsxs("span",{className:"commit-picker-all-copy",children:[s.jsx("span",{children:"All commits"}),s.jsxs("span",{children:[D.length," ",D.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:D.map(Z=>{const je=y==="selected"&&C.has(Z.sha);return s.jsxs("label",{className:`commit-picker-row ${je?"selected":""}`,children:[s.jsx("input",{checked:je,className:"commit-picker-checkbox",type:"checkbox",onChange:()=>{z("selected"),x(re=>g7(re,Z.sha,D))}}),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 ",j7(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:he}),s.jsx("button",{className:"secondary-button",type:"button",onClick:()=>h(!1),children:"Cancel"}),s.jsxs("button",{className:"primary-button",disabled:!me,type:"button",onClick:()=>{if(y==="all"){f({mode:"all"}),h(!1);return}const Z=v7(B,D);Z&&(f(Z),h(!1))},children:[s.jsx(sl,{size:16}),"Save"]})]})]})}),document.body):null]})}function y7(a,u){if(a.mode==="all")return new Set;if(a.mode==="single")return u.some(h=>h.sha===a.sha)?new Set([a.sha]):new Set;const f=u.findIndex(h=>h.sha===a.fromSha),r=u.findIndex(h=>h.sha===a.toSha);return f<0||r<f?new Set:ja(f,r,u)}function Ed(a,u){const f=[];for(const[r,h]of u.entries())a.has(h.sha)&&f.push(r);return f}function g7(a,u,f){const r=f.findIndex(m=>m.sha===u);if(r<0)return a;const h=Ed(a,f);if(!a.has(u)){const m=h.length>0?Math.min(h[0],r):r,T=h.length>0?Math.max(h[h.length-1],r):r;return ja(m,T,f)}if(h.length<=1)return new Set;const y=h[0],z=h[h.length-1];if(r<=y)return ja(y+1,z,f);if(r>=z)return ja(y,z-1,f);const C=r-y,x=z-r;return C>=x?ja(y,r-1,f):ja(r+1,z,f)}function ja(a,u,f){return a<0||u<a?new Set:new Set(f.slice(a,u+1).map(r=>r.sha))}function v7(a,u){if(a.length===0)return null;const f=a[0],r=a[a.length-1];return f===r?{mode:"single",sha:u[f].sha}:{mode:"range",fromSha:u[f].sha,toSha:u[r].sha}}function b7(a){return a.mode==="all"?{mode:"all"}:a.mode==="single"?{mode:"single",sha:a.sha}:{mode:"range",fromSha:a.fromSha,toSha:a.toSha}}function S7(a){return a.mode==="all"?{mode:"turn"}:a.mode==="single"?{mode:"commit",sha:a.sha}:{mode:"range",fromSha:a.fromSha,toSha:a.toSha}}function x7(a,u){if(a.mode==="all")return"All commits";if(a.mode==="single"){const y=u.find(z=>z.sha===a.sha);return y?`${y.shortSha} ${y.subject}`:"One commit"}const f=u.findIndex(y=>y.sha===a.fromSha),r=u.findIndex(y=>y.sha===a.toSha);return f<0||r<f?"Commit range":`${r-f+1} commits · ${u[f].shortSha} to ${u[r].shortSha}`}function j7(a){const u=new Date(a);if(Number.isNaN(u.getTime()))return"recently";const f=Math.round((u.getTime()-Date.now())/1e3),[r,h]=Go.find(([,y])=>Math.abs(f)>=y)??Go[Go.length-1];return P8.format(Math.round(f/h),r)}function E7({items:a}){return s.jsxs("section",{className:"submitted-general-feedback","aria-labelledby":"submitted-general-title",children:[s.jsxs("header",{className:"submitted-general-feedback-header",children:[s.jsxs("div",{className:"submitted-general-feedback-title",children:[s.jsx(Hl,{size:16}),s.jsx("h2",{id:"submitted-general-title",children:"General feedback"})]}),s.jsx("span",{className:"submitted-general-feedback-count",children:a.length})]}),s.jsx("div",{className:"submitted-general-feedback-list",children:a.map(u=>s.jsxs("article",{className:`submitted-general-feedback-card ${u.status}`,children:[s.jsx("div",{className:"submitted-general-feedback-icon",children:u.status==="resolved"?s.jsx($o,{size:15}):s.jsx(Hl,{size:15})}),s.jsxs("div",{className:"submitted-general-feedback-content",children:[s.jsx("div",{className:"submitted-general-feedback-meta",children:u.status==="resolved"?"Resolved":"Open · Needs fix"}),s.jsx("p",{className:"submitted-general-feedback-body",children:u.comment.body}),u.summary?s.jsx("p",{className:"submitted-general-feedback-summary",children:u.summary}):null]})]},u.comment.id))})]})}function w7({record:a}){var r;const u=N7(a);if(!u)return null;const f=a.meta.status==="resolved"?a.meta.resolvedAt??((r=a.resolution)==null?void 0:r.resolvedAt):a.meta.submittedAt;return s.jsxs("section",{className:`review-state-banner ${a.meta.status}`,children:[s.jsxs("div",{className:"review-state-title",children:[s.jsx($o,{size:16}),s.jsx("span",{children:u.title})]}),s.jsx("p",{children:u.body}),f?s.jsx("time",{dateTime:f,children:wd(f)}):null]})}function N7(a){const u=a.meta.status,f=Y2(a),r=f.total>0?`${f.resolved} of ${f.total} comments resolved`:null;return u==="submitted"?{title:f.resolved>0&&r?`Submitted · ${r}`:"Submitted",body:f.resolved>0?"Feedback is being handled.":"Feedback has been submitted."}:u==="resolved"?{title:r?`Resolved · ${r}`:"Resolved",body:"This feedback turn is resolved."}:null}function wd(a){return e7.format(new Date(a))}const z7="npx skills add iamrajjoshi/gloss --skill gloss -g -a claude-code",T7=`1. Run gloss open --json from the repo root unless the user names a base ref.
|
|
300
|
+
`);return u.at(-1)===""&&u.pop(),u.length>0?u:[""]}const T8=16,us=360,Zo=280,z2=360,vd={above:!1,below:!1};function T2(){return{...vd}}function M8({openTargets:a,onCopyFileContents:u,onLoadRange:f,onOpenFile:r,state:h,onClose:y}){const{resolvedTheme:z}=n1(),C=N.useRef(null),x=N.useRef(null),m=N.useRef(null),T=N.useRef(null),D=N.useRef(null),U=N.useRef(null),B=h.status==="ready"?h.response:null,$=h.status==="error"?O8(h.message,h.symbol):null,he=N.useRef(vd),me=N.useRef({above:0,below:0}),Z=N.useRef(B),[je,re]=N.useState(null),[K,fe]=N.useState(()=>B?N2(B):null),oe=N.useRef(B),[W,be]=N.useState(T2),[Oe,G]=N.useState(null),[I,q]=N.useState(!1),[ie,ae]=N.useState(null);if(B!==oe.current){const k=T2();oe.current=B,Z.current=B,me.current={above:me.current.above+1,below:me.current.below+1},he.current=k,fe(B?N2(B):null),G(null),be(k),ae(null)}const De=N.useMemo(()=>K?ss(K.content):[],[K]),M=K&&B&&(je==null?void 0:je.content)===K.content&&je.language===B.language&&je.theme===z?je.lines:null,X=K?R8(K,W,Oe):null,ne=N.useCallback(k=>{D.current=k,T.current===null&&(T.current=window.requestAnimationFrame(()=>{T.current=null;const V=D.current,b=C.current;!V||!b||(b.style.top=`${Math.round(V.top)}px`,b.style.left=`${Math.round(V.left)}px`,b.style.right="auto",b.style.bottom="auto",b.style.width=`${Math.round(V.width)}px`,b.style.height=`${Math.round(V.height)}px`,b.style.transform="")}))},[]),ve=N.useCallback(()=>{var k;(k=U.current)==null||k.call(U),U.current=null,document.body.classList.remove("source-peek-interacting"),document.body.style.cursor="",document.body.style.userSelect=""},[]),ye=N.useCallback((k,V)=>{const b={...he.current,[k]:V};he.current=b,be(b)},[]);N.useEffect(()=>{const k=V=>{V.key==="Escape"&&y()};return window.addEventListener("keydown",k),()=>window.removeEventListener("keydown",k)},[y]),N.useEffect(()=>{if(!ie)return;const k=window.setTimeout(()=>ae(null),2200);return()=>window.clearTimeout(k)},[ie]),N.useEffect(()=>{const k=C.current;if(!k)return;const V=b=>{if(b.defaultPrevented)return;const Y=b.target;if(!(Y instanceof Node)||!k.contains(Y))return;b.preventDefault(),b.stopPropagation();const F=x.current;if(!F)return;const ce=D8(b,F);F.scrollTop+=ce.y,F.scrollLeft+=ce.x};return k.addEventListener("wheel",V,{passive:!1}),()=>k.removeEventListener("wheel",V)},[]),N.useEffect(()=>{if(!B||!K)return;let k=!1;return td(async()=>{const{highlightSourceContent:V}=await import("./syntax-Cl5tCgsJ.js");return{highlightSourceContent:V}},[]).then(({highlightSourceContent:V})=>V(K.content,B.language,z)).then(V=>{k||re({lines:V,content:K.content,language:B.language,theme:z})}).catch(()=>{k||re({lines:null,content:K.content,language:B.language,theme:z})}),()=>{k=!0}},[K,B,z]),N.useEffect(()=>{B&&window.requestAnimationFrame(()=>{var k;(k=m.current)==null||k.scrollIntoView({block:"center"})})},[B]),N.useEffect(()=>{const k=()=>{const V=C.current;V&&ne(Dl(Uo(V)))};return window.requestAnimationFrame(()=>ne(A8())),window.addEventListener("resize",k),()=>{window.removeEventListener("resize",k)}},[ne]),N.useEffect(()=>()=>{ve(),T.current!==null&&window.cancelAnimationFrame(T.current)},[ve]);const g=k=>{if(k.button!==0||k.target.closest("button"))return;k.preventDefault(),ve();const V=C.current;if(!V)return;const b=Dl(Uo(V)),Y=k.clientX,F=k.clientY;D.current=b,document.body.classList.add("source-peek-interacting"),document.body.style.cursor="grabbing",document.body.style.userSelect="none",V.classList.add("dragging");const ce=et=>{const Xe=Dl({...b,left:b.left+et.clientX-Y,top:b.top+et.clientY-F});V.style.transform=`translate3d(${Math.round(Xe.left-b.left)}px, ${Math.round(Xe.top-b.top)}px, 0)`,D.current=Xe},pe=()=>{const et=D.current??b;V.classList.remove("dragging"),ne(et),ve()},Me=()=>{window.removeEventListener("pointermove",ce),window.removeEventListener("pointerup",pe),V.classList.remove("dragging")};U.current=Me,window.addEventListener("pointermove",ce),window.addEventListener("pointerup",pe,{once:!0})},R=k=>V=>{if(V.button!==0)return;V.preventDefault(),V.stopPropagation(),ve();const b=C.current;if(!b)return;const Y=Dl(Uo(b)),F=V.clientX,ce=V.clientY,pe=_8(k);D.current=Y,document.body.classList.add("source-peek-interacting"),document.body.style.cursor=pe,document.body.style.userSelect="none";const Me=lt=>{const ot=lt.clientX-F,rt=lt.clientY-ce;ne(C8(Y,k,ot,rt))},et=()=>ve(),Xe=()=>{window.removeEventListener("pointermove",Me),window.removeEventListener("pointerup",et)};U.current=Xe,window.addEventListener("pointermove",Me),window.addEventListener("pointerup",et,{once:!0})},Q=N.useCallback(async k=>{var ce;if(!B||!K||he.current[k])return;const V=N8(K,k);if(!V)return;const b=me.current[k]+1;me.current={...me.current,[k]:b};const Y=()=>Z.current===B&&me.current[k]===b,F=k==="above"?((ce=x.current)==null?void 0:ce.scrollHeight)??null:null;if(Y()){ye(k,!0),G(null);try{const pe=await f(B.filePath,V.startLine,V.lineCount);Y()&&(fe(Me=>(Me==null?void 0:Me.response)===B?z8(Me,pe):Me),k==="above"&&F!==null&&window.requestAnimationFrame(()=>{const Me=x.current;Me&&(Me.scrollTop+=Me.scrollHeight-F)}))}catch(pe){Y()&&G(pe instanceof Error?pe.message:String(pe))}finally{Y()&&ye(k,!1)}}},[K,f,B,ye]),J=N.useCallback(k=>{const V=k.currentTarget,b=V.scrollHeight-V.scrollTop-V.clientHeight;V.scrollTop<=z2&&Q("above"),b<=z2&&Q("below")},[Q]);return s.jsxs("aside",{"aria-label":"Source peek",className:"source-peek-panel",ref:C,children:[s.jsx("button",{"aria-label":"Resize source peek horizontally",className:"source-peek-resize-handle left",type:"button",onPointerDown:R({left:!0})}),s.jsx("button",{"aria-label":"Resize source peek vertically",className:"source-peek-resize-handle bottom",type:"button",onPointerDown:R({bottom:!0})}),s.jsx("button",{"aria-label":"Resize source peek",className:"source-peek-resize-handle bottom-left",type:"button",onPointerDown:R({bottom:!0,left:!0})}),s.jsx("button",{"aria-label":"Resize source peek",className:"source-peek-resize-handle bottom-right",type:"button",onPointerDown:R({bottom:!0,right:!0})}),s.jsxs("header",{className:"source-peek-header",onPointerDown:g,children:[s.jsxs("div",{className:"source-peek-title",children:[s.jsx(Eh,{size:17}),s.jsx("span",{children:"Source peek"})]}),s.jsx(Rh,{className:"source-peek-drag-indicator",size:16,"aria-hidden":"true"}),s.jsxs("div",{className:"source-peek-toolbar",children:[B?s.jsx(dd,{filePath:B.filePath,openTargets:a,wordWrap:I,onActionMessage:ae,onCopyFileContents:()=>u(B.filePath),onOpenFile:k=>r(B.filePath,k),onWordWrapChange:q}):null,s.jsx("button",{"aria-label":"Close source peek",className:"icon-button source-peek-close",type:"button",onClick:y,children:s.jsx(Ci,{size:17})})]})]}),h.status==="loading"?s.jsxs("div",{className:"source-peek-status",children:[s.jsx(Fo,{className:"spin",size:18}),s.jsxs("span",{children:["Resolving ",h.symbol]})]}):null,h.status==="error"?s.jsx("div",{className:"source-peek-status error",children:s.jsxs("div",{className:"source-peek-error-card",children:[s.jsx(uh,{size:18}),s.jsxs("div",{className:"source-peek-error-copy",children:[s.jsx("strong",{children:$==null?void 0:$.title}),s.jsx("p",{children:$==null?void 0:$.message}),$!=null&&$.hint?s.jsx("span",{children:$.hint}):null]})]})}):null,B?s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:"source-peek-meta",children:[s.jsx("span",{className:"source-peek-symbol",children:B.targetSymbol}),s.jsxs("span",{className:"source-peek-path",title:`${B.filePath}:${B.line}`,children:[B.filePath,":",B.line]}),ie?s.jsx("span",{className:"source-peek-action-message",children:ie}):null]}),X?s.jsx("div",{className:"source-peek-truncated",children:X}):null,s.jsx("section",{className:`source-peek-code ${I?"wrap-lines":""}`,"aria-label":B.filePath,ref:x,onScroll:J,children:De.map((k,V)=>{const b=((K==null?void 0:K.startLine)??B.startLine)+V,Y=b===B.line;return s.jsxs("div",{className:`source-peek-row ${Y?"target":""}`,ref:Y?m:null,children:[s.jsx("span",{className:"source-peek-line-number",children:b}),s.jsx("code",{children:k8(k||" ",(M==null?void 0:M[V])??null)})]},b)})})]}):null]})}function Uo(a){const u=a.getBoundingClientRect();return{height:u.height,left:u.left,top:u.top,width:u.width}}function Dl(a){const u=s1();if(window.innerWidth<=980)return{height:window.innerHeight-u*2,left:u,top:u,width:window.innerWidth-u*2};const f=Math.max(us,window.innerWidth-u*2),r=Math.max(Zo,window.innerHeight-u*2),h=Ll(a.width,us,f),y=Ll(a.height,Zo,r);return{height:y,left:Ll(a.left,u,window.innerWidth-h-u),top:Ll(a.top,u,window.innerHeight-y-u),width:h}}function A8(){const a=s1();if(window.innerWidth<=980)return Dl({height:window.innerHeight-a*2,left:a,top:a,width:window.innerWidth-a*2});const u=Math.max(a,Math.round(window.innerWidth/3)),f=window.innerWidth-u-a,r=window.innerHeight-a*2;return Dl({height:r,left:u,top:a,width:f})}function C8(a,u,f,r){const h=s1();let y=a.left,z=a.width,C=a.height;if(u.left){const x=a.left+a.width,m=h,T=x-us;y=Ll(a.left+f,m,T),z=x-y}return u.right&&(z=Ll(a.width+f,us,window.innerWidth-a.left-h)),u.bottom&&(C=Ll(a.height+r,Zo,window.innerHeight-a.top-h)),Dl({height:C,left:y,top:a.top,width:z})}function _8(a){return a.bottom&&a.left?"nesw-resize":a.bottom&&a.right?"nwse-resize":a.bottom?"row-resize":"col-resize"}function R8(a,u,f){return f?`Could not load more source: ${c1(f)}`:u.above&&u.below?"Loading more source lines above and below.":u.above?"Loading more source lines above.":u.below?"Loading more source lines below.":a.hasMoreAbove||a.hasMoreBelow?"Large source file - more lines load as you scroll.":a.truncated?"Source preview was shortened for a very long line.":null}function O8(a,u){const f=c1(a);return/no definition found/i.test(f)?{hint:"This can happen for Node built-ins, package exports, or symbols outside the repo.",message:`Gloss could not find a project definition for ${u}.`,title:"No definition found"}:{hint:null,message:f,title:"Source peek unavailable"}}function c1(a){const u=a.replace(/^\d+:\s*/,"").trim();try{const f=JSON.parse(u);if(typeof f=="object"&&f!==null&&!Array.isArray(f)&&typeof f.error=="string")return c1(f.error)}catch{}return u.replace(/^source peek unavailable:\s*/i,"").trim()}function s1(){return window.innerWidth<=720?8:T8}function Ll(a,u,f){return Math.min(f,Math.max(u,a))}function D8(a,u){const f=L8(a,u);return{x:a.deltaX*f,y:a.deltaY*f}}function L8(a,u){return a.deltaMode===WheelEvent.DOM_DELTA_LINE?H8(u):a.deltaMode===WheelEvent.DOM_DELTA_PAGE?u.clientHeight||window.innerHeight:1}function H8(a){const u=Number.parseFloat(window.getComputedStyle(a).lineHeight);return Number.isFinite(u)?u:24}function k8(a,u){return!u||u.length===0?a:u.map(f=>s.jsx("span",{style:U8(f),children:f.content},`${f.offset}:${f.content}`))}function U8(a){const u={};a.color&&(u.color=a.color),a.fontStyle&&(a.fontStyle&1)!==0&&(u.fontStyle="italic"),a.fontStyle&&(a.fontStyle&2)!==0&&(u.fontWeight=700);const f=[];return a.fontStyle&&(a.fontStyle&4)!==0&&f.push("underline"),a.fontStyle&&(a.fontStyle&8)!==0&&f.push("line-through"),f.length>0&&(u.textDecorationLine=f.join(" ")),u}function M2(a){return a instanceof Error?a.message:String(a)}function B8({reviewId:a,reviewScope:u,onLineCommentSelect:f,onSubmitted:r}){const h=Nt(G=>G.comments),y=Nt(G=>G.addGeneralComment),z=Nt(G=>G.removeComment),[C,x]=N.useState(""),[m,T]=N.useState(null),[D,U]=N.useState("idle"),[B,$]=N.useState(null),he=N.useRef(null),me=N.useRef(!1),Z=D!=="submitting"&&D!=="done",je=C.trim(),re=h.filter(zi),K=h.filter(G=>!zi(G)),fe=m===null?null:K.find(G=>G.id===m)??null,oe=re.length>0,W=N.useCallback(()=>T(null),[]),be=()=>{je&&(y(je),x(""))},Oe=N.useCallback(async()=>{if(!(!Z||me.current)){me.current=!0,U("submitting"),$(null);try{await A5(a,h,u),U("done"),$("Submitted");try{await(r==null?void 0:r())}catch(G){$(`Submitted, but refresh failed: ${M2(G)}`)}}catch(G){me.current=!1,U("error"),$(M2(G))}}},[Z,h,r,a,u]);return N.useEffect(()=>{const G=I=>{a6(I)&&(I.preventDefault(),Oe())};return window.addEventListener("keydown",G),()=>window.removeEventListener("keydown",G)},[Oe]),N.useEffect(()=>{m!==null&&fe===null&&T(null)},[fe,m]),N.useEffect(()=>{var I;if(fe===null)return;const G=q=>{q.key==="Escape"&&(q.preventDefault(),W())};return(I=he.current)==null||I.focus(),window.addEventListener("keydown",G),()=>window.removeEventListener("keydown",G)},[W,fe]),s.jsxs(s.Fragment,{children:[s.jsxs("aside",{className:"submit-bar",children:[s.jsxs("div",{className:"feedback-panel",children:[oe?s.jsxs("div",{className:"inline-feedback-row",children:[s.jsxs("span",{className:"feedback-row-label inline-feedback-label",children:[s.jsx(Hl,{size:14}),"Inline feedback",s.jsx("span",{className:"feedback-row-count",children:re.length})]}),s.jsx("div",{className:"comment-list",children:re.map(G=>{const I=A2(G);return s.jsxs("div",{className:`comment-chip ${I.tone}`,title:I.title,children:[s.jsxs("button",{className:"comment-chip-target",type:"button",title:`Jump to ${I.title}`,onClick:()=>f==null?void 0:f(G),children:[s.jsx("span",{className:"comment-chip-kind",children:I.kind}),s.jsx("span",{className:"comment-chip-text",children:I.text})]}),s.jsx("button",{className:"icon-button",type:"button",title:"Remove comment",onClick:()=>z(G.id),children:s.jsx(ns,{size:14})})]},G.id)})})]}):null,K.length>0?s.jsxs("div",{className:"general-feedback-summary-row",children:[s.jsxs("span",{className:"feedback-row-label general-feedback-label",children:[s.jsx(Hl,{size:14}),"General feedback",s.jsx("span",{className:"feedback-row-count general-feedback-count",children:K.length})]}),s.jsx("div",{className:"general-feedback-list",children:K.map(G=>{const I=A2(G);return s.jsxs("div",{className:`comment-chip ${I.tone}`,title:I.title,children:[s.jsxs("button",{className:"comment-chip-target",type:"button",title:"View general feedback",onClick:()=>T(G.id),children:[s.jsx("span",{className:"comment-chip-kind",children:I.kind}),s.jsx("span",{className:"comment-chip-text",children:I.text})]}),s.jsx("button",{className:"icon-button",type:"button",title:"Remove comment",onClick:()=>z(G.id),children:s.jsx(ns,{size:14})})]},G.id)})})]}):null,s.jsx("div",{className:"general-feedback-row",children:s.jsx("form",{className:"general-comment-form",onSubmit:G=>{G.preventDefault(),be()},children:s.jsxs("div",{className:"general-comment-compose",children:[s.jsx(Hl,{className:"general-comment-compose-icon",size:15}),s.jsx("textarea",{"aria-label":"General feedback",placeholder:"General feedback",rows:1,value:C,onChange:G=>x(G.target.value),onKeyDown:G=>{ud(G)&&(G.preventDefault(),be())}}),s.jsxs("button",{"aria-keyshortcuts":"Meta+Enter",className:"general-comment-add",type:"submit",disabled:!je,title:"Add general feedback (Command+Enter)",children:[s.jsx(G2,{size:14}),s.jsx("span",{children:"Add"})]})]})})})]}),s.jsxs("div",{className:"submit-actions",children:[B?s.jsx("span",{className:`submit-message ${D}`,children:B}):null,s.jsxs("button",{"aria-keyshortcuts":"Meta+Shift+Enter",className:"primary-button",type:"button",disabled:!Z,title:"Submit review (Command+Shift+Enter)",onClick:Oe,children:[D==="done"?s.jsx(sl,{size:16}):s.jsx(Ph,{size:16}),"Submit ",h.length]})]})]}),fe?Mi.createPortal(s.jsx("div",{className:"general-feedback-dialog-backdrop",children:s.jsxs("dialog",{"aria-labelledby":"general-feedback-dialog-title","aria-modal":"true",className:"general-feedback-dialog",ref:he,open:!0,tabIndex:-1,children:[s.jsxs("header",{className:"general-feedback-dialog-header",children:[s.jsx("h2",{id:"general-feedback-dialog-title",children:"General feedback"}),s.jsx("button",{"aria-label":"Close general feedback",className:"icon-button general-feedback-dialog-close",type:"button",onClick:W,children:s.jsx(Ci,{size:18})})]}),s.jsx("div",{className:"general-feedback-dialog-body",children:s.jsx("p",{className:"general-feedback-dialog-text",children:fe.body})}),s.jsxs("footer",{className:"general-feedback-dialog-footer",children:[s.jsxs("button",{className:"secondary-button",type:"button",onClick:()=>{z(fe.id),W()},children:[s.jsx(ns,{size:14}),"Delete"]}),s.jsx("button",{className:"primary-button",type:"button",onClick:W,children:"Close"})]})]})}),document.body):null]})}function A2(a){if(!zi(a))return{kind:"General",text:a.body,title:a.body,tone:"general"};const u=`${a.filePath}:${Ti(a,{repeatSideOnEnd:!1})}`;return{kind:"Line",text:u,title:u,tone:"line"}}const q8="gloss:viewed-files:";function bd(a){return`${q8}${a}`}function Bo(a,u=Sd()){if(!u)return new Set;const f=u.getItem(bd(a));if(!f)return new Set;try{const r=JSON.parse(f);return new Set(Array.isArray(r)?r.filter(h=>typeof h=="string"):[])}catch{return new Set}}function G8(a,u,f=Sd()){if(!f)return;const r=bd(a);if(u.size===0){f.removeItem(r);return}f.setItem(r,JSON.stringify(Array.from(u).toSorted()))}function Sd(){try{return typeof window>"u"?null:window.localStorage}catch{return null}}function V8(a){return a.type==="review.turn.created"||a.type==="review.submitted"||a.type==="review.updated"}function Y8(a,u,f){return a.reviewId!==u||!a.selectedExtensionIds?new Set(f):new Set(f.filter(r=>{var h;return(h=a.selectedExtensionIds)==null?void 0:h.has(r)}))}function X8(a,u){const f=new Map(((u==null?void 0:u.comments)??[]).map(r=>[r.commentId,r]));return((a==null?void 0:a.comments)??[]).filter(r=>!zi(r)).map(r=>{const h=f.get(r.id)??null;return{comment:r,resolvedComment:h,status:h?"resolved":"open",summary:(h==null?void 0:h.summary)??null}})}function Q8(a,u){return{icon:(a==null?void 0:a.trim())===u.trim()?"branch":null}}function Z8(a,u){const f=(a==null?void 0:a.trim())??"",r=f||"detached";return r===u.trim()?null:{label:r,title:f||"Detached HEAD"}}function xd(a){return a.length>1}const K8=300,$8=560,J8=360,F8={files:[],stats:{files:0,additions:0,deletions:0}},W8=[],I8=[],qo=[{label:"Default app",target:"default"},{label:"Open in folder",target:"folder"}],C2=["lockfiles"],jd="gloss:hidden-boring-file-presets:v2",P8=new Map(X2.map(a=>[a.id,a.label])),Ed={diff:null,error:null,loading:!1},e7=new Intl.RelativeTimeFormat(void 0,{numeric:"auto"}),t7=new Intl.DateTimeFormat(void 0,{dateStyle:"medium",timeStyle:"short"}),Go=[["year",3600*24*365],["month",3600*24*30],["week",3600*24*7],["day",3600*24],["hour",3600],["minute",60],["second",1]],n7=[{icon:Uh,label:"Match system theme",value:"system"},{icon:im,label:"Use light theme",value:"light"},{icon:qh,label:"Use dark theme",value:"dark"}];function l7({reviewId:a}){return s.jsx(o7,{reviewId:a},a)}function a7(){const{preference:a,setPreference:u}=n1();return s.jsxs("fieldset",{className:"theme-toggle",children:[s.jsx("legend",{className:"sr-only",children:"Theme"}),n7.map(f=>{const r=f.icon;return s.jsx("button",{"aria-label":f.label,"aria-pressed":a===f.value,className:"theme-toggle-option",title:f.label,type:"button",onClick:()=>u(f.value),children:s.jsx(r,{size:15})},f.value)})]})}function i7(){try{const a=window.localStorage.getItem(jd);return a===null?new Set(C2):Tm(JSON.parse(a))}catch{return new Set(C2)}}function _2(a){try{window.localStorage.setItem(jd,JSON.stringify(Array.from(a)))}catch{}}function c7(a,u){const f=Q2(a);return{presetLabels:Array.from(u).filter(h=>f.has(h)).map(h=>P8.get(h)??h)}}function R2(a){const u=document.getElementById(i1(a));if(!u)return;const r=u.getBoundingClientRect().top+window.scrollY-156;window.scrollTo({behavior:"smooth",top:Math.max(r,0)})}function s7(a){const u=document.getElementById(i1(a.filePath));if(!u)return!1;const f=Math.max(a.startLine,a.endLine),r=Array.from(u.querySelectorAll(".inline-comment")).find(x=>x.dataset.commentId===a.id),h=Array.from(u.querySelectorAll(".diff-row")).find(x=>x.dataset.side===a.side&&Number(x.dataset.line)===f),y=r??h;if(!y)return!1;const z=y.getBoundingClientRect(),C=z.top+window.scrollY-window.innerHeight/2+z.height/2;return window.scrollTo({behavior:"auto",top:Math.max(C,0)}),u7(y),!0}function u7(a){a.classList.remove("jump-target"),a.getBoundingClientRect(),a.classList.add("jump-target"),window.setTimeout(()=>a.classList.remove("jump-target"),1400)}function o7({reviewId:a}){const[u,f]=N.useState(null),[r,h]=N.useState(null),[y,z]=N.useState(!1),[C,x]=N.useState(null),[m,T]=N.useState(!0),[D,U]=N.useState(!1),[B,$]=N.useState(J8),[he,me]=N.useState({reviewId:null,searchQuery:"",selectedExtensionIds:null}),[Z,je]=N.useState(()=>i7()),[re,K]=N.useState(new Set),[fe,oe]=N.useState(null),[W,be]=N.useState({mode:"all"}),[Oe,G]=N.useReducer(p7,Ed),[I,q]=N.useState(null),[ie,ae]=N.useState(null),[De,M]=N.useState(qo),[X,ne]=N.useState(()=>({storageKey:a,files:Bo(a)})),[ve,ye]=N.useState(null),g=N.useRef(0),R=Nt(H=>H.reset),Q=Nt(H=>H.hydrateReview),J=Nt(H=>H.setDraft),k=(u==null?void 0:u.turns[u.turns.length-1])??null,V=(k==null?void 0:k.id)??null,b=u&&k?u.turns.find(H=>H.id===fe)??k:null,Y=u&&b?r7(u,b):null,F=Y?o2(Y):null,ce=(b==null?void 0:b.diff.commitDiffs)??I8,pe=N.useMemo(()=>m7(W,ce),[ce,W]),Me=b&&pe.mode==="single"?ce.find(H=>H.commit.sha===pe.sha)??null:null,et=b&&pe.mode==="range"?Oe.diff??F8:null,Xe=b?et??Me??b.diff:null,lt=N.useMemo(()=>Xe?{...Xe,files:Hm(Xe.files)}:null,[Xe]),ot=(lt==null?void 0:lt.files)??W8,xt=N.useMemo(()=>zm(ot,Z),[Z,ot]).hidden,ul=N.useMemo(()=>new Map(xt.filter(H=>!re.has(H.path)).map(H=>[H.path,c7(H,Z)])),[xt,Z,re]),ol=N.useMemo(()=>b8(ot),[ot]),On=N.useMemo(()=>ol.map(H=>H.id),[ol]),rl=(u==null?void 0:u.meta.id)??null,hs=!!(rl&&he.reviewId===rl),mt=N.useMemo(()=>rl?Y8(he,rl,On):new Set(On),[On,he,rl]),wa=hs?he.searchQuery:"",Dn=N.useMemo(()=>S8(ot,wa,mt),[ot,wa,mt]),en=b?`${a}:${b.id}`:a;let rn=X.files;X.storageKey!==en&&(rn=Bo(en),ne({storageKey:en,files:rn}));const _i=C&&Dn.some(H=>H.path===C)?C:null,fl=N.useCallback(H=>{f(H),document.title=o2(H)},[]),ql=N.useCallback(()=>{g.current+=1,ae(null),q(null)},[]),Na=N.useCallback(()=>{be({mode:"all"}),G({type:"idle"}),ql(),J(null)},[ql,J]),fn=N.useCallback(async()=>{var ue;const H=await f2(a),P=((ue=H.turns[H.turns.length-1])==null?void 0:ue.id)??null;fe===null&&V&&P!==V&&Na(),fl(H)},[a,fe,V,Na,fl]);if(N.useEffect(()=>{let H=!1;return R(),f2(a).then(P=>{H||fl(P)}).catch(P=>{H||h(P instanceof Error?P.message:String(P))}),()=>{H=!0}},[a,R,fl]),N.useEffect(()=>{let H=!1;return C5().then(({targets:P})=>{H||M(P.length>0?P:qo)}).catch(()=>{H||M(qo)}),()=>{H=!0}},[]),N.useEffect(()=>{var H;b&&Q(((H=b.feedback)==null?void 0:H.comments)??[],b.resolution??null)},[Q,b]),N.useEffect(()=>{if(!b||pe.mode!=="range")return;let H=!1;return G({type:"loading"}),_5(a,pe.fromSha,pe.toSha,b.id).then(P=>{H||G({type:"loaded",diff:P})}).catch(P=>{H||G({error:P instanceof Error?P.message:String(P),type:"failed"})}),()=>{H=!0}},[pe,b,a]),N.useEffect(()=>{const H=new EventSource(`/api/reviews/${a}/events`);return H.onmessage=P=>{const ue=Pm(P.data,f5,"review event");V8(ue)&&fn().catch(Fe=>{h(Fe instanceof Error?Fe.message:String(Fe))})},()=>{H.close()}},[a,fn]),r)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:r})]})});if(!u||!b||!Y||!lt||!F)return s.jsx("main",{className:"empty-shell",children:s.jsxs("section",{className:"empty-panel",children:[s.jsx(Fo,{className:"spin",size:24}),s.jsx("p",{children:"Loading review"})]})});const jt=b.diff.scope,tn=lt.stats,Et=Q8(Y.meta.branch,F),za=Z8(Y.meta.branch,F),ms=S7(pe),Ta=x7(pe),dn=b.id!==V||qm(b.status),Gl=xd(u.turns),dl=pe.mode==="range"?Oe.error:null,hn=pe.mode==="range"&&Oe.loading,hl=X8(Y.feedback,Y.resolution),Ln=ot.filter(H=>rn.has(H.path)).length,ps=ot.length===0?0:Math.round(Ln/ot.length*100),Ri=H=>{me(P=>({reviewId:u.meta.id,searchQuery:H,selectedExtensionIds:P.reviewId===u.meta.id?P.selectedExtensionIds:null}))},Ma=H=>{me(P=>{const ue=P.reviewId===u.meta.id&&P.selectedExtensionIds?new Set(P.selectedExtensionIds):new Set(On);return ue.has(H)?ue.delete(H):ue.add(H),{reviewId:u.meta.id,searchQuery:P.reviewId===u.meta.id?P.searchQuery:"",selectedExtensionIds:ue}})},ml=()=>{me(H=>({reviewId:u.meta.id,searchQuery:H.reviewId===u.meta.id?H.searchQuery:"",selectedExtensionIds:null}))},ys=()=>{me(H=>({reviewId:u.meta.id,searchQuery:H.reviewId===u.meta.id?H.searchQuery:"",selectedExtensionIds:new Set}))},Oi=H=>{je(P=>{const ue=new Set(P);return ue.has(H)?ue.delete(H):ue.add(H),_2(ue),ue})},Di=()=>{const H=new Set;_2(H),je(H)},Aa=H=>{K(P=>{const ue=new Set(P);return ue.add(H),ue})},Ca=H=>{x(H.filePath),U(!1),Dn.some(Fe=>Fe.path===H.filePath)||me({reviewId:u.meta.id,searchQuery:"",selectedExtensionIds:null}),ul.has(H.filePath)&&Aa(H.filePath);let P=0;const ue=()=>{if(!s7(H)){if(P<8){P+=1,window.requestAnimationFrame(ue);return}R2(H.filePath)}};window.requestAnimationFrame(ue)},_a=H=>{x(H),U(!1),window.requestAnimationFrame(()=>{window.setTimeout(()=>R2(H),0)})},Li=H=>{H.preventDefault();const P=H.clientX,ue=B,Fe=Bi=>{const qi=ue+Bi.clientX-P;$(Math.min($8,Math.max(K8,qi)))},Ze=()=>{window.removeEventListener("pointermove",Fe),window.removeEventListener("pointerup",Ze)};window.addEventListener("pointermove",Fe),window.addEventListener("pointerup",Ze,{once:!0})},Hi=(H,P)=>{ne(ue=>{const Fe=ue.storageKey===en?ue.files:Bo(en),Ze=new Set(Fe);return P?Ze.add(H):Ze.delete(H),G8(en,Ze),{storageKey:en,files:Ze}})},nn=async(H,P)=>{ye(null);try{await d2(a,H,b.id,{target:P})}catch(ue){const Fe=ue instanceof Error?ue.message:String(ue);throw ye(Fe),new Error(Fe)}},ft=async(H,P)=>{ye(null);try{await d2(a,H,b.id,{scope:"repo",target:P})}catch(ue){const Fe=ue instanceof Error?ue.message:String(ue);throw ye(Fe),new Error(Fe)}},bt=async H=>{ye(null);try{return(await h2(a,H,b.id)).content}catch(P){const ue=P instanceof Error?P.message:String(P);throw ye(ue),new Error(ue)}},Hn=async H=>{ye(null);try{return(await h2(a,H,b.id,{scope:"repo"})).content}catch(P){const ue=P instanceof Error?P.message:String(P);throw ye(ue),new Error(ue)}},Ra=async H=>{const P=g.current+1;g.current=P,ae(H),q({status:"loading",symbol:H.symbol});try{const ue=await O5({reviewId:a,turnId:b.id,source:Ta,...H});g.current===P&&q({status:"ready",response:ue})}catch(ue){g.current===P&&q({message:ue instanceof Error?ue.message:String(ue),status:"error",symbol:H.symbol})}},gs=async(H,P,ue)=>{if(!ie)throw new Error("source peek selection is no longer available");return D5({reviewId:a,turnId:b.id,source:Ta,side:ie.side,filePath:H,startLine:P,lineCount:ue})},ki={activeFilePath:_i,extensionBuckets:ol,files:ot,filteredFiles:Dn,hiddenBoringFileCount:ul.size,hiddenBoringPresets:Z,searchQuery:wa,selectedExtensionIds:mt,onClearExtensions:ys,onFileSelect:_a,onSearchChange:Ri,onSelectAllExtensions:ml,onShowAllBoringFiles:Di,onToggleBoringPreset:Oi,onToggleExtension:Ma},Ui=s.jsx(w2,{...ki,onCollapse:()=>T(!0)}),pl=s.jsx(w2,{...ki}),Oa=lt.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.jsx("main",{className:"review-shell",children:s.jsxs("div",{className:"review-split",children:[s.jsxs("div",{className:"review-main-pane",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:[Et.icon==="branch"?s.jsx(as,{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(y7,{commitDiffs:ce,value:pe,onChange:H=>{be(H),H.mode!=="range"&&G({type:"idle"}),ql(),J(null)}}),s.jsxs("div",{className:"viewed-progress",title:"Viewed files",children:[s.jsx("span",{"aria-hidden":"true",className:"viewed-progress-ring",style:{"--viewed-progress":`${ps}%`}}),Ln," / ",ot.length," viewed"]}),s.jsx("button",{"aria-label":"Open file tree",className:"icon-button file-tree-mobile-toggle",title:"Open file tree",type:"button",onClick:()=>U(!0),children:s.jsx(Jo,{size:16})}),s.jsx("button",{"aria-label":y?"Unwrap lines":"Wrap lines","aria-pressed":y,className:"icon-button wrap-toggle",title:y?"Unwrap lines":"Wrap lines",type:"button",onClick:()=>z(H=>!H),children:y?s.jsx(Vh,{size:16}):s.jsx(V2,{size:16})}),s.jsx(a7,{}),za?s.jsxs("div",{className:"branch-pill",title:za.title,children:[s.jsx(as,{size:16}),s.jsx("span",{children:za.label})]}):null]})]}),s.jsx(f7,{scope:jt,selectedTurn:b,stats:tn,turns:u.turns,onSelectTurn:H=>{H!==b.id&&Na(),oe(H===V?null:H)}})]}),ve?s.jsx("div",{className:"open-file-message error",children:ve}):null,dl?s.jsx("div",{className:"open-file-message error",children:dl}):null,hn?s.jsx("div",{className:"range-loading",children:"Loading range diff"}):null,s.jsxs("div",{className:`review-body ${m?"file-tree-collapsed":""}`,style:{"--file-tree-width":`${B}px`},children:[s.jsx("aside",{className:`review-sidebar ${m?"collapsed":""}`,children:m?s.jsxs("button",{"aria-label":"Expand file tree",className:"file-tree-rail",title:"Expand file tree",type:"button",onClick:()=>T(!1),children:[s.jsx(Zh,{size:17}),s.jsx("span",{children:"Files"}),s.jsx("span",{children:Dn.length})]}):s.jsxs(s.Fragment,{children:[Ui,s.jsx("button",{"aria-label":"Resize file tree",className:"file-tree-resize-handle",title:"Resize file tree",type:"button",onPointerDown:Li})]})}),s.jsxs("section",{className:"review-diff-column",children:[dn&&!Gl?s.jsx(N7,{record:Y}):null,dn&&hl.length>0?s.jsx(w7,{items:hl}):null,s.jsx(l8,{activeFilePath:_i,contextSource:Ta,diff:lt,emptyState:Oa,files:Dn,hiddenFiles:ul,record:Y,readOnly:dn,reviewId:a,selectedSourcePeek:ie,turnId:b.id,viewedFiles:rn,wrapLines:y,openTargets:De,onCopyFileContents:bt,onOpenFile:nn,onRevealHiddenFile:Aa,onSourcePeek:Ra,onViewedChange:Hi})]})]}),D?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:()=>U(!1),children:s.jsx(Ci,{size:16})})]}),pl]})}):null,dn?null:s.jsx(B8,{reviewId:a,reviewScope:ms,onLineCommentSelect:Ca,onSubmitted:fn})]}),I?Mi.createPortal(s.jsx(M8,{openTargets:De,state:I,onCopyFileContents:Hn,onLoadRange:gs,onOpenFile:ft,onClose:ql}),document.body):null]})})}function r7(a,u){return{...a,meta:{...a.meta,activeTurnId:u.id,status:u.status,submittedAt:u.submittedAt,resolvedAt:u.resolvedAt,feedbackPath:u.feedbackPath,markdownPath:u.markdownPath},diff:u.diff,...u.feedback?{feedback:u.feedback}:{feedback:void 0},...u.resolution?{resolution:u.resolution}:{resolution:void 0}}}function f7({scope:a,selectedTurn:u,stats:f,turns:r,onSelectTurn:h}){return s.jsxs("div",{className:"review-context-bar",children:[s.jsxs("div",{className:"review-context-range",title:`${D2("Base",a.base.ref,a.base.sha)} to ${D2("Compare",a.comparison.ref,a.comparison.sha)}`,children:[s.jsx("span",{className:"review-context-ref",children:O2(a.base.ref,a.base.sha)}),s.jsx(k2,{className:"review-context-arrow",size:14}),s.jsx("span",{className:"review-context-ref",children:O2(a.comparison.ref,a.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:[f.files," ",f.files===1?"file":"files"]}),s.jsxs("span",{className:"summary-add",children:["+",f.additions]}),s.jsxs("span",{className:"summary-del",children:["-",f.deletions]})]}),s.jsx(d7,{selectedTurn:u,turns:r,onSelect:h})]})}function d7({selectedTurn:a,turns:u,onSelect:f}){var x;const[r,h]=N.useState(!1),y=N.useRef(null);if(N.useEffect(()=>{if(!r)return;const m=D=>{var U;(U=y.current)!=null&&U.contains(D.target)||h(!1)},T=D=>{D.key==="Escape"&&h(!1)};return window.addEventListener("pointerdown",m),window.addEventListener("keydown",T),()=>{window.removeEventListener("pointerdown",m),window.removeEventListener("keydown",T)}},[r]),!xd(u))return null;const z=(x=u[u.length-1])==null?void 0:x.id,C=[...u].reverse();return s.jsxs("div",{className:"turn-selector",ref:y,children:[s.jsxs("button",{"aria-expanded":r,"aria-haspopup":"menu",className:"turn-selector-trigger",type:"button",onClick:()=>h(m=>!m),children:[s.jsxs("span",{children:["Turn ",a.index," of ",u.length]}),s.jsx("span",{className:`turn-selector-status ${a.status}`,children:a.status}),s.jsx(Bl,{size:14})]}),r?s.jsx("div",{className:"turn-menu",role:"menu","aria-label":"Review turns",children:C.map(m=>{var he;const T=Y2(m),D=m.id===a.id,U=m.id===z,B=(he=m.feedback)!=null&&he.reviewScope?Um(m.feedback.reviewScope,m.diff.commitDiffs??[]):null,$=h7(m);return s.jsxs("button",{"aria-checked":D,className:`turn-menu-item ${D?"selected":""}`,role:"menuitemradio",type:"button",onClick:()=>{f(m.id),h(!1)},children:[s.jsxs("span",{className:"turn-menu-title",children:["Turn ",m.index,U?s.jsx("span",{className:"turn-menu-latest",children:"Latest"}):null]}),s.jsxs("span",{className:`turn-menu-meta ${m.status}`,children:[m.status,T.total>0?` · ${T.open} open / ${T.total}`:" · no comments"]}),$?s.jsx("time",{className:"turn-menu-time",dateTime:$,children:Nd($)}):null,B?s.jsxs("span",{className:"turn-menu-scope",children:["Scope: ",B]}):null]},m.id)})}):null]})}function O2(a,u){return u?`${a} ${u.slice(0,7)}`:a}function D2(a,u,f){return`${a} ${u}${f?` (${f})`:""}`}function h7(a){var u;return a.status==="resolved"?a.resolvedAt??((u=a.resolution)==null?void 0:u.resolvedAt)??null:a.status==="submitted"?a.submittedAt??null:null}function m7(a,u){if(a.mode==="all")return a;if(a.mode==="single")return u.some(h=>h.commit.sha===a.sha)?a:{mode:"all"};const f=u.findIndex(h=>h.commit.sha===a.fromSha),r=u.findIndex(h=>h.commit.sha===a.toSha);return f>=0&&r>=f?a:{mode:"all"}}function p7(a,u){switch(u.type){case"idle":return Ed;case"loading":return{diff:null,error:null,loading:!0};case"loaded":return{diff:u.diff,error:null,loading:!1};case"failed":return{diff:null,error:u.error,loading:!1}}}function y7({commitDiffs:a,value:u,onChange:f}){const[r,h]=N.useState(!1),[y,z]=N.useState("all"),[C,x]=N.useState(new Set),m=N.useRef(null),T=N.useRef(null),D=N.useMemo(()=>a.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})),[a]);if(N.useEffect(()=>{if(!r)return;T.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(","),je=()=>{var K;return Array.from(((K=m.current)==null?void 0:K.querySelectorAll(Z))??[]).filter(fe=>fe.offsetParent!==null)};window.requestAnimationFrame(()=>{var K;(K=je()[0]??m.current)==null||K.focus()});const re=K=>{var be;if(K.key==="Escape"&&h(!1),K.key!=="Tab")return;const fe=je();if(fe.length===0){K.preventDefault(),(be=m.current)==null||be.focus();return}const oe=fe[0],W=fe[fe.length-1];K.shiftKey&&document.activeElement===oe?(K.preventDefault(),W.focus()):!K.shiftKey&&document.activeElement===W&&(K.preventDefault(),oe.focus())};return window.addEventListener("keydown",re),()=>{var K;window.removeEventListener("keydown",re),(K=T.current)==null||K.focus(),T.current=null}},[r]),D.length===0)return null;const U=()=>{const Z=g7(u,D);z(u.mode==="all"||Z.size===0?"all":"selected"),x(Z),h(!0)},B=wd(C,D),$=B.length>0?{from:D[B[0]],to:D[B[B.length-1]],count:B[B.length-1]-B[0]+1}:null,he=y==="all"?`${D.length} ${D.length===1?"commit":"commits"}`:$?$.from.sha===$.to.sha?$.from.shortSha:`${$.count} commits · ${$.from.shortSha} to ${$.to.shortSha}`:"No commits selected",me=y==="all"||B.length>0;return s.jsxs("div",{className:"commit-selector",children:[s.jsxs("button",{"aria-expanded":r,className:"commit-picker-trigger",type:"button",onClick:U,children:[s.jsx(Ch,{size:16}),s.jsx("span",{className:"commit-picker-trigger-text",children:j7(u,D)}),s.jsx(Bl,{size:16})]}),r?Mi.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:m,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(Ci,{size:20})})]}),s.jsxs("div",{className:"commit-picker-body",children:[s.jsxs("label",{className:`commit-picker-all ${y==="all"?"selected":""}`,children:[s.jsx("input",{checked:y==="all",className:"commit-picker-checkbox",type:"checkbox",onChange:()=>{z("all"),x(new Set)}}),s.jsxs("span",{className:"commit-picker-all-copy",children:[s.jsx("span",{children:"All commits"}),s.jsxs("span",{children:[D.length," ",D.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:D.map(Z=>{const je=y==="selected"&&C.has(Z.sha);return s.jsxs("label",{className:`commit-picker-row ${je?"selected":""}`,children:[s.jsx("input",{checked:je,className:"commit-picker-checkbox",type:"checkbox",onChange:()=>{z("selected"),x(re=>v7(re,Z.sha,D))}}),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 ",E7(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:he}),s.jsx("button",{className:"secondary-button",type:"button",onClick:()=>h(!1),children:"Cancel"}),s.jsxs("button",{className:"primary-button",disabled:!me,type:"button",onClick:()=>{if(y==="all"){f({mode:"all"}),h(!1);return}const Z=b7(B,D);Z&&(f(Z),h(!1))},children:[s.jsx(sl,{size:16}),"Save"]})]})]})}),document.body):null]})}function g7(a,u){if(a.mode==="all")return new Set;if(a.mode==="single")return u.some(h=>h.sha===a.sha)?new Set([a.sha]):new Set;const f=u.findIndex(h=>h.sha===a.fromSha),r=u.findIndex(h=>h.sha===a.toSha);return f<0||r<f?new Set:ja(f,r,u)}function wd(a,u){const f=[];for(const[r,h]of u.entries())a.has(h.sha)&&f.push(r);return f}function v7(a,u,f){const r=f.findIndex(m=>m.sha===u);if(r<0)return a;const h=wd(a,f);if(!a.has(u)){const m=h.length>0?Math.min(h[0],r):r,T=h.length>0?Math.max(h[h.length-1],r):r;return ja(m,T,f)}if(h.length<=1)return new Set;const y=h[0],z=h[h.length-1];if(r<=y)return ja(y+1,z,f);if(r>=z)return ja(y,z-1,f);const C=r-y,x=z-r;return C>=x?ja(y,r-1,f):ja(r+1,z,f)}function ja(a,u,f){return a<0||u<a?new Set:new Set(f.slice(a,u+1).map(r=>r.sha))}function b7(a,u){if(a.length===0)return null;const f=a[0],r=a[a.length-1];return f===r?{mode:"single",sha:u[f].sha}:{mode:"range",fromSha:u[f].sha,toSha:u[r].sha}}function S7(a){return a.mode==="all"?{mode:"all"}:a.mode==="single"?{mode:"single",sha:a.sha}:{mode:"range",fromSha:a.fromSha,toSha:a.toSha}}function x7(a){return a.mode==="all"?{mode:"turn"}:a.mode==="single"?{mode:"commit",sha:a.sha}:{mode:"range",fromSha:a.fromSha,toSha:a.toSha}}function j7(a,u){if(a.mode==="all")return"All commits";if(a.mode==="single"){const y=u.find(z=>z.sha===a.sha);return y?`${y.shortSha} ${y.subject}`:"One commit"}const f=u.findIndex(y=>y.sha===a.fromSha),r=u.findIndex(y=>y.sha===a.toSha);return f<0||r<f?"Commit range":`${r-f+1} commits · ${u[f].shortSha} to ${u[r].shortSha}`}function E7(a){const u=new Date(a);if(Number.isNaN(u.getTime()))return"recently";const f=Math.round((u.getTime()-Date.now())/1e3),[r,h]=Go.find(([,y])=>Math.abs(f)>=y)??Go[Go.length-1];return e7.format(Math.round(f/h),r)}function w7({items:a}){return s.jsxs("section",{className:"submitted-general-feedback","aria-labelledby":"submitted-general-title",children:[s.jsxs("header",{className:"submitted-general-feedback-header",children:[s.jsxs("div",{className:"submitted-general-feedback-title",children:[s.jsx(Hl,{size:16}),s.jsx("h2",{id:"submitted-general-title",children:"General feedback"})]}),s.jsx("span",{className:"submitted-general-feedback-count",children:a.length})]}),s.jsx("div",{className:"submitted-general-feedback-list",children:a.map(u=>s.jsxs("article",{className:`submitted-general-feedback-card ${u.status}`,children:[s.jsx("div",{className:"submitted-general-feedback-icon",children:u.status==="resolved"?s.jsx($o,{size:15}):s.jsx(Hl,{size:15})}),s.jsxs("div",{className:"submitted-general-feedback-content",children:[s.jsx("div",{className:"submitted-general-feedback-meta",children:u.status==="resolved"?"Resolved":"Open · Needs fix"}),s.jsx("p",{className:"submitted-general-feedback-body",children:u.comment.body}),u.summary?s.jsx("p",{className:"submitted-general-feedback-summary",children:u.summary}):null]})]},u.comment.id))})]})}function N7({record:a}){var r;const u=z7(a);if(!u)return null;const f=a.meta.status==="resolved"?a.meta.resolvedAt??((r=a.resolution)==null?void 0:r.resolvedAt):a.meta.submittedAt;return s.jsxs("section",{className:`review-state-banner ${a.meta.status}`,children:[s.jsxs("div",{className:"review-state-title",children:[s.jsx($o,{size:16}),s.jsx("span",{children:u.title})]}),s.jsx("p",{children:u.body}),f?s.jsx("time",{dateTime:f,children:Nd(f)}):null]})}function z7(a){const u=a.meta.status,f=Y2(a),r=f.total>0?`${f.resolved} of ${f.total} comments resolved`:null;return u==="submitted"?{title:f.resolved>0&&r?`Submitted · ${r}`:"Submitted",body:f.resolved>0?"Feedback is being handled.":"Feedback has been submitted."}:u==="resolved"?{title:r?`Resolved · ${r}`:"Resolved",body:"This feedback turn is resolved."}:null}function Nd(a){return t7.format(new Date(a))}const T7="npx skills add iamrajjoshi/gloss --skill gloss -g -a claude-code",M7=`1. Run gloss open --json from the repo root unless the user names a base ref.
|
|
301
301
|
2. Wait for the browser review to be submitted.
|
|
302
302
|
3. Read feedbackPath from the JSON output.
|
|
303
303
|
4. Address general comments first, then file comments in file and line order.
|
|
304
304
|
5. Validate the fix with the narrowest relevant checks.
|
|
305
305
|
6. Optionally mark individual comments handled:
|
|
306
306
|
gloss resolve <reviewId> --comment <commentId> --summary "<what changed>"
|
|
307
|
-
7. Run gloss resolve <reviewId> --summary "<what changed>", then summarize what changed.`;function
|
|
307
|
+
7. Run gloss resolve <reviewId> --summary "<what changed>", then summarize what changed.`;function A7(){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:T7}),s.jsx("p",{children:"The skill pairs the CLI with the browser app:"}),s.jsx("pre",{children:M7})]}),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:"Gloss hides lockfiles by default in the browser review. Use browser-only filters to also hide snapshots, generated code, and vendored code while reviewing."}),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 C7(){if(window.location.pathname==="/setup"||window.location.pathname==="/setup/")return s.jsx(A7,{});const a=/^\/review\/([^/]+)/.exec(window.location.pathname);return a?s.jsx(l7,{reviewId:a[1]}):s.jsx(xm,{})}X3.createRoot(document.getElementById("root")).render(s.jsx(wi.StrictMode,{children:s.jsx(t6,{children:s.jsx(C7,{})})}));export{t1 as a,e1 as b,Ai as d};
|