lastlight-evals 0.7.14 → 0.7.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,274 +0,0 @@
|
|
|
1
|
-
var X0=Object.defineProperty;var kp=s=>{throw TypeError(s)};var Y0=(s,n,r)=>n in s?X0(s,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):s[n]=r;var Ve=(s,n,r)=>Y0(s,typeof n!="symbol"?n+"":n,r),Nu=(s,n,r)=>n.has(s)||kp("Cannot "+r);var R=(s,n,r)=>(Nu(s,n,"read from private field"),r?r.call(s):n.get(s)),ye=(s,n,r)=>n.has(s)?kp("Cannot add the same private member more than once"):n instanceof WeakSet?n.add(s):n.set(s,r),ce=(s,n,r,i)=>(Nu(s,n,"write to private field"),i?i.call(s,r):n.set(s,r),r),Ne=(s,n,r)=>(Nu(s,n,"access private method"),r);var xl=(s,n,r,i)=>({set _(a){ce(s,n,a,r)},get _(){return R(s,n,i)}});(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))i(a);new MutationObserver(a=>{for(const c of a)if(c.type==="childList")for(const u of c.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&i(u)}).observe(document,{childList:!0,subtree:!0});function r(a){const c={};return a.integrity&&(c.integrity=a.integrity),a.referrerPolicy&&(c.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?c.credentials="include":a.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function i(a){if(a.ep)return;a.ep=!0;const c=r(a);fetch(a.href,c)}})();var Sp=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function jf(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var Au={exports:{}},Di={},Cu={exports:{}},Ae={};/**
|
|
2
|
-
* @license React
|
|
3
|
-
* react.production.min.js
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var _p;function Z0(){if(_p)return Ae;_p=1;var s=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),u=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),y=Symbol.iterator;function w(A){return A===null||typeof A!="object"?null:(A=y&&A[y]||A["@@iterator"],typeof A=="function"?A:null)}var k={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},P=Object.assign,E={};function C(A,W,we){this.props=A,this.context=W,this.refs=E,this.updater=we||k}C.prototype.isReactComponent={},C.prototype.setState=function(A,W){if(typeof A!="object"&&typeof A!="function"&&A!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,A,W,"setState")},C.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")};function M(){}M.prototype=C.prototype;function T(A,W,we){this.props=A,this.context=W,this.refs=E,this.updater=we||k}var _=T.prototype=new M;_.constructor=T,P(_,C.prototype),_.isPureReactComponent=!0;var N=Array.isArray,F=Object.prototype.hasOwnProperty,$={current:null},G={key:!0,ref:!0,__self:!0,__source:!0};function V(A,W,we){var ge,Te={},_e=null,Ce=null;if(W!=null)for(ge in W.ref!==void 0&&(Ce=W.ref),W.key!==void 0&&(_e=""+W.key),W)F.call(W,ge)&&!G.hasOwnProperty(ge)&&(Te[ge]=W[ge]);var be=arguments.length-2;if(be===1)Te.children=we;else if(1<be){for(var Re=Array(be),Ue=0;Ue<be;Ue++)Re[Ue]=arguments[Ue+2];Te.children=Re}if(A&&A.defaultProps)for(ge in be=A.defaultProps,be)Te[ge]===void 0&&(Te[ge]=be[ge]);return{$$typeof:s,type:A,key:_e,ref:Ce,props:Te,_owner:$.current}}function Q(A,W){return{$$typeof:s,type:A.type,key:W,ref:A.ref,props:A.props,_owner:A._owner}}function I(A){return typeof A=="object"&&A!==null&&A.$$typeof===s}function se(A){var W={"=":"=0",":":"=2"};return"$"+A.replace(/[=:]/g,function(we){return W[we]})}var L=/\/+/g;function U(A,W){return typeof A=="object"&&A!==null&&A.key!=null?se(""+A.key):W.toString(36)}function q(A,W,we,ge,Te){var _e=typeof A;(_e==="undefined"||_e==="boolean")&&(A=null);var Ce=!1;if(A===null)Ce=!0;else switch(_e){case"string":case"number":Ce=!0;break;case"object":switch(A.$$typeof){case s:case n:Ce=!0}}if(Ce)return Ce=A,Te=Te(Ce),A=ge===""?"."+U(Ce,0):ge,N(Te)?(we="",A!=null&&(we=A.replace(L,"$&/")+"/"),q(Te,W,we,"",function(Ue){return Ue})):Te!=null&&(I(Te)&&(Te=Q(Te,we+(!Te.key||Ce&&Ce.key===Te.key?"":(""+Te.key).replace(L,"$&/")+"/")+A)),W.push(Te)),1;if(Ce=0,ge=ge===""?".":ge+":",N(A))for(var be=0;be<A.length;be++){_e=A[be];var Re=ge+U(_e,be);Ce+=q(_e,W,we,Re,Te)}else if(Re=w(A),typeof Re=="function")for(A=Re.call(A),be=0;!(_e=A.next()).done;)_e=_e.value,Re=ge+U(_e,be++),Ce+=q(_e,W,we,Re,Te);else if(_e==="object")throw W=String(A),Error("Objects are not valid as a React child (found: "+(W==="[object Object]"?"object with keys {"+Object.keys(A).join(", ")+"}":W)+"). If you meant to render a collection of children, use an array instead.");return Ce}function ne(A,W,we){if(A==null)return A;var ge=[],Te=0;return q(A,ge,"","",function(_e){return W.call(we,_e,Te++)}),ge}function me(A){if(A._status===-1){var W=A._result;W=W(),W.then(function(we){(A._status===0||A._status===-1)&&(A._status=1,A._result=we)},function(we){(A._status===0||A._status===-1)&&(A._status=2,A._result=we)}),A._status===-1&&(A._status=0,A._result=W)}if(A._status===1)return A._result.default;throw A._result}var le={current:null},K={transition:null},oe={ReactCurrentDispatcher:le,ReactCurrentBatchConfig:K,ReactCurrentOwner:$};function J(){throw Error("act(...) is not supported in production builds of React.")}return Ae.Children={map:ne,forEach:function(A,W,we){ne(A,function(){W.apply(this,arguments)},we)},count:function(A){var W=0;return ne(A,function(){W++}),W},toArray:function(A){return ne(A,function(W){return W})||[]},only:function(A){if(!I(A))throw Error("React.Children.only expected to receive a single React element child.");return A}},Ae.Component=C,Ae.Fragment=r,Ae.Profiler=a,Ae.PureComponent=T,Ae.StrictMode=i,Ae.Suspense=p,Ae.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=oe,Ae.act=J,Ae.cloneElement=function(A,W,we){if(A==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+A+".");var ge=P({},A.props),Te=A.key,_e=A.ref,Ce=A._owner;if(W!=null){if(W.ref!==void 0&&(_e=W.ref,Ce=$.current),W.key!==void 0&&(Te=""+W.key),A.type&&A.type.defaultProps)var be=A.type.defaultProps;for(Re in W)F.call(W,Re)&&!G.hasOwnProperty(Re)&&(ge[Re]=W[Re]===void 0&&be!==void 0?be[Re]:W[Re])}var Re=arguments.length-2;if(Re===1)ge.children=we;else if(1<Re){be=Array(Re);for(var Ue=0;Ue<Re;Ue++)be[Ue]=arguments[Ue+2];ge.children=be}return{$$typeof:s,type:A.type,key:Te,ref:_e,props:ge,_owner:Ce}},Ae.createContext=function(A){return A={$$typeof:u,_currentValue:A,_currentValue2:A,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},A.Provider={$$typeof:c,_context:A},A.Consumer=A},Ae.createElement=V,Ae.createFactory=function(A){var W=V.bind(null,A);return W.type=A,W},Ae.createRef=function(){return{current:null}},Ae.forwardRef=function(A){return{$$typeof:d,render:A}},Ae.isValidElement=I,Ae.lazy=function(A){return{$$typeof:v,_payload:{_status:-1,_result:A},_init:me}},Ae.memo=function(A,W){return{$$typeof:g,type:A,compare:W===void 0?null:W}},Ae.startTransition=function(A){var W=K.transition;K.transition={};try{A()}finally{K.transition=W}},Ae.unstable_act=J,Ae.useCallback=function(A,W){return le.current.useCallback(A,W)},Ae.useContext=function(A){return le.current.useContext(A)},Ae.useDebugValue=function(){},Ae.useDeferredValue=function(A){return le.current.useDeferredValue(A)},Ae.useEffect=function(A,W){return le.current.useEffect(A,W)},Ae.useId=function(){return le.current.useId()},Ae.useImperativeHandle=function(A,W,we){return le.current.useImperativeHandle(A,W,we)},Ae.useInsertionEffect=function(A,W){return le.current.useInsertionEffect(A,W)},Ae.useLayoutEffect=function(A,W){return le.current.useLayoutEffect(A,W)},Ae.useMemo=function(A,W){return le.current.useMemo(A,W)},Ae.useReducer=function(A,W,we){return le.current.useReducer(A,W,we)},Ae.useRef=function(A){return le.current.useRef(A)},Ae.useState=function(A){return le.current.useState(A)},Ae.useSyncExternalStore=function(A,W,we){return le.current.useSyncExternalStore(A,W,we)},Ae.useTransition=function(){return le.current.useTransition()},Ae.version="18.3.1",Ae}var Tp;function Rf(){return Tp||(Tp=1,Cu.exports=Z0()),Cu.exports}/**
|
|
10
|
-
* @license React
|
|
11
|
-
* react-jsx-runtime.production.min.js
|
|
12
|
-
*
|
|
13
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
14
|
-
*
|
|
15
|
-
* This source code is licensed under the MIT license found in the
|
|
16
|
-
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var Ep;function J0(){if(Ep)return Di;Ep=1;var s=Rf(),n=Symbol.for("react.element"),r=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,a=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function u(d,p,g){var v,y={},w=null,k=null;g!==void 0&&(w=""+g),p.key!==void 0&&(w=""+p.key),p.ref!==void 0&&(k=p.ref);for(v in p)i.call(p,v)&&!c.hasOwnProperty(v)&&(y[v]=p[v]);if(d&&d.defaultProps)for(v in p=d.defaultProps,p)y[v]===void 0&&(y[v]=p[v]);return{$$typeof:n,type:d,key:w,ref:k,props:y,_owner:a.current}}return Di.Fragment=r,Di.jsx=u,Di.jsxs=u,Di}var Np;function ev(){return Np||(Np=1,Au.exports=J0()),Au.exports}var m=ev(),ie=Rf();const tv=jf(ie);var wl={},ju={exports:{}},Wt={},Ru={exports:{}},Ou={};/**
|
|
18
|
-
* @license React
|
|
19
|
-
* scheduler.production.min.js
|
|
20
|
-
*
|
|
21
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
22
|
-
*
|
|
23
|
-
* This source code is licensed under the MIT license found in the
|
|
24
|
-
* LICENSE file in the root directory of this source tree.
|
|
25
|
-
*/var Ap;function nv(){return Ap||(Ap=1,(function(s){function n(K,oe){var J=K.length;K.push(oe);e:for(;0<J;){var A=J-1>>>1,W=K[A];if(0<a(W,oe))K[A]=oe,K[J]=W,J=A;else break e}}function r(K){return K.length===0?null:K[0]}function i(K){if(K.length===0)return null;var oe=K[0],J=K.pop();if(J!==oe){K[0]=J;e:for(var A=0,W=K.length,we=W>>>1;A<we;){var ge=2*(A+1)-1,Te=K[ge],_e=ge+1,Ce=K[_e];if(0>a(Te,J))_e<W&&0>a(Ce,Te)?(K[A]=Ce,K[_e]=J,A=_e):(K[A]=Te,K[ge]=J,A=ge);else if(_e<W&&0>a(Ce,J))K[A]=Ce,K[_e]=J,A=_e;else break e}}return oe}function a(K,oe){var J=K.sortIndex-oe.sortIndex;return J!==0?J:K.id-oe.id}if(typeof performance=="object"&&typeof performance.now=="function"){var c=performance;s.unstable_now=function(){return c.now()}}else{var u=Date,d=u.now();s.unstable_now=function(){return u.now()-d}}var p=[],g=[],v=1,y=null,w=3,k=!1,P=!1,E=!1,C=typeof setTimeout=="function"?setTimeout:null,M=typeof clearTimeout=="function"?clearTimeout:null,T=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function _(K){for(var oe=r(g);oe!==null;){if(oe.callback===null)i(g);else if(oe.startTime<=K)i(g),oe.sortIndex=oe.expirationTime,n(p,oe);else break;oe=r(g)}}function N(K){if(E=!1,_(K),!P)if(r(p)!==null)P=!0,me(F);else{var oe=r(g);oe!==null&&le(N,oe.startTime-K)}}function F(K,oe){P=!1,E&&(E=!1,M(V),V=-1),k=!0;var J=w;try{for(_(oe),y=r(p);y!==null&&(!(y.expirationTime>oe)||K&&!se());){var A=y.callback;if(typeof A=="function"){y.callback=null,w=y.priorityLevel;var W=A(y.expirationTime<=oe);oe=s.unstable_now(),typeof W=="function"?y.callback=W:y===r(p)&&i(p),_(oe)}else i(p);y=r(p)}if(y!==null)var we=!0;else{var ge=r(g);ge!==null&&le(N,ge.startTime-oe),we=!1}return we}finally{y=null,w=J,k=!1}}var $=!1,G=null,V=-1,Q=5,I=-1;function se(){return!(s.unstable_now()-I<Q)}function L(){if(G!==null){var K=s.unstable_now();I=K;var oe=!0;try{oe=G(!0,K)}finally{oe?U():($=!1,G=null)}}else $=!1}var U;if(typeof T=="function")U=function(){T(L)};else if(typeof MessageChannel<"u"){var q=new MessageChannel,ne=q.port2;q.port1.onmessage=L,U=function(){ne.postMessage(null)}}else U=function(){C(L,0)};function me(K){G=K,$||($=!0,U())}function le(K,oe){V=C(function(){K(s.unstable_now())},oe)}s.unstable_IdlePriority=5,s.unstable_ImmediatePriority=1,s.unstable_LowPriority=4,s.unstable_NormalPriority=3,s.unstable_Profiling=null,s.unstable_UserBlockingPriority=2,s.unstable_cancelCallback=function(K){K.callback=null},s.unstable_continueExecution=function(){P||k||(P=!0,me(F))},s.unstable_forceFrameRate=function(K){0>K||125<K?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Q=0<K?Math.floor(1e3/K):5},s.unstable_getCurrentPriorityLevel=function(){return w},s.unstable_getFirstCallbackNode=function(){return r(p)},s.unstable_next=function(K){switch(w){case 1:case 2:case 3:var oe=3;break;default:oe=w}var J=w;w=oe;try{return K()}finally{w=J}},s.unstable_pauseExecution=function(){},s.unstable_requestPaint=function(){},s.unstable_runWithPriority=function(K,oe){switch(K){case 1:case 2:case 3:case 4:case 5:break;default:K=3}var J=w;w=K;try{return oe()}finally{w=J}},s.unstable_scheduleCallback=function(K,oe,J){var A=s.unstable_now();switch(typeof J=="object"&&J!==null?(J=J.delay,J=typeof J=="number"&&0<J?A+J:A):J=A,K){case 1:var W=-1;break;case 2:W=250;break;case 5:W=1073741823;break;case 4:W=1e4;break;default:W=5e3}return W=J+W,K={id:v++,callback:oe,priorityLevel:K,startTime:J,expirationTime:W,sortIndex:-1},J>A?(K.sortIndex=J,n(g,K),r(p)===null&&K===r(g)&&(E?(M(V),V=-1):E=!0,le(N,J-A))):(K.sortIndex=W,n(p,K),P||k||(P=!0,me(F))),K},s.unstable_shouldYield=se,s.unstable_wrapCallback=function(K){var oe=w;return function(){var J=w;w=oe;try{return K.apply(this,arguments)}finally{w=J}}}})(Ou)),Ou}var Cp;function rv(){return Cp||(Cp=1,Ru.exports=nv()),Ru.exports}/**
|
|
26
|
-
* @license React
|
|
27
|
-
* react-dom.production.min.js
|
|
28
|
-
*
|
|
29
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
30
|
-
*
|
|
31
|
-
* This source code is licensed under the MIT license found in the
|
|
32
|
-
* LICENSE file in the root directory of this source tree.
|
|
33
|
-
*/var jp;function sv(){if(jp)return Wt;jp=1;var s=Rf(),n=rv();function r(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,o=1;o<arguments.length;o++)t+="&args[]="+encodeURIComponent(arguments[o]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,a={};function c(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(a[e]=t,e=0;e<t.length;e++)i.add(t[e])}var d=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),p=Object.prototype.hasOwnProperty,g=/^[: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]*$/,v={},y={};function w(e){return p.call(y,e)?!0:p.call(v,e)?!1:g.test(e)?y[e]=!0:(v[e]=!0,!1)}function k(e,t,o,l){if(o!==null&&o.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return l?!1:o!==null?!o.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function P(e,t,o,l){if(t===null||typeof t>"u"||k(e,t,o,l))return!0;if(l)return!1;if(o!==null)switch(o.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function E(e,t,o,l,f,h,x){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=l,this.attributeNamespace=f,this.mustUseProperty=o,this.propertyName=e,this.type=t,this.sanitizeURL=h,this.removeEmptyString=x}var C={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){C[e]=new E(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];C[t]=new E(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){C[e]=new E(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){C[e]=new E(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){C[e]=new E(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){C[e]=new E(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){C[e]=new E(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){C[e]=new E(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){C[e]=new E(e,5,!1,e.toLowerCase(),null,!1,!1)});var M=/[\-:]([a-z])/g;function T(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(M,T);C[t]=new E(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(M,T);C[t]=new E(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(M,T);C[t]=new E(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){C[e]=new E(e,1,!1,e.toLowerCase(),null,!1,!1)}),C.xlinkHref=new E("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){C[e]=new E(e,1,!1,e.toLowerCase(),null,!0,!0)});function _(e,t,o,l){var f=C.hasOwnProperty(t)?C[t]:null;(f!==null?f.type!==0:l||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(P(t,o,f,l)&&(o=null),l||f===null?w(t)&&(o===null?e.removeAttribute(t):e.setAttribute(t,""+o)):f.mustUseProperty?e[f.propertyName]=o===null?f.type===3?!1:"":o:(t=f.attributeName,l=f.attributeNamespace,o===null?e.removeAttribute(t):(f=f.type,o=f===3||f===4&&o===!0?"":""+o,l?e.setAttributeNS(l,t,o):e.setAttribute(t,o))))}var N=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,F=Symbol.for("react.element"),$=Symbol.for("react.portal"),G=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),Q=Symbol.for("react.profiler"),I=Symbol.for("react.provider"),se=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),q=Symbol.for("react.suspense_list"),ne=Symbol.for("react.memo"),me=Symbol.for("react.lazy"),le=Symbol.for("react.offscreen"),K=Symbol.iterator;function oe(e){return e===null||typeof e!="object"?null:(e=K&&e[K]||e["@@iterator"],typeof e=="function"?e:null)}var J=Object.assign,A;function W(e){if(A===void 0)try{throw Error()}catch(o){var t=o.stack.trim().match(/\n( *(at )?)/);A=t&&t[1]||""}return`
|
|
34
|
-
`+A+e}var we=!1;function ge(e,t){if(!e||we)return"";we=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(B){var l=B}Reflect.construct(e,[],t)}else{try{t.call()}catch(B){l=B}e.call(t.prototype)}else{try{throw Error()}catch(B){l=B}e()}}catch(B){if(B&&l&&typeof B.stack=="string"){for(var f=B.stack.split(`
|
|
35
|
-
`),h=l.stack.split(`
|
|
36
|
-
`),x=f.length-1,S=h.length-1;1<=x&&0<=S&&f[x]!==h[S];)S--;for(;1<=x&&0<=S;x--,S--)if(f[x]!==h[S]){if(x!==1||S!==1)do if(x--,S--,0>S||f[x]!==h[S]){var j=`
|
|
37
|
-
`+f[x].replace(" at new "," at ");return e.displayName&&j.includes("<anonymous>")&&(j=j.replace("<anonymous>",e.displayName)),j}while(1<=x&&0<=S);break}}}finally{we=!1,Error.prepareStackTrace=o}return(e=e?e.displayName||e.name:"")?W(e):""}function Te(e){switch(e.tag){case 5:return W(e.type);case 16:return W("Lazy");case 13:return W("Suspense");case 19:return W("SuspenseList");case 0:case 2:case 15:return e=ge(e.type,!1),e;case 11:return e=ge(e.type.render,!1),e;case 1:return e=ge(e.type,!0),e;default:return""}}function _e(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case G:return"Fragment";case $:return"Portal";case Q:return"Profiler";case V:return"StrictMode";case U:return"Suspense";case q:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case se:return(e.displayName||"Context")+".Consumer";case I:return(e._context.displayName||"Context")+".Provider";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ne:return t=e.displayName||null,t!==null?t:_e(e.type)||"Memo";case me:t=e._payload,e=e._init;try{return _e(e(t))}catch{}}return null}function Ce(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return _e(t);case 8:return t===V?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function be(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Re(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Ue(e){var t=Re(e)?"checked":"value",o=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),l=""+e[t];if(!e.hasOwnProperty(t)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var f=o.get,h=o.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return f.call(this)},set:function(x){l=""+x,h.call(this,x)}}),Object.defineProperty(e,t,{enumerable:o.enumerable}),{getValue:function(){return l},setValue:function(x){l=""+x},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function je(e){e._valueTracker||(e._valueTracker=Ue(e))}function $t(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var o=t.getValue(),l="";return e&&(l=Re(e)?e.checked?"true":"false":e.value),e=l,e!==o?(t.setValue(e),!0):!1}function Se(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function nt(e,t){var o=t.checked;return J({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:o??e._wrapperState.initialChecked})}function De(e,t){var o=t.defaultValue==null?"":t.defaultValue,l=t.checked!=null?t.checked:t.defaultChecked;o=be(t.value!=null?t.value:o),e._wrapperState={initialChecked:l,initialValue:o,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function ut(e,t){t=t.checked,t!=null&&_(e,"checked",t,!1)}function yr(e,t){ut(e,t);var o=be(t.value),l=t.type;if(o!=null)l==="number"?(o===0&&e.value===""||e.value!=o)&&(e.value=""+o):e.value!==""+o&&(e.value=""+o);else if(l==="submit"||l==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?zs(e,t.type,o):t.hasOwnProperty("defaultValue")&&zs(e,t.type,be(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Jt(e,t,o){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var l=t.type;if(!(l!=="submit"&&l!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,o||t===e.value||(e.value=t),e.defaultValue=t}o=e.name,o!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,o!==""&&(e.name=o)}function zs(e,t,o){(t!=="number"||Se(e.ownerDocument)!==e)&&(o==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+o&&(e.defaultValue=""+o))}var Wn=Array.isArray;function Kn(e,t,o,l){if(e=e.options,t){t={};for(var f=0;f<o.length;f++)t["$"+o[f]]=!0;for(o=0;o<e.length;o++)f=t.hasOwnProperty("$"+e[o].value),e[o].selected!==f&&(e[o].selected=f),f&&l&&(e[o].defaultSelected=!0)}else{for(o=""+be(o),t=null,f=0;f<e.length;f++){if(e[f].value===o){e[f].selected=!0,l&&(e[f].defaultSelected=!0);return}t!==null||e[f].disabled||(t=e[f])}t!==null&&(t.selected=!0)}}function Us(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(r(91));return J({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function xn(e,t){var o=t.value;if(o==null){if(o=t.children,t=t.defaultValue,o!=null){if(t!=null)throw Error(r(92));if(Wn(o)){if(1<o.length)throw Error(r(93));o=o[0]}t=o}t==null&&(t=""),o=t}e._wrapperState={initialValue:be(o)}}function vr(e,t){var o=be(t.value),l=be(t.defaultValue);o!=null&&(o=""+o,o!==e.value&&(e.value=o),t.defaultValue==null&&e.defaultValue!==o&&(e.defaultValue=o)),l!=null&&(e.defaultValue=""+l)}function Rn(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Hs(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ts(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Hs(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var xr,Bs=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,o,l,f){MSApp.execUnsafeLocalFunction(function(){return e(t,o,l,f)})}:e})(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(xr=xr||document.createElement("div"),xr.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=xr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function un(e,t){if(t){var o=e.firstChild;if(o&&o===e.lastChild&&o.nodeType===3){o.nodeValue=t;return}}e.textContent=t}var On={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},qs=["Webkit","ms","Moz","O"];Object.keys(On).forEach(function(e){qs.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),On[t]=On[e]})});function Qo(e,t,o){return t==null||typeof t=="boolean"||t===""?"":o||typeof t!="number"||t===0||On.hasOwnProperty(e)&&On[e]?(""+t).trim():t+"px"}function Wo(e,t){e=e.style;for(var o in t)if(t.hasOwnProperty(o)){var l=o.indexOf("--")===0,f=Qo(o,t[o],l);o==="float"&&(o="cssFloat"),l?e.setProperty(o,f):e[o]=f}}var da=J({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ns(e,t){if(t){if(da[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(r(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(r(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(r(61))}if(t.style!=null&&typeof t.style!="object")throw Error(r(62))}}function rs(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Mn=null;function zt(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ss=null,Xn=null,Yn=null;function Gs(e){if(e=bi(e)){if(typeof ss!="function")throw Error(r(280));var t=e.stateNode;t&&(t=Pa(t),ss(e.stateNode,e.type,t))}}function Ko(e){Xn?Yn?Yn.push(e):Yn=[e]:Xn=e}function os(){if(Xn){var e=Xn,t=Yn;if(Yn=Xn=null,Gs(e),t)for(e=0;e<t.length;e++)Gs(t[e])}}function is(e,t){return e(t)}function en(){}var Pn=!1;function Vs(e,t,o){if(Pn)return e(t,o);Pn=!0;try{return is(e,t,o)}finally{Pn=!1,(Xn!==null||Yn!==null)&&(en(),os())}}function Zn(e,t){var o=e.stateNode;if(o===null)return null;var l=Pa(o);if(l===null)return null;o=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(o&&typeof o!="function")throw Error(r(231,t,typeof o));return o}var Xo=!1;if(d)try{var wr={};Object.defineProperty(wr,"passive",{get:function(){Xo=!0}}),window.addEventListener("test",wr,wr),window.removeEventListener("test",wr,wr)}catch{Xo=!1}function Yo(e,t,o,l,f,h,x,S,j){var B=Array.prototype.slice.call(arguments,3);try{t.apply(o,B)}catch(Y){this.onError(Y)}}var br=!1,kr=null,Qs=!1,Jn=null,Ql={onError:function(e){br=!0,kr=e}};function Wl(e,t,o,l,f,h,x,S,j){br=!1,kr=null,Yo.apply(Ql,arguments)}function Xe(e,t,o,l,f,h,x,S,j){if(Wl.apply(this,arguments),br){if(br){var B=kr;br=!1,kr=null}else throw Error(r(198));Qs||(Qs=!0,Jn=B)}}function Ut(e){var t=e,o=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(o=t.return),e=t.return;while(e)}return t.tag===3?o:null}function ha(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 Zo(e){if(Ut(e)!==e)throw Error(r(188))}function Jo(e){var t=e.alternate;if(!t){if(t=Ut(e),t===null)throw Error(r(188));return t!==e?null:e}for(var o=e,l=t;;){var f=o.return;if(f===null)break;var h=f.alternate;if(h===null){if(l=f.return,l!==null){o=l;continue}break}if(f.child===h.child){for(h=f.child;h;){if(h===o)return Zo(f),e;if(h===l)return Zo(f),t;h=h.sibling}throw Error(r(188))}if(o.return!==l.return)o=f,l=h;else{for(var x=!1,S=f.child;S;){if(S===o){x=!0,o=f,l=h;break}if(S===l){x=!0,l=f,o=h;break}S=S.sibling}if(!x){for(S=h.child;S;){if(S===o){x=!0,o=h,l=f;break}if(S===l){x=!0,l=h,o=f;break}S=S.sibling}if(!x)throw Error(r(189))}}if(o.alternate!==l)throw Error(r(190))}if(o.tag!==3)throw Error(r(188));return o.stateNode.current===o?e:t}function ei(e){return e=Jo(e),e!==null?ti(e):null}function ti(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=ti(e);if(t!==null)return t;e=e.sibling}return null}var pa=n.unstable_scheduleCallback,ma=n.unstable_cancelCallback,Kl=n.unstable_shouldYield,Xl=n.unstable_requestPaint,Fe=n.unstable_now,ga=n.unstable_getCurrentPriorityLevel,wn=n.unstable_ImmediatePriority,ya=n.unstable_UserBlockingPriority,Ws=n.unstable_NormalPriority,va=n.unstable_LowPriority,ni=n.unstable_IdlePriority,er=null,Ht=null;function Ks(e){if(Ht&&typeof Ht.onCommitFiberRoot=="function")try{Ht.onCommitFiberRoot(er,e,void 0,(e.current.flags&128)===128)}catch{}}var ht=Math.clz32?Math.clz32:Yl,as=Math.log,bn=Math.LN2;function Yl(e){return e>>>=0,e===0?32:31-(as(e)/bn|0)|0}var Xs=64,ls=4194304;function Sr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Ys(e,t){var o=e.pendingLanes;if(o===0)return 0;var l=0,f=e.suspendedLanes,h=e.pingedLanes,x=o&268435455;if(x!==0){var S=x&~f;S!==0?l=Sr(S):(h&=x,h!==0&&(l=Sr(h)))}else x=o&~f,x!==0?l=Sr(x):h!==0&&(l=Sr(h));if(l===0)return 0;if(t!==0&&t!==l&&(t&f)===0&&(f=l&-l,h=t&-t,f>=h||f===16&&(h&4194240)!==0))return t;if((l&4)!==0&&(l|=o&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=l;0<t;)o=31-ht(t),f=1<<o,l|=e[o],t&=~f;return l}function xa(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Zl(e,t){for(var o=e.suspendedLanes,l=e.pingedLanes,f=e.expirationTimes,h=e.pendingLanes;0<h;){var x=31-ht(h),S=1<<x,j=f[x];j===-1?((S&o)===0||(S&l)!==0)&&(f[x]=xa(S,t)):j<=t&&(e.expiredLanes|=S),h&=~S}}function ri(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function si(){var e=Xs;return Xs<<=1,(Xs&4194240)===0&&(Xs=64),e}function _r(e){for(var t=[],o=0;31>o;o++)t.push(e);return t}function tr(e,t,o){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ht(t),e[t]=o}function re(e,t){var o=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var l=e.eventTimes;for(e=e.expirationTimes;0<o;){var f=31-ht(o),h=1<<f;t[f]=0,l[f]=-1,e[f]=-1,o&=~h}}function b(e,t){var o=e.entangledLanes|=t;for(e=e.entanglements;o;){var l=31-ht(o),f=1<<l;f&t|e[l]&t&&(e[l]|=t),o&=~f}}var D=0;function te(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var de,Ee,Oe,ot,Je,Et=!1,Nt=[],fn=null,Ye=null,Tr=null,oi=new Map,ii=new Map,Er=[],vy="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function od(e,t){switch(e){case"focusin":case"focusout":fn=null;break;case"dragenter":case"dragleave":Ye=null;break;case"mouseover":case"mouseout":Tr=null;break;case"pointerover":case"pointerout":oi.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ii.delete(t.pointerId)}}function ai(e,t,o,l,f,h){return e===null||e.nativeEvent!==h?(e={blockedOn:t,domEventName:o,eventSystemFlags:l,nativeEvent:h,targetContainers:[f]},t!==null&&(t=bi(t),t!==null&&Ee(t)),e):(e.eventSystemFlags|=l,t=e.targetContainers,f!==null&&t.indexOf(f)===-1&&t.push(f),e)}function xy(e,t,o,l,f){switch(t){case"focusin":return fn=ai(fn,e,t,o,l,f),!0;case"dragenter":return Ye=ai(Ye,e,t,o,l,f),!0;case"mouseover":return Tr=ai(Tr,e,t,o,l,f),!0;case"pointerover":var h=f.pointerId;return oi.set(h,ai(oi.get(h)||null,e,t,o,l,f)),!0;case"gotpointercapture":return h=f.pointerId,ii.set(h,ai(ii.get(h)||null,e,t,o,l,f)),!0}return!1}function id(e){var t=cs(e.target);if(t!==null){var o=Ut(t);if(o!==null){if(t=o.tag,t===13){if(t=ha(o),t!==null){e.blockedOn=t,Je(e.priority,function(){Oe(o)});return}}else if(t===3&&o.stateNode.current.memoizedState.isDehydrated){e.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}e.blockedOn=null}function wa(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var o=ec(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(o===null){o=e.nativeEvent;var l=new o.constructor(o.type,o);Mn=l,o.target.dispatchEvent(l),Mn=null}else return t=bi(o),t!==null&&Ee(t),e.blockedOn=o,!1;t.shift()}return!0}function ad(e,t,o){wa(e)&&o.delete(t)}function wy(){Et=!1,fn!==null&&wa(fn)&&(fn=null),Ye!==null&&wa(Ye)&&(Ye=null),Tr!==null&&wa(Tr)&&(Tr=null),oi.forEach(ad),ii.forEach(ad)}function li(e,t){e.blockedOn===t&&(e.blockedOn=null,Et||(Et=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,wy)))}function ci(e){function t(f){return li(f,e)}if(0<Nt.length){li(Nt[0],e);for(var o=1;o<Nt.length;o++){var l=Nt[o];l.blockedOn===e&&(l.blockedOn=null)}}for(fn!==null&&li(fn,e),Ye!==null&&li(Ye,e),Tr!==null&&li(Tr,e),oi.forEach(t),ii.forEach(t),o=0;o<Er.length;o++)l=Er[o],l.blockedOn===e&&(l.blockedOn=null);for(;0<Er.length&&(o=Er[0],o.blockedOn===null);)id(o),o.blockedOn===null&&Er.shift()}var Zs=N.ReactCurrentBatchConfig,ba=!0;function by(e,t,o,l){var f=D,h=Zs.transition;Zs.transition=null;try{D=1,Jl(e,t,o,l)}finally{D=f,Zs.transition=h}}function ky(e,t,o,l){var f=D,h=Zs.transition;Zs.transition=null;try{D=4,Jl(e,t,o,l)}finally{D=f,Zs.transition=h}}function Jl(e,t,o,l){if(ba){var f=ec(e,t,o,l);if(f===null)yc(e,t,l,ka,o),od(e,l);else if(xy(f,e,t,o,l))l.stopPropagation();else if(od(e,l),t&4&&-1<vy.indexOf(e)){for(;f!==null;){var h=bi(f);if(h!==null&&de(h),h=ec(e,t,o,l),h===null&&yc(e,t,l,ka,o),h===f)break;f=h}f!==null&&l.stopPropagation()}else yc(e,t,l,null,o)}}var ka=null;function ec(e,t,o,l){if(ka=null,e=zt(l),e=cs(e),e!==null)if(t=Ut(e),t===null)e=null;else if(o=t.tag,o===13){if(e=ha(t),e!==null)return e;e=null}else if(o===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return ka=e,null}function ld(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(ga()){case wn:return 1;case ya:return 4;case Ws:case va:return 16;case ni:return 536870912;default:return 16}default:return 16}}var Nr=null,tc=null,Sa=null;function cd(){if(Sa)return Sa;var e,t=tc,o=t.length,l,f="value"in Nr?Nr.value:Nr.textContent,h=f.length;for(e=0;e<o&&t[e]===f[e];e++);var x=o-e;for(l=1;l<=x&&t[o-l]===f[h-l];l++);return Sa=f.slice(e,1<l?1-l:void 0)}function _a(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 Ta(){return!0}function ud(){return!1}function tn(e){function t(o,l,f,h,x){this._reactName=o,this._targetInst=f,this.type=l,this.nativeEvent=h,this.target=x,this.currentTarget=null;for(var S in e)e.hasOwnProperty(S)&&(o=e[S],this[S]=o?o(h):h[S]);return this.isDefaultPrevented=(h.defaultPrevented!=null?h.defaultPrevented:h.returnValue===!1)?Ta:ud,this.isPropagationStopped=ud,this}return J(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=Ta)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=Ta)},persist:function(){},isPersistent:Ta}),t}var Js={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},nc=tn(Js),ui=J({},Js,{view:0,detail:0}),Sy=tn(ui),rc,sc,fi,Ea=J({},ui,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ic,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==fi&&(fi&&e.type==="mousemove"?(rc=e.screenX-fi.screenX,sc=e.screenY-fi.screenY):sc=rc=0,fi=e),rc)},movementY:function(e){return"movementY"in e?e.movementY:sc}}),fd=tn(Ea),_y=J({},Ea,{dataTransfer:0}),Ty=tn(_y),Ey=J({},ui,{relatedTarget:0}),oc=tn(Ey),Ny=J({},Js,{animationName:0,elapsedTime:0,pseudoElement:0}),Ay=tn(Ny),Cy=J({},Js,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),jy=tn(Cy),Ry=J({},Js,{data:0}),dd=tn(Ry),Oy={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},My={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"},Py={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ly(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Py[e])?!!t[e]:!1}function ic(){return Ly}var Dy=J({},ui,{key:function(e){if(e.key){var t=Oy[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=_a(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?My[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ic,charCode:function(e){return e.type==="keypress"?_a(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?_a(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Iy=tn(Dy),Fy=J({},Ea,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),hd=tn(Fy),$y=J({},ui,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ic}),zy=tn($y),Uy=J({},Js,{propertyName:0,elapsedTime:0,pseudoElement:0}),Hy=tn(Uy),By=J({},Ea,{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}),qy=tn(By),Gy=[9,13,27,32],ac=d&&"CompositionEvent"in window,di=null;d&&"documentMode"in document&&(di=document.documentMode);var Vy=d&&"TextEvent"in window&&!di,pd=d&&(!ac||di&&8<di&&11>=di),md=" ",gd=!1;function yd(e,t){switch(e){case"keyup":return Gy.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function vd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var eo=!1;function Qy(e,t){switch(e){case"compositionend":return vd(t);case"keypress":return t.which!==32?null:(gd=!0,md);case"textInput":return e=t.data,e===md&&gd?null:e;default:return null}}function Wy(e,t){if(eo)return e==="compositionend"||!ac&&yd(e,t)?(e=cd(),Sa=tc=Nr=null,eo=!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 pd&&t.locale!=="ko"?null:t.data;default:return null}}var Ky={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 xd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Ky[e.type]:t==="textarea"}function wd(e,t,o,l){Ko(l),t=Ra(t,"onChange"),0<t.length&&(o=new nc("onChange","change",null,o,l),e.push({event:o,listeners:t}))}var hi=null,pi=null;function Xy(e){Fd(e,0)}function Na(e){var t=oo(e);if($t(t))return e}function Yy(e,t){if(e==="change")return t}var bd=!1;if(d){var lc;if(d){var cc="oninput"in document;if(!cc){var kd=document.createElement("div");kd.setAttribute("oninput","return;"),cc=typeof kd.oninput=="function"}lc=cc}else lc=!1;bd=lc&&(!document.documentMode||9<document.documentMode)}function Sd(){hi&&(hi.detachEvent("onpropertychange",_d),pi=hi=null)}function _d(e){if(e.propertyName==="value"&&Na(pi)){var t=[];wd(t,pi,e,zt(e)),Vs(Xy,t)}}function Zy(e,t,o){e==="focusin"?(Sd(),hi=t,pi=o,hi.attachEvent("onpropertychange",_d)):e==="focusout"&&Sd()}function Jy(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Na(pi)}function e0(e,t){if(e==="click")return Na(t)}function t0(e,t){if(e==="input"||e==="change")return Na(t)}function n0(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var kn=typeof Object.is=="function"?Object.is:n0;function mi(e,t){if(kn(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var o=Object.keys(e),l=Object.keys(t);if(o.length!==l.length)return!1;for(l=0;l<o.length;l++){var f=o[l];if(!p.call(t,f)||!kn(e[f],t[f]))return!1}return!0}function Td(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ed(e,t){var o=Td(e);e=0;for(var l;o;){if(o.nodeType===3){if(l=e+o.textContent.length,e<=t&&l>=t)return{node:o,offset:t-e};e=l}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=Td(o)}}function Nd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Nd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Ad(){for(var e=window,t=Se();t instanceof e.HTMLIFrameElement;){try{var o=typeof t.contentWindow.location.href=="string"}catch{o=!1}if(o)e=t.contentWindow;else break;t=Se(e.document)}return t}function uc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function r0(e){var t=Ad(),o=e.focusedElem,l=e.selectionRange;if(t!==o&&o&&o.ownerDocument&&Nd(o.ownerDocument.documentElement,o)){if(l!==null&&uc(o)){if(t=l.start,e=l.end,e===void 0&&(e=t),"selectionStart"in o)o.selectionStart=t,o.selectionEnd=Math.min(e,o.value.length);else if(e=(t=o.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var f=o.textContent.length,h=Math.min(l.start,f);l=l.end===void 0?h:Math.min(l.end,f),!e.extend&&h>l&&(f=l,l=h,h=f),f=Ed(o,h);var x=Ed(o,l);f&&x&&(e.rangeCount!==1||e.anchorNode!==f.node||e.anchorOffset!==f.offset||e.focusNode!==x.node||e.focusOffset!==x.offset)&&(t=t.createRange(),t.setStart(f.node,f.offset),e.removeAllRanges(),h>l?(e.addRange(t),e.extend(x.node,x.offset)):(t.setEnd(x.node,x.offset),e.addRange(t)))}}for(t=[],e=o;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof o.focus=="function"&&o.focus(),o=0;o<t.length;o++)e=t[o],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var s0=d&&"documentMode"in document&&11>=document.documentMode,to=null,fc=null,gi=null,dc=!1;function Cd(e,t,o){var l=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;dc||to==null||to!==Se(l)||(l=to,"selectionStart"in l&&uc(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}),gi&&mi(gi,l)||(gi=l,l=Ra(fc,"onSelect"),0<l.length&&(t=new nc("onSelect","select",null,t,o),e.push({event:t,listeners:l}),t.target=to)))}function Aa(e,t){var o={};return o[e.toLowerCase()]=t.toLowerCase(),o["Webkit"+e]="webkit"+t,o["Moz"+e]="moz"+t,o}var no={animationend:Aa("Animation","AnimationEnd"),animationiteration:Aa("Animation","AnimationIteration"),animationstart:Aa("Animation","AnimationStart"),transitionend:Aa("Transition","TransitionEnd")},hc={},jd={};d&&(jd=document.createElement("div").style,"AnimationEvent"in window||(delete no.animationend.animation,delete no.animationiteration.animation,delete no.animationstart.animation),"TransitionEvent"in window||delete no.transitionend.transition);function Ca(e){if(hc[e])return hc[e];if(!no[e])return e;var t=no[e],o;for(o in t)if(t.hasOwnProperty(o)&&o in jd)return hc[e]=t[o];return e}var Rd=Ca("animationend"),Od=Ca("animationiteration"),Md=Ca("animationstart"),Pd=Ca("transitionend"),Ld=new Map,Dd="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Ar(e,t){Ld.set(e,t),c(t,[e])}for(var pc=0;pc<Dd.length;pc++){var mc=Dd[pc],o0=mc.toLowerCase(),i0=mc[0].toUpperCase()+mc.slice(1);Ar(o0,"on"+i0)}Ar(Rd,"onAnimationEnd"),Ar(Od,"onAnimationIteration"),Ar(Md,"onAnimationStart"),Ar("dblclick","onDoubleClick"),Ar("focusin","onFocus"),Ar("focusout","onBlur"),Ar(Pd,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var yi="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(" "),a0=new Set("cancel close invalid load scroll toggle".split(" ").concat(yi));function Id(e,t,o){var l=e.type||"unknown-event";e.currentTarget=o,Xe(l,t,void 0,e),e.currentTarget=null}function Fd(e,t){t=(t&4)!==0;for(var o=0;o<e.length;o++){var l=e[o],f=l.event;l=l.listeners;e:{var h=void 0;if(t)for(var x=l.length-1;0<=x;x--){var S=l[x],j=S.instance,B=S.currentTarget;if(S=S.listener,j!==h&&f.isPropagationStopped())break e;Id(f,S,B),h=j}else for(x=0;x<l.length;x++){if(S=l[x],j=S.instance,B=S.currentTarget,S=S.listener,j!==h&&f.isPropagationStopped())break e;Id(f,S,B),h=j}}}if(Qs)throw e=Jn,Qs=!1,Jn=null,e}function qe(e,t){var o=t[Sc];o===void 0&&(o=t[Sc]=new Set);var l=e+"__bubble";o.has(l)||($d(t,e,2,!1),o.add(l))}function gc(e,t,o){var l=0;t&&(l|=4),$d(o,e,l,t)}var ja="_reactListening"+Math.random().toString(36).slice(2);function vi(e){if(!e[ja]){e[ja]=!0,i.forEach(function(o){o!=="selectionchange"&&(a0.has(o)||gc(o,!1,e),gc(o,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ja]||(t[ja]=!0,gc("selectionchange",!1,t))}}function $d(e,t,o,l){switch(ld(t)){case 1:var f=by;break;case 4:f=ky;break;default:f=Jl}o=f.bind(null,t,o,e),f=void 0,!Xo||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(f=!0),l?f!==void 0?e.addEventListener(t,o,{capture:!0,passive:f}):e.addEventListener(t,o,!0):f!==void 0?e.addEventListener(t,o,{passive:f}):e.addEventListener(t,o,!1)}function yc(e,t,o,l,f){var h=l;if((t&1)===0&&(t&2)===0&&l!==null)e:for(;;){if(l===null)return;var x=l.tag;if(x===3||x===4){var S=l.stateNode.containerInfo;if(S===f||S.nodeType===8&&S.parentNode===f)break;if(x===4)for(x=l.return;x!==null;){var j=x.tag;if((j===3||j===4)&&(j=x.stateNode.containerInfo,j===f||j.nodeType===8&&j.parentNode===f))return;x=x.return}for(;S!==null;){if(x=cs(S),x===null)return;if(j=x.tag,j===5||j===6){l=h=x;continue e}S=S.parentNode}}l=l.return}Vs(function(){var B=h,Y=zt(o),Z=[];e:{var X=Ld.get(e);if(X!==void 0){var ae=nc,fe=e;switch(e){case"keypress":if(_a(o)===0)break e;case"keydown":case"keyup":ae=Iy;break;case"focusin":fe="focus",ae=oc;break;case"focusout":fe="blur",ae=oc;break;case"beforeblur":case"afterblur":ae=oc;break;case"click":if(o.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ae=fd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ae=Ty;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ae=zy;break;case Rd:case Od:case Md:ae=Ay;break;case Pd:ae=Hy;break;case"scroll":ae=Sy;break;case"wheel":ae=qy;break;case"copy":case"cut":case"paste":ae=jy;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ae=hd}var he=(t&4)!==0,it=!he&&e==="scroll",z=he?X!==null?X+"Capture":null:X;he=[];for(var O=B,H;O!==null;){H=O;var ee=H.stateNode;if(H.tag===5&&ee!==null&&(H=ee,z!==null&&(ee=Zn(O,z),ee!=null&&he.push(xi(O,ee,H)))),it)break;O=O.return}0<he.length&&(X=new ae(X,fe,null,o,Y),Z.push({event:X,listeners:he}))}}if((t&7)===0){e:{if(X=e==="mouseover"||e==="pointerover",ae=e==="mouseout"||e==="pointerout",X&&o!==Mn&&(fe=o.relatedTarget||o.fromElement)&&(cs(fe)||fe[nr]))break e;if((ae||X)&&(X=Y.window===Y?Y:(X=Y.ownerDocument)?X.defaultView||X.parentWindow:window,ae?(fe=o.relatedTarget||o.toElement,ae=B,fe=fe?cs(fe):null,fe!==null&&(it=Ut(fe),fe!==it||fe.tag!==5&&fe.tag!==6)&&(fe=null)):(ae=null,fe=B),ae!==fe)){if(he=fd,ee="onMouseLeave",z="onMouseEnter",O="mouse",(e==="pointerout"||e==="pointerover")&&(he=hd,ee="onPointerLeave",z="onPointerEnter",O="pointer"),it=ae==null?X:oo(ae),H=fe==null?X:oo(fe),X=new he(ee,O+"leave",ae,o,Y),X.target=it,X.relatedTarget=H,ee=null,cs(Y)===B&&(he=new he(z,O+"enter",fe,o,Y),he.target=H,he.relatedTarget=it,ee=he),it=ee,ae&&fe)t:{for(he=ae,z=fe,O=0,H=he;H;H=ro(H))O++;for(H=0,ee=z;ee;ee=ro(ee))H++;for(;0<O-H;)he=ro(he),O--;for(;0<H-O;)z=ro(z),H--;for(;O--;){if(he===z||z!==null&&he===z.alternate)break t;he=ro(he),z=ro(z)}he=null}else he=null;ae!==null&&zd(Z,X,ae,he,!1),fe!==null&&it!==null&&zd(Z,it,fe,he,!0)}}e:{if(X=B?oo(B):window,ae=X.nodeName&&X.nodeName.toLowerCase(),ae==="select"||ae==="input"&&X.type==="file")var pe=Yy;else if(xd(X))if(bd)pe=t0;else{pe=Jy;var ve=Zy}else(ae=X.nodeName)&&ae.toLowerCase()==="input"&&(X.type==="checkbox"||X.type==="radio")&&(pe=e0);if(pe&&(pe=pe(e,B))){wd(Z,pe,o,Y);break e}ve&&ve(e,X,B),e==="focusout"&&(ve=X._wrapperState)&&ve.controlled&&X.type==="number"&&zs(X,"number",X.value)}switch(ve=B?oo(B):window,e){case"focusin":(xd(ve)||ve.contentEditable==="true")&&(to=ve,fc=B,gi=null);break;case"focusout":gi=fc=to=null;break;case"mousedown":dc=!0;break;case"contextmenu":case"mouseup":case"dragend":dc=!1,Cd(Z,o,Y);break;case"selectionchange":if(s0)break;case"keydown":case"keyup":Cd(Z,o,Y)}var xe;if(ac)e:{switch(e){case"compositionstart":var ke="onCompositionStart";break e;case"compositionend":ke="onCompositionEnd";break e;case"compositionupdate":ke="onCompositionUpdate";break e}ke=void 0}else eo?yd(e,o)&&(ke="onCompositionEnd"):e==="keydown"&&o.keyCode===229&&(ke="onCompositionStart");ke&&(pd&&o.locale!=="ko"&&(eo||ke!=="onCompositionStart"?ke==="onCompositionEnd"&&eo&&(xe=cd()):(Nr=Y,tc="value"in Nr?Nr.value:Nr.textContent,eo=!0)),ve=Ra(B,ke),0<ve.length&&(ke=new dd(ke,e,null,o,Y),Z.push({event:ke,listeners:ve}),xe?ke.data=xe:(xe=vd(o),xe!==null&&(ke.data=xe)))),(xe=Vy?Qy(e,o):Wy(e,o))&&(B=Ra(B,"onBeforeInput"),0<B.length&&(Y=new dd("onBeforeInput","beforeinput",null,o,Y),Z.push({event:Y,listeners:B}),Y.data=xe))}Fd(Z,t)})}function xi(e,t,o){return{instance:e,listener:t,currentTarget:o}}function Ra(e,t){for(var o=t+"Capture",l=[];e!==null;){var f=e,h=f.stateNode;f.tag===5&&h!==null&&(f=h,h=Zn(e,o),h!=null&&l.unshift(xi(e,h,f)),h=Zn(e,t),h!=null&&l.push(xi(e,h,f))),e=e.return}return l}function ro(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function zd(e,t,o,l,f){for(var h=t._reactName,x=[];o!==null&&o!==l;){var S=o,j=S.alternate,B=S.stateNode;if(j!==null&&j===l)break;S.tag===5&&B!==null&&(S=B,f?(j=Zn(o,h),j!=null&&x.unshift(xi(o,j,S))):f||(j=Zn(o,h),j!=null&&x.push(xi(o,j,S)))),o=o.return}x.length!==0&&e.push({event:t,listeners:x})}var l0=/\r\n?/g,c0=/\u0000|\uFFFD/g;function Ud(e){return(typeof e=="string"?e:""+e).replace(l0,`
|
|
38
|
-
`).replace(c0,"")}function Oa(e,t,o){if(t=Ud(t),Ud(e)!==t&&o)throw Error(r(425))}function Ma(){}var vc=null,xc=null;function wc(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var bc=typeof setTimeout=="function"?setTimeout:void 0,u0=typeof clearTimeout=="function"?clearTimeout:void 0,Hd=typeof Promise=="function"?Promise:void 0,f0=typeof queueMicrotask=="function"?queueMicrotask:typeof Hd<"u"?function(e){return Hd.resolve(null).then(e).catch(d0)}:bc;function d0(e){setTimeout(function(){throw e})}function kc(e,t){var o=t,l=0;do{var f=o.nextSibling;if(e.removeChild(o),f&&f.nodeType===8)if(o=f.data,o==="/$"){if(l===0){e.removeChild(f),ci(t);return}l--}else o!=="$"&&o!=="$?"&&o!=="$!"||l++;o=f}while(o);ci(t)}function Cr(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Bd(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var o=e.data;if(o==="$"||o==="$!"||o==="$?"){if(t===0)return e;t--}else o==="/$"&&t++}e=e.previousSibling}return null}var so=Math.random().toString(36).slice(2),Ln="__reactFiber$"+so,wi="__reactProps$"+so,nr="__reactContainer$"+so,Sc="__reactEvents$"+so,h0="__reactListeners$"+so,p0="__reactHandles$"+so;function cs(e){var t=e[Ln];if(t)return t;for(var o=e.parentNode;o;){if(t=o[nr]||o[Ln]){if(o=t.alternate,t.child!==null||o!==null&&o.child!==null)for(e=Bd(e);e!==null;){if(o=e[Ln])return o;e=Bd(e)}return t}e=o,o=e.parentNode}return null}function bi(e){return e=e[Ln]||e[nr],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function oo(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(r(33))}function Pa(e){return e[wi]||null}var _c=[],io=-1;function jr(e){return{current:e}}function Ge(e){0>io||(e.current=_c[io],_c[io]=null,io--)}function Be(e,t){io++,_c[io]=e.current,e.current=t}var Rr={},At=jr(Rr),Bt=jr(!1),us=Rr;function ao(e,t){var o=e.type.contextTypes;if(!o)return Rr;var l=e.stateNode;if(l&&l.__reactInternalMemoizedUnmaskedChildContext===t)return l.__reactInternalMemoizedMaskedChildContext;var f={},h;for(h in o)f[h]=t[h];return l&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=f),f}function qt(e){return e=e.childContextTypes,e!=null}function La(){Ge(Bt),Ge(At)}function qd(e,t,o){if(At.current!==Rr)throw Error(r(168));Be(At,t),Be(Bt,o)}function Gd(e,t,o){var l=e.stateNode;if(t=t.childContextTypes,typeof l.getChildContext!="function")return o;l=l.getChildContext();for(var f in l)if(!(f in t))throw Error(r(108,Ce(e)||"Unknown",f));return J({},o,l)}function Da(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Rr,us=At.current,Be(At,e),Be(Bt,Bt.current),!0}function Vd(e,t,o){var l=e.stateNode;if(!l)throw Error(r(169));o?(e=Gd(e,t,us),l.__reactInternalMemoizedMergedChildContext=e,Ge(Bt),Ge(At),Be(At,e)):Ge(Bt),Be(Bt,o)}var rr=null,Ia=!1,Tc=!1;function Qd(e){rr===null?rr=[e]:rr.push(e)}function m0(e){Ia=!0,Qd(e)}function Or(){if(!Tc&&rr!==null){Tc=!0;var e=0,t=D;try{var o=rr;for(D=1;e<o.length;e++){var l=o[e];do l=l(!0);while(l!==null)}rr=null,Ia=!1}catch(f){throw rr!==null&&(rr=rr.slice(e+1)),pa(wn,Or),f}finally{D=t,Tc=!1}}return null}var lo=[],co=0,Fa=null,$a=0,dn=[],hn=0,fs=null,sr=1,or="";function ds(e,t){lo[co++]=$a,lo[co++]=Fa,Fa=e,$a=t}function Wd(e,t,o){dn[hn++]=sr,dn[hn++]=or,dn[hn++]=fs,fs=e;var l=sr;e=or;var f=32-ht(l)-1;l&=~(1<<f),o+=1;var h=32-ht(t)+f;if(30<h){var x=f-f%5;h=(l&(1<<x)-1).toString(32),l>>=x,f-=x,sr=1<<32-ht(t)+f|o<<f|l,or=h+e}else sr=1<<h|o<<f|l,or=e}function Ec(e){e.return!==null&&(ds(e,1),Wd(e,1,0))}function Nc(e){for(;e===Fa;)Fa=lo[--co],lo[co]=null,$a=lo[--co],lo[co]=null;for(;e===fs;)fs=dn[--hn],dn[hn]=null,or=dn[--hn],dn[hn]=null,sr=dn[--hn],dn[hn]=null}var nn=null,rn=null,Ze=!1,Sn=null;function Kd(e,t){var o=yn(5,null,null,0);o.elementType="DELETED",o.stateNode=t,o.return=e,t=e.deletions,t===null?(e.deletions=[o],e.flags|=16):t.push(o)}function Xd(e,t){switch(e.tag){case 5:var o=e.type;return t=t.nodeType!==1||o.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,nn=e,rn=Cr(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,nn=e,rn=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(o=fs!==null?{id:sr,overflow:or}:null,e.memoizedState={dehydrated:t,treeContext:o,retryLane:1073741824},o=yn(18,null,null,0),o.stateNode=t,o.return=e,e.child=o,nn=e,rn=null,!0):!1;default:return!1}}function Ac(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Cc(e){if(Ze){var t=rn;if(t){var o=t;if(!Xd(e,t)){if(Ac(e))throw Error(r(418));t=Cr(o.nextSibling);var l=nn;t&&Xd(e,t)?Kd(l,o):(e.flags=e.flags&-4097|2,Ze=!1,nn=e)}}else{if(Ac(e))throw Error(r(418));e.flags=e.flags&-4097|2,Ze=!1,nn=e}}}function Yd(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;nn=e}function za(e){if(e!==nn)return!1;if(!Ze)return Yd(e),Ze=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!wc(e.type,e.memoizedProps)),t&&(t=rn)){if(Ac(e))throw Zd(),Error(r(418));for(;t;)Kd(e,t),t=Cr(t.nextSibling)}if(Yd(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var o=e.data;if(o==="/$"){if(t===0){rn=Cr(e.nextSibling);break e}t--}else o!=="$"&&o!=="$!"&&o!=="$?"||t++}e=e.nextSibling}rn=null}}else rn=nn?Cr(e.stateNode.nextSibling):null;return!0}function Zd(){for(var e=rn;e;)e=Cr(e.nextSibling)}function uo(){rn=nn=null,Ze=!1}function jc(e){Sn===null?Sn=[e]:Sn.push(e)}var g0=N.ReactCurrentBatchConfig;function ki(e,t,o){if(e=o.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(o._owner){if(o=o._owner,o){if(o.tag!==1)throw Error(r(309));var l=o.stateNode}if(!l)throw Error(r(147,e));var f=l,h=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===h?t.ref:(t=function(x){var S=f.refs;x===null?delete S[h]:S[h]=x},t._stringRef=h,t)}if(typeof e!="string")throw Error(r(284));if(!o._owner)throw Error(r(290,e))}return e}function Ua(e,t){throw e=Object.prototype.toString.call(t),Error(r(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Jd(e){var t=e._init;return t(e._payload)}function eh(e){function t(z,O){if(e){var H=z.deletions;H===null?(z.deletions=[O],z.flags|=16):H.push(O)}}function o(z,O){if(!e)return null;for(;O!==null;)t(z,O),O=O.sibling;return null}function l(z,O){for(z=new Map;O!==null;)O.key!==null?z.set(O.key,O):z.set(O.index,O),O=O.sibling;return z}function f(z,O){return z=zr(z,O),z.index=0,z.sibling=null,z}function h(z,O,H){return z.index=H,e?(H=z.alternate,H!==null?(H=H.index,H<O?(z.flags|=2,O):H):(z.flags|=2,O)):(z.flags|=1048576,O)}function x(z){return e&&z.alternate===null&&(z.flags|=2),z}function S(z,O,H,ee){return O===null||O.tag!==6?(O=bu(H,z.mode,ee),O.return=z,O):(O=f(O,H),O.return=z,O)}function j(z,O,H,ee){var pe=H.type;return pe===G?Y(z,O,H.props.children,ee,H.key):O!==null&&(O.elementType===pe||typeof pe=="object"&&pe!==null&&pe.$$typeof===me&&Jd(pe)===O.type)?(ee=f(O,H.props),ee.ref=ki(z,O,H),ee.return=z,ee):(ee=fl(H.type,H.key,H.props,null,z.mode,ee),ee.ref=ki(z,O,H),ee.return=z,ee)}function B(z,O,H,ee){return O===null||O.tag!==4||O.stateNode.containerInfo!==H.containerInfo||O.stateNode.implementation!==H.implementation?(O=ku(H,z.mode,ee),O.return=z,O):(O=f(O,H.children||[]),O.return=z,O)}function Y(z,O,H,ee,pe){return O===null||O.tag!==7?(O=ws(H,z.mode,ee,pe),O.return=z,O):(O=f(O,H),O.return=z,O)}function Z(z,O,H){if(typeof O=="string"&&O!==""||typeof O=="number")return O=bu(""+O,z.mode,H),O.return=z,O;if(typeof O=="object"&&O!==null){switch(O.$$typeof){case F:return H=fl(O.type,O.key,O.props,null,z.mode,H),H.ref=ki(z,null,O),H.return=z,H;case $:return O=ku(O,z.mode,H),O.return=z,O;case me:var ee=O._init;return Z(z,ee(O._payload),H)}if(Wn(O)||oe(O))return O=ws(O,z.mode,H,null),O.return=z,O;Ua(z,O)}return null}function X(z,O,H,ee){var pe=O!==null?O.key:null;if(typeof H=="string"&&H!==""||typeof H=="number")return pe!==null?null:S(z,O,""+H,ee);if(typeof H=="object"&&H!==null){switch(H.$$typeof){case F:return H.key===pe?j(z,O,H,ee):null;case $:return H.key===pe?B(z,O,H,ee):null;case me:return pe=H._init,X(z,O,pe(H._payload),ee)}if(Wn(H)||oe(H))return pe!==null?null:Y(z,O,H,ee,null);Ua(z,H)}return null}function ae(z,O,H,ee,pe){if(typeof ee=="string"&&ee!==""||typeof ee=="number")return z=z.get(H)||null,S(O,z,""+ee,pe);if(typeof ee=="object"&&ee!==null){switch(ee.$$typeof){case F:return z=z.get(ee.key===null?H:ee.key)||null,j(O,z,ee,pe);case $:return z=z.get(ee.key===null?H:ee.key)||null,B(O,z,ee,pe);case me:var ve=ee._init;return ae(z,O,H,ve(ee._payload),pe)}if(Wn(ee)||oe(ee))return z=z.get(H)||null,Y(O,z,ee,pe,null);Ua(O,ee)}return null}function fe(z,O,H,ee){for(var pe=null,ve=null,xe=O,ke=O=0,gt=null;xe!==null&&ke<H.length;ke++){xe.index>ke?(gt=xe,xe=null):gt=xe.sibling;var Ie=X(z,xe,H[ke],ee);if(Ie===null){xe===null&&(xe=gt);break}e&&xe&&Ie.alternate===null&&t(z,xe),O=h(Ie,O,ke),ve===null?pe=Ie:ve.sibling=Ie,ve=Ie,xe=gt}if(ke===H.length)return o(z,xe),Ze&&ds(z,ke),pe;if(xe===null){for(;ke<H.length;ke++)xe=Z(z,H[ke],ee),xe!==null&&(O=h(xe,O,ke),ve===null?pe=xe:ve.sibling=xe,ve=xe);return Ze&&ds(z,ke),pe}for(xe=l(z,xe);ke<H.length;ke++)gt=ae(xe,z,ke,H[ke],ee),gt!==null&&(e&>.alternate!==null&&xe.delete(gt.key===null?ke:gt.key),O=h(gt,O,ke),ve===null?pe=gt:ve.sibling=gt,ve=gt);return e&&xe.forEach(function(Ur){return t(z,Ur)}),Ze&&ds(z,ke),pe}function he(z,O,H,ee){var pe=oe(H);if(typeof pe!="function")throw Error(r(150));if(H=pe.call(H),H==null)throw Error(r(151));for(var ve=pe=null,xe=O,ke=O=0,gt=null,Ie=H.next();xe!==null&&!Ie.done;ke++,Ie=H.next()){xe.index>ke?(gt=xe,xe=null):gt=xe.sibling;var Ur=X(z,xe,Ie.value,ee);if(Ur===null){xe===null&&(xe=gt);break}e&&xe&&Ur.alternate===null&&t(z,xe),O=h(Ur,O,ke),ve===null?pe=Ur:ve.sibling=Ur,ve=Ur,xe=gt}if(Ie.done)return o(z,xe),Ze&&ds(z,ke),pe;if(xe===null){for(;!Ie.done;ke++,Ie=H.next())Ie=Z(z,Ie.value,ee),Ie!==null&&(O=h(Ie,O,ke),ve===null?pe=Ie:ve.sibling=Ie,ve=Ie);return Ze&&ds(z,ke),pe}for(xe=l(z,xe);!Ie.done;ke++,Ie=H.next())Ie=ae(xe,z,ke,Ie.value,ee),Ie!==null&&(e&&Ie.alternate!==null&&xe.delete(Ie.key===null?ke:Ie.key),O=h(Ie,O,ke),ve===null?pe=Ie:ve.sibling=Ie,ve=Ie);return e&&xe.forEach(function(K0){return t(z,K0)}),Ze&&ds(z,ke),pe}function it(z,O,H,ee){if(typeof H=="object"&&H!==null&&H.type===G&&H.key===null&&(H=H.props.children),typeof H=="object"&&H!==null){switch(H.$$typeof){case F:e:{for(var pe=H.key,ve=O;ve!==null;){if(ve.key===pe){if(pe=H.type,pe===G){if(ve.tag===7){o(z,ve.sibling),O=f(ve,H.props.children),O.return=z,z=O;break e}}else if(ve.elementType===pe||typeof pe=="object"&&pe!==null&&pe.$$typeof===me&&Jd(pe)===ve.type){o(z,ve.sibling),O=f(ve,H.props),O.ref=ki(z,ve,H),O.return=z,z=O;break e}o(z,ve);break}else t(z,ve);ve=ve.sibling}H.type===G?(O=ws(H.props.children,z.mode,ee,H.key),O.return=z,z=O):(ee=fl(H.type,H.key,H.props,null,z.mode,ee),ee.ref=ki(z,O,H),ee.return=z,z=ee)}return x(z);case $:e:{for(ve=H.key;O!==null;){if(O.key===ve)if(O.tag===4&&O.stateNode.containerInfo===H.containerInfo&&O.stateNode.implementation===H.implementation){o(z,O.sibling),O=f(O,H.children||[]),O.return=z,z=O;break e}else{o(z,O);break}else t(z,O);O=O.sibling}O=ku(H,z.mode,ee),O.return=z,z=O}return x(z);case me:return ve=H._init,it(z,O,ve(H._payload),ee)}if(Wn(H))return fe(z,O,H,ee);if(oe(H))return he(z,O,H,ee);Ua(z,H)}return typeof H=="string"&&H!==""||typeof H=="number"?(H=""+H,O!==null&&O.tag===6?(o(z,O.sibling),O=f(O,H),O.return=z,z=O):(o(z,O),O=bu(H,z.mode,ee),O.return=z,z=O),x(z)):o(z,O)}return it}var fo=eh(!0),th=eh(!1),Ha=jr(null),Ba=null,ho=null,Rc=null;function Oc(){Rc=ho=Ba=null}function Mc(e){var t=Ha.current;Ge(Ha),e._currentValue=t}function Pc(e,t,o){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===o)break;e=e.return}}function po(e,t){Ba=e,Rc=ho=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Gt=!0),e.firstContext=null)}function pn(e){var t=e._currentValue;if(Rc!==e)if(e={context:e,memoizedValue:t,next:null},ho===null){if(Ba===null)throw Error(r(308));ho=e,Ba.dependencies={lanes:0,firstContext:e}}else ho=ho.next=e;return t}var hs=null;function Lc(e){hs===null?hs=[e]:hs.push(e)}function nh(e,t,o,l){var f=t.interleaved;return f===null?(o.next=o,Lc(t)):(o.next=f.next,f.next=o),t.interleaved=o,ir(e,l)}function ir(e,t){e.lanes|=t;var o=e.alternate;for(o!==null&&(o.lanes|=t),o=e,e=e.return;e!==null;)e.childLanes|=t,o=e.alternate,o!==null&&(o.childLanes|=t),o=e,e=e.return;return o.tag===3?o.stateNode:null}var Mr=!1;function Dc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function rh(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function ar(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Pr(e,t,o){var l=e.updateQueue;if(l===null)return null;if(l=l.shared,(Le&2)!==0){var f=l.pending;return f===null?t.next=t:(t.next=f.next,f.next=t),l.pending=t,ir(e,o)}return f=l.interleaved,f===null?(t.next=t,Lc(l)):(t.next=f.next,f.next=t),l.interleaved=t,ir(e,o)}function qa(e,t,o){if(t=t.updateQueue,t!==null&&(t=t.shared,(o&4194240)!==0)){var l=t.lanes;l&=e.pendingLanes,o|=l,t.lanes=o,b(e,o)}}function sh(e,t){var o=e.updateQueue,l=e.alternate;if(l!==null&&(l=l.updateQueue,o===l)){var f=null,h=null;if(o=o.firstBaseUpdate,o!==null){do{var x={eventTime:o.eventTime,lane:o.lane,tag:o.tag,payload:o.payload,callback:o.callback,next:null};h===null?f=h=x:h=h.next=x,o=o.next}while(o!==null);h===null?f=h=t:h=h.next=t}else f=h=t;o={baseState:l.baseState,firstBaseUpdate:f,lastBaseUpdate:h,shared:l.shared,effects:l.effects},e.updateQueue=o;return}e=o.lastBaseUpdate,e===null?o.firstBaseUpdate=t:e.next=t,o.lastBaseUpdate=t}function Ga(e,t,o,l){var f=e.updateQueue;Mr=!1;var h=f.firstBaseUpdate,x=f.lastBaseUpdate,S=f.shared.pending;if(S!==null){f.shared.pending=null;var j=S,B=j.next;j.next=null,x===null?h=B:x.next=B,x=j;var Y=e.alternate;Y!==null&&(Y=Y.updateQueue,S=Y.lastBaseUpdate,S!==x&&(S===null?Y.firstBaseUpdate=B:S.next=B,Y.lastBaseUpdate=j))}if(h!==null){var Z=f.baseState;x=0,Y=B=j=null,S=h;do{var X=S.lane,ae=S.eventTime;if((l&X)===X){Y!==null&&(Y=Y.next={eventTime:ae,lane:0,tag:S.tag,payload:S.payload,callback:S.callback,next:null});e:{var fe=e,he=S;switch(X=t,ae=o,he.tag){case 1:if(fe=he.payload,typeof fe=="function"){Z=fe.call(ae,Z,X);break e}Z=fe;break e;case 3:fe.flags=fe.flags&-65537|128;case 0:if(fe=he.payload,X=typeof fe=="function"?fe.call(ae,Z,X):fe,X==null)break e;Z=J({},Z,X);break e;case 2:Mr=!0}}S.callback!==null&&S.lane!==0&&(e.flags|=64,X=f.effects,X===null?f.effects=[S]:X.push(S))}else ae={eventTime:ae,lane:X,tag:S.tag,payload:S.payload,callback:S.callback,next:null},Y===null?(B=Y=ae,j=Z):Y=Y.next=ae,x|=X;if(S=S.next,S===null){if(S=f.shared.pending,S===null)break;X=S,S=X.next,X.next=null,f.lastBaseUpdate=X,f.shared.pending=null}}while(!0);if(Y===null&&(j=Z),f.baseState=j,f.firstBaseUpdate=B,f.lastBaseUpdate=Y,t=f.shared.interleaved,t!==null){f=t;do x|=f.lane,f=f.next;while(f!==t)}else h===null&&(f.shared.lanes=0);gs|=x,e.lanes=x,e.memoizedState=Z}}function oh(e,t,o){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var l=e[t],f=l.callback;if(f!==null){if(l.callback=null,l=o,typeof f!="function")throw Error(r(191,f));f.call(l)}}}var Si={},Dn=jr(Si),_i=jr(Si),Ti=jr(Si);function ps(e){if(e===Si)throw Error(r(174));return e}function Ic(e,t){switch(Be(Ti,t),Be(_i,e),Be(Dn,Si),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ts(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=ts(t,e)}Ge(Dn),Be(Dn,t)}function mo(){Ge(Dn),Ge(_i),Ge(Ti)}function ih(e){ps(Ti.current);var t=ps(Dn.current),o=ts(t,e.type);t!==o&&(Be(_i,e),Be(Dn,o))}function Fc(e){_i.current===e&&(Ge(Dn),Ge(_i))}var et=jr(0);function Va(e){for(var t=e;t!==null;){if(t.tag===13){var o=t.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||o.data==="$?"||o.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){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 $c=[];function zc(){for(var e=0;e<$c.length;e++)$c[e]._workInProgressVersionPrimary=null;$c.length=0}var Qa=N.ReactCurrentDispatcher,Uc=N.ReactCurrentBatchConfig,ms=0,tt=null,ft=null,pt=null,Wa=!1,Ei=!1,Ni=0,y0=0;function Ct(){throw Error(r(321))}function Hc(e,t){if(t===null)return!1;for(var o=0;o<t.length&&o<e.length;o++)if(!kn(e[o],t[o]))return!1;return!0}function Bc(e,t,o,l,f,h){if(ms=h,tt=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Qa.current=e===null||e.memoizedState===null?b0:k0,e=o(l,f),Ei){h=0;do{if(Ei=!1,Ni=0,25<=h)throw Error(r(301));h+=1,pt=ft=null,t.updateQueue=null,Qa.current=S0,e=o(l,f)}while(Ei)}if(Qa.current=Ya,t=ft!==null&&ft.next!==null,ms=0,pt=ft=tt=null,Wa=!1,t)throw Error(r(300));return e}function qc(){var e=Ni!==0;return Ni=0,e}function In(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return pt===null?tt.memoizedState=pt=e:pt=pt.next=e,pt}function mn(){if(ft===null){var e=tt.alternate;e=e!==null?e.memoizedState:null}else e=ft.next;var t=pt===null?tt.memoizedState:pt.next;if(t!==null)pt=t,ft=e;else{if(e===null)throw Error(r(310));ft=e,e={memoizedState:ft.memoizedState,baseState:ft.baseState,baseQueue:ft.baseQueue,queue:ft.queue,next:null},pt===null?tt.memoizedState=pt=e:pt=pt.next=e}return pt}function Ai(e,t){return typeof t=="function"?t(e):t}function Gc(e){var t=mn(),o=t.queue;if(o===null)throw Error(r(311));o.lastRenderedReducer=e;var l=ft,f=l.baseQueue,h=o.pending;if(h!==null){if(f!==null){var x=f.next;f.next=h.next,h.next=x}l.baseQueue=f=h,o.pending=null}if(f!==null){h=f.next,l=l.baseState;var S=x=null,j=null,B=h;do{var Y=B.lane;if((ms&Y)===Y)j!==null&&(j=j.next={lane:0,action:B.action,hasEagerState:B.hasEagerState,eagerState:B.eagerState,next:null}),l=B.hasEagerState?B.eagerState:e(l,B.action);else{var Z={lane:Y,action:B.action,hasEagerState:B.hasEagerState,eagerState:B.eagerState,next:null};j===null?(S=j=Z,x=l):j=j.next=Z,tt.lanes|=Y,gs|=Y}B=B.next}while(B!==null&&B!==h);j===null?x=l:j.next=S,kn(l,t.memoizedState)||(Gt=!0),t.memoizedState=l,t.baseState=x,t.baseQueue=j,o.lastRenderedState=l}if(e=o.interleaved,e!==null){f=e;do h=f.lane,tt.lanes|=h,gs|=h,f=f.next;while(f!==e)}else f===null&&(o.lanes=0);return[t.memoizedState,o.dispatch]}function Vc(e){var t=mn(),o=t.queue;if(o===null)throw Error(r(311));o.lastRenderedReducer=e;var l=o.dispatch,f=o.pending,h=t.memoizedState;if(f!==null){o.pending=null;var x=f=f.next;do h=e(h,x.action),x=x.next;while(x!==f);kn(h,t.memoizedState)||(Gt=!0),t.memoizedState=h,t.baseQueue===null&&(t.baseState=h),o.lastRenderedState=h}return[h,l]}function ah(){}function lh(e,t){var o=tt,l=mn(),f=t(),h=!kn(l.memoizedState,f);if(h&&(l.memoizedState=f,Gt=!0),l=l.queue,Qc(fh.bind(null,o,l,e),[e]),l.getSnapshot!==t||h||pt!==null&&pt.memoizedState.tag&1){if(o.flags|=2048,Ci(9,uh.bind(null,o,l,f,t),void 0,null),mt===null)throw Error(r(349));(ms&30)!==0||ch(o,t,f)}return f}function ch(e,t,o){e.flags|=16384,e={getSnapshot:t,value:o},t=tt.updateQueue,t===null?(t={lastEffect:null,stores:null},tt.updateQueue=t,t.stores=[e]):(o=t.stores,o===null?t.stores=[e]:o.push(e))}function uh(e,t,o,l){t.value=o,t.getSnapshot=l,dh(t)&&hh(e)}function fh(e,t,o){return o(function(){dh(t)&&hh(e)})}function dh(e){var t=e.getSnapshot;e=e.value;try{var o=t();return!kn(e,o)}catch{return!0}}function hh(e){var t=ir(e,1);t!==null&&Nn(t,e,1,-1)}function ph(e){var t=In();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ai,lastRenderedState:e},t.queue=e,e=e.dispatch=w0.bind(null,tt,e),[t.memoizedState,e]}function Ci(e,t,o,l){return e={tag:e,create:t,destroy:o,deps:l,next:null},t=tt.updateQueue,t===null?(t={lastEffect:null,stores:null},tt.updateQueue=t,t.lastEffect=e.next=e):(o=t.lastEffect,o===null?t.lastEffect=e.next=e:(l=o.next,o.next=e,e.next=l,t.lastEffect=e)),e}function mh(){return mn().memoizedState}function Ka(e,t,o,l){var f=In();tt.flags|=e,f.memoizedState=Ci(1|t,o,void 0,l===void 0?null:l)}function Xa(e,t,o,l){var f=mn();l=l===void 0?null:l;var h=void 0;if(ft!==null){var x=ft.memoizedState;if(h=x.destroy,l!==null&&Hc(l,x.deps)){f.memoizedState=Ci(t,o,h,l);return}}tt.flags|=e,f.memoizedState=Ci(1|t,o,h,l)}function gh(e,t){return Ka(8390656,8,e,t)}function Qc(e,t){return Xa(2048,8,e,t)}function yh(e,t){return Xa(4,2,e,t)}function vh(e,t){return Xa(4,4,e,t)}function xh(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function wh(e,t,o){return o=o!=null?o.concat([e]):null,Xa(4,4,xh.bind(null,t,e),o)}function Wc(){}function bh(e,t){var o=mn();t=t===void 0?null:t;var l=o.memoizedState;return l!==null&&t!==null&&Hc(t,l[1])?l[0]:(o.memoizedState=[e,t],e)}function kh(e,t){var o=mn();t=t===void 0?null:t;var l=o.memoizedState;return l!==null&&t!==null&&Hc(t,l[1])?l[0]:(e=e(),o.memoizedState=[e,t],e)}function Sh(e,t,o){return(ms&21)===0?(e.baseState&&(e.baseState=!1,Gt=!0),e.memoizedState=o):(kn(o,t)||(o=si(),tt.lanes|=o,gs|=o,e.baseState=!0),t)}function v0(e,t){var o=D;D=o!==0&&4>o?o:4,e(!0);var l=Uc.transition;Uc.transition={};try{e(!1),t()}finally{D=o,Uc.transition=l}}function _h(){return mn().memoizedState}function x0(e,t,o){var l=Fr(e);if(o={lane:l,action:o,hasEagerState:!1,eagerState:null,next:null},Th(e))Eh(t,o);else if(o=nh(e,t,o,l),o!==null){var f=Lt();Nn(o,e,l,f),Nh(o,t,l)}}function w0(e,t,o){var l=Fr(e),f={lane:l,action:o,hasEagerState:!1,eagerState:null,next:null};if(Th(e))Eh(t,f);else{var h=e.alternate;if(e.lanes===0&&(h===null||h.lanes===0)&&(h=t.lastRenderedReducer,h!==null))try{var x=t.lastRenderedState,S=h(x,o);if(f.hasEagerState=!0,f.eagerState=S,kn(S,x)){var j=t.interleaved;j===null?(f.next=f,Lc(t)):(f.next=j.next,j.next=f),t.interleaved=f;return}}catch{}finally{}o=nh(e,t,f,l),o!==null&&(f=Lt(),Nn(o,e,l,f),Nh(o,t,l))}}function Th(e){var t=e.alternate;return e===tt||t!==null&&t===tt}function Eh(e,t){Ei=Wa=!0;var o=e.pending;o===null?t.next=t:(t.next=o.next,o.next=t),e.pending=t}function Nh(e,t,o){if((o&4194240)!==0){var l=t.lanes;l&=e.pendingLanes,o|=l,t.lanes=o,b(e,o)}}var Ya={readContext:pn,useCallback:Ct,useContext:Ct,useEffect:Ct,useImperativeHandle:Ct,useInsertionEffect:Ct,useLayoutEffect:Ct,useMemo:Ct,useReducer:Ct,useRef:Ct,useState:Ct,useDebugValue:Ct,useDeferredValue:Ct,useTransition:Ct,useMutableSource:Ct,useSyncExternalStore:Ct,useId:Ct,unstable_isNewReconciler:!1},b0={readContext:pn,useCallback:function(e,t){return In().memoizedState=[e,t===void 0?null:t],e},useContext:pn,useEffect:gh,useImperativeHandle:function(e,t,o){return o=o!=null?o.concat([e]):null,Ka(4194308,4,xh.bind(null,t,e),o)},useLayoutEffect:function(e,t){return Ka(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ka(4,2,e,t)},useMemo:function(e,t){var o=In();return t=t===void 0?null:t,e=e(),o.memoizedState=[e,t],e},useReducer:function(e,t,o){var l=In();return t=o!==void 0?o(t):t,l.memoizedState=l.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},l.queue=e,e=e.dispatch=x0.bind(null,tt,e),[l.memoizedState,e]},useRef:function(e){var t=In();return e={current:e},t.memoizedState=e},useState:ph,useDebugValue:Wc,useDeferredValue:function(e){return In().memoizedState=e},useTransition:function(){var e=ph(!1),t=e[0];return e=v0.bind(null,e[1]),In().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,o){var l=tt,f=In();if(Ze){if(o===void 0)throw Error(r(407));o=o()}else{if(o=t(),mt===null)throw Error(r(349));(ms&30)!==0||ch(l,t,o)}f.memoizedState=o;var h={value:o,getSnapshot:t};return f.queue=h,gh(fh.bind(null,l,h,e),[e]),l.flags|=2048,Ci(9,uh.bind(null,l,h,o,t),void 0,null),o},useId:function(){var e=In(),t=mt.identifierPrefix;if(Ze){var o=or,l=sr;o=(l&~(1<<32-ht(l)-1)).toString(32)+o,t=":"+t+"R"+o,o=Ni++,0<o&&(t+="H"+o.toString(32)),t+=":"}else o=y0++,t=":"+t+"r"+o.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},k0={readContext:pn,useCallback:bh,useContext:pn,useEffect:Qc,useImperativeHandle:wh,useInsertionEffect:yh,useLayoutEffect:vh,useMemo:kh,useReducer:Gc,useRef:mh,useState:function(){return Gc(Ai)},useDebugValue:Wc,useDeferredValue:function(e){var t=mn();return Sh(t,ft.memoizedState,e)},useTransition:function(){var e=Gc(Ai)[0],t=mn().memoizedState;return[e,t]},useMutableSource:ah,useSyncExternalStore:lh,useId:_h,unstable_isNewReconciler:!1},S0={readContext:pn,useCallback:bh,useContext:pn,useEffect:Qc,useImperativeHandle:wh,useInsertionEffect:yh,useLayoutEffect:vh,useMemo:kh,useReducer:Vc,useRef:mh,useState:function(){return Vc(Ai)},useDebugValue:Wc,useDeferredValue:function(e){var t=mn();return ft===null?t.memoizedState=e:Sh(t,ft.memoizedState,e)},useTransition:function(){var e=Vc(Ai)[0],t=mn().memoizedState;return[e,t]},useMutableSource:ah,useSyncExternalStore:lh,useId:_h,unstable_isNewReconciler:!1};function _n(e,t){if(e&&e.defaultProps){t=J({},t),e=e.defaultProps;for(var o in e)t[o]===void 0&&(t[o]=e[o]);return t}return t}function Kc(e,t,o,l){t=e.memoizedState,o=o(l,t),o=o==null?t:J({},t,o),e.memoizedState=o,e.lanes===0&&(e.updateQueue.baseState=o)}var Za={isMounted:function(e){return(e=e._reactInternals)?Ut(e)===e:!1},enqueueSetState:function(e,t,o){e=e._reactInternals;var l=Lt(),f=Fr(e),h=ar(l,f);h.payload=t,o!=null&&(h.callback=o),t=Pr(e,h,f),t!==null&&(Nn(t,e,f,l),qa(t,e,f))},enqueueReplaceState:function(e,t,o){e=e._reactInternals;var l=Lt(),f=Fr(e),h=ar(l,f);h.tag=1,h.payload=t,o!=null&&(h.callback=o),t=Pr(e,h,f),t!==null&&(Nn(t,e,f,l),qa(t,e,f))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var o=Lt(),l=Fr(e),f=ar(o,l);f.tag=2,t!=null&&(f.callback=t),t=Pr(e,f,l),t!==null&&(Nn(t,e,l,o),qa(t,e,l))}};function Ah(e,t,o,l,f,h,x){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(l,h,x):t.prototype&&t.prototype.isPureReactComponent?!mi(o,l)||!mi(f,h):!0}function Ch(e,t,o){var l=!1,f=Rr,h=t.contextType;return typeof h=="object"&&h!==null?h=pn(h):(f=qt(t)?us:At.current,l=t.contextTypes,h=(l=l!=null)?ao(e,f):Rr),t=new t(o,h),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Za,e.stateNode=t,t._reactInternals=e,l&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=f,e.__reactInternalMemoizedMaskedChildContext=h),t}function jh(e,t,o,l){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(o,l),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(o,l),t.state!==e&&Za.enqueueReplaceState(t,t.state,null)}function Xc(e,t,o,l){var f=e.stateNode;f.props=o,f.state=e.memoizedState,f.refs={},Dc(e);var h=t.contextType;typeof h=="object"&&h!==null?f.context=pn(h):(h=qt(t)?us:At.current,f.context=ao(e,h)),f.state=e.memoizedState,h=t.getDerivedStateFromProps,typeof h=="function"&&(Kc(e,t,h,o),f.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(t=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),t!==f.state&&Za.enqueueReplaceState(f,f.state,null),Ga(e,o,f,l),f.state=e.memoizedState),typeof f.componentDidMount=="function"&&(e.flags|=4194308)}function go(e,t){try{var o="",l=t;do o+=Te(l),l=l.return;while(l);var f=o}catch(h){f=`
|
|
39
|
-
Error generating stack: `+h.message+`
|
|
40
|
-
`+h.stack}return{value:e,source:t,stack:f,digest:null}}function Yc(e,t,o){return{value:e,source:null,stack:o??null,digest:t??null}}function Zc(e,t){try{console.error(t.value)}catch(o){setTimeout(function(){throw o})}}var _0=typeof WeakMap=="function"?WeakMap:Map;function Rh(e,t,o){o=ar(-1,o),o.tag=3,o.payload={element:null};var l=t.value;return o.callback=function(){ol||(ol=!0,hu=l),Zc(e,t)},o}function Oh(e,t,o){o=ar(-1,o),o.tag=3;var l=e.type.getDerivedStateFromError;if(typeof l=="function"){var f=t.value;o.payload=function(){return l(f)},o.callback=function(){Zc(e,t)}}var h=e.stateNode;return h!==null&&typeof h.componentDidCatch=="function"&&(o.callback=function(){Zc(e,t),typeof l!="function"&&(Dr===null?Dr=new Set([this]):Dr.add(this));var x=t.stack;this.componentDidCatch(t.value,{componentStack:x!==null?x:""})}),o}function Mh(e,t,o){var l=e.pingCache;if(l===null){l=e.pingCache=new _0;var f=new Set;l.set(t,f)}else f=l.get(t),f===void 0&&(f=new Set,l.set(t,f));f.has(o)||(f.add(o),e=F0.bind(null,e,t,o),t.then(e,e))}function Ph(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Lh(e,t,o,l,f){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,o.flags|=131072,o.flags&=-52805,o.tag===1&&(o.alternate===null?o.tag=17:(t=ar(-1,1),t.tag=2,Pr(o,t,1))),o.lanes|=1),e):(e.flags|=65536,e.lanes=f,e)}var T0=N.ReactCurrentOwner,Gt=!1;function Pt(e,t,o,l){t.child=e===null?th(t,null,o,l):fo(t,e.child,o,l)}function Dh(e,t,o,l,f){o=o.render;var h=t.ref;return po(t,f),l=Bc(e,t,o,l,h,f),o=qc(),e!==null&&!Gt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~f,lr(e,t,f)):(Ze&&o&&Ec(t),t.flags|=1,Pt(e,t,l,f),t.child)}function Ih(e,t,o,l,f){if(e===null){var h=o.type;return typeof h=="function"&&!wu(h)&&h.defaultProps===void 0&&o.compare===null&&o.defaultProps===void 0?(t.tag=15,t.type=h,Fh(e,t,h,l,f)):(e=fl(o.type,null,l,t,t.mode,f),e.ref=t.ref,e.return=t,t.child=e)}if(h=e.child,(e.lanes&f)===0){var x=h.memoizedProps;if(o=o.compare,o=o!==null?o:mi,o(x,l)&&e.ref===t.ref)return lr(e,t,f)}return t.flags|=1,e=zr(h,l),e.ref=t.ref,e.return=t,t.child=e}function Fh(e,t,o,l,f){if(e!==null){var h=e.memoizedProps;if(mi(h,l)&&e.ref===t.ref)if(Gt=!1,t.pendingProps=l=h,(e.lanes&f)!==0)(e.flags&131072)!==0&&(Gt=!0);else return t.lanes=e.lanes,lr(e,t,f)}return Jc(e,t,o,l,f)}function $h(e,t,o){var l=t.pendingProps,f=l.children,h=e!==null?e.memoizedState:null;if(l.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Be(vo,sn),sn|=o;else{if((o&1073741824)===0)return e=h!==null?h.baseLanes|o:o,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Be(vo,sn),sn|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},l=h!==null?h.baseLanes:o,Be(vo,sn),sn|=l}else h!==null?(l=h.baseLanes|o,t.memoizedState=null):l=o,Be(vo,sn),sn|=l;return Pt(e,t,f,o),t.child}function zh(e,t){var o=t.ref;(e===null&&o!==null||e!==null&&e.ref!==o)&&(t.flags|=512,t.flags|=2097152)}function Jc(e,t,o,l,f){var h=qt(o)?us:At.current;return h=ao(t,h),po(t,f),o=Bc(e,t,o,l,h,f),l=qc(),e!==null&&!Gt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~f,lr(e,t,f)):(Ze&&l&&Ec(t),t.flags|=1,Pt(e,t,o,f),t.child)}function Uh(e,t,o,l,f){if(qt(o)){var h=!0;Da(t)}else h=!1;if(po(t,f),t.stateNode===null)el(e,t),Ch(t,o,l),Xc(t,o,l,f),l=!0;else if(e===null){var x=t.stateNode,S=t.memoizedProps;x.props=S;var j=x.context,B=o.contextType;typeof B=="object"&&B!==null?B=pn(B):(B=qt(o)?us:At.current,B=ao(t,B));var Y=o.getDerivedStateFromProps,Z=typeof Y=="function"||typeof x.getSnapshotBeforeUpdate=="function";Z||typeof x.UNSAFE_componentWillReceiveProps!="function"&&typeof x.componentWillReceiveProps!="function"||(S!==l||j!==B)&&jh(t,x,l,B),Mr=!1;var X=t.memoizedState;x.state=X,Ga(t,l,x,f),j=t.memoizedState,S!==l||X!==j||Bt.current||Mr?(typeof Y=="function"&&(Kc(t,o,Y,l),j=t.memoizedState),(S=Mr||Ah(t,o,S,l,X,j,B))?(Z||typeof x.UNSAFE_componentWillMount!="function"&&typeof x.componentWillMount!="function"||(typeof x.componentWillMount=="function"&&x.componentWillMount(),typeof x.UNSAFE_componentWillMount=="function"&&x.UNSAFE_componentWillMount()),typeof x.componentDidMount=="function"&&(t.flags|=4194308)):(typeof x.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=l,t.memoizedState=j),x.props=l,x.state=j,x.context=B,l=S):(typeof x.componentDidMount=="function"&&(t.flags|=4194308),l=!1)}else{x=t.stateNode,rh(e,t),S=t.memoizedProps,B=t.type===t.elementType?S:_n(t.type,S),x.props=B,Z=t.pendingProps,X=x.context,j=o.contextType,typeof j=="object"&&j!==null?j=pn(j):(j=qt(o)?us:At.current,j=ao(t,j));var ae=o.getDerivedStateFromProps;(Y=typeof ae=="function"||typeof x.getSnapshotBeforeUpdate=="function")||typeof x.UNSAFE_componentWillReceiveProps!="function"&&typeof x.componentWillReceiveProps!="function"||(S!==Z||X!==j)&&jh(t,x,l,j),Mr=!1,X=t.memoizedState,x.state=X,Ga(t,l,x,f);var fe=t.memoizedState;S!==Z||X!==fe||Bt.current||Mr?(typeof ae=="function"&&(Kc(t,o,ae,l),fe=t.memoizedState),(B=Mr||Ah(t,o,B,l,X,fe,j)||!1)?(Y||typeof x.UNSAFE_componentWillUpdate!="function"&&typeof x.componentWillUpdate!="function"||(typeof x.componentWillUpdate=="function"&&x.componentWillUpdate(l,fe,j),typeof x.UNSAFE_componentWillUpdate=="function"&&x.UNSAFE_componentWillUpdate(l,fe,j)),typeof x.componentDidUpdate=="function"&&(t.flags|=4),typeof x.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof x.componentDidUpdate!="function"||S===e.memoizedProps&&X===e.memoizedState||(t.flags|=4),typeof x.getSnapshotBeforeUpdate!="function"||S===e.memoizedProps&&X===e.memoizedState||(t.flags|=1024),t.memoizedProps=l,t.memoizedState=fe),x.props=l,x.state=fe,x.context=j,l=B):(typeof x.componentDidUpdate!="function"||S===e.memoizedProps&&X===e.memoizedState||(t.flags|=4),typeof x.getSnapshotBeforeUpdate!="function"||S===e.memoizedProps&&X===e.memoizedState||(t.flags|=1024),l=!1)}return eu(e,t,o,l,h,f)}function eu(e,t,o,l,f,h){zh(e,t);var x=(t.flags&128)!==0;if(!l&&!x)return f&&Vd(t,o,!1),lr(e,t,h);l=t.stateNode,T0.current=t;var S=x&&typeof o.getDerivedStateFromError!="function"?null:l.render();return t.flags|=1,e!==null&&x?(t.child=fo(t,e.child,null,h),t.child=fo(t,null,S,h)):Pt(e,t,S,h),t.memoizedState=l.state,f&&Vd(t,o,!0),t.child}function Hh(e){var t=e.stateNode;t.pendingContext?qd(e,t.pendingContext,t.pendingContext!==t.context):t.context&&qd(e,t.context,!1),Ic(e,t.containerInfo)}function Bh(e,t,o,l,f){return uo(),jc(f),t.flags|=256,Pt(e,t,o,l),t.child}var tu={dehydrated:null,treeContext:null,retryLane:0};function nu(e){return{baseLanes:e,cachePool:null,transitions:null}}function qh(e,t,o){var l=t.pendingProps,f=et.current,h=!1,x=(t.flags&128)!==0,S;if((S=x)||(S=e!==null&&e.memoizedState===null?!1:(f&2)!==0),S?(h=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(f|=1),Be(et,f&1),e===null)return Cc(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(x=l.children,e=l.fallback,h?(l=t.mode,h=t.child,x={mode:"hidden",children:x},(l&1)===0&&h!==null?(h.childLanes=0,h.pendingProps=x):h=dl(x,l,0,null),e=ws(e,l,o,null),h.return=t,e.return=t,h.sibling=e,t.child=h,t.child.memoizedState=nu(o),t.memoizedState=tu,e):ru(t,x));if(f=e.memoizedState,f!==null&&(S=f.dehydrated,S!==null))return E0(e,t,x,l,S,f,o);if(h){h=l.fallback,x=t.mode,f=e.child,S=f.sibling;var j={mode:"hidden",children:l.children};return(x&1)===0&&t.child!==f?(l=t.child,l.childLanes=0,l.pendingProps=j,t.deletions=null):(l=zr(f,j),l.subtreeFlags=f.subtreeFlags&14680064),S!==null?h=zr(S,h):(h=ws(h,x,o,null),h.flags|=2),h.return=t,l.return=t,l.sibling=h,t.child=l,l=h,h=t.child,x=e.child.memoizedState,x=x===null?nu(o):{baseLanes:x.baseLanes|o,cachePool:null,transitions:x.transitions},h.memoizedState=x,h.childLanes=e.childLanes&~o,t.memoizedState=tu,l}return h=e.child,e=h.sibling,l=zr(h,{mode:"visible",children:l.children}),(t.mode&1)===0&&(l.lanes=o),l.return=t,l.sibling=null,e!==null&&(o=t.deletions,o===null?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=l,t.memoizedState=null,l}function ru(e,t){return t=dl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Ja(e,t,o,l){return l!==null&&jc(l),fo(t,e.child,null,o),e=ru(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function E0(e,t,o,l,f,h,x){if(o)return t.flags&256?(t.flags&=-257,l=Yc(Error(r(422))),Ja(e,t,x,l)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(h=l.fallback,f=t.mode,l=dl({mode:"visible",children:l.children},f,0,null),h=ws(h,f,x,null),h.flags|=2,l.return=t,h.return=t,l.sibling=h,t.child=l,(t.mode&1)!==0&&fo(t,e.child,null,x),t.child.memoizedState=nu(x),t.memoizedState=tu,h);if((t.mode&1)===0)return Ja(e,t,x,null);if(f.data==="$!"){if(l=f.nextSibling&&f.nextSibling.dataset,l)var S=l.dgst;return l=S,h=Error(r(419)),l=Yc(h,l,void 0),Ja(e,t,x,l)}if(S=(x&e.childLanes)!==0,Gt||S){if(l=mt,l!==null){switch(x&-x){case 4:f=2;break;case 16:f=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:f=32;break;case 536870912:f=268435456;break;default:f=0}f=(f&(l.suspendedLanes|x))!==0?0:f,f!==0&&f!==h.retryLane&&(h.retryLane=f,ir(e,f),Nn(l,e,f,-1))}return xu(),l=Yc(Error(r(421))),Ja(e,t,x,l)}return f.data==="$?"?(t.flags|=128,t.child=e.child,t=$0.bind(null,e),f._reactRetry=t,null):(e=h.treeContext,rn=Cr(f.nextSibling),nn=t,Ze=!0,Sn=null,e!==null&&(dn[hn++]=sr,dn[hn++]=or,dn[hn++]=fs,sr=e.id,or=e.overflow,fs=t),t=ru(t,l.children),t.flags|=4096,t)}function Gh(e,t,o){e.lanes|=t;var l=e.alternate;l!==null&&(l.lanes|=t),Pc(e.return,t,o)}function su(e,t,o,l,f){var h=e.memoizedState;h===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:l,tail:o,tailMode:f}:(h.isBackwards=t,h.rendering=null,h.renderingStartTime=0,h.last=l,h.tail=o,h.tailMode=f)}function Vh(e,t,o){var l=t.pendingProps,f=l.revealOrder,h=l.tail;if(Pt(e,t,l.children,o),l=et.current,(l&2)!==0)l=l&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Gh(e,o,t);else if(e.tag===19)Gh(e,o,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}l&=1}if(Be(et,l),(t.mode&1)===0)t.memoizedState=null;else switch(f){case"forwards":for(o=t.child,f=null;o!==null;)e=o.alternate,e!==null&&Va(e)===null&&(f=o),o=o.sibling;o=f,o===null?(f=t.child,t.child=null):(f=o.sibling,o.sibling=null),su(t,!1,f,o,h);break;case"backwards":for(o=null,f=t.child,t.child=null;f!==null;){if(e=f.alternate,e!==null&&Va(e)===null){t.child=f;break}e=f.sibling,f.sibling=o,o=f,f=e}su(t,!0,o,null,h);break;case"together":su(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function el(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function lr(e,t,o){if(e!==null&&(t.dependencies=e.dependencies),gs|=t.lanes,(o&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(r(153));if(t.child!==null){for(e=t.child,o=zr(e,e.pendingProps),t.child=o,o.return=t;e.sibling!==null;)e=e.sibling,o=o.sibling=zr(e,e.pendingProps),o.return=t;o.sibling=null}return t.child}function N0(e,t,o){switch(t.tag){case 3:Hh(t),uo();break;case 5:ih(t);break;case 1:qt(t.type)&&Da(t);break;case 4:Ic(t,t.stateNode.containerInfo);break;case 10:var l=t.type._context,f=t.memoizedProps.value;Be(Ha,l._currentValue),l._currentValue=f;break;case 13:if(l=t.memoizedState,l!==null)return l.dehydrated!==null?(Be(et,et.current&1),t.flags|=128,null):(o&t.child.childLanes)!==0?qh(e,t,o):(Be(et,et.current&1),e=lr(e,t,o),e!==null?e.sibling:null);Be(et,et.current&1);break;case 19:if(l=(o&t.childLanes)!==0,(e.flags&128)!==0){if(l)return Vh(e,t,o);t.flags|=128}if(f=t.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),Be(et,et.current),l)break;return null;case 22:case 23:return t.lanes=0,$h(e,t,o)}return lr(e,t,o)}var Qh,ou,Wh,Kh;Qh=function(e,t){for(var o=t.child;o!==null;){if(o.tag===5||o.tag===6)e.appendChild(o.stateNode);else if(o.tag!==4&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===t)break;for(;o.sibling===null;){if(o.return===null||o.return===t)return;o=o.return}o.sibling.return=o.return,o=o.sibling}},ou=function(){},Wh=function(e,t,o,l){var f=e.memoizedProps;if(f!==l){e=t.stateNode,ps(Dn.current);var h=null;switch(o){case"input":f=nt(e,f),l=nt(e,l),h=[];break;case"select":f=J({},f,{value:void 0}),l=J({},l,{value:void 0}),h=[];break;case"textarea":f=Us(e,f),l=Us(e,l),h=[];break;default:typeof f.onClick!="function"&&typeof l.onClick=="function"&&(e.onclick=Ma)}ns(o,l);var x;o=null;for(B in f)if(!l.hasOwnProperty(B)&&f.hasOwnProperty(B)&&f[B]!=null)if(B==="style"){var S=f[B];for(x in S)S.hasOwnProperty(x)&&(o||(o={}),o[x]="")}else B!=="dangerouslySetInnerHTML"&&B!=="children"&&B!=="suppressContentEditableWarning"&&B!=="suppressHydrationWarning"&&B!=="autoFocus"&&(a.hasOwnProperty(B)?h||(h=[]):(h=h||[]).push(B,null));for(B in l){var j=l[B];if(S=f!=null?f[B]:void 0,l.hasOwnProperty(B)&&j!==S&&(j!=null||S!=null))if(B==="style")if(S){for(x in S)!S.hasOwnProperty(x)||j&&j.hasOwnProperty(x)||(o||(o={}),o[x]="");for(x in j)j.hasOwnProperty(x)&&S[x]!==j[x]&&(o||(o={}),o[x]=j[x])}else o||(h||(h=[]),h.push(B,o)),o=j;else B==="dangerouslySetInnerHTML"?(j=j?j.__html:void 0,S=S?S.__html:void 0,j!=null&&S!==j&&(h=h||[]).push(B,j)):B==="children"?typeof j!="string"&&typeof j!="number"||(h=h||[]).push(B,""+j):B!=="suppressContentEditableWarning"&&B!=="suppressHydrationWarning"&&(a.hasOwnProperty(B)?(j!=null&&B==="onScroll"&&qe("scroll",e),h||S===j||(h=[])):(h=h||[]).push(B,j))}o&&(h=h||[]).push("style",o);var B=h;(t.updateQueue=B)&&(t.flags|=4)}},Kh=function(e,t,o,l){o!==l&&(t.flags|=4)};function ji(e,t){if(!Ze)switch(e.tailMode){case"hidden":t=e.tail;for(var o=null;t!==null;)t.alternate!==null&&(o=t),t=t.sibling;o===null?e.tail=null:o.sibling=null;break;case"collapsed":o=e.tail;for(var l=null;o!==null;)o.alternate!==null&&(l=o),o=o.sibling;l===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:l.sibling=null}}function jt(e){var t=e.alternate!==null&&e.alternate.child===e.child,o=0,l=0;if(t)for(var f=e.child;f!==null;)o|=f.lanes|f.childLanes,l|=f.subtreeFlags&14680064,l|=f.flags&14680064,f.return=e,f=f.sibling;else for(f=e.child;f!==null;)o|=f.lanes|f.childLanes,l|=f.subtreeFlags,l|=f.flags,f.return=e,f=f.sibling;return e.subtreeFlags|=l,e.childLanes=o,t}function A0(e,t,o){var l=t.pendingProps;switch(Nc(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return jt(t),null;case 1:return qt(t.type)&&La(),jt(t),null;case 3:return l=t.stateNode,mo(),Ge(Bt),Ge(At),zc(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&(za(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Sn!==null&&(gu(Sn),Sn=null))),ou(e,t),jt(t),null;case 5:Fc(t);var f=ps(Ti.current);if(o=t.type,e!==null&&t.stateNode!=null)Wh(e,t,o,l,f),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!l){if(t.stateNode===null)throw Error(r(166));return jt(t),null}if(e=ps(Dn.current),za(t)){l=t.stateNode,o=t.type;var h=t.memoizedProps;switch(l[Ln]=t,l[wi]=h,e=(t.mode&1)!==0,o){case"dialog":qe("cancel",l),qe("close",l);break;case"iframe":case"object":case"embed":qe("load",l);break;case"video":case"audio":for(f=0;f<yi.length;f++)qe(yi[f],l);break;case"source":qe("error",l);break;case"img":case"image":case"link":qe("error",l),qe("load",l);break;case"details":qe("toggle",l);break;case"input":De(l,h),qe("invalid",l);break;case"select":l._wrapperState={wasMultiple:!!h.multiple},qe("invalid",l);break;case"textarea":xn(l,h),qe("invalid",l)}ns(o,h),f=null;for(var x in h)if(h.hasOwnProperty(x)){var S=h[x];x==="children"?typeof S=="string"?l.textContent!==S&&(h.suppressHydrationWarning!==!0&&Oa(l.textContent,S,e),f=["children",S]):typeof S=="number"&&l.textContent!==""+S&&(h.suppressHydrationWarning!==!0&&Oa(l.textContent,S,e),f=["children",""+S]):a.hasOwnProperty(x)&&S!=null&&x==="onScroll"&&qe("scroll",l)}switch(o){case"input":je(l),Jt(l,h,!0);break;case"textarea":je(l),Rn(l);break;case"select":case"option":break;default:typeof h.onClick=="function"&&(l.onclick=Ma)}l=f,t.updateQueue=l,l!==null&&(t.flags|=4)}else{x=f.nodeType===9?f:f.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Hs(o)),e==="http://www.w3.org/1999/xhtml"?o==="script"?(e=x.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof l.is=="string"?e=x.createElement(o,{is:l.is}):(e=x.createElement(o),o==="select"&&(x=e,l.multiple?x.multiple=!0:l.size&&(x.size=l.size))):e=x.createElementNS(e,o),e[Ln]=t,e[wi]=l,Qh(e,t,!1,!1),t.stateNode=e;e:{switch(x=rs(o,l),o){case"dialog":qe("cancel",e),qe("close",e),f=l;break;case"iframe":case"object":case"embed":qe("load",e),f=l;break;case"video":case"audio":for(f=0;f<yi.length;f++)qe(yi[f],e);f=l;break;case"source":qe("error",e),f=l;break;case"img":case"image":case"link":qe("error",e),qe("load",e),f=l;break;case"details":qe("toggle",e),f=l;break;case"input":De(e,l),f=nt(e,l),qe("invalid",e);break;case"option":f=l;break;case"select":e._wrapperState={wasMultiple:!!l.multiple},f=J({},l,{value:void 0}),qe("invalid",e);break;case"textarea":xn(e,l),f=Us(e,l),qe("invalid",e);break;default:f=l}ns(o,f),S=f;for(h in S)if(S.hasOwnProperty(h)){var j=S[h];h==="style"?Wo(e,j):h==="dangerouslySetInnerHTML"?(j=j?j.__html:void 0,j!=null&&Bs(e,j)):h==="children"?typeof j=="string"?(o!=="textarea"||j!=="")&&un(e,j):typeof j=="number"&&un(e,""+j):h!=="suppressContentEditableWarning"&&h!=="suppressHydrationWarning"&&h!=="autoFocus"&&(a.hasOwnProperty(h)?j!=null&&h==="onScroll"&&qe("scroll",e):j!=null&&_(e,h,j,x))}switch(o){case"input":je(e),Jt(e,l,!1);break;case"textarea":je(e),Rn(e);break;case"option":l.value!=null&&e.setAttribute("value",""+be(l.value));break;case"select":e.multiple=!!l.multiple,h=l.value,h!=null?Kn(e,!!l.multiple,h,!1):l.defaultValue!=null&&Kn(e,!!l.multiple,l.defaultValue,!0);break;default:typeof f.onClick=="function"&&(e.onclick=Ma)}switch(o){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break e;case"img":l=!0;break e;default:l=!1}}l&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return jt(t),null;case 6:if(e&&t.stateNode!=null)Kh(e,t,e.memoizedProps,l);else{if(typeof l!="string"&&t.stateNode===null)throw Error(r(166));if(o=ps(Ti.current),ps(Dn.current),za(t)){if(l=t.stateNode,o=t.memoizedProps,l[Ln]=t,(h=l.nodeValue!==o)&&(e=nn,e!==null))switch(e.tag){case 3:Oa(l.nodeValue,o,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Oa(l.nodeValue,o,(e.mode&1)!==0)}h&&(t.flags|=4)}else l=(o.nodeType===9?o:o.ownerDocument).createTextNode(l),l[Ln]=t,t.stateNode=l}return jt(t),null;case 13:if(Ge(et),l=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Ze&&rn!==null&&(t.mode&1)!==0&&(t.flags&128)===0)Zd(),uo(),t.flags|=98560,h=!1;else if(h=za(t),l!==null&&l.dehydrated!==null){if(e===null){if(!h)throw Error(r(318));if(h=t.memoizedState,h=h!==null?h.dehydrated:null,!h)throw Error(r(317));h[Ln]=t}else uo(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;jt(t),h=!1}else Sn!==null&&(gu(Sn),Sn=null),h=!0;if(!h)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=o,t):(l=l!==null,l!==(e!==null&&e.memoizedState!==null)&&l&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(et.current&1)!==0?dt===0&&(dt=3):xu())),t.updateQueue!==null&&(t.flags|=4),jt(t),null);case 4:return mo(),ou(e,t),e===null&&vi(t.stateNode.containerInfo),jt(t),null;case 10:return Mc(t.type._context),jt(t),null;case 17:return qt(t.type)&&La(),jt(t),null;case 19:if(Ge(et),h=t.memoizedState,h===null)return jt(t),null;if(l=(t.flags&128)!==0,x=h.rendering,x===null)if(l)ji(h,!1);else{if(dt!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(x=Va(e),x!==null){for(t.flags|=128,ji(h,!1),l=x.updateQueue,l!==null&&(t.updateQueue=l,t.flags|=4),t.subtreeFlags=0,l=o,o=t.child;o!==null;)h=o,e=l,h.flags&=14680066,x=h.alternate,x===null?(h.childLanes=0,h.lanes=e,h.child=null,h.subtreeFlags=0,h.memoizedProps=null,h.memoizedState=null,h.updateQueue=null,h.dependencies=null,h.stateNode=null):(h.childLanes=x.childLanes,h.lanes=x.lanes,h.child=x.child,h.subtreeFlags=0,h.deletions=null,h.memoizedProps=x.memoizedProps,h.memoizedState=x.memoizedState,h.updateQueue=x.updateQueue,h.type=x.type,e=x.dependencies,h.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),o=o.sibling;return Be(et,et.current&1|2),t.child}e=e.sibling}h.tail!==null&&Fe()>xo&&(t.flags|=128,l=!0,ji(h,!1),t.lanes=4194304)}else{if(!l)if(e=Va(x),e!==null){if(t.flags|=128,l=!0,o=e.updateQueue,o!==null&&(t.updateQueue=o,t.flags|=4),ji(h,!0),h.tail===null&&h.tailMode==="hidden"&&!x.alternate&&!Ze)return jt(t),null}else 2*Fe()-h.renderingStartTime>xo&&o!==1073741824&&(t.flags|=128,l=!0,ji(h,!1),t.lanes=4194304);h.isBackwards?(x.sibling=t.child,t.child=x):(o=h.last,o!==null?o.sibling=x:t.child=x,h.last=x)}return h.tail!==null?(t=h.tail,h.rendering=t,h.tail=t.sibling,h.renderingStartTime=Fe(),t.sibling=null,o=et.current,Be(et,l?o&1|2:o&1),t):(jt(t),null);case 22:case 23:return vu(),l=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==l&&(t.flags|=8192),l&&(t.mode&1)!==0?(sn&1073741824)!==0&&(jt(t),t.subtreeFlags&6&&(t.flags|=8192)):jt(t),null;case 24:return null;case 25:return null}throw Error(r(156,t.tag))}function C0(e,t){switch(Nc(t),t.tag){case 1:return qt(t.type)&&La(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return mo(),Ge(Bt),Ge(At),zc(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return Fc(t),null;case 13:if(Ge(et),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(r(340));uo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ge(et),null;case 4:return mo(),null;case 10:return Mc(t.type._context),null;case 22:case 23:return vu(),null;case 24:return null;default:return null}}var tl=!1,Rt=!1,j0=typeof WeakSet=="function"?WeakSet:Set,ue=null;function yo(e,t){var o=e.ref;if(o!==null)if(typeof o=="function")try{o(null)}catch(l){rt(e,t,l)}else o.current=null}function iu(e,t,o){try{o()}catch(l){rt(e,t,l)}}var Xh=!1;function R0(e,t){if(vc=ba,e=Ad(),uc(e)){if("selectionStart"in e)var o={start:e.selectionStart,end:e.selectionEnd};else e:{o=(o=e.ownerDocument)&&o.defaultView||window;var l=o.getSelection&&o.getSelection();if(l&&l.rangeCount!==0){o=l.anchorNode;var f=l.anchorOffset,h=l.focusNode;l=l.focusOffset;try{o.nodeType,h.nodeType}catch{o=null;break e}var x=0,S=-1,j=-1,B=0,Y=0,Z=e,X=null;t:for(;;){for(var ae;Z!==o||f!==0&&Z.nodeType!==3||(S=x+f),Z!==h||l!==0&&Z.nodeType!==3||(j=x+l),Z.nodeType===3&&(x+=Z.nodeValue.length),(ae=Z.firstChild)!==null;)X=Z,Z=ae;for(;;){if(Z===e)break t;if(X===o&&++B===f&&(S=x),X===h&&++Y===l&&(j=x),(ae=Z.nextSibling)!==null)break;Z=X,X=Z.parentNode}Z=ae}o=S===-1||j===-1?null:{start:S,end:j}}else o=null}o=o||{start:0,end:0}}else o=null;for(xc={focusedElem:e,selectionRange:o},ba=!1,ue=t;ue!==null;)if(t=ue,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ue=e;else for(;ue!==null;){t=ue;try{var fe=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(fe!==null){var he=fe.memoizedProps,it=fe.memoizedState,z=t.stateNode,O=z.getSnapshotBeforeUpdate(t.elementType===t.type?he:_n(t.type,he),it);z.__reactInternalSnapshotBeforeUpdate=O}break;case 3:var H=t.stateNode.containerInfo;H.nodeType===1?H.textContent="":H.nodeType===9&&H.documentElement&&H.removeChild(H.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(ee){rt(t,t.return,ee)}if(e=t.sibling,e!==null){e.return=t.return,ue=e;break}ue=t.return}return fe=Xh,Xh=!1,fe}function Ri(e,t,o){var l=t.updateQueue;if(l=l!==null?l.lastEffect:null,l!==null){var f=l=l.next;do{if((f.tag&e)===e){var h=f.destroy;f.destroy=void 0,h!==void 0&&iu(t,o,h)}f=f.next}while(f!==l)}}function nl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var o=t=t.next;do{if((o.tag&e)===e){var l=o.create;o.destroy=l()}o=o.next}while(o!==t)}}function au(e){var t=e.ref;if(t!==null){var o=e.stateNode;switch(e.tag){case 5:e=o;break;default:e=o}typeof t=="function"?t(e):t.current=e}}function Yh(e){var t=e.alternate;t!==null&&(e.alternate=null,Yh(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ln],delete t[wi],delete t[Sc],delete t[h0],delete t[p0])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Zh(e){return e.tag===5||e.tag===3||e.tag===4}function Jh(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Zh(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function lu(e,t,o){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?o.nodeType===8?o.parentNode.insertBefore(e,t):o.insertBefore(e,t):(o.nodeType===8?(t=o.parentNode,t.insertBefore(e,o)):(t=o,t.appendChild(e)),o=o._reactRootContainer,o!=null||t.onclick!==null||(t.onclick=Ma));else if(l!==4&&(e=e.child,e!==null))for(lu(e,t,o),e=e.sibling;e!==null;)lu(e,t,o),e=e.sibling}function cu(e,t,o){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?o.insertBefore(e,t):o.appendChild(e);else if(l!==4&&(e=e.child,e!==null))for(cu(e,t,o),e=e.sibling;e!==null;)cu(e,t,o),e=e.sibling}var wt=null,Tn=!1;function Lr(e,t,o){for(o=o.child;o!==null;)ep(e,t,o),o=o.sibling}function ep(e,t,o){if(Ht&&typeof Ht.onCommitFiberUnmount=="function")try{Ht.onCommitFiberUnmount(er,o)}catch{}switch(o.tag){case 5:Rt||yo(o,t);case 6:var l=wt,f=Tn;wt=null,Lr(e,t,o),wt=l,Tn=f,wt!==null&&(Tn?(e=wt,o=o.stateNode,e.nodeType===8?e.parentNode.removeChild(o):e.removeChild(o)):wt.removeChild(o.stateNode));break;case 18:wt!==null&&(Tn?(e=wt,o=o.stateNode,e.nodeType===8?kc(e.parentNode,o):e.nodeType===1&&kc(e,o),ci(e)):kc(wt,o.stateNode));break;case 4:l=wt,f=Tn,wt=o.stateNode.containerInfo,Tn=!0,Lr(e,t,o),wt=l,Tn=f;break;case 0:case 11:case 14:case 15:if(!Rt&&(l=o.updateQueue,l!==null&&(l=l.lastEffect,l!==null))){f=l=l.next;do{var h=f,x=h.destroy;h=h.tag,x!==void 0&&((h&2)!==0||(h&4)!==0)&&iu(o,t,x),f=f.next}while(f!==l)}Lr(e,t,o);break;case 1:if(!Rt&&(yo(o,t),l=o.stateNode,typeof l.componentWillUnmount=="function"))try{l.props=o.memoizedProps,l.state=o.memoizedState,l.componentWillUnmount()}catch(S){rt(o,t,S)}Lr(e,t,o);break;case 21:Lr(e,t,o);break;case 22:o.mode&1?(Rt=(l=Rt)||o.memoizedState!==null,Lr(e,t,o),Rt=l):Lr(e,t,o);break;default:Lr(e,t,o)}}function tp(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var o=e.stateNode;o===null&&(o=e.stateNode=new j0),t.forEach(function(l){var f=z0.bind(null,e,l);o.has(l)||(o.add(l),l.then(f,f))})}}function En(e,t){var o=t.deletions;if(o!==null)for(var l=0;l<o.length;l++){var f=o[l];try{var h=e,x=t,S=x;e:for(;S!==null;){switch(S.tag){case 5:wt=S.stateNode,Tn=!1;break e;case 3:wt=S.stateNode.containerInfo,Tn=!0;break e;case 4:wt=S.stateNode.containerInfo,Tn=!0;break e}S=S.return}if(wt===null)throw Error(r(160));ep(h,x,f),wt=null,Tn=!1;var j=f.alternate;j!==null&&(j.return=null),f.return=null}catch(B){rt(f,t,B)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)np(t,e),t=t.sibling}function np(e,t){var o=e.alternate,l=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(En(t,e),Fn(e),l&4){try{Ri(3,e,e.return),nl(3,e)}catch(he){rt(e,e.return,he)}try{Ri(5,e,e.return)}catch(he){rt(e,e.return,he)}}break;case 1:En(t,e),Fn(e),l&512&&o!==null&&yo(o,o.return);break;case 5:if(En(t,e),Fn(e),l&512&&o!==null&&yo(o,o.return),e.flags&32){var f=e.stateNode;try{un(f,"")}catch(he){rt(e,e.return,he)}}if(l&4&&(f=e.stateNode,f!=null)){var h=e.memoizedProps,x=o!==null?o.memoizedProps:h,S=e.type,j=e.updateQueue;if(e.updateQueue=null,j!==null)try{S==="input"&&h.type==="radio"&&h.name!=null&&ut(f,h),rs(S,x);var B=rs(S,h);for(x=0;x<j.length;x+=2){var Y=j[x],Z=j[x+1];Y==="style"?Wo(f,Z):Y==="dangerouslySetInnerHTML"?Bs(f,Z):Y==="children"?un(f,Z):_(f,Y,Z,B)}switch(S){case"input":yr(f,h);break;case"textarea":vr(f,h);break;case"select":var X=f._wrapperState.wasMultiple;f._wrapperState.wasMultiple=!!h.multiple;var ae=h.value;ae!=null?Kn(f,!!h.multiple,ae,!1):X!==!!h.multiple&&(h.defaultValue!=null?Kn(f,!!h.multiple,h.defaultValue,!0):Kn(f,!!h.multiple,h.multiple?[]:"",!1))}f[wi]=h}catch(he){rt(e,e.return,he)}}break;case 6:if(En(t,e),Fn(e),l&4){if(e.stateNode===null)throw Error(r(162));f=e.stateNode,h=e.memoizedProps;try{f.nodeValue=h}catch(he){rt(e,e.return,he)}}break;case 3:if(En(t,e),Fn(e),l&4&&o!==null&&o.memoizedState.isDehydrated)try{ci(t.containerInfo)}catch(he){rt(e,e.return,he)}break;case 4:En(t,e),Fn(e);break;case 13:En(t,e),Fn(e),f=e.child,f.flags&8192&&(h=f.memoizedState!==null,f.stateNode.isHidden=h,!h||f.alternate!==null&&f.alternate.memoizedState!==null||(du=Fe())),l&4&&tp(e);break;case 22:if(Y=o!==null&&o.memoizedState!==null,e.mode&1?(Rt=(B=Rt)||Y,En(t,e),Rt=B):En(t,e),Fn(e),l&8192){if(B=e.memoizedState!==null,(e.stateNode.isHidden=B)&&!Y&&(e.mode&1)!==0)for(ue=e,Y=e.child;Y!==null;){for(Z=ue=Y;ue!==null;){switch(X=ue,ae=X.child,X.tag){case 0:case 11:case 14:case 15:Ri(4,X,X.return);break;case 1:yo(X,X.return);var fe=X.stateNode;if(typeof fe.componentWillUnmount=="function"){l=X,o=X.return;try{t=l,fe.props=t.memoizedProps,fe.state=t.memoizedState,fe.componentWillUnmount()}catch(he){rt(l,o,he)}}break;case 5:yo(X,X.return);break;case 22:if(X.memoizedState!==null){op(Z);continue}}ae!==null?(ae.return=X,ue=ae):op(Z)}Y=Y.sibling}e:for(Y=null,Z=e;;){if(Z.tag===5){if(Y===null){Y=Z;try{f=Z.stateNode,B?(h=f.style,typeof h.setProperty=="function"?h.setProperty("display","none","important"):h.display="none"):(S=Z.stateNode,j=Z.memoizedProps.style,x=j!=null&&j.hasOwnProperty("display")?j.display:null,S.style.display=Qo("display",x))}catch(he){rt(e,e.return,he)}}}else if(Z.tag===6){if(Y===null)try{Z.stateNode.nodeValue=B?"":Z.memoizedProps}catch(he){rt(e,e.return,he)}}else if((Z.tag!==22&&Z.tag!==23||Z.memoizedState===null||Z===e)&&Z.child!==null){Z.child.return=Z,Z=Z.child;continue}if(Z===e)break e;for(;Z.sibling===null;){if(Z.return===null||Z.return===e)break e;Y===Z&&(Y=null),Z=Z.return}Y===Z&&(Y=null),Z.sibling.return=Z.return,Z=Z.sibling}}break;case 19:En(t,e),Fn(e),l&4&&tp(e);break;case 21:break;default:En(t,e),Fn(e)}}function Fn(e){var t=e.flags;if(t&2){try{e:{for(var o=e.return;o!==null;){if(Zh(o)){var l=o;break e}o=o.return}throw Error(r(160))}switch(l.tag){case 5:var f=l.stateNode;l.flags&32&&(un(f,""),l.flags&=-33);var h=Jh(e);cu(e,h,f);break;case 3:case 4:var x=l.stateNode.containerInfo,S=Jh(e);lu(e,S,x);break;default:throw Error(r(161))}}catch(j){rt(e,e.return,j)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function O0(e,t,o){ue=e,rp(e)}function rp(e,t,o){for(var l=(e.mode&1)!==0;ue!==null;){var f=ue,h=f.child;if(f.tag===22&&l){var x=f.memoizedState!==null||tl;if(!x){var S=f.alternate,j=S!==null&&S.memoizedState!==null||Rt;S=tl;var B=Rt;if(tl=x,(Rt=j)&&!B)for(ue=f;ue!==null;)x=ue,j=x.child,x.tag===22&&x.memoizedState!==null?ip(f):j!==null?(j.return=x,ue=j):ip(f);for(;h!==null;)ue=h,rp(h),h=h.sibling;ue=f,tl=S,Rt=B}sp(e)}else(f.subtreeFlags&8772)!==0&&h!==null?(h.return=f,ue=h):sp(e)}}function sp(e){for(;ue!==null;){var t=ue;if((t.flags&8772)!==0){var o=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:Rt||nl(5,t);break;case 1:var l=t.stateNode;if(t.flags&4&&!Rt)if(o===null)l.componentDidMount();else{var f=t.elementType===t.type?o.memoizedProps:_n(t.type,o.memoizedProps);l.componentDidUpdate(f,o.memoizedState,l.__reactInternalSnapshotBeforeUpdate)}var h=t.updateQueue;h!==null&&oh(t,h,l);break;case 3:var x=t.updateQueue;if(x!==null){if(o=null,t.child!==null)switch(t.child.tag){case 5:o=t.child.stateNode;break;case 1:o=t.child.stateNode}oh(t,x,o)}break;case 5:var S=t.stateNode;if(o===null&&t.flags&4){o=S;var j=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":j.autoFocus&&o.focus();break;case"img":j.src&&(o.src=j.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var B=t.alternate;if(B!==null){var Y=B.memoizedState;if(Y!==null){var Z=Y.dehydrated;Z!==null&&ci(Z)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(r(163))}Rt||t.flags&512&&au(t)}catch(X){rt(t,t.return,X)}}if(t===e){ue=null;break}if(o=t.sibling,o!==null){o.return=t.return,ue=o;break}ue=t.return}}function op(e){for(;ue!==null;){var t=ue;if(t===e){ue=null;break}var o=t.sibling;if(o!==null){o.return=t.return,ue=o;break}ue=t.return}}function ip(e){for(;ue!==null;){var t=ue;try{switch(t.tag){case 0:case 11:case 15:var o=t.return;try{nl(4,t)}catch(j){rt(t,o,j)}break;case 1:var l=t.stateNode;if(typeof l.componentDidMount=="function"){var f=t.return;try{l.componentDidMount()}catch(j){rt(t,f,j)}}var h=t.return;try{au(t)}catch(j){rt(t,h,j)}break;case 5:var x=t.return;try{au(t)}catch(j){rt(t,x,j)}}}catch(j){rt(t,t.return,j)}if(t===e){ue=null;break}var S=t.sibling;if(S!==null){S.return=t.return,ue=S;break}ue=t.return}}var M0=Math.ceil,rl=N.ReactCurrentDispatcher,uu=N.ReactCurrentOwner,gn=N.ReactCurrentBatchConfig,Le=0,mt=null,lt=null,bt=0,sn=0,vo=jr(0),dt=0,Oi=null,gs=0,sl=0,fu=0,Mi=null,Vt=null,du=0,xo=1/0,cr=null,ol=!1,hu=null,Dr=null,il=!1,Ir=null,al=0,Pi=0,pu=null,ll=-1,cl=0;function Lt(){return(Le&6)!==0?Fe():ll!==-1?ll:ll=Fe()}function Fr(e){return(e.mode&1)===0?1:(Le&2)!==0&&bt!==0?bt&-bt:g0.transition!==null?(cl===0&&(cl=si()),cl):(e=D,e!==0||(e=window.event,e=e===void 0?16:ld(e.type)),e)}function Nn(e,t,o,l){if(50<Pi)throw Pi=0,pu=null,Error(r(185));tr(e,o,l),((Le&2)===0||e!==mt)&&(e===mt&&((Le&2)===0&&(sl|=o),dt===4&&$r(e,bt)),Qt(e,l),o===1&&Le===0&&(t.mode&1)===0&&(xo=Fe()+500,Ia&&Or()))}function Qt(e,t){var o=e.callbackNode;Zl(e,t);var l=Ys(e,e===mt?bt:0);if(l===0)o!==null&&ma(o),e.callbackNode=null,e.callbackPriority=0;else if(t=l&-l,e.callbackPriority!==t){if(o!=null&&ma(o),t===1)e.tag===0?m0(lp.bind(null,e)):Qd(lp.bind(null,e)),f0(function(){(Le&6)===0&&Or()}),o=null;else{switch(te(l)){case 1:o=wn;break;case 4:o=ya;break;case 16:o=Ws;break;case 536870912:o=ni;break;default:o=Ws}o=gp(o,ap.bind(null,e))}e.callbackPriority=t,e.callbackNode=o}}function ap(e,t){if(ll=-1,cl=0,(Le&6)!==0)throw Error(r(327));var o=e.callbackNode;if(wo()&&e.callbackNode!==o)return null;var l=Ys(e,e===mt?bt:0);if(l===0)return null;if((l&30)!==0||(l&e.expiredLanes)!==0||t)t=ul(e,l);else{t=l;var f=Le;Le|=2;var h=up();(mt!==e||bt!==t)&&(cr=null,xo=Fe()+500,vs(e,t));do try{D0();break}catch(S){cp(e,S)}while(!0);Oc(),rl.current=h,Le=f,lt!==null?t=0:(mt=null,bt=0,t=dt)}if(t!==0){if(t===2&&(f=ri(e),f!==0&&(l=f,t=mu(e,f))),t===1)throw o=Oi,vs(e,0),$r(e,l),Qt(e,Fe()),o;if(t===6)$r(e,l);else{if(f=e.current.alternate,(l&30)===0&&!P0(f)&&(t=ul(e,l),t===2&&(h=ri(e),h!==0&&(l=h,t=mu(e,h))),t===1))throw o=Oi,vs(e,0),$r(e,l),Qt(e,Fe()),o;switch(e.finishedWork=f,e.finishedLanes=l,t){case 0:case 1:throw Error(r(345));case 2:xs(e,Vt,cr);break;case 3:if($r(e,l),(l&130023424)===l&&(t=du+500-Fe(),10<t)){if(Ys(e,0)!==0)break;if(f=e.suspendedLanes,(f&l)!==l){Lt(),e.pingedLanes|=e.suspendedLanes&f;break}e.timeoutHandle=bc(xs.bind(null,e,Vt,cr),t);break}xs(e,Vt,cr);break;case 4:if($r(e,l),(l&4194240)===l)break;for(t=e.eventTimes,f=-1;0<l;){var x=31-ht(l);h=1<<x,x=t[x],x>f&&(f=x),l&=~h}if(l=f,l=Fe()-l,l=(120>l?120:480>l?480:1080>l?1080:1920>l?1920:3e3>l?3e3:4320>l?4320:1960*M0(l/1960))-l,10<l){e.timeoutHandle=bc(xs.bind(null,e,Vt,cr),l);break}xs(e,Vt,cr);break;case 5:xs(e,Vt,cr);break;default:throw Error(r(329))}}}return Qt(e,Fe()),e.callbackNode===o?ap.bind(null,e):null}function mu(e,t){var o=Mi;return e.current.memoizedState.isDehydrated&&(vs(e,t).flags|=256),e=ul(e,t),e!==2&&(t=Vt,Vt=o,t!==null&&gu(t)),e}function gu(e){Vt===null?Vt=e:Vt.push.apply(Vt,e)}function P0(e){for(var t=e;;){if(t.flags&16384){var o=t.updateQueue;if(o!==null&&(o=o.stores,o!==null))for(var l=0;l<o.length;l++){var f=o[l],h=f.getSnapshot;f=f.value;try{if(!kn(h(),f))return!1}catch{return!1}}}if(o=t.child,t.subtreeFlags&16384&&o!==null)o.return=t,t=o;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 $r(e,t){for(t&=~fu,t&=~sl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var o=31-ht(t),l=1<<o;e[o]=-1,t&=~l}}function lp(e){if((Le&6)!==0)throw Error(r(327));wo();var t=Ys(e,0);if((t&1)===0)return Qt(e,Fe()),null;var o=ul(e,t);if(e.tag!==0&&o===2){var l=ri(e);l!==0&&(t=l,o=mu(e,l))}if(o===1)throw o=Oi,vs(e,0),$r(e,t),Qt(e,Fe()),o;if(o===6)throw Error(r(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,xs(e,Vt,cr),Qt(e,Fe()),null}function yu(e,t){var o=Le;Le|=1;try{return e(t)}finally{Le=o,Le===0&&(xo=Fe()+500,Ia&&Or())}}function ys(e){Ir!==null&&Ir.tag===0&&(Le&6)===0&&wo();var t=Le;Le|=1;var o=gn.transition,l=D;try{if(gn.transition=null,D=1,e)return e()}finally{D=l,gn.transition=o,Le=t,(Le&6)===0&&Or()}}function vu(){sn=vo.current,Ge(vo)}function vs(e,t){e.finishedWork=null,e.finishedLanes=0;var o=e.timeoutHandle;if(o!==-1&&(e.timeoutHandle=-1,u0(o)),lt!==null)for(o=lt.return;o!==null;){var l=o;switch(Nc(l),l.tag){case 1:l=l.type.childContextTypes,l!=null&&La();break;case 3:mo(),Ge(Bt),Ge(At),zc();break;case 5:Fc(l);break;case 4:mo();break;case 13:Ge(et);break;case 19:Ge(et);break;case 10:Mc(l.type._context);break;case 22:case 23:vu()}o=o.return}if(mt=e,lt=e=zr(e.current,null),bt=sn=t,dt=0,Oi=null,fu=sl=gs=0,Vt=Mi=null,hs!==null){for(t=0;t<hs.length;t++)if(o=hs[t],l=o.interleaved,l!==null){o.interleaved=null;var f=l.next,h=o.pending;if(h!==null){var x=h.next;h.next=f,l.next=x}o.pending=l}hs=null}return e}function cp(e,t){do{var o=lt;try{if(Oc(),Qa.current=Ya,Wa){for(var l=tt.memoizedState;l!==null;){var f=l.queue;f!==null&&(f.pending=null),l=l.next}Wa=!1}if(ms=0,pt=ft=tt=null,Ei=!1,Ni=0,uu.current=null,o===null||o.return===null){dt=1,Oi=t,lt=null;break}e:{var h=e,x=o.return,S=o,j=t;if(t=bt,S.flags|=32768,j!==null&&typeof j=="object"&&typeof j.then=="function"){var B=j,Y=S,Z=Y.tag;if((Y.mode&1)===0&&(Z===0||Z===11||Z===15)){var X=Y.alternate;X?(Y.updateQueue=X.updateQueue,Y.memoizedState=X.memoizedState,Y.lanes=X.lanes):(Y.updateQueue=null,Y.memoizedState=null)}var ae=Ph(x);if(ae!==null){ae.flags&=-257,Lh(ae,x,S,h,t),ae.mode&1&&Mh(h,B,t),t=ae,j=B;var fe=t.updateQueue;if(fe===null){var he=new Set;he.add(j),t.updateQueue=he}else fe.add(j);break e}else{if((t&1)===0){Mh(h,B,t),xu();break e}j=Error(r(426))}}else if(Ze&&S.mode&1){var it=Ph(x);if(it!==null){(it.flags&65536)===0&&(it.flags|=256),Lh(it,x,S,h,t),jc(go(j,S));break e}}h=j=go(j,S),dt!==4&&(dt=2),Mi===null?Mi=[h]:Mi.push(h),h=x;do{switch(h.tag){case 3:h.flags|=65536,t&=-t,h.lanes|=t;var z=Rh(h,j,t);sh(h,z);break e;case 1:S=j;var O=h.type,H=h.stateNode;if((h.flags&128)===0&&(typeof O.getDerivedStateFromError=="function"||H!==null&&typeof H.componentDidCatch=="function"&&(Dr===null||!Dr.has(H)))){h.flags|=65536,t&=-t,h.lanes|=t;var ee=Oh(h,S,t);sh(h,ee);break e}}h=h.return}while(h!==null)}dp(o)}catch(pe){t=pe,lt===o&&o!==null&&(lt=o=o.return);continue}break}while(!0)}function up(){var e=rl.current;return rl.current=Ya,e===null?Ya:e}function xu(){(dt===0||dt===3||dt===2)&&(dt=4),mt===null||(gs&268435455)===0&&(sl&268435455)===0||$r(mt,bt)}function ul(e,t){var o=Le;Le|=2;var l=up();(mt!==e||bt!==t)&&(cr=null,vs(e,t));do try{L0();break}catch(f){cp(e,f)}while(!0);if(Oc(),Le=o,rl.current=l,lt!==null)throw Error(r(261));return mt=null,bt=0,dt}function L0(){for(;lt!==null;)fp(lt)}function D0(){for(;lt!==null&&!Kl();)fp(lt)}function fp(e){var t=mp(e.alternate,e,sn);e.memoizedProps=e.pendingProps,t===null?dp(e):lt=t,uu.current=null}function dp(e){var t=e;do{var o=t.alternate;if(e=t.return,(t.flags&32768)===0){if(o=A0(o,t,sn),o!==null){lt=o;return}}else{if(o=C0(o,t),o!==null){o.flags&=32767,lt=o;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{dt=6,lt=null;return}}if(t=t.sibling,t!==null){lt=t;return}lt=t=e}while(t!==null);dt===0&&(dt=5)}function xs(e,t,o){var l=D,f=gn.transition;try{gn.transition=null,D=1,I0(e,t,o,l)}finally{gn.transition=f,D=l}return null}function I0(e,t,o,l){do wo();while(Ir!==null);if((Le&6)!==0)throw Error(r(327));o=e.finishedWork;var f=e.finishedLanes;if(o===null)return null;if(e.finishedWork=null,e.finishedLanes=0,o===e.current)throw Error(r(177));e.callbackNode=null,e.callbackPriority=0;var h=o.lanes|o.childLanes;if(re(e,h),e===mt&&(lt=mt=null,bt=0),(o.subtreeFlags&2064)===0&&(o.flags&2064)===0||il||(il=!0,gp(Ws,function(){return wo(),null})),h=(o.flags&15990)!==0,(o.subtreeFlags&15990)!==0||h){h=gn.transition,gn.transition=null;var x=D;D=1;var S=Le;Le|=4,uu.current=null,R0(e,o),np(o,e),r0(xc),ba=!!vc,xc=vc=null,e.current=o,O0(o),Xl(),Le=S,D=x,gn.transition=h}else e.current=o;if(il&&(il=!1,Ir=e,al=f),h=e.pendingLanes,h===0&&(Dr=null),Ks(o.stateNode),Qt(e,Fe()),t!==null)for(l=e.onRecoverableError,o=0;o<t.length;o++)f=t[o],l(f.value,{componentStack:f.stack,digest:f.digest});if(ol)throw ol=!1,e=hu,hu=null,e;return(al&1)!==0&&e.tag!==0&&wo(),h=e.pendingLanes,(h&1)!==0?e===pu?Pi++:(Pi=0,pu=e):Pi=0,Or(),null}function wo(){if(Ir!==null){var e=te(al),t=gn.transition,o=D;try{if(gn.transition=null,D=16>e?16:e,Ir===null)var l=!1;else{if(e=Ir,Ir=null,al=0,(Le&6)!==0)throw Error(r(331));var f=Le;for(Le|=4,ue=e.current;ue!==null;){var h=ue,x=h.child;if((ue.flags&16)!==0){var S=h.deletions;if(S!==null){for(var j=0;j<S.length;j++){var B=S[j];for(ue=B;ue!==null;){var Y=ue;switch(Y.tag){case 0:case 11:case 15:Ri(8,Y,h)}var Z=Y.child;if(Z!==null)Z.return=Y,ue=Z;else for(;ue!==null;){Y=ue;var X=Y.sibling,ae=Y.return;if(Yh(Y),Y===B){ue=null;break}if(X!==null){X.return=ae,ue=X;break}ue=ae}}}var fe=h.alternate;if(fe!==null){var he=fe.child;if(he!==null){fe.child=null;do{var it=he.sibling;he.sibling=null,he=it}while(he!==null)}}ue=h}}if((h.subtreeFlags&2064)!==0&&x!==null)x.return=h,ue=x;else e:for(;ue!==null;){if(h=ue,(h.flags&2048)!==0)switch(h.tag){case 0:case 11:case 15:Ri(9,h,h.return)}var z=h.sibling;if(z!==null){z.return=h.return,ue=z;break e}ue=h.return}}var O=e.current;for(ue=O;ue!==null;){x=ue;var H=x.child;if((x.subtreeFlags&2064)!==0&&H!==null)H.return=x,ue=H;else e:for(x=O;ue!==null;){if(S=ue,(S.flags&2048)!==0)try{switch(S.tag){case 0:case 11:case 15:nl(9,S)}}catch(pe){rt(S,S.return,pe)}if(S===x){ue=null;break e}var ee=S.sibling;if(ee!==null){ee.return=S.return,ue=ee;break e}ue=S.return}}if(Le=f,Or(),Ht&&typeof Ht.onPostCommitFiberRoot=="function")try{Ht.onPostCommitFiberRoot(er,e)}catch{}l=!0}return l}finally{D=o,gn.transition=t}}return!1}function hp(e,t,o){t=go(o,t),t=Rh(e,t,1),e=Pr(e,t,1),t=Lt(),e!==null&&(tr(e,1,t),Qt(e,t))}function rt(e,t,o){if(e.tag===3)hp(e,e,o);else for(;t!==null;){if(t.tag===3){hp(t,e,o);break}else if(t.tag===1){var l=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(Dr===null||!Dr.has(l))){e=go(o,e),e=Oh(t,e,1),t=Pr(t,e,1),e=Lt(),t!==null&&(tr(t,1,e),Qt(t,e));break}}t=t.return}}function F0(e,t,o){var l=e.pingCache;l!==null&&l.delete(t),t=Lt(),e.pingedLanes|=e.suspendedLanes&o,mt===e&&(bt&o)===o&&(dt===4||dt===3&&(bt&130023424)===bt&&500>Fe()-du?vs(e,0):fu|=o),Qt(e,t)}function pp(e,t){t===0&&((e.mode&1)===0?t=1:(t=ls,ls<<=1,(ls&130023424)===0&&(ls=4194304)));var o=Lt();e=ir(e,t),e!==null&&(tr(e,t,o),Qt(e,o))}function $0(e){var t=e.memoizedState,o=0;t!==null&&(o=t.retryLane),pp(e,o)}function z0(e,t){var o=0;switch(e.tag){case 13:var l=e.stateNode,f=e.memoizedState;f!==null&&(o=f.retryLane);break;case 19:l=e.stateNode;break;default:throw Error(r(314))}l!==null&&l.delete(t),pp(e,o)}var mp;mp=function(e,t,o){if(e!==null)if(e.memoizedProps!==t.pendingProps||Bt.current)Gt=!0;else{if((e.lanes&o)===0&&(t.flags&128)===0)return Gt=!1,N0(e,t,o);Gt=(e.flags&131072)!==0}else Gt=!1,Ze&&(t.flags&1048576)!==0&&Wd(t,$a,t.index);switch(t.lanes=0,t.tag){case 2:var l=t.type;el(e,t),e=t.pendingProps;var f=ao(t,At.current);po(t,o),f=Bc(null,t,l,e,f,o);var h=qc();return t.flags|=1,typeof f=="object"&&f!==null&&typeof f.render=="function"&&f.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,qt(l)?(h=!0,Da(t)):h=!1,t.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,Dc(t),f.updater=Za,t.stateNode=f,f._reactInternals=t,Xc(t,l,e,o),t=eu(null,t,l,!0,h,o)):(t.tag=0,Ze&&h&&Ec(t),Pt(null,t,f,o),t=t.child),t;case 16:l=t.elementType;e:{switch(el(e,t),e=t.pendingProps,f=l._init,l=f(l._payload),t.type=l,f=t.tag=H0(l),e=_n(l,e),f){case 0:t=Jc(null,t,l,e,o);break e;case 1:t=Uh(null,t,l,e,o);break e;case 11:t=Dh(null,t,l,e,o);break e;case 14:t=Ih(null,t,l,_n(l.type,e),o);break e}throw Error(r(306,l,""))}return t;case 0:return l=t.type,f=t.pendingProps,f=t.elementType===l?f:_n(l,f),Jc(e,t,l,f,o);case 1:return l=t.type,f=t.pendingProps,f=t.elementType===l?f:_n(l,f),Uh(e,t,l,f,o);case 3:e:{if(Hh(t),e===null)throw Error(r(387));l=t.pendingProps,h=t.memoizedState,f=h.element,rh(e,t),Ga(t,l,null,o);var x=t.memoizedState;if(l=x.element,h.isDehydrated)if(h={element:l,isDehydrated:!1,cache:x.cache,pendingSuspenseBoundaries:x.pendingSuspenseBoundaries,transitions:x.transitions},t.updateQueue.baseState=h,t.memoizedState=h,t.flags&256){f=go(Error(r(423)),t),t=Bh(e,t,l,o,f);break e}else if(l!==f){f=go(Error(r(424)),t),t=Bh(e,t,l,o,f);break e}else for(rn=Cr(t.stateNode.containerInfo.firstChild),nn=t,Ze=!0,Sn=null,o=th(t,null,l,o),t.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling;else{if(uo(),l===f){t=lr(e,t,o);break e}Pt(e,t,l,o)}t=t.child}return t;case 5:return ih(t),e===null&&Cc(t),l=t.type,f=t.pendingProps,h=e!==null?e.memoizedProps:null,x=f.children,wc(l,f)?x=null:h!==null&&wc(l,h)&&(t.flags|=32),zh(e,t),Pt(e,t,x,o),t.child;case 6:return e===null&&Cc(t),null;case 13:return qh(e,t,o);case 4:return Ic(t,t.stateNode.containerInfo),l=t.pendingProps,e===null?t.child=fo(t,null,l,o):Pt(e,t,l,o),t.child;case 11:return l=t.type,f=t.pendingProps,f=t.elementType===l?f:_n(l,f),Dh(e,t,l,f,o);case 7:return Pt(e,t,t.pendingProps,o),t.child;case 8:return Pt(e,t,t.pendingProps.children,o),t.child;case 12:return Pt(e,t,t.pendingProps.children,o),t.child;case 10:e:{if(l=t.type._context,f=t.pendingProps,h=t.memoizedProps,x=f.value,Be(Ha,l._currentValue),l._currentValue=x,h!==null)if(kn(h.value,x)){if(h.children===f.children&&!Bt.current){t=lr(e,t,o);break e}}else for(h=t.child,h!==null&&(h.return=t);h!==null;){var S=h.dependencies;if(S!==null){x=h.child;for(var j=S.firstContext;j!==null;){if(j.context===l){if(h.tag===1){j=ar(-1,o&-o),j.tag=2;var B=h.updateQueue;if(B!==null){B=B.shared;var Y=B.pending;Y===null?j.next=j:(j.next=Y.next,Y.next=j),B.pending=j}}h.lanes|=o,j=h.alternate,j!==null&&(j.lanes|=o),Pc(h.return,o,t),S.lanes|=o;break}j=j.next}}else if(h.tag===10)x=h.type===t.type?null:h.child;else if(h.tag===18){if(x=h.return,x===null)throw Error(r(341));x.lanes|=o,S=x.alternate,S!==null&&(S.lanes|=o),Pc(x,o,t),x=h.sibling}else x=h.child;if(x!==null)x.return=h;else for(x=h;x!==null;){if(x===t){x=null;break}if(h=x.sibling,h!==null){h.return=x.return,x=h;break}x=x.return}h=x}Pt(e,t,f.children,o),t=t.child}return t;case 9:return f=t.type,l=t.pendingProps.children,po(t,o),f=pn(f),l=l(f),t.flags|=1,Pt(e,t,l,o),t.child;case 14:return l=t.type,f=_n(l,t.pendingProps),f=_n(l.type,f),Ih(e,t,l,f,o);case 15:return Fh(e,t,t.type,t.pendingProps,o);case 17:return l=t.type,f=t.pendingProps,f=t.elementType===l?f:_n(l,f),el(e,t),t.tag=1,qt(l)?(e=!0,Da(t)):e=!1,po(t,o),Ch(t,l,f),Xc(t,l,f,o),eu(null,t,l,!0,e,o);case 19:return Vh(e,t,o);case 22:return $h(e,t,o)}throw Error(r(156,t.tag))};function gp(e,t){return pa(e,t)}function U0(e,t,o,l){this.tag=e,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function yn(e,t,o,l){return new U0(e,t,o,l)}function wu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function H0(e){if(typeof e=="function")return wu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===L)return 11;if(e===ne)return 14}return 2}function zr(e,t){var o=e.alternate;return o===null?(o=yn(e.tag,t,e.key,e.mode),o.elementType=e.elementType,o.type=e.type,o.stateNode=e.stateNode,o.alternate=e,e.alternate=o):(o.pendingProps=t,o.type=e.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=e.flags&14680064,o.childLanes=e.childLanes,o.lanes=e.lanes,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,t=e.dependencies,o.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},o.sibling=e.sibling,o.index=e.index,o.ref=e.ref,o}function fl(e,t,o,l,f,h){var x=2;if(l=e,typeof e=="function")wu(e)&&(x=1);else if(typeof e=="string")x=5;else e:switch(e){case G:return ws(o.children,f,h,t);case V:x=8,f|=8;break;case Q:return e=yn(12,o,t,f|2),e.elementType=Q,e.lanes=h,e;case U:return e=yn(13,o,t,f),e.elementType=U,e.lanes=h,e;case q:return e=yn(19,o,t,f),e.elementType=q,e.lanes=h,e;case le:return dl(o,f,h,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case I:x=10;break e;case se:x=9;break e;case L:x=11;break e;case ne:x=14;break e;case me:x=16,l=null;break e}throw Error(r(130,e==null?e:typeof e,""))}return t=yn(x,o,t,f),t.elementType=e,t.type=l,t.lanes=h,t}function ws(e,t,o,l){return e=yn(7,e,l,t),e.lanes=o,e}function dl(e,t,o,l){return e=yn(22,e,l,t),e.elementType=le,e.lanes=o,e.stateNode={isHidden:!1},e}function bu(e,t,o){return e=yn(6,e,null,t),e.lanes=o,e}function ku(e,t,o){return t=yn(4,e.children!==null?e.children:[],e.key,t),t.lanes=o,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function B0(e,t,o,l,f){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=_r(0),this.expirationTimes=_r(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=_r(0),this.identifierPrefix=l,this.onRecoverableError=f,this.mutableSourceEagerHydrationData=null}function Su(e,t,o,l,f,h,x,S,j){return e=new B0(e,t,o,S,j),t===1?(t=1,h===!0&&(t|=8)):t=0,h=yn(3,null,null,t),e.current=h,h.stateNode=e,h.memoizedState={element:l,isDehydrated:o,cache:null,transitions:null,pendingSuspenseBoundaries:null},Dc(h),e}function q0(e,t,o){var l=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:$,key:l==null?null:""+l,children:e,containerInfo:t,implementation:o}}function yp(e){if(!e)return Rr;e=e._reactInternals;e:{if(Ut(e)!==e||e.tag!==1)throw Error(r(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(qt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(r(171))}if(e.tag===1){var o=e.type;if(qt(o))return Gd(e,o,t)}return t}function vp(e,t,o,l,f,h,x,S,j){return e=Su(o,l,!0,e,f,h,x,S,j),e.context=yp(null),o=e.current,l=Lt(),f=Fr(o),h=ar(l,f),h.callback=t??null,Pr(o,h,f),e.current.lanes=f,tr(e,f,l),Qt(e,l),e}function hl(e,t,o,l){var f=t.current,h=Lt(),x=Fr(f);return o=yp(o),t.context===null?t.context=o:t.pendingContext=o,t=ar(h,x),t.payload={element:e},l=l===void 0?null:l,l!==null&&(t.callback=l),e=Pr(f,t,x),e!==null&&(Nn(e,f,x,h),qa(e,f,x)),x}function pl(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function xp(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var o=e.retryLane;e.retryLane=o!==0&&o<t?o:t}}function _u(e,t){xp(e,t),(e=e.alternate)&&xp(e,t)}function G0(){return null}var wp=typeof reportError=="function"?reportError:function(e){console.error(e)};function Tu(e){this._internalRoot=e}ml.prototype.render=Tu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(r(409));hl(e,t,null,null)},ml.prototype.unmount=Tu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;ys(function(){hl(null,e,null,null)}),t[nr]=null}};function ml(e){this._internalRoot=e}ml.prototype.unstable_scheduleHydration=function(e){if(e){var t=ot();e={blockedOn:null,target:e,priority:t};for(var o=0;o<Er.length&&t!==0&&t<Er[o].priority;o++);Er.splice(o,0,e),o===0&&id(e)}};function Eu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function gl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function bp(){}function V0(e,t,o,l,f){if(f){if(typeof l=="function"){var h=l;l=function(){var B=pl(x);h.call(B)}}var x=vp(t,l,e,0,null,!1,!1,"",bp);return e._reactRootContainer=x,e[nr]=x.current,vi(e.nodeType===8?e.parentNode:e),ys(),x}for(;f=e.lastChild;)e.removeChild(f);if(typeof l=="function"){var S=l;l=function(){var B=pl(j);S.call(B)}}var j=Su(e,0,!1,null,null,!1,!1,"",bp);return e._reactRootContainer=j,e[nr]=j.current,vi(e.nodeType===8?e.parentNode:e),ys(function(){hl(t,j,o,l)}),j}function yl(e,t,o,l,f){var h=o._reactRootContainer;if(h){var x=h;if(typeof f=="function"){var S=f;f=function(){var j=pl(x);S.call(j)}}hl(t,x,e,f)}else x=V0(o,t,e,f,l);return pl(x)}de=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var o=Sr(t.pendingLanes);o!==0&&(b(t,o|1),Qt(t,Fe()),(Le&6)===0&&(xo=Fe()+500,Or()))}break;case 13:ys(function(){var l=ir(e,1);if(l!==null){var f=Lt();Nn(l,e,1,f)}}),_u(e,1)}},Ee=function(e){if(e.tag===13){var t=ir(e,134217728);if(t!==null){var o=Lt();Nn(t,e,134217728,o)}_u(e,134217728)}},Oe=function(e){if(e.tag===13){var t=Fr(e),o=ir(e,t);if(o!==null){var l=Lt();Nn(o,e,t,l)}_u(e,t)}},ot=function(){return D},Je=function(e,t){var o=D;try{return D=e,t()}finally{D=o}},ss=function(e,t,o){switch(t){case"input":if(yr(e,o),t=o.name,o.type==="radio"&&t!=null){for(o=e;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<o.length;t++){var l=o[t];if(l!==e&&l.form===e.form){var f=Pa(l);if(!f)throw Error(r(90));$t(l),yr(l,f)}}}break;case"textarea":vr(e,o);break;case"select":t=o.value,t!=null&&Kn(e,!!o.multiple,t,!1)}},is=yu,en=ys;var Q0={usingClientEntryPoint:!1,Events:[bi,oo,Pa,Ko,os,yu]},Li={findFiberByHostInstance:cs,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},W0={bundleType:Li.bundleType,version:Li.version,rendererPackageName:Li.rendererPackageName,rendererConfig:Li.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:N.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=ei(e),e===null?null:e.stateNode},findFiberByHostInstance:Li.findFiberByHostInstance||G0,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var vl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!vl.isDisabled&&vl.supportsFiber)try{er=vl.inject(W0),Ht=vl}catch{}}return Wt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Q0,Wt.createPortal=function(e,t){var o=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Eu(t))throw Error(r(200));return q0(e,t,null,o)},Wt.createRoot=function(e,t){if(!Eu(e))throw Error(r(299));var o=!1,l="",f=wp;return t!=null&&(t.unstable_strictMode===!0&&(o=!0),t.identifierPrefix!==void 0&&(l=t.identifierPrefix),t.onRecoverableError!==void 0&&(f=t.onRecoverableError)),t=Su(e,1,!1,null,null,o,!1,l,f),e[nr]=t.current,vi(e.nodeType===8?e.parentNode:e),new Tu(t)},Wt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(r(188)):(e=Object.keys(e).join(","),Error(r(268,e)));return e=ei(t),e=e===null?null:e.stateNode,e},Wt.flushSync=function(e){return ys(e)},Wt.hydrate=function(e,t,o){if(!gl(t))throw Error(r(200));return yl(null,e,t,!0,o)},Wt.hydrateRoot=function(e,t,o){if(!Eu(e))throw Error(r(405));var l=o!=null&&o.hydratedSources||null,f=!1,h="",x=wp;if(o!=null&&(o.unstable_strictMode===!0&&(f=!0),o.identifierPrefix!==void 0&&(h=o.identifierPrefix),o.onRecoverableError!==void 0&&(x=o.onRecoverableError)),t=vp(t,null,e,1,o??null,f,!1,h,x),e[nr]=t.current,vi(e),l)for(e=0;e<l.length;e++)o=l[e],f=o._getVersion,f=f(o._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[o,f]:t.mutableSourceEagerHydrationData.push(o,f);return new ml(t)},Wt.render=function(e,t,o){if(!gl(t))throw Error(r(200));return yl(null,e,t,!1,o)},Wt.unmountComponentAtNode=function(e){if(!gl(e))throw Error(r(40));return e._reactRootContainer?(ys(function(){yl(null,null,e,!1,function(){e._reactRootContainer=null,e[nr]=null})}),!0):!1},Wt.unstable_batchedUpdates=yu,Wt.unstable_renderSubtreeIntoContainer=function(e,t,o,l){if(!gl(o))throw Error(r(200));if(e==null||e._reactInternals===void 0)throw Error(r(38));return yl(e,t,o,!1,l)},Wt.version="18.3.1-next-f1338f8080-20240426",Wt}var Rp;function ov(){if(Rp)return ju.exports;Rp=1;function s(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(s)}catch(n){console.error(n)}}return s(),ju.exports=sv(),ju.exports}var Op;function iv(){if(Op)return wl;Op=1;var s=ov();return wl.createRoot=s.createRoot,wl.hydrateRoot=s.hydrateRoot,wl}var av=iv(),oa=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(s){return this.listeners.add(s),this.onSubscribe(),()=>{this.listeners.delete(s),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Es,Gr,jo,Xm,lv=(Xm=class extends oa{constructor(){super();ye(this,Es);ye(this,Gr);ye(this,jo);ce(this,jo,n=>{if(typeof window<"u"&&window.addEventListener){const r=()=>n();return window.addEventListener("visibilitychange",r,!1),()=>{window.removeEventListener("visibilitychange",r)}}})}onSubscribe(){R(this,Gr)||this.setEventListener(R(this,jo))}onUnsubscribe(){var n;this.hasListeners()||((n=R(this,Gr))==null||n.call(this),ce(this,Gr,void 0))}setEventListener(n){var r;ce(this,jo,n),(r=R(this,Gr))==null||r.call(this),ce(this,Gr,n(i=>{typeof i=="boolean"?this.setFocused(i):this.onFocus()}))}setFocused(n){R(this,Es)!==n&&(ce(this,Es,n),this.onFocus())}onFocus(){const n=this.isFocused();this.listeners.forEach(r=>{r(n)})}isFocused(){var n;return typeof R(this,Es)=="boolean"?R(this,Es):((n=globalThis.document)==null?void 0:n.visibilityState)!=="hidden"}},Es=new WeakMap,Gr=new WeakMap,jo=new WeakMap,Xm),Of=new lv,cv={setTimeout:(s,n)=>setTimeout(s,n),clearTimeout:s=>clearTimeout(s),setInterval:(s,n)=>setInterval(s,n),clearInterval:s=>clearInterval(s)},Vr,Cf,Ym,uv=(Ym=class{constructor(){ye(this,Vr,cv);ye(this,Cf,!1)}setTimeoutProvider(s){ce(this,Vr,s)}setTimeout(s,n){return R(this,Vr).setTimeout(s,n)}clearTimeout(s){R(this,Vr).clearTimeout(s)}setInterval(s,n){return R(this,Vr).setInterval(s,n)}clearInterval(s){R(this,Vr).clearInterval(s)}},Vr=new WeakMap,Cf=new WeakMap,Ym),Ts=new uv;function fv(s){setTimeout(s,0)}var dv=typeof window>"u"||"Deno"in globalThis;function Yt(){}function hv(s,n){return typeof s=="function"?s(n):s}function Zu(s){return typeof s=="number"&&s>=0&&s!==1/0}function ig(s,n){return Math.max(s+(n||0)-Date.now(),0)}function Jr(s,n){return typeof s=="function"?s(n):s}function an(s,n){return typeof s=="function"?s(n):s}function Mp(s,n){const{type:r="all",exact:i,fetchStatus:a,predicate:c,queryKey:u,stale:d}=s;if(u){if(i){if(n.queryHash!==Mf(u,n.options))return!1}else if(!Wi(n.queryKey,u))return!1}if(r!=="all"){const p=n.isActive();if(r==="active"&&!p||r==="inactive"&&p)return!1}return!(typeof d=="boolean"&&n.isStale()!==d||a&&a!==n.state.fetchStatus||c&&!c(n))}function Pp(s,n){const{exact:r,status:i,predicate:a,mutationKey:c}=s;if(c){if(!n.options.mutationKey)return!1;if(r){if(Qi(n.options.mutationKey)!==Qi(c))return!1}else if(!Wi(n.options.mutationKey,c))return!1}return!(i&&n.state.status!==i||a&&!a(n))}function Mf(s,n){return((n==null?void 0:n.queryKeyHashFn)||Qi)(s)}function Qi(s){return JSON.stringify(s,(n,r)=>ef(r)?Object.keys(r).sort().reduce((i,a)=>(i[a]=r[a],i),{}):r)}function Wi(s,n){return s===n?!0:typeof s!=typeof n?!1:s&&n&&typeof s=="object"&&typeof n=="object"?Object.keys(n).every(r=>Wi(s[r],n[r])):!1}var pv=Object.prototype.hasOwnProperty;function ag(s,n,r=0){if(s===n)return s;if(r>500)return n;const i=Lp(s)&&Lp(n);if(!i&&!(ef(s)&&ef(n)))return n;const c=(i?s:Object.keys(s)).length,u=i?n:Object.keys(n),d=u.length,p=i?new Array(d):{};let g=0;for(let v=0;v<d;v++){const y=i?v:u[v],w=s[y],k=n[y];if(w===k){p[y]=w,(i?v<c:pv.call(s,y))&&g++;continue}if(w===null||k===null||typeof w!="object"||typeof k!="object"){p[y]=k;continue}const P=ag(w,k,r+1);p[y]=P,P===w&&g++}return c===d&&g===c?s:p}function Ju(s,n){if(!n||Object.keys(s).length!==Object.keys(n).length)return!1;for(const r in s)if(s[r]!==n[r])return!1;return!0}function Lp(s){return Array.isArray(s)&&s.length===Object.keys(s).length}function ef(s){if(!Dp(s))return!1;const n=s.constructor;if(n===void 0)return!0;const r=n.prototype;return!(!Dp(r)||!r.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(s)!==Object.prototype)}function Dp(s){return Object.prototype.toString.call(s)==="[object Object]"}function mv(s){return new Promise(n=>{Ts.setTimeout(n,s)})}function tf(s,n,r){return typeof r.structuralSharing=="function"?r.structuralSharing(s,n):r.structuralSharing!==!1?ag(s,n):n}function gv(s,n,r=0){const i=[...s,n];return r&&i.length>r?i.slice(1):i}function yv(s,n,r=0){const i=[n,...s];return r&&i.length>r?i.slice(0,-1):i}var Pf=Symbol();function lg(s,n){return!s.queryFn&&(n!=null&&n.initialPromise)?()=>n.initialPromise:!s.queryFn||s.queryFn===Pf?()=>Promise.reject(new Error(`Missing queryFn: '${s.queryHash}'`)):s.queryFn}function cg(s,n){return typeof s=="function"?s(...n):!!s}function vv(s,n,r){let i=!1,a;return Object.defineProperty(s,"signal",{enumerable:!0,get:()=>(a??(a=n()),i||(i=!0,a.aborted?r():a.addEventListener("abort",r,{once:!0})),a)}),s}var Ki=(()=>{let s=()=>dv;return{isServer(){return s()},setIsServer(n){s=n}}})();function nf(){let s,n;const r=new Promise((a,c)=>{s=a,n=c});r.status="pending",r.catch(()=>{});function i(a){Object.assign(r,a),delete r.resolve,delete r.reject}return r.resolve=a=>{i({status:"fulfilled",value:a}),s(a)},r.reject=a=>{i({status:"rejected",reason:a}),n(a)},r}var xv=fv;function wv(){let s=[],n=0,r=d=>{d()},i=d=>{d()},a=xv;const c=d=>{n?s.push(d):a(()=>{r(d)})},u=()=>{const d=s;s=[],d.length&&a(()=>{i(()=>{d.forEach(p=>{r(p)})})})};return{batch:d=>{let p;n++;try{p=d()}finally{n--,n||u()}return p},batchCalls:d=>(...p)=>{c(()=>{d(...p)})},schedule:c,setNotifyFunction:d=>{r=d},setBatchNotifyFunction:d=>{i=d},setScheduler:d=>{a=d}}}var St=wv(),Ro,Qr,Oo,Zm,bv=(Zm=class extends oa{constructor(){super();ye(this,Ro,!0);ye(this,Qr);ye(this,Oo);ce(this,Oo,n=>{if(typeof window<"u"&&window.addEventListener){const r=()=>n(!0),i=()=>n(!1);return window.addEventListener("online",r,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",i)}}})}onSubscribe(){R(this,Qr)||this.setEventListener(R(this,Oo))}onUnsubscribe(){var n;this.hasListeners()||((n=R(this,Qr))==null||n.call(this),ce(this,Qr,void 0))}setEventListener(n){var r;ce(this,Oo,n),(r=R(this,Qr))==null||r.call(this),ce(this,Qr,n(this.setOnline.bind(this)))}setOnline(n){R(this,Ro)!==n&&(ce(this,Ro,n),this.listeners.forEach(i=>{i(n)}))}isOnline(){return R(this,Ro)}},Ro=new WeakMap,Qr=new WeakMap,Oo=new WeakMap,Zm),Ml=new bv;function kv(s){return Math.min(1e3*2**s,3e4)}function ug(s){return(s??"online")==="online"?Ml.isOnline():!0}var rf=class extends Error{constructor(s){super("CancelledError"),this.revert=s==null?void 0:s.revert,this.silent=s==null?void 0:s.silent}};function fg(s){let n=!1,r=0,i;const a=nf(),c=()=>a.status!=="pending",u=E=>{var C;if(!c()){const M=new rf(E);w(M),(C=s.onCancel)==null||C.call(s,M)}},d=()=>{n=!0},p=()=>{n=!1},g=()=>Of.isFocused()&&(s.networkMode==="always"||Ml.isOnline())&&s.canRun(),v=()=>ug(s.networkMode)&&s.canRun(),y=E=>{c()||(i==null||i(),a.resolve(E))},w=E=>{c()||(i==null||i(),a.reject(E))},k=()=>new Promise(E=>{var C;i=M=>{(c()||g())&&E(M)},(C=s.onPause)==null||C.call(s)}).then(()=>{var E;i=void 0,c()||(E=s.onContinue)==null||E.call(s)}),P=()=>{if(c())return;let E;const C=r===0?s.initialPromise:void 0;try{E=C??s.fn()}catch(M){E=Promise.reject(M)}Promise.resolve(E).then(y).catch(M=>{var $;if(c())return;const T=s.retry??(Ki.isServer()?0:3),_=s.retryDelay??kv,N=typeof _=="function"?_(r,M):_,F=T===!0||typeof T=="number"&&r<T||typeof T=="function"&&T(r,M);if(n||!F){w(M);return}r++,($=s.onFail)==null||$.call(s,r,M),mv(N).then(()=>g()?void 0:k()).then(()=>{n?w(M):P()})})};return{promise:a,status:()=>a.status,cancel:u,continue:()=>(i==null||i(),a),cancelRetry:d,continueRetry:p,canStart:v,start:()=>(v()?P():k().then(P),a)}}var Ns,Jm,dg=(Jm=class{constructor(){ye(this,Ns)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Zu(this.gcTime)&&ce(this,Ns,Ts.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(s){this.gcTime=Math.max(this.gcTime||0,s??(Ki.isServer()?1/0:300*1e3))}clearGcTimeout(){R(this,Ns)!==void 0&&(Ts.clearTimeout(R(this,Ns)),ce(this,Ns,void 0))}},Ns=new WeakMap,Jm);function Sv(s){return{onFetch:(n,r)=>{var v,y,w,k,P;const i=n.options,a=(w=(y=(v=n.fetchOptions)==null?void 0:v.meta)==null?void 0:y.fetchMore)==null?void 0:w.direction,c=((k=n.state.data)==null?void 0:k.pages)||[],u=((P=n.state.data)==null?void 0:P.pageParams)||[];let d={pages:[],pageParams:[]},p=0;const g=async()=>{let E=!1;const C=_=>{vv(_,()=>n.signal,()=>E=!0)},M=lg(n.options,n.fetchOptions),T=async(_,N,F)=>{if(E)return Promise.reject(n.signal.reason);if(N==null&&_.pages.length)return Promise.resolve(_);const G=(()=>{const se={client:n.client,queryKey:n.queryKey,pageParam:N,direction:F?"backward":"forward",meta:n.options.meta};return C(se),se})(),V=await M(G),{maxPages:Q}=n.options,I=F?yv:gv;return{pages:I(_.pages,V,Q),pageParams:I(_.pageParams,N,Q)}};if(a&&c.length){const _=a==="backward",N=_?_v:Ip,F={pages:c,pageParams:u},$=N(i,F);d=await T(F,$,_)}else{const _=s??c.length;do{const N=p===0?u[0]??i.initialPageParam:Ip(i,d);if(p>0&&N==null)break;d=await T(d,N),p++}while(p<_)}return d};n.options.persister?n.fetchFn=()=>{var E,C;return(C=(E=n.options).persister)==null?void 0:C.call(E,g,{client:n.client,queryKey:n.queryKey,meta:n.options.meta,signal:n.signal},r)}:n.fetchFn=g}}}function Ip(s,{pages:n,pageParams:r}){const i=n.length-1;return n.length>0?s.getNextPageParam(n[i],n,r[i],r):void 0}function _v(s,{pages:n,pageParams:r}){var i;return n.length>0?(i=s.getPreviousPageParam)==null?void 0:i.call(s,n[0],n,r[0],r):void 0}var Mo,As,Po,vn,Cs,xt,ea,js,on,hg,fr,eg,Tv=(eg=class extends dg{constructor(n){super();ye(this,on);ye(this,Mo);ye(this,As);ye(this,Po);ye(this,vn);ye(this,Cs);ye(this,xt);ye(this,ea);ye(this,js);ce(this,js,!1),ce(this,ea,n.defaultOptions),this.setOptions(n.options),this.observers=[],ce(this,Cs,n.client),ce(this,vn,R(this,Cs).getQueryCache()),this.queryKey=n.queryKey,this.queryHash=n.queryHash,ce(this,As,$p(this.options)),this.state=n.state??R(this,As),this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return R(this,Mo)}get promise(){var n;return(n=R(this,xt))==null?void 0:n.promise}setOptions(n){if(this.options={...R(this,ea),...n},n!=null&&n._type&&ce(this,Mo,n._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const r=$p(this.options);r.data!==void 0&&(this.setState(Fp(r.data,r.dataUpdatedAt)),ce(this,As,r))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&R(this,vn).remove(this)}setData(n,r){const i=tf(this.state.data,n,this.options);return Ne(this,on,fr).call(this,{data:i,type:"success",dataUpdatedAt:r==null?void 0:r.updatedAt,manual:r==null?void 0:r.manual}),i}setState(n){Ne(this,on,fr).call(this,{type:"setState",state:n})}cancel(n){var i,a;const r=(i=R(this,xt))==null?void 0:i.promise;return(a=R(this,xt))==null||a.cancel(n),r?r.then(Yt).catch(Yt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return R(this,As)}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(n=>an(n.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Pf||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(n=>Jr(n.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(n=>n.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(n=0){return this.state.data===void 0?!0:n==="static"?!1:this.state.isInvalidated?!0:!ig(this.state.dataUpdatedAt,n)}onFocus(){var r;const n=this.observers.find(i=>i.shouldFetchOnWindowFocus());n==null||n.refetch({cancelRefetch:!1}),(r=R(this,xt))==null||r.continue()}onOnline(){var r;const n=this.observers.find(i=>i.shouldFetchOnReconnect());n==null||n.refetch({cancelRefetch:!1}),(r=R(this,xt))==null||r.continue()}addObserver(n){this.observers.includes(n)||(this.observers.push(n),this.clearGcTimeout(),R(this,vn).notify({type:"observerAdded",query:this,observer:n}))}removeObserver(n){this.observers.includes(n)&&(this.observers=this.observers.filter(r=>r!==n),this.observers.length||(R(this,xt)&&(R(this,js)||Ne(this,on,hg).call(this)?R(this,xt).cancel({revert:!0}):R(this,xt).cancelRetry()),this.scheduleGc()),R(this,vn).notify({type:"observerRemoved",query:this,observer:n}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Ne(this,on,fr).call(this,{type:"invalidate"})}async fetch(n,r){var g,v,y,w,k,P,E,C,M,T,_;if(this.state.fetchStatus!=="idle"&&((g=R(this,xt))==null?void 0:g.status())!=="rejected"){if(this.state.data!==void 0&&(r!=null&&r.cancelRefetch))this.cancel({silent:!0});else if(R(this,xt))return R(this,xt).continueRetry(),R(this,xt).promise}if(n&&this.setOptions(n),!this.options.queryFn){const N=this.observers.find(F=>F.options.queryFn);N&&this.setOptions(N.options)}const i=new AbortController,a=N=>{Object.defineProperty(N,"signal",{enumerable:!0,get:()=>(ce(this,js,!0),i.signal)})},c=()=>{const N=lg(this.options,r),$=(()=>{const G={client:R(this,Cs),queryKey:this.queryKey,meta:this.meta};return a(G),G})();return ce(this,js,!1),this.options.persister?this.options.persister(N,$,this):N($)},d=(()=>{const N={fetchOptions:r,options:this.options,queryKey:this.queryKey,client:R(this,Cs),state:this.state,fetchFn:c};return a(N),N})(),p=R(this,Mo)==="infinite"?Sv(this.options.pages):this.options.behavior;p==null||p.onFetch(d,this),ce(this,Po,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((v=d.fetchOptions)==null?void 0:v.meta))&&Ne(this,on,fr).call(this,{type:"fetch",meta:(y=d.fetchOptions)==null?void 0:y.meta}),ce(this,xt,fg({initialPromise:r==null?void 0:r.initialPromise,fn:d.fetchFn,onCancel:N=>{N instanceof rf&&N.revert&&this.setState({...R(this,Po),fetchStatus:"idle"}),i.abort()},onFail:(N,F)=>{Ne(this,on,fr).call(this,{type:"failed",failureCount:N,error:F})},onPause:()=>{Ne(this,on,fr).call(this,{type:"pause"})},onContinue:()=>{Ne(this,on,fr).call(this,{type:"continue"})},retry:d.options.retry,retryDelay:d.options.retryDelay,networkMode:d.options.networkMode,canRun:()=>!0}));try{const N=await R(this,xt).start();if(N===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(N),(k=(w=R(this,vn).config).onSuccess)==null||k.call(w,N,this),(E=(P=R(this,vn).config).onSettled)==null||E.call(P,N,this.state.error,this),N}catch(N){if(N instanceof rf){if(N.silent)return R(this,xt).promise;if(N.revert){if(this.state.data===void 0)throw N;return this.state.data}}throw Ne(this,on,fr).call(this,{type:"error",error:N}),(M=(C=R(this,vn).config).onError)==null||M.call(C,N,this),(_=(T=R(this,vn).config).onSettled)==null||_.call(T,this.state.data,N,this),N}finally{this.scheduleGc()}}},Mo=new WeakMap,As=new WeakMap,Po=new WeakMap,vn=new WeakMap,Cs=new WeakMap,xt=new WeakMap,ea=new WeakMap,js=new WeakMap,on=new WeakSet,hg=function(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"},fr=function(n){const r=i=>{switch(n.type){case"failed":return{...i,fetchFailureCount:n.failureCount,fetchFailureReason:n.error};case"pause":return{...i,fetchStatus:"paused"};case"continue":return{...i,fetchStatus:"fetching"};case"fetch":return{...i,...pg(i.data,this.options),fetchMeta:n.meta??null};case"success":const a={...i,...Fp(n.data,n.dataUpdatedAt),dataUpdateCount:i.dataUpdateCount+1,...!n.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return ce(this,Po,n.manual?a:void 0),a;case"error":const c=n.error;return{...i,error:c,errorUpdateCount:i.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:i.fetchFailureCount+1,fetchFailureReason:c,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...i,isInvalidated:!0};case"setState":return{...i,...n.state}}};this.state=r(this.state),St.batch(()=>{this.observers.forEach(i=>{i.onQueryUpdate()}),R(this,vn).notify({query:this,type:"updated",action:n})})},eg);function pg(s,n){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:ug(n.networkMode)?"fetching":"paused",...s===void 0&&{error:null,status:"pending"}}}function Fp(s,n){return{data:s,dataUpdatedAt:n??Date.now(),error:null,isInvalidated:!1,status:"success"}}function $p(s){const n=typeof s.initialData=="function"?s.initialData():s.initialData,r=n!==void 0,i=r?typeof s.initialDataUpdatedAt=="function"?s.initialDataUpdatedAt():s.initialDataUpdatedAt:0;return{data:n,dataUpdateCount:0,dataUpdatedAt:r?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}var Xt,Me,ta,Ft,Rs,Lo,dr,Wr,na,Do,Io,Os,Ms,Kr,Fo,ze,Bi,sf,of,af,lf,cf,uf,ff,mg,tg,Ev=(tg=class extends oa{constructor(n,r){super();ye(this,ze);ye(this,Xt);ye(this,Me);ye(this,ta);ye(this,Ft);ye(this,Rs);ye(this,Lo);ye(this,dr);ye(this,Wr);ye(this,na);ye(this,Do);ye(this,Io);ye(this,Os);ye(this,Ms);ye(this,Kr);ye(this,Fo,new Set);this.options=r,ce(this,Xt,n),ce(this,Wr,null),ce(this,dr,nf()),this.bindMethods(),this.setOptions(r)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(R(this,Me).addObserver(this),zp(R(this,Me),this.options)?Ne(this,ze,Bi).call(this):this.updateResult(),Ne(this,ze,lf).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return df(R(this,Me),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return df(R(this,Me),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Ne(this,ze,cf).call(this),Ne(this,ze,uf).call(this),R(this,Me).removeObserver(this)}setOptions(n){const r=this.options,i=R(this,Me);if(this.options=R(this,Xt).defaultQueryOptions(n),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof an(this.options.enabled,R(this,Me))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");Ne(this,ze,ff).call(this),R(this,Me).setOptions(this.options),r._defaulted&&!Ju(this.options,r)&&R(this,Xt).getQueryCache().notify({type:"observerOptionsUpdated",query:R(this,Me),observer:this});const a=this.hasListeners();a&&Up(R(this,Me),i,this.options,r)&&Ne(this,ze,Bi).call(this),this.updateResult(),a&&(R(this,Me)!==i||an(this.options.enabled,R(this,Me))!==an(r.enabled,R(this,Me))||Jr(this.options.staleTime,R(this,Me))!==Jr(r.staleTime,R(this,Me)))&&Ne(this,ze,sf).call(this);const c=Ne(this,ze,of).call(this);a&&(R(this,Me)!==i||an(this.options.enabled,R(this,Me))!==an(r.enabled,R(this,Me))||c!==R(this,Kr))&&Ne(this,ze,af).call(this,c)}getOptimisticResult(n){const r=R(this,Xt).getQueryCache().build(R(this,Xt),n),i=this.createResult(r,n);return Av(this,i)&&(ce(this,Ft,i),ce(this,Lo,this.options),ce(this,Rs,R(this,Me).state)),i}getCurrentResult(){return R(this,Ft)}trackResult(n,r){return new Proxy(n,{get:(i,a)=>(this.trackProp(a),r==null||r(a),a==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&R(this,dr).status==="pending"&&R(this,dr).reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(i,a))})}trackProp(n){R(this,Fo).add(n)}getCurrentQuery(){return R(this,Me)}refetch({...n}={}){return this.fetch({...n})}fetchOptimistic(n){const r=R(this,Xt).defaultQueryOptions(n),i=R(this,Xt).getQueryCache().build(R(this,Xt),r);return i.fetch().then(()=>this.createResult(i,r))}fetch(n){return Ne(this,ze,Bi).call(this,{...n,cancelRefetch:n.cancelRefetch??!0}).then(()=>(this.updateResult(),R(this,Ft)))}createResult(n,r){var Q;const i=R(this,Me),a=this.options,c=R(this,Ft),u=R(this,Rs),d=R(this,Lo),g=n!==i?n.state:R(this,ta),{state:v}=n;let y={...v},w=!1,k;if(r._optimisticResults){const I=this.hasListeners(),se=!I&&zp(n,r),L=I&&Up(n,i,r,a);(se||L)&&(y={...y,...pg(v.data,n.options)}),r._optimisticResults==="isRestoring"&&(y.fetchStatus="idle")}let{error:P,errorUpdatedAt:E,status:C}=y;k=y.data;let M=!1;if(r.placeholderData!==void 0&&k===void 0&&C==="pending"){let I;c!=null&&c.isPlaceholderData&&r.placeholderData===(d==null?void 0:d.placeholderData)?(I=c.data,M=!0):I=typeof r.placeholderData=="function"?r.placeholderData((Q=R(this,Io))==null?void 0:Q.state.data,R(this,Io)):r.placeholderData,I!==void 0&&(C="success",k=tf(c==null?void 0:c.data,I,r),w=!0)}if(r.select&&k!==void 0&&!M)if(c&&k===(u==null?void 0:u.data)&&r.select===R(this,na))k=R(this,Do);else try{ce(this,na,r.select),k=r.select(k),k=tf(c==null?void 0:c.data,k,r),ce(this,Do,k),ce(this,Wr,null)}catch(I){ce(this,Wr,I)}R(this,Wr)&&(P=R(this,Wr),k=R(this,Do),E=Date.now(),C="error");const T=y.fetchStatus==="fetching",_=C==="pending",N=C==="error",F=_&&T,$=k!==void 0,V={status:C,fetchStatus:y.fetchStatus,isPending:_,isSuccess:C==="success",isError:N,isInitialLoading:F,isLoading:F,data:k,dataUpdatedAt:y.dataUpdatedAt,error:P,errorUpdatedAt:E,failureCount:y.fetchFailureCount,failureReason:y.fetchFailureReason,errorUpdateCount:y.errorUpdateCount,isFetched:n.isFetched(),isFetchedAfterMount:y.dataUpdateCount>g.dataUpdateCount||y.errorUpdateCount>g.errorUpdateCount,isFetching:T,isRefetching:T&&!_,isLoadingError:N&&!$,isPaused:y.fetchStatus==="paused",isPlaceholderData:w,isRefetchError:N&&$,isStale:Lf(n,r),refetch:this.refetch,promise:R(this,dr),isEnabled:an(r.enabled,n)!==!1};if(this.options.experimental_prefetchInRender){const I=V.data!==void 0,se=V.status==="error"&&!I,L=ne=>{se?ne.reject(V.error):I&&ne.resolve(V.data)},U=()=>{const ne=ce(this,dr,V.promise=nf());L(ne)},q=R(this,dr);switch(q.status){case"pending":n.queryHash===i.queryHash&&L(q);break;case"fulfilled":(se||V.data!==q.value)&&U();break;case"rejected":(!se||V.error!==q.reason)&&U();break}}return V}updateResult(){const n=R(this,Ft),r=this.createResult(R(this,Me),this.options);if(ce(this,Rs,R(this,Me).state),ce(this,Lo,this.options),R(this,Rs).data!==void 0&&ce(this,Io,R(this,Me)),Ju(r,n))return;ce(this,Ft,r);const i=()=>{if(!n)return!0;const{notifyOnChangeProps:a}=this.options,c=typeof a=="function"?a():a;if(c==="all"||!c&&!R(this,Fo).size)return!0;const u=new Set(c??R(this,Fo));return this.options.throwOnError&&u.add("error"),Object.keys(R(this,Ft)).some(d=>{const p=d;return R(this,Ft)[p]!==n[p]&&u.has(p)})};Ne(this,ze,mg).call(this,{listeners:i()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Ne(this,ze,lf).call(this)}},Xt=new WeakMap,Me=new WeakMap,ta=new WeakMap,Ft=new WeakMap,Rs=new WeakMap,Lo=new WeakMap,dr=new WeakMap,Wr=new WeakMap,na=new WeakMap,Do=new WeakMap,Io=new WeakMap,Os=new WeakMap,Ms=new WeakMap,Kr=new WeakMap,Fo=new WeakMap,ze=new WeakSet,Bi=function(n){Ne(this,ze,ff).call(this);let r=R(this,Me).fetch(this.options,n);return n!=null&&n.throwOnError||(r=r.catch(Yt)),r},sf=function(){Ne(this,ze,cf).call(this);const n=Jr(this.options.staleTime,R(this,Me));if(Ki.isServer()||R(this,Ft).isStale||!Zu(n))return;const i=ig(R(this,Ft).dataUpdatedAt,n)+1;ce(this,Os,Ts.setTimeout(()=>{R(this,Ft).isStale||this.updateResult()},i))},of=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(R(this,Me)):this.options.refetchInterval)??!1},af=function(n){Ne(this,ze,uf).call(this),ce(this,Kr,n),!(Ki.isServer()||an(this.options.enabled,R(this,Me))===!1||!Zu(R(this,Kr))||R(this,Kr)===0)&&ce(this,Ms,Ts.setInterval(()=>{(this.options.refetchIntervalInBackground||Of.isFocused())&&Ne(this,ze,Bi).call(this)},R(this,Kr)))},lf=function(){Ne(this,ze,sf).call(this),Ne(this,ze,af).call(this,Ne(this,ze,of).call(this))},cf=function(){R(this,Os)!==void 0&&(Ts.clearTimeout(R(this,Os)),ce(this,Os,void 0))},uf=function(){R(this,Ms)!==void 0&&(Ts.clearInterval(R(this,Ms)),ce(this,Ms,void 0))},ff=function(){const n=R(this,Xt).getQueryCache().build(R(this,Xt),this.options);if(n===R(this,Me))return;const r=R(this,Me);ce(this,Me,n),ce(this,ta,n.state),this.hasListeners()&&(r==null||r.removeObserver(this),n.addObserver(this))},mg=function(n){St.batch(()=>{n.listeners&&this.listeners.forEach(r=>{r(R(this,Ft))}),R(this,Xt).getQueryCache().notify({query:R(this,Me),type:"observerResultsUpdated"})})},tg);function Nv(s,n){return an(n.enabled,s)!==!1&&s.state.data===void 0&&!(s.state.status==="error"&&an(n.retryOnMount,s)===!1)}function zp(s,n){return Nv(s,n)||s.state.data!==void 0&&df(s,n,n.refetchOnMount)}function df(s,n,r){if(an(n.enabled,s)!==!1&&Jr(n.staleTime,s)!=="static"){const i=typeof r=="function"?r(s):r;return i==="always"||i!==!1&&Lf(s,n)}return!1}function Up(s,n,r,i){return(s!==n||an(i.enabled,s)===!1)&&(!r.suspense||s.state.status!=="error")&&Lf(s,r)}function Lf(s,n){return an(n.enabled,s)!==!1&&s.isStaleByTime(Jr(n.staleTime,s))}function Av(s,n){return!Ju(s.getCurrentResult(),n)}var ra,Un,Mt,Ps,Hn,Br,ng,Cv=(ng=class extends dg{constructor(n){super();ye(this,Hn);ye(this,ra);ye(this,Un);ye(this,Mt);ye(this,Ps);ce(this,ra,n.client),this.mutationId=n.mutationId,ce(this,Mt,n.mutationCache),ce(this,Un,[]),this.state=n.state||jv(),this.setOptions(n.options),this.scheduleGc()}setOptions(n){this.options=n,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(n){R(this,Un).includes(n)||(R(this,Un).push(n),this.clearGcTimeout(),R(this,Mt).notify({type:"observerAdded",mutation:this,observer:n}))}removeObserver(n){ce(this,Un,R(this,Un).filter(r=>r!==n)),this.scheduleGc(),R(this,Mt).notify({type:"observerRemoved",mutation:this,observer:n})}optionalRemove(){R(this,Un).length||(this.state.status==="pending"?this.scheduleGc():R(this,Mt).remove(this))}continue(){var n;return((n=R(this,Ps))==null?void 0:n.continue())??this.execute(this.state.variables)}async execute(n){var u,d,p,g,v,y,w,k,P,E,C,M,T,_,N,F,$,G;const r=()=>{Ne(this,Hn,Br).call(this,{type:"continue"})},i={client:R(this,ra),meta:this.options.meta,mutationKey:this.options.mutationKey};ce(this,Ps,fg({fn:()=>this.options.mutationFn?this.options.mutationFn(n,i):Promise.reject(new Error("No mutationFn found")),onFail:(V,Q)=>{Ne(this,Hn,Br).call(this,{type:"failed",failureCount:V,error:Q})},onPause:()=>{Ne(this,Hn,Br).call(this,{type:"pause"})},onContinue:r,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>R(this,Mt).canRun(this)}));const a=this.state.status==="pending",c=!R(this,Ps).canStart();try{if(a)r();else{Ne(this,Hn,Br).call(this,{type:"pending",variables:n,isPaused:c}),R(this,Mt).config.onMutate&&await R(this,Mt).config.onMutate(n,this,i);const Q=await((d=(u=this.options).onMutate)==null?void 0:d.call(u,n,i));Q!==this.state.context&&Ne(this,Hn,Br).call(this,{type:"pending",context:Q,variables:n,isPaused:c})}const V=await R(this,Ps).start();return await((g=(p=R(this,Mt).config).onSuccess)==null?void 0:g.call(p,V,n,this.state.context,this,i)),await((y=(v=this.options).onSuccess)==null?void 0:y.call(v,V,n,this.state.context,i)),await((k=(w=R(this,Mt).config).onSettled)==null?void 0:k.call(w,V,null,this.state.variables,this.state.context,this,i)),await((E=(P=this.options).onSettled)==null?void 0:E.call(P,V,null,n,this.state.context,i)),Ne(this,Hn,Br).call(this,{type:"success",data:V}),V}catch(V){try{await((M=(C=R(this,Mt).config).onError)==null?void 0:M.call(C,V,n,this.state.context,this,i))}catch(Q){Promise.reject(Q)}try{await((_=(T=this.options).onError)==null?void 0:_.call(T,V,n,this.state.context,i))}catch(Q){Promise.reject(Q)}try{await((F=(N=R(this,Mt).config).onSettled)==null?void 0:F.call(N,void 0,V,this.state.variables,this.state.context,this,i))}catch(Q){Promise.reject(Q)}try{await((G=($=this.options).onSettled)==null?void 0:G.call($,void 0,V,n,this.state.context,i))}catch(Q){Promise.reject(Q)}throw Ne(this,Hn,Br).call(this,{type:"error",error:V}),V}finally{R(this,Mt).runNext(this)}}},ra=new WeakMap,Un=new WeakMap,Mt=new WeakMap,Ps=new WeakMap,Hn=new WeakSet,Br=function(n){const r=i=>{switch(n.type){case"failed":return{...i,failureCount:n.failureCount,failureReason:n.error};case"pause":return{...i,isPaused:!0};case"continue":return{...i,isPaused:!1};case"pending":return{...i,context:n.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:n.isPaused,status:"pending",variables:n.variables,submittedAt:Date.now()};case"success":return{...i,data:n.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...i,data:void 0,error:n.error,failureCount:i.failureCount+1,failureReason:n.error,isPaused:!1,status:"error"}}};this.state=r(this.state),St.batch(()=>{R(this,Un).forEach(i=>{i.onMutationUpdate(n)}),R(this,Mt).notify({mutation:this,type:"updated",action:n})})},ng);function jv(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var hr,Cn,sa,rg,Rv=(rg=class extends oa{constructor(n={}){super();ye(this,hr);ye(this,Cn);ye(this,sa);this.config=n,ce(this,hr,new Set),ce(this,Cn,new Map),ce(this,sa,0)}build(n,r,i){const a=new Cv({client:n,mutationCache:this,mutationId:++xl(this,sa)._,options:n.defaultMutationOptions(r),state:i});return this.add(a),a}add(n){R(this,hr).add(n);const r=bl(n);if(typeof r=="string"){const i=R(this,Cn).get(r);i?i.push(n):R(this,Cn).set(r,[n])}this.notify({type:"added",mutation:n})}remove(n){if(R(this,hr).delete(n)){const r=bl(n);if(typeof r=="string"){const i=R(this,Cn).get(r);if(i)if(i.length>1){const a=i.indexOf(n);a!==-1&&i.splice(a,1)}else i[0]===n&&R(this,Cn).delete(r)}}this.notify({type:"removed",mutation:n})}canRun(n){const r=bl(n);if(typeof r=="string"){const i=R(this,Cn).get(r),a=i==null?void 0:i.find(c=>c.state.status==="pending");return!a||a===n}else return!0}runNext(n){var i;const r=bl(n);if(typeof r=="string"){const a=(i=R(this,Cn).get(r))==null?void 0:i.find(c=>c!==n&&c.state.isPaused);return(a==null?void 0:a.continue())??Promise.resolve()}else return Promise.resolve()}clear(){St.batch(()=>{R(this,hr).forEach(n=>{this.notify({type:"removed",mutation:n})}),R(this,hr).clear(),R(this,Cn).clear()})}getAll(){return Array.from(R(this,hr))}find(n){const r={exact:!0,...n};return this.getAll().find(i=>Pp(r,i))}findAll(n={}){return this.getAll().filter(r=>Pp(n,r))}notify(n){St.batch(()=>{this.listeners.forEach(r=>{r(n)})})}resumePausedMutations(){const n=this.getAll().filter(r=>r.state.isPaused);return St.batch(()=>Promise.all(n.map(r=>r.continue().catch(Yt))))}},hr=new WeakMap,Cn=new WeakMap,sa=new WeakMap,rg);function bl(s){var n;return(n=s.options.scope)==null?void 0:n.id}var Bn,sg,Ov=(sg=class extends oa{constructor(n={}){super();ye(this,Bn);this.config=n,ce(this,Bn,new Map)}build(n,r,i){const a=r.queryKey,c=r.queryHash??Mf(a,r);let u=this.get(c);return u||(u=new Tv({client:n,queryKey:a,queryHash:c,options:n.defaultQueryOptions(r),state:i,defaultOptions:n.getQueryDefaults(a)}),this.add(u)),u}add(n){R(this,Bn).has(n.queryHash)||(R(this,Bn).set(n.queryHash,n),this.notify({type:"added",query:n}))}remove(n){const r=R(this,Bn).get(n.queryHash);r&&(n.destroy(),r===n&&R(this,Bn).delete(n.queryHash),this.notify({type:"removed",query:n}))}clear(){St.batch(()=>{this.getAll().forEach(n=>{this.remove(n)})})}get(n){return R(this,Bn).get(n)}getAll(){return[...R(this,Bn).values()]}find(n){const r={exact:!0,...n};return this.getAll().find(i=>Mp(r,i))}findAll(n={}){const r=this.getAll();return Object.keys(n).length>0?r.filter(i=>Mp(n,i)):r}notify(n){St.batch(()=>{this.listeners.forEach(r=>{r(n)})})}onFocus(){St.batch(()=>{this.getAll().forEach(n=>{n.onFocus()})})}onOnline(){St.batch(()=>{this.getAll().forEach(n=>{n.onOnline()})})}},Bn=new WeakMap,sg),st,Xr,Yr,$o,zo,Zr,Uo,Ho,og,Mv=(og=class{constructor(s={}){ye(this,st);ye(this,Xr);ye(this,Yr);ye(this,$o);ye(this,zo);ye(this,Zr);ye(this,Uo);ye(this,Ho);ce(this,st,s.queryCache||new Ov),ce(this,Xr,s.mutationCache||new Rv),ce(this,Yr,s.defaultOptions||{}),ce(this,$o,new Map),ce(this,zo,new Map),ce(this,Zr,0)}mount(){xl(this,Zr)._++,R(this,Zr)===1&&(ce(this,Uo,Of.subscribe(async s=>{s&&(await this.resumePausedMutations(),R(this,st).onFocus())})),ce(this,Ho,Ml.subscribe(async s=>{s&&(await this.resumePausedMutations(),R(this,st).onOnline())})))}unmount(){var s,n;xl(this,Zr)._--,R(this,Zr)===0&&((s=R(this,Uo))==null||s.call(this),ce(this,Uo,void 0),(n=R(this,Ho))==null||n.call(this),ce(this,Ho,void 0))}isFetching(s){return R(this,st).findAll({...s,fetchStatus:"fetching"}).length}isMutating(s){return R(this,Xr).findAll({...s,status:"pending"}).length}getQueryData(s){var r;const n=this.defaultQueryOptions({queryKey:s});return(r=R(this,st).get(n.queryHash))==null?void 0:r.state.data}ensureQueryData(s){const n=this.defaultQueryOptions(s),r=R(this,st).build(this,n),i=r.state.data;return i===void 0?this.fetchQuery(s):(s.revalidateIfStale&&r.isStaleByTime(Jr(n.staleTime,r))&&this.prefetchQuery(n),Promise.resolve(i))}getQueriesData(s){return R(this,st).findAll(s).map(({queryKey:n,state:r})=>{const i=r.data;return[n,i]})}setQueryData(s,n,r){const i=this.defaultQueryOptions({queryKey:s}),a=R(this,st).get(i.queryHash),c=a==null?void 0:a.state.data,u=hv(n,c);if(u!==void 0)return R(this,st).build(this,i).setData(u,{...r,manual:!0})}setQueriesData(s,n,r){return St.batch(()=>R(this,st).findAll(s).map(({queryKey:i})=>[i,this.setQueryData(i,n,r)]))}getQueryState(s){var r;const n=this.defaultQueryOptions({queryKey:s});return(r=R(this,st).get(n.queryHash))==null?void 0:r.state}removeQueries(s){const n=R(this,st);St.batch(()=>{n.findAll(s).forEach(r=>{n.remove(r)})})}resetQueries(s,n){const r=R(this,st);return St.batch(()=>(r.findAll(s).forEach(i=>{i.reset()}),this.refetchQueries({type:"active",...s},n)))}cancelQueries(s,n={}){const r={revert:!0,...n},i=St.batch(()=>R(this,st).findAll(s).map(a=>a.cancel(r)));return Promise.all(i).then(Yt).catch(Yt)}invalidateQueries(s,n={}){return St.batch(()=>(R(this,st).findAll(s).forEach(r=>{r.invalidate()}),(s==null?void 0:s.refetchType)==="none"?Promise.resolve():this.refetchQueries({...s,type:(s==null?void 0:s.refetchType)??(s==null?void 0:s.type)??"active"},n)))}refetchQueries(s,n={}){const r={...n,cancelRefetch:n.cancelRefetch??!0},i=St.batch(()=>R(this,st).findAll(s).filter(a=>!a.isDisabled()&&!a.isStatic()).map(a=>{let c=a.fetch(void 0,r);return r.throwOnError||(c=c.catch(Yt)),a.state.fetchStatus==="paused"?Promise.resolve():c}));return Promise.all(i).then(Yt)}fetchQuery(s){const n=this.defaultQueryOptions(s);n.retry===void 0&&(n.retry=!1);const r=R(this,st).build(this,n);return r.isStaleByTime(Jr(n.staleTime,r))?r.fetch(n):Promise.resolve(r.state.data)}prefetchQuery(s){return this.fetchQuery(s).then(Yt).catch(Yt)}fetchInfiniteQuery(s){return s._type="infinite",this.fetchQuery(s)}prefetchInfiniteQuery(s){return this.fetchInfiniteQuery(s).then(Yt).catch(Yt)}ensureInfiniteQueryData(s){return s._type="infinite",this.ensureQueryData(s)}resumePausedMutations(){return Ml.isOnline()?R(this,Xr).resumePausedMutations():Promise.resolve()}getQueryCache(){return R(this,st)}getMutationCache(){return R(this,Xr)}getDefaultOptions(){return R(this,Yr)}setDefaultOptions(s){ce(this,Yr,s)}setQueryDefaults(s,n){R(this,$o).set(Qi(s),{queryKey:s,defaultOptions:n})}getQueryDefaults(s){const n=[...R(this,$o).values()],r={};return n.forEach(i=>{Wi(s,i.queryKey)&&Object.assign(r,i.defaultOptions)}),r}setMutationDefaults(s,n){R(this,zo).set(Qi(s),{mutationKey:s,defaultOptions:n})}getMutationDefaults(s){const n=[...R(this,zo).values()],r={};return n.forEach(i=>{Wi(s,i.mutationKey)&&Object.assign(r,i.defaultOptions)}),r}defaultQueryOptions(s){if(s._defaulted)return s;const n={...R(this,Yr).queries,...this.getQueryDefaults(s.queryKey),...s,_defaulted:!0};return n.queryHash||(n.queryHash=Mf(n.queryKey,n)),n.refetchOnReconnect===void 0&&(n.refetchOnReconnect=n.networkMode!=="always"),n.throwOnError===void 0&&(n.throwOnError=!!n.suspense),!n.networkMode&&n.persister&&(n.networkMode="offlineFirst"),n.queryFn===Pf&&(n.enabled=!1),n}defaultMutationOptions(s){return s!=null&&s._defaulted?s:{...R(this,Yr).mutations,...(s==null?void 0:s.mutationKey)&&this.getMutationDefaults(s.mutationKey),...s,_defaulted:!0}}clear(){R(this,st).clear(),R(this,Xr).clear()}},st=new WeakMap,Xr=new WeakMap,Yr=new WeakMap,$o=new WeakMap,zo=new WeakMap,Zr=new WeakMap,Uo=new WeakMap,Ho=new WeakMap,og),gg=ie.createContext(void 0),Pv=s=>{const n=ie.useContext(gg);if(!n)throw new Error("No QueryClient set, use QueryClientProvider to set one");return n},Lv=({client:s,children:n})=>(ie.useEffect(()=>(s.mount(),()=>{s.unmount()}),[s]),m.jsx(gg.Provider,{value:s,children:n})),yg=ie.createContext(!1),Dv=()=>ie.useContext(yg);yg.Provider;function Iv(){let s=!1;return{clearReset:()=>{s=!1},reset:()=>{s=!0},isReset:()=>s}}var Fv=ie.createContext(Iv()),$v=()=>ie.useContext(Fv),zv=(s,n,r)=>{const i=r!=null&&r.state.error&&typeof s.throwOnError=="function"?cg(s.throwOnError,[r.state.error,r]):s.throwOnError;(s.suspense||s.experimental_prefetchInRender||i)&&(n.isReset()||(s.retryOnMount=!1))},Uv=s=>{ie.useEffect(()=>{s.clearReset()},[s])},Hv=({result:s,errorResetBoundary:n,throwOnError:r,query:i,suspense:a})=>s.isError&&!n.isReset()&&!s.isFetching&&i&&(a&&s.data===void 0||cg(r,[s.error,i])),Bv=s=>{if(s.suspense){const r=a=>a==="static"?a:Math.max(a??1e3,1e3),i=s.staleTime;s.staleTime=typeof i=="function"?(...a)=>r(i(...a)):r(i),typeof s.gcTime=="number"&&(s.gcTime=Math.max(s.gcTime,1e3))}},qv=(s,n)=>s.isLoading&&s.isFetching&&!n,Gv=(s,n)=>(s==null?void 0:s.suspense)&&n.isPending,Hp=(s,n,r)=>n.fetchOptimistic(s).catch(()=>{r.clearReset()});function Vv(s,n,r){var k,P,E,C;const i=Dv(),a=$v(),c=Pv(),u=c.defaultQueryOptions(s);(P=(k=c.getDefaultOptions().queries)==null?void 0:k._experimental_beforeQuery)==null||P.call(k,u);const d=c.getQueryCache().get(u.queryHash),p=s.subscribed!==!1;u._optimisticResults=i?"isRestoring":p?"optimistic":void 0,Bv(u),zv(u,a,d),Uv(a);const g=!c.getQueryCache().get(u.queryHash),[v]=ie.useState(()=>new n(c,u)),y=v.getOptimisticResult(u),w=!i&&p;if(ie.useSyncExternalStore(ie.useCallback(M=>{const T=w?v.subscribe(St.batchCalls(M)):Yt;return v.updateResult(),T},[v,w]),()=>v.getCurrentResult(),()=>v.getCurrentResult()),ie.useEffect(()=>{v.setOptions(u)},[u,v]),Gv(u,y))throw Hp(u,v,a);if(Hv({result:y,errorResetBoundary:a,throwOnError:u.throwOnError,query:d,suspense:u.suspense}))throw y.error;if((C=(E=c.getDefaultOptions().queries)==null?void 0:E._experimental_afterQuery)==null||C.call(E,u,y),u.experimental_prefetchInRender&&!Ki.isServer()&&qv(y,i)){const M=g?Hp(u,v,a):d==null?void 0:d.promise;M==null||M.catch(Yt).finally(()=>{v.updateResult()})}return u.notifyOnChangeProps?y:v.trackResult(y)}function Df(s,n){return Vv(s,Ev)}/**
|
|
41
|
-
* @license lucide-react v0.468.0 - ISC
|
|
42
|
-
*
|
|
43
|
-
* This source code is licensed under the ISC license.
|
|
44
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
45
|
-
*/const Qv=s=>s.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),vg=(...s)=>s.filter((n,r,i)=>!!n&&n.trim()!==""&&i.indexOf(n)===r).join(" ").trim();/**
|
|
46
|
-
* @license lucide-react v0.468.0 - ISC
|
|
47
|
-
*
|
|
48
|
-
* This source code is licensed under the ISC license.
|
|
49
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
50
|
-
*/var Wv={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
|
|
51
|
-
* @license lucide-react v0.468.0 - ISC
|
|
52
|
-
*
|
|
53
|
-
* This source code is licensed under the ISC license.
|
|
54
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
55
|
-
*/const Kv=ie.forwardRef(({color:s="currentColor",size:n=24,strokeWidth:r=2,absoluteStrokeWidth:i,className:a="",children:c,iconNode:u,...d},p)=>ie.createElement("svg",{ref:p,...Wv,width:n,height:n,stroke:s,strokeWidth:i?Number(r)*24/Number(n):r,className:vg("lucide",a),...d},[...u.map(([g,v])=>ie.createElement(g,v)),...Array.isArray(c)?c:[c]]));/**
|
|
56
|
-
* @license lucide-react v0.468.0 - ISC
|
|
57
|
-
*
|
|
58
|
-
* This source code is licensed under the ISC license.
|
|
59
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
60
|
-
*/const Ke=(s,n)=>{const r=ie.forwardRef(({className:i,...a},c)=>ie.createElement(Kv,{ref:c,iconNode:n,className:vg(`lucide-${Qv(s)}`,i),...a}));return r.displayName=`${s}`,r};/**
|
|
61
|
-
* @license lucide-react v0.468.0 - ISC
|
|
62
|
-
*
|
|
63
|
-
* This source code is licensed under the ISC license.
|
|
64
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
65
|
-
*/const Xv=Ke("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);/**
|
|
66
|
-
* @license lucide-react v0.468.0 - ISC
|
|
67
|
-
*
|
|
68
|
-
* This source code is licensed under the ISC license.
|
|
69
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
70
|
-
*/const Yv=Ke("Bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]);/**
|
|
71
|
-
* @license lucide-react v0.468.0 - ISC
|
|
72
|
-
*
|
|
73
|
-
* This source code is licensed under the ISC license.
|
|
74
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
75
|
-
*/const Bp=Ke("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);/**
|
|
76
|
-
* @license lucide-react v0.468.0 - ISC
|
|
77
|
-
*
|
|
78
|
-
* This source code is licensed under the ISC license.
|
|
79
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
80
|
-
*/const qp=Ke("FilePlus",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M9 15h6",key:"cctwl0"}],["path",{d:"M12 18v-6",key:"17g6i2"}]]);/**
|
|
81
|
-
* @license lucide-react v0.468.0 - ISC
|
|
82
|
-
*
|
|
83
|
-
* This source code is licensed under the ISC license.
|
|
84
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
85
|
-
*/const hf=Ke("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/**
|
|
86
|
-
* @license lucide-react v0.468.0 - ISC
|
|
87
|
-
*
|
|
88
|
-
* This source code is licensed under the ISC license.
|
|
89
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
90
|
-
*/const Zv=Ke("FolderOpen",[["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"}]]);/**
|
|
91
|
-
* @license lucide-react v0.468.0 - ISC
|
|
92
|
-
*
|
|
93
|
-
* This source code is licensed under the ISC license.
|
|
94
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
95
|
-
*/const xg=Ke("GitBranch",[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]]);/**
|
|
96
|
-
* @license lucide-react v0.468.0 - ISC
|
|
97
|
-
*
|
|
98
|
-
* This source code is licensed under the ISC license.
|
|
99
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
100
|
-
*/const wg=Ke("GitCommitHorizontal",[["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"}]]);/**
|
|
101
|
-
* @license lucide-react v0.468.0 - ISC
|
|
102
|
-
*
|
|
103
|
-
* This source code is licensed under the ISC license.
|
|
104
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
105
|
-
*/const Jv=Ke("GitPullRequest",[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M13 6h3a2 2 0 0 1 2 2v7",key:"1yeb86"}],["line",{x1:"6",x2:"6",y1:"9",y2:"21",key:"rroup"}]]);/**
|
|
106
|
-
* @license lucide-react v0.468.0 - ISC
|
|
107
|
-
*
|
|
108
|
-
* This source code is licensed under the ISC license.
|
|
109
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
110
|
-
*/const bg=Ke("Github",[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]]);/**
|
|
111
|
-
* @license lucide-react v0.468.0 - ISC
|
|
112
|
-
*
|
|
113
|
-
* This source code is licensed under the ISC license.
|
|
114
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
115
|
-
*/const ex=Ke("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);/**
|
|
116
|
-
* @license lucide-react v0.468.0 - ISC
|
|
117
|
-
*
|
|
118
|
-
* This source code is licensed under the ISC license.
|
|
119
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
120
|
-
*/const tx=Ke("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/**
|
|
121
|
-
* @license lucide-react v0.468.0 - ISC
|
|
122
|
-
*
|
|
123
|
-
* This source code is licensed under the ISC license.
|
|
124
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
125
|
-
*/const nx=Ke("ListChecks",[["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"m3 7 2 2 4-4",key:"1obspn"}],["path",{d:"M13 6h8",key:"15sg57"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 18h8",key:"oe0vm4"}]]);/**
|
|
126
|
-
* @license lucide-react v0.468.0 - ISC
|
|
127
|
-
*
|
|
128
|
-
* This source code is licensed under the ISC license.
|
|
129
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
130
|
-
*/const kg=Ke("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]]);/**
|
|
131
|
-
* @license lucide-react v0.468.0 - ISC
|
|
132
|
-
*
|
|
133
|
-
* This source code is licensed under the ISC license.
|
|
134
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
135
|
-
*/const rx=Ke("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/**
|
|
136
|
-
* @license lucide-react v0.468.0 - ISC
|
|
137
|
-
*
|
|
138
|
-
* This source code is licensed under the ISC license.
|
|
139
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
140
|
-
*/const kl=Ke("PenLine",[["path",{d:"M12 20h9",key:"t2du7b"}],["path",{d:"M16.376 3.622a1 1 0 0 1 3.002 3.002L7.368 18.635a2 2 0 0 1-.855.506l-2.872.838a.5.5 0 0 1-.62-.62l.838-2.872a2 2 0 0 1 .506-.854z",key:"1ykcvy"}]]);/**
|
|
141
|
-
* @license lucide-react v0.468.0 - ISC
|
|
142
|
-
*
|
|
143
|
-
* This source code is licensed under the ISC license.
|
|
144
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
145
|
-
*/const sx=Ke("Plug",[["path",{d:"M12 22v-5",key:"1ega77"}],["path",{d:"M9 8V2",key:"14iosj"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M18 8v5a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V8Z",key:"osxo6l"}]]);/**
|
|
146
|
-
* @license lucide-react v0.468.0 - ISC
|
|
147
|
-
*
|
|
148
|
-
* This source code is licensed under the ISC license.
|
|
149
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
150
|
-
*/const ox=Ke("Puzzle",[["path",{d:"M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z",key:"w46dr5"}]]);/**
|
|
151
|
-
* @license lucide-react v0.468.0 - ISC
|
|
152
|
-
*
|
|
153
|
-
* This source code is licensed under the ISC license.
|
|
154
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
155
|
-
*/const Ii=Ke("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
|
|
156
|
-
* @license lucide-react v0.468.0 - ISC
|
|
157
|
-
*
|
|
158
|
-
* This source code is licensed under the ISC license.
|
|
159
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
160
|
-
*/const ix=Ke("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/**
|
|
161
|
-
* @license lucide-react v0.468.0 - ISC
|
|
162
|
-
*
|
|
163
|
-
* This source code is licensed under the ISC license.
|
|
164
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
165
|
-
*/const ax=Ke("Sun",[["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"}]]);/**
|
|
166
|
-
* @license lucide-react v0.468.0 - ISC
|
|
167
|
-
*
|
|
168
|
-
* This source code is licensed under the ISC license.
|
|
169
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
170
|
-
*/const lx=Ke("Tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]);/**
|
|
171
|
-
* @license lucide-react v0.468.0 - ISC
|
|
172
|
-
*
|
|
173
|
-
* This source code is licensed under the ISC license.
|
|
174
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
175
|
-
*/const cx=Ke("Terminal",[["polyline",{points:"4 17 10 11 4 5",key:"akl6gq"}],["line",{x1:"12",x2:"20",y1:"19",y2:"19",key:"q2wloq"}]]);/**
|
|
176
|
-
* @license lucide-react v0.468.0 - ISC
|
|
177
|
-
*
|
|
178
|
-
* This source code is licensed under the ISC license.
|
|
179
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
180
|
-
*/const ux=Ke("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);/**
|
|
181
|
-
* @license lucide-react v0.468.0 - ISC
|
|
182
|
-
*
|
|
183
|
-
* This source code is licensed under the ISC license.
|
|
184
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
185
|
-
*/const fx=Ke("Wrench",[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z",key:"cbrjhi"}]]);async function Sg(s){const n=await fetch(s,{headers:{accept:"application/json"}});if(!n.ok)throw new Error(`${n.status} ${n.statusText} — ${s}`);return await n.json()}const dx=s=>!!(s!=null&&s.tiers.some(n=>n.runs.some(r=>r.live)));function hx(){return Df({queryKey:["index"],queryFn:()=>Sg("/api/index"),refetchInterval:s=>dx(s.state.data)?1500:15e3})}function px(s,n){return Df({queryKey:["scorecard",s,n],queryFn:()=>Sg(s),enabled:!!s,refetchInterval:n?1500:!1,placeholderData:r=>r})}function _g(){const s=window.location.hash.replace(/^#\/?/,""),[n,r]=s.split("/").map(i=>i?decodeURIComponent(i):void 0);return{tierKey:n||void 0,runId:r||void 0}}function mx(s){return window.addEventListener("hashchange",s),()=>window.removeEventListener("hashchange",s)}let Gp=_g(),Vp=window.location.hash;function gx(){return window.location.hash!==Vp&&(Vp=window.location.hash,Gp=_g()),Gp}function yx(s,n){const r=[s,n].filter(Boolean).map(i=>encodeURIComponent(i));window.location.hash=r.length?`/${r.join("/")}`:"/"}function vx(){return ie.useSyncExternalStore(mx,gx)}function If(){return ie.useCallback(yx,[])}const xx="ll-theme",Tg=ie.createContext(null);function wx(){return document.documentElement.getAttribute("data-theme")==="neaform"?"neaform":"lastlight"}function bx({children:s}){const[n,r]=ie.useState(wx),i=ie.useCallback(c=>{document.documentElement.setAttribute("data-theme",c);try{localStorage.setItem(xx,c)}catch{}r(c)},[]),a=ie.useCallback(()=>{i(n==="lastlight"?"neaform":"lastlight")},[n,i]);return m.jsx(Tg.Provider,{value:{theme:n,isDark:n==="lastlight",setTheme:i,toggleTheme:a},children:s})}function ia(){const s=ie.useContext(Tg);if(!s)throw new Error("useTheme must be used within a ThemeProvider");return s}function Mu(s){const n=Number.isFinite(s)?s:0;if(n<1e3)return String(Math.round(n));const r=n/1e3;return`${r>=10?Math.round(r):r.toFixed(1)}k`}function Eg(s){if(!s)return"—";if(s<1e3)return`${s}ms`;const n=Math.round(s/1e3);return n<60?`${n}s`:`${Math.floor(n/60)}m${String(n%60).padStart(2,"0")}`}function Pl(s){const n=/^(\d{4}-\d{2}-\d{2})T(\d{2}:\d{2})/.exec(s);return n?`${n[1]} ${n[2]} UTC`:s}function Ff(s,n=1){return s==="code-fix"?{label:"resolved",rate:r=>r.codeFixTotal?r.codeFixResolved/r.codeFixTotal:0,frac:r=>r.codeFixTotal?`${r.codeFixResolved}/${r.codeFixTotal}`:"—"}:s==="pr-review"?{label:`F${n}`,rate:r=>r.reviewTotal?r.avgFbeta:0,frac:r=>r.reviewTotal?`${(r.avgFbeta*100).toFixed(0)}% · P${r.avgPrecision.toFixed(2)}/R${r.avgRecall.toFixed(2)}`:"—"}:{label:"behavioral",rate:r=>r.behavioralTotal?r.behavioralOk/r.behavioralTotal:0,frac:r=>r.behavioralTotal?`${r.behavioralOk}/${r.behavioralTotal}`:"—"}}function kx(s,n){return[...s].sort((r,i)=>n.rate(i)-n.rate(r)||r.totalCostUsd-i.totalCostUsd)}function Vn(s,n){return s[n]??n}function Ng(s){var n,r,i="";if(typeof s=="string"||typeof s=="number")i+=s;else if(typeof s=="object")if(Array.isArray(s)){var a=s.length;for(n=0;n<a;n++)s[n]&&(r=Ng(s[n]))&&(i&&(i+=" "),i+=r)}else for(r in s)s[r]&&(i&&(i+=" "),i+=r);return i}function Zt(){for(var s,n,r=0,i="",a=arguments.length;r<a;r++)(s=arguments[r])&&(n=Ng(s))&&(i&&(i+=" "),i+=n);return i}const Sx={accent:"#fcd34d",info:"#67e8f9",primary:"#7dd3fc"},_x={accent:"#10b981",info:"#0ea5e9",primary:"#06b6d4"},Tx="#e9edf1";function Pu({frac:s,value:n,color:r,best:i}){const{isDark:a}=ia(),c=Math.max(0,Math.min(1,s))*100,u=(a?Sx:_x)[r];return m.jsxs("div",{className:"flex items-center gap-2",children:[m.jsx("span",{className:Zt("h-2 flex-1 overflow-hidden rounded-full",a&&"bg-base-300"),style:a?void 0:{backgroundColor:Tx},children:m.jsx("span",{className:"block h-full rounded-full",style:{width:`${c.toFixed(1)}%`,backgroundColor:u}})}),m.jsxs("span",{className:Zt("min-w-[3rem] text-right font-mono text-xs",i?"font-semibold text-success":"text-base-content"),children:[n,i&&m.jsx("span",{className:"ml-0.5 text-2xs text-accent",children:"★"})]})]})}function $f({runType:s,className:n=""}){return s!=="config"?null:m.jsx("span",{title:"Eval of a deployment's real per-step model config",className:Zt("inline-block whitespace-nowrap rounded-full bg-primary/15 px-2 py-0.5 font-mono text-2xs font-semibold text-primary",n),children:"config"})}function yt({kind:s,children:n}){const r={pass:"bg-success/15 text-success",fail:"bg-error/15 text-error",na:"bg-base-300 text-base-content/50",run:"bg-accent/15 text-accent ll-pulse",wait:"bg-base-300 text-base-content/50",blocked:"bg-warning/15 text-warning"};return m.jsx("span",{className:Zt("inline-block rounded-full px-2 py-0.5 font-mono text-2xs font-semibold",r[s]),children:n})}function Ex({ok:s,name:n,detail:r}){return m.jsx("span",{title:r??"",className:Zt("mr-1 mb-1 inline-block rounded border px-1.5 py-0.5 font-mono text-2xs",s?"border-success/40 text-success":"border-error/40 text-error"),children:n})}function Qp({pass:s,trials:n}){return s===void 0||!n||n<=1?null:m.jsxs("span",{className:"ml-1 font-mono text-2xs text-base-content/50",children:[s,"/",n]})}function Nx({rates:s}){if(!s.length)return m.jsx("span",{className:"text-base-content/40",children:"—"});const a=d=>s.length===1?3:3+d*162/(s.length-1),c=d=>27-Math.max(0,Math.min(1,d))*24,u=s.length-1;return m.jsxs("svg",{width:168,height:30,viewBox:"0 0 168 30",className:"block",children:[s.length>1&&m.jsx("polyline",{fill:"none",stroke:"#fcd34d",strokeWidth:1.5,points:s.map((d,p)=>`${a(p).toFixed(1)},${c(d).toFixed(1)}`).join(" ")}),m.jsx("circle",{cx:a(u).toFixed(1),cy:c(s[u]).toFixed(1),r:2.5,fill:"#fcd34d"})]})}function Ll({run:s,className:n="",size:r="xs"}){const i=r==="sm"?"text-sm":"text-2xs";return s.interrupted?m.jsxs("span",{className:`whitespace-nowrap font-semibold text-base-content/50 ${i} ${n}`,title:"The run was killed or crashed mid-flight. Run `lastlight-evals clean` to tidy it up.",children:["⊘ interrupted",s.progress?` ${s.progress}`:""]}):s.live?s.running&&s.running>0?m.jsxs("span",{className:`ll-pulse whitespace-nowrap font-semibold text-success ${i} ${n}`,children:["● running",s.progress?` ${s.progress}`:""]}):s.queued&&s.queued>0?m.jsx("span",{className:`whitespace-nowrap font-semibold text-warning ${i} ${n}`,children:"○ queued"}):null:null}function Ax({tiers:s}){const n=If(),r=s.flatMap(a=>a.runs.map(c=>({tierKey:a.key,run:c}))).sort((a,c)=>a.run.generatedAt<c.run.generatedAt?1:a.run.generatedAt>c.run.generatedAt?-1:0),i={};for(const a of s)for(const c of a.runs)Object.assign(i,c.labels);return m.jsxs("div",{children:[m.jsx("h1",{className:"mb-1 text-2xl font-semibold text-base-content",children:"Overview"}),m.jsxs("p",{className:"mb-6 font-mono text-xs text-base-content/50",children:[s.length," tier",s.length===1?"":"s"," · ",r.length," run",r.length===1?"":"s"," · click a tier for its history, or a run for its scorecard"]}),m.jsx("div",{className:"mb-9 grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-3",children:s.map(a=>{const c=a.runs[0],u=a.runs.find(d=>d.live)??a.runs.find(d=>d.interrupted);return m.jsxs("button",{onClick:()=>n(a.key),className:"group rounded-xl border border-base-300 bg-base-200 px-4 py-4 text-left hover:border-info",children:[m.jsxs("div",{className:"flex items-center gap-2",children:[m.jsx("span",{className:"font-mono text-sm font-semibold text-base-content",children:a.key}),u&&m.jsx(Ll,{run:u}),m.jsxs("span",{className:"ml-auto font-mono text-2xs text-base-content/40",children:[a.runs.length," run",a.runs.length===1?"":"s"]})]}),m.jsx("div",{className:"mt-2 font-mono text-2xs text-base-content/50",children:c?`latest ${Pl(c.generatedAt)}`:"no runs"})]},a.key)})}),m.jsx("h2",{className:"mb-3.5 text-lg font-semibold text-base-content",children:"Recent runs"}),m.jsx("div",{className:"overflow-x-auto rounded-xl border border-base-300 bg-base-200",children:m.jsxs("table",{className:"w-full border-collapse text-sm",children:[m.jsx("thead",{children:m.jsxs("tr",{className:"bg-neutral text-2xs uppercase tracking-wide text-neutral-content/70",children:[m.jsx("th",{className:"px-3 py-3 text-left font-semibold",children:"run"}),m.jsx("th",{className:"px-3 py-3 text-left font-semibold",children:"tier"}),m.jsx("th",{className:"px-3 py-3 text-left font-semibold",children:"models"}),m.jsx("th",{className:"px-3 py-3 text-left font-semibold",children:"git"}),m.jsx("th",{className:"px-3 py-3 text-right font-semibold",children:"score"}),m.jsx("th",{className:"px-3 py-3 text-right font-semibold",children:"cost"})]})}),m.jsxs("tbody",{children:[r.map(({tierKey:a,run:c})=>{const u=c.byTier.flatMap(y=>y.models),d=u.reduce((y,w)=>y+(w.totalCostUsd||0),0),p=c.byTier.map(y=>{const w=Ff(y.tier),k=y.models.map(w.rate);return k.length?Math.max(...k):null}).filter(y=>y!==null),g=p.length?Math.max(...p):null,v=[...new Set(u.map(y=>Vn(i,y.model)))];return m.jsxs("tr",{onClick:()=>n(a,c.id),className:"cursor-pointer border-t border-base-300 hover:bg-base-300/40",children:[m.jsxs("td",{className:"whitespace-nowrap px-3 py-2.5 font-mono",children:[m.jsx("span",{className:"text-info hover:underline",children:Pl(c.generatedAt)}),m.jsx($f,{runType:c.runType,className:"ml-2"}),m.jsx(Ll,{run:c,className:"ml-2"})]}),m.jsx("td",{className:"px-3 py-2.5 font-mono text-base-content/70",children:a}),m.jsx("td",{className:"px-3 py-2.5 font-mono text-2xs text-base-content/50",children:v.join(", ")}),m.jsx("td",{className:"px-3 py-2.5 font-mono text-base-content/50",children:c.gitSha??"—"}),m.jsx("td",{className:"px-3 py-2.5 text-right font-mono",children:g===null?m.jsx("span",{className:"text-base-content/40",children:"—"}):`${(g*100).toFixed(0)}%`}),m.jsxs("td",{className:"px-3 py-2.5 text-right font-mono",children:["$",d.toFixed(3)]})]},`${a}/${c.id}`)}),r.length===0&&m.jsx("tr",{children:m.jsx("td",{colSpan:6,className:"px-3 py-6 text-center font-mono text-base-content/40",children:"no runs yet"})})]})]})})]})}function Cx({size:s=28,className:n}){return m.jsxs("svg",{viewBox:"0 0 64 64",width:s,height:s,role:"img","aria-label":"Nearform",xmlns:"http://www.w3.org/2000/svg",className:n,children:[m.jsx("path",{fill:"#00e6a4",d:"M38.06,47.42h20.42v5.35h-20.42v-5.35Z"}),m.jsx("path",{fill:"currentColor",d:"M5.52,11.05h5.46l17.72,25.77V11.05h5.87v36.37h-5.46L11.39,21.65v25.77h-5.87V11.05Z"})]})}const Lu=(s,n)=>{var r;return((r=s.byTier.find(i=>i.tier===n))==null?void 0:r.models)??[]};function jx({tier:s}){const n=s.runs,r={};for(const a of n)Object.assign(r,a.labels);const i=[];for(const a of n){for(const c of a.byTier)i.includes(c.tier)||i.push(c.tier);for(const c of a.tiers)i.includes(c)||i.push(c)}return n.length?m.jsx("div",{children:i.map(a=>m.jsx(Rx,{tierKey:s.key,tier:a,runs:n,labels:r},a))}):m.jsxs("p",{className:"py-10 font-mono text-sm text-base-content/50",children:["No runs yet for ",s.key,"."]})}function Rx({tierKey:s,tier:n,runs:r,labels:i}){const a=If(),c=Ff(n),u=[...r].reverse(),d=[];for(const g of u)for(const v of Lu(g,n))d.includes(v.model)||d.push(v.model);const p=g=>new Map(Lu(g,n).map(v=>[v.model,v]));return m.jsxs("section",{className:"mb-10",children:[m.jsxs("h2",{className:"mb-3.5 text-lg font-semibold text-base-content",children:[n," ",m.jsxs("span",{className:"font-normal text-base-content/50",children:["— ",c.label," over ",r.length," run",r.length===1?"":"s"]})]}),d.length>0&&m.jsx("div",{className:"overflow-hidden rounded-xl border border-base-300 bg-base-200",children:m.jsxs("table",{className:"w-full border-collapse text-sm",children:[m.jsx("thead",{children:m.jsxs("tr",{className:"bg-neutral text-2xs uppercase tracking-wide text-neutral-content/70",children:[m.jsx("th",{className:"px-3 py-3 text-left font-semibold",children:"model"}),m.jsx("th",{className:"px-3 py-3 text-left font-semibold",children:"trend (oldest → newest)"}),m.jsx("th",{className:"px-3 py-3 text-right font-semibold",children:"latest"})]})}),m.jsx("tbody",{children:d.map(g=>{const v=u.map(w=>p(w).get(g)).filter(w=>!!w).map(c.rate),y=v.length?v[v.length-1]:0;return m.jsxs("tr",{className:"border-t border-base-300",children:[m.jsx("td",{className:"whitespace-nowrap px-3 py-2.5 font-mono font-semibold text-accent",children:Vn(i,g)}),m.jsx("td",{className:"px-3 py-2.5",children:m.jsx(Nx,{rates:v})}),m.jsx("td",{className:"px-3 py-2.5 text-right font-semibold text-base-content",children:v.length?`${(y*100).toFixed(0)}%`:"—"})]},g)})})]})}),m.jsx("div",{className:"mt-4 overflow-x-auto rounded-xl border border-base-300 bg-base-200",children:m.jsxs("table",{className:"w-full border-collapse text-sm",children:[m.jsx("thead",{children:m.jsxs("tr",{className:"bg-neutral text-2xs uppercase tracking-wide text-neutral-content/70",children:[m.jsx("th",{className:"px-3 py-3 text-left font-semibold",children:"run"}),m.jsx("th",{className:"px-3 py-3 text-left font-semibold",children:"git"}),d.map(g=>m.jsx("th",{className:"px-3 py-3 text-right font-semibold",children:Vn(i,g)},g)),m.jsx("th",{className:"px-3 py-3 text-right font-semibold",children:"cost"})]})}),m.jsx("tbody",{children:r.map(g=>{const v=p(g),y=Lu(g,n).reduce((w,k)=>w+(k.totalCostUsd||0),0);return m.jsxs("tr",{onClick:()=>a(s,g.id),className:"cursor-pointer border-t border-base-300 hover:bg-base-300/40",children:[m.jsxs("td",{className:"px-3 py-2.5 font-mono",children:[m.jsx("span",{className:"text-info hover:underline",children:Pl(g.generatedAt)}),m.jsx($f,{runType:g.runType,className:"ml-2"}),m.jsx(Ll,{run:g,className:"ml-2"})]}),m.jsx("td",{className:"px-3 py-2.5 font-mono text-base-content/50",children:g.gitSha??"—"}),d.map(w=>{const k=v.get(w);return m.jsx("td",{className:"px-3 py-2.5 text-right font-mono",children:k?c.frac(k):m.jsx("span",{className:"text-base-content/40",children:"—"})},w)}),m.jsxs("td",{className:"px-3 py-2.5 text-right font-mono",children:["$",y.toFixed(3)]})]},g.id)})})]})})]})}const bo=s=>s.length?s.reduce((n,r)=>n+r,0)/s.length:0;function Ox(s){var i;const n=new Map;for(const a of s){const c=n.get(a.model)??[];c.push(a),n.set(a.model,c)}const r=[];for(const[a,c]of n){const u=c.filter(v=>v.resolved!==void 0),d=c.filter(v=>v.behavioral!==void 0&&!v.error),p=c.filter(v=>v.review!==void 0&&!v.error),g=c.map(v=>v.durationMs).sort((v,y)=>v-y);r.push({model:a,total:c.length,codeFixResolved:u.filter(v=>v.resolved).length,codeFixTotal:u.length,behavioralOk:d.filter(v=>{var y;return(y=v.behavioral)==null?void 0:y.ok}).length,behavioralTotal:d.length,reviewTotal:p.length,avgPrecision:bo(p.map(v=>v.review.precision)),avgRecall:bo(p.map(v=>v.review.recall)),avgFbeta:bo(p.map(v=>v.review.fbeta)),reviewBeta:(i=p[0])==null?void 0:i.review.beta,avgInputTokens:bo(c.map(v=>v.inputTokens)),avgCachedTokens:bo(c.map(v=>v.cachedTokens)),avgOutputTokens:bo(c.map(v=>v.outputTokens)),totalCostUsd:c.reduce((v,y)=>v+y.costUsd,0),p50DurationMs:g[Math.floor(g.length/2)]??0,errors:c.filter(v=>v.error).length})}return r}function Mx({models:s,tier:n,labels:r,axisLabel:i="model"}){var P;const a=((P=s.find(E=>E.reviewBeta!==void 0))==null?void 0:P.reviewBeta)??1,c=Ff(n,a),u=kx(s,c),d=Math.max(0,...u.map(c.rate)),p=u.filter(E=>E.totalCostUsd>0).map(E=>E.totalCostUsd),g=u.filter(E=>E.p50DurationMs>0).map(E=>E.p50DurationMs),v=p.length?Math.min(...p):1/0,y=g.length?Math.min(...g):1/0,w=p.length?Math.max(...p):1,k=g.length?Math.max(...g):1;return m.jsx("div",{className:"overflow-x-auto rounded-xl border border-base-300 bg-base-200",children:m.jsxs("table",{className:"w-full border-collapse text-sm",children:[m.jsx("thead",{children:m.jsxs("tr",{className:"bg-neutral text-2xs uppercase tracking-wide text-neutral-content/70",children:[m.jsx("th",{className:"w-8 px-3 py-3 text-center font-semibold",children:"#"}),m.jsx("th",{className:"px-3 py-3 text-left font-semibold",children:i.toLowerCase()}),m.jsxs("th",{className:"px-3 py-3 text-left font-semibold",children:[c.label," →"]}),m.jsx("th",{className:"px-3 py-3 text-left font-semibold",children:"total cost ↓"}),m.jsx("th",{className:"px-3 py-3 text-left font-semibold",children:"p50 latency ↓"}),m.jsx("th",{className:"px-3 py-3 text-right font-semibold",children:"avg in/cached/out tok"}),m.jsx("th",{className:"px-3 py-3 text-right font-semibold",children:"err"})]})}),m.jsx("tbody",{children:u.map((E,C)=>{const M=c.rate(E),T=c.frac(E)!=="—"&&M>=d&&d>0,_=E.totalCostUsd>0&&E.totalCostUsd===v,N=E.p50DurationMs>0&&E.p50DurationMs===y;return m.jsxs("tr",{className:"border-t border-base-300",children:[m.jsx("td",{className:"px-3 py-2.5 text-center font-mono text-base-content/50",children:C+1}),m.jsx("td",{className:"whitespace-nowrap px-3 py-2.5 font-mono font-semibold text-accent",children:Vn(r,E.model)}),m.jsx("td",{className:"w-[22%] min-w-[140px] px-3 py-2.5",children:m.jsx(Pu,{frac:M,value:c.frac(E),color:"accent",best:T})}),m.jsx("td",{className:"w-[22%] min-w-[140px] px-3 py-2.5",children:m.jsx(Pu,{frac:w?E.totalCostUsd/w:0,value:`$${E.totalCostUsd.toFixed(3)}`,color:"info",best:_})}),m.jsx("td",{className:"w-[22%] min-w-[140px] px-3 py-2.5",children:m.jsx(Pu,{frac:k?E.p50DurationMs/k:0,value:Eg(E.p50DurationMs),color:"primary",best:N})}),m.jsxs("td",{className:"whitespace-nowrap px-3 py-2.5 text-right font-mono",children:[Mu(E.avgInputTokens),m.jsx("span",{className:"text-base-content/40",children:"/"}),Mu(E.avgCachedTokens),m.jsx("span",{className:"text-base-content/40",children:"/"}),Mu(E.avgOutputTokens)]}),m.jsx("td",{className:`px-3 py-2.5 text-right font-mono ${E.errors?"text-error":"text-base-content/50"}`,children:E.errors})]},E.model)})})]})})}function Ag(s){return s.kind==="tool_pair"}function Px(s){const n=s.content;return(n&&typeof n.id=="string"?n.id:null)??null}function Lx(s){const n=s.content;return n&&typeof n.name=="string"&&n.name||"tool"}function Dx(s){if(s.linkedTo)return s.linkedTo;const n=s.content;return(n&&typeof n.tool_use_id=="string"?n.tool_use_id:null)??null}function Ix(s){var i;const n=[],r=new Set;for(let a=0;a<s.length;a++){const c=s[a];if(!r.has(c.id)){if(c.type==="tool_use"){const u=Px(c);let d=-1;if(u)for(let g=a+1;g<s.length;g++){const v=s[g];if(!r.has(v.id)&&v.type==="tool_result"&&Dx(v)===u){d=g;break}}const p=d>=0?s[d]:null;n.push({kind:"tool_pair",id:`pair-${c.id}`,timestamp:c.timestamp,toolName:((i=p==null?void 0:p.metadata)==null?void 0:i.toolName)??Lx(c),use:c,result:p}),r.add(c.id),p&&r.add(p.id);continue}n.push({kind:"single",id:c.id,timestamp:c.timestamp,message:c})}}return n}function zf(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let Is=zf();function Cg(s){Is=s}const jg=/[&<>"']/,Fx=new RegExp(jg.source,"g"),Rg=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,$x=new RegExp(Rg.source,"g"),zx={"&":"&","<":"<",">":">",'"':""","'":"'"},Wp=s=>zx[s];function ln(s,n){if(n){if(jg.test(s))return s.replace(Fx,Wp)}else if(Rg.test(s))return s.replace($x,Wp);return s}const Ux=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function Hx(s){return s.replace(Ux,(n,r)=>(r=r.toLowerCase(),r==="colon"?":":r.charAt(0)==="#"?r.charAt(1)==="x"?String.fromCharCode(parseInt(r.substring(2),16)):String.fromCharCode(+r.substring(1)):""))}const Bx=/(^|[^\[])\^/g;function He(s,n){let r=typeof s=="string"?s:s.source;n=n||"";const i={replace:(a,c)=>{let u=typeof c=="string"?c:c.source;return u=u.replace(Bx,"$1"),r=r.replace(a,u),i},getRegex:()=>new RegExp(r,n)};return i}function Kp(s){try{s=encodeURI(s).replace(/%25/g,"%")}catch{return null}return s}const Gi={exec:()=>null};function Xp(s,n){const r=s.replace(/\|/g,(c,u,d)=>{let p=!1,g=u;for(;--g>=0&&d[g]==="\\";)p=!p;return p?"|":" |"}),i=r.split(/ \|/);let a=0;if(i[0].trim()||i.shift(),i.length>0&&!i[i.length-1].trim()&&i.pop(),n)if(i.length>n)i.splice(n);else for(;i.length<n;)i.push("");for(;a<i.length;a++)i[a]=i[a].trim().replace(/\\\|/g,"|");return i}function Sl(s,n,r){const i=s.length;if(i===0)return"";let a=0;for(;a<i&&s.charAt(i-a-1)===n;)a++;return s.slice(0,i-a)}function qx(s,n){if(s.indexOf(n[1])===-1)return-1;let r=0;for(let i=0;i<s.length;i++)if(s[i]==="\\")i++;else if(s[i]===n[0])r++;else if(s[i]===n[1]&&(r--,r<0))return i;return-1}function Yp(s,n,r,i){const a=n.href,c=n.title?ln(n.title):null,u=s[1].replace(/\\([\[\]])/g,"$1");if(s[0].charAt(0)!=="!"){i.state.inLink=!0;const d={type:"link",raw:r,href:a,title:c,text:u,tokens:i.inlineTokens(u)};return i.state.inLink=!1,d}return{type:"image",raw:r,href:a,title:c,text:ln(u)}}function Gx(s,n){const r=s.match(/^(\s+)(?:```)/);if(r===null)return n;const i=r[1];return n.split(`
|
|
186
|
-
`).map(a=>{const c=a.match(/^\s+/);if(c===null)return a;const[u]=c;return u.length>=i.length?a.slice(i.length):a}).join(`
|
|
187
|
-
`)}class Dl{constructor(n){Ve(this,"options");Ve(this,"rules");Ve(this,"lexer");this.options=n||Is}space(n){const r=this.rules.block.newline.exec(n);if(r&&r[0].length>0)return{type:"space",raw:r[0]}}code(n){const r=this.rules.block.code.exec(n);if(r){const i=r[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:r[0],codeBlockStyle:"indented",text:this.options.pedantic?i:Sl(i,`
|
|
188
|
-
`)}}}fences(n){const r=this.rules.block.fences.exec(n);if(r){const i=r[0],a=Gx(i,r[3]||"");return{type:"code",raw:i,lang:r[2]?r[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):r[2],text:a}}}heading(n){const r=this.rules.block.heading.exec(n);if(r){let i=r[2].trim();if(/#$/.test(i)){const a=Sl(i,"#");(this.options.pedantic||!a||/ $/.test(a))&&(i=a.trim())}return{type:"heading",raw:r[0],depth:r[1].length,text:i,tokens:this.lexer.inline(i)}}}hr(n){const r=this.rules.block.hr.exec(n);if(r)return{type:"hr",raw:r[0]}}blockquote(n){const r=this.rules.block.blockquote.exec(n);if(r){const i=Sl(r[0].replace(/^ *>[ \t]?/gm,""),`
|
|
189
|
-
`),a=this.lexer.state.top;this.lexer.state.top=!0;const c=this.lexer.blockTokens(i);return this.lexer.state.top=a,{type:"blockquote",raw:r[0],tokens:c,text:i}}}list(n){let r=this.rules.block.list.exec(n);if(r){let i=r[1].trim();const a=i.length>1,c={type:"list",raw:"",ordered:a,start:a?+i.slice(0,-1):"",loose:!1,items:[]};i=a?`\\d{1,9}\\${i.slice(-1)}`:`\\${i}`,this.options.pedantic&&(i=a?i:"[*+-]");const u=new RegExp(`^( {0,3}${i})((?:[ ][^\\n]*)?(?:\\n|$))`);let d="",p="",g=!1;for(;n;){let v=!1;if(!(r=u.exec(n))||this.rules.block.hr.test(n))break;d=r[0],n=n.substring(d.length);let y=r[2].split(`
|
|
190
|
-
`,1)[0].replace(/^\t+/,M=>" ".repeat(3*M.length)),w=n.split(`
|
|
191
|
-
`,1)[0],k=0;this.options.pedantic?(k=2,p=y.trimStart()):(k=r[2].search(/[^ ]/),k=k>4?1:k,p=y.slice(k),k+=r[1].length);let P=!1;if(!y&&/^ *$/.test(w)&&(d+=w+`
|
|
192
|
-
`,n=n.substring(w.length+1),v=!0),!v){const M=new RegExp(`^ {0,${Math.min(3,k-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),T=new RegExp(`^ {0,${Math.min(3,k-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),_=new RegExp(`^ {0,${Math.min(3,k-1)}}(?:\`\`\`|~~~)`),N=new RegExp(`^ {0,${Math.min(3,k-1)}}#`);for(;n;){const F=n.split(`
|
|
193
|
-
`,1)[0];if(w=F,this.options.pedantic&&(w=w.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),_.test(w)||N.test(w)||M.test(w)||T.test(n))break;if(w.search(/[^ ]/)>=k||!w.trim())p+=`
|
|
194
|
-
`+w.slice(k);else{if(P||y.search(/[^ ]/)>=4||_.test(y)||N.test(y)||T.test(y))break;p+=`
|
|
195
|
-
`+w}!P&&!w.trim()&&(P=!0),d+=F+`
|
|
196
|
-
`,n=n.substring(F.length+1),y=w.slice(k)}}c.loose||(g?c.loose=!0:/\n *\n *$/.test(d)&&(g=!0));let E=null,C;this.options.gfm&&(E=/^\[[ xX]\] /.exec(p),E&&(C=E[0]!=="[ ] ",p=p.replace(/^\[[ xX]\] +/,""))),c.items.push({type:"list_item",raw:d,task:!!E,checked:C,loose:!1,text:p,tokens:[]}),c.raw+=d}c.items[c.items.length-1].raw=d.trimEnd(),c.items[c.items.length-1].text=p.trimEnd(),c.raw=c.raw.trimEnd();for(let v=0;v<c.items.length;v++)if(this.lexer.state.top=!1,c.items[v].tokens=this.lexer.blockTokens(c.items[v].text,[]),!c.loose){const y=c.items[v].tokens.filter(k=>k.type==="space"),w=y.length>0&&y.some(k=>/\n.*\n/.test(k.raw));c.loose=w}if(c.loose)for(let v=0;v<c.items.length;v++)c.items[v].loose=!0;return c}}html(n){const r=this.rules.block.html.exec(n);if(r)return{type:"html",block:!0,raw:r[0],pre:r[1]==="pre"||r[1]==="script"||r[1]==="style",text:r[0]}}def(n){const r=this.rules.block.def.exec(n);if(r){const i=r[1].toLowerCase().replace(/\s+/g," "),a=r[2]?r[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",c=r[3]?r[3].substring(1,r[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):r[3];return{type:"def",tag:i,raw:r[0],href:a,title:c}}}table(n){const r=this.rules.block.table.exec(n);if(!r||!/[:|]/.test(r[2]))return;const i=Xp(r[1]),a=r[2].replace(/^\||\| *$/g,"").split("|"),c=r[3]&&r[3].trim()?r[3].replace(/\n[ \t]*$/,"").split(`
|
|
197
|
-
`):[],u={type:"table",raw:r[0],header:[],align:[],rows:[]};if(i.length===a.length){for(const d of a)/^ *-+: *$/.test(d)?u.align.push("right"):/^ *:-+: *$/.test(d)?u.align.push("center"):/^ *:-+ *$/.test(d)?u.align.push("left"):u.align.push(null);for(const d of i)u.header.push({text:d,tokens:this.lexer.inline(d)});for(const d of c)u.rows.push(Xp(d,u.header.length).map(p=>({text:p,tokens:this.lexer.inline(p)})));return u}}lheading(n){const r=this.rules.block.lheading.exec(n);if(r)return{type:"heading",raw:r[0],depth:r[2].charAt(0)==="="?1:2,text:r[1],tokens:this.lexer.inline(r[1])}}paragraph(n){const r=this.rules.block.paragraph.exec(n);if(r){const i=r[1].charAt(r[1].length-1)===`
|
|
198
|
-
`?r[1].slice(0,-1):r[1];return{type:"paragraph",raw:r[0],text:i,tokens:this.lexer.inline(i)}}}text(n){const r=this.rules.block.text.exec(n);if(r)return{type:"text",raw:r[0],text:r[0],tokens:this.lexer.inline(r[0])}}escape(n){const r=this.rules.inline.escape.exec(n);if(r)return{type:"escape",raw:r[0],text:ln(r[1])}}tag(n){const r=this.rules.inline.tag.exec(n);if(r)return!this.lexer.state.inLink&&/^<a /i.test(r[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(r[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(r[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(r[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:r[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:r[0]}}link(n){const r=this.rules.inline.link.exec(n);if(r){const i=r[2].trim();if(!this.options.pedantic&&/^</.test(i)){if(!/>$/.test(i))return;const u=Sl(i.slice(0,-1),"\\");if((i.length-u.length)%2===0)return}else{const u=qx(r[2],"()");if(u>-1){const p=(r[0].indexOf("!")===0?5:4)+r[1].length+u;r[2]=r[2].substring(0,u),r[0]=r[0].substring(0,p).trim(),r[3]=""}}let a=r[2],c="";if(this.options.pedantic){const u=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(a);u&&(a=u[1],c=u[3])}else c=r[3]?r[3].slice(1,-1):"";return a=a.trim(),/^</.test(a)&&(this.options.pedantic&&!/>$/.test(i)?a=a.slice(1):a=a.slice(1,-1)),Yp(r,{href:a&&a.replace(this.rules.inline.anyPunctuation,"$1"),title:c&&c.replace(this.rules.inline.anyPunctuation,"$1")},r[0],this.lexer)}}reflink(n,r){let i;if((i=this.rules.inline.reflink.exec(n))||(i=this.rules.inline.nolink.exec(n))){const a=(i[2]||i[1]).replace(/\s+/g," "),c=r[a.toLowerCase()];if(!c){const u=i[0].charAt(0);return{type:"text",raw:u,text:u}}return Yp(i,c,i[0],this.lexer)}}emStrong(n,r,i=""){let a=this.rules.inline.emStrongLDelim.exec(n);if(!a||a[3]&&i.match(/[\p{L}\p{N}]/u))return;if(!(a[1]||a[2]||"")||!i||this.rules.inline.punctuation.exec(i)){const u=[...a[0]].length-1;let d,p,g=u,v=0;const y=a[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(y.lastIndex=0,r=r.slice(-1*n.length+u);(a=y.exec(r))!=null;){if(d=a[1]||a[2]||a[3]||a[4]||a[5]||a[6],!d)continue;if(p=[...d].length,a[3]||a[4]){g+=p;continue}else if((a[5]||a[6])&&u%3&&!((u+p)%3)){v+=p;continue}if(g-=p,g>0)continue;p=Math.min(p,p+g+v);const w=[...a[0]][0].length,k=n.slice(0,u+a.index+w+p);if(Math.min(u,p)%2){const E=k.slice(1,-1);return{type:"em",raw:k,text:E,tokens:this.lexer.inlineTokens(E)}}const P=k.slice(2,-2);return{type:"strong",raw:k,text:P,tokens:this.lexer.inlineTokens(P)}}}}codespan(n){const r=this.rules.inline.code.exec(n);if(r){let i=r[2].replace(/\n/g," ");const a=/[^ ]/.test(i),c=/^ /.test(i)&&/ $/.test(i);return a&&c&&(i=i.substring(1,i.length-1)),i=ln(i,!0),{type:"codespan",raw:r[0],text:i}}}br(n){const r=this.rules.inline.br.exec(n);if(r)return{type:"br",raw:r[0]}}del(n){const r=this.rules.inline.del.exec(n);if(r)return{type:"del",raw:r[0],text:r[2],tokens:this.lexer.inlineTokens(r[2])}}autolink(n){const r=this.rules.inline.autolink.exec(n);if(r){let i,a;return r[2]==="@"?(i=ln(r[1]),a="mailto:"+i):(i=ln(r[1]),a=i),{type:"link",raw:r[0],text:i,href:a,tokens:[{type:"text",raw:i,text:i}]}}}url(n){var i;let r;if(r=this.rules.inline.url.exec(n)){let a,c;if(r[2]==="@")a=ln(r[0]),c="mailto:"+a;else{let u;do u=r[0],r[0]=((i=this.rules.inline._backpedal.exec(r[0]))==null?void 0:i[0])??"";while(u!==r[0]);a=ln(r[0]),r[1]==="www."?c="http://"+r[0]:c=r[0]}return{type:"link",raw:r[0],text:a,href:c,tokens:[{type:"text",raw:a,text:a}]}}}inlineText(n){const r=this.rules.inline.text.exec(n);if(r){let i;return this.lexer.state.inRawBlock?i=r[0]:i=ln(r[0]),{type:"text",raw:r[0],text:i}}}}const Vx=/^(?: *(?:\n|$))+/,Qx=/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,Wx=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,aa=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Kx=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Og=/(?:[*+-]|\d{1,9}[.)])/,Mg=He(/^(?!bull )((?:.|\n(?!\s*?\n|bull ))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,Og).getRegex(),Uf=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Xx=/^[^\n]+/,Hf=/(?!\s*\])(?:\\.|[^\[\]\\])+/,Yx=He(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",Hf).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Zx=He(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Og).getRegex(),Ul="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Bf=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,Jx=He("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))","i").replace("comment",Bf).replace("tag",Ul).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Pg=He(Uf).replace("hr",aa).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Ul).getRegex(),e1=He(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Pg).getRegex(),qf={blockquote:e1,code:Qx,def:Yx,fences:Wx,heading:Kx,hr:aa,html:Jx,lheading:Mg,list:Zx,newline:Vx,paragraph:Pg,table:Gi,text:Xx},Zp=He("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",aa).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Ul).getRegex(),t1={...qf,table:Zp,paragraph:He(Uf).replace("hr",aa).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Zp).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Ul).getRegex()},n1={...qf,html:He(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Bf).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Gi,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:He(Uf).replace("hr",aa).replace("heading",` *#{1,6} *[^
|
|
199
|
-
]`).replace("lheading",Mg).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Lg=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,r1=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Dg=/^( {2,}|\\)\n(?!\s*$)/,s1=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,la="\\p{P}$+<=>`^|~",o1=He(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,la).getRegex(),i1=/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,a1=He(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,la).getRegex(),l1=He("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,la).getRegex(),c1=He("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,la).getRegex(),u1=He(/\\([punct])/,"gu").replace(/punct/g,la).getRegex(),f1=He(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),d1=He(Bf).replace("(?:-->|$)","-->").getRegex(),h1=He("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",d1).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Il=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,p1=He(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",Il).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Ig=He(/^!?\[(label)\]\[(ref)\]/).replace("label",Il).replace("ref",Hf).getRegex(),Fg=He(/^!?\[(ref)\](?:\[\])?/).replace("ref",Hf).getRegex(),m1=He("reflink|nolink(?!\\()","g").replace("reflink",Ig).replace("nolink",Fg).getRegex(),Gf={_backpedal:Gi,anyPunctuation:u1,autolink:f1,blockSkip:i1,br:Dg,code:r1,del:Gi,emStrongLDelim:a1,emStrongRDelimAst:l1,emStrongRDelimUnd:c1,escape:Lg,link:p1,nolink:Fg,punctuation:o1,reflink:Ig,reflinkSearch:m1,tag:h1,text:s1,url:Gi},g1={...Gf,link:He(/^!?\[(label)\]\((.*?)\)/).replace("label",Il).getRegex(),reflink:He(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Il).getRegex()},pf={...Gf,escape:He(Lg).replace("])","~|])").getRegex(),url:He(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},y1={...pf,br:He(Dg).replace("{2,}","*").getRegex(),text:He(pf.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},_l={normal:qf,gfm:t1,pedantic:n1},Fi={normal:Gf,gfm:pf,breaks:y1,pedantic:g1};class qn{constructor(n){Ve(this,"tokens");Ve(this,"options");Ve(this,"state");Ve(this,"tokenizer");Ve(this,"inlineQueue");this.tokens=[],this.tokens.links=Object.create(null),this.options=n||Is,this.options.tokenizer=this.options.tokenizer||new Dl,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const r={block:_l.normal,inline:Fi.normal};this.options.pedantic?(r.block=_l.pedantic,r.inline=Fi.pedantic):this.options.gfm&&(r.block=_l.gfm,this.options.breaks?r.inline=Fi.breaks:r.inline=Fi.gfm),this.tokenizer.rules=r}static get rules(){return{block:_l,inline:Fi}}static lex(n,r){return new qn(r).lex(n)}static lexInline(n,r){return new qn(r).inlineTokens(n)}lex(n){n=n.replace(/\r\n|\r/g,`
|
|
200
|
-
`),this.blockTokens(n,this.tokens);for(let r=0;r<this.inlineQueue.length;r++){const i=this.inlineQueue[r];this.inlineTokens(i.src,i.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(n,r=[]){this.options.pedantic?n=n.replace(/\t/g," ").replace(/^ +$/gm,""):n=n.replace(/^( *)(\t+)/gm,(d,p,g)=>p+" ".repeat(g.length));let i,a,c,u;for(;n;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(d=>(i=d.call({lexer:this},n,r))?(n=n.substring(i.raw.length),r.push(i),!0):!1))){if(i=this.tokenizer.space(n)){n=n.substring(i.raw.length),i.raw.length===1&&r.length>0?r[r.length-1].raw+=`
|
|
201
|
-
`:r.push(i);continue}if(i=this.tokenizer.code(n)){n=n.substring(i.raw.length),a=r[r.length-1],a&&(a.type==="paragraph"||a.type==="text")?(a.raw+=`
|
|
202
|
-
`+i.raw,a.text+=`
|
|
203
|
-
`+i.text,this.inlineQueue[this.inlineQueue.length-1].src=a.text):r.push(i);continue}if(i=this.tokenizer.fences(n)){n=n.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.heading(n)){n=n.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.hr(n)){n=n.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.blockquote(n)){n=n.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.list(n)){n=n.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.html(n)){n=n.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.def(n)){n=n.substring(i.raw.length),a=r[r.length-1],a&&(a.type==="paragraph"||a.type==="text")?(a.raw+=`
|
|
204
|
-
`+i.raw,a.text+=`
|
|
205
|
-
`+i.raw,this.inlineQueue[this.inlineQueue.length-1].src=a.text):this.tokens.links[i.tag]||(this.tokens.links[i.tag]={href:i.href,title:i.title});continue}if(i=this.tokenizer.table(n)){n=n.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.lheading(n)){n=n.substring(i.raw.length),r.push(i);continue}if(c=n,this.options.extensions&&this.options.extensions.startBlock){let d=1/0;const p=n.slice(1);let g;this.options.extensions.startBlock.forEach(v=>{g=v.call({lexer:this},p),typeof g=="number"&&g>=0&&(d=Math.min(d,g))}),d<1/0&&d>=0&&(c=n.substring(0,d+1))}if(this.state.top&&(i=this.tokenizer.paragraph(c))){a=r[r.length-1],u&&a.type==="paragraph"?(a.raw+=`
|
|
206
|
-
`+i.raw,a.text+=`
|
|
207
|
-
`+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=a.text):r.push(i),u=c.length!==n.length,n=n.substring(i.raw.length);continue}if(i=this.tokenizer.text(n)){n=n.substring(i.raw.length),a=r[r.length-1],a&&a.type==="text"?(a.raw+=`
|
|
208
|
-
`+i.raw,a.text+=`
|
|
209
|
-
`+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=a.text):r.push(i);continue}if(n){const d="Infinite loop on byte: "+n.charCodeAt(0);if(this.options.silent){console.error(d);break}else throw new Error(d)}}return this.state.top=!0,r}inline(n,r=[]){return this.inlineQueue.push({src:n,tokens:r}),r}inlineTokens(n,r=[]){let i,a,c,u=n,d,p,g;if(this.tokens.links){const v=Object.keys(this.tokens.links);if(v.length>0)for(;(d=this.tokenizer.rules.inline.reflinkSearch.exec(u))!=null;)v.includes(d[0].slice(d[0].lastIndexOf("[")+1,-1))&&(u=u.slice(0,d.index)+"["+"a".repeat(d[0].length-2)+"]"+u.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(d=this.tokenizer.rules.inline.blockSkip.exec(u))!=null;)u=u.slice(0,d.index)+"["+"a".repeat(d[0].length-2)+"]"+u.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(d=this.tokenizer.rules.inline.anyPunctuation.exec(u))!=null;)u=u.slice(0,d.index)+"++"+u.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;n;)if(p||(g=""),p=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(v=>(i=v.call({lexer:this},n,r))?(n=n.substring(i.raw.length),r.push(i),!0):!1))){if(i=this.tokenizer.escape(n)){n=n.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.tag(n)){n=n.substring(i.raw.length),a=r[r.length-1],a&&i.type==="text"&&a.type==="text"?(a.raw+=i.raw,a.text+=i.text):r.push(i);continue}if(i=this.tokenizer.link(n)){n=n.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.reflink(n,this.tokens.links)){n=n.substring(i.raw.length),a=r[r.length-1],a&&i.type==="text"&&a.type==="text"?(a.raw+=i.raw,a.text+=i.text):r.push(i);continue}if(i=this.tokenizer.emStrong(n,u,g)){n=n.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.codespan(n)){n=n.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.br(n)){n=n.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.del(n)){n=n.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.autolink(n)){n=n.substring(i.raw.length),r.push(i);continue}if(!this.state.inLink&&(i=this.tokenizer.url(n))){n=n.substring(i.raw.length),r.push(i);continue}if(c=n,this.options.extensions&&this.options.extensions.startInline){let v=1/0;const y=n.slice(1);let w;this.options.extensions.startInline.forEach(k=>{w=k.call({lexer:this},y),typeof w=="number"&&w>=0&&(v=Math.min(v,w))}),v<1/0&&v>=0&&(c=n.substring(0,v+1))}if(i=this.tokenizer.inlineText(c)){n=n.substring(i.raw.length),i.raw.slice(-1)!=="_"&&(g=i.raw.slice(-1)),p=!0,a=r[r.length-1],a&&a.type==="text"?(a.raw+=i.raw,a.text+=i.text):r.push(i);continue}if(n){const v="Infinite loop on byte: "+n.charCodeAt(0);if(this.options.silent){console.error(v);break}else throw new Error(v)}}return r}}class Fl{constructor(n){Ve(this,"options");this.options=n||Is}code(n,r,i){var c;const a=(c=(r||"").match(/^\S*/))==null?void 0:c[0];return n=n.replace(/\n$/,"")+`
|
|
210
|
-
`,a?'<pre><code class="language-'+ln(a)+'">'+(i?n:ln(n,!0))+`</code></pre>
|
|
211
|
-
`:"<pre><code>"+(i?n:ln(n,!0))+`</code></pre>
|
|
212
|
-
`}blockquote(n){return`<blockquote>
|
|
213
|
-
${n}</blockquote>
|
|
214
|
-
`}html(n,r){return n}heading(n,r,i){return`<h${r}>${n}</h${r}>
|
|
215
|
-
`}hr(){return`<hr>
|
|
216
|
-
`}list(n,r,i){const a=r?"ol":"ul",c=r&&i!==1?' start="'+i+'"':"";return"<"+a+c+`>
|
|
217
|
-
`+n+"</"+a+`>
|
|
218
|
-
`}listitem(n,r,i){return`<li>${n}</li>
|
|
219
|
-
`}checkbox(n){return"<input "+(n?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph(n){return`<p>${n}</p>
|
|
220
|
-
`}table(n,r){return r&&(r=`<tbody>${r}</tbody>`),`<table>
|
|
221
|
-
<thead>
|
|
222
|
-
`+n+`</thead>
|
|
223
|
-
`+r+`</table>
|
|
224
|
-
`}tablerow(n){return`<tr>
|
|
225
|
-
${n}</tr>
|
|
226
|
-
`}tablecell(n,r){const i=r.header?"th":"td";return(r.align?`<${i} align="${r.align}">`:`<${i}>`)+n+`</${i}>
|
|
227
|
-
`}strong(n){return`<strong>${n}</strong>`}em(n){return`<em>${n}</em>`}codespan(n){return`<code>${n}</code>`}br(){return"<br>"}del(n){return`<del>${n}</del>`}link(n,r,i){const a=Kp(n);if(a===null)return i;n=a;let c='<a href="'+n+'"';return r&&(c+=' title="'+r+'"'),c+=">"+i+"</a>",c}image(n,r,i){const a=Kp(n);if(a===null)return i;n=a;let c=`<img src="${n}" alt="${i}"`;return r&&(c+=` title="${r}"`),c+=">",c}text(n){return n}}class Vf{strong(n){return n}em(n){return n}codespan(n){return n}del(n){return n}html(n){return n}text(n){return n}link(n,r,i){return""+i}image(n,r,i){return""+i}br(){return""}}class Gn{constructor(n){Ve(this,"options");Ve(this,"renderer");Ve(this,"textRenderer");this.options=n||Is,this.options.renderer=this.options.renderer||new Fl,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Vf}static parse(n,r){return new Gn(r).parse(n)}static parseInline(n,r){return new Gn(r).parseInline(n)}parse(n,r=!0){let i="";for(let a=0;a<n.length;a++){const c=n[a];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[c.type]){const u=c,d=this.options.extensions.renderers[u.type].call({parser:this},u);if(d!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(u.type)){i+=d||"";continue}}switch(c.type){case"space":continue;case"hr":{i+=this.renderer.hr();continue}case"heading":{const u=c;i+=this.renderer.heading(this.parseInline(u.tokens),u.depth,Hx(this.parseInline(u.tokens,this.textRenderer)));continue}case"code":{const u=c;i+=this.renderer.code(u.text,u.lang,!!u.escaped);continue}case"table":{const u=c;let d="",p="";for(let v=0;v<u.header.length;v++)p+=this.renderer.tablecell(this.parseInline(u.header[v].tokens),{header:!0,align:u.align[v]});d+=this.renderer.tablerow(p);let g="";for(let v=0;v<u.rows.length;v++){const y=u.rows[v];p="";for(let w=0;w<y.length;w++)p+=this.renderer.tablecell(this.parseInline(y[w].tokens),{header:!1,align:u.align[w]});g+=this.renderer.tablerow(p)}i+=this.renderer.table(d,g);continue}case"blockquote":{const u=c,d=this.parse(u.tokens);i+=this.renderer.blockquote(d);continue}case"list":{const u=c,d=u.ordered,p=u.start,g=u.loose;let v="";for(let y=0;y<u.items.length;y++){const w=u.items[y],k=w.checked,P=w.task;let E="";if(w.task){const C=this.renderer.checkbox(!!k);g?w.tokens.length>0&&w.tokens[0].type==="paragraph"?(w.tokens[0].text=C+" "+w.tokens[0].text,w.tokens[0].tokens&&w.tokens[0].tokens.length>0&&w.tokens[0].tokens[0].type==="text"&&(w.tokens[0].tokens[0].text=C+" "+w.tokens[0].tokens[0].text)):w.tokens.unshift({type:"text",text:C+" "}):E+=C+" "}E+=this.parse(w.tokens,g),v+=this.renderer.listitem(E,P,!!k)}i+=this.renderer.list(v,d,p);continue}case"html":{const u=c;i+=this.renderer.html(u.text,u.block);continue}case"paragraph":{const u=c;i+=this.renderer.paragraph(this.parseInline(u.tokens));continue}case"text":{let u=c,d=u.tokens?this.parseInline(u.tokens):u.text;for(;a+1<n.length&&n[a+1].type==="text";)u=n[++a],d+=`
|
|
228
|
-
`+(u.tokens?this.parseInline(u.tokens):u.text);i+=r?this.renderer.paragraph(d):d;continue}default:{const u='Token with "'+c.type+'" type was not found.';if(this.options.silent)return console.error(u),"";throw new Error(u)}}}return i}parseInline(n,r){r=r||this.renderer;let i="";for(let a=0;a<n.length;a++){const c=n[a];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[c.type]){const u=this.options.extensions.renderers[c.type].call({parser:this},c);if(u!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(c.type)){i+=u||"";continue}}switch(c.type){case"escape":{const u=c;i+=r.text(u.text);break}case"html":{const u=c;i+=r.html(u.text);break}case"link":{const u=c;i+=r.link(u.href,u.title,this.parseInline(u.tokens,r));break}case"image":{const u=c;i+=r.image(u.href,u.title,u.text);break}case"strong":{const u=c;i+=r.strong(this.parseInline(u.tokens,r));break}case"em":{const u=c;i+=r.em(this.parseInline(u.tokens,r));break}case"codespan":{const u=c;i+=r.codespan(u.text);break}case"br":{i+=r.br();break}case"del":{const u=c;i+=r.del(this.parseInline(u.tokens,r));break}case"text":{const u=c;i+=r.text(u.text);break}default:{const u='Token with "'+c.type+'" type was not found.';if(this.options.silent)return console.error(u),"";throw new Error(u)}}}return i}}class Vi{constructor(n){Ve(this,"options");this.options=n||Is}preprocess(n){return n}postprocess(n){return n}processAllTokens(n){return n}}Ve(Vi,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens"]));var Ds,mf,$g;class v1{constructor(...n){ye(this,Ds);Ve(this,"defaults",zf());Ve(this,"options",this.setOptions);Ve(this,"parse",Ne(this,Ds,mf).call(this,qn.lex,Gn.parse));Ve(this,"parseInline",Ne(this,Ds,mf).call(this,qn.lexInline,Gn.parseInline));Ve(this,"Parser",Gn);Ve(this,"Renderer",Fl);Ve(this,"TextRenderer",Vf);Ve(this,"Lexer",qn);Ve(this,"Tokenizer",Dl);Ve(this,"Hooks",Vi);this.use(...n)}walkTokens(n,r){var a,c;let i=[];for(const u of n)switch(i=i.concat(r.call(this,u)),u.type){case"table":{const d=u;for(const p of d.header)i=i.concat(this.walkTokens(p.tokens,r));for(const p of d.rows)for(const g of p)i=i.concat(this.walkTokens(g.tokens,r));break}case"list":{const d=u;i=i.concat(this.walkTokens(d.items,r));break}default:{const d=u;(c=(a=this.defaults.extensions)==null?void 0:a.childTokens)!=null&&c[d.type]?this.defaults.extensions.childTokens[d.type].forEach(p=>{const g=d[p].flat(1/0);i=i.concat(this.walkTokens(g,r))}):d.tokens&&(i=i.concat(this.walkTokens(d.tokens,r)))}}return i}use(...n){const r=this.defaults.extensions||{renderers:{},childTokens:{}};return n.forEach(i=>{const a={...i};if(a.async=this.defaults.async||a.async||!1,i.extensions&&(i.extensions.forEach(c=>{if(!c.name)throw new Error("extension name required");if("renderer"in c){const u=r.renderers[c.name];u?r.renderers[c.name]=function(...d){let p=c.renderer.apply(this,d);return p===!1&&(p=u.apply(this,d)),p}:r.renderers[c.name]=c.renderer}if("tokenizer"in c){if(!c.level||c.level!=="block"&&c.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const u=r[c.level];u?u.unshift(c.tokenizer):r[c.level]=[c.tokenizer],c.start&&(c.level==="block"?r.startBlock?r.startBlock.push(c.start):r.startBlock=[c.start]:c.level==="inline"&&(r.startInline?r.startInline.push(c.start):r.startInline=[c.start]))}"childTokens"in c&&c.childTokens&&(r.childTokens[c.name]=c.childTokens)}),a.extensions=r),i.renderer){const c=this.defaults.renderer||new Fl(this.defaults);for(const u in i.renderer){if(!(u in c))throw new Error(`renderer '${u}' does not exist`);if(u==="options")continue;const d=u,p=i.renderer[d],g=c[d];c[d]=(...v)=>{let y=p.apply(c,v);return y===!1&&(y=g.apply(c,v)),y||""}}a.renderer=c}if(i.tokenizer){const c=this.defaults.tokenizer||new Dl(this.defaults);for(const u in i.tokenizer){if(!(u in c))throw new Error(`tokenizer '${u}' does not exist`);if(["options","rules","lexer"].includes(u))continue;const d=u,p=i.tokenizer[d],g=c[d];c[d]=(...v)=>{let y=p.apply(c,v);return y===!1&&(y=g.apply(c,v)),y}}a.tokenizer=c}if(i.hooks){const c=this.defaults.hooks||new Vi;for(const u in i.hooks){if(!(u in c))throw new Error(`hook '${u}' does not exist`);if(u==="options")continue;const d=u,p=i.hooks[d],g=c[d];Vi.passThroughHooks.has(u)?c[d]=v=>{if(this.defaults.async)return Promise.resolve(p.call(c,v)).then(w=>g.call(c,w));const y=p.call(c,v);return g.call(c,y)}:c[d]=(...v)=>{let y=p.apply(c,v);return y===!1&&(y=g.apply(c,v)),y}}a.hooks=c}if(i.walkTokens){const c=this.defaults.walkTokens,u=i.walkTokens;a.walkTokens=function(d){let p=[];return p.push(u.call(this,d)),c&&(p=p.concat(c.call(this,d))),p}}this.defaults={...this.defaults,...a}}),this}setOptions(n){return this.defaults={...this.defaults,...n},this}lexer(n,r){return qn.lex(n,r??this.defaults)}parser(n,r){return Gn.parse(n,r??this.defaults)}}Ds=new WeakSet,mf=function(n,r){return(i,a)=>{const c={...a},u={...this.defaults,...c};this.defaults.async===!0&&c.async===!1&&(u.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),u.async=!0);const d=Ne(this,Ds,$g).call(this,!!u.silent,!!u.async);if(typeof i>"u"||i===null)return d(new Error("marked(): input parameter is undefined or null"));if(typeof i!="string")return d(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(i)+", string expected"));if(u.hooks&&(u.hooks.options=u),u.async)return Promise.resolve(u.hooks?u.hooks.preprocess(i):i).then(p=>n(p,u)).then(p=>u.hooks?u.hooks.processAllTokens(p):p).then(p=>u.walkTokens?Promise.all(this.walkTokens(p,u.walkTokens)).then(()=>p):p).then(p=>r(p,u)).then(p=>u.hooks?u.hooks.postprocess(p):p).catch(d);try{u.hooks&&(i=u.hooks.preprocess(i));let p=n(i,u);u.hooks&&(p=u.hooks.processAllTokens(p)),u.walkTokens&&this.walkTokens(p,u.walkTokens);let g=r(p,u);return u.hooks&&(g=u.hooks.postprocess(g)),g}catch(p){return d(p)}}},$g=function(n,r){return i=>{if(i.message+=`
|
|
229
|
-
Please report this to https://github.com/markedjs/marked.`,n){const a="<p>An error occurred:</p><pre>"+ln(i.message+"",!0)+"</pre>";return r?Promise.resolve(a):a}if(r)return Promise.reject(i);throw i}};const Ls=new v1;function $e(s,n){return Ls.parse(s,n)}$e.options=$e.setOptions=function(s){return Ls.setOptions(s),$e.defaults=Ls.defaults,Cg($e.defaults),$e};$e.getDefaults=zf;$e.defaults=Is;$e.use=function(...s){return Ls.use(...s),$e.defaults=Ls.defaults,Cg($e.defaults),$e};$e.walkTokens=function(s,n){return Ls.walkTokens(s,n)};$e.parseInline=Ls.parseInline;$e.Parser=Gn;$e.parser=Gn.parse;$e.Renderer=Fl;$e.TextRenderer=Vf;$e.Lexer=qn;$e.lexer=qn.lex;$e.Tokenizer=Dl;$e.Hooks=Vi;$e.parse=$e;$e.options;$e.setOptions;$e.use;$e.walkTokens;$e.parseInline;Gn.parse;qn.lex;/*! @license DOMPurify 3.4.11 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.11/LICENSE */function Jp(s,n){(n==null||n>s.length)&&(n=s.length);for(var r=0,i=Array(n);r<n;r++)i[r]=s[r];return i}function x1(s){if(Array.isArray(s))return s}function w1(s,n){var r=s==null?null:typeof Symbol<"u"&&s[Symbol.iterator]||s["@@iterator"];if(r!=null){var i,a,c,u,d=[],p=!0,g=!1;try{if(c=(r=r.call(s)).next,n!==0)for(;!(p=(i=c.call(r)).done)&&(d.push(i.value),d.length!==n);p=!0);}catch(v){g=!0,a=v}finally{try{if(!p&&r.return!=null&&(u=r.return(),Object(u)!==u))return}finally{if(g)throw a}}return d}}function b1(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
230
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function k1(s,n){return x1(s)||w1(s,n)||S1(s,n)||b1()}function S1(s,n){if(s){if(typeof s=="string")return Jp(s,n);var r={}.toString.call(s).slice(8,-1);return r==="Object"&&s.constructor&&(r=s.constructor.name),r==="Map"||r==="Set"?Array.from(s):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Jp(s,n):void 0}}const zg=Object.entries,em=Object.setPrototypeOf,_1=Object.isFrozen,T1=Object.getPrototypeOf,E1=Object.getOwnPropertyDescriptor;let _t=Object.freeze,Tt=Object.seal,To=Object.create,Ug=typeof Reflect<"u"&&Reflect,gf=Ug.apply,yf=Ug.construct;_t||(_t=function(n){return n});Tt||(Tt=function(n){return n});gf||(gf=function(n,r){for(var i=arguments.length,a=new Array(i>2?i-2:0),c=2;c<i;c++)a[c-2]=arguments[c];return n.apply(r,a)});yf||(yf=function(n){for(var r=arguments.length,i=new Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];return new n(...i)});const $i=ct(Array.prototype.forEach),N1=ct(Array.prototype.lastIndexOf),tm=ct(Array.prototype.pop),ko=ct(Array.prototype.push),A1=ct(Array.prototype.splice),qr=Array.isArray,qi=ct(String.prototype.toLowerCase),Du=ct(String.prototype.toString),nm=ct(String.prototype.match),zi=ct(String.prototype.replace),rm=ct(String.prototype.indexOf),C1=ct(String.prototype.trim),j1=ct(Number.prototype.toString),R1=ct(Boolean.prototype.toString),sm=typeof BigInt>"u"?null:ct(BigInt.prototype.toString),om=typeof Symbol>"u"?null:ct(Symbol.prototype.toString),vt=ct(Object.prototype.hasOwnProperty),Ui=ct(Object.prototype.toString),kt=ct(RegExp.prototype.test),bs=O1(TypeError);function ct(s){return function(n){n instanceof RegExp&&(n.lastIndex=0);for(var r=arguments.length,i=new Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];return gf(s,n,i)}}function O1(s){return function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return yf(s,r)}}function Pe(s,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:qi;if(em&&em(s,null),!qr(n))return s;let i=n.length;for(;i--;){let a=n[i];if(typeof a=="string"){const c=r(a);c!==a&&(_1(n)||(n[i]=c),a=c)}s[a]=!0}return s}function M1(s){for(let n=0;n<s.length;n++)vt(s,n)||(s[n]=null);return s}function It(s){const n=To(null);for(const i of zg(s)){var r=k1(i,2);const a=r[0],c=r[1];vt(s,a)&&(qr(c)?n[a]=M1(c):c&&typeof c=="object"&&c.constructor===Object?n[a]=It(c):n[a]=c)}return n}function P1(s){switch(typeof s){case"string":return s;case"number":return j1(s);case"boolean":return R1(s);case"bigint":return sm?sm(s):"0";case"symbol":return om?om(s):"Symbol()";case"undefined":return Ui(s);case"function":case"object":{if(s===null)return Ui(s);const n=s,r=zn(n,"toString");if(typeof r=="function"){const i=r(n);return typeof i=="string"?i:Ui(i)}return Ui(s)}default:return Ui(s)}}function zn(s,n){for(;s!==null;){const i=E1(s,n);if(i){if(i.get)return ct(i.get);if(typeof i.value=="function")return ct(i.value)}s=T1(s)}function r(){return null}return r}function L1(s){try{return kt(s,""),!0}catch{return!1}}const im=_t(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Iu=_t(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Fu=_t(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),D1=_t(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),$u=_t(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),I1=_t(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),am=_t(["#text"]),lm=_t(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),zu=_t(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),cm=_t(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Tl=_t(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),F1=Tt(/{{[\w\W]*|^[\w\W]*}}/g),$1=Tt(/<%[\w\W]*|^[\w\W]*%>/g),z1=Tt(/\${[\w\W]*/g),U1=Tt(/^data-[\-\w.\u00B7-\uFFFF]+$/),H1=Tt(/^aria-[\-\w]+$/),um=Tt(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),B1=Tt(/^(?:\w+script|data):/i),q1=Tt(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),G1=Tt(/^html$/i),V1=Tt(/^[a-z][.\w]*(-[.\w]+)+$/i),fm=Tt(/<[/\w!]/g),Q1=Tt(/<[/\w]/g),W1=Tt(/<\/no(script|embed|frames)/i),K1=Tt(/\/>/i),$n={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},X1=function(){return typeof window>"u"?null:window},Y1=function(n,r){if(typeof n!="object"||typeof n.createPolicy!="function")return null;let i=null;const a="data-tt-policy-suffix";r&&r.hasAttribute(a)&&(i=r.getAttribute(a));const c="dompurify"+(i?"#"+i:"");try{return n.createPolicy(c,{createHTML(u){return u},createScriptURL(u){return u}})}catch{return console.warn("TrustedTypes policy "+c+" could not be created."),null}},dm=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},Hr=function(n,r,i,a){return vt(n,r)&&qr(n[r])?Pe(a.base?It(a.base):{},n[r],a.transform):i};function Hg(){let s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:X1();const n=re=>Hg(re);if(n.version="3.4.11",n.removed=[],!s||!s.document||s.document.nodeType!==$n.document||!s.Element)return n.isSupported=!1,n;let r=s.document;const i=r,a=i.currentScript;s.DocumentFragment;const c=s.HTMLTemplateElement,u=s.Node,d=s.Element,p=s.NodeFilter,g=s.NamedNodeMap;g===void 0&&(s.NamedNodeMap||s.MozNamedAttrMap),s.HTMLFormElement;const v=s.DOMParser,y=s.trustedTypes,w=d.prototype,k=zn(w,"cloneNode"),P=zn(w,"remove"),E=zn(w,"nextSibling"),C=zn(w,"childNodes"),M=zn(w,"parentNode"),T=zn(w,"shadowRoot"),_=zn(w,"attributes"),N=u&&u.prototype?zn(u.prototype,"nodeType"):null,F=u&&u.prototype?zn(u.prototype,"nodeName"):null;if(typeof c=="function"){const re=r.createElement("template");re.content&&re.content.ownerDocument&&(r=re.content.ownerDocument)}let $,G="",V,Q=!1,I=0;const se=function(){if(I>0)throw bs('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},L=function(b){se(),I++;try{return $.createHTML(b)}finally{I--}},U=function(b){se(),I++;try{return $.createScriptURL(b)}finally{I--}},q=function(){return Q||(V=Y1(y,a),Q=!0),V},ne=r,me=ne.implementation,le=ne.createNodeIterator,K=ne.createDocumentFragment,oe=ne.getElementsByTagName,J=i.importNode;let A=dm();n.isSupported=typeof zg=="function"&&typeof M=="function"&&me&&me.createHTMLDocument!==void 0;const W=F1,we=$1,ge=z1,Te=U1,_e=H1,Ce=B1,be=q1,Re=V1;let Ue=um,je=null;const $t=Pe({},[...im,...Iu,...Fu,...$u,...am]);let Se=null;const nt=Pe({},[...lm,...zu,...cm,...Tl]);let De=Object.seal(To(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ut=null,yr=null;const Jt=Object.seal(To(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let zs=!0,Wn=!0,Kn=!1,Us=!0,xn=!1,vr=!0,Rn=!1,Hs=!1,ts=null,xr=null,Bs=!1,un=!1,On=!1,qs=!1,Qo=!0,Wo=!1;const da="user-content-";let ns=!0,rs=!1,Mn={},zt=null;const ss=Pe({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let Xn=null;const Yn=Pe({},["audio","video","img","source","image","track"]);let Gs=null;const Ko=Pe({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),os="http://www.w3.org/1998/Math/MathML",is="http://www.w3.org/2000/svg",en="http://www.w3.org/1999/xhtml";let Pn=en,Vs=!1,Zn=null;const Xo=Pe({},[os,is,en],Du),wr=_t(["mi","mo","mn","ms","mtext"]);let Yo=Pe({},wr);const br=_t(["annotation-xml"]);let kr=Pe({},br);const Qs=Pe({},["title","style","font","a","script"]);let Jn=null;const Ql=["application/xhtml+xml","text/html"],Wl="text/html";let Xe=null,Ut=null;const ha=r.createElement("form"),Zo=function(b){return b instanceof RegExp||b instanceof Function},Jo=function(){let b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Ut&&Ut===b)return;(!b||typeof b!="object")&&(b={}),b=It(b),Jn=Ql.indexOf(b.PARSER_MEDIA_TYPE)===-1?Wl:b.PARSER_MEDIA_TYPE,Xe=Jn==="application/xhtml+xml"?Du:qi,je=Hr(b,"ALLOWED_TAGS",$t,{transform:Xe}),Se=Hr(b,"ALLOWED_ATTR",nt,{transform:Xe}),Zn=Hr(b,"ALLOWED_NAMESPACES",Xo,{transform:Du}),Gs=Hr(b,"ADD_URI_SAFE_ATTR",Ko,{transform:Xe,base:Ko}),Xn=Hr(b,"ADD_DATA_URI_TAGS",Yn,{transform:Xe,base:Yn}),zt=Hr(b,"FORBID_CONTENTS",ss,{transform:Xe}),ut=Hr(b,"FORBID_TAGS",It({}),{transform:Xe}),yr=Hr(b,"FORBID_ATTR",It({}),{transform:Xe}),Mn=vt(b,"USE_PROFILES")?b.USE_PROFILES&&typeof b.USE_PROFILES=="object"?It(b.USE_PROFILES):b.USE_PROFILES:!1,zs=b.ALLOW_ARIA_ATTR!==!1,Wn=b.ALLOW_DATA_ATTR!==!1,Kn=b.ALLOW_UNKNOWN_PROTOCOLS||!1,Us=b.ALLOW_SELF_CLOSE_IN_ATTR!==!1,xn=b.SAFE_FOR_TEMPLATES||!1,vr=b.SAFE_FOR_XML!==!1,Rn=b.WHOLE_DOCUMENT||!1,un=b.RETURN_DOM||!1,On=b.RETURN_DOM_FRAGMENT||!1,qs=b.RETURN_TRUSTED_TYPE||!1,Bs=b.FORCE_BODY||!1,Qo=b.SANITIZE_DOM!==!1,Wo=b.SANITIZE_NAMED_PROPS||!1,ns=b.KEEP_CONTENT!==!1,rs=b.IN_PLACE||!1,Ue=L1(b.ALLOWED_URI_REGEXP)?b.ALLOWED_URI_REGEXP:um,Pn=typeof b.NAMESPACE=="string"?b.NAMESPACE:en,Yo=vt(b,"MATHML_TEXT_INTEGRATION_POINTS")&&b.MATHML_TEXT_INTEGRATION_POINTS&&typeof b.MATHML_TEXT_INTEGRATION_POINTS=="object"?It(b.MATHML_TEXT_INTEGRATION_POINTS):Pe({},wr),kr=vt(b,"HTML_INTEGRATION_POINTS")&&b.HTML_INTEGRATION_POINTS&&typeof b.HTML_INTEGRATION_POINTS=="object"?It(b.HTML_INTEGRATION_POINTS):Pe({},br);const D=vt(b,"CUSTOM_ELEMENT_HANDLING")&&b.CUSTOM_ELEMENT_HANDLING&&typeof b.CUSTOM_ELEMENT_HANDLING=="object"?It(b.CUSTOM_ELEMENT_HANDLING):To(null);if(De=To(null),vt(D,"tagNameCheck")&&Zo(D.tagNameCheck)&&(De.tagNameCheck=D.tagNameCheck),vt(D,"attributeNameCheck")&&Zo(D.attributeNameCheck)&&(De.attributeNameCheck=D.attributeNameCheck),vt(D,"allowCustomizedBuiltInElements")&&typeof D.allowCustomizedBuiltInElements=="boolean"&&(De.allowCustomizedBuiltInElements=D.allowCustomizedBuiltInElements),Tt(De),xn&&(Wn=!1),On&&(un=!0),Mn&&(je=Pe({},am),Se=To(null),Mn.html===!0&&(Pe(je,im),Pe(Se,lm)),Mn.svg===!0&&(Pe(je,Iu),Pe(Se,zu),Pe(Se,Tl)),Mn.svgFilters===!0&&(Pe(je,Fu),Pe(Se,zu),Pe(Se,Tl)),Mn.mathMl===!0&&(Pe(je,$u),Pe(Se,cm),Pe(Se,Tl))),Jt.tagCheck=null,Jt.attributeCheck=null,vt(b,"ADD_TAGS")&&(typeof b.ADD_TAGS=="function"?Jt.tagCheck=b.ADD_TAGS:qr(b.ADD_TAGS)&&(je===$t&&(je=It(je)),Pe(je,b.ADD_TAGS,Xe))),vt(b,"ADD_ATTR")&&(typeof b.ADD_ATTR=="function"?Jt.attributeCheck=b.ADD_ATTR:qr(b.ADD_ATTR)&&(Se===nt&&(Se=It(Se)),Pe(Se,b.ADD_ATTR,Xe))),vt(b,"ADD_URI_SAFE_ATTR")&&qr(b.ADD_URI_SAFE_ATTR)&&Pe(Gs,b.ADD_URI_SAFE_ATTR,Xe),vt(b,"FORBID_CONTENTS")&&qr(b.FORBID_CONTENTS)&&(zt===ss&&(zt=It(zt)),Pe(zt,b.FORBID_CONTENTS,Xe)),vt(b,"ADD_FORBID_CONTENTS")&&qr(b.ADD_FORBID_CONTENTS)&&(zt===ss&&(zt=It(zt)),Pe(zt,b.ADD_FORBID_CONTENTS,Xe)),ns&&(je["#text"]=!0),Rn&&Pe(je,["html","head","body"]),je.table&&(Pe(je,["tbody"]),delete ut.tbody),b.TRUSTED_TYPES_POLICY){if(typeof b.TRUSTED_TYPES_POLICY.createHTML!="function")throw bs('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof b.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw bs('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const te=$;$=b.TRUSTED_TYPES_POLICY;try{G=L("")}catch(de){throw $=te,de}}else b.TRUSTED_TYPES_POLICY===null?($=void 0,G=""):($===void 0&&($=q()),$&&typeof G=="string"&&(G=L("")));_t&&_t(b),Ut=b},ei=Pe({},[...Iu,...Fu,...D1]),ti=Pe({},[...$u,...I1]),pa=function(b,D,te){return D.namespaceURI===en?b==="svg":D.namespaceURI===os?b==="svg"&&(te==="annotation-xml"||Yo[te]):!!ei[b]},ma=function(b,D,te){return D.namespaceURI===en?b==="math":D.namespaceURI===is?b==="math"&&kr[te]:!!ti[b]},Kl=function(b,D,te){return D.namespaceURI===is&&!kr[te]||D.namespaceURI===os&&!Yo[te]?!1:!ti[b]&&(Qs[b]||!ei[b])},Xl=function(b){let D=M(b);(!D||!D.tagName)&&(D={namespaceURI:Pn,tagName:"template"});const te=qi(b.tagName),de=qi(D.tagName);return Zn[b.namespaceURI]?b.namespaceURI===is?pa(te,D,de):b.namespaceURI===os?ma(te,D,de):b.namespaceURI===en?Kl(te,D,de):!!(Jn==="application/xhtml+xml"&&Zn[b.namespaceURI]):!1},Fe=function(b){ko(n.removed,{element:b});try{M(b).removeChild(b)}catch{if(P(b),!M(b))throw bs("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},ga=function(b){const D=C(b);if(D){const de=[];$i(D,Ee=>{ko(de,Ee)}),$i(de,Ee=>{try{P(Ee)}catch{}})}const te=_(b);if(te)for(let de=te.length-1;de>=0;--de){const Ee=te[de],Oe=Ee&&Ee.name;if(typeof Oe=="string")try{b.removeAttribute(Oe)}catch{}}},wn=function(b,D){try{ko(n.removed,{attribute:D.getAttributeNode(b),from:D})}catch{ko(n.removed,{attribute:null,from:D})}if(D.removeAttribute(b),b==="is")if(un||On)try{Fe(D)}catch{}else try{D.setAttribute(b,"")}catch{}},ya=function(b){const D=_(b);if(D)for(let te=D.length-1;te>=0;--te){const de=D[te],Ee=de&&de.name;if(!(typeof Ee!="string"||Se[Xe(Ee)]))try{b.removeAttribute(Ee)}catch{}}},Ws=function(b){const D=[b];for(;D.length>0;){const te=D.pop();(N?N(te):te.nodeType)===$n.element&&ya(te);const Ee=C(te);if(Ee)for(let Oe=Ee.length-1;Oe>=0;--Oe)D.push(Ee[Oe])}},va=function(b){let D=null,te=null;if(Bs)b="<remove></remove>"+b;else{const Oe=nm(b,/^[\r\n\t ]+/);te=Oe&&Oe[0]}Jn==="application/xhtml+xml"&&Pn===en&&(b='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+b+"</body></html>");const de=$?L(b):b;if(Pn===en)try{D=new v().parseFromString(de,Jn)}catch{}if(!D||!D.documentElement){D=me.createDocument(Pn,"template",null);try{D.documentElement.innerHTML=Vs?G:de}catch{}}const Ee=D.body||D.documentElement;return b&&te&&Ee.insertBefore(r.createTextNode(te),Ee.childNodes[0]||null),Pn===en?oe.call(D,Rn?"html":"body")[0]:Rn?D.documentElement:Ee},ni=function(b){return le.call(b.ownerDocument||b,b,p.SHOW_ELEMENT|p.SHOW_COMMENT|p.SHOW_TEXT|p.SHOW_PROCESSING_INSTRUCTION|p.SHOW_CDATA_SECTION,null)},er=function(b){return b=zi(b,W," "),b=zi(b,we," "),b=zi(b,ge," "),b},Ht=function(b){var D;b.normalize();const te=le.call(b.ownerDocument||b,b,p.SHOW_TEXT|p.SHOW_COMMENT|p.SHOW_CDATA_SECTION|p.SHOW_PROCESSING_INSTRUCTION,null);let de=te.nextNode();for(;de;)de.data=er(de.data),de=te.nextNode();const Ee=(D=b.querySelectorAll)===null||D===void 0?void 0:D.call(b,"template");Ee&&$i(Ee,Oe=>{ht(Oe.content)&&Ht(Oe.content)})},Ks=function(b){const D=F?F(b):null;return typeof D!="string"||Xe(D)!=="form"?!1:typeof b.nodeName!="string"||typeof b.textContent!="string"||typeof b.removeChild!="function"||b.attributes!==_(b)||typeof b.removeAttribute!="function"||typeof b.setAttribute!="function"||typeof b.namespaceURI!="string"||typeof b.insertBefore!="function"||typeof b.hasChildNodes!="function"||b.nodeType!==N(b)||b.childNodes!==C(b)},ht=function(b){if(!N||typeof b!="object"||b===null)return!1;try{return N(b)===$n.documentFragment}catch{return!1}},as=function(b){if(!N||typeof b!="object"||b===null)return!1;try{return typeof N(b)=="number"}catch{return!1}};function bn(re,b,D){re.length!==0&&$i(re,te=>{te.call(n,b,D,Ut)})}const Yl=function(b,D){return!!(vr&&b.hasChildNodes()&&!as(b.firstElementChild)&&kt(fm,b.textContent)&&kt(fm,b.innerHTML)||vr&&b.namespaceURI===en&&D==="style"&&as(b.firstElementChild)||b.nodeType===$n.processingInstruction||vr&&b.nodeType===$n.comment&&kt(Q1,b.data))},Xs=function(b,D){if(!ut[D]&&xa(D)&&(De.tagNameCheck instanceof RegExp&&kt(De.tagNameCheck,D)||De.tagNameCheck instanceof Function&&De.tagNameCheck(D)))return!1;if(ns&&!zt[D]){const te=M(b),de=C(b);if(de&&te){const Ee=de.length;for(let Oe=Ee-1;Oe>=0;--Oe){const ot=rs?de[Oe]:k(de[Oe],!0);te.insertBefore(ot,E(b))}}}return Fe(b),!0},ls=function(b){if(bn(A.beforeSanitizeElements,b,null),Ks(b))return Fe(b),!0;const D=Xe(F?F(b):b.nodeName);if(bn(A.uponSanitizeElement,b,{tagName:D,allowedTags:je}),Yl(b,D))return Fe(b),!0;if(ut[D]||!(Jt.tagCheck instanceof Function&&Jt.tagCheck(D))&&!je[D])return Xs(b,D);if((N?N(b):b.nodeType)===$n.element&&!Xl(b)||(D==="noscript"||D==="noembed"||D==="noframes")&&kt(W1,b.innerHTML))return Fe(b),!0;if(xn&&b.nodeType===$n.text){const de=er(b.textContent);b.textContent!==de&&(ko(n.removed,{element:b.cloneNode()}),b.textContent=de)}return bn(A.afterSanitizeElements,b,null),!1},Sr=function(b,D,te){if(yr[D]||Qo&&(D==="id"||D==="name")&&(te in r||te in ha))return!1;const de=Se[D]||Jt.attributeCheck instanceof Function&&Jt.attributeCheck(D,b);if(!(Wn&&kt(Te,D))){if(!(zs&&kt(_e,D))){if(de){if(!Gs[D]){if(!kt(Ue,zi(te,be,""))){if(!((D==="src"||D==="xlink:href"||D==="href")&&b!=="script"&&rm(te,"data:")===0&&Xn[b])){if(!(Kn&&!kt(Ce,zi(te,be,"")))){if(te)return!1}}}}}else if(!(xa(b)&&(De.tagNameCheck instanceof RegExp&&kt(De.tagNameCheck,b)||De.tagNameCheck instanceof Function&&De.tagNameCheck(b))&&(De.attributeNameCheck instanceof RegExp&&kt(De.attributeNameCheck,D)||De.attributeNameCheck instanceof Function&&De.attributeNameCheck(D,b))||D==="is"&&De.allowCustomizedBuiltInElements&&(De.tagNameCheck instanceof RegExp&&kt(De.tagNameCheck,te)||De.tagNameCheck instanceof Function&&De.tagNameCheck(te))))return!1}}return!0},Ys=Pe({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),xa=function(b){return!Ys[qi(b)]&&kt(Re,b)},Zl=function(b,D,te,de){if($&&typeof y=="object"&&typeof y.getAttributeType=="function"&&!te)switch(y.getAttributeType(b,D)){case"TrustedHTML":return L(de);case"TrustedScriptURL":return U(de)}return de},ri=function(b,D,te,de){try{te?b.setAttributeNS(te,D,de):b.setAttribute(D,de),Ks(b)?Fe(b):tm(n.removed)}catch{wn(D,b)}},si=function(b){bn(A.beforeSanitizeAttributes,b,null);const D=b.attributes;if(!D||Ks(b))return;const te={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Se,forceKeepAttr:void 0};let de=D.length;const Ee=Xe(b.nodeName);for(;de--;){const Oe=D[de],ot=Oe.name,Je=Oe.namespaceURI,Et=Oe.value,Nt=Xe(ot),fn=Et;let Ye=ot==="value"?fn:C1(fn);if(te.attrName=Nt,te.attrValue=Ye,te.keepAttr=!0,te.forceKeepAttr=void 0,bn(A.uponSanitizeAttribute,b,te),Ye=te.attrValue,Wo&&(Nt==="id"||Nt==="name")&&rm(Ye,da)!==0&&(wn(ot,b),Ye=da+Ye),vr&&kt(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,Ye)){wn(ot,b);continue}if(Nt==="attributename"&&nm(Ye,"href")){wn(ot,b);continue}if(!te.forceKeepAttr){if(!te.keepAttr){wn(ot,b);continue}if(!Us&&kt(K1,Ye)){wn(ot,b);continue}if(xn&&(Ye=er(Ye)),!Sr(Ee,Nt,Ye)){wn(ot,b);continue}Ye=Zl(Ee,Nt,Je,Ye),Ye!==fn&&ri(b,ot,Je,Ye)}}bn(A.afterSanitizeAttributes,b,null)},_r=function(b){let D=null;const te=ni(b);for(bn(A.beforeSanitizeShadowDOM,b,null);D=te.nextNode();)if(bn(A.uponSanitizeShadowNode,D,null),ls(D),si(D),ht(D.content)&&_r(D.content),(N?N(D):D.nodeType)===$n.element){const Ee=T(D);ht(Ee)&&(tr(Ee),_r(Ee))}bn(A.afterSanitizeShadowDOM,b,null)},tr=function(b){const D=[{node:b,shadow:null}];for(;D.length>0;){const te=D.pop();if(te.shadow){_r(te.shadow);continue}const de=te.node,Oe=(N?N(de):de.nodeType)===$n.element,ot=C(de);if(ot)for(let Je=ot.length-1;Je>=0;--Je)D.push({node:ot[Je],shadow:null});if(Oe){const Je=F?F(de):null;if(typeof Je=="string"&&Xe(Je)==="template"){const Et=de.content;ht(Et)&&D.push({node:Et,shadow:null})}}if(Oe){const Je=T(de);ht(Je)&&D.push({node:null,shadow:Je},{node:Je,shadow:null})}}};return n.sanitize=function(re){let b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},D=null,te=null,de=null,Ee=null;if(Vs=!re,Vs&&(re="<!-->"),typeof re!="string"&&!as(re)&&(re=P1(re),typeof re!="string"))throw bs("dirty is not a string, aborting");if(!n.isSupported)return re;Hs?(je=ts,Se=xr):Jo(b),(A.uponSanitizeElement.length>0||A.uponSanitizeAttribute.length>0)&&(je=It(je)),A.uponSanitizeAttribute.length>0&&(Se=It(Se)),n.removed=[];const Oe=rs&&typeof re!="string"&&as(re);if(Oe){const Et=F?F(re):re.nodeName;if(typeof Et=="string"){const Nt=Xe(Et);if(!je[Nt]||ut[Nt])throw bs("root node is forbidden and cannot be sanitized in-place")}if(Ks(re))throw bs("root node is clobbered and cannot be sanitized in-place");try{tr(re)}catch(Nt){throw ga(re),Nt}}else if(as(re))D=va("<!---->"),te=D.ownerDocument.importNode(re,!0),te.nodeType===$n.element&&te.nodeName==="BODY"||te.nodeName==="HTML"?D=te:D.appendChild(te),tr(te);else{if(!un&&!xn&&!Rn&&re.indexOf("<")===-1)return $&&qs?L(re):re;if(D=va(re),!D)return un?null:qs?G:""}D&&Bs&&Fe(D.firstChild);const ot=ni(Oe?re:D);try{for(;de=ot.nextNode();)ls(de),si(de),ht(de.content)&&_r(de.content)}catch(Et){throw Oe&&ga(re),Et}if(Oe)return $i(n.removed,Et=>{Et.element&&Ws(Et.element)}),xn&&Ht(re),re;if(un){if(xn&&Ht(D),On)for(Ee=K.call(D.ownerDocument);D.firstChild;)Ee.appendChild(D.firstChild);else Ee=D;return(Se.shadowroot||Se.shadowrootmode)&&(Ee=J.call(i,Ee,!0)),Ee}let Je=Rn?D.outerHTML:D.innerHTML;return Rn&&je["!doctype"]&&D.ownerDocument&&D.ownerDocument.doctype&&D.ownerDocument.doctype.name&&kt(G1,D.ownerDocument.doctype.name)&&(Je="<!DOCTYPE "+D.ownerDocument.doctype.name+`>
|
|
231
|
-
`+Je),xn&&(Je=er(Je)),$&&qs?L(Je):Je},n.setConfig=function(){let re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Jo(re),Hs=!0,ts=je,xr=Se},n.clearConfig=function(){Ut=null,Hs=!1,ts=null,xr=null,$=V,G=""},n.isValidAttribute=function(re,b,D){Ut||Jo({});const te=Xe(re),de=Xe(b);return Sr(te,de,D)},n.addHook=function(re,b){typeof b=="function"&&vt(A,re)&&ko(A[re],b)},n.removeHook=function(re,b){if(vt(A,re)){if(b!==void 0){const D=N1(A[re],b);return D===-1?void 0:A1(A[re],D,1)[0]}return tm(A[re])}},n.removeHooks=function(re){vt(A,re)&&(A[re]=[])},n.removeAllHooks=function(){A=dm()},n}var Qf=Hg();$e.setOptions({gfm:!0,breaks:!0});function Z1(s){const n=$e.parse(s,{async:!1});return Qf.sanitize(n,{ADD_ATTR:["target","rel"]})}function J1(s){if(!s)return"";const n=new Date(s);return Number.isNaN(n.getTime())?"":n.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit",second:"2-digit"})}function ca({title:s,timestamp:n,children:r,headerRight:i,isNew:a,dense:c,tint:u="none"}){return m.jsxs("div",{className:Zt("border border-base-300/60 rounded-md overflow-hidden",u==="user"?"bg-info/5":"ll-surface",a&&"message-new"),children:[m.jsxs("div",{className:Zt("flex items-center gap-2 px-3 border-b border-base-300/40",c?"py-1":"py-1.5"),children:[m.jsx("div",{className:"flex items-center gap-2 min-w-0 flex-1",children:s}),i,m.jsx("span",{className:"text-2xs text-base-content/40 font-mono shrink-0",children:J1(n)})]}),r!=null&&m.jsx("div",{className:c?"px-3 py-1.5":"px-3 py-2",children:r})]})}function ua({Icon:s,color:n,bg:r}){return m.jsx("span",{className:Zt("inline-flex items-center justify-center w-5 h-5 rounded shrink-0",r,n),children:m.jsx(s,{size:12,className:"stroke-[2.25]"})})}function vf({source:s,className:n=""}){const r=ie.useMemo(()=>Z1(s),[s]);return m.jsx("div",{className:`ll-prose ${n}`,dangerouslySetInnerHTML:{__html:r}})}function ew({msg:s,isNew:n}){const r=s.content,i=(r==null?void 0:r.text)??"";return m.jsx(ca,{isNew:n,timestamp:s.timestamp,tint:"user",title:m.jsxs(m.Fragment,{children:[m.jsx(ua,{Icon:ux,color:"text-warning",bg:"bg-warning/15"}),m.jsx("span",{className:"text-2xs font-semibold uppercase tracking-wider text-warning shrink-0",children:"user"})]}),children:i?m.jsx(vf,{source:i}):m.jsx("span",{className:"text-2xs text-base-content/40 italic",children:"(empty)"})})}function tw({msg:s,isNew:n}){const r=s.content,i=(r==null?void 0:r.text)??"",a=(r==null?void 0:r.reasoning)??"",[c,u]=ie.useState(!1);return m.jsxs(ca,{isNew:n,timestamp:s.timestamp,title:m.jsxs(m.Fragment,{children:[m.jsx(ua,{Icon:ix,color:"text-primary",bg:"bg-primary/15"}),m.jsx("span",{className:"text-2xs font-semibold uppercase tracking-wider text-primary shrink-0",children:"assistant"})]}),headerRight:a?m.jsxs("button",{onClick:()=>u(!c),className:"text-2xs text-accent hover:text-accent/80 font-mono",children:[c?"hide":"show"," reasoning"]}):null,children:[c&&a&&m.jsx("div",{className:"mb-2 p-2 border-l-2 border-accent/40 bg-base-300/40 rounded text-xs text-base-content/70 italic",children:m.jsx(vf,{source:a})}),i?m.jsx(vf,{source:i}):m.jsx("span",{className:"text-2xs text-base-content/40 italic",children:"(empty)"})]})}var Uu={},An={};const nw="Á",rw="á",sw="Ă",ow="ă",iw="∾",aw="∿",lw="∾̳",cw="Â",uw="â",fw="´",dw="А",hw="а",pw="Æ",mw="æ",gw="",yw="𝔄",vw="𝔞",xw="À",ww="à",bw="ℵ",kw="ℵ",Sw="Α",_w="α",Tw="Ā",Ew="ā",Nw="⨿",Aw="&",Cw="&",jw="⩕",Rw="⩓",Ow="∧",Mw="⩜",Pw="⩘",Lw="⩚",Dw="∠",Iw="⦤",Fw="∠",$w="⦨",zw="⦩",Uw="⦪",Hw="⦫",Bw="⦬",qw="⦭",Gw="⦮",Vw="⦯",Qw="∡",Ww="∟",Kw="⊾",Xw="⦝",Yw="∢",Zw="Å",Jw="⍼",eb="Ą",tb="ą",nb="𝔸",rb="𝕒",sb="⩯",ob="≈",ib="⩰",ab="≊",lb="≋",cb="'",ub="",fb="≈",db="≊",hb="Å",pb="å",mb="𝒜",gb="𝒶",yb="≔",vb="*",xb="≈",wb="≍",bb="Ã",kb="ã",Sb="Ä",_b="ä",Tb="∳",Eb="⨑",Nb="≌",Ab="϶",Cb="‵",jb="∽",Rb="⋍",Ob="∖",Mb="⫧",Pb="⊽",Lb="⌅",Db="⌆",Ib="⌅",Fb="⎵",$b="⎶",zb="≌",Ub="Б",Hb="б",Bb="„",qb="∵",Gb="∵",Vb="∵",Qb="⦰",Wb="϶",Kb="ℬ",Xb="ℬ",Yb="Β",Zb="β",Jb="ℶ",ek="≬",tk="𝔅",nk="𝔟",rk="⋂",sk="◯",ok="⋃",ik="⨀",ak="⨁",lk="⨂",ck="⨆",uk="★",fk="▽",dk="△",hk="⨄",pk="⋁",mk="⋀",gk="⤍",yk="⧫",vk="▪",xk="▴",wk="▾",bk="◂",kk="▸",Sk="␣",_k="▒",Tk="░",Ek="▓",Nk="█",Ak="=⃥",Ck="≡⃥",jk="⫭",Rk="⌐",Ok="𝔹",Mk="𝕓",Pk="⊥",Lk="⊥",Dk="⋈",Ik="⧉",Fk="┐",$k="╕",zk="╖",Uk="╗",Hk="┌",Bk="╒",qk="╓",Gk="╔",Vk="─",Qk="═",Wk="┬",Kk="╤",Xk="╥",Yk="╦",Zk="┴",Jk="╧",eS="╨",tS="╩",nS="⊟",rS="⊞",sS="⊠",oS="┘",iS="╛",aS="╜",lS="╝",cS="└",uS="╘",fS="╙",dS="╚",hS="│",pS="║",mS="┼",gS="╪",yS="╫",vS="╬",xS="┤",wS="╡",bS="╢",kS="╣",SS="├",_S="╞",TS="╟",ES="╠",NS="‵",AS="˘",CS="˘",jS="¦",RS="𝒷",OS="ℬ",MS="⁏",PS="∽",LS="⋍",DS="⧅",IS="\\",FS="⟈",$S="•",zS="•",US="≎",HS="⪮",BS="≏",qS="≎",GS="≏",VS="Ć",QS="ć",WS="⩄",KS="⩉",XS="⩋",YS="∩",ZS="⋒",JS="⩇",e_="⩀",t_="ⅅ",n_="∩︀",r_="⁁",s_="ˇ",o_="ℭ",i_="⩍",a_="Č",l_="č",c_="Ç",u_="ç",f_="Ĉ",d_="ĉ",h_="∰",p_="⩌",m_="⩐",g_="Ċ",y_="ċ",v_="¸",x_="¸",w_="⦲",b_="¢",k_="·",S_="·",__="𝔠",T_="ℭ",E_="Ч",N_="ч",A_="✓",C_="✓",j_="Χ",R_="χ",O_="ˆ",M_="≗",P_="↺",L_="↻",D_="⊛",I_="⊚",F_="⊝",$_="⊙",z_="®",U_="Ⓢ",H_="⊖",B_="⊕",q_="⊗",G_="○",V_="⧃",Q_="≗",W_="⨐",K_="⫯",X_="⧂",Y_="∲",Z_="”",J_="’",eT="♣",tT="♣",nT=":",rT="∷",sT="⩴",oT="≔",iT="≔",aT=",",lT="@",cT="∁",uT="∘",fT="∁",dT="ℂ",hT="≅",pT="⩭",mT="≡",gT="∮",yT="∯",vT="∮",xT="𝕔",wT="ℂ",bT="∐",kT="∐",ST="©",_T="©",TT="℗",ET="∳",NT="↵",AT="✗",CT="⨯",jT="𝒞",RT="𝒸",OT="⫏",MT="⫑",PT="⫐",LT="⫒",DT="⋯",IT="⤸",FT="⤵",$T="⋞",zT="⋟",UT="↶",HT="⤽",BT="⩈",qT="⩆",GT="≍",VT="∪",QT="⋓",WT="⩊",KT="⊍",XT="⩅",YT="∪︀",ZT="↷",JT="⤼",eE="⋞",tE="⋟",nE="⋎",rE="⋏",sE="¤",oE="↶",iE="↷",aE="⋎",lE="⋏",cE="∲",uE="∱",fE="⌭",dE="†",hE="‡",pE="ℸ",mE="↓",gE="↡",yE="⇓",vE="‐",xE="⫤",wE="⊣",bE="⤏",kE="˝",SE="Ď",_E="ď",TE="Д",EE="д",NE="‡",AE="⇊",CE="ⅅ",jE="ⅆ",RE="⤑",OE="⩷",ME="°",PE="∇",LE="Δ",DE="δ",IE="⦱",FE="⥿",$E="𝔇",zE="𝔡",UE="⥥",HE="⇃",BE="⇂",qE="´",GE="˙",VE="˝",QE="`",WE="˜",KE="⋄",XE="⋄",YE="⋄",ZE="♦",JE="♦",eN="¨",tN="ⅆ",nN="ϝ",rN="⋲",sN="÷",oN="÷",iN="⋇",aN="⋇",lN="Ђ",cN="ђ",uN="⌞",fN="⌍",dN="$",hN="𝔻",pN="𝕕",mN="¨",gN="˙",yN="⃜",vN="≐",xN="≑",wN="≐",bN="∸",kN="∔",SN="⊡",_N="⌆",TN="∯",EN="¨",NN="⇓",AN="⇐",CN="⇔",jN="⫤",RN="⟸",ON="⟺",MN="⟹",PN="⇒",LN="⊨",DN="⇑",IN="⇕",FN="∥",$N="⤓",zN="↓",UN="↓",HN="⇓",BN="⇵",qN="̑",GN="⇊",VN="⇃",QN="⇂",WN="⥐",KN="⥞",XN="⥖",YN="↽",ZN="⥟",JN="⥗",e2="⇁",t2="↧",n2="⊤",r2="⤐",s2="⌟",o2="⌌",i2="𝒟",a2="𝒹",l2="Ѕ",c2="ѕ",u2="⧶",f2="Đ",d2="đ",h2="⋱",p2="▿",m2="▾",g2="⇵",y2="⥯",v2="⦦",x2="Џ",w2="џ",b2="⟿",k2="É",S2="é",_2="⩮",T2="Ě",E2="ě",N2="Ê",A2="ê",C2="≖",j2="≕",R2="Э",O2="э",M2="⩷",P2="Ė",L2="ė",D2="≑",I2="ⅇ",F2="≒",$2="𝔈",z2="𝔢",U2="⪚",H2="È",B2="è",q2="⪖",G2="⪘",V2="⪙",Q2="∈",W2="⏧",K2="ℓ",X2="⪕",Y2="⪗",Z2="Ē",J2="ē",eA="∅",tA="∅",nA="◻",rA="∅",sA="▫",oA=" ",iA=" ",aA=" ",lA="Ŋ",cA="ŋ",uA=" ",fA="Ę",dA="ę",hA="𝔼",pA="𝕖",mA="⋕",gA="⧣",yA="⩱",vA="ε",xA="Ε",wA="ε",bA="ϵ",kA="≖",SA="≕",_A="≂",TA="⪖",EA="⪕",NA="⩵",AA="=",CA="≂",jA="≟",RA="⇌",OA="≡",MA="⩸",PA="⧥",LA="⥱",DA="≓",IA="ℯ",FA="ℰ",$A="≐",zA="⩳",UA="≂",HA="Η",BA="η",qA="Ð",GA="ð",VA="Ë",QA="ë",WA="€",KA="!",XA="∃",YA="∃",ZA="ℰ",JA="ⅇ",eC="ⅇ",tC="≒",nC="Ф",rC="ф",sC="♀",oC="ffi",iC="ff",aC="ffl",lC="𝔉",cC="𝔣",uC="fi",fC="◼",dC="▪",hC="fj",pC="♭",mC="fl",gC="▱",yC="ƒ",vC="𝔽",xC="𝕗",wC="∀",bC="∀",kC="⋔",SC="⫙",_C="ℱ",TC="⨍",EC="½",NC="⅓",AC="¼",CC="⅕",jC="⅙",RC="⅛",OC="⅔",MC="⅖",PC="¾",LC="⅗",DC="⅜",IC="⅘",FC="⅚",$C="⅝",zC="⅞",UC="⁄",HC="⌢",BC="𝒻",qC="ℱ",GC="ǵ",VC="Γ",QC="γ",WC="Ϝ",KC="ϝ",XC="⪆",YC="Ğ",ZC="ğ",JC="Ģ",ej="Ĝ",tj="ĝ",nj="Г",rj="г",sj="Ġ",oj="ġ",ij="≥",aj="≧",lj="⪌",cj="⋛",uj="≥",fj="≧",dj="⩾",hj="⪩",pj="⩾",mj="⪀",gj="⪂",yj="⪄",vj="⋛︀",xj="⪔",wj="𝔊",bj="𝔤",kj="≫",Sj="⋙",_j="⋙",Tj="ℷ",Ej="Ѓ",Nj="ѓ",Aj="⪥",Cj="≷",jj="⪒",Rj="⪤",Oj="⪊",Mj="⪊",Pj="⪈",Lj="≩",Dj="⪈",Ij="≩",Fj="⋧",$j="𝔾",zj="𝕘",Uj="`",Hj="≥",Bj="⋛",qj="≧",Gj="⪢",Vj="≷",Qj="⩾",Wj="≳",Kj="𝒢",Xj="ℊ",Yj="≳",Zj="⪎",Jj="⪐",e3="⪧",t3="⩺",n3=">",r3=">",s3="≫",o3="⋗",i3="⦕",a3="⩼",l3="⪆",c3="⥸",u3="⋗",f3="⋛",d3="⪌",h3="≷",p3="≳",m3="≩︀",g3="≩︀",y3="ˇ",v3=" ",x3="½",w3="ℋ",b3="Ъ",k3="ъ",S3="⥈",_3="↔",T3="⇔",E3="↭",N3="^",A3="ℏ",C3="Ĥ",j3="ĥ",R3="♥",O3="♥",M3="…",P3="⊹",L3="𝔥",D3="ℌ",I3="ℋ",F3="⤥",$3="⤦",z3="⇿",U3="∻",H3="↩",B3="↪",q3="𝕙",G3="ℍ",V3="―",Q3="─",W3="𝒽",K3="ℋ",X3="ℏ",Y3="Ħ",Z3="ħ",J3="≎",eR="≏",tR="⁃",nR="‐",rR="Í",sR="í",oR="",iR="Î",aR="î",lR="И",cR="и",uR="İ",fR="Е",dR="е",hR="¡",pR="⇔",mR="𝔦",gR="ℑ",yR="Ì",vR="ì",xR="ⅈ",wR="⨌",bR="∭",kR="⧜",SR="℩",_R="IJ",TR="ij",ER="Ī",NR="ī",AR="ℑ",CR="ⅈ",jR="ℐ",RR="ℑ",OR="ı",MR="ℑ",PR="⊷",LR="Ƶ",DR="⇒",IR="℅",FR="∞",$R="⧝",zR="ı",UR="⊺",HR="∫",BR="∬",qR="ℤ",GR="∫",VR="⊺",QR="⋂",WR="⨗",KR="⨼",XR="",YR="",ZR="Ё",JR="ё",eO="Į",tO="į",nO="𝕀",rO="𝕚",sO="Ι",oO="ι",iO="⨼",aO="¿",lO="𝒾",cO="ℐ",uO="∈",fO="⋵",dO="⋹",hO="⋴",pO="⋳",mO="∈",gO="",yO="Ĩ",vO="ĩ",xO="І",wO="і",bO="Ï",kO="ï",SO="Ĵ",_O="ĵ",TO="Й",EO="й",NO="𝔍",AO="𝔧",CO="ȷ",jO="𝕁",RO="𝕛",OO="𝒥",MO="𝒿",PO="Ј",LO="ј",DO="Є",IO="є",FO="Κ",$O="κ",zO="ϰ",UO="Ķ",HO="ķ",BO="К",qO="к",GO="𝔎",VO="𝔨",QO="ĸ",WO="Х",KO="х",XO="Ќ",YO="ќ",ZO="𝕂",JO="𝕜",eM="𝒦",tM="𝓀",nM="⇚",rM="Ĺ",sM="ĺ",oM="⦴",iM="ℒ",aM="Λ",lM="λ",cM="⟨",uM="⟪",fM="⦑",dM="⟨",hM="⪅",pM="ℒ",mM="«",gM="⇤",yM="⤟",vM="←",xM="↞",wM="⇐",bM="⤝",kM="↩",SM="↫",_M="⤹",TM="⥳",EM="↢",NM="⤙",AM="⤛",CM="⪫",jM="⪭",RM="⪭︀",OM="⤌",MM="⤎",PM="❲",LM="{",DM="[",IM="⦋",FM="⦏",$M="⦍",zM="Ľ",UM="ľ",HM="Ļ",BM="ļ",qM="⌈",GM="{",VM="Л",QM="л",WM="⤶",KM="“",XM="„",YM="⥧",ZM="⥋",JM="↲",eP="≤",tP="≦",nP="⟨",rP="⇤",sP="←",oP="←",iP="⇐",aP="⇆",lP="↢",cP="⌈",uP="⟦",fP="⥡",dP="⥙",hP="⇃",pP="⌊",mP="↽",gP="↼",yP="⇇",vP="↔",xP="↔",wP="⇔",bP="⇆",kP="⇋",SP="↭",_P="⥎",TP="↤",EP="⊣",NP="⥚",AP="⋋",CP="⧏",jP="⊲",RP="⊴",OP="⥑",MP="⥠",PP="⥘",LP="↿",DP="⥒",IP="↼",FP="⪋",$P="⋚",zP="≤",UP="≦",HP="⩽",BP="⪨",qP="⩽",GP="⩿",VP="⪁",QP="⪃",WP="⋚︀",KP="⪓",XP="⪅",YP="⋖",ZP="⋚",JP="⪋",eL="⋚",tL="≦",nL="≶",rL="≶",sL="⪡",oL="≲",iL="⩽",aL="≲",lL="⥼",cL="⌊",uL="𝔏",fL="𝔩",dL="≶",hL="⪑",pL="⥢",mL="↽",gL="↼",yL="⥪",vL="▄",xL="Љ",wL="љ",bL="⇇",kL="≪",SL="⋘",_L="⌞",TL="⇚",EL="⥫",NL="◺",AL="Ŀ",CL="ŀ",jL="⎰",RL="⎰",OL="⪉",ML="⪉",PL="⪇",LL="≨",DL="⪇",IL="≨",FL="⋦",$L="⟬",zL="⇽",UL="⟦",HL="⟵",BL="⟵",qL="⟸",GL="⟷",VL="⟷",QL="⟺",WL="⟼",KL="⟶",XL="⟶",YL="⟹",ZL="↫",JL="↬",eD="⦅",tD="𝕃",nD="𝕝",rD="⨭",sD="⨴",oD="∗",iD="_",aD="↙",lD="↘",cD="◊",uD="◊",fD="⧫",dD="(",hD="⦓",pD="⇆",mD="⌟",gD="⇋",yD="⥭",vD="",xD="⊿",wD="‹",bD="𝓁",kD="ℒ",SD="↰",_D="↰",TD="≲",ED="⪍",ND="⪏",AD="[",CD="‘",jD="‚",RD="Ł",OD="ł",MD="⪦",PD="⩹",LD="<",DD="<",ID="≪",FD="⋖",$D="⋋",zD="⋉",UD="⥶",HD="⩻",BD="◃",qD="⊴",GD="◂",VD="⦖",QD="⥊",WD="⥦",KD="≨︀",XD="≨︀",YD="¯",ZD="♂",JD="✠",eI="✠",tI="↦",nI="↦",rI="↧",sI="↤",oI="↥",iI="▮",aI="⨩",lI="М",cI="м",uI="—",fI="∺",dI="∡",hI=" ",pI="ℳ",mI="𝔐",gI="𝔪",yI="℧",vI="µ",xI="*",wI="⫰",bI="∣",kI="·",SI="⊟",_I="−",TI="∸",EI="⨪",NI="∓",AI="⫛",CI="…",jI="∓",RI="⊧",OI="𝕄",MI="𝕞",PI="∓",LI="𝓂",DI="ℳ",II="∾",FI="Μ",$I="μ",zI="⊸",UI="⊸",HI="∇",BI="Ń",qI="ń",GI="∠⃒",VI="≉",QI="⩰̸",WI="≋̸",KI="ʼn",XI="≉",YI="♮",ZI="ℕ",JI="♮",e4=" ",t4="≎̸",n4="≏̸",r4="⩃",s4="Ň",o4="ň",i4="Ņ",a4="ņ",l4="≇",c4="⩭̸",u4="⩂",f4="Н",d4="н",h4="–",p4="⤤",m4="↗",g4="⇗",y4="↗",v4="≠",x4="≐̸",w4="",b4="",k4="",S4="",_4="≢",T4="⤨",E4="≂̸",N4="≫",A4="≪",C4=`
|
|
232
|
-
`,j4="∄",R4="∄",O4="𝔑",M4="𝔫",P4="≧̸",L4="≱",D4="≱",I4="≧̸",F4="⩾̸",$4="⩾̸",z4="⋙̸",U4="≵",H4="≫⃒",B4="≯",q4="≯",G4="≫̸",V4="↮",Q4="⇎",W4="⫲",K4="∋",X4="⋼",Y4="⋺",Z4="∋",J4="Њ",eF="њ",tF="↚",nF="⇍",rF="‥",sF="≦̸",oF="≰",iF="↚",aF="⇍",lF="↮",cF="⇎",uF="≰",fF="≦̸",dF="⩽̸",hF="⩽̸",pF="≮",mF="⋘̸",gF="≴",yF="≪⃒",vF="≮",xF="⋪",wF="⋬",bF="≪̸",kF="∤",SF="",_F=" ",TF="𝕟",EF="ℕ",NF="⫬",AF="¬",CF="≢",jF="≭",RF="∦",OF="∉",MF="≠",PF="≂̸",LF="∄",DF="≯",IF="≱",FF="≧̸",$F="≫̸",zF="≹",UF="⩾̸",HF="≵",BF="≎̸",qF="≏̸",GF="∉",VF="⋵̸",QF="⋹̸",WF="∉",KF="⋷",XF="⋶",YF="⧏̸",ZF="⋪",JF="⋬",e$="≮",t$="≰",n$="≸",r$="≪̸",s$="⩽̸",o$="≴",i$="⪢̸",a$="⪡̸",l$="∌",c$="∌",u$="⋾",f$="⋽",d$="⊀",h$="⪯̸",p$="⋠",m$="∌",g$="⧐̸",y$="⋫",v$="⋭",x$="⊏̸",w$="⋢",b$="⊐̸",k$="⋣",S$="⊂⃒",_$="⊈",T$="⊁",E$="⪰̸",N$="⋡",A$="≿̸",C$="⊃⃒",j$="⊉",R$="≁",O$="≄",M$="≇",P$="≉",L$="∤",D$="∦",I$="∦",F$="⫽⃥",$$="∂̸",z$="⨔",U$="⊀",H$="⋠",B$="⊀",q$="⪯̸",G$="⪯̸",V$="⤳̸",Q$="↛",W$="⇏",K$="↝̸",X$="↛",Y$="⇏",Z$="⋫",J$="⋭",e5="⊁",t5="⋡",n5="⪰̸",r5="𝒩",s5="𝓃",o5="∤",i5="∦",a5="≁",l5="≄",c5="≄",u5="∤",f5="∦",d5="⋢",h5="⋣",p5="⊄",m5="⫅̸",g5="⊈",y5="⊂⃒",v5="⊈",x5="⫅̸",w5="⊁",b5="⪰̸",k5="⊅",S5="⫆̸",_5="⊉",T5="⊃⃒",E5="⊉",N5="⫆̸",A5="≹",C5="Ñ",j5="ñ",R5="≸",O5="⋪",M5="⋬",P5="⋫",L5="⋭",D5="Ν",I5="ν",F5="#",$5="№",z5=" ",U5="≍⃒",H5="⊬",B5="⊭",q5="⊮",G5="⊯",V5="≥⃒",Q5=">⃒",W5="⤄",K5="⧞",X5="⤂",Y5="≤⃒",Z5="<⃒",J5="⊴⃒",ez="⤃",tz="⊵⃒",nz="∼⃒",rz="⤣",sz="↖",oz="⇖",iz="↖",az="⤧",lz="Ó",cz="ó",uz="⊛",fz="Ô",dz="ô",hz="⊚",pz="О",mz="о",gz="⊝",yz="Ő",vz="ő",xz="⨸",wz="⊙",bz="⦼",kz="Œ",Sz="œ",_z="⦿",Tz="𝔒",Ez="𝔬",Nz="˛",Az="Ò",Cz="ò",jz="⧁",Rz="⦵",Oz="Ω",Mz="∮",Pz="↺",Lz="⦾",Dz="⦻",Iz="‾",Fz="⧀",$z="Ō",zz="ō",Uz="Ω",Hz="ω",Bz="Ο",qz="ο",Gz="⦶",Vz="⊖",Qz="𝕆",Wz="𝕠",Kz="⦷",Xz="“",Yz="‘",Zz="⦹",Jz="⊕",e6="↻",t6="⩔",n6="∨",r6="⩝",s6="ℴ",o6="ℴ",i6="ª",a6="º",l6="⊶",c6="⩖",u6="⩗",f6="⩛",d6="Ⓢ",h6="𝒪",p6="ℴ",m6="Ø",g6="ø",y6="⊘",v6="Õ",x6="õ",w6="⨶",b6="⨷",k6="⊗",S6="Ö",_6="ö",T6="⌽",E6="‾",N6="⏞",A6="⎴",C6="⏜",j6="¶",R6="∥",O6="∥",M6="⫳",P6="⫽",L6="∂",D6="∂",I6="П",F6="п",$6="%",z6=".",U6="‰",H6="⊥",B6="‱",q6="𝔓",G6="𝔭",V6="Φ",Q6="φ",W6="ϕ",K6="ℳ",X6="☎",Y6="Π",Z6="π",J6="⋔",e8="ϖ",t8="ℏ",n8="ℎ",r8="ℏ",s8="⨣",o8="⊞",i8="⨢",a8="+",l8="∔",c8="⨥",u8="⩲",f8="±",d8="±",h8="⨦",p8="⨧",m8="±",g8="ℌ",y8="⨕",v8="𝕡",x8="ℙ",w8="£",b8="⪷",k8="⪻",S8="≺",_8="≼",T8="⪷",E8="≺",N8="≼",A8="≺",C8="⪯",j8="≼",R8="≾",O8="⪯",M8="⪹",P8="⪵",L8="⋨",D8="⪯",I8="⪳",F8="≾",$8="′",z8="″",U8="ℙ",H8="⪹",B8="⪵",q8="⋨",G8="∏",V8="∏",Q8="⌮",W8="⌒",K8="⌓",X8="∝",Y8="∝",Z8="∷",J8="∝",eU="≾",tU="⊰",nU="𝒫",rU="𝓅",sU="Ψ",oU="ψ",iU=" ",aU="𝔔",lU="𝔮",cU="⨌",uU="𝕢",fU="ℚ",dU="⁗",hU="𝒬",pU="𝓆",mU="ℍ",gU="⨖",yU="?",vU="≟",xU='"',wU='"',bU="⇛",kU="∽̱",SU="Ŕ",_U="ŕ",TU="√",EU="⦳",NU="⟩",AU="⟫",CU="⦒",jU="⦥",RU="⟩",OU="»",MU="⥵",PU="⇥",LU="⤠",DU="⤳",IU="→",FU="↠",$U="⇒",zU="⤞",UU="↪",HU="↬",BU="⥅",qU="⥴",GU="⤖",VU="↣",QU="↝",WU="⤚",KU="⤜",XU="∶",YU="ℚ",ZU="⤍",JU="⤏",eH="⤐",tH="❳",nH="}",rH="]",sH="⦌",oH="⦎",iH="⦐",aH="Ř",lH="ř",cH="Ŗ",uH="ŗ",fH="⌉",dH="}",hH="Р",pH="р",mH="⤷",gH="⥩",yH="”",vH="”",xH="↳",wH="ℜ",bH="ℛ",kH="ℜ",SH="ℝ",_H="ℜ",TH="▭",EH="®",NH="®",AH="∋",CH="⇋",jH="⥯",RH="⥽",OH="⌋",MH="𝔯",PH="ℜ",LH="⥤",DH="⇁",IH="⇀",FH="⥬",$H="Ρ",zH="ρ",UH="ϱ",HH="⟩",BH="⇥",qH="→",GH="→",VH="⇒",QH="⇄",WH="↣",KH="⌉",XH="⟧",YH="⥝",ZH="⥕",JH="⇂",eB="⌋",tB="⇁",nB="⇀",rB="⇄",sB="⇌",oB="⇉",iB="↝",aB="↦",lB="⊢",cB="⥛",uB="⋌",fB="⧐",dB="⊳",hB="⊵",pB="⥏",mB="⥜",gB="⥔",yB="↾",vB="⥓",xB="⇀",wB="˚",bB="≓",kB="⇄",SB="⇌",_B="",TB="⎱",EB="⎱",NB="⫮",AB="⟭",CB="⇾",jB="⟧",RB="⦆",OB="𝕣",MB="ℝ",PB="⨮",LB="⨵",DB="⥰",IB=")",FB="⦔",$B="⨒",zB="⇉",UB="⇛",HB="›",BB="𝓇",qB="ℛ",GB="↱",VB="↱",QB="]",WB="’",KB="’",XB="⋌",YB="⋊",ZB="▹",JB="⊵",eq="▸",tq="⧎",nq="⧴",rq="⥨",sq="℞",oq="Ś",iq="ś",aq="‚",lq="⪸",cq="Š",uq="š",fq="⪼",dq="≻",hq="≽",pq="⪰",mq="⪴",gq="Ş",yq="ş",vq="Ŝ",xq="ŝ",wq="⪺",bq="⪶",kq="⋩",Sq="⨓",_q="≿",Tq="С",Eq="с",Nq="⊡",Aq="⋅",Cq="⩦",jq="⤥",Rq="↘",Oq="⇘",Mq="↘",Pq="§",Lq=";",Dq="⤩",Iq="∖",Fq="∖",$q="✶",zq="𝔖",Uq="𝔰",Hq="⌢",Bq="♯",qq="Щ",Gq="щ",Vq="Ш",Qq="ш",Wq="↓",Kq="←",Xq="∣",Yq="∥",Zq="→",Jq="↑",e9="",t9="Σ",n9="σ",r9="ς",s9="ς",o9="∼",i9="⩪",a9="≃",l9="≃",c9="⪞",u9="⪠",f9="⪝",d9="⪟",h9="≆",p9="⨤",m9="⥲",g9="←",y9="∘",v9="∖",x9="⨳",w9="⧤",b9="∣",k9="⌣",S9="⪪",_9="⪬",T9="⪬︀",E9="Ь",N9="ь",A9="⌿",C9="⧄",j9="/",R9="𝕊",O9="𝕤",M9="♠",P9="♠",L9="∥",D9="⊓",I9="⊓︀",F9="⊔",$9="⊔︀",z9="√",U9="⊏",H9="⊑",B9="⊏",q9="⊑",G9="⊐",V9="⊒",Q9="⊐",W9="⊒",K9="□",X9="□",Y9="⊓",Z9="⊏",J9="⊑",e7="⊐",t7="⊒",n7="⊔",r7="▪",s7="□",o7="▪",i7="→",a7="𝒮",l7="𝓈",c7="∖",u7="⌣",f7="⋆",d7="⋆",h7="☆",p7="★",m7="ϵ",g7="ϕ",y7="¯",v7="⊂",x7="⋐",w7="⪽",b7="⫅",k7="⊆",S7="⫃",_7="⫁",T7="⫋",E7="⊊",N7="⪿",A7="⥹",C7="⊂",j7="⋐",R7="⊆",O7="⫅",M7="⊆",P7="⊊",L7="⫋",D7="⫇",I7="⫕",F7="⫓",$7="⪸",z7="≻",U7="≽",H7="≻",B7="⪰",q7="≽",G7="≿",V7="⪰",Q7="⪺",W7="⪶",K7="⋩",X7="≿",Y7="∋",Z7="∑",J7="∑",eG="♪",tG="¹",nG="²",rG="³",sG="⊃",oG="⋑",iG="⪾",aG="⫘",lG="⫆",cG="⊇",uG="⫄",fG="⊃",dG="⊇",hG="⟉",pG="⫗",mG="⥻",gG="⫂",yG="⫌",vG="⊋",xG="⫀",wG="⊃",bG="⋑",kG="⊇",SG="⫆",_G="⊋",TG="⫌",EG="⫈",NG="⫔",AG="⫖",CG="⤦",jG="↙",RG="⇙",OG="↙",MG="⤪",PG="ß",LG=" ",DG="⌖",IG="Τ",FG="τ",$G="⎴",zG="Ť",UG="ť",HG="Ţ",BG="ţ",qG="Т",GG="т",VG="⃛",QG="⌕",WG="𝔗",KG="𝔱",XG="∴",YG="∴",ZG="∴",JG="Θ",eV="θ",tV="ϑ",nV="ϑ",rV="≈",sV="∼",oV=" ",iV=" ",aV=" ",lV="≈",cV="∼",uV="Þ",fV="þ",dV="˜",hV="∼",pV="≃",mV="≅",gV="≈",yV="⨱",vV="⊠",xV="×",wV="⨰",bV="∭",kV="⤨",SV="⌶",_V="⫱",TV="⊤",EV="𝕋",NV="𝕥",AV="⫚",CV="⤩",jV="‴",RV="™",OV="™",MV="▵",PV="▿",LV="◃",DV="⊴",IV="≜",FV="▹",$V="⊵",zV="◬",UV="≜",HV="⨺",BV="⃛",qV="⨹",GV="⧍",VV="⨻",QV="⏢",WV="𝒯",KV="𝓉",XV="Ц",YV="ц",ZV="Ћ",JV="ћ",eQ="Ŧ",tQ="ŧ",nQ="≬",rQ="↞",sQ="↠",oQ="Ú",iQ="ú",aQ="↑",lQ="↟",cQ="⇑",uQ="⥉",fQ="Ў",dQ="ў",hQ="Ŭ",pQ="ŭ",mQ="Û",gQ="û",yQ="У",vQ="у",xQ="⇅",wQ="Ű",bQ="ű",kQ="⥮",SQ="⥾",_Q="𝔘",TQ="𝔲",EQ="Ù",NQ="ù",AQ="⥣",CQ="↿",jQ="↾",RQ="▀",OQ="⌜",MQ="⌜",PQ="⌏",LQ="◸",DQ="Ū",IQ="ū",FQ="¨",$Q="_",zQ="⏟",UQ="⎵",HQ="⏝",BQ="⋃",qQ="⊎",GQ="Ų",VQ="ų",QQ="𝕌",WQ="𝕦",KQ="⤒",XQ="↑",YQ="↑",ZQ="⇑",JQ="⇅",eW="↕",tW="↕",nW="⇕",rW="⥮",sW="↿",oW="↾",iW="⊎",aW="↖",lW="↗",cW="υ",uW="ϒ",fW="ϒ",dW="Υ",hW="υ",pW="↥",mW="⊥",gW="⇈",yW="⌝",vW="⌝",xW="⌎",wW="Ů",bW="ů",kW="◹",SW="𝒰",_W="𝓊",TW="⋰",EW="Ũ",NW="ũ",AW="▵",CW="▴",jW="⇈",RW="Ü",OW="ü",MW="⦧",PW="⦜",LW="ϵ",DW="ϰ",IW="∅",FW="ϕ",$W="ϖ",zW="∝",UW="↕",HW="⇕",BW="ϱ",qW="ς",GW="⊊︀",VW="⫋︀",QW="⊋︀",WW="⫌︀",KW="ϑ",XW="⊲",YW="⊳",ZW="⫨",JW="⫫",eK="⫩",tK="В",nK="в",rK="⊢",sK="⊨",oK="⊩",iK="⊫",aK="⫦",lK="⊻",cK="∨",uK="⋁",fK="≚",dK="⋮",hK="|",pK="‖",mK="|",gK="‖",yK="∣",vK="|",xK="❘",wK="≀",bK=" ",kK="𝔙",SK="𝔳",_K="⊲",TK="⊂⃒",EK="⊃⃒",NK="𝕍",AK="𝕧",CK="∝",jK="⊳",RK="𝒱",OK="𝓋",MK="⫋︀",PK="⊊︀",LK="⫌︀",DK="⊋︀",IK="⊪",FK="⦚",$K="Ŵ",zK="ŵ",UK="⩟",HK="∧",BK="⋀",qK="≙",GK="℘",VK="𝔚",QK="𝔴",WK="𝕎",KK="𝕨",XK="℘",YK="≀",ZK="≀",JK="𝒲",eX="𝓌",tX="⋂",nX="◯",rX="⋃",sX="▽",oX="𝔛",iX="𝔵",aX="⟷",lX="⟺",cX="Ξ",uX="ξ",fX="⟵",dX="⟸",hX="⟼",pX="⋻",mX="⨀",gX="𝕏",yX="𝕩",vX="⨁",xX="⨂",wX="⟶",bX="⟹",kX="𝒳",SX="𝓍",_X="⨆",TX="⨄",EX="△",NX="⋁",AX="⋀",CX="Ý",jX="ý",RX="Я",OX="я",MX="Ŷ",PX="ŷ",LX="Ы",DX="ы",IX="¥",FX="𝔜",$X="𝔶",zX="Ї",UX="ї",HX="𝕐",BX="𝕪",qX="𝒴",GX="𝓎",VX="Ю",QX="ю",WX="ÿ",KX="Ÿ",XX="Ź",YX="ź",ZX="Ž",JX="ž",eY="З",tY="з",nY="Ż",rY="ż",sY="ℨ",oY="",iY="Ζ",aY="ζ",lY="𝔷",cY="ℨ",uY="Ж",fY="ж",dY="⇝",hY="𝕫",pY="ℤ",mY="𝒵",gY="𝓏",yY="",vY="",Bg={Aacute:nw,aacute:rw,Abreve:sw,abreve:ow,ac:iw,acd:aw,acE:lw,Acirc:cw,acirc:uw,acute:fw,Acy:dw,acy:hw,AElig:pw,aelig:mw,af:gw,Afr:yw,afr:vw,Agrave:xw,agrave:ww,alefsym:bw,aleph:kw,Alpha:Sw,alpha:_w,Amacr:Tw,amacr:Ew,amalg:Nw,amp:Aw,AMP:Cw,andand:jw,And:Rw,and:Ow,andd:Mw,andslope:Pw,andv:Lw,ang:Dw,ange:Iw,angle:Fw,angmsdaa:$w,angmsdab:zw,angmsdac:Uw,angmsdad:Hw,angmsdae:Bw,angmsdaf:qw,angmsdag:Gw,angmsdah:Vw,angmsd:Qw,angrt:Ww,angrtvb:Kw,angrtvbd:Xw,angsph:Yw,angst:Zw,angzarr:Jw,Aogon:eb,aogon:tb,Aopf:nb,aopf:rb,apacir:sb,ap:ob,apE:ib,ape:ab,apid:lb,apos:cb,ApplyFunction:ub,approx:fb,approxeq:db,Aring:hb,aring:pb,Ascr:mb,ascr:gb,Assign:yb,ast:vb,asymp:xb,asympeq:wb,Atilde:bb,atilde:kb,Auml:Sb,auml:_b,awconint:Tb,awint:Eb,backcong:Nb,backepsilon:Ab,backprime:Cb,backsim:jb,backsimeq:Rb,Backslash:Ob,Barv:Mb,barvee:Pb,barwed:Lb,Barwed:Db,barwedge:Ib,bbrk:Fb,bbrktbrk:$b,bcong:zb,Bcy:Ub,bcy:Hb,bdquo:Bb,becaus:qb,because:Gb,Because:Vb,bemptyv:Qb,bepsi:Wb,bernou:Kb,Bernoullis:Xb,Beta:Yb,beta:Zb,beth:Jb,between:ek,Bfr:tk,bfr:nk,bigcap:rk,bigcirc:sk,bigcup:ok,bigodot:ik,bigoplus:ak,bigotimes:lk,bigsqcup:ck,bigstar:uk,bigtriangledown:fk,bigtriangleup:dk,biguplus:hk,bigvee:pk,bigwedge:mk,bkarow:gk,blacklozenge:yk,blacksquare:vk,blacktriangle:xk,blacktriangledown:wk,blacktriangleleft:bk,blacktriangleright:kk,blank:Sk,blk12:_k,blk14:Tk,blk34:Ek,block:Nk,bne:Ak,bnequiv:Ck,bNot:jk,bnot:Rk,Bopf:Ok,bopf:Mk,bot:Pk,bottom:Lk,bowtie:Dk,boxbox:Ik,boxdl:Fk,boxdL:$k,boxDl:zk,boxDL:Uk,boxdr:Hk,boxdR:Bk,boxDr:qk,boxDR:Gk,boxh:Vk,boxH:Qk,boxhd:Wk,boxHd:Kk,boxhD:Xk,boxHD:Yk,boxhu:Zk,boxHu:Jk,boxhU:eS,boxHU:tS,boxminus:nS,boxplus:rS,boxtimes:sS,boxul:oS,boxuL:iS,boxUl:aS,boxUL:lS,boxur:cS,boxuR:uS,boxUr:fS,boxUR:dS,boxv:hS,boxV:pS,boxvh:mS,boxvH:gS,boxVh:yS,boxVH:vS,boxvl:xS,boxvL:wS,boxVl:bS,boxVL:kS,boxvr:SS,boxvR:_S,boxVr:TS,boxVR:ES,bprime:NS,breve:AS,Breve:CS,brvbar:jS,bscr:RS,Bscr:OS,bsemi:MS,bsim:PS,bsime:LS,bsolb:DS,bsol:IS,bsolhsub:FS,bull:$S,bullet:zS,bump:US,bumpE:HS,bumpe:BS,Bumpeq:qS,bumpeq:GS,Cacute:VS,cacute:QS,capand:WS,capbrcup:KS,capcap:XS,cap:YS,Cap:ZS,capcup:JS,capdot:e_,CapitalDifferentialD:t_,caps:n_,caret:r_,caron:s_,Cayleys:o_,ccaps:i_,Ccaron:a_,ccaron:l_,Ccedil:c_,ccedil:u_,Ccirc:f_,ccirc:d_,Cconint:h_,ccups:p_,ccupssm:m_,Cdot:g_,cdot:y_,cedil:v_,Cedilla:x_,cemptyv:w_,cent:b_,centerdot:k_,CenterDot:S_,cfr:__,Cfr:T_,CHcy:E_,chcy:N_,check:A_,checkmark:C_,Chi:j_,chi:R_,circ:O_,circeq:M_,circlearrowleft:P_,circlearrowright:L_,circledast:D_,circledcirc:I_,circleddash:F_,CircleDot:$_,circledR:z_,circledS:U_,CircleMinus:H_,CirclePlus:B_,CircleTimes:q_,cir:G_,cirE:V_,cire:Q_,cirfnint:W_,cirmid:K_,cirscir:X_,ClockwiseContourIntegral:Y_,CloseCurlyDoubleQuote:Z_,CloseCurlyQuote:J_,clubs:eT,clubsuit:tT,colon:nT,Colon:rT,Colone:sT,colone:oT,coloneq:iT,comma:aT,commat:lT,comp:cT,compfn:uT,complement:fT,complexes:dT,cong:hT,congdot:pT,Congruent:mT,conint:gT,Conint:yT,ContourIntegral:vT,copf:xT,Copf:wT,coprod:bT,Coproduct:kT,copy:ST,COPY:_T,copysr:TT,CounterClockwiseContourIntegral:ET,crarr:NT,cross:AT,Cross:CT,Cscr:jT,cscr:RT,csub:OT,csube:MT,csup:PT,csupe:LT,ctdot:DT,cudarrl:IT,cudarrr:FT,cuepr:$T,cuesc:zT,cularr:UT,cularrp:HT,cupbrcap:BT,cupcap:qT,CupCap:GT,cup:VT,Cup:QT,cupcup:WT,cupdot:KT,cupor:XT,cups:YT,curarr:ZT,curarrm:JT,curlyeqprec:eE,curlyeqsucc:tE,curlyvee:nE,curlywedge:rE,curren:sE,curvearrowleft:oE,curvearrowright:iE,cuvee:aE,cuwed:lE,cwconint:cE,cwint:uE,cylcty:fE,dagger:dE,Dagger:hE,daleth:pE,darr:mE,Darr:gE,dArr:yE,dash:vE,Dashv:xE,dashv:wE,dbkarow:bE,dblac:kE,Dcaron:SE,dcaron:_E,Dcy:TE,dcy:EE,ddagger:NE,ddarr:AE,DD:CE,dd:jE,DDotrahd:RE,ddotseq:OE,deg:ME,Del:PE,Delta:LE,delta:DE,demptyv:IE,dfisht:FE,Dfr:$E,dfr:zE,dHar:UE,dharl:HE,dharr:BE,DiacriticalAcute:qE,DiacriticalDot:GE,DiacriticalDoubleAcute:VE,DiacriticalGrave:QE,DiacriticalTilde:WE,diam:KE,diamond:XE,Diamond:YE,diamondsuit:ZE,diams:JE,die:eN,DifferentialD:tN,digamma:nN,disin:rN,div:sN,divide:oN,divideontimes:iN,divonx:aN,DJcy:lN,djcy:cN,dlcorn:uN,dlcrop:fN,dollar:dN,Dopf:hN,dopf:pN,Dot:mN,dot:gN,DotDot:yN,doteq:vN,doteqdot:xN,DotEqual:wN,dotminus:bN,dotplus:kN,dotsquare:SN,doublebarwedge:_N,DoubleContourIntegral:TN,DoubleDot:EN,DoubleDownArrow:NN,DoubleLeftArrow:AN,DoubleLeftRightArrow:CN,DoubleLeftTee:jN,DoubleLongLeftArrow:RN,DoubleLongLeftRightArrow:ON,DoubleLongRightArrow:MN,DoubleRightArrow:PN,DoubleRightTee:LN,DoubleUpArrow:DN,DoubleUpDownArrow:IN,DoubleVerticalBar:FN,DownArrowBar:$N,downarrow:zN,DownArrow:UN,Downarrow:HN,DownArrowUpArrow:BN,DownBreve:qN,downdownarrows:GN,downharpoonleft:VN,downharpoonright:QN,DownLeftRightVector:WN,DownLeftTeeVector:KN,DownLeftVectorBar:XN,DownLeftVector:YN,DownRightTeeVector:ZN,DownRightVectorBar:JN,DownRightVector:e2,DownTeeArrow:t2,DownTee:n2,drbkarow:r2,drcorn:s2,drcrop:o2,Dscr:i2,dscr:a2,DScy:l2,dscy:c2,dsol:u2,Dstrok:f2,dstrok:d2,dtdot:h2,dtri:p2,dtrif:m2,duarr:g2,duhar:y2,dwangle:v2,DZcy:x2,dzcy:w2,dzigrarr:b2,Eacute:k2,eacute:S2,easter:_2,Ecaron:T2,ecaron:E2,Ecirc:N2,ecirc:A2,ecir:C2,ecolon:j2,Ecy:R2,ecy:O2,eDDot:M2,Edot:P2,edot:L2,eDot:D2,ee:I2,efDot:F2,Efr:$2,efr:z2,eg:U2,Egrave:H2,egrave:B2,egs:q2,egsdot:G2,el:V2,Element:Q2,elinters:W2,ell:K2,els:X2,elsdot:Y2,Emacr:Z2,emacr:J2,empty:eA,emptyset:tA,EmptySmallSquare:nA,emptyv:rA,EmptyVerySmallSquare:sA,emsp13:oA,emsp14:iA,emsp:aA,ENG:lA,eng:cA,ensp:uA,Eogon:fA,eogon:dA,Eopf:hA,eopf:pA,epar:mA,eparsl:gA,eplus:yA,epsi:vA,Epsilon:xA,epsilon:wA,epsiv:bA,eqcirc:kA,eqcolon:SA,eqsim:_A,eqslantgtr:TA,eqslantless:EA,Equal:NA,equals:AA,EqualTilde:CA,equest:jA,Equilibrium:RA,equiv:OA,equivDD:MA,eqvparsl:PA,erarr:LA,erDot:DA,escr:IA,Escr:FA,esdot:$A,Esim:zA,esim:UA,Eta:HA,eta:BA,ETH:qA,eth:GA,Euml:VA,euml:QA,euro:WA,excl:KA,exist:XA,Exists:YA,expectation:ZA,exponentiale:JA,ExponentialE:eC,fallingdotseq:tC,Fcy:nC,fcy:rC,female:sC,ffilig:oC,fflig:iC,ffllig:aC,Ffr:lC,ffr:cC,filig:uC,FilledSmallSquare:fC,FilledVerySmallSquare:dC,fjlig:hC,flat:pC,fllig:mC,fltns:gC,fnof:yC,Fopf:vC,fopf:xC,forall:wC,ForAll:bC,fork:kC,forkv:SC,Fouriertrf:_C,fpartint:TC,frac12:EC,frac13:NC,frac14:AC,frac15:CC,frac16:jC,frac18:RC,frac23:OC,frac25:MC,frac34:PC,frac35:LC,frac38:DC,frac45:IC,frac56:FC,frac58:$C,frac78:zC,frasl:UC,frown:HC,fscr:BC,Fscr:qC,gacute:GC,Gamma:VC,gamma:QC,Gammad:WC,gammad:KC,gap:XC,Gbreve:YC,gbreve:ZC,Gcedil:JC,Gcirc:ej,gcirc:tj,Gcy:nj,gcy:rj,Gdot:sj,gdot:oj,ge:ij,gE:aj,gEl:lj,gel:cj,geq:uj,geqq:fj,geqslant:dj,gescc:hj,ges:pj,gesdot:mj,gesdoto:gj,gesdotol:yj,gesl:vj,gesles:xj,Gfr:wj,gfr:bj,gg:kj,Gg:Sj,ggg:_j,gimel:Tj,GJcy:Ej,gjcy:Nj,gla:Aj,gl:Cj,glE:jj,glj:Rj,gnap:Oj,gnapprox:Mj,gne:Pj,gnE:Lj,gneq:Dj,gneqq:Ij,gnsim:Fj,Gopf:$j,gopf:zj,grave:Uj,GreaterEqual:Hj,GreaterEqualLess:Bj,GreaterFullEqual:qj,GreaterGreater:Gj,GreaterLess:Vj,GreaterSlantEqual:Qj,GreaterTilde:Wj,Gscr:Kj,gscr:Xj,gsim:Yj,gsime:Zj,gsiml:Jj,gtcc:e3,gtcir:t3,gt:n3,GT:r3,Gt:s3,gtdot:o3,gtlPar:i3,gtquest:a3,gtrapprox:l3,gtrarr:c3,gtrdot:u3,gtreqless:f3,gtreqqless:d3,gtrless:h3,gtrsim:p3,gvertneqq:m3,gvnE:g3,Hacek:y3,hairsp:v3,half:x3,hamilt:w3,HARDcy:b3,hardcy:k3,harrcir:S3,harr:_3,hArr:T3,harrw:E3,Hat:N3,hbar:A3,Hcirc:C3,hcirc:j3,hearts:R3,heartsuit:O3,hellip:M3,hercon:P3,hfr:L3,Hfr:D3,HilbertSpace:I3,hksearow:F3,hkswarow:$3,hoarr:z3,homtht:U3,hookleftarrow:H3,hookrightarrow:B3,hopf:q3,Hopf:G3,horbar:V3,HorizontalLine:Q3,hscr:W3,Hscr:K3,hslash:X3,Hstrok:Y3,hstrok:Z3,HumpDownHump:J3,HumpEqual:eR,hybull:tR,hyphen:nR,Iacute:rR,iacute:sR,ic:oR,Icirc:iR,icirc:aR,Icy:lR,icy:cR,Idot:uR,IEcy:fR,iecy:dR,iexcl:hR,iff:pR,ifr:mR,Ifr:gR,Igrave:yR,igrave:vR,ii:xR,iiiint:wR,iiint:bR,iinfin:kR,iiota:SR,IJlig:_R,ijlig:TR,Imacr:ER,imacr:NR,image:AR,ImaginaryI:CR,imagline:jR,imagpart:RR,imath:OR,Im:MR,imof:PR,imped:LR,Implies:DR,incare:IR,in:"∈",infin:FR,infintie:$R,inodot:zR,intcal:UR,int:HR,Int:BR,integers:qR,Integral:GR,intercal:VR,Intersection:QR,intlarhk:WR,intprod:KR,InvisibleComma:XR,InvisibleTimes:YR,IOcy:ZR,iocy:JR,Iogon:eO,iogon:tO,Iopf:nO,iopf:rO,Iota:sO,iota:oO,iprod:iO,iquest:aO,iscr:lO,Iscr:cO,isin:uO,isindot:fO,isinE:dO,isins:hO,isinsv:pO,isinv:mO,it:gO,Itilde:yO,itilde:vO,Iukcy:xO,iukcy:wO,Iuml:bO,iuml:kO,Jcirc:SO,jcirc:_O,Jcy:TO,jcy:EO,Jfr:NO,jfr:AO,jmath:CO,Jopf:jO,jopf:RO,Jscr:OO,jscr:MO,Jsercy:PO,jsercy:LO,Jukcy:DO,jukcy:IO,Kappa:FO,kappa:$O,kappav:zO,Kcedil:UO,kcedil:HO,Kcy:BO,kcy:qO,Kfr:GO,kfr:VO,kgreen:QO,KHcy:WO,khcy:KO,KJcy:XO,kjcy:YO,Kopf:ZO,kopf:JO,Kscr:eM,kscr:tM,lAarr:nM,Lacute:rM,lacute:sM,laemptyv:oM,lagran:iM,Lambda:aM,lambda:lM,lang:cM,Lang:uM,langd:fM,langle:dM,lap:hM,Laplacetrf:pM,laquo:mM,larrb:gM,larrbfs:yM,larr:vM,Larr:xM,lArr:wM,larrfs:bM,larrhk:kM,larrlp:SM,larrpl:_M,larrsim:TM,larrtl:EM,latail:NM,lAtail:AM,lat:CM,late:jM,lates:RM,lbarr:OM,lBarr:MM,lbbrk:PM,lbrace:LM,lbrack:DM,lbrke:IM,lbrksld:FM,lbrkslu:$M,Lcaron:zM,lcaron:UM,Lcedil:HM,lcedil:BM,lceil:qM,lcub:GM,Lcy:VM,lcy:QM,ldca:WM,ldquo:KM,ldquor:XM,ldrdhar:YM,ldrushar:ZM,ldsh:JM,le:eP,lE:tP,LeftAngleBracket:nP,LeftArrowBar:rP,leftarrow:sP,LeftArrow:oP,Leftarrow:iP,LeftArrowRightArrow:aP,leftarrowtail:lP,LeftCeiling:cP,LeftDoubleBracket:uP,LeftDownTeeVector:fP,LeftDownVectorBar:dP,LeftDownVector:hP,LeftFloor:pP,leftharpoondown:mP,leftharpoonup:gP,leftleftarrows:yP,leftrightarrow:vP,LeftRightArrow:xP,Leftrightarrow:wP,leftrightarrows:bP,leftrightharpoons:kP,leftrightsquigarrow:SP,LeftRightVector:_P,LeftTeeArrow:TP,LeftTee:EP,LeftTeeVector:NP,leftthreetimes:AP,LeftTriangleBar:CP,LeftTriangle:jP,LeftTriangleEqual:RP,LeftUpDownVector:OP,LeftUpTeeVector:MP,LeftUpVectorBar:PP,LeftUpVector:LP,LeftVectorBar:DP,LeftVector:IP,lEg:FP,leg:$P,leq:zP,leqq:UP,leqslant:HP,lescc:BP,les:qP,lesdot:GP,lesdoto:VP,lesdotor:QP,lesg:WP,lesges:KP,lessapprox:XP,lessdot:YP,lesseqgtr:ZP,lesseqqgtr:JP,LessEqualGreater:eL,LessFullEqual:tL,LessGreater:nL,lessgtr:rL,LessLess:sL,lesssim:oL,LessSlantEqual:iL,LessTilde:aL,lfisht:lL,lfloor:cL,Lfr:uL,lfr:fL,lg:dL,lgE:hL,lHar:pL,lhard:mL,lharu:gL,lharul:yL,lhblk:vL,LJcy:xL,ljcy:wL,llarr:bL,ll:kL,Ll:SL,llcorner:_L,Lleftarrow:TL,llhard:EL,lltri:NL,Lmidot:AL,lmidot:CL,lmoustache:jL,lmoust:RL,lnap:OL,lnapprox:ML,lne:PL,lnE:LL,lneq:DL,lneqq:IL,lnsim:FL,loang:$L,loarr:zL,lobrk:UL,longleftarrow:HL,LongLeftArrow:BL,Longleftarrow:qL,longleftrightarrow:GL,LongLeftRightArrow:VL,Longleftrightarrow:QL,longmapsto:WL,longrightarrow:KL,LongRightArrow:XL,Longrightarrow:YL,looparrowleft:ZL,looparrowright:JL,lopar:eD,Lopf:tD,lopf:nD,loplus:rD,lotimes:sD,lowast:oD,lowbar:iD,LowerLeftArrow:aD,LowerRightArrow:lD,loz:cD,lozenge:uD,lozf:fD,lpar:dD,lparlt:hD,lrarr:pD,lrcorner:mD,lrhar:gD,lrhard:yD,lrm:vD,lrtri:xD,lsaquo:wD,lscr:bD,Lscr:kD,lsh:SD,Lsh:_D,lsim:TD,lsime:ED,lsimg:ND,lsqb:AD,lsquo:CD,lsquor:jD,Lstrok:RD,lstrok:OD,ltcc:MD,ltcir:PD,lt:LD,LT:DD,Lt:ID,ltdot:FD,lthree:$D,ltimes:zD,ltlarr:UD,ltquest:HD,ltri:BD,ltrie:qD,ltrif:GD,ltrPar:VD,lurdshar:QD,luruhar:WD,lvertneqq:KD,lvnE:XD,macr:YD,male:ZD,malt:JD,maltese:eI,Map:"⤅",map:tI,mapsto:nI,mapstodown:rI,mapstoleft:sI,mapstoup:oI,marker:iI,mcomma:aI,Mcy:lI,mcy:cI,mdash:uI,mDDot:fI,measuredangle:dI,MediumSpace:hI,Mellintrf:pI,Mfr:mI,mfr:gI,mho:yI,micro:vI,midast:xI,midcir:wI,mid:bI,middot:kI,minusb:SI,minus:_I,minusd:TI,minusdu:EI,MinusPlus:NI,mlcp:AI,mldr:CI,mnplus:jI,models:RI,Mopf:OI,mopf:MI,mp:PI,mscr:LI,Mscr:DI,mstpos:II,Mu:FI,mu:$I,multimap:zI,mumap:UI,nabla:HI,Nacute:BI,nacute:qI,nang:GI,nap:VI,napE:QI,napid:WI,napos:KI,napprox:XI,natural:YI,naturals:ZI,natur:JI,nbsp:e4,nbump:t4,nbumpe:n4,ncap:r4,Ncaron:s4,ncaron:o4,Ncedil:i4,ncedil:a4,ncong:l4,ncongdot:c4,ncup:u4,Ncy:f4,ncy:d4,ndash:h4,nearhk:p4,nearr:m4,neArr:g4,nearrow:y4,ne:v4,nedot:x4,NegativeMediumSpace:w4,NegativeThickSpace:b4,NegativeThinSpace:k4,NegativeVeryThinSpace:S4,nequiv:_4,nesear:T4,nesim:E4,NestedGreaterGreater:N4,NestedLessLess:A4,NewLine:C4,nexist:j4,nexists:R4,Nfr:O4,nfr:M4,ngE:P4,nge:L4,ngeq:D4,ngeqq:I4,ngeqslant:F4,nges:$4,nGg:z4,ngsim:U4,nGt:H4,ngt:B4,ngtr:q4,nGtv:G4,nharr:V4,nhArr:Q4,nhpar:W4,ni:K4,nis:X4,nisd:Y4,niv:Z4,NJcy:J4,njcy:eF,nlarr:tF,nlArr:nF,nldr:rF,nlE:sF,nle:oF,nleftarrow:iF,nLeftarrow:aF,nleftrightarrow:lF,nLeftrightarrow:cF,nleq:uF,nleqq:fF,nleqslant:dF,nles:hF,nless:pF,nLl:mF,nlsim:gF,nLt:yF,nlt:vF,nltri:xF,nltrie:wF,nLtv:bF,nmid:kF,NoBreak:SF,NonBreakingSpace:_F,nopf:TF,Nopf:EF,Not:NF,not:AF,NotCongruent:CF,NotCupCap:jF,NotDoubleVerticalBar:RF,NotElement:OF,NotEqual:MF,NotEqualTilde:PF,NotExists:LF,NotGreater:DF,NotGreaterEqual:IF,NotGreaterFullEqual:FF,NotGreaterGreater:$F,NotGreaterLess:zF,NotGreaterSlantEqual:UF,NotGreaterTilde:HF,NotHumpDownHump:BF,NotHumpEqual:qF,notin:GF,notindot:VF,notinE:QF,notinva:WF,notinvb:KF,notinvc:XF,NotLeftTriangleBar:YF,NotLeftTriangle:ZF,NotLeftTriangleEqual:JF,NotLess:e$,NotLessEqual:t$,NotLessGreater:n$,NotLessLess:r$,NotLessSlantEqual:s$,NotLessTilde:o$,NotNestedGreaterGreater:i$,NotNestedLessLess:a$,notni:l$,notniva:c$,notnivb:u$,notnivc:f$,NotPrecedes:d$,NotPrecedesEqual:h$,NotPrecedesSlantEqual:p$,NotReverseElement:m$,NotRightTriangleBar:g$,NotRightTriangle:y$,NotRightTriangleEqual:v$,NotSquareSubset:x$,NotSquareSubsetEqual:w$,NotSquareSuperset:b$,NotSquareSupersetEqual:k$,NotSubset:S$,NotSubsetEqual:_$,NotSucceeds:T$,NotSucceedsEqual:E$,NotSucceedsSlantEqual:N$,NotSucceedsTilde:A$,NotSuperset:C$,NotSupersetEqual:j$,NotTilde:R$,NotTildeEqual:O$,NotTildeFullEqual:M$,NotTildeTilde:P$,NotVerticalBar:L$,nparallel:D$,npar:I$,nparsl:F$,npart:$$,npolint:z$,npr:U$,nprcue:H$,nprec:B$,npreceq:q$,npre:G$,nrarrc:V$,nrarr:Q$,nrArr:W$,nrarrw:K$,nrightarrow:X$,nRightarrow:Y$,nrtri:Z$,nrtrie:J$,nsc:e5,nsccue:t5,nsce:n5,Nscr:r5,nscr:s5,nshortmid:o5,nshortparallel:i5,nsim:a5,nsime:l5,nsimeq:c5,nsmid:u5,nspar:f5,nsqsube:d5,nsqsupe:h5,nsub:p5,nsubE:m5,nsube:g5,nsubset:y5,nsubseteq:v5,nsubseteqq:x5,nsucc:w5,nsucceq:b5,nsup:k5,nsupE:S5,nsupe:_5,nsupset:T5,nsupseteq:E5,nsupseteqq:N5,ntgl:A5,Ntilde:C5,ntilde:j5,ntlg:R5,ntriangleleft:O5,ntrianglelefteq:M5,ntriangleright:P5,ntrianglerighteq:L5,Nu:D5,nu:I5,num:F5,numero:$5,numsp:z5,nvap:U5,nvdash:H5,nvDash:B5,nVdash:q5,nVDash:G5,nvge:V5,nvgt:Q5,nvHarr:W5,nvinfin:K5,nvlArr:X5,nvle:Y5,nvlt:Z5,nvltrie:J5,nvrArr:ez,nvrtrie:tz,nvsim:nz,nwarhk:rz,nwarr:sz,nwArr:oz,nwarrow:iz,nwnear:az,Oacute:lz,oacute:cz,oast:uz,Ocirc:fz,ocirc:dz,ocir:hz,Ocy:pz,ocy:mz,odash:gz,Odblac:yz,odblac:vz,odiv:xz,odot:wz,odsold:bz,OElig:kz,oelig:Sz,ofcir:_z,Ofr:Tz,ofr:Ez,ogon:Nz,Ograve:Az,ograve:Cz,ogt:jz,ohbar:Rz,ohm:Oz,oint:Mz,olarr:Pz,olcir:Lz,olcross:Dz,oline:Iz,olt:Fz,Omacr:$z,omacr:zz,Omega:Uz,omega:Hz,Omicron:Bz,omicron:qz,omid:Gz,ominus:Vz,Oopf:Qz,oopf:Wz,opar:Kz,OpenCurlyDoubleQuote:Xz,OpenCurlyQuote:Yz,operp:Zz,oplus:Jz,orarr:e6,Or:t6,or:n6,ord:r6,order:s6,orderof:o6,ordf:i6,ordm:a6,origof:l6,oror:c6,orslope:u6,orv:f6,oS:d6,Oscr:h6,oscr:p6,Oslash:m6,oslash:g6,osol:y6,Otilde:v6,otilde:x6,otimesas:w6,Otimes:b6,otimes:k6,Ouml:S6,ouml:_6,ovbar:T6,OverBar:E6,OverBrace:N6,OverBracket:A6,OverParenthesis:C6,para:j6,parallel:R6,par:O6,parsim:M6,parsl:P6,part:L6,PartialD:D6,Pcy:I6,pcy:F6,percnt:$6,period:z6,permil:U6,perp:H6,pertenk:B6,Pfr:q6,pfr:G6,Phi:V6,phi:Q6,phiv:W6,phmmat:K6,phone:X6,Pi:Y6,pi:Z6,pitchfork:J6,piv:e8,planck:t8,planckh:n8,plankv:r8,plusacir:s8,plusb:o8,pluscir:i8,plus:a8,plusdo:l8,plusdu:c8,pluse:u8,PlusMinus:f8,plusmn:d8,plussim:h8,plustwo:p8,pm:m8,Poincareplane:g8,pointint:y8,popf:v8,Popf:x8,pound:w8,prap:b8,Pr:k8,pr:S8,prcue:_8,precapprox:T8,prec:E8,preccurlyeq:N8,Precedes:A8,PrecedesEqual:C8,PrecedesSlantEqual:j8,PrecedesTilde:R8,preceq:O8,precnapprox:M8,precneqq:P8,precnsim:L8,pre:D8,prE:I8,precsim:F8,prime:$8,Prime:z8,primes:U8,prnap:H8,prnE:B8,prnsim:q8,prod:G8,Product:V8,profalar:Q8,profline:W8,profsurf:K8,prop:X8,Proportional:Y8,Proportion:Z8,propto:J8,prsim:eU,prurel:tU,Pscr:nU,pscr:rU,Psi:sU,psi:oU,puncsp:iU,Qfr:aU,qfr:lU,qint:cU,qopf:uU,Qopf:fU,qprime:dU,Qscr:hU,qscr:pU,quaternions:mU,quatint:gU,quest:yU,questeq:vU,quot:xU,QUOT:wU,rAarr:bU,race:kU,Racute:SU,racute:_U,radic:TU,raemptyv:EU,rang:NU,Rang:AU,rangd:CU,range:jU,rangle:RU,raquo:OU,rarrap:MU,rarrb:PU,rarrbfs:LU,rarrc:DU,rarr:IU,Rarr:FU,rArr:$U,rarrfs:zU,rarrhk:UU,rarrlp:HU,rarrpl:BU,rarrsim:qU,Rarrtl:GU,rarrtl:VU,rarrw:QU,ratail:WU,rAtail:KU,ratio:XU,rationals:YU,rbarr:ZU,rBarr:JU,RBarr:eH,rbbrk:tH,rbrace:nH,rbrack:rH,rbrke:sH,rbrksld:oH,rbrkslu:iH,Rcaron:aH,rcaron:lH,Rcedil:cH,rcedil:uH,rceil:fH,rcub:dH,Rcy:hH,rcy:pH,rdca:mH,rdldhar:gH,rdquo:yH,rdquor:vH,rdsh:xH,real:wH,realine:bH,realpart:kH,reals:SH,Re:_H,rect:TH,reg:EH,REG:NH,ReverseElement:AH,ReverseEquilibrium:CH,ReverseUpEquilibrium:jH,rfisht:RH,rfloor:OH,rfr:MH,Rfr:PH,rHar:LH,rhard:DH,rharu:IH,rharul:FH,Rho:$H,rho:zH,rhov:UH,RightAngleBracket:HH,RightArrowBar:BH,rightarrow:qH,RightArrow:GH,Rightarrow:VH,RightArrowLeftArrow:QH,rightarrowtail:WH,RightCeiling:KH,RightDoubleBracket:XH,RightDownTeeVector:YH,RightDownVectorBar:ZH,RightDownVector:JH,RightFloor:eB,rightharpoondown:tB,rightharpoonup:nB,rightleftarrows:rB,rightleftharpoons:sB,rightrightarrows:oB,rightsquigarrow:iB,RightTeeArrow:aB,RightTee:lB,RightTeeVector:cB,rightthreetimes:uB,RightTriangleBar:fB,RightTriangle:dB,RightTriangleEqual:hB,RightUpDownVector:pB,RightUpTeeVector:mB,RightUpVectorBar:gB,RightUpVector:yB,RightVectorBar:vB,RightVector:xB,ring:wB,risingdotseq:bB,rlarr:kB,rlhar:SB,rlm:_B,rmoustache:TB,rmoust:EB,rnmid:NB,roang:AB,roarr:CB,robrk:jB,ropar:RB,ropf:OB,Ropf:MB,roplus:PB,rotimes:LB,RoundImplies:DB,rpar:IB,rpargt:FB,rppolint:$B,rrarr:zB,Rrightarrow:UB,rsaquo:HB,rscr:BB,Rscr:qB,rsh:GB,Rsh:VB,rsqb:QB,rsquo:WB,rsquor:KB,rthree:XB,rtimes:YB,rtri:ZB,rtrie:JB,rtrif:eq,rtriltri:tq,RuleDelayed:nq,ruluhar:rq,rx:sq,Sacute:oq,sacute:iq,sbquo:aq,scap:lq,Scaron:cq,scaron:uq,Sc:fq,sc:dq,sccue:hq,sce:pq,scE:mq,Scedil:gq,scedil:yq,Scirc:vq,scirc:xq,scnap:wq,scnE:bq,scnsim:kq,scpolint:Sq,scsim:_q,Scy:Tq,scy:Eq,sdotb:Nq,sdot:Aq,sdote:Cq,searhk:jq,searr:Rq,seArr:Oq,searrow:Mq,sect:Pq,semi:Lq,seswar:Dq,setminus:Iq,setmn:Fq,sext:$q,Sfr:zq,sfr:Uq,sfrown:Hq,sharp:Bq,SHCHcy:qq,shchcy:Gq,SHcy:Vq,shcy:Qq,ShortDownArrow:Wq,ShortLeftArrow:Kq,shortmid:Xq,shortparallel:Yq,ShortRightArrow:Zq,ShortUpArrow:Jq,shy:e9,Sigma:t9,sigma:n9,sigmaf:r9,sigmav:s9,sim:o9,simdot:i9,sime:a9,simeq:l9,simg:c9,simgE:u9,siml:f9,simlE:d9,simne:h9,simplus:p9,simrarr:m9,slarr:g9,SmallCircle:y9,smallsetminus:v9,smashp:x9,smeparsl:w9,smid:b9,smile:k9,smt:S9,smte:_9,smtes:T9,SOFTcy:E9,softcy:N9,solbar:A9,solb:C9,sol:j9,Sopf:R9,sopf:O9,spades:M9,spadesuit:P9,spar:L9,sqcap:D9,sqcaps:I9,sqcup:F9,sqcups:$9,Sqrt:z9,sqsub:U9,sqsube:H9,sqsubset:B9,sqsubseteq:q9,sqsup:G9,sqsupe:V9,sqsupset:Q9,sqsupseteq:W9,square:K9,Square:X9,SquareIntersection:Y9,SquareSubset:Z9,SquareSubsetEqual:J9,SquareSuperset:e7,SquareSupersetEqual:t7,SquareUnion:n7,squarf:r7,squ:s7,squf:o7,srarr:i7,Sscr:a7,sscr:l7,ssetmn:c7,ssmile:u7,sstarf:f7,Star:d7,star:h7,starf:p7,straightepsilon:m7,straightphi:g7,strns:y7,sub:v7,Sub:x7,subdot:w7,subE:b7,sube:k7,subedot:S7,submult:_7,subnE:T7,subne:E7,subplus:N7,subrarr:A7,subset:C7,Subset:j7,subseteq:R7,subseteqq:O7,SubsetEqual:M7,subsetneq:P7,subsetneqq:L7,subsim:D7,subsub:I7,subsup:F7,succapprox:$7,succ:z7,succcurlyeq:U7,Succeeds:H7,SucceedsEqual:B7,SucceedsSlantEqual:q7,SucceedsTilde:G7,succeq:V7,succnapprox:Q7,succneqq:W7,succnsim:K7,succsim:X7,SuchThat:Y7,sum:Z7,Sum:J7,sung:eG,sup1:tG,sup2:nG,sup3:rG,sup:sG,Sup:oG,supdot:iG,supdsub:aG,supE:lG,supe:cG,supedot:uG,Superset:fG,SupersetEqual:dG,suphsol:hG,suphsub:pG,suplarr:mG,supmult:gG,supnE:yG,supne:vG,supplus:xG,supset:wG,Supset:bG,supseteq:kG,supseteqq:SG,supsetneq:_G,supsetneqq:TG,supsim:EG,supsub:NG,supsup:AG,swarhk:CG,swarr:jG,swArr:RG,swarrow:OG,swnwar:MG,szlig:PG,Tab:LG,target:DG,Tau:IG,tau:FG,tbrk:$G,Tcaron:zG,tcaron:UG,Tcedil:HG,tcedil:BG,Tcy:qG,tcy:GG,tdot:VG,telrec:QG,Tfr:WG,tfr:KG,there4:XG,therefore:YG,Therefore:ZG,Theta:JG,theta:eV,thetasym:tV,thetav:nV,thickapprox:rV,thicksim:sV,ThickSpace:oV,ThinSpace:iV,thinsp:aV,thkap:lV,thksim:cV,THORN:uV,thorn:fV,tilde:dV,Tilde:hV,TildeEqual:pV,TildeFullEqual:mV,TildeTilde:gV,timesbar:yV,timesb:vV,times:xV,timesd:wV,tint:bV,toea:kV,topbot:SV,topcir:_V,top:TV,Topf:EV,topf:NV,topfork:AV,tosa:CV,tprime:jV,trade:RV,TRADE:OV,triangle:MV,triangledown:PV,triangleleft:LV,trianglelefteq:DV,triangleq:IV,triangleright:FV,trianglerighteq:$V,tridot:zV,trie:UV,triminus:HV,TripleDot:BV,triplus:qV,trisb:GV,tritime:VV,trpezium:QV,Tscr:WV,tscr:KV,TScy:XV,tscy:YV,TSHcy:ZV,tshcy:JV,Tstrok:eQ,tstrok:tQ,twixt:nQ,twoheadleftarrow:rQ,twoheadrightarrow:sQ,Uacute:oQ,uacute:iQ,uarr:aQ,Uarr:lQ,uArr:cQ,Uarrocir:uQ,Ubrcy:fQ,ubrcy:dQ,Ubreve:hQ,ubreve:pQ,Ucirc:mQ,ucirc:gQ,Ucy:yQ,ucy:vQ,udarr:xQ,Udblac:wQ,udblac:bQ,udhar:kQ,ufisht:SQ,Ufr:_Q,ufr:TQ,Ugrave:EQ,ugrave:NQ,uHar:AQ,uharl:CQ,uharr:jQ,uhblk:RQ,ulcorn:OQ,ulcorner:MQ,ulcrop:PQ,ultri:LQ,Umacr:DQ,umacr:IQ,uml:FQ,UnderBar:$Q,UnderBrace:zQ,UnderBracket:UQ,UnderParenthesis:HQ,Union:BQ,UnionPlus:qQ,Uogon:GQ,uogon:VQ,Uopf:QQ,uopf:WQ,UpArrowBar:KQ,uparrow:XQ,UpArrow:YQ,Uparrow:ZQ,UpArrowDownArrow:JQ,updownarrow:eW,UpDownArrow:tW,Updownarrow:nW,UpEquilibrium:rW,upharpoonleft:sW,upharpoonright:oW,uplus:iW,UpperLeftArrow:aW,UpperRightArrow:lW,upsi:cW,Upsi:uW,upsih:fW,Upsilon:dW,upsilon:hW,UpTeeArrow:pW,UpTee:mW,upuparrows:gW,urcorn:yW,urcorner:vW,urcrop:xW,Uring:wW,uring:bW,urtri:kW,Uscr:SW,uscr:_W,utdot:TW,Utilde:EW,utilde:NW,utri:AW,utrif:CW,uuarr:jW,Uuml:RW,uuml:OW,uwangle:MW,vangrt:PW,varepsilon:LW,varkappa:DW,varnothing:IW,varphi:FW,varpi:$W,varpropto:zW,varr:UW,vArr:HW,varrho:BW,varsigma:qW,varsubsetneq:GW,varsubsetneqq:VW,varsupsetneq:QW,varsupsetneqq:WW,vartheta:KW,vartriangleleft:XW,vartriangleright:YW,vBar:ZW,Vbar:JW,vBarv:eK,Vcy:tK,vcy:nK,vdash:rK,vDash:sK,Vdash:oK,VDash:iK,Vdashl:aK,veebar:lK,vee:cK,Vee:uK,veeeq:fK,vellip:dK,verbar:hK,Verbar:pK,vert:mK,Vert:gK,VerticalBar:yK,VerticalLine:vK,VerticalSeparator:xK,VerticalTilde:wK,VeryThinSpace:bK,Vfr:kK,vfr:SK,vltri:_K,vnsub:TK,vnsup:EK,Vopf:NK,vopf:AK,vprop:CK,vrtri:jK,Vscr:RK,vscr:OK,vsubnE:MK,vsubne:PK,vsupnE:LK,vsupne:DK,Vvdash:IK,vzigzag:FK,Wcirc:$K,wcirc:zK,wedbar:UK,wedge:HK,Wedge:BK,wedgeq:qK,weierp:GK,Wfr:VK,wfr:QK,Wopf:WK,wopf:KK,wp:XK,wr:YK,wreath:ZK,Wscr:JK,wscr:eX,xcap:tX,xcirc:nX,xcup:rX,xdtri:sX,Xfr:oX,xfr:iX,xharr:aX,xhArr:lX,Xi:cX,xi:uX,xlarr:fX,xlArr:dX,xmap:hX,xnis:pX,xodot:mX,Xopf:gX,xopf:yX,xoplus:vX,xotime:xX,xrarr:wX,xrArr:bX,Xscr:kX,xscr:SX,xsqcup:_X,xuplus:TX,xutri:EX,xvee:NX,xwedge:AX,Yacute:CX,yacute:jX,YAcy:RX,yacy:OX,Ycirc:MX,ycirc:PX,Ycy:LX,ycy:DX,yen:IX,Yfr:FX,yfr:$X,YIcy:zX,yicy:UX,Yopf:HX,yopf:BX,Yscr:qX,yscr:GX,YUcy:VX,yucy:QX,yuml:WX,Yuml:KX,Zacute:XX,zacute:YX,Zcaron:ZX,zcaron:JX,Zcy:eY,zcy:tY,Zdot:nY,zdot:rY,zeetrf:sY,ZeroWidthSpace:oY,Zeta:iY,zeta:aY,zfr:lY,Zfr:cY,ZHcy:uY,zhcy:fY,zigrarr:dY,zopf:hY,Zopf:pY,Zscr:mY,zscr:gY,zwj:yY,zwnj:vY},xY="Á",wY="á",bY="Â",kY="â",SY="´",_Y="Æ",TY="æ",EY="À",NY="à",AY="&",CY="&",jY="Å",RY="å",OY="Ã",MY="ã",PY="Ä",LY="ä",DY="¦",IY="Ç",FY="ç",$Y="¸",zY="¢",UY="©",HY="©",BY="¤",qY="°",GY="÷",VY="É",QY="é",WY="Ê",KY="ê",XY="È",YY="è",ZY="Ð",JY="ð",eZ="Ë",tZ="ë",nZ="½",rZ="¼",sZ="¾",oZ=">",iZ=">",aZ="Í",lZ="í",cZ="Î",uZ="î",fZ="¡",dZ="Ì",hZ="ì",pZ="¿",mZ="Ï",gZ="ï",yZ="«",vZ="<",xZ="<",wZ="¯",bZ="µ",kZ="·",SZ=" ",_Z="¬",TZ="Ñ",EZ="ñ",NZ="Ó",AZ="ó",CZ="Ô",jZ="ô",RZ="Ò",OZ="ò",MZ="ª",PZ="º",LZ="Ø",DZ="ø",IZ="Õ",FZ="õ",$Z="Ö",zZ="ö",UZ="¶",HZ="±",BZ="£",qZ='"',GZ='"',VZ="»",QZ="®",WZ="®",KZ="§",XZ="",YZ="¹",ZZ="²",JZ="³",eJ="ß",tJ="Þ",nJ="þ",rJ="×",sJ="Ú",oJ="ú",iJ="Û",aJ="û",lJ="Ù",cJ="ù",uJ="¨",fJ="Ü",dJ="ü",hJ="Ý",pJ="ý",mJ="¥",gJ="ÿ",yJ={Aacute:xY,aacute:wY,Acirc:bY,acirc:kY,acute:SY,AElig:_Y,aelig:TY,Agrave:EY,agrave:NY,amp:AY,AMP:CY,Aring:jY,aring:RY,Atilde:OY,atilde:MY,Auml:PY,auml:LY,brvbar:DY,Ccedil:IY,ccedil:FY,cedil:$Y,cent:zY,copy:UY,COPY:HY,curren:BY,deg:qY,divide:GY,Eacute:VY,eacute:QY,Ecirc:WY,ecirc:KY,Egrave:XY,egrave:YY,ETH:ZY,eth:JY,Euml:eZ,euml:tZ,frac12:nZ,frac14:rZ,frac34:sZ,gt:oZ,GT:iZ,Iacute:aZ,iacute:lZ,Icirc:cZ,icirc:uZ,iexcl:fZ,Igrave:dZ,igrave:hZ,iquest:pZ,Iuml:mZ,iuml:gZ,laquo:yZ,lt:vZ,LT:xZ,macr:wZ,micro:bZ,middot:kZ,nbsp:SZ,not:_Z,Ntilde:TZ,ntilde:EZ,Oacute:NZ,oacute:AZ,Ocirc:CZ,ocirc:jZ,Ograve:RZ,ograve:OZ,ordf:MZ,ordm:PZ,Oslash:LZ,oslash:DZ,Otilde:IZ,otilde:FZ,Ouml:$Z,ouml:zZ,para:UZ,plusmn:HZ,pound:BZ,quot:qZ,QUOT:GZ,raquo:VZ,reg:QZ,REG:WZ,sect:KZ,shy:XZ,sup1:YZ,sup2:ZZ,sup3:JZ,szlig:eJ,THORN:tJ,thorn:nJ,times:rJ,Uacute:sJ,uacute:oJ,Ucirc:iJ,ucirc:aJ,Ugrave:lJ,ugrave:cJ,uml:uJ,Uuml:fJ,uuml:dJ,Yacute:hJ,yacute:pJ,yen:mJ,yuml:gJ},vJ="&",xJ="'",wJ=">",bJ="<",kJ='"',qg={amp:vJ,apos:xJ,gt:wJ,lt:bJ,quot:kJ};var So={};const SJ={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376};var hm;function _J(){if(hm)return So;hm=1;var s=So&&So.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(So,"__esModule",{value:!0});var n=s(SJ),r=String.fromCodePoint||function(a){var c="";return a>65535&&(a-=65536,c+=String.fromCharCode(a>>>10&1023|55296),a=56320|a&1023),c+=String.fromCharCode(a),c};function i(a){return a>=55296&&a<=57343||a>1114111?"�":(a in n.default&&(a=n.default[a]),r(a))}return So.default=i,So}var pm;function mm(){if(pm)return An;pm=1;var s=An&&An.__importDefault||function(g){return g&&g.__esModule?g:{default:g}};Object.defineProperty(An,"__esModule",{value:!0}),An.decodeHTML=An.decodeHTMLStrict=An.decodeXML=void 0;var n=s(Bg),r=s(yJ),i=s(qg),a=s(_J()),c=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;An.decodeXML=u(i.default),An.decodeHTMLStrict=u(n.default);function u(g){var v=p(g);return function(y){return String(y).replace(c,v)}}var d=function(g,v){return g<v?1:-1};An.decodeHTML=(function(){for(var g=Object.keys(r.default).sort(d),v=Object.keys(n.default).sort(d),y=0,w=0;y<v.length;y++)g[w]===v[y]?(v[y]+=";?",w++):v[y]+=";";var k=new RegExp("&(?:"+v.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),P=p(n.default);function E(C){return C.substr(-1)!==";"&&(C+=";"),P(C)}return function(C){return String(C).replace(k,E)}})();function p(g){return function(y){if(y.charAt(1)==="#"){var w=y.charAt(2);return w==="X"||w==="x"?a.default(parseInt(y.substr(3),16)):a.default(parseInt(y.substr(2),10))}return g[y.slice(1,-1)]||y}}return An}var Dt={},gm;function ym(){if(gm)return Dt;gm=1;var s=Dt&&Dt.__importDefault||function(M){return M&&M.__esModule?M:{default:M}};Object.defineProperty(Dt,"__esModule",{value:!0}),Dt.escapeUTF8=Dt.escape=Dt.encodeNonAsciiHTML=Dt.encodeHTML=Dt.encodeXML=void 0;var n=s(qg),r=d(n.default),i=p(r);Dt.encodeXML=C(r);var a=s(Bg),c=d(a.default),u=p(c);Dt.encodeHTML=w(c,u),Dt.encodeNonAsciiHTML=C(c);function d(M){return Object.keys(M).sort().reduce(function(T,_){return T[M[_]]="&"+_+";",T},{})}function p(M){for(var T=[],_=[],N=0,F=Object.keys(M);N<F.length;N++){var $=F[N];$.length===1?T.push("\\"+$):_.push($)}T.sort();for(var G=0;G<T.length-1;G++){for(var V=G;V<T.length-1&&T[V].charCodeAt(1)+1===T[V+1].charCodeAt(1);)V+=1;var Q=1+V-G;Q<3||T.splice(G,Q,T[G]+"-"+T[V])}return _.unshift("["+T.join("")+"]"),new RegExp(_.join("|"),"g")}var g=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,v=String.prototype.codePointAt!=null?function(M){return M.codePointAt(0)}:function(M){return(M.charCodeAt(0)-55296)*1024+M.charCodeAt(1)-56320+65536};function y(M){return"&#x"+(M.length>1?v(M):M.charCodeAt(0)).toString(16).toUpperCase()+";"}function w(M,T){return function(_){return _.replace(T,function(N){return M[N]}).replace(g,y)}}var k=new RegExp(i.source+"|"+g.source,"g");function P(M){return M.replace(k,y)}Dt.escape=P;function E(M){return M.replace(i,y)}Dt.escapeUTF8=E;function C(M){return function(T){return T.replace(k,function(_){return M[_]||y(_)})}}return Dt}var vm;function TJ(){return vm||(vm=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0}),s.decodeXMLStrict=s.decodeHTML5Strict=s.decodeHTML4Strict=s.decodeHTML5=s.decodeHTML4=s.decodeHTMLStrict=s.decodeHTML=s.decodeXML=s.encodeHTML5=s.encodeHTML4=s.escapeUTF8=s.escape=s.encodeNonAsciiHTML=s.encodeHTML=s.encodeXML=s.encode=s.decodeStrict=s.decode=void 0;var n=mm(),r=ym();function i(p,g){return(!g||g<=0?n.decodeXML:n.decodeHTML)(p)}s.decode=i;function a(p,g){return(!g||g<=0?n.decodeXML:n.decodeHTMLStrict)(p)}s.decodeStrict=a;function c(p,g){return(!g||g<=0?r.encodeXML:r.encodeHTML)(p)}s.encode=c;var u=ym();Object.defineProperty(s,"encodeXML",{enumerable:!0,get:function(){return u.encodeXML}}),Object.defineProperty(s,"encodeHTML",{enumerable:!0,get:function(){return u.encodeHTML}}),Object.defineProperty(s,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return u.encodeNonAsciiHTML}}),Object.defineProperty(s,"escape",{enumerable:!0,get:function(){return u.escape}}),Object.defineProperty(s,"escapeUTF8",{enumerable:!0,get:function(){return u.escapeUTF8}}),Object.defineProperty(s,"encodeHTML4",{enumerable:!0,get:function(){return u.encodeHTML}}),Object.defineProperty(s,"encodeHTML5",{enumerable:!0,get:function(){return u.encodeHTML}});var d=mm();Object.defineProperty(s,"decodeXML",{enumerable:!0,get:function(){return d.decodeXML}}),Object.defineProperty(s,"decodeHTML",{enumerable:!0,get:function(){return d.decodeHTML}}),Object.defineProperty(s,"decodeHTMLStrict",{enumerable:!0,get:function(){return d.decodeHTMLStrict}}),Object.defineProperty(s,"decodeHTML4",{enumerable:!0,get:function(){return d.decodeHTML}}),Object.defineProperty(s,"decodeHTML5",{enumerable:!0,get:function(){return d.decodeHTML}}),Object.defineProperty(s,"decodeHTML4Strict",{enumerable:!0,get:function(){return d.decodeHTMLStrict}}),Object.defineProperty(s,"decodeHTML5Strict",{enumerable:!0,get:function(){return d.decodeHTMLStrict}}),Object.defineProperty(s,"decodeXMLStrict",{enumerable:!0,get:function(){return d.decodeXML}})})(Uu)),Uu}var Hu,xm;function EJ(){if(xm)return Hu;xm=1;function s(L,U){if(!(L instanceof U))throw new TypeError("Cannot call a class as a function")}function n(L,U){for(var q=0;q<U.length;q++){var ne=U[q];ne.enumerable=ne.enumerable||!1,ne.configurable=!0,"value"in ne&&(ne.writable=!0),Object.defineProperty(L,ne.key,ne)}}function r(L,U,q){return U&&n(L.prototype,U),L}function i(L,U){var q=typeof Symbol<"u"&&L[Symbol.iterator]||L["@@iterator"];if(!q){if(Array.isArray(L)||(q=a(L))||U){q&&(L=q);var ne=0,me=function(){};return{s:me,n:function(){return ne>=L.length?{done:!0}:{done:!1,value:L[ne++]}},e:function(A){throw A},f:me}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
233
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var le=!0,K=!1,oe;return{s:function(){q=q.call(L)},n:function(){var A=q.next();return le=A.done,A},e:function(A){K=!0,oe=A},f:function(){try{!le&&q.return!=null&&q.return()}finally{if(K)throw oe}}}}function a(L,U){if(L){if(typeof L=="string")return c(L,U);var q=Object.prototype.toString.call(L).slice(8,-1);if(q==="Object"&&L.constructor&&(q=L.constructor.name),q==="Map"||q==="Set")return Array.from(L);if(q==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(q))return c(L,U)}}function c(L,U){(U==null||U>L.length)&&(U=L.length);for(var q=0,ne=new Array(U);q<U;q++)ne[q]=L[q];return ne}var u=TJ(),d={fg:"#FFF",bg:"#000",newline:!1,escapeXML:!1,stream:!1,colors:p()};function p(){var L={0:"#000",1:"#A00",2:"#0A0",3:"#A50",4:"#00A",5:"#A0A",6:"#0AA",7:"#AAA",8:"#555",9:"#F55",10:"#5F5",11:"#FF5",12:"#55F",13:"#F5F",14:"#5FF",15:"#FFF"};return C(0,5).forEach(function(U){C(0,5).forEach(function(q){C(0,5).forEach(function(ne){return g(U,q,ne,L)})})}),C(0,23).forEach(function(U){var q=U+232,ne=v(U*10+8);L[q]="#"+ne+ne+ne}),L}function g(L,U,q,ne){var me=16+L*36+U*6+q,le=L>0?L*40+55:0,K=U>0?U*40+55:0,oe=q>0?q*40+55:0;ne[me]=y([le,K,oe])}function v(L){for(var U=L.toString(16);U.length<2;)U="0"+U;return U}function y(L){var U=[],q=i(L),ne;try{for(q.s();!(ne=q.n()).done;){var me=ne.value;U.push(v(me))}}catch(le){q.e(le)}finally{q.f()}return"#"+U.join("")}function w(L,U,q,ne){var me;return U==="text"?me=_(q,ne):U==="display"?me=P(L,q,ne):U==="xterm256Foreground"?me=$(L,ne.colors[q]):U==="xterm256Background"?me=G(L,ne.colors[q]):U==="rgb"&&(me=k(L,q)),me}function k(L,U){U=U.substring(2).slice(0,-1);var q=+U.substr(0,2),ne=U.substring(5).split(";"),me=ne.map(function(le){return("0"+Number(le).toString(16)).substr(-2)}).join("");return F(L,(q===38?"color:#":"background-color:#")+me)}function P(L,U,q){U=parseInt(U,10);var ne={"-1":function(){return"<br/>"},0:function(){return L.length&&E(L)},1:function(){return N(L,"b")},3:function(){return N(L,"i")},4:function(){return N(L,"u")},8:function(){return F(L,"display:none")},9:function(){return N(L,"strike")},22:function(){return F(L,"font-weight:normal;text-decoration:none;font-style:normal")},23:function(){return V(L,"i")},24:function(){return V(L,"u")},39:function(){return $(L,q.fg)},49:function(){return G(L,q.bg)},53:function(){return F(L,"text-decoration:overline")}},me;return ne[U]?me=ne[U]():4<U&&U<7?me=N(L,"blink"):29<U&&U<38?me=$(L,q.colors[U-30]):39<U&&U<48?me=G(L,q.colors[U-40]):89<U&&U<98?me=$(L,q.colors[8+(U-90)]):99<U&&U<108&&(me=G(L,q.colors[8+(U-100)])),me}function E(L){var U=L.slice(0);return L.length=0,U.reverse().map(function(q){return"</"+q+">"}).join("")}function C(L,U){for(var q=[],ne=L;ne<=U;ne++)q.push(ne);return q}function M(L){return function(U){return(L===null||U.category!==L)&&L!=="all"}}function T(L){L=parseInt(L,10);var U=null;return L===0?U="all":L===1?U="bold":2<L&&L<5?U="underline":4<L&&L<7?U="blink":L===8?U="hide":L===9?U="strike":29<L&&L<38||L===39||89<L&&L<98?U="foreground-color":(39<L&&L<48||L===49||99<L&&L<108)&&(U="background-color"),U}function _(L,U){return U.escapeXML?u.encodeXML(L):L}function N(L,U,q){return q||(q=""),L.push(U),"<".concat(U).concat(q?' style="'.concat(q,'"'):"",">")}function F(L,U){return N(L,"span",U)}function $(L,U){return N(L,"span","color:"+U)}function G(L,U){return N(L,"span","background-color:"+U)}function V(L,U){var q;if(L.slice(-1)[0]===U&&(q=L.pop()),q)return"</"+U+">"}function Q(L,U,q){var ne=!1,me=3;function le(){return""}function K(Se,nt){return q("xterm256Foreground",nt),""}function oe(Se,nt){return q("xterm256Background",nt),""}function J(Se){return U.newline?q("display",-1):q("text",Se),""}function A(Se,nt){ne=!0,nt.trim().length===0&&(nt="0"),nt=nt.trimRight(";").split(";");var De=i(nt),ut;try{for(De.s();!(ut=De.n()).done;){var yr=ut.value;q("display",yr)}}catch(Jt){De.e(Jt)}finally{De.f()}return""}function W(Se){return q("text",Se),""}function we(Se){return q("rgb",Se),""}var ge=[{pattern:/^\x08+/,sub:le},{pattern:/^\x1b\[[012]?K/,sub:le},{pattern:/^\x1b\[\(B/,sub:le},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:we},{pattern:/^\x1b\[38;5;(\d+)m/,sub:K},{pattern:/^\x1b\[48;5;(\d+)m/,sub:oe},{pattern:/^\n/,sub:J},{pattern:/^\r+\n/,sub:J},{pattern:/^\r/,sub:J},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:A},{pattern:/^\x1b\[\d?J/,sub:le},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:le},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:le},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:W}];function Te(Se,nt){nt>me&&ne||(ne=!1,L=L.replace(Se.pattern,Se.sub))}var _e=[],Ce=L,be=Ce.length;e:for(;be>0;){for(var Re=0,Ue=0,je=ge.length;Ue<je;Re=++Ue){var $t=ge[Re];if(Te($t,Re),L.length!==be){be=L.length;continue e}}if(L.length===be)break;_e.push(0),be=L.length}return _e}function I(L,U,q){return U!=="text"&&(L=L.filter(M(T(q))),L.push({token:U,data:q,category:T(q)})),L}var se=(function(){function L(U){s(this,L),U=U||{},U.colors&&(U.colors=Object.assign({},d.colors,U.colors)),this.options=Object.assign({},d,U),this.stack=[],this.stickyStack=[]}return r(L,[{key:"toHtml",value:function(q){var ne=this;q=typeof q=="string"?[q]:q;var me=this.stack,le=this.options,K=[];return this.stickyStack.forEach(function(oe){var J=w(me,oe.token,oe.data,le);J&&K.push(J)}),Q(q.join(""),le,function(oe,J){var A=w(me,oe,J,le);A&&K.push(A),le.stream&&(ne.stickyStack=I(ne.stickyStack,oe,J))}),me.length&&K.push(E(me)),K.join("")}}]),L})();return Hu=se,Hu}var NJ=EJ();const Gg=jf(NJ);var Bu={exports:{}},wm;function AJ(){return wm||(wm=1,(function(s){var n=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/**
|
|
234
|
-
* Prism: Lightweight, robust, elegant syntax highlighting
|
|
235
|
-
*
|
|
236
|
-
* @license MIT <https://opensource.org/licenses/MIT>
|
|
237
|
-
* @author Lea Verou <https://lea.verou.me>
|
|
238
|
-
* @namespace
|
|
239
|
-
* @public
|
|
240
|
-
*/var r=(function(i){var a=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,c=0,u={},d={manual:i.Prism&&i.Prism.manual,disableWorkerMessageHandler:i.Prism&&i.Prism.disableWorkerMessageHandler,util:{encode:function T(_){return _ instanceof p?new p(_.type,T(_.content),_.alias):Array.isArray(_)?_.map(T):_.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(T){return Object.prototype.toString.call(T).slice(8,-1)},objId:function(T){return T.__id||Object.defineProperty(T,"__id",{value:++c}),T.__id},clone:function T(_,N){N=N||{};var F,$;switch(d.util.type(_)){case"Object":if($=d.util.objId(_),N[$])return N[$];F={},N[$]=F;for(var G in _)_.hasOwnProperty(G)&&(F[G]=T(_[G],N));return F;case"Array":return $=d.util.objId(_),N[$]?N[$]:(F=[],N[$]=F,_.forEach(function(V,Q){F[Q]=T(V,N)}),F);default:return _}},getLanguage:function(T){for(;T;){var _=a.exec(T.className);if(_)return _[1].toLowerCase();T=T.parentElement}return"none"},setLanguage:function(T,_){T.className=T.className.replace(RegExp(a,"gi"),""),T.classList.add("language-"+_)},currentScript:function(){if(typeof document>"u")return null;if(document.currentScript&&document.currentScript.tagName==="SCRIPT")return document.currentScript;try{throw new Error}catch(F){var T=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(F.stack)||[])[1];if(T){var _=document.getElementsByTagName("script");for(var N in _)if(_[N].src==T)return _[N]}return null}},isActive:function(T,_,N){for(var F="no-"+_;T;){var $=T.classList;if($.contains(_))return!0;if($.contains(F))return!1;T=T.parentElement}return!!N}},languages:{plain:u,plaintext:u,text:u,txt:u,extend:function(T,_){var N=d.util.clone(d.languages[T]);for(var F in _)N[F]=_[F];return N},insertBefore:function(T,_,N,F){F=F||d.languages;var $=F[T],G={};for(var V in $)if($.hasOwnProperty(V)){if(V==_)for(var Q in N)N.hasOwnProperty(Q)&&(G[Q]=N[Q]);N.hasOwnProperty(V)||(G[V]=$[V])}var I=F[T];return F[T]=G,d.languages.DFS(d.languages,function(se,L){L===I&&se!=T&&(this[se]=G)}),G},DFS:function T(_,N,F,$){$=$||{};var G=d.util.objId;for(var V in _)if(_.hasOwnProperty(V)){N.call(_,V,_[V],F||V);var Q=_[V],I=d.util.type(Q);I==="Object"&&!$[G(Q)]?($[G(Q)]=!0,T(Q,N,null,$)):I==="Array"&&!$[G(Q)]&&($[G(Q)]=!0,T(Q,N,V,$))}}},plugins:{},highlightAll:function(T,_){d.highlightAllUnder(document,T,_)},highlightAllUnder:function(T,_,N){var F={callback:N,container:T,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};d.hooks.run("before-highlightall",F),F.elements=Array.prototype.slice.apply(F.container.querySelectorAll(F.selector)),d.hooks.run("before-all-elements-highlight",F);for(var $=0,G;G=F.elements[$++];)d.highlightElement(G,_===!0,F.callback)},highlightElement:function(T,_,N){var F=d.util.getLanguage(T),$=d.languages[F];d.util.setLanguage(T,F);var G=T.parentElement;G&&G.nodeName.toLowerCase()==="pre"&&d.util.setLanguage(G,F);var V=T.textContent,Q={element:T,language:F,grammar:$,code:V};function I(L){Q.highlightedCode=L,d.hooks.run("before-insert",Q),Q.element.innerHTML=Q.highlightedCode,d.hooks.run("after-highlight",Q),d.hooks.run("complete",Q),N&&N.call(Q.element)}if(d.hooks.run("before-sanity-check",Q),G=Q.element.parentElement,G&&G.nodeName.toLowerCase()==="pre"&&!G.hasAttribute("tabindex")&&G.setAttribute("tabindex","0"),!Q.code){d.hooks.run("complete",Q),N&&N.call(Q.element);return}if(d.hooks.run("before-highlight",Q),!Q.grammar){I(d.util.encode(Q.code));return}if(_&&i.Worker){var se=new Worker(d.filename);se.onmessage=function(L){I(L.data)},se.postMessage(JSON.stringify({language:Q.language,code:Q.code,immediateClose:!0}))}else I(d.highlight(Q.code,Q.grammar,Q.language))},highlight:function(T,_,N){var F={code:T,grammar:_,language:N};if(d.hooks.run("before-tokenize",F),!F.grammar)throw new Error('The language "'+F.language+'" has no grammar.');return F.tokens=d.tokenize(F.code,F.grammar),d.hooks.run("after-tokenize",F),p.stringify(d.util.encode(F.tokens),F.language)},tokenize:function(T,_){var N=_.rest;if(N){for(var F in N)_[F]=N[F];delete _.rest}var $=new y;return w($,$.head,T),v(T,$,_,$.head,0),P($)},hooks:{all:{},add:function(T,_){var N=d.hooks.all;N[T]=N[T]||[],N[T].push(_)},run:function(T,_){var N=d.hooks.all[T];if(!(!N||!N.length))for(var F=0,$;$=N[F++];)$(_)}},Token:p};i.Prism=d;function p(T,_,N,F){this.type=T,this.content=_,this.alias=N,this.length=(F||"").length|0}p.stringify=function T(_,N){if(typeof _=="string")return _;if(Array.isArray(_)){var F="";return _.forEach(function(I){F+=T(I,N)}),F}var $={type:_.type,content:T(_.content,N),tag:"span",classes:["token",_.type],attributes:{},language:N},G=_.alias;G&&(Array.isArray(G)?Array.prototype.push.apply($.classes,G):$.classes.push(G)),d.hooks.run("wrap",$);var V="";for(var Q in $.attributes)V+=" "+Q+'="'+($.attributes[Q]||"").replace(/"/g,""")+'"';return"<"+$.tag+' class="'+$.classes.join(" ")+'"'+V+">"+$.content+"</"+$.tag+">"};function g(T,_,N,F){T.lastIndex=_;var $=T.exec(N);if($&&F&&$[1]){var G=$[1].length;$.index+=G,$[0]=$[0].slice(G)}return $}function v(T,_,N,F,$,G){for(var V in N)if(!(!N.hasOwnProperty(V)||!N[V])){var Q=N[V];Q=Array.isArray(Q)?Q:[Q];for(var I=0;I<Q.length;++I){if(G&&G.cause==V+","+I)return;var se=Q[I],L=se.inside,U=!!se.lookbehind,q=!!se.greedy,ne=se.alias;if(q&&!se.pattern.global){var me=se.pattern.toString().match(/[imsuy]*$/)[0];se.pattern=RegExp(se.pattern.source,me+"g")}for(var le=se.pattern||se,K=F.next,oe=$;K!==_.tail&&!(G&&oe>=G.reach);oe+=K.value.length,K=K.next){var J=K.value;if(_.length>T.length)return;if(!(J instanceof p)){var A=1,W;if(q){if(W=g(le,oe,T,U),!W||W.index>=T.length)break;var _e=W.index,we=W.index+W[0].length,ge=oe;for(ge+=K.value.length;_e>=ge;)K=K.next,ge+=K.value.length;if(ge-=K.value.length,oe=ge,K.value instanceof p)continue;for(var Te=K;Te!==_.tail&&(ge<we||typeof Te.value=="string");Te=Te.next)A++,ge+=Te.value.length;A--,J=T.slice(oe,ge),W.index-=oe}else if(W=g(le,0,J,U),!W)continue;var _e=W.index,Ce=W[0],be=J.slice(0,_e),Re=J.slice(_e+Ce.length),Ue=oe+J.length;G&&Ue>G.reach&&(G.reach=Ue);var je=K.prev;be&&(je=w(_,je,be),oe+=be.length),k(_,je,A);var $t=new p(V,L?d.tokenize(Ce,L):Ce,ne,Ce);if(K=w(_,je,$t),Re&&w(_,K,Re),A>1){var Se={cause:V+","+I,reach:Ue};v(T,_,N,K.prev,oe,Se),G&&Se.reach>G.reach&&(G.reach=Se.reach)}}}}}}function y(){var T={value:null,prev:null,next:null},_={value:null,prev:T,next:null};T.next=_,this.head=T,this.tail=_,this.length=0}function w(T,_,N){var F=_.next,$={value:N,prev:_,next:F};return _.next=$,F.prev=$,T.length++,$}function k(T,_,N){for(var F=_.next,$=0;$<N&&F!==T.tail;$++)F=F.next;_.next=F,F.prev=_,T.length-=$}function P(T){for(var _=[],N=T.head.next;N!==T.tail;)_.push(N.value),N=N.next;return _}if(!i.document)return i.addEventListener&&(d.disableWorkerMessageHandler||i.addEventListener("message",function(T){var _=JSON.parse(T.data),N=_.language,F=_.code,$=_.immediateClose;i.postMessage(d.highlight(F,d.languages[N],N)),$&&i.close()},!1)),d;var E=d.util.currentScript();E&&(d.filename=E.src,E.hasAttribute("data-manual")&&(d.manual=!0));function C(){d.manual||d.highlightAll()}if(!d.manual){var M=document.readyState;M==="loading"||M==="interactive"&&E&&E.defer?document.addEventListener("DOMContentLoaded",C):window.requestAnimationFrame?window.requestAnimationFrame(C):window.setTimeout(C,16)}return d})(n);s.exports&&(s.exports=r),typeof Sp<"u"&&(Sp.Prism=r),r.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},r.languages.markup.tag.inside["attr-value"].inside.entity=r.languages.markup.entity,r.languages.markup.doctype.inside["internal-subset"].inside=r.languages.markup,r.hooks.add("wrap",function(i){i.type==="entity"&&(i.attributes.title=i.content.replace(/&/,"&"))}),Object.defineProperty(r.languages.markup.tag,"addInlined",{value:function(a,c){var u={};u["language-"+c]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:r.languages[c]},u.cdata=/^<!\[CDATA\[|\]\]>$/i;var d={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:u}};d["language-"+c]={pattern:/[\s\S]+/,inside:r.languages[c]};var p={};p[a]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return a}),"i"),lookbehind:!0,greedy:!0,inside:d},r.languages.insertBefore("markup","cdata",p)}}),Object.defineProperty(r.languages.markup.tag,"addAttribute",{value:function(i,a){r.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+i+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[a,"language-"+a],inside:r.languages[a]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),r.languages.html=r.languages.markup,r.languages.mathml=r.languages.markup,r.languages.svg=r.languages.markup,r.languages.xml=r.languages.extend("markup",{}),r.languages.ssml=r.languages.xml,r.languages.atom=r.languages.xml,r.languages.rss=r.languages.xml,(function(i){var a=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;i.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+a.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+a.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+a.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+a.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:a,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},i.languages.css.atrule.inside.rest=i.languages.css;var c=i.languages.markup;c&&(c.tag.addInlined("style","css"),c.tag.addAttribute("style","css"))})(r),r.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},r.languages.javascript=r.languages.extend("clike",{"class-name":[r.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),r.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,r.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:r.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:r.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:r.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:r.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:r.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),r.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:r.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),r.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),r.languages.markup&&(r.languages.markup.tag.addInlined("script","javascript"),r.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),r.languages.js=r.languages.javascript,(function(){if(typeof r>"u"||typeof document>"u")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var i="Loading…",a=function(E,C){return"✖ Error "+E+" while fetching file: "+C},c="✖ Error: File does not exist or is empty",u={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},d="data-src-status",p="loading",g="loaded",v="failed",y="pre[data-src]:not(["+d+'="'+g+'"]):not(['+d+'="'+p+'"])';function w(E,C,M){var T=new XMLHttpRequest;T.open("GET",E,!0),T.onreadystatechange=function(){T.readyState==4&&(T.status<400&&T.responseText?C(T.responseText):T.status>=400?M(a(T.status,T.statusText)):M(c))},T.send(null)}function k(E){var C=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(E||"");if(C){var M=Number(C[1]),T=C[2],_=C[3];return T?_?[M,Number(_)]:[M,void 0]:[M,M]}}r.hooks.add("before-highlightall",function(E){E.selector+=", "+y}),r.hooks.add("before-sanity-check",function(E){var C=E.element;if(C.matches(y)){E.code="",C.setAttribute(d,p);var M=C.appendChild(document.createElement("CODE"));M.textContent=i;var T=C.getAttribute("data-src"),_=E.language;if(_==="none"){var N=(/\.(\w+)$/.exec(T)||[,"none"])[1];_=u[N]||N}r.util.setLanguage(M,_),r.util.setLanguage(C,_);var F=r.plugins.autoloader;F&&F.loadLanguages(_),w(T,function($){C.setAttribute(d,g);var G=k(C.getAttribute("data-range"));if(G){var V=$.split(/\r\n?|\n/g),Q=G[0],I=G[1]==null?V.length:G[1];Q<0&&(Q+=V.length),Q=Math.max(0,Math.min(Q-1,V.length)),I<0&&(I+=V.length),I=Math.max(0,Math.min(I,V.length)),$=V.slice(Q,I).join(`
|
|
241
|
-
`),C.hasAttribute("data-start")||C.setAttribute("data-start",String(Q+1))}M.textContent=$,r.highlightElement(M)},function($){C.setAttribute(d,v),M.textContent=$})}}),r.plugins.fileHighlight={highlight:function(C){for(var M=(C||document).querySelectorAll(y),T=0,_;_=M[T++];)r.highlightElement(_)}};var P=!1;r.fileHighlight=function(){P||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),P=!0),r.plugins.fileHighlight.highlight.apply(this,arguments)}})()})(Bu)),Bu.exports}var CJ=AJ();const $l=jf(CJ);(function(s){var n="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",r={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},i={bash:r,environment:{pattern:RegExp("\\$"+n),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+n),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};s.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+n),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:i},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:r}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:i},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:i.entity}}],environment:{pattern:RegExp("\\$?"+n),alias:"constant"},variable:i.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},r.inside=s.languages.bash;for(var a=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],c=i.variable[1].inside,u=0;u<a.length;u++)c[a[u]]=s.languages.bash[a[u]];s.languages.sh=s.languages.bash,s.languages.shell=s.languages.bash})(Prism);Prism.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}};Prism.languages.webmanifest=Prism.languages.json;var bm={},km;function jJ(){return km||(km=1,(function(s){s.languages.typescript=s.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),s.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete s.languages.typescript.parameter,delete s.languages.typescript["literal-property"];var n=s.languages.extend("typescript",{});delete n["class-name"],s.languages.typescript["class-name"].inside=n,s.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:n}}}}),s.languages.ts=s.languages.typescript})(Prism)),bm}jJ();var Sm={},_m;function RJ(){return _m||(_m=1,Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern://,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python,Prism.languages.py=Prism.languages.python),Sm}RJ();(function(s){var n=/[*&][^\s[\]{},]+/,r=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,i="(?:"+r.source+"(?:[ ]+"+n.source+")?|"+n.source+"(?:[ ]+"+r.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),c=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function u(d,p){p=(p||"").replace(/m/g,"")+"m";var g=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return i}).replace(/<<value>>/g,function(){return d});return RegExp(g,p)}s.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return i})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return i}).replace(/<<key>>/g,function(){return"(?:"+a+"|"+c+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:u(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:u(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:u(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:u(c),lookbehind:!0,greedy:!0},number:{pattern:u(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:r,important:n,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},s.languages.yml=s.languages.yaml})(Prism);(function(s){var n=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function r(v){return v=v.replace(/<inner>/g,function(){return n}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+v+")")}var i=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return i}),c=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;s.languages.markdown=s.languages.extend("markup",{}),s.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:s.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+c+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+c+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(i),inside:s.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+c+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(i),alias:"important",inside:s.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:r(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:r(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:r(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:r(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(v){["url","bold","italic","strike","code-snippet"].forEach(function(y){v!==y&&(s.languages.markdown[v].inside.content.inside[y]=s.languages.markdown[y])})}),s.hooks.add("after-tokenize",function(v){if(v.language!=="markdown"&&v.language!=="md")return;function y(w){if(!(!w||typeof w=="string"))for(var k=0,P=w.length;k<P;k++){var E=w[k];if(E.type!=="code"){y(E.content);continue}var C=E.content[1],M=E.content[3];if(C&&M&&C.type==="code-language"&&M.type==="code-block"&&typeof C.content=="string"){var T=C.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp");T=(/[a-z][\w-]*/i.exec(T)||[""])[0].toLowerCase();var _="language-"+T;M.alias?typeof M.alias=="string"?M.alias=[M.alias,_]:M.alias.push(_):M.alias=[_]}}}y(v.tokens)}),s.hooks.add("wrap",function(v){if(v.type==="code-block"){for(var y="",w=0,k=v.classes.length;w<k;w++){var P=v.classes[w],E=/language-(.+)/.exec(P);if(E){y=E[1];break}}var C=s.languages[y];if(C)v.content=s.highlight(g(v.content),C,y);else if(y&&y!=="none"&&s.plugins.autoloader){var M="md-"+new Date().valueOf()+"-"+Math.floor(Math.random()*1e16);v.attributes.id=M,s.plugins.autoloader.loadLanguages(y,function(){var T=document.getElementById(M);T&&(T.innerHTML=s.highlight(T.textContent,s.languages[y],y))})}}});var u=RegExp(s.languages.markup.tag.pattern.source,"gi"),d={amp:"&",lt:"<",gt:">",quot:'"'},p=String.fromCodePoint||String.fromCharCode;function g(v){var y=v.replace(u,"");return y=y.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(w,k){if(k=k.toLowerCase(),k[0]==="#"){var P;return k[1]==="x"?P=parseInt(k.slice(2),16):P=Number(k.slice(1)),p(P)}else{var E=d[k];return E||w}}),y}s.languages.md=s.languages.markdown})(Prism);const OJ=/\{\{[^{}\n]+\}\}/;for(const s of["markdown","yaml"]){const n=$l.languages[s];n&&!n["template-block"]&&($l.languages[s]={"template-block":OJ,...n})}const MJ=/\x1b\[[\d;]*m/;function xf({code:s,language:n="text",maxHeight:r}){const i=ie.useRef(null),a=$l.languages[n]?n:"text",c=ie.useMemo(()=>MJ.test(s),[s]),{isDark:u}=ia();ie.useEffect(()=>{i.current&&!c&&$l.highlightElement(i.current)},[s,a,c]);const d=ie.useMemo(()=>new Gg({fg:u?"#c9d1d9":"#1b2330",bg:"transparent",newline:!0,escapeXML:!0}),[u]),p=ie.useMemo(()=>c?Qf.sanitize(d.toHtml(s),{ADD_ATTR:["style"]}):"",[s,c,d]);return m.jsx("pre",{className:Zt("m-0 font-mono text-xs rounded overflow-auto",u?"bg-base-300/60":"bg-base-200/50"),style:r?{maxHeight:r}:void 0,children:c?m.jsx("code",{className:"!bg-transparent !text-inherit !p-3 block whitespace-pre-wrap",dangerouslySetInnerHTML:{__html:p}}):m.jsx("code",{ref:i,className:`language-${a} !bg-transparent !text-inherit !p-3 block`,children:s})})}function We(s){return s==null?"":typeof s=="string"?s:JSON.stringify(s)}function Ot({children:s,className:n}){return m.jsx("span",{className:Zt("font-mono text-xs text-base-content/85",n),children:s})}function Ss({k:s,v:n}){return m.jsxs("span",{className:"inline-flex items-baseline gap-1 min-w-0",children:[m.jsxs("span",{className:"text-2xs text-base-content/45",children:[s,":"]}),m.jsx("span",{className:"font-mono text-xs text-base-content/85 truncate",children:n})]})}function _s({children:s,max:n=80}){return s.length<=n?m.jsx(m.Fragment,{children:s}):m.jsxs(m.Fragment,{children:[s.slice(0,n),"…"]})}function ur(s){if(s.length<50)return s;const n=s.split("/");return n.length>3?"…/"+n.slice(-2).join("/"):s}const PJ={terminal:{argsLang:"bash",summary:s=>{const n=We(s.command),r=s.timeout;return m.jsxs("span",{className:"flex items-center gap-2 min-w-0 flex-1",children:[m.jsx(Ot,{className:"truncate flex-1",children:m.jsx(_s,{max:140,children:n})}),r!=null&&m.jsxs("span",{className:"text-2xs text-base-content/40 shrink-0",children:[String(r),"s"]})]})}},read_file:{summary:s=>{const n=ur(We(s.path??s.file_path)),r=s.offset??s.line_start,i=s.limit??s.line_end;return m.jsxs("span",{className:"flex items-center gap-3 min-w-0 flex-1",children:[m.jsx(Ot,{className:"truncate",children:n}),r!=null&&m.jsxs("span",{className:"text-2xs text-base-content/45 shrink-0 font-mono",children:["L",String(r),i!=null?`-${String(i)}`:""]})]})}},write_file:{summary:s=>{const n=ur(We(s.path??s.file_path)),r=We(s.content),i=r?r.split(`
|
|
242
|
-
`).length:0;return m.jsxs("span",{className:"flex items-center gap-3 min-w-0 flex-1",children:[m.jsx(Ot,{className:"truncate flex-1",children:n}),i>0&&m.jsxs("span",{className:"text-2xs text-base-content/45 shrink-0 font-mono",children:[i," lines"]})]})}},edit_file:{summary:s=>{const n=ur(We(s.path??s.file_path)),r=s.replace_all===!0;return m.jsxs("span",{className:"flex items-center gap-3 min-w-0 flex-1",children:[m.jsx(Ot,{className:"truncate flex-1",children:n}),r&&m.jsx("span",{className:"badge badge-xs badge-warning shrink-0",children:"replace_all"})]})}},search_files:{summary:s=>m.jsxs("span",{className:"flex items-center gap-3 min-w-0 flex-1",children:[m.jsx(Ss,{k:"pattern",v:m.jsx(_s,{max:60,children:We(s.pattern)})}),s.target!=null&&m.jsx(Ss,{k:"in",v:String(s.target)}),s.path!=null&&m.jsx(Ss,{k:"path",v:ur(We(s.path))})]})},list_files:{summary:s=>m.jsx(Ot,{className:"truncate",children:ur(We(s.path??"."))})},todo:{summary:s=>{const n=Array.isArray(s.todos)?s.todos:[],r={};for(const i of n){const a=i==null?void 0:i.status;a&&(r[a]=(r[a]??0)+1)}return m.jsxs("span",{className:"flex items-center gap-2 text-2xs shrink-0",children:[m.jsxs("span",{className:"text-base-content/60 font-mono",children:[n.length," todos"]}),Object.entries(r).map(([i,a])=>m.jsxs("span",{className:Zt("badge badge-xs",i==="completed"&&"badge-success",i==="in_progress"&&"badge-warning",i==="pending"&&"badge-ghost"),children:[i.replace("_"," ")," ",a]},i))]})}},skill_view:{summary:s=>m.jsx(Ss,{k:"name",v:m.jsx(Ot,{children:We(s.name)})})},web_fetch:{summary:s=>m.jsx(Ot,{className:"truncate",children:We(s.url)})},web_search:{summary:s=>m.jsx(Ot,{className:"truncate",children:m.jsx(_s,{max:120,children:We(s.query)})})},bash:{argsLang:"bash",summary:s=>m.jsx(Ot,{className:"truncate",children:m.jsx(_s,{max:140,children:We(s.command)})})},read:{summary:s=>m.jsx(Ot,{className:"truncate",children:ur(We(s.file_path))})},write:{summary:s=>m.jsx(Ot,{className:"truncate",children:ur(We(s.file_path))})},edit:{summary:s=>m.jsx(Ot,{className:"truncate",children:ur(We(s.file_path))})},grep:{summary:s=>m.jsxs("span",{className:"flex items-center gap-3 min-w-0 flex-1",children:[m.jsxs(Ot,{className:"truncate",children:["/",We(s.pattern),"/"]}),s.path?m.jsx(Ss,{k:"in",v:ur(We(s.path))}):null]})},glob:{summary:s=>m.jsx(Ot,{children:We(s.pattern)})},task:{summary:s=>m.jsxs("span",{className:"flex items-center gap-2 min-w-0 flex-1",children:[m.jsx("span",{className:"badge badge-xs badge-secondary shrink-0",children:We(s.subagent_type)||"agent"}),m.jsx("span",{className:"text-xs text-base-content/80 truncate",children:m.jsx(_s,{max:100,children:We(s.description)||We(s.prompt)})})]})},todowrite:{summary:s=>{const n=Array.isArray(s.todos)?s.todos:[];return m.jsxs("span",{className:"text-2xs text-base-content/60 font-mono",children:[n.length," todos"]})}},webfetch:{summary:s=>m.jsx(Ot,{className:"truncate",children:We(s.url)})},websearch:{summary:s=>m.jsx(Ot,{className:"truncate",children:We(s.query)})}};function LJ(s,n){const r=Object.entries(n).slice(0,3);return r.length===0?m.jsx("span",{className:"text-2xs text-base-content/40",children:"no params"}):m.jsx("span",{className:"flex items-center gap-3 min-w-0 flex-1 flex-wrap",children:r.map(([i,a])=>m.jsx(Ss,{k:i,v:m.jsx(_s,{max:50,children:We(a)})},i))})}function Vg(s){return PJ[s.toLowerCase()]??null}function DJ(s,n){const r=Vg(s);if(r){const a=r.summary(n);if(a)return a}if(s.toLowerCase().startsWith("mcp_"))return LJ(s,n);const i=Object.entries(n).slice(0,2);return i.length===0?m.jsx("span",{className:"text-2xs text-base-content/40",children:"no args"}):m.jsx("span",{className:"flex items-center gap-3 min-w-0 flex-1",children:i.map(([a,c])=>m.jsx(Ss,{k:a,v:m.jsx(_s,{max:60,children:We(c)})},a))})}function IJ(s){var n;return((n=Vg(s))==null?void 0:n.argsLang)??"json"}function FJ(s){if(s.toLowerCase().startsWith("mcp_")){const r=s.slice(4).split("_");if(r.length>=2)return{prefix:r[0],label:r.slice(1).join("_")}}return{label:s}}const $J=["output","stdout","text","content","result","message","error","summary","body"],zJ=["title","name","full_name","login","message","id","number","url","html_url","slug","path","summary"];function Tm(s){for(const n of s.split(`
|
|
243
|
-
`))if(n.trim().length>0)return n.trim();return""}function _o(s){const n=Object.keys(s);if(n.length===0)return"{}";const r=n.slice(0,4).join(", "),i=n.length>4?`, +${n.length-4}`:"";return`{${r}${i}}`}function qu(s){for(const n of zJ){const r=s[n];if(typeof r=="string"&&r.trim()){const i=r.trim();return`${n}: ${i.length>80?i.slice(0,80)+"…":i}`}if(typeof r=="number")return`${n}: ${r}`}return null}function Em(s){const n=s.trim();if(n.startsWith("{")||n.startsWith("["))try{return JSON.parse(n)}catch{return}}function wf(s,n=0){if(n>3||s==null)return null;if(typeof s=="string")return s;if(Array.isArray(s)){const r=[];for(const i of s){const a=wf(i,n+1);a!=null&&r.push(a)}return r.length?r.join(`
|
|
244
|
-
`):null}if(typeof s=="object"){const r=s;for(const i of $J)if(i in r){const a=wf(r[i],n+1);if(a!=null&&a.trim())return a}}return null}function Qg(s){if(s==null||s==="")return{kind:"empty"};if(typeof s=="string"){const r=Em(s);return r!==void 0?{...Qg(r),bytes:s.length}:{kind:"text",preview:Tm(s),lines:s.split(`
|
|
245
|
-
`).length,bytes:s.length}}const n=wf(s);if(n!=null){const r=typeof s=="string"?s.length:JSON.stringify(s).length,i=Em(n);if(i!==void 0&&typeof i=="object"&&i!==null){if(Array.isArray(i))return{kind:"array",length:i.length,bytes:r,preview:i[0]&&typeof i[0]=="object"?qu(i[0])??_o(i[0]):String(i[0]??"").slice(0,80)};const a=i;return{kind:"json",preview:qu(a)??_o(a),bytes:r,shape:_o(a)}}return{kind:"text",preview:Tm(n),lines:n.split(`
|
|
246
|
-
`).length,bytes:r}}if(Array.isArray(s)){const r=JSON.stringify(s).length,i=s[0];return{kind:"array",preview:typeof i=="string"?i.slice(0,80):i&&typeof i=="object"?_o(i):"",length:s.length,bytes:r}}if(typeof s=="object"){const r=s;return{kind:"json",preview:qu(r)??_o(r),bytes:JSON.stringify(r).length,shape:_o(r)}}return{kind:"text",preview:String(s),bytes:String(s).length}}function UJ(s){return s<1e3?`${s} B`:s<1e6?`${(s/1e3).toFixed(1)} kB`:`${(s/1e6).toFixed(2)} MB`}const HJ={terminal:"shell",bash:"shell",shell:"shell",read_file:"fs",write_file:"fs",edit_file:"fs",list_files:"fs",search_files:"fs",read:"fs",write:"fs",edit:"fs",grep:"fs",glob:"fs",web_fetch:"web",web_search:"web",webfetch:"web",websearch:"web",todo:"plan",todowrite:"plan",task:"plan",skill_view:"plan"},BJ=["commit","branch","repo","repository","pull_request","pr_","issue","comment","push","clone","merge","tag","release"];function qJ(s){const n=s.toLowerCase(),r=HJ[n];return r||(n.startsWith("mcp_github_")||n.startsWith("github_")?"git":n.startsWith("mcp_")?BJ.some(i=>n.includes(i))?"git":"mcp":"other")}const Wg={shell:{Icon:cx,color:"text-primary",bg:"bg-primary/15"},fs:{Icon:hf,color:"text-info",bg:"bg-info/15"},git:{Icon:xg,color:"text-warning",bg:"bg-warning/15"},web:{Icon:ex,color:"text-secondary",bg:"bg-secondary/15"},plan:{Icon:nx,color:"text-accent",bg:"bg-accent/15"},mcp:{Icon:sx,color:"text-success",bg:"bg-success/15"},other:{Icon:fx,color:"text-base-content/60",bg:"bg-base-content/10"}},GJ={read_file:hf,read:hf,write_file:qp,write:qp,edit_file:kl,edit:kl,patch:kl,str_replace:kl,list_files:Zv,search_files:Ii,grep:Ii,glob:Ii,web_fetch:Bp,webfetch:Bp,web_search:Ii,websearch:Ii,task:Yv,skill_view:Xv,commit:wg,add_issue_comment:kg},VJ=[[/pull_request|pr_/,Jv],[/commit/,wg],[/branch/,xg],[/repo|repository/,bg],[/issue|comment/,kg]];function QJ(s,n){const r=s.toLowerCase(),i=GJ[r];if(i)return i;if(n==="git"){const a=r.replace(/^mcp_/,"").replace(/^github_/,"").replace(/^git_/,"");for(const[c,u]of VJ)if(c.test(a))return u;return bg}return Wg[n].Icon}const Gu=8e3,WJ=/\x1b\[[\d;]*m/;function KJ(s){if(s==null)return{text:"",isJson:!1};if(typeof s=="string")return{text:s,isJson:!1};if(Array.isArray(s)&&s.every(r=>r&&typeof r=="object"&&typeof r.text=="string"))return{text:s.map(r=>r.text).join(`
|
|
247
|
-
`),isJson:!1};try{return{text:JSON.stringify(s,null,2),isJson:!0}}catch{return{text:String(s),isJson:!1}}}function XJ({pair:s,isNew:n}){var _,N,F,$,G;const[r,i]=ie.useState(!1),[a,c]=ie.useState(!1),{isDark:u}=ia(),d=ie.useMemo(()=>new Gg({fg:u?"#c9d1d9":"#1b2330",bg:"transparent",escapeXML:!0}),[u]),p=((_=s.use.content)==null?void 0:_.input)??{},g=(F=(N=s.result)==null?void 0:N.content)==null?void 0:F.content,v=((G=($=s.result)==null?void 0:$.content)==null?void 0:G.is_error)===!0,{text:y,isJson:w}=KJ(g),k=JSON.stringify(p,null,2),P=Qg(g),E=FJ(s.toolName),C=qJ(s.toolName),M=Wg[C],T=QJ(s.toolName,C);return m.jsxs(ca,{isNew:n,timestamp:s.timestamp,dense:!0,title:m.jsxs(m.Fragment,{children:[m.jsx(ua,{Icon:T,color:M.color,bg:M.bg}),m.jsx("span",{className:"text-2xs font-semibold uppercase tracking-wider text-base-content/80 shrink-0 font-mono",children:E.prefix?`${E.prefix}.${E.label}`:E.label}),m.jsx("span",{className:"text-base-content/25 shrink-0",children:"-"}),DJ(s.toolName,p)]}),headerRight:m.jsxs("div",{className:"flex items-center gap-1.5 shrink-0",children:[s.result==null&&m.jsx("span",{className:"badge badge-xs badge-warning animate-pulse",children:"running"}),v&&m.jsx("span",{className:"badge badge-xs badge-error",children:"error"}),m.jsx("button",{onClick:()=>i(!r),className:"text-2xs text-base-content/45 hover:text-base-content font-mono",title:"Toggle full args",children:r?"- args":"+ args"})]}),children:[r&&m.jsx("div",{className:"mb-2",children:m.jsx(xf,{code:k,language:IJ(s.toolName),maxHeight:"24rem"})}),s.result&&m.jsxs("div",{children:[m.jsxs("button",{type:"button",disabled:P.kind==="empty",onClick:()=>P.kind!=="empty"&&c(!a),className:Zt("w-full flex items-center gap-2 text-left min-w-0",P.kind!=="empty"&&"cursor-pointer hover:text-base-content"),children:[m.jsx("span",{className:Zt("text-2xs uppercase tracking-wider font-semibold shrink-0",v?"text-error":"text-base-content/55"),children:v?"Error":"Result"}),P.kind==="empty"?m.jsx("span",{className:"text-2xs text-base-content/40 italic",children:"(empty)"}):m.jsxs(m.Fragment,{children:[m.jsx("span",{className:"text-base-content/25 shrink-0",children:"-"}),!a&&(()=>{const V=P.kind==="text"||P.kind==="json"?P.preview:P.kind==="array"?`[${P.length}] ${P.preview?"- "+P.preview:""}`:"";return typeof V=="string"&&WJ.test(V)?m.jsx("span",{className:"text-xs font-mono truncate flex-1",dangerouslySetInnerHTML:{__html:Qf.sanitize(d.toHtml(V),{ADD_ATTR:["style"]})}}):m.jsx("span",{className:Zt("text-xs font-mono truncate flex-1",P.kind==="json"?"text-base-content/60":"text-base-content/75"),children:V})})(),m.jsxs("span",{className:"ml-auto text-2xs text-base-content/40 font-mono shrink-0 flex items-center gap-2",children:[P.kind==="text"&&P.lines&&P.lines>1&&m.jsxs("span",{children:[P.lines.toLocaleString()," lines"]}),P.kind==="array"&&m.jsxs("span",{children:[P.length.toLocaleString()," items"]}),m.jsx("span",{children:UJ(P.bytes)}),m.jsx("span",{children:a?"-":"+"})]})]})]}),a&&y&&m.jsx("div",{className:"mt-2",children:m.jsx(xf,{code:y.length>Gu?y.slice(0,Gu)+`
|
|
248
|
-
|
|
249
|
-
... (${(y.length-Gu).toLocaleString()} more chars)`:y,language:w?"json":"text",maxHeight:"32rem"})})]})]})}function Nm({msg:s,isNew:n}){var p,g;const[r,i]=ie.useState(!1),a=s.type==="system",c=a?"system":"meta",u=a?tx:lx,d=a?((p=s.content)==null?void 0:p.text)??"":JSON.stringify(s.content,null,2);return m.jsx(ca,{isNew:n,timestamp:s.timestamp,dense:!0,title:m.jsxs(m.Fragment,{children:[m.jsx(ua,{Icon:u,color:"text-base-content/60",bg:"bg-base-content/10"}),m.jsx("span",{className:"text-2xs font-semibold uppercase tracking-wider text-base-content/60 shrink-0",children:c}),a&&d&&m.jsxs(m.Fragment,{children:[m.jsx("span",{className:"text-base-content/25 shrink-0",children:"-"}),m.jsx("span",{className:"text-2xs text-base-content/60 truncate flex-1",children:(g=d.split(`
|
|
250
|
-
`)[0])==null?void 0:g.slice(0,140)})]})]}),headerRight:m.jsx("button",{onClick:()=>i(!r),className:"text-2xs text-base-content/40 hover:text-base-content font-mono shrink-0",children:r?"-":"+"}),children:r&&m.jsx(xf,{code:d,language:a?"text":"json",maxHeight:"24rem"})})}function YJ({msg:s,isNew:n}){const r=s.content,i=r.staged??[],a=i.length>0;return m.jsx(ca,{isNew:n,timestamp:s.timestamp,dense:!0,title:m.jsxs(m.Fragment,{children:[m.jsx(ua,{Icon:ox,color:a?"text-accent":"text-base-content/50",bg:a?"bg-accent/10":"bg-base-content/10"}),m.jsx("span",{className:"shrink-0 text-2xs font-semibold uppercase tracking-wider text-base-content/60",children:"skills"}),r.status&&m.jsx("span",{className:"shrink-0 text-2xs text-base-content/40",children:r.status}),a?m.jsx("span",{className:"flex min-w-0 flex-1 flex-wrap items-center gap-1",children:i.map(c=>m.jsx("span",{className:"rounded border border-accent/30 bg-accent/10 px-1.5 py-0.5 font-mono text-2xs text-accent",children:c},c))}):m.jsx("span",{className:"min-w-0 flex-1 truncate text-2xs text-base-content/40",children:r.discovered!=null?`${r.discovered} available`:""}),a&&r.discovered!=null&&m.jsxs("span",{className:"shrink-0 text-2xs text-base-content/30",children:[r.discovered," available"]})]})})}function Am({item:s,isNew:n}){var i;if(Ag(s))return m.jsx(XJ,{pair:s,isNew:n});const r=s.message;return r.type==="system"&&((i=r.metadata)==null?void 0:i.kind)==="skills"?m.jsx(YJ,{msg:r,isNew:n}):r.type==="user"?m.jsx(ew,{msg:r,isNew:n}):r.type==="assistant"?m.jsx(tw,{msg:r,isNew:n}):r.type==="tool_result"||r.type==="tool_use"?m.jsx(Nm,{msg:r,isNew:n}):m.jsx(Nm,{msg:r,isNew:n})}function ZJ(s){return typeof s=="number"?new Date(s*1e3).toISOString():typeof s=="string"?s:new Date().toISOString()}function Cm(s){return s==null?"":typeof s=="string"?s:Array.isArray(s)?s.map(n=>{if(typeof n=="string")return n;if(n&&typeof n=="object"){const r=n;if(typeof r.text=="string")return r.text;if(typeof r.content=="string")return r.content}return""}).filter(Boolean).join(`
|
|
251
|
-
`):""}function JJ(s){if(!s)return[];let n=s;if(typeof s=="string")try{n=JSON.parse(s)}catch{return[]}return Array.isArray(n)?n.map((r,i)=>{const a=r??{},c=a.function??{};let u={};const d=c.arguments??a.arguments;if(typeof d=="string")try{u=JSON.parse(d)}catch{u={raw:d}}else d&&typeof d=="object"&&(u=d);const p=typeof a.id=="string"?a.id:typeof c.id=="string"?c.id:`tc-${i}`,g=String(c.name??a.name??"tool");return{id:p,name:g,input:u}}):[]}function eee(s){const n=[];for(const r of s){const i=r.role,a=ZJ(r.timestamp??Date.now()/1e3),c=String(r.id),u=Cm(r.content),d=JJ(r.tool_calls),p=r.tool_name?String(r.tool_name):void 0,g=r.tool_call_id?String(r.tool_call_id):void 0;if(i==="user")n.push({id:c,timestamp:a,type:"user",content:{text:u}});else if(i==="assistant"){u&&n.push({id:d.length?`${c}-text`:c,timestamp:a,type:"assistant",content:{text:u,reasoning:Cm(r.reasoning)}});for(let v=0;v<d.length;v++){const y=d[v],w=y.id.startsWith("tc-")?`${c}-tc${v}`:y.id;n.push({id:w,timestamp:a,type:"tool_use",content:{id:w,name:y.name,input:y.input}})}}else if(i==="tool"){let v=u;try{v=JSON.parse(u)}catch{}n.push({id:c,timestamp:a,type:"tool_result",content:{tool_use_id:g,content:v},linkedTo:g,metadata:p?{toolName:p}:void 0})}else i==="system"?r.subtype==="skills_status"?n.push({id:c,timestamp:a,type:"system",content:{kind:"skills",status:r.status,discovered:r.discovered,staged:r.staged??[]},metadata:{kind:"skills"}}):n.push({id:c,timestamp:a,type:"system",content:{text:u}}):i==="session_meta"?n.push({id:c,timestamp:a,type:"meta",content:r}):n.push({id:c,timestamp:a,type:"user",content:{text:u,role:i}})}return n}function tee(s){if(typeof s.role=="string")return[s];const n=s.type;if(!n)return[];if(n==="queue-operation"||n==="summary"||n==="login")return[];if(n==="last-prompt"||n==="attachment")return[];const r=s.timestamp;let i={};if(s.message!=null)if(typeof s.message=="string")try{i=JSON.parse(s.message)}catch{i={content:s.message}}else typeof s.message=="object"&&(i=s.message);if(n==="user"){const a=i.content??s.content;return Array.isArray(a)&&a.some(u=>u.type==="tool_result")?a.filter(u=>u.type==="tool_result").map(u=>{const d=u;return{role:"tool",content:d.content,tool_call_id:d.tool_use_id,timestamp:r}}):[{role:"user",content:a,timestamp:r}]}if(n==="assistant"){if(s.isApiErrorMessage||s.error)return[{role:"system",content:String(s.error??"API error"),timestamp:r}];const a=i.content,c=i.model,u=i.stop_reason;let d,p,g;if(Array.isArray(a)){const v=[],y=[];for(const w of a){const k=w;k.type==="text"&&typeof k.text=="string"?v.push(k.text):k.type==="tool_use"?y.push({id:k.id,function:{name:k.name,arguments:k.input}}):(k.type==="thinking"||k.type==="reasoning")&&(g=k.thinking??k.text)}v.length&&(d=v.join(`
|
|
252
|
-
`)),y.length&&(p=y)}else typeof a=="string"&&(d=a);return!d&&!p?[]:[{role:"assistant",content:d,tool_calls:p,reasoning:g,finish_reason:u,model:c,timestamp:r}]}if(n==="tool_result"){const a=i.content??s.content,c=i.tool_use_id??s.tool_use_id;return[{role:"tool",content:a,tool_call_id:c,timestamp:r}]}if(n==="tool_use")return[{role:"assistant",tool_calls:[{id:i.id??s.uuid,function:{name:i.name,arguments:i.input}}],timestamp:r}];if(n==="system"&&s.subtype==="skills_status"){const a=Array.isArray(s.skills)?s.skills:[],c=a.filter(u=>typeof u.source=="string"&&u.source.includes(".lastlight-skills")).map(u=>String(u.name));return[{role:"system",subtype:"skills_status",status:typeof s.status=="string"?s.status:void 0,discovered:typeof s.discovered=="number"?s.discovered:a.length,staged:c,timestamp:r}]}return[]}async function nee(s){const n=await fetch(s,{headers:{accept:"application/x-ndjson, text/plain"}});if(!n.ok)throw new Error(`${n.status} ${n.statusText} — ${s}`);const r=await n.text(),i=[];let a=0;for(const c of r.split(`
|
|
253
|
-
`)){const u=c.trim();if(u)try{const d=JSON.parse(u);for(const p of tee(d))p.id=a++,i.push(p)}catch{}}return{items:Ix(eee(i)),messageCount:i.length}}function ree(s,n=!1){return Df({queryKey:["session-log",s,n],queryFn:()=>nee(s),enabled:!!s,staleTime:n?0:1/0,refetchInterval:n?1500:!1,placeholderData:r=>r})}function see(s){return!Ag(s)&&s.message.type==="user"}function oee({logUrl:s,failToPass:n=[],passToPass:r=[]}){const[i,a]=ie.useState(null),[c,u]=ie.useState(null);ie.useEffect(()=>{if(!s){a("");return}let p=!1;return fetch(s).then(g=>g.ok?g.text():Promise.reject(new Error(`HTTP ${g.status}`))).then(g=>!p&&a(g)).catch(g=>!p&&u(g instanceof Error?g.message:String(g))),()=>{p=!0}},[s]);const d=[...n.map(p=>({...p,kind:"FAIL_TO_PASS"})),...r.map(p=>({...p,kind:"PASS_TO_PASS"}))];return m.jsxs("div",{className:"flex-1 overflow-y-auto bg-base-100",children:[d.length>0&&m.jsxs("div",{className:"space-y-1 border-b border-base-300 px-4 py-3",children:[m.jsxs("div",{className:"mb-1.5 font-mono text-2xs uppercase tracking-wide text-base-content/40",children:["held-out tests (",d.filter(p=>p.pass).length,"/",d.length," passed)"]}),d.map((p,g)=>m.jsxs("div",{className:"flex items-start gap-2 font-mono text-xs leading-5",children:[m.jsx("span",{className:p.pass?"text-success":"text-error",children:p.pass?"✓":"✗"}),m.jsx("span",{className:"shrink-0 text-base-content/40",children:p.kind}),m.jsx("span",{className:"break-all text-base-content/80",children:p.id})]},g))]}),c&&m.jsxs("div",{className:"px-4 py-3 font-mono text-xs text-error",children:["Couldn't load test output: ",c]}),i===null&&!c&&m.jsx("div",{className:"py-16 text-center font-mono text-sm text-base-content/40",children:"loading test output…"}),i!==null&&m.jsx("pre",{className:"whitespace-pre-wrap px-4 py-3 font-mono text-2xs leading-5 text-base-content/80",children:i||"(no test output captured)"})]})}function iee({url:s,live:n}){const{data:r,isLoading:i,error:a}=ree(s,n),c=n?[...(r==null?void 0:r.items)??[]].reverse():(r==null?void 0:r.items)??[];return m.jsxs("div",{className:"flex-1 space-y-2 overflow-y-auto bg-base-100 px-4 py-3",children:[a&&m.jsxs("div",{className:"rounded-lg border border-error/40 bg-error/10 px-4 py-3 font-mono text-xs text-error",children:["Couldn't load the session log: ",a.message]}),i&&!r&&m.jsx("div",{className:"py-16 text-center font-mono text-sm text-base-content/40",children:"loading session…"}),!i&&!a&&c.length===0&&m.jsx("div",{className:"py-16 text-center font-mono text-sm text-base-content/40",children:n?"waiting for the agent to start…":"no messages recorded"}),c.map(u=>see(u)?m.jsx("div",{className:"flex justify-end",children:m.jsx("div",{className:"w-fit min-w-0 max-w-[85%]",children:m.jsx(Am,{item:u})})},u.id):m.jsx(Am,{item:u},u.id))]})}function Vu({active:s,onClick:n,label:r,ok:i}){return m.jsxs("button",{onClick:n,className:"flex items-center gap-1.5 whitespace-nowrap rounded-md border px-2.5 py-1 font-mono text-2xs "+(s?"border-info bg-info/15 text-info":"border-base-300 bg-base-200 text-base-content/60 hover:border-info hover:text-base-content"),children:[i!==void 0&&m.jsx("span",{className:"h-1.5 w-1.5 shrink-0 rounded-full "+(i?"bg-success":"bg-error")}),r]})}function aee({source:s,onClose:n}){ie.useEffect(()=>{const y=w=>{w.key==="Escape"&&n()};return window.addEventListener("keydown",y),()=>window.removeEventListener("keydown",y)},[n]);const[r,i]=ie.useState(0),[a,c]=ie.useState("0"),u=s.kind==="trials"?s.sessions:[],d=u[Math.min(r,Math.max(0,u.length-1))],p=y=>s.kind==="trials"?s.baseUrl.replace(/scorecard\.json$/,y):y;let g,v=!1;if(s.kind==="live")g=s.url,v=!0;else if(a==="full"&&(d!=null&&d.full))g=p(d.full);else{const y=(d==null?void 0:d.phases[Number(a)])??(d==null?void 0:d.phases[0]);g=y?p(y.log):d!=null&&d.full?p(d.full):""}return m.jsx("div",{className:"fixed inset-0 z-50 flex bg-black/60",onClick:n,children:m.jsxs("div",{className:"m-4 flex h-[calc(100vh-2rem)] w-full max-w-none flex-col overflow-hidden rounded-xl border border-base-300 bg-base-100 shadow-2xl",onClick:y=>y.stopPropagation(),children:[m.jsxs("div",{className:"flex shrink-0 items-center gap-3 border-b border-base-300 bg-base-200/80 px-4 py-2.5",children:[v&&m.jsx("span",{className:"ll-pulse shrink-0 text-2xs font-semibold text-accent",children:"● live"}),m.jsx("span",{className:"truncate font-mono text-xs text-base-content/70",children:s.title}),v&&m.jsx("span",{className:"shrink-0 whitespace-nowrap rounded border border-base-300 bg-base-200 px-1.5 py-0.5 font-mono text-2xs text-base-content/60",children:"↓ newest first"}),(()=>{const y=s.kind==="execution"?s.logUrl:g;return y?m.jsx("a",{href:y,target:"_blank",rel:"noreferrer",className:"ml-auto whitespace-nowrap font-mono text-2xs text-info hover:underline",children:s.kind==="execution"?"raw log":"raw jsonl"}):null})(),m.jsx("button",{onClick:n,className:"btn btn-ghost btn-xs h-6 min-h-0","aria-label":"Close",children:"✕"})]}),s.kind==="trials"&&m.jsxs("div",{className:"flex flex-col gap-2 border-b border-base-300 bg-base-200/40 px-4 py-2",children:[u.length>1&&m.jsxs("div",{className:"flex flex-wrap items-center gap-1.5",children:[m.jsx("span",{className:"mr-1 font-mono text-2xs uppercase tracking-wide text-base-content/40",children:"trial"}),u.map((y,w)=>m.jsx(Vu,{active:w===r,onClick:()=>{i(w),c("0")},label:`#${y.trial}`},y.trial))]}),m.jsxs("div",{className:"flex flex-wrap items-center gap-1.5",children:[m.jsx("span",{className:"mr-1 font-mono text-2xs uppercase tracking-wide text-base-content/40",children:"phase"}),d==null?void 0:d.phases.map((y,w)=>m.jsx(Vu,{active:a===String(w),onClick:()=>c(String(w)),label:y.phase,ok:y.success},`${y.phase}:${w}`)),(d==null?void 0:d.full)&&m.jsx(Vu,{active:a==="full",onClick:()=>c("full"),label:"full"})]})]}),s.kind==="execution"?m.jsx(oee,{logUrl:s.logUrl,failToPass:s.failToPass,passToPass:s.passToPass}):g?m.jsx(iee,{url:g,live:v},g):m.jsx("div",{className:"flex-1 py-16 text-center font-mono text-sm text-base-content/40",children:"no session log"})]})})}function jm(s,n){var r=Object.keys(s);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(s);n&&(i=i.filter((function(a){return Object.getOwnPropertyDescriptor(s,a).enumerable}))),r.push.apply(r,i)}return r}function at(s){for(var n=1;n<arguments.length;n++){var r=arguments[n]!=null?arguments[n]:{};n%2?jm(Object(r),!0).forEach((function(i){bf(s,i,r[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(r)):jm(Object(r)).forEach((function(i){Object.defineProperty(s,i,Object.getOwnPropertyDescriptor(r,i))}))}return s}function bf(s,n,r){return(n=(function(i){var a=(function(c,u){if(typeof c!="object"||c===null)return c;var d=c[Symbol.toPrimitive];if(d!==void 0){var p=d.call(c,u);if(typeof p!="object")return p;throw new TypeError("@@toPrimitive must return a primitive value.")}return(u==="string"?String:Number)(c)})(i,"string");return typeof a=="symbol"?a:String(a)})(n))in s?Object.defineProperty(s,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):s[n]=r,s}function Bo(s,n){if(s==null)return{};var r,i,a=(function(u,d){if(u==null)return{};var p,g,v={},y=Object.keys(u);for(g=0;g<y.length;g++)p=y[g],d.indexOf(p)>=0||(v[p]=u[p]);return v})(s,n);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(s);for(i=0;i<c.length;i++)r=c[i],n.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(s,r)&&(a[r]=s[r])}return a}function jn(s,n){return cee(s)||(function(r,i){var a=r==null?null:typeof Symbol<"u"&&r[Symbol.iterator]||r["@@iterator"];if(a!=null){var c,u,d,p,g=[],v=!0,y=!1;try{if(d=(a=a.call(r)).next,i===0){if(Object(a)!==a)return;v=!1}else for(;!(v=(c=d.call(a)).done)&&(g.push(c.value),g.length!==i);v=!0);}catch(w){y=!0,u=w}finally{try{if(!v&&a.return!=null&&(p=a.return(),Object(p)!==p))return}finally{if(y)throw u}}return g}})(s,n)||Wf(s,n)||fee()}function lee(s){return(function(n){if(Array.isArray(n))return kf(n)})(s)||uee(s)||Wf(s)||(function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
254
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function cee(s){if(Array.isArray(s))return s}function uee(s){if(typeof Symbol<"u"&&s[Symbol.iterator]!=null||s["@@iterator"]!=null)return Array.from(s)}function Wf(s,n){if(s){if(typeof s=="string")return kf(s,n);var r=Object.prototype.toString.call(s).slice(8,-1);return r==="Object"&&s.constructor&&(r=s.constructor.name),r==="Map"||r==="Set"?Array.from(s):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?kf(s,n):void 0}}function kf(s,n){(n==null||n>s.length)&&(n=s.length);for(var r=0,i=new Array(n);r<n;r++)i[r]=s[r];return i}function fee(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
255
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function dee(s,n){var r=typeof Symbol<"u"&&s[Symbol.iterator]||s["@@iterator"];if(!r){if(Array.isArray(s)||(r=Wf(s))||n){r&&(s=r);var i=0,a=function(){};return{s:a,n:function(){return i>=s.length?{done:!0}:{done:!1,value:s[i++]}},e:function(p){throw p},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
256
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var c,u=!0,d=!1;return{s:function(){r=r.call(s)},n:function(){var p=r.next();return u=p.done,p},e:function(p){d=!0,c=p},f:function(){try{u||r.return==null||r.return()}finally{if(d)throw c}}}}var El=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function fa(s,n){return s(n={exports:{}},n.exports),n.exports}var cn=fa((function(s){/*!
|
|
257
|
-
Copyright (c) 2018 Jed Watson.
|
|
258
|
-
Licensed under the MIT License (MIT), see
|
|
259
|
-
http://jedwatson.github.io/classnames
|
|
260
|
-
*/(function(){var n={}.hasOwnProperty;function r(){for(var i=[],a=0;a<arguments.length;a++){var c=arguments[a];if(c){var u=typeof c;if(u==="string"||u==="number")i.push(c);else if(Array.isArray(c)){if(c.length){var d=r.apply(null,c);d&&i.push(d)}}else if(u==="object"){if(c.toString!==Object.prototype.toString&&!c.toString.toString().includes("[native code]")){i.push(c.toString());continue}for(var p in c)n.call(c,p)&&c[p]&&i.push(p)}}}return i.join(" ")}s.exports?(r.default=r,s.exports=r):window.classNames=r})()})),Kt={hunkClassName:"",lineClassName:"",gutterClassName:"",codeClassName:"",monotonous:!1,gutterType:"default",viewType:"split",widgets:{},hideGutter:!1,selectedChanges:[],generateAnchorID:function(){},generateLineClassName:function(){},renderGutter:function(s){var n=s.renderDefault;return(0,s.wrapInAnchor)(n())},codeEvents:{},gutterEvents:{}},Kg=ie.createContext(Kt),hee=Kg.Provider,pee=function(){return ie.useContext(Kg)},mee=fa((function(s,n){(function(r){function i(c){var u=c.slice(11),d=null,p=null;switch(u.indexOf('"')){case-1:d=(y=u.split(" "))[0].slice(2),p=y[1].slice(2);break;case 0:var g=u.indexOf('"',2);d=u.slice(3,g);var v=u.indexOf('"',g+1);p=v<0?u.slice(g+4):u.slice(v+3,-1);break;default:var y;d=(y=u.split(" "))[0].slice(2),p=y[1].slice(3,-1)}return{oldPath:d,newPath:p}}var a={parse:function(c){for(var u,d,p,g,v,y=[],w=2,k=c.split(`
|
|
261
|
-
`),P=k.length,E=0;E<P;){var C=k[E];if(C.indexOf("diff --git")===0){u={hunks:[],oldEndingNewLine:!0,newEndingNewLine:!0,oldPath:(v=i(C)).oldPath,newPath:v.newPath},y.push(u);var M,T=null;e:for(;M=k[++E];){var _=M.indexOf(" "),N=_>-1?M.slice(0,_):N;switch(N){case"diff":E--;break e;case"deleted":case"new":var F=M.slice(_+1);F.indexOf("file mode")===0&&(u[N==="new"?"newMode":"oldMode"]=F.slice(10));break;case"similarity":u.similarity=parseInt(M.split(" ")[2],10);break;case"index":var $=M.slice(_+1).split(" "),G=$[0].split("..");u.oldRevision=G[0],u.newRevision=G[1],$[1]&&(u.oldMode=u.newMode=$[1]);break;case"copy":case"rename":var V=M.slice(_+1);V.indexOf("from")===0?u.oldPath=V.slice(5):u.newPath=V.slice(3),T=N;break;case"---":var Q=M.slice(_+1),I=k[++E].slice(4);Q==="/dev/null"?(I=I.slice(2),T="add"):I==="/dev/null"?(Q=Q.slice(2),T="delete"):(T="modify",Q=Q.slice(2),I=I.slice(2)),Q&&(u.oldPath=Q),I&&(u.newPath=I),w=5;break e}}u.type=T||"modify"}else if(C.indexOf("Binary")===0)u.isBinary=!0,u.type=C.indexOf("/dev/null and")>=0?"add":C.indexOf("and /dev/null")>=0?"delete":"modify",w=2,u=null;else if(w===5)if(C.indexOf("@@")===0){var se=/^@@\s+-([0-9]+)(,([0-9]+))?\s+\+([0-9]+)(,([0-9]+))?/.exec(C);d={content:C,oldStart:se[1]-0,newStart:se[4]-0,oldLines:se[3]-0||1,newLines:se[6]-0||1,changes:[]},u.hunks.push(d),p=d.oldStart,g=d.newStart}else{var L=C.slice(0,1),U={content:C.slice(1)};switch(L){case"+":U.type="insert",U.isInsert=!0,U.lineNumber=g,g++;break;case"-":U.type="delete",U.isDelete=!0,U.lineNumber=p,p++;break;case" ":U.type="normal",U.isNormal=!0,U.oldLineNumber=p,U.newLineNumber=g,p++,g++;break;case"\\":var q=d.changes[d.changes.length-1];q.isDelete||(u.newEndingNewLine=!1),q.isInsert||(u.oldEndingNewLine=!1)}U.type&&d.changes.push(U)}E++}return y}};s.exports=a})()}));function Go(s){return s.type==="insert"}function pr(s){return s.type==="delete"}function Xi(s){return s.type==="normal"}function gee(s,n){var r=n.nearbySequences==="zip"?(function(i){var a=i.reduce((function(c,u,d){var p=jn(c,3),g=p[0],v=p[1],y=p[2];return v?Go(u)&&y>=0?(g.splice(y+1,0,u),[g,u,y+2]):(g.push(u),[g,u,pr(u)&&pr(v)?y:d]):(g.push(u),[g,u,pr(u)?d:-1])}),[[],null,-1]);return jn(a,1)[0]})(s.changes):s.changes;return at(at({},s),{},{isPlain:!1,changes:r})}function yee(s){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=(function(i){if(i.startsWith("diff --git"))return i;var a=i.indexOf(`
|
|
262
|
-
`),c=i.indexOf(`
|
|
263
|
-
`,a+1),u=i.slice(0,a),d=i.slice(a+1,c),p=u.split(" ").slice(1,-3).join(" "),g=d.split(" ").slice(1,-3).join(" ");return["diff --git a/".concat(p," b/").concat(g),"index 1111111..2222222 100644","--- a/".concat(p),"+++ b/".concat(g),i.slice(c+1)].join(`
|
|
264
|
-
`)})(s.trimStart());return mee.parse(r).map((function(i){return(function(a,c){var u=a.hunks.map((function(d){return gee(d,c)}));return at(at({},a),{},{hunks:u})})(i,n)}))}function vee(s){return s[0]}function xee(s){return s[s.length-1]}function Sf(s){return["".concat(s,"Start"),"".concat(s,"Lines")]}function Yi(s){return s==="old"?function(n){return Go(n)?-1:Xi(n)?n.oldLineNumber:n.lineNumber}:function(n){return pr(n)?-1:Xi(n)?n.newLineNumber:n.lineNumber}}function Xg(s,n){return function(r,i){var a=r[s],c=a+r[n];return i>=a&&i<c}}function wee(s,n){return function(r,i,a){var c=r[s]+r[n],u=i[s];return a>=c&&a<u}}function Yg(s){var n=Yi(s),r=(function(i){var a=jn(Sf(i),2),c=Xg(a[0],a[1]);return function(u,d){return u.find((function(p){return c(p,d)}))}})(s);return function(i,a){var c=r(i,a);if(c)return c.changes.find((function(u){return n(u)===a}))}}function Kf(s){var n=s==="old"?"new":"old",r=jn(Sf(s),2),i=r[0],a=r[1],c=jn(Sf(n),2),u=c[0],d=c[1],p=Yi(s),g=Yi(n),v=Xg(i,a),y=wee(i,a);return function(w,k){var P=vee(w);if(k<P[i]){var E=P[i]-k;return P[u]-E}var C=xee(w);if(C[i]+C[a]<=k){var M=k-C[i]-C[a];return C[u]+C[d]+M}for(var T=0;T<w.length;T++){var _=w[T],N=w[T+1];if(v(_,k)){var F=_.changes.findIndex((function(se){return p(se)===k})),$=_.changes[F];if(Xi($))return g($);var G=pr($)?F+1:F-1,V=_.changes[G];if(!V)return-1;var Q=Go($)?"delete":"insert";return V.type===Q?g(V):-1}if(y(_,N,k)){var I=k-_[i]-_[a];return _[u]+_[d]+I}}throw new Error("Unexpected line position ".concat(k))}}var bee=function(){this.__data__=[],this.size=0},Zg=function(s,n){return s===n||s!=s&&n!=n},Hl=function(s,n){for(var r=s.length;r--;)if(Zg(s[r][0],n))return r;return-1},kee=Array.prototype.splice,See=function(s){var n=this.__data__,r=Hl(n,s);return!(r<0)&&(r==n.length-1?n.pop():kee.call(n,r,1),--this.size,!0)},_ee=function(s){var n=this.__data__,r=Hl(n,s);return r<0?void 0:n[r][1]},Tee=function(s){return Hl(this.__data__,s)>-1},Eee=function(s,n){var r=this.__data__,i=Hl(r,s);return i<0?(++this.size,r.push([s,n])):r[i][1]=n,this};function Eo(s){var n=-1,r=s==null?0:s.length;for(this.clear();++n<r;){var i=s[n];this.set(i[0],i[1])}}Eo.prototype.clear=bee,Eo.prototype.delete=See,Eo.prototype.get=_ee,Eo.prototype.has=Tee,Eo.prototype.set=Eee;var Bl=Eo,Nee=function(){this.__data__=new Bl,this.size=0},Aee=function(s){var n=this.__data__,r=n.delete(s);return this.size=n.size,r},Cee=function(s){return this.__data__.get(s)},jee=function(s){return this.__data__.has(s)},Jg=typeof El=="object"&&El&&El.Object===Object&&El,Ree=typeof self=="object"&&self&&self.Object===Object&&self,gr=Jg||Ree||Function("return this")(),Qn=gr.Symbol,ey=Object.prototype,Oee=ey.hasOwnProperty,Mee=ey.toString,Hi=Qn?Qn.toStringTag:void 0,Pee=function(s){var n=Oee.call(s,Hi),r=s[Hi];try{s[Hi]=void 0;var i=!0}catch{}var a=Mee.call(s);return i&&(n?s[Hi]=r:delete s[Hi]),a},Lee=Object.prototype.toString,Dee=function(s){return Lee.call(s)},Rm=Qn?Qn.toStringTag:void 0,Vo=function(s){return s==null?s===void 0?"[object Undefined]":"[object Null]":Rm&&Rm in Object(s)?Pee(s):Dee(s)},Xf=function(s){var n=typeof s;return s!=null&&(n=="object"||n=="function")},ty=function(s){if(!Xf(s))return!1;var n=Vo(s);return n=="[object Function]"||n=="[object GeneratorFunction]"||n=="[object AsyncFunction]"||n=="[object Proxy]"},Qu=gr["__core-js_shared__"],Om=(function(){var s=/[^.]+$/.exec(Qu&&Qu.keys&&Qu.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""})(),Iee=function(s){return!!Om&&Om in s},Fee=Function.prototype.toString,Fs=function(s){if(s!=null){try{return Fee.call(s)}catch{}try{return s+""}catch{}}return""},$ee=/^\[object .+?Constructor\]$/,zee=Function.prototype,Uee=Object.prototype,Hee=zee.toString,Bee=Uee.hasOwnProperty,qee=RegExp("^"+Hee.call(Bee).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Gee=function(s){return!(!Xf(s)||Iee(s))&&(ty(s)?qee:$ee).test(Fs(s))},Vee=function(s,n){return s==null?void 0:s[n]},$s=function(s,n){var r=Vee(s,n);return Gee(r)?r:void 0},Zi=$s(gr,"Map"),Ji=$s(Object,"create"),Qee=function(){this.__data__=Ji?Ji(null):{},this.size=0},Wee=function(s){var n=this.has(s)&&delete this.__data__[s];return this.size-=n?1:0,n},Kee=Object.prototype.hasOwnProperty,Xee=function(s){var n=this.__data__;if(Ji){var r=n[s];return r==="__lodash_hash_undefined__"?void 0:r}return Kee.call(n,s)?n[s]:void 0},Yee=Object.prototype.hasOwnProperty,Zee=function(s){var n=this.__data__;return Ji?n[s]!==void 0:Yee.call(n,s)},Jee=function(s,n){var r=this.__data__;return this.size+=this.has(s)?0:1,r[s]=Ji&&n===void 0?"__lodash_hash_undefined__":n,this};function No(s){var n=-1,r=s==null?0:s.length;for(this.clear();++n<r;){var i=s[n];this.set(i[0],i[1])}}No.prototype.clear=Qee,No.prototype.delete=Wee,No.prototype.get=Xee,No.prototype.has=Zee,No.prototype.set=Jee;var Mm=No,ete=function(){this.size=0,this.__data__={hash:new Mm,map:new(Zi||Bl),string:new Mm}},tte=function(s){var n=typeof s;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?s!=="__proto__":s===null},ql=function(s,n){var r=s.__data__;return tte(n)?r[typeof n=="string"?"string":"hash"]:r.map},nte=function(s){var n=ql(this,s).delete(s);return this.size-=n?1:0,n},rte=function(s){return ql(this,s).get(s)},ste=function(s){return ql(this,s).has(s)},ote=function(s,n){var r=ql(this,s),i=r.size;return r.set(s,n),this.size+=r.size==i?0:1,this};function Ao(s){var n=-1,r=s==null?0:s.length;for(this.clear();++n<r;){var i=s[n];this.set(i[0],i[1])}}Ao.prototype.clear=ete,Ao.prototype.delete=nte,Ao.prototype.get=rte,Ao.prototype.has=ste,Ao.prototype.set=ote;var Gl=Ao,ite=function(s,n){var r=this.__data__;if(r instanceof Bl){var i=r.__data__;if(!Zi||i.length<199)return i.push([s,n]),this.size=++r.size,this;r=this.__data__=new Gl(i)}return r.set(s,n),this.size=r.size,this};function Co(s){var n=this.__data__=new Bl(s);this.size=n.size}Co.prototype.clear=Nee,Co.prototype.delete=Aee,Co.prototype.get=Cee,Co.prototype.has=jee,Co.prototype.set=ite;var Rl=Co,ate=function(s){return this.__data__.set(s,"__lodash_hash_undefined__"),this},lte=function(s){return this.__data__.has(s)};function Ol(s){var n=-1,r=s==null?0:s.length;for(this.__data__=new Gl;++n<r;)this.add(s[n])}Ol.prototype.add=Ol.prototype.push=ate,Ol.prototype.has=lte;var cte=Ol,ute=function(s,n){for(var r=-1,i=s==null?0:s.length;++r<i;)if(n(s[r],r,s))return!0;return!1},fte=function(s,n){return s.has(n)},ny=function(s,n,r,i,a,c){var u=1&r,d=s.length,p=n.length;if(d!=p&&!(u&&p>d))return!1;var g=c.get(s),v=c.get(n);if(g&&v)return g==n&&v==s;var y=-1,w=!0,k=2&r?new cte:void 0;for(c.set(s,n),c.set(n,s);++y<d;){var P=s[y],E=n[y];if(i)var C=u?i(E,P,y,n,s,c):i(P,E,y,s,n,c);if(C!==void 0){if(C)continue;w=!1;break}if(k){if(!ute(n,(function(M,T){if(!fte(k,T)&&(P===M||a(P,M,r,i,c)))return k.push(T)}))){w=!1;break}}else if(P!==E&&!a(P,E,r,i,c)){w=!1;break}}return c.delete(s),c.delete(n),w},Pm=gr.Uint8Array,dte=function(s){var n=-1,r=Array(s.size);return s.forEach((function(i,a){r[++n]=[a,i]})),r},hte=function(s){var n=-1,r=Array(s.size);return s.forEach((function(i){r[++n]=i})),r},Lm=Qn?Qn.prototype:void 0,Wu=Lm?Lm.valueOf:void 0,pte=function(s,n,r,i,a,c,u){switch(r){case"[object DataView]":if(s.byteLength!=n.byteLength||s.byteOffset!=n.byteOffset)return!1;s=s.buffer,n=n.buffer;case"[object ArrayBuffer]":return!(s.byteLength!=n.byteLength||!c(new Pm(s),new Pm(n)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Zg(+s,+n);case"[object Error]":return s.name==n.name&&s.message==n.message;case"[object RegExp]":case"[object String]":return s==n+"";case"[object Map]":var d=dte;case"[object Set]":var p=1&i;if(d||(d=hte),s.size!=n.size&&!p)return!1;var g=u.get(s);if(g)return g==n;i|=2,u.set(s,n);var v=ny(d(s),d(n),i,a,c,u);return u.delete(s),v;case"[object Symbol]":if(Wu)return Wu.call(s)==Wu.call(n)}return!1},mte=function(s,n){for(var r=-1,i=n.length,a=s.length;++r<i;)s[a+r]=n[r];return s},mr=Array.isArray,gte=function(s,n,r){var i=n(s);return mr(s)?i:mte(i,r(s))},yte=function(s,n){for(var r=-1,i=s==null?0:s.length,a=0,c=[];++r<i;){var u=s[r];n(u,r,s)&&(c[a++]=u)}return c},vte=function(){return[]},xte=Object.prototype.propertyIsEnumerable,Dm=Object.getOwnPropertySymbols,wte=Dm?function(s){return s==null?[]:(s=Object(s),yte(Dm(s),(function(n){return xte.call(s,n)})))}:vte,bte=function(s,n){for(var r=-1,i=Array(s);++r<s;)i[r]=n(r);return i},qo=function(s){return s!=null&&typeof s=="object"},Im=function(s){return qo(s)&&Vo(s)=="[object Arguments]"},ry=Object.prototype,kte=ry.hasOwnProperty,Ste=ry.propertyIsEnumerable,sy=Im((function(){return arguments})())?Im:function(s){return qo(s)&&kte.call(s,"callee")&&!Ste.call(s,"callee")},_te=function(){return!1},_f=fa((function(s,n){var r=n&&!n.nodeType&&n,i=r&&s&&!s.nodeType&&s,a=i&&i.exports===r?gr.Buffer:void 0,c=(a?a.isBuffer:void 0)||_te;s.exports=c})),Tte=/^(?:0|[1-9]\d*)$/,oy=function(s,n){var r=typeof s;return!!(n=n??9007199254740991)&&(r=="number"||r!="symbol"&&Tte.test(s))&&s>-1&&s%1==0&&s<n},Yf=function(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=9007199254740991},Qe={};Qe["[object Float32Array]"]=Qe["[object Float64Array]"]=Qe["[object Int8Array]"]=Qe["[object Int16Array]"]=Qe["[object Int32Array]"]=Qe["[object Uint8Array]"]=Qe["[object Uint8ClampedArray]"]=Qe["[object Uint16Array]"]=Qe["[object Uint32Array]"]=!0,Qe["[object Arguments]"]=Qe["[object Array]"]=Qe["[object ArrayBuffer]"]=Qe["[object Boolean]"]=Qe["[object DataView]"]=Qe["[object Date]"]=Qe["[object Error]"]=Qe["[object Function]"]=Qe["[object Map]"]=Qe["[object Number]"]=Qe["[object Object]"]=Qe["[object RegExp]"]=Qe["[object Set]"]=Qe["[object String]"]=Qe["[object WeakMap]"]=!1;var Ete=function(s){return qo(s)&&Yf(s.length)&&!!Qe[Vo(s)]},Nte=function(s){return function(n){return s(n)}},Fm=fa((function(s,n){var r=n&&!n.nodeType&&n,i=r&&s&&!s.nodeType&&s,a=i&&i.exports===r&&Jg.process,c=(function(){try{var u=i&&i.require&&i.require("util").types;return u||a&&a.binding&&a.binding("util")}catch{}})();s.exports=c})),$m=Fm&&Fm.isTypedArray,iy=$m?Nte($m):Ete,Ate=Object.prototype.hasOwnProperty,Cte=function(s,n){var r=mr(s),i=!r&&sy(s),a=!r&&!i&&_f(s),c=!r&&!i&&!a&&iy(s),u=r||i||a||c,d=u?bte(s.length,String):[],p=d.length;for(var g in s)!Ate.call(s,g)||u&&(g=="length"||a&&(g=="offset"||g=="parent")||c&&(g=="buffer"||g=="byteLength"||g=="byteOffset")||oy(g,p))||d.push(g);return d},jte=Object.prototype,Rte=function(s){var n=s&&s.constructor;return s===(typeof n=="function"&&n.prototype||jte)},Ote=(function(s,n){return function(r){return s(n(r))}})(Object.keys,Object),Mte=Object.prototype.hasOwnProperty,Pte=function(s){if(!Rte(s))return Ote(s);var n=[];for(var r in Object(s))Mte.call(s,r)&&r!="constructor"&&n.push(r);return n},Lte=function(s){return s!=null&&Yf(s.length)&&!ty(s)},Zf=function(s){return Lte(s)?Cte(s):Pte(s)},zm=function(s){return gte(s,Zf,wte)},Dte=Object.prototype.hasOwnProperty,Ite=function(s,n,r,i,a,c){var u=1&r,d=zm(s),p=d.length;if(p!=zm(n).length&&!u)return!1;for(var g=p;g--;){var v=d[g];if(!(u?v in n:Dte.call(n,v)))return!1}var y=c.get(s),w=c.get(n);if(y&&w)return y==n&&w==s;var k=!0;c.set(s,n),c.set(n,s);for(var P=u;++g<p;){var E=s[v=d[g]],C=n[v];if(i)var M=u?i(C,E,v,n,s,c):i(E,C,v,s,n,c);if(!(M===void 0?E===C||a(E,C,r,i,c):M)){k=!1;break}P||(P=v=="constructor")}if(k&&!P){var T=s.constructor,_=n.constructor;T==_||!("constructor"in s)||!("constructor"in n)||typeof T=="function"&&T instanceof T&&typeof _=="function"&&_ instanceof _||(k=!1)}return c.delete(s),c.delete(n),k},Tf=$s(gr,"DataView"),Ef=$s(gr,"Promise"),Nf=$s(gr,"Set"),Af=$s(gr,"WeakMap"),Fte=Fs(Tf),$te=Fs(Zi),zte=Fs(Ef),Ute=Fs(Nf),Hte=Fs(Af),ks=Vo;(Tf&&ks(new Tf(new ArrayBuffer(1)))!="[object DataView]"||Zi&&ks(new Zi)!="[object Map]"||Ef&&ks(Ef.resolve())!="[object Promise]"||Nf&&ks(new Nf)!="[object Set]"||Af&&ks(new Af)!="[object WeakMap]")&&(ks=function(s){var n=Vo(s),r=n=="[object Object]"?s.constructor:void 0,i=r?Fs(r):"";if(i)switch(i){case Fte:return"[object DataView]";case $te:return"[object Map]";case zte:return"[object Promise]";case Ute:return"[object Set]";case Hte:return"[object WeakMap]"}return n});var Um=ks,Nl="[object Object]",Hm=Object.prototype.hasOwnProperty,Bte=function(s,n,r,i,a,c){var u=mr(s),d=mr(n),p=u?"[object Array]":Um(s),g=d?"[object Array]":Um(n),v=(p=p=="[object Arguments]"?Nl:p)==Nl,y=(g=g=="[object Arguments]"?Nl:g)==Nl,w=p==g;if(w&&_f(s)){if(!_f(n))return!1;u=!0,v=!1}if(w&&!v)return c||(c=new Rl),u||iy(s)?ny(s,n,r,i,a,c):pte(s,n,p,r,i,a,c);if(!(1&r)){var k=v&&Hm.call(s,"__wrapped__"),P=y&&Hm.call(n,"__wrapped__");if(k||P){var E=k?s.value():s,C=P?n.value():n;return c||(c=new Rl),a(E,C,r,i,c)}}return!!w&&(c||(c=new Rl),Ite(s,n,r,i,a,c))},ay=function s(n,r,i,a,c){return n===r||(n==null||r==null||!qo(n)&&!qo(r)?n!=n&&r!=r:Bte(n,r,i,a,s,c))},qte=function(s,n,r,i){var a=r.length,c=a;if(s==null)return!c;for(s=Object(s);a--;){var u=r[a];if(u[2]?u[1]!==s[u[0]]:!(u[0]in s))return!1}for(;++a<c;){var d=(u=r[a])[0],p=s[d],g=u[1];if(u[2]){if(p===void 0&&!(d in s))return!1}else{var v=new Rl,y;if(!(y===void 0?ay(g,p,3,i,v):y))return!1}}return!0},ly=function(s){return s==s&&!Xf(s)},Gte=function(s){for(var n=Zf(s),r=n.length;r--;){var i=n[r],a=s[i];n[r]=[i,a,ly(a)]}return n},cy=function(s,n){return function(r){return r!=null&&r[s]===n&&(n!==void 0||s in Object(r))}},Vte=function(s){var n=Gte(s);return n.length==1&&n[0][2]?cy(n[0][0],n[0][1]):function(r){return r===s||qte(r,s,n)}},Jf=function(s){return typeof s=="symbol"||qo(s)&&Vo(s)=="[object Symbol]"},Qte=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Wte=/^\w*$/,ed=function(s,n){if(mr(s))return!1;var r=typeof s;return!(r!="number"&&r!="symbol"&&r!="boolean"&&s!=null&&!Jf(s))||Wte.test(s)||!Qte.test(s)||n!=null&&s in Object(n)};function td(s,n){if(typeof s!="function"||n!=null&&typeof n!="function")throw new TypeError("Expected a function");var r=function(){var i=arguments,a=n?n.apply(this,i):i[0],c=r.cache;if(c.has(a))return c.get(a);var u=s.apply(this,i);return r.cache=c.set(a,u)||c,u};return r.cache=new(td.Cache||Gl),r}td.Cache=Gl;var Kte=td,Xte=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Yte=/\\(\\)?/g,Zte=(function(s){var n=Kte(s,(function(i){return r.size===500&&r.clear(),i})),r=n.cache;return n})((function(s){var n=[];return s.charCodeAt(0)===46&&n.push(""),s.replace(Xte,(function(r,i,a,c){n.push(a?c.replace(Yte,"$1"):i||r)})),n})),Jte=function(s,n){for(var r=-1,i=s==null?0:s.length,a=Array(i);++r<i;)a[r]=n(s[r],r,s);return a},Bm=Qn?Qn.prototype:void 0,qm=Bm?Bm.toString:void 0,ene=function s(n){if(typeof n=="string")return n;if(mr(n))return Jte(n,s)+"";if(Jf(n))return qm?qm.call(n):"";var r=n+"";return r=="0"&&1/n==-1/0?"-0":r},tne=function(s){return s==null?"":ene(s)},uy=function(s,n){return mr(s)?s:ed(s,n)?[s]:Zte(tne(s))},Vl=function(s){if(typeof s=="string"||Jf(s))return s;var n=s+"";return n=="0"&&1/s==-1/0?"-0":n},fy=function(s,n){for(var r=0,i=(n=uy(n,s)).length;s!=null&&r<i;)s=s[Vl(n[r++])];return r&&r==i?s:void 0},nne=function(s,n,r){var i=s==null?void 0:fy(s,n);return i===void 0?r:i},rne=function(s,n){return s!=null&&n in Object(s)},sne=function(s,n,r){for(var i=-1,a=(n=uy(n,s)).length,c=!1;++i<a;){var u=Vl(n[i]);if(!(c=s!=null&&r(s,u)))break;s=s[u]}return c||++i!=a?c:!!(a=s==null?0:s.length)&&Yf(a)&&oy(u,a)&&(mr(s)||sy(s))},one=function(s,n){return s!=null&&sne(s,n,rne)},ine=function(s,n){return ed(s)&&ly(n)?cy(Vl(s),n):function(r){var i=nne(r,s);return i===void 0&&i===n?one(r,s):ay(n,i,3)}},ane=function(s){return s},lne=function(s){return function(n){return n==null?void 0:n[s]}},cne=function(s){return function(n){return fy(n,s)}},une=function(s){return ed(s)?lne(Vl(s)):cne(s)},fne=function(s){return typeof s=="function"?s:s==null?ane:typeof s=="object"?mr(s)?ine(s[0],s[1]):Vte(s):une(s)};function es(s){if(!s)throw new Error("change is not provided");if(Xi(s))return"N".concat(s.oldLineNumber);var n=Go(s)?"I":"D";return"".concat(n).concat(s.lineNumber)}Kf("old");var nd=Yi("old"),rd=Yi("new");Yg("old");Yg("new");Kf("new");Kf("old");var Gm=(function(){try{var s=$s(Object,"defineProperty");return s({},"",{}),s}catch{}})(),dne=function(s,n,r){n=="__proto__"&&Gm?Gm(s,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):s[n]=r},hne=function(s){return function(n,r,i){for(var a=-1,c=Object(n),u=i(n),d=u.length;d--;){var p=u[++a];if(r(c[p],p,c)===!1)break}return n}},pne=hne(),mne=function(s,n){return s&&pne(s,n,Zf)},dy=function(s,n){var r={};return n=fne(n),mne(s,(function(i,a,c){dne(r,a,n(i,a,c))})),r},gne=["changeKey","text","tokens","renderToken"],Vm=function s(n,r){var i=n.type,a=n.value,c=n.markType,u=n.properties,d=n.className,p=n.children,g=function(y){return m.jsx("span",{className:y,children:a||p&&p.map(s)},r)};switch(i){case"text":return a;case"mark":return g("diff-code-mark diff-code-mark-".concat(c));case"edit":return g("diff-code-edit");default:var v=u&&u.className;return g(cn(d||v))}};function yne(s){if(!Array.isArray(s))return!0;if(s.length>1)return!1;if(s.length===1){var n=jn(s,1)[0];return n.type==="text"&&!n.value}return!0}function vne(s){var n=s.changeKey,r=s.text,i=s.tokens,a=s.renderToken,c=Bo(s,gne),u=a?function(d,p){return a(d,Vm,p)}:Vm;return m.jsx("td",at(at({},c),{},{"data-change-key":n,children:i?yne(i)?" ":i.map(u):r||" "}))}var hy=ie.memo(vne);function py(s,n){return function(){var r=n==="old"?nd(s):rd(s);return r===-1?void 0:r}}function my(s,n){return function(r){return s&&r?m.jsx("a",{href:n?"#"+n:void 0,children:r}):r}}function zl(s,n){return n?function(r){s(),n(r)}:s}function Qm(s,n,r,i){return ie.useMemo((function(){var a=dy(s,(function(c){return function(u){return c&&c(n,u)}}));return a.onMouseEnter=zl(r,a.onMouseEnter),a.onMouseLeave=zl(i,a.onMouseLeave),a}),[s,r,i,n])}function Wm(s,n,r,i,a,c,u,d,p){var g={change:n,side:i,inHoverState:d,renderDefault:py(n,i),wrapInAnchor:my(a,c)};return m.jsx("td",at(at({className:s},u),{},{"data-change-key":r,children:p(g)}))}function xne(s){var n,r,i,a=s.change,c=s.selected,u=s.tokens,d=s.className,p=s.generateLineClassName,g=s.gutterClassName,v=s.codeClassName,y=s.gutterEvents,w=s.codeEvents,k=s.hideGutter,P=s.gutterAnchor,E=s.generateAnchorID,C=s.renderToken,M=s.renderGutter,T=a.type,_=a.content,N=es(a),F=(n=jn(ie.useState(!1),2),r=n[0],i=n[1],[r,ie.useCallback((function(){return i(!0)}),[]),ie.useCallback((function(){return i(!1)}),[])]),$=jn(F,3),G=$[0],V=$[1],Q=$[2],I=ie.useMemo((function(){return{change:a}}),[a]),se=Qm(y,I,V,Q),L=Qm(w,I,V,Q),U=E(a),q=p({changes:[a],defaultGenerate:function(){return d}}),ne=cn("diff-gutter","diff-gutter-".concat(T),g,{"diff-gutter-selected":c}),me=cn("diff-code","diff-code-".concat(T),v,{"diff-code-selected":c});return m.jsxs("tr",{id:U,className:cn("diff-line",q),children:[!k&&Wm(ne,a,N,"old",P,U,se,G,M),!k&&Wm(ne,a,N,"new",P,U,se,G,M),m.jsx(hy,at({className:me,changeKey:N,text:_,tokens:u,renderToken:C},L))]})}var wne=ie.memo(xne);function bne(s){var n=s.hideGutter,r=s.element;return m.jsx("tr",{className:"diff-widget",children:m.jsx("td",{colSpan:n?1:3,className:"diff-widget-content",children:r})})}var kne=["hideGutter","selectedChanges","tokens","lineClassName"],Sne=["hunk","widgets","className"];function _ne(s){var n=s.hunk,r=s.widgets,i=s.className,a=Bo(s,Sne),c=(function(u,d){return u.reduce((function(p,g){var v=es(g);p.push(["change",v,g]);var y=d[v];return y&&p.push(["widget",v,y]),p}),[])})(n.changes,r);return m.jsx("tbody",{className:cn("diff-hunk",i),children:c.map((function(u){return(function(d,p){var g=jn(d,3),v=g[0],y=g[1],w=g[2],k=p.hideGutter,P=p.selectedChanges,E=p.tokens,C=p.lineClassName,M=Bo(p,kne);if(v==="change"){var T=pr(w)?"old":"new",_=pr(w)?nd(w):rd(w),N=E?E[T][_-1]:null;return m.jsx(wne,at({className:C,change:w,hideGutter:k,selected:P.includes(y),tokens:N},M),"change".concat(y))}return v==="widget"?m.jsx(bne,{hideGutter:k,element:w},"widget".concat(y)):null})(u,a)}))})}var gy=0;function Al(s,n,r,i){var a=ie.useCallback((function(){return n(s)}),[s,n]),c=ie.useCallback((function(){return n("")}),[n]);return ie.useMemo((function(){var u=dy(i,(function(d){return function(p){return d&&d({side:s,change:r},p)}}));return u.onMouseEnter=zl(a,u.onMouseEnter),u.onMouseLeave=zl(c,u.onMouseLeave),u}),[r,i,a,s,c])}function Ku(s){var n=s.change,r=s.side,i=s.selected,a=s.tokens,c=s.gutterClassName,u=s.codeClassName,d=s.gutterEvents,p=s.codeEvents,g=s.anchorID,v=s.gutterAnchor,y=s.gutterAnchorTarget,w=s.hideGutter,k=s.hover,P=s.renderToken,E=s.renderGutter;if(!n){var C=cn("diff-gutter","diff-gutter-omit",c),M=cn("diff-code","diff-code-omit",u);return[!w&&m.jsx("td",{className:C},"gutter"),m.jsx("td",{className:M},"code")]}var T=n.type,_=n.content,N=es(n),F=r===gy?"old":"new",$=at({id:g||void 0,className:cn("diff-gutter","diff-gutter-".concat(T),bf({"diff-gutter-selected":i},"diff-line-hover-"+F,k),c),children:E({change:n,side:F,inHoverState:k,renderDefault:py(n,F),wrapInAnchor:my(v,y)})},d),G=cn("diff-code","diff-code-".concat(T),bf({"diff-code-selected":i},"diff-line-hover-"+F,k),u);return[!w&&m.jsx("td",at(at({},$),{},{"data-change-key":N}),"gutter"),m.jsx(hy,at({className:G,changeKey:N,text:_,tokens:a,renderToken:P},p),"code")]}function Tne(s){var n=s.className,r=s.oldChange,i=s.newChange,a=s.oldSelected,c=s.newSelected,u=s.oldTokens,d=s.newTokens,p=s.monotonous,g=s.gutterClassName,v=s.codeClassName,y=s.gutterEvents,w=s.codeEvents,k=s.hideGutter,P=s.generateAnchorID,E=s.generateLineClassName,C=s.gutterAnchor,M=s.renderToken,T=s.renderGutter,_=jn(ie.useState(""),2),N=_[0],F=_[1],$=Al("old",F,r,y),G=Al("new",F,i,y),V=Al("old",F,r,w),Q=Al("new",F,i,w),I=r&&P(r),se=i&&P(i),L=E({changes:[r,i],defaultGenerate:function(){return n}}),U={monotonous:p,hideGutter:k,gutterClassName:g,codeClassName:v,gutterEvents:y,codeEvents:w,renderToken:M,renderGutter:T},q=at(at({},U),{},{change:r,side:gy,selected:a,tokens:u,gutterEvents:$,codeEvents:V,anchorID:I,gutterAnchor:C,gutterAnchorTarget:I,hover:N==="old"}),ne=at(at({},U),{},{change:i,side:1,selected:c,tokens:d,gutterEvents:G,codeEvents:Q,anchorID:r===i?null:se,gutterAnchor:C,gutterAnchorTarget:r===i?I:se,hover:N==="new"});if(p)return m.jsx("tr",{className:cn("diff-line",L),children:Ku(r?q:ne)});var me=(function(le,K){return le&&!K?"diff-line-old-only":!le&&K?"diff-line-new-only":le===K?"diff-line-normal":"diff-line-compare"})(r,i);return m.jsxs("tr",{className:cn("diff-line",me,L),children:[Ku(q),Ku(ne)]})}var Ene=ie.memo(Tne);function Nne(s){var n=s.hideGutter,r=s.oldElement,i=s.newElement;return s.monotonous?m.jsx("tr",{className:"diff-widget",children:m.jsx("td",{colSpan:n?1:2,className:"diff-widget-content",children:r||i})}):r===i?m.jsx("tr",{className:"diff-widget",children:m.jsx("td",{colSpan:n?2:4,className:"diff-widget-content",children:r})}):m.jsxs("tr",{className:"diff-widget",children:[m.jsx("td",{colSpan:n?1:2,className:"diff-widget-content",children:r}),m.jsx("td",{colSpan:n?1:2,className:"diff-widget-content",children:i})]})}var Ane=["selectedChanges","monotonous","hideGutter","tokens","lineClassName"],Cne=["hunk","widgets","className"];function Cl(s,n){return(s?es(s):"00")+(n?es(n):"00")}function jne(s){var n=s.hunk,r=s.widgets,i=s.className,a=Bo(s,Cne),c=(function(u,d){for(var p=function(M){if(!M)return null;var T=es(M);return d[T]||null},g=[],v=0;v<u.length;v++){var y=u[v];if(Xi(y))g.push(["change",Cl(y,y),y,y]);else if(pr(y)){var w=u[v+1];w&&Go(w)?(v+=1,g.push(["change",Cl(y,w),y,w])):g.push(["change",Cl(y,null),y,null])}else g.push(["change",Cl(null,y),null,y]);var k=g[g.length-1],P=p(k[2]),E=p(k[3]);if(P||E){var C=k[1];g.push(["widget",C,P,E])}}return g})(n.changes,r);return m.jsx("tbody",{className:cn("diff-hunk",i),children:c.map((function(u){return(function(d,p){var g=jn(d,4),v=g[0],y=g[1],w=g[2],k=g[3],P=p.selectedChanges,E=p.monotonous,C=p.hideGutter,M=p.tokens,T=p.lineClassName,_=Bo(p,Ane);if(v==="change"){var N=!!w&&P.includes(es(w)),F=!!k&&P.includes(es(k)),$=w&&M?M.old[nd(w)-1]:null,G=k&&M?M.new[rd(k)-1]:null;return m.jsx(Ene,at({className:T,oldChange:w,newChange:k,monotonous:E,hideGutter:C,oldSelected:N,newSelected:F,oldTokens:$,newTokens:G},_),"change".concat(y))}return v==="widget"?m.jsx(Nne,{monotonous:E,hideGutter:C,oldElement:w,newElement:k},"widget".concat(y)):null})(u,a)}))})}var Rne=["gutterType","hunkClassName"];function yy(s){var n=s.hunk,r=pee(),i=r.gutterType,a=r.hunkClassName,c=Bo(r,Rne),u=i==="none",d=i==="anchor",p=c.viewType==="unified"?_ne:jne;return m.jsx(p,at(at({},c),{},{hunk:n,hideGutter:u,gutterAnchor:d,className:a}))}function One(){}function Km(s,n){var r=n?"auto":"none";s instanceof HTMLElement&&s.style.userSelect!==r&&(s.style.userSelect=r)}function Mne(s){return s.map((function(n){return m.jsx(yy,{hunk:n},(function(r){return"-".concat(r.oldStart,",").concat(r.oldLines," +").concat(r.newStart,",").concat(r.newLines)})(n))}))}function Pne(s){var n=s.diffType,r=s.hunks,i=s.optimizeSelection,a=s.className,c=s.hunkClassName,u=c===void 0?Kt.hunkClassName:c,d=s.lineClassName,p=d===void 0?Kt.lineClassName:d,g=s.generateLineClassName,v=g===void 0?Kt.generateLineClassName:g,y=s.gutterClassName,w=y===void 0?Kt.gutterClassName:y,k=s.codeClassName,P=k===void 0?Kt.codeClassName:k,E=s.gutterType,C=E===void 0?Kt.gutterType:E,M=s.viewType,T=M===void 0?Kt.viewType:M,_=s.gutterEvents,N=_===void 0?Kt.gutterEvents:_,F=s.codeEvents,$=F===void 0?Kt.codeEvents:F,G=s.generateAnchorID,V=G===void 0?Kt.generateAnchorID:G,Q=s.selectedChanges,I=Q===void 0?Kt.selectedChanges:Q,se=s.widgets,L=se===void 0?Kt.widgets:se,U=s.renderGutter,q=U===void 0?Kt.renderGutter:U,ne=s.tokens,me=s.renderToken,le=s.children,K=le===void 0?Mne:le,oe=ie.useRef(null),J=ie.useCallback((function(_e){var Ce=_e.target;if(_e.button===0){var be=(function(nt,De){for(var ut=nt;ut&&ut!==document.documentElement&&!ut.classList.contains(De);)ut=ut.parentElement;return ut===document.documentElement?null:ut})(Ce,"diff-code");if(be&&be.parentElement){var Re=window.getSelection();Re&&Re.removeAllRanges();var Ue=lee(be.parentElement.children).indexOf(be);if(Ue===1||Ue===3){var je,$t=dee(oe.current?oe.current.querySelectorAll(".diff-line"):[]);try{for($t.s();!(je=$t.n()).done;){var Se=je.value.children;Km(Se[1],Ue===1),Km(Se[3],Ue===3)}}catch(nt){$t.e(nt)}finally{$t.f()}}}}}),[]),A=C==="none",W=n==="add"||n==="delete",we=T==="split"&&!W&&i?J:One,ge=ie.useMemo((function(){return m.jsxs("colgroup",T==="unified"?{children:[!A&&m.jsx("col",{className:"diff-gutter-col"}),!A&&m.jsx("col",{className:"diff-gutter-col"}),m.jsx("col",{})]}:W?{children:[!A&&m.jsx("col",{className:"diff-gutter-col"}),m.jsx("col",{})]}:{children:[!A&&m.jsx("col",{className:"diff-gutter-col"}),m.jsx("col",{}),!A&&m.jsx("col",{className:"diff-gutter-col"}),m.jsx("col",{})]})}),[T,W,A]),Te=ie.useMemo((function(){return{hunkClassName:u,lineClassName:p,generateLineClassName:v,gutterClassName:w,codeClassName:P,monotonous:W,hideGutter:A,viewType:T,gutterType:C,codeEvents:$,gutterEvents:N,generateAnchorID:V,selectedChanges:I,widgets:L,renderGutter:q,tokens:ne,renderToken:me}}),[P,$,V,w,N,C,A,u,p,v,W,q,me,I,ne,T,L]);return m.jsx(hee,{value:Te,children:m.jsxs("table",{ref:oe,className:cn("diff","diff-".concat(T),a),onMouseDown:we,children:[ge,K(r)]})})}var Lne=ie.memo(Pne);Qn&&Qn.isConcatSpreadable;var sd=fa((function(s){var n=function(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32};n.Diff=function(r,i){return[r,i]},n.prototype.diff_main=function(r,i,a,c){c===void 0&&(c=this.Diff_Timeout<=0?Number.MAX_VALUE:new Date().getTime()+1e3*this.Diff_Timeout);var u=c;if(r==null||i==null)throw new Error("Null input. (diff_main)");if(r==i)return r?[new n.Diff(0,r)]:[];a===void 0&&(a=!0);var d=a,p=this.diff_commonPrefix(r,i),g=r.substring(0,p);r=r.substring(p),i=i.substring(p),p=this.diff_commonSuffix(r,i);var v=r.substring(r.length-p);r=r.substring(0,r.length-p),i=i.substring(0,i.length-p);var y=this.diff_compute_(r,i,d,u);return g&&y.unshift(new n.Diff(0,g)),v&&y.push(new n.Diff(0,v)),this.diff_cleanupMerge(y),y},n.prototype.diff_compute_=function(r,i,a,c){var u;if(!r)return[new n.Diff(1,i)];if(!i)return[new n.Diff(-1,r)];var d=r.length>i.length?r:i,p=r.length>i.length?i:r,g=d.indexOf(p);if(g!=-1)return u=[new n.Diff(1,d.substring(0,g)),new n.Diff(0,p),new n.Diff(1,d.substring(g+p.length))],r.length>i.length&&(u[0][0]=u[2][0]=-1),u;if(p.length==1)return[new n.Diff(-1,r),new n.Diff(1,i)];var v=this.diff_halfMatch_(r,i);if(v){var y=v[0],w=v[1],k=v[2],P=v[3],E=v[4],C=this.diff_main(y,k,a,c),M=this.diff_main(w,P,a,c);return C.concat([new n.Diff(0,E)],M)}return a&&r.length>100&&i.length>100?this.diff_lineMode_(r,i,c):this.diff_bisect_(r,i,c)},n.prototype.diff_lineMode_=function(r,i,a){var c=this.diff_linesToChars_(r,i);r=c.chars1,i=c.chars2;var u=c.lineArray,d=this.diff_main(r,i,!1,a);this.diff_charsToLines_(d,u),this.diff_cleanupSemantic(d),d.push(new n.Diff(0,""));for(var p=0,g=0,v=0,y="",w="";p<d.length;){switch(d[p][0]){case 1:v++,w+=d[p][1];break;case-1:g++,y+=d[p][1];break;case 0:if(g>=1&&v>=1){d.splice(p-g-v,g+v),p=p-g-v;for(var k=this.diff_main(y,w,!1,a),P=k.length-1;P>=0;P--)d.splice(p,0,k[P]);p+=k.length}v=0,g=0,y="",w=""}p++}return d.pop(),d},n.prototype.diff_bisect_=function(r,i,a){for(var c=r.length,u=i.length,d=Math.ceil((c+u)/2),p=d,g=2*d,v=new Array(g),y=new Array(g),w=0;w<g;w++)v[w]=-1,y[w]=-1;v[p+1]=0,y[p+1]=0;for(var k=c-u,P=k%2!=0,E=0,C=0,M=0,T=0,_=0;_<d&&!(new Date().getTime()>a);_++){for(var N=-_+E;N<=_-C;N+=2){for(var F=p+N,$=(se=N==-_||N!=_&&v[F-1]<v[F+1]?v[F+1]:v[F-1]+1)-N;se<c&&$<u&&r.charAt(se)==i.charAt($);)se++,$++;if(v[F]=se,se>c)C+=2;else if($>u)E+=2;else if(P&&(Q=p+k-N)>=0&&Q<g&&y[Q]!=-1&&se>=(V=c-y[Q]))return this.diff_bisectSplit_(r,i,se,$,a)}for(var G=-_+M;G<=_-T;G+=2){for(var V,Q=p+G,I=(V=G==-_||G!=_&&y[Q-1]<y[Q+1]?y[Q+1]:y[Q-1]+1)-G;V<c&&I<u&&r.charAt(c-V-1)==i.charAt(u-I-1);)V++,I++;if(y[Q]=V,V>c)T+=2;else if(I>u)M+=2;else if(!P&&(F=p+k-G)>=0&&F<g&&v[F]!=-1){var se;if($=p+(se=v[F])-F,se>=(V=c-V))return this.diff_bisectSplit_(r,i,se,$,a)}}}return[new n.Diff(-1,r),new n.Diff(1,i)]},n.prototype.diff_bisectSplit_=function(r,i,a,c,u){var d=r.substring(0,a),p=i.substring(0,c),g=r.substring(a),v=i.substring(c),y=this.diff_main(d,p,!1,u),w=this.diff_main(g,v,!1,u);return y.concat(w)},n.prototype.diff_linesToChars_=function(r,i){var a=[],c={};function u(g){for(var v="",y=0,w=-1,k=a.length;w<g.length-1;){(w=g.indexOf(`
|
|
265
|
-
`,y))==-1&&(w=g.length-1);var P=g.substring(y,w+1);(c.hasOwnProperty?c.hasOwnProperty(P):c[P]!==void 0)?v+=String.fromCharCode(c[P]):(k==d&&(P=g.substring(y),w=g.length),v+=String.fromCharCode(k),c[P]=k,a[k++]=P),y=w+1}return v}a[0]="";var d=4e4,p=u(r);return d=65535,{chars1:p,chars2:u(i),lineArray:a}},n.prototype.diff_charsToLines_=function(r,i){for(var a=0;a<r.length;a++){for(var c=r[a][1],u=[],d=0;d<c.length;d++)u[d]=i[c.charCodeAt(d)];r[a][1]=u.join("")}},n.prototype.diff_commonPrefix=function(r,i){if(!r||!i||r.charAt(0)!=i.charAt(0))return 0;for(var a=0,c=Math.min(r.length,i.length),u=c,d=0;a<u;)r.substring(d,u)==i.substring(d,u)?d=a=u:c=u,u=Math.floor((c-a)/2+a);return u},n.prototype.diff_commonSuffix=function(r,i){if(!r||!i||r.charAt(r.length-1)!=i.charAt(i.length-1))return 0;for(var a=0,c=Math.min(r.length,i.length),u=c,d=0;a<u;)r.substring(r.length-u,r.length-d)==i.substring(i.length-u,i.length-d)?d=a=u:c=u,u=Math.floor((c-a)/2+a);return u},n.prototype.diff_commonOverlap_=function(r,i){var a=r.length,c=i.length;if(a==0||c==0)return 0;a>c?r=r.substring(a-c):a<c&&(i=i.substring(0,a));var u=Math.min(a,c);if(r==i)return u;for(var d=0,p=1;;){var g=r.substring(u-p),v=i.indexOf(g);if(v==-1)return d;p+=v,v!=0&&r.substring(u-p)!=i.substring(0,p)||(d=p,p++)}},n.prototype.diff_halfMatch_=function(r,i){if(this.Diff_Timeout<=0)return null;var a=r.length>i.length?r:i,c=r.length>i.length?i:r;if(a.length<4||2*c.length<a.length)return null;var u=this;function d(E,C,M){for(var T,_,N,F,$=E.substring(M,M+Math.floor(E.length/4)),G=-1,V="";(G=C.indexOf($,G+1))!=-1;){var Q=u.diff_commonPrefix(E.substring(M),C.substring(G)),I=u.diff_commonSuffix(E.substring(0,M),C.substring(0,G));V.length<I+Q&&(V=C.substring(G-I,G)+C.substring(G,G+Q),T=E.substring(0,M-I),_=E.substring(M+Q),N=C.substring(0,G-I),F=C.substring(G+Q))}return 2*V.length>=E.length?[T,_,N,F,V]:null}var p,g,v,y,w,k=d(a,c,Math.ceil(a.length/4)),P=d(a,c,Math.ceil(a.length/2));return k||P?(p=P?k&&k[4].length>P[4].length?k:P:k,r.length>i.length?(g=p[0],v=p[1],y=p[2],w=p[3]):(y=p[0],w=p[1],g=p[2],v=p[3]),[g,v,y,w,p[4]]):null},n.prototype.diff_cleanupSemantic=function(r){for(var i=!1,a=[],c=0,u=null,d=0,p=0,g=0,v=0,y=0;d<r.length;)r[d][0]==0?(a[c++]=d,p=v,g=y,v=0,y=0,u=r[d][1]):(r[d][0]==1?v+=r[d][1].length:y+=r[d][1].length,u&&u.length<=Math.max(p,g)&&u.length<=Math.max(v,y)&&(r.splice(a[c-1],0,new n.Diff(-1,u)),r[a[c-1]+1][0]=1,c--,d=--c>0?a[c-1]:-1,p=0,g=0,v=0,y=0,u=null,i=!0)),d++;for(i&&this.diff_cleanupMerge(r),this.diff_cleanupSemanticLossless(r),d=1;d<r.length;){if(r[d-1][0]==-1&&r[d][0]==1){var w=r[d-1][1],k=r[d][1],P=this.diff_commonOverlap_(w,k),E=this.diff_commonOverlap_(k,w);P>=E?(P>=w.length/2||P>=k.length/2)&&(r.splice(d,0,new n.Diff(0,k.substring(0,P))),r[d-1][1]=w.substring(0,w.length-P),r[d+1][1]=k.substring(P),d++):(E>=w.length/2||E>=k.length/2)&&(r.splice(d,0,new n.Diff(0,w.substring(0,E))),r[d-1][0]=1,r[d-1][1]=k.substring(0,k.length-E),r[d+1][0]=-1,r[d+1][1]=w.substring(E),d++),d++}d++}},n.prototype.diff_cleanupSemanticLossless=function(r){function i(E,C){if(!E||!C)return 6;var M=E.charAt(E.length-1),T=C.charAt(0),_=M.match(n.nonAlphaNumericRegex_),N=T.match(n.nonAlphaNumericRegex_),F=_&&M.match(n.whitespaceRegex_),$=N&&T.match(n.whitespaceRegex_),G=F&&M.match(n.linebreakRegex_),V=$&&T.match(n.linebreakRegex_),Q=G&&E.match(n.blanklineEndRegex_),I=V&&C.match(n.blanklineStartRegex_);return Q||I?5:G||V?4:_&&!F&&$?3:F||$?2:_||N?1:0}for(var a=1;a<r.length-1;){if(r[a-1][0]==0&&r[a+1][0]==0){var c=r[a-1][1],u=r[a][1],d=r[a+1][1],p=this.diff_commonSuffix(c,u);if(p){var g=u.substring(u.length-p);c=c.substring(0,c.length-p),u=g+u.substring(0,u.length-p),d=g+d}for(var v=c,y=u,w=d,k=i(c,u)+i(u,d);u.charAt(0)===d.charAt(0);){c+=u.charAt(0),u=u.substring(1)+d.charAt(0),d=d.substring(1);var P=i(c,u)+i(u,d);P>=k&&(k=P,v=c,y=u,w=d)}r[a-1][1]!=v&&(v?r[a-1][1]=v:(r.splice(a-1,1),a--),r[a][1]=y,w?r[a+1][1]=w:(r.splice(a+1,1),a--))}a++}},n.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,n.whitespaceRegex_=/\s/,n.linebreakRegex_=/[\r\n]/,n.blanklineEndRegex_=/\n\r?\n$/,n.blanklineStartRegex_=/^\r?\n\r?\n/,n.prototype.diff_cleanupEfficiency=function(r){for(var i=!1,a=[],c=0,u=null,d=0,p=!1,g=!1,v=!1,y=!1;d<r.length;)r[d][0]==0?(r[d][1].length<this.Diff_EditCost&&(v||y)?(a[c++]=d,p=v,g=y,u=r[d][1]):(c=0,u=null),v=y=!1):(r[d][0]==-1?y=!0:v=!0,u&&(p&&g&&v&&y||u.length<this.Diff_EditCost/2&&p+g+v+y==3)&&(r.splice(a[c-1],0,new n.Diff(-1,u)),r[a[c-1]+1][0]=1,c--,u=null,p&&g?(v=y=!0,c=0):(d=--c>0?a[c-1]:-1,v=y=!1),i=!0)),d++;i&&this.diff_cleanupMerge(r)},n.prototype.diff_cleanupMerge=function(r){r.push(new n.Diff(0,""));for(var i,a=0,c=0,u=0,d="",p="";a<r.length;)switch(r[a][0]){case 1:u++,p+=r[a][1],a++;break;case-1:c++,d+=r[a][1],a++;break;case 0:c+u>1?(c!==0&&u!==0&&((i=this.diff_commonPrefix(p,d))!==0&&(a-c-u>0&&r[a-c-u-1][0]==0?r[a-c-u-1][1]+=p.substring(0,i):(r.splice(0,0,new n.Diff(0,p.substring(0,i))),a++),p=p.substring(i),d=d.substring(i)),(i=this.diff_commonSuffix(p,d))!==0&&(r[a][1]=p.substring(p.length-i)+r[a][1],p=p.substring(0,p.length-i),d=d.substring(0,d.length-i))),a-=c+u,r.splice(a,c+u),d.length&&(r.splice(a,0,new n.Diff(-1,d)),a++),p.length&&(r.splice(a,0,new n.Diff(1,p)),a++),a++):a!==0&&r[a-1][0]==0?(r[a-1][1]+=r[a][1],r.splice(a,1)):a++,u=0,c=0,d="",p=""}r[r.length-1][1]===""&&r.pop();var g=!1;for(a=1;a<r.length-1;)r[a-1][0]==0&&r[a+1][0]==0&&(r[a][1].substring(r[a][1].length-r[a-1][1].length)==r[a-1][1]?(r[a][1]=r[a-1][1]+r[a][1].substring(0,r[a][1].length-r[a-1][1].length),r[a+1][1]=r[a-1][1]+r[a+1][1],r.splice(a-1,1),g=!0):r[a][1].substring(0,r[a+1][1].length)==r[a+1][1]&&(r[a-1][1]+=r[a+1][1],r[a][1]=r[a][1].substring(r[a+1][1].length)+r[a+1][1],r.splice(a+1,1),g=!0)),a++;g&&this.diff_cleanupMerge(r)},n.prototype.diff_xIndex=function(r,i){var a,c=0,u=0,d=0,p=0;for(a=0;a<r.length&&(r[a][0]!==1&&(c+=r[a][1].length),r[a][0]!==-1&&(u+=r[a][1].length),!(c>i));a++)d=c,p=u;return r.length!=a&&r[a][0]===-1?p:p+(i-d)},n.prototype.diff_prettyHtml=function(r){for(var i=[],a=/&/g,c=/</g,u=/>/g,d=/\n/g,p=0;p<r.length;p++){var g=r[p][0],v=r[p][1].replace(a,"&").replace(c,"<").replace(u,">").replace(d,"¶<br>");switch(g){case 1:i[p]='<ins style="background:#e6ffe6;">'+v+"</ins>";break;case-1:i[p]='<del style="background:#ffe6e6;">'+v+"</del>";break;case 0:i[p]="<span>"+v+"</span>"}}return i.join("")},n.prototype.diff_text1=function(r){for(var i=[],a=0;a<r.length;a++)r[a][0]!==1&&(i[a]=r[a][1]);return i.join("")},n.prototype.diff_text2=function(r){for(var i=[],a=0;a<r.length;a++)r[a][0]!==-1&&(i[a]=r[a][1]);return i.join("")},n.prototype.diff_levenshtein=function(r){for(var i=0,a=0,c=0,u=0;u<r.length;u++){var d=r[u][0],p=r[u][1];switch(d){case 1:a+=p.length;break;case-1:c+=p.length;break;case 0:i+=Math.max(a,c),a=0,c=0}}return i+=Math.max(a,c)},n.prototype.diff_toDelta=function(r){for(var i=[],a=0;a<r.length;a++)switch(r[a][0]){case 1:i[a]="+"+encodeURI(r[a][1]);break;case-1:i[a]="-"+r[a][1].length;break;case 0:i[a]="="+r[a][1].length}return i.join(" ").replace(/%20/g," ")},n.prototype.diff_fromDelta=function(r,i){for(var a=[],c=0,u=0,d=i.split(/\t/g),p=0;p<d.length;p++){var g=d[p].substring(1);switch(d[p].charAt(0)){case"+":try{a[c++]=new n.Diff(1,decodeURI(g))}catch{throw new Error("Illegal escape in diff_fromDelta: "+g)}break;case"-":case"=":var v=parseInt(g,10);if(isNaN(v)||v<0)throw new Error("Invalid number in diff_fromDelta: "+g);var y=r.substring(u,u+=v);d[p].charAt(0)=="="?a[c++]=new n.Diff(0,y):a[c++]=new n.Diff(-1,y);break;default:if(d[p])throw new Error("Invalid diff operation in diff_fromDelta: "+d[p])}}if(u!=r.length)throw new Error("Delta length ("+u+") does not equal source text length ("+r.length+").");return a},n.prototype.match_main=function(r,i,a){if(r==null||i==null||a==null)throw new Error("Null input. (match_main)");return a=Math.max(0,Math.min(a,r.length)),r==i?0:r.length?r.substring(a,a+i.length)==i?a:this.match_bitap_(r,i,a):-1},n.prototype.match_bitap_=function(r,i,a){if(i.length>this.Match_MaxBits)throw new Error("Pattern too long for this browser.");var c=this.match_alphabet_(i),u=this;function d($,G){var V=$/i.length,Q=Math.abs(a-G);return u.Match_Distance?V+Q/u.Match_Distance:Q?1:V}var p=this.Match_Threshold,g=r.indexOf(i,a);g!=-1&&(p=Math.min(d(0,g),p),(g=r.lastIndexOf(i,a+i.length))!=-1&&(p=Math.min(d(0,g),p)));var v,y,w=1<<i.length-1;g=-1;for(var k,P=i.length+r.length,E=0;E<i.length;E++){for(v=0,y=P;v<y;)d(E,a+y)<=p?v=y:P=y,y=Math.floor((P-v)/2+v);P=y;var C=Math.max(1,a-y+1),M=Math.min(a+y,r.length)+i.length,T=Array(M+2);T[M+1]=(1<<E)-1;for(var _=M;_>=C;_--){var N=c[r.charAt(_-1)];if(T[_]=E===0?(T[_+1]<<1|1)&N:(T[_+1]<<1|1)&N|(k[_+1]|k[_])<<1|1|k[_+1],T[_]&w){var F=d(E,_-1);if(F<=p){if(p=F,!((g=_-1)>a))break;C=Math.max(1,2*a-g)}}}if(d(E+1,a)>p)break;k=T}return g},n.prototype.match_alphabet_=function(r){for(var i={},a=0;a<r.length;a++)i[r.charAt(a)]=0;for(a=0;a<r.length;a++)i[r.charAt(a)]|=1<<r.length-a-1;return i},n.prototype.patch_addContext_=function(r,i){if(i.length!=0){if(r.start2===null)throw Error("patch not initialized");for(var a=i.substring(r.start2,r.start2+r.length1),c=0;i.indexOf(a)!=i.lastIndexOf(a)&&a.length<this.Match_MaxBits-this.Patch_Margin-this.Patch_Margin;)c+=this.Patch_Margin,a=i.substring(r.start2-c,r.start2+r.length1+c);c+=this.Patch_Margin;var u=i.substring(r.start2-c,r.start2);u&&r.diffs.unshift(new n.Diff(0,u));var d=i.substring(r.start2+r.length1,r.start2+r.length1+c);d&&r.diffs.push(new n.Diff(0,d)),r.start1-=u.length,r.start2-=u.length,r.length1+=u.length+d.length,r.length2+=u.length+d.length}},n.prototype.patch_make=function(r,i,a){var c,u;if(typeof r=="string"&&typeof i=="string"&&a===void 0)c=r,(u=this.diff_main(c,i,!0)).length>2&&(this.diff_cleanupSemantic(u),this.diff_cleanupEfficiency(u));else if(r&&typeof r=="object"&&i===void 0&&a===void 0)u=r,c=this.diff_text1(u);else if(typeof r=="string"&&i&&typeof i=="object"&&a===void 0)c=r,u=i;else{if(typeof r!="string"||typeof i!="string"||!a||typeof a!="object")throw new Error("Unknown call format to patch_make.");c=r,u=a}if(u.length===0)return[];for(var d=[],p=new n.patch_obj,g=0,v=0,y=0,w=c,k=c,P=0;P<u.length;P++){var E=u[P][0],C=u[P][1];switch(g||E===0||(p.start1=v,p.start2=y),E){case 1:p.diffs[g++]=u[P],p.length2+=C.length,k=k.substring(0,y)+C+k.substring(y);break;case-1:p.length1+=C.length,p.diffs[g++]=u[P],k=k.substring(0,y)+k.substring(y+C.length);break;case 0:C.length<=2*this.Patch_Margin&&g&&u.length!=P+1?(p.diffs[g++]=u[P],p.length1+=C.length,p.length2+=C.length):C.length>=2*this.Patch_Margin&&g&&(this.patch_addContext_(p,w),d.push(p),p=new n.patch_obj,g=0,w=k,v=y)}E!==1&&(v+=C.length),E!==-1&&(y+=C.length)}return g&&(this.patch_addContext_(p,w),d.push(p)),d},n.prototype.patch_deepCopy=function(r){for(var i=[],a=0;a<r.length;a++){var c=r[a],u=new n.patch_obj;u.diffs=[];for(var d=0;d<c.diffs.length;d++)u.diffs[d]=new n.Diff(c.diffs[d][0],c.diffs[d][1]);u.start1=c.start1,u.start2=c.start2,u.length1=c.length1,u.length2=c.length2,i[a]=u}return i},n.prototype.patch_apply=function(r,i){if(r.length==0)return[i,[]];r=this.patch_deepCopy(r);var a=this.patch_addPadding(r);i=a+i+a,this.patch_splitMax(r);for(var c=0,u=[],d=0;d<r.length;d++){var p,g,v=r[d].start2+c,y=this.diff_text1(r[d].diffs),w=-1;if(y.length>this.Match_MaxBits?(p=this.match_main(i,y.substring(0,this.Match_MaxBits),v))!=-1&&((w=this.match_main(i,y.substring(y.length-this.Match_MaxBits),v+y.length-this.Match_MaxBits))==-1||p>=w)&&(p=-1):p=this.match_main(i,y,v),p==-1)u[d]=!1,c-=r[d].length2-r[d].length1;else if(u[d]=!0,c=p-v,y==(g=w==-1?i.substring(p,p+y.length):i.substring(p,w+this.Match_MaxBits)))i=i.substring(0,p)+this.diff_text2(r[d].diffs)+i.substring(p+y.length);else{var k=this.diff_main(y,g,!1);if(y.length>this.Match_MaxBits&&this.diff_levenshtein(k)/y.length>this.Patch_DeleteThreshold)u[d]=!1;else{this.diff_cleanupSemanticLossless(k);for(var P,E=0,C=0;C<r[d].diffs.length;C++){var M=r[d].diffs[C];M[0]!==0&&(P=this.diff_xIndex(k,E)),M[0]===1?i=i.substring(0,p+P)+M[1]+i.substring(p+P):M[0]===-1&&(i=i.substring(0,p+P)+i.substring(p+this.diff_xIndex(k,E+M[1].length))),M[0]!==-1&&(E+=M[1].length)}}}}return[i=i.substring(a.length,i.length-a.length),u]},n.prototype.patch_addPadding=function(r){for(var i=this.Patch_Margin,a="",c=1;c<=i;c++)a+=String.fromCharCode(c);for(c=0;c<r.length;c++)r[c].start1+=i,r[c].start2+=i;var u=r[0],d=u.diffs;if(d.length==0||d[0][0]!=0)d.unshift(new n.Diff(0,a)),u.start1-=i,u.start2-=i,u.length1+=i,u.length2+=i;else if(i>d[0][1].length){var p=i-d[0][1].length;d[0][1]=a.substring(d[0][1].length)+d[0][1],u.start1-=p,u.start2-=p,u.length1+=p,u.length2+=p}return(d=(u=r[r.length-1]).diffs).length==0||d[d.length-1][0]!=0?(d.push(new n.Diff(0,a)),u.length1+=i,u.length2+=i):i>d[d.length-1][1].length&&(p=i-d[d.length-1][1].length,d[d.length-1][1]+=a.substring(0,p),u.length1+=p,u.length2+=p),a},n.prototype.patch_splitMax=function(r){for(var i=this.Match_MaxBits,a=0;a<r.length;a++)if(!(r[a].length1<=i)){var c=r[a];r.splice(a--,1);for(var u=c.start1,d=c.start2,p="";c.diffs.length!==0;){var g=new n.patch_obj,v=!0;for(g.start1=u-p.length,g.start2=d-p.length,p!==""&&(g.length1=g.length2=p.length,g.diffs.push(new n.Diff(0,p)));c.diffs.length!==0&&g.length1<i-this.Patch_Margin;){var y=c.diffs[0][0],w=c.diffs[0][1];y===1?(g.length2+=w.length,d+=w.length,g.diffs.push(c.diffs.shift()),v=!1):y===-1&&g.diffs.length==1&&g.diffs[0][0]==0&&w.length>2*i?(g.length1+=w.length,u+=w.length,v=!1,g.diffs.push(new n.Diff(y,w)),c.diffs.shift()):(w=w.substring(0,i-g.length1-this.Patch_Margin),g.length1+=w.length,u+=w.length,y===0?(g.length2+=w.length,d+=w.length):v=!1,g.diffs.push(new n.Diff(y,w)),w==c.diffs[0][1]?c.diffs.shift():c.diffs[0][1]=c.diffs[0][1].substring(w.length))}p=(p=this.diff_text2(g.diffs)).substring(p.length-this.Patch_Margin);var k=this.diff_text1(c.diffs).substring(0,this.Patch_Margin);k!==""&&(g.length1+=k.length,g.length2+=k.length,g.diffs.length!==0&&g.diffs[g.diffs.length-1][0]===0?g.diffs[g.diffs.length-1][1]+=k:g.diffs.push(new n.Diff(0,k))),v||r.splice(++a,0,g)}}},n.prototype.patch_toText=function(r){for(var i=[],a=0;a<r.length;a++)i[a]=r[a];return i.join("")},n.prototype.patch_fromText=function(r){var i=[];if(!r)return i;for(var a=r.split(`
|
|
266
|
-
`),c=0,u=/^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/;c<a.length;){var d=a[c].match(u);if(!d)throw new Error("Invalid patch string: "+a[c]);var p=new n.patch_obj;for(i.push(p),p.start1=parseInt(d[1],10),d[2]===""?(p.start1--,p.length1=1):d[2]=="0"?p.length1=0:(p.start1--,p.length1=parseInt(d[2],10)),p.start2=parseInt(d[3],10),d[4]===""?(p.start2--,p.length2=1):d[4]=="0"?p.length2=0:(p.start2--,p.length2=parseInt(d[4],10)),c++;c<a.length;){var g=a[c].charAt(0);try{var v=decodeURI(a[c].substring(1))}catch{throw new Error("Illegal escape in patch_fromText: "+v)}if(g=="-")p.diffs.push(new n.Diff(-1,v));else if(g=="+")p.diffs.push(new n.Diff(1,v));else if(g==" ")p.diffs.push(new n.Diff(0,v));else{if(g=="@")break;if(g!=="")throw new Error('Invalid patch mode "'+g+'" in: '+v)}c++}}return i},(n.patch_obj=function(){this.diffs=[],this.start1=null,this.start2=null,this.length1=0,this.length2=0}).prototype.toString=function(){for(var r,i=["@@ -"+(this.length1===0?this.start1+",0":this.length1==1?this.start1+1:this.start1+1+","+this.length1)+" +"+(this.length2===0?this.start2+",0":this.length2==1?this.start2+1:this.start2+1+","+this.length2)+` @@
|
|
267
|
-
`],a=0;a<this.diffs.length;a++){switch(this.diffs[a][0]){case 1:r="+";break;case-1:r="-";break;case 0:r=" "}i[a+1]=r+encodeURI(this.diffs[a][1])+`
|
|
268
|
-
`}return i.join("").replace(/%20/g," ")},s.exports=n,s.exports.diff_match_patch=n,s.exports.DIFF_DELETE=-1,s.exports.DIFF_INSERT=1,s.exports.DIFF_EQUAL=0}));sd.DIFF_EQUAL;sd.DIFF_DELETE;sd.DIFF_INSERT;function Dne(s){let n=0,r=0;for(const i of s.hunks)for(const a of i.changes)Go(a)?n++:pr(a)&&r++;return{adds:n,dels:r}}function Xu(s){return s.type==="rename"&&s.oldPath!==s.newPath?`${s.oldPath} → ${s.newPath}`:s.type==="delete"?s.oldPath:s.newPath}function Ine(s){switch(s){case"add":return{label:"new",cls:"text-success"};case"delete":return{label:"del",cls:"text-error"};case"rename":return{label:"ren",cls:"text-info"};default:return null}}function Fne({title:s,url:n,onClose:r}){ie.useEffect(()=>{const y=w=>{w.key==="Escape"&&r()};return window.addEventListener("keydown",y),()=>window.removeEventListener("keydown",y)},[r]);const[i,a]=ie.useState(null),[c,u]=ie.useState(null);ie.useEffect(()=>{let y=!1;return a(null),u(null),fetch(n).then(w=>w.ok?w.text():Promise.reject(new Error(`HTTP ${w.status}`))).then(w=>!y&&a(w)).catch(w=>!y&&u(w instanceof Error?w.message:String(w))),()=>{y=!0}},[n]);const d=ie.useMemo(()=>{if(!i)return[];try{return yee(i)}catch{return[]}},[i]),[p,g]=ie.useState(0),v=d[Math.min(p,Math.max(0,d.length-1))];return m.jsx("div",{className:"fixed inset-0 z-50 flex bg-black/60",onClick:r,children:m.jsxs("div",{className:"m-4 flex h-[calc(100vh-2rem)] w-full max-w-none flex-col overflow-hidden rounded-xl border border-base-300 bg-base-100 shadow-2xl",onClick:y=>y.stopPropagation(),children:[m.jsxs("div",{className:"flex shrink-0 items-center gap-3 border-b border-base-300 bg-base-200/80 px-4 py-2.5",children:[m.jsx("span",{className:"truncate font-mono text-xs text-base-content/70",children:s}),d.length>0&&m.jsxs("span",{className:"shrink-0 whitespace-nowrap rounded border border-base-300 bg-base-200 px-1.5 py-0.5 font-mono text-2xs text-base-content/60",children:[d.length," file",d.length===1?"":"s"," changed"]}),m.jsx("a",{href:n,target:"_blank",rel:"noreferrer",className:"ml-auto whitespace-nowrap font-mono text-2xs text-info hover:underline",children:"raw diff"}),m.jsx("button",{onClick:r,className:"btn btn-ghost btn-xs h-6 min-h-0","aria-label":"Close",children:"✕"})]}),c?m.jsxs("div",{className:"flex-1 py-16 text-center font-mono text-sm text-error",children:["Couldn't load diff: ",c]}):i===null?m.jsx("div",{className:"flex-1 py-16 text-center font-mono text-sm text-base-content/40",children:"loading diff…"}):d.length===0?m.jsx("div",{className:"flex-1 py-16 text-center font-mono text-sm text-base-content/40",children:"no file changes captured"}):m.jsxs("div",{className:"ll-diff flex min-h-0 flex-1",children:[m.jsx("aside",{className:"w-72 shrink-0 overflow-y-auto border-r border-base-300 bg-base-200/40 py-1.5",children:d.map((y,w)=>{const{adds:k,dels:P}=Dne(y),E=Ine(y.type);return m.jsxs("button",{onClick:()=>g(w),className:"flex w-full items-center gap-2 px-3 py-1.5 text-left font-mono text-2xs leading-4 "+(w===p?"bg-base-300 text-base-content":"text-base-content/60 hover:bg-base-300/50 hover:text-base-content"),title:Xu(y),children:[m.jsx("span",{className:"min-w-0 flex-1 truncate",dir:"rtl",children:Xu(y)}),E&&m.jsx("span",{className:`shrink-0 ${E.cls}`,children:E.label}),m.jsxs("span",{className:"shrink-0 tabular-nums text-success",children:["+",k]}),m.jsxs("span",{className:"shrink-0 tabular-nums text-error",children:["-",P]})]},`${y.oldPath}:${y.newPath}:${w}`)})}),m.jsx("div",{className:"min-w-0 flex-1 overflow-auto bg-base-100",children:v&&m.jsxs("div",{children:[m.jsx("div",{className:"sticky top-0 z-10 border-b border-base-300 bg-base-200/90 px-4 py-2 font-mono text-xs text-base-content/70 backdrop-blur",children:Xu(v)}),m.jsx(Lne,{viewType:"unified",diffType:v.type,hunks:v.hunks,children:y=>y.map(w=>m.jsx(yy,{hunk:w},w.content))})]},`${v.oldPath}:${v.newPath}:${p}`)})]})]})})}function jl({label:s,kind:n}){const r=n==="match"?"border-success/40 bg-success/10 text-success":n==="fp"?"border-error/40 bg-error/10 text-error":"border-warning/40 bg-warning/10 text-warning";return m.jsx("span",{className:`shrink-0 whitespace-nowrap rounded border px-1.5 py-0.5 font-mono text-2xs ${r}`,children:s})}function Yu({title:s,text:n}){return n!=null&&n.trim()?m.jsxs("details",{className:"border-t border-base-300",children:[m.jsx("summary",{className:"cursor-pointer px-4 py-2 font-mono text-2xs text-base-content/60 hover:text-base-content",children:s}),m.jsx("pre",{className:"max-h-80 overflow-auto whitespace-pre-wrap break-words bg-base-200/40 px-4 py-3 font-mono text-2xs leading-5 text-base-content/80",children:n})]}):null}function $ne({title:s,trace:n,onClose:r}){ie.useEffect(()=>{const a=c=>{c.key==="Escape"&&r()};return window.addEventListener("keydown",a),()=>window.removeEventListener("keydown",a)},[r]);const i=n.findings.filter(a=>a.matchedGold!==null).length;return m.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/60 p-4",onClick:r,children:m.jsxs("div",{className:"flex h-[calc(100vh-2rem)] w-full max-w-4xl flex-col overflow-hidden rounded-xl border border-base-300 bg-base-100 shadow-2xl",onClick:a=>a.stopPropagation(),children:[m.jsxs("div",{className:"flex shrink-0 items-center gap-3 border-b border-base-300 bg-base-200/80 px-4 py-2.5",children:[m.jsx("span",{className:"truncate font-mono text-xs text-base-content/70",children:s}),m.jsxs("span",{className:"shrink-0 whitespace-nowrap rounded border border-base-300 bg-base-200 px-1.5 py-0.5 font-mono text-2xs text-base-content/60",children:["judge: ",n.judgeModel||"not run (no review posted)"]}),m.jsxs("span",{className:"shrink-0 whitespace-nowrap font-mono text-2xs text-base-content/50",children:[i,"/",n.gold.length," gold matched · ",n.findings.length," posted"]}),n.usedDiff&&m.jsx("span",{className:"shrink-0 whitespace-nowrap rounded border border-info/40 bg-info/10 px-1.5 py-0.5 font-mono text-2xs text-info",title:"The PR diff was fed to the judge (--judge-with-diff) — not comparable to Martian's diff-blind offline leaderboard",children:"diff-aware"}),m.jsx("button",{onClick:r,className:"btn btn-ghost btn-xs ml-auto h-6 min-h-0","aria-label":"Close",children:"✕"})]}),m.jsxs("div",{className:"min-h-0 flex-1 overflow-y-auto",children:[m.jsxs("section",{className:"px-4 py-3",children:[m.jsxs("h3",{className:"mb-2 font-mono text-2xs uppercase tracking-wide text-base-content/50",children:["Findings extracted from the review (",n.findings.length,")"]}),n.findings.length===0?m.jsx("p",{className:"font-mono text-2xs text-base-content/40",children:"No concrete findings extracted."}):m.jsx("ul",{className:"space-y-1.5",children:n.findings.map((a,c)=>m.jsxs("li",{className:"flex items-start gap-2 font-mono text-2xs leading-5",children:[m.jsxs("span",{className:"shrink-0 text-base-content/40",children:["#",c]}),m.jsxs("span",{className:"min-w-0 flex-1",children:[a.file&&m.jsxs("span",{className:"text-info",children:[a.file,": "]}),m.jsx("span",{className:"text-base-content/85",children:a.description})]}),a.matchedGold!==null?m.jsx(jl,{kind:"match",label:`✓ gold #${a.matchedGold}`}):m.jsx(jl,{kind:"fp",label:"false positive"})]},c))})]}),m.jsxs("section",{className:"border-t border-base-300 px-4 py-3",children:[m.jsxs("h3",{className:"mb-2 font-mono text-2xs uppercase tracking-wide text-base-content/50",children:["Gold set (",n.gold.length,")"]}),n.gold.length===0?m.jsx("p",{className:"font-mono text-2xs text-base-content/40",children:"No gold comments for this PR."}):m.jsx("ul",{className:"space-y-1.5",children:n.gold.map((a,c)=>m.jsxs("li",{className:"flex items-start gap-2 font-mono text-2xs leading-5",children:[m.jsxs("span",{className:"shrink-0 text-base-content/40",children:["#",c]}),m.jsxs("span",{className:"shrink-0 text-base-content/50",children:["[",a.severity,"]"]}),m.jsx("span",{className:"min-w-0 flex-1 text-base-content/85",children:a.description}),a.matchedFinding!==null?m.jsx(jl,{kind:"match",label:`✓ finding #${a.matchedFinding}`}):m.jsx(jl,{kind:"miss",label:"missed"})]},c))})]}),m.jsx(Yu,{title:"Review text the judge read",text:n.reviewText}),m.jsx(Yu,{title:"Raw judge reply — finding extraction",text:n.rawExtract}),m.jsx(Yu,{title:"Raw judge reply — gold matching",text:n.rawMatch})]})]})})}function zne(s){const n=s.review;if(!n)return"";const r=n.falsePositives.length?`False positives:
|
|
269
|
-
`+n.falsePositives.map(a=>`- ${a.file?`${a.file}: `:""}${a.description}`).join(`
|
|
270
|
-
`):"No false positives.",i=n.falseNegatives.length?`Missed gold:
|
|
271
|
-
`+n.falseNegatives.map(a=>`- [${a.severity}] ${a.file?`${a.file}: `:""}${a.description}`).join(`
|
|
272
|
-
`):"No missed gold.";return`${r}
|
|
273
|
-
|
|
274
|
-
${i}`}function Une({tier:s,results:n,pending:r,labels:i,scorecardUrl:a}){var V,Q;const c=s==="code-fix",u=s==="pr-review",d=((Q=(V=n.find(I=>I.review))==null?void 0:V.review)==null?void 0:Q.beta)??1,p=6+(c?1:0)+(u?1:0),g=[...r].sort((I,se)=>I.status===se.status?0:I.status==="running"?-1:1),[v,y]=ie.useState(null),[w,k]=ie.useState(null),[P,E]=ie.useState(null),C=I=>a?a.replace(/scorecard\.json$/,I):I,M=(I,se)=>`${I} · ${Vn(i,se)}`,T=I=>!!I.modelPatchFile,_=I=>k({title:`${M(I.instance_id,I.model)} · changed files`,url:C(I.modelPatchFile)}),N=I=>y({kind:"trials",title:M(I.instance_id,I.model),sessions:I.sessions??[],baseUrl:a??""}),F=I=>y({kind:"execution",title:`${M(I.instance_id,I.model)} · held-out tests`,logUrl:I.executionLog?C(I.executionLog):void 0,failToPass:I.failToPass,passToPass:I.passToPass}),$=I=>{var se,L;return!!(I.executionLog||(se=I.failToPass)!=null&&se.length||(L=I.passToPass)!=null&&L.length)},G=(I,se,L)=>y({kind:"live",title:M(se,L),url:C(I)});return m.jsxs(m.Fragment,{children:[m.jsx("div",{className:"overflow-x-auto rounded-xl border border-base-300 bg-base-200",children:m.jsxs("table",{className:"w-full border-collapse text-sm",children:[m.jsx("thead",{children:m.jsxs("tr",{className:"bg-neutral text-2xs uppercase tracking-wide text-neutral-content/70",children:[m.jsx("th",{className:"px-3 py-3 text-left font-semibold",children:"instance"}),m.jsx("th",{className:"px-3 py-3 text-left font-semibold",children:"model"}),c&&m.jsx("th",{className:"px-3 py-3 text-left font-semibold",children:"code-fix"}),u&&m.jsxs("th",{className:"px-3 py-3 text-left font-semibold",children:["review (F",d,")"]}),m.jsx("th",{className:"px-3 py-3 text-left font-semibold",children:"behavioral"}),m.jsx("th",{className:"px-3 py-3 text-left font-semibold",children:"checks"}),m.jsx("th",{className:"px-3 py-3 text-right font-semibold",children:"cost"}),m.jsx("th",{className:"px-3 py-3 text-right font-semibold",children:"latency"})]})}),m.jsxs("tbody",{children:[n.map((I,se)=>{var U;const L=((U=I.behavioral)==null?void 0:U.checks)??[];return m.jsxs("tr",{className:"border-t border-base-300 align-middle",children:[m.jsxs("td",{className:"px-3 py-2.5 font-mono",children:[I.instance_id,I.sessions&&I.sessions.length>0&&m.jsx("button",{onClick:()=>N(I),className:"ml-2 rounded border border-base-300 px-1.5 py-0.5 align-middle font-sans text-2xs text-info hover:border-info hover:text-base-content",title:"View the agent session log (per phase)",children:"log"})]}),m.jsx("td",{className:"px-3 py-2.5 font-mono text-base-content/50",children:Vn(i,I.model)}),c&&m.jsxs("td",{className:"px-3 py-2.5",children:[I.blocked?m.jsx(yt,{kind:"blocked",children:"blocked"}):I.resolved===void 0?m.jsx(yt,{kind:"na",children:"—"}):I.resolved?m.jsx(yt,{kind:"pass",children:"resolved"}):m.jsx(yt,{kind:"fail",children:"unresolved"}),!I.blocked&&m.jsx(Qp,{pass:I.resolvedPass,trials:I.trials}),$(I)&&m.jsx("button",{onClick:()=>F(I),className:"ml-2 rounded border border-base-300 px-1.5 py-0.5 align-middle font-sans text-2xs text-info hover:border-info hover:text-base-content",title:"View the held-out test results + captured output",children:"tests"}),T(I)&&m.jsx("button",{onClick:()=>_(I),className:"ml-2 rounded border border-base-300 px-1.5 py-0.5 align-middle font-sans text-2xs text-info hover:border-info hover:text-base-content",title:"Browse the files the agent changed (diff)",children:"files"})]}),u&&m.jsx("td",{className:"px-3 py-2.5 whitespace-nowrap",children:I.error?m.jsx(yt,{kind:"fail",children:"error"}):I.review?m.jsxs("span",{className:"inline-flex items-center gap-2",children:[m.jsxs("span",{title:zne(I),className:"cursor-help",children:[m.jsxs(yt,{kind:I.review.fbeta>=.5?"pass":"fail",children:[(I.review.fbeta*100).toFixed(0),"%"]}),m.jsxs("span",{className:"ml-2 font-mono text-2xs text-base-content/60",children:["P",I.review.precision.toFixed(2),"/R",I.review.recall.toFixed(2)," · ",I.review.matched,"/",I.review.gold," gold · ",I.review.falsePositives.length," FP"]})]}),I.review.trace&&m.jsx("button",{onClick:()=>E({title:`${M(I.instance_id,I.model)} · judge`,trace:I.review.trace}),className:"btn btn-ghost btn-xs h-5 min-h-0 px-1.5 font-mono text-2xs text-info",title:"Inspect the judge: extracted findings ↔ gold + raw replies",children:"judge"})]}):m.jsx(yt,{kind:"na",children:"—"})}),m.jsxs("td",{className:"px-3 py-2.5",children:[I.error?m.jsx(yt,{kind:"fail",children:"error"}):I.blocked?m.jsx(yt,{kind:"blocked",children:"blocked"}):I.behavioral?I.behavioral.ok?m.jsx(yt,{kind:"pass",children:"ok"}):m.jsx(yt,{kind:"fail",children:"miss"}):m.jsx(yt,{kind:"na",children:"—"}),!I.error&&!I.blocked&&m.jsx(Qp,{pass:I.behavioralPass,trials:I.trials})]}),m.jsx("td",{className:"px-3 py-2.5 leading-7",children:L.length?L.map((q,ne)=>m.jsx(Ex,{ok:q.ok,name:q.name,detail:q.detail},ne)):m.jsx("span",{className:"text-base-content/40",children:"—"})}),m.jsxs("td",{className:"whitespace-nowrap px-3 py-2.5 text-right font-mono",children:["$",I.costUsd.toFixed(4)]}),m.jsx("td",{className:"whitespace-nowrap px-3 py-2.5 text-right font-mono",children:Eg(I.durationMs)})]},`${I.instance_id}:${I.model}:${se}`)}),n.length===0&&r.length===0&&m.jsx("tr",{children:m.jsx("td",{colSpan:p,className:"px-3 py-6 text-center font-mono text-base-content/40",children:"no results yet"})}),g.map((I,se)=>{const L=I.status==="running";return m.jsxs("tr",{className:"border-t border-base-300 "+(L?"bg-accent/5":"opacity-50"),children:[m.jsxs("td",{className:"px-3 py-2.5 font-mono text-base-content/50",children:[I.instance_id,L&&I.sessionLog&&m.jsx("button",{onClick:()=>G(I.sessionLog,I.instance_id,I.model),className:"ml-2 rounded border border-accent/40 px-1.5 py-0.5 align-middle font-sans text-2xs text-accent hover:border-accent hover:text-base-content",title:"Follow the agent session log live",children:"follow"})]}),m.jsx("td",{className:"px-3 py-2.5 font-mono text-base-content/50",children:Vn(i,I.model)}),c&&m.jsx("td",{className:"px-3 py-2.5",children:I.status==="running"?m.jsx(yt,{kind:"run",children:"running…"}):m.jsx(yt,{kind:"wait",children:"queued"})}),u&&m.jsx("td",{className:"px-3 py-2.5",children:I.status==="running"?m.jsx(yt,{kind:"run",children:"running…"}):m.jsx(yt,{kind:"wait",children:"queued"})}),m.jsxs("td",{className:"px-3 py-2.5",children:[!c&&!u&&(I.status==="running"?m.jsx(yt,{kind:"run",children:"running…"}):m.jsx(yt,{kind:"wait",children:"queued"})),(c||u)&&m.jsx("span",{className:"text-base-content/40",children:"—"})]}),m.jsx("td",{className:"px-3 py-2.5 text-base-content/40",children:"—"}),m.jsx("td",{className:"px-3 py-2.5 text-right font-mono text-base-content/40",children:"—"}),m.jsx("td",{className:"px-3 py-2.5 text-right font-mono text-base-content/40",children:"—"})]},`pending:${I.instance_id}:${I.model}:${se}`)})]})]})}),v&&m.jsx(aee,{source:v,onClose:()=>y(null)}),w&&m.jsx(Fne,{title:w.title,url:w.url,onClose:()=>k(null)}),P&&m.jsx($ne,{title:P.title,trace:P.trace,onClose:()=>E(null)})]})}function Hne({run:s}){var $,G,V,Q,I,se,L,U;const{data:n,isLoading:r,error:i}=px(s.scorecard,s.live),a=(($=n==null?void 0:n.meta)==null?void 0:$.labels)??s.labels,c=(n==null?void 0:n.results)??[],u=((G=n==null?void 0:n.meta)==null?void 0:G.pending)??[],d=[];for(const q of c){const ne=q.tier??s.tiers[0]??"—";d.includes(ne)||d.push(ne)}for(const q of u)d.includes(q.tier)||d.push(q.tier);const p=d.length?d:s.tiers,[g,v]=ie.useState(0),y=p[Math.min(g,Math.max(0,p.length-1))]??s.tiers[0]??"—",w=c.filter(q=>(q.tier??p[0])===y),k=u.filter(q=>q.tier===y),P=Ox(w),E=((V=P.find(q=>q.reviewBeta!==void 0))==null?void 0:V.reviewBeta)??1,C=((Q=n==null?void 0:n.meta)==null?void 0:Q.runType)??s.runType??"models",M=C==="config",T=M?"configs":"models",_=[...new Set(c.map(q=>q.model))].map(q=>Vn(a,q)),N=Bne(c),F=N+u.length;return m.jsxs("div",{children:[m.jsxs("header",{className:"mb-6 border-b border-base-300 pb-5",children:[m.jsxs("h1",{className:"text-2xl font-semibold text-base-content",children:["Eval Scorecard",m.jsx($f,{runType:C,className:"ml-3 align-middle"}),m.jsx(Ll,{run:s,className:"ml-3 align-middle font-mono",size:"sm"})]}),m.jsxs("div",{className:"mt-1.5 font-mono text-xs text-base-content/50",children:[m.jsx("b",{className:"font-semibold text-base-content",children:p.join(" + ")})," · ",T,":"," ",m.jsx("b",{className:"font-semibold text-base-content",children:_.join(", ")})," · ",N,u.length?` / ${F}`:""," cases",s.runs>1&&m.jsxs(m.Fragment,{children:[" "," · ",m.jsxs("b",{className:"font-semibold text-base-content",children:[s.runs,"×"]})," per case"," ",m.jsx("span",{className:"text-base-content/40",children:"(worst-case verdict · mean cost)"})]}),s.gitSha&&m.jsxs(m.Fragment,{children:[" "," · ",m.jsx("span",{className:"text-base-content/70",children:s.gitSha})]})," · ",Pl(((I=n==null?void 0:n.meta)==null?void 0:I.generatedAt)??s.generatedAt)]}),y==="pr-review"&&((L=(se=n==null?void 0:n.meta)==null?void 0:se.martian)==null?void 0:L.models[0])&&m.jsxs("button",{onClick:()=>{var q;return(q=document.getElementById("martian-rank"))==null?void 0:q.scrollIntoView({behavior:"smooth",block:"start"})},className:"mt-3 inline-flex items-center gap-1.5 rounded-lg border border-accent/40 bg-accent/10 px-3 py-1.5 font-mono text-xs text-accent transition-colors hover:bg-accent/20",children:[m.jsxs("span",{className:"font-bold",children:["Lastlight ranks #",n.meta.martian.models[0].rank," of ",n.meta.martian.models[0].of]}),m.jsxs("span",{className:"text-accent/70",children:["vs Martian tools over these ",n.meta.martian.prCount," PR",n.meta.martian.prCount===1?"":"s"]}),m.jsx("span",{"aria-hidden":!0,children:"↓"})]})]}),i&&m.jsx(Qne,{message:i.message}),r&&!n?m.jsx(Vne,{}):m.jsxs(m.Fragment,{children:[p.length>1&&m.jsx("nav",{className:"mb-4 flex flex-wrap gap-2",children:p.map((q,ne)=>m.jsx("button",{onClick:()=>v(ne),className:"rounded-lg border px-4 py-2 font-mono text-xs font-semibold "+(q===y?"border-accent bg-accent text-accent-content":"border-base-300 bg-base-200 text-base-content/60 hover:border-info hover:text-base-content"),children:q},q))}),m.jsxs("h2",{className:(y==="pr-review"?"mb-2":"mb-3.5")+" mt-2 text-lg font-semibold text-base-content",children:[M?"Config comparison":"Model comparison"," ",m.jsxs("span",{className:"font-normal text-base-content/50",children:["— ",y]})]}),y==="pr-review"&&m.jsxs("details",{className:"group mb-4 max-w-2xl",children:[m.jsxs("summary",{className:"inline-flex cursor-pointer list-none items-center gap-1.5 text-2xs text-base-content/50 transition-colors hover:text-base-content/80 [&::-webkit-details-marker]:hidden",children:[m.jsx("span",{className:"flex h-4 w-4 items-center justify-center rounded-full border border-base-content/30 font-mono text-[10px] leading-none",children:"?"}),"Comparison methodology",m.jsx("span",{className:"text-base-content/30 transition-transform group-open:rotate-90",children:"›"})]}),m.jsxs("p",{className:"mt-2 text-2xs leading-5 text-base-content/50",children:["An LLM judge matches the posted review against a human-verified gold set of real issues, giving"," ",m.jsx("span",{className:"text-base-content/70",children:"precision"})," (matched ÷ posted) and"," ",m.jsx("span",{className:"text-base-content/70",children:"recall"})," (matched ÷ gold), combined as"," ",m.jsxs("b",{className:"font-semibold text-base-content/70",children:["F",E]}),E===1?m.jsxs(m.Fragment,{children:[" — the F-beta with ",m.jsx("span",{className:"font-mono",children:"β=1"})," (equal weight), matching the benchmark leaderboard"]}):m.jsxs(m.Fragment,{children:[" — the F-beta with ",m.jsxs("span",{className:"font-mono",children:["β=",E]})," (via ",m.jsx("span",{className:"font-mono",children:"EVAL_F_BETA"}),"; β<1 weights precision higher)"]}),". Click ",m.jsx("b",{className:"font-semibold text-base-content/70",children:"judge"})," on any row to inspect the match. Cases come from the offline set of"," ",m.jsx("a",{href:"https://github.com/withmartian/code-review-benchmark",target:"_blank",rel:"noreferrer",className:"text-info hover:underline",children:"Martian's Code Review Bench"}),"; its gold set is known to be incomplete, so unrecognized-but-real findings can score as false positives."]})]}),m.jsx(Mx,{models:P,tier:y,labels:a,axisLabel:M?"Config":"Model"}),M&&m.jsx(qne,{results:w,labels:a}),m.jsx("h2",{className:"mb-3.5 mt-8 text-lg font-semibold text-base-content",children:"Per-instance results"}),m.jsx(Une,{tier:y,results:w,pending:k,labels:a,scorecardUrl:s.scorecard}),y==="pr-review"&&((U=n==null?void 0:n.meta)==null?void 0:U.martian)&&m.jsx(Gne,{ranking:n.meta.martian,labels:a})]})]})}function Bne(s){return new Set(s.map(n=>`${n.tier??""}|${n.model}|${n.instance_id}`)).size}function qne({results:s,labels:n}){var a;const r=new Map;for(const c of s)r.has(c.model)||!((a=c.phases)!=null&&a.length)||r.set(c.model,c.phases.filter(u=>u.model).map(u=>[u.phase,u.model]));const i=[...r].filter(([,c])=>c.length);return i.length?m.jsxs("div",{className:"mt-5",children:[m.jsx("h3",{className:"mb-2 font-mono text-xs font-semibold uppercase tracking-wide text-base-content/50",children:"Per-step models"}),m.jsx("div",{className:"flex flex-col gap-3",children:i.map(([c,u])=>m.jsxs("div",{className:"rounded-xl border border-base-300 bg-base-200 px-4 py-3",children:[m.jsx("div",{className:"mb-2 font-mono text-xs font-semibold text-base-content",children:Vn(n,c)}),m.jsx("div",{className:"flex flex-wrap gap-x-4 gap-y-1 font-mono text-2xs",children:u.map(([d,p],g)=>m.jsxs("span",{className:"whitespace-nowrap text-base-content/60",children:[m.jsx("span",{className:"text-base-content/40",children:d}),m.jsx("span",{className:"mx-1 text-base-content/30",children:"→"}),m.jsx("span",{className:"text-info",children:p})]},`${d}-${g}`))})]},c))})]}):null}function Gne({ranking:s,labels:n}){new Set(s.models.map(u=>u.key));const r=[...s.tools.map(u=>({...u,us:!1,display:u.name})),...s.models.map(u=>({...u,us:!0,display:`Lastlight (${Vn(n,u.key)})`}))].sort((u,d)=>d.f1-u.f1),i=Math.max(...r.map(u=>u.f1),.01),a=s.models[0],{isDark:c}=ia();return m.jsxs("div",{className:"mt-8 scroll-mt-4",id:"martian-rank",children:[m.jsxs("h3",{className:"mb-1 text-lg font-semibold text-base-content",children:["Where would this rank?"," ",a&&m.jsxs("span",{className:"ml-1 align-middle font-mono text-sm font-bold text-accent",children:["#",a.rank," of ",a.of]})]}),m.jsxs("p",{className:"mb-3 max-w-2xl text-2xs leading-5 text-base-content/50",children:["Ranked against"," ",m.jsx("a",{href:"https://github.com/withmartian/code-review-benchmark",target:"_blank",rel:"noreferrer",className:"text-info hover:underline",children:"Martian's Code Review Bench"})," ","tools over the ",m.jsxs("b",{className:"font-semibold text-base-content/70",children:["same ",s.prCount," PR",s.prCount===1?"":"s"]})," ","this run covered — not the full leaderboard. Micro-averaged F1. Only tools with data on every one of these PRs are shown."," ",m.jsxs("span",{className:"text-base-content/40",children:["Cross-judge: our reviews are graded by our judge; Martian's tools by"," ",m.jsx("span",{className:"font-mono",children:s.judgeModel.split("/").pop()}),"."]})]}),m.jsx("div",{className:"max-w-2xl overflow-hidden rounded-xl border border-base-300 bg-base-200",children:r.map((u,d)=>{const p=Math.round(u.f1/i*100);return m.jsxs("div",{className:"flex items-center gap-3 px-3 py-1.5 "+(d>0?"border-t border-base-300/60 ":"")+(u.us?"bg-accent/15":""),children:[m.jsx("span",{className:"w-6 shrink-0 text-right font-mono text-2xs tabular-nums text-base-content/40",children:d+1}),m.jsx("span",{className:"w-56 shrink-0 truncate font-mono text-xs "+(u.us?"font-bold text-accent":"text-base-content/80"),title:u.display,children:u.display}),m.jsx("div",{className:"relative h-3 flex-1 overflow-hidden rounded "+(c?"bg-base-300/50":""),style:c?void 0:{backgroundColor:"#e9edf1"},children:m.jsx("div",{className:"h-full rounded "+(c?u.us?"bg-accent":"bg-info/50":""),style:c?{width:`${p}%`}:{width:`${p}%`,backgroundColor:u.us?"#10b981":"#7cc7ef"}})}),m.jsx("span",{className:"w-10 shrink-0 text-right font-mono text-xs tabular-nums "+(u.us?"font-bold text-accent":"text-base-content/60"),children:(u.f1*100).toFixed(1)})]},`${u.us?"us":"tool"}-${u.key}`)})})]})}function Vne(){return m.jsx("div",{className:"py-16 text-center font-mono text-sm text-base-content/40",children:"loading scorecard…"})}function Qne({message:s}){return m.jsx("div",{className:"mb-4 rounded-xl border border-error/40 bg-error/10 px-4 py-3 font-mono text-xs text-error",children:s})}function Wne(){const{data:s,isLoading:n,error:r}=hx(),i=vx(),a=If(),{isDark:c,toggleTheme:u}=ia(),d=(s==null?void 0:s.tiers)??[],p=i.tierKey?d.find(v=>v.key===i.tierKey):void 0,g=i.runId&&p?p.runs.find(v=>v.id===i.runId):void 0;return m.jsx("div",{className:"min-h-full",children:m.jsxs("div",{className:"mx-auto max-w-[1600px] px-8 pb-20 pt-10",children:[m.jsxs("nav",{className:"mb-7 flex flex-wrap items-center gap-x-3 gap-y-2",children:[m.jsxs("button",{onClick:()=>a(),className:"flex items-center gap-2.5 text-xl font-semibold tracking-tight text-base-content",children:[m.jsx(Cx,{size:28,className:"nf-logo h-7 w-7"}),"Last Light ",m.jsx("span",{className:"text-accent",children:"·"})," ",m.jsx("span",{className:"text-base-content/70",children:"Evals"})]}),m.jsxs("div",{className:"ml-auto flex flex-wrap items-center gap-2",children:[d.map(v=>m.jsxs("button",{onClick:()=>a(v.key),className:"rounded-lg border px-3 py-1.5 font-mono text-xs font-semibold "+(v.key===(p==null?void 0:p.key)?"border-info bg-info/15 text-info":"border-base-300 bg-base-200 text-base-content/60 hover:border-info hover:text-base-content"),children:[v.key,m.jsx("span",{className:"ml-1.5 text-base-content/40",children:v.runs.length})]},v.key)),m.jsx("button",{onClick:u,className:"rounded-lg border border-base-300 bg-base-200 p-1.5 text-base-content/60 hover:border-info hover:text-base-content",title:c?"Switch to light theme":"Switch to dark theme","aria-label":"Toggle light/dark theme",children:c?m.jsx(ax,{size:14}):m.jsx(rx,{size:14})})]})]}),r&&s&&m.jsxs("div",{className:"mb-4 rounded-lg border border-warning/40 bg-warning/10 px-3 py-2 font-mono text-2xs text-warning",children:["Lost contact with the eval server — showing the last data. Is ",m.jsx("span",{className:"font-semibold",children:"lastlight-evals serve"})," still running?"]}),r&&!s?m.jsx(Yne,{message:r.message}):n&&!s?m.jsx(Xne,{}):d.length?g&&p?m.jsxs("div",{children:[m.jsxs("button",{onClick:()=>a(p.key),className:"mb-5 font-mono text-xs text-info hover:underline",children:["← all ",p.key," runs"]}),m.jsx(Hne,{run:g})]}):p?m.jsxs("div",{children:[m.jsx("button",{onClick:()=>a(),className:"mb-5 font-mono text-xs text-info hover:underline",children:"← overview"}),m.jsx("h1",{className:"mb-1 text-2xl font-semibold text-base-content",children:p.key}),m.jsxs("p",{className:"mb-6 font-mono text-xs text-base-content/50",children:[p.runs.length," run",p.runs.length===1?"":"s"," · click a run to open its scorecard"]}),m.jsx(jx,{tier:p})]}):m.jsx(Ax,{tiers:d}):m.jsx(Kne,{}),m.jsxs("footer",{className:"mt-12 border-t border-base-300 pt-5 font-mono text-2xs text-base-content/40",children:["Real production workflows · mocked GitHub · deterministic grading. ★ = best in column. Generated by"," ",m.jsx("span",{className:"text-base-content/60",children:"lastlight-evals run"}),"."]})]})})}function Kne(){return m.jsxs("div",{className:"rounded-xl border border-base-300 bg-base-200 px-5 py-10 text-center",children:[m.jsx("p",{className:"font-mono text-sm text-base-content/60",children:"No runs yet."}),m.jsxs("p",{className:"mt-2 font-mono text-xs text-base-content/40",children:["Run ",m.jsx("span",{className:"text-accent",children:"lastlight-evals run"})," to record one."]})]})}function Xne(){return m.jsxs("div",{className:"flex flex-col items-center gap-3 py-20",children:[m.jsx("span",{className:"loading loading-spinner loading-md text-base-content/30"}),m.jsx("p",{className:"font-mono text-xs text-base-content/40",children:"loading eval results…"})]})}function Yne({message:s}){return m.jsxs("div",{className:"rounded-xl border border-error/40 bg-error/10 px-5 py-10 text-center",children:[m.jsx("p",{className:"font-mono text-sm text-error",children:"Couldn't reach the eval server."}),m.jsxs("p",{className:"mt-2 font-mono text-xs text-base-content/50",children:["Start it with ",m.jsx("span",{className:"text-accent",children:"lastlight-evals serve"})," (or it stays up after a"," ",m.jsx("span",{className:"text-accent",children:"run"}),")."]}),m.jsx("p",{className:"mt-3 font-mono text-2xs text-base-content/30",children:s})]})}const Zne=new Mv({defaultOptions:{queries:{retry:1,refetchOnWindowFocus:!1}}});av.createRoot(document.getElementById("root")).render(m.jsx(tv.StrictMode,{children:m.jsx(Lv,{client:Zne,children:m.jsx(bx,{children:m.jsx(Wne,{})})})}));
|