Spaces:
Running
Running
var Xd=Object.defineProperty;var Bu=e=>{throw TypeError(e)};var Zd=(e,t,n)=>t in e?Xd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var q=(e,t,n)=>Zd(e,typeof t!="symbol"?t+"":t,n),qd=(e,t,n)=>t.has(e)||Bu("Cannot "+n);var Hu=(e,t,n)=>t.has(e)?Bu("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n);var sl=(e,t,n)=>(qd(e,t,"access private method"),n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const i of l)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(l){const i={};return l.integrity&&(i.integrity=l.integrity),l.referrerPolicy&&(i.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?i.credentials="include":l.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(l){if(l.ep)return;l.ep=!0;const i=n(l);fetch(l.href,i)}})();function Jd(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var dc={exports:{}},mi={},pc={exports:{}},$={};/** | |
* @license React | |
* react.production.min.js | |
* | |
* Copyright (c) Facebook, Inc. and its affiliates. | |
* | |
* This source code is licensed under the MIT license found in the | |
* LICENSE file in the root directory of this source tree. | |
*/var Xr=Symbol.for("react.element"),bd=Symbol.for("react.portal"),ep=Symbol.for("react.fragment"),tp=Symbol.for("react.strict_mode"),np=Symbol.for("react.profiler"),rp=Symbol.for("react.provider"),lp=Symbol.for("react.context"),ip=Symbol.for("react.forward_ref"),op=Symbol.for("react.suspense"),sp=Symbol.for("react.memo"),up=Symbol.for("react.lazy"),Wu=Symbol.iterator;function ap(e){return e===null||typeof e!="object"?null:(e=Wu&&e[Wu]||e["@@iterator"],typeof e=="function"?e:null)}var hc={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},mc=Object.assign,gc={};function qn(e,t,n){this.props=e,this.context=t,this.refs=gc,this.updater=n||hc}qn.prototype.isReactComponent={};qn.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};qn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function yc(){}yc.prototype=qn.prototype;function gs(e,t,n){this.props=e,this.context=t,this.refs=gc,this.updater=n||hc}var ys=gs.prototype=new yc;ys.constructor=gs;mc(ys,qn.prototype);ys.isPureReactComponent=!0;var Vu=Array.isArray,vc=Object.prototype.hasOwnProperty,vs={current:null},kc={key:!0,ref:!0,__self:!0,__source:!0};function wc(e,t,n){var r,l={},i=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(i=""+t.key),t)vc.call(t,r)&&!kc.hasOwnProperty(r)&&(l[r]=t[r]);var s=arguments.length-2;if(s===1)l.children=n;else if(1<s){for(var u=Array(s),a=0;a<s;a++)u[a]=arguments[a+2];l.children=u}if(e&&e.defaultProps)for(r in s=e.defaultProps,s)l[r]===void 0&&(l[r]=s[r]);return{$$typeof:Xr,type:e,key:i,ref:o,props:l,_owner:vs.current}}function cp(e,t){return{$$typeof:Xr,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function ks(e){return typeof e=="object"&&e!==null&&e.$$typeof===Xr}function fp(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Qu=/\/+/g;function Bi(e,t){return typeof e=="object"&&e!==null&&e.key!=null?fp(""+e.key):t.toString(36)}function Ll(e,t,n,r,l){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(i){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case Xr:case bd:o=!0}}if(o)return o=e,l=l(o),e=r===""?"."+Bi(o,0):r,Vu(l)?(n="",e!=null&&(n=e.replace(Qu,"$&/")+"/"),Ll(l,t,n,"",function(a){return a})):l!=null&&(ks(l)&&(l=cp(l,n+(!l.key||o&&o.key===l.key?"":(""+l.key).replace(Qu,"$&/")+"/")+e)),t.push(l)),1;if(o=0,r=r===""?".":r+":",Vu(e))for(var s=0;s<e.length;s++){i=e[s];var u=r+Bi(i,s);o+=Ll(i,t,n,u,l)}else if(u=ap(e),typeof u=="function")for(e=u.call(e),s=0;!(i=e.next()).done;)i=i.value,u=r+Bi(i,s++),o+=Ll(i,t,n,u,l);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return o}function ul(e,t,n){if(e==null)return e;var r=[],l=0;return Ll(e,r,"","",function(i){return t.call(n,i,l++)}),r}function dp(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Ae={current:null},Pl={transition:null},pp={ReactCurrentDispatcher:Ae,ReactCurrentBatchConfig:Pl,ReactCurrentOwner:vs};function xc(){throw Error("act(...) is not supported in production builds of React.")}$.Children={map:ul,forEach:function(e,t,n){ul(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ul(e,function(){t++}),t},toArray:function(e){return ul(e,function(t){return t})||[]},only:function(e){if(!ks(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};$.Component=qn;$.Fragment=ep;$.Profiler=np;$.PureComponent=gs;$.StrictMode=tp;$.Suspense=op;$.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=pp;$.act=xc;$.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=mc({},e.props),l=e.key,i=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,o=vs.current),t.key!==void 0&&(l=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(u in t)vc.call(t,u)&&!kc.hasOwnProperty(u)&&(r[u]=t[u]===void 0&&s!==void 0?s[u]:t[u])}var u=arguments.length-2;if(u===1)r.children=n;else if(1<u){s=Array(u);for(var a=0;a<u;a++)s[a]=arguments[a+2];r.children=s}return{$$typeof:Xr,type:e.type,key:l,ref:i,props:r,_owner:o}};$.createContext=function(e){return e={$$typeof:lp,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:rp,_context:e},e.Consumer=e};$.createElement=wc;$.createFactory=function(e){var t=wc.bind(null,e);return t.type=e,t};$.createRef=function(){return{current:null}};$.forwardRef=function(e){return{$$typeof:ip,render:e}};$.isValidElement=ks;$.lazy=function(e){return{$$typeof:up,_payload:{_status:-1,_result:e},_init:dp}};$.memo=function(e,t){return{$$typeof:sp,type:e,compare:t===void 0?null:t}};$.startTransition=function(e){var t=Pl.transition;Pl.transition={};try{e()}finally{Pl.transition=t}};$.unstable_act=xc;$.useCallback=function(e,t){return Ae.current.useCallback(e,t)};$.useContext=function(e){return Ae.current.useContext(e)};$.useDebugValue=function(){};$.useDeferredValue=function(e){return Ae.current.useDeferredValue(e)};$.useEffect=function(e,t){return Ae.current.useEffect(e,t)};$.useId=function(){return Ae.current.useId()};$.useImperativeHandle=function(e,t,n){return Ae.current.useImperativeHandle(e,t,n)};$.useInsertionEffect=function(e,t){return Ae.current.useInsertionEffect(e,t)};$.useLayoutEffect=function(e,t){return Ae.current.useLayoutEffect(e,t)};$.useMemo=function(e,t){return Ae.current.useMemo(e,t)};$.useReducer=function(e,t,n){return Ae.current.useReducer(e,t,n)};$.useRef=function(e){return Ae.current.useRef(e)};$.useState=function(e){return Ae.current.useState(e)};$.useSyncExternalStore=function(e,t,n){return Ae.current.useSyncExternalStore(e,t,n)};$.useTransition=function(){return Ae.current.useTransition()};$.version="18.3.1";pc.exports=$;var b=pc.exports;const hp=Jd(b);/** | |
* @license React | |
* react-jsx-runtime.production.min.js | |
* | |
* Copyright (c) Facebook, Inc. and its affiliates. | |
* | |
* This source code is licensed under the MIT license found in the | |
* LICENSE file in the root directory of this source tree. | |
*/var mp=b,gp=Symbol.for("react.element"),yp=Symbol.for("react.fragment"),vp=Object.prototype.hasOwnProperty,kp=mp.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,wp={key:!0,ref:!0,__self:!0,__source:!0};function Sc(e,t,n){var r,l={},i=null,o=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(o=t.ref);for(r in t)vp.call(t,r)&&!wp.hasOwnProperty(r)&&(l[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)l[r]===void 0&&(l[r]=t[r]);return{$$typeof:gp,type:e,key:i,ref:o,props:l,_owner:kp.current}}mi.Fragment=yp;mi.jsx=Sc;mi.jsxs=Sc;dc.exports=mi;var k=dc.exports,ko={},Ec={exports:{}},Ge={},_c={exports:{}},Tc={};/** | |
* @license React | |
* scheduler.production.min.js | |
* | |
* Copyright (c) Facebook, Inc. and its affiliates. | |
* | |
* This source code is licensed under the MIT license found in the | |
* LICENSE file in the root directory of this source tree. | |
*/(function(e){function t(T,z){var I=T.length;T.push(z);e:for(;0<I;){var O=I-1>>>1,ne=T[O];if(0<l(ne,z))T[O]=z,T[I]=ne,I=O;else break e}}function n(T){return T.length===0?null:T[0]}function r(T){if(T.length===0)return null;var z=T[0],I=T.pop();if(I!==z){T[0]=I;e:for(var O=0,ne=T.length,Z=ne>>>1;O<Z;){var oe=2*(O+1)-1,j=T[oe],ue=oe+1,ct=T[ue];if(0>l(j,I))ue<ne&&0>l(ct,j)?(T[O]=ct,T[ue]=I,O=ue):(T[O]=j,T[oe]=I,O=oe);else if(ue<ne&&0>l(ct,I))T[O]=ct,T[ue]=I,O=ue;else break e}}return z}function l(T,z){var I=T.sortIndex-z.sortIndex;return I!==0?I:T.id-z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var u=[],a=[],m=1,g=null,d=3,v=!1,w=!1,E=!1,M=typeof setTimeout=="function"?setTimeout:null,p=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function h(T){for(var z=n(a);z!==null;){if(z.callback===null)r(a);else if(z.startTime<=T)r(a),z.sortIndex=z.expirationTime,t(u,z);else break;z=n(a)}}function y(T){if(E=!1,h(T),!w)if(n(u)!==null)w=!0,ce(_);else{var z=n(a);z!==null&&G(y,z.startTime-T)}}function _(T,z){w=!1,E&&(E=!1,p(P),P=-1),v=!0;var I=d;try{for(h(z),g=n(u);g!==null&&(!(g.expirationTime>z)||T&&!X());){var O=g.callback;if(typeof O=="function"){g.callback=null,d=g.priorityLevel;var ne=O(g.expirationTime<=z);z=e.unstable_now(),typeof ne=="function"?g.callback=ne:g===n(u)&&r(u),h(z)}else r(u);g=n(u)}if(g!==null)var Z=!0;else{var oe=n(a);oe!==null&&G(y,oe.startTime-z),Z=!1}return Z}finally{g=null,d=I,v=!1}}var N=!1,R=null,P=-1,Q=5,D=-1;function X(){return!(e.unstable_now()-D<Q)}function $e(){if(R!==null){var T=e.unstable_now();D=T;var z=!0;try{z=R(!0,T)}finally{z?tt():(N=!1,R=null)}}else N=!1}var tt;if(typeof c=="function")tt=function(){c($e)};else if(typeof MessageChannel<"u"){var zt=new MessageChannel,U=zt.port2;zt.port1.onmessage=$e,tt=function(){U.postMessage(null)}}else tt=function(){M($e,0)};function ce(T){R=T,N||(N=!0,tt())}function G(T,z){P=M(function(){T(e.unstable_now())},z)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(T){T.callback=null},e.unstable_continueExecution=function(){w||v||(w=!0,ce(_))},e.unstable_forceFrameRate=function(T){0>T||125<T?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Q=0<T?Math.floor(1e3/T):5},e.unstable_getCurrentPriorityLevel=function(){return d},e.unstable_getFirstCallbackNode=function(){return n(u)},e.unstable_next=function(T){switch(d){case 1:case 2:case 3:var z=3;break;default:z=d}var I=d;d=z;try{return T()}finally{d=I}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(T,z){switch(T){case 1:case 2:case 3:case 4:case 5:break;default:T=3}var I=d;d=T;try{return z()}finally{d=I}},e.unstable_scheduleCallback=function(T,z,I){var O=e.unstable_now();switch(typeof I=="object"&&I!==null?(I=I.delay,I=typeof I=="number"&&0<I?O+I:O):I=O,T){case 1:var ne=-1;break;case 2:ne=250;break;case 5:ne=1073741823;break;case 4:ne=1e4;break;default:ne=5e3}return ne=I+ne,T={id:m++,callback:z,priorityLevel:T,startTime:I,expirationTime:ne,sortIndex:-1},I>O?(T.sortIndex=I,t(a,T),n(u)===null&&T===n(a)&&(E?(p(P),P=-1):E=!0,G(y,I-O))):(T.sortIndex=ne,t(u,T),w||v||(w=!0,ce(_))),T},e.unstable_shouldYield=X,e.unstable_wrapCallback=function(T){var z=d;return function(){var I=d;d=z;try{return T.apply(this,arguments)}finally{d=I}}}})(Tc);_c.exports=Tc;var xp=_c.exports;/** | |
* @license React | |
* react-dom.production.min.js | |
* | |
* Copyright (c) Facebook, Inc. and its affiliates. | |
* | |
* This source code is licensed under the MIT license found in the | |
* LICENSE file in the root directory of this source tree. | |
*/var Sp=b,Ve=xp;function x(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Cc=new Set,zr={};function gn(e,t){Vn(e,t),Vn(e+"Capture",t)}function Vn(e,t){for(zr[e]=t,e=0;e<t.length;e++)Cc.add(t[e])}var Nt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),wo=Object.prototype.hasOwnProperty,Ep=/^[: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]*$/,Gu={},Yu={};function _p(e){return wo.call(Yu,e)?!0:wo.call(Gu,e)?!1:Ep.test(e)?Yu[e]=!0:(Gu[e]=!0,!1)}function Tp(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Cp(e,t,n,r){if(t===null||typeof t>"u"||Tp(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function ze(e,t,n,r,l,i,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var we={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){we[e]=new ze(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];we[t]=new ze(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){we[e]=new ze(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){we[e]=new ze(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){we[e]=new ze(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){we[e]=new ze(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){we[e]=new ze(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){we[e]=new ze(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){we[e]=new ze(e,5,!1,e.toLowerCase(),null,!1,!1)});var ws=/[\-:]([a-z])/g;function xs(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(ws,xs);we[t]=new ze(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(ws,xs);we[t]=new ze(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(ws,xs);we[t]=new ze(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){we[e]=new ze(e,1,!1,e.toLowerCase(),null,!1,!1)});we.xlinkHref=new ze("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){we[e]=new ze(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ss(e,t,n,r){var l=we.hasOwnProperty(t)?we[t]:null;(l!==null?l.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Cp(t,n,l,r)&&(n=null),r||l===null?_p(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):l.mustUseProperty?e[l.propertyName]=n===null?l.type===3?!1:"":n:(t=l.attributeName,r=l.attributeNamespace,n===null?e.removeAttribute(t):(l=l.type,n=l===3||l===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var At=Sp.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,al=Symbol.for("react.element"),Cn=Symbol.for("react.portal"),Nn=Symbol.for("react.fragment"),Es=Symbol.for("react.strict_mode"),xo=Symbol.for("react.profiler"),Nc=Symbol.for("react.provider"),Rc=Symbol.for("react.context"),_s=Symbol.for("react.forward_ref"),So=Symbol.for("react.suspense"),Eo=Symbol.for("react.suspense_list"),Ts=Symbol.for("react.memo"),Ot=Symbol.for("react.lazy"),Lc=Symbol.for("react.offscreen"),Ku=Symbol.iterator;function rr(e){return e===null||typeof e!="object"?null:(e=Ku&&e[Ku]||e["@@iterator"],typeof e=="function"?e:null)}var ie=Object.assign,Hi;function yr(e){if(Hi===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Hi=t&&t[1]||""}return` | |
`+Hi+e}var Wi=!1;function Vi(e,t){if(!e||Wi)return"";Wi=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(a){var r=a}Reflect.construct(e,[],t)}else{try{t.call()}catch(a){r=a}e.call(t.prototype)}else{try{throw Error()}catch(a){r=a}e()}}catch(a){if(a&&r&&typeof a.stack=="string"){for(var l=a.stack.split(` | |
`),i=r.stack.split(` | |
`),o=l.length-1,s=i.length-1;1<=o&&0<=s&&l[o]!==i[s];)s--;for(;1<=o&&0<=s;o--,s--)if(l[o]!==i[s]){if(o!==1||s!==1)do if(o--,s--,0>s||l[o]!==i[s]){var u=` | |
`+l[o].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}while(1<=o&&0<=s);break}}}finally{Wi=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?yr(e):""}function Np(e){switch(e.tag){case 5:return yr(e.type);case 16:return yr("Lazy");case 13:return yr("Suspense");case 19:return yr("SuspenseList");case 0:case 2:case 15:return e=Vi(e.type,!1),e;case 11:return e=Vi(e.type.render,!1),e;case 1:return e=Vi(e.type,!0),e;default:return""}}function _o(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 Nn:return"Fragment";case Cn:return"Portal";case xo:return"Profiler";case Es:return"StrictMode";case So:return"Suspense";case Eo:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Rc:return(e.displayName||"Context")+".Consumer";case Nc:return(e._context.displayName||"Context")+".Provider";case _s:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ts:return t=e.displayName||null,t!==null?t:_o(e.type)||"Memo";case Ot:t=e._payload,e=e._init;try{return _o(e(t))}catch{}}return null}function Rp(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 _o(t);case 8:return t===Es?"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 Kt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Pc(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Lp(e){var t=Pc(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function cl(e){e._valueTracker||(e._valueTracker=Lp(e))}function Ac(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Pc(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Hl(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 To(e,t){var n=t.checked;return ie({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Xu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Kt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function zc(e,t){t=t.checked,t!=null&&Ss(e,"checked",t,!1)}function Co(e,t){zc(e,t);var n=Kt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?No(e,t.type,n):t.hasOwnProperty("defaultValue")&&No(e,t.type,Kt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Zu(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function No(e,t,n){(t!=="number"||Hl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var vr=Array.isArray;function Fn(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l<n.length;l++)t["$"+n[l]]=!0;for(n=0;n<e.length;n++)l=t.hasOwnProperty("$"+e[n].value),e[n].selected!==l&&(e[n].selected=l),l&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Kt(n),t=null,l=0;l<e.length;l++){if(e[l].value===n){e[l].selected=!0,r&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function Ro(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(x(91));return ie({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function qu(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(x(92));if(vr(n)){if(1<n.length)throw Error(x(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Kt(n)}}function Ic(e,t){var n=Kt(t.value),r=Kt(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function Ju(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Oc(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 Lo(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Oc(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var fl,Mc=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,l){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,l)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(fl=fl||document.createElement("div"),fl.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=fl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ir(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var xr={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},Pp=["Webkit","ms","Moz","O"];Object.keys(xr).forEach(function(e){Pp.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),xr[t]=xr[e]})});function Dc(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||xr.hasOwnProperty(e)&&xr[e]?(""+t).trim():t+"px"}function jc(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=Dc(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var Ap=ie({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 Po(e,t){if(t){if(Ap[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(x(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(x(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(x(61))}if(t.style!=null&&typeof t.style!="object")throw Error(x(62))}}function Ao(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 zo=null;function Cs(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Io=null,$n=null,Un=null;function bu(e){if(e=Jr(e)){if(typeof Io!="function")throw Error(x(280));var t=e.stateNode;t&&(t=wi(t),Io(e.stateNode,e.type,t))}}function Fc(e){$n?Un?Un.push(e):Un=[e]:$n=e}function $c(){if($n){var e=$n,t=Un;if(Un=$n=null,bu(e),t)for(e=0;e<t.length;e++)bu(t[e])}}function Uc(e,t){return e(t)}function Bc(){}var Qi=!1;function Hc(e,t,n){if(Qi)return e(t,n);Qi=!0;try{return Uc(e,t,n)}finally{Qi=!1,($n!==null||Un!==null)&&(Bc(),$c())}}function Or(e,t){var n=e.stateNode;if(n===null)return null;var r=wi(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(x(231,t,typeof n));return n}var Oo=!1;if(Nt)try{var lr={};Object.defineProperty(lr,"passive",{get:function(){Oo=!0}}),window.addEventListener("test",lr,lr),window.removeEventListener("test",lr,lr)}catch{Oo=!1}function zp(e,t,n,r,l,i,o,s,u){var a=Array.prototype.slice.call(arguments,3);try{t.apply(n,a)}catch(m){this.onError(m)}}var Sr=!1,Wl=null,Vl=!1,Mo=null,Ip={onError:function(e){Sr=!0,Wl=e}};function Op(e,t,n,r,l,i,o,s,u){Sr=!1,Wl=null,zp.apply(Ip,arguments)}function Mp(e,t,n,r,l,i,o,s,u){if(Op.apply(this,arguments),Sr){if(Sr){var a=Wl;Sr=!1,Wl=null}else throw Error(x(198));Vl||(Vl=!0,Mo=a)}}function yn(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Wc(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 ea(e){if(yn(e)!==e)throw Error(x(188))}function Dp(e){var t=e.alternate;if(!t){if(t=yn(e),t===null)throw Error(x(188));return t!==e?null:e}for(var n=e,r=t;;){var l=n.return;if(l===null)break;var i=l.alternate;if(i===null){if(r=l.return,r!==null){n=r;continue}break}if(l.child===i.child){for(i=l.child;i;){if(i===n)return ea(l),e;if(i===r)return ea(l),t;i=i.sibling}throw Error(x(188))}if(n.return!==r.return)n=l,r=i;else{for(var o=!1,s=l.child;s;){if(s===n){o=!0,n=l,r=i;break}if(s===r){o=!0,r=l,n=i;break}s=s.sibling}if(!o){for(s=i.child;s;){if(s===n){o=!0,n=i,r=l;break}if(s===r){o=!0,r=i,n=l;break}s=s.sibling}if(!o)throw Error(x(189))}}if(n.alternate!==r)throw Error(x(190))}if(n.tag!==3)throw Error(x(188));return n.stateNode.current===n?e:t}function Vc(e){return e=Dp(e),e!==null?Qc(e):null}function Qc(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Qc(e);if(t!==null)return t;e=e.sibling}return null}var Gc=Ve.unstable_scheduleCallback,ta=Ve.unstable_cancelCallback,jp=Ve.unstable_shouldYield,Fp=Ve.unstable_requestPaint,ae=Ve.unstable_now,$p=Ve.unstable_getCurrentPriorityLevel,Ns=Ve.unstable_ImmediatePriority,Yc=Ve.unstable_UserBlockingPriority,Ql=Ve.unstable_NormalPriority,Up=Ve.unstable_LowPriority,Kc=Ve.unstable_IdlePriority,gi=null,vt=null;function Bp(e){if(vt&&typeof vt.onCommitFiberRoot=="function")try{vt.onCommitFiberRoot(gi,e,void 0,(e.current.flags&128)===128)}catch{}}var st=Math.clz32?Math.clz32:Vp,Hp=Math.log,Wp=Math.LN2;function Vp(e){return e>>>=0,e===0?32:31-(Hp(e)/Wp|0)|0}var dl=64,pl=4194304;function kr(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 Gl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var s=o&~l;s!==0?r=kr(s):(i&=o,i!==0&&(r=kr(i)))}else o=n&~l,o!==0?r=kr(o):i!==0&&(r=kr(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,i=t&-t,l>=i||l===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-st(t),l=1<<n,r|=e[n],t&=~l;return r}function Qp(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 Gp(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,l=e.expirationTimes,i=e.pendingLanes;0<i;){var o=31-st(i),s=1<<o,u=l[o];u===-1?(!(s&n)||s&r)&&(l[o]=Qp(s,t)):u<=t&&(e.expiredLanes|=s),i&=~s}}function Do(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Xc(){var e=dl;return dl<<=1,!(dl&4194240)&&(dl=64),e}function Gi(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Zr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-st(t),e[t]=n}function Yp(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var l=31-st(n),i=1<<l;t[l]=0,r[l]=-1,e[l]=-1,n&=~i}}function Rs(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-st(n),l=1<<r;l&t|e[r]&t&&(e[r]|=t),n&=~l}}var W=0;function Zc(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var qc,Ls,Jc,bc,ef,jo=!1,hl=[],Ut=null,Bt=null,Ht=null,Mr=new Map,Dr=new Map,Dt=[],Kp="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 na(e,t){switch(e){case"focusin":case"focusout":Ut=null;break;case"dragenter":case"dragleave":Bt=null;break;case"mouseover":case"mouseout":Ht=null;break;case"pointerover":case"pointerout":Mr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Dr.delete(t.pointerId)}}function ir(e,t,n,r,l,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[l]},t!==null&&(t=Jr(t),t!==null&&Ls(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function Xp(e,t,n,r,l){switch(t){case"focusin":return Ut=ir(Ut,e,t,n,r,l),!0;case"dragenter":return Bt=ir(Bt,e,t,n,r,l),!0;case"mouseover":return Ht=ir(Ht,e,t,n,r,l),!0;case"pointerover":var i=l.pointerId;return Mr.set(i,ir(Mr.get(i)||null,e,t,n,r,l)),!0;case"gotpointercapture":return i=l.pointerId,Dr.set(i,ir(Dr.get(i)||null,e,t,n,r,l)),!0}return!1}function tf(e){var t=rn(e.target);if(t!==null){var n=yn(t);if(n!==null){if(t=n.tag,t===13){if(t=Wc(n),t!==null){e.blockedOn=t,ef(e.priority,function(){Jc(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Al(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Fo(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);zo=r,n.target.dispatchEvent(r),zo=null}else return t=Jr(n),t!==null&&Ls(t),e.blockedOn=n,!1;t.shift()}return!0}function ra(e,t,n){Al(e)&&n.delete(t)}function Zp(){jo=!1,Ut!==null&&Al(Ut)&&(Ut=null),Bt!==null&&Al(Bt)&&(Bt=null),Ht!==null&&Al(Ht)&&(Ht=null),Mr.forEach(ra),Dr.forEach(ra)}function or(e,t){e.blockedOn===t&&(e.blockedOn=null,jo||(jo=!0,Ve.unstable_scheduleCallback(Ve.unstable_NormalPriority,Zp)))}function jr(e){function t(l){return or(l,e)}if(0<hl.length){or(hl[0],e);for(var n=1;n<hl.length;n++){var r=hl[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Ut!==null&&or(Ut,e),Bt!==null&&or(Bt,e),Ht!==null&&or(Ht,e),Mr.forEach(t),Dr.forEach(t),n=0;n<Dt.length;n++)r=Dt[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Dt.length&&(n=Dt[0],n.blockedOn===null);)tf(n),n.blockedOn===null&&Dt.shift()}var Bn=At.ReactCurrentBatchConfig,Yl=!0;function qp(e,t,n,r){var l=W,i=Bn.transition;Bn.transition=null;try{W=1,Ps(e,t,n,r)}finally{W=l,Bn.transition=i}}function Jp(e,t,n,r){var l=W,i=Bn.transition;Bn.transition=null;try{W=4,Ps(e,t,n,r)}finally{W=l,Bn.transition=i}}function Ps(e,t,n,r){if(Yl){var l=Fo(e,t,n,r);if(l===null)no(e,t,r,Kl,n),na(e,r);else if(Xp(l,e,t,n,r))r.stopPropagation();else if(na(e,r),t&4&&-1<Kp.indexOf(e)){for(;l!==null;){var i=Jr(l);if(i!==null&&qc(i),i=Fo(e,t,n,r),i===null&&no(e,t,r,Kl,n),i===l)break;l=i}l!==null&&r.stopPropagation()}else no(e,t,r,null,n)}}var Kl=null;function Fo(e,t,n,r){if(Kl=null,e=Cs(r),e=rn(e),e!==null)if(t=yn(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Wc(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Kl=e,null}function nf(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($p()){case Ns:return 1;case Yc:return 4;case Ql:case Up:return 16;case Kc:return 536870912;default:return 16}default:return 16}}var Ft=null,As=null,zl=null;function rf(){if(zl)return zl;var e,t=As,n=t.length,r,l="value"in Ft?Ft.value:Ft.textContent,i=l.length;for(e=0;e<n&&t[e]===l[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===l[i-r];r++);return zl=l.slice(e,1<r?1-r:void 0)}function Il(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 ml(){return!0}function la(){return!1}function Ye(e){function t(n,r,l,i,o){this._reactName=n,this._targetInst=l,this.type=r,this.nativeEvent=i,this.target=o,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(n=e[s],this[s]=n?n(i):i[s]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?ml:la,this.isPropagationStopped=la,this}return ie(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=ml)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=ml)},persist:function(){},isPersistent:ml}),t}var Jn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},zs=Ye(Jn),qr=ie({},Jn,{view:0,detail:0}),bp=Ye(qr),Yi,Ki,sr,yi=ie({},qr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Is,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!==sr&&(sr&&e.type==="mousemove"?(Yi=e.screenX-sr.screenX,Ki=e.screenY-sr.screenY):Ki=Yi=0,sr=e),Yi)},movementY:function(e){return"movementY"in e?e.movementY:Ki}}),ia=Ye(yi),eh=ie({},yi,{dataTransfer:0}),th=Ye(eh),nh=ie({},qr,{relatedTarget:0}),Xi=Ye(nh),rh=ie({},Jn,{animationName:0,elapsedTime:0,pseudoElement:0}),lh=Ye(rh),ih=ie({},Jn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),oh=Ye(ih),sh=ie({},Jn,{data:0}),oa=Ye(sh),uh={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ah={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"},ch={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function fh(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=ch[e])?!!t[e]:!1}function Is(){return fh}var dh=ie({},qr,{key:function(e){if(e.key){var t=uh[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Il(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?ah[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Is,charCode:function(e){return e.type==="keypress"?Il(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Il(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),ph=Ye(dh),hh=ie({},yi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),sa=Ye(hh),mh=ie({},qr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Is}),gh=Ye(mh),yh=ie({},Jn,{propertyName:0,elapsedTime:0,pseudoElement:0}),vh=Ye(yh),kh=ie({},yi,{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}),wh=Ye(kh),xh=[9,13,27,32],Os=Nt&&"CompositionEvent"in window,Er=null;Nt&&"documentMode"in document&&(Er=document.documentMode);var Sh=Nt&&"TextEvent"in window&&!Er,lf=Nt&&(!Os||Er&&8<Er&&11>=Er),ua=" ",aa=!1;function of(e,t){switch(e){case"keyup":return xh.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function sf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Rn=!1;function Eh(e,t){switch(e){case"compositionend":return sf(t);case"keypress":return t.which!==32?null:(aa=!0,ua);case"textInput":return e=t.data,e===ua&&aa?null:e;default:return null}}function _h(e,t){if(Rn)return e==="compositionend"||!Os&&of(e,t)?(e=rf(),zl=As=Ft=null,Rn=!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 lf&&t.locale!=="ko"?null:t.data;default:return null}}var Th={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 ca(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Th[e.type]:t==="textarea"}function uf(e,t,n,r){Fc(r),t=Xl(t,"onChange"),0<t.length&&(n=new zs("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var _r=null,Fr=null;function Ch(e){kf(e,0)}function vi(e){var t=An(e);if(Ac(t))return e}function Nh(e,t){if(e==="change")return t}var af=!1;if(Nt){var Zi;if(Nt){var qi="oninput"in document;if(!qi){var fa=document.createElement("div");fa.setAttribute("oninput","return;"),qi=typeof fa.oninput=="function"}Zi=qi}else Zi=!1;af=Zi&&(!document.documentMode||9<document.documentMode)}function da(){_r&&(_r.detachEvent("onpropertychange",cf),Fr=_r=null)}function cf(e){if(e.propertyName==="value"&&vi(Fr)){var t=[];uf(t,Fr,e,Cs(e)),Hc(Ch,t)}}function Rh(e,t,n){e==="focusin"?(da(),_r=t,Fr=n,_r.attachEvent("onpropertychange",cf)):e==="focusout"&&da()}function Lh(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return vi(Fr)}function Ph(e,t){if(e==="click")return vi(t)}function Ah(e,t){if(e==="input"||e==="change")return vi(t)}function zh(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var at=typeof Object.is=="function"?Object.is:zh;function $r(e,t){if(at(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var l=n[r];if(!wo.call(t,l)||!at(e[l],t[l]))return!1}return!0}function pa(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ha(e,t){var n=pa(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=pa(n)}}function ff(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ff(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function df(){for(var e=window,t=Hl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Hl(e.document)}return t}function Ms(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 Ih(e){var t=df(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&ff(n.ownerDocument.documentElement,n)){if(r!==null&&Ms(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=ha(n,i);var o=ha(n,r);l&&o&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Oh=Nt&&"documentMode"in document&&11>=document.documentMode,Ln=null,$o=null,Tr=null,Uo=!1;function ma(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Uo||Ln==null||Ln!==Hl(r)||(r=Ln,"selectionStart"in r&&Ms(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Tr&&$r(Tr,r)||(Tr=r,r=Xl($o,"onSelect"),0<r.length&&(t=new zs("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Ln)))}function gl(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Pn={animationend:gl("Animation","AnimationEnd"),animationiteration:gl("Animation","AnimationIteration"),animationstart:gl("Animation","AnimationStart"),transitionend:gl("Transition","TransitionEnd")},Ji={},pf={};Nt&&(pf=document.createElement("div").style,"AnimationEvent"in window||(delete Pn.animationend.animation,delete Pn.animationiteration.animation,delete Pn.animationstart.animation),"TransitionEvent"in window||delete Pn.transitionend.transition);function ki(e){if(Ji[e])return Ji[e];if(!Pn[e])return e;var t=Pn[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in pf)return Ji[e]=t[n];return e}var hf=ki("animationend"),mf=ki("animationiteration"),gf=ki("animationstart"),yf=ki("transitionend"),vf=new Map,ga="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 Zt(e,t){vf.set(e,t),gn(t,[e])}for(var bi=0;bi<ga.length;bi++){var eo=ga[bi],Mh=eo.toLowerCase(),Dh=eo[0].toUpperCase()+eo.slice(1);Zt(Mh,"on"+Dh)}Zt(hf,"onAnimationEnd");Zt(mf,"onAnimationIteration");Zt(gf,"onAnimationStart");Zt("dblclick","onDoubleClick");Zt("focusin","onFocus");Zt("focusout","onBlur");Zt(yf,"onTransitionEnd");Vn("onMouseEnter",["mouseout","mouseover"]);Vn("onMouseLeave",["mouseout","mouseover"]);Vn("onPointerEnter",["pointerout","pointerover"]);Vn("onPointerLeave",["pointerout","pointerover"]);gn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));gn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));gn("onBeforeInput",["compositionend","keypress","textInput","paste"]);gn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));gn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));gn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var wr="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(" "),jh=new Set("cancel close invalid load scroll toggle".split(" ").concat(wr));function ya(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Mp(r,t,void 0,e),e.currentTarget=null}function kf(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],l=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],u=s.instance,a=s.currentTarget;if(s=s.listener,u!==i&&l.isPropagationStopped())break e;ya(l,s,a),i=u}else for(o=0;o<r.length;o++){if(s=r[o],u=s.instance,a=s.currentTarget,s=s.listener,u!==i&&l.isPropagationStopped())break e;ya(l,s,a),i=u}}}if(Vl)throw e=Mo,Vl=!1,Mo=null,e}function J(e,t){var n=t[Qo];n===void 0&&(n=t[Qo]=new Set);var r=e+"__bubble";n.has(r)||(wf(t,e,2,!1),n.add(r))}function to(e,t,n){var r=0;t&&(r|=4),wf(n,e,r,t)}var yl="_reactListening"+Math.random().toString(36).slice(2);function Ur(e){if(!e[yl]){e[yl]=!0,Cc.forEach(function(n){n!=="selectionchange"&&(jh.has(n)||to(n,!1,e),to(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[yl]||(t[yl]=!0,to("selectionchange",!1,t))}}function wf(e,t,n,r){switch(nf(t)){case 1:var l=qp;break;case 4:l=Jp;break;default:l=Ps}n=l.bind(null,t,n,e),l=void 0,!Oo||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(l=!0),r?l!==void 0?e.addEventListener(t,n,{capture:!0,passive:l}):e.addEventListener(t,n,!0):l!==void 0?e.addEventListener(t,n,{passive:l}):e.addEventListener(t,n,!1)}function no(e,t,n,r,l){var i=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var s=r.stateNode.containerInfo;if(s===l||s.nodeType===8&&s.parentNode===l)break;if(o===4)for(o=r.return;o!==null;){var u=o.tag;if((u===3||u===4)&&(u=o.stateNode.containerInfo,u===l||u.nodeType===8&&u.parentNode===l))return;o=o.return}for(;s!==null;){if(o=rn(s),o===null)return;if(u=o.tag,u===5||u===6){r=i=o;continue e}s=s.parentNode}}r=r.return}Hc(function(){var a=i,m=Cs(n),g=[];e:{var d=vf.get(e);if(d!==void 0){var v=zs,w=e;switch(e){case"keypress":if(Il(n)===0)break e;case"keydown":case"keyup":v=ph;break;case"focusin":w="focus",v=Xi;break;case"focusout":w="blur",v=Xi;break;case"beforeblur":case"afterblur":v=Xi;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":v=ia;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":v=th;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":v=gh;break;case hf:case mf:case gf:v=lh;break;case yf:v=vh;break;case"scroll":v=bp;break;case"wheel":v=wh;break;case"copy":case"cut":case"paste":v=oh;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":v=sa}var E=(t&4)!==0,M=!E&&e==="scroll",p=E?d!==null?d+"Capture":null:d;E=[];for(var c=a,h;c!==null;){h=c;var y=h.stateNode;if(h.tag===5&&y!==null&&(h=y,p!==null&&(y=Or(c,p),y!=null&&E.push(Br(c,y,h)))),M)break;c=c.return}0<E.length&&(d=new v(d,w,null,n,m),g.push({event:d,listeners:E}))}}if(!(t&7)){e:{if(d=e==="mouseover"||e==="pointerover",v=e==="mouseout"||e==="pointerout",d&&n!==zo&&(w=n.relatedTarget||n.fromElement)&&(rn(w)||w[Rt]))break e;if((v||d)&&(d=m.window===m?m:(d=m.ownerDocument)?d.defaultView||d.parentWindow:window,v?(w=n.relatedTarget||n.toElement,v=a,w=w?rn(w):null,w!==null&&(M=yn(w),w!==M||w.tag!==5&&w.tag!==6)&&(w=null)):(v=null,w=a),v!==w)){if(E=ia,y="onMouseLeave",p="onMouseEnter",c="mouse",(e==="pointerout"||e==="pointerover")&&(E=sa,y="onPointerLeave",p="onPointerEnter",c="pointer"),M=v==null?d:An(v),h=w==null?d:An(w),d=new E(y,c+"leave",v,n,m),d.target=M,d.relatedTarget=h,y=null,rn(m)===a&&(E=new E(p,c+"enter",w,n,m),E.target=h,E.relatedTarget=M,y=E),M=y,v&&w)t:{for(E=v,p=w,c=0,h=E;h;h=Tn(h))c++;for(h=0,y=p;y;y=Tn(y))h++;for(;0<c-h;)E=Tn(E),c--;for(;0<h-c;)p=Tn(p),h--;for(;c--;){if(E===p||p!==null&&E===p.alternate)break t;E=Tn(E),p=Tn(p)}E=null}else E=null;v!==null&&va(g,d,v,E,!1),w!==null&&M!==null&&va(g,M,w,E,!0)}}e:{if(d=a?An(a):window,v=d.nodeName&&d.nodeName.toLowerCase(),v==="select"||v==="input"&&d.type==="file")var _=Nh;else if(ca(d))if(af)_=Ah;else{_=Lh;var N=Rh}else(v=d.nodeName)&&v.toLowerCase()==="input"&&(d.type==="checkbox"||d.type==="radio")&&(_=Ph);if(_&&(_=_(e,a))){uf(g,_,n,m);break e}N&&N(e,d,a),e==="focusout"&&(N=d._wrapperState)&&N.controlled&&d.type==="number"&&No(d,"number",d.value)}switch(N=a?An(a):window,e){case"focusin":(ca(N)||N.contentEditable==="true")&&(Ln=N,$o=a,Tr=null);break;case"focusout":Tr=$o=Ln=null;break;case"mousedown":Uo=!0;break;case"contextmenu":case"mouseup":case"dragend":Uo=!1,ma(g,n,m);break;case"selectionchange":if(Oh)break;case"keydown":case"keyup":ma(g,n,m)}var R;if(Os)e:{switch(e){case"compositionstart":var P="onCompositionStart";break e;case"compositionend":P="onCompositionEnd";break e;case"compositionupdate":P="onCompositionUpdate";break e}P=void 0}else Rn?of(e,n)&&(P="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(P="onCompositionStart");P&&(lf&&n.locale!=="ko"&&(Rn||P!=="onCompositionStart"?P==="onCompositionEnd"&&Rn&&(R=rf()):(Ft=m,As="value"in Ft?Ft.value:Ft.textContent,Rn=!0)),N=Xl(a,P),0<N.length&&(P=new oa(P,e,null,n,m),g.push({event:P,listeners:N}),R?P.data=R:(R=sf(n),R!==null&&(P.data=R)))),(R=Sh?Eh(e,n):_h(e,n))&&(a=Xl(a,"onBeforeInput"),0<a.length&&(m=new oa("onBeforeInput","beforeinput",null,n,m),g.push({event:m,listeners:a}),m.data=R))}kf(g,t)})}function Br(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Xl(e,t){for(var n=t+"Capture",r=[];e!==null;){var l=e,i=l.stateNode;l.tag===5&&i!==null&&(l=i,i=Or(e,n),i!=null&&r.unshift(Br(e,i,l)),i=Or(e,t),i!=null&&r.push(Br(e,i,l))),e=e.return}return r}function Tn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function va(e,t,n,r,l){for(var i=t._reactName,o=[];n!==null&&n!==r;){var s=n,u=s.alternate,a=s.stateNode;if(u!==null&&u===r)break;s.tag===5&&a!==null&&(s=a,l?(u=Or(n,i),u!=null&&o.unshift(Br(n,u,s))):l||(u=Or(n,i),u!=null&&o.push(Br(n,u,s)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var Fh=/\r\n?/g,$h=/\u0000|\uFFFD/g;function ka(e){return(typeof e=="string"?e:""+e).replace(Fh,` | |
`).replace($h,"")}function vl(e,t,n){if(t=ka(t),ka(e)!==t&&n)throw Error(x(425))}function Zl(){}var Bo=null,Ho=null;function Wo(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 Vo=typeof setTimeout=="function"?setTimeout:void 0,Uh=typeof clearTimeout=="function"?clearTimeout:void 0,wa=typeof Promise=="function"?Promise:void 0,Bh=typeof queueMicrotask=="function"?queueMicrotask:typeof wa<"u"?function(e){return wa.resolve(null).then(e).catch(Hh)}:Vo;function Hh(e){setTimeout(function(){throw e})}function ro(e,t){var n=t,r=0;do{var l=n.nextSibling;if(e.removeChild(n),l&&l.nodeType===8)if(n=l.data,n==="/$"){if(r===0){e.removeChild(l),jr(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=l}while(n);jr(t)}function Wt(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 xa(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var bn=Math.random().toString(36).slice(2),mt="__reactFiber$"+bn,Hr="__reactProps$"+bn,Rt="__reactContainer$"+bn,Qo="__reactEvents$"+bn,Wh="__reactListeners$"+bn,Vh="__reactHandles$"+bn;function rn(e){var t=e[mt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Rt]||n[mt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=xa(e);e!==null;){if(n=e[mt])return n;e=xa(e)}return t}e=n,n=e.parentNode}return null}function Jr(e){return e=e[mt]||e[Rt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function An(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(x(33))}function wi(e){return e[Hr]||null}var Go=[],zn=-1;function qt(e){return{current:e}}function ee(e){0>zn||(e.current=Go[zn],Go[zn]=null,zn--)}function K(e,t){zn++,Go[zn]=e.current,e.current=t}var Xt={},Te=qt(Xt),De=qt(!1),an=Xt;function Qn(e,t){var n=e.type.contextTypes;if(!n)return Xt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in n)l[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function je(e){return e=e.childContextTypes,e!=null}function ql(){ee(De),ee(Te)}function Sa(e,t,n){if(Te.current!==Xt)throw Error(x(168));K(Te,t),K(De,n)}function xf(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(x(108,Rp(e)||"Unknown",l));return ie({},n,r)}function Jl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Xt,an=Te.current,K(Te,e),K(De,De.current),!0}function Ea(e,t,n){var r=e.stateNode;if(!r)throw Error(x(169));n?(e=xf(e,t,an),r.__reactInternalMemoizedMergedChildContext=e,ee(De),ee(Te),K(Te,e)):ee(De),K(De,n)}var Et=null,xi=!1,lo=!1;function Sf(e){Et===null?Et=[e]:Et.push(e)}function Qh(e){xi=!0,Sf(e)}function Jt(){if(!lo&&Et!==null){lo=!0;var e=0,t=W;try{var n=Et;for(W=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Et=null,xi=!1}catch(l){throw Et!==null&&(Et=Et.slice(e+1)),Gc(Ns,Jt),l}finally{W=t,lo=!1}}return null}var In=[],On=0,bl=null,ei=0,Ke=[],Xe=0,cn=null,_t=1,Tt="";function en(e,t){In[On++]=ei,In[On++]=bl,bl=e,ei=t}function Ef(e,t,n){Ke[Xe++]=_t,Ke[Xe++]=Tt,Ke[Xe++]=cn,cn=e;var r=_t;e=Tt;var l=32-st(r)-1;r&=~(1<<l),n+=1;var i=32-st(t)+l;if(30<i){var o=l-l%5;i=(r&(1<<o)-1).toString(32),r>>=o,l-=o,_t=1<<32-st(t)+l|n<<l|r,Tt=i+e}else _t=1<<i|n<<l|r,Tt=e}function Ds(e){e.return!==null&&(en(e,1),Ef(e,1,0))}function js(e){for(;e===bl;)bl=In[--On],In[On]=null,ei=In[--On],In[On]=null;for(;e===cn;)cn=Ke[--Xe],Ke[Xe]=null,Tt=Ke[--Xe],Ke[Xe]=null,_t=Ke[--Xe],Ke[Xe]=null}var We=null,He=null,te=!1,ot=null;function _f(e,t){var n=Ze(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function _a(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,We=e,He=Wt(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,We=e,He=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=cn!==null?{id:_t,overflow:Tt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Ze(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,We=e,He=null,!0):!1;default:return!1}}function Yo(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Ko(e){if(te){var t=He;if(t){var n=t;if(!_a(e,t)){if(Yo(e))throw Error(x(418));t=Wt(n.nextSibling);var r=We;t&&_a(e,t)?_f(r,n):(e.flags=e.flags&-4097|2,te=!1,We=e)}}else{if(Yo(e))throw Error(x(418));e.flags=e.flags&-4097|2,te=!1,We=e}}}function Ta(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;We=e}function kl(e){if(e!==We)return!1;if(!te)return Ta(e),te=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Wo(e.type,e.memoizedProps)),t&&(t=He)){if(Yo(e))throw Tf(),Error(x(418));for(;t;)_f(e,t),t=Wt(t.nextSibling)}if(Ta(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(x(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){He=Wt(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}He=null}}else He=We?Wt(e.stateNode.nextSibling):null;return!0}function Tf(){for(var e=He;e;)e=Wt(e.nextSibling)}function Gn(){He=We=null,te=!1}function Fs(e){ot===null?ot=[e]:ot.push(e)}var Gh=At.ReactCurrentBatchConfig;function ur(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(x(309));var r=n.stateNode}if(!r)throw Error(x(147,e));var l=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(o){var s=l.refs;o===null?delete s[i]:s[i]=o},t._stringRef=i,t)}if(typeof e!="string")throw Error(x(284));if(!n._owner)throw Error(x(290,e))}return e}function wl(e,t){throw e=Object.prototype.toString.call(t),Error(x(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Ca(e){var t=e._init;return t(e._payload)}function Cf(e){function t(p,c){if(e){var h=p.deletions;h===null?(p.deletions=[c],p.flags|=16):h.push(c)}}function n(p,c){if(!e)return null;for(;c!==null;)t(p,c),c=c.sibling;return null}function r(p,c){for(p=new Map;c!==null;)c.key!==null?p.set(c.key,c):p.set(c.index,c),c=c.sibling;return p}function l(p,c){return p=Yt(p,c),p.index=0,p.sibling=null,p}function i(p,c,h){return p.index=h,e?(h=p.alternate,h!==null?(h=h.index,h<c?(p.flags|=2,c):h):(p.flags|=2,c)):(p.flags|=1048576,c)}function o(p){return e&&p.alternate===null&&(p.flags|=2),p}function s(p,c,h,y){return c===null||c.tag!==6?(c=fo(h,p.mode,y),c.return=p,c):(c=l(c,h),c.return=p,c)}function u(p,c,h,y){var _=h.type;return _===Nn?m(p,c,h.props.children,y,h.key):c!==null&&(c.elementType===_||typeof _=="object"&&_!==null&&_.$$typeof===Ot&&Ca(_)===c.type)?(y=l(c,h.props),y.ref=ur(p,c,h),y.return=p,y):(y=Ul(h.type,h.key,h.props,null,p.mode,y),y.ref=ur(p,c,h),y.return=p,y)}function a(p,c,h,y){return c===null||c.tag!==4||c.stateNode.containerInfo!==h.containerInfo||c.stateNode.implementation!==h.implementation?(c=po(h,p.mode,y),c.return=p,c):(c=l(c,h.children||[]),c.return=p,c)}function m(p,c,h,y,_){return c===null||c.tag!==7?(c=un(h,p.mode,y,_),c.return=p,c):(c=l(c,h),c.return=p,c)}function g(p,c,h){if(typeof c=="string"&&c!==""||typeof c=="number")return c=fo(""+c,p.mode,h),c.return=p,c;if(typeof c=="object"&&c!==null){switch(c.$$typeof){case al:return h=Ul(c.type,c.key,c.props,null,p.mode,h),h.ref=ur(p,null,c),h.return=p,h;case Cn:return c=po(c,p.mode,h),c.return=p,c;case Ot:var y=c._init;return g(p,y(c._payload),h)}if(vr(c)||rr(c))return c=un(c,p.mode,h,null),c.return=p,c;wl(p,c)}return null}function d(p,c,h,y){var _=c!==null?c.key:null;if(typeof h=="string"&&h!==""||typeof h=="number")return _!==null?null:s(p,c,""+h,y);if(typeof h=="object"&&h!==null){switch(h.$$typeof){case al:return h.key===_?u(p,c,h,y):null;case Cn:return h.key===_?a(p,c,h,y):null;case Ot:return _=h._init,d(p,c,_(h._payload),y)}if(vr(h)||rr(h))return _!==null?null:m(p,c,h,y,null);wl(p,h)}return null}function v(p,c,h,y,_){if(typeof y=="string"&&y!==""||typeof y=="number")return p=p.get(h)||null,s(c,p,""+y,_);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case al:return p=p.get(y.key===null?h:y.key)||null,u(c,p,y,_);case Cn:return p=p.get(y.key===null?h:y.key)||null,a(c,p,y,_);case Ot:var N=y._init;return v(p,c,h,N(y._payload),_)}if(vr(y)||rr(y))return p=p.get(h)||null,m(c,p,y,_,null);wl(c,y)}return null}function w(p,c,h,y){for(var _=null,N=null,R=c,P=c=0,Q=null;R!==null&&P<h.length;P++){R.index>P?(Q=R,R=null):Q=R.sibling;var D=d(p,R,h[P],y);if(D===null){R===null&&(R=Q);break}e&&R&&D.alternate===null&&t(p,R),c=i(D,c,P),N===null?_=D:N.sibling=D,N=D,R=Q}if(P===h.length)return n(p,R),te&&en(p,P),_;if(R===null){for(;P<h.length;P++)R=g(p,h[P],y),R!==null&&(c=i(R,c,P),N===null?_=R:N.sibling=R,N=R);return te&&en(p,P),_}for(R=r(p,R);P<h.length;P++)Q=v(R,p,P,h[P],y),Q!==null&&(e&&Q.alternate!==null&&R.delete(Q.key===null?P:Q.key),c=i(Q,c,P),N===null?_=Q:N.sibling=Q,N=Q);return e&&R.forEach(function(X){return t(p,X)}),te&&en(p,P),_}function E(p,c,h,y){var _=rr(h);if(typeof _!="function")throw Error(x(150));if(h=_.call(h),h==null)throw Error(x(151));for(var N=_=null,R=c,P=c=0,Q=null,D=h.next();R!==null&&!D.done;P++,D=h.next()){R.index>P?(Q=R,R=null):Q=R.sibling;var X=d(p,R,D.value,y);if(X===null){R===null&&(R=Q);break}e&&R&&X.alternate===null&&t(p,R),c=i(X,c,P),N===null?_=X:N.sibling=X,N=X,R=Q}if(D.done)return n(p,R),te&&en(p,P),_;if(R===null){for(;!D.done;P++,D=h.next())D=g(p,D.value,y),D!==null&&(c=i(D,c,P),N===null?_=D:N.sibling=D,N=D);return te&&en(p,P),_}for(R=r(p,R);!D.done;P++,D=h.next())D=v(R,p,P,D.value,y),D!==null&&(e&&D.alternate!==null&&R.delete(D.key===null?P:D.key),c=i(D,c,P),N===null?_=D:N.sibling=D,N=D);return e&&R.forEach(function($e){return t(p,$e)}),te&&en(p,P),_}function M(p,c,h,y){if(typeof h=="object"&&h!==null&&h.type===Nn&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case al:e:{for(var _=h.key,N=c;N!==null;){if(N.key===_){if(_=h.type,_===Nn){if(N.tag===7){n(p,N.sibling),c=l(N,h.props.children),c.return=p,p=c;break e}}else if(N.elementType===_||typeof _=="object"&&_!==null&&_.$$typeof===Ot&&Ca(_)===N.type){n(p,N.sibling),c=l(N,h.props),c.ref=ur(p,N,h),c.return=p,p=c;break e}n(p,N);break}else t(p,N);N=N.sibling}h.type===Nn?(c=un(h.props.children,p.mode,y,h.key),c.return=p,p=c):(y=Ul(h.type,h.key,h.props,null,p.mode,y),y.ref=ur(p,c,h),y.return=p,p=y)}return o(p);case Cn:e:{for(N=h.key;c!==null;){if(c.key===N)if(c.tag===4&&c.stateNode.containerInfo===h.containerInfo&&c.stateNode.implementation===h.implementation){n(p,c.sibling),c=l(c,h.children||[]),c.return=p,p=c;break e}else{n(p,c);break}else t(p,c);c=c.sibling}c=po(h,p.mode,y),c.return=p,p=c}return o(p);case Ot:return N=h._init,M(p,c,N(h._payload),y)}if(vr(h))return w(p,c,h,y);if(rr(h))return E(p,c,h,y);wl(p,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,c!==null&&c.tag===6?(n(p,c.sibling),c=l(c,h),c.return=p,p=c):(n(p,c),c=fo(h,p.mode,y),c.return=p,p=c),o(p)):n(p,c)}return M}var Yn=Cf(!0),Nf=Cf(!1),ti=qt(null),ni=null,Mn=null,$s=null;function Us(){$s=Mn=ni=null}function Bs(e){var t=ti.current;ee(ti),e._currentValue=t}function Xo(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Hn(e,t){ni=e,$s=Mn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Me=!0),e.firstContext=null)}function Je(e){var t=e._currentValue;if($s!==e)if(e={context:e,memoizedValue:t,next:null},Mn===null){if(ni===null)throw Error(x(308));Mn=e,ni.dependencies={lanes:0,firstContext:e}}else Mn=Mn.next=e;return t}var ln=null;function Hs(e){ln===null?ln=[e]:ln.push(e)}function Rf(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,Hs(t)):(n.next=l.next,l.next=n),t.interleaved=n,Lt(e,r)}function Lt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Mt=!1;function Ws(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Lf(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 Ct(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Vt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,B&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,Lt(e,n)}return l=r.interleaved,l===null?(t.next=t,Hs(r)):(t.next=l.next,l.next=t),r.interleaved=t,Lt(e,n)}function Ol(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Rs(e,n)}}function Na(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?l=i=o:i=i.next=o,n=n.next}while(n!==null);i===null?l=i=t:i=i.next=t}else l=i=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ri(e,t,n,r){var l=e.updateQueue;Mt=!1;var i=l.firstBaseUpdate,o=l.lastBaseUpdate,s=l.shared.pending;if(s!==null){l.shared.pending=null;var u=s,a=u.next;u.next=null,o===null?i=a:o.next=a,o=u;var m=e.alternate;m!==null&&(m=m.updateQueue,s=m.lastBaseUpdate,s!==o&&(s===null?m.firstBaseUpdate=a:s.next=a,m.lastBaseUpdate=u))}if(i!==null){var g=l.baseState;o=0,m=a=u=null,s=i;do{var d=s.lane,v=s.eventTime;if((r&d)===d){m!==null&&(m=m.next={eventTime:v,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var w=e,E=s;switch(d=t,v=n,E.tag){case 1:if(w=E.payload,typeof w=="function"){g=w.call(v,g,d);break e}g=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=E.payload,d=typeof w=="function"?w.call(v,g,d):w,d==null)break e;g=ie({},g,d);break e;case 2:Mt=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,d=l.effects,d===null?l.effects=[s]:d.push(s))}else v={eventTime:v,lane:d,tag:s.tag,payload:s.payload,callback:s.callback,next:null},m===null?(a=m=v,u=g):m=m.next=v,o|=d;if(s=s.next,s===null){if(s=l.shared.pending,s===null)break;d=s,s=d.next,d.next=null,l.lastBaseUpdate=d,l.shared.pending=null}}while(!0);if(m===null&&(u=g),l.baseState=u,l.firstBaseUpdate=a,l.lastBaseUpdate=m,t=l.shared.interleaved,t!==null){l=t;do o|=l.lane,l=l.next;while(l!==t)}else i===null&&(l.shared.lanes=0);dn|=o,e.lanes=o,e.memoizedState=g}}function Ra(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],l=r.callback;if(l!==null){if(r.callback=null,r=n,typeof l!="function")throw Error(x(191,l));l.call(r)}}}var br={},kt=qt(br),Wr=qt(br),Vr=qt(br);function on(e){if(e===br)throw Error(x(174));return e}function Vs(e,t){switch(K(Vr,t),K(Wr,e),K(kt,br),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Lo(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Lo(t,e)}ee(kt),K(kt,t)}function Kn(){ee(kt),ee(Wr),ee(Vr)}function Pf(e){on(Vr.current);var t=on(kt.current),n=Lo(t,e.type);t!==n&&(K(Wr,e),K(kt,n))}function Qs(e){Wr.current===e&&(ee(kt),ee(Wr))}var re=qt(0);function li(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var io=[];function Gs(){for(var e=0;e<io.length;e++)io[e]._workInProgressVersionPrimary=null;io.length=0}var Ml=At.ReactCurrentDispatcher,oo=At.ReactCurrentBatchConfig,fn=0,le=null,de=null,me=null,ii=!1,Cr=!1,Qr=0,Yh=0;function Se(){throw Error(x(321))}function Ys(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!at(e[n],t[n]))return!1;return!0}function Ks(e,t,n,r,l,i){if(fn=i,le=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ml.current=e===null||e.memoizedState===null?qh:Jh,e=n(r,l),Cr){i=0;do{if(Cr=!1,Qr=0,25<=i)throw Error(x(301));i+=1,me=de=null,t.updateQueue=null,Ml.current=bh,e=n(r,l)}while(Cr)}if(Ml.current=oi,t=de!==null&&de.next!==null,fn=0,me=de=le=null,ii=!1,t)throw Error(x(300));return e}function Xs(){var e=Qr!==0;return Qr=0,e}function ht(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return me===null?le.memoizedState=me=e:me=me.next=e,me}function be(){if(de===null){var e=le.alternate;e=e!==null?e.memoizedState:null}else e=de.next;var t=me===null?le.memoizedState:me.next;if(t!==null)me=t,de=e;else{if(e===null)throw Error(x(310));de=e,e={memoizedState:de.memoizedState,baseState:de.baseState,baseQueue:de.baseQueue,queue:de.queue,next:null},me===null?le.memoizedState=me=e:me=me.next=e}return me}function Gr(e,t){return typeof t=="function"?t(e):t}function so(e){var t=be(),n=t.queue;if(n===null)throw Error(x(311));n.lastRenderedReducer=e;var r=de,l=r.baseQueue,i=n.pending;if(i!==null){if(l!==null){var o=l.next;l.next=i.next,i.next=o}r.baseQueue=l=i,n.pending=null}if(l!==null){i=l.next,r=r.baseState;var s=o=null,u=null,a=i;do{var m=a.lane;if((fn&m)===m)u!==null&&(u=u.next={lane:0,action:a.action,hasEagerState:a.hasEagerState,eagerState:a.eagerState,next:null}),r=a.hasEagerState?a.eagerState:e(r,a.action);else{var g={lane:m,action:a.action,hasEagerState:a.hasEagerState,eagerState:a.eagerState,next:null};u===null?(s=u=g,o=r):u=u.next=g,le.lanes|=m,dn|=m}a=a.next}while(a!==null&&a!==i);u===null?o=r:u.next=s,at(r,t.memoizedState)||(Me=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=u,n.lastRenderedState=r}if(e=n.interleaved,e!==null){l=e;do i=l.lane,le.lanes|=i,dn|=i,l=l.next;while(l!==e)}else l===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function uo(e){var t=be(),n=t.queue;if(n===null)throw Error(x(311));n.lastRenderedReducer=e;var r=n.dispatch,l=n.pending,i=t.memoizedState;if(l!==null){n.pending=null;var o=l=l.next;do i=e(i,o.action),o=o.next;while(o!==l);at(i,t.memoizedState)||(Me=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Af(){}function zf(e,t){var n=le,r=be(),l=t(),i=!at(r.memoizedState,l);if(i&&(r.memoizedState=l,Me=!0),r=r.queue,Zs(Mf.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||me!==null&&me.memoizedState.tag&1){if(n.flags|=2048,Yr(9,Of.bind(null,n,r,l,t),void 0,null),ge===null)throw Error(x(349));fn&30||If(n,t,l)}return l}function If(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=le.updateQueue,t===null?(t={lastEffect:null,stores:null},le.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Of(e,t,n,r){t.value=n,t.getSnapshot=r,Df(t)&&jf(e)}function Mf(e,t,n){return n(function(){Df(t)&&jf(e)})}function Df(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!at(e,n)}catch{return!0}}function jf(e){var t=Lt(e,1);t!==null&&ut(t,e,1,-1)}function La(e){var t=ht();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Gr,lastRenderedState:e},t.queue=e,e=e.dispatch=Zh.bind(null,le,e),[t.memoizedState,e]}function Yr(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=le.updateQueue,t===null?(t={lastEffect:null,stores:null},le.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Ff(){return be().memoizedState}function Dl(e,t,n,r){var l=ht();le.flags|=e,l.memoizedState=Yr(1|t,n,void 0,r===void 0?null:r)}function Si(e,t,n,r){var l=be();r=r===void 0?null:r;var i=void 0;if(de!==null){var o=de.memoizedState;if(i=o.destroy,r!==null&&Ys(r,o.deps)){l.memoizedState=Yr(t,n,i,r);return}}le.flags|=e,l.memoizedState=Yr(1|t,n,i,r)}function Pa(e,t){return Dl(8390656,8,e,t)}function Zs(e,t){return Si(2048,8,e,t)}function $f(e,t){return Si(4,2,e,t)}function Uf(e,t){return Si(4,4,e,t)}function Bf(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 Hf(e,t,n){return n=n!=null?n.concat([e]):null,Si(4,4,Bf.bind(null,t,e),n)}function qs(){}function Wf(e,t){var n=be();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Ys(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Vf(e,t){var n=be();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Ys(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Qf(e,t,n){return fn&21?(at(n,t)||(n=Xc(),le.lanes|=n,dn|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Me=!0),e.memoizedState=n)}function Kh(e,t){var n=W;W=n!==0&&4>n?n:4,e(!0);var r=oo.transition;oo.transition={};try{e(!1),t()}finally{W=n,oo.transition=r}}function Gf(){return be().memoizedState}function Xh(e,t,n){var r=Gt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Yf(e))Kf(t,n);else if(n=Rf(e,t,n,r),n!==null){var l=Le();ut(n,e,r,l),Xf(n,t,r)}}function Zh(e,t,n){var r=Gt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Yf(e))Kf(t,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,s=i(o,n);if(l.hasEagerState=!0,l.eagerState=s,at(s,o)){var u=t.interleaved;u===null?(l.next=l,Hs(t)):(l.next=u.next,u.next=l),t.interleaved=l;return}}catch{}finally{}n=Rf(e,t,l,r),n!==null&&(l=Le(),ut(n,e,r,l),Xf(n,t,r))}}function Yf(e){var t=e.alternate;return e===le||t!==null&&t===le}function Kf(e,t){Cr=ii=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Xf(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Rs(e,n)}}var oi={readContext:Je,useCallback:Se,useContext:Se,useEffect:Se,useImperativeHandle:Se,useInsertionEffect:Se,useLayoutEffect:Se,useMemo:Se,useReducer:Se,useRef:Se,useState:Se,useDebugValue:Se,useDeferredValue:Se,useTransition:Se,useMutableSource:Se,useSyncExternalStore:Se,useId:Se,unstable_isNewReconciler:!1},qh={readContext:Je,useCallback:function(e,t){return ht().memoizedState=[e,t===void 0?null:t],e},useContext:Je,useEffect:Pa,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Dl(4194308,4,Bf.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Dl(4194308,4,e,t)},useInsertionEffect:function(e,t){return Dl(4,2,e,t)},useMemo:function(e,t){var n=ht();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ht();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Xh.bind(null,le,e),[r.memoizedState,e]},useRef:function(e){var t=ht();return e={current:e},t.memoizedState=e},useState:La,useDebugValue:qs,useDeferredValue:function(e){return ht().memoizedState=e},useTransition:function(){var e=La(!1),t=e[0];return e=Kh.bind(null,e[1]),ht().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=le,l=ht();if(te){if(n===void 0)throw Error(x(407));n=n()}else{if(n=t(),ge===null)throw Error(x(349));fn&30||If(r,t,n)}l.memoizedState=n;var i={value:n,getSnapshot:t};return l.queue=i,Pa(Mf.bind(null,r,i,e),[e]),r.flags|=2048,Yr(9,Of.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=ht(),t=ge.identifierPrefix;if(te){var n=Tt,r=_t;n=(r&~(1<<32-st(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Qr++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=Yh++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Jh={readContext:Je,useCallback:Wf,useContext:Je,useEffect:Zs,useImperativeHandle:Hf,useInsertionEffect:$f,useLayoutEffect:Uf,useMemo:Vf,useReducer:so,useRef:Ff,useState:function(){return so(Gr)},useDebugValue:qs,useDeferredValue:function(e){var t=be();return Qf(t,de.memoizedState,e)},useTransition:function(){var e=so(Gr)[0],t=be().memoizedState;return[e,t]},useMutableSource:Af,useSyncExternalStore:zf,useId:Gf,unstable_isNewReconciler:!1},bh={readContext:Je,useCallback:Wf,useContext:Je,useEffect:Zs,useImperativeHandle:Hf,useInsertionEffect:$f,useLayoutEffect:Uf,useMemo:Vf,useReducer:uo,useRef:Ff,useState:function(){return uo(Gr)},useDebugValue:qs,useDeferredValue:function(e){var t=be();return de===null?t.memoizedState=e:Qf(t,de.memoizedState,e)},useTransition:function(){var e=uo(Gr)[0],t=be().memoizedState;return[e,t]},useMutableSource:Af,useSyncExternalStore:zf,useId:Gf,unstable_isNewReconciler:!1};function lt(e,t){if(e&&e.defaultProps){t=ie({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Zo(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:ie({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Ei={isMounted:function(e){return(e=e._reactInternals)?yn(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Le(),l=Gt(e),i=Ct(r,l);i.payload=t,n!=null&&(i.callback=n),t=Vt(e,i,l),t!==null&&(ut(t,e,l,r),Ol(t,e,l))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Le(),l=Gt(e),i=Ct(r,l);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Vt(e,i,l),t!==null&&(ut(t,e,l,r),Ol(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Le(),r=Gt(e),l=Ct(n,r);l.tag=2,t!=null&&(l.callback=t),t=Vt(e,l,r),t!==null&&(ut(t,e,r,n),Ol(t,e,r))}};function Aa(e,t,n,r,l,i,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,o):t.prototype&&t.prototype.isPureReactComponent?!$r(n,r)||!$r(l,i):!0}function Zf(e,t,n){var r=!1,l=Xt,i=t.contextType;return typeof i=="object"&&i!==null?i=Je(i):(l=je(t)?an:Te.current,r=t.contextTypes,i=(r=r!=null)?Qn(e,l):Xt),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Ei,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=i),t}function za(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Ei.enqueueReplaceState(t,t.state,null)}function qo(e,t,n,r){var l=e.stateNode;l.props=n,l.state=e.memoizedState,l.refs={},Ws(e);var i=t.contextType;typeof i=="object"&&i!==null?l.context=Je(i):(i=je(t)?an:Te.current,l.context=Qn(e,i)),l.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(Zo(e,t,i,n),l.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof l.getSnapshotBeforeUpdate=="function"||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(t=l.state,typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount(),t!==l.state&&Ei.enqueueReplaceState(l,l.state,null),ri(e,n,l,r),l.state=e.memoizedState),typeof l.componentDidMount=="function"&&(e.flags|=4194308)}function Xn(e,t){try{var n="",r=t;do n+=Np(r),r=r.return;while(r);var l=n}catch(i){l=` | |
Error generating stack: `+i.message+` | |
`+i.stack}return{value:e,source:t,stack:l,digest:null}}function ao(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Jo(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var em=typeof WeakMap=="function"?WeakMap:Map;function qf(e,t,n){n=Ct(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ui||(ui=!0,us=r),Jo(e,t)},n}function Jf(e,t,n){n=Ct(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var l=t.value;n.payload=function(){return r(l)},n.callback=function(){Jo(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){Jo(e,t),typeof r!="function"&&(Qt===null?Qt=new Set([this]):Qt.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function Ia(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new em;var l=new Set;r.set(t,l)}else l=r.get(t),l===void 0&&(l=new Set,r.set(t,l));l.has(n)||(l.add(n),e=hm.bind(null,e,t,n),t.then(e,e))}function Oa(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 Ma(e,t,n,r,l){return e.mode&1?(e.flags|=65536,e.lanes=l,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Ct(-1,1),t.tag=2,Vt(n,t,1))),n.lanes|=1),e)}var tm=At.ReactCurrentOwner,Me=!1;function Re(e,t,n,r){t.child=e===null?Nf(t,null,n,r):Yn(t,e.child,n,r)}function Da(e,t,n,r,l){n=n.render;var i=t.ref;return Hn(t,l),r=Ks(e,t,n,r,i,l),n=Xs(),e!==null&&!Me?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,Pt(e,t,l)):(te&&n&&Ds(t),t.flags|=1,Re(e,t,r,l),t.child)}function ja(e,t,n,r,l){if(e===null){var i=n.type;return typeof i=="function"&&!iu(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,bf(e,t,i,r,l)):(e=Ul(n.type,null,r,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&l)){var o=i.memoizedProps;if(n=n.compare,n=n!==null?n:$r,n(o,r)&&e.ref===t.ref)return Pt(e,t,l)}return t.flags|=1,e=Yt(i,r),e.ref=t.ref,e.return=t,t.child=e}function bf(e,t,n,r,l){if(e!==null){var i=e.memoizedProps;if($r(i,r)&&e.ref===t.ref)if(Me=!1,t.pendingProps=r=i,(e.lanes&l)!==0)e.flags&131072&&(Me=!0);else return t.lanes=e.lanes,Pt(e,t,l)}return bo(e,t,n,r,l)}function ed(e,t,n){var r=t.pendingProps,l=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},K(jn,Ue),Ue|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,K(jn,Ue),Ue|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,K(jn,Ue),Ue|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,K(jn,Ue),Ue|=r;return Re(e,t,l,n),t.child}function td(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function bo(e,t,n,r,l){var i=je(n)?an:Te.current;return i=Qn(t,i),Hn(t,l),n=Ks(e,t,n,r,i,l),r=Xs(),e!==null&&!Me?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,Pt(e,t,l)):(te&&r&&Ds(t),t.flags|=1,Re(e,t,n,l),t.child)}function Fa(e,t,n,r,l){if(je(n)){var i=!0;Jl(t)}else i=!1;if(Hn(t,l),t.stateNode===null)jl(e,t),Zf(t,n,r),qo(t,n,r,l),r=!0;else if(e===null){var o=t.stateNode,s=t.memoizedProps;o.props=s;var u=o.context,a=n.contextType;typeof a=="object"&&a!==null?a=Je(a):(a=je(n)?an:Te.current,a=Qn(t,a));var m=n.getDerivedStateFromProps,g=typeof m=="function"||typeof o.getSnapshotBeforeUpdate=="function";g||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(s!==r||u!==a)&&za(t,o,r,a),Mt=!1;var d=t.memoizedState;o.state=d,ri(t,r,o,l),u=t.memoizedState,s!==r||d!==u||De.current||Mt?(typeof m=="function"&&(Zo(t,n,m,r),u=t.memoizedState),(s=Mt||Aa(t,n,s,r,d,u,a))?(g||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),o.props=r,o.state=u,o.context=a,r=s):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,Lf(e,t),s=t.memoizedProps,a=t.type===t.elementType?s:lt(t.type,s),o.props=a,g=t.pendingProps,d=o.context,u=n.contextType,typeof u=="object"&&u!==null?u=Je(u):(u=je(n)?an:Te.current,u=Qn(t,u));var v=n.getDerivedStateFromProps;(m=typeof v=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(s!==g||d!==u)&&za(t,o,r,u),Mt=!1,d=t.memoizedState,o.state=d,ri(t,r,o,l);var w=t.memoizedState;s!==g||d!==w||De.current||Mt?(typeof v=="function"&&(Zo(t,n,v,r),w=t.memoizedState),(a=Mt||Aa(t,n,a,r,d,w,u)||!1)?(m||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,w,u),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,w,u)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=w),o.props=r,o.state=w,o.context=u,r=a):(typeof o.componentDidUpdate!="function"||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return es(e,t,n,r,i,l)}function es(e,t,n,r,l,i){td(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return l&&Ea(t,n,!1),Pt(e,t,i);r=t.stateNode,tm.current=t;var s=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=Yn(t,e.child,null,i),t.child=Yn(t,null,s,i)):Re(e,t,s,i),t.memoizedState=r.state,l&&Ea(t,n,!0),t.child}function nd(e){var t=e.stateNode;t.pendingContext?Sa(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Sa(e,t.context,!1),Vs(e,t.containerInfo)}function $a(e,t,n,r,l){return Gn(),Fs(l),t.flags|=256,Re(e,t,n,r),t.child}var ts={dehydrated:null,treeContext:null,retryLane:0};function ns(e){return{baseLanes:e,cachePool:null,transitions:null}}function rd(e,t,n){var r=t.pendingProps,l=re.current,i=!1,o=(t.flags&128)!==0,s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:(l&2)!==0),s?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),K(re,l&1),e===null)return Ko(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=r.children,e=r.fallback,i?(r=t.mode,i=t.child,o={mode:"hidden",children:o},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=o):i=Ci(o,r,0,null),e=un(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=ns(n),t.memoizedState=ts,e):Js(t,o));if(l=e.memoizedState,l!==null&&(s=l.dehydrated,s!==null))return nm(e,t,o,r,s,l,n);if(i){i=r.fallback,o=t.mode,l=e.child,s=l.sibling;var u={mode:"hidden",children:r.children};return!(o&1)&&t.child!==l?(r=t.child,r.childLanes=0,r.pendingProps=u,t.deletions=null):(r=Yt(l,u),r.subtreeFlags=l.subtreeFlags&14680064),s!==null?i=Yt(s,i):(i=un(i,o,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,o=e.child.memoizedState,o=o===null?ns(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},i.memoizedState=o,i.childLanes=e.childLanes&~n,t.memoizedState=ts,r}return i=e.child,e=i.sibling,r=Yt(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Js(e,t){return t=Ci({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function xl(e,t,n,r){return r!==null&&Fs(r),Yn(t,e.child,null,n),e=Js(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function nm(e,t,n,r,l,i,o){if(n)return t.flags&256?(t.flags&=-257,r=ao(Error(x(422))),xl(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,l=t.mode,r=Ci({mode:"visible",children:r.children},l,0,null),i=un(i,l,o,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&Yn(t,e.child,null,o),t.child.memoizedState=ns(o),t.memoizedState=ts,i);if(!(t.mode&1))return xl(e,t,o,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var s=r.dgst;return r=s,i=Error(x(419)),r=ao(i,r,void 0),xl(e,t,o,r)}if(s=(o&e.childLanes)!==0,Me||s){if(r=ge,r!==null){switch(o&-o){case 4:l=2;break;case 16:l=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:l=32;break;case 536870912:l=268435456;break;default:l=0}l=l&(r.suspendedLanes|o)?0:l,l!==0&&l!==i.retryLane&&(i.retryLane=l,Lt(e,l),ut(r,e,l,-1))}return lu(),r=ao(Error(x(421))),xl(e,t,o,r)}return l.data==="$?"?(t.flags|=128,t.child=e.child,t=mm.bind(null,e),l._reactRetry=t,null):(e=i.treeContext,He=Wt(l.nextSibling),We=t,te=!0,ot=null,e!==null&&(Ke[Xe++]=_t,Ke[Xe++]=Tt,Ke[Xe++]=cn,_t=e.id,Tt=e.overflow,cn=t),t=Js(t,r.children),t.flags|=4096,t)}function Ua(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Xo(e.return,t,n)}function co(e,t,n,r,l){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:l}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=l)}function ld(e,t,n){var r=t.pendingProps,l=r.revealOrder,i=r.tail;if(Re(e,t,r.children,n),r=re.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Ua(e,n,t);else if(e.tag===19)Ua(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(K(re,r),!(t.mode&1))t.memoizedState=null;else switch(l){case"forwards":for(n=t.child,l=null;n!==null;)e=n.alternate,e!==null&&li(e)===null&&(l=n),n=n.sibling;n=l,n===null?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),co(t,!1,l,n,i);break;case"backwards":for(n=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&li(e)===null){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}co(t,!0,n,null,i);break;case"together":co(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function jl(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Pt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),dn|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(x(153));if(t.child!==null){for(e=t.child,n=Yt(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Yt(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function rm(e,t,n){switch(t.tag){case 3:nd(t),Gn();break;case 5:Pf(t);break;case 1:je(t.type)&&Jl(t);break;case 4:Vs(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,l=t.memoizedProps.value;K(ti,r._currentValue),r._currentValue=l;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(K(re,re.current&1),t.flags|=128,null):n&t.child.childLanes?rd(e,t,n):(K(re,re.current&1),e=Pt(e,t,n),e!==null?e.sibling:null);K(re,re.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return ld(e,t,n);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),K(re,re.current),r)break;return null;case 22:case 23:return t.lanes=0,ed(e,t,n)}return Pt(e,t,n)}var id,rs,od,sd;id=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};rs=function(){};od=function(e,t,n,r){var l=e.memoizedProps;if(l!==r){e=t.stateNode,on(kt.current);var i=null;switch(n){case"input":l=To(e,l),r=To(e,r),i=[];break;case"select":l=ie({},l,{value:void 0}),r=ie({},r,{value:void 0}),i=[];break;case"textarea":l=Ro(e,l),r=Ro(e,r),i=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Zl)}Po(n,r);var o;n=null;for(a in l)if(!r.hasOwnProperty(a)&&l.hasOwnProperty(a)&&l[a]!=null)if(a==="style"){var s=l[a];for(o in s)s.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else a!=="dangerouslySetInnerHTML"&&a!=="children"&&a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(zr.hasOwnProperty(a)?i||(i=[]):(i=i||[]).push(a,null));for(a in r){var u=r[a];if(s=l!=null?l[a]:void 0,r.hasOwnProperty(a)&&u!==s&&(u!=null||s!=null))if(a==="style")if(s){for(o in s)!s.hasOwnProperty(o)||u&&u.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in u)u.hasOwnProperty(o)&&s[o]!==u[o]&&(n||(n={}),n[o]=u[o])}else n||(i||(i=[]),i.push(a,n)),n=u;else a==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,s=s?s.__html:void 0,u!=null&&s!==u&&(i=i||[]).push(a,u)):a==="children"?typeof u!="string"&&typeof u!="number"||(i=i||[]).push(a,""+u):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&(zr.hasOwnProperty(a)?(u!=null&&a==="onScroll"&&J("scroll",e),i||s===u||(i=[])):(i=i||[]).push(a,u))}n&&(i=i||[]).push("style",n);var a=i;(t.updateQueue=a)&&(t.flags|=4)}};sd=function(e,t,n,r){n!==r&&(t.flags|=4)};function ar(e,t){if(!te)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ee(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags&14680064,r|=l.flags&14680064,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function lm(e,t,n){var r=t.pendingProps;switch(js(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ee(t),null;case 1:return je(t.type)&&ql(),Ee(t),null;case 3:return r=t.stateNode,Kn(),ee(De),ee(Te),Gs(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(kl(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,ot!==null&&(fs(ot),ot=null))),rs(e,t),Ee(t),null;case 5:Qs(t);var l=on(Vr.current);if(n=t.type,e!==null&&t.stateNode!=null)od(e,t,n,r,l),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(x(166));return Ee(t),null}if(e=on(kt.current),kl(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[mt]=t,r[Hr]=i,e=(t.mode&1)!==0,n){case"dialog":J("cancel",r),J("close",r);break;case"iframe":case"object":case"embed":J("load",r);break;case"video":case"audio":for(l=0;l<wr.length;l++)J(wr[l],r);break;case"source":J("error",r);break;case"img":case"image":case"link":J("error",r),J("load",r);break;case"details":J("toggle",r);break;case"input":Xu(r,i),J("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},J("invalid",r);break;case"textarea":qu(r,i),J("invalid",r)}Po(n,i),l=null;for(var o in i)if(i.hasOwnProperty(o)){var s=i[o];o==="children"?typeof s=="string"?r.textContent!==s&&(i.suppressHydrationWarning!==!0&&vl(r.textContent,s,e),l=["children",s]):typeof s=="number"&&r.textContent!==""+s&&(i.suppressHydrationWarning!==!0&&vl(r.textContent,s,e),l=["children",""+s]):zr.hasOwnProperty(o)&&s!=null&&o==="onScroll"&&J("scroll",r)}switch(n){case"input":cl(r),Zu(r,i,!0);break;case"textarea":cl(r),Ju(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=Zl)}r=l,t.updateQueue=r,r!==null&&(t.flags|=4)}else{o=l.nodeType===9?l:l.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Oc(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=o.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[mt]=t,e[Hr]=r,id(e,t,!1,!1),t.stateNode=e;e:{switch(o=Ao(n,r),n){case"dialog":J("cancel",e),J("close",e),l=r;break;case"iframe":case"object":case"embed":J("load",e),l=r;break;case"video":case"audio":for(l=0;l<wr.length;l++)J(wr[l],e);l=r;break;case"source":J("error",e),l=r;break;case"img":case"image":case"link":J("error",e),J("load",e),l=r;break;case"details":J("toggle",e),l=r;break;case"input":Xu(e,r),l=To(e,r),J("invalid",e);break;case"option":l=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=ie({},r,{value:void 0}),J("invalid",e);break;case"textarea":qu(e,r),l=Ro(e,r),J("invalid",e);break;default:l=r}Po(n,l),s=l;for(i in s)if(s.hasOwnProperty(i)){var u=s[i];i==="style"?jc(e,u):i==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,u!=null&&Mc(e,u)):i==="children"?typeof u=="string"?(n!=="textarea"||u!=="")&&Ir(e,u):typeof u=="number"&&Ir(e,""+u):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(zr.hasOwnProperty(i)?u!=null&&i==="onScroll"&&J("scroll",e):u!=null&&Ss(e,i,u,o))}switch(n){case"input":cl(e),Zu(e,r,!1);break;case"textarea":cl(e),Ju(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Kt(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?Fn(e,!!r.multiple,i,!1):r.defaultValue!=null&&Fn(e,!!r.multiple,r.defaultValue,!0);break;default:typeof l.onClick=="function"&&(e.onclick=Zl)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Ee(t),null;case 6:if(e&&t.stateNode!=null)sd(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(x(166));if(n=on(Vr.current),on(kt.current),kl(t)){if(r=t.stateNode,n=t.memoizedProps,r[mt]=t,(i=r.nodeValue!==n)&&(e=We,e!==null))switch(e.tag){case 3:vl(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&vl(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[mt]=t,t.stateNode=r}return Ee(t),null;case 13:if(ee(re),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(te&&He!==null&&t.mode&1&&!(t.flags&128))Tf(),Gn(),t.flags|=98560,i=!1;else if(i=kl(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(x(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(x(317));i[mt]=t}else Gn(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Ee(t),i=!1}else ot!==null&&(fs(ot),ot=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||re.current&1?pe===0&&(pe=3):lu())),t.updateQueue!==null&&(t.flags|=4),Ee(t),null);case 4:return Kn(),rs(e,t),e===null&&Ur(t.stateNode.containerInfo),Ee(t),null;case 10:return Bs(t.type._context),Ee(t),null;case 17:return je(t.type)&&ql(),Ee(t),null;case 19:if(ee(re),i=t.memoizedState,i===null)return Ee(t),null;if(r=(t.flags&128)!==0,o=i.rendering,o===null)if(r)ar(i,!1);else{if(pe!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=li(e),o!==null){for(t.flags|=128,ar(i,!1),r=o.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,o=i.alternate,o===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=o.childLanes,i.lanes=o.lanes,i.child=o.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=o.memoizedProps,i.memoizedState=o.memoizedState,i.updateQueue=o.updateQueue,i.type=o.type,e=o.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return K(re,re.current&1|2),t.child}e=e.sibling}i.tail!==null&&ae()>Zn&&(t.flags|=128,r=!0,ar(i,!1),t.lanes=4194304)}else{if(!r)if(e=li(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ar(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!te)return Ee(t),null}else 2*ae()-i.renderingStartTime>Zn&&n!==1073741824&&(t.flags|=128,r=!0,ar(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=ae(),t.sibling=null,n=re.current,K(re,r?n&1|2:n&1),t):(Ee(t),null);case 22:case 23:return ru(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ue&1073741824&&(Ee(t),t.subtreeFlags&6&&(t.flags|=8192)):Ee(t),null;case 24:return null;case 25:return null}throw Error(x(156,t.tag))}function im(e,t){switch(js(t),t.tag){case 1:return je(t.type)&&ql(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Kn(),ee(De),ee(Te),Gs(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Qs(t),null;case 13:if(ee(re),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(x(340));Gn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ee(re),null;case 4:return Kn(),null;case 10:return Bs(t.type._context),null;case 22:case 23:return ru(),null;case 24:return null;default:return null}}var Sl=!1,_e=!1,om=typeof WeakSet=="function"?WeakSet:Set,C=null;function Dn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){se(e,t,r)}else n.current=null}function ls(e,t,n){try{n()}catch(r){se(e,t,r)}}var Ba=!1;function sm(e,t){if(Bo=Yl,e=df(),Ms(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,s=-1,u=-1,a=0,m=0,g=e,d=null;t:for(;;){for(var v;g!==n||l!==0&&g.nodeType!==3||(s=o+l),g!==i||r!==0&&g.nodeType!==3||(u=o+r),g.nodeType===3&&(o+=g.nodeValue.length),(v=g.firstChild)!==null;)d=g,g=v;for(;;){if(g===e)break t;if(d===n&&++a===l&&(s=o),d===i&&++m===r&&(u=o),(v=g.nextSibling)!==null)break;g=d,d=g.parentNode}g=v}n=s===-1||u===-1?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ho={focusedElem:e,selectionRange:n},Yl=!1,C=t;C!==null;)if(t=C,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,C=e;else for(;C!==null;){t=C;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var E=w.memoizedProps,M=w.memoizedState,p=t.stateNode,c=p.getSnapshotBeforeUpdate(t.elementType===t.type?E:lt(t.type,E),M);p.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var h=t.stateNode.containerInfo;h.nodeType===1?h.textContent="":h.nodeType===9&&h.documentElement&&h.removeChild(h.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(x(163))}}catch(y){se(t,t.return,y)}if(e=t.sibling,e!==null){e.return=t.return,C=e;break}C=t.return}return w=Ba,Ba=!1,w}function Nr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var i=l.destroy;l.destroy=void 0,i!==void 0&&ls(t,n,i)}l=l.next}while(l!==r)}}function _i(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function is(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function ud(e){var t=e.alternate;t!==null&&(e.alternate=null,ud(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[mt],delete t[Hr],delete t[Qo],delete t[Wh],delete t[Vh])),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 ad(e){return e.tag===5||e.tag===3||e.tag===4}function Ha(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||ad(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 os(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Zl));else if(r!==4&&(e=e.child,e!==null))for(os(e,t,n),e=e.sibling;e!==null;)os(e,t,n),e=e.sibling}function ss(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(ss(e,t,n),e=e.sibling;e!==null;)ss(e,t,n),e=e.sibling}var ve=null,it=!1;function It(e,t,n){for(n=n.child;n!==null;)cd(e,t,n),n=n.sibling}function cd(e,t,n){if(vt&&typeof vt.onCommitFiberUnmount=="function")try{vt.onCommitFiberUnmount(gi,n)}catch{}switch(n.tag){case 5:_e||Dn(n,t);case 6:var r=ve,l=it;ve=null,It(e,t,n),ve=r,it=l,ve!==null&&(it?(e=ve,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ve.removeChild(n.stateNode));break;case 18:ve!==null&&(it?(e=ve,n=n.stateNode,e.nodeType===8?ro(e.parentNode,n):e.nodeType===1&&ro(e,n),jr(e)):ro(ve,n.stateNode));break;case 4:r=ve,l=it,ve=n.stateNode.containerInfo,it=!0,It(e,t,n),ve=r,it=l;break;case 0:case 11:case 14:case 15:if(!_e&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&ls(n,t,o),l=l.next}while(l!==r)}It(e,t,n);break;case 1:if(!_e&&(Dn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){se(n,t,s)}It(e,t,n);break;case 21:It(e,t,n);break;case 22:n.mode&1?(_e=(r=_e)||n.memoizedState!==null,It(e,t,n),_e=r):It(e,t,n);break;default:It(e,t,n)}}function Wa(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new om),t.forEach(function(r){var l=gm.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function nt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var l=n[r];try{var i=e,o=t,s=o;e:for(;s!==null;){switch(s.tag){case 5:ve=s.stateNode,it=!1;break e;case 3:ve=s.stateNode.containerInfo,it=!0;break e;case 4:ve=s.stateNode.containerInfo,it=!0;break e}s=s.return}if(ve===null)throw Error(x(160));cd(i,o,l),ve=null,it=!1;var u=l.alternate;u!==null&&(u.return=null),l.return=null}catch(a){se(l,t,a)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)fd(t,e),t=t.sibling}function fd(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(nt(t,e),pt(e),r&4){try{Nr(3,e,e.return),_i(3,e)}catch(E){se(e,e.return,E)}try{Nr(5,e,e.return)}catch(E){se(e,e.return,E)}}break;case 1:nt(t,e),pt(e),r&512&&n!==null&&Dn(n,n.return);break;case 5:if(nt(t,e),pt(e),r&512&&n!==null&&Dn(n,n.return),e.flags&32){var l=e.stateNode;try{Ir(l,"")}catch(E){se(e,e.return,E)}}if(r&4&&(l=e.stateNode,l!=null)){var i=e.memoizedProps,o=n!==null?n.memoizedProps:i,s=e.type,u=e.updateQueue;if(e.updateQueue=null,u!==null)try{s==="input"&&i.type==="radio"&&i.name!=null&&zc(l,i),Ao(s,o);var a=Ao(s,i);for(o=0;o<u.length;o+=2){var m=u[o],g=u[o+1];m==="style"?jc(l,g):m==="dangerouslySetInnerHTML"?Mc(l,g):m==="children"?Ir(l,g):Ss(l,m,g,a)}switch(s){case"input":Co(l,i);break;case"textarea":Ic(l,i);break;case"select":var d=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!i.multiple;var v=i.value;v!=null?Fn(l,!!i.multiple,v,!1):d!==!!i.multiple&&(i.defaultValue!=null?Fn(l,!!i.multiple,i.defaultValue,!0):Fn(l,!!i.multiple,i.multiple?[]:"",!1))}l[Hr]=i}catch(E){se(e,e.return,E)}}break;case 6:if(nt(t,e),pt(e),r&4){if(e.stateNode===null)throw Error(x(162));l=e.stateNode,i=e.memoizedProps;try{l.nodeValue=i}catch(E){se(e,e.return,E)}}break;case 3:if(nt(t,e),pt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{jr(t.containerInfo)}catch(E){se(e,e.return,E)}break;case 4:nt(t,e),pt(e);break;case 13:nt(t,e),pt(e),l=e.child,l.flags&8192&&(i=l.memoizedState!==null,l.stateNode.isHidden=i,!i||l.alternate!==null&&l.alternate.memoizedState!==null||(tu=ae())),r&4&&Wa(e);break;case 22:if(m=n!==null&&n.memoizedState!==null,e.mode&1?(_e=(a=_e)||m,nt(t,e),_e=a):nt(t,e),pt(e),r&8192){if(a=e.memoizedState!==null,(e.stateNode.isHidden=a)&&!m&&e.mode&1)for(C=e,m=e.child;m!==null;){for(g=C=m;C!==null;){switch(d=C,v=d.child,d.tag){case 0:case 11:case 14:case 15:Nr(4,d,d.return);break;case 1:Dn(d,d.return);var w=d.stateNode;if(typeof w.componentWillUnmount=="function"){r=d,n=d.return;try{t=r,w.props=t.memoizedProps,w.state=t.memoizedState,w.componentWillUnmount()}catch(E){se(r,n,E)}}break;case 5:Dn(d,d.return);break;case 22:if(d.memoizedState!==null){Qa(g);continue}}v!==null?(v.return=d,C=v):Qa(g)}m=m.sibling}e:for(m=null,g=e;;){if(g.tag===5){if(m===null){m=g;try{l=g.stateNode,a?(i=l.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(s=g.stateNode,u=g.memoizedProps.style,o=u!=null&&u.hasOwnProperty("display")?u.display:null,s.style.display=Dc("display",o))}catch(E){se(e,e.return,E)}}}else if(g.tag===6){if(m===null)try{g.stateNode.nodeValue=a?"":g.memoizedProps}catch(E){se(e,e.return,E)}}else if((g.tag!==22&&g.tag!==23||g.memoizedState===null||g===e)&&g.child!==null){g.child.return=g,g=g.child;continue}if(g===e)break e;for(;g.sibling===null;){if(g.return===null||g.return===e)break e;m===g&&(m=null),g=g.return}m===g&&(m=null),g.sibling.return=g.return,g=g.sibling}}break;case 19:nt(t,e),pt(e),r&4&&Wa(e);break;case 21:break;default:nt(t,e),pt(e)}}function pt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(ad(n)){var r=n;break e}n=n.return}throw Error(x(160))}switch(r.tag){case 5:var l=r.stateNode;r.flags&32&&(Ir(l,""),r.flags&=-33);var i=Ha(e);ss(e,i,l);break;case 3:case 4:var o=r.stateNode.containerInfo,s=Ha(e);os(e,s,o);break;default:throw Error(x(161))}}catch(u){se(e,e.return,u)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function um(e,t,n){C=e,dd(e)}function dd(e,t,n){for(var r=(e.mode&1)!==0;C!==null;){var l=C,i=l.child;if(l.tag===22&&r){var o=l.memoizedState!==null||Sl;if(!o){var s=l.alternate,u=s!==null&&s.memoizedState!==null||_e;s=Sl;var a=_e;if(Sl=o,(_e=u)&&!a)for(C=l;C!==null;)o=C,u=o.child,o.tag===22&&o.memoizedState!==null?Ga(l):u!==null?(u.return=o,C=u):Ga(l);for(;i!==null;)C=i,dd(i),i=i.sibling;C=l,Sl=s,_e=a}Va(e)}else l.subtreeFlags&8772&&i!==null?(i.return=l,C=i):Va(e)}}function Va(e){for(;C!==null;){var t=C;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:_e||_i(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!_e)if(n===null)r.componentDidMount();else{var l=t.elementType===t.type?n.memoizedProps:lt(t.type,n.memoizedProps);r.componentDidUpdate(l,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&Ra(t,i,r);break;case 3:var o=t.updateQueue;if(o!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Ra(t,o,n)}break;case 5:var s=t.stateNode;if(n===null&&t.flags&4){n=s;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var a=t.alternate;if(a!==null){var m=a.memoizedState;if(m!==null){var g=m.dehydrated;g!==null&&jr(g)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(x(163))}_e||t.flags&512&&is(t)}catch(d){se(t,t.return,d)}}if(t===e){C=null;break}if(n=t.sibling,n!==null){n.return=t.return,C=n;break}C=t.return}}function Qa(e){for(;C!==null;){var t=C;if(t===e){C=null;break}var n=t.sibling;if(n!==null){n.return=t.return,C=n;break}C=t.return}}function Ga(e){for(;C!==null;){var t=C;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{_i(4,t)}catch(u){se(t,n,u)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var l=t.return;try{r.componentDidMount()}catch(u){se(t,l,u)}}var i=t.return;try{is(t)}catch(u){se(t,i,u)}break;case 5:var o=t.return;try{is(t)}catch(u){se(t,o,u)}}}catch(u){se(t,t.return,u)}if(t===e){C=null;break}var s=t.sibling;if(s!==null){s.return=t.return,C=s;break}C=t.return}}var am=Math.ceil,si=At.ReactCurrentDispatcher,bs=At.ReactCurrentOwner,qe=At.ReactCurrentBatchConfig,B=0,ge=null,fe=null,ke=0,Ue=0,jn=qt(0),pe=0,Kr=null,dn=0,Ti=0,eu=0,Rr=null,Oe=null,tu=0,Zn=1/0,St=null,ui=!1,us=null,Qt=null,El=!1,$t=null,ai=0,Lr=0,as=null,Fl=-1,$l=0;function Le(){return B&6?ae():Fl!==-1?Fl:Fl=ae()}function Gt(e){return e.mode&1?B&2&&ke!==0?ke&-ke:Gh.transition!==null?($l===0&&($l=Xc()),$l):(e=W,e!==0||(e=window.event,e=e===void 0?16:nf(e.type)),e):1}function ut(e,t,n,r){if(50<Lr)throw Lr=0,as=null,Error(x(185));Zr(e,n,r),(!(B&2)||e!==ge)&&(e===ge&&(!(B&2)&&(Ti|=n),pe===4&&jt(e,ke)),Fe(e,r),n===1&&B===0&&!(t.mode&1)&&(Zn=ae()+500,xi&&Jt()))}function Fe(e,t){var n=e.callbackNode;Gp(e,t);var r=Gl(e,e===ge?ke:0);if(r===0)n!==null&&ta(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&ta(n),t===1)e.tag===0?Qh(Ya.bind(null,e)):Sf(Ya.bind(null,e)),Bh(function(){!(B&6)&&Jt()}),n=null;else{switch(Zc(r)){case 1:n=Ns;break;case 4:n=Yc;break;case 16:n=Ql;break;case 536870912:n=Kc;break;default:n=Ql}n=wd(n,pd.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function pd(e,t){if(Fl=-1,$l=0,B&6)throw Error(x(327));var n=e.callbackNode;if(Wn()&&e.callbackNode!==n)return null;var r=Gl(e,e===ge?ke:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=ci(e,r);else{t=r;var l=B;B|=2;var i=md();(ge!==e||ke!==t)&&(St=null,Zn=ae()+500,sn(e,t));do try{dm();break}catch(s){hd(e,s)}while(!0);Us(),si.current=i,B=l,fe!==null?t=0:(ge=null,ke=0,t=pe)}if(t!==0){if(t===2&&(l=Do(e),l!==0&&(r=l,t=cs(e,l))),t===1)throw n=Kr,sn(e,0),jt(e,r),Fe(e,ae()),n;if(t===6)jt(e,r);else{if(l=e.current.alternate,!(r&30)&&!cm(l)&&(t=ci(e,r),t===2&&(i=Do(e),i!==0&&(r=i,t=cs(e,i))),t===1))throw n=Kr,sn(e,0),jt(e,r),Fe(e,ae()),n;switch(e.finishedWork=l,e.finishedLanes=r,t){case 0:case 1:throw Error(x(345));case 2:tn(e,Oe,St);break;case 3:if(jt(e,r),(r&130023424)===r&&(t=tu+500-ae(),10<t)){if(Gl(e,0)!==0)break;if(l=e.suspendedLanes,(l&r)!==r){Le(),e.pingedLanes|=e.suspendedLanes&l;break}e.timeoutHandle=Vo(tn.bind(null,e,Oe,St),t);break}tn(e,Oe,St);break;case 4:if(jt(e,r),(r&4194240)===r)break;for(t=e.eventTimes,l=-1;0<r;){var o=31-st(r);i=1<<o,o=t[o],o>l&&(l=o),r&=~i}if(r=l,r=ae()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*am(r/1960))-r,10<r){e.timeoutHandle=Vo(tn.bind(null,e,Oe,St),r);break}tn(e,Oe,St);break;case 5:tn(e,Oe,St);break;default:throw Error(x(329))}}}return Fe(e,ae()),e.callbackNode===n?pd.bind(null,e):null}function cs(e,t){var n=Rr;return e.current.memoizedState.isDehydrated&&(sn(e,t).flags|=256),e=ci(e,t),e!==2&&(t=Oe,Oe=n,t!==null&&fs(t)),e}function fs(e){Oe===null?Oe=e:Oe.push.apply(Oe,e)}function cm(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var l=n[r],i=l.getSnapshot;l=l.value;try{if(!at(i(),l))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function jt(e,t){for(t&=~eu,t&=~Ti,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-st(t),r=1<<n;e[n]=-1,t&=~r}}function Ya(e){if(B&6)throw Error(x(327));Wn();var t=Gl(e,0);if(!(t&1))return Fe(e,ae()),null;var n=ci(e,t);if(e.tag!==0&&n===2){var r=Do(e);r!==0&&(t=r,n=cs(e,r))}if(n===1)throw n=Kr,sn(e,0),jt(e,t),Fe(e,ae()),n;if(n===6)throw Error(x(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,tn(e,Oe,St),Fe(e,ae()),null}function nu(e,t){var n=B;B|=1;try{return e(t)}finally{B=n,B===0&&(Zn=ae()+500,xi&&Jt())}}function pn(e){$t!==null&&$t.tag===0&&!(B&6)&&Wn();var t=B;B|=1;var n=qe.transition,r=W;try{if(qe.transition=null,W=1,e)return e()}finally{W=r,qe.transition=n,B=t,!(B&6)&&Jt()}}function ru(){Ue=jn.current,ee(jn)}function sn(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Uh(n)),fe!==null)for(n=fe.return;n!==null;){var r=n;switch(js(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&ql();break;case 3:Kn(),ee(De),ee(Te),Gs();break;case 5:Qs(r);break;case 4:Kn();break;case 13:ee(re);break;case 19:ee(re);break;case 10:Bs(r.type._context);break;case 22:case 23:ru()}n=n.return}if(ge=e,fe=e=Yt(e.current,null),ke=Ue=t,pe=0,Kr=null,eu=Ti=dn=0,Oe=Rr=null,ln!==null){for(t=0;t<ln.length;t++)if(n=ln[t],r=n.interleaved,r!==null){n.interleaved=null;var l=r.next,i=n.pending;if(i!==null){var o=i.next;i.next=l,r.next=o}n.pending=r}ln=null}return e}function hd(e,t){do{var n=fe;try{if(Us(),Ml.current=oi,ii){for(var r=le.memoizedState;r!==null;){var l=r.queue;l!==null&&(l.pending=null),r=r.next}ii=!1}if(fn=0,me=de=le=null,Cr=!1,Qr=0,bs.current=null,n===null||n.return===null){pe=1,Kr=t,fe=null;break}e:{var i=e,o=n.return,s=n,u=t;if(t=ke,s.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){var a=u,m=s,g=m.tag;if(!(m.mode&1)&&(g===0||g===11||g===15)){var d=m.alternate;d?(m.updateQueue=d.updateQueue,m.memoizedState=d.memoizedState,m.lanes=d.lanes):(m.updateQueue=null,m.memoizedState=null)}var v=Oa(o);if(v!==null){v.flags&=-257,Ma(v,o,s,i,t),v.mode&1&&Ia(i,a,t),t=v,u=a;var w=t.updateQueue;if(w===null){var E=new Set;E.add(u),t.updateQueue=E}else w.add(u);break e}else{if(!(t&1)){Ia(i,a,t),lu();break e}u=Error(x(426))}}else if(te&&s.mode&1){var M=Oa(o);if(M!==null){!(M.flags&65536)&&(M.flags|=256),Ma(M,o,s,i,t),Fs(Xn(u,s));break e}}i=u=Xn(u,s),pe!==4&&(pe=2),Rr===null?Rr=[i]:Rr.push(i),i=o;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var p=qf(i,u,t);Na(i,p);break e;case 1:s=u;var c=i.type,h=i.stateNode;if(!(i.flags&128)&&(typeof c.getDerivedStateFromError=="function"||h!==null&&typeof h.componentDidCatch=="function"&&(Qt===null||!Qt.has(h)))){i.flags|=65536,t&=-t,i.lanes|=t;var y=Jf(i,s,t);Na(i,y);break e}}i=i.return}while(i!==null)}yd(n)}catch(_){t=_,fe===n&&n!==null&&(fe=n=n.return);continue}break}while(!0)}function md(){var e=si.current;return si.current=oi,e===null?oi:e}function lu(){(pe===0||pe===3||pe===2)&&(pe=4),ge===null||!(dn&268435455)&&!(Ti&268435455)||jt(ge,ke)}function ci(e,t){var n=B;B|=2;var r=md();(ge!==e||ke!==t)&&(St=null,sn(e,t));do try{fm();break}catch(l){hd(e,l)}while(!0);if(Us(),B=n,si.current=r,fe!==null)throw Error(x(261));return ge=null,ke=0,pe}function fm(){for(;fe!==null;)gd(fe)}function dm(){for(;fe!==null&&!jp();)gd(fe)}function gd(e){var t=kd(e.alternate,e,Ue);e.memoizedProps=e.pendingProps,t===null?yd(e):fe=t,bs.current=null}function yd(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=im(n,t),n!==null){n.flags&=32767,fe=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{pe=6,fe=null;return}}else if(n=lm(n,t,Ue),n!==null){fe=n;return}if(t=t.sibling,t!==null){fe=t;return}fe=t=e}while(t!==null);pe===0&&(pe=5)}function tn(e,t,n){var r=W,l=qe.transition;try{qe.transition=null,W=1,pm(e,t,n,r)}finally{qe.transition=l,W=r}return null}function pm(e,t,n,r){do Wn();while($t!==null);if(B&6)throw Error(x(327));n=e.finishedWork;var l=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(x(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(Yp(e,i),e===ge&&(fe=ge=null,ke=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||El||(El=!0,wd(Ql,function(){return Wn(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=qe.transition,qe.transition=null;var o=W;W=1;var s=B;B|=4,bs.current=null,sm(e,n),fd(n,e),Ih(Ho),Yl=!!Bo,Ho=Bo=null,e.current=n,um(n),Fp(),B=s,W=o,qe.transition=i}else e.current=n;if(El&&(El=!1,$t=e,ai=l),i=e.pendingLanes,i===0&&(Qt=null),Bp(n.stateNode),Fe(e,ae()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)l=t[n],r(l.value,{componentStack:l.stack,digest:l.digest});if(ui)throw ui=!1,e=us,us=null,e;return ai&1&&e.tag!==0&&Wn(),i=e.pendingLanes,i&1?e===as?Lr++:(Lr=0,as=e):Lr=0,Jt(),null}function Wn(){if($t!==null){var e=Zc(ai),t=qe.transition,n=W;try{if(qe.transition=null,W=16>e?16:e,$t===null)var r=!1;else{if(e=$t,$t=null,ai=0,B&6)throw Error(x(331));var l=B;for(B|=4,C=e.current;C!==null;){var i=C,o=i.child;if(C.flags&16){var s=i.deletions;if(s!==null){for(var u=0;u<s.length;u++){var a=s[u];for(C=a;C!==null;){var m=C;switch(m.tag){case 0:case 11:case 15:Nr(8,m,i)}var g=m.child;if(g!==null)g.return=m,C=g;else for(;C!==null;){m=C;var d=m.sibling,v=m.return;if(ud(m),m===a){C=null;break}if(d!==null){d.return=v,C=d;break}C=v}}}var w=i.alternate;if(w!==null){var E=w.child;if(E!==null){w.child=null;do{var M=E.sibling;E.sibling=null,E=M}while(E!==null)}}C=i}}if(i.subtreeFlags&2064&&o!==null)o.return=i,C=o;else e:for(;C!==null;){if(i=C,i.flags&2048)switch(i.tag){case 0:case 11:case 15:Nr(9,i,i.return)}var p=i.sibling;if(p!==null){p.return=i.return,C=p;break e}C=i.return}}var c=e.current;for(C=c;C!==null;){o=C;var h=o.child;if(o.subtreeFlags&2064&&h!==null)h.return=o,C=h;else e:for(o=c;C!==null;){if(s=C,s.flags&2048)try{switch(s.tag){case 0:case 11:case 15:_i(9,s)}}catch(_){se(s,s.return,_)}if(s===o){C=null;break e}var y=s.sibling;if(y!==null){y.return=s.return,C=y;break e}C=s.return}}if(B=l,Jt(),vt&&typeof vt.onPostCommitFiberRoot=="function")try{vt.onPostCommitFiberRoot(gi,e)}catch{}r=!0}return r}finally{W=n,qe.transition=t}}return!1}function Ka(e,t,n){t=Xn(n,t),t=qf(e,t,1),e=Vt(e,t,1),t=Le(),e!==null&&(Zr(e,1,t),Fe(e,t))}function se(e,t,n){if(e.tag===3)Ka(e,e,n);else for(;t!==null;){if(t.tag===3){Ka(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Qt===null||!Qt.has(r))){e=Xn(n,e),e=Jf(t,e,1),t=Vt(t,e,1),e=Le(),t!==null&&(Zr(t,1,e),Fe(t,e));break}}t=t.return}}function hm(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Le(),e.pingedLanes|=e.suspendedLanes&n,ge===e&&(ke&n)===n&&(pe===4||pe===3&&(ke&130023424)===ke&&500>ae()-tu?sn(e,0):eu|=n),Fe(e,t)}function vd(e,t){t===0&&(e.mode&1?(t=pl,pl<<=1,!(pl&130023424)&&(pl=4194304)):t=1);var n=Le();e=Lt(e,t),e!==null&&(Zr(e,t,n),Fe(e,n))}function mm(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),vd(e,n)}function gm(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(x(314))}r!==null&&r.delete(t),vd(e,n)}var kd;kd=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||De.current)Me=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Me=!1,rm(e,t,n);Me=!!(e.flags&131072)}else Me=!1,te&&t.flags&1048576&&Ef(t,ei,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;jl(e,t),e=t.pendingProps;var l=Qn(t,Te.current);Hn(t,n),l=Ks(null,t,r,e,l,n);var i=Xs();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,je(r)?(i=!0,Jl(t)):i=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Ws(t),l.updater=Ei,t.stateNode=l,l._reactInternals=t,qo(t,r,e,n),t=es(null,t,r,!0,i,n)):(t.tag=0,te&&i&&Ds(t),Re(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(jl(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=vm(r),e=lt(r,e),l){case 0:t=bo(null,t,r,e,n);break e;case 1:t=Fa(null,t,r,e,n);break e;case 11:t=Da(null,t,r,e,n);break e;case 14:t=ja(null,t,r,lt(r.type,e),n);break e}throw Error(x(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:lt(r,l),bo(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:lt(r,l),Fa(e,t,r,l,n);case 3:e:{if(nd(t),e===null)throw Error(x(387));r=t.pendingProps,i=t.memoizedState,l=i.element,Lf(e,t),ri(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){l=Xn(Error(x(423)),t),t=$a(e,t,r,n,l);break e}else if(r!==l){l=Xn(Error(x(424)),t),t=$a(e,t,r,n,l);break e}else for(He=Wt(t.stateNode.containerInfo.firstChild),We=t,te=!0,ot=null,n=Nf(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Gn(),r===l){t=Pt(e,t,n);break e}Re(e,t,r,n)}t=t.child}return t;case 5:return Pf(t),e===null&&Ko(t),r=t.type,l=t.pendingProps,i=e!==null?e.memoizedProps:null,o=l.children,Wo(r,l)?o=null:i!==null&&Wo(r,i)&&(t.flags|=32),td(e,t),Re(e,t,o,n),t.child;case 6:return e===null&&Ko(t),null;case 13:return rd(e,t,n);case 4:return Vs(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Yn(t,null,r,n):Re(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:lt(r,l),Da(e,t,r,l,n);case 7:return Re(e,t,t.pendingProps,n),t.child;case 8:return Re(e,t,t.pendingProps.children,n),t.child;case 12:return Re(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,i=t.memoizedProps,o=l.value,K(ti,r._currentValue),r._currentValue=o,i!==null)if(at(i.value,o)){if(i.children===l.children&&!De.current){t=Pt(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){o=i.child;for(var u=s.firstContext;u!==null;){if(u.context===r){if(i.tag===1){u=Ct(-1,n&-n),u.tag=2;var a=i.updateQueue;if(a!==null){a=a.shared;var m=a.pending;m===null?u.next=u:(u.next=m.next,m.next=u),a.pending=u}}i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),Xo(i.return,n,t),s.lanes|=n;break}u=u.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(x(341));o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),Xo(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}Re(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,Hn(t,n),l=Je(l),r=r(l),t.flags|=1,Re(e,t,r,n),t.child;case 14:return r=t.type,l=lt(r,t.pendingProps),l=lt(r.type,l),ja(e,t,r,l,n);case 15:return bf(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:lt(r,l),jl(e,t),t.tag=1,je(r)?(e=!0,Jl(t)):e=!1,Hn(t,n),Zf(t,r,l),qo(t,r,l,n),es(null,t,r,!0,e,n);case 19:return ld(e,t,n);case 22:return ed(e,t,n)}throw Error(x(156,t.tag))};function wd(e,t){return Gc(e,t)}function ym(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ze(e,t,n,r){return new ym(e,t,n,r)}function iu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function vm(e){if(typeof e=="function")return iu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===_s)return 11;if(e===Ts)return 14}return 2}function Yt(e,t){var n=e.alternate;return n===null?(n=Ze(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ul(e,t,n,r,l,i){var o=2;if(r=e,typeof e=="function")iu(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Nn:return un(n.children,l,i,t);case Es:o=8,l|=8;break;case xo:return e=Ze(12,n,t,l|2),e.elementType=xo,e.lanes=i,e;case So:return e=Ze(13,n,t,l),e.elementType=So,e.lanes=i,e;case Eo:return e=Ze(19,n,t,l),e.elementType=Eo,e.lanes=i,e;case Lc:return Ci(n,l,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Nc:o=10;break e;case Rc:o=9;break e;case _s:o=11;break e;case Ts:o=14;break e;case Ot:o=16,r=null;break e}throw Error(x(130,e==null?e:typeof e,""))}return t=Ze(o,n,t,l),t.elementType=e,t.type=r,t.lanes=i,t}function un(e,t,n,r){return e=Ze(7,e,r,t),e.lanes=n,e}function Ci(e,t,n,r){return e=Ze(22,e,r,t),e.elementType=Lc,e.lanes=n,e.stateNode={isHidden:!1},e}function fo(e,t,n){return e=Ze(6,e,null,t),e.lanes=n,e}function po(e,t,n){return t=Ze(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function km(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Gi(0),this.expirationTimes=Gi(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Gi(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function ou(e,t,n,r,l,i,o,s,u){return e=new km(e,t,n,s,u),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Ze(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ws(i),e}function wm(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Cn,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function xd(e){if(!e)return Xt;e=e._reactInternals;e:{if(yn(e)!==e||e.tag!==1)throw Error(x(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(je(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(x(171))}if(e.tag===1){var n=e.type;if(je(n))return xf(e,n,t)}return t}function Sd(e,t,n,r,l,i,o,s,u){return e=ou(n,r,!0,e,l,i,o,s,u),e.context=xd(null),n=e.current,r=Le(),l=Gt(n),i=Ct(r,l),i.callback=t??null,Vt(n,i,l),e.current.lanes=l,Zr(e,l,r),Fe(e,r),e}function Ni(e,t,n,r){var l=t.current,i=Le(),o=Gt(l);return n=xd(n),t.context===null?t.context=n:t.pendingContext=n,t=Ct(i,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Vt(l,t,o),e!==null&&(ut(e,l,o,i),Ol(e,l,o)),o}function fi(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 Xa(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function su(e,t){Xa(e,t),(e=e.alternate)&&Xa(e,t)}function xm(){return null}var Ed=typeof reportError=="function"?reportError:function(e){console.error(e)};function uu(e){this._internalRoot=e}Ri.prototype.render=uu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(x(409));Ni(e,t,null,null)};Ri.prototype.unmount=uu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;pn(function(){Ni(null,e,null,null)}),t[Rt]=null}};function Ri(e){this._internalRoot=e}Ri.prototype.unstable_scheduleHydration=function(e){if(e){var t=bc();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Dt.length&&t!==0&&t<Dt[n].priority;n++);Dt.splice(n,0,e),n===0&&tf(e)}};function au(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Li(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Za(){}function Sm(e,t,n,r,l){if(l){if(typeof r=="function"){var i=r;r=function(){var a=fi(o);i.call(a)}}var o=Sd(t,r,e,0,null,!1,!1,"",Za);return e._reactRootContainer=o,e[Rt]=o.current,Ur(e.nodeType===8?e.parentNode:e),pn(),o}for(;l=e.lastChild;)e.removeChild(l);if(typeof r=="function"){var s=r;r=function(){var a=fi(u);s.call(a)}}var u=ou(e,0,!1,null,null,!1,!1,"",Za);return e._reactRootContainer=u,e[Rt]=u.current,Ur(e.nodeType===8?e.parentNode:e),pn(function(){Ni(t,u,n,r)}),u}function Pi(e,t,n,r,l){var i=n._reactRootContainer;if(i){var o=i;if(typeof l=="function"){var s=l;l=function(){var u=fi(o);s.call(u)}}Ni(t,o,e,l)}else o=Sm(n,t,e,l,r);return fi(o)}qc=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=kr(t.pendingLanes);n!==0&&(Rs(t,n|1),Fe(t,ae()),!(B&6)&&(Zn=ae()+500,Jt()))}break;case 13:pn(function(){var r=Lt(e,1);if(r!==null){var l=Le();ut(r,e,1,l)}}),su(e,1)}};Ls=function(e){if(e.tag===13){var t=Lt(e,134217728);if(t!==null){var n=Le();ut(t,e,134217728,n)}su(e,134217728)}};Jc=function(e){if(e.tag===13){var t=Gt(e),n=Lt(e,t);if(n!==null){var r=Le();ut(n,e,t,r)}su(e,t)}};bc=function(){return W};ef=function(e,t){var n=W;try{return W=e,t()}finally{W=n}};Io=function(e,t,n){switch(t){case"input":if(Co(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var l=wi(r);if(!l)throw Error(x(90));Ac(r),Co(r,l)}}}break;case"textarea":Ic(e,n);break;case"select":t=n.value,t!=null&&Fn(e,!!n.multiple,t,!1)}};Uc=nu;Bc=pn;var Em={usingClientEntryPoint:!1,Events:[Jr,An,wi,Fc,$c,nu]},cr={findFiberByHostInstance:rn,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},_m={bundleType:cr.bundleType,version:cr.version,rendererPackageName:cr.rendererPackageName,rendererConfig:cr.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:At.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Vc(e),e===null?null:e.stateNode},findFiberByHostInstance:cr.findFiberByHostInstance||xm,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 _l=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!_l.isDisabled&&_l.supportsFiber)try{gi=_l.inject(_m),vt=_l}catch{}}Ge.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Em;Ge.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!au(t))throw Error(x(200));return wm(e,t,null,n)};Ge.createRoot=function(e,t){if(!au(e))throw Error(x(299));var n=!1,r="",l=Ed;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(l=t.onRecoverableError)),t=ou(e,1,!1,null,null,n,!1,r,l),e[Rt]=t.current,Ur(e.nodeType===8?e.parentNode:e),new uu(t)};Ge.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(x(188)):(e=Object.keys(e).join(","),Error(x(268,e)));return e=Vc(t),e=e===null?null:e.stateNode,e};Ge.flushSync=function(e){return pn(e)};Ge.hydrate=function(e,t,n){if(!Li(t))throw Error(x(200));return Pi(null,e,t,!0,n)};Ge.hydrateRoot=function(e,t,n){if(!au(e))throw Error(x(405));var r=n!=null&&n.hydratedSources||null,l=!1,i="",o=Ed;if(n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(o=n.onRecoverableError)),t=Sd(t,null,e,1,n??null,l,!1,i,o),e[Rt]=t.current,Ur(e),r)for(e=0;e<r.length;e++)n=r[e],l=n._getVersion,l=l(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,l]:t.mutableSourceEagerHydrationData.push(n,l);return new Ri(t)};Ge.render=function(e,t,n){if(!Li(t))throw Error(x(200));return Pi(null,e,t,!1,n)};Ge.unmountComponentAtNode=function(e){if(!Li(e))throw Error(x(40));return e._reactRootContainer?(pn(function(){Pi(null,null,e,!1,function(){e._reactRootContainer=null,e[Rt]=null})}),!0):!1};Ge.unstable_batchedUpdates=nu;Ge.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Li(n))throw Error(x(200));if(e==null||e._reactInternals===void 0)throw Error(x(38));return Pi(e,t,n,!1,r)};Ge.version="18.3.1-next-f1338f8080-20240426";function _d(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(_d)}catch(e){console.error(e)}}_d(),Ec.exports=Ge;var Tm=Ec.exports,qa=Tm;ko.createRoot=qa.createRoot,ko.hydrateRoot=qa.hydrateRoot;function cu(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let vn=cu();function Td(e){vn=e}const Cd=/[&<>"']/,Cm=new RegExp(Cd.source,"g"),Nd=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,Nm=new RegExp(Nd.source,"g"),Rm={"&":"&","<":"<",">":">",'"':""","'":"'"},Ja=e=>Rm[e];function Be(e,t){if(t){if(Cd.test(e))return e.replace(Cm,Ja)}else if(Nd.test(e))return e.replace(Nm,Ja);return e}const Lm=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function Pm(e){return e.replace(Lm,(t,n)=>(n=n.toLowerCase(),n==="colon"?":":n.charAt(0)==="#"?n.charAt(1)==="x"?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1)):""))}const Am=/(^|[^\[])\^/g;function V(e,t){let n=typeof e=="string"?e:e.source;t=t||"";const r={replace:(l,i)=>{let o=typeof i=="string"?i:i.source;return o=o.replace(Am,"$1"),n=n.replace(l,o),r},getRegex:()=>new RegExp(n,t)};return r}function ba(e){try{e=encodeURI(e).replace(/%25/g,"%")}catch{return null}return e}const Pr={exec:()=>null};function ec(e,t){const n=e.replace(/\|/g,(i,o,s)=>{let u=!1,a=o;for(;--a>=0&&s[a]==="\\";)u=!u;return u?"|":" |"}),r=n.split(/ \|/);let l=0;if(r[0].trim()||r.shift(),r.length>0&&!r[r.length-1].trim()&&r.pop(),t)if(r.length>t)r.splice(t);else for(;r.length<t;)r.push("");for(;l<r.length;l++)r[l]=r[l].trim().replace(/\\\|/g,"|");return r}function Tl(e,t,n){const r=e.length;if(r===0)return"";let l=0;for(;l<r;){const i=e.charAt(r-l-1);if(i===t&&!n)l++;else if(i!==t&&n)l++;else break}return e.slice(0,r-l)}function zm(e,t){if(e.indexOf(t[1])===-1)return-1;let n=0;for(let r=0;r<e.length;r++)if(e[r]==="\\")r++;else if(e[r]===t[0])n++;else if(e[r]===t[1]&&(n--,n<0))return r;return-1}function tc(e,t,n,r){const l=t.href,i=t.title?Be(t.title):null,o=e[1].replace(/\\([\[\]])/g,"$1");if(e[0].charAt(0)!=="!"){r.state.inLink=!0;const s={type:"link",raw:n,href:l,title:i,text:o,tokens:r.inlineTokens(o)};return r.state.inLink=!1,s}return{type:"image",raw:n,href:l,title:i,text:Be(o)}}function Im(e,t){const n=e.match(/^(\s+)(?:```)/);if(n===null)return t;const r=n[1];return t.split(` | |
`).map(l=>{const i=l.match(/^\s+/);if(i===null)return l;const[o]=i;return o.length>=r.length?l.slice(r.length):l}).join(` | |
`)}class di{constructor(t){q(this,"options");q(this,"rules");q(this,"lexer");this.options=t||vn}space(t){const n=this.rules.block.newline.exec(t);if(n&&n[0].length>0)return{type:"space",raw:n[0]}}code(t){const n=this.rules.block.code.exec(t);if(n){const r=n[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?r:Tl(r,` | |
`)}}}fences(t){const n=this.rules.block.fences.exec(t);if(n){const r=n[0],l=Im(r,n[3]||"");return{type:"code",raw:r,lang:n[2]?n[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):n[2],text:l}}}heading(t){const n=this.rules.block.heading.exec(t);if(n){let r=n[2].trim();if(/#$/.test(r)){const l=Tl(r,"#");(this.options.pedantic||!l||/ $/.test(l))&&(r=l.trim())}return{type:"heading",raw:n[0],depth:n[1].length,text:r,tokens:this.lexer.inline(r)}}}hr(t){const n=this.rules.block.hr.exec(t);if(n)return{type:"hr",raw:n[0]}}blockquote(t){const n=this.rules.block.blockquote.exec(t);if(n){let r=n[0].replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,` | |
$1`);r=Tl(r.replace(/^ *>[ \t]?/gm,""),` | |
`);const l=this.lexer.state.top;this.lexer.state.top=!0;const i=this.lexer.blockTokens(r);return this.lexer.state.top=l,{type:"blockquote",raw:n[0],tokens:i,text:r}}}list(t){let n=this.rules.block.list.exec(t);if(n){let r=n[1].trim();const l=r.length>1,i={type:"list",raw:"",ordered:l,start:l?+r.slice(0,-1):"",loose:!1,items:[]};r=l?`\\d{1,9}\\${r.slice(-1)}`:`\\${r}`,this.options.pedantic&&(r=l?r:"[*+-]");const o=new RegExp(`^( {0,3}${r})((?:[ ][^\\n]*)?(?:\\n|$))`);let s="",u="",a=!1;for(;t;){let m=!1;if(!(n=o.exec(t))||this.rules.block.hr.test(t))break;s=n[0],t=t.substring(s.length);let g=n[2].split(` | |
`,1)[0].replace(/^\t+/,p=>" ".repeat(3*p.length)),d=t.split(` | |
`,1)[0],v=0;this.options.pedantic?(v=2,u=g.trimStart()):(v=n[2].search(/[^ ]/),v=v>4?1:v,u=g.slice(v),v+=n[1].length);let w=!1;if(!g&&/^ *$/.test(d)&&(s+=d+` | |
`,t=t.substring(d.length+1),m=!0),!m){const p=new RegExp(`^ {0,${Math.min(3,v-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),c=new RegExp(`^ {0,${Math.min(3,v-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),h=new RegExp(`^ {0,${Math.min(3,v-1)}}(?:\`\`\`|~~~)`),y=new RegExp(`^ {0,${Math.min(3,v-1)}}#`);for(;t;){const _=t.split(` | |
`,1)[0];if(d=_,this.options.pedantic&&(d=d.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),h.test(d)||y.test(d)||p.test(d)||c.test(t))break;if(d.search(/[^ ]/)>=v||!d.trim())u+=` | |
`+d.slice(v);else{if(w||g.search(/[^ ]/)>=4||h.test(g)||y.test(g)||c.test(g))break;u+=` | |
`+d}!w&&!d.trim()&&(w=!0),s+=_+` | |
`,t=t.substring(_.length+1),g=d.slice(v)}}i.loose||(a?i.loose=!0:/\n *\n *$/.test(s)&&(a=!0));let E=null,M;this.options.gfm&&(E=/^\[[ xX]\] /.exec(u),E&&(M=E[0]!=="[ ] ",u=u.replace(/^\[[ xX]\] +/,""))),i.items.push({type:"list_item",raw:s,task:!!E,checked:M,loose:!1,text:u,tokens:[]}),i.raw+=s}i.items[i.items.length-1].raw=s.trimEnd(),i.items[i.items.length-1].text=u.trimEnd(),i.raw=i.raw.trimEnd();for(let m=0;m<i.items.length;m++)if(this.lexer.state.top=!1,i.items[m].tokens=this.lexer.blockTokens(i.items[m].text,[]),!i.loose){const g=i.items[m].tokens.filter(v=>v.type==="space"),d=g.length>0&&g.some(v=>/\n.*\n/.test(v.raw));i.loose=d}if(i.loose)for(let m=0;m<i.items.length;m++)i.items[m].loose=!0;return i}}html(t){const n=this.rules.block.html.exec(t);if(n)return{type:"html",block:!0,raw:n[0],pre:n[1]==="pre"||n[1]==="script"||n[1]==="style",text:n[0]}}def(t){const n=this.rules.block.def.exec(t);if(n){const r=n[1].toLowerCase().replace(/\s+/g," "),l=n[2]?n[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",i=n[3]?n[3].substring(1,n[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):n[3];return{type:"def",tag:r,raw:n[0],href:l,title:i}}}table(t){const n=this.rules.block.table.exec(t);if(!n||!/[:|]/.test(n[2]))return;const r=ec(n[1]),l=n[2].replace(/^\||\| *$/g,"").split("|"),i=n[3]&&n[3].trim()?n[3].replace(/\n[ \t]*$/,"").split(` | |
`):[],o={type:"table",raw:n[0],header:[],align:[],rows:[]};if(r.length===l.length){for(const s of l)/^ *-+: *$/.test(s)?o.align.push("right"):/^ *:-+: *$/.test(s)?o.align.push("center"):/^ *:-+ *$/.test(s)?o.align.push("left"):o.align.push(null);for(const s of r)o.header.push({text:s,tokens:this.lexer.inline(s)});for(const s of i)o.rows.push(ec(s,o.header.length).map(u=>({text:u,tokens:this.lexer.inline(u)})));return o}}lheading(t){const n=this.rules.block.lheading.exec(t);if(n)return{type:"heading",raw:n[0],depth:n[2].charAt(0)==="="?1:2,text:n[1],tokens:this.lexer.inline(n[1])}}paragraph(t){const n=this.rules.block.paragraph.exec(t);if(n){const r=n[1].charAt(n[1].length-1)===` | |
`?n[1].slice(0,-1):n[1];return{type:"paragraph",raw:n[0],text:r,tokens:this.lexer.inline(r)}}}text(t){const n=this.rules.block.text.exec(t);if(n)return{type:"text",raw:n[0],text:n[0],tokens:this.lexer.inline(n[0])}}escape(t){const n=this.rules.inline.escape.exec(t);if(n)return{type:"escape",raw:n[0],text:Be(n[1])}}tag(t){const n=this.rules.inline.tag.exec(t);if(n)return!this.lexer.state.inLink&&/^<a /i.test(n[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(n[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(n[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(n[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:n[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:n[0]}}link(t){const n=this.rules.inline.link.exec(t);if(n){const r=n[2].trim();if(!this.options.pedantic&&/^</.test(r)){if(!/>$/.test(r))return;const o=Tl(r.slice(0,-1),"\\");if((r.length-o.length)%2===0)return}else{const o=zm(n[2],"()");if(o>-1){const u=(n[0].indexOf("!")===0?5:4)+n[1].length+o;n[2]=n[2].substring(0,o),n[0]=n[0].substring(0,u).trim(),n[3]=""}}let l=n[2],i="";if(this.options.pedantic){const o=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(l);o&&(l=o[1],i=o[3])}else i=n[3]?n[3].slice(1,-1):"";return l=l.trim(),/^</.test(l)&&(this.options.pedantic&&!/>$/.test(r)?l=l.slice(1):l=l.slice(1,-1)),tc(n,{href:l&&l.replace(this.rules.inline.anyPunctuation,"$1"),title:i&&i.replace(this.rules.inline.anyPunctuation,"$1")},n[0],this.lexer)}}reflink(t,n){let r;if((r=this.rules.inline.reflink.exec(t))||(r=this.rules.inline.nolink.exec(t))){const l=(r[2]||r[1]).replace(/\s+/g," "),i=n[l.toLowerCase()];if(!i){const o=r[0].charAt(0);return{type:"text",raw:o,text:o}}return tc(r,i,r[0],this.lexer)}}emStrong(t,n,r=""){let l=this.rules.inline.emStrongLDelim.exec(t);if(!l||l[3]&&r.match(/[\p{L}\p{N}]/u))return;if(!(l[1]||l[2]||"")||!r||this.rules.inline.punctuation.exec(r)){const o=[...l[0]].length-1;let s,u,a=o,m=0;const g=l[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(g.lastIndex=0,n=n.slice(-1*t.length+o);(l=g.exec(n))!=null;){if(s=l[1]||l[2]||l[3]||l[4]||l[5]||l[6],!s)continue;if(u=[...s].length,l[3]||l[4]){a+=u;continue}else if((l[5]||l[6])&&o%3&&!((o+u)%3)){m+=u;continue}if(a-=u,a>0)continue;u=Math.min(u,u+a+m);const d=[...l[0]][0].length,v=t.slice(0,o+l.index+d+u);if(Math.min(o,u)%2){const E=v.slice(1,-1);return{type:"em",raw:v,text:E,tokens:this.lexer.inlineTokens(E)}}const w=v.slice(2,-2);return{type:"strong",raw:v,text:w,tokens:this.lexer.inlineTokens(w)}}}}codespan(t){const n=this.rules.inline.code.exec(t);if(n){let r=n[2].replace(/\n/g," ");const l=/[^ ]/.test(r),i=/^ /.test(r)&&/ $/.test(r);return l&&i&&(r=r.substring(1,r.length-1)),r=Be(r,!0),{type:"codespan",raw:n[0],text:r}}}br(t){const n=this.rules.inline.br.exec(t);if(n)return{type:"br",raw:n[0]}}del(t){const n=this.rules.inline.del.exec(t);if(n)return{type:"del",raw:n[0],text:n[2],tokens:this.lexer.inlineTokens(n[2])}}autolink(t){const n=this.rules.inline.autolink.exec(t);if(n){let r,l;return n[2]==="@"?(r=Be(n[1]),l="mailto:"+r):(r=Be(n[1]),l=r),{type:"link",raw:n[0],text:r,href:l,tokens:[{type:"text",raw:r,text:r}]}}}url(t){var r;let n;if(n=this.rules.inline.url.exec(t)){let l,i;if(n[2]==="@")l=Be(n[0]),i="mailto:"+l;else{let o;do o=n[0],n[0]=((r=this.rules.inline._backpedal.exec(n[0]))==null?void 0:r[0])??"";while(o!==n[0]);l=Be(n[0]),n[1]==="www."?i="http://"+n[0]:i=n[0]}return{type:"link",raw:n[0],text:l,href:i,tokens:[{type:"text",raw:l,text:l}]}}}inlineText(t){const n=this.rules.inline.text.exec(t);if(n){let r;return this.lexer.state.inRawBlock?r=n[0]:r=Be(n[0]),{type:"text",raw:n[0],text:r}}}}const Om=/^(?: *(?:\n|$))+/,Mm=/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,Dm=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,el=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,jm=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Rd=/(?:[*+-]|\d{1,9}[.)])/,Ld=V(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,Rd).replace(/blockCode/g,/ {4}/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),fu=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Fm=/^[^\n]+/,du=/(?!\s*\])(?:\\.|[^\[\]\\])+/,$m=V(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",du).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Um=V(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Rd).getRegex(),Ai="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|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",pu=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Bm=V("^ {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",pu).replace("tag",Ai).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Pd=V(fu).replace("hr",el).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",Ai).getRegex(),Hm=V(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Pd).getRegex(),hu={blockquote:Hm,code:Mm,def:$m,fences:Dm,heading:jm,hr:el,html:Bm,lheading:Ld,list:Um,newline:Om,paragraph:Pd,table:Pr,text:Fm},nc=V("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",el).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",Ai).getRegex(),Wm={...hu,table:nc,paragraph:V(fu).replace("hr",el).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",nc).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",Ai).getRegex()},Vm={...hu,html:V(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",pu).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:Pr,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:V(fu).replace("hr",el).replace("heading",` *#{1,6} *[^ | |
]`).replace("lheading",Ld).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Ad=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Qm=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,zd=/^( {2,}|\\)\n(?!\s*$)/,Gm=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,tl="\\p{P}\\p{S}",Ym=V(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,tl).getRegex(),Km=/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,Xm=V(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,tl).getRegex(),Zm=V("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,tl).getRegex(),qm=V("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,tl).getRegex(),Jm=V(/\\([punct])/,"gu").replace(/punct/g,tl).getRegex(),bm=V(/^<(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(),eg=V(pu).replace("(?:-->|$)","-->").getRegex(),tg=V("^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",eg).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),pi=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,ng=V(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",pi).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Id=V(/^!?\[(label)\]\[(ref)\]/).replace("label",pi).replace("ref",du).getRegex(),Od=V(/^!?\[(ref)\](?:\[\])?/).replace("ref",du).getRegex(),rg=V("reflink|nolink(?!\\()","g").replace("reflink",Id).replace("nolink",Od).getRegex(),mu={_backpedal:Pr,anyPunctuation:Jm,autolink:bm,blockSkip:Km,br:zd,code:Qm,del:Pr,emStrongLDelim:Xm,emStrongRDelimAst:Zm,emStrongRDelimUnd:qm,escape:Ad,link:ng,nolink:Od,punctuation:Ym,reflink:Id,reflinkSearch:rg,tag:tg,text:Gm,url:Pr},lg={...mu,link:V(/^!?\[(label)\]\((.*?)\)/).replace("label",pi).getRegex(),reflink:V(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",pi).getRegex()},ds={...mu,escape:V(Ad).replace("])","~|])").getRegex(),url:V(/^((?: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.!#$%&'*+\/=?_`{\|}~-]+@)))/},ig={...ds,br:V(zd).replace("{2,}","*").getRegex(),text:V(ds.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},Cl={normal:hu,gfm:Wm,pedantic:Vm},fr={normal:mu,gfm:ds,breaks:ig,pedantic:lg};class gt{constructor(t){q(this,"tokens");q(this,"options");q(this,"state");q(this,"tokenizer");q(this,"inlineQueue");this.tokens=[],this.tokens.links=Object.create(null),this.options=t||vn,this.options.tokenizer=this.options.tokenizer||new di,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 n={block:Cl.normal,inline:fr.normal};this.options.pedantic?(n.block=Cl.pedantic,n.inline=fr.pedantic):this.options.gfm&&(n.block=Cl.gfm,this.options.breaks?n.inline=fr.breaks:n.inline=fr.gfm),this.tokenizer.rules=n}static get rules(){return{block:Cl,inline:fr}}static lex(t,n){return new gt(n).lex(t)}static lexInline(t,n){return new gt(n).inlineTokens(t)}lex(t){t=t.replace(/\r\n|\r/g,` | |
`),this.blockTokens(t,this.tokens);for(let n=0;n<this.inlineQueue.length;n++){const r=this.inlineQueue[n];this.inlineTokens(r.src,r.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(t,n=[]){this.options.pedantic?t=t.replace(/\t/g," ").replace(/^ +$/gm,""):t=t.replace(/^( *)(\t+)/gm,(s,u,a)=>u+" ".repeat(a.length));let r,l,i,o;for(;t;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(s=>(r=s.call({lexer:this},t,n))?(t=t.substring(r.raw.length),n.push(r),!0):!1))){if(r=this.tokenizer.space(t)){t=t.substring(r.raw.length),r.raw.length===1&&n.length>0?n[n.length-1].raw+=` | |
`:n.push(r);continue}if(r=this.tokenizer.code(t)){t=t.substring(r.raw.length),l=n[n.length-1],l&&(l.type==="paragraph"||l.type==="text")?(l.raw+=` | |
`+r.raw,l.text+=` | |
`+r.text,this.inlineQueue[this.inlineQueue.length-1].src=l.text):n.push(r);continue}if(r=this.tokenizer.fences(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.heading(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.hr(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.blockquote(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.list(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.html(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.def(t)){t=t.substring(r.raw.length),l=n[n.length-1],l&&(l.type==="paragraph"||l.type==="text")?(l.raw+=` | |
`+r.raw,l.text+=` | |
`+r.raw,this.inlineQueue[this.inlineQueue.length-1].src=l.text):this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title});continue}if(r=this.tokenizer.table(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.lheading(t)){t=t.substring(r.raw.length),n.push(r);continue}if(i=t,this.options.extensions&&this.options.extensions.startBlock){let s=1/0;const u=t.slice(1);let a;this.options.extensions.startBlock.forEach(m=>{a=m.call({lexer:this},u),typeof a=="number"&&a>=0&&(s=Math.min(s,a))}),s<1/0&&s>=0&&(i=t.substring(0,s+1))}if(this.state.top&&(r=this.tokenizer.paragraph(i))){l=n[n.length-1],o&&l.type==="paragraph"?(l.raw+=` | |
`+r.raw,l.text+=` | |
`+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=l.text):n.push(r),o=i.length!==t.length,t=t.substring(r.raw.length);continue}if(r=this.tokenizer.text(t)){t=t.substring(r.raw.length),l=n[n.length-1],l&&l.type==="text"?(l.raw+=` | |
`+r.raw,l.text+=` | |
`+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=l.text):n.push(r);continue}if(t){const s="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(s);break}else throw new Error(s)}}return this.state.top=!0,n}inline(t,n=[]){return this.inlineQueue.push({src:t,tokens:n}),n}inlineTokens(t,n=[]){let r,l,i,o=t,s,u,a;if(this.tokens.links){const m=Object.keys(this.tokens.links);if(m.length>0)for(;(s=this.tokenizer.rules.inline.reflinkSearch.exec(o))!=null;)m.includes(s[0].slice(s[0].lastIndexOf("[")+1,-1))&&(o=o.slice(0,s.index)+"["+"a".repeat(s[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(s=this.tokenizer.rules.inline.blockSkip.exec(o))!=null;)o=o.slice(0,s.index)+"["+"a".repeat(s[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(s=this.tokenizer.rules.inline.anyPunctuation.exec(o))!=null;)o=o.slice(0,s.index)+"++"+o.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;t;)if(u||(a=""),u=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(m=>(r=m.call({lexer:this},t,n))?(t=t.substring(r.raw.length),n.push(r),!0):!1))){if(r=this.tokenizer.escape(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.tag(t)){t=t.substring(r.raw.length),l=n[n.length-1],l&&r.type==="text"&&l.type==="text"?(l.raw+=r.raw,l.text+=r.text):n.push(r);continue}if(r=this.tokenizer.link(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(r.raw.length),l=n[n.length-1],l&&r.type==="text"&&l.type==="text"?(l.raw+=r.raw,l.text+=r.text):n.push(r);continue}if(r=this.tokenizer.emStrong(t,o,a)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.codespan(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.br(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.del(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.autolink(t)){t=t.substring(r.raw.length),n.push(r);continue}if(!this.state.inLink&&(r=this.tokenizer.url(t))){t=t.substring(r.raw.length),n.push(r);continue}if(i=t,this.options.extensions&&this.options.extensions.startInline){let m=1/0;const g=t.slice(1);let d;this.options.extensions.startInline.forEach(v=>{d=v.call({lexer:this},g),typeof d=="number"&&d>=0&&(m=Math.min(m,d))}),m<1/0&&m>=0&&(i=t.substring(0,m+1))}if(r=this.tokenizer.inlineText(i)){t=t.substring(r.raw.length),r.raw.slice(-1)!=="_"&&(a=r.raw.slice(-1)),u=!0,l=n[n.length-1],l&&l.type==="text"?(l.raw+=r.raw,l.text+=r.text):n.push(r);continue}if(t){const m="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(m);break}else throw new Error(m)}}return n}}class hi{constructor(t){q(this,"options");this.options=t||vn}code(t,n,r){var i;const l=(i=(n||"").match(/^\S*/))==null?void 0:i[0];return t=t.replace(/\n$/,"")+` | |
`,l?'<pre><code class="language-'+Be(l)+'">'+(r?t:Be(t,!0))+`</code></pre> | |
`:"<pre><code>"+(r?t:Be(t,!0))+`</code></pre> | |
`}blockquote(t){return`<blockquote> | |
${t}</blockquote> | |
`}html(t,n){return t}heading(t,n,r){return`<h${n}>${t}</h${n}> | |
`}hr(){return`<hr> | |
`}list(t,n,r){const l=n?"ol":"ul",i=n&&r!==1?' start="'+r+'"':"";return"<"+l+i+`> | |
`+t+"</"+l+`> | |
`}listitem(t,n,r){return`<li>${t}</li> | |
`}checkbox(t){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph(t){return`<p>${t}</p> | |
`}table(t,n){return n&&(n=`<tbody>${n}</tbody>`),`<table> | |
<thead> | |
`+t+`</thead> | |
`+n+`</table> | |
`}tablerow(t){return`<tr> | |
${t}</tr> | |
`}tablecell(t,n){const r=n.header?"th":"td";return(n.align?`<${r} align="${n.align}">`:`<${r}>`)+t+`</${r}> | |
`}strong(t){return`<strong>${t}</strong>`}em(t){return`<em>${t}</em>`}codespan(t){return`<code>${t}</code>`}br(){return"<br>"}del(t){return`<del>${t}</del>`}link(t,n,r){const l=ba(t);if(l===null)return r;t=l;let i='<a href="'+t+'"';return n&&(i+=' title="'+n+'"'),i+=">"+r+"</a>",i}image(t,n,r){const l=ba(t);if(l===null)return r;t=l;let i=`<img src="${t}" alt="${r}"`;return n&&(i+=` title="${n}"`),i+=">",i}text(t){return t}}class gu{strong(t){return t}em(t){return t}codespan(t){return t}del(t){return t}html(t){return t}text(t){return t}link(t,n,r){return""+r}image(t,n,r){return""+r}br(){return""}}class yt{constructor(t){q(this,"options");q(this,"renderer");q(this,"textRenderer");this.options=t||vn,this.options.renderer=this.options.renderer||new hi,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new gu}static parse(t,n){return new yt(n).parse(t)}static parseInline(t,n){return new yt(n).parseInline(t)}parse(t,n=!0){let r="";for(let l=0;l<t.length;l++){const i=t[l];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[i.type]){const o=i,s=this.options.extensions.renderers[o.type].call({parser:this},o);if(s!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(o.type)){r+=s||"";continue}}switch(i.type){case"space":continue;case"hr":{r+=this.renderer.hr();continue}case"heading":{const o=i;r+=this.renderer.heading(this.parseInline(o.tokens),o.depth,Pm(this.parseInline(o.tokens,this.textRenderer)));continue}case"code":{const o=i;r+=this.renderer.code(o.text,o.lang,!!o.escaped);continue}case"table":{const o=i;let s="",u="";for(let m=0;m<o.header.length;m++)u+=this.renderer.tablecell(this.parseInline(o.header[m].tokens),{header:!0,align:o.align[m]});s+=this.renderer.tablerow(u);let a="";for(let m=0;m<o.rows.length;m++){const g=o.rows[m];u="";for(let d=0;d<g.length;d++)u+=this.renderer.tablecell(this.parseInline(g[d].tokens),{header:!1,align:o.align[d]});a+=this.renderer.tablerow(u)}r+=this.renderer.table(s,a);continue}case"blockquote":{const o=i,s=this.parse(o.tokens);r+=this.renderer.blockquote(s);continue}case"list":{const o=i,s=o.ordered,u=o.start,a=o.loose;let m="";for(let g=0;g<o.items.length;g++){const d=o.items[g],v=d.checked,w=d.task;let E="";if(d.task){const M=this.renderer.checkbox(!!v);a?d.tokens.length>0&&d.tokens[0].type==="paragraph"?(d.tokens[0].text=M+" "+d.tokens[0].text,d.tokens[0].tokens&&d.tokens[0].tokens.length>0&&d.tokens[0].tokens[0].type==="text"&&(d.tokens[0].tokens[0].text=M+" "+d.tokens[0].tokens[0].text)):d.tokens.unshift({type:"text",text:M+" "}):E+=M+" "}E+=this.parse(d.tokens,a),m+=this.renderer.listitem(E,w,!!v)}r+=this.renderer.list(m,s,u);continue}case"html":{const o=i;r+=this.renderer.html(o.text,o.block);continue}case"paragraph":{const o=i;r+=this.renderer.paragraph(this.parseInline(o.tokens));continue}case"text":{let o=i,s=o.tokens?this.parseInline(o.tokens):o.text;for(;l+1<t.length&&t[l+1].type==="text";)o=t[++l],s+=` | |
`+(o.tokens?this.parseInline(o.tokens):o.text);r+=n?this.renderer.paragraph(s):s;continue}default:{const o='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(o),"";throw new Error(o)}}}return r}parseInline(t,n){n=n||this.renderer;let r="";for(let l=0;l<t.length;l++){const i=t[l];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[i.type]){const o=this.options.extensions.renderers[i.type].call({parser:this},i);if(o!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type)){r+=o||"";continue}}switch(i.type){case"escape":{const o=i;r+=n.text(o.text);break}case"html":{const o=i;r+=n.html(o.text);break}case"link":{const o=i;r+=n.link(o.href,o.title,this.parseInline(o.tokens,n));break}case"image":{const o=i;r+=n.image(o.href,o.title,o.text);break}case"strong":{const o=i;r+=n.strong(this.parseInline(o.tokens,n));break}case"em":{const o=i;r+=n.em(this.parseInline(o.tokens,n));break}case"codespan":{const o=i;r+=n.codespan(o.text);break}case"br":{r+=n.br();break}case"del":{const o=i;r+=n.del(this.parseInline(o.tokens,n));break}case"text":{const o=i;r+=n.text(o.text);break}default:{const o='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(o),"";throw new Error(o)}}}return r}}class Ar{constructor(t){q(this,"options");this.options=t||vn}preprocess(t){return t}postprocess(t){return t}processAllTokens(t){return t}}q(Ar,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens"]));var mn,ps,Md;class og{constructor(...t){Hu(this,mn);q(this,"defaults",cu());q(this,"options",this.setOptions);q(this,"parse",sl(this,mn,ps).call(this,gt.lex,yt.parse));q(this,"parseInline",sl(this,mn,ps).call(this,gt.lexInline,yt.parseInline));q(this,"Parser",yt);q(this,"Renderer",hi);q(this,"TextRenderer",gu);q(this,"Lexer",gt);q(this,"Tokenizer",di);q(this,"Hooks",Ar);this.use(...t)}walkTokens(t,n){var l,i;let r=[];for(const o of t)switch(r=r.concat(n.call(this,o)),o.type){case"table":{const s=o;for(const u of s.header)r=r.concat(this.walkTokens(u.tokens,n));for(const u of s.rows)for(const a of u)r=r.concat(this.walkTokens(a.tokens,n));break}case"list":{const s=o;r=r.concat(this.walkTokens(s.items,n));break}default:{const s=o;(i=(l=this.defaults.extensions)==null?void 0:l.childTokens)!=null&&i[s.type]?this.defaults.extensions.childTokens[s.type].forEach(u=>{const a=s[u].flat(1/0);r=r.concat(this.walkTokens(a,n))}):s.tokens&&(r=r.concat(this.walkTokens(s.tokens,n)))}}return r}use(...t){const n=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(r=>{const l={...r};if(l.async=this.defaults.async||l.async||!1,r.extensions&&(r.extensions.forEach(i=>{if(!i.name)throw new Error("extension name required");if("renderer"in i){const o=n.renderers[i.name];o?n.renderers[i.name]=function(...s){let u=i.renderer.apply(this,s);return u===!1&&(u=o.apply(this,s)),u}:n.renderers[i.name]=i.renderer}if("tokenizer"in i){if(!i.level||i.level!=="block"&&i.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const o=n[i.level];o?o.unshift(i.tokenizer):n[i.level]=[i.tokenizer],i.start&&(i.level==="block"?n.startBlock?n.startBlock.push(i.start):n.startBlock=[i.start]:i.level==="inline"&&(n.startInline?n.startInline.push(i.start):n.startInline=[i.start]))}"childTokens"in i&&i.childTokens&&(n.childTokens[i.name]=i.childTokens)}),l.extensions=n),r.renderer){const i=this.defaults.renderer||new hi(this.defaults);for(const o in r.renderer){if(!(o in i))throw new Error(`renderer '${o}' does not exist`);if(o==="options")continue;const s=o,u=r.renderer[s],a=i[s];i[s]=(...m)=>{let g=u.apply(i,m);return g===!1&&(g=a.apply(i,m)),g||""}}l.renderer=i}if(r.tokenizer){const i=this.defaults.tokenizer||new di(this.defaults);for(const o in r.tokenizer){if(!(o in i))throw new Error(`tokenizer '${o}' does not exist`);if(["options","rules","lexer"].includes(o))continue;const s=o,u=r.tokenizer[s],a=i[s];i[s]=(...m)=>{let g=u.apply(i,m);return g===!1&&(g=a.apply(i,m)),g}}l.tokenizer=i}if(r.hooks){const i=this.defaults.hooks||new Ar;for(const o in r.hooks){if(!(o in i))throw new Error(`hook '${o}' does not exist`);if(o==="options")continue;const s=o,u=r.hooks[s],a=i[s];Ar.passThroughHooks.has(o)?i[s]=m=>{if(this.defaults.async)return Promise.resolve(u.call(i,m)).then(d=>a.call(i,d));const g=u.call(i,m);return a.call(i,g)}:i[s]=(...m)=>{let g=u.apply(i,m);return g===!1&&(g=a.apply(i,m)),g}}l.hooks=i}if(r.walkTokens){const i=this.defaults.walkTokens,o=r.walkTokens;l.walkTokens=function(s){let u=[];return u.push(o.call(this,s)),i&&(u=u.concat(i.call(this,s))),u}}this.defaults={...this.defaults,...l}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,n){return gt.lex(t,n??this.defaults)}parser(t,n){return yt.parse(t,n??this.defaults)}}mn=new WeakSet,ps=function(t,n){return(r,l)=>{const i={...l},o={...this.defaults,...i};this.defaults.async===!0&&i.async===!1&&(o.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),o.async=!0);const s=sl(this,mn,Md).call(this,!!o.silent,!!o.async);if(typeof r>"u"||r===null)return s(new Error("marked(): input parameter is undefined or null"));if(typeof r!="string")return s(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(r)+", string expected"));if(o.hooks&&(o.hooks.options=o),o.async)return Promise.resolve(o.hooks?o.hooks.preprocess(r):r).then(u=>t(u,o)).then(u=>o.hooks?o.hooks.processAllTokens(u):u).then(u=>o.walkTokens?Promise.all(this.walkTokens(u,o.walkTokens)).then(()=>u):u).then(u=>n(u,o)).then(u=>o.hooks?o.hooks.postprocess(u):u).catch(s);try{o.hooks&&(r=o.hooks.preprocess(r));let u=t(r,o);o.hooks&&(u=o.hooks.processAllTokens(u)),o.walkTokens&&this.walkTokens(u,o.walkTokens);let a=n(u,o);return o.hooks&&(a=o.hooks.postprocess(a)),a}catch(u){return s(u)}}},Md=function(t,n){return r=>{if(r.message+=` | |
Please report this to https://github.com/markedjs/marked.`,t){const l="<p>An error occurred:</p><pre>"+Be(r.message+"",!0)+"</pre>";return n?Promise.resolve(l):l}if(n)return Promise.reject(r);throw r}};const hn=new og;function H(e,t){return hn.parse(e,t)}H.options=H.setOptions=function(e){return hn.setOptions(e),H.defaults=hn.defaults,Td(H.defaults),H};H.getDefaults=cu;H.defaults=vn;H.use=function(...e){return hn.use(...e),H.defaults=hn.defaults,Td(H.defaults),H};H.walkTokens=function(e,t){return hn.walkTokens(e,t)};H.parseInline=hn.parseInline;H.Parser=yt;H.parser=yt.parse;H.Renderer=hi;H.TextRenderer=gu;H.Lexer=gt;H.lexer=gt.lex;H.Tokenizer=di;H.Hooks=Ar;H.parse=H;H.options;H.setOptions;H.use;H.walkTokens;H.parseInline;yt.parse;gt.lex;/*! @license DOMPurify 3.1.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.6/LICENSE */const{entries:Dd,setPrototypeOf:rc,isFrozen:sg,getPrototypeOf:ug,getOwnPropertyDescriptor:ag}=Object;let{freeze:Pe,seal:et,create:jd}=Object,{apply:hs,construct:ms}=typeof Reflect<"u"&&Reflect;Pe||(Pe=function(t){return t});et||(et=function(t){return t});hs||(hs=function(t,n,r){return t.apply(n,r)});ms||(ms=function(t,n){return new t(...n)});const Nl=Qe(Array.prototype.forEach),lc=Qe(Array.prototype.pop),dr=Qe(Array.prototype.push),Bl=Qe(String.prototype.toLowerCase),ho=Qe(String.prototype.toString),ic=Qe(String.prototype.match),pr=Qe(String.prototype.replace),cg=Qe(String.prototype.indexOf),fg=Qe(String.prototype.trim),rt=Qe(Object.prototype.hasOwnProperty),Ne=Qe(RegExp.prototype.test),hr=dg(TypeError);function Qe(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),l=1;l<n;l++)r[l-1]=arguments[l];return hs(e,t,r)}}function dg(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return ms(e,n)}}function F(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Bl;rc&&rc(e,null);let r=t.length;for(;r--;){let l=t[r];if(typeof l=="string"){const i=n(l);i!==l&&(sg(t)||(t[r]=i),l=i)}e[l]=!0}return e}function pg(e){for(let t=0;t<e.length;t++)rt(e,t)||(e[t]=null);return e}function nn(e){const t=jd(null);for(const[n,r]of Dd(e))rt(e,n)&&(Array.isArray(r)?t[n]=pg(r):r&&typeof r=="object"&&r.constructor===Object?t[n]=nn(r):t[n]=r);return t}function mr(e,t){for(;e!==null;){const r=ag(e,t);if(r){if(r.get)return Qe(r.get);if(typeof r.value=="function")return Qe(r.value)}e=ug(e)}function n(){return null}return n}const oc=Pe(["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","section","select","shadow","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"]),mo=Pe(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),go=Pe(["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"]),hg=Pe(["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"]),yo=Pe(["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"]),mg=Pe(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),sc=Pe(["#text"]),uc=Pe(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","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","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),vo=Pe(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","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","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","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","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","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),ac=Pe(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","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"]),Rl=Pe(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),gg=et(/\{\{[\w\W]*|[\w\W]*\}\}/gm),yg=et(/<%[\w\W]*|[\w\W]*%>/gm),vg=et(/\${[\w\W]*}/gm),kg=et(/^data-[\-\w.\u00B7-\uFFFF]/),wg=et(/^aria-[\-\w]+$/),Fd=et(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),xg=et(/^(?:\w+script|data):/i),Sg=et(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),$d=et(/^html$/i),Eg=et(/^[a-z][.\w]*(-[.\w]+)+$/i);var cc=Object.freeze({__proto__:null,MUSTACHE_EXPR:gg,ERB_EXPR:yg,TMPLIT_EXPR:vg,DATA_ATTR:kg,ARIA_ATTR:wg,IS_ALLOWED_URI:Fd,IS_SCRIPT_OR_DATA:xg,ATTR_WHITESPACE:Sg,DOCTYPE_NAME:$d,CUSTOM_ELEMENT:Eg});const gr={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},_g=function(){return typeof window>"u"?null:window},Tg=function(t,n){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let r=null;const l="data-tt-policy-suffix";n&&n.hasAttribute(l)&&(r=n.getAttribute(l));const i="dompurify"+(r?"#"+r:"");try{return t.createPolicy(i,{createHTML(o){return o},createScriptURL(o){return o}})}catch{return console.warn("TrustedTypes policy "+i+" could not be created."),null}};function Ud(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:_g();const t=A=>Ud(A);if(t.version="3.1.6",t.removed=[],!e||!e.document||e.document.nodeType!==gr.document)return t.isSupported=!1,t;let{document:n}=e;const r=n,l=r.currentScript,{DocumentFragment:i,HTMLTemplateElement:o,Node:s,Element:u,NodeFilter:a,NamedNodeMap:m=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:g,DOMParser:d,trustedTypes:v}=e,w=u.prototype,E=mr(w,"cloneNode"),M=mr(w,"remove"),p=mr(w,"nextSibling"),c=mr(w,"childNodes"),h=mr(w,"parentNode");if(typeof o=="function"){const A=n.createElement("template");A.content&&A.content.ownerDocument&&(n=A.content.ownerDocument)}let y,_="";const{implementation:N,createNodeIterator:R,createDocumentFragment:P,getElementsByTagName:Q}=n,{importNode:D}=r;let X={};t.isSupported=typeof Dd=="function"&&typeof h=="function"&&N&&N.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:$e,ERB_EXPR:tt,TMPLIT_EXPR:zt,DATA_ATTR:U,ARIA_ATTR:ce,IS_SCRIPT_OR_DATA:G,ATTR_WHITESPACE:T,CUSTOM_ELEMENT:z}=cc;let{IS_ALLOWED_URI:I}=cc,O=null;const ne=F({},[...oc,...mo,...go,...yo,...sc]);let Z=null;const oe=F({},[...uc,...vo,...ac,...Rl]);let j=Object.seal(jd(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}})),ue=null,ct=null,yu=!0,zi=!0,vu=!1,ku=!0,kn=!1,Ii=!0,bt=!1,Oi=!1,Mi=!1,wn=!1,nl=!1,rl=!1,wu=!0,xu=!1;const Bd="user-content-";let Di=!0,er=!1,xn={},Sn=null;const Su=F({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Eu=null;const _u=F({},["audio","video","img","source","image","track"]);let ji=null;const Tu=F({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ll="http://www.w3.org/1998/Math/MathML",il="http://www.w3.org/2000/svg",wt="http://www.w3.org/1999/xhtml";let En=wt,Fi=!1,$i=null;const Hd=F({},[ll,il,wt],ho);let tr=null;const Wd=["application/xhtml+xml","text/html"],Vd="text/html";let he=null,_n=null;const Qd=n.createElement("form"),Cu=function(f){return f instanceof RegExp||f instanceof Function},Ui=function(){let f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(_n&&_n===f)){if((!f||typeof f!="object")&&(f={}),f=nn(f),tr=Wd.indexOf(f.PARSER_MEDIA_TYPE)===-1?Vd:f.PARSER_MEDIA_TYPE,he=tr==="application/xhtml+xml"?ho:Bl,O=rt(f,"ALLOWED_TAGS")?F({},f.ALLOWED_TAGS,he):ne,Z=rt(f,"ALLOWED_ATTR")?F({},f.ALLOWED_ATTR,he):oe,$i=rt(f,"ALLOWED_NAMESPACES")?F({},f.ALLOWED_NAMESPACES,ho):Hd,ji=rt(f,"ADD_URI_SAFE_ATTR")?F(nn(Tu),f.ADD_URI_SAFE_ATTR,he):Tu,Eu=rt(f,"ADD_DATA_URI_TAGS")?F(nn(_u),f.ADD_DATA_URI_TAGS,he):_u,Sn=rt(f,"FORBID_CONTENTS")?F({},f.FORBID_CONTENTS,he):Su,ue=rt(f,"FORBID_TAGS")?F({},f.FORBID_TAGS,he):{},ct=rt(f,"FORBID_ATTR")?F({},f.FORBID_ATTR,he):{},xn=rt(f,"USE_PROFILES")?f.USE_PROFILES:!1,yu=f.ALLOW_ARIA_ATTR!==!1,zi=f.ALLOW_DATA_ATTR!==!1,vu=f.ALLOW_UNKNOWN_PROTOCOLS||!1,ku=f.ALLOW_SELF_CLOSE_IN_ATTR!==!1,kn=f.SAFE_FOR_TEMPLATES||!1,Ii=f.SAFE_FOR_XML!==!1,bt=f.WHOLE_DOCUMENT||!1,wn=f.RETURN_DOM||!1,nl=f.RETURN_DOM_FRAGMENT||!1,rl=f.RETURN_TRUSTED_TYPE||!1,Mi=f.FORCE_BODY||!1,wu=f.SANITIZE_DOM!==!1,xu=f.SANITIZE_NAMED_PROPS||!1,Di=f.KEEP_CONTENT!==!1,er=f.IN_PLACE||!1,I=f.ALLOWED_URI_REGEXP||Fd,En=f.NAMESPACE||wt,j=f.CUSTOM_ELEMENT_HANDLING||{},f.CUSTOM_ELEMENT_HANDLING&&Cu(f.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(j.tagNameCheck=f.CUSTOM_ELEMENT_HANDLING.tagNameCheck),f.CUSTOM_ELEMENT_HANDLING&&Cu(f.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(j.attributeNameCheck=f.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),f.CUSTOM_ELEMENT_HANDLING&&typeof f.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(j.allowCustomizedBuiltInElements=f.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),kn&&(zi=!1),nl&&(wn=!0),xn&&(O=F({},sc),Z=[],xn.html===!0&&(F(O,oc),F(Z,uc)),xn.svg===!0&&(F(O,mo),F(Z,vo),F(Z,Rl)),xn.svgFilters===!0&&(F(O,go),F(Z,vo),F(Z,Rl)),xn.mathMl===!0&&(F(O,yo),F(Z,ac),F(Z,Rl))),f.ADD_TAGS&&(O===ne&&(O=nn(O)),F(O,f.ADD_TAGS,he)),f.ADD_ATTR&&(Z===oe&&(Z=nn(Z)),F(Z,f.ADD_ATTR,he)),f.ADD_URI_SAFE_ATTR&&F(ji,f.ADD_URI_SAFE_ATTR,he),f.FORBID_CONTENTS&&(Sn===Su&&(Sn=nn(Sn)),F(Sn,f.FORBID_CONTENTS,he)),Di&&(O["#text"]=!0),bt&&F(O,["html","head","body"]),O.table&&(F(O,["tbody"]),delete ue.tbody),f.TRUSTED_TYPES_POLICY){if(typeof f.TRUSTED_TYPES_POLICY.createHTML!="function")throw hr('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof f.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw hr('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');y=f.TRUSTED_TYPES_POLICY,_=y.createHTML("")}else y===void 0&&(y=Tg(v,l)),y!==null&&typeof _=="string"&&(_=y.createHTML(""));Pe&&Pe(f),_n=f}},Nu=F({},["mi","mo","mn","ms","mtext"]),Ru=F({},["foreignobject","annotation-xml"]),Gd=F({},["title","style","font","a","script"]),Lu=F({},[...mo,...go,...hg]),Pu=F({},[...yo,...mg]),Yd=function(f){let S=h(f);(!S||!S.tagName)&&(S={namespaceURI:En,tagName:"template"});const L=Bl(f.tagName),Y=Bl(S.tagName);return $i[f.namespaceURI]?f.namespaceURI===il?S.namespaceURI===wt?L==="svg":S.namespaceURI===ll?L==="svg"&&(Y==="annotation-xml"||Nu[Y]):!!Lu[L]:f.namespaceURI===ll?S.namespaceURI===wt?L==="math":S.namespaceURI===il?L==="math"&&Ru[Y]:!!Pu[L]:f.namespaceURI===wt?S.namespaceURI===il&&!Ru[Y]||S.namespaceURI===ll&&!Nu[Y]?!1:!Pu[L]&&(Gd[L]||!Lu[L]):!!(tr==="application/xhtml+xml"&&$i[f.namespaceURI]):!1},ft=function(f){dr(t.removed,{element:f});try{h(f).removeChild(f)}catch{M(f)}},ol=function(f,S){try{dr(t.removed,{attribute:S.getAttributeNode(f),from:S})}catch{dr(t.removed,{attribute:null,from:S})}if(S.removeAttribute(f),f==="is"&&!Z[f])if(wn||nl)try{ft(S)}catch{}else try{S.setAttribute(f,"")}catch{}},Au=function(f){let S=null,L=null;if(Mi)f="<remove></remove>"+f;else{const ye=ic(f,/^[\r\n\t ]+/);L=ye&&ye[0]}tr==="application/xhtml+xml"&&En===wt&&(f='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+f+"</body></html>");const Y=y?y.createHTML(f):f;if(En===wt)try{S=new d().parseFromString(Y,tr)}catch{}if(!S||!S.documentElement){S=N.createDocument(En,"template",null);try{S.documentElement.innerHTML=Fi?_:Y}catch{}}const xe=S.body||S.documentElement;return f&&L&&xe.insertBefore(n.createTextNode(L),xe.childNodes[0]||null),En===wt?Q.call(S,bt?"html":"body")[0]:bt?S.documentElement:xe},zu=function(f){return R.call(f.ownerDocument||f,f,a.SHOW_ELEMENT|a.SHOW_COMMENT|a.SHOW_TEXT|a.SHOW_PROCESSING_INSTRUCTION|a.SHOW_CDATA_SECTION,null)},Iu=function(f){return f instanceof g&&(typeof f.nodeName!="string"||typeof f.textContent!="string"||typeof f.removeChild!="function"||!(f.attributes instanceof m)||typeof f.removeAttribute!="function"||typeof f.setAttribute!="function"||typeof f.namespaceURI!="string"||typeof f.insertBefore!="function"||typeof f.hasChildNodes!="function")},Ou=function(f){return typeof s=="function"&&f instanceof s},xt=function(f,S,L){X[f]&&Nl(X[f],Y=>{Y.call(t,S,L,_n)})},Mu=function(f){let S=null;if(xt("beforeSanitizeElements",f,null),Iu(f))return ft(f),!0;const L=he(f.nodeName);if(xt("uponSanitizeElement",f,{tagName:L,allowedTags:O}),f.hasChildNodes()&&!Ou(f.firstElementChild)&&Ne(/<[/\w]/g,f.innerHTML)&&Ne(/<[/\w]/g,f.textContent)||f.nodeType===gr.progressingInstruction||Ii&&f.nodeType===gr.comment&&Ne(/<[/\w]/g,f.data))return ft(f),!0;if(!O[L]||ue[L]){if(!ue[L]&&ju(L)&&(j.tagNameCheck instanceof RegExp&&Ne(j.tagNameCheck,L)||j.tagNameCheck instanceof Function&&j.tagNameCheck(L)))return!1;if(Di&&!Sn[L]){const Y=h(f)||f.parentNode,xe=c(f)||f.childNodes;if(xe&&Y){const ye=xe.length;for(let Ie=ye-1;Ie>=0;--Ie){const dt=E(xe[Ie],!0);dt.__removalCount=(f.__removalCount||0)+1,Y.insertBefore(dt,p(f))}}}return ft(f),!0}return f instanceof u&&!Yd(f)||(L==="noscript"||L==="noembed"||L==="noframes")&&Ne(/<\/no(script|embed|frames)/i,f.innerHTML)?(ft(f),!0):(kn&&f.nodeType===gr.text&&(S=f.textContent,Nl([$e,tt,zt],Y=>{S=pr(S,Y," ")}),f.textContent!==S&&(dr(t.removed,{element:f.cloneNode()}),f.textContent=S)),xt("afterSanitizeElements",f,null),!1)},Du=function(f,S,L){if(wu&&(S==="id"||S==="name")&&(L in n||L in Qd))return!1;if(!(zi&&!ct[S]&&Ne(U,S))){if(!(yu&&Ne(ce,S))){if(!Z[S]||ct[S]){if(!(ju(f)&&(j.tagNameCheck instanceof RegExp&&Ne(j.tagNameCheck,f)||j.tagNameCheck instanceof Function&&j.tagNameCheck(f))&&(j.attributeNameCheck instanceof RegExp&&Ne(j.attributeNameCheck,S)||j.attributeNameCheck instanceof Function&&j.attributeNameCheck(S))||S==="is"&&j.allowCustomizedBuiltInElements&&(j.tagNameCheck instanceof RegExp&&Ne(j.tagNameCheck,L)||j.tagNameCheck instanceof Function&&j.tagNameCheck(L))))return!1}else if(!ji[S]){if(!Ne(I,pr(L,T,""))){if(!((S==="src"||S==="xlink:href"||S==="href")&&f!=="script"&&cg(L,"data:")===0&&Eu[f])){if(!(vu&&!Ne(G,pr(L,T,"")))){if(L)return!1}}}}}}return!0},ju=function(f){return f!=="annotation-xml"&&ic(f,z)},Fu=function(f){xt("beforeSanitizeAttributes",f,null);const{attributes:S}=f;if(!S)return;const L={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Z};let Y=S.length;for(;Y--;){const xe=S[Y],{name:ye,namespaceURI:Ie,value:dt}=xe,nr=he(ye);let Ce=ye==="value"?dt:fg(dt);if(L.attrName=nr,L.attrValue=Ce,L.keepAttr=!0,L.forceKeepAttr=void 0,xt("uponSanitizeAttribute",f,L),Ce=L.attrValue,Ii&&Ne(/((--!?|])>)|<\/(style|title)/i,Ce)){ol(ye,f);continue}if(L.forceKeepAttr||(ol(ye,f),!L.keepAttr))continue;if(!ku&&Ne(/\/>/i,Ce)){ol(ye,f);continue}kn&&Nl([$e,tt,zt],Uu=>{Ce=pr(Ce,Uu," ")});const $u=he(f.nodeName);if(Du($u,nr,Ce)){if(xu&&(nr==="id"||nr==="name")&&(ol(ye,f),Ce=Bd+Ce),y&&typeof v=="object"&&typeof v.getAttributeType=="function"&&!Ie)switch(v.getAttributeType($u,nr)){case"TrustedHTML":{Ce=y.createHTML(Ce);break}case"TrustedScriptURL":{Ce=y.createScriptURL(Ce);break}}try{Ie?f.setAttributeNS(Ie,ye,Ce):f.setAttribute(ye,Ce),Iu(f)?ft(f):lc(t.removed)}catch{}}}xt("afterSanitizeAttributes",f,null)},Kd=function A(f){let S=null;const L=zu(f);for(xt("beforeSanitizeShadowDOM",f,null);S=L.nextNode();)xt("uponSanitizeShadowNode",S,null),!Mu(S)&&(S.content instanceof i&&A(S.content),Fu(S));xt("afterSanitizeShadowDOM",f,null)};return t.sanitize=function(A){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},S=null,L=null,Y=null,xe=null;if(Fi=!A,Fi&&(A="<!-->"),typeof A!="string"&&!Ou(A))if(typeof A.toString=="function"){if(A=A.toString(),typeof A!="string")throw hr("dirty is not a string, aborting")}else throw hr("toString is not a function");if(!t.isSupported)return A;if(Oi||Ui(f),t.removed=[],typeof A=="string"&&(er=!1),er){if(A.nodeName){const dt=he(A.nodeName);if(!O[dt]||ue[dt])throw hr("root node is forbidden and cannot be sanitized in-place")}}else if(A instanceof s)S=Au("<!---->"),L=S.ownerDocument.importNode(A,!0),L.nodeType===gr.element&&L.nodeName==="BODY"||L.nodeName==="HTML"?S=L:S.appendChild(L);else{if(!wn&&!kn&&!bt&&A.indexOf("<")===-1)return y&&rl?y.createHTML(A):A;if(S=Au(A),!S)return wn?null:rl?_:""}S&&Mi&&ft(S.firstChild);const ye=zu(er?A:S);for(;Y=ye.nextNode();)Mu(Y)||(Y.content instanceof i&&Kd(Y.content),Fu(Y));if(er)return A;if(wn){if(nl)for(xe=P.call(S.ownerDocument);S.firstChild;)xe.appendChild(S.firstChild);else xe=S;return(Z.shadowroot||Z.shadowrootmode)&&(xe=D.call(r,xe,!0)),xe}let Ie=bt?S.outerHTML:S.innerHTML;return bt&&O["!doctype"]&&S.ownerDocument&&S.ownerDocument.doctype&&S.ownerDocument.doctype.name&&Ne($d,S.ownerDocument.doctype.name)&&(Ie="<!DOCTYPE "+S.ownerDocument.doctype.name+`> | |
`+Ie),kn&&Nl([$e,tt,zt],dt=>{Ie=pr(Ie,dt," ")}),y&&rl?y.createHTML(Ie):Ie},t.setConfig=function(){let A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Ui(A),Oi=!0},t.clearConfig=function(){_n=null,Oi=!1},t.isValidAttribute=function(A,f,S){_n||Ui({});const L=he(A),Y=he(f);return Du(L,Y,S)},t.addHook=function(A,f){typeof f=="function"&&(X[A]=X[A]||[],dr(X[A],f))},t.removeHook=function(A){if(X[A])return lc(X[A])},t.removeHooks=function(A){X[A]&&(X[A]=[])},t.removeAllHooks=function(){X={}},t}var Cg=Ud();function Ng(e){return k.jsxs("svg",{...e,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",children:[k.jsx("path",{d:"M12 8V4H8"}),k.jsx("rect",{width:"16",height:"12",x:"4",y:"8",rx:"2"}),k.jsx("path",{d:"M2 14h2"}),k.jsx("path",{d:"M20 14h2"}),k.jsx("path",{d:"M15 13v2"}),k.jsx("path",{d:"M9 13v2"})]})}function Rg(e){return k.jsxs("svg",{...e,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",children:[k.jsx("path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2"}),k.jsx("circle",{cx:"12",cy:"7",r:"4"})]})}function Lg(e){return Cg.sanitize(H.parse(e))}function Pg({messages:e}){const t=e.length===0;return b.useEffect(()=>{window.MathJax.typeset()},[e]),k.jsx("div",{className:`flex-1 p-6 max-w-[960px] w-full ${t?"flex flex-col items-center justify-end":"space-y-4"}`,children:t?k.jsx("div",{className:"text-xl",children:"Ready!"}):e.map((n,r)=>k.jsx("div",{className:"flex items-start space-x-4",children:n.role==="assistant"?k.jsxs(k.Fragment,{children:[k.jsx(Ng,{className:"h-6 w-6 min-h-6 min-w-6 my-3 text-gray-500 dark:text-gray-300"}),k.jsx("div",{className:"bg-gray-200 dark:bg-gray-700 rounded-lg p-4",children:k.jsx("p",{className:"min-h-6 text-gray-800 dark:text-gray-200 overflow-wrap-anywhere",children:n.image?k.jsx("img",{src:n.image,className:"max-w-full w-[384px] rounded-md"}):n.content.length>0?k.jsx("span",{className:"markdown",dangerouslySetInnerHTML:{__html:Lg(n.content)}}):k.jsxs("span",{className:"h-6 flex items-center gap-1",children:[k.jsx("span",{className:"w-2.5 h-2.5 bg-gray-600 dark:bg-gray-300 rounded-full animate-pulse"}),k.jsx("span",{className:"w-2.5 h-2.5 bg-gray-600 dark:bg-gray-300 rounded-full animate-pulse animation-delay-200"}),k.jsx("span",{className:"w-2.5 h-2.5 bg-gray-600 dark:bg-gray-300 rounded-full animate-pulse animation-delay-400"})]})})})]}):k.jsxs(k.Fragment,{children:[k.jsx(Rg,{className:"h-6 w-6 min-h-6 min-w-6 my-3 text-gray-500 dark:text-gray-300"}),k.jsxs("div",{className:"bg-blue-500 text-white rounded-lg p-4",children:[n.image&&k.jsx("img",{src:n.image,className:"max-w-full max-h-64 rounded-md mb-3"}),k.jsx("p",{className:"min-h-6 overflow-wrap-anywhere",children:n.content})]})]})},`message-${r}`))})}function fc(e){return k.jsxs("svg",{...e,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",children:[k.jsx("path",{d:"M5 12h14"}),k.jsx("path",{d:"m12 5 7 7-7 7"})]})}function Ag(e){return k.jsxs("svg",{...e,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",children:[k.jsx("path",{d:"M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}),k.jsx("path",{fill:"currentColor",d:"M9 9.563C9 9.252 9.252 9 9.563 9h4.874c.311 0 .563.252.563.563v4.874c0 .311-.252.563-.563.563H9.564A.562.562 0 0 1 9 14.437V9.564Z"})]})}function zg(e){const t=e==0?0:Math.floor(Math.log(e)/Math.log(1024));return+(e/Math.pow(1024,t)).toFixed(2)*1+["B","kB","MB","GB","TB"][t]}function Ig({text:e,percentage:t,total:n}){return t??(t=0),k.jsx("div",{className:"w-full bg-gray-100 dark:bg-gray-700 text-left rounded-lg overflow-hidden mb-0.5",children:k.jsxs("div",{className:"bg-blue-400 whitespace-nowrap px-1 text-sm",style:{width:`${t}%`},children:[e," (",t.toFixed(2),"%",isNaN(n)?"":` of ${zg(n)}`,")"]})})}function Og(e){return k.jsx("svg",{...e,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",children:k.jsx("path",{d:"m2.25 15.75 5.159-5.159a2.25 2.25 0 0 1 3.182 0l5.159 5.159m-1.5-1.5 1.409-1.409a2.25 2.25 0 0 1 3.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 0 0 1.5-1.5V6a1.5 1.5 0 0 0-1.5-1.5H3.75A1.5 1.5 0 0 0 2.25 6v12a1.5 1.5 0 0 0 1.5 1.5Zm10.5-11.25h.008v.008h-.008V8.25Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"})})}function Mg(e){return k.jsx("svg",{...e,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",children:k.jsx("path",{d:"m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})})}function Dg({src:e,onRemove:t,...n}){const[r,l]=b.useState(!1);return k.jsxs("div",{...n,onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1),children:[k.jsx(Mg,{onClick:t,className:`absolute top-0 right-0 cursor-pointer dark:fill-gray-400 dark:text-gray-100 fill-gray-200 text-gray-800 ${r?"":"hidden"}`}),k.jsx("img",{src:e,alt:"Upload preview",className:"w-full h-full object-cover rounded-md"})]})}const jg=!!navigator.gpu,Fg=120,$g=[{display:"Generate an image of a cute baby fox.",prompt:"/imagine A cute and adorable baby fox with big brown eyes, autumn leaves in the background enchanting, immortal, fluffy, shiny mane, Petals, fairyism, unreal engine 5 and Octane Render, highly detailed, photorealistic, cinematic, natural colors."},{prompt:"Convert the formula into latex code.",image:"https://huggingface.co/datasets/Xenova/transformers.js-docs/resolve/main/quadratic_formula.png"},{prompt:"What is the difference between AI and ML?"},{prompt:"Write python code to compute the nth fibonacci number."}];function Ug(){const e=b.useRef(null),t=b.useRef(null),n=b.useRef(null),r=b.useRef(null),[l,i]=b.useState(null),[o,s]=b.useState(null),[u,a]=b.useState(""),[m,g]=b.useState([]),[d,v]=b.useState(!1),[w,E]=b.useState(""),[M,p]=b.useState(null),[c,h]=b.useState([]),[y,_]=b.useState(null),[N,R]=b.useState(null),[P,Q]=b.useState(null),[D,X]=b.useState(null);function $e(U,ce){h(G=>[...G,{role:"user",content:U,image:ce??M}]),_(null),v(!0),E(""),p(null),R(null),Q(null),X(null)}function tt(){e.current.postMessage({type:"interrupt"})}function zt(){if(!t.current)return;const U=t.current;U.style.height="auto";const ce=Math.min(Math.max(U.scrollHeight,24),200);U.style.height=`${ce}px`}return b.useEffect(()=>{zt()},[w]),b.useEffect(()=>{e.current||(e.current=new Worker(new URL("/assets/worker-BMn4lUIh.js",import.meta.url),{type:"module"}),e.current.postMessage({type:"check"}));const U=G=>{switch(G.data.status){case"success":i("idle");break;case"error":s(G.data.data);break;case"loading":i("loading"),a(G.data.data);break;case"initiate":g(oe=>[...oe,G.data]);break;case"progress":g(oe=>oe.map(j=>j.file===G.data.file?{...j,...G.data}:j));break;case"done":g(oe=>oe.filter(j=>j.file!==G.data.file));break;case"ready":i("ready");break;case"start":h(oe=>[...oe,{role:"assistant",content:""}]);break;case"text-update":const{output:T,tps:z,numTokens:I}=G.data;_(z),R(I),h(oe=>{const j=[...oe],ue=j.at(-1);return j[j.length-1]={...ue,content:ue.content+T},j});break;case"image-update":const{blob:O,progress:ne,time:Z}=G.data;if(O){const oe=URL.createObjectURL(O);h(j=>{const ue=[...j],ct=ue.at(-1);return ue[ue.length-1]={...ct,image:oe},ue})}else Q(ne),X(Z);break;case"complete":v(!1);break}},ce=G=>{console.error("Worker error:",G)};return e.current.addEventListener("message",U),e.current.addEventListener("error",ce),()=>{e.current.removeEventListener("message",U),e.current.removeEventListener("error",ce)}},[]),b.useEffect(()=>{c.filter(U=>U.role==="user").length!==0&&c.at(-1).role!=="assistant"&&(_(null),e.current.postMessage({type:"generate",data:c}))},[c,d]),b.useEffect(()=>{if(!n.current||!d)return;const U=n.current;U.scrollHeight-U.scrollTop-U.clientHeight<Fg&&(U.scrollTop=U.scrollHeight)},[c,d]),jg?k.jsxs("div",{className:"flex flex-col h-screen mx-auto items justify-end text-gray-800 dark:text-gray-200 bg-white dark:bg-gray-900",children:[(l===null||l==="idle")&&c.length===0&&k.jsxs("div",{className:"h-full overflow-auto scrollbar-thin flex justify-center items-center flex-col relative",children:[k.jsxs("div",{className:"flex flex-col items-center mb-1 max-w-[350px] text-center",children:[k.jsx("img",{src:"logo.png",width:"80%",height:"auto",className:"block"}),k.jsx("h1",{className:"text-5xl font-bold mb-1",children:"Janus WebGPU"}),k.jsx("h2",{className:"font-semibold",children:"A novel autoregressive framework for unified multimodal understanding and generation."})]}),k.jsxs("div",{className:"flex flex-col items-center px-4",children:[k.jsxs("p",{className:"max-w-[452px] mb-4",children:[k.jsx("br",{}),"You are about to load"," ",k.jsx("a",{href:"https://huggingface.co/onnx-community/Janus-1.3B-ONNX",target:"_blank",rel:"noreferrer",className:"font-medium underline",children:"Janus-1.3B"}),", a multimodal vision-language model that is optimized for inference on the web. Everything runs 100% locally in your browser with"," ",k.jsx("a",{href:"https://huggingface.co/docs/transformers.js",target:"_blank",rel:"noreferrer",className:"underline",children:"🤗 Transformers.js"})," ","and ONNX Runtime Web, meaning no data is sent to a server. Once the model has loaded, it can even be used offline. The source code for the demo can be found on"," ",k.jsx("a",{href:"https://github.com/huggingface/transformers.js-examples/tree/main/janus-webgpu",target:"_blank",rel:"noreferrer",className:"font-medium underline",children:"GitHub"}),"."]}),o&&k.jsxs("div",{className:"text-red-500 text-center mb-2",children:[k.jsx("p",{className:"mb-1",children:"Unable to load model due to the following error:"}),k.jsx("p",{className:"text-sm",children:o})]}),!o&&k.jsx("button",{className:"border px-4 py-2 rounded-lg bg-blue-400 text-white hover:bg-blue-500 disabled:bg-blue-100 disabled:cursor-not-allowed select-none",onClick:()=>{e.current.postMessage({type:"load"}),i("loading")},disabled:l===null||l==="loading",children:l===null?"Running feature checks...":"Load model"})]})]}),l==="loading"&&k.jsx(k.Fragment,{children:k.jsxs("div",{className:"w-full max-w-[500px] text-left mx-auto p-4 bottom-0 mt-auto",children:[k.jsx("p",{className:"text-center mb-1",children:u}),m.map(({file:U,progress:ce,total:G},T)=>k.jsx(Ig,{text:U,percentage:ce,total:G},T))]})}),l==="ready"&&k.jsxs("div",{ref:n,className:"overflow-y-auto scrollbar-thin w-full flex flex-col items-center h-full",children:[k.jsx(Pg,{messages:c}),c.length===0&&!M&&k.jsx("div",{className:"flex flex-col center",children:$g.map(({display:U,prompt:ce,image:G},T)=>k.jsx("div",{className:"max-w-[600px] m-1 border dark:border-gray-600 rounded-md p-2 bg-gray-100 dark:bg-gray-700 cursor-pointer",onClick:()=>$e(ce,G),children:U??ce},T))}),k.jsx("p",{className:"text-center text-sm min-h-6 text-gray-500 dark:text-gray-300",children:c.length>0&&k.jsxs(k.Fragment,{children:[y?k.jsxs(k.Fragment,{children:[!d&&k.jsxs("span",{children:["Generated ",N," tokens in"," ",(N/y).toFixed(2)," seconds ("]}),k.jsx("span",{className:"font-medium font-mono text-center mr-1 text-black dark:text-white",children:y.toFixed(2)}),k.jsx("span",{className:"text-gray-500 dark:text-gray-300",children:"tokens/second"}),!d&&k.jsx("span",{className:"mr-1",children:")."})]}):P&&k.jsx(k.Fragment,{children:d?k.jsxs(k.Fragment,{children:[k.jsx("span",{children:"Generating image..."})," (",k.jsxs("span",{className:"font-medium font-mono text-center text-black dark:text-white",children:[(P*100).toFixed(2),"%"]}),k.jsx("span",{className:"mr-1",children:")"})]}):k.jsxs("span",{children:["Generated image in"," ",(D/1e3).toFixed(2)," ","seconds. "]})}),!d&&k.jsx("span",{className:"underline cursor-pointer",onClick:()=>h([]),children:"Reset"})]})})]}),k.jsxs("div",{className:"mt-2 border dark:bg-gray-700 rounded-lg w-[600px] max-w-[80%] max-h-[200px] mx-auto relative mb-3 flex",children:[k.jsxs("label",{htmlFor:"file-upload",className:l==="ready"?"cursor-pointer":"cursor-not-allowed pointer-events-none",children:[k.jsx(Og,{className:`h-8 w-8 p-1 rounded-md ${l==="ready"?"text-gray-800 dark:text-gray-100":"text-gray-400 dark:text-gray-500"} absolute bottom-3 left-1.5`}),k.jsx("input",{ref:r,id:"file-upload",type:"file",accept:"image/*",className:"hidden",onInput:U=>{const ce=U.target.files[0];if(!ce)return;const G=new FileReader;G.onload=T=>{p(T.target.result),U.target.value=""},G.readAsDataURL(ce)}})]}),k.jsxs("div",{className:"w-full flex flex-col",children:[M&&k.jsx(Dg,{onRemove:()=>{p(null)},src:M,className:"w-20 h-20 min-w-20 min-h-20 relative p-2"}),k.jsx("textarea",{ref:t,className:"scrollbar-thin w-full pl-11 pr-12 dark:bg-gray-700 py-4 rounded-lg bg-transparent border-none outline-none text-gray-800 disabled:text-gray-400 dark:text-gray-100 placeholder-gray-500 disabled:placeholder-gray-200 dark:placeholder-gray-300 dark:disabled:placeholder-gray-500 resize-none disabled:cursor-not-allowed",placeholder:"Type message or use '/imagine <prompt>' to generate an image.",type:"text",rows:1,value:w,disabled:l!=="ready",title:l==="ready"?"Model is ready":"Model not loaded yet",onKeyDown:U=>{w.length>0&&!d&&U.key==="Enter"&&!U.shiftKey&&(U.preventDefault(),$e(w,M))},onInput:U=>E(U.target.value)})]}),d?k.jsx("div",{className:"cursor-pointer",onClick:tt,children:k.jsx(Ag,{className:"h-8 w-8 p-1 rounded-md text-gray-800 dark:text-gray-100 absolute right-3 bottom-3"})}):w.length>0?k.jsx("div",{className:"cursor-pointer",onClick:()=>$e(w),children:k.jsx(fc,{className:"h-8 w-8 p-1 bg-gray-800 dark:bg-gray-100 text-white dark:text-black rounded-md absolute right-3 bottom-3"})}):k.jsx("div",{children:k.jsx(fc,{className:"h-8 w-8 p-1 bg-gray-200 dark:bg-gray-600 text-gray-50 dark:text-gray-800 rounded-md absolute right-3 bottom-3"})})]}),k.jsx("p",{className:"text-xs text-gray-400 text-center mb-3",children:"Disclaimer: Generated content may be inaccurate or false."})]}):k.jsxs("div",{className:"fixed w-screen h-screen bg-black z-10 bg-opacity-[92%] text-white text-2xl font-semibold flex justify-center items-center text-center",children:["WebGPU is not supported",k.jsx("br",{}),"by this browser :("]})}ko.createRoot(document.getElementById("root")).render(k.jsx(hp.StrictMode,{children:k.jsx(Ug,{})})); | |