lastlight-evals 0.7.14 → 0.7.16

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.
@@ -0,0 +1,284 @@
1
+ var Z0=Object.defineProperty;var _p=s=>{throw TypeError(s)};var J0=(s,n,r)=>n in s?Z0(s,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):s[n]=r;var We=(s,n,r)=>J0(s,typeof n!="symbol"?n+"":n,r),Au=(s,n,r)=>n.has(s)||_p("Cannot "+r);var R=(s,n,r)=>(Au(s,n,"read from private field"),r?r.call(s):n.get(s)),ye=(s,n,r)=>n.has(s)?_p("Cannot add the same private member more than once"):n instanceof WeakSet?n.add(s):n.set(s,r),ce=(s,n,r,i)=>(Au(s,n,"write to private field"),i?i.call(s,r):n.set(s,r),r),Ae=(s,n,r)=>(Au(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 Tp=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Of(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var Cu={exports:{}},Fi={},ju={exports:{}},Ce={};/**
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 Ep;function ev(){if(Ep)return Ce;Ep=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,T={};function C(A,W,ke){this.props=A,this.context=W,this.refs=T,this.updater=ke||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 O(){}O.prototype=C.prototype;function E(A,W,ke){this.props=A,this.context=W,this.refs=T,this.updater=ke||k}var _=E.prototype=new O;_.constructor=E,P(_,C.prototype),_.isPureReactComponent=!0;var N=Array.isArray,D=Object.prototype.hasOwnProperty,F={current:null},G={key:!0,ref:!0,__self:!0,__source:!0};function V(A,W,ke){var ge,Ne={},Ee=null,je=null;if(W!=null)for(ge in W.ref!==void 0&&(je=W.ref),W.key!==void 0&&(Ee=""+W.key),W)D.call(W,ge)&&!G.hasOwnProperty(ge)&&(Ne[ge]=W[ge]);var Se=arguments.length-2;if(Se===1)Ne.children=ke;else if(1<Se){for(var Oe=Array(Se),Ue=0;Ue<Se;Ue++)Oe[Ue]=arguments[Ue+2];Ne.children=Oe}if(A&&A.defaultProps)for(ge in Se=A.defaultProps,Se)Ne[ge]===void 0&&(Ne[ge]=Se[ge]);return{$$typeof:s,type:A,key:Ee,ref:je,props:Ne,_owner:F.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(ke){return W[ke]})}var L=/\/+/g;function z(A,W){return typeof A=="object"&&A!==null&&A.key!=null?se(""+A.key):W.toString(36)}function q(A,W,ke,ge,Ne){var Ee=typeof A;(Ee==="undefined"||Ee==="boolean")&&(A=null);var je=!1;if(A===null)je=!0;else switch(Ee){case"string":case"number":je=!0;break;case"object":switch(A.$$typeof){case s:case n:je=!0}}if(je)return je=A,Ne=Ne(je),A=ge===""?"."+z(je,0):ge,N(Ne)?(ke="",A!=null&&(ke=A.replace(L,"$&/")+"/"),q(Ne,W,ke,"",function(Ue){return Ue})):Ne!=null&&(I(Ne)&&(Ne=Q(Ne,ke+(!Ne.key||je&&je.key===Ne.key?"":(""+Ne.key).replace(L,"$&/")+"/")+A)),W.push(Ne)),1;if(je=0,ge=ge===""?".":ge+":",N(A))for(var Se=0;Se<A.length;Se++){Ee=A[Se];var Oe=ge+z(Ee,Se);je+=q(Ee,W,ke,Oe,Ne)}else if(Oe=w(A),typeof Oe=="function")for(A=Oe.call(A),Se=0;!(Ee=A.next()).done;)Ee=Ee.value,Oe=ge+z(Ee,Se++),je+=q(Ee,W,ke,Oe,Ne);else if(Ee==="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 je}function re(A,W,ke){if(A==null)return A;var ge=[],Ne=0;return q(A,ge,"","",function(Ee){return W.call(ke,Ee,Ne++)}),ge}function me(A){if(A._status===-1){var W=A._result;W=W(),W.then(function(ke){(A._status===0||A._status===-1)&&(A._status=1,A._result=ke)},function(ke){(A._status===0||A._status===-1)&&(A._status=2,A._result=ke)}),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:F};function ee(){throw Error("act(...) is not supported in production builds of React.")}return Ce.Children={map:re,forEach:function(A,W,ke){re(A,function(){W.apply(this,arguments)},ke)},count:function(A){var W=0;return re(A,function(){W++}),W},toArray:function(A){return re(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}},Ce.Component=C,Ce.Fragment=r,Ce.Profiler=a,Ce.PureComponent=E,Ce.StrictMode=i,Ce.Suspense=p,Ce.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=oe,Ce.act=ee,Ce.cloneElement=function(A,W,ke){if(A==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+A+".");var ge=P({},A.props),Ne=A.key,Ee=A.ref,je=A._owner;if(W!=null){if(W.ref!==void 0&&(Ee=W.ref,je=F.current),W.key!==void 0&&(Ne=""+W.key),A.type&&A.type.defaultProps)var Se=A.type.defaultProps;for(Oe in W)D.call(W,Oe)&&!G.hasOwnProperty(Oe)&&(ge[Oe]=W[Oe]===void 0&&Se!==void 0?Se[Oe]:W[Oe])}var Oe=arguments.length-2;if(Oe===1)ge.children=ke;else if(1<Oe){Se=Array(Oe);for(var Ue=0;Ue<Oe;Ue++)Se[Ue]=arguments[Ue+2];ge.children=Se}return{$$typeof:s,type:A.type,key:Ne,ref:Ee,props:ge,_owner:je}},Ce.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},Ce.createElement=V,Ce.createFactory=function(A){var W=V.bind(null,A);return W.type=A,W},Ce.createRef=function(){return{current:null}},Ce.forwardRef=function(A){return{$$typeof:d,render:A}},Ce.isValidElement=I,Ce.lazy=function(A){return{$$typeof:v,_payload:{_status:-1,_result:A},_init:me}},Ce.memo=function(A,W){return{$$typeof:g,type:A,compare:W===void 0?null:W}},Ce.startTransition=function(A){var W=K.transition;K.transition={};try{A()}finally{K.transition=W}},Ce.unstable_act=ee,Ce.useCallback=function(A,W){return le.current.useCallback(A,W)},Ce.useContext=function(A){return le.current.useContext(A)},Ce.useDebugValue=function(){},Ce.useDeferredValue=function(A){return le.current.useDeferredValue(A)},Ce.useEffect=function(A,W){return le.current.useEffect(A,W)},Ce.useId=function(){return le.current.useId()},Ce.useImperativeHandle=function(A,W,ke){return le.current.useImperativeHandle(A,W,ke)},Ce.useInsertionEffect=function(A,W){return le.current.useInsertionEffect(A,W)},Ce.useLayoutEffect=function(A,W){return le.current.useLayoutEffect(A,W)},Ce.useMemo=function(A,W){return le.current.useMemo(A,W)},Ce.useReducer=function(A,W,ke){return le.current.useReducer(A,W,ke)},Ce.useRef=function(A){return le.current.useRef(A)},Ce.useState=function(A){return le.current.useState(A)},Ce.useSyncExternalStore=function(A,W,ke){return le.current.useSyncExternalStore(A,W,ke)},Ce.useTransition=function(){return le.current.useTransition()},Ce.version="18.3.1",Ce}var Np;function Mf(){return Np||(Np=1,ju.exports=ev()),ju.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 Ap;function tv(){if(Ap)return Fi;Ap=1;var s=Mf(),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 Fi.Fragment=r,Fi.jsx=u,Fi.jsxs=u,Fi}var Cp;function nv(){return Cp||(Cp=1,Cu.exports=tv()),Cu.exports}var m=nv(),ie=Mf();const rv=Of(ie);var wl={},Ru={exports:{}},Kt={},Ou={exports:{}},Mu={};/**
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 jp;function sv(){return jp||(jp=1,(function(s){function n(K,oe){var ee=K.length;K.push(oe);e:for(;0<ee;){var A=ee-1>>>1,W=K[A];if(0<a(W,oe))K[A]=oe,K[ee]=W,ee=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],ee=K.pop();if(ee!==oe){K[0]=ee;e:for(var A=0,W=K.length,ke=W>>>1;A<ke;){var ge=2*(A+1)-1,Ne=K[ge],Ee=ge+1,je=K[Ee];if(0>a(Ne,ee))Ee<W&&0>a(je,Ne)?(K[A]=je,K[Ee]=ee,A=Ee):(K[A]=Ne,K[ge]=ee,A=ge);else if(Ee<W&&0>a(je,ee))K[A]=je,K[Ee]=ee,A=Ee;else break e}}return oe}function a(K,oe){var ee=K.sortIndex-oe.sortIndex;return ee!==0?ee: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,T=!1,C=typeof setTimeout=="function"?setTimeout:null,O=typeof clearTimeout=="function"?clearTimeout:null,E=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function _(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(T=!1,_(K),!P)if(r(p)!==null)P=!0,me(D);else{var oe=r(g);oe!==null&&le(N,oe.startTime-K)}}function D(K,oe){P=!1,T&&(T=!1,O(V),V=-1),k=!0;var ee=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 ke=!0;else{var ge=r(g);ge!==null&&le(N,ge.startTime-oe),ke=!1}return ke}finally{y=null,w=ee,k=!1}}var F=!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?z():(F=!1,G=null)}}else F=!1}var z;if(typeof E=="function")z=function(){E(L)};else if(typeof MessageChannel<"u"){var q=new MessageChannel,re=q.port2;q.port1.onmessage=L,z=function(){re.postMessage(null)}}else z=function(){C(L,0)};function me(K){G=K,F||(F=!0,z())}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(D))},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 ee=w;w=oe;try{return K()}finally{w=ee}},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 ee=w;w=K;try{return oe()}finally{w=ee}},s.unstable_scheduleCallback=function(K,oe,ee){var A=s.unstable_now();switch(typeof ee=="object"&&ee!==null?(ee=ee.delay,ee=typeof ee=="number"&&0<ee?A+ee:A):ee=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=ee+W,K={id:v++,callback:oe,priorityLevel:K,startTime:ee,expirationTime:W,sortIndex:-1},ee>A?(K.sortIndex=ee,n(g,K),r(p)===null&&K===r(g)&&(T?(O(V),V=-1):T=!0,le(N,ee-A))):(K.sortIndex=W,n(p,K),P||k||(P=!0,me(D))),K},s.unstable_shouldYield=se,s.unstable_wrapCallback=function(K){var oe=w;return function(){var ee=w;w=oe;try{return K.apply(this,arguments)}finally{w=ee}}}})(Mu)),Mu}var Rp;function ov(){return Rp||(Rp=1,Ou.exports=sv()),Ou.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 Op;function iv(){if(Op)return Kt;Op=1;var s=Mf(),n=ov();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 T(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 T(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 T(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){C[e]=new T(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){C[e]=new T(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 T(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){C[e]=new T(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){C[e]=new T(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){C[e]=new T(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){C[e]=new T(e,5,!1,e.toLowerCase(),null,!1,!1)});var O=/[\-:]([a-z])/g;function E(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(O,E);C[t]=new T(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(O,E);C[t]=new T(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(O,E);C[t]=new T(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){C[e]=new T(e,1,!1,e.toLowerCase(),null,!1,!1)}),C.xlinkHref=new T("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){C[e]=new T(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,D=Symbol.for("react.element"),F=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"),z=Symbol.for("react.suspense"),q=Symbol.for("react.suspense_list"),re=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 ee=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 ke=!1;function ge(e,t){if(!e||ke)return"";ke=!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{ke=!1,Error.prepareStackTrace=o}return(e=e?e.displayName||e.name:"")?W(e):""}function Ne(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 Ee(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 F:return"Portal";case Q:return"Profiler";case V:return"StrictMode";case z: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 re:return t=e.displayName||null,t!==null?t:Ee(e.type)||"Memo";case me:t=e._payload,e=e._init;try{return Ee(e(t))}catch{}}return null}function je(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 Ee(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 Se(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Oe(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Ue(e){var t=Oe(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 Re(e){e._valueTracker||(e._valueTracker=Ue(e))}function Ut(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var o=t.getValue(),l="";return e&&(l=Oe(e)?e.checked?"true":"false":e.value),e=l,e!==o?(t.setValue(e),!0):!1}function Te(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 rt(e,t){var o=t.checked;return ee({},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=Se(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 dt(e,t){t=t.checked,t!=null&&_(e,"checked",t,!1)}function yr(e,t){dt(e,t);var o=Se(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,Se(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function en(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"||Te(e.ownerDocument)!==e)&&(o==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+o&&(e.defaultValue=""+o))}var Xn=Array.isArray;function Yn(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=""+Se(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 ee({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function bn(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(Xn(o)){if(1<o.length)throw Error(r(93));o=o[0]}t=o}t==null&&(t=""),o=t}e._wrapperState={initialValue:Se(o)}}function kn(e,t){var o=Se(t.value),l=Se(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 Mn(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 es(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 vr,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(vr=vr||document.createElement("div"),vr.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=vr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function dn(e,t){if(t){var o=e.firstChild;if(o&&o===e.lastChild&&o.nodeType===3){o.nodeValue=t;return}}e.textContent=t}var Pn={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(Pn).forEach(function(e){qs.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Pn[t]=Pn[e]})});function Wo(e,t,o){return t==null||typeof t=="boolean"||t===""?"":o||typeof t!="number"||t===0||Pn.hasOwnProperty(e)&&Pn[e]?(""+t).trim():t+"px"}function Ko(e,t){e=e.style;for(var o in t)if(t.hasOwnProperty(o)){var l=o.indexOf("--")===0,f=Wo(o,t[o],l);o==="float"&&(o="cssFloat"),l?e.setProperty(o,f):e[o]=f}}var ha=ee({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 ts(e,t){if(t){if(ha[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 ns(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 Ln=null;function Ht(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var rs=null,Zn=null,Jn=null;function Gs(e){if(e=Si(e)){if(typeof rs!="function")throw Error(r(280));var t=e.stateNode;t&&(t=Pa(t),rs(e.stateNode,e.type,t))}}function Xo(e){Zn?Jn?Jn.push(e):Jn=[e]:Zn=e}function ss(){if(Zn){var e=Zn,t=Jn;if(Jn=Zn=null,Gs(e),t)for(e=0;e<t.length;e++)Gs(t[e])}}function os(e,t){return e(t)}function tn(){}var Dn=!1;function Vs(e,t,o){if(Dn)return e(t,o);Dn=!0;try{return os(e,t,o)}finally{Dn=!1,(Zn!==null||Jn!==null)&&(tn(),ss())}}function er(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 Yo=!1;if(d)try{var xr={};Object.defineProperty(xr,"passive",{get:function(){Yo=!0}}),window.addEventListener("test",xr,xr),window.removeEventListener("test",xr,xr)}catch{Yo=!1}function Zo(e,t,o,l,f,h,x,S,j){var B=Array.prototype.slice.call(arguments,3);try{t.apply(o,B)}catch(Z){this.onError(Z)}}var wr=!1,br=null,Qs=!1,tr=null,Wl={onError:function(e){wr=!0,br=e}};function Kl(e,t,o,l,f,h,x,S,j){wr=!1,br=null,Zo.apply(Wl,arguments)}function qe(e,t,o,l,f,h,x,S,j){if(Kl.apply(this,arguments),wr){if(wr){var B=br;wr=!1,br=null}else throw Error(r(198));Qs||(Qs=!0,tr=B)}}function Bt(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 pa(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 Jo(e){if(Bt(e)!==e)throw Error(r(188))}function ei(e){var t=e.alternate;if(!t){if(t=Bt(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 Jo(f),e;if(h===l)return Jo(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 ti(e){return e=ei(e),e!==null?ni(e):null}function ni(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=ni(e);if(t!==null)return t;e=e.sibling}return null}var ma=n.unstable_scheduleCallback,ga=n.unstable_cancelCallback,Xl=n.unstable_shouldYield,Yl=n.unstable_requestPaint,Fe=n.unstable_now,Ws=n.unstable_getCurrentPriorityLevel,Sn=n.unstable_ImmediatePriority,ya=n.unstable_UserBlockingPriority,kr=n.unstable_NormalPriority,Zl=n.unstable_LowPriority,ri=n.unstable_IdlePriority,is=null,Lt=null;function si(e){if(Lt&&typeof Lt.onCommitFiberRoot=="function")try{Lt.onCommitFiberRoot(is,e,void 0,(e.current.flags&128)===128)}catch{}}var Nt=Math.clz32?Math.clz32:hn,Sr=Math.log,as=Math.LN2;function hn(e){return e>>>=0,e===0?32:31-(Sr(e)/as|0)|0}var Ks=64,Xs=4194304;function _r(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 ls(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=_r(S):(h&=x,h!==0&&(l=_r(h)))}else x=o&~f,x!==0?l=_r(x):h!==0&&(l=_r(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-Nt(t),f=1<<o,l|=e[o],t&=~f;return l}function Jl(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 va(e,t){for(var o=e.suspendedLanes,l=e.pingedLanes,f=e.expirationTimes,h=e.pendingLanes;0<h;){var x=31-Nt(h),S=1<<x,j=f[x];j===-1?((S&o)===0||(S&l)!==0)&&(f[x]=Jl(S,t)):j<=t&&(e.expiredLanes|=S),h&=~S}}function oi(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function xa(){var e=Ks;return Ks<<=1,(Ks&4194240)===0&&(Ks=64),e}function Ys(e){for(var t=[],o=0;31>o;o++)t.push(e);return t}function In(e,t,o){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Nt(t),e[t]=o}function ii(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-Nt(o),h=1<<f;t[f]=0,l[f]=-1,e[f]=-1,o&=~h}}function te(e,t){var o=e.entangledLanes|=t;for(e=e.entanglements;o;){var l=31-Nt(o),f=1<<l;f&t|e[l]&t&&(e[l]|=t),o&=~f}}var b=0;function H(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var X,ue,ve,be,Ge,lt=!1,At=[],et=null,ct=null,Ye=null,ai=new Map,li=new Map,Tr=[],wy="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 ad(e,t){switch(e){case"focusin":case"focusout":et=null;break;case"dragenter":case"dragleave":ct=null;break;case"mouseover":case"mouseout":Ye=null;break;case"pointerover":case"pointerout":ai.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":li.delete(t.pointerId)}}function ci(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=Si(t),t!==null&&ue(t)),e):(e.eventSystemFlags|=l,t=e.targetContainers,f!==null&&t.indexOf(f)===-1&&t.push(f),e)}function by(e,t,o,l,f){switch(t){case"focusin":return et=ci(et,e,t,o,l,f),!0;case"dragenter":return ct=ci(ct,e,t,o,l,f),!0;case"mouseover":return Ye=ci(Ye,e,t,o,l,f),!0;case"pointerover":var h=f.pointerId;return ai.set(h,ci(ai.get(h)||null,e,t,o,l,f)),!0;case"gotpointercapture":return h=f.pointerId,li.set(h,ci(li.get(h)||null,e,t,o,l,f)),!0}return!1}function ld(e){var t=cs(e.target);if(t!==null){var o=Bt(t);if(o!==null){if(t=o.tag,t===13){if(t=pa(o),t!==null){e.blockedOn=t,Ge(e.priority,function(){ve(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=tc(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(o===null){o=e.nativeEvent;var l=new o.constructor(o.type,o);Ln=l,o.target.dispatchEvent(l),Ln=null}else return t=Si(o),t!==null&&ue(t),e.blockedOn=o,!1;t.shift()}return!0}function cd(e,t,o){wa(e)&&o.delete(t)}function ky(){lt=!1,et!==null&&wa(et)&&(et=null),ct!==null&&wa(ct)&&(ct=null),Ye!==null&&wa(Ye)&&(Ye=null),ai.forEach(cd),li.forEach(cd)}function ui(e,t){e.blockedOn===t&&(e.blockedOn=null,lt||(lt=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,ky)))}function fi(e){function t(f){return ui(f,e)}if(0<At.length){ui(At[0],e);for(var o=1;o<At.length;o++){var l=At[o];l.blockedOn===e&&(l.blockedOn=null)}}for(et!==null&&ui(et,e),ct!==null&&ui(ct,e),Ye!==null&&ui(Ye,e),ai.forEach(t),li.forEach(t),o=0;o<Tr.length;o++)l=Tr[o],l.blockedOn===e&&(l.blockedOn=null);for(;0<Tr.length&&(o=Tr[0],o.blockedOn===null);)ld(o),o.blockedOn===null&&Tr.shift()}var Zs=N.ReactCurrentBatchConfig,ba=!0;function Sy(e,t,o,l){var f=b,h=Zs.transition;Zs.transition=null;try{b=1,ec(e,t,o,l)}finally{b=f,Zs.transition=h}}function _y(e,t,o,l){var f=b,h=Zs.transition;Zs.transition=null;try{b=4,ec(e,t,o,l)}finally{b=f,Zs.transition=h}}function ec(e,t,o,l){if(ba){var f=tc(e,t,o,l);if(f===null)vc(e,t,l,ka,o),ad(e,l);else if(by(f,e,t,o,l))l.stopPropagation();else if(ad(e,l),t&4&&-1<wy.indexOf(e)){for(;f!==null;){var h=Si(f);if(h!==null&&X(h),h=tc(e,t,o,l),h===null&&vc(e,t,l,ka,o),h===f)break;f=h}f!==null&&l.stopPropagation()}else vc(e,t,l,null,o)}}var ka=null;function tc(e,t,o,l){if(ka=null,e=Ht(l),e=cs(e),e!==null)if(t=Bt(e),t===null)e=null;else if(o=t.tag,o===13){if(e=pa(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 ud(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(Ws()){case Sn:return 1;case ya:return 4;case kr:case Zl:return 16;case ri:return 536870912;default:return 16}default:return 16}}var Er=null,nc=null,Sa=null;function fd(){if(Sa)return Sa;var e,t=nc,o=t.length,l,f="value"in Er?Er.value:Er.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 dd(){return!1}function nn(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:dd,this.isPropagationStopped=dd,this}return ee(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},rc=nn(Js),di=ee({},Js,{view:0,detail:0}),Ty=nn(di),sc,oc,hi,Ea=ee({},di,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ac,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!==hi&&(hi&&e.type==="mousemove"?(sc=e.screenX-hi.screenX,oc=e.screenY-hi.screenY):oc=sc=0,hi=e),sc)},movementY:function(e){return"movementY"in e?e.movementY:oc}}),hd=nn(Ea),Ey=ee({},Ea,{dataTransfer:0}),Ny=nn(Ey),Ay=ee({},di,{relatedTarget:0}),ic=nn(Ay),Cy=ee({},Js,{animationName:0,elapsedTime:0,pseudoElement:0}),jy=nn(Cy),Ry=ee({},Js,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Oy=nn(Ry),My=ee({},Js,{data:0}),pd=nn(My),Py={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ly={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"},Dy={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Iy(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Dy[e])?!!t[e]:!1}function ac(){return Iy}var Fy=ee({},di,{key:function(e){if(e.key){var t=Py[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"?Ly[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ac,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}}),$y=nn(Fy),zy=ee({},Ea,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),md=nn(zy),Uy=ee({},di,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ac}),Hy=nn(Uy),By=ee({},Js,{propertyName:0,elapsedTime:0,pseudoElement:0}),qy=nn(By),Gy=ee({},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}),Vy=nn(Gy),Qy=[9,13,27,32],lc=d&&"CompositionEvent"in window,pi=null;d&&"documentMode"in document&&(pi=document.documentMode);var Wy=d&&"TextEvent"in window&&!pi,gd=d&&(!lc||pi&&8<pi&&11>=pi),yd=" ",vd=!1;function xd(e,t){switch(e){case"keyup":return Qy.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function wd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var eo=!1;function Ky(e,t){switch(e){case"compositionend":return wd(t);case"keypress":return t.which!==32?null:(vd=!0,yd);case"textInput":return e=t.data,e===yd&&vd?null:e;default:return null}}function Xy(e,t){if(eo)return e==="compositionend"||!lc&&xd(e,t)?(e=fd(),Sa=nc=Er=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 gd&&t.locale!=="ko"?null:t.data;default:return null}}var Yy={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 bd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Yy[e.type]:t==="textarea"}function kd(e,t,o,l){Xo(l),t=Ra(t,"onChange"),0<t.length&&(o=new rc("onChange","change",null,o,l),e.push({event:o,listeners:t}))}var mi=null,gi=null;function Zy(e){zd(e,0)}function Na(e){var t=oo(e);if(Ut(t))return e}function Jy(e,t){if(e==="change")return t}var Sd=!1;if(d){var cc;if(d){var uc="oninput"in document;if(!uc){var _d=document.createElement("div");_d.setAttribute("oninput","return;"),uc=typeof _d.oninput=="function"}cc=uc}else cc=!1;Sd=cc&&(!document.documentMode||9<document.documentMode)}function Td(){mi&&(mi.detachEvent("onpropertychange",Ed),gi=mi=null)}function Ed(e){if(e.propertyName==="value"&&Na(gi)){var t=[];kd(t,gi,e,Ht(e)),Vs(Zy,t)}}function e0(e,t,o){e==="focusin"?(Td(),mi=t,gi=o,mi.attachEvent("onpropertychange",Ed)):e==="focusout"&&Td()}function t0(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Na(gi)}function n0(e,t){if(e==="click")return Na(t)}function r0(e,t){if(e==="input"||e==="change")return Na(t)}function s0(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var _n=typeof Object.is=="function"?Object.is:s0;function yi(e,t){if(_n(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)||!_n(e[f],t[f]))return!1}return!0}function Nd(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ad(e,t){var o=Nd(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=Nd(o)}}function Cd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Cd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function jd(){for(var e=window,t=Te();t instanceof e.HTMLIFrameElement;){try{var o=typeof t.contentWindow.location.href=="string"}catch{o=!1}if(o)e=t.contentWindow;else break;t=Te(e.document)}return t}function fc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function o0(e){var t=jd(),o=e.focusedElem,l=e.selectionRange;if(t!==o&&o&&o.ownerDocument&&Cd(o.ownerDocument.documentElement,o)){if(l!==null&&fc(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=Ad(o,h);var x=Ad(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 i0=d&&"documentMode"in document&&11>=document.documentMode,to=null,dc=null,vi=null,hc=!1;function Rd(e,t,o){var l=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;hc||to==null||to!==Te(l)||(l=to,"selectionStart"in l&&fc(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}),vi&&yi(vi,l)||(vi=l,l=Ra(dc,"onSelect"),0<l.length&&(t=new rc("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")},pc={},Od={};d&&(Od=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(pc[e])return pc[e];if(!no[e])return e;var t=no[e],o;for(o in t)if(t.hasOwnProperty(o)&&o in Od)return pc[e]=t[o];return e}var Md=Ca("animationend"),Pd=Ca("animationiteration"),Ld=Ca("animationstart"),Dd=Ca("transitionend"),Id=new Map,Fd="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 Nr(e,t){Id.set(e,t),c(t,[e])}for(var mc=0;mc<Fd.length;mc++){var gc=Fd[mc],a0=gc.toLowerCase(),l0=gc[0].toUpperCase()+gc.slice(1);Nr(a0,"on"+l0)}Nr(Md,"onAnimationEnd"),Nr(Pd,"onAnimationIteration"),Nr(Ld,"onAnimationStart"),Nr("dblclick","onDoubleClick"),Nr("focusin","onFocus"),Nr("focusout","onBlur"),Nr(Dd,"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 xi="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(" "),c0=new Set("cancel close invalid load scroll toggle".split(" ").concat(xi));function $d(e,t,o){var l=e.type||"unknown-event";e.currentTarget=o,qe(l,t,void 0,e),e.currentTarget=null}function zd(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;$d(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;$d(f,S,B),h=j}}}if(Qs)throw e=tr,Qs=!1,tr=null,e}function Ve(e,t){var o=t[_c];o===void 0&&(o=t[_c]=new Set);var l=e+"__bubble";o.has(l)||(Ud(t,e,2,!1),o.add(l))}function yc(e,t,o){var l=0;t&&(l|=4),Ud(o,e,l,t)}var ja="_reactListening"+Math.random().toString(36).slice(2);function wi(e){if(!e[ja]){e[ja]=!0,i.forEach(function(o){o!=="selectionchange"&&(c0.has(o)||yc(o,!1,e),yc(o,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ja]||(t[ja]=!0,yc("selectionchange",!1,t))}}function Ud(e,t,o,l){switch(ud(t)){case 1:var f=Sy;break;case 4:f=_y;break;default:f=ec}o=f.bind(null,t,o,e),f=void 0,!Yo||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 vc(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,Z=Ht(o),J=[];e:{var Y=Id.get(e);if(Y!==void 0){var ae=rc,de=e;switch(e){case"keypress":if(_a(o)===0)break e;case"keydown":case"keyup":ae=$y;break;case"focusin":de="focus",ae=ic;break;case"focusout":de="blur",ae=ic;break;case"beforeblur":case"afterblur":ae=ic;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=hd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ae=Ny;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ae=Hy;break;case Md:case Pd:case Ld:ae=jy;break;case Dd:ae=qy;break;case"scroll":ae=Ty;break;case"wheel":ae=Vy;break;case"copy":case"cut":case"paste":ae=Oy;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ae=md}var he=(t&4)!==0,it=!he&&e==="scroll",$=he?Y!==null?Y+"Capture":null:Y;he=[];for(var M=B,U;M!==null;){U=M;var ne=U.stateNode;if(U.tag===5&&ne!==null&&(U=ne,$!==null&&(ne=er(M,$),ne!=null&&he.push(bi(M,ne,U)))),it)break;M=M.return}0<he.length&&(Y=new ae(Y,de,null,o,Z),J.push({event:Y,listeners:he}))}}if((t&7)===0){e:{if(Y=e==="mouseover"||e==="pointerover",ae=e==="mouseout"||e==="pointerout",Y&&o!==Ln&&(de=o.relatedTarget||o.fromElement)&&(cs(de)||de[nr]))break e;if((ae||Y)&&(Y=Z.window===Z?Z:(Y=Z.ownerDocument)?Y.defaultView||Y.parentWindow:window,ae?(de=o.relatedTarget||o.toElement,ae=B,de=de?cs(de):null,de!==null&&(it=Bt(de),de!==it||de.tag!==5&&de.tag!==6)&&(de=null)):(ae=null,de=B),ae!==de)){if(he=hd,ne="onMouseLeave",$="onMouseEnter",M="mouse",(e==="pointerout"||e==="pointerover")&&(he=md,ne="onPointerLeave",$="onPointerEnter",M="pointer"),it=ae==null?Y:oo(ae),U=de==null?Y:oo(de),Y=new he(ne,M+"leave",ae,o,Z),Y.target=it,Y.relatedTarget=U,ne=null,cs(Z)===B&&(he=new he($,M+"enter",de,o,Z),he.target=U,he.relatedTarget=it,ne=he),it=ne,ae&&de)t:{for(he=ae,$=de,M=0,U=he;U;U=ro(U))M++;for(U=0,ne=$;ne;ne=ro(ne))U++;for(;0<M-U;)he=ro(he),M--;for(;0<U-M;)$=ro($),U--;for(;M--;){if(he===$||$!==null&&he===$.alternate)break t;he=ro(he),$=ro($)}he=null}else he=null;ae!==null&&Hd(J,Y,ae,he,!1),de!==null&&it!==null&&Hd(J,it,de,he,!0)}}e:{if(Y=B?oo(B):window,ae=Y.nodeName&&Y.nodeName.toLowerCase(),ae==="select"||ae==="input"&&Y.type==="file")var pe=Jy;else if(bd(Y))if(Sd)pe=r0;else{pe=t0;var xe=e0}else(ae=Y.nodeName)&&ae.toLowerCase()==="input"&&(Y.type==="checkbox"||Y.type==="radio")&&(pe=n0);if(pe&&(pe=pe(e,B))){kd(J,pe,o,Z);break e}xe&&xe(e,Y,B),e==="focusout"&&(xe=Y._wrapperState)&&xe.controlled&&Y.type==="number"&&zs(Y,"number",Y.value)}switch(xe=B?oo(B):window,e){case"focusin":(bd(xe)||xe.contentEditable==="true")&&(to=xe,dc=B,vi=null);break;case"focusout":vi=dc=to=null;break;case"mousedown":hc=!0;break;case"contextmenu":case"mouseup":case"dragend":hc=!1,Rd(J,o,Z);break;case"selectionchange":if(i0)break;case"keydown":case"keyup":Rd(J,o,Z)}var we;if(lc)e:{switch(e){case"compositionstart":var _e="onCompositionStart";break e;case"compositionend":_e="onCompositionEnd";break e;case"compositionupdate":_e="onCompositionUpdate";break e}_e=void 0}else eo?xd(e,o)&&(_e="onCompositionEnd"):e==="keydown"&&o.keyCode===229&&(_e="onCompositionStart");_e&&(gd&&o.locale!=="ko"&&(eo||_e!=="onCompositionStart"?_e==="onCompositionEnd"&&eo&&(we=fd()):(Er=Z,nc="value"in Er?Er.value:Er.textContent,eo=!0)),xe=Ra(B,_e),0<xe.length&&(_e=new pd(_e,e,null,o,Z),J.push({event:_e,listeners:xe}),we?_e.data=we:(we=wd(o),we!==null&&(_e.data=we)))),(we=Wy?Ky(e,o):Xy(e,o))&&(B=Ra(B,"onBeforeInput"),0<B.length&&(Z=new pd("onBeforeInput","beforeinput",null,o,Z),J.push({event:Z,listeners:B}),Z.data=we))}zd(J,t)})}function bi(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=er(e,o),h!=null&&l.unshift(bi(e,h,f)),h=er(e,t),h!=null&&l.push(bi(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 Hd(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=er(o,h),j!=null&&x.unshift(bi(o,j,S))):f||(j=er(o,h),j!=null&&x.push(bi(o,j,S)))),o=o.return}x.length!==0&&e.push({event:t,listeners:x})}var u0=/\r\n?/g,f0=/\u0000|\uFFFD/g;function Bd(e){return(typeof e=="string"?e:""+e).replace(u0,`
38
+ `).replace(f0,"")}function Oa(e,t,o){if(t=Bd(t),Bd(e)!==t&&o)throw Error(r(425))}function Ma(){}var xc=null,wc=null;function bc(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 kc=typeof setTimeout=="function"?setTimeout:void 0,d0=typeof clearTimeout=="function"?clearTimeout:void 0,qd=typeof Promise=="function"?Promise:void 0,h0=typeof queueMicrotask=="function"?queueMicrotask:typeof qd<"u"?function(e){return qd.resolve(null).then(e).catch(p0)}:kc;function p0(e){setTimeout(function(){throw e})}function Sc(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),fi(t);return}l--}else o!=="$"&&o!=="$?"&&o!=="$!"||l++;o=f}while(o);fi(t)}function Ar(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 Gd(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),Fn="__reactFiber$"+so,ki="__reactProps$"+so,nr="__reactContainer$"+so,_c="__reactEvents$"+so,m0="__reactListeners$"+so,g0="__reactHandles$"+so;function cs(e){var t=e[Fn];if(t)return t;for(var o=e.parentNode;o;){if(t=o[nr]||o[Fn]){if(o=t.alternate,t.child!==null||o!==null&&o.child!==null)for(e=Gd(e);e!==null;){if(o=e[Fn])return o;e=Gd(e)}return t}e=o,o=e.parentNode}return null}function Si(e){return e=e[Fn]||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[ki]||null}var Tc=[],io=-1;function Cr(e){return{current:e}}function Qe(e){0>io||(e.current=Tc[io],Tc[io]=null,io--)}function Be(e,t){io++,Tc[io]=e.current,e.current=t}var jr={},Ct=Cr(jr),qt=Cr(!1),us=jr;function ao(e,t){var o=e.type.contextTypes;if(!o)return jr;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 Gt(e){return e=e.childContextTypes,e!=null}function La(){Qe(qt),Qe(Ct)}function Vd(e,t,o){if(Ct.current!==jr)throw Error(r(168));Be(Ct,t),Be(qt,o)}function Qd(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,je(e)||"Unknown",f));return ee({},o,l)}function Da(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||jr,us=Ct.current,Be(Ct,e),Be(qt,qt.current),!0}function Wd(e,t,o){var l=e.stateNode;if(!l)throw Error(r(169));o?(e=Qd(e,t,us),l.__reactInternalMemoizedMergedChildContext=e,Qe(qt),Qe(Ct),Be(Ct,e)):Qe(qt),Be(qt,o)}var rr=null,Ia=!1,Ec=!1;function Kd(e){rr===null?rr=[e]:rr.push(e)}function y0(e){Ia=!0,Kd(e)}function Rr(){if(!Ec&&rr!==null){Ec=!0;var e=0,t=b;try{var o=rr;for(b=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)),ma(Sn,Rr),f}finally{b=t,Ec=!1}}return null}var lo=[],co=0,Fa=null,$a=0,pn=[],mn=0,fs=null,sr=1,or="";function ds(e,t){lo[co++]=$a,lo[co++]=Fa,Fa=e,$a=t}function Xd(e,t,o){pn[mn++]=sr,pn[mn++]=or,pn[mn++]=fs,fs=e;var l=sr;e=or;var f=32-Nt(l)-1;l&=~(1<<f),o+=1;var h=32-Nt(t)+f;if(30<h){var x=f-f%5;h=(l&(1<<x)-1).toString(32),l>>=x,f-=x,sr=1<<32-Nt(t)+f|o<<f|l,or=h+e}else sr=1<<h|o<<f|l,or=e}function Nc(e){e.return!==null&&(ds(e,1),Xd(e,1,0))}function Ac(e){for(;e===Fa;)Fa=lo[--co],lo[co]=null,$a=lo[--co],lo[co]=null;for(;e===fs;)fs=pn[--mn],pn[mn]=null,or=pn[--mn],pn[mn]=null,sr=pn[--mn],pn[mn]=null}var rn=null,sn=null,Ze=!1,Tn=null;function Yd(e,t){var o=xn(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 Zd(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,rn=e,sn=Ar(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,rn=e,sn=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=xn(18,null,null,0),o.stateNode=t,o.return=e,e.child=o,rn=e,sn=null,!0):!1;default:return!1}}function Cc(e){return(e.mode&1)!==0&&(e.flags&128)===0}function jc(e){if(Ze){var t=sn;if(t){var o=t;if(!Zd(e,t)){if(Cc(e))throw Error(r(418));t=Ar(o.nextSibling);var l=rn;t&&Zd(e,t)?Yd(l,o):(e.flags=e.flags&-4097|2,Ze=!1,rn=e)}}else{if(Cc(e))throw Error(r(418));e.flags=e.flags&-4097|2,Ze=!1,rn=e}}}function Jd(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;rn=e}function za(e){if(e!==rn)return!1;if(!Ze)return Jd(e),Ze=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!bc(e.type,e.memoizedProps)),t&&(t=sn)){if(Cc(e))throw eh(),Error(r(418));for(;t;)Yd(e,t),t=Ar(t.nextSibling)}if(Jd(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){sn=Ar(e.nextSibling);break e}t--}else o!=="$"&&o!=="$!"&&o!=="$?"||t++}e=e.nextSibling}sn=null}}else sn=rn?Ar(e.stateNode.nextSibling):null;return!0}function eh(){for(var e=sn;e;)e=Ar(e.nextSibling)}function uo(){sn=rn=null,Ze=!1}function Rc(e){Tn===null?Tn=[e]:Tn.push(e)}var v0=N.ReactCurrentBatchConfig;function _i(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 th(e){var t=e._init;return t(e._payload)}function nh(e){function t($,M){if(e){var U=$.deletions;U===null?($.deletions=[M],$.flags|=16):U.push(M)}}function o($,M){if(!e)return null;for(;M!==null;)t($,M),M=M.sibling;return null}function l($,M){for($=new Map;M!==null;)M.key!==null?$.set(M.key,M):$.set(M.index,M),M=M.sibling;return $}function f($,M){return $=$r($,M),$.index=0,$.sibling=null,$}function h($,M,U){return $.index=U,e?(U=$.alternate,U!==null?(U=U.index,U<M?($.flags|=2,M):U):($.flags|=2,M)):($.flags|=1048576,M)}function x($){return e&&$.alternate===null&&($.flags|=2),$}function S($,M,U,ne){return M===null||M.tag!==6?(M=ku(U,$.mode,ne),M.return=$,M):(M=f(M,U),M.return=$,M)}function j($,M,U,ne){var pe=U.type;return pe===G?Z($,M,U.props.children,ne,U.key):M!==null&&(M.elementType===pe||typeof pe=="object"&&pe!==null&&pe.$$typeof===me&&th(pe)===M.type)?(ne=f(M,U.props),ne.ref=_i($,M,U),ne.return=$,ne):(ne=fl(U.type,U.key,U.props,null,$.mode,ne),ne.ref=_i($,M,U),ne.return=$,ne)}function B($,M,U,ne){return M===null||M.tag!==4||M.stateNode.containerInfo!==U.containerInfo||M.stateNode.implementation!==U.implementation?(M=Su(U,$.mode,ne),M.return=$,M):(M=f(M,U.children||[]),M.return=$,M)}function Z($,M,U,ne,pe){return M===null||M.tag!==7?(M=ws(U,$.mode,ne,pe),M.return=$,M):(M=f(M,U),M.return=$,M)}function J($,M,U){if(typeof M=="string"&&M!==""||typeof M=="number")return M=ku(""+M,$.mode,U),M.return=$,M;if(typeof M=="object"&&M!==null){switch(M.$$typeof){case D:return U=fl(M.type,M.key,M.props,null,$.mode,U),U.ref=_i($,null,M),U.return=$,U;case F:return M=Su(M,$.mode,U),M.return=$,M;case me:var ne=M._init;return J($,ne(M._payload),U)}if(Xn(M)||oe(M))return M=ws(M,$.mode,U,null),M.return=$,M;Ua($,M)}return null}function Y($,M,U,ne){var pe=M!==null?M.key:null;if(typeof U=="string"&&U!==""||typeof U=="number")return pe!==null?null:S($,M,""+U,ne);if(typeof U=="object"&&U!==null){switch(U.$$typeof){case D:return U.key===pe?j($,M,U,ne):null;case F:return U.key===pe?B($,M,U,ne):null;case me:return pe=U._init,Y($,M,pe(U._payload),ne)}if(Xn(U)||oe(U))return pe!==null?null:Z($,M,U,ne,null);Ua($,U)}return null}function ae($,M,U,ne,pe){if(typeof ne=="string"&&ne!==""||typeof ne=="number")return $=$.get(U)||null,S(M,$,""+ne,pe);if(typeof ne=="object"&&ne!==null){switch(ne.$$typeof){case D:return $=$.get(ne.key===null?U:ne.key)||null,j(M,$,ne,pe);case F:return $=$.get(ne.key===null?U:ne.key)||null,B(M,$,ne,pe);case me:var xe=ne._init;return ae($,M,U,xe(ne._payload),pe)}if(Xn(ne)||oe(ne))return $=$.get(U)||null,Z(M,$,ne,pe,null);Ua(M,ne)}return null}function de($,M,U,ne){for(var pe=null,xe=null,we=M,_e=M=0,yt=null;we!==null&&_e<U.length;_e++){we.index>_e?(yt=we,we=null):yt=we.sibling;var Ie=Y($,we,U[_e],ne);if(Ie===null){we===null&&(we=yt);break}e&&we&&Ie.alternate===null&&t($,we),M=h(Ie,M,_e),xe===null?pe=Ie:xe.sibling=Ie,xe=Ie,we=yt}if(_e===U.length)return o($,we),Ze&&ds($,_e),pe;if(we===null){for(;_e<U.length;_e++)we=J($,U[_e],ne),we!==null&&(M=h(we,M,_e),xe===null?pe=we:xe.sibling=we,xe=we);return Ze&&ds($,_e),pe}for(we=l($,we);_e<U.length;_e++)yt=ae(we,$,_e,U[_e],ne),yt!==null&&(e&&yt.alternate!==null&&we.delete(yt.key===null?_e:yt.key),M=h(yt,M,_e),xe===null?pe=yt:xe.sibling=yt,xe=yt);return e&&we.forEach(function(zr){return t($,zr)}),Ze&&ds($,_e),pe}function he($,M,U,ne){var pe=oe(U);if(typeof pe!="function")throw Error(r(150));if(U=pe.call(U),U==null)throw Error(r(151));for(var xe=pe=null,we=M,_e=M=0,yt=null,Ie=U.next();we!==null&&!Ie.done;_e++,Ie=U.next()){we.index>_e?(yt=we,we=null):yt=we.sibling;var zr=Y($,we,Ie.value,ne);if(zr===null){we===null&&(we=yt);break}e&&we&&zr.alternate===null&&t($,we),M=h(zr,M,_e),xe===null?pe=zr:xe.sibling=zr,xe=zr,we=yt}if(Ie.done)return o($,we),Ze&&ds($,_e),pe;if(we===null){for(;!Ie.done;_e++,Ie=U.next())Ie=J($,Ie.value,ne),Ie!==null&&(M=h(Ie,M,_e),xe===null?pe=Ie:xe.sibling=Ie,xe=Ie);return Ze&&ds($,_e),pe}for(we=l($,we);!Ie.done;_e++,Ie=U.next())Ie=ae(we,$,_e,Ie.value,ne),Ie!==null&&(e&&Ie.alternate!==null&&we.delete(Ie.key===null?_e:Ie.key),M=h(Ie,M,_e),xe===null?pe=Ie:xe.sibling=Ie,xe=Ie);return e&&we.forEach(function(Y0){return t($,Y0)}),Ze&&ds($,_e),pe}function it($,M,U,ne){if(typeof U=="object"&&U!==null&&U.type===G&&U.key===null&&(U=U.props.children),typeof U=="object"&&U!==null){switch(U.$$typeof){case D:e:{for(var pe=U.key,xe=M;xe!==null;){if(xe.key===pe){if(pe=U.type,pe===G){if(xe.tag===7){o($,xe.sibling),M=f(xe,U.props.children),M.return=$,$=M;break e}}else if(xe.elementType===pe||typeof pe=="object"&&pe!==null&&pe.$$typeof===me&&th(pe)===xe.type){o($,xe.sibling),M=f(xe,U.props),M.ref=_i($,xe,U),M.return=$,$=M;break e}o($,xe);break}else t($,xe);xe=xe.sibling}U.type===G?(M=ws(U.props.children,$.mode,ne,U.key),M.return=$,$=M):(ne=fl(U.type,U.key,U.props,null,$.mode,ne),ne.ref=_i($,M,U),ne.return=$,$=ne)}return x($);case F:e:{for(xe=U.key;M!==null;){if(M.key===xe)if(M.tag===4&&M.stateNode.containerInfo===U.containerInfo&&M.stateNode.implementation===U.implementation){o($,M.sibling),M=f(M,U.children||[]),M.return=$,$=M;break e}else{o($,M);break}else t($,M);M=M.sibling}M=Su(U,$.mode,ne),M.return=$,$=M}return x($);case me:return xe=U._init,it($,M,xe(U._payload),ne)}if(Xn(U))return de($,M,U,ne);if(oe(U))return he($,M,U,ne);Ua($,U)}return typeof U=="string"&&U!==""||typeof U=="number"?(U=""+U,M!==null&&M.tag===6?(o($,M.sibling),M=f(M,U),M.return=$,$=M):(o($,M),M=ku(U,$.mode,ne),M.return=$,$=M),x($)):o($,M)}return it}var fo=nh(!0),rh=nh(!1),Ha=Cr(null),Ba=null,ho=null,Oc=null;function Mc(){Oc=ho=Ba=null}function Pc(e){var t=Ha.current;Qe(Ha),e._currentValue=t}function Lc(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,Oc=ho=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Vt=!0),e.firstContext=null)}function gn(e){var t=e._currentValue;if(Oc!==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 Dc(e){hs===null?hs=[e]:hs.push(e)}function sh(e,t,o,l){var f=t.interleaved;return f===null?(o.next=o,Dc(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 Or=!1;function Ic(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function oh(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 Mr(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,Dc(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,te(e,o)}}function ih(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;Or=!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 Z=e.alternate;Z!==null&&(Z=Z.updateQueue,S=Z.lastBaseUpdate,S!==x&&(S===null?Z.firstBaseUpdate=B:S.next=B,Z.lastBaseUpdate=j))}if(h!==null){var J=f.baseState;x=0,Z=B=j=null,S=h;do{var Y=S.lane,ae=S.eventTime;if((l&Y)===Y){Z!==null&&(Z=Z.next={eventTime:ae,lane:0,tag:S.tag,payload:S.payload,callback:S.callback,next:null});e:{var de=e,he=S;switch(Y=t,ae=o,he.tag){case 1:if(de=he.payload,typeof de=="function"){J=de.call(ae,J,Y);break e}J=de;break e;case 3:de.flags=de.flags&-65537|128;case 0:if(de=he.payload,Y=typeof de=="function"?de.call(ae,J,Y):de,Y==null)break e;J=ee({},J,Y);break e;case 2:Or=!0}}S.callback!==null&&S.lane!==0&&(e.flags|=64,Y=f.effects,Y===null?f.effects=[S]:Y.push(S))}else ae={eventTime:ae,lane:Y,tag:S.tag,payload:S.payload,callback:S.callback,next:null},Z===null?(B=Z=ae,j=J):Z=Z.next=ae,x|=Y;if(S=S.next,S===null){if(S=f.shared.pending,S===null)break;Y=S,S=Y.next,Y.next=null,f.lastBaseUpdate=Y,f.shared.pending=null}}while(!0);if(Z===null&&(j=J),f.baseState=j,f.firstBaseUpdate=B,f.lastBaseUpdate=Z,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=J}}function ah(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 Ti={},$n=Cr(Ti),Ei=Cr(Ti),Ni=Cr(Ti);function ps(e){if(e===Ti)throw Error(r(174));return e}function Fc(e,t){switch(Be(Ni,t),Be(Ei,e),Be($n,Ti),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:es(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=es(t,e)}Qe($n),Be($n,t)}function mo(){Qe($n),Qe(Ei),Qe(Ni)}function lh(e){ps(Ni.current);var t=ps($n.current),o=es(t,e.type);t!==o&&(Be(Ei,e),Be($n,o))}function $c(e){Ei.current===e&&(Qe($n),Qe(Ei))}var tt=Cr(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 zc=[];function Uc(){for(var e=0;e<zc.length;e++)zc[e]._workInProgressVersionPrimary=null;zc.length=0}var Qa=N.ReactCurrentDispatcher,Hc=N.ReactCurrentBatchConfig,ms=0,nt=null,ht=null,mt=null,Wa=!1,Ai=!1,Ci=0,x0=0;function jt(){throw Error(r(321))}function Bc(e,t){if(t===null)return!1;for(var o=0;o<t.length&&o<e.length;o++)if(!_n(e[o],t[o]))return!1;return!0}function qc(e,t,o,l,f,h){if(ms=h,nt=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Qa.current=e===null||e.memoizedState===null?S0:_0,e=o(l,f),Ai){h=0;do{if(Ai=!1,Ci=0,25<=h)throw Error(r(301));h+=1,mt=ht=null,t.updateQueue=null,Qa.current=T0,e=o(l,f)}while(Ai)}if(Qa.current=Ya,t=ht!==null&&ht.next!==null,ms=0,mt=ht=nt=null,Wa=!1,t)throw Error(r(300));return e}function Gc(){var e=Ci!==0;return Ci=0,e}function zn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return mt===null?nt.memoizedState=mt=e:mt=mt.next=e,mt}function yn(){if(ht===null){var e=nt.alternate;e=e!==null?e.memoizedState:null}else e=ht.next;var t=mt===null?nt.memoizedState:mt.next;if(t!==null)mt=t,ht=e;else{if(e===null)throw Error(r(310));ht=e,e={memoizedState:ht.memoizedState,baseState:ht.baseState,baseQueue:ht.baseQueue,queue:ht.queue,next:null},mt===null?nt.memoizedState=mt=e:mt=mt.next=e}return mt}function ji(e,t){return typeof t=="function"?t(e):t}function Vc(e){var t=yn(),o=t.queue;if(o===null)throw Error(r(311));o.lastRenderedReducer=e;var l=ht,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 Z=B.lane;if((ms&Z)===Z)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 J={lane:Z,action:B.action,hasEagerState:B.hasEagerState,eagerState:B.eagerState,next:null};j===null?(S=j=J,x=l):j=j.next=J,nt.lanes|=Z,gs|=Z}B=B.next}while(B!==null&&B!==h);j===null?x=l:j.next=S,_n(l,t.memoizedState)||(Vt=!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,nt.lanes|=h,gs|=h,f=f.next;while(f!==e)}else f===null&&(o.lanes=0);return[t.memoizedState,o.dispatch]}function Qc(e){var t=yn(),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);_n(h,t.memoizedState)||(Vt=!0),t.memoizedState=h,t.baseQueue===null&&(t.baseState=h),o.lastRenderedState=h}return[h,l]}function ch(){}function uh(e,t){var o=nt,l=yn(),f=t(),h=!_n(l.memoizedState,f);if(h&&(l.memoizedState=f,Vt=!0),l=l.queue,Wc(hh.bind(null,o,l,e),[e]),l.getSnapshot!==t||h||mt!==null&&mt.memoizedState.tag&1){if(o.flags|=2048,Ri(9,dh.bind(null,o,l,f,t),void 0,null),gt===null)throw Error(r(349));(ms&30)!==0||fh(o,t,f)}return f}function fh(e,t,o){e.flags|=16384,e={getSnapshot:t,value:o},t=nt.updateQueue,t===null?(t={lastEffect:null,stores:null},nt.updateQueue=t,t.stores=[e]):(o=t.stores,o===null?t.stores=[e]:o.push(e))}function dh(e,t,o,l){t.value=o,t.getSnapshot=l,ph(t)&&mh(e)}function hh(e,t,o){return o(function(){ph(t)&&mh(e)})}function ph(e){var t=e.getSnapshot;e=e.value;try{var o=t();return!_n(e,o)}catch{return!0}}function mh(e){var t=ir(e,1);t!==null&&Cn(t,e,1,-1)}function gh(e){var t=zn();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ji,lastRenderedState:e},t.queue=e,e=e.dispatch=k0.bind(null,nt,e),[t.memoizedState,e]}function Ri(e,t,o,l){return e={tag:e,create:t,destroy:o,deps:l,next:null},t=nt.updateQueue,t===null?(t={lastEffect:null,stores:null},nt.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 yh(){return yn().memoizedState}function Ka(e,t,o,l){var f=zn();nt.flags|=e,f.memoizedState=Ri(1|t,o,void 0,l===void 0?null:l)}function Xa(e,t,o,l){var f=yn();l=l===void 0?null:l;var h=void 0;if(ht!==null){var x=ht.memoizedState;if(h=x.destroy,l!==null&&Bc(l,x.deps)){f.memoizedState=Ri(t,o,h,l);return}}nt.flags|=e,f.memoizedState=Ri(1|t,o,h,l)}function vh(e,t){return Ka(8390656,8,e,t)}function Wc(e,t){return Xa(2048,8,e,t)}function xh(e,t){return Xa(4,2,e,t)}function wh(e,t){return Xa(4,4,e,t)}function bh(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 kh(e,t,o){return o=o!=null?o.concat([e]):null,Xa(4,4,bh.bind(null,t,e),o)}function Kc(){}function Sh(e,t){var o=yn();t=t===void 0?null:t;var l=o.memoizedState;return l!==null&&t!==null&&Bc(t,l[1])?l[0]:(o.memoizedState=[e,t],e)}function _h(e,t){var o=yn();t=t===void 0?null:t;var l=o.memoizedState;return l!==null&&t!==null&&Bc(t,l[1])?l[0]:(e=e(),o.memoizedState=[e,t],e)}function Th(e,t,o){return(ms&21)===0?(e.baseState&&(e.baseState=!1,Vt=!0),e.memoizedState=o):(_n(o,t)||(o=xa(),nt.lanes|=o,gs|=o,e.baseState=!0),t)}function w0(e,t){var o=b;b=o!==0&&4>o?o:4,e(!0);var l=Hc.transition;Hc.transition={};try{e(!1),t()}finally{b=o,Hc.transition=l}}function Eh(){return yn().memoizedState}function b0(e,t,o){var l=Ir(e);if(o={lane:l,action:o,hasEagerState:!1,eagerState:null,next:null},Nh(e))Ah(t,o);else if(o=sh(e,t,o,l),o!==null){var f=It();Cn(o,e,l,f),Ch(o,t,l)}}function k0(e,t,o){var l=Ir(e),f={lane:l,action:o,hasEagerState:!1,eagerState:null,next:null};if(Nh(e))Ah(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,_n(S,x)){var j=t.interleaved;j===null?(f.next=f,Dc(t)):(f.next=j.next,j.next=f),t.interleaved=f;return}}catch{}finally{}o=sh(e,t,f,l),o!==null&&(f=It(),Cn(o,e,l,f),Ch(o,t,l))}}function Nh(e){var t=e.alternate;return e===nt||t!==null&&t===nt}function Ah(e,t){Ai=Wa=!0;var o=e.pending;o===null?t.next=t:(t.next=o.next,o.next=t),e.pending=t}function Ch(e,t,o){if((o&4194240)!==0){var l=t.lanes;l&=e.pendingLanes,o|=l,t.lanes=o,te(e,o)}}var Ya={readContext:gn,useCallback:jt,useContext:jt,useEffect:jt,useImperativeHandle:jt,useInsertionEffect:jt,useLayoutEffect:jt,useMemo:jt,useReducer:jt,useRef:jt,useState:jt,useDebugValue:jt,useDeferredValue:jt,useTransition:jt,useMutableSource:jt,useSyncExternalStore:jt,useId:jt,unstable_isNewReconciler:!1},S0={readContext:gn,useCallback:function(e,t){return zn().memoizedState=[e,t===void 0?null:t],e},useContext:gn,useEffect:vh,useImperativeHandle:function(e,t,o){return o=o!=null?o.concat([e]):null,Ka(4194308,4,bh.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=zn();return t=t===void 0?null:t,e=e(),o.memoizedState=[e,t],e},useReducer:function(e,t,o){var l=zn();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=b0.bind(null,nt,e),[l.memoizedState,e]},useRef:function(e){var t=zn();return e={current:e},t.memoizedState=e},useState:gh,useDebugValue:Kc,useDeferredValue:function(e){return zn().memoizedState=e},useTransition:function(){var e=gh(!1),t=e[0];return e=w0.bind(null,e[1]),zn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,o){var l=nt,f=zn();if(Ze){if(o===void 0)throw Error(r(407));o=o()}else{if(o=t(),gt===null)throw Error(r(349));(ms&30)!==0||fh(l,t,o)}f.memoizedState=o;var h={value:o,getSnapshot:t};return f.queue=h,vh(hh.bind(null,l,h,e),[e]),l.flags|=2048,Ri(9,dh.bind(null,l,h,o,t),void 0,null),o},useId:function(){var e=zn(),t=gt.identifierPrefix;if(Ze){var o=or,l=sr;o=(l&~(1<<32-Nt(l)-1)).toString(32)+o,t=":"+t+"R"+o,o=Ci++,0<o&&(t+="H"+o.toString(32)),t+=":"}else o=x0++,t=":"+t+"r"+o.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},_0={readContext:gn,useCallback:Sh,useContext:gn,useEffect:Wc,useImperativeHandle:kh,useInsertionEffect:xh,useLayoutEffect:wh,useMemo:_h,useReducer:Vc,useRef:yh,useState:function(){return Vc(ji)},useDebugValue:Kc,useDeferredValue:function(e){var t=yn();return Th(t,ht.memoizedState,e)},useTransition:function(){var e=Vc(ji)[0],t=yn().memoizedState;return[e,t]},useMutableSource:ch,useSyncExternalStore:uh,useId:Eh,unstable_isNewReconciler:!1},T0={readContext:gn,useCallback:Sh,useContext:gn,useEffect:Wc,useImperativeHandle:kh,useInsertionEffect:xh,useLayoutEffect:wh,useMemo:_h,useReducer:Qc,useRef:yh,useState:function(){return Qc(ji)},useDebugValue:Kc,useDeferredValue:function(e){var t=yn();return ht===null?t.memoizedState=e:Th(t,ht.memoizedState,e)},useTransition:function(){var e=Qc(ji)[0],t=yn().memoizedState;return[e,t]},useMutableSource:ch,useSyncExternalStore:uh,useId:Eh,unstable_isNewReconciler:!1};function En(e,t){if(e&&e.defaultProps){t=ee({},t),e=e.defaultProps;for(var o in e)t[o]===void 0&&(t[o]=e[o]);return t}return t}function Xc(e,t,o,l){t=e.memoizedState,o=o(l,t),o=o==null?t:ee({},t,o),e.memoizedState=o,e.lanes===0&&(e.updateQueue.baseState=o)}var Za={isMounted:function(e){return(e=e._reactInternals)?Bt(e)===e:!1},enqueueSetState:function(e,t,o){e=e._reactInternals;var l=It(),f=Ir(e),h=ar(l,f);h.payload=t,o!=null&&(h.callback=o),t=Mr(e,h,f),t!==null&&(Cn(t,e,f,l),qa(t,e,f))},enqueueReplaceState:function(e,t,o){e=e._reactInternals;var l=It(),f=Ir(e),h=ar(l,f);h.tag=1,h.payload=t,o!=null&&(h.callback=o),t=Mr(e,h,f),t!==null&&(Cn(t,e,f,l),qa(t,e,f))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var o=It(),l=Ir(e),f=ar(o,l);f.tag=2,t!=null&&(f.callback=t),t=Mr(e,f,l),t!==null&&(Cn(t,e,l,o),qa(t,e,l))}};function jh(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?!yi(o,l)||!yi(f,h):!0}function Rh(e,t,o){var l=!1,f=jr,h=t.contextType;return typeof h=="object"&&h!==null?h=gn(h):(f=Gt(t)?us:Ct.current,l=t.contextTypes,h=(l=l!=null)?ao(e,f):jr),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 Oh(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 Yc(e,t,o,l){var f=e.stateNode;f.props=o,f.state=e.memoizedState,f.refs={},Ic(e);var h=t.contextType;typeof h=="object"&&h!==null?f.context=gn(h):(h=Gt(t)?us:Ct.current,f.context=ao(e,h)),f.state=e.memoizedState,h=t.getDerivedStateFromProps,typeof h=="function"&&(Xc(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+=Ne(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 Zc(e,t,o){return{value:e,source:null,stack:o??null,digest:t??null}}function Jc(e,t){try{console.error(t.value)}catch(o){setTimeout(function(){throw o})}}var E0=typeof WeakMap=="function"?WeakMap:Map;function Mh(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,pu=l),Jc(e,t)},o}function Ph(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(){Jc(e,t)}}var h=e.stateNode;return h!==null&&typeof h.componentDidCatch=="function"&&(o.callback=function(){Jc(e,t),typeof l!="function"&&(Lr===null?Lr=new Set([this]):Lr.add(this));var x=t.stack;this.componentDidCatch(t.value,{componentStack:x!==null?x:""})}),o}function Lh(e,t,o){var l=e.pingCache;if(l===null){l=e.pingCache=new E0;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=z0.bind(null,e,t,o),t.then(e,e))}function Dh(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 Ih(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,Mr(o,t,1))),o.lanes|=1),e):(e.flags|=65536,e.lanes=f,e)}var N0=N.ReactCurrentOwner,Vt=!1;function Dt(e,t,o,l){t.child=e===null?rh(t,null,o,l):fo(t,e.child,o,l)}function Fh(e,t,o,l,f){o=o.render;var h=t.ref;return po(t,f),l=qc(e,t,o,l,h,f),o=Gc(),e!==null&&!Vt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~f,lr(e,t,f)):(Ze&&o&&Nc(t),t.flags|=1,Dt(e,t,l,f),t.child)}function $h(e,t,o,l,f){if(e===null){var h=o.type;return typeof h=="function"&&!bu(h)&&h.defaultProps===void 0&&o.compare===null&&o.defaultProps===void 0?(t.tag=15,t.type=h,zh(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:yi,o(x,l)&&e.ref===t.ref)return lr(e,t,f)}return t.flags|=1,e=$r(h,l),e.ref=t.ref,e.return=t,t.child=e}function zh(e,t,o,l,f){if(e!==null){var h=e.memoizedProps;if(yi(h,l)&&e.ref===t.ref)if(Vt=!1,t.pendingProps=l=h,(e.lanes&f)!==0)(e.flags&131072)!==0&&(Vt=!0);else return t.lanes=e.lanes,lr(e,t,f)}return eu(e,t,o,l,f)}function Uh(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,on),on|=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,on),on|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},l=h!==null?h.baseLanes:o,Be(vo,on),on|=l}else h!==null?(l=h.baseLanes|o,t.memoizedState=null):l=o,Be(vo,on),on|=l;return Dt(e,t,f,o),t.child}function Hh(e,t){var o=t.ref;(e===null&&o!==null||e!==null&&e.ref!==o)&&(t.flags|=512,t.flags|=2097152)}function eu(e,t,o,l,f){var h=Gt(o)?us:Ct.current;return h=ao(t,h),po(t,f),o=qc(e,t,o,l,h,f),l=Gc(),e!==null&&!Vt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~f,lr(e,t,f)):(Ze&&l&&Nc(t),t.flags|=1,Dt(e,t,o,f),t.child)}function Bh(e,t,o,l,f){if(Gt(o)){var h=!0;Da(t)}else h=!1;if(po(t,f),t.stateNode===null)el(e,t),Rh(t,o,l),Yc(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=gn(B):(B=Gt(o)?us:Ct.current,B=ao(t,B));var Z=o.getDerivedStateFromProps,J=typeof Z=="function"||typeof x.getSnapshotBeforeUpdate=="function";J||typeof x.UNSAFE_componentWillReceiveProps!="function"&&typeof x.componentWillReceiveProps!="function"||(S!==l||j!==B)&&Oh(t,x,l,B),Or=!1;var Y=t.memoizedState;x.state=Y,Ga(t,l,x,f),j=t.memoizedState,S!==l||Y!==j||qt.current||Or?(typeof Z=="function"&&(Xc(t,o,Z,l),j=t.memoizedState),(S=Or||jh(t,o,S,l,Y,j,B))?(J||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,oh(e,t),S=t.memoizedProps,B=t.type===t.elementType?S:En(t.type,S),x.props=B,J=t.pendingProps,Y=x.context,j=o.contextType,typeof j=="object"&&j!==null?j=gn(j):(j=Gt(o)?us:Ct.current,j=ao(t,j));var ae=o.getDerivedStateFromProps;(Z=typeof ae=="function"||typeof x.getSnapshotBeforeUpdate=="function")||typeof x.UNSAFE_componentWillReceiveProps!="function"&&typeof x.componentWillReceiveProps!="function"||(S!==J||Y!==j)&&Oh(t,x,l,j),Or=!1,Y=t.memoizedState,x.state=Y,Ga(t,l,x,f);var de=t.memoizedState;S!==J||Y!==de||qt.current||Or?(typeof ae=="function"&&(Xc(t,o,ae,l),de=t.memoizedState),(B=Or||jh(t,o,B,l,Y,de,j)||!1)?(Z||typeof x.UNSAFE_componentWillUpdate!="function"&&typeof x.componentWillUpdate!="function"||(typeof x.componentWillUpdate=="function"&&x.componentWillUpdate(l,de,j),typeof x.UNSAFE_componentWillUpdate=="function"&&x.UNSAFE_componentWillUpdate(l,de,j)),typeof x.componentDidUpdate=="function"&&(t.flags|=4),typeof x.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof x.componentDidUpdate!="function"||S===e.memoizedProps&&Y===e.memoizedState||(t.flags|=4),typeof x.getSnapshotBeforeUpdate!="function"||S===e.memoizedProps&&Y===e.memoizedState||(t.flags|=1024),t.memoizedProps=l,t.memoizedState=de),x.props=l,x.state=de,x.context=j,l=B):(typeof x.componentDidUpdate!="function"||S===e.memoizedProps&&Y===e.memoizedState||(t.flags|=4),typeof x.getSnapshotBeforeUpdate!="function"||S===e.memoizedProps&&Y===e.memoizedState||(t.flags|=1024),l=!1)}return tu(e,t,o,l,h,f)}function tu(e,t,o,l,f,h){Hh(e,t);var x=(t.flags&128)!==0;if(!l&&!x)return f&&Wd(t,o,!1),lr(e,t,h);l=t.stateNode,N0.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)):Dt(e,t,S,h),t.memoizedState=l.state,f&&Wd(t,o,!0),t.child}function qh(e){var t=e.stateNode;t.pendingContext?Vd(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Vd(e,t.context,!1),Fc(e,t.containerInfo)}function Gh(e,t,o,l,f){return uo(),Rc(f),t.flags|=256,Dt(e,t,o,l),t.child}var nu={dehydrated:null,treeContext:null,retryLane:0};function ru(e){return{baseLanes:e,cachePool:null,transitions:null}}function Vh(e,t,o){var l=t.pendingProps,f=tt.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(tt,f&1),e===null)return jc(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=ru(o),t.memoizedState=nu,e):su(t,x));if(f=e.memoizedState,f!==null&&(S=f.dehydrated,S!==null))return A0(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=$r(f,j),l.subtreeFlags=f.subtreeFlags&14680064),S!==null?h=$r(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?ru(o):{baseLanes:x.baseLanes|o,cachePool:null,transitions:x.transitions},h.memoizedState=x,h.childLanes=e.childLanes&~o,t.memoizedState=nu,l}return h=e.child,e=h.sibling,l=$r(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 su(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&&Rc(l),fo(t,e.child,null,o),e=su(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function A0(e,t,o,l,f,h,x){if(o)return t.flags&256?(t.flags&=-257,l=Zc(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=ru(x),t.memoizedState=nu,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=Zc(h,l,void 0),Ja(e,t,x,l)}if(S=(x&e.childLanes)!==0,Vt||S){if(l=gt,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),Cn(l,e,f,-1))}return wu(),l=Zc(Error(r(421))),Ja(e,t,x,l)}return f.data==="$?"?(t.flags|=128,t.child=e.child,t=U0.bind(null,e),f._reactRetry=t,null):(e=h.treeContext,sn=Ar(f.nextSibling),rn=t,Ze=!0,Tn=null,e!==null&&(pn[mn++]=sr,pn[mn++]=or,pn[mn++]=fs,sr=e.id,or=e.overflow,fs=t),t=su(t,l.children),t.flags|=4096,t)}function Qh(e,t,o){e.lanes|=t;var l=e.alternate;l!==null&&(l.lanes|=t),Lc(e.return,t,o)}function ou(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 Wh(e,t,o){var l=t.pendingProps,f=l.revealOrder,h=l.tail;if(Dt(e,t,l.children,o),l=tt.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&&Qh(e,o,t);else if(e.tag===19)Qh(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(tt,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),ou(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}ou(t,!0,o,null,h);break;case"together":ou(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=$r(e,e.pendingProps),t.child=o,o.return=t;e.sibling!==null;)e=e.sibling,o=o.sibling=$r(e,e.pendingProps),o.return=t;o.sibling=null}return t.child}function C0(e,t,o){switch(t.tag){case 3:qh(t),uo();break;case 5:lh(t);break;case 1:Gt(t.type)&&Da(t);break;case 4:Fc(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(tt,tt.current&1),t.flags|=128,null):(o&t.child.childLanes)!==0?Vh(e,t,o):(Be(tt,tt.current&1),e=lr(e,t,o),e!==null?e.sibling:null);Be(tt,tt.current&1);break;case 19:if(l=(o&t.childLanes)!==0,(e.flags&128)!==0){if(l)return Wh(e,t,o);t.flags|=128}if(f=t.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),Be(tt,tt.current),l)break;return null;case 22:case 23:return t.lanes=0,Uh(e,t,o)}return lr(e,t,o)}var Kh,iu,Xh,Yh;Kh=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}},iu=function(){},Xh=function(e,t,o,l){var f=e.memoizedProps;if(f!==l){e=t.stateNode,ps($n.current);var h=null;switch(o){case"input":f=rt(e,f),l=rt(e,l),h=[];break;case"select":f=ee({},f,{value:void 0}),l=ee({},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)}ts(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"&&Ve("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)}},Yh=function(e,t,o,l){o!==l&&(t.flags|=4)};function Oi(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 Rt(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 j0(e,t,o){var l=t.pendingProps;switch(Ac(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Rt(t),null;case 1:return Gt(t.type)&&La(),Rt(t),null;case 3:return l=t.stateNode,mo(),Qe(qt),Qe(Ct),Uc(),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,Tn!==null&&(yu(Tn),Tn=null))),iu(e,t),Rt(t),null;case 5:$c(t);var f=ps(Ni.current);if(o=t.type,e!==null&&t.stateNode!=null)Xh(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 Rt(t),null}if(e=ps($n.current),za(t)){l=t.stateNode,o=t.type;var h=t.memoizedProps;switch(l[Fn]=t,l[ki]=h,e=(t.mode&1)!==0,o){case"dialog":Ve("cancel",l),Ve("close",l);break;case"iframe":case"object":case"embed":Ve("load",l);break;case"video":case"audio":for(f=0;f<xi.length;f++)Ve(xi[f],l);break;case"source":Ve("error",l);break;case"img":case"image":case"link":Ve("error",l),Ve("load",l);break;case"details":Ve("toggle",l);break;case"input":De(l,h),Ve("invalid",l);break;case"select":l._wrapperState={wasMultiple:!!h.multiple},Ve("invalid",l);break;case"textarea":bn(l,h),Ve("invalid",l)}ts(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"&&Ve("scroll",l)}switch(o){case"input":Re(l),en(l,h,!0);break;case"textarea":Re(l),Mn(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[Fn]=t,e[ki]=l,Kh(e,t,!1,!1),t.stateNode=e;e:{switch(x=ns(o,l),o){case"dialog":Ve("cancel",e),Ve("close",e),f=l;break;case"iframe":case"object":case"embed":Ve("load",e),f=l;break;case"video":case"audio":for(f=0;f<xi.length;f++)Ve(xi[f],e);f=l;break;case"source":Ve("error",e),f=l;break;case"img":case"image":case"link":Ve("error",e),Ve("load",e),f=l;break;case"details":Ve("toggle",e),f=l;break;case"input":De(e,l),f=rt(e,l),Ve("invalid",e);break;case"option":f=l;break;case"select":e._wrapperState={wasMultiple:!!l.multiple},f=ee({},l,{value:void 0}),Ve("invalid",e);break;case"textarea":bn(e,l),f=Us(e,l),Ve("invalid",e);break;default:f=l}ts(o,f),S=f;for(h in S)if(S.hasOwnProperty(h)){var j=S[h];h==="style"?Ko(e,j):h==="dangerouslySetInnerHTML"?(j=j?j.__html:void 0,j!=null&&Bs(e,j)):h==="children"?typeof j=="string"?(o!=="textarea"||j!=="")&&dn(e,j):typeof j=="number"&&dn(e,""+j):h!=="suppressContentEditableWarning"&&h!=="suppressHydrationWarning"&&h!=="autoFocus"&&(a.hasOwnProperty(h)?j!=null&&h==="onScroll"&&Ve("scroll",e):j!=null&&_(e,h,j,x))}switch(o){case"input":Re(e),en(e,l,!1);break;case"textarea":Re(e),Mn(e);break;case"option":l.value!=null&&e.setAttribute("value",""+Se(l.value));break;case"select":e.multiple=!!l.multiple,h=l.value,h!=null?Yn(e,!!l.multiple,h,!1):l.defaultValue!=null&&Yn(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 Rt(t),null;case 6:if(e&&t.stateNode!=null)Yh(e,t,e.memoizedProps,l);else{if(typeof l!="string"&&t.stateNode===null)throw Error(r(166));if(o=ps(Ni.current),ps($n.current),za(t)){if(l=t.stateNode,o=t.memoizedProps,l[Fn]=t,(h=l.nodeValue!==o)&&(e=rn,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[Fn]=t,t.stateNode=l}return Rt(t),null;case 13:if(Qe(tt),l=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Ze&&sn!==null&&(t.mode&1)!==0&&(t.flags&128)===0)eh(),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[Fn]=t}else uo(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Rt(t),h=!1}else Tn!==null&&(yu(Tn),Tn=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||(tt.current&1)!==0?pt===0&&(pt=3):wu())),t.updateQueue!==null&&(t.flags|=4),Rt(t),null);case 4:return mo(),iu(e,t),e===null&&wi(t.stateNode.containerInfo),Rt(t),null;case 10:return Pc(t.type._context),Rt(t),null;case 17:return Gt(t.type)&&La(),Rt(t),null;case 19:if(Qe(tt),h=t.memoizedState,h===null)return Rt(t),null;if(l=(t.flags&128)!==0,x=h.rendering,x===null)if(l)Oi(h,!1);else{if(pt!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(x=Va(e),x!==null){for(t.flags|=128,Oi(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(tt,tt.current&1|2),t.child}e=e.sibling}h.tail!==null&&Fe()>xo&&(t.flags|=128,l=!0,Oi(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),Oi(h,!0),h.tail===null&&h.tailMode==="hidden"&&!x.alternate&&!Ze)return Rt(t),null}else 2*Fe()-h.renderingStartTime>xo&&o!==1073741824&&(t.flags|=128,l=!0,Oi(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=tt.current,Be(tt,l?o&1|2:o&1),t):(Rt(t),null);case 22:case 23:return xu(),l=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==l&&(t.flags|=8192),l&&(t.mode&1)!==0?(on&1073741824)!==0&&(Rt(t),t.subtreeFlags&6&&(t.flags|=8192)):Rt(t),null;case 24:return null;case 25:return null}throw Error(r(156,t.tag))}function R0(e,t){switch(Ac(t),t.tag){case 1:return Gt(t.type)&&La(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return mo(),Qe(qt),Qe(Ct),Uc(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return $c(t),null;case 13:if(Qe(tt),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 Qe(tt),null;case 4:return mo(),null;case 10:return Pc(t.type._context),null;case 22:case 23:return xu(),null;case 24:return null;default:return null}}var tl=!1,Ot=!1,O0=typeof WeakSet=="function"?WeakSet:Set,fe=null;function yo(e,t){var o=e.ref;if(o!==null)if(typeof o=="function")try{o(null)}catch(l){st(e,t,l)}else o.current=null}function au(e,t,o){try{o()}catch(l){st(e,t,l)}}var Zh=!1;function M0(e,t){if(xc=ba,e=jd(),fc(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,Z=0,J=e,Y=null;t:for(;;){for(var ae;J!==o||f!==0&&J.nodeType!==3||(S=x+f),J!==h||l!==0&&J.nodeType!==3||(j=x+l),J.nodeType===3&&(x+=J.nodeValue.length),(ae=J.firstChild)!==null;)Y=J,J=ae;for(;;){if(J===e)break t;if(Y===o&&++B===f&&(S=x),Y===h&&++Z===l&&(j=x),(ae=J.nextSibling)!==null)break;J=Y,Y=J.parentNode}J=ae}o=S===-1||j===-1?null:{start:S,end:j}}else o=null}o=o||{start:0,end:0}}else o=null;for(wc={focusedElem:e,selectionRange:o},ba=!1,fe=t;fe!==null;)if(t=fe,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,fe=e;else for(;fe!==null;){t=fe;try{var de=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(de!==null){var he=de.memoizedProps,it=de.memoizedState,$=t.stateNode,M=$.getSnapshotBeforeUpdate(t.elementType===t.type?he:En(t.type,he),it);$.__reactInternalSnapshotBeforeUpdate=M}break;case 3:var U=t.stateNode.containerInfo;U.nodeType===1?U.textContent="":U.nodeType===9&&U.documentElement&&U.removeChild(U.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(ne){st(t,t.return,ne)}if(e=t.sibling,e!==null){e.return=t.return,fe=e;break}fe=t.return}return de=Zh,Zh=!1,de}function Mi(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&&au(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 lu(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 Jh(e){var t=e.alternate;t!==null&&(e.alternate=null,Jh(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Fn],delete t[ki],delete t[_c],delete t[m0],delete t[g0])),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 ep(e){return e.tag===5||e.tag===3||e.tag===4}function tp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||ep(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 cu(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(cu(e,t,o),e=e.sibling;e!==null;)cu(e,t,o),e=e.sibling}function uu(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(uu(e,t,o),e=e.sibling;e!==null;)uu(e,t,o),e=e.sibling}var kt=null,Nn=!1;function Pr(e,t,o){for(o=o.child;o!==null;)np(e,t,o),o=o.sibling}function np(e,t,o){if(Lt&&typeof Lt.onCommitFiberUnmount=="function")try{Lt.onCommitFiberUnmount(is,o)}catch{}switch(o.tag){case 5:Ot||yo(o,t);case 6:var l=kt,f=Nn;kt=null,Pr(e,t,o),kt=l,Nn=f,kt!==null&&(Nn?(e=kt,o=o.stateNode,e.nodeType===8?e.parentNode.removeChild(o):e.removeChild(o)):kt.removeChild(o.stateNode));break;case 18:kt!==null&&(Nn?(e=kt,o=o.stateNode,e.nodeType===8?Sc(e.parentNode,o):e.nodeType===1&&Sc(e,o),fi(e)):Sc(kt,o.stateNode));break;case 4:l=kt,f=Nn,kt=o.stateNode.containerInfo,Nn=!0,Pr(e,t,o),kt=l,Nn=f;break;case 0:case 11:case 14:case 15:if(!Ot&&(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)&&au(o,t,x),f=f.next}while(f!==l)}Pr(e,t,o);break;case 1:if(!Ot&&(yo(o,t),l=o.stateNode,typeof l.componentWillUnmount=="function"))try{l.props=o.memoizedProps,l.state=o.memoizedState,l.componentWillUnmount()}catch(S){st(o,t,S)}Pr(e,t,o);break;case 21:Pr(e,t,o);break;case 22:o.mode&1?(Ot=(l=Ot)||o.memoizedState!==null,Pr(e,t,o),Ot=l):Pr(e,t,o);break;default:Pr(e,t,o)}}function rp(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var o=e.stateNode;o===null&&(o=e.stateNode=new O0),t.forEach(function(l){var f=H0.bind(null,e,l);o.has(l)||(o.add(l),l.then(f,f))})}}function An(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:kt=S.stateNode,Nn=!1;break e;case 3:kt=S.stateNode.containerInfo,Nn=!0;break e;case 4:kt=S.stateNode.containerInfo,Nn=!0;break e}S=S.return}if(kt===null)throw Error(r(160));np(h,x,f),kt=null,Nn=!1;var j=f.alternate;j!==null&&(j.return=null),f.return=null}catch(B){st(f,t,B)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)sp(t,e),t=t.sibling}function sp(e,t){var o=e.alternate,l=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(An(t,e),Un(e),l&4){try{Mi(3,e,e.return),nl(3,e)}catch(he){st(e,e.return,he)}try{Mi(5,e,e.return)}catch(he){st(e,e.return,he)}}break;case 1:An(t,e),Un(e),l&512&&o!==null&&yo(o,o.return);break;case 5:if(An(t,e),Un(e),l&512&&o!==null&&yo(o,o.return),e.flags&32){var f=e.stateNode;try{dn(f,"")}catch(he){st(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&&dt(f,h),ns(S,x);var B=ns(S,h);for(x=0;x<j.length;x+=2){var Z=j[x],J=j[x+1];Z==="style"?Ko(f,J):Z==="dangerouslySetInnerHTML"?Bs(f,J):Z==="children"?dn(f,J):_(f,Z,J,B)}switch(S){case"input":yr(f,h);break;case"textarea":kn(f,h);break;case"select":var Y=f._wrapperState.wasMultiple;f._wrapperState.wasMultiple=!!h.multiple;var ae=h.value;ae!=null?Yn(f,!!h.multiple,ae,!1):Y!==!!h.multiple&&(h.defaultValue!=null?Yn(f,!!h.multiple,h.defaultValue,!0):Yn(f,!!h.multiple,h.multiple?[]:"",!1))}f[ki]=h}catch(he){st(e,e.return,he)}}break;case 6:if(An(t,e),Un(e),l&4){if(e.stateNode===null)throw Error(r(162));f=e.stateNode,h=e.memoizedProps;try{f.nodeValue=h}catch(he){st(e,e.return,he)}}break;case 3:if(An(t,e),Un(e),l&4&&o!==null&&o.memoizedState.isDehydrated)try{fi(t.containerInfo)}catch(he){st(e,e.return,he)}break;case 4:An(t,e),Un(e);break;case 13:An(t,e),Un(e),f=e.child,f.flags&8192&&(h=f.memoizedState!==null,f.stateNode.isHidden=h,!h||f.alternate!==null&&f.alternate.memoizedState!==null||(hu=Fe())),l&4&&rp(e);break;case 22:if(Z=o!==null&&o.memoizedState!==null,e.mode&1?(Ot=(B=Ot)||Z,An(t,e),Ot=B):An(t,e),Un(e),l&8192){if(B=e.memoizedState!==null,(e.stateNode.isHidden=B)&&!Z&&(e.mode&1)!==0)for(fe=e,Z=e.child;Z!==null;){for(J=fe=Z;fe!==null;){switch(Y=fe,ae=Y.child,Y.tag){case 0:case 11:case 14:case 15:Mi(4,Y,Y.return);break;case 1:yo(Y,Y.return);var de=Y.stateNode;if(typeof de.componentWillUnmount=="function"){l=Y,o=Y.return;try{t=l,de.props=t.memoizedProps,de.state=t.memoizedState,de.componentWillUnmount()}catch(he){st(l,o,he)}}break;case 5:yo(Y,Y.return);break;case 22:if(Y.memoizedState!==null){ap(J);continue}}ae!==null?(ae.return=Y,fe=ae):ap(J)}Z=Z.sibling}e:for(Z=null,J=e;;){if(J.tag===5){if(Z===null){Z=J;try{f=J.stateNode,B?(h=f.style,typeof h.setProperty=="function"?h.setProperty("display","none","important"):h.display="none"):(S=J.stateNode,j=J.memoizedProps.style,x=j!=null&&j.hasOwnProperty("display")?j.display:null,S.style.display=Wo("display",x))}catch(he){st(e,e.return,he)}}}else if(J.tag===6){if(Z===null)try{J.stateNode.nodeValue=B?"":J.memoizedProps}catch(he){st(e,e.return,he)}}else if((J.tag!==22&&J.tag!==23||J.memoizedState===null||J===e)&&J.child!==null){J.child.return=J,J=J.child;continue}if(J===e)break e;for(;J.sibling===null;){if(J.return===null||J.return===e)break e;Z===J&&(Z=null),J=J.return}Z===J&&(Z=null),J.sibling.return=J.return,J=J.sibling}}break;case 19:An(t,e),Un(e),l&4&&rp(e);break;case 21:break;default:An(t,e),Un(e)}}function Un(e){var t=e.flags;if(t&2){try{e:{for(var o=e.return;o!==null;){if(ep(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&&(dn(f,""),l.flags&=-33);var h=tp(e);uu(e,h,f);break;case 3:case 4:var x=l.stateNode.containerInfo,S=tp(e);cu(e,S,x);break;default:throw Error(r(161))}}catch(j){st(e,e.return,j)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function P0(e,t,o){fe=e,op(e)}function op(e,t,o){for(var l=(e.mode&1)!==0;fe!==null;){var f=fe,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||Ot;S=tl;var B=Ot;if(tl=x,(Ot=j)&&!B)for(fe=f;fe!==null;)x=fe,j=x.child,x.tag===22&&x.memoizedState!==null?lp(f):j!==null?(j.return=x,fe=j):lp(f);for(;h!==null;)fe=h,op(h),h=h.sibling;fe=f,tl=S,Ot=B}ip(e)}else(f.subtreeFlags&8772)!==0&&h!==null?(h.return=f,fe=h):ip(e)}}function ip(e){for(;fe!==null;){var t=fe;if((t.flags&8772)!==0){var o=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:Ot||nl(5,t);break;case 1:var l=t.stateNode;if(t.flags&4&&!Ot)if(o===null)l.componentDidMount();else{var f=t.elementType===t.type?o.memoizedProps:En(t.type,o.memoizedProps);l.componentDidUpdate(f,o.memoizedState,l.__reactInternalSnapshotBeforeUpdate)}var h=t.updateQueue;h!==null&&ah(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}ah(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 Z=B.memoizedState;if(Z!==null){var J=Z.dehydrated;J!==null&&fi(J)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(r(163))}Ot||t.flags&512&&lu(t)}catch(Y){st(t,t.return,Y)}}if(t===e){fe=null;break}if(o=t.sibling,o!==null){o.return=t.return,fe=o;break}fe=t.return}}function ap(e){for(;fe!==null;){var t=fe;if(t===e){fe=null;break}var o=t.sibling;if(o!==null){o.return=t.return,fe=o;break}fe=t.return}}function lp(e){for(;fe!==null;){var t=fe;try{switch(t.tag){case 0:case 11:case 15:var o=t.return;try{nl(4,t)}catch(j){st(t,o,j)}break;case 1:var l=t.stateNode;if(typeof l.componentDidMount=="function"){var f=t.return;try{l.componentDidMount()}catch(j){st(t,f,j)}}var h=t.return;try{lu(t)}catch(j){st(t,h,j)}break;case 5:var x=t.return;try{lu(t)}catch(j){st(t,x,j)}}}catch(j){st(t,t.return,j)}if(t===e){fe=null;break}var S=t.sibling;if(S!==null){S.return=t.return,fe=S;break}fe=t.return}}var L0=Math.ceil,rl=N.ReactCurrentDispatcher,fu=N.ReactCurrentOwner,vn=N.ReactCurrentBatchConfig,Le=0,gt=null,ut=null,St=0,on=0,vo=Cr(0),pt=0,Pi=null,gs=0,sl=0,du=0,Li=null,Qt=null,hu=0,xo=1/0,cr=null,ol=!1,pu=null,Lr=null,il=!1,Dr=null,al=0,Di=0,mu=null,ll=-1,cl=0;function It(){return(Le&6)!==0?Fe():ll!==-1?ll:ll=Fe()}function Ir(e){return(e.mode&1)===0?1:(Le&2)!==0&&St!==0?St&-St:v0.transition!==null?(cl===0&&(cl=xa()),cl):(e=b,e!==0||(e=window.event,e=e===void 0?16:ud(e.type)),e)}function Cn(e,t,o,l){if(50<Di)throw Di=0,mu=null,Error(r(185));In(e,o,l),((Le&2)===0||e!==gt)&&(e===gt&&((Le&2)===0&&(sl|=o),pt===4&&Fr(e,St)),Wt(e,l),o===1&&Le===0&&(t.mode&1)===0&&(xo=Fe()+500,Ia&&Rr()))}function Wt(e,t){var o=e.callbackNode;va(e,t);var l=ls(e,e===gt?St:0);if(l===0)o!==null&&ga(o),e.callbackNode=null,e.callbackPriority=0;else if(t=l&-l,e.callbackPriority!==t){if(o!=null&&ga(o),t===1)e.tag===0?y0(up.bind(null,e)):Kd(up.bind(null,e)),h0(function(){(Le&6)===0&&Rr()}),o=null;else{switch(H(l)){case 1:o=Sn;break;case 4:o=ya;break;case 16:o=kr;break;case 536870912:o=ri;break;default:o=kr}o=vp(o,cp.bind(null,e))}e.callbackPriority=t,e.callbackNode=o}}function cp(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=ls(e,e===gt?St: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=dp();(gt!==e||St!==t)&&(cr=null,xo=Fe()+500,vs(e,t));do try{F0();break}catch(S){fp(e,S)}while(!0);Mc(),rl.current=h,Le=f,ut!==null?t=0:(gt=null,St=0,t=pt)}if(t!==0){if(t===2&&(f=oi(e),f!==0&&(l=f,t=gu(e,f))),t===1)throw o=Pi,vs(e,0),Fr(e,l),Wt(e,Fe()),o;if(t===6)Fr(e,l);else{if(f=e.current.alternate,(l&30)===0&&!D0(f)&&(t=ul(e,l),t===2&&(h=oi(e),h!==0&&(l=h,t=gu(e,h))),t===1))throw o=Pi,vs(e,0),Fr(e,l),Wt(e,Fe()),o;switch(e.finishedWork=f,e.finishedLanes=l,t){case 0:case 1:throw Error(r(345));case 2:xs(e,Qt,cr);break;case 3:if(Fr(e,l),(l&130023424)===l&&(t=hu+500-Fe(),10<t)){if(ls(e,0)!==0)break;if(f=e.suspendedLanes,(f&l)!==l){It(),e.pingedLanes|=e.suspendedLanes&f;break}e.timeoutHandle=kc(xs.bind(null,e,Qt,cr),t);break}xs(e,Qt,cr);break;case 4:if(Fr(e,l),(l&4194240)===l)break;for(t=e.eventTimes,f=-1;0<l;){var x=31-Nt(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*L0(l/1960))-l,10<l){e.timeoutHandle=kc(xs.bind(null,e,Qt,cr),l);break}xs(e,Qt,cr);break;case 5:xs(e,Qt,cr);break;default:throw Error(r(329))}}}return Wt(e,Fe()),e.callbackNode===o?cp.bind(null,e):null}function gu(e,t){var o=Li;return e.current.memoizedState.isDehydrated&&(vs(e,t).flags|=256),e=ul(e,t),e!==2&&(t=Qt,Qt=o,t!==null&&yu(t)),e}function yu(e){Qt===null?Qt=e:Qt.push.apply(Qt,e)}function D0(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(!_n(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 Fr(e,t){for(t&=~du,t&=~sl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var o=31-Nt(t),l=1<<o;e[o]=-1,t&=~l}}function up(e){if((Le&6)!==0)throw Error(r(327));wo();var t=ls(e,0);if((t&1)===0)return Wt(e,Fe()),null;var o=ul(e,t);if(e.tag!==0&&o===2){var l=oi(e);l!==0&&(t=l,o=gu(e,l))}if(o===1)throw o=Pi,vs(e,0),Fr(e,t),Wt(e,Fe()),o;if(o===6)throw Error(r(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,xs(e,Qt,cr),Wt(e,Fe()),null}function vu(e,t){var o=Le;Le|=1;try{return e(t)}finally{Le=o,Le===0&&(xo=Fe()+500,Ia&&Rr())}}function ys(e){Dr!==null&&Dr.tag===0&&(Le&6)===0&&wo();var t=Le;Le|=1;var o=vn.transition,l=b;try{if(vn.transition=null,b=1,e)return e()}finally{b=l,vn.transition=o,Le=t,(Le&6)===0&&Rr()}}function xu(){on=vo.current,Qe(vo)}function vs(e,t){e.finishedWork=null,e.finishedLanes=0;var o=e.timeoutHandle;if(o!==-1&&(e.timeoutHandle=-1,d0(o)),ut!==null)for(o=ut.return;o!==null;){var l=o;switch(Ac(l),l.tag){case 1:l=l.type.childContextTypes,l!=null&&La();break;case 3:mo(),Qe(qt),Qe(Ct),Uc();break;case 5:$c(l);break;case 4:mo();break;case 13:Qe(tt);break;case 19:Qe(tt);break;case 10:Pc(l.type._context);break;case 22:case 23:xu()}o=o.return}if(gt=e,ut=e=$r(e.current,null),St=on=t,pt=0,Pi=null,du=sl=gs=0,Qt=Li=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 fp(e,t){do{var o=ut;try{if(Mc(),Qa.current=Ya,Wa){for(var l=nt.memoizedState;l!==null;){var f=l.queue;f!==null&&(f.pending=null),l=l.next}Wa=!1}if(ms=0,mt=ht=nt=null,Ai=!1,Ci=0,fu.current=null,o===null||o.return===null){pt=1,Pi=t,ut=null;break}e:{var h=e,x=o.return,S=o,j=t;if(t=St,S.flags|=32768,j!==null&&typeof j=="object"&&typeof j.then=="function"){var B=j,Z=S,J=Z.tag;if((Z.mode&1)===0&&(J===0||J===11||J===15)){var Y=Z.alternate;Y?(Z.updateQueue=Y.updateQueue,Z.memoizedState=Y.memoizedState,Z.lanes=Y.lanes):(Z.updateQueue=null,Z.memoizedState=null)}var ae=Dh(x);if(ae!==null){ae.flags&=-257,Ih(ae,x,S,h,t),ae.mode&1&&Lh(h,B,t),t=ae,j=B;var de=t.updateQueue;if(de===null){var he=new Set;he.add(j),t.updateQueue=he}else de.add(j);break e}else{if((t&1)===0){Lh(h,B,t),wu();break e}j=Error(r(426))}}else if(Ze&&S.mode&1){var it=Dh(x);if(it!==null){(it.flags&65536)===0&&(it.flags|=256),Ih(it,x,S,h,t),Rc(go(j,S));break e}}h=j=go(j,S),pt!==4&&(pt=2),Li===null?Li=[h]:Li.push(h),h=x;do{switch(h.tag){case 3:h.flags|=65536,t&=-t,h.lanes|=t;var $=Mh(h,j,t);ih(h,$);break e;case 1:S=j;var M=h.type,U=h.stateNode;if((h.flags&128)===0&&(typeof M.getDerivedStateFromError=="function"||U!==null&&typeof U.componentDidCatch=="function"&&(Lr===null||!Lr.has(U)))){h.flags|=65536,t&=-t,h.lanes|=t;var ne=Ph(h,S,t);ih(h,ne);break e}}h=h.return}while(h!==null)}pp(o)}catch(pe){t=pe,ut===o&&o!==null&&(ut=o=o.return);continue}break}while(!0)}function dp(){var e=rl.current;return rl.current=Ya,e===null?Ya:e}function wu(){(pt===0||pt===3||pt===2)&&(pt=4),gt===null||(gs&268435455)===0&&(sl&268435455)===0||Fr(gt,St)}function ul(e,t){var o=Le;Le|=2;var l=dp();(gt!==e||St!==t)&&(cr=null,vs(e,t));do try{I0();break}catch(f){fp(e,f)}while(!0);if(Mc(),Le=o,rl.current=l,ut!==null)throw Error(r(261));return gt=null,St=0,pt}function I0(){for(;ut!==null;)hp(ut)}function F0(){for(;ut!==null&&!Xl();)hp(ut)}function hp(e){var t=yp(e.alternate,e,on);e.memoizedProps=e.pendingProps,t===null?pp(e):ut=t,fu.current=null}function pp(e){var t=e;do{var o=t.alternate;if(e=t.return,(t.flags&32768)===0){if(o=j0(o,t,on),o!==null){ut=o;return}}else{if(o=R0(o,t),o!==null){o.flags&=32767,ut=o;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{pt=6,ut=null;return}}if(t=t.sibling,t!==null){ut=t;return}ut=t=e}while(t!==null);pt===0&&(pt=5)}function xs(e,t,o){var l=b,f=vn.transition;try{vn.transition=null,b=1,$0(e,t,o,l)}finally{vn.transition=f,b=l}return null}function $0(e,t,o,l){do wo();while(Dr!==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(ii(e,h),e===gt&&(ut=gt=null,St=0),(o.subtreeFlags&2064)===0&&(o.flags&2064)===0||il||(il=!0,vp(kr,function(){return wo(),null})),h=(o.flags&15990)!==0,(o.subtreeFlags&15990)!==0||h){h=vn.transition,vn.transition=null;var x=b;b=1;var S=Le;Le|=4,fu.current=null,M0(e,o),sp(o,e),o0(wc),ba=!!xc,wc=xc=null,e.current=o,P0(o),Yl(),Le=S,b=x,vn.transition=h}else e.current=o;if(il&&(il=!1,Dr=e,al=f),h=e.pendingLanes,h===0&&(Lr=null),si(o.stateNode),Wt(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=pu,pu=null,e;return(al&1)!==0&&e.tag!==0&&wo(),h=e.pendingLanes,(h&1)!==0?e===mu?Di++:(Di=0,mu=e):Di=0,Rr(),null}function wo(){if(Dr!==null){var e=H(al),t=vn.transition,o=b;try{if(vn.transition=null,b=16>e?16:e,Dr===null)var l=!1;else{if(e=Dr,Dr=null,al=0,(Le&6)!==0)throw Error(r(331));var f=Le;for(Le|=4,fe=e.current;fe!==null;){var h=fe,x=h.child;if((fe.flags&16)!==0){var S=h.deletions;if(S!==null){for(var j=0;j<S.length;j++){var B=S[j];for(fe=B;fe!==null;){var Z=fe;switch(Z.tag){case 0:case 11:case 15:Mi(8,Z,h)}var J=Z.child;if(J!==null)J.return=Z,fe=J;else for(;fe!==null;){Z=fe;var Y=Z.sibling,ae=Z.return;if(Jh(Z),Z===B){fe=null;break}if(Y!==null){Y.return=ae,fe=Y;break}fe=ae}}}var de=h.alternate;if(de!==null){var he=de.child;if(he!==null){de.child=null;do{var it=he.sibling;he.sibling=null,he=it}while(he!==null)}}fe=h}}if((h.subtreeFlags&2064)!==0&&x!==null)x.return=h,fe=x;else e:for(;fe!==null;){if(h=fe,(h.flags&2048)!==0)switch(h.tag){case 0:case 11:case 15:Mi(9,h,h.return)}var $=h.sibling;if($!==null){$.return=h.return,fe=$;break e}fe=h.return}}var M=e.current;for(fe=M;fe!==null;){x=fe;var U=x.child;if((x.subtreeFlags&2064)!==0&&U!==null)U.return=x,fe=U;else e:for(x=M;fe!==null;){if(S=fe,(S.flags&2048)!==0)try{switch(S.tag){case 0:case 11:case 15:nl(9,S)}}catch(pe){st(S,S.return,pe)}if(S===x){fe=null;break e}var ne=S.sibling;if(ne!==null){ne.return=S.return,fe=ne;break e}fe=S.return}}if(Le=f,Rr(),Lt&&typeof Lt.onPostCommitFiberRoot=="function")try{Lt.onPostCommitFiberRoot(is,e)}catch{}l=!0}return l}finally{b=o,vn.transition=t}}return!1}function mp(e,t,o){t=go(o,t),t=Mh(e,t,1),e=Mr(e,t,1),t=It(),e!==null&&(In(e,1,t),Wt(e,t))}function st(e,t,o){if(e.tag===3)mp(e,e,o);else for(;t!==null;){if(t.tag===3){mp(t,e,o);break}else if(t.tag===1){var l=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(Lr===null||!Lr.has(l))){e=go(o,e),e=Ph(t,e,1),t=Mr(t,e,1),e=It(),t!==null&&(In(t,1,e),Wt(t,e));break}}t=t.return}}function z0(e,t,o){var l=e.pingCache;l!==null&&l.delete(t),t=It(),e.pingedLanes|=e.suspendedLanes&o,gt===e&&(St&o)===o&&(pt===4||pt===3&&(St&130023424)===St&&500>Fe()-hu?vs(e,0):du|=o),Wt(e,t)}function gp(e,t){t===0&&((e.mode&1)===0?t=1:(t=Xs,Xs<<=1,(Xs&130023424)===0&&(Xs=4194304)));var o=It();e=ir(e,t),e!==null&&(In(e,t,o),Wt(e,o))}function U0(e){var t=e.memoizedState,o=0;t!==null&&(o=t.retryLane),gp(e,o)}function H0(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),gp(e,o)}var yp;yp=function(e,t,o){if(e!==null)if(e.memoizedProps!==t.pendingProps||qt.current)Vt=!0;else{if((e.lanes&o)===0&&(t.flags&128)===0)return Vt=!1,C0(e,t,o);Vt=(e.flags&131072)!==0}else Vt=!1,Ze&&(t.flags&1048576)!==0&&Xd(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,Ct.current);po(t,o),f=qc(null,t,l,e,f,o);var h=Gc();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,Gt(l)?(h=!0,Da(t)):h=!1,t.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,Ic(t),f.updater=Za,t.stateNode=f,f._reactInternals=t,Yc(t,l,e,o),t=tu(null,t,l,!0,h,o)):(t.tag=0,Ze&&h&&Nc(t),Dt(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=q0(l),e=En(l,e),f){case 0:t=eu(null,t,l,e,o);break e;case 1:t=Bh(null,t,l,e,o);break e;case 11:t=Fh(null,t,l,e,o);break e;case 14:t=$h(null,t,l,En(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:En(l,f),eu(e,t,l,f,o);case 1:return l=t.type,f=t.pendingProps,f=t.elementType===l?f:En(l,f),Bh(e,t,l,f,o);case 3:e:{if(qh(t),e===null)throw Error(r(387));l=t.pendingProps,h=t.memoizedState,f=h.element,oh(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=Gh(e,t,l,o,f);break e}else if(l!==f){f=go(Error(r(424)),t),t=Gh(e,t,l,o,f);break e}else for(sn=Ar(t.stateNode.containerInfo.firstChild),rn=t,Ze=!0,Tn=null,o=rh(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}Dt(e,t,l,o)}t=t.child}return t;case 5:return lh(t),e===null&&jc(t),l=t.type,f=t.pendingProps,h=e!==null?e.memoizedProps:null,x=f.children,bc(l,f)?x=null:h!==null&&bc(l,h)&&(t.flags|=32),Hh(e,t),Dt(e,t,x,o),t.child;case 6:return e===null&&jc(t),null;case 13:return Vh(e,t,o);case 4:return Fc(t,t.stateNode.containerInfo),l=t.pendingProps,e===null?t.child=fo(t,null,l,o):Dt(e,t,l,o),t.child;case 11:return l=t.type,f=t.pendingProps,f=t.elementType===l?f:En(l,f),Fh(e,t,l,f,o);case 7:return Dt(e,t,t.pendingProps,o),t.child;case 8:return Dt(e,t,t.pendingProps.children,o),t.child;case 12:return Dt(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(_n(h.value,x)){if(h.children===f.children&&!qt.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 Z=B.pending;Z===null?j.next=j:(j.next=Z.next,Z.next=j),B.pending=j}}h.lanes|=o,j=h.alternate,j!==null&&(j.lanes|=o),Lc(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),Lc(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}Dt(e,t,f.children,o),t=t.child}return t;case 9:return f=t.type,l=t.pendingProps.children,po(t,o),f=gn(f),l=l(f),t.flags|=1,Dt(e,t,l,o),t.child;case 14:return l=t.type,f=En(l,t.pendingProps),f=En(l.type,f),$h(e,t,l,f,o);case 15:return zh(e,t,t.type,t.pendingProps,o);case 17:return l=t.type,f=t.pendingProps,f=t.elementType===l?f:En(l,f),el(e,t),t.tag=1,Gt(l)?(e=!0,Da(t)):e=!1,po(t,o),Rh(t,l,f),Yc(t,l,f,o),tu(null,t,l,!0,e,o);case 19:return Wh(e,t,o);case 22:return Uh(e,t,o)}throw Error(r(156,t.tag))};function vp(e,t){return ma(e,t)}function B0(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 xn(e,t,o,l){return new B0(e,t,o,l)}function bu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function q0(e){if(typeof e=="function")return bu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===L)return 11;if(e===re)return 14}return 2}function $r(e,t){var o=e.alternate;return o===null?(o=xn(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")bu(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=xn(12,o,t,f|2),e.elementType=Q,e.lanes=h,e;case z:return e=xn(13,o,t,f),e.elementType=z,e.lanes=h,e;case q:return e=xn(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 re:x=14;break e;case me:x=16,l=null;break e}throw Error(r(130,e==null?e:typeof e,""))}return t=xn(x,o,t,f),t.elementType=e,t.type=l,t.lanes=h,t}function ws(e,t,o,l){return e=xn(7,e,l,t),e.lanes=o,e}function dl(e,t,o,l){return e=xn(22,e,l,t),e.elementType=le,e.lanes=o,e.stateNode={isHidden:!1},e}function ku(e,t,o){return e=xn(6,e,null,t),e.lanes=o,e}function Su(e,t,o){return t=xn(4,e.children!==null?e.children:[],e.key,t),t.lanes=o,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function G0(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=Ys(0),this.expirationTimes=Ys(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ys(0),this.identifierPrefix=l,this.onRecoverableError=f,this.mutableSourceEagerHydrationData=null}function _u(e,t,o,l,f,h,x,S,j){return e=new G0(e,t,o,S,j),t===1?(t=1,h===!0&&(t|=8)):t=0,h=xn(3,null,null,t),e.current=h,h.stateNode=e,h.memoizedState={element:l,isDehydrated:o,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ic(h),e}function V0(e,t,o){var l=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:F,key:l==null?null:""+l,children:e,containerInfo:t,implementation:o}}function xp(e){if(!e)return jr;e=e._reactInternals;e:{if(Bt(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(Gt(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(Gt(o))return Qd(e,o,t)}return t}function wp(e,t,o,l,f,h,x,S,j){return e=_u(o,l,!0,e,f,h,x,S,j),e.context=xp(null),o=e.current,l=It(),f=Ir(o),h=ar(l,f),h.callback=t??null,Mr(o,h,f),e.current.lanes=f,In(e,f,l),Wt(e,l),e}function hl(e,t,o,l){var f=t.current,h=It(),x=Ir(f);return o=xp(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=Mr(f,t,x),e!==null&&(Cn(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 bp(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var o=e.retryLane;e.retryLane=o!==0&&o<t?o:t}}function Tu(e,t){bp(e,t),(e=e.alternate)&&bp(e,t)}function Q0(){return null}var kp=typeof reportError=="function"?reportError:function(e){console.error(e)};function Eu(e){this._internalRoot=e}ml.prototype.render=Eu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(r(409));hl(e,t,null,null)},ml.prototype.unmount=Eu.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=be();e={blockedOn:null,target:e,priority:t};for(var o=0;o<Tr.length&&t!==0&&t<Tr[o].priority;o++);Tr.splice(o,0,e),o===0&&ld(e)}};function Nu(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 Sp(){}function W0(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=wp(t,l,e,0,null,!1,!1,"",Sp);return e._reactRootContainer=x,e[nr]=x.current,wi(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=_u(e,0,!1,null,null,!1,!1,"",Sp);return e._reactRootContainer=j,e[nr]=j.current,wi(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=W0(o,t,e,f,l);return pl(x)}X=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var o=_r(t.pendingLanes);o!==0&&(te(t,o|1),Wt(t,Fe()),(Le&6)===0&&(xo=Fe()+500,Rr()))}break;case 13:ys(function(){var l=ir(e,1);if(l!==null){var f=It();Cn(l,e,1,f)}}),Tu(e,1)}},ue=function(e){if(e.tag===13){var t=ir(e,134217728);if(t!==null){var o=It();Cn(t,e,134217728,o)}Tu(e,134217728)}},ve=function(e){if(e.tag===13){var t=Ir(e),o=ir(e,t);if(o!==null){var l=It();Cn(o,e,t,l)}Tu(e,t)}},be=function(){return b},Ge=function(e,t){var o=b;try{return b=e,t()}finally{b=o}},rs=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));Ut(l),yr(l,f)}}}break;case"textarea":kn(e,o);break;case"select":t=o.value,t!=null&&Yn(e,!!o.multiple,t,!1)}},os=vu,tn=ys;var K0={usingClientEntryPoint:!1,Events:[Si,oo,Pa,Xo,ss,vu]},Ii={findFiberByHostInstance:cs,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},X0={bundleType:Ii.bundleType,version:Ii.version,rendererPackageName:Ii.rendererPackageName,rendererConfig:Ii.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=ti(e),e===null?null:e.stateNode},findFiberByHostInstance:Ii.findFiberByHostInstance||Q0,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{is=vl.inject(X0),Lt=vl}catch{}}return Kt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=K0,Kt.createPortal=function(e,t){var o=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Nu(t))throw Error(r(200));return V0(e,t,null,o)},Kt.createRoot=function(e,t){if(!Nu(e))throw Error(r(299));var o=!1,l="",f=kp;return t!=null&&(t.unstable_strictMode===!0&&(o=!0),t.identifierPrefix!==void 0&&(l=t.identifierPrefix),t.onRecoverableError!==void 0&&(f=t.onRecoverableError)),t=_u(e,1,!1,null,null,o,!1,l,f),e[nr]=t.current,wi(e.nodeType===8?e.parentNode:e),new Eu(t)},Kt.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=ti(t),e=e===null?null:e.stateNode,e},Kt.flushSync=function(e){return ys(e)},Kt.hydrate=function(e,t,o){if(!gl(t))throw Error(r(200));return yl(null,e,t,!0,o)},Kt.hydrateRoot=function(e,t,o){if(!Nu(e))throw Error(r(405));var l=o!=null&&o.hydratedSources||null,f=!1,h="",x=kp;if(o!=null&&(o.unstable_strictMode===!0&&(f=!0),o.identifierPrefix!==void 0&&(h=o.identifierPrefix),o.onRecoverableError!==void 0&&(x=o.onRecoverableError)),t=wp(t,null,e,1,o??null,f,!1,h,x),e[nr]=t.current,wi(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)},Kt.render=function(e,t,o){if(!gl(t))throw Error(r(200));return yl(null,e,t,!1,o)},Kt.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},Kt.unstable_batchedUpdates=vu,Kt.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)},Kt.version="18.3.1-next-f1338f8080-20240426",Kt}var Mp;function av(){if(Mp)return Ru.exports;Mp=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(),Ru.exports=iv(),Ru.exports}var Pp;function lv(){if(Pp)return wl;Pp=1;var s=av();return wl.createRoot=s.createRoot,wl.hydrateRoot=s.hydrateRoot,wl}var cv=lv(),ia=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,qr,Ro,eg,uv=(eg=class extends ia{constructor(){super();ye(this,Es);ye(this,qr);ye(this,Ro);ce(this,Ro,n=>{if(typeof window<"u"&&window.addEventListener){const r=()=>n();return window.addEventListener("visibilitychange",r,!1),()=>{window.removeEventListener("visibilitychange",r)}}})}onSubscribe(){R(this,qr)||this.setEventListener(R(this,Ro))}onUnsubscribe(){var n;this.hasListeners()||((n=R(this,qr))==null||n.call(this),ce(this,qr,void 0))}setEventListener(n){var r;ce(this,Ro,n),(r=R(this,qr))==null||r.call(this),ce(this,qr,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,qr=new WeakMap,Ro=new WeakMap,eg),Pf=new uv,fv={setTimeout:(s,n)=>setTimeout(s,n),clearTimeout:s=>clearTimeout(s),setInterval:(s,n)=>setInterval(s,n),clearInterval:s=>clearInterval(s)},Gr,Rf,tg,dv=(tg=class{constructor(){ye(this,Gr,fv);ye(this,Rf,!1)}setTimeoutProvider(s){ce(this,Gr,s)}setTimeout(s,n){return R(this,Gr).setTimeout(s,n)}clearTimeout(s){R(this,Gr).clearTimeout(s)}setInterval(s,n){return R(this,Gr).setInterval(s,n)}clearInterval(s){R(this,Gr).clearInterval(s)}},Gr=new WeakMap,Rf=new WeakMap,tg),Ts=new dv;function hv(s){setTimeout(s,0)}var pv=typeof window>"u"||"Deno"in globalThis;function Zt(){}function mv(s,n){return typeof s=="function"?s(n):s}function ef(s){return typeof s=="number"&&s>=0&&s!==1/0}function ug(s,n){return Math.max(s+(n||0)-Date.now(),0)}function Zr(s,n){return typeof s=="function"?s(n):s}function cn(s,n){return typeof s=="function"?s(n):s}function Lp(s,n){const{type:r="all",exact:i,fetchStatus:a,predicate:c,queryKey:u,stale:d}=s;if(u){if(i){if(n.queryHash!==Lf(u,n.options))return!1}else if(!Ki(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 Dp(s,n){const{exact:r,status:i,predicate:a,mutationKey:c}=s;if(c){if(!n.options.mutationKey)return!1;if(r){if(Wi(n.options.mutationKey)!==Wi(c))return!1}else if(!Ki(n.options.mutationKey,c))return!1}return!(i&&n.state.status!==i||a&&!a(n))}function Lf(s,n){return((n==null?void 0:n.queryKeyHashFn)||Wi)(s)}function Wi(s){return JSON.stringify(s,(n,r)=>nf(r)?Object.keys(r).sort().reduce((i,a)=>(i[a]=r[a],i),{}):r)}function Ki(s,n){return s===n?!0:typeof s!=typeof n?!1:s&&n&&typeof s=="object"&&typeof n=="object"?Object.keys(n).every(r=>Ki(s[r],n[r])):!1}var gv=Object.prototype.hasOwnProperty;function fg(s,n,r=0){if(s===n)return s;if(r>500)return n;const i=Ip(s)&&Ip(n);if(!i&&!(nf(s)&&nf(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:gv.call(s,y))&&g++;continue}if(w===null||k===null||typeof w!="object"||typeof k!="object"){p[y]=k;continue}const P=fg(w,k,r+1);p[y]=P,P===w&&g++}return c===d&&g===c?s:p}function tf(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 Ip(s){return Array.isArray(s)&&s.length===Object.keys(s).length}function nf(s){if(!Fp(s))return!1;const n=s.constructor;if(n===void 0)return!0;const r=n.prototype;return!(!Fp(r)||!r.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(s)!==Object.prototype)}function Fp(s){return Object.prototype.toString.call(s)==="[object Object]"}function yv(s){return new Promise(n=>{Ts.setTimeout(n,s)})}function rf(s,n,r){return typeof r.structuralSharing=="function"?r.structuralSharing(s,n):r.structuralSharing!==!1?fg(s,n):n}function vv(s,n,r=0){const i=[...s,n];return r&&i.length>r?i.slice(1):i}function xv(s,n,r=0){const i=[n,...s];return r&&i.length>r?i.slice(0,-1):i}var Df=Symbol();function dg(s,n){return!s.queryFn&&(n!=null&&n.initialPromise)?()=>n.initialPromise:!s.queryFn||s.queryFn===Df?()=>Promise.reject(new Error(`Missing queryFn: '${s.queryHash}'`)):s.queryFn}function hg(s,n){return typeof s=="function"?s(...n):!!s}function wv(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 Xi=(()=>{let s=()=>pv;return{isServer(){return s()},setIsServer(n){s=n}}})();function sf(){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 bv=hv;function kv(){let s=[],n=0,r=d=>{d()},i=d=>{d()},a=bv;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 _t=kv(),Oo,Vr,Mo,ng,Sv=(ng=class extends ia{constructor(){super();ye(this,Oo,!0);ye(this,Vr);ye(this,Mo);ce(this,Mo,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,Vr)||this.setEventListener(R(this,Mo))}onUnsubscribe(){var n;this.hasListeners()||((n=R(this,Vr))==null||n.call(this),ce(this,Vr,void 0))}setEventListener(n){var r;ce(this,Mo,n),(r=R(this,Vr))==null||r.call(this),ce(this,Vr,n(this.setOnline.bind(this)))}setOnline(n){R(this,Oo)!==n&&(ce(this,Oo,n),this.listeners.forEach(i=>{i(n)}))}isOnline(){return R(this,Oo)}},Oo=new WeakMap,Vr=new WeakMap,Mo=new WeakMap,ng),Ml=new Sv;function _v(s){return Math.min(1e3*2**s,3e4)}function pg(s){return(s??"online")==="online"?Ml.isOnline():!0}var of=class extends Error{constructor(s){super("CancelledError"),this.revert=s==null?void 0:s.revert,this.silent=s==null?void 0:s.silent}};function mg(s){let n=!1,r=0,i;const a=sf(),c=()=>a.status!=="pending",u=T=>{var C;if(!c()){const O=new of(T);w(O),(C=s.onCancel)==null||C.call(s,O)}},d=()=>{n=!0},p=()=>{n=!1},g=()=>Pf.isFocused()&&(s.networkMode==="always"||Ml.isOnline())&&s.canRun(),v=()=>pg(s.networkMode)&&s.canRun(),y=T=>{c()||(i==null||i(),a.resolve(T))},w=T=>{c()||(i==null||i(),a.reject(T))},k=()=>new Promise(T=>{var C;i=O=>{(c()||g())&&T(O)},(C=s.onPause)==null||C.call(s)}).then(()=>{var T;i=void 0,c()||(T=s.onContinue)==null||T.call(s)}),P=()=>{if(c())return;let T;const C=r===0?s.initialPromise:void 0;try{T=C??s.fn()}catch(O){T=Promise.reject(O)}Promise.resolve(T).then(y).catch(O=>{var F;if(c())return;const E=s.retry??(Xi.isServer()?0:3),_=s.retryDelay??_v,N=typeof _=="function"?_(r,O):_,D=E===!0||typeof E=="number"&&r<E||typeof E=="function"&&E(r,O);if(n||!D){w(O);return}r++,(F=s.onFail)==null||F.call(s,r,O),yv(N).then(()=>g()?void 0:k()).then(()=>{n?w(O):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,rg,gg=(rg=class{constructor(){ye(this,Ns)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),ef(this.gcTime)&&ce(this,Ns,Ts.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(s){this.gcTime=Math.max(this.gcTime||0,s??(Xi.isServer()?1/0:300*1e3))}clearGcTimeout(){R(this,Ns)!==void 0&&(Ts.clearTimeout(R(this,Ns)),ce(this,Ns,void 0))}},Ns=new WeakMap,rg);function Tv(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 T=!1;const C=_=>{wv(_,()=>n.signal,()=>T=!0)},O=dg(n.options,n.fetchOptions),E=async(_,N,D)=>{if(T)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:D?"backward":"forward",meta:n.options.meta};return C(se),se})(),V=await O(G),{maxPages:Q}=n.options,I=D?xv:vv;return{pages:I(_.pages,V,Q),pageParams:I(_.pageParams,N,Q)}};if(a&&c.length){const _=a==="backward",N=_?Ev:$p,D={pages:c,pageParams:u},F=N(i,D);d=await E(D,F,_)}else{const _=s??c.length;do{const N=p===0?u[0]??i.initialPageParam:$p(i,d);if(p>0&&N==null)break;d=await E(d,N),p++}while(p<_)}return d};n.options.persister?n.fetchFn=()=>{var T,C;return(C=(T=n.options).persister)==null?void 0:C.call(T,g,{client:n.client,queryKey:n.queryKey,meta:n.options.meta,signal:n.signal},r)}:n.fetchFn=g}}}function $p(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 Ev(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 Po,As,Lo,wn,Cs,bt,ta,js,ln,yg,fr,sg,Nv=(sg=class extends gg{constructor(n){super();ye(this,ln);ye(this,Po);ye(this,As);ye(this,Lo);ye(this,wn);ye(this,Cs);ye(this,bt);ye(this,ta);ye(this,js);ce(this,js,!1),ce(this,ta,n.defaultOptions),this.setOptions(n.options),this.observers=[],ce(this,Cs,n.client),ce(this,wn,R(this,Cs).getQueryCache()),this.queryKey=n.queryKey,this.queryHash=n.queryHash,ce(this,As,Up(this.options)),this.state=n.state??R(this,As),this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return R(this,Po)}get promise(){var n;return(n=R(this,bt))==null?void 0:n.promise}setOptions(n){if(this.options={...R(this,ta),...n},n!=null&&n._type&&ce(this,Po,n._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const r=Up(this.options);r.data!==void 0&&(this.setState(zp(r.data,r.dataUpdatedAt)),ce(this,As,r))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&R(this,wn).remove(this)}setData(n,r){const i=rf(this.state.data,n,this.options);return Ae(this,ln,fr).call(this,{data:i,type:"success",dataUpdatedAt:r==null?void 0:r.updatedAt,manual:r==null?void 0:r.manual}),i}setState(n){Ae(this,ln,fr).call(this,{type:"setState",state:n})}cancel(n){var i,a;const r=(i=R(this,bt))==null?void 0:i.promise;return(a=R(this,bt))==null||a.cancel(n),r?r.then(Zt).catch(Zt):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=>cn(n.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Df||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(n=>Zr(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:!ug(this.state.dataUpdatedAt,n)}onFocus(){var r;const n=this.observers.find(i=>i.shouldFetchOnWindowFocus());n==null||n.refetch({cancelRefetch:!1}),(r=R(this,bt))==null||r.continue()}onOnline(){var r;const n=this.observers.find(i=>i.shouldFetchOnReconnect());n==null||n.refetch({cancelRefetch:!1}),(r=R(this,bt))==null||r.continue()}addObserver(n){this.observers.includes(n)||(this.observers.push(n),this.clearGcTimeout(),R(this,wn).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,bt)&&(R(this,js)||Ae(this,ln,yg).call(this)?R(this,bt).cancel({revert:!0}):R(this,bt).cancelRetry()),this.scheduleGc()),R(this,wn).notify({type:"observerRemoved",query:this,observer:n}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Ae(this,ln,fr).call(this,{type:"invalidate"})}async fetch(n,r){var g,v,y,w,k,P,T,C,O,E,_;if(this.state.fetchStatus!=="idle"&&((g=R(this,bt))==null?void 0:g.status())!=="rejected"){if(this.state.data!==void 0&&(r!=null&&r.cancelRefetch))this.cancel({silent:!0});else if(R(this,bt))return R(this,bt).continueRetry(),R(this,bt).promise}if(n&&this.setOptions(n),!this.options.queryFn){const N=this.observers.find(D=>D.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=dg(this.options,r),F=(()=>{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,F,this):N(F)},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,Po)==="infinite"?Tv(this.options.pages):this.options.behavior;p==null||p.onFetch(d,this),ce(this,Lo,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((v=d.fetchOptions)==null?void 0:v.meta))&&Ae(this,ln,fr).call(this,{type:"fetch",meta:(y=d.fetchOptions)==null?void 0:y.meta}),ce(this,bt,mg({initialPromise:r==null?void 0:r.initialPromise,fn:d.fetchFn,onCancel:N=>{N instanceof of&&N.revert&&this.setState({...R(this,Lo),fetchStatus:"idle"}),i.abort()},onFail:(N,D)=>{Ae(this,ln,fr).call(this,{type:"failed",failureCount:N,error:D})},onPause:()=>{Ae(this,ln,fr).call(this,{type:"pause"})},onContinue:()=>{Ae(this,ln,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,bt).start();if(N===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(N),(k=(w=R(this,wn).config).onSuccess)==null||k.call(w,N,this),(T=(P=R(this,wn).config).onSettled)==null||T.call(P,N,this.state.error,this),N}catch(N){if(N instanceof of){if(N.silent)return R(this,bt).promise;if(N.revert){if(this.state.data===void 0)throw N;return this.state.data}}throw Ae(this,ln,fr).call(this,{type:"error",error:N}),(O=(C=R(this,wn).config).onError)==null||O.call(C,N,this),(_=(E=R(this,wn).config).onSettled)==null||_.call(E,this.state.data,N,this),N}finally{this.scheduleGc()}}},Po=new WeakMap,As=new WeakMap,Lo=new WeakMap,wn=new WeakMap,Cs=new WeakMap,bt=new WeakMap,ta=new WeakMap,js=new WeakMap,ln=new WeakSet,yg=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,...vg(i.data,this.options),fetchMeta:n.meta??null};case"success":const a={...i,...zp(n.data,n.dataUpdatedAt),dataUpdateCount:i.dataUpdateCount+1,...!n.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return ce(this,Lo,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),_t.batch(()=>{this.observers.forEach(i=>{i.onQueryUpdate()}),R(this,wn).notify({query:this,type:"updated",action:n})})},sg);function vg(s,n){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:pg(n.networkMode)?"fetching":"paused",...s===void 0&&{error:null,status:"pending"}}}function zp(s,n){return{data:s,dataUpdatedAt:n??Date.now(),error:null,isInvalidated:!1,status:"success"}}function Up(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 Yt,Me,na,zt,Rs,Do,dr,Qr,ra,Io,Fo,Os,Ms,Wr,$o,ze,qi,af,lf,cf,uf,ff,df,hf,xg,og,Av=(og=class extends ia{constructor(n,r){super();ye(this,ze);ye(this,Yt);ye(this,Me);ye(this,na);ye(this,zt);ye(this,Rs);ye(this,Do);ye(this,dr);ye(this,Qr);ye(this,ra);ye(this,Io);ye(this,Fo);ye(this,Os);ye(this,Ms);ye(this,Wr);ye(this,$o,new Set);this.options=r,ce(this,Yt,n),ce(this,Qr,null),ce(this,dr,sf()),this.bindMethods(),this.setOptions(r)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(R(this,Me).addObserver(this),Hp(R(this,Me),this.options)?Ae(this,ze,qi).call(this):this.updateResult(),Ae(this,ze,uf).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return pf(R(this,Me),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return pf(R(this,Me),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Ae(this,ze,ff).call(this),Ae(this,ze,df).call(this),R(this,Me).removeObserver(this)}setOptions(n){const r=this.options,i=R(this,Me);if(this.options=R(this,Yt).defaultQueryOptions(n),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof cn(this.options.enabled,R(this,Me))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");Ae(this,ze,hf).call(this),R(this,Me).setOptions(this.options),r._defaulted&&!tf(this.options,r)&&R(this,Yt).getQueryCache().notify({type:"observerOptionsUpdated",query:R(this,Me),observer:this});const a=this.hasListeners();a&&Bp(R(this,Me),i,this.options,r)&&Ae(this,ze,qi).call(this),this.updateResult(),a&&(R(this,Me)!==i||cn(this.options.enabled,R(this,Me))!==cn(r.enabled,R(this,Me))||Zr(this.options.staleTime,R(this,Me))!==Zr(r.staleTime,R(this,Me)))&&Ae(this,ze,af).call(this);const c=Ae(this,ze,lf).call(this);a&&(R(this,Me)!==i||cn(this.options.enabled,R(this,Me))!==cn(r.enabled,R(this,Me))||c!==R(this,Wr))&&Ae(this,ze,cf).call(this,c)}getOptimisticResult(n){const r=R(this,Yt).getQueryCache().build(R(this,Yt),n),i=this.createResult(r,n);return jv(this,i)&&(ce(this,zt,i),ce(this,Do,this.options),ce(this,Rs,R(this,Me).state)),i}getCurrentResult(){return R(this,zt)}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,$o).add(n)}getCurrentQuery(){return R(this,Me)}refetch({...n}={}){return this.fetch({...n})}fetchOptimistic(n){const r=R(this,Yt).defaultQueryOptions(n),i=R(this,Yt).getQueryCache().build(R(this,Yt),r);return i.fetch().then(()=>this.createResult(i,r))}fetch(n){return Ae(this,ze,qi).call(this,{...n,cancelRefetch:n.cancelRefetch??!0}).then(()=>(this.updateResult(),R(this,zt)))}createResult(n,r){var Q;const i=R(this,Me),a=this.options,c=R(this,zt),u=R(this,Rs),d=R(this,Do),g=n!==i?n.state:R(this,na),{state:v}=n;let y={...v},w=!1,k;if(r._optimisticResults){const I=this.hasListeners(),se=!I&&Hp(n,r),L=I&&Bp(n,i,r,a);(se||L)&&(y={...y,...vg(v.data,n.options)}),r._optimisticResults==="isRestoring"&&(y.fetchStatus="idle")}let{error:P,errorUpdatedAt:T,status:C}=y;k=y.data;let O=!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,O=!0):I=typeof r.placeholderData=="function"?r.placeholderData((Q=R(this,Fo))==null?void 0:Q.state.data,R(this,Fo)):r.placeholderData,I!==void 0&&(C="success",k=rf(c==null?void 0:c.data,I,r),w=!0)}if(r.select&&k!==void 0&&!O)if(c&&k===(u==null?void 0:u.data)&&r.select===R(this,ra))k=R(this,Io);else try{ce(this,ra,r.select),k=r.select(k),k=rf(c==null?void 0:c.data,k,r),ce(this,Io,k),ce(this,Qr,null)}catch(I){ce(this,Qr,I)}R(this,Qr)&&(P=R(this,Qr),k=R(this,Io),T=Date.now(),C="error");const E=y.fetchStatus==="fetching",_=C==="pending",N=C==="error",D=_&&E,F=k!==void 0,V={status:C,fetchStatus:y.fetchStatus,isPending:_,isSuccess:C==="success",isError:N,isInitialLoading:D,isLoading:D,data:k,dataUpdatedAt:y.dataUpdatedAt,error:P,errorUpdatedAt:T,failureCount:y.fetchFailureCount,failureReason:y.fetchFailureReason,errorUpdateCount:y.errorUpdateCount,isFetched:n.isFetched(),isFetchedAfterMount:y.dataUpdateCount>g.dataUpdateCount||y.errorUpdateCount>g.errorUpdateCount,isFetching:E,isRefetching:E&&!_,isLoadingError:N&&!F,isPaused:y.fetchStatus==="paused",isPlaceholderData:w,isRefetchError:N&&F,isStale:If(n,r),refetch:this.refetch,promise:R(this,dr),isEnabled:cn(r.enabled,n)!==!1};if(this.options.experimental_prefetchInRender){const I=V.data!==void 0,se=V.status==="error"&&!I,L=re=>{se?re.reject(V.error):I&&re.resolve(V.data)},z=()=>{const re=ce(this,dr,V.promise=sf());L(re)},q=R(this,dr);switch(q.status){case"pending":n.queryHash===i.queryHash&&L(q);break;case"fulfilled":(se||V.data!==q.value)&&z();break;case"rejected":(!se||V.error!==q.reason)&&z();break}}return V}updateResult(){const n=R(this,zt),r=this.createResult(R(this,Me),this.options);if(ce(this,Rs,R(this,Me).state),ce(this,Do,this.options),R(this,Rs).data!==void 0&&ce(this,Fo,R(this,Me)),tf(r,n))return;ce(this,zt,r);const i=()=>{if(!n)return!0;const{notifyOnChangeProps:a}=this.options,c=typeof a=="function"?a():a;if(c==="all"||!c&&!R(this,$o).size)return!0;const u=new Set(c??R(this,$o));return this.options.throwOnError&&u.add("error"),Object.keys(R(this,zt)).some(d=>{const p=d;return R(this,zt)[p]!==n[p]&&u.has(p)})};Ae(this,ze,xg).call(this,{listeners:i()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Ae(this,ze,uf).call(this)}},Yt=new WeakMap,Me=new WeakMap,na=new WeakMap,zt=new WeakMap,Rs=new WeakMap,Do=new WeakMap,dr=new WeakMap,Qr=new WeakMap,ra=new WeakMap,Io=new WeakMap,Fo=new WeakMap,Os=new WeakMap,Ms=new WeakMap,Wr=new WeakMap,$o=new WeakMap,ze=new WeakSet,qi=function(n){Ae(this,ze,hf).call(this);let r=R(this,Me).fetch(this.options,n);return n!=null&&n.throwOnError||(r=r.catch(Zt)),r},af=function(){Ae(this,ze,ff).call(this);const n=Zr(this.options.staleTime,R(this,Me));if(Xi.isServer()||R(this,zt).isStale||!ef(n))return;const i=ug(R(this,zt).dataUpdatedAt,n)+1;ce(this,Os,Ts.setTimeout(()=>{R(this,zt).isStale||this.updateResult()},i))},lf=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(R(this,Me)):this.options.refetchInterval)??!1},cf=function(n){Ae(this,ze,df).call(this),ce(this,Wr,n),!(Xi.isServer()||cn(this.options.enabled,R(this,Me))===!1||!ef(R(this,Wr))||R(this,Wr)===0)&&ce(this,Ms,Ts.setInterval(()=>{(this.options.refetchIntervalInBackground||Pf.isFocused())&&Ae(this,ze,qi).call(this)},R(this,Wr)))},uf=function(){Ae(this,ze,af).call(this),Ae(this,ze,cf).call(this,Ae(this,ze,lf).call(this))},ff=function(){R(this,Os)!==void 0&&(Ts.clearTimeout(R(this,Os)),ce(this,Os,void 0))},df=function(){R(this,Ms)!==void 0&&(Ts.clearInterval(R(this,Ms)),ce(this,Ms,void 0))},hf=function(){const n=R(this,Yt).getQueryCache().build(R(this,Yt),this.options);if(n===R(this,Me))return;const r=R(this,Me);ce(this,Me,n),ce(this,na,n.state),this.hasListeners()&&(r==null||r.removeObserver(this),n.addObserver(this))},xg=function(n){_t.batch(()=>{n.listeners&&this.listeners.forEach(r=>{r(R(this,zt))}),R(this,Yt).getQueryCache().notify({query:R(this,Me),type:"observerResultsUpdated"})})},og);function Cv(s,n){return cn(n.enabled,s)!==!1&&s.state.data===void 0&&!(s.state.status==="error"&&cn(n.retryOnMount,s)===!1)}function Hp(s,n){return Cv(s,n)||s.state.data!==void 0&&pf(s,n,n.refetchOnMount)}function pf(s,n,r){if(cn(n.enabled,s)!==!1&&Zr(n.staleTime,s)!=="static"){const i=typeof r=="function"?r(s):r;return i==="always"||i!==!1&&If(s,n)}return!1}function Bp(s,n,r,i){return(s!==n||cn(i.enabled,s)===!1)&&(!r.suspense||s.state.status!=="error")&&If(s,r)}function If(s,n){return cn(n.enabled,s)!==!1&&s.isStaleByTime(Zr(n.staleTime,s))}function jv(s,n){return!tf(s.getCurrentResult(),n)}var sa,Bn,Pt,Ps,qn,Hr,ig,Rv=(ig=class extends gg{constructor(n){super();ye(this,qn);ye(this,sa);ye(this,Bn);ye(this,Pt);ye(this,Ps);ce(this,sa,n.client),this.mutationId=n.mutationId,ce(this,Pt,n.mutationCache),ce(this,Bn,[]),this.state=n.state||Ov(),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,Bn).includes(n)||(R(this,Bn).push(n),this.clearGcTimeout(),R(this,Pt).notify({type:"observerAdded",mutation:this,observer:n}))}removeObserver(n){ce(this,Bn,R(this,Bn).filter(r=>r!==n)),this.scheduleGc(),R(this,Pt).notify({type:"observerRemoved",mutation:this,observer:n})}optionalRemove(){R(this,Bn).length||(this.state.status==="pending"?this.scheduleGc():R(this,Pt).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,T,C,O,E,_,N,D,F,G;const r=()=>{Ae(this,qn,Hr).call(this,{type:"continue"})},i={client:R(this,sa),meta:this.options.meta,mutationKey:this.options.mutationKey};ce(this,Ps,mg({fn:()=>this.options.mutationFn?this.options.mutationFn(n,i):Promise.reject(new Error("No mutationFn found")),onFail:(V,Q)=>{Ae(this,qn,Hr).call(this,{type:"failed",failureCount:V,error:Q})},onPause:()=>{Ae(this,qn,Hr).call(this,{type:"pause"})},onContinue:r,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>R(this,Pt).canRun(this)}));const a=this.state.status==="pending",c=!R(this,Ps).canStart();try{if(a)r();else{Ae(this,qn,Hr).call(this,{type:"pending",variables:n,isPaused:c}),R(this,Pt).config.onMutate&&await R(this,Pt).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&&Ae(this,qn,Hr).call(this,{type:"pending",context:Q,variables:n,isPaused:c})}const V=await R(this,Ps).start();return await((g=(p=R(this,Pt).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,Pt).config).onSettled)==null?void 0:k.call(w,V,null,this.state.variables,this.state.context,this,i)),await((T=(P=this.options).onSettled)==null?void 0:T.call(P,V,null,n,this.state.context,i)),Ae(this,qn,Hr).call(this,{type:"success",data:V}),V}catch(V){try{await((O=(C=R(this,Pt).config).onError)==null?void 0:O.call(C,V,n,this.state.context,this,i))}catch(Q){Promise.reject(Q)}try{await((_=(E=this.options).onError)==null?void 0:_.call(E,V,n,this.state.context,i))}catch(Q){Promise.reject(Q)}try{await((D=(N=R(this,Pt).config).onSettled)==null?void 0:D.call(N,void 0,V,this.state.variables,this.state.context,this,i))}catch(Q){Promise.reject(Q)}try{await((G=(F=this.options).onSettled)==null?void 0:G.call(F,void 0,V,n,this.state.context,i))}catch(Q){Promise.reject(Q)}throw Ae(this,qn,Hr).call(this,{type:"error",error:V}),V}finally{R(this,Pt).runNext(this)}}},sa=new WeakMap,Bn=new WeakMap,Pt=new WeakMap,Ps=new WeakMap,qn=new WeakSet,Hr=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),_t.batch(()=>{R(this,Bn).forEach(i=>{i.onMutationUpdate(n)}),R(this,Pt).notify({mutation:this,type:"updated",action:n})})},ig);function Ov(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var hr,Rn,oa,ag,Mv=(ag=class extends ia{constructor(n={}){super();ye(this,hr);ye(this,Rn);ye(this,oa);this.config=n,ce(this,hr,new Set),ce(this,Rn,new Map),ce(this,oa,0)}build(n,r,i){const a=new Rv({client:n,mutationCache:this,mutationId:++xl(this,oa)._,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,Rn).get(r);i?i.push(n):R(this,Rn).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,Rn).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,Rn).delete(r)}}this.notify({type:"removed",mutation:n})}canRun(n){const r=bl(n);if(typeof r=="string"){const i=R(this,Rn).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,Rn).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(){_t.batch(()=>{R(this,hr).forEach(n=>{this.notify({type:"removed",mutation:n})}),R(this,hr).clear(),R(this,Rn).clear()})}getAll(){return Array.from(R(this,hr))}find(n){const r={exact:!0,...n};return this.getAll().find(i=>Dp(r,i))}findAll(n={}){return this.getAll().filter(r=>Dp(n,r))}notify(n){_t.batch(()=>{this.listeners.forEach(r=>{r(n)})})}resumePausedMutations(){const n=this.getAll().filter(r=>r.state.isPaused);return _t.batch(()=>Promise.all(n.map(r=>r.continue().catch(Zt))))}},hr=new WeakMap,Rn=new WeakMap,oa=new WeakMap,ag);function bl(s){var n;return(n=s.options.scope)==null?void 0:n.id}var Gn,lg,Pv=(lg=class extends ia{constructor(n={}){super();ye(this,Gn);this.config=n,ce(this,Gn,new Map)}build(n,r,i){const a=r.queryKey,c=r.queryHash??Lf(a,r);let u=this.get(c);return u||(u=new Nv({client:n,queryKey:a,queryHash:c,options:n.defaultQueryOptions(r),state:i,defaultOptions:n.getQueryDefaults(a)}),this.add(u)),u}add(n){R(this,Gn).has(n.queryHash)||(R(this,Gn).set(n.queryHash,n),this.notify({type:"added",query:n}))}remove(n){const r=R(this,Gn).get(n.queryHash);r&&(n.destroy(),r===n&&R(this,Gn).delete(n.queryHash),this.notify({type:"removed",query:n}))}clear(){_t.batch(()=>{this.getAll().forEach(n=>{this.remove(n)})})}get(n){return R(this,Gn).get(n)}getAll(){return[...R(this,Gn).values()]}find(n){const r={exact:!0,...n};return this.getAll().find(i=>Lp(r,i))}findAll(n={}){const r=this.getAll();return Object.keys(n).length>0?r.filter(i=>Lp(n,i)):r}notify(n){_t.batch(()=>{this.listeners.forEach(r=>{r(n)})})}onFocus(){_t.batch(()=>{this.getAll().forEach(n=>{n.onFocus()})})}onOnline(){_t.batch(()=>{this.getAll().forEach(n=>{n.onOnline()})})}},Gn=new WeakMap,lg),ot,Kr,Xr,zo,Uo,Yr,Ho,Bo,cg,Lv=(cg=class{constructor(s={}){ye(this,ot);ye(this,Kr);ye(this,Xr);ye(this,zo);ye(this,Uo);ye(this,Yr);ye(this,Ho);ye(this,Bo);ce(this,ot,s.queryCache||new Pv),ce(this,Kr,s.mutationCache||new Mv),ce(this,Xr,s.defaultOptions||{}),ce(this,zo,new Map),ce(this,Uo,new Map),ce(this,Yr,0)}mount(){xl(this,Yr)._++,R(this,Yr)===1&&(ce(this,Ho,Pf.subscribe(async s=>{s&&(await this.resumePausedMutations(),R(this,ot).onFocus())})),ce(this,Bo,Ml.subscribe(async s=>{s&&(await this.resumePausedMutations(),R(this,ot).onOnline())})))}unmount(){var s,n;xl(this,Yr)._--,R(this,Yr)===0&&((s=R(this,Ho))==null||s.call(this),ce(this,Ho,void 0),(n=R(this,Bo))==null||n.call(this),ce(this,Bo,void 0))}isFetching(s){return R(this,ot).findAll({...s,fetchStatus:"fetching"}).length}isMutating(s){return R(this,Kr).findAll({...s,status:"pending"}).length}getQueryData(s){var r;const n=this.defaultQueryOptions({queryKey:s});return(r=R(this,ot).get(n.queryHash))==null?void 0:r.state.data}ensureQueryData(s){const n=this.defaultQueryOptions(s),r=R(this,ot).build(this,n),i=r.state.data;return i===void 0?this.fetchQuery(s):(s.revalidateIfStale&&r.isStaleByTime(Zr(n.staleTime,r))&&this.prefetchQuery(n),Promise.resolve(i))}getQueriesData(s){return R(this,ot).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,ot).get(i.queryHash),c=a==null?void 0:a.state.data,u=mv(n,c);if(u!==void 0)return R(this,ot).build(this,i).setData(u,{...r,manual:!0})}setQueriesData(s,n,r){return _t.batch(()=>R(this,ot).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,ot).get(n.queryHash))==null?void 0:r.state}removeQueries(s){const n=R(this,ot);_t.batch(()=>{n.findAll(s).forEach(r=>{n.remove(r)})})}resetQueries(s,n){const r=R(this,ot);return _t.batch(()=>(r.findAll(s).forEach(i=>{i.reset()}),this.refetchQueries({type:"active",...s},n)))}cancelQueries(s,n={}){const r={revert:!0,...n},i=_t.batch(()=>R(this,ot).findAll(s).map(a=>a.cancel(r)));return Promise.all(i).then(Zt).catch(Zt)}invalidateQueries(s,n={}){return _t.batch(()=>(R(this,ot).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=_t.batch(()=>R(this,ot).findAll(s).filter(a=>!a.isDisabled()&&!a.isStatic()).map(a=>{let c=a.fetch(void 0,r);return r.throwOnError||(c=c.catch(Zt)),a.state.fetchStatus==="paused"?Promise.resolve():c}));return Promise.all(i).then(Zt)}fetchQuery(s){const n=this.defaultQueryOptions(s);n.retry===void 0&&(n.retry=!1);const r=R(this,ot).build(this,n);return r.isStaleByTime(Zr(n.staleTime,r))?r.fetch(n):Promise.resolve(r.state.data)}prefetchQuery(s){return this.fetchQuery(s).then(Zt).catch(Zt)}fetchInfiniteQuery(s){return s._type="infinite",this.fetchQuery(s)}prefetchInfiniteQuery(s){return this.fetchInfiniteQuery(s).then(Zt).catch(Zt)}ensureInfiniteQueryData(s){return s._type="infinite",this.ensureQueryData(s)}resumePausedMutations(){return Ml.isOnline()?R(this,Kr).resumePausedMutations():Promise.resolve()}getQueryCache(){return R(this,ot)}getMutationCache(){return R(this,Kr)}getDefaultOptions(){return R(this,Xr)}setDefaultOptions(s){ce(this,Xr,s)}setQueryDefaults(s,n){R(this,zo).set(Wi(s),{queryKey:s,defaultOptions:n})}getQueryDefaults(s){const n=[...R(this,zo).values()],r={};return n.forEach(i=>{Ki(s,i.queryKey)&&Object.assign(r,i.defaultOptions)}),r}setMutationDefaults(s,n){R(this,Uo).set(Wi(s),{mutationKey:s,defaultOptions:n})}getMutationDefaults(s){const n=[...R(this,Uo).values()],r={};return n.forEach(i=>{Ki(s,i.mutationKey)&&Object.assign(r,i.defaultOptions)}),r}defaultQueryOptions(s){if(s._defaulted)return s;const n={...R(this,Xr).queries,...this.getQueryDefaults(s.queryKey),...s,_defaulted:!0};return n.queryHash||(n.queryHash=Lf(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===Df&&(n.enabled=!1),n}defaultMutationOptions(s){return s!=null&&s._defaulted?s:{...R(this,Xr).mutations,...(s==null?void 0:s.mutationKey)&&this.getMutationDefaults(s.mutationKey),...s,_defaulted:!0}}clear(){R(this,ot).clear(),R(this,Kr).clear()}},ot=new WeakMap,Kr=new WeakMap,Xr=new WeakMap,zo=new WeakMap,Uo=new WeakMap,Yr=new WeakMap,Ho=new WeakMap,Bo=new WeakMap,cg),wg=ie.createContext(void 0),Dv=s=>{const n=ie.useContext(wg);if(!n)throw new Error("No QueryClient set, use QueryClientProvider to set one");return n},Iv=({client:s,children:n})=>(ie.useEffect(()=>(s.mount(),()=>{s.unmount()}),[s]),m.jsx(wg.Provider,{value:s,children:n})),bg=ie.createContext(!1),Fv=()=>ie.useContext(bg);bg.Provider;function $v(){let s=!1;return{clearReset:()=>{s=!1},reset:()=>{s=!0},isReset:()=>s}}var zv=ie.createContext($v()),Uv=()=>ie.useContext(zv),Hv=(s,n,r)=>{const i=r!=null&&r.state.error&&typeof s.throwOnError=="function"?hg(s.throwOnError,[r.state.error,r]):s.throwOnError;(s.suspense||s.experimental_prefetchInRender||i)&&(n.isReset()||(s.retryOnMount=!1))},Bv=s=>{ie.useEffect(()=>{s.clearReset()},[s])},qv=({result:s,errorResetBoundary:n,throwOnError:r,query:i,suspense:a})=>s.isError&&!n.isReset()&&!s.isFetching&&i&&(a&&s.data===void 0||hg(r,[s.error,i])),Gv=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))}},Vv=(s,n)=>s.isLoading&&s.isFetching&&!n,Qv=(s,n)=>(s==null?void 0:s.suspense)&&n.isPending,qp=(s,n,r)=>n.fetchOptimistic(s).catch(()=>{r.clearReset()});function Wv(s,n,r){var k,P,T,C;const i=Fv(),a=Uv(),c=Dv(),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,Gv(u),Hv(u,a,d),Bv(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(O=>{const E=w?v.subscribe(_t.batchCalls(O)):Zt;return v.updateResult(),E},[v,w]),()=>v.getCurrentResult(),()=>v.getCurrentResult()),ie.useEffect(()=>{v.setOptions(u)},[u,v]),Qv(u,y))throw qp(u,v,a);if(qv({result:y,errorResetBoundary:a,throwOnError:u.throwOnError,query:d,suspense:u.suspense}))throw y.error;if((C=(T=c.getDefaultOptions().queries)==null?void 0:T._experimental_afterQuery)==null||C.call(T,u,y),u.experimental_prefetchInRender&&!Xi.isServer()&&Vv(y,i)){const O=g?qp(u,v,a):d==null?void 0:d.promise;O==null||O.catch(Zt).finally(()=>{v.updateResult()})}return u.notifyOnChangeProps?y:v.trackResult(y)}function Ff(s,n){return Wv(s,Av)}/**
41
+ * @license lucide-react v1.25.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 kg=(...s)=>s.filter((n,r,i)=>!!n&&n.trim()!==""&&i.indexOf(n)===r).join(" ").trim();/**
46
+ * @license lucide-react v1.25.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
+ */const Kv=s=>s.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
51
+ * @license lucide-react v1.25.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 Xv=s=>s.replace(/^([A-Z])|[\s-_]+(\w)/g,(n,r,i)=>i?i.toUpperCase():r.toLowerCase());/**
56
+ * @license lucide-react v1.25.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 Gp=s=>{const n=Xv(s);return n.charAt(0).toUpperCase()+n.slice(1)};/**
61
+ * @license lucide-react v1.25.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
+ */var Pu={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"};/**
66
+ * @license lucide-react v1.25.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=s=>{for(const n in s)if(n.startsWith("aria-")||n==="role"||n==="title")return!0;return!1},Zv=ie.createContext({}),Jv=()=>ie.useContext(Zv),e1=ie.forwardRef(({color:s,size:n,strokeWidth:r,absoluteStrokeWidth:i,className:a="",children:c,iconNode:u,...d},p)=>{const{size:g=24,strokeWidth:v=2,absoluteStrokeWidth:y=!1,color:w="currentColor",className:k=""}=Jv()??{},P=i??y?Number(r??v)*24/Number(n??g):r??v;return ie.createElement("svg",{ref:p,...Pu,width:n??g??Pu.width,height:n??g??Pu.height,stroke:s??w,strokeWidth:P,className:kg("lucide",k,a),...!c&&!Yv(d)&&{"aria-hidden":"true"},...d},[...u.map(([T,C])=>ie.createElement(T,C)),...Array.isArray(c)?c:[c]])});/**
71
+ * @license lucide-react v1.25.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 Je=(s,n)=>{const r=ie.forwardRef(({className:i,...a},c)=>ie.createElement(e1,{ref:c,iconNode:n,className:kg(`lucide-${Kv(Gp(s))}`,`lucide-${s}`,i),...a}));return r.displayName=Gp(s),r};/**
76
+ * @license lucide-react v1.25.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 t1=[["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"}]],n1=Je("book-open",t1);/**
81
+ * @license lucide-react v1.25.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 r1=[["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"}]],s1=Je("bot",r1);/**
86
+ * @license lucide-react v1.25.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 o1=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],Vp=Je("download",o1);/**
91
+ * @license lucide-react v1.25.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 i1=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M9 15h6",key:"cctwl0"}],["path",{d:"M12 18v-6",key:"17g6i2"}]],Qp=Je("file-plus",i1);/**
96
+ * @license lucide-react v1.25.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 a1=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],mf=Je("file-text",a1);/**
101
+ * @license lucide-react v1.25.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 l1=[["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"}]],c1=Je("folder-open",l1);/**
106
+ * @license lucide-react v1.25.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 u1=[["path",{d:"M15 6a9 9 0 0 0-9 9V3",key:"1cii5b"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}]],Pl=Je("git-branch",u1);/**
111
+ * @license lucide-react v1.25.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 f1=[["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"}]],Sg=Je("git-commit-horizontal",f1);/**
116
+ * @license lucide-react v1.25.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 d1=[["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"}]],h1=Je("git-pull-request",d1);/**
121
+ * @license lucide-react v1.25.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 p1=[["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"}]],m1=Je("globe",p1);/**
126
+ * @license lucide-react v1.25.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 g1=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],y1=Je("info",g1);/**
131
+ * @license lucide-react v1.25.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 v1=[["path",{d:"M13 5h8",key:"a7qcls"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"m3 7 2 2 4-4",key:"1obspn"}]],x1=Je("list-checks",v1);/**
136
+ * @license lucide-react v1.25.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 w1=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]],_g=Je("message-square",w1);/**
141
+ * @license lucide-react v1.25.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 b1=[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]],k1=Je("moon",b1);/**
146
+ * @license lucide-react v1.25.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 S1=[["path",{d:"M13 21h8",key:"1jsn5i"}],["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],kl=Je("pen-line",S1);/**
151
+ * @license lucide-react v1.25.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 _1=[["path",{d:"M12 22v-5",key:"1ega77"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M17 8a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1z",key:"1xoxul"}],["path",{d:"M9 8V2",key:"14iosj"}]],T1=Je("plug",_1);/**
156
+ * @license lucide-react v1.25.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 E1=[["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"}]],N1=Je("puzzle",E1);/**
161
+ * @license lucide-react v1.25.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 A1=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],$i=Je("search",A1);/**
166
+ * @license lucide-react v1.25.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 C1=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],j1=Je("sparkles",C1);/**
171
+ * @license lucide-react v1.25.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 R1=[["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"}]],O1=Je("sun",R1);/**
176
+ * @license lucide-react v1.25.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 M1=[["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"}]],P1=Je("tag",M1);/**
181
+ * @license lucide-react v1.25.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 L1=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],D1=Je("terminal",L1);/**
186
+ * @license lucide-react v1.25.0 - ISC
187
+ *
188
+ * This source code is licensed under the ISC license.
189
+ * See the LICENSE file in the root directory of this source tree.
190
+ */const I1=[["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"}]],F1=Je("user",I1);/**
191
+ * @license lucide-react v1.25.0 - ISC
192
+ *
193
+ * This source code is licensed under the ISC license.
194
+ * See the LICENSE file in the root directory of this source tree.
195
+ */const $1=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]],z1=Je("wrench",$1);async function Tg(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 U1=s=>!!(s!=null&&s.tiers.some(n=>n.runs.some(r=>r.live)));function H1(){return Ff({queryKey:["index"],queryFn:()=>Tg("/api/index"),refetchInterval:s=>U1(s.state.data)?1500:15e3})}function B1(s,n){return Ff({queryKey:["scorecard",s,n],queryFn:()=>Tg(s),enabled:!!s,refetchInterval:n?1500:!1,placeholderData:r=>r})}function Eg(){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 q1(s){return window.addEventListener("hashchange",s),()=>window.removeEventListener("hashchange",s)}let Wp=Eg(),Kp=window.location.hash;function G1(){return window.location.hash!==Kp&&(Kp=window.location.hash,Wp=Eg()),Wp}function V1(s,n){const r=[s,n].filter(Boolean).map(i=>encodeURIComponent(i));window.location.hash=r.length?`/${r.join("/")}`:"/"}function Q1(){return ie.useSyncExternalStore(q1,G1)}function $f(){return ie.useCallback(V1,[])}const W1="ll-theme",Ng=ie.createContext(null);function K1(){return document.documentElement.getAttribute("data-theme")==="neaform"?"neaform":"lastlight"}function X1({children:s}){const[n,r]=ie.useState(K1),i=ie.useCallback(c=>{document.documentElement.setAttribute("data-theme",c);try{localStorage.setItem(W1,c)}catch{}r(c)},[]),a=ie.useCallback(()=>{i(n==="lastlight"?"neaform":"lastlight")},[n,i]);return m.jsx(Ng.Provider,{value:{theme:n,isDark:n==="lastlight",setTheme:i,toggleTheme:a},children:s})}function aa(){const s=ie.useContext(Ng);if(!s)throw new Error("useTheme must be used within a ThemeProvider");return s}function Lu(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 Ag(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 Ll(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 zf(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 Y1(s,n){return[...s].sort((r,i)=>n.rate(i)-n.rate(r)||r.totalCostUsd-i.totalCostUsd)}function Wn(s,n){return s[n]??n}function Cg(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=Cg(s[n]))&&(i&&(i+=" "),i+=r)}else for(r in s)s[r]&&(i&&(i+=" "),i+=r);return i}function Jt(){for(var s,n,r=0,i="",a=arguments.length;r<a;r++)(s=arguments[r])&&(n=Cg(s))&&(i&&(i+=" "),i+=n);return i}const Z1={accent:"#fcd34d",info:"#67e8f9",primary:"#7dd3fc"},J1={accent:"#10b981",info:"#0ea5e9",primary:"#06b6d4"},ex="#e9edf1";function Du({frac:s,value:n,color:r,best:i}){const{isDark:a}=aa(),c=Math.max(0,Math.min(1,s))*100,u=(a?Z1:J1)[r];return m.jsxs("div",{className:"flex items-center gap-2",children:[m.jsx("span",{className:Jt("h-2 flex-1 overflow-hidden rounded-full",a&&"bg-base-300"),style:a?void 0:{backgroundColor:ex},children:m.jsx("span",{className:"block h-full rounded-full",style:{width:`${c.toFixed(1)}%`,backgroundColor:u}})}),m.jsxs("span",{className:Jt("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 Uf({runType:s,className:n=""}){return s!=="config"?null:m.jsx("span",{title:"Eval of a deployment's real per-step model config",className:Jt("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 vt({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:Jt("inline-block rounded-full px-2 py-0.5 font-mono text-2xs font-semibold",r[s]),children:n})}function tx({ok:s,name:n,detail:r}){return m.jsx("span",{title:r??"",className:Jt("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 Xp({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 Dl({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 rx({tiers:s}){const n=$f(),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(Dl,{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 ${Ll(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=zf(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=>Wn(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:Ll(c.generatedAt)}),m.jsx(Uf,{runType:c.runType,className:"ml-2"}),m.jsx(Dl,{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 sx({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 Iu=(s,n)=>{var r;return((r=s.byTier.find(i=>i.tier===n))==null?void 0:r.models)??[]};function ox({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(ix,{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 ix({tierKey:s,tier:n,runs:r,labels:i}){const a=$f(),c=zf(n),u=[...r].reverse(),d=[];for(const g of u)for(const v of Iu(g,n))d.includes(v.model)||d.push(v.model);const p=g=>new Map(Iu(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:Wn(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:Wn(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=Iu(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:Ll(g.generatedAt)}),m.jsx(Uf,{runType:g.runType,className:"ml-2"}),m.jsx(Dl,{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 ax(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 lx({models:s,tier:n,labels:r,axisLabel:i="model"}){var P;const a=((P=s.find(T=>T.reviewBeta!==void 0))==null?void 0:P.reviewBeta)??1,c=zf(n,a),u=Y1(s,c),d=Math.max(0,...u.map(c.rate)),p=u.filter(T=>T.totalCostUsd>0).map(T=>T.totalCostUsd),g=u.filter(T=>T.p50DurationMs>0).map(T=>T.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((T,C)=>{const O=c.rate(T),E=c.frac(T)!=="—"&&O>=d&&d>0,_=T.totalCostUsd>0&&T.totalCostUsd===v,N=T.p50DurationMs>0&&T.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:Wn(r,T.model)}),m.jsx("td",{className:"w-[22%] min-w-[140px] px-3 py-2.5",children:m.jsx(Du,{frac:O,value:c.frac(T),color:"accent",best:E})}),m.jsx("td",{className:"w-[22%] min-w-[140px] px-3 py-2.5",children:m.jsx(Du,{frac:w?T.totalCostUsd/w:0,value:`$${T.totalCostUsd.toFixed(3)}`,color:"info",best:_})}),m.jsx("td",{className:"w-[22%] min-w-[140px] px-3 py-2.5",children:m.jsx(Du,{frac:k?T.p50DurationMs/k:0,value:Ag(T.p50DurationMs),color:"primary",best:N})}),m.jsxs("td",{className:"whitespace-nowrap px-3 py-2.5 text-right font-mono",children:[Lu(T.avgInputTokens),m.jsx("span",{className:"text-base-content/40",children:"/"}),Lu(T.avgCachedTokens),m.jsx("span",{className:"text-base-content/40",children:"/"}),Lu(T.avgOutputTokens)]}),m.jsx("td",{className:`px-3 py-2.5 text-right font-mono ${T.errors?"text-error":"text-base-content/50"}`,children:T.errors})]},T.model)})})]})})}function jg(s){return s.kind==="tool_pair"}function cx(s){const n=s.content;return(n&&typeof n.id=="string"?n.id:null)??null}function ux(s){const n=s.content;return n&&typeof n.name=="string"&&n.name||"tool"}function fx(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 dx(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=cx(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"&&fx(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)??ux(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 Hf(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let Is=Hf();function Rg(s){Is=s}const Og=/[&<>"']/,hx=new RegExp(Og.source,"g"),Mg=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,px=new RegExp(Mg.source,"g"),mx={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Yp=s=>mx[s];function un(s,n){if(n){if(Og.test(s))return s.replace(hx,Yp)}else if(Mg.test(s))return s.replace(px,Yp);return s}const gx=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function yx(s){return s.replace(gx,(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 vx=/(^|[^\[])\^/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(vx,"$1"),r=r.replace(a,u),i},getRegex:()=>new RegExp(r,n)};return i}function Zp(s){try{s=encodeURI(s).replace(/%25/g,"%")}catch{return null}return s}const Vi={exec:()=>null};function Jp(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 xx(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 em(s,n,r,i){const a=n.href,c=n.title?un(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:un(u)}}function wx(s,n){const r=s.match(/^(\s+)(?:```)/);if(r===null)return n;const i=r[1];return n.split(`
196
+ `).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(`
197
+ `)}class Il{constructor(n){We(this,"options");We(this,"rules");We(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,`
198
+ `)}}}fences(n){const r=this.rules.block.fences.exec(n);if(r){const i=r[0],a=wx(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,""),`
199
+ `),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(`
200
+ `,1)[0].replace(/^\t+/,O=>" ".repeat(3*O.length)),w=n.split(`
201
+ `,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+`
202
+ `,n=n.substring(w.length+1),v=!0),!v){const O=new RegExp(`^ {0,${Math.min(3,k-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),E=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 D=n.split(`
203
+ `,1)[0];if(w=D,this.options.pedantic&&(w=w.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),_.test(w)||N.test(w)||O.test(w)||E.test(n))break;if(w.search(/[^ ]/)>=k||!w.trim())p+=`
204
+ `+w.slice(k);else{if(P||y.search(/[^ ]/)>=4||_.test(y)||N.test(y)||E.test(y))break;p+=`
205
+ `+w}!P&&!w.trim()&&(P=!0),d+=D+`
206
+ `,n=n.substring(D.length+1),y=w.slice(k)}}c.loose||(g?c.loose=!0:/\n *\n *$/.test(d)&&(g=!0));let T=null,C;this.options.gfm&&(T=/^\[[ xX]\] /.exec(p),T&&(C=T[0]!=="[ ] ",p=p.replace(/^\[[ xX]\] +/,""))),c.items.push({type:"list_item",raw:d,task:!!T,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=Jp(r[1]),a=r[2].replace(/^\||\| *$/g,"").split("|"),c=r[3]&&r[3].trim()?r[3].replace(/\n[ \t]*$/,"").split(`
207
+ `):[],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(Jp(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)===`
208
+ `?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:un(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=xx(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)),em(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 em(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 T=k.slice(1,-1);return{type:"em",raw:k,text:T,tokens:this.lexer.inlineTokens(T)}}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=un(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=un(r[1]),a="mailto:"+i):(i=un(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=un(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=un(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=un(r[0]),{type:"text",raw:r[0],text:i}}}}const bx=/^(?: *(?:\n|$))+/,kx=/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,Sx=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,la=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,_x=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Pg=/(?:[*+-]|\d{1,9}[.)])/,Lg=He(/^(?!bull )((?:.|\n(?!\s*?\n|bull ))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,Pg).getRegex(),Bf=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Tx=/^[^\n]+/,qf=/(?!\s*\])(?:\\.|[^\[\]\\])+/,Ex=He(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",qf).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Nx=He(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Pg).getRegex(),Hl="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",Gf=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,Ax=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",Gf).replace("tag",Hl).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Dg=He(Bf).replace("hr",la).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",Hl).getRegex(),Cx=He(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Dg).getRegex(),Vf={blockquote:Cx,code:kx,def:Ex,fences:Sx,heading:_x,hr:la,html:Ax,lheading:Lg,list:Nx,newline:bx,paragraph:Dg,table:Vi,text:Tx},tm=He("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",la).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",Hl).getRegex(),jx={...Vf,table:tm,paragraph:He(Bf).replace("hr",la).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",tm).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",Hl).getRegex()},Rx={...Vf,html:He(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Gf).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:Vi,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:He(Bf).replace("hr",la).replace("heading",` *#{1,6} *[^
209
+ ]`).replace("lheading",Lg).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Ig=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Ox=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Fg=/^( {2,}|\\)\n(?!\s*$)/,Mx=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,ca="\\p{P}$+<=>`^|~",Px=He(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,ca).getRegex(),Lx=/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,Dx=He(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,ca).getRegex(),Ix=He("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,ca).getRegex(),Fx=He("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,ca).getRegex(),$x=He(/\\([punct])/,"gu").replace(/punct/g,ca).getRegex(),zx=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(),Ux=He(Gf).replace("(?:-->|$)","-->").getRegex(),Hx=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",Ux).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Fl=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Bx=He(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",Fl).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),$g=He(/^!?\[(label)\]\[(ref)\]/).replace("label",Fl).replace("ref",qf).getRegex(),zg=He(/^!?\[(ref)\](?:\[\])?/).replace("ref",qf).getRegex(),qx=He("reflink|nolink(?!\\()","g").replace("reflink",$g).replace("nolink",zg).getRegex(),Qf={_backpedal:Vi,anyPunctuation:$x,autolink:zx,blockSkip:Lx,br:Fg,code:Ox,del:Vi,emStrongLDelim:Dx,emStrongRDelimAst:Ix,emStrongRDelimUnd:Fx,escape:Ig,link:Bx,nolink:zg,punctuation:Px,reflink:$g,reflinkSearch:qx,tag:Hx,text:Mx,url:Vi},Gx={...Qf,link:He(/^!?\[(label)\]\((.*?)\)/).replace("label",Fl).getRegex(),reflink:He(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Fl).getRegex()},gf={...Qf,escape:He(Ig).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.!#$%&'*+\/=?_`{\|}~-]+@)))/},Vx={...gf,br:He(Fg).replace("{2,}","*").getRegex(),text:He(gf.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},_l={normal:Vf,gfm:jx,pedantic:Rx},zi={normal:Qf,gfm:gf,breaks:Vx,pedantic:Gx};class Vn{constructor(n){We(this,"tokens");We(this,"options");We(this,"state");We(this,"tokenizer");We(this,"inlineQueue");this.tokens=[],this.tokens.links=Object.create(null),this.options=n||Is,this.options.tokenizer=this.options.tokenizer||new Il,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:zi.normal};this.options.pedantic?(r.block=_l.pedantic,r.inline=zi.pedantic):this.options.gfm&&(r.block=_l.gfm,this.options.breaks?r.inline=zi.breaks:r.inline=zi.gfm),this.tokenizer.rules=r}static get rules(){return{block:_l,inline:zi}}static lex(n,r){return new Vn(r).lex(n)}static lexInline(n,r){return new Vn(r).inlineTokens(n)}lex(n){n=n.replace(/\r\n|\r/g,`
210
+ `),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+=`
211
+ `: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+=`
212
+ `+i.raw,a.text+=`
213
+ `+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+=`
214
+ `+i.raw,a.text+=`
215
+ `+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+=`
216
+ `+i.raw,a.text+=`
217
+ `+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+=`
218
+ `+i.raw,a.text+=`
219
+ `+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 $l{constructor(n){We(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$/,"")+`
220
+ `,a?'<pre><code class="language-'+un(a)+'">'+(i?n:un(n,!0))+`</code></pre>
221
+ `:"<pre><code>"+(i?n:un(n,!0))+`</code></pre>
222
+ `}blockquote(n){return`<blockquote>
223
+ ${n}</blockquote>
224
+ `}html(n,r){return n}heading(n,r,i){return`<h${r}>${n}</h${r}>
225
+ `}hr(){return`<hr>
226
+ `}list(n,r,i){const a=r?"ol":"ul",c=r&&i!==1?' start="'+i+'"':"";return"<"+a+c+`>
227
+ `+n+"</"+a+`>
228
+ `}listitem(n,r,i){return`<li>${n}</li>
229
+ `}checkbox(n){return"<input "+(n?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph(n){return`<p>${n}</p>
230
+ `}table(n,r){return r&&(r=`<tbody>${r}</tbody>`),`<table>
231
+ <thead>
232
+ `+n+`</thead>
233
+ `+r+`</table>
234
+ `}tablerow(n){return`<tr>
235
+ ${n}</tr>
236
+ `}tablecell(n,r){const i=r.header?"th":"td";return(r.align?`<${i} align="${r.align}">`:`<${i}>`)+n+`</${i}>
237
+ `}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=Zp(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=Zp(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 Wf{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 Qn{constructor(n){We(this,"options");We(this,"renderer");We(this,"textRenderer");this.options=n||Is,this.options.renderer=this.options.renderer||new $l,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Wf}static parse(n,r){return new Qn(r).parse(n)}static parseInline(n,r){return new Qn(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,yx(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 T="";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+" "}):T+=C+" "}T+=this.parse(w.tokens,g),v+=this.renderer.listitem(T,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+=`
238
+ `+(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 Qi{constructor(n){We(this,"options");this.options=n||Is}preprocess(n){return n}postprocess(n){return n}processAllTokens(n){return n}}We(Qi,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens"]));var Ds,yf,Ug;class Qx{constructor(...n){ye(this,Ds);We(this,"defaults",Hf());We(this,"options",this.setOptions);We(this,"parse",Ae(this,Ds,yf).call(this,Vn.lex,Qn.parse));We(this,"parseInline",Ae(this,Ds,yf).call(this,Vn.lexInline,Qn.parseInline));We(this,"Parser",Qn);We(this,"Renderer",$l);We(this,"TextRenderer",Wf);We(this,"Lexer",Vn);We(this,"Tokenizer",Il);We(this,"Hooks",Qi);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 $l(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 Il(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 Qi;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];Qi.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 Vn.lex(n,r??this.defaults)}parser(n,r){return Qn.parse(n,r??this.defaults)}}Ds=new WeakSet,yf=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=Ae(this,Ds,Ug).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)}}},Ug=function(n,r){return i=>{if(i.message+=`
239
+ Please report this to https://github.com/markedjs/marked.`,n){const a="<p>An error occurred:</p><pre>"+un(i.message+"",!0)+"</pre>";return r?Promise.resolve(a):a}if(r)return Promise.reject(i);throw i}};const Ls=new Qx;function $e(s,n){return Ls.parse(s,n)}$e.options=$e.setOptions=function(s){return Ls.setOptions(s),$e.defaults=Ls.defaults,Rg($e.defaults),$e};$e.getDefaults=Hf;$e.defaults=Is;$e.use=function(...s){return Ls.use(...s),$e.defaults=Ls.defaults,Rg($e.defaults),$e};$e.walkTokens=function(s,n){return Ls.walkTokens(s,n)};$e.parseInline=Ls.parseInline;$e.Parser=Qn;$e.parser=Qn.parse;$e.Renderer=$l;$e.TextRenderer=Wf;$e.Lexer=Vn;$e.lexer=Vn.lex;$e.Tokenizer=Il;$e.Hooks=Qi;$e.parse=$e;$e.options;$e.setOptions;$e.use;$e.walkTokens;$e.parseInline;Qn.parse;Vn.lex;/*! @license DOMPurify 3.4.12 | (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.12/LICENSE */function nm(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 Wx(s){if(Array.isArray(s))return s}function Kx(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 Xx(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
240
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Yx(s,n){return Wx(s)||Kx(s,n)||Zx(s,n)||Xx()}function Zx(s,n){if(s){if(typeof s=="string")return nm(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)?nm(s,n):void 0}}const Hg=Object.entries,rm=Object.setPrototypeOf,Jx=Object.isFrozen,ew=Object.getPrototypeOf,tw=Object.getOwnPropertyDescriptor;let Tt=Object.freeze,Et=Object.seal,Eo=Object.create,Bg=typeof Reflect<"u"&&Reflect,vf=Bg.apply,xf=Bg.construct;Tt||(Tt=function(n){return n});Et||(Et=function(n){return n});vf||(vf=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)});xf||(xf=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 ko=ft(Array.prototype.forEach),nw=ft(Array.prototype.lastIndexOf),sm=ft(Array.prototype.pop),So=ft(Array.prototype.push),rw=ft(Array.prototype.splice),Br=Array.isArray,Gi=ft(String.prototype.toLowerCase),Fu=ft(String.prototype.toString),om=ft(String.prototype.match),Ui=ft(String.prototype.replace),im=ft(String.prototype.indexOf),sw=ft(String.prototype.trim),ow=ft(Number.prototype.toString),iw=ft(Boolean.prototype.toString),am=typeof BigInt>"u"?null:ft(BigInt.prototype.toString),lm=typeof Symbol>"u"?null:ft(Symbol.prototype.toString),wt=ft(Object.prototype.hasOwnProperty),Hi=ft(Object.prototype.toString),xt=ft(RegExp.prototype.test),bs=aw(TypeError);function ft(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 vf(s,n,i)}}function aw(s){return function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return xf(s,r)}}function Pe(s,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Gi;if(rm&&rm(s,null),!Br(n))return s;let i=n.length;for(;i--;){let a=n[i];if(typeof a=="string"){const c=r(a);c!==a&&(Jx(n)||(n[i]=c),a=c)}s[a]=!0}return s}function lw(s){for(let n=0;n<s.length;n++)wt(s,n)||(s[n]=null);return s}function $t(s){const n=Eo(null);for(const i of Hg(s)){var r=Yx(i,2);const a=r[0],c=r[1];wt(s,a)&&(Br(c)?n[a]=lw(c):c&&typeof c=="object"&&c.constructor===Object?n[a]=$t(c):n[a]=c)}return n}function cw(s){switch(typeof s){case"string":return s;case"number":return ow(s);case"boolean":return iw(s);case"bigint":return am?am(s):"0";case"symbol":return lm?lm(s):"Symbol()";case"undefined":return Hi(s);case"function":case"object":{if(s===null)return Hi(s);const n=s,r=Hn(n,"toString");if(typeof r=="function"){const i=r(n);return typeof i=="string"?i:Hi(i)}return Hi(s)}default:return Hi(s)}}function Hn(s,n){for(;s!==null;){const i=tw(s,n);if(i){if(i.get)return ft(i.get);if(typeof i.value=="function")return ft(i.value)}s=ew(s)}function r(){return null}return r}function uw(s){try{return xt(s,""),!0}catch{return!1}}const cm=Tt(["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"]),$u=Tt(["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"]),zu=Tt(["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"]),fw=Tt(["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"]),Uu=Tt(["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"]),dw=Tt(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),um=Tt(["#text"]),fm=Tt(["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"]),Hu=Tt(["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","dominant-baseline","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-orientation","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"]),dm=Tt(["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=Tt(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),hw=Et(/{{[\w\W]*|^[\w\W]*}}/g),pw=Et(/<%[\w\W]*|^[\w\W]*%>/g),mw=Et(/\${[\w\W]*/g),gw=Et(/^data-[\-\w.\u00B7-\uFFFF]+$/),yw=Et(/^aria-[\-\w]+$/),hm=Et(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),vw=Et(/^(?:\w+script|data):/i),xw=Et(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ww=Et(/^html$/i),bw=Et(/^[a-z][.\w]*(-[.\w]+)+$/i),pm=Et(/<[/\w!]/g),mm=Et(/<[/\w]/g),kw=Et(/<\/no(script|embed|frames)/i),Sw=Et(/\/>/i),an={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},_w=function(){return typeof window>"u"?null:window},Tw=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}},gm=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},Ur=function(n,r,i,a){return wt(n,r)&&Br(n[r])?Pe(a.base?$t(a.base):{},n[r],a.transform):i};function qg(){let s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:_w();const n=te=>qg(te);if(n.version="3.4.12",n.removed=[],!s||!s.document||s.document.nodeType!==an.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=Hn(w,"cloneNode"),P=Hn(w,"remove"),T=Hn(w,"nextSibling"),C=Hn(w,"childNodes"),O=Hn(w,"parentNode"),E=Hn(w,"shadowRoot"),_=Hn(w,"attributes"),N=u&&u.prototype?Hn(u.prototype,"nodeType"):null,D=u&&u.prototype?Hn(u.prototype,"nodeName"):null;if(typeof c=="function"){const te=r.createElement("template");te.content&&te.content.ownerDocument&&(r=te.content.ownerDocument)}let F,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 F.createHTML(b)}finally{I--}},z=function(b){se(),I++;try{return F.createScriptURL(b)}finally{I--}},q=function(){return Q||(V=Tw(y,a),Q=!0),V},re=r,me=re.implementation,le=re.createNodeIterator,K=re.createDocumentFragment,oe=re.getElementsByTagName,ee=i.importNode;let A=gm();n.isSupported=typeof Hg=="function"&&typeof O=="function"&&me&&me.createHTMLDocument!==void 0;const W=hw,ke=pw,ge=mw,Ne=gw,Ee=yw,je=vw,Se=xw,Oe=bw;let Ue=hm,Re=null;const Ut=Pe({},[...cm,...$u,...zu,...Uu,...um]);let Te=null;const rt=Pe({},[...fm,...Hu,...dm,...Tl]);let De=Object.seal(Eo(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}})),dt=null,yr=null;const en=Object.seal(Eo(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let zs=!0,Xn=!0,Yn=!1,Us=!0,bn=!1,kn=!0,Mn=!1,Hs=!1,es=null,vr=null,Bs=!1,dn=!1,Pn=!1,qs=!1,Wo=!0,Ko=!1;const ha="user-content-";let ts=!0,ns=!1,Ln={},Ht=null;const rs=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 Zn=null;const Jn=Pe({},["audio","video","img","source","image","track"]);let Gs=null;const Xo=Pe({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ss="http://www.w3.org/1998/Math/MathML",os="http://www.w3.org/2000/svg",tn="http://www.w3.org/1999/xhtml";let Dn=tn,Vs=!1,er=null;const Yo=Pe({},[ss,os,tn],Fu),xr=Tt(["mi","mo","mn","ms","mtext"]);let Zo=Pe({},xr);const wr=Tt(["annotation-xml"]);let br=Pe({},wr);const Qs=Pe({},["title","style","font","a","script"]);let tr=null;const Wl=["application/xhtml+xml","text/html"],Kl="text/html";let qe=null,Bt=null;const pa=r.createElement("form"),Jo=function(b){return b instanceof RegExp||b instanceof Function},ei=function(){let b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Bt&&Bt===b)return;(!b||typeof b!="object")&&(b={}),b=$t(b),tr=Wl.indexOf(b.PARSER_MEDIA_TYPE)===-1?Kl:b.PARSER_MEDIA_TYPE,qe=tr==="application/xhtml+xml"?Fu:Gi,Re=Ur(b,"ALLOWED_TAGS",Ut,{transform:qe}),Te=Ur(b,"ALLOWED_ATTR",rt,{transform:qe}),er=Ur(b,"ALLOWED_NAMESPACES",Yo,{transform:Fu}),Gs=Ur(b,"ADD_URI_SAFE_ATTR",Xo,{transform:qe,base:Xo}),Zn=Ur(b,"ADD_DATA_URI_TAGS",Jn,{transform:qe,base:Jn}),Ht=Ur(b,"FORBID_CONTENTS",rs,{transform:qe}),dt=Ur(b,"FORBID_TAGS",$t({}),{transform:qe}),yr=Ur(b,"FORBID_ATTR",$t({}),{transform:qe}),Ln=wt(b,"USE_PROFILES")?b.USE_PROFILES&&typeof b.USE_PROFILES=="object"?$t(b.USE_PROFILES):b.USE_PROFILES:!1,zs=b.ALLOW_ARIA_ATTR!==!1,Xn=b.ALLOW_DATA_ATTR!==!1,Yn=b.ALLOW_UNKNOWN_PROTOCOLS||!1,Us=b.ALLOW_SELF_CLOSE_IN_ATTR!==!1,bn=b.SAFE_FOR_TEMPLATES||!1,kn=b.SAFE_FOR_XML!==!1,Mn=b.WHOLE_DOCUMENT||!1,dn=b.RETURN_DOM||!1,Pn=b.RETURN_DOM_FRAGMENT||!1,qs=b.RETURN_TRUSTED_TYPE||!1,Bs=b.FORCE_BODY||!1,Wo=b.SANITIZE_DOM!==!1,Ko=b.SANITIZE_NAMED_PROPS||!1,ts=b.KEEP_CONTENT!==!1,ns=b.IN_PLACE||!1,Ue=uw(b.ALLOWED_URI_REGEXP)?b.ALLOWED_URI_REGEXP:hm,Dn=typeof b.NAMESPACE=="string"?b.NAMESPACE:tn,Zo=wt(b,"MATHML_TEXT_INTEGRATION_POINTS")&&b.MATHML_TEXT_INTEGRATION_POINTS&&typeof b.MATHML_TEXT_INTEGRATION_POINTS=="object"?$t(b.MATHML_TEXT_INTEGRATION_POINTS):Pe({},xr),br=wt(b,"HTML_INTEGRATION_POINTS")&&b.HTML_INTEGRATION_POINTS&&typeof b.HTML_INTEGRATION_POINTS=="object"?$t(b.HTML_INTEGRATION_POINTS):Pe({},wr);const H=wt(b,"CUSTOM_ELEMENT_HANDLING")&&b.CUSTOM_ELEMENT_HANDLING&&typeof b.CUSTOM_ELEMENT_HANDLING=="object"?$t(b.CUSTOM_ELEMENT_HANDLING):Eo(null);if(De=Eo(null),wt(H,"tagNameCheck")&&Jo(H.tagNameCheck)&&(De.tagNameCheck=H.tagNameCheck),wt(H,"attributeNameCheck")&&Jo(H.attributeNameCheck)&&(De.attributeNameCheck=H.attributeNameCheck),wt(H,"allowCustomizedBuiltInElements")&&typeof H.allowCustomizedBuiltInElements=="boolean"&&(De.allowCustomizedBuiltInElements=H.allowCustomizedBuiltInElements),Et(De),bn&&(Xn=!1),Pn&&(dn=!0),Ln&&(Re=Pe({},um),Te=Eo(null),Ln.html===!0&&(Pe(Re,cm),Pe(Te,fm)),Ln.svg===!0&&(Pe(Re,$u),Pe(Te,Hu),Pe(Te,Tl)),Ln.svgFilters===!0&&(Pe(Re,zu),Pe(Te,Hu),Pe(Te,Tl)),Ln.mathMl===!0&&(Pe(Re,Uu),Pe(Te,dm),Pe(Te,Tl))),en.tagCheck=null,en.attributeCheck=null,wt(b,"ADD_TAGS")&&(typeof b.ADD_TAGS=="function"?en.tagCheck=b.ADD_TAGS:Br(b.ADD_TAGS)&&(Re===Ut&&(Re=$t(Re)),Pe(Re,b.ADD_TAGS,qe))),wt(b,"ADD_ATTR")&&(typeof b.ADD_ATTR=="function"?en.attributeCheck=b.ADD_ATTR:Br(b.ADD_ATTR)&&(Te===rt&&(Te=$t(Te)),Pe(Te,b.ADD_ATTR,qe))),wt(b,"ADD_URI_SAFE_ATTR")&&Br(b.ADD_URI_SAFE_ATTR)&&Pe(Gs,b.ADD_URI_SAFE_ATTR,qe),wt(b,"FORBID_CONTENTS")&&Br(b.FORBID_CONTENTS)&&(Ht===rs&&(Ht=$t(Ht)),Pe(Ht,b.FORBID_CONTENTS,qe)),wt(b,"ADD_FORBID_CONTENTS")&&Br(b.ADD_FORBID_CONTENTS)&&(Ht===rs&&(Ht=$t(Ht)),Pe(Ht,b.ADD_FORBID_CONTENTS,qe)),ts&&(Re["#text"]=!0),Mn&&Pe(Re,["html","head","body"]),Re.table&&(Pe(Re,["tbody"]),delete dt.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 X=F;F=b.TRUSTED_TYPES_POLICY;try{G=L("")}catch(ue){throw F=X,ue}}else b.TRUSTED_TYPES_POLICY===null?(F=void 0,G=""):(F===void 0&&(F=q()),F&&typeof G=="string"&&(G=L("")));Tt&&Tt(b),Bt=b},ti=Pe({},[...$u,...zu,...fw]),ni=Pe({},[...Uu,...dw]),ma=function(b,H,X){return H.namespaceURI===tn?b==="svg":H.namespaceURI===ss?b==="svg"&&(X==="annotation-xml"||Zo[X]):!!ti[b]},ga=function(b,H,X){return H.namespaceURI===tn?b==="math":H.namespaceURI===os?b==="math"&&br[X]:!!ni[b]},Xl=function(b,H,X){return H.namespaceURI===os&&!br[X]||H.namespaceURI===ss&&!Zo[X]?!1:!ni[b]&&(Qs[b]||!ti[b])},Yl=function(b){let H=O(b);(!H||!H.tagName)&&(H={namespaceURI:Dn,tagName:"template"});const X=Gi(b.tagName),ue=Gi(H.tagName);return er[b.namespaceURI]?b.namespaceURI===os?ma(X,H,ue):b.namespaceURI===ss?ga(X,H,ue):b.namespaceURI===tn?Xl(X,H,ue):!!(tr==="application/xhtml+xml"&&er[b.namespaceURI]):!1},Fe=function(b){So(n.removed,{element:b});try{O(b).removeChild(b)}catch{if(P(b),!O(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")}},Ws=function(b){kr(b);const H=C(b);if(H){const ue=[];ko(H,ve=>{So(ue,ve)}),ko(ue,ve=>{try{P(ve)}catch{}})}const X=_(b);if(X)for(let ue=X.length-1;ue>=0;--ue){const ve=X[ue],be=ve&&ve.name;if(typeof be=="string")try{b.removeAttribute(be)}catch{}}},Sn=function(b,H){try{So(n.removed,{attribute:H.getAttributeNode(b),from:H})}catch{So(n.removed,{attribute:null,from:H})}if(H.removeAttribute(b),b==="is")if(dn||Pn)try{Fe(H)}catch{}else try{H.setAttribute(b,"")}catch{}},ya=function(b){const H=_(b);if(H)for(let X=H.length-1;X>=0;--X){const ue=H[X],ve=ue&&ue.name;if(!(typeof ve!="string"||Te[qe(ve)]))try{b.removeAttribute(ve)}catch{}}},kr=function(b){const H=[b];for(;H.length>0;){const X=H.pop();(N?N(X):X.nodeType)===an.element&&ya(X);const ve=C(X);if(ve)for(let be=ve.length-1;be>=0;--be)H.push(ve[be])}},Zl=function(b){if(!kn)return;const H=[b];for(;H.length>0;){const X=H.pop(),ue=N?N(X):X.nodeType;if(ue===an.processingInstruction||ue===an.comment&&xt(mm,X.data)){try{P(X)}catch{}continue}if(ue===an.element){const be=X,Ge=qe(D?D(X):X.nodeName);try{be.hasAttribute&&be.hasAttribute("patchsrc")&&be.removeAttribute("patchsrc"),be.hasAttribute&&be.hasAttribute("for")&&Ge!=="label"&&Ge!=="output"&&be.removeAttribute("for")}catch{}}const ve=C(X);if(ve)for(let be=ve.length-1;be>=0;--be)H.push(ve[be])}},ri=function(b){let H=null,X=null;if(Bs)b="<remove></remove>"+b;else{const be=om(b,/^[\r\n\t ]+/);X=be&&be[0]}tr==="application/xhtml+xml"&&Dn===tn&&(b='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+b+"</body></html>");const ue=F?L(b):b;if(Dn===tn)try{H=new v().parseFromString(ue,tr)}catch{}if(!H||!H.documentElement){H=me.createDocument(Dn,"template",null);try{H.documentElement.innerHTML=Vs?G:ue}catch{}}const ve=H.body||H.documentElement;return b&&X&&ve.insertBefore(r.createTextNode(X),ve.childNodes[0]||null),Dn===tn?oe.call(H,Mn?"html":"body")[0]:Mn?H.documentElement:ve},is=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)},Lt=function(b){return b=Ui(b,W," "),b=Ui(b,ke," "),b=Ui(b,ge," "),b},si=function(b){var H;b.normalize();const X=le.call(b.ownerDocument||b,b,p.SHOW_TEXT|p.SHOW_COMMENT|p.SHOW_CDATA_SECTION|p.SHOW_PROCESSING_INSTRUCTION,null);let ue=X.nextNode();for(;ue;)ue.data=Lt(ue.data),ue=X.nextNode();const ve=(H=b.querySelectorAll)===null||H===void 0?void 0:H.call(b,"template");ve&&ko(ve,be=>{Sr(be.content)&&si(be.content)})},Nt=function(b){const H=D?D(b):null;return typeof H!="string"||qe(H)!=="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)},Sr=function(b){if(!N||typeof b!="object"||b===null)return!1;try{return N(b)===an.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 hn(te,b,H){te.length!==0&&ko(te,X=>{X.call(n,b,H,Bt)})}const Ks=function(b,H){return!!(kn&&b.hasChildNodes()&&!as(b.firstElementChild)&&xt(pm,b.textContent)&&xt(pm,b.innerHTML)||kn&&b.namespaceURI===tn&&H==="style"&&as(b.firstElementChild)||b.nodeType===an.processingInstruction||kn&&b.nodeType===an.comment&&xt(mm,b.data))},Xs=function(b,H){if(!dt[H]&&va(H)&&(De.tagNameCheck instanceof RegExp&&xt(De.tagNameCheck,H)||De.tagNameCheck instanceof Function&&De.tagNameCheck(H)))return!1;if(ts&&!Ht[H]){const X=O(b),ue=C(b);if(ue&&X){const ve=ue.length;for(let be=ve-1;be>=0;--be){const Ge=ns?ue[be]:k(ue[be],!0);X.insertBefore(Ge,T(b))}}}return Fe(b),!0},_r=function(b,H){if(hn(A.beforeSanitizeElements,b,null),b!==H&&O(b)===null)return!0;if(Nt(b))return Fe(b),!0;const X=qe(D?D(b):b.nodeName);if(hn(A.uponSanitizeElement,b,{tagName:X,allowedTags:Re}),b!==H&&O(b)===null)return!0;if(Ks(b,X))return Fe(b),!0;if(dt[X]||!(en.tagCheck instanceof Function&&en.tagCheck(X))&&!Re[X]){const ve=Xs(b,X);return ve===!1&&hn(A.afterSanitizeElements,b,null),ve}if((N?N(b):b.nodeType)===an.element&&!Yl(b)||(X==="noscript"||X==="noembed"||X==="noframes")&&xt(kw,b.innerHTML))return Fe(b),!0;if(bn&&b.nodeType===an.text){const ve=Lt(b.textContent);b.textContent!==ve&&(So(n.removed,{element:b.cloneNode()}),b.textContent=ve)}return hn(A.afterSanitizeElements,b,null),!1},ls=function(b,H,X){if(yr[H]||kn&&H==="patchsrc"||kn&&H==="for"&&b!=="label"&&b!=="output"||Wo&&(H==="id"||H==="name")&&(X in r||X in pa))return!1;const ue=Te[H]||en.attributeCheck instanceof Function&&en.attributeCheck(H,b);if(!(Xn&&xt(Ne,H))){if(!(zs&&xt(Ee,H))){if(ue){if(!Gs[H]){if(!xt(Ue,Ui(X,Se,""))){if(!((H==="src"||H==="xlink:href"||H==="href")&&b!=="script"&&im(X,"data:")===0&&Zn[b])){if(!(Yn&&!xt(je,Ui(X,Se,"")))){if(X)return!1}}}}}else if(!(va(b)&&(De.tagNameCheck instanceof RegExp&&xt(De.tagNameCheck,b)||De.tagNameCheck instanceof Function&&De.tagNameCheck(b))&&(De.attributeNameCheck instanceof RegExp&&xt(De.attributeNameCheck,H)||De.attributeNameCheck instanceof Function&&De.attributeNameCheck(H,b))||H==="is"&&De.allowCustomizedBuiltInElements&&(De.tagNameCheck instanceof RegExp&&xt(De.tagNameCheck,X)||De.tagNameCheck instanceof Function&&De.tagNameCheck(X))))return!1}}return!0},Jl=Pe({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),va=function(b){return!Jl[Gi(b)]&&xt(Oe,b)},oi=function(b,H,X,ue){if(F&&typeof y=="object"&&typeof y.getAttributeType=="function"&&!X)switch(y.getAttributeType(b,H)){case"TrustedHTML":return L(ue);case"TrustedScriptURL":return z(ue)}return ue},xa=function(b,H,X,ue){try{X?b.setAttributeNS(X,H,ue):b.setAttribute(H,ue),Nt(b)?Fe(b):sm(n.removed)}catch{Sn(H,b)}},Ys=function(b){hn(A.beforeSanitizeAttributes,b,null);const H=b.attributes;if(!H||Nt(b))return;const X={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Te,forceKeepAttr:void 0};let ue=H.length;const ve=qe(b.nodeName);for(;ue--;){const be=H[ue],Ge=be.name,lt=be.namespaceURI,At=be.value,et=qe(Ge),ct=At;let Ye=Ge==="value"?ct:sw(ct);if(X.attrName=et,X.attrValue=Ye,X.keepAttr=!0,X.forceKeepAttr=void 0,hn(A.uponSanitizeAttribute,b,X),Ye=X.attrValue,Ko&&(et==="id"||et==="name")&&im(Ye,ha)!==0&&(Sn(Ge,b),Ye=ha+Ye),kn&&xt(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,Ye)){Sn(Ge,b);continue}if(et==="attributename"&&om(Ye,"href")){Sn(Ge,b);continue}if(!X.forceKeepAttr){if(!X.keepAttr){Sn(Ge,b);continue}if(!Us&&xt(Sw,Ye)){Sn(Ge,b);continue}if(bn&&(Ye=Lt(Ye)),!ls(ve,et,Ye)){Sn(Ge,b);continue}Ye=oi(ve,et,lt,Ye),Ye!==ct&&xa(b,Ge,lt,Ye)}}hn(A.afterSanitizeAttributes,b,null)},In=function(b){let H=null;const X=is(b);for(hn(A.beforeSanitizeShadowDOM,b,null);H=X.nextNode();)if(hn(A.uponSanitizeShadowNode,H,null),_r(H,b),Ys(H),Sr(H.content)&&In(H.content),(N?N(H):H.nodeType)===an.element){const ve=E(H);Sr(ve)&&(ii(ve),In(ve))}hn(A.afterSanitizeShadowDOM,b,null)},ii=function(b){const H=[{node:b,shadow:null}];for(;H.length>0;){const X=H.pop();if(X.shadow){In(X.shadow);continue}const ue=X.node,be=(N?N(ue):ue.nodeType)===an.element,Ge=C(ue);if(Ge)for(let lt=Ge.length-1;lt>=0;--lt)H.push({node:Ge[lt],shadow:null});if(be){const lt=D?D(ue):null;if(typeof lt=="string"&&qe(lt)==="template"){const At=ue.content;Sr(At)&&H.push({node:At,shadow:null})}}if(be){const lt=E(ue);Sr(lt)&&H.push({node:null,shadow:lt},{node:lt,shadow:null})}}};return n.sanitize=function(te){let b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},H=null,X=null,ue=null,ve=null;if(Vs=!te,Vs&&(te="<!-->"),typeof te!="string"&&!as(te)&&(te=cw(te),typeof te!="string"))throw bs("dirty is not a string, aborting");if(!n.isSupported)return te;Hs?(Re=es,Te=vr):ei(b),(A.uponSanitizeElement.length>0||A.uponSanitizeAttribute.length>0)&&(Re=$t(Re)),A.uponSanitizeAttribute.length>0&&(Te=$t(Te)),n.removed=[];const be=ns&&typeof te!="string"&&as(te);if(be){Zl(te);const et=D?D(te):te.nodeName;if(typeof et=="string"){const ct=qe(et);if(!Re[ct]||dt[ct])throw Ws(te),bs("root node is forbidden and cannot be sanitized in-place")}if(Nt(te))throw Ws(te),bs("root node is clobbered and cannot be sanitized in-place");try{ii(te)}catch(ct){throw Ws(te),ct}}else if(as(te))H=ri("<!---->"),X=H.ownerDocument.importNode(te,!0),X.nodeType===an.element&&X.nodeName==="BODY"||X.nodeName==="HTML"?H=X:H.appendChild(X),ii(X);else{if(!dn&&!bn&&!Mn&&te.indexOf("<")===-1)return F&&qs?L(te):te;if(H=ri(te),!H)return dn?null:qs?G:""}H&&Bs&&Fe(H.firstChild);const Ge=be?te:H,lt=is(Ge);try{for(;ue=lt.nextNode();)_r(ue,Ge),Ys(ue),Sr(ue.content)&&In(ue.content)}catch(et){throw be&&(Ws(te),ko(n.removed,ct=>{ct.element&&kr(ct.element)})),et}if(be)return ko(n.removed,et=>{et.element&&kr(et.element)}),bn&&si(te),te;if(dn){if(bn&&si(H),Pn)for(ve=K.call(H.ownerDocument);H.firstChild;)ve.appendChild(H.firstChild);else ve=H;return(Te.shadowroot||Te.shadowrootmode)&&(ve=ee.call(i,ve,!0)),ve}let At=Mn?H.outerHTML:H.innerHTML;return Mn&&Re["!doctype"]&&H.ownerDocument&&H.ownerDocument.doctype&&H.ownerDocument.doctype.name&&xt(ww,H.ownerDocument.doctype.name)&&(At="<!DOCTYPE "+H.ownerDocument.doctype.name+`>
241
+ `+At),bn&&(At=Lt(At)),F&&qs?L(At):At},n.setConfig=function(){let te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ei(te),Hs=!0,es=Re,vr=Te},n.clearConfig=function(){Bt=null,Hs=!1,es=null,vr=null,F=V,G=""},n.isValidAttribute=function(te,b,H){Bt||ei({});const X=qe(te),ue=qe(b);return ls(X,ue,H)},n.addHook=function(te,b){typeof b=="function"&&wt(A,te)&&So(A[te],b)},n.removeHook=function(te,b){if(wt(A,te)){if(b!==void 0){const H=nw(A[te],b);return H===-1?void 0:rw(A[te],H,1)[0]}return sm(A[te])}},n.removeHooks=function(te){wt(A,te)&&(A[te]=[])},n.removeAllHooks=function(){A=gm()},n}var Kf=qg();$e.setOptions({gfm:!0,breaks:!0});function Ew(s){const n=$e.parse(s,{async:!1});return Kf.sanitize(n,{ADD_ATTR:["target","rel"]})}function Nw(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 ua({title:s,timestamp:n,children:r,headerRight:i,isNew:a,dense:c,tint:u="none"}){return m.jsxs("div",{className:Jt("border border-base-300/60 rounded-md overflow-hidden",u==="user"?"bg-info/5":"ll-surface",a&&"message-new"),children:[m.jsxs("div",{className:Jt("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:Nw(n)})]}),r!=null&&m.jsx("div",{className:c?"px-3 py-1.5":"px-3 py-2",children:r})]})}function fa({Icon:s,color:n,bg:r}){return m.jsx("span",{className:Jt("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 wf({source:s,className:n=""}){const r=ie.useMemo(()=>Ew(s),[s]);return m.jsx("div",{className:`ll-prose ${n}`,dangerouslySetInnerHTML:{__html:r}})}function Aw({msg:s,isNew:n}){const r=s.content,i=(r==null?void 0:r.text)??"";return m.jsx(ua,{isNew:n,timestamp:s.timestamp,tint:"user",title:m.jsxs(m.Fragment,{children:[m.jsx(fa,{Icon:F1,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(wf,{source:i}):m.jsx("span",{className:"text-2xs text-base-content/40 italic",children:"(empty)"})})}function Cw({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(ua,{isNew:n,timestamp:s.timestamp,title:m.jsxs(m.Fragment,{children:[m.jsx(fa,{Icon:j1,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(wf,{source:a})}),i?m.jsx(wf,{source:i}):m.jsx("span",{className:"text-2xs text-base-content/40 italic",children:"(empty)"})]})}var Bu={},jn={};const 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="⇌",iC="≡",aC="⩸",lC="⧥",cC="⥱",uC="≓",fC="ℯ",dC="ℰ",hC="≐",pC="⩳",mC="≂",gC="Η",yC="η",vC="Ð",xC="ð",wC="Ë",bC="ë",kC="€",SC="!",_C="∃",TC="∃",EC="ℰ",NC="ⅇ",AC="ⅇ",CC="≒",jC="Ф",RC="ф",OC="♀",MC="ffi",PC="ff",LC="ffl",DC="𝔉",IC="𝔣",FC="fi",$C="◼",zC="▪",UC="fj",HC="♭",BC="fl",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="ℷ",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="ℊ",TR="≳",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="⇔",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="IJ",J3="ij",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="≲",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="↦",j4="↦",R4="↧",O4="↤",M4="↥",P4="▮",L4="⨩",D4="М",I4="м",F4="—",$4="∺",z4="∡",U4=" ",H4="ℳ",B4="𝔐",q4="𝔪",G4="℧",V4="µ",Q4="*",W4="⫰",K4="∣",X4="·",Y4="⊟",Z4="−",J4="∸",eI="⨪",tI="∓",nI="⫛",rI="…",sI="∓",oI="⊧",iI="𝕄",aI="𝕞",lI="∓",cI="𝓂",uI="ℳ",fI="∾",dI="Μ",hI="μ",pI="⊸",mI="⊸",gI="∇",yI="Ń",vI="ń",xI="∠⃒",wI="≉",bI="⩰̸",kI="≋̸",SI="ʼn",_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="​",XI="​",YI="​",ZI="≢",JI="⤨",eF="≂̸",tF="≫",nF="≪",rF=`
242
+ `,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="𝔒",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="⌽",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="⪷",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="𝒴",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="‌",Gg={Aacute:jw,aacute:Rw,Abreve:Ow,abreve:Mw,ac:Pw,acd:Lw,acE:Dw,Acirc:Iw,acirc:Fw,acute:$w,Acy:zw,acy:Uw,AElig:Hw,aelig:Bw,af:qw,Afr:Gw,afr:Vw,Agrave:Qw,agrave:Ww,alefsym:Kw,aleph:Xw,Alpha:Yw,alpha:Zw,Amacr:Jw,amacr:eb,amalg:tb,amp:nb,AMP:rb,andand:sb,And:ob,and:ib,andd:ab,andslope:lb,andv:cb,ang:ub,ange:fb,angle:db,angmsdaa:hb,angmsdab:pb,angmsdac:mb,angmsdad:gb,angmsdae:yb,angmsdaf:vb,angmsdag:xb,angmsdah:wb,angmsd:bb,angrt:kb,angrtvb:Sb,angrtvbd:_b,angsph:Tb,angst:Eb,angzarr:Nb,Aogon:Ab,aogon:Cb,Aopf:jb,aopf:Rb,apacir:Ob,ap:Mb,apE:Pb,ape:Lb,apid:Db,apos:Ib,ApplyFunction:Fb,approx:$b,approxeq:zb,Aring:Ub,aring:Hb,Ascr:Bb,ascr:qb,Assign:Gb,ast:Vb,asymp:Qb,asympeq:Wb,Atilde:Kb,atilde:Xb,Auml:Yb,auml:Zb,awconint:Jb,awint:ek,backcong:tk,backepsilon:nk,backprime:rk,backsim:sk,backsimeq:ok,Backslash:ik,Barv:ak,barvee:lk,barwed:ck,Barwed:uk,barwedge:fk,bbrk:dk,bbrktbrk:hk,bcong:pk,Bcy:mk,bcy:gk,bdquo:yk,becaus:vk,because:xk,Because:wk,bemptyv:bk,bepsi:kk,bernou:Sk,Bernoullis:_k,Beta:Tk,beta:Ek,beth:Nk,between:Ak,Bfr:Ck,bfr:jk,bigcap:Rk,bigcirc:Ok,bigcup:Mk,bigodot:Pk,bigoplus:Lk,bigotimes:Dk,bigsqcup:Ik,bigstar:Fk,bigtriangledown:$k,bigtriangleup:zk,biguplus:Uk,bigvee:Hk,bigwedge:Bk,bkarow:qk,blacklozenge:Gk,blacksquare:Vk,blacktriangle:Qk,blacktriangledown:Wk,blacktriangleleft:Kk,blacktriangleright:Xk,blank:Yk,blk12:Zk,blk14:Jk,blk34:eS,block:tS,bne:nS,bnequiv:rS,bNot:sS,bnot:oS,Bopf:iS,bopf:aS,bot:lS,bottom:cS,bowtie:uS,boxbox:fS,boxdl:dS,boxdL:hS,boxDl:pS,boxDL:mS,boxdr:gS,boxdR:yS,boxDr:vS,boxDR:xS,boxh:wS,boxH:bS,boxhd:kS,boxHd:SS,boxhD:_S,boxHD:TS,boxhu:ES,boxHu:NS,boxhU:AS,boxHU:CS,boxminus:jS,boxplus:RS,boxtimes:OS,boxul:MS,boxuL:PS,boxUl:LS,boxUL:DS,boxur:IS,boxuR:FS,boxUr:$S,boxUR:zS,boxv:US,boxV:HS,boxvh:BS,boxvH:qS,boxVh:GS,boxVH:VS,boxvl:QS,boxvL:WS,boxVl:KS,boxVL:XS,boxvr:YS,boxvR:ZS,boxVr:JS,boxVR:e_,bprime:t_,breve:n_,Breve:r_,brvbar:s_,bscr:o_,Bscr:i_,bsemi:a_,bsim:l_,bsime:c_,bsolb:u_,bsol:f_,bsolhsub:d_,bull:h_,bullet:p_,bump:m_,bumpE:g_,bumpe:y_,Bumpeq:v_,bumpeq:x_,Cacute:w_,cacute:b_,capand:k_,capbrcup:S_,capcap:__,cap:T_,Cap:E_,capcup:N_,capdot:A_,CapitalDifferentialD:C_,caps:j_,caret:R_,caron:O_,Cayleys:M_,ccaps:P_,Ccaron:L_,ccaron:D_,Ccedil:I_,ccedil:F_,Ccirc:$_,ccirc:z_,Cconint:U_,ccups:H_,ccupssm:B_,Cdot:q_,cdot:G_,cedil:V_,Cedilla:Q_,cemptyv:W_,cent:K_,centerdot:X_,CenterDot:Y_,cfr:Z_,Cfr:J_,CHcy:eT,chcy:tT,check:nT,checkmark:rT,Chi:sT,chi:oT,circ:iT,circeq:aT,circlearrowleft:lT,circlearrowright:cT,circledast:uT,circledcirc:fT,circleddash:dT,CircleDot:hT,circledR:pT,circledS:mT,CircleMinus:gT,CirclePlus:yT,CircleTimes:vT,cir:xT,cirE:wT,cire:bT,cirfnint:kT,cirmid:ST,cirscir:_T,ClockwiseContourIntegral:TT,CloseCurlyDoubleQuote:ET,CloseCurlyQuote:NT,clubs:AT,clubsuit:CT,colon:jT,Colon:RT,Colone:OT,colone:MT,coloneq:PT,comma:LT,commat:DT,comp:IT,compfn:FT,complement:$T,complexes:zT,cong:UT,congdot:HT,Congruent:BT,conint:qT,Conint:GT,ContourIntegral:VT,copf:QT,Copf:WT,coprod:KT,Coproduct:XT,copy:YT,COPY:ZT,copysr:JT,CounterClockwiseContourIntegral:eE,crarr:tE,cross:nE,Cross:rE,Cscr:sE,cscr:oE,csub:iE,csube:aE,csup:lE,csupe:cE,ctdot:uE,cudarrl:fE,cudarrr:dE,cuepr:hE,cuesc:pE,cularr:mE,cularrp:gE,cupbrcap:yE,cupcap:vE,CupCap:xE,cup:wE,Cup:bE,cupcup:kE,cupdot:SE,cupor:_E,cups:TE,curarr:EE,curarrm:NE,curlyeqprec:AE,curlyeqsucc:CE,curlyvee:jE,curlywedge:RE,curren:OE,curvearrowleft:ME,curvearrowright:PE,cuvee:LE,cuwed:DE,cwconint:IE,cwint:FE,cylcty:$E,dagger:zE,Dagger:UE,daleth:HE,darr:BE,Darr:qE,dArr:GE,dash:VE,Dashv:QE,dashv:WE,dbkarow:KE,dblac:XE,Dcaron:YE,dcaron:ZE,Dcy:JE,dcy:eN,ddagger:tN,ddarr:nN,DD:rN,dd:sN,DDotrahd:oN,ddotseq:iN,deg:aN,Del:lN,Delta:cN,delta:uN,demptyv:fN,dfisht:dN,Dfr:hN,dfr:pN,dHar:mN,dharl:gN,dharr:yN,DiacriticalAcute:vN,DiacriticalDot:xN,DiacriticalDoubleAcute:wN,DiacriticalGrave:bN,DiacriticalTilde:kN,diam:SN,diamond:_N,Diamond:TN,diamondsuit:EN,diams:NN,die:AN,DifferentialD:CN,digamma:jN,disin:RN,div:ON,divide:MN,divideontimes:PN,divonx:LN,DJcy:DN,djcy:IN,dlcorn:FN,dlcrop:$N,dollar:zN,Dopf:UN,dopf:HN,Dot:BN,dot:qN,DotDot:GN,doteq:VN,doteqdot:QN,DotEqual:WN,dotminus:KN,dotplus:XN,dotsquare:YN,doublebarwedge:ZN,DoubleContourIntegral:JN,DoubleDot:e2,DoubleDownArrow:t2,DoubleLeftArrow:n2,DoubleLeftRightArrow:r2,DoubleLeftTee:s2,DoubleLongLeftArrow:o2,DoubleLongLeftRightArrow:i2,DoubleLongRightArrow:a2,DoubleRightArrow:l2,DoubleRightTee:c2,DoubleUpArrow:u2,DoubleUpDownArrow:f2,DoubleVerticalBar:d2,DownArrowBar:h2,downarrow:p2,DownArrow:m2,Downarrow:g2,DownArrowUpArrow:y2,DownBreve:v2,downdownarrows:x2,downharpoonleft:w2,downharpoonright:b2,DownLeftRightVector:k2,DownLeftTeeVector:S2,DownLeftVectorBar:_2,DownLeftVector:T2,DownRightTeeVector:E2,DownRightVectorBar:N2,DownRightVector:A2,DownTeeArrow:C2,DownTee:j2,drbkarow:R2,drcorn:O2,drcrop:M2,Dscr:P2,dscr:L2,DScy:D2,dscy:I2,dsol:F2,Dstrok:$2,dstrok:z2,dtdot:U2,dtri:H2,dtrif:B2,duarr:q2,duhar:G2,dwangle:V2,DZcy:Q2,dzcy:W2,dzigrarr:K2,Eacute:X2,eacute:Y2,easter:Z2,Ecaron:J2,ecaron:eA,Ecirc:tA,ecirc:nA,ecir:rA,ecolon:sA,Ecy:oA,ecy:iA,eDDot:aA,Edot:lA,edot:cA,eDot:uA,ee:fA,efDot:dA,Efr:hA,efr:pA,eg:mA,Egrave:gA,egrave:yA,egs:vA,egsdot:xA,el:wA,Element:bA,elinters:kA,ell:SA,els:_A,elsdot:TA,Emacr:EA,emacr:NA,empty:AA,emptyset:CA,EmptySmallSquare:jA,emptyv:RA,EmptyVerySmallSquare:OA,emsp13:MA,emsp14:PA,emsp:LA,ENG:DA,eng:IA,ensp:FA,Eogon:$A,eogon:zA,Eopf:UA,eopf:HA,epar:BA,eparsl:qA,eplus:GA,epsi:VA,Epsilon:QA,epsilon:WA,epsiv:KA,eqcirc:XA,eqcolon:YA,eqsim:ZA,eqslantgtr:JA,eqslantless:eC,Equal:tC,equals:nC,EqualTilde:rC,equest:sC,Equilibrium:oC,equiv:iC,equivDD:aC,eqvparsl:lC,erarr:cC,erDot:uC,escr:fC,Escr:dC,esdot:hC,Esim:pC,esim:mC,Eta:gC,eta:yC,ETH:vC,eth:xC,Euml:wC,euml:bC,euro:kC,excl:SC,exist:_C,Exists:TC,expectation:EC,exponentiale:NC,ExponentialE:AC,fallingdotseq:CC,Fcy:jC,fcy:RC,female:OC,ffilig:MC,fflig:PC,ffllig:LC,Ffr:DC,ffr:IC,filig:FC,FilledSmallSquare:$C,FilledVerySmallSquare:zC,fjlig:UC,flat:HC,fllig:BC,fltns:qC,fnof:GC,Fopf:VC,fopf:QC,forall:WC,ForAll:KC,fork:XC,forkv:YC,Fouriertrf:ZC,fpartint:JC,frac12:ej,frac13:tj,frac14:nj,frac15:rj,frac16:sj,frac18:oj,frac23:ij,frac25:aj,frac34:lj,frac35:cj,frac38:uj,frac45:fj,frac56:dj,frac58:hj,frac78:pj,frasl:mj,frown:gj,fscr:yj,Fscr:vj,gacute:xj,Gamma:wj,gamma:bj,Gammad:kj,gammad:Sj,gap:_j,Gbreve:Tj,gbreve:Ej,Gcedil:Nj,Gcirc:Aj,gcirc:Cj,Gcy:jj,gcy:Rj,Gdot:Oj,gdot:Mj,ge:Pj,gE:Lj,gEl:Dj,gel:Ij,geq:Fj,geqq:$j,geqslant:zj,gescc:Uj,ges:Hj,gesdot:Bj,gesdoto:qj,gesdotol:Gj,gesl:Vj,gesles:Qj,Gfr:Wj,gfr:Kj,gg:Xj,Gg:Yj,ggg:Zj,gimel:Jj,GJcy:eR,gjcy:tR,gla:nR,gl:rR,glE:sR,glj:oR,gnap:iR,gnapprox:aR,gne:lR,gnE:cR,gneq:uR,gneqq:fR,gnsim:dR,Gopf:hR,gopf:pR,grave:mR,GreaterEqual:gR,GreaterEqualLess:yR,GreaterFullEqual:vR,GreaterGreater:xR,GreaterLess:wR,GreaterSlantEqual:bR,GreaterTilde:kR,Gscr:SR,gscr:_R,gsim:TR,gsime:ER,gsiml:NR,gtcc:AR,gtcir:CR,gt:jR,GT:RR,Gt:OR,gtdot:MR,gtlPar:PR,gtquest:LR,gtrapprox:DR,gtrarr:IR,gtrdot:FR,gtreqless:$R,gtreqqless:zR,gtrless:UR,gtrsim:HR,gvertneqq:BR,gvnE:qR,Hacek:GR,hairsp:VR,half:QR,hamilt:WR,HARDcy:KR,hardcy:XR,harrcir:YR,harr:ZR,hArr:JR,harrw:e3,Hat:t3,hbar:n3,Hcirc:r3,hcirc:s3,hearts:o3,heartsuit:i3,hellip:a3,hercon:l3,hfr:c3,Hfr:u3,HilbertSpace:f3,hksearow:d3,hkswarow:h3,hoarr:p3,homtht:m3,hookleftarrow:g3,hookrightarrow:y3,hopf:v3,Hopf:x3,horbar:w3,HorizontalLine:b3,hscr:k3,Hscr:S3,hslash:_3,Hstrok:T3,hstrok:E3,HumpDownHump:N3,HumpEqual:A3,hybull:C3,hyphen:j3,Iacute:R3,iacute:O3,ic:M3,Icirc:P3,icirc:L3,Icy:D3,icy:I3,Idot:F3,IEcy:$3,iecy:z3,iexcl:U3,iff:H3,ifr:B3,Ifr:q3,Igrave:G3,igrave:V3,ii:Q3,iiiint:W3,iiint:K3,iinfin:X3,iiota:Y3,IJlig:Z3,ijlig:J3,Imacr:eO,imacr:tO,image:nO,ImaginaryI:rO,imagline:sO,imagpart:oO,imath:iO,Im:aO,imof:lO,imped:cO,Implies:uO,incare:fO,in:"∈",infin:dO,infintie:hO,inodot:pO,intcal:mO,int:gO,Int:yO,integers:vO,Integral:xO,intercal:wO,Intersection:bO,intlarhk:kO,intprod:SO,InvisibleComma:_O,InvisibleTimes:TO,IOcy:EO,iocy:NO,Iogon:AO,iogon:CO,Iopf:jO,iopf:RO,Iota:OO,iota:MO,iprod:PO,iquest:LO,iscr:DO,Iscr:IO,isin:FO,isindot:$O,isinE:zO,isins:UO,isinsv:HO,isinv:BO,it:qO,Itilde:GO,itilde:VO,Iukcy:QO,iukcy:WO,Iuml:KO,iuml:XO,Jcirc:YO,jcirc:ZO,Jcy:JO,jcy:eM,Jfr:tM,jfr:nM,jmath:rM,Jopf:sM,jopf:oM,Jscr:iM,jscr:aM,Jsercy:lM,jsercy:cM,Jukcy:uM,jukcy:fM,Kappa:dM,kappa:hM,kappav:pM,Kcedil:mM,kcedil:gM,Kcy:yM,kcy:vM,Kfr:xM,kfr:wM,kgreen:bM,KHcy:kM,khcy:SM,KJcy:_M,kjcy:TM,Kopf:EM,kopf:NM,Kscr:AM,kscr:CM,lAarr:jM,Lacute:RM,lacute:OM,laemptyv:MM,lagran:PM,Lambda:LM,lambda:DM,lang:IM,Lang:FM,langd:$M,langle:zM,lap:UM,Laplacetrf:HM,laquo:BM,larrb:qM,larrbfs:GM,larr:VM,Larr:QM,lArr:WM,larrfs:KM,larrhk:XM,larrlp:YM,larrpl:ZM,larrsim:JM,larrtl:eP,latail:tP,lAtail:nP,lat:rP,late:sP,lates:oP,lbarr:iP,lBarr:aP,lbbrk:lP,lbrace:cP,lbrack:uP,lbrke:fP,lbrksld:dP,lbrkslu:hP,Lcaron:pP,lcaron:mP,Lcedil:gP,lcedil:yP,lceil:vP,lcub:xP,Lcy:wP,lcy:bP,ldca:kP,ldquo:SP,ldquor:_P,ldrdhar:TP,ldrushar:EP,ldsh:NP,le:AP,lE:CP,LeftAngleBracket:jP,LeftArrowBar:RP,leftarrow:OP,LeftArrow:MP,Leftarrow:PP,LeftArrowRightArrow:LP,leftarrowtail:DP,LeftCeiling:IP,LeftDoubleBracket:FP,LeftDownTeeVector:$P,LeftDownVectorBar:zP,LeftDownVector:UP,LeftFloor:HP,leftharpoondown:BP,leftharpoonup:qP,leftleftarrows:GP,leftrightarrow:VP,LeftRightArrow:QP,Leftrightarrow:WP,leftrightarrows:KP,leftrightharpoons:XP,leftrightsquigarrow:YP,LeftRightVector:ZP,LeftTeeArrow:JP,LeftTee:eL,LeftTeeVector:tL,leftthreetimes:nL,LeftTriangleBar:rL,LeftTriangle:sL,LeftTriangleEqual:oL,LeftUpDownVector:iL,LeftUpTeeVector:aL,LeftUpVectorBar:lL,LeftUpVector:cL,LeftVectorBar:uL,LeftVector:fL,lEg:dL,leg:hL,leq:pL,leqq:mL,leqslant:gL,lescc:yL,les:vL,lesdot:xL,lesdoto:wL,lesdotor:bL,lesg:kL,lesges:SL,lessapprox:_L,lessdot:TL,lesseqgtr:EL,lesseqqgtr:NL,LessEqualGreater:AL,LessFullEqual:CL,LessGreater:jL,lessgtr:RL,LessLess:OL,lesssim:ML,LessSlantEqual:PL,LessTilde:LL,lfisht:DL,lfloor:IL,Lfr:FL,lfr:$L,lg:zL,lgE:UL,lHar:HL,lhard:BL,lharu:qL,lharul:GL,lhblk:VL,LJcy:QL,ljcy:WL,llarr:KL,ll:XL,Ll:YL,llcorner:ZL,Lleftarrow:JL,llhard:eD,lltri:tD,Lmidot:nD,lmidot:rD,lmoustache:sD,lmoust:oD,lnap:iD,lnapprox:aD,lne:lD,lnE:cD,lneq:uD,lneqq:fD,lnsim:dD,loang:hD,loarr:pD,lobrk:mD,longleftarrow:gD,LongLeftArrow:yD,Longleftarrow:vD,longleftrightarrow:xD,LongLeftRightArrow:wD,Longleftrightarrow:bD,longmapsto:kD,longrightarrow:SD,LongRightArrow:_D,Longrightarrow:TD,looparrowleft:ED,looparrowright:ND,lopar:AD,Lopf:CD,lopf:jD,loplus:RD,lotimes:OD,lowast:MD,lowbar:PD,LowerLeftArrow:LD,LowerRightArrow:DD,loz:ID,lozenge:FD,lozf:$D,lpar:zD,lparlt:UD,lrarr:HD,lrcorner:BD,lrhar:qD,lrhard:GD,lrm:VD,lrtri:QD,lsaquo:WD,lscr:KD,Lscr:XD,lsh:YD,Lsh:ZD,lsim:JD,lsime:e4,lsimg:t4,lsqb:n4,lsquo:r4,lsquor:s4,Lstrok:o4,lstrok:i4,ltcc:a4,ltcir:l4,lt:c4,LT:u4,Lt:f4,ltdot:d4,lthree:h4,ltimes:p4,ltlarr:m4,ltquest:g4,ltri:y4,ltrie:v4,ltrif:x4,ltrPar:w4,lurdshar:b4,luruhar:k4,lvertneqq:S4,lvnE:_4,macr:T4,male:E4,malt:N4,maltese:A4,Map:"⤅",map:C4,mapsto:j4,mapstodown:R4,mapstoleft:O4,mapstoup:M4,marker:P4,mcomma:L4,Mcy:D4,mcy:I4,mdash:F4,mDDot:$4,measuredangle:z4,MediumSpace:U4,Mellintrf:H4,Mfr:B4,mfr:q4,mho:G4,micro:V4,midast:Q4,midcir:W4,mid:K4,middot:X4,minusb:Y4,minus:Z4,minusd:J4,minusdu:eI,MinusPlus:tI,mlcp:nI,mldr:rI,mnplus:sI,models:oI,Mopf:iI,mopf:aI,mp:lI,mscr:cI,Mscr:uI,mstpos:fI,Mu:dI,mu:hI,multimap:pI,mumap:mI,nabla:gI,Nacute:yI,nacute:vI,nang:xI,nap:wI,napE:bI,napid:kI,napos:SI,napprox:_I,natural:TI,naturals:EI,natur:NI,nbsp:AI,nbump:CI,nbumpe:jI,ncap:RI,Ncaron:OI,ncaron:MI,Ncedil:PI,ncedil:LI,ncong:DI,ncongdot:II,ncup:FI,Ncy:$I,ncy:zI,ndash:UI,nearhk:HI,nearr:BI,neArr:qI,nearrow:GI,ne:VI,nedot:QI,NegativeMediumSpace:WI,NegativeThickSpace:KI,NegativeThinSpace:XI,NegativeVeryThinSpace:YI,nequiv:ZI,nesear:JI,nesim:eF,NestedGreaterGreater:tF,NestedLessLess:nF,NewLine:rF,nexist:sF,nexists:oF,Nfr:iF,nfr:aF,ngE:lF,nge:cF,ngeq:uF,ngeqq:fF,ngeqslant:dF,nges:hF,nGg:pF,ngsim:mF,nGt:gF,ngt:yF,ngtr:vF,nGtv:xF,nharr:wF,nhArr:bF,nhpar:kF,ni:SF,nis:_F,nisd:TF,niv:EF,NJcy:NF,njcy:AF,nlarr:CF,nlArr:jF,nldr:RF,nlE:OF,nle:MF,nleftarrow:PF,nLeftarrow:LF,nleftrightarrow:DF,nLeftrightarrow:IF,nleq:FF,nleqq:$F,nleqslant:zF,nles:UF,nless:HF,nLl:BF,nlsim:qF,nLt:GF,nlt:VF,nltri:QF,nltrie:WF,nLtv:KF,nmid:XF,NoBreak:YF,NonBreakingSpace:ZF,nopf:JF,Nopf:e$,Not:t$,not:n$,NotCongruent:r$,NotCupCap:s$,NotDoubleVerticalBar:o$,NotElement:i$,NotEqual:a$,NotEqualTilde:l$,NotExists:c$,NotGreater:u$,NotGreaterEqual:f$,NotGreaterFullEqual:d$,NotGreaterGreater:h$,NotGreaterLess:p$,NotGreaterSlantEqual:m$,NotGreaterTilde:g$,NotHumpDownHump:y$,NotHumpEqual:v$,notin:x$,notindot:w$,notinE:b$,notinva:k$,notinvb:S$,notinvc:_$,NotLeftTriangleBar:T$,NotLeftTriangle:E$,NotLeftTriangleEqual:N$,NotLess:A$,NotLessEqual:C$,NotLessGreater:j$,NotLessLess:R$,NotLessSlantEqual:O$,NotLessTilde:M$,NotNestedGreaterGreater:P$,NotNestedLessLess:L$,notni:D$,notniva:I$,notnivb:F$,notnivc:$$,NotPrecedes:z$,NotPrecedesEqual:U$,NotPrecedesSlantEqual:H$,NotReverseElement:B$,NotRightTriangleBar:q$,NotRightTriangle:G$,NotRightTriangleEqual:V$,NotSquareSubset:Q$,NotSquareSubsetEqual:W$,NotSquareSuperset:K$,NotSquareSupersetEqual:X$,NotSubset:Y$,NotSubsetEqual:Z$,NotSucceeds:J$,NotSucceedsEqual:e5,NotSucceedsSlantEqual:t5,NotSucceedsTilde:n5,NotSuperset:r5,NotSupersetEqual:s5,NotTilde:o5,NotTildeEqual:i5,NotTildeFullEqual:a5,NotTildeTilde:l5,NotVerticalBar:c5,nparallel:u5,npar:f5,nparsl:d5,npart:h5,npolint:p5,npr:m5,nprcue:g5,nprec:y5,npreceq:v5,npre:x5,nrarrc:w5,nrarr:b5,nrArr:k5,nrarrw:S5,nrightarrow:_5,nRightarrow:T5,nrtri:E5,nrtrie:N5,nsc:A5,nsccue:C5,nsce:j5,Nscr:R5,nscr:O5,nshortmid:M5,nshortparallel:P5,nsim:L5,nsime:D5,nsimeq:I5,nsmid:F5,nspar:$5,nsqsube:z5,nsqsupe:U5,nsub:H5,nsubE:B5,nsube:q5,nsubset:G5,nsubseteq:V5,nsubseteqq:Q5,nsucc:W5,nsucceq:K5,nsup:X5,nsupE:Y5,nsupe:Z5,nsupset:J5,nsupseteq:ez,nsupseteqq:tz,ntgl:nz,Ntilde:rz,ntilde:sz,ntlg:oz,ntriangleleft:iz,ntrianglelefteq:az,ntriangleright:lz,ntrianglerighteq:cz,Nu:uz,nu:fz,num:dz,numero:hz,numsp:pz,nvap:mz,nvdash:gz,nvDash:yz,nVdash:vz,nVDash:xz,nvge:wz,nvgt:bz,nvHarr:kz,nvinfin:Sz,nvlArr:_z,nvle:Tz,nvlt:Ez,nvltrie:Nz,nvrArr:Az,nvrtrie:Cz,nvsim:jz,nwarhk:Rz,nwarr:Oz,nwArr:Mz,nwarrow:Pz,nwnear:Lz,Oacute:Dz,oacute:Iz,oast:Fz,Ocirc:$z,ocirc:zz,ocir:Uz,Ocy:Hz,ocy:Bz,odash:qz,Odblac:Gz,odblac:Vz,odiv:Qz,odot:Wz,odsold:Kz,OElig:Xz,oelig:Yz,ofcir:Zz,Ofr:Jz,ofr:e8,ogon:t8,Ograve:n8,ograve:r8,ogt:s8,ohbar:o8,ohm:i8,oint:a8,olarr:l8,olcir:c8,olcross:u8,oline:f8,olt:d8,Omacr:h8,omacr:p8,Omega:m8,omega:g8,Omicron:y8,omicron:v8,omid:x8,ominus:w8,Oopf:b8,oopf:k8,opar:S8,OpenCurlyDoubleQuote:_8,OpenCurlyQuote:T8,operp:E8,oplus:N8,orarr:A8,Or:C8,or:j8,ord:R8,order:O8,orderof:M8,ordf:P8,ordm:L8,origof:D8,oror:I8,orslope:F8,orv:$8,oS:z8,Oscr:U8,oscr:H8,Oslash:B8,oslash:q8,osol:G8,Otilde:V8,otilde:Q8,otimesas:W8,Otimes:K8,otimes:X8,Ouml:Y8,ouml:Z8,ovbar:J8,OverBar:e6,OverBrace:t6,OverBracket:n6,OverParenthesis:r6,para:s6,parallel:o6,par:i6,parsim:a6,parsl:l6,part:c6,PartialD:u6,Pcy:f6,pcy:d6,percnt:h6,period:p6,permil:m6,perp:g6,pertenk:y6,Pfr:v6,pfr:x6,Phi:w6,phi:b6,phiv:k6,phmmat:S6,phone:_6,Pi:T6,pi:E6,pitchfork:N6,piv:A6,planck:C6,planckh:j6,plankv:R6,plusacir:O6,plusb:M6,pluscir:P6,plus:L6,plusdo:D6,plusdu:I6,pluse:F6,PlusMinus:$6,plusmn:z6,plussim:U6,plustwo:H6,pm:B6,Poincareplane:q6,pointint:G6,popf:V6,Popf:Q6,pound:W6,prap:K6,Pr:X6,pr:Y6,prcue:Z6,precapprox:J6,prec:eU,preccurlyeq:tU,Precedes:nU,PrecedesEqual:rU,PrecedesSlantEqual:sU,PrecedesTilde:oU,preceq:iU,precnapprox:aU,precneqq:lU,precnsim:cU,pre:uU,prE:fU,precsim:dU,prime:hU,Prime:pU,primes:mU,prnap:gU,prnE:yU,prnsim:vU,prod:xU,Product:wU,profalar:bU,profline:kU,profsurf:SU,prop:_U,Proportional:TU,Proportion:EU,propto:NU,prsim:AU,prurel:CU,Pscr:jU,pscr:RU,Psi:OU,psi:MU,puncsp:PU,Qfr:LU,qfr:DU,qint:IU,qopf:FU,Qopf:$U,qprime:zU,Qscr:UU,qscr:HU,quaternions:BU,quatint:qU,quest:GU,questeq:VU,quot:QU,QUOT:WU,rAarr:KU,race:XU,Racute:YU,racute:ZU,radic:JU,raemptyv:eH,rang:tH,Rang:nH,rangd:rH,range:sH,rangle:oH,raquo:iH,rarrap:aH,rarrb:lH,rarrbfs:cH,rarrc:uH,rarr:fH,Rarr:dH,rArr:hH,rarrfs:pH,rarrhk:mH,rarrlp:gH,rarrpl:yH,rarrsim:vH,Rarrtl:xH,rarrtl:wH,rarrw:bH,ratail:kH,rAtail:SH,ratio:_H,rationals:TH,rbarr:EH,rBarr:NH,RBarr:AH,rbbrk:CH,rbrace:jH,rbrack:RH,rbrke:OH,rbrksld:MH,rbrkslu:PH,Rcaron:LH,rcaron:DH,Rcedil:IH,rcedil:FH,rceil:$H,rcub:zH,Rcy:UH,rcy:HH,rdca:BH,rdldhar:qH,rdquo:GH,rdquor:VH,rdsh:QH,real:WH,realine:KH,realpart:XH,reals:YH,Re:ZH,rect:JH,reg:eB,REG:tB,ReverseElement:nB,ReverseEquilibrium:rB,ReverseUpEquilibrium:sB,rfisht:oB,rfloor:iB,rfr:aB,Rfr:lB,rHar:cB,rhard:uB,rharu:fB,rharul:dB,Rho:hB,rho:pB,rhov:mB,RightAngleBracket:gB,RightArrowBar:yB,rightarrow:vB,RightArrow:xB,Rightarrow:wB,RightArrowLeftArrow:bB,rightarrowtail:kB,RightCeiling:SB,RightDoubleBracket:_B,RightDownTeeVector:TB,RightDownVectorBar:EB,RightDownVector:NB,RightFloor:AB,rightharpoondown:CB,rightharpoonup:jB,rightleftarrows:RB,rightleftharpoons:OB,rightrightarrows:MB,rightsquigarrow:PB,RightTeeArrow:LB,RightTee:DB,RightTeeVector:IB,rightthreetimes:FB,RightTriangleBar:$B,RightTriangle:zB,RightTriangleEqual:UB,RightUpDownVector:HB,RightUpTeeVector:BB,RightUpVectorBar:qB,RightUpVector:GB,RightVectorBar:VB,RightVector:QB,ring:WB,risingdotseq:KB,rlarr:XB,rlhar:YB,rlm:ZB,rmoustache:JB,rmoust:eq,rnmid:tq,roang:nq,roarr:rq,robrk:sq,ropar:oq,ropf:iq,Ropf:aq,roplus:lq,rotimes:cq,RoundImplies:uq,rpar:fq,rpargt:dq,rppolint:hq,rrarr:pq,Rrightarrow:mq,rsaquo:gq,rscr:yq,Rscr:vq,rsh:xq,Rsh:wq,rsqb:bq,rsquo:kq,rsquor:Sq,rthree:_q,rtimes:Tq,rtri:Eq,rtrie:Nq,rtrif:Aq,rtriltri:Cq,RuleDelayed:jq,ruluhar:Rq,rx:Oq,Sacute:Mq,sacute:Pq,sbquo:Lq,scap:Dq,Scaron:Iq,scaron:Fq,Sc:$q,sc:zq,sccue:Uq,sce:Hq,scE:Bq,Scedil:qq,scedil:Gq,Scirc:Vq,scirc:Qq,scnap:Wq,scnE:Kq,scnsim:Xq,scpolint:Yq,scsim:Zq,Scy:Jq,scy:e9,sdotb:t9,sdot:n9,sdote:r9,searhk:s9,searr:o9,seArr:i9,searrow:a9,sect:l9,semi:c9,seswar:u9,setminus:f9,setmn:d9,sext:h9,Sfr:p9,sfr:m9,sfrown:g9,sharp:y9,SHCHcy:v9,shchcy:x9,SHcy:w9,shcy:b9,ShortDownArrow:k9,ShortLeftArrow:S9,shortmid:_9,shortparallel:T9,ShortRightArrow:E9,ShortUpArrow:N9,shy:A9,Sigma:C9,sigma:j9,sigmaf:R9,sigmav:O9,sim:M9,simdot:P9,sime:L9,simeq:D9,simg:I9,simgE:F9,siml:$9,simlE:z9,simne:U9,simplus:H9,simrarr:B9,slarr:q9,SmallCircle:G9,smallsetminus:V9,smashp:Q9,smeparsl:W9,smid:K9,smile:X9,smt:Y9,smte:Z9,smtes:J9,SOFTcy:e7,softcy:t7,solbar:n7,solb:r7,sol:s7,Sopf:o7,sopf:i7,spades:a7,spadesuit:l7,spar:c7,sqcap:u7,sqcaps:f7,sqcup:d7,sqcups:h7,Sqrt:p7,sqsub:m7,sqsube:g7,sqsubset:y7,sqsubseteq:v7,sqsup:x7,sqsupe:w7,sqsupset:b7,sqsupseteq:k7,square:S7,Square:_7,SquareIntersection:T7,SquareSubset:E7,SquareSubsetEqual:N7,SquareSuperset:A7,SquareSupersetEqual:C7,SquareUnion:j7,squarf:R7,squ:O7,squf:M7,srarr:P7,Sscr:L7,sscr:D7,ssetmn:I7,ssmile:F7,sstarf:$7,Star:z7,star:U7,starf:H7,straightepsilon:B7,straightphi:q7,strns:G7,sub:V7,Sub:Q7,subdot:W7,subE:K7,sube:X7,subedot:Y7,submult:Z7,subnE:J7,subne:eG,subplus:tG,subrarr:nG,subset:rG,Subset:sG,subseteq:oG,subseteqq:iG,SubsetEqual:aG,subsetneq:lG,subsetneqq:cG,subsim:uG,subsub:fG,subsup:dG,succapprox:hG,succ:pG,succcurlyeq:mG,Succeeds:gG,SucceedsEqual:yG,SucceedsSlantEqual:vG,SucceedsTilde:xG,succeq:wG,succnapprox:bG,succneqq:kG,succnsim:SG,succsim:_G,SuchThat:TG,sum:EG,Sum:NG,sung:AG,sup1:CG,sup2:jG,sup3:RG,sup:OG,Sup:MG,supdot:PG,supdsub:LG,supE:DG,supe:IG,supedot:FG,Superset:$G,SupersetEqual:zG,suphsol:UG,suphsub:HG,suplarr:BG,supmult:qG,supnE:GG,supne:VG,supplus:QG,supset:WG,Supset:KG,supseteq:XG,supseteqq:YG,supsetneq:ZG,supsetneqq:JG,supsim:eV,supsub:tV,supsup:nV,swarhk:rV,swarr:sV,swArr:oV,swarrow:iV,swnwar:aV,szlig:lV,Tab:cV,target:uV,Tau:fV,tau:dV,tbrk:hV,Tcaron:pV,tcaron:mV,Tcedil:gV,tcedil:yV,Tcy:vV,tcy:xV,tdot:wV,telrec:bV,Tfr:kV,tfr:SV,there4:_V,therefore:TV,Therefore:EV,Theta:NV,theta:AV,thetasym:CV,thetav:jV,thickapprox:RV,thicksim:OV,ThickSpace:MV,ThinSpace:PV,thinsp:LV,thkap:DV,thksim:IV,THORN:FV,thorn:$V,tilde:zV,Tilde:UV,TildeEqual:HV,TildeFullEqual:BV,TildeTilde:qV,timesbar:GV,timesb:VV,times:QV,timesd:WV,tint:KV,toea:XV,topbot:YV,topcir:ZV,top:JV,Topf:eQ,topf:tQ,topfork:nQ,tosa:rQ,tprime:sQ,trade:oQ,TRADE:iQ,triangle:aQ,triangledown:lQ,triangleleft:cQ,trianglelefteq:uQ,triangleq:fQ,triangleright:dQ,trianglerighteq:hQ,tridot:pQ,trie:mQ,triminus:gQ,TripleDot:yQ,triplus:vQ,trisb:xQ,tritime:wQ,trpezium:bQ,Tscr:kQ,tscr:SQ,TScy:_Q,tscy:TQ,TSHcy:EQ,tshcy:NQ,Tstrok:AQ,tstrok:CQ,twixt:jQ,twoheadleftarrow:RQ,twoheadrightarrow:OQ,Uacute:MQ,uacute:PQ,uarr:LQ,Uarr:DQ,uArr:IQ,Uarrocir:FQ,Ubrcy:$Q,ubrcy:zQ,Ubreve:UQ,ubreve:HQ,Ucirc:BQ,ucirc:qQ,Ucy:GQ,ucy:VQ,udarr:QQ,Udblac:WQ,udblac:KQ,udhar:XQ,ufisht:YQ,Ufr:ZQ,ufr:JQ,Ugrave:eW,ugrave:tW,uHar:nW,uharl:rW,uharr:sW,uhblk:oW,ulcorn:iW,ulcorner:aW,ulcrop:lW,ultri:cW,Umacr:uW,umacr:fW,uml:dW,UnderBar:hW,UnderBrace:pW,UnderBracket:mW,UnderParenthesis:gW,Union:yW,UnionPlus:vW,Uogon:xW,uogon:wW,Uopf:bW,uopf:kW,UpArrowBar:SW,uparrow:_W,UpArrow:TW,Uparrow:EW,UpArrowDownArrow:NW,updownarrow:AW,UpDownArrow:CW,Updownarrow:jW,UpEquilibrium:RW,upharpoonleft:OW,upharpoonright:MW,uplus:PW,UpperLeftArrow:LW,UpperRightArrow:DW,upsi:IW,Upsi:FW,upsih:$W,Upsilon:zW,upsilon:UW,UpTeeArrow:HW,UpTee:BW,upuparrows:qW,urcorn:GW,urcorner:VW,urcrop:QW,Uring:WW,uring:KW,urtri:XW,Uscr:YW,uscr:ZW,utdot:JW,Utilde:eK,utilde:tK,utri:nK,utrif:rK,uuarr:sK,Uuml:oK,uuml:iK,uwangle:aK,vangrt:lK,varepsilon:cK,varkappa:uK,varnothing:fK,varphi:dK,varpi:hK,varpropto:pK,varr:mK,vArr:gK,varrho:yK,varsigma:vK,varsubsetneq:xK,varsubsetneqq:wK,varsupsetneq:bK,varsupsetneqq:kK,vartheta:SK,vartriangleleft:_K,vartriangleright:TK,vBar:EK,Vbar:NK,vBarv:AK,Vcy:CK,vcy:jK,vdash:RK,vDash:OK,Vdash:MK,VDash:PK,Vdashl:LK,veebar:DK,vee:IK,Vee:FK,veeeq:$K,vellip:zK,verbar:UK,Verbar:HK,vert:BK,Vert:qK,VerticalBar:GK,VerticalLine:VK,VerticalSeparator:QK,VerticalTilde:WK,VeryThinSpace:KK,Vfr:XK,vfr:YK,vltri:ZK,vnsub:JK,vnsup:eX,Vopf:tX,vopf:nX,vprop:rX,vrtri:sX,Vscr:oX,vscr:iX,vsubnE:aX,vsubne:lX,vsupnE:cX,vsupne:uX,Vvdash:fX,vzigzag:dX,Wcirc:hX,wcirc:pX,wedbar:mX,wedge:gX,Wedge:yX,wedgeq:vX,weierp:xX,Wfr:wX,wfr:bX,Wopf:kX,wopf:SX,wp:_X,wr:TX,wreath:EX,Wscr:NX,wscr:AX,xcap:CX,xcirc:jX,xcup:RX,xdtri:OX,Xfr:MX,xfr:PX,xharr:LX,xhArr:DX,Xi:IX,xi:FX,xlarr:$X,xlArr:zX,xmap:UX,xnis:HX,xodot:BX,Xopf:qX,xopf:GX,xoplus:VX,xotime:QX,xrarr:WX,xrArr:KX,Xscr:XX,xscr:YX,xsqcup:ZX,xuplus:JX,xutri:eY,xvee:tY,xwedge:nY,Yacute:rY,yacute:sY,YAcy:oY,yacy:iY,Ycirc:aY,ycirc:lY,Ycy:cY,ycy:uY,yen:fY,Yfr:dY,yfr:hY,YIcy:pY,yicy:mY,Yopf:gY,yopf:yY,Yscr:vY,yscr:xY,YUcy:wY,yucy:bY,yuml:kY,Yuml:SY,Zacute:_Y,zacute:TY,Zcaron:EY,zcaron:NY,Zcy:AY,zcy:CY,Zdot:jY,zdot:RY,zeetrf:OY,ZeroWidthSpace:MY,Zeta:PY,zeta:LY,zfr:DY,Zfr:IY,ZHcy:FY,zhcy:$Y,zigrarr:zY,zopf:UY,Zopf:HY,Zscr:BY,zscr:qY,zwj:GY,zwnj: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="£",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={Aacute:QY,aacute:WY,Acirc:KY,acirc:XY,acute:YY,AElig:ZY,aelig:JY,Agrave:eZ,agrave:tZ,amp:nZ,AMP:rZ,Aring:sZ,aring:oZ,Atilde:iZ,atilde:aZ,Auml:lZ,auml:cZ,brvbar:uZ,Ccedil:fZ,ccedil:dZ,cedil:hZ,cent:pZ,copy:mZ,COPY:gZ,curren:yZ,deg:vZ,divide:xZ,Eacute:wZ,eacute:bZ,Ecirc:kZ,ecirc:SZ,Egrave:_Z,egrave:TZ,ETH:EZ,eth:NZ,Euml:AZ,euml:CZ,frac12:jZ,frac14:RZ,frac34:OZ,gt:MZ,GT:PZ,Iacute:LZ,iacute:DZ,Icirc:IZ,icirc:FZ,iexcl:$Z,Igrave:zZ,igrave:UZ,iquest:HZ,Iuml:BZ,iuml:qZ,laquo:GZ,lt:VZ,LT:QZ,macr:WZ,micro:KZ,middot:XZ,nbsp:YZ,not:ZZ,Ntilde:JZ,ntilde:eJ,Oacute:tJ,oacute:nJ,Ocirc:rJ,ocirc:sJ,Ograve:oJ,ograve:iJ,ordf:aJ,ordm:lJ,Oslash:cJ,oslash:uJ,Otilde:fJ,otilde:dJ,Ouml:hJ,ouml:pJ,para:mJ,plusmn:gJ,pound:yJ,quot:vJ,QUOT:xJ,raquo:wJ,reg:bJ,REG:kJ,sect:SJ,shy:_J,sup1:TJ,sup2:EJ,sup3:NJ,szlig:AJ,THORN:CJ,thorn:jJ,times:RJ,Uacute:OJ,uacute:MJ,Ucirc:PJ,ucirc:LJ,Ugrave:DJ,ugrave:IJ,uml:FJ,Uuml:$J,uuml:zJ,Yacute:UJ,yacute:HJ,yen:BJ,yuml:qJ},VJ="&",QJ="'",WJ=">",KJ="<",XJ='"',Vg={amp:VJ,apos:QJ,gt:WJ,lt:KJ,quot:XJ};var _o={};const YJ={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 ym;function ZJ(){if(ym)return _o;ym=1;var s=_o&&_o.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(_o,"__esModule",{value:!0});var n=s(YJ),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 _o.default=i,_o}var vm;function xm(){if(vm)return jn;vm=1;var s=jn&&jn.__importDefault||function(g){return g&&g.__esModule?g:{default:g}};Object.defineProperty(jn,"__esModule",{value:!0}),jn.decodeHTML=jn.decodeHTMLStrict=jn.decodeXML=void 0;var n=s(Gg),r=s(GJ),i=s(Vg),a=s(ZJ()),c=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;jn.decodeXML=u(i.default),jn.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};jn.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 T(C){return C.substr(-1)!==";"&&(C+=";"),P(C)}return function(C){return String(C).replace(k,T)}})();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 jn}var Ft={},wm;function bm(){if(wm)return Ft;wm=1;var s=Ft&&Ft.__importDefault||function(O){return O&&O.__esModule?O:{default:O}};Object.defineProperty(Ft,"__esModule",{value:!0}),Ft.escapeUTF8=Ft.escape=Ft.encodeNonAsciiHTML=Ft.encodeHTML=Ft.encodeXML=void 0;var n=s(Vg),r=d(n.default),i=p(r);Ft.encodeXML=C(r);var a=s(Gg),c=d(a.default),u=p(c);Ft.encodeHTML=w(c,u),Ft.encodeNonAsciiHTML=C(c);function d(O){return Object.keys(O).sort().reduce(function(E,_){return E[O[_]]="&"+_+";",E},{})}function p(O){for(var E=[],_=[],N=0,D=Object.keys(O);N<D.length;N++){var F=D[N];F.length===1?E.push("\\"+F):_.push(F)}E.sort();for(var G=0;G<E.length-1;G++){for(var V=G;V<E.length-1&&E[V].charCodeAt(1)+1===E[V+1].charCodeAt(1);)V+=1;var Q=1+V-G;Q<3||E.splice(G,Q,E[G]+"-"+E[V])}return _.unshift("["+E.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(O){return O.codePointAt(0)}:function(O){return(O.charCodeAt(0)-55296)*1024+O.charCodeAt(1)-56320+65536};function y(O){return"&#x"+(O.length>1?v(O):O.charCodeAt(0)).toString(16).toUpperCase()+";"}function w(O,E){return function(_){return _.replace(E,function(N){return O[N]}).replace(g,y)}}var k=new RegExp(i.source+"|"+g.source,"g");function P(O){return O.replace(k,y)}Ft.escape=P;function T(O){return O.replace(i,y)}Ft.escapeUTF8=T;function C(O){return function(E){return E.replace(k,function(_){return O[_]||y(_)})}}return Ft}var km;function JJ(){return km||(km=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=xm(),r=bm();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=bm();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=xm();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}})})(Bu)),Bu}var qu,Sm;function eee(){if(Sm)return qu;Sm=1;function s(L,z){if(!(L instanceof z))throw new TypeError("Cannot call a class as a function")}function n(L,z){for(var q=0;q<z.length;q++){var re=z[q];re.enumerable=re.enumerable||!1,re.configurable=!0,"value"in re&&(re.writable=!0),Object.defineProperty(L,re.key,re)}}function r(L,z,q){return z&&n(L.prototype,z),L}function i(L,z){var q=typeof Symbol<"u"&&L[Symbol.iterator]||L["@@iterator"];if(!q){if(Array.isArray(L)||(q=a(L))||z){q&&(L=q);var re=0,me=function(){};return{s:me,n:function(){return re>=L.length?{done:!0}:{done:!1,value:L[re++]}},e:function(A){throw A},f:me}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
243
+ 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,z){if(L){if(typeof L=="string")return c(L,z);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,z)}}function c(L,z){(z==null||z>L.length)&&(z=L.length);for(var q=0,re=new Array(z);q<z;q++)re[q]=L[q];return re}var u=JJ(),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(z){C(0,5).forEach(function(q){C(0,5).forEach(function(re){return g(z,q,re,L)})})}),C(0,23).forEach(function(z){var q=z+232,re=v(z*10+8);L[q]="#"+re+re+re}),L}function g(L,z,q,re){var me=16+L*36+z*6+q,le=L>0?L*40+55:0,K=z>0?z*40+55:0,oe=q>0?q*40+55:0;re[me]=y([le,K,oe])}function v(L){for(var z=L.toString(16);z.length<2;)z="0"+z;return z}function y(L){var z=[],q=i(L),re;try{for(q.s();!(re=q.n()).done;){var me=re.value;z.push(v(me))}}catch(le){q.e(le)}finally{q.f()}return"#"+z.join("")}function w(L,z,q,re){var me;return z==="text"?me=_(q,re):z==="display"?me=P(L,q,re):z==="xterm256Foreground"?me=F(L,re.colors[q]):z==="xterm256Background"?me=G(L,re.colors[q]):z==="rgb"&&(me=k(L,q)),me}function k(L,z){z=z.substring(2).slice(0,-1);var q=+z.substr(0,2),re=z.substring(5).split(";"),me=re.map(function(le){return("0"+Number(le).toString(16)).substr(-2)}).join("");return D(L,(q===38?"color:#":"background-color:#")+me)}function P(L,z,q){z=parseInt(z,10);var re={"-1":function(){return"<br/>"},0:function(){return L.length&&T(L)},1:function(){return N(L,"b")},3:function(){return N(L,"i")},4:function(){return N(L,"u")},8:function(){return D(L,"display:none")},9:function(){return N(L,"strike")},22:function(){return D(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 F(L,q.fg)},49:function(){return G(L,q.bg)},53:function(){return D(L,"text-decoration:overline")}},me;return re[z]?me=re[z]():4<z&&z<7?me=N(L,"blink"):29<z&&z<38?me=F(L,q.colors[z-30]):39<z&&z<48?me=G(L,q.colors[z-40]):89<z&&z<98?me=F(L,q.colors[8+(z-90)]):99<z&&z<108&&(me=G(L,q.colors[8+(z-100)])),me}function T(L){var z=L.slice(0);return L.length=0,z.reverse().map(function(q){return"</"+q+">"}).join("")}function C(L,z){for(var q=[],re=L;re<=z;re++)q.push(re);return q}function O(L){return function(z){return(L===null||z.category!==L)&&L!=="all"}}function E(L){L=parseInt(L,10);var z=null;return L===0?z="all":L===1?z="bold":2<L&&L<5?z="underline":4<L&&L<7?z="blink":L===8?z="hide":L===9?z="strike":29<L&&L<38||L===39||89<L&&L<98?z="foreground-color":(39<L&&L<48||L===49||99<L&&L<108)&&(z="background-color"),z}function _(L,z){return z.escapeXML?u.encodeXML(L):L}function N(L,z,q){return q||(q=""),L.push(z),"<".concat(z).concat(q?' style="'.concat(q,'"'):"",">")}function D(L,z){return N(L,"span",z)}function F(L,z){return N(L,"span","color:"+z)}function G(L,z){return N(L,"span","background-color:"+z)}function V(L,z){var q;if(L.slice(-1)[0]===z&&(q=L.pop()),q)return"</"+z+">"}function Q(L,z,q){var re=!1,me=3;function le(){return""}function K(Te,rt){return q("xterm256Foreground",rt),""}function oe(Te,rt){return q("xterm256Background",rt),""}function ee(Te){return z.newline?q("display",-1):q("text",Te),""}function A(Te,rt){re=!0,rt.trim().length===0&&(rt="0"),rt=rt.trimRight(";").split(";");var De=i(rt),dt;try{for(De.s();!(dt=De.n()).done;){var yr=dt.value;q("display",yr)}}catch(en){De.e(en)}finally{De.f()}return""}function W(Te){return q("text",Te),""}function ke(Te){return q("rgb",Te),""}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:ke},{pattern:/^\x1b\[38;5;(\d+)m/,sub:K},{pattern:/^\x1b\[48;5;(\d+)m/,sub:oe},{pattern:/^\n/,sub:ee},{pattern:/^\r+\n/,sub:ee},{pattern:/^\r/,sub:ee},{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 Ne(Te,rt){rt>me&&re||(re=!1,L=L.replace(Te.pattern,Te.sub))}var Ee=[],je=L,Se=je.length;e:for(;Se>0;){for(var Oe=0,Ue=0,Re=ge.length;Ue<Re;Oe=++Ue){var Ut=ge[Oe];if(Ne(Ut,Oe),L.length!==Se){Se=L.length;continue e}}if(L.length===Se)break;Ee.push(0),Se=L.length}return Ee}function I(L,z,q){return z!=="text"&&(L=L.filter(O(E(q))),L.push({token:z,data:q,category:E(q)})),L}var se=(function(){function L(z){s(this,L),z=z||{},z.colors&&(z.colors=Object.assign({},d.colors,z.colors)),this.options=Object.assign({},d,z),this.stack=[],this.stickyStack=[]}return r(L,[{key:"toHtml",value:function(q){var re=this;q=typeof q=="string"?[q]:q;var me=this.stack,le=this.options,K=[];return this.stickyStack.forEach(function(oe){var ee=w(me,oe.token,oe.data,le);ee&&K.push(ee)}),Q(q.join(""),le,function(oe,ee){var A=w(me,oe,ee,le);A&&K.push(A),le.stream&&(re.stickyStack=I(re.stickyStack,oe,ee))}),me.length&&K.push(T(me)),K.join("")}}]),L})();return qu=se,qu}var tee=eee();const Qg=Of(tee);var Gu={exports:{}},_m;function nee(){return _m||(_m=1,(function(s){var n=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/**
244
+ * Prism: Lightweight, robust, elegant syntax highlighting
245
+ *
246
+ * @license MIT <https://opensource.org/licenses/MIT>
247
+ * @author Lea Verou <https://lea.verou.me>
248
+ * @namespace
249
+ * @public
250
+ */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 E(_){return _ instanceof p?new p(_.type,E(_.content),_.alias):Array.isArray(_)?_.map(E):_.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(E){return Object.prototype.toString.call(E).slice(8,-1)},objId:function(E){return E.__id||Object.defineProperty(E,"__id",{value:++c}),E.__id},clone:function E(_,N){N=N||{};var D,F;switch(d.util.type(_)){case"Object":if(F=d.util.objId(_),N[F])return N[F];D={},N[F]=D;for(var G in _)_.hasOwnProperty(G)&&(D[G]=E(_[G],N));return D;case"Array":return F=d.util.objId(_),N[F]?N[F]:(D=[],N[F]=D,_.forEach(function(V,Q){D[Q]=E(V,N)}),D);default:return _}},getLanguage:function(E){for(;E;){var _=a.exec(E.className);if(_)return _[1].toLowerCase();E=E.parentElement}return"none"},setLanguage:function(E,_){E.className=E.className.replace(RegExp(a,"gi"),""),E.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(D){var E=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(D.stack)||[])[1];if(E){var _=document.getElementsByTagName("script");for(var N in _)if(_[N].src==E)return _[N]}return null}},isActive:function(E,_,N){for(var D="no-"+_;E;){var F=E.classList;if(F.contains(_))return!0;if(F.contains(D))return!1;E=E.parentElement}return!!N}},languages:{plain:u,plaintext:u,text:u,txt:u,extend:function(E,_){var N=d.util.clone(d.languages[E]);for(var D in _)N[D]=_[D];return N},insertBefore:function(E,_,N,D){D=D||d.languages;var F=D[E],G={};for(var V in F)if(F.hasOwnProperty(V)){if(V==_)for(var Q in N)N.hasOwnProperty(Q)&&(G[Q]=N[Q]);N.hasOwnProperty(V)||(G[V]=F[V])}var I=D[E];return D[E]=G,d.languages.DFS(d.languages,function(se,L){L===I&&se!=E&&(this[se]=G)}),G},DFS:function E(_,N,D,F){F=F||{};var G=d.util.objId;for(var V in _)if(_.hasOwnProperty(V)){N.call(_,V,_[V],D||V);var Q=_[V],I=d.util.type(Q);I==="Object"&&!F[G(Q)]?(F[G(Q)]=!0,E(Q,N,null,F)):I==="Array"&&!F[G(Q)]&&(F[G(Q)]=!0,E(Q,N,V,F))}}},plugins:{},highlightAll:function(E,_){d.highlightAllUnder(document,E,_)},highlightAllUnder:function(E,_,N){var D={callback:N,container:E,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};d.hooks.run("before-highlightall",D),D.elements=Array.prototype.slice.apply(D.container.querySelectorAll(D.selector)),d.hooks.run("before-all-elements-highlight",D);for(var F=0,G;G=D.elements[F++];)d.highlightElement(G,_===!0,D.callback)},highlightElement:function(E,_,N){var D=d.util.getLanguage(E),F=d.languages[D];d.util.setLanguage(E,D);var G=E.parentElement;G&&G.nodeName.toLowerCase()==="pre"&&d.util.setLanguage(G,D);var V=E.textContent,Q={element:E,language:D,grammar:F,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(E,_,N){var D={code:E,grammar:_,language:N};if(d.hooks.run("before-tokenize",D),!D.grammar)throw new Error('The language "'+D.language+'" has no grammar.');return D.tokens=d.tokenize(D.code,D.grammar),d.hooks.run("after-tokenize",D),p.stringify(d.util.encode(D.tokens),D.language)},tokenize:function(E,_){var N=_.rest;if(N){for(var D in N)_[D]=N[D];delete _.rest}var F=new y;return w(F,F.head,E),v(E,F,_,F.head,0),P(F)},hooks:{all:{},add:function(E,_){var N=d.hooks.all;N[E]=N[E]||[],N[E].push(_)},run:function(E,_){var N=d.hooks.all[E];if(!(!N||!N.length))for(var D=0,F;F=N[D++];)F(_)}},Token:p};i.Prism=d;function p(E,_,N,D){this.type=E,this.content=_,this.alias=N,this.length=(D||"").length|0}p.stringify=function E(_,N){if(typeof _=="string")return _;if(Array.isArray(_)){var D="";return _.forEach(function(I){D+=E(I,N)}),D}var F={type:_.type,content:E(_.content,N),tag:"span",classes:["token",_.type],attributes:{},language:N},G=_.alias;G&&(Array.isArray(G)?Array.prototype.push.apply(F.classes,G):F.classes.push(G)),d.hooks.run("wrap",F);var V="";for(var Q in F.attributes)V+=" "+Q+'="'+(F.attributes[Q]||"").replace(/"/g,"&quot;")+'"';return"<"+F.tag+' class="'+F.classes.join(" ")+'"'+V+">"+F.content+"</"+F.tag+">"};function g(E,_,N,D){E.lastIndex=_;var F=E.exec(N);if(F&&D&&F[1]){var G=F[1].length;F.index+=G,F[0]=F[0].slice(G)}return F}function v(E,_,N,D,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,z=!!se.lookbehind,q=!!se.greedy,re=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=D.next,oe=F;K!==_.tail&&!(G&&oe>=G.reach);oe+=K.value.length,K=K.next){var ee=K.value;if(_.length>E.length)return;if(!(ee instanceof p)){var A=1,W;if(q){if(W=g(le,oe,E,z),!W||W.index>=E.length)break;var Ee=W.index,ke=W.index+W[0].length,ge=oe;for(ge+=K.value.length;Ee>=ge;)K=K.next,ge+=K.value.length;if(ge-=K.value.length,oe=ge,K.value instanceof p)continue;for(var Ne=K;Ne!==_.tail&&(ge<ke||typeof Ne.value=="string");Ne=Ne.next)A++,ge+=Ne.value.length;A--,ee=E.slice(oe,ge),W.index-=oe}else if(W=g(le,0,ee,z),!W)continue;var Ee=W.index,je=W[0],Se=ee.slice(0,Ee),Oe=ee.slice(Ee+je.length),Ue=oe+ee.length;G&&Ue>G.reach&&(G.reach=Ue);var Re=K.prev;Se&&(Re=w(_,Re,Se),oe+=Se.length),k(_,Re,A);var Ut=new p(V,L?d.tokenize(je,L):je,re,je);if(K=w(_,Re,Ut),Oe&&w(_,K,Oe),A>1){var Te={cause:V+","+I,reach:Ue};v(E,_,N,K.prev,oe,Te),G&&Te.reach>G.reach&&(G.reach=Te.reach)}}}}}}function y(){var E={value:null,prev:null,next:null},_={value:null,prev:E,next:null};E.next=_,this.head=E,this.tail=_,this.length=0}function w(E,_,N){var D=_.next,F={value:N,prev:_,next:D};return _.next=F,D.prev=F,E.length++,F}function k(E,_,N){for(var D=_.next,F=0;F<N&&D!==E.tail;F++)D=D.next;_.next=D,D.prev=_,E.length-=F}function P(E){for(var _=[],N=E.head.next;N!==E.tail;)_.push(N.value),N=N.next;return _}if(!i.document)return i.addEventListener&&(d.disableWorkerMessageHandler||i.addEventListener("message",function(E){var _=JSON.parse(E.data),N=_.language,D=_.code,F=_.immediateClose;i.postMessage(d.highlight(D,d.languages[N],N)),F&&i.close()},!1)),d;var T=d.util.currentScript();T&&(d.filename=T.src,T.hasAttribute("data-manual")&&(d.manual=!0));function C(){d.manual||d.highlightAll()}if(!d.manual){var O=document.readyState;O==="loading"||O==="interactive"&&T&&T.defer?document.addEventListener("DOMContentLoaded",C):window.requestAnimationFrame?window.requestAnimationFrame(C):window.setTimeout(C,16)}return d})(n);s.exports&&(s.exports=r),typeof Tp<"u"&&(Tp.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(/&amp;/,"&"))}),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(T,C){return"✖ Error "+T+" 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(T,C,O){var E=new XMLHttpRequest;E.open("GET",T,!0),E.onreadystatechange=function(){E.readyState==4&&(E.status<400&&E.responseText?C(E.responseText):E.status>=400?O(a(E.status,E.statusText)):O(c))},E.send(null)}function k(T){var C=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(T||"");if(C){var O=Number(C[1]),E=C[2],_=C[3];return E?_?[O,Number(_)]:[O,void 0]:[O,O]}}r.hooks.add("before-highlightall",function(T){T.selector+=", "+y}),r.hooks.add("before-sanity-check",function(T){var C=T.element;if(C.matches(y)){T.code="",C.setAttribute(d,p);var O=C.appendChild(document.createElement("CODE"));O.textContent=i;var E=C.getAttribute("data-src"),_=T.language;if(_==="none"){var N=(/\.(\w+)$/.exec(E)||[,"none"])[1];_=u[N]||N}r.util.setLanguage(O,_),r.util.setLanguage(C,_);var D=r.plugins.autoloader;D&&D.loadLanguages(_),w(E,function(F){C.setAttribute(d,g);var G=k(C.getAttribute("data-range"));if(G){var V=F.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)),F=V.slice(Q,I).join(`
251
+ `),C.hasAttribute("data-start")||C.setAttribute("data-start",String(Q+1))}O.textContent=F,r.highlightElement(O)},function(F){C.setAttribute(d,v),O.textContent=F})}}),r.plugins.fileHighlight={highlight:function(C){for(var O=(C||document).querySelectorAll(y),E=0,_;_=O[E++];)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)}})()})(Gu)),Gu.exports}var ree=nee();const zl=Of(ree);(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 Tm={},Em;function see(){return Em||(Em=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)),Tm}see();var Nm={},Am;function oee(){return Am||(Am=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:/![sra](?=[:}]$)/,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),Nm}oee();(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 T=w[k];if(T.type!=="code"){y(T.content);continue}var C=T.content[1],O=T.content[3];if(C&&O&&C.type==="code-language"&&O.type==="code-block"&&typeof C.content=="string"){var E=C.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp");E=(/[a-z][\w-]*/i.exec(E)||[""])[0].toLowerCase();var _="language-"+E;O.alias?typeof O.alias=="string"?O.alias=[O.alias,_]:O.alias.push(_):O.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],T=/language-(.+)/.exec(P);if(T){y=T[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 O="md-"+new Date().valueOf()+"-"+Math.floor(Math.random()*1e16);v.attributes.id=O,s.plugins.autoloader.loadLanguages(y,function(){var E=document.getElementById(O);E&&(E.innerHTML=s.highlight(E.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 T=d[k];return T||w}}),y}s.languages.md=s.languages.markdown})(Prism);const iee=/\{\{[^{}\n]+\}\}/;for(const s of["markdown","yaml"]){const n=zl.languages[s];n&&!n["template-block"]&&(zl.languages[s]={"template-block":iee,...n})}const aee=/\x1b\[[\d;]*m/;function bf({code:s,language:n="text",maxHeight:r}){const i=ie.useRef(null),a=zl.languages[n]?n:"text",c=ie.useMemo(()=>aee.test(s),[s]),{isDark:u}=aa();ie.useEffect(()=>{i.current&&!c&&zl.highlightElement(i.current)},[s,a,c]);const d=ie.useMemo(()=>new Qg({fg:u?"#c9d1d9":"#1b2330",bg:"transparent",newline:!0,escapeXML:!0}),[u]),p=ie.useMemo(()=>c?Kf.sanitize(d.toHtml(s),{ADD_ATTR:["style"]}):"",[s,c,d]);return m.jsx("pre",{className:Jt("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 Xe(s){return s==null?"":typeof s=="string"?s:JSON.stringify(s)}function Mt({children:s,className:n}){return m.jsx("span",{className:Jt("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 lee={terminal:{argsLang:"bash",summary:s=>{const n=Xe(s.command),r=s.timeout;return m.jsxs("span",{className:"flex items-center gap-2 min-w-0 flex-1",children:[m.jsx(Mt,{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(Xe(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(Mt,{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(Xe(s.path??s.file_path)),r=Xe(s.content),i=r?r.split(`
252
+ `).length:0;return m.jsxs("span",{className:"flex items-center gap-3 min-w-0 flex-1",children:[m.jsx(Mt,{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(Xe(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(Mt,{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:Xe(s.pattern)})}),s.target!=null&&m.jsx(Ss,{k:"in",v:String(s.target)}),s.path!=null&&m.jsx(Ss,{k:"path",v:ur(Xe(s.path))})]})},list_files:{summary:s=>m.jsx(Mt,{className:"truncate",children:ur(Xe(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:Jt("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(Mt,{children:Xe(s.name)})})},web_fetch:{summary:s=>m.jsx(Mt,{className:"truncate",children:Xe(s.url)})},web_search:{summary:s=>m.jsx(Mt,{className:"truncate",children:m.jsx(_s,{max:120,children:Xe(s.query)})})},bash:{argsLang:"bash",summary:s=>m.jsx(Mt,{className:"truncate",children:m.jsx(_s,{max:140,children:Xe(s.command)})})},read:{summary:s=>m.jsx(Mt,{className:"truncate",children:ur(Xe(s.file_path))})},write:{summary:s=>m.jsx(Mt,{className:"truncate",children:ur(Xe(s.file_path))})},edit:{summary:s=>m.jsx(Mt,{className:"truncate",children:ur(Xe(s.file_path))})},grep:{summary:s=>m.jsxs("span",{className:"flex items-center gap-3 min-w-0 flex-1",children:[m.jsxs(Mt,{className:"truncate",children:["/",Xe(s.pattern),"/"]}),s.path?m.jsx(Ss,{k:"in",v:ur(Xe(s.path))}):null]})},glob:{summary:s=>m.jsx(Mt,{children:Xe(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:Xe(s.subagent_type)||"agent"}),m.jsx("span",{className:"text-xs text-base-content/80 truncate",children:m.jsx(_s,{max:100,children:Xe(s.description)||Xe(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(Mt,{className:"truncate",children:Xe(s.url)})},websearch:{summary:s=>m.jsx(Mt,{className:"truncate",children:Xe(s.query)})}};function cee(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:Xe(a)})},i))})}function Wg(s){return lee[s.toLowerCase()]??null}function uee(s,n){const r=Wg(s);if(r){const a=r.summary(n);if(a)return a}if(s.toLowerCase().startsWith("mcp_"))return cee(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:Xe(c)})},a))})}function fee(s){var n;return((n=Wg(s))==null?void 0:n.argsLang)??"json"}function dee(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 hee=["output","stdout","text","content","result","message","error","summary","body"],pee=["title","name","full_name","login","message","id","number","url","html_url","slug","path","summary"];function Cm(s){for(const n of s.split(`
253
+ `))if(n.trim().length>0)return n.trim();return""}function To(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 Vu(s){for(const n of pee){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 jm(s){const n=s.trim();if(n.startsWith("{")||n.startsWith("["))try{return JSON.parse(n)}catch{return}}function kf(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=kf(i,n+1);a!=null&&r.push(a)}return r.length?r.join(`
254
+ `):null}if(typeof s=="object"){const r=s;for(const i of hee)if(i in r){const a=kf(r[i],n+1);if(a!=null&&a.trim())return a}}return null}function Kg(s){if(s==null||s==="")return{kind:"empty"};if(typeof s=="string"){const r=jm(s);return r!==void 0?{...Kg(r),bytes:s.length}:{kind:"text",preview:Cm(s),lines:s.split(`
255
+ `).length,bytes:s.length}}const n=kf(s);if(n!=null){const r=typeof s=="string"?s.length:JSON.stringify(s).length,i=jm(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"?Vu(i[0])??To(i[0]):String(i[0]??"").slice(0,80)};const a=i;return{kind:"json",preview:Vu(a)??To(a),bytes:r,shape:To(a)}}return{kind:"text",preview:Cm(n),lines:n.split(`
256
+ `).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"?To(i):"",length:s.length,bytes:r}}if(typeof s=="object"){const r=s;return{kind:"json",preview:Vu(r)??To(r),bytes:JSON.stringify(r).length,shape:To(r)}}return{kind:"text",preview:String(s),bytes:String(s).length}}function mee(s){return s<1e3?`${s} B`:s<1e6?`${(s/1e3).toFixed(1)} kB`:`${(s/1e6).toFixed(2)} MB`}const gee={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"},yee=["commit","branch","repo","repository","pull_request","pr_","issue","comment","push","clone","merge","tag","release"];function vee(s){const n=s.toLowerCase(),r=gee[n];return r||(n.startsWith("mcp_github_")||n.startsWith("github_")?"git":n.startsWith("mcp_")?yee.some(i=>n.includes(i))?"git":"mcp":"other")}const Xg={shell:{Icon:D1,color:"text-primary",bg:"bg-primary/15"},fs:{Icon:mf,color:"text-info",bg:"bg-info/15"},git:{Icon:Pl,color:"text-warning",bg:"bg-warning/15"},web:{Icon:m1,color:"text-secondary",bg:"bg-secondary/15"},plan:{Icon:x1,color:"text-accent",bg:"bg-accent/15"},mcp:{Icon:T1,color:"text-success",bg:"bg-success/15"},other:{Icon:z1,color:"text-base-content/60",bg:"bg-base-content/10"}},xee={read_file:mf,read:mf,write_file:Qp,write:Qp,edit_file:kl,edit:kl,patch:kl,str_replace:kl,list_files:c1,search_files:$i,grep:$i,glob:$i,web_fetch:Vp,webfetch:Vp,web_search:$i,websearch:$i,task:s1,skill_view:n1,commit:Sg,add_issue_comment:_g},wee=[[/pull_request|pr_/,h1],[/commit/,Sg],[/branch/,Pl],[/repo|repository/,Pl],[/issue|comment/,_g]];function bee(s,n){const r=s.toLowerCase(),i=xee[r];if(i)return i;if(n==="git"){const a=r.replace(/^mcp_/,"").replace(/^github_/,"").replace(/^git_/,"");for(const[c,u]of wee)if(c.test(a))return u;return Pl}return Xg[n].Icon}const Qu=8e3,kee=/\x1b\[[\d;]*m/;function See(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(`
257
+ `),isJson:!1};try{return{text:JSON.stringify(s,null,2),isJson:!0}}catch{return{text:String(s),isJson:!1}}}function _ee({pair:s,isNew:n}){var _,N,D,F,G;const[r,i]=ie.useState(!1),[a,c]=ie.useState(!1),{isDark:u}=aa(),d=ie.useMemo(()=>new Qg({fg:u?"#c9d1d9":"#1b2330",bg:"transparent",escapeXML:!0}),[u]),p=((_=s.use.content)==null?void 0:_.input)??{},g=(D=(N=s.result)==null?void 0:N.content)==null?void 0:D.content,v=((G=(F=s.result)==null?void 0:F.content)==null?void 0:G.is_error)===!0,{text:y,isJson:w}=See(g),k=JSON.stringify(p,null,2),P=Kg(g),T=dee(s.toolName),C=vee(s.toolName),O=Xg[C],E=bee(s.toolName,C);return m.jsxs(ua,{isNew:n,timestamp:s.timestamp,dense:!0,title:m.jsxs(m.Fragment,{children:[m.jsx(fa,{Icon:E,color:O.color,bg:O.bg}),m.jsx("span",{className:"text-2xs font-semibold uppercase tracking-wider text-base-content/80 shrink-0 font-mono",children:T.prefix?`${T.prefix}.${T.label}`:T.label}),m.jsx("span",{className:"text-base-content/25 shrink-0",children:"-"}),uee(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(bf,{code:k,language:fee(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:Jt("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:Jt("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"&&kee.test(V)?m.jsx("span",{className:"text-xs font-mono truncate flex-1",dangerouslySetInnerHTML:{__html:Kf.sanitize(d.toHtml(V),{ADD_ATTR:["style"]})}}):m.jsx("span",{className:Jt("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:mee(P.bytes)}),m.jsx("span",{children:a?"-":"+"})]})]})]}),a&&y&&m.jsx("div",{className:"mt-2",children:m.jsx(bf,{code:y.length>Qu?y.slice(0,Qu)+`
258
+
259
+ ... (${(y.length-Qu).toLocaleString()} more chars)`:y,language:w?"json":"text",maxHeight:"32rem"})})]})]})}function Rm({msg:s,isNew:n}){var p,g;const[r,i]=ie.useState(!1),a=s.type==="system",c=a?"system":"meta",u=a?y1:P1,d=a?((p=s.content)==null?void 0:p.text)??"":JSON.stringify(s.content,null,2);return m.jsx(ua,{isNew:n,timestamp:s.timestamp,dense:!0,title:m.jsxs(m.Fragment,{children:[m.jsx(fa,{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(`
260
+ `)[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(bf,{code:d,language:a?"text":"json",maxHeight:"24rem"})})}function Tee({msg:s,isNew:n}){const r=s.content,i=r.staged??[],a=i.length>0;return m.jsx(ua,{isNew:n,timestamp:s.timestamp,dense:!0,title:m.jsxs(m.Fragment,{children:[m.jsx(fa,{Icon:N1,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 Om({item:s,isNew:n}){var i;if(jg(s))return m.jsx(_ee,{pair:s,isNew:n});const r=s.message;return r.type==="system"&&((i=r.metadata)==null?void 0:i.kind)==="skills"?m.jsx(Tee,{msg:r,isNew:n}):r.type==="user"?m.jsx(Aw,{msg:r,isNew:n}):r.type==="assistant"?m.jsx(Cw,{msg:r,isNew:n}):r.type==="tool_result"||r.type==="tool_use"?m.jsx(Rm,{msg:r,isNew:n}):m.jsx(Rm,{msg:r,isNew:n})}function Eee(s){return typeof s=="number"?new Date(s*1e3).toISOString():typeof s=="string"?s:new Date().toISOString()}function Mm(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(`
261
+ `):""}function Nee(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 Aee(s){const n=[];for(const r of s){const i=r.role,a=Eee(r.timestamp??Date.now()/1e3),c=String(r.id),u=Mm(r.content),d=Nee(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:Mm(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 Cee(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(`
262
+ `)),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 jee(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(`
263
+ `)){const u=c.trim();if(u)try{const d=JSON.parse(u);for(const p of Cee(d))p.id=a++,i.push(p)}catch{}}return{items:dx(Aee(i)),messageCount:i.length}}function Ree(s,n=!1){return Ff({queryKey:["session-log",s,n],queryFn:()=>jee(s),enabled:!!s,staleTime:n?0:1/0,refetchInterval:n?1500:!1,placeholderData:r=>r})}function Oee(s){return!jg(s)&&s.message.type==="user"}function Mee({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 Pee({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=>Oee(u)?m.jsx("div",{className:"flex justify-end",children:m.jsx("div",{className:"w-fit min-w-0 max-w-[85%]",children:m.jsx(Om,{item:u})})},u.id):m.jsx(Om,{item:u},u.id))]})}function Wu({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 Lee({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(Wu,{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(Wu,{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(Wu,{active:a==="full",onClick:()=>c("full"),label:"full"})]})]}),s.kind==="execution"?m.jsx(Mee,{logUrl:s.logUrl,failToPass:s.failToPass,passToPass:s.passToPass}):g?m.jsx(Pee,{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 Pm(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?Pm(Object(r),!0).forEach((function(i){Sf(s,i,r[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(r)):Pm(Object(r)).forEach((function(i){Object.defineProperty(s,i,Object.getOwnPropertyDescriptor(r,i))}))}return s}function Sf(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 qo(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 On(s,n){return Iee(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)||Xf(s,n)||$ee()}function Dee(s){return(function(n){if(Array.isArray(n))return _f(n)})(s)||Fee(s)||Xf(s)||(function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
264
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function Iee(s){if(Array.isArray(s))return s}function Fee(s){if(typeof Symbol<"u"&&s[Symbol.iterator]!=null||s["@@iterator"]!=null)return Array.from(s)}function Xf(s,n){if(s){if(typeof s=="string")return _f(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)?_f(s,n):void 0}}function _f(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 $ee(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
265
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function zee(s,n){var r=typeof Symbol<"u"&&s[Symbol.iterator]||s["@@iterator"];if(!r){if(Array.isArray(s)||(r=Xf(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.
266
+ 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 da(s,n){return s(n={exports:{}},n.exports),n.exports}var fn=da((function(s){/*!
267
+ Copyright (c) 2018 Jed Watson.
268
+ Licensed under the MIT License (MIT), see
269
+ http://jedwatson.github.io/classnames
270
+ */(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})()})),Xt={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:{}},Yg=ie.createContext(Xt),Uee=Yg.Provider,Hee=function(){return ie.useContext(Yg)},Bee=da((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(`
271
+ `),P=k.length,T=0;T<P;){var C=k[T];if(C.indexOf("diff --git")===0){u={hunks:[],oldEndingNewLine:!0,newEndingNewLine:!0,oldPath:(v=i(C)).oldPath,newPath:v.newPath},y.push(u);var O,E=null;e:for(;O=k[++T];){var _=O.indexOf(" "),N=_>-1?O.slice(0,_):N;switch(N){case"diff":T--;break e;case"deleted":case"new":var D=O.slice(_+1);D.indexOf("file mode")===0&&(u[N==="new"?"newMode":"oldMode"]=D.slice(10));break;case"similarity":u.similarity=parseInt(O.split(" ")[2],10);break;case"index":var F=O.slice(_+1).split(" "),G=F[0].split("..");u.oldRevision=G[0],u.newRevision=G[1],F[1]&&(u.oldMode=u.newMode=F[1]);break;case"copy":case"rename":var V=O.slice(_+1);V.indexOf("from")===0?u.oldPath=V.slice(5):u.newPath=V.slice(3),E=N;break;case"---":var Q=O.slice(_+1),I=k[++T].slice(4);Q==="/dev/null"?(I=I.slice(2),E="add"):I==="/dev/null"?(Q=Q.slice(2),E="delete"):(E="modify",Q=Q.slice(2),I=I.slice(2)),Q&&(u.oldPath=Q),I&&(u.newPath=I),w=5;break e}}u.type=E||"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),z={content:C.slice(1)};switch(L){case"+":z.type="insert",z.isInsert=!0,z.lineNumber=g,g++;break;case"-":z.type="delete",z.isDelete=!0,z.lineNumber=p,p++;break;case" ":z.type="normal",z.isNormal=!0,z.oldLineNumber=p,z.newLineNumber=g,p++,g++;break;case"\\":var q=d.changes[d.changes.length-1];q.isDelete||(u.newEndingNewLine=!1),q.isInsert||(u.oldEndingNewLine=!1)}z.type&&d.changes.push(z)}T++}return y}};s.exports=a})()}));function Vo(s){return s.type==="insert"}function pr(s){return s.type==="delete"}function Yi(s){return s.type==="normal"}function qee(s,n){var r=n.nearbySequences==="zip"?(function(i){var a=i.reduce((function(c,u,d){var p=On(c,3),g=p[0],v=p[1],y=p[2];return v?Vo(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 On(a,1)[0]})(s.changes):s.changes;return at(at({},s),{},{isPlain:!1,changes:r})}function Gee(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(`
272
+ `),c=i.indexOf(`
273
+ `,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(`
274
+ `)})(s.trimStart());return Bee.parse(r).map((function(i){return(function(a,c){var u=a.hunks.map((function(d){return qee(d,c)}));return at(at({},a),{},{hunks:u})})(i,n)}))}function Vee(s){return s[0]}function Qee(s){return s[s.length-1]}function Tf(s){return["".concat(s,"Start"),"".concat(s,"Lines")]}function Zi(s){return s==="old"?function(n){return Vo(n)?-1:Yi(n)?n.oldLineNumber:n.lineNumber}:function(n){return pr(n)?-1:Yi(n)?n.newLineNumber:n.lineNumber}}function Zg(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 Jg(s){var n=Zi(s),r=(function(i){var a=On(Tf(i),2),c=Zg(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 Yf(s){var n=s==="old"?"new":"old",r=On(Tf(s),2),i=r[0],a=r[1],c=On(Tf(n),2),u=c[0],d=c[1],p=Zi(s),g=Zi(n),v=Zg(i,a),y=Wee(i,a);return function(w,k){var P=Vee(w);if(k<P[i]){var T=P[i]-k;return P[u]-T}var C=Qee(w);if(C[i]+C[a]<=k){var O=k-C[i]-C[a];return C[u]+C[d]+O}for(var E=0;E<w.length;E++){var _=w[E],N=w[E+1];if(v(_,k)){var D=_.changes.findIndex((function(se){return p(se)===k})),F=_.changes[D];if(Yi(F))return g(F);var G=pr(F)?D+1:D-1,V=_.changes[G];if(!V)return-1;var Q=Vo(F)?"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 Kee=function(){this.__data__=[],this.size=0},ey=function(s,n){return s===n||s!=s&&n!=n},Bl=function(s,n){for(var r=s.length;r--;)if(ey(s[r][0],n))return r;return-1},Xee=Array.prototype.splice,Yee=function(s){var n=this.__data__,r=Bl(n,s);return!(r<0)&&(r==n.length-1?n.pop():Xee.call(n,r,1),--this.size,!0)},Zee=function(s){var n=this.__data__,r=Bl(n,s);return r<0?void 0:n[r][1]},Jee=function(s){return Bl(this.__data__,s)>-1},ete=function(s,n){var r=this.__data__,i=Bl(r,s);return i<0?(++this.size,r.push([s,n])):r[i][1]=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=Kee,No.prototype.delete=Yee,No.prototype.get=Zee,No.prototype.has=Jee,No.prototype.set=ete;var ql=No,tte=function(){this.__data__=new ql,this.size=0},nte=function(s){var n=this.__data__,r=n.delete(s);return this.size=n.size,r},rte=function(s){return this.__data__.get(s)},ste=function(s){return this.__data__.has(s)},ty=typeof El=="object"&&El&&El.Object===Object&&El,ote=typeof self=="object"&&self&&self.Object===Object&&self,gr=ty||ote||Function("return this")(),Kn=gr.Symbol,ny=Object.prototype,ite=ny.hasOwnProperty,ate=ny.toString,Bi=Kn?Kn.toStringTag:void 0,lte=function(s){var n=ite.call(s,Bi),r=s[Bi];try{s[Bi]=void 0;var i=!0}catch{}var a=ate.call(s);return i&&(n?s[Bi]=r:delete s[Bi]),a},cte=Object.prototype.toString,ute=function(s){return cte.call(s)},Lm=Kn?Kn.toStringTag:void 0,Qo=function(s){return s==null?s===void 0?"[object Undefined]":"[object Null]":Lm&&Lm in Object(s)?lte(s):ute(s)},Zf=function(s){var n=typeof s;return s!=null&&(n=="object"||n=="function")},ry=function(s){if(!Zf(s))return!1;var n=Qo(s);return n=="[object Function]"||n=="[object GeneratorFunction]"||n=="[object AsyncFunction]"||n=="[object Proxy]"},Ku=gr["__core-js_shared__"],Dm=(function(){var s=/[^.]+$/.exec(Ku&&Ku.keys&&Ku.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""})(),fte=function(s){return!!Dm&&Dm in s},dte=Function.prototype.toString,Fs=function(s){if(s!=null){try{return dte.call(s)}catch{}try{return s+""}catch{}}return""},hte=/^\[object .+?Constructor\]$/,pte=Function.prototype,mte=Object.prototype,gte=pte.toString,yte=mte.hasOwnProperty,vte=RegExp("^"+gte.call(yte).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),xte=function(s){return!(!Zf(s)||fte(s))&&(ry(s)?vte:hte).test(Fs(s))},wte=function(s,n){return s==null?void 0:s[n]},$s=function(s,n){var r=wte(s,n);return xte(r)?r:void 0},Ji=$s(gr,"Map"),ea=$s(Object,"create"),bte=function(){this.__data__=ea?ea(null):{},this.size=0},kte=function(s){var n=this.has(s)&&delete this.__data__[s];return this.size-=n?1:0,n},Ste=Object.prototype.hasOwnProperty,_te=function(s){var n=this.__data__;if(ea){var r=n[s];return r==="__lodash_hash_undefined__"?void 0:r}return Ste.call(n,s)?n[s]:void 0},Tte=Object.prototype.hasOwnProperty,Ete=function(s){var n=this.__data__;return ea?n[s]!==void 0:Tte.call(n,s)},Nte=function(s,n){var r=this.__data__;return this.size+=this.has(s)?0:1,r[s]=ea&&n===void 0?"__lodash_hash_undefined__":n,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=bte,Ao.prototype.delete=kte,Ao.prototype.get=_te,Ao.prototype.has=Ete,Ao.prototype.set=Nte;var Im=Ao,Ate=function(){this.size=0,this.__data__={hash:new Im,map:new(Ji||ql),string:new Im}},Cte=function(s){var n=typeof s;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?s!=="__proto__":s===null},Gl=function(s,n){var r=s.__data__;return Cte(n)?r[typeof n=="string"?"string":"hash"]:r.map},jte=function(s){var n=Gl(this,s).delete(s);return this.size-=n?1:0,n},Rte=function(s){return Gl(this,s).get(s)},Ote=function(s){return Gl(this,s).has(s)},Mte=function(s,n){var r=Gl(this,s),i=r.size;return r.set(s,n),this.size+=r.size==i?0:1,this};function Co(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])}}Co.prototype.clear=Ate,Co.prototype.delete=jte,Co.prototype.get=Rte,Co.prototype.has=Ote,Co.prototype.set=Mte;var Vl=Co,Pte=function(s,n){var r=this.__data__;if(r instanceof ql){var i=r.__data__;if(!Ji||i.length<199)return i.push([s,n]),this.size=++r.size,this;r=this.__data__=new Vl(i)}return r.set(s,n),this.size=r.size,this};function jo(s){var n=this.__data__=new ql(s);this.size=n.size}jo.prototype.clear=tte,jo.prototype.delete=nte,jo.prototype.get=rte,jo.prototype.has=ste,jo.prototype.set=Pte;var Rl=jo,Lte=function(s){return this.__data__.set(s,"__lodash_hash_undefined__"),this},Dte=function(s){return this.__data__.has(s)};function Ol(s){var n=-1,r=s==null?0:s.length;for(this.__data__=new Vl;++n<r;)this.add(s[n])}Ol.prototype.add=Ol.prototype.push=Lte,Ol.prototype.has=Dte;var Ite=Ol,Fte=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},$te=function(s,n){return s.has(n)},sy=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 Ite:void 0;for(c.set(s,n),c.set(n,s);++y<d;){var P=s[y],T=n[y];if(i)var C=u?i(T,P,y,n,s,c):i(P,T,y,s,n,c);if(C!==void 0){if(C)continue;w=!1;break}if(k){if(!Fte(n,(function(O,E){if(!$te(k,E)&&(P===O||a(P,O,r,i,c)))return k.push(E)}))){w=!1;break}}else if(P!==T&&!a(P,T,r,i,c)){w=!1;break}}return c.delete(s),c.delete(n),w},Fm=gr.Uint8Array,zte=function(s){var n=-1,r=Array(s.size);return s.forEach((function(i,a){r[++n]=[a,i]})),r},Ute=function(s){var n=-1,r=Array(s.size);return s.forEach((function(i){r[++n]=i})),r},$m=Kn?Kn.prototype:void 0,Xu=$m?$m.valueOf:void 0,Hte=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 Fm(s),new Fm(n)));case"[object Boolean]":case"[object Date]":case"[object Number]":return ey(+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=zte;case"[object Set]":var p=1&i;if(d||(d=Ute),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=sy(d(s),d(n),i,a,c,u);return u.delete(s),v;case"[object Symbol]":if(Xu)return Xu.call(s)==Xu.call(n)}return!1},Bte=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,qte=function(s,n,r){var i=n(s);return mr(s)?i:Bte(i,r(s))},Gte=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[]},Qte=Object.prototype.propertyIsEnumerable,zm=Object.getOwnPropertySymbols,Wte=zm?function(s){return s==null?[]:(s=Object(s),Gte(zm(s),(function(n){return Qte.call(s,n)})))}:Vte,Kte=function(s,n){for(var r=-1,i=Array(s);++r<s;)i[r]=n(r);return i},Go=function(s){return s!=null&&typeof s=="object"},Um=function(s){return Go(s)&&Qo(s)=="[object Arguments]"},oy=Object.prototype,Xte=oy.hasOwnProperty,Yte=oy.propertyIsEnumerable,iy=Um((function(){return arguments})())?Um:function(s){return Go(s)&&Xte.call(s,"callee")&&!Yte.call(s,"callee")},Zte=function(){return!1},Ef=da((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)||Zte;s.exports=c})),Jte=/^(?:0|[1-9]\d*)$/,ay=function(s,n){var r=typeof s;return!!(n=n??9007199254740991)&&(r=="number"||r!="symbol"&&Jte.test(s))&&s>-1&&s%1==0&&s<n},Jf=function(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=9007199254740991},Ke={};Ke["[object Float32Array]"]=Ke["[object Float64Array]"]=Ke["[object Int8Array]"]=Ke["[object Int16Array]"]=Ke["[object Int32Array]"]=Ke["[object Uint8Array]"]=Ke["[object Uint8ClampedArray]"]=Ke["[object Uint16Array]"]=Ke["[object Uint32Array]"]=!0,Ke["[object Arguments]"]=Ke["[object Array]"]=Ke["[object ArrayBuffer]"]=Ke["[object Boolean]"]=Ke["[object DataView]"]=Ke["[object Date]"]=Ke["[object Error]"]=Ke["[object Function]"]=Ke["[object Map]"]=Ke["[object Number]"]=Ke["[object Object]"]=Ke["[object RegExp]"]=Ke["[object Set]"]=Ke["[object String]"]=Ke["[object WeakMap]"]=!1;var ene=function(s){return Go(s)&&Jf(s.length)&&!!Ke[Qo(s)]},tne=function(s){return function(n){return s(n)}},Hm=da((function(s,n){var r=n&&!n.nodeType&&n,i=r&&s&&!s.nodeType&&s,a=i&&i.exports===r&&ty.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})),Bm=Hm&&Hm.isTypedArray,ly=Bm?tne(Bm):ene,nne=Object.prototype.hasOwnProperty,rne=function(s,n){var r=mr(s),i=!r&&iy(s),a=!r&&!i&&Ef(s),c=!r&&!i&&!a&&ly(s),u=r||i||a||c,d=u?Kte(s.length,String):[],p=d.length;for(var g in s)!nne.call(s,g)||u&&(g=="length"||a&&(g=="offset"||g=="parent")||c&&(g=="buffer"||g=="byteLength"||g=="byteOffset")||ay(g,p))||d.push(g);return d},sne=Object.prototype,one=function(s){var n=s&&s.constructor;return s===(typeof n=="function"&&n.prototype||sne)},ine=(function(s,n){return function(r){return s(n(r))}})(Object.keys,Object),ane=Object.prototype.hasOwnProperty,lne=function(s){if(!one(s))return ine(s);var n=[];for(var r in Object(s))ane.call(s,r)&&r!="constructor"&&n.push(r);return n},cne=function(s){return s!=null&&Jf(s.length)&&!ry(s)},ed=function(s){return cne(s)?rne(s):lne(s)},qm=function(s){return qte(s,ed,Wte)},une=Object.prototype.hasOwnProperty,fne=function(s,n,r,i,a,c){var u=1&r,d=qm(s),p=d.length;if(p!=qm(n).length&&!u)return!1;for(var g=p;g--;){var v=d[g];if(!(u?v in n:une.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 T=s[v=d[g]],C=n[v];if(i)var O=u?i(C,T,v,n,s,c):i(T,C,v,s,n,c);if(!(O===void 0?T===C||a(T,C,r,i,c):O)){k=!1;break}P||(P=v=="constructor")}if(k&&!P){var E=s.constructor,_=n.constructor;E==_||!("constructor"in s)||!("constructor"in n)||typeof E=="function"&&E instanceof E&&typeof _=="function"&&_ instanceof _||(k=!1)}return c.delete(s),c.delete(n),k},Nf=$s(gr,"DataView"),Af=$s(gr,"Promise"),Cf=$s(gr,"Set"),jf=$s(gr,"WeakMap"),dne=Fs(Nf),hne=Fs(Ji),pne=Fs(Af),mne=Fs(Cf),gne=Fs(jf),ks=Qo;(Nf&&ks(new Nf(new ArrayBuffer(1)))!="[object DataView]"||Ji&&ks(new Ji)!="[object Map]"||Af&&ks(Af.resolve())!="[object Promise]"||Cf&&ks(new Cf)!="[object Set]"||jf&&ks(new jf)!="[object WeakMap]")&&(ks=function(s){var n=Qo(s),r=n=="[object Object]"?s.constructor:void 0,i=r?Fs(r):"";if(i)switch(i){case dne:return"[object DataView]";case hne:return"[object Map]";case pne:return"[object Promise]";case mne:return"[object Set]";case gne:return"[object WeakMap]"}return n});var Gm=ks,Nl="[object Object]",Vm=Object.prototype.hasOwnProperty,yne=function(s,n,r,i,a,c){var u=mr(s),d=mr(n),p=u?"[object Array]":Gm(s),g=d?"[object Array]":Gm(n),v=(p=p=="[object Arguments]"?Nl:p)==Nl,y=(g=g=="[object Arguments]"?Nl:g)==Nl,w=p==g;if(w&&Ef(s)){if(!Ef(n))return!1;u=!0,v=!1}if(w&&!v)return c||(c=new Rl),u||ly(s)?sy(s,n,r,i,a,c):Hte(s,n,p,r,i,a,c);if(!(1&r)){var k=v&&Vm.call(s,"__wrapped__"),P=y&&Vm.call(n,"__wrapped__");if(k||P){var T=k?s.value():s,C=P?n.value():n;return c||(c=new Rl),a(T,C,r,i,c)}}return!!w&&(c||(c=new Rl),fne(s,n,r,i,a,c))},cy=function s(n,r,i,a,c){return n===r||(n==null||r==null||!Go(n)&&!Go(r)?n!=n&&r!=r:yne(n,r,i,a,s,c))},vne=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?cy(g,p,3,i,v):y))return!1}}return!0},uy=function(s){return s==s&&!Zf(s)},xne=function(s){for(var n=ed(s),r=n.length;r--;){var i=n[r],a=s[i];n[r]=[i,a,uy(a)]}return n},fy=function(s,n){return function(r){return r!=null&&r[s]===n&&(n!==void 0||s in Object(r))}},wne=function(s){var n=xne(s);return n.length==1&&n[0][2]?fy(n[0][0],n[0][1]):function(r){return r===s||vne(r,s,n)}},td=function(s){return typeof s=="symbol"||Go(s)&&Qo(s)=="[object Symbol]"},bne=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,kne=/^\w*$/,nd=function(s,n){if(mr(s))return!1;var r=typeof s;return!(r!="number"&&r!="symbol"&&r!="boolean"&&s!=null&&!td(s))||kne.test(s)||!bne.test(s)||n!=null&&s in Object(n)};function rd(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(rd.Cache||Vl),r}rd.Cache=Vl;var Sne=rd,_ne=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Tne=/\\(\\)?/g,Ene=(function(s){var n=Sne(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(_ne,(function(r,i,a,c){n.push(a?c.replace(Tne,"$1"):i||r)})),n})),Nne=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},Qm=Kn?Kn.prototype:void 0,Wm=Qm?Qm.toString:void 0,Ane=function s(n){if(typeof n=="string")return n;if(mr(n))return Nne(n,s)+"";if(td(n))return Wm?Wm.call(n):"";var r=n+"";return r=="0"&&1/n==-1/0?"-0":r},Cne=function(s){return s==null?"":Ane(s)},dy=function(s,n){return mr(s)?s:nd(s,n)?[s]:Ene(Cne(s))},Ql=function(s){if(typeof s=="string"||td(s))return s;var n=s+"";return n=="0"&&1/s==-1/0?"-0":n},hy=function(s,n){for(var r=0,i=(n=dy(n,s)).length;s!=null&&r<i;)s=s[Ql(n[r++])];return r&&r==i?s:void 0},jne=function(s,n,r){var i=s==null?void 0:hy(s,n);return i===void 0?r:i},Rne=function(s,n){return s!=null&&n in Object(s)},One=function(s,n,r){for(var i=-1,a=(n=dy(n,s)).length,c=!1;++i<a;){var u=Ql(n[i]);if(!(c=s!=null&&r(s,u)))break;s=s[u]}return c||++i!=a?c:!!(a=s==null?0:s.length)&&Jf(a)&&ay(u,a)&&(mr(s)||iy(s))},Mne=function(s,n){return s!=null&&One(s,n,Rne)},Pne=function(s,n){return nd(s)&&uy(n)?fy(Ql(s),n):function(r){var i=jne(r,s);return i===void 0&&i===n?Mne(r,s):cy(n,i,3)}},Lne=function(s){return s},Dne=function(s){return function(n){return n==null?void 0:n[s]}},Ine=function(s){return function(n){return hy(n,s)}},Fne=function(s){return nd(s)?Dne(Ql(s)):Ine(s)},$ne=function(s){return typeof s=="function"?s:s==null?Lne:typeof s=="object"?mr(s)?Pne(s[0],s[1]):wne(s):Fne(s)};function Jr(s){if(!s)throw new Error("change is not provided");if(Yi(s))return"N".concat(s.oldLineNumber);var n=Vo(s)?"I":"D";return"".concat(n).concat(s.lineNumber)}Yf("old");var sd=Zi("old"),od=Zi("new");Jg("old");Jg("new");Yf("new");Yf("old");var Km=(function(){try{var s=$s(Object,"defineProperty");return s({},"",{}),s}catch{}})(),zne=function(s,n,r){n=="__proto__"&&Km?Km(s,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):s[n]=r},Une=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}},Hne=Une(),Bne=function(s,n){return s&&Hne(s,n,ed)},py=function(s,n){var r={};return n=$ne(n),Bne(s,(function(i,a,c){zne(r,a,n(i,a,c))})),r},qne=["changeKey","text","tokens","renderToken"],Xm=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(fn(d||v))}};function Gne(s){if(!Array.isArray(s))return!0;if(s.length>1)return!1;if(s.length===1){var n=On(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=qo(s,qne),u=a?function(d,p){return a(d,Xm,p)}:Xm;return m.jsx("td",at(at({},c),{},{"data-change-key":n,children:i?Gne(i)?" ":i.map(u):r||" "}))}var my=ie.memo(Vne);function gy(s,n){return function(){var r=n==="old"?sd(s):od(s);return r===-1?void 0:r}}function yy(s,n){return function(r){return s&&r?m.jsx("a",{href:n?"#"+n:void 0,children:r}):r}}function Ul(s,n){return n?function(r){s(),n(r)}:s}function Ym(s,n,r,i){return ie.useMemo((function(){var a=py(s,(function(c){return function(u){return c&&c(n,u)}}));return a.onMouseEnter=Ul(r,a.onMouseEnter),a.onMouseLeave=Ul(i,a.onMouseLeave),a}),[s,r,i,n])}function Zm(s,n,r,i,a,c,u,d,p){var g={change:n,side:i,inHoverState:d,renderDefault:gy(n,i),wrapInAnchor:yy(a,c)};return m.jsx("td",at(at({className:s},u),{},{"data-change-key":r,children:p(g)}))}function Qne(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,T=s.generateAnchorID,C=s.renderToken,O=s.renderGutter,E=a.type,_=a.content,N=Jr(a),D=(n=On(ie.useState(!1),2),r=n[0],i=n[1],[r,ie.useCallback((function(){return i(!0)}),[]),ie.useCallback((function(){return i(!1)}),[])]),F=On(D,3),G=F[0],V=F[1],Q=F[2],I=ie.useMemo((function(){return{change:a}}),[a]),se=Ym(y,I,V,Q),L=Ym(w,I,V,Q),z=T(a),q=p({changes:[a],defaultGenerate:function(){return d}}),re=fn("diff-gutter","diff-gutter-".concat(E),g,{"diff-gutter-selected":c}),me=fn("diff-code","diff-code-".concat(E),v,{"diff-code-selected":c});return m.jsxs("tr",{id:z,className:fn("diff-line",q),children:[!k&&Zm(re,a,N,"old",P,z,se,G,O),!k&&Zm(re,a,N,"new",P,z,se,G,O),m.jsx(my,at({className:me,changeKey:N,text:_,tokens:u,renderToken:C},L))]})}var Wne=ie.memo(Qne);function Kne(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 Xne=["hideGutter","selectedChanges","tokens","lineClassName"],Yne=["hunk","widgets","className"];function Zne(s){var n=s.hunk,r=s.widgets,i=s.className,a=qo(s,Yne),c=(function(u,d){return u.reduce((function(p,g){var v=Jr(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:fn("diff-hunk",i),children:c.map((function(u){return(function(d,p){var g=On(d,3),v=g[0],y=g[1],w=g[2],k=p.hideGutter,P=p.selectedChanges,T=p.tokens,C=p.lineClassName,O=qo(p,Xne);if(v==="change"){var E=pr(w)?"old":"new",_=pr(w)?sd(w):od(w),N=T?T[E][_-1]:null;return m.jsx(Wne,at({className:C,change:w,hideGutter:k,selected:P.includes(y),tokens:N},O),"change".concat(y))}return v==="widget"?m.jsx(Kne,{hideGutter:k,element:w},"widget".concat(y)):null})(u,a)}))})}var vy=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=py(i,(function(d){return function(p){return d&&d({side:s,change:r},p)}}));return u.onMouseEnter=Ul(a,u.onMouseEnter),u.onMouseLeave=Ul(c,u.onMouseLeave),u}),[r,i,a,s,c])}function Yu(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,T=s.renderGutter;if(!n){var C=fn("diff-gutter","diff-gutter-omit",c),O=fn("diff-code","diff-code-omit",u);return[!w&&m.jsx("td",{className:C},"gutter"),m.jsx("td",{className:O},"code")]}var E=n.type,_=n.content,N=Jr(n),D=r===vy?"old":"new",F=at({id:g||void 0,className:fn("diff-gutter","diff-gutter-".concat(E),Sf({"diff-gutter-selected":i},"diff-line-hover-"+D,k),c),children:T({change:n,side:D,inHoverState:k,renderDefault:gy(n,D),wrapInAnchor:yy(v,y)})},d),G=fn("diff-code","diff-code-".concat(E),Sf({"diff-code-selected":i},"diff-line-hover-"+D,k),u);return[!w&&m.jsx("td",at(at({},F),{},{"data-change-key":N}),"gutter"),m.jsx(my,at({className:G,changeKey:N,text:_,tokens:a,renderToken:P},p),"code")]}function Jne(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,T=s.generateLineClassName,C=s.gutterAnchor,O=s.renderToken,E=s.renderGutter,_=On(ie.useState(""),2),N=_[0],D=_[1],F=Al("old",D,r,y),G=Al("new",D,i,y),V=Al("old",D,r,w),Q=Al("new",D,i,w),I=r&&P(r),se=i&&P(i),L=T({changes:[r,i],defaultGenerate:function(){return n}}),z={monotonous:p,hideGutter:k,gutterClassName:g,codeClassName:v,gutterEvents:y,codeEvents:w,renderToken:O,renderGutter:E},q=at(at({},z),{},{change:r,side:vy,selected:a,tokens:u,gutterEvents:F,codeEvents:V,anchorID:I,gutterAnchor:C,gutterAnchorTarget:I,hover:N==="old"}),re=at(at({},z),{},{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:fn("diff-line",L),children:Yu(r?q:re)});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:fn("diff-line",me,L),children:[Yu(q),Yu(re)]})}var ere=ie.memo(Jne);function tre(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 nre=["selectedChanges","monotonous","hideGutter","tokens","lineClassName"],rre=["hunk","widgets","className"];function Cl(s,n){return(s?Jr(s):"00")+(n?Jr(n):"00")}function sre(s){var n=s.hunk,r=s.widgets,i=s.className,a=qo(s,rre),c=(function(u,d){for(var p=function(O){if(!O)return null;var E=Jr(O);return d[E]||null},g=[],v=0;v<u.length;v++){var y=u[v];if(Yi(y))g.push(["change",Cl(y,y),y,y]);else if(pr(y)){var w=u[v+1];w&&Vo(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]),T=p(k[3]);if(P||T){var C=k[1];g.push(["widget",C,P,T])}}return g})(n.changes,r);return m.jsx("tbody",{className:fn("diff-hunk",i),children:c.map((function(u){return(function(d,p){var g=On(d,4),v=g[0],y=g[1],w=g[2],k=g[3],P=p.selectedChanges,T=p.monotonous,C=p.hideGutter,O=p.tokens,E=p.lineClassName,_=qo(p,nre);if(v==="change"){var N=!!w&&P.includes(Jr(w)),D=!!k&&P.includes(Jr(k)),F=w&&O?O.old[sd(w)-1]:null,G=k&&O?O.new[od(k)-1]:null;return m.jsx(ere,at({className:E,oldChange:w,newChange:k,monotonous:T,hideGutter:C,oldSelected:N,newSelected:D,oldTokens:F,newTokens:G},_),"change".concat(y))}return v==="widget"?m.jsx(tre,{monotonous:T,hideGutter:C,oldElement:w,newElement:k},"widget".concat(y)):null})(u,a)}))})}var ore=["gutterType","hunkClassName"];function xy(s){var n=s.hunk,r=Hee(),i=r.gutterType,a=r.hunkClassName,c=qo(r,ore),u=i==="none",d=i==="anchor",p=c.viewType==="unified"?Zne:sre;return m.jsx(p,at(at({},c),{},{hunk:n,hideGutter:u,gutterAnchor:d,className:a}))}function ire(){}function Jm(s,n){var r=n?"auto":"none";s instanceof HTMLElement&&s.style.userSelect!==r&&(s.style.userSelect=r)}function are(s){return s.map((function(n){return m.jsx(xy,{hunk:n},(function(r){return"-".concat(r.oldStart,",").concat(r.oldLines," +").concat(r.newStart,",").concat(r.newLines)})(n))}))}function lre(s){var n=s.diffType,r=s.hunks,i=s.optimizeSelection,a=s.className,c=s.hunkClassName,u=c===void 0?Xt.hunkClassName:c,d=s.lineClassName,p=d===void 0?Xt.lineClassName:d,g=s.generateLineClassName,v=g===void 0?Xt.generateLineClassName:g,y=s.gutterClassName,w=y===void 0?Xt.gutterClassName:y,k=s.codeClassName,P=k===void 0?Xt.codeClassName:k,T=s.gutterType,C=T===void 0?Xt.gutterType:T,O=s.viewType,E=O===void 0?Xt.viewType:O,_=s.gutterEvents,N=_===void 0?Xt.gutterEvents:_,D=s.codeEvents,F=D===void 0?Xt.codeEvents:D,G=s.generateAnchorID,V=G===void 0?Xt.generateAnchorID:G,Q=s.selectedChanges,I=Q===void 0?Xt.selectedChanges:Q,se=s.widgets,L=se===void 0?Xt.widgets:se,z=s.renderGutter,q=z===void 0?Xt.renderGutter:z,re=s.tokens,me=s.renderToken,le=s.children,K=le===void 0?are:le,oe=ie.useRef(null),ee=ie.useCallback((function(Ee){var je=Ee.target;if(Ee.button===0){var Se=(function(rt,De){for(var dt=rt;dt&&dt!==document.documentElement&&!dt.classList.contains(De);)dt=dt.parentElement;return dt===document.documentElement?null:dt})(je,"diff-code");if(Se&&Se.parentElement){var Oe=window.getSelection();Oe&&Oe.removeAllRanges();var Ue=Dee(Se.parentElement.children).indexOf(Se);if(Ue===1||Ue===3){var Re,Ut=zee(oe.current?oe.current.querySelectorAll(".diff-line"):[]);try{for(Ut.s();!(Re=Ut.n()).done;){var Te=Re.value.children;Jm(Te[1],Ue===1),Jm(Te[3],Ue===3)}}catch(rt){Ut.e(rt)}finally{Ut.f()}}}}}),[]),A=C==="none",W=n==="add"||n==="delete",ke=E==="split"&&!W&&i?ee:ire,ge=ie.useMemo((function(){return m.jsxs("colgroup",E==="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",{})]})}),[E,W,A]),Ne=ie.useMemo((function(){return{hunkClassName:u,lineClassName:p,generateLineClassName:v,gutterClassName:w,codeClassName:P,monotonous:W,hideGutter:A,viewType:E,gutterType:C,codeEvents:F,gutterEvents:N,generateAnchorID:V,selectedChanges:I,widgets:L,renderGutter:q,tokens:re,renderToken:me}}),[P,F,V,w,N,C,A,u,p,v,W,q,me,I,re,E,L]);return m.jsx(Uee,{value:Ne,children:m.jsxs("table",{ref:oe,className:fn("diff","diff-".concat(E),a),onMouseDown:ke,children:[ge,K(r)]})})}var cre=ie.memo(lre);Kn&&Kn.isConcatSpreadable;var id=da((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],T=v[4],C=this.diff_main(y,k,a,c),O=this.diff_main(w,P,a,c);return C.concat([new n.Diff(0,T)],O)}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,T=0,C=0,O=0,E=0,_=0;_<d&&!(new Date().getTime()>a);_++){for(var N=-_+T;N<=_-C;N+=2){for(var D=p+N,F=(se=N==-_||N!=_&&v[D-1]<v[D+1]?v[D+1]:v[D-1]+1)-N;se<c&&F<u&&r.charAt(se)==i.charAt(F);)se++,F++;if(v[D]=se,se>c)C+=2;else if(F>u)T+=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,F,a)}for(var G=-_+O;G<=_-E;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)E+=2;else if(I>u)O+=2;else if(!P&&(D=p+k-G)>=0&&D<g&&v[D]!=-1){var se;if(F=p+(se=v[D])-D,se>=(V=c-V))return this.diff_bisectSplit_(r,i,se,F,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(`
275
+ `,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(T,C,O){for(var E,_,N,D,F=T.substring(O,O+Math.floor(T.length/4)),G=-1,V="";(G=C.indexOf(F,G+1))!=-1;){var Q=u.diff_commonPrefix(T.substring(O),C.substring(G)),I=u.diff_commonSuffix(T.substring(0,O),C.substring(0,G));V.length<I+Q&&(V=C.substring(G-I,G)+C.substring(G,G+Q),E=T.substring(0,O-I),_=T.substring(O+Q),N=C.substring(0,G-I),D=C.substring(G+Q))}return 2*V.length>=T.length?[E,_,N,D,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),T=this.diff_commonOverlap_(k,w);P>=T?(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++):(T>=w.length/2||T>=k.length/2)&&(r.splice(d,0,new n.Diff(0,w.substring(0,T))),r[d-1][0]=1,r[d-1][1]=k.substring(0,k.length-T),r[d+1][0]=-1,r[d+1][1]=w.substring(T),d++),d++}d++}},n.prototype.diff_cleanupSemanticLossless=function(r){function i(T,C){if(!T||!C)return 6;var O=T.charAt(T.length-1),E=C.charAt(0),_=O.match(n.nonAlphaNumericRegex_),N=E.match(n.nonAlphaNumericRegex_),D=_&&O.match(n.whitespaceRegex_),F=N&&E.match(n.whitespaceRegex_),G=D&&O.match(n.linebreakRegex_),V=F&&E.match(n.linebreakRegex_),Q=G&&T.match(n.blanklineEndRegex_),I=V&&C.match(n.blanklineStartRegex_);return Q||I?5:G||V?4:_&&!D&&F?3:D||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,"&amp;").replace(c,"&lt;").replace(u,"&gt;").replace(d,"&para;<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(F,G){var V=F/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,T=0;T<i.length;T++){for(v=0,y=P;v<y;)d(T,a+y)<=p?v=y:P=y,y=Math.floor((P-v)/2+v);P=y;var C=Math.max(1,a-y+1),O=Math.min(a+y,r.length)+i.length,E=Array(O+2);E[O+1]=(1<<T)-1;for(var _=O;_>=C;_--){var N=c[r.charAt(_-1)];if(E[_]=T===0?(E[_+1]<<1|1)&N:(E[_+1]<<1|1)&N|(k[_+1]|k[_])<<1|1|k[_+1],E[_]&w){var D=d(T,_-1);if(D<=p){if(p=D,!((g=_-1)>a))break;C=Math.max(1,2*a-g)}}}if(d(T+1,a)>p)break;k=E}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 T=u[P][0],C=u[P][1];switch(g||T===0||(p.start1=v,p.start2=y),T){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)}T!==1&&(v+=C.length),T!==-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,T=0,C=0;C<r[d].diffs.length;C++){var O=r[d].diffs[C];O[0]!==0&&(P=this.diff_xIndex(k,T)),O[0]===1?i=i.substring(0,p+P)+O[1]+i.substring(p+P):O[0]===-1&&(i=i.substring(0,p+P)+i.substring(p+this.diff_xIndex(k,T+O[1].length))),O[0]!==-1&&(T+=O[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(`
276
+ `),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)+` @@
277
+ `],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])+`
278
+ `}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}));id.DIFF_EQUAL;id.DIFF_DELETE;id.DIFF_INSERT;function ure(s){let n=0,r=0;for(const i of s.hunks)for(const a of i.changes)Vo(a)?n++:pr(a)&&r++;return{adds:n,dels:r}}function Zu(s){return s.type==="rename"&&s.oldPath!==s.newPath?`${s.oldPath} → ${s.newPath}`:s.type==="delete"?s.oldPath:s.newPath}function fre(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 dre({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 Gee(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}=ure(y),T=fre(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:Zu(y),children:[m.jsx("span",{className:"min-w-0 flex-1 truncate",dir:"rtl",children:Zu(y)}),T&&m.jsx("span",{className:`shrink-0 ${T.cls}`,children:T.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:Zu(v)}),m.jsx(cre,{viewType:"unified",diffType:v.type,hunks:v.hunks,children:y=>y.map(w=>m.jsx(xy,{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 Ju({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 hre({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(Ju,{title:"Review text the judge read",text:n.reviewText}),m.jsx(Ju,{title:"Raw judge reply — finding extraction",text:n.rawExtract}),m.jsx(Ju,{title:"Raw judge reply — gold matching",text:n.rawMatch})]})]})})}function pre(s){const n=s.review;if(!n)return"";const r=n.falsePositives.length?`False positives:
279
+ `+n.falsePositives.map(a=>`- ${a.file?`${a.file}: `:""}${a.description}`).join(`
280
+ `):"No false positives.",i=n.falseNegatives.length?`Missed gold:
281
+ `+n.falseNegatives.map(a=>`- [${a.severity}] ${a.file?`${a.file}: `:""}${a.description}`).join(`
282
+ `):"No missed gold.";return`${r}
283
+
284
+ ${i}`}function mre({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,T]=ie.useState(null),C=I=>a?a.replace(/scorecard\.json$/,I):I,O=(I,se)=>`${I} · ${Wn(i,se)}`,E=I=>!!I.modelPatchFile,_=I=>k({title:`${O(I.instance_id,I.model)} · changed files`,url:C(I.modelPatchFile)}),N=I=>y({kind:"trials",title:O(I.instance_id,I.model),sessions:I.sessions??[],baseUrl:a??""}),D=I=>y({kind:"execution",title:`${O(I.instance_id,I.model)} · held-out tests`,logUrl:I.executionLog?C(I.executionLog):void 0,failToPass:I.failToPass,passToPass:I.passToPass}),F=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:O(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 z;const L=((z=I.behavioral)==null?void 0:z.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:Wn(i,I.model)}),c&&m.jsxs("td",{className:"px-3 py-2.5",children:[I.blocked?m.jsx(vt,{kind:"blocked",children:"blocked"}):I.resolved===void 0?m.jsx(vt,{kind:"na",children:"—"}):I.resolved?m.jsx(vt,{kind:"pass",children:"resolved"}):m.jsx(vt,{kind:"fail",children:"unresolved"}),!I.blocked&&m.jsx(Xp,{pass:I.resolvedPass,trials:I.trials}),F(I)&&m.jsx("button",{onClick:()=>D(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"}),E(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(vt,{kind:"fail",children:"error"}):I.review?m.jsxs("span",{className:"inline-flex items-center gap-2",children:[m.jsxs("span",{title:pre(I),className:"cursor-help",children:[m.jsxs(vt,{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:()=>T({title:`${O(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(vt,{kind:"na",children:"—"})}),m.jsxs("td",{className:"px-3 py-2.5",children:[I.error?m.jsx(vt,{kind:"fail",children:"error"}):I.blocked?m.jsx(vt,{kind:"blocked",children:"blocked"}):I.behavioral?I.behavioral.ok?m.jsx(vt,{kind:"pass",children:"ok"}):m.jsx(vt,{kind:"fail",children:"miss"}):m.jsx(vt,{kind:"na",children:"—"}),!I.error&&!I.blocked&&m.jsx(Xp,{pass:I.behavioralPass,trials:I.trials})]}),m.jsx("td",{className:"px-3 py-2.5 leading-7",children:L.length?L.map((q,re)=>m.jsx(tx,{ok:q.ok,name:q.name,detail:q.detail},re)):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:Ag(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:Wn(i,I.model)}),c&&m.jsx("td",{className:"px-3 py-2.5",children:I.status==="running"?m.jsx(vt,{kind:"run",children:"running…"}):m.jsx(vt,{kind:"wait",children:"queued"})}),u&&m.jsx("td",{className:"px-3 py-2.5",children:I.status==="running"?m.jsx(vt,{kind:"run",children:"running…"}):m.jsx(vt,{kind:"wait",children:"queued"})}),m.jsxs("td",{className:"px-3 py-2.5",children:[!c&&!u&&(I.status==="running"?m.jsx(vt,{kind:"run",children:"running…"}):m.jsx(vt,{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(Lee,{source:v,onClose:()=>y(null)}),w&&m.jsx(dre,{title:w.title,url:w.url,onClose:()=>k(null)}),P&&m.jsx(hre,{title:P.title,trace:P.trace,onClose:()=>T(null)})]})}function gre({run:s}){var F,G,V,Q,I,se,L,z;const{data:n,isLoading:r,error:i}=B1(s.scorecard,s.live),a=((F=n==null?void 0:n.meta)==null?void 0:F.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 re=q.tier??s.tiers[0]??"—";d.includes(re)||d.push(re)}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=ax(w),T=((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",O=C==="config",E=O?"configs":"models",_=[...new Set(c.map(q=>q.model))].map(q=>Wn(a,q)),N=yre(c),D=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(Uf,{runType:C,className:"ml-3 align-middle"}),m.jsx(Dl,{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(" + ")}),"  ·  ",E,":"," ",m.jsx("b",{className:"font-semibold text-base-content",children:_.join(", ")}),"  · ",N,u.length?` / ${D}`:""," 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})]})," ·  ",Ll(((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(bre,{message:i.message}),r&&!n?m.jsx(wre,{}):m.jsxs(m.Fragment,{children:[p.length>1&&m.jsx("nav",{className:"mb-4 flex flex-wrap gap-2",children:p.map((q,re)=>m.jsx("button",{onClick:()=>v(re),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:[O?"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",T]}),T===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:["β=",T]})," (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(lx,{models:P,tier:y,labels:a,axisLabel:O?"Config":"Model"}),O&&m.jsx(vre,{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(mre,{tier:y,results:w,pending:k,labels:a,scorecardUrl:s.scorecard}),y==="pr-review"&&((z=n==null?void 0:n.meta)==null?void 0:z.martian)&&m.jsx(xre,{ranking:n.meta.martian,labels:a})]})]})}function yre(s){return new Set(s.map(n=>`${n.tier??""}|${n.model}|${n.instance_id}`)).size}function vre({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:Wn(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 xre({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 (${Wn(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}=aa();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 wre(){return m.jsx("div",{className:"py-16 text-center font-mono text-sm text-base-content/40",children:"loading scorecard…"})}function bre({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 kre(){const{data:s,isLoading:n,error:r}=H1(),i=Q1(),a=$f(),{isDark:c,toggleTheme:u}=aa(),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(sx,{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(O1,{size:14}):m.jsx(k1,{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(Tre,{message:r.message}):n&&!s?m.jsx(_re,{}):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(gre,{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(ox,{tier:p})]}):m.jsx(rx,{tiers:d}):m.jsx(Sre,{}),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 Sre(){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 _re(){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 Tre({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 Ere=new Lv({defaultOptions:{queries:{retry:1,refetchOnWindowFocus:!1}}});cv.createRoot(document.getElementById("root")).render(m.jsx(rv.StrictMode,{children:m.jsx(Iv,{client:Ere,children:m.jsx(X1,{children:m.jsx(kre,{})})})}));